@vendian/cli 0.0.6 → 0.0.8

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.
package/README.md CHANGED
@@ -6,6 +6,8 @@ Command-line tools for signing in to Vendian and running local agent workflows.
6
6
  npm install -g @vendian/cli
7
7
  vendian
8
8
  vendian login
9
+ vendian init --output-dir ./agents
10
+ vendian create "My Agent" --output-dir ./agents
9
11
  vendian cloud local serve --agents-dir ./agents
10
12
  ```
11
13
 
@@ -16,6 +18,11 @@ vendian
16
18
  vendian login
17
19
  vendian doctor
18
20
  vendian update
21
+ vendian init --output-dir ./agents
22
+ vendian create "My Agent" --output-dir ./agents
23
+ vendian validate ./agents/my-agent --runtime
24
+ vendian test ./agents/my-agent --dry-run --mock-credentials
25
+ vendian models
19
26
  vendian cloud local serve --agents-dir ./agents
20
27
  ```
21
28
 
@@ -32,6 +39,13 @@ managed runtime without changing your agents.
32
39
  After login, regular `vendian cloud ...` commands are forwarded to the managed
33
40
  runtime installed by the CLI.
34
41
 
42
+ Agent authoring commands are also forwarded to the managed Python SDK CLI.
43
+ `vendian init` writes the current SDK-owned authoring docs into `.vendian-docs/`,
44
+ and `vendian create` scaffolds agents from the SDK templates. Updating the
45
+ managed runtime refreshes these docs and templates with the Python SDK. The CLI
46
+ remembers workspaces initialized with `vendian init` and refreshes their
47
+ `.vendian-docs/` automatically after `vendian update` or a managed auto-update.
48
+
35
49
  ## Local Data
36
50
 
37
51
  Vendian stores its managed runtime and CLI state under your user profile:
package/bin/vendian.cjs CHANGED
@@ -1,2 +1,6 @@
1
1
  #!/usr/bin/env node
2
- require('../cli-wrapper.cjs');
2
+ import('../cli-wrapper.mjs').catch((error) => {
3
+ const message = error && typeof error.message === 'string' ? error.message : String(error);
4
+ console.error(`[vendian] ${message}`);
5
+ process.exitCode = 1;
6
+ });