@jolli.ai/space-cli
v0.99.5
Published
Jolli Space — closed-source plugin for @jolli.ai/cli (adds the space / sync / source / impact / agent commands). Discovered and loaded by the open-source `jolli` CLI when both are installed.
Readme
@jolli.ai/space-cli
CLI plugin that adds Jolli Space sync, source, impact-analysis, and agent commands to the open-source @jolli.ai/cli. Loaded automatically when both packages are installed together.
Installation
npm install -g @jolli.ai/cli @jolli.ai/space-cliOnce both are installed, the following commands become available:
jolli init— Initialize the current directory: log in (if needed) and select a spacejolli space— Inspect Jolli auth state and select a space for sync (status,switch)jolli source— Manage source repositories for impact analysis (add,remove,list)jolli sync— Sync markdown files with the server (pending,changeset,up,down,full,strip)jolli impact— Documentation impact-analysis tools (extract,search,agent)jolli agent— Interactive LLM agent with local tool execution (list,resume)
Without @jolli.ai/space-cli installed, the host CLI displays these commands as stubs that prompt the user to install this package.
Architecture
This package is a commander-shaped shell that the host CLI loads in-process: when both packages are installed, @jolli.ai/cli's plugin loader calls this package's register(ctx) and it extends the host's commander program with the commands above. It does not value-import commander or @jolli.ai/cli/api — both are provided by the host process at load time and are therefore externalized from the bundle.
It ships as a single obfuscated, self-contained bundle (dist/Plugin.js + dist/Plugin.d.ts). All third-party runtime dependencies (picomatch, zod, eventsource, wyhash, yaml) are bundled inline; no node_modules install is pulled in beyond the host CLI itself.
The host CLI is consumed via peerDependencies (@jolli.ai/cli) — users install both packages together and the host discovers this plugin by scanning the npm root.
License
Elastic License 2.0 (ELv2). You may use, copy, modify, and redistribute this package — see LICENSE for the full terms.
ELv2 is a source-available license; it is not OSI-approved open source. The two limitations to be aware of:
- You may not provide
@jolli.ai/space-clito third parties as a hosted or managed service that exposes a substantial set of its features to your users. - You may not modify or remove the license terms or copyright notices.
Only the obfuscated dist/Plugin.js bundle and its public type declarations (dist/Plugin.d.ts) are distributed; the source stays closed.
