@robota-sdk/agent-sdk 3.0.0-beta.10 → 3.0.0-beta.11

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.
@@ -349,9 +349,9 @@ declare function query(prompt: string, options?: IQueryOptions): Promise<string>
349
349
  declare function loadConfig(cwd: string): Promise<IResolvedConfig>;
350
350
 
351
351
  /**
352
- * Permission prompt — this is now CLI-specific.
353
- * Re-exported here for backward compatibility.
354
- * The canonical implementation lives in @robota-sdk/agent-cli.
352
+ * Interactive permission prompt — asks the user whether to allow a tool invocation
353
+ * using an arrow-key selector. Canonical implementation (SSOT).
354
+ * Used by both agent-sdk query() and agent-cli.
355
355
  */
356
356
 
357
357
  /**
@@ -349,9 +349,9 @@ declare function query(prompt: string, options?: IQueryOptions): Promise<string>
349
349
  declare function loadConfig(cwd: string): Promise<IResolvedConfig>;
350
350
 
351
351
  /**
352
- * Permission prompt — this is now CLI-specific.
353
- * Re-exported here for backward compatibility.
354
- * The canonical implementation lives in @robota-sdk/agent-cli.
352
+ * Interactive permission prompt — asks the user whether to allow a tool invocation
353
+ * using an arrow-key selector. Canonical implementation (SSOT).
354
+ * Used by both agent-sdk query() and agent-cli.
355
355
  */
356
356
 
357
357
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/agent-sdk",
3
- "version": "3.0.0-beta.10",
3
+ "version": "3.0.0-beta.11",
4
4
  "description": "Programmatic SDK for building AI agents with Robota — provides Session, query(), built-in tools, permissions, hooks, and context loading",
5
5
  "type": "module",
6
6
  "main": "dist/node/index.js",
@@ -24,10 +24,10 @@
24
24
  "dependencies": {
25
25
  "chalk": "^5.3.0",
26
26
  "zod": "^3.24.0",
27
- "@robota-sdk/agent-provider-anthropic": "3.0.0-beta.10",
28
- "@robota-sdk/agent-core": "3.0.0-beta.10",
29
- "@robota-sdk/agent-sessions": "3.0.0-beta.10",
30
- "@robota-sdk/agent-tools": "3.0.0-beta.10"
27
+ "@robota-sdk/agent-core": "3.0.0-beta.11",
28
+ "@robota-sdk/agent-provider-anthropic": "3.0.0-beta.11",
29
+ "@robota-sdk/agent-sessions": "3.0.0-beta.11",
30
+ "@robota-sdk/agent-tools": "3.0.0-beta.11"
31
31
  },
32
32
  "devDependencies": {
33
33
  "rimraf": "^5.0.5",