@canonmsg/agent-sdk 12.5.1 → 12.6.1

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.
Files changed (34) hide show
  1. package/README.md +34 -3
  2. package/dist/chunks/{chunk-TFSURFF6.js → chunk-5J4YPLNW.js} +349 -1684
  3. package/dist/chunks/{chunk-3KFVBOVI.js → chunk-DAJ7L7TN.js} +751 -371
  4. package/dist/chunks/chunk-FVYKLH6I.js +1475 -0
  5. package/dist/chunks/chunk-HH7KR22P.js +406 -0
  6. package/dist/chunks/chunk-QK37HAHC.js +118 -0
  7. package/dist/chunks/{chunk-C2WJT3VX.js → chunk-S7BV74DN.js} +719 -813
  8. package/dist/chunks/{mls-crypto-Y44BOSEM.js → mls-crypto-4DZT2UFH.js} +2 -1
  9. package/dist/cli.js +67 -25
  10. package/dist/drivers/acp.d.ts +56 -0
  11. package/dist/drivers/codex.d.ts +1 -2
  12. package/dist/drivers/subprocess.d.ts +35 -0
  13. package/dist/index.d.ts +3 -1
  14. package/dist/index.js +12 -3
  15. package/dist/internal/backend-contracts/endpointContentPolicy.d.ts +2 -2
  16. package/dist/internal/backend-contracts/index.d.ts +1 -0
  17. package/dist/internal/backend-contracts/loggedOutSessions.d.ts +7 -0
  18. package/dist/internal/backend-contracts/mlsDevCredential.d.ts +3 -0
  19. package/dist/internal/endpoint/engine.d.ts +3 -0
  20. package/dist/internal/endpoint/mls-dev-client.d.ts +2 -0
  21. package/dist/internal/endpoint/mls-dev-text.d.ts +3 -0
  22. package/dist/internal/endpoint/node-mls-custody-protocol.d.ts +5 -0
  23. package/dist/internal/endpoint/node.d.ts +1 -0
  24. package/dist/media.js +4 -2
  25. package/dist/mls/darwin-arm64/canon-mls-custody +0 -0
  26. package/dist/mls/linux-arm64/canon-mls-custody +0 -0
  27. package/dist/mls/linux-x64/canon-mls-custody +0 -0
  28. package/dist/mls/wasm/canon_mls_wasm.js +363 -0
  29. package/dist/mls/wasm/canon_mls_wasm_bg.wasm +0 -0
  30. package/dist/mls-wasm-host.js +258 -0
  31. package/dist/runner/mls-bundled.d.ts +15 -2
  32. package/dist/runner/mls-managed.d.ts +6 -3
  33. package/dist/runner/types.d.ts +6 -1
  34. package/package.json +1 -1
@@ -5,7 +5,7 @@ import type { MediaAttachment } from '../internal/core/index.js';
5
5
  * the claude and codex drivers pass the conformance suite.
6
6
  */
7
7
  export interface RuntimeDriver {
8
- readonly name: 'code' | 'claude' | 'codex' | 'connector';
8
+ readonly name: 'code' | 'claude' | 'codex' | 'acp' | 'connector';
9
9
  /** Input to the generated runtime descriptor; never a static table. */
10
10
  readonly capabilities: DriverCapabilities;
11
11
  runTurn(turn: DriverTurn): Promise<DriverResult>;
@@ -71,6 +71,11 @@ export interface DriverCapabilities {
71
71
  * picked up.
72
72
  */
73
73
  remote?: boolean;
74
+ /**
75
+ * The runtime takes only its owner's messages, so the recent history a `none` session carries holds only those and the
76
+ * agent's own. Otherwise a message refused at the door would reach the runtime in the owner's next turn, with the owner's tools.
77
+ */
78
+ ownerHistoryOnly?: boolean;
74
79
  /** Across rooms; runner default 8. */
75
80
  maxConcurrentTurns?: number;
76
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonmsg/agent-sdk",
3
- "version": "12.5.1",
3
+ "version": "12.6.1",
4
4
  "description": "Canon Agent SDK — build AI agents that participate in Canon conversations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",