@idapt/cli 1.12.0 → 1.13.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/index.d.cts CHANGED
@@ -178,6 +178,25 @@ interface V1CommandSpec extends V1CommandDocFields {
178
178
  readonly workspaceScope?: "scope" | "target";
179
179
  /** Long-running → goes through the async-operation layer. */
180
180
  readonly async: boolean;
181
+ /**
182
+ * Client polling parameters for `async` verbs whose operations outlive the
183
+ * executor's defaults (120 × 1500 ms ≈ 3 min). The SDK/CLI auto-poller
184
+ * (`awaitOperation`) reads these off the generated binding — e.g. video
185
+ * generation ships `{ intervalMs: 5000, maxAttempts: 240 }` (a 20-min
186
+ * ceiling). Omit for seconds-long verbs; per-call options still win.
187
+ */
188
+ readonly pollHint?: {
189
+ readonly intervalMs: number;
190
+ readonly maxAttempts: number;
191
+ };
192
+ /**
193
+ * Async verbs that ALWAYS answer with the operation handle, even for a
194
+ * foreground in-chat tool call. The dispatcher's catalog-REST seam reads
195
+ * this to never block-poll the verb inside the agent loop (a minutes-long
196
+ * render would pin the run job); the model reconciles via `operation get`.
197
+ * SDK/CLI callers are unaffected — their `wait` semantics still apply.
198
+ */
199
+ readonly handleOnly?: boolean;
181
200
  /** Tier-1 one-line decision hint (≤200 chars). */
182
201
  readonly summary: string;
183
202
  /**
package/dist/index.d.ts CHANGED
@@ -178,6 +178,25 @@ interface V1CommandSpec extends V1CommandDocFields {
178
178
  readonly workspaceScope?: "scope" | "target";
179
179
  /** Long-running → goes through the async-operation layer. */
180
180
  readonly async: boolean;
181
+ /**
182
+ * Client polling parameters for `async` verbs whose operations outlive the
183
+ * executor's defaults (120 × 1500 ms ≈ 3 min). The SDK/CLI auto-poller
184
+ * (`awaitOperation`) reads these off the generated binding — e.g. video
185
+ * generation ships `{ intervalMs: 5000, maxAttempts: 240 }` (a 20-min
186
+ * ceiling). Omit for seconds-long verbs; per-call options still win.
187
+ */
188
+ readonly pollHint?: {
189
+ readonly intervalMs: number;
190
+ readonly maxAttempts: number;
191
+ };
192
+ /**
193
+ * Async verbs that ALWAYS answer with the operation handle, even for a
194
+ * foreground in-chat tool call. The dispatcher's catalog-REST seam reads
195
+ * this to never block-poll the verb inside the agent loop (a minutes-long
196
+ * render would pin the run job); the model reconciles via `operation get`.
197
+ * SDK/CLI callers are unaffected — their `wait` semantics still apply.
198
+ */
199
+ readonly handleOnly?: boolean;
181
200
  /** Tier-1 one-line decision hint (≤200 chars). */
182
201
  readonly summary: string;
183
202
  /**
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-GISKSK4V.js';
1
+ export { VERB_OVERRIDES, autoMode, commandsForResource, createFetchTransport, execute, executeCommand, findCommand, getResourcePlaybook, listCommands, listResources, mapArgsToV1, parseInvocation, reconcileToV1, render, renderHelp, renderInstructions, resolveCommand, toSnakeKey } from './chunk-CZEBGFAQ.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.12.0",
3
+ "version": "1.13.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",