@idapt/cli 1.11.0 → 1.12.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.
- package/dist/bin.cjs +1330 -3
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +138 -3
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-3CWHRMLZ.js → chunk-GISKSK4V.js} +1195 -3
- package/dist/chunk-GISKSK4V.js.map +1 -0
- package/dist/index.cjs +1193 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3CWHRMLZ.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -358,6 +358,14 @@ interface ExecuteOptions {
|
|
|
358
358
|
readonly maxPollAttempts?: number;
|
|
359
359
|
/** Injectable delay (tests pass a no-op); defaults to real setTimeout. */
|
|
360
360
|
readonly sleep?: (ms: number) => Promise<void>;
|
|
361
|
+
/**
|
|
362
|
+
* CLI ambient workspace (resourceId | UUID) from `idapt workspace use`.
|
|
363
|
+
* Injected as `workspace_id` ONLY on the CLI-string path ({@link execute}),
|
|
364
|
+
* only for verbs whose request declares `workspace_id`, and only when the
|
|
365
|
+
* call didn't already name a workspace. The programmatic
|
|
366
|
+
* {@link executeCommand} seam (in-chat dispatcher / MCP) never sets it.
|
|
367
|
+
*/
|
|
368
|
+
readonly defaultWorkspaceRef?: string;
|
|
361
369
|
}
|
|
362
370
|
interface ExecuteResult {
|
|
363
371
|
readonly ok: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -358,6 +358,14 @@ interface ExecuteOptions {
|
|
|
358
358
|
readonly maxPollAttempts?: number;
|
|
359
359
|
/** Injectable delay (tests pass a no-op); defaults to real setTimeout. */
|
|
360
360
|
readonly sleep?: (ms: number) => Promise<void>;
|
|
361
|
+
/**
|
|
362
|
+
* CLI ambient workspace (resourceId | UUID) from `idapt workspace use`.
|
|
363
|
+
* Injected as `workspace_id` ONLY on the CLI-string path ({@link execute}),
|
|
364
|
+
* only for verbs whose request declares `workspace_id`, and only when the
|
|
365
|
+
* call didn't already name a workspace. The programmatic
|
|
366
|
+
* {@link executeCommand} seam (in-chat dispatcher / MCP) never sets it.
|
|
367
|
+
*/
|
|
368
|
+
readonly defaultWorkspaceRef?: string;
|
|
361
369
|
}
|
|
362
370
|
interface ExecuteResult {
|
|
363
371
|
readonly ok: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { VERB_OVERRIDES, autoMode, commandsForResource, createFetchTransport, execute, executeCommand, findCommand, getResourcePlaybook, listCommands, listResources, mapArgsToV1, parseInvocation, reconcileToV1, render, renderHelp, renderInstructions, resolveCommand, toSnakeKey } from './chunk-
|
|
1
|
+
export { VERB_OVERRIDES, autoMode, commandsForResource, createFetchTransport, execute, executeCommand, findCommand, getResourcePlaybook, listCommands, listResources, mapArgsToV1, parseInvocation, reconcileToV1, render, renderHelp, renderInstructions, resolveCommand, toSnakeKey } from './chunk-GISKSK4V.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idapt/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "The idapt CLI — the `idapt <resource> <verb>` grammar, command→REST translation, help/instructions, output formatting, SOTA auth (OAuth 2.1 + PKCE / device-code / API-key) and self-update, over the public v1 API. One implementation shared by the in-chat dispatcher, MCP, and the `idapt` CLI binary.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://idapt.app/cli",
|