chell is a functional MVP with a modular architecture (src/core, src/session, src/builtins, src/lib). It acts as a direct consumer of the chili library for all its commands, removing the previous reliance on spawning child processes. All unit tests are currently passing.
- Full In-Process Command Execution:
chellnow directly imports and executes commands (e.g.,ls,cd,connect,upload,plugin,feed,files,links,dirs) from thechililibrary.- Eliminated process spawning for core commands, significantly improving performance and integration.
- Unified Command/View/Model Architecture:
chellutilizes shared command logic and presentation (render*views) provided bychili, ensuring consistent behavior and output across both thechiliCLI and thechellREPL.- All commands adhere to the strict typing guidelines, using
src/modelsfromchiliwhere applicable.
- Enhanced
lsFunctionality:lscommand now supports-l(long listing),-h(human-readable sizes) and/binvirtual directory (for plugins).- Generic output options (
--table,--csv) are now available for listing commands.
- New
uploadCommand:- Implemented a robust
upload <local_path> <remote_path>command, supporting recursive directory uploads from the local filesystem to ChRIS.
- Implemented a robust
- Improved Plugin Management:
plugin listandplugin runcommands are now fully integrated and callable in-process.
- Improved Feed Management:
feed listandfeed createcommands are now fully integrated and callable in-process.
- File/Link/Dir Management:
- Added builtin support for
files,links, anddirscommands with nativelistandfieldslistsubcommands. - Unhandled subcommands (delete, share) automatically fall through to
chiliwith informative messaging.
- Added builtin support for
- Color Configuration System:
- Implemented YAML-based color configuration for file system types (
colors.ymlinchili). - Added
vfstype to distinguish virtual directories like/binfrom regular directories. - VFS directories now display in cyanBright, regular dirs in cyan, plugins in green, etc.
- Color configuration properly resides in
chili(view layer), notcumin(infrastructure layer).
- Implemented YAML-based color configuration for file system types (
- Data Retrieval: Fixed
Unknown object context typeerror by correctly instantiatingChRISFeedGroupinsalsa. - Command Dispatch: Resolved issues with
chilimodule import paths (dist/vs. co-located types). - Previous
lsRefactoring: Successfully consolidatedlslogic intochiliand removed duplication inchell. - Typing Strictness: Ensured pervasive and explicit typing across all refactored code.
- Tests: All unit tests are passing.
- Architectural Layering: Moved color configuration from
cumin(infrastructure) tochili(view layer) to respect layer separation. - VFS Type System: Added
vfstype toListingItemmodel and updated VFS to properly mark virtual directories. - js-yaml Import: Fixed CommonJS/ESM interop issue with js-yaml by using default import pattern.
- None currently tracked.
- Enhanced VFS: Implement
/feedvirtual directory to navigate feeds as filesystems. - Path Autocompletion: Implement async path completion in
completer. - Audit: Final audit of
chili,chell(beyond builtins), andsalsafor strict typing and RPN naming (especially legacy code not touched in refactor).