@kodycodes/cli 3.35.5 → 3.35.6

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
@@ -130,8 +130,10 @@ on its own or with `--build context`; it cannot be combined with
130
130
  [publish-large-packages](https://kody.codes/docs/publish-large-packages).
131
131
 
132
132
  `--json` prints structured MCP results. On command failures it also prints a
133
- JSON error object on stdout (`error`, `message`, and when a network hop failed
134
- before an HTTP response, additive `sent: false | "unknown"`).
133
+ JSON error object on stdout (`error`, `message`; additive
134
+ `sent: false | "unknown"` when a network hop failed before an HTTP response;
135
+ additive `runId` and `idempotencyKey` only when the API error body includes them
136
+ — not on transport failures, even after a run may have started).
135
137
 
136
138
  ## Token-authenticated execute (no `kody login`)
137
139
 
@@ -275,8 +277,8 @@ publish. Bundling reuses the same esbuild path as `execute --file` / publish
275
277
  | `execute` / `search` | Real capabilities, storage, secrets | Mock catalog / scratch storage / fake credentials |
276
278
 
277
279
  On `--target prod` the working-tree package itself gets no hosted
278
- `packageStorage` or `packageSecrets` (published deps keep theirs). That is
279
- intentionally unsupported; see
280
+ `packageStorage`, `packageSecrets`, `email`, `events`, or `packages` (published
281
+ deps keep theirs). That is intentionally unsupported; see
280
282
  [Won't do](https://kody.codes/docs/package-apps#won-t-do-storage-secrets-email-events-and-packages-on-target-prod).
281
283
 
282
284
  The mock is built into the CLI (no kody-celld). It refuses unimplemented routes
package/dist/cli.d.ts CHANGED
@@ -121,7 +121,7 @@ type CliErrorJson = {
121
121
  /**
122
122
  * Structured `--json` error body. Additive `sent` when a network hop failed
123
123
  * before an HTTP response (`false` = connect phase; `"unknown"` otherwise),
124
- * and `runId` / `idempotencyKey` when an execute failed after its run started.
124
+ * and `runId` / `idempotencyKey` only when the API error body includes them.
125
125
  */
126
126
  export declare function formatCliErrorJson(error: Error): CliErrorJson;
127
127
  /** True when --invoke is set alongside any code source (--code, --file, or positional). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kodycodes/cli",
3
- "version": "3.35.5",
3
+ "version": "3.35.6",
4
4
  "description": "Official Kody CLI: login, secure token storage, search, and execute over the OpenAPI.",
5
5
  "type": "module",
6
6
  "bin": {