@idapt/cli 1.13.0 → 1.14.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
@@ -385,6 +385,21 @@ interface ExecuteOptions {
385
385
  * {@link executeCommand} seam (in-chat dispatcher / MCP) never sets it.
386
386
  */
387
387
  readonly defaultWorkspaceRef?: string;
388
+ /**
389
+ * CLI ambient acting AGENT (resourceId | name) from `idapt agent use` or a
390
+ * per-call `--agent`. Injected as `agent_id` on `chat create` ONLY (that verb
391
+ * binds the acting agent; blanket `agent_id` injection would mis-scope
392
+ * `chat send`'s `sender_agent_id`, agent-CRUD filters, etc.), and only on the
393
+ * CLI-string path. An explicit `--agent-id`/positional still wins.
394
+ */
395
+ readonly defaultAgentRef?: string;
396
+ /**
397
+ * The selected agent's Memory box resourceId (from `idapt agent use`). Injected
398
+ * as the `:id` of `memory` verbs that address a box, when the call didn't name
399
+ * one — the client-side twin of the in-run dispatcher's box auto-injection, so
400
+ * `idapt memory …` reads/writes the selected agent's Memory.
401
+ */
402
+ readonly defaultAgentMemoryBoxId?: string;
388
403
  }
389
404
  interface ExecuteResult {
390
405
  readonly ok: boolean;
package/dist/index.d.ts CHANGED
@@ -385,6 +385,21 @@ interface ExecuteOptions {
385
385
  * {@link executeCommand} seam (in-chat dispatcher / MCP) never sets it.
386
386
  */
387
387
  readonly defaultWorkspaceRef?: string;
388
+ /**
389
+ * CLI ambient acting AGENT (resourceId | name) from `idapt agent use` or a
390
+ * per-call `--agent`. Injected as `agent_id` on `chat create` ONLY (that verb
391
+ * binds the acting agent; blanket `agent_id` injection would mis-scope
392
+ * `chat send`'s `sender_agent_id`, agent-CRUD filters, etc.), and only on the
393
+ * CLI-string path. An explicit `--agent-id`/positional still wins.
394
+ */
395
+ readonly defaultAgentRef?: string;
396
+ /**
397
+ * The selected agent's Memory box resourceId (from `idapt agent use`). Injected
398
+ * as the `:id` of `memory` verbs that address a box, when the call didn't name
399
+ * one — the client-side twin of the in-run dispatcher's box auto-injection, so
400
+ * `idapt memory …` reads/writes the selected agent's Memory.
401
+ */
402
+ readonly defaultAgentMemoryBoxId?: string;
388
403
  }
389
404
  interface ExecuteResult {
390
405
  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-CZEBGFAQ.js';
1
+ export { VERB_OVERRIDES, autoMode, commandsForResource, createFetchTransport, execute, executeCommand, findCommand, getResourcePlaybook, listCommands, listResources, mapArgsToV1, parseInvocation, reconcileToV1, render, renderHelp, renderInstructions, resolveCommand, toSnakeKey } from './chunk-OE6HNBY2.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.13.0",
3
+ "version": "1.14.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",