@bentoai/cli 1.1.9 → 1.1.13

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 +25 -23
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -16,18 +16,17 @@ The CLI embeds that consumer skill so an installed release can install it withou
16
16
  repository access. Build steps derive its text-import inventory from the skill
17
17
  folder; the tree guard catches missing files and stale bytes. Successful CLI
18
18
  upgrades use the newly installed launcher to refresh the skill for saved agents,
19
- so the instructions match the executable. `bento skills --help` owns the command
20
- syntax; bare `bento skills` keeps its JSON discovery contract.
19
+ so the instructions match the executable. `bento local skill --help` owns the command
20
+ syntax; `bento local skill list` keeps its JSON discovery contract.
21
21
 
22
22
  npm installs a Node launcher and the compiled executable for the host; users need
23
23
  Node, not Bun. `bento --help` owns the command surface.
24
24
 
25
25
  Harness runtime and protocol ownership belong to the private
26
26
  [agent workspace](../agent/README.md). The CLI consumes that owner directly;
27
- it owns dispatch and user configuration. Local memory and training remain
28
- local unless --workspace explicitly selects a remote operation. A saved default
29
- selects remote operation targets and model billing; it never changes execution
30
- mode. Explicit file addresses and workspace flags must agree.
27
+ it owns dispatch and user configuration. Operations over this computer’s stores
28
+ live under `local`; workspace operations come from the shared contract. A saved default selects remote operation targets
29
+ and model billing. A workspace flag never redirects a local store operation.
31
30
 
32
31
  The [HTML tool factory](src/cli/html-render-tools.ts) is a hosted composition
33
32
  boundary: it consumes gateway/session context and the contract's shared schema,
@@ -39,7 +38,9 @@ bindings and hand-written commands. Its `@bentoai/cli/command-table` export lets
39
38
  consume the same grammar without loading the agent runtime. Examples live with the shared
40
39
  customer operation inventory. Complete body input comes from a file or stdin; scalar body
41
40
  and query flags override file fields, while declared header inputs stay separate. JSON results retain
42
- API fields on stdout, while HTTP status and headers are NDJSON metadata on stderr.
41
+ API fields on stdout. File receipts and empty results retain HTTP metadata on stdout;
42
+ successful stderr stays quiet except for actionable recovery information. Failures
43
+ retain their status, headers and diagnostics on stderr.
43
44
  Named binary writes stream a local file with `--in`, or stdin with `--in -`.
44
45
  CLI JSON body files also accept the shared
45
46
  [binary request representations](../contract/README.md#customer-adapter-representations)
@@ -52,7 +53,7 @@ inside `apiError`; a non-scope refusal keeps its own code. Local file handling a
52
53
  [Service calls](src/commands/services.ts) use named vendor operations rather than
53
54
  an arbitrary Bento REST caller. The API retains route admission, vendor
54
55
  credentials, funding and accounting. Calls preserve repeated query/form values,
55
- complete JSON and raw bytes; HTTP status and all returned headers go to stderr.
56
+ complete JSON and raw bytes, following the same output and failure contract above.
56
57
  An output file can contain a vendor refusal, so callers must retain the exit
57
58
  status and metadata. Installed help owns the input flags.
58
59
 
@@ -71,24 +72,23 @@ The prompt convenience and native commands share SDK media and output owners.
71
72
  Remote conversations use durable input outcomes from the shared
72
73
  [session contract](../contract/README.md). Submission writes its recovery request
73
74
  identity to stderr before HTTP, then returns a terminal result or resumable handle.
74
- A pending result does not cancel work; result/wait only observe that input.
75
- `session start` returns on acceptance; use `--wait` or `--wait-ms` to observe its reply.
76
- For starts without waiting, exit 0 means accepted. For reply-waiting commands,
77
- exit 0 means successful completion, 1 means failed/cancelled, and 2 requires
78
- inspecting the body. Re-wait only on `status: "pending"`. A terminal `ask` needs
79
- an answer with a new input handle; other terminal outcomes, including `sleep`
80
- and `interrupted`, remain final for their handle. Transport closure cannot
81
- establish completion.
82
-
83
- `bento app credentials` manages external runtime keys for an already registered
75
+ A running result does not cancel work; result/wait only observe that input.
76
+ `session create` returns on acceptance; use `--wait` or `--wait-ms` to observe its reply.
77
+ For creation without waiting, exit 0 means accepted. Reply-waiting commands also
78
+ exit 0 while the turn is still running or asking; failed or cancelled turns exit
79
+ 1. Re-wait only on `status: "running"`. A terminal `ask` needs an answer with a
80
+ new input handle; other terminal outcomes, including `sleep` and `interrupted`,
81
+ remain final for their handle. Transport closure cannot establish completion.
82
+
83
+ `bento app credential` manages external runtime keys for an already registered
84
84
  app using the same saved human login or process-provided VM key. Workspace and
85
- app selections are explicit. Export returns the complete API response on stdout, including the one-time
86
- plaintext key and deployment URLs; HTTP metadata goes to stderr. Capture the
85
+ app selections are explicit. Creation returns the complete API response on stdout, including the one-time
86
+ plaintext key and deployment URLs. Capture the
87
87
  key in memory and pass it through stdin to the host's server-side secret store.
88
88
  The command never saves exported keys or retries an ambiguous mint. Inspect the
89
- live inventory and revoke unwanted entries before explicitly exporting again.
90
- Rotation uses a second export, host deployment and verification, then revocation
91
- of the prior credential. `bento app credentials --help` owns the command surface.
89
+ live inventory and revoke unwanted entries before explicitly creating another credential.
90
+ Rotation uses a second creation, host deployment and verification, then revocation
91
+ of the prior credential. `bento app credential --help` owns the command surface.
92
92
 
93
93
  Laptop-local state has one selected root for login, memory, training, sync
94
94
  identity, sessions, caches and logs. A fresh install creates `~/.bento`; an
@@ -126,3 +126,5 @@ Use the package scripts for builds, checks and disposable-container tests.
126
126
 
127
127
  [Mac sync](src/sync/README.md) keeps one computer identity across separate
128
128
  workspace transfer instances, with account removal independent of user login.
129
+
130
+ Public commands follow the [contract naming rule](../contract/README.md#naming).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bentoai/cli",
3
- "version": "1.1.9",
3
+ "version": "1.1.13",
4
4
  "description": "Bento CLI for local agents, workspaces and file sync",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -24,10 +24,10 @@
24
24
  "access": "public"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@bentoai/cli-darwin-arm64": "1.1.9",
28
- "@bentoai/cli-darwin-x64": "1.1.9",
29
- "@bentoai/cli-linux-x64": "1.1.9",
30
- "@bentoai/cli-linux-arm64": "1.1.9",
27
+ "@bentoai/cli-darwin-arm64": "1.1.13",
28
+ "@bentoai/cli-darwin-x64": "1.1.13",
29
+ "@bentoai/cli-linux-x64": "1.1.13",
30
+ "@bentoai/cli-linux-arm64": "1.1.13",
31
31
  "@mariozechner/clipboard": "0.3.9"
32
32
  }
33
33
  }