ekairos-cli 1.22.4-beta.feature-core-thread-registry-sync.0 → 1.22.5-beta.development.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -45
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,55 +1,30 @@
1
1
  # Ekairos CLI
2
2
 
3
- The official CLI for managing Ekairos UI components and agents.
3
+ CLI for installing and updating Ekairos UI components and agent-facing packages.
4
4
 
5
- ## Features
5
+ ## Run
6
6
 
7
- - **Interactive UI**: Built with Ink (React for CLI).
8
- - **Auto-Configuration**: Automatically configures `components.json` for the Ekairos registry.
9
- - **Component Management**: Detects installed components and offers bulk updates.
10
- - **Seamless Integration**: Wraps `shadcn` CLI to ensure consistent installations.
11
- - **Async/Session Mode**: Designed for AI agents and automation.
7
+ ```bash
8
+ npx ekairos@latest
9
+ ```
12
10
 
13
- ## Usage
11
+ ## Async mode
14
12
 
15
- Run the CLI in your project root:
13
+ Use async mode when the caller is another tool or agent.
16
14
 
17
15
  ```bash
18
- npx ekairos@latest
16
+ npx ekairos --async
19
17
  ```
20
18
 
21
- ### AI / Automation Mode
22
-
23
- For automated interactions, use the `--async` flag. The CLI will output JSON state and exit, allowing you to resume the session with inputs.
24
-
25
- 1. **Start Session**:
26
- ```bash
27
- npx ekairos --async
28
- ```
29
- Output:
30
- ```json
31
- {
32
- "sessionId": "uuid...",
33
- "step": "MENU",
34
- "inputSchema": { ... }
35
- }
36
- ```
37
-
38
- 2. **Continue Session**:
39
- ```bash
40
- npx ekairos --session <uuid> --input '{"action": "update-all"}'
41
- ```
42
-
43
- ## Development
44
-
45
- To run locally against a local registry:
46
-
47
- 1. Start the registry server (`packages/registry`).
48
- 2. Build the CLI:
49
- ```bash
50
- pnpm --filter ekairos build
51
- ```
52
- 3. Run with override:
53
- ```bash
54
- EKAIROS_REGISTRY_URL="http://localhost:3001" node packages/cli/dist/index.mjs
55
- ```
19
+ Resume a session:
20
+
21
+ ```bash
22
+ npx ekairos --session <session-id> --input '{"action":"update-all"}'
23
+ ```
24
+
25
+ ## Local development
26
+
27
+ ```bash
28
+ pnpm --filter ekairos build
29
+ EKAIROS_REGISTRY_URL=http://localhost:3001 node packages/cli/dist/index.mjs
30
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ekairos-cli",
3
- "version": "1.22.4-beta.feature-core-thread-registry-sync.0",
3
+ "version": "1.22.5-beta.development.0",
4
4
  "description": "CLI for Ekairos components",
5
5
  "type": "module",
6
6
  "bin": {