@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 +6 -4
- package/dist/cli.d.ts +1 -1
- package/package.json +1 -1
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
|
|
134
|
-
|
|
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 `
|
|
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
|
|
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). */
|