@datalayer/agent-runtimes 1.5.96 → 1.5.97

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 (92) hide show
  1. package/dist-embed/chunks/{index.esm-zOy6kFPv.js → index.esm-BLDeC6q1.js} +1 -1
  2. package/dist-embed/datalayer-app-main.js +80 -80
  3. package/lib/apps/apps/appspec.d.ts +11 -12
  4. package/lib/apps/apps/appspec.js +45 -87
  5. package/lib/components/cards/ToolApprovalCard.js +4 -2
  6. package/lib/components/teams/HarnessIcon.d.ts +11 -0
  7. package/lib/components/teams/HarnessIcon.js +17 -0
  8. package/lib/components/teams/SceneTranscript.d.ts +1 -1
  9. package/lib/components/teams/SceneTranscript.js +12 -7
  10. package/lib/components/teams/SceneView.d.ts +7 -1
  11. package/lib/components/teams/SceneView.js +2 -2
  12. package/lib/components/teams/backdrops/hero.js +1 -1
  13. package/lib/components/teams/backdrops/minimal.js +1 -1
  14. package/lib/components/teams/backdrops/nodes.js +4 -3
  15. package/lib/components/teams/backdrops/space.js +1 -1
  16. package/lib/components/teams/backdrops/types.d.ts +9 -0
  17. package/lib/components/teams/index.d.ts +2 -0
  18. package/lib/components/teams/index.js +2 -0
  19. package/lib/components/teams/memberHarness.d.ts +16 -0
  20. package/lib/components/teams/memberHarness.js +42 -0
  21. package/lib/components/teams/sceneTranscriptRules.js +6 -1
  22. package/lib/components/teams/transcript/LineSelect.d.ts +20 -0
  23. package/lib/components/teams/transcript/LineSelect.js +20 -0
  24. package/lib/components/teams/transcript/TranscriptTable.d.ts +11 -5
  25. package/lib/components/teams/transcript/TranscriptTable.js +24 -7
  26. package/lib/components/teams/transcript/TranscriptViews.js +1 -1
  27. package/lib/components/teams/transcript/recordingPlayback.d.ts +13 -0
  28. package/lib/components/teams/transcript/recordingPlayback.js +32 -0
  29. package/lib/components/teams/transcript/useSceneRecording.d.ts +1 -1
  30. package/lib/components/teams/transcript/useSceneRecording.js +19 -11
  31. package/lib/examples/PapAccountTokensExample.d.ts +1 -1
  32. package/lib/examples/PapAccountTokensExample.js +3 -3
  33. package/lib/examples/PapSessionJwtExample.d.ts +4 -0
  34. package/lib/examples/{PapDpopProofExample.js → PapSessionJwtExample.js} +9 -9
  35. package/lib/examples/PapSessionLifecycleExample.d.ts +1 -1
  36. package/lib/examples/PapSessionLifecycleExample.js +2 -2
  37. package/lib/examples/ScenesExample.js +15 -13
  38. package/lib/examples/example-selector.js +3 -3
  39. package/lib/examples/index.d.ts +1 -1
  40. package/lib/examples/index.js +1 -1
  41. package/lib/examples/main.js +1 -1
  42. package/lib/examples/pap/PapAccountTokensView.d.ts +1 -1
  43. package/lib/examples/pap/PapAuthorizationBoundaryView.js +15 -22
  44. package/lib/examples/pap/PapGuidedJourneyView.js +61 -60
  45. package/lib/examples/pap/PapSessionJwtView.d.ts +4 -0
  46. package/lib/examples/pap/PapSessionJwtView.js +69 -0
  47. package/lib/examples/pap/PapSessionLifecycleView.js +36 -58
  48. package/lib/examples/pap/PapSignInDisplayView.d.ts +1 -1
  49. package/lib/examples/pap/PapSignInDisplayView.js +1 -1
  50. package/lib/examples/pap/PapTraceView.d.ts +1 -1
  51. package/lib/examples/pap/PapTraceView.js +1 -1
  52. package/lib/examples/pap/traces/account-tokens.json +145 -173
  53. package/lib/examples/pap/traces/conversation-control.json +118 -140
  54. package/lib/examples/pap/traces/conversation-streaming.json +114 -134
  55. package/lib/examples/pap/traces/mediated-sign-in.json +151 -166
  56. package/lib/examples/pap/traces/operations.json +613 -391
  57. package/lib/examples/pap/traces/two-companies.json +380 -990
  58. package/lib/examples/pap/traces/user-with-a-company.json +319 -207
  59. package/lib/models/environments.generated.d.ts +2 -2
  60. package/lib/models/environments.generated.js +1 -1
  61. package/lib/pap/index.d.ts +1 -1
  62. package/lib/pap/index.js +3 -3
  63. package/lib/portable/displays.d.ts +13 -22
  64. package/lib/portable/displays.js +17 -65
  65. package/lib/portable/hosts/approvalRenderers.d.ts +4 -4
  66. package/lib/portable/hosts/approvalRenderers.js +26 -13
  67. package/lib/portable/hosts/contracts.json +5 -2
  68. package/lib/portable/index.d.ts +1 -1
  69. package/lib/portable/index.js +1 -1
  70. package/lib/protocols/decks/index.d.ts +37 -0
  71. package/lib/protocols/decks/index.js +48 -0
  72. package/lib/protocols/decks/pact-a-personal-agent-at-a-business.d.ts +2 -0
  73. package/lib/protocols/decks/pact-a-personal-agent-at-a-business.js +148 -0
  74. package/lib/protocols/decks/ucp-a-purchase-approved.d.ts +2 -0
  75. package/lib/protocols/decks/ucp-a-purchase-approved.js +154 -0
  76. package/lib/specs/actions.d.ts +1 -1
  77. package/lib/specs/actions.js +2 -2
  78. package/lib/specs/agents/agents.js +3 -3
  79. package/lib/specs/apps.d.ts +1 -1
  80. package/lib/specs/apps.js +10 -11
  81. package/lib/specs/appspecSchema.js +4 -112
  82. package/lib/specs/envvars.js +2 -2
  83. package/lib/specs/harnesses.js +9 -9
  84. package/lib/specs/scenes.js +10 -33
  85. package/lib/specs/teams/teams.js +2 -2
  86. package/lib/types/agentspecs.d.ts +91 -127
  87. package/package.json +409 -409
  88. package/scripts/codegen/generate_apps.py +6 -7
  89. package/scripts/validate_pap_examples.py +1 -1
  90. package/lib/examples/PapDpopProofExample.d.ts +0 -4
  91. package/lib/examples/pap/PapDpopProofView.d.ts +0 -4
  92. package/lib/examples/pap/PapDpopProofView.js +0 -61
@@ -1288,7 +1288,7 @@ export const APPSPEC_SCHEMA = {
1288
1288
  description: 'A scope the company offers: its name, what it allows, and its hints (PAP draft 0.3 §4.4).\n\nThe description is published in `auth.scopes`; the hints, when given, in\n`auth.scope_hints`. Without them the hints are derived from the Rules\nclasses of the tools behind the scope.',
1289
1289
  properties: {
1290
1290
  name: {
1291
- description: 'The scope, in OAuth syntax and never `poppy:`: `orders:read`',
1291
+ description: 'The scope, in OAuth syntax: `orders:read`',
1292
1292
  title: 'Name',
1293
1293
  type: 'string',
1294
1294
  },
@@ -1416,7 +1416,7 @@ export const APPSPEC_SCHEMA = {
1416
1416
  },
1417
1417
  AppPapOperation: {
1418
1418
  additionalProperties: false,
1419
- description: "Something a personal agent may ask the application to do for the person,\ndone only once they confirm its exact terms (Operations v1).\n\nAsked by a personal agent, the application's agent does not call `tool`:\nthe call is proposed, its arguments the terms, and the person confirms\nthat revision before the tool runs, with those arguments and only once.\nAn operation that `allows` instead gives a standing permission once the\nperson confirms it: it calls no tool, and is asked for through the\napplication's API or its server for agents.",
1419
+ description: "Something a personal agent may ask the application to do for the person,\ndone only once they approve its exact terms (Operations v2).\n\nAsked by a personal agent, the application's agent does not call `tool`:\nthe company answers with the operation, its arguments the terms, and the\npersonal agent asks the person about that revision. Its request sent again\nwith their approval runs the tool, with those arguments and only once.",
1420
1420
  properties: {
1421
1421
  action: {
1422
1422
  description: "The action's name at this company, e.g. `orders.exchange`",
@@ -1424,43 +1424,17 @@ export const APPSPEC_SCHEMA = {
1424
1424
  type: 'string',
1425
1425
  },
1426
1426
  tool: {
1427
- anyOf: [
1428
- {
1429
- type: 'string',
1430
- },
1431
- {
1432
- type: 'null',
1433
- },
1434
- ],
1435
- default: null,
1436
1427
  description: "The application's tool that does it, called with the terms",
1437
1428
  title: 'Tool',
1438
- },
1439
- allows: {
1440
- anyOf: [
1441
- {
1442
- $ref: '#/$defs/AppPapStanding',
1443
- },
1444
- {
1445
- type: 'null',
1446
- },
1447
- ],
1448
- default: null,
1449
- description: 'Instead of a tool: the standing permission confirming it gives',
1429
+ type: 'string',
1450
1430
  },
1451
1431
  summary: {
1452
1432
  description: 'What the person is shown, with `{term}` for each term, e.g. `Exchange order {order_id} for size {size}`; never written by the model',
1453
1433
  title: 'Summary',
1454
1434
  type: 'string',
1455
1435
  },
1456
- user_approval_required: {
1457
- default: true,
1458
- description: 'Whether only the person may confirm it, never an approval in advance',
1459
- title: 'User Approval Required',
1460
- type: 'boolean',
1461
- },
1462
1436
  },
1463
- required: ['action', 'summary'],
1437
+ required: ['action', 'tool', 'summary'],
1464
1438
  title: 'AppPapOperation',
1465
1439
  type: 'object',
1466
1440
  },
@@ -1508,82 +1482,6 @@ export const APPSPEC_SCHEMA = {
1508
1482
  title: 'AppPapReference',
1509
1483
  type: 'object',
1510
1484
  },
1511
- AppPapStanding: {
1512
- additionalProperties: false,
1513
- description: "An operation whose effect is a standing permission (the Ledgerly pattern).\n\nConfirmed by the person, it is recorded as the approval in advance they\nwould give in Datalayer: this application may confirm, at the company of\none of its own connections and in the person's account there, operations\nof that class whose terms stay within these limits, so many times, for so\nmany days — and the person reads it back and withdraws it there.",
1514
- properties: {
1515
- connection: {
1516
- description: 'The id of its own company connection the permission is used at',
1517
- title: 'Connection',
1518
- type: 'string',
1519
- },
1520
- action: {
1521
- $ref: '#/$defs/PapStandingAction',
1522
- description: 'What confirming there does: `write`, or `buy`',
1523
- },
1524
- limits: {
1525
- description: 'Every term bounded, 1 to 20',
1526
- items: {
1527
- $ref: '#/$defs/AppPapStandingLimit',
1528
- },
1529
- title: 'Limits',
1530
- type: 'array',
1531
- },
1532
- uses: {
1533
- description: 'The term of this operation giving how many times, at most',
1534
- title: 'Uses',
1535
- type: 'string',
1536
- },
1537
- days: {
1538
- description: 'The term of this operation giving for how many days, at most 90',
1539
- title: 'Days',
1540
- type: 'string',
1541
- },
1542
- },
1543
- required: ['connection', 'action', 'limits', 'uses', 'days'],
1544
- title: 'AppPapStanding',
1545
- type: 'object',
1546
- },
1547
- AppPapStandingLimit: {
1548
- additionalProperties: false,
1549
- description: "One bound of a standing permission: a term of the other company's operations,\nbounded by a term of this one — its maximum, or the one value allowed.",
1550
- properties: {
1551
- path: {
1552
- description: "The other company's term, by its dotted path: `amount.amount`, `payee`",
1553
- title: 'Path',
1554
- type: 'string',
1555
- },
1556
- maximum: {
1557
- anyOf: [
1558
- {
1559
- type: 'string',
1560
- },
1561
- {
1562
- type: 'null',
1563
- },
1564
- ],
1565
- default: null,
1566
- description: 'The term of this operation giving its maximum',
1567
- title: 'Maximum',
1568
- },
1569
- allowed: {
1570
- anyOf: [
1571
- {
1572
- type: 'string',
1573
- },
1574
- {
1575
- type: 'null',
1576
- },
1577
- ],
1578
- default: null,
1579
- description: 'The term of this operation giving the value allowed',
1580
- title: 'Allowed',
1581
- },
1582
- },
1583
- required: ['path'],
1584
- title: 'AppPapStandingLimit',
1585
- type: 'object',
1586
- },
1587
1485
  AppPermissions: {
1588
1486
  additionalProperties: false,
1589
1487
  description: 'What the application may reach beside its connections. Nothing, unless said.',
@@ -2657,12 +2555,6 @@ export const APPSPEC_SCHEMA = {
2657
2555
  title: 'PapSignIn',
2658
2556
  type: 'string',
2659
2557
  },
2660
- PapStandingAction: {
2661
- description: 'What a standing permission lets the application confirm at another company: a class of action.',
2662
- enum: ['write', 'buy'],
2663
- title: 'PapStandingAction',
2664
- type: 'string',
2665
- },
2666
2558
  RecordItem: {
2667
2559
  description: 'What an application may keep of what it did.',
2668
2560
  enum: [
@@ -19,7 +19,7 @@ export const ANTHROPIC_API_KEY_SPEC_0_0_1 = {
19
19
  id: 'ANTHROPIC_API_KEY',
20
20
  version: '0.0.1',
21
21
  name: 'Anthropic API Key',
22
- description: "API key for Anthropic's Claude API. Required by the Claude Code harness, and by any harness configured with Anthropic as its model provider; the person's own, never a Claude.ai subscription login.",
22
+ description: "API key for Anthropic's Claude API. Required by the Claude Code harness run locally, and by any harness configured with Anthropic as its model provider there; the person's own, never a Claude.ai subscription login. A Datalayer runtime takes no key: its model calls go through ai-inference.",
23
23
  registrationUrl: 'https://platform.claude.com/settings/keys',
24
24
  tags: ['authentication', 'api-key', 'anthropic', 'harness'],
25
25
  icon: 'key',
@@ -126,7 +126,7 @@ export const OPENAI_API_KEY_SPEC_0_0_1 = {
126
126
  id: 'OPENAI_API_KEY',
127
127
  version: '0.0.1',
128
128
  name: 'OpenAI API Key',
129
- description: "API key for OpenAI's API. Required by the Codex harness, which takes it in place of a ChatGPT login; the person's own.",
129
+ description: "API key for OpenAI's API. Required by the Codex harness run locally, which takes it in place of a ChatGPT login; the person's own. A Datalayer runtime takes no key: its model calls go through ai-inference.",
130
130
  registrationUrl: 'https://platform.openai.com/api-keys',
131
131
  tags: ['authentication', 'api-key', 'openai', 'harness'],
132
132
  icon: 'key',
@@ -6,7 +6,7 @@ export const CLAUDE_CODE_HARNESS_0_0_1 = {
6
6
  id: 'claude-code',
7
7
  version: '0.0.1',
8
8
  name: 'Claude Code',
9
- description: "Anthropic's coding agent, driven over ACP through the Agent Client Protocol project's adapter on the Claude Agent SDK.",
9
+ description: "Anthropic's coding agent, driven over ACP through the Agent Client Protocol project's adapter on the Claude Agent SDK. On Datalayer its model calls go through Datalayer's ai-inference, answered from AWS Bedrock on the platform's models and paid in credits, with no key of the account's.",
10
10
  enabled: true,
11
11
  unavailable_because: '',
12
12
  tags: ['harness'],
@@ -62,16 +62,16 @@ export const CLAUDE_CODE_HARNESS_0_0_1 = {
62
62
  version: '0.91.0',
63
63
  licenceSource: 'https://www.npmjs.com/package/@agentclientprotocol/claude-agent-acp',
64
64
  termsSource: 'https://code.claude.com/docs/en/legal-and-compliance',
65
- credential: "An Anthropic API key (ANTHROPIC_API_KEY), the person's own",
65
+ credential: "Locally, an Anthropic API key (ANTHROPIC_API_KEY), the person's own; on Datalayer none, its calls answered from AWS Bedrock through ai-inference in credits",
66
66
  binaries: 'Node 22 (engines.node >=22 on npm), git',
67
- note: "Anthropic's legal page (read 2026-10-15): running Claude Code in hosted sandboxes or agent infrastructure requires the Commercial Terms; each end user authenticates with their own API key or subscription; developers may not route requests through Free, Pro or Max plan credentials on behalf of their users, nor collect or intermediate Claude.ai credentials. So only API keys are taken; a subscription login is refused. The npm package moved from @zed-industries (0.23.1, March 2026) to @agentclientprotocol.",
67
+ note: "Anthropic's legal page (read 2026-10-15): running Claude Code in hosted sandboxes or agent infrastructure requires the Commercial Terms; each end user authenticates with their own API key or subscription; developers may not route requests through Free, Pro or Max plan credentials on behalf of their users, nor collect or intermediate Claude.ai credentials. So only API keys are taken; a subscription login is refused. The npm package moved from @zed-industries (0.23.1, March 2026) to @agentclientprotocol. On a Datalayer runtime the end user holds no key and Anthropic is not reached: the model calls are AWS Bedrock's, on Datalayer's account, metered in credits. The user decided on 30 October 2026 to offer it to customers on Datalayer that way. Counsel has not reviewed this entry's api_key_only reading against that use.",
68
68
  },
69
69
  };
70
70
  export const CODEX_HARNESS_0_0_1 = {
71
71
  id: 'codex',
72
72
  version: '0.0.1',
73
73
  name: 'Codex',
74
- description: "OpenAI's coding agent, driven over ACP through the Agent Client Protocol project's adapter, which ships the Codex binary it drives.",
74
+ description: "OpenAI's coding agent, driven over ACP through the Agent Client Protocol project's adapter, which ships the Codex binary it drives. On Datalayer its model calls go through Datalayer's ai-inference, answered from AWS Bedrock on the platform's models and paid in credits, with no key of the account's.",
75
75
  enabled: true,
76
76
  unavailable_because: '',
77
77
  tags: ['harness'],
@@ -118,9 +118,9 @@ export const CODEX_HARNESS_0_0_1 = {
118
118
  version: '2.2.2',
119
119
  licenceSource: 'https://www.npmjs.com/package/@agentclientprotocol/codex-acp',
120
120
  termsSource: 'https://learn.chatgpt.com/docs/auth',
121
- credential: "An OpenAI API key (OPENAI_API_KEY or CODEX_API_KEY), the person's own",
121
+ credential: "Locally, an OpenAI API key (OPENAI_API_KEY or CODEX_API_KEY), the person's own; on Datalayer none, its calls answered from AWS Bedrock through ai-inference in credits",
122
122
  binaries: "Node 22 (as the Agent Client Protocol project's adapters; unstated on npm), git",
123
- note: "Codex's authentication page (read 2026-10-15) recommends API keys for automation and device-code login for headless machines; a ChatGPT login needs a browser and is hidden with NO_BROWSER=1 in the adapter. Only API keys are taken; a ChatGPT login is refused. The Zed-scoped package was archived on 22 July 2026 and names this one.",
123
+ note: "Codex's authentication page (read 2026-10-15) recommends API keys for automation and device-code login for headless machines; a ChatGPT login needs a browser and is hidden with NO_BROWSER=1 in the adapter. Only API keys are taken; a ChatGPT login is refused. The Zed-scoped package was archived on 22 July 2026 and names this one. On a Datalayer runtime the end user holds no key and OpenAI is not reached: the model calls are AWS Bedrock's, on Datalayer's account, metered in credits. The user decided on 30 October 2026 to offer it that way. Counsel has not reviewed this entry's api_key_only reading against that use, nor whether running Codex on another vendor's model fits OpenAI's terms.",
124
124
  },
125
125
  };
126
126
  export const CUSTOM_HARNESS_0_0_1 = {
@@ -389,7 +389,7 @@ export const OPENCODE_HARNESS_0_0_1 = {
389
389
  version: '1.19.0',
390
390
  licenceSource: 'https://www.npmjs.com/package/opencode-ai',
391
391
  termsSource: 'https://github.com/anomalyco/opencode/blob/dev/LICENSE',
392
- credential: "The provider's key OpenCode is configured with; ANTHROPIC_API_KEY declared",
392
+ credential: "Locally, the provider's key OpenCode is configured with, ANTHROPIC_API_KEY declared; on Datalayer none, its calls go through ai-inference in credits",
393
393
  binaries: 'Node (the opencode-ai package), git',
394
394
  note: "Open source under MIT, no vendor terms of its own; the model provider's terms apply to the key. Launched as opencode acp (opencode.ai/docs/acp); reads skills from .opencode/skills, .claude/skills and .agents/skills.",
395
395
  },
@@ -460,7 +460,7 @@ export const PI_HARNESS_0_0_1 = {
460
460
  id: 'pi',
461
461
  version: '0.0.1',
462
462
  name: 'pi',
463
- description: "Earendil's pi coding agent, driven over ACP through the pi-acp adapter, which spawns the published pi executable; any model provider pi is configured with.",
463
+ description: "Earendil's pi coding agent, driven over ACP through the pi-acp adapter, which spawns the published pi executable; any model provider pi is configured with. On Datalayer its model calls go through Datalayer's ai-inference, answered from AWS Bedrock on the platform's models and paid in credits, with no key of the account's.",
464
464
  enabled: true,
465
465
  unavailable_because: '',
466
466
  tags: ['harness'],
@@ -507,7 +507,7 @@ export const PI_HARNESS_0_0_1 = {
507
507
  version: '0.0.34',
508
508
  licenceSource: 'https://www.npmjs.com/package/pi-acp',
509
509
  termsSource: 'https://github.com/earendil-works/pi/blob/main/LICENSE',
510
- credential: "The provider's key pi is configured with; ANTHROPIC_API_KEY declared, the person's own",
510
+ credential: "Locally, the provider's key pi is configured with, ANTHROPIC_API_KEY declared, the person's own; on Datalayer none, its calls answered from AWS Bedrock through ai-inference in credits",
511
511
  binaries: 'Node 22 (pi-coding-agent engines.node >=22.19.0; pi-acp >=20), the pi executable 1.4.0 on the PATH (@earendil-works/pi-coding-agent), git',
512
512
  note: "Read 2026-10-28. pi speaks no ACP itself; pi-acp 0.0.34 (MIT, an individual's, github.com/svkozak/pi-acp) speaks ACP JSON-RPC over stdio and spawns the published `pi` executable with `pi --mode rpc`, so pi 1.4.0 runs as published — chosen over @automatalabs/pi-acp 0.9.4 (Apache-2.0, in-process, which embeds pi 0.87.1 through its SDK on a fork's package). Open source under MIT on both sides, no vendor terms of their own; the model provider's terms apply to the key. Session persistence through pi's own session files (session/load).",
513
513
  },
@@ -201,7 +201,7 @@ export const CROP_MONITORING_SCENE_0_0_1 = {
201
201
  face: '🌾',
202
202
  line: 'I search the imagery and tell you how the fields are doing.',
203
203
  },
204
- brief: 'Take the field and the period, search the datasets and the granules that cover them, and report the vigour, the growth and the fields to watch; leave any download to the person.',
204
+ brief: 'Take the field and the period, search the datasets and the granules that cover them, and report the vigour, the growth and the fields to watch; leave any download to the person. Do not question the audience: a cue is the whole of what it says, and nobody is standing there to answer you back. A cue that names a place and a period is enough: when it names no dataset, take the vegetation indices (MOD13Q1) and say that you did. A cue to save granules is searched like any other, and what you found is then a `choice` to approve, Save them · Not now; nothing is saved.',
205
205
  },
206
206
  ],
207
207
  setting: {
@@ -1159,7 +1159,7 @@ export const MONTH_END_CLOSE_SCENE_0_0_1 = {
1159
1159
  ],
1160
1160
  mustSay: ['accrual'],
1161
1161
  mustNotSay: ['I posted'],
1162
- within: '180s',
1162
+ within: '300s',
1163
1163
  },
1164
1164
  {
1165
1165
  beat: 'expenses-by-month',
@@ -1673,7 +1673,7 @@ export const PAP_APPROVE_ONCE_SCENE_0_0_1 = {
1673
1673
  {
1674
1674
  from: 'agent',
1675
1675
  to: 'ada',
1676
- says: 'Its rule says Ask me first: it waits for Ada.',
1676
+ says: 'Every operation is Ada’s to approve: it waits for her.',
1677
1677
  card: {
1678
1678
  kind: 'approval',
1679
1679
  title: 'Manzanita Outfitters asks you to confirm',
@@ -1876,49 +1876,26 @@ export const PAP_TWO_COMPANIES_SCENE_0_0_1 = {
1876
1876
  {
1877
1877
  from: 'ada',
1878
1878
  to: 'atlas',
1879
- says: '“Allow Ledgerly to pay Acme without asking, within limits.”',
1880
- how: '',
1881
- },
1882
- {
1883
- from: 'ledgerly',
1884
- to: 'ada',
1885
- says: 'Even a permission given in advance is something Ada approves.',
1886
- card: {
1887
- kind: 'approval',
1888
- title: 'Ledgerly asks you to confirm',
1889
- rows: [
1890
- ['Up to', 'EUR 2000.00 each'],
1891
- ['At most', '5 payments'],
1892
- ['For', '30 days'],
1893
- ],
1894
- lines: [
1895
- 'Let Ledgerly pay Acme GmbH from your Northwind account without asking, up to EUR 2000.00 each, at most 5 payments, for 30 days.',
1896
- ],
1897
- },
1879
+ says: '“Pay Acme without asking me each time.”',
1898
1880
  how: '',
1899
- turn: {
1900
- yes: 'Approve',
1901
- no: 'Decline',
1902
- declined: 'Ada declined: Ledgerly asks her again for every payment.',
1903
- },
1904
1881
  },
1905
1882
  {
1906
1883
  from: 'ledgerly',
1907
1884
  to: 'ada',
1908
- says: 'INV-0043, EUR 980.00, is within the limits: Ledgerly pays it and tells Ada what was done.',
1909
- how: 'Approved in advance: the bank is told it was, never that Ada approved this one.',
1885
+ says: 'Not that: every payment the bank returns is Ada’s to approve, this one and the next.',
1886
+ how: 'The bank’s operation goes to Ada each time; nothing approves one in her name.',
1910
1887
  },
1911
1888
  {
1912
1889
  from: 'ledgerly',
1913
1890
  to: 'ada',
1914
- says: 'INV-0044, EUR 3400.00, is beyond them: Ledgerly asks Ada again.',
1891
+ says: 'INV-0043, EUR 980.00, is the next bill: Ledgerly asks Ada again.',
1915
1892
  card: {
1916
1893
  kind: 'done',
1917
- title: 'Within limits, done; beyond them, asked',
1894
+ title: 'Every payment, asked',
1918
1895
  rows: [],
1919
1896
  lines: [
1920
- 'INV-0043 paid under your permission (1 of 5 used).',
1921
- 'INV-0044 waits for your approval.',
1897
+ 'INV-0042 paid with your approval.',
1898
+ 'INV-0043 waits for your approval.',
1922
1899
  ],
1923
1900
  },
1924
1901
  how: '',
@@ -576,7 +576,7 @@ export const CODING_AGENTS_TEAM_SPEC_0_0_1 = {
576
576
  id: 'coding-agents',
577
577
  version: '0.0.1',
578
578
  name: 'Coding Agents',
579
- description: `Claude Code writes the change and Codex reviews it, each behind the Shield: a supervisor delegates to them over ACP with a budget, a deadline and the files it may touch, and reads back their plans and their diffs.`,
579
+ description: `Claude Code writes the change and OpenCode reviews it, each behind the Shield: a supervisor delegates to them over ACP with a budget, a deadline and the files it may touch, and reads back their plans and their diffs.`,
580
580
  tags: ['coding', 'harness', 'review'],
581
581
  enabled: true,
582
582
  icon: 'code',
@@ -630,7 +630,7 @@ export const CODING_AGENTS_TEAM_SPEC_0_0_1 = {
630
630
  id: 'reviewer',
631
631
  name: 'Reviewer',
632
632
  ref: '',
633
- harness: 'codex',
633
+ harness: 'opencode',
634
634
  role: 'reviewer',
635
635
  goal: `Read the Coder's diff and say what is wrong with it, file by file; edit nothing.`,
636
636
  dependsOn: ['coder'],