@intentic/extension-manifest 1.431.0 → 1.432.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.
Files changed (68) hide show
  1. package/README.md +46 -2
  2. package/dist/manifest.d.ts +294 -0
  3. package/dist/manifest.d.ts.map +1 -1
  4. package/dist/manifest.js +96 -1
  5. package/dist/manifest.js.map +1 -1
  6. package/dist/permissions.d.ts +23 -0
  7. package/dist/permissions.d.ts.map +1 -1
  8. package/dist/permissions.js +28 -1
  9. package/dist/permissions.js.map +1 -1
  10. package/dist/points/automation-templates.d.ts +68 -0
  11. package/dist/points/automation-templates.d.ts.map +1 -1
  12. package/dist/points/automation-templates.js +29 -1
  13. package/dist/points/automation-templates.js.map +1 -1
  14. package/dist/points/capabilities.d.ts +357 -50
  15. package/dist/points/capabilities.d.ts.map +1 -1
  16. package/dist/points/capabilities.js +22 -51
  17. package/dist/points/capabilities.js.map +1 -1
  18. package/dist/points/capability-broker.d.ts +110 -0
  19. package/dist/points/capability-broker.d.ts.map +1 -0
  20. package/dist/points/capability-broker.js +125 -0
  21. package/dist/points/capability-broker.js.map +1 -0
  22. package/dist/points/channel-facts.d.ts +46 -0
  23. package/dist/points/channel-facts.d.ts.map +1 -0
  24. package/dist/points/channel-facts.js +80 -0
  25. package/dist/points/channel-facts.js.map +1 -0
  26. package/dist/points/index.d.ts +585 -0
  27. package/dist/points/index.d.ts.map +1 -1
  28. package/dist/points/index.js +12 -0
  29. package/dist/points/index.js.map +1 -1
  30. package/dist/points/listener.d.ts +10 -0
  31. package/dist/points/listener.d.ts.map +1 -1
  32. package/dist/points/listener.js +6 -0
  33. package/dist/points/listener.js.map +1 -1
  34. package/dist/points/model-roles.d.ts +31 -0
  35. package/dist/points/model-roles.d.ts.map +1 -0
  36. package/dist/points/model-roles.js +27 -0
  37. package/dist/points/model-roles.js.map +1 -0
  38. package/dist/points/public-routes.d.ts +91 -0
  39. package/dist/points/public-routes.d.ts.map +1 -0
  40. package/dist/points/public-routes.js +140 -0
  41. package/dist/points/public-routes.js.map +1 -0
  42. package/dist/points/sleep-watch.d.ts +15 -0
  43. package/dist/points/sleep-watch.d.ts.map +1 -0
  44. package/dist/points/sleep-watch.js +30 -0
  45. package/dist/points/sleep-watch.js.map +1 -0
  46. package/dist/points/watch-kinds.d.ts +102 -0
  47. package/dist/points/watch-kinds.d.ts.map +1 -0
  48. package/dist/points/watch-kinds.js +118 -0
  49. package/dist/points/watch-kinds.js.map +1 -0
  50. package/intentic-extension.schema.json +1387 -36
  51. package/package.json +2 -2
  52. package/src/manifest.ts +130 -1
  53. package/src/permissions.test.ts +39 -1
  54. package/src/permissions.ts +84 -4
  55. package/src/points/automation-templates.ts +43 -5
  56. package/src/points/capabilities.ts +37 -80
  57. package/src/points/capability-broker.ts +203 -0
  58. package/src/points/channel-facts.test.ts +38 -0
  59. package/src/points/channel-facts.ts +119 -0
  60. package/src/points/index.ts +12 -0
  61. package/src/points/listener.ts +14 -0
  62. package/src/points/model-roles.ts +44 -0
  63. package/src/points/public-routes.test.ts +132 -0
  64. package/src/points/public-routes.ts +198 -0
  65. package/src/points/sleep-watch.ts +54 -0
  66. package/src/points/watch-kinds.test.ts +73 -0
  67. package/src/points/watch-kinds.ts +172 -0
  68. package/src/powers.test.ts +97 -7
@@ -94,6 +94,114 @@
94
94
  "sentence": "its backend calls the daemon route ${value}"
95
95
  }
96
96
  }
97
+ },
98
+ "events": {
99
+ "description": "Events your backend hears through `api.events` beyond its settings and the workspace's changes: `run`, a turn ending in a conversation it started through POST /agent with its own token; `activity`, whether any agent turn is running in the sandbox; `ci`, each run and job the workspace's GitHub and GitLab forges report as it is heard (the CI feed).",
100
+ "type": "array",
101
+ "items": {
102
+ "anyOf": [
103
+ {
104
+ "type": "string",
105
+ "const": "run",
106
+ "power": {
107
+ "key": "events:run",
108
+ "sentence": "its backend hears when a conversation it started finishes a turn"
109
+ }
110
+ },
111
+ {
112
+ "type": "string",
113
+ "const": "activity",
114
+ "power": {
115
+ "key": "events:activity",
116
+ "sentence": "its backend hears whether any agent turn is running in the sandbox"
117
+ }
118
+ },
119
+ {
120
+ "type": "string",
121
+ "const": "ci",
122
+ "power": {
123
+ "key": "events:ci",
124
+ "sentence": "its backend hears every CI run and job the workspace's forges report"
125
+ }
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ "work": {
131
+ "description": "Whether your backend may hold work in flight with `api.work.hold(label)`: while held, the sandbox stays awake and an update or restart waits for it, as for an agent's turn.",
132
+ "type": "boolean",
133
+ "power": {
134
+ "key": "work",
135
+ "sentence": "its backend keeps the sandbox awake, and a restart waiting, while it holds work in flight"
136
+ }
137
+ },
138
+ "exec": {
139
+ "description": "The workload classes `api.exec` may run a command under: `command`, admitted and ranked as an agent's shell command; `toolchain`, a heavy tool (a build, a test run, an analyser), which also takes turns in the sandbox's heavy-command queue.",
140
+ "type": "array",
141
+ "items": {
142
+ "anyOf": [
143
+ {
144
+ "type": "string",
145
+ "const": "command",
146
+ "power": {
147
+ "key": "exec:command",
148
+ "sentence": "its backend runs commands, admitted like an agent's"
149
+ }
150
+ },
151
+ {
152
+ "type": "string",
153
+ "const": "toolchain",
154
+ "power": {
155
+ "key": "exec:toolchain",
156
+ "sentence": "its backend runs heavy tools, queued with the sandbox's builds and tests"
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ },
162
+ "fires": {
163
+ "description": "Handlers an automation may fire in your backend (`api.automations.onFire(name, handler)`): an automation whose target is `{ kind: \"extension\" }` names this extension and one of these, and fires it on its trigger under the scheduler's admission, holds and journal, without an agent.",
164
+ "type": "array",
165
+ "items": {
166
+ "type": "string",
167
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$",
168
+ "power": {
169
+ "key": "fires:${value}",
170
+ "sentence": "the sandbox's automations wake its backend's \"${value}\" handler"
171
+ }
172
+ }
173
+ },
174
+ "turn": {
175
+ "description": "What your agent tools (`contributes.tools`, served by `api.tools.serve`) may do with the grants of the turn that calls them: `browser`, drive the sandbox's signed-in browser of an account the turn holds, on that account's own sites (`api.browser.call`); `owner-browser`, call the owner's own browser the turn holds (`api.ownerBrowser.call`); `jobs`, start a background job in the calling conversation that the agent collects with `wait` (`api.jobs.start`). Never more than the turn holds.",
176
+ "type": "array",
177
+ "items": {
178
+ "anyOf": [
179
+ {
180
+ "type": "string",
181
+ "const": "browser",
182
+ "power": {
183
+ "key": "turn:browser",
184
+ "sentence": "its agent tools drive the sandbox's signed-in browsers, for the accounts the calling turn holds and on those accounts' own sites"
185
+ }
186
+ },
187
+ {
188
+ "type": "string",
189
+ "const": "owner-browser",
190
+ "power": {
191
+ "key": "turn:owner-browser",
192
+ "sentence": "its agent tools use the owner's own browser when the calling turn holds it"
193
+ }
194
+ },
195
+ {
196
+ "type": "string",
197
+ "const": "jobs",
198
+ "power": {
199
+ "key": "turn:jobs",
200
+ "sentence": "its agent tools start background jobs in the calling conversation"
201
+ }
202
+ }
203
+ ]
204
+ }
97
205
  }
98
206
  },
99
207
  "additionalProperties": false
@@ -648,6 +756,10 @@
648
756
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
649
757
  "type": "string"
650
758
  },
759
+ "hosted": {
760
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
761
+ "type": "boolean"
762
+ },
651
763
  "rebuild": {
652
764
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
653
765
  "type": "boolean"
@@ -760,6 +872,96 @@
760
872
  "additionalProperties": false
761
873
  }
762
874
  },
875
+ "channel": {
876
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
877
+ "type": "object",
878
+ "properties": {
879
+ "messageLimit": {
880
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
881
+ "type": "integer",
882
+ "minimum": 1,
883
+ "maximum": 10000000
884
+ },
885
+ "publish": {
886
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
887
+ "type": "object",
888
+ "properties": {
889
+ "target": {
890
+ "type": "string",
891
+ "minLength": 1,
892
+ "maxLength": 200,
893
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
894
+ }
895
+ },
896
+ "required": [
897
+ "target"
898
+ ],
899
+ "additionalProperties": false
900
+ },
901
+ "posting": {
902
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
903
+ "type": "string",
904
+ "minLength": 1,
905
+ "maxLength": 1000
906
+ }
907
+ },
908
+ "additionalProperties": false
909
+ },
910
+ "processors": {
911
+ "minItems": 1,
912
+ "type": "array",
913
+ "items": {
914
+ "type": "object",
915
+ "properties": {
916
+ "flow": {
917
+ "type": "string",
918
+ "enum": [
919
+ "team-chat",
920
+ "email-imap",
921
+ "email-smtp",
922
+ "connector"
923
+ ],
924
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
925
+ },
926
+ "operator": {
927
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
928
+ "type": "string",
929
+ "minLength": 1
930
+ },
931
+ "region": {
932
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
933
+ "type": "string",
934
+ "minLength": 1
935
+ },
936
+ "thirdCountry": {
937
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
938
+ "type": "boolean"
939
+ },
940
+ "hosts": {
941
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
942
+ "type": "array",
943
+ "items": {
944
+ "type": "string",
945
+ "minLength": 1
946
+ }
947
+ },
948
+ "hostField": {
949
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
950
+ "type": "string",
951
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
952
+ },
953
+ "when": {
954
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
955
+ "type": "string"
956
+ }
957
+ },
958
+ "required": [
959
+ "flow"
960
+ ],
961
+ "additionalProperties": false
962
+ },
963
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
964
+ },
763
965
  "kind": {
764
966
  "type": "string",
765
967
  "const": "cli"
@@ -1118,6 +1320,93 @@
1118
1320
  ],
1119
1321
  "additionalProperties": false
1120
1322
  }
1323
+ },
1324
+ "actions": {
1325
+ "description": "The outward actions this card's requests perform (send, edit, react), checked in order against each request the gateway sees; the first that covers it names it. The gateway records each request of a card that declares any in Activity (one no action covers as `api.call`) and holds it to the owner's action rules for `<card id>.<action>`.",
1326
+ "type": "array",
1327
+ "items": {
1328
+ "type": "object",
1329
+ "properties": {
1330
+ "action": {
1331
+ "type": "string",
1332
+ "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)*$",
1333
+ "description": "The action's key below the card's id (`message.send`, `reaction.add`): the sandbox names it `<card id>.<action>`, which is the key the owner's action rules (Guardrails) are written under."
1334
+ },
1335
+ "methods": {
1336
+ "description": "The HTTP methods that perform it; absent is every method.",
1337
+ "type": "array",
1338
+ "items": {
1339
+ "type": "string",
1340
+ "pattern": "^[A-Z]+$"
1341
+ }
1342
+ },
1343
+ "paths": {
1344
+ "description": "The paths that perform it, below the route's upstream, in the rules' globs: `*` one segment, `**` any number (`/channels/*/messages`). Absent is every path.",
1345
+ "type": "array",
1346
+ "items": {
1347
+ "type": "string",
1348
+ "format": "starts_with",
1349
+ "pattern": "^\\/.*"
1350
+ }
1351
+ },
1352
+ "read": {
1353
+ "description": "This action only reads. It is recorded and held to a rule written for it like any other, but Guardrails does not offer it: a rule there would hold the bot reading its own channel.",
1354
+ "type": "boolean"
1355
+ },
1356
+ "channel": {
1357
+ "description": "Where the request names the channel, chat or recipient it acts on, for its Activity row.",
1358
+ "anyOf": [
1359
+ {
1360
+ "type": "object",
1361
+ "properties": {
1362
+ "field": {
1363
+ "type": "string",
1364
+ "minLength": 1,
1365
+ "description": "A top-level field of the request's JSON, url-encoded or multipart body, else of its query (`channel`, `chat_id`)."
1366
+ }
1367
+ },
1368
+ "required": [
1369
+ "field"
1370
+ ],
1371
+ "additionalProperties": false
1372
+ },
1373
+ {
1374
+ "type": "object",
1375
+ "properties": {
1376
+ "after": {
1377
+ "type": "string",
1378
+ "minLength": 1,
1379
+ "description": "The path segment that follows this one (`channels` reads `123` from `/channels/123/messages`)."
1380
+ }
1381
+ },
1382
+ "required": [
1383
+ "after"
1384
+ ],
1385
+ "additionalProperties": false
1386
+ }
1387
+ ]
1388
+ },
1389
+ "content": {
1390
+ "description": "Where the request carries what it says, for its Activity row. A JSON body without that field is recorded whole; a file upload never is.",
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "field": {
1394
+ "type": "string",
1395
+ "minLength": 1,
1396
+ "description": "A top-level field of the request's body (`text`, `content`)."
1397
+ }
1398
+ },
1399
+ "required": [
1400
+ "field"
1401
+ ],
1402
+ "additionalProperties": false
1403
+ }
1404
+ },
1405
+ "required": [
1406
+ "action"
1407
+ ],
1408
+ "additionalProperties": false
1409
+ }
1121
1410
  }
1122
1411
  },
1123
1412
  "required": [
@@ -1125,6 +1414,142 @@
1125
1414
  ],
1126
1415
  "additionalProperties": false
1127
1416
  },
1417
+ "status": {
1418
+ "type": "object",
1419
+ "properties": {
1420
+ "from": {
1421
+ "type": "string",
1422
+ "const": "listener",
1423
+ "description": "The card's status is whatever this extension's listener last reported for it."
1424
+ },
1425
+ "pairingSteps": {
1426
+ "description": "Where a person types the pairing code the listener reports, as the card says it: \"Type this code <pairingSteps>.\"",
1427
+ "type": "string",
1428
+ "minLength": 1,
1429
+ "maxLength": 300
1430
+ }
1431
+ },
1432
+ "required": [
1433
+ "from"
1434
+ ],
1435
+ "description": "Take this card's status from your listener's report (`POST /listeners/<provider>/status`, its `connections` and `pairing`), for a card whose settings anyone could type but only the gateway knows whether they work.",
1436
+ "additionalProperties": false
1437
+ },
1438
+ "sleepWatch": {
1439
+ "type": "object",
1440
+ "properties": {
1441
+ "service": {
1442
+ "type": "string",
1443
+ "enum": [
1444
+ "discord"
1445
+ ],
1446
+ "description": "The connection Intentic's servers hold for it while the sandbox sleeps: `discord`, the bot's gateway connection, the only one they speak."
1447
+ },
1448
+ "credential": {
1449
+ "type": "string",
1450
+ "description": "The secret field holding the credential they hold (a bot token)."
1451
+ },
1452
+ "consent": {
1453
+ "type": "string",
1454
+ "description": "The switch (`boolean: true`, `hosted: true`, off by default) that is the owner's yes for one connection. Off, or on a sandbox on the owner's own computer, nothing leaves the sandbox. Its label or hint must say exactly what happens."
1455
+ }
1456
+ },
1457
+ "required": [
1458
+ "service",
1459
+ "credential",
1460
+ "consent"
1461
+ ],
1462
+ "description": "Lets Intentic's servers hold this card's credential while a hosted sandbox sleeps, to notice what the service delivers only over a live connection and wake the sandbox for it: only for a connection whose owner turned the `consent` switch on, only while an automation listens on this card's provider, and only until the sandbox wakes, when it is deleted. The one exception to credentials staying in the sandbox.",
1463
+ "additionalProperties": false
1464
+ },
1465
+ "commandActions": {
1466
+ "description": "The outward actions this card's command-line tools perform (`whatsapp send` sends a message), for a tool that reaches its service some other way than the gateway. Each is offered on Guardrails as `<card id>.<action>`. The sandbox refuses a command the owner's rule denies or holds before it runs and records it in Activity once it ends, unless the card's backend carries it out (`gatedBy: \"backend\"`), which then asks the outward-action door instead.",
1467
+ "type": "array",
1468
+ "items": {
1469
+ "type": "object",
1470
+ "properties": {
1471
+ "action": {
1472
+ "type": "string",
1473
+ "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)*$",
1474
+ "description": "The action's key below the card's id (`message.send`, `reaction.add`): the sandbox names it `<card id>.<action>`, which is the key the owner's action rules (Guardrails) are written under."
1475
+ },
1476
+ "command": {
1477
+ "minItems": 1,
1478
+ "type": "array",
1479
+ "items": {
1480
+ "type": "string",
1481
+ "pattern": "^\\S+$"
1482
+ },
1483
+ "description": "The program and the words that select the command (`[\"whatsapp\", \"send\"]`), matched at the start of an invocation."
1484
+ },
1485
+ "read": {
1486
+ "description": "This action only reads. It is recorded and held to a rule written for it like any other, but Guardrails does not offer it: a rule there would hold the bot reading its own channel.",
1487
+ "type": "boolean"
1488
+ },
1489
+ "channel": {
1490
+ "description": "The argument naming the chat or recipient, for its Activity row.",
1491
+ "type": "object",
1492
+ "properties": {
1493
+ "arg": {
1494
+ "type": "integer",
1495
+ "minimum": 0,
1496
+ "maximum": 9007199254740991,
1497
+ "description": "The argument's position after the command's own words, counted from 0."
1498
+ }
1499
+ },
1500
+ "required": [
1501
+ "arg"
1502
+ ],
1503
+ "additionalProperties": false
1504
+ },
1505
+ "content": {
1506
+ "description": "The argument carrying what it says, for its Activity row.",
1507
+ "type": "object",
1508
+ "properties": {
1509
+ "arg": {
1510
+ "type": "integer",
1511
+ "minimum": 0,
1512
+ "maximum": 9007199254740991,
1513
+ "description": "The argument's position after the command's own words, counted from 0."
1514
+ },
1515
+ "rest": {
1516
+ "description": "Take every argument from there on, joined by spaces (a message typed unquoted).",
1517
+ "type": "boolean"
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "arg"
1522
+ ],
1523
+ "additionalProperties": false
1524
+ },
1525
+ "gatedBy": {
1526
+ "description": "Who holds the command to the owner's action rule. `sandbox` (the default): the command guard refuses a command the rule denies or holds before it runs, and the turn records it in Activity once it ends. `backend`: the card's own backend carries the action out and asks the sandbox's outward-action door first (`POST /capabilities/{id}/outward-action`), which decides, records it in Activity and turns a hold into an approvals item the backend performs once a person says yes; the command guard lets the command run, so a held send reaches the door that drafts its approval.",
1527
+ "type": "string",
1528
+ "enum": [
1529
+ "sandbox",
1530
+ "backend"
1531
+ ]
1532
+ },
1533
+ "unruled": {
1534
+ "description": "What the action comes to while no action rule names it. `allow` (the default) lets it go. `hold` waits for the owner's yes until a rule says otherwise: the command guard refuses it with the way to draft an approval, or, for `gatedBy: \"backend\"`, the outward-action door drafts it. Guardrails shows it as the action's default. Declarations of one action that differ hold it if any says `hold`.",
1535
+ "type": "string",
1536
+ "enum": [
1537
+ "allow",
1538
+ "hold"
1539
+ ]
1540
+ },
1541
+ "selfGated": {
1542
+ "description": "Deprecated since 2.52.0: declare `gatedBy: \"backend\"` and `unruled: \"hold\"`, which is how `true` is still read (an `unruled` beside it wins).",
1543
+ "type": "boolean"
1544
+ }
1545
+ },
1546
+ "required": [
1547
+ "action",
1548
+ "command"
1549
+ ],
1550
+ "additionalProperties": false
1551
+ }
1552
+ },
1128
1553
  "mcp": {
1129
1554
  "description": "Deprecated: declare `contributes.tools` with `perCard` naming this card instead, and serve the tools with `api.tools.serve`. A path in this extension's backend (`server`) answering MCP over Streamable HTTP; every turn granted a card of this kind gets it as a server named by the card's id, each request arriving at `<path>/<card id>`.",
1130
1555
  "effect": "mcp",
@@ -1285,6 +1710,10 @@
1285
1710
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
1286
1711
  "type": "string"
1287
1712
  },
1713
+ "hosted": {
1714
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
1715
+ "type": "boolean"
1716
+ },
1288
1717
  "rebuild": {
1289
1718
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
1290
1719
  "type": "boolean"
@@ -1397,12 +1826,102 @@
1397
1826
  "additionalProperties": false
1398
1827
  }
1399
1828
  },
1400
- "kind": {
1401
- "type": "string",
1402
- "const": "browser"
1403
- },
1404
- "loginUrl": {
1405
- "description": "What the sign-in window opens; the profile it persists IS the credential. Optional so one card can be the generic one that asks for the URL on its form instead, but a card must either pin this or declare a field that supplies it, or the window opens on nothing.",
1829
+ "channel": {
1830
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
1831
+ "type": "object",
1832
+ "properties": {
1833
+ "messageLimit": {
1834
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
1835
+ "type": "integer",
1836
+ "minimum": 1,
1837
+ "maximum": 10000000
1838
+ },
1839
+ "publish": {
1840
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
1841
+ "type": "object",
1842
+ "properties": {
1843
+ "target": {
1844
+ "type": "string",
1845
+ "minLength": 1,
1846
+ "maxLength": 200,
1847
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
1848
+ }
1849
+ },
1850
+ "required": [
1851
+ "target"
1852
+ ],
1853
+ "additionalProperties": false
1854
+ },
1855
+ "posting": {
1856
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
1857
+ "type": "string",
1858
+ "minLength": 1,
1859
+ "maxLength": 1000
1860
+ }
1861
+ },
1862
+ "additionalProperties": false
1863
+ },
1864
+ "processors": {
1865
+ "minItems": 1,
1866
+ "type": "array",
1867
+ "items": {
1868
+ "type": "object",
1869
+ "properties": {
1870
+ "flow": {
1871
+ "type": "string",
1872
+ "enum": [
1873
+ "team-chat",
1874
+ "email-imap",
1875
+ "email-smtp",
1876
+ "connector"
1877
+ ],
1878
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
1879
+ },
1880
+ "operator": {
1881
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
1882
+ "type": "string",
1883
+ "minLength": 1
1884
+ },
1885
+ "region": {
1886
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
1887
+ "type": "string",
1888
+ "minLength": 1
1889
+ },
1890
+ "thirdCountry": {
1891
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
1892
+ "type": "boolean"
1893
+ },
1894
+ "hosts": {
1895
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
1896
+ "type": "array",
1897
+ "items": {
1898
+ "type": "string",
1899
+ "minLength": 1
1900
+ }
1901
+ },
1902
+ "hostField": {
1903
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
1904
+ "type": "string",
1905
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
1906
+ },
1907
+ "when": {
1908
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
1909
+ "type": "string"
1910
+ }
1911
+ },
1912
+ "required": [
1913
+ "flow"
1914
+ ],
1915
+ "additionalProperties": false
1916
+ },
1917
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
1918
+ },
1919
+ "kind": {
1920
+ "type": "string",
1921
+ "const": "browser"
1922
+ },
1923
+ "loginUrl": {
1924
+ "description": "What the sign-in window opens; the profile it persists IS the credential. Optional so one card can be the generic one that asks for the URL on its form instead, but a card must either pin this or declare a field that supplies it, or the window opens on nothing.",
1406
1925
  "type": "string",
1407
1926
  "format": "uri"
1408
1927
  },
@@ -1564,6 +2083,10 @@
1564
2083
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
1565
2084
  "type": "string"
1566
2085
  },
2086
+ "hosted": {
2087
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
2088
+ "type": "boolean"
2089
+ },
1567
2090
  "rebuild": {
1568
2091
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
1569
2092
  "type": "boolean"
@@ -1676,6 +2199,96 @@
1676
2199
  "additionalProperties": false
1677
2200
  }
1678
2201
  },
2202
+ "channel": {
2203
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
2204
+ "type": "object",
2205
+ "properties": {
2206
+ "messageLimit": {
2207
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
2208
+ "type": "integer",
2209
+ "minimum": 1,
2210
+ "maximum": 10000000
2211
+ },
2212
+ "publish": {
2213
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
2214
+ "type": "object",
2215
+ "properties": {
2216
+ "target": {
2217
+ "type": "string",
2218
+ "minLength": 1,
2219
+ "maxLength": 200,
2220
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
2221
+ }
2222
+ },
2223
+ "required": [
2224
+ "target"
2225
+ ],
2226
+ "additionalProperties": false
2227
+ },
2228
+ "posting": {
2229
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
2230
+ "type": "string",
2231
+ "minLength": 1,
2232
+ "maxLength": 1000
2233
+ }
2234
+ },
2235
+ "additionalProperties": false
2236
+ },
2237
+ "processors": {
2238
+ "minItems": 1,
2239
+ "type": "array",
2240
+ "items": {
2241
+ "type": "object",
2242
+ "properties": {
2243
+ "flow": {
2244
+ "type": "string",
2245
+ "enum": [
2246
+ "team-chat",
2247
+ "email-imap",
2248
+ "email-smtp",
2249
+ "connector"
2250
+ ],
2251
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
2252
+ },
2253
+ "operator": {
2254
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
2255
+ "type": "string",
2256
+ "minLength": 1
2257
+ },
2258
+ "region": {
2259
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
2260
+ "type": "string",
2261
+ "minLength": 1
2262
+ },
2263
+ "thirdCountry": {
2264
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
2265
+ "type": "boolean"
2266
+ },
2267
+ "hosts": {
2268
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
2269
+ "type": "array",
2270
+ "items": {
2271
+ "type": "string",
2272
+ "minLength": 1
2273
+ }
2274
+ },
2275
+ "hostField": {
2276
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
2277
+ "type": "string",
2278
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
2279
+ },
2280
+ "when": {
2281
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
2282
+ "type": "string"
2283
+ }
2284
+ },
2285
+ "required": [
2286
+ "flow"
2287
+ ],
2288
+ "additionalProperties": false
2289
+ },
2290
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
2291
+ },
1679
2292
  "kind": {
1680
2293
  "type": "string",
1681
2294
  "const": "device"
@@ -1834,6 +2447,10 @@
1834
2447
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
1835
2448
  "type": "string"
1836
2449
  },
2450
+ "hosted": {
2451
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
2452
+ "type": "boolean"
2453
+ },
1837
2454
  "rebuild": {
1838
2455
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
1839
2456
  "type": "boolean"
@@ -1946,6 +2563,96 @@
1946
2563
  "additionalProperties": false
1947
2564
  }
1948
2565
  },
2566
+ "channel": {
2567
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
2568
+ "type": "object",
2569
+ "properties": {
2570
+ "messageLimit": {
2571
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
2572
+ "type": "integer",
2573
+ "minimum": 1,
2574
+ "maximum": 10000000
2575
+ },
2576
+ "publish": {
2577
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
2578
+ "type": "object",
2579
+ "properties": {
2580
+ "target": {
2581
+ "type": "string",
2582
+ "minLength": 1,
2583
+ "maxLength": 200,
2584
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
2585
+ }
2586
+ },
2587
+ "required": [
2588
+ "target"
2589
+ ],
2590
+ "additionalProperties": false
2591
+ },
2592
+ "posting": {
2593
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
2594
+ "type": "string",
2595
+ "minLength": 1,
2596
+ "maxLength": 1000
2597
+ }
2598
+ },
2599
+ "additionalProperties": false
2600
+ },
2601
+ "processors": {
2602
+ "minItems": 1,
2603
+ "type": "array",
2604
+ "items": {
2605
+ "type": "object",
2606
+ "properties": {
2607
+ "flow": {
2608
+ "type": "string",
2609
+ "enum": [
2610
+ "team-chat",
2611
+ "email-imap",
2612
+ "email-smtp",
2613
+ "connector"
2614
+ ],
2615
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
2616
+ },
2617
+ "operator": {
2618
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
2619
+ "type": "string",
2620
+ "minLength": 1
2621
+ },
2622
+ "region": {
2623
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
2624
+ "type": "string",
2625
+ "minLength": 1
2626
+ },
2627
+ "thirdCountry": {
2628
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
2629
+ "type": "boolean"
2630
+ },
2631
+ "hosts": {
2632
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
2633
+ "type": "array",
2634
+ "items": {
2635
+ "type": "string",
2636
+ "minLength": 1
2637
+ }
2638
+ },
2639
+ "hostField": {
2640
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
2641
+ "type": "string",
2642
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
2643
+ },
2644
+ "when": {
2645
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
2646
+ "type": "string"
2647
+ }
2648
+ },
2649
+ "required": [
2650
+ "flow"
2651
+ ],
2652
+ "additionalProperties": false
2653
+ },
2654
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
2655
+ },
1949
2656
  "kind": {
1950
2657
  "type": "string",
1951
2658
  "const": "webext"
@@ -2109,6 +2816,10 @@
2109
2816
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
2110
2817
  "type": "string"
2111
2818
  },
2819
+ "hosted": {
2820
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
2821
+ "type": "boolean"
2822
+ },
2112
2823
  "rebuild": {
2113
2824
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
2114
2825
  "type": "boolean"
@@ -2221,6 +2932,96 @@
2221
2932
  "additionalProperties": false
2222
2933
  }
2223
2934
  },
2935
+ "channel": {
2936
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
2937
+ "type": "object",
2938
+ "properties": {
2939
+ "messageLimit": {
2940
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
2941
+ "type": "integer",
2942
+ "minimum": 1,
2943
+ "maximum": 10000000
2944
+ },
2945
+ "publish": {
2946
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
2947
+ "type": "object",
2948
+ "properties": {
2949
+ "target": {
2950
+ "type": "string",
2951
+ "minLength": 1,
2952
+ "maxLength": 200,
2953
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
2954
+ }
2955
+ },
2956
+ "required": [
2957
+ "target"
2958
+ ],
2959
+ "additionalProperties": false
2960
+ },
2961
+ "posting": {
2962
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
2963
+ "type": "string",
2964
+ "minLength": 1,
2965
+ "maxLength": 1000
2966
+ }
2967
+ },
2968
+ "additionalProperties": false
2969
+ },
2970
+ "processors": {
2971
+ "minItems": 1,
2972
+ "type": "array",
2973
+ "items": {
2974
+ "type": "object",
2975
+ "properties": {
2976
+ "flow": {
2977
+ "type": "string",
2978
+ "enum": [
2979
+ "team-chat",
2980
+ "email-imap",
2981
+ "email-smtp",
2982
+ "connector"
2983
+ ],
2984
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
2985
+ },
2986
+ "operator": {
2987
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
2988
+ "type": "string",
2989
+ "minLength": 1
2990
+ },
2991
+ "region": {
2992
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
2993
+ "type": "string",
2994
+ "minLength": 1
2995
+ },
2996
+ "thirdCountry": {
2997
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
2998
+ "type": "boolean"
2999
+ },
3000
+ "hosts": {
3001
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
3002
+ "type": "array",
3003
+ "items": {
3004
+ "type": "string",
3005
+ "minLength": 1
3006
+ }
3007
+ },
3008
+ "hostField": {
3009
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
3010
+ "type": "string",
3011
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
3012
+ },
3013
+ "when": {
3014
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
3015
+ "type": "string"
3016
+ }
3017
+ },
3018
+ "required": [
3019
+ "flow"
3020
+ ],
3021
+ "additionalProperties": false
3022
+ },
3023
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
3024
+ },
2224
3025
  "kind": {
2225
3026
  "type": "string",
2226
3027
  "const": "phone"
@@ -2384,6 +3185,10 @@
2384
3185
  "description": "Shown on hover behind an (i) beside the label, never as text under the control: for what the label alone cannot say, a host requirement, when a value takes effect. The card's own `hint` speaks for the whole card; this one is bound to the field it qualifies.",
2385
3186
  "type": "string"
2386
3187
  },
3188
+ "hosted": {
3189
+ "description": "Show this field only on a sandbox Intentic hosts, never on one on the owner's own computer: for a setting that only means something there, such as the consent a card's `sleepWatch` names. Elsewhere it is not drawn and its answer is ignored.",
3190
+ "type": "boolean"
3191
+ },
2387
3192
  "rebuild": {
2388
3193
  "description": "This value only takes effect after the sandbox is rebuilt, because it rides the image overlay. Shown as a chip beside the label: two switches side by side, identical in every visible way, can otherwise cost five seconds or five minutes with no way to tell which.",
2389
3194
  "type": "boolean"
@@ -2496,36 +3301,126 @@
2496
3301
  "additionalProperties": false
2497
3302
  }
2498
3303
  },
2499
- "kind": {
2500
- "type": "string",
2501
- "const": "agent"
2502
- }
2503
- },
2504
- "required": [
2505
- "id",
2506
- "catalog",
2507
- "fields",
2508
- "kind"
2509
- ],
2510
- "additionalProperties": false
2511
- }
2512
- ],
2513
- "power": {
2514
- "key": "capability:${id}",
2515
- "sentence": "a ${kind} capability card \"${catalog.name}\""
2516
- }
2517
- },
2518
- "description": "Capability cards this pack adds to the \"+\" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds."
2519
- },
2520
- "listener": {
2521
- "type": "object",
2522
- "properties": {
2523
- "provider": {
2524
- "type": "string",
2525
- "pattern": "^[a-z0-9][a-z0-9-]*$",
2526
- "description": "The slug this source's automation triggers fire on."
2527
- },
2528
- "events": {
3304
+ "channel": {
3305
+ "description": "Facts about the platform this card reaches: its one-message limit, whether your backend publishes approved posts there itself and to which targets, and what a publishing turn should know about posting there. A post's `platform` names this card's id.",
3306
+ "type": "object",
3307
+ "properties": {
3308
+ "messageLimit": {
3309
+ "description": "The longest one message may be on this platform, in JavaScript string length (UTF-16 code units). The approvals inbox counts a post against it, and your own gateway splits a reply there. Absent: no known cap.",
3310
+ "type": "integer",
3311
+ "minimum": 1,
3312
+ "maximum": 10000000
3313
+ },
3314
+ "publish": {
3315
+ "description": "Your backend publishes this platform's approved posts itself (`api.approvals.publish`), handed over by the approvals queue only after the person's yes was matched and spent, instead of an agent turn driving the logged-in browser. Needs `server`.",
3316
+ "type": "object",
3317
+ "properties": {
3318
+ "target": {
3319
+ "type": "string",
3320
+ "minLength": 1,
3321
+ "maxLength": 200,
3322
+ "description": "The targets your backend can address, as a regular expression a post's whole `target` must match (`^\\\\d{5,}$` for a channel id). A post with another target, or with attachments, goes to an agent turn instead."
3323
+ }
3324
+ },
3325
+ "required": [
3326
+ "target"
3327
+ ],
3328
+ "additionalProperties": false
3329
+ },
3330
+ "posting": {
3331
+ "description": "What an agent turn publishing an approved post on this platform should know beyond its skill, said once in the turn's brief: how a reply nests, what a target means here.",
3332
+ "type": "string",
3333
+ "minLength": 1,
3334
+ "maxLength": 1000
3335
+ }
3336
+ },
3337
+ "additionalProperties": false
3338
+ },
3339
+ "processors": {
3340
+ "minItems": 1,
3341
+ "type": "array",
3342
+ "items": {
3343
+ "type": "object",
3344
+ "properties": {
3345
+ "flow": {
3346
+ "type": "string",
3347
+ "enum": [
3348
+ "team-chat",
3349
+ "email-imap",
3350
+ "email-smtp",
3351
+ "connector"
3352
+ ],
3353
+ "description": "Which kind of path this is: `team-chat` (people's messages, both ways), `email-imap` (mail read from a server), `email-smtp` (mail sent through one), `connector` (whatever the agent chose to send)."
3354
+ },
3355
+ "operator": {
3356
+ "description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
3357
+ "type": "string",
3358
+ "minLength": 1
3359
+ },
3360
+ "region": {
3361
+ "description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
3362
+ "type": "string",
3363
+ "minLength": 1
3364
+ },
3365
+ "thirdCountry": {
3366
+ "description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
3367
+ "type": "boolean"
3368
+ },
3369
+ "hosts": {
3370
+ "description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
3371
+ "type": "array",
3372
+ "items": {
3373
+ "type": "string",
3374
+ "minLength": 1
3375
+ }
3376
+ },
3377
+ "hostField": {
3378
+ "description": "The card's field naming the server this path reaches (an IMAP card's `host`). The path exists only once that field is filled in.",
3379
+ "type": "string",
3380
+ "pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
3381
+ },
3382
+ "when": {
3383
+ "description": "The path exists only while this condition over the card's answers holds, in the field `when`'s grammar (`wakeOnMention == 'on'`): for a path a connection opens only on its owner's yes.",
3384
+ "type": "string"
3385
+ }
3386
+ },
3387
+ "required": [
3388
+ "flow"
3389
+ ],
3390
+ "additionalProperties": false
3391
+ },
3392
+ "description": "Where a card of this kind sends people's data, one entry per path out, for the Data protection page and the documents it drafts. Absent: one generic connector path over the card's `hosts`."
3393
+ },
3394
+ "kind": {
3395
+ "type": "string",
3396
+ "const": "agent"
3397
+ }
3398
+ },
3399
+ "required": [
3400
+ "id",
3401
+ "catalog",
3402
+ "fields",
3403
+ "kind"
3404
+ ],
3405
+ "additionalProperties": false
3406
+ }
3407
+ ],
3408
+ "power": {
3409
+ "key": "capability:${id}",
3410
+ "sentence": "a ${kind} capability card \"${catalog.name}\""
3411
+ }
3412
+ },
3413
+ "description": "Capability cards this pack adds to the \"+\" grid: a connected CLI tool, a site the agent acts on as the owner through the shared browser, an operating system pack, a browser family the owner connects their own copy of, or a preset over a core kind. The card and its form are data here; the machinery that acts on them is core, which is why a card may only name one of these five kinds."
3414
+ },
3415
+ "listener": {
3416
+ "type": "object",
3417
+ "properties": {
3418
+ "provider": {
3419
+ "type": "string",
3420
+ "pattern": "^[a-z0-9][a-z0-9-]*$",
3421
+ "description": "The slug this source's automation triggers fire on."
3422
+ },
3423
+ "events": {
2529
3424
  "minItems": 1,
2530
3425
  "type": "array",
2531
3426
  "items": {
@@ -2548,6 +3443,18 @@
2548
3443
  },
2549
3444
  "description": "The event types this source can fire, with the wording the automation editor offers them under. The daemon accepts no others."
2550
3445
  },
3446
+ "strangers": {
3447
+ "description": "Set when anyone on the internet can reach this source without the owner adding them (a chat on a public page, a crash reporter), which holds its wakes to the owner's floor for strangers: `visitor`, someone talking with an assistant; `report`, a stranger's report setting work going, held for approval unless the owner says otherwise. Absent: its senders are people the owner connected, held to the floor for a team chat message.",
3448
+ "type": "string",
3449
+ "enum": [
3450
+ "visitor",
3451
+ "report"
3452
+ ],
3453
+ "power": {
3454
+ "key": "listener-strangers:${provider}",
3455
+ "sentence": "anyone on the internet can wake an agent through its \"${provider}\" listener"
3456
+ }
3457
+ },
2551
3458
  "automation": {
2552
3459
  "type": "object",
2553
3460
  "properties": {
@@ -2722,6 +3629,7 @@
2722
3629
  "type": "string",
2723
3630
  "enum": [
2724
3631
  "schedule",
3632
+ "once",
2725
3633
  "event",
2726
3634
  "listener",
2727
3635
  "workspace"
@@ -2731,10 +3639,55 @@
2731
3639
  "type": "string",
2732
3640
  "minLength": 1
2733
3641
  },
3642
+ "tz": {
3643
+ "description": "Which clock the cron's times mean, as a zone name. Absent: the sandbox's own.",
3644
+ "type": "string",
3645
+ "minLength": 1
3646
+ },
3647
+ "afterSessions": {
3648
+ "description": "Fire only once this many new sessions have run since the last wake.",
3649
+ "type": "integer",
3650
+ "exclusiveMinimum": 0,
3651
+ "maximum": 9007199254740991
3652
+ },
3653
+ "at": {
3654
+ "type": "integer",
3655
+ "exclusiveMinimum": 0,
3656
+ "maximum": 9007199254740991
3657
+ },
3658
+ "dailyMax": {
3659
+ "description": "How many webhook calls a day may wake it.",
3660
+ "type": "integer",
3661
+ "exclusiveMinimum": 0,
3662
+ "maximum": 9007199254740991
3663
+ },
3664
+ "signature": {
3665
+ "description": "Require the sender's signature: its scheme, and the name of the sandbox secret holding the signing secret.",
3666
+ "type": "object",
3667
+ "properties": {
3668
+ "scheme": {
3669
+ "type": "string",
3670
+ "minLength": 1
3671
+ },
3672
+ "secret": {
3673
+ "type": "string",
3674
+ "minLength": 1
3675
+ }
3676
+ },
3677
+ "required": [
3678
+ "scheme",
3679
+ "secret"
3680
+ ],
3681
+ "additionalProperties": false
3682
+ },
2734
3683
  "provider": {
2735
3684
  "type": "string",
2736
3685
  "minLength": 1
2737
3686
  },
3687
+ "channelId": {
3688
+ "type": "string",
3689
+ "minLength": 1
3690
+ },
2738
3691
  "eventType": {
2739
3692
  "type": "string",
2740
3693
  "minLength": 1
@@ -2742,9 +3695,23 @@
2742
3695
  "mentioned": {
2743
3696
  "type": "boolean"
2744
3697
  },
3698
+ "branch": {
3699
+ "type": "string",
3700
+ "minLength": 1
3701
+ },
3702
+ "allowedOrigins": {
3703
+ "type": "array",
3704
+ "items": {
3705
+ "type": "string"
3706
+ }
3707
+ },
2745
3708
  "event": {
2746
3709
  "type": "string",
2747
3710
  "minLength": 1
3711
+ },
3712
+ "repo": {
3713
+ "type": "string",
3714
+ "minLength": 1
2748
3715
  }
2749
3716
  },
2750
3717
  "required": [
@@ -2758,6 +3725,71 @@
2758
3725
  "type": "string",
2759
3726
  "minLength": 1
2760
3727
  },
3728
+ "source": {
3729
+ "description": "A ready-made check instead of a guard: `{ kind: \"url\", url, select? }`, the sandbox's own, or a kind an enabled extension declares in `watchKinds`, its parameters beside `kind`.",
3730
+ "type": "object",
3731
+ "properties": {
3732
+ "kind": {
3733
+ "type": "string",
3734
+ "minLength": 1
3735
+ }
3736
+ },
3737
+ "required": [
3738
+ "kind"
3739
+ ],
3740
+ "additionalProperties": {
3741
+ "type": [
3742
+ "string",
3743
+ "boolean"
3744
+ ]
3745
+ }
3746
+ },
3747
+ "fireOn": {
3748
+ "description": "Fire on every passing check, or only when what it saw changed.",
3749
+ "type": "string",
3750
+ "enum": [
3751
+ "pass",
3752
+ "change"
3753
+ ]
3754
+ },
3755
+ "until": {
3756
+ "description": "Switch it off the first time it fires.",
3757
+ "type": "string",
3758
+ "enum": [
3759
+ "first-fire"
3760
+ ]
3761
+ },
3762
+ "target": {
3763
+ "description": "What a passing check sets off: a new agent (the default), only a notification, or (`extension`) a handler of this extension's own backend, which only this extension can save.",
3764
+ "type": "object",
3765
+ "properties": {
3766
+ "kind": {
3767
+ "type": "string",
3768
+ "enum": [
3769
+ "agent",
3770
+ "conversation",
3771
+ "notify",
3772
+ "extension"
3773
+ ]
3774
+ },
3775
+ "conversationId": {
3776
+ "type": "string",
3777
+ "minLength": 1
3778
+ },
3779
+ "extension": {
3780
+ "type": "string",
3781
+ "minLength": 1
3782
+ },
3783
+ "handler": {
3784
+ "type": "string",
3785
+ "minLength": 1
3786
+ }
3787
+ },
3788
+ "required": [
3789
+ "kind"
3790
+ ],
3791
+ "additionalProperties": false
3792
+ },
2761
3793
  "holdForSeconds": {
2762
3794
  "description": "Wait this long and coalesce repeats, rather than firing on every event.",
2763
3795
  "type": "integer",
@@ -2805,6 +3837,183 @@
2805
3837
  },
2806
3838
  "description": "Starting points this pack offers in the automation composer, a trigger, a prompt written for that trigger's payload, and whatever guard makes it safe to leave on. Declared by whoever knows the service rather than by the composer, so they appear when your pack is installed and disappear with it. Pure prefill: creating one makes an ordinary automation."
2807
3839
  },
3840
+ "watchKinds": {
3841
+ "type": "array",
3842
+ "items": {
3843
+ "type": "object",
3844
+ "properties": {
3845
+ "id": {
3846
+ "type": "string",
3847
+ "pattern": "^(?!url$)[a-z][a-z0-9-]{0,63}$",
3848
+ "description": "The kind's id, which an automation's source names as `kind`. Keep it once shipped: a stored automation names it."
3849
+ },
3850
+ "label": {
3851
+ "type": "string",
3852
+ "minLength": 1,
3853
+ "maxLength": 40,
3854
+ "description": "What the composer's chip says: a few words, like `npm package`."
3855
+ },
3856
+ "icon": {
3857
+ "description": "A name from the host's icon set for the chip.",
3858
+ "type": "string",
3859
+ "minLength": 1
3860
+ },
3861
+ "logo": {
3862
+ "description": "A simple-icons slug, drawn where a logo fits better than an icon.",
3863
+ "type": "string",
3864
+ "minLength": 1
3865
+ },
3866
+ "description": {
3867
+ "type": "string",
3868
+ "minLength": 1,
3869
+ "maxLength": 300,
3870
+ "description": "One sentence under the chips on what the check looks at and when it passes."
3871
+ },
3872
+ "sentence": {
3873
+ "type": "string",
3874
+ "minLength": 1,
3875
+ "maxLength": 200,
3876
+ "description": "What one source of this kind watches, in a few words, for the automation's row, its approval card and the wake: `{key}` puts a parameter in, and a `[…]` segment is left out when a parameter it names is absent or off, like `GitHub releases of {repo}[ (prereleases too){prereleases}]`. A switch puts nothing in: it only keeps its segment."
3877
+ },
3878
+ "fields": {
3879
+ "maxItems": 12,
3880
+ "type": "array",
3881
+ "items": {
3882
+ "type": "object",
3883
+ "properties": {
3884
+ "key": {
3885
+ "type": "string",
3886
+ "pattern": "^(?!kind$)[a-z][a-zA-Z0-9]{0,39}$",
3887
+ "description": "The parameter's name as the automation stores it, beside `kind`: what `--with <key>=<value>` sets on the command line."
3888
+ },
3889
+ "label": {
3890
+ "type": "string",
3891
+ "minLength": 1,
3892
+ "maxLength": 80,
3893
+ "description": "The box's label in the composer."
3894
+ },
3895
+ "type": {
3896
+ "description": "`text` (the default): a line of text, stored as typed. `switch`: on or off, stored as `true` only when on.",
3897
+ "type": "string",
3898
+ "enum": [
3899
+ "text",
3900
+ "switch"
3901
+ ]
3902
+ },
3903
+ "required": {
3904
+ "description": "Whether a source of this kind must carry it. A switch is never required.",
3905
+ "type": "boolean"
3906
+ },
3907
+ "placeholder": {
3908
+ "description": "An example value, shown in the empty box.",
3909
+ "type": "string",
3910
+ "minLength": 1,
3911
+ "maxLength": 200
3912
+ },
3913
+ "hint": {
3914
+ "description": "One sentence on what it changes, behind the field's (i).",
3915
+ "type": "string",
3916
+ "minLength": 1,
3917
+ "maxLength": 300
3918
+ },
3919
+ "pattern": {
3920
+ "description": "A regular expression a text value must match, checked when the automation is saved, in the composer and by the command.",
3921
+ "type": "string",
3922
+ "minLength": 1,
3923
+ "maxLength": 300
3924
+ },
3925
+ "patternHint": {
3926
+ "description": "What a value that matches looks like, said when one does not: `owner/name`.",
3927
+ "type": "string",
3928
+ "minLength": 1,
3929
+ "maxLength": 120
3930
+ },
3931
+ "maxLength": {
3932
+ "description": "The longest a text value may be. Absent means 2000 characters.",
3933
+ "type": "integer",
3934
+ "exclusiveMinimum": 0,
3935
+ "maximum": 2000
3936
+ }
3937
+ },
3938
+ "required": [
3939
+ "key",
3940
+ "label"
3941
+ ],
3942
+ "additionalProperties": false
3943
+ },
3944
+ "description": "Its parameters, in the order the composer draws them."
3945
+ },
3946
+ "capabilities": {
3947
+ "description": "Ids of this extension's own capability cards whose credential-gateway addresses each check is handed, as the automation's role reaches them: a GitHub card for a private repository's releases. Never a credential itself.",
3948
+ "type": "array",
3949
+ "items": {
3950
+ "type": "string",
3951
+ "minLength": 1
3952
+ }
3953
+ }
3954
+ },
3955
+ "required": [
3956
+ "id",
3957
+ "label",
3958
+ "description",
3959
+ "sentence",
3960
+ "fields"
3961
+ ],
3962
+ "power": {
3963
+ "key": "watch-kind:${id}",
3964
+ "sentence": "its backend checks \"${label}\" watches for the sandbox's automations"
3965
+ },
3966
+ "additionalProperties": false
3967
+ },
3968
+ "description": "Ready-made checks an automation can name instead of a guard command: a package's version, a service's newest release. Your backend answers each check (`api.checks.serve(id, handler)`), and the sandbox runs it on the automation's schedule with no shell and no model, firing only when it passes or when what it saw changed. The composer, the `automations` command and the approval card draw each kind from this declaration. Needs a `server` bundle."
3969
+ },
3970
+ "modelRoles": {
3971
+ "type": "array",
3972
+ "items": {
3973
+ "type": "object",
3974
+ "properties": {
3975
+ "id": {
3976
+ "type": "string",
3977
+ "maxLength": 40,
3978
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$",
3979
+ "description": "The job's id: what the owner's choice of setup is stored under, and what a run this extension starts names as `job` on POST /agent. Keep it once shipped: a stored choice names it. An id the sandbox's own jobs or an earlier extension already use is not taken."
3980
+ },
3981
+ "label": {
3982
+ "type": "string",
3983
+ "minLength": 1,
3984
+ "maxLength": 40,
3985
+ "description": "What the settings page calls the job, in the owner's words: `Pipeline fixes`."
3986
+ },
3987
+ "explanation": {
3988
+ "type": "string",
3989
+ "minLength": 1,
3990
+ "maxLength": 300,
3991
+ "description": "One sentence under the label on what starts the job, saying more than the label does: `The agent started by Fix on a failed pipeline.`"
3992
+ },
3993
+ "icon": {
3994
+ "description": "A name from the host's icon set for the job's chip. Absent draws a wrench.",
3995
+ "type": "string",
3996
+ "minLength": 1
3997
+ },
3998
+ "setup": {
3999
+ "description": "The setup the job is suggested: where a sandbox that never placed its jobs runs it, and where the settings page puts it when the owner places it again. What the work needs, not what it costs today. Absent is `medium`.",
4000
+ "type": "string",
4001
+ "enum": [
4002
+ "low",
4003
+ "medium",
4004
+ "high"
4005
+ ]
4006
+ }
4007
+ },
4008
+ "required": [
4009
+ "id",
4010
+ "label",
4011
+ "explanation"
4012
+ ],
4013
+ "additionalProperties": false
4014
+ },
4015
+ "description": "The jobs this extension starts agent runs for, each of which the owner puts on a model setup in Sandbox ▸ Agent ▸ Models beside the sandbox's own: a run you start through `POST /agent` names its job as `job`, and runs on that setup's model when it names none of its own (an id the sandbox's own table held until 2026-11-26 may ride as `runRole`, which a sandbox from before reads too). Switching the extension off hides its jobs on that page and keeps the owner's choices for them."
4016
+ },
2808
4017
  "bin": {
2809
4018
  "type": "string",
2810
4019
  "minLength": 1,
@@ -2841,6 +4050,148 @@
2841
4050
  },
2842
4051
  "description": "Tools for the agent, as an MCP server the daemon mounts into every turn and every runtime (Claude Code, Codex, Cursor, ACP agents). Serve them from your `server` bundle with `api.tools.serve((card) => [...])`, or from a declared process's port. Replaces an agent plugin's `.mcp.json`, which only Claude Code read.",
2843
4052
  "additionalProperties": false
4053
+ },
4054
+ "publicRoutes": {
4055
+ "type": "array",
4056
+ "items": {
4057
+ "type": "object",
4058
+ "properties": {
4059
+ "path": {
4060
+ "type": "string",
4061
+ "description": "Where it answers, under /door/<id>/: segments joined by \"/\", each a lowercase word or a lone `*` for any one segment, e.g. \"hook\", \"*/report\"."
4062
+ },
4063
+ "methods": {
4064
+ "minItems": 1,
4065
+ "type": "array",
4066
+ "items": {
4067
+ "type": "string",
4068
+ "enum": [
4069
+ "GET",
4070
+ "POST",
4071
+ "PUT",
4072
+ "PATCH",
4073
+ "DELETE"
4074
+ ]
4075
+ },
4076
+ "description": "The methods it answers; anything else is refused before your backend hears of it."
4077
+ },
4078
+ "automation": {
4079
+ "description": "The path's first `*` names an automation listening on this extension's own listener provider: one that is not there answers 404 and one switched off 409, its `allowedOrigins` are the list `origins` checks, its door key is what `key` admits, and the day's ceiling is counted per automation.",
4080
+ "type": "boolean",
4081
+ "const": true
4082
+ },
4083
+ "origins": {
4084
+ "description": "`listed`: a browser's Origin must be on the automation's allowed origins, or the call is refused (403); needs `automation`. `any` or absent: no Origin is checked, as for a provider's webhook.",
4085
+ "type": "string",
4086
+ "enum": [
4087
+ "listed",
4088
+ "any"
4089
+ ]
4090
+ },
4091
+ "key": {
4092
+ "description": "A caller with no Origin to check (an app, a server) may present the automation's door key instead, as `?key=` or `Authorization: Bearer`; needs `automation` and `origins: \"listed\"`. The key itself never reaches your backend.",
4093
+ "type": "boolean",
4094
+ "const": true
4095
+ },
4096
+ "keyFromBrowsers": {
4097
+ "description": "(2026-11-26) An automation that opts in (its trigger's `keyFromBrowsers`) lets its door key admit a browser whose Origin is not on its list too; needs `key`. The owner opts each automation in, off by default, since a key in a public page is anyone's to copy: the minute's window and the day's ceiling are then what bound it.",
4098
+ "type": "boolean",
4099
+ "const": true
4100
+ },
4101
+ "signature": {
4102
+ "description": "Refuse anything not signed by the sender with the named secret (and, for a timestamped scheme, sent within five minutes); a redelivery of a call already taken is answered without reaching your backend.",
4103
+ "type": "object",
4104
+ "properties": {
4105
+ "scheme": {
4106
+ "type": "string",
4107
+ "enum": [
4108
+ "github",
4109
+ "linear",
4110
+ "sentry",
4111
+ "stripe",
4112
+ "standard-webhooks"
4113
+ ],
4114
+ "description": "Which provider's signing scheme the sender uses."
4115
+ },
4116
+ "secret": {
4117
+ "type": "string",
4118
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$",
4119
+ "description": "The name of the sandbox secret holding the signing secret, which the owner sets; its value never reaches your backend."
4120
+ }
4121
+ },
4122
+ "required": [
4123
+ "scheme",
4124
+ "secret"
4125
+ ],
4126
+ "additionalProperties": false
4127
+ },
4128
+ "turnstile": {
4129
+ "description": "Refuse a call without a Cloudflare Turnstile token the sandbox verifies with Cloudflare under the named secret: the page renders the widget with its site key (public, yours to serve) and sends the token it gets as `x-intentic-turnstile`. A token is good once.",
4130
+ "type": "object",
4131
+ "properties": {
4132
+ "secret": {
4133
+ "type": "string",
4134
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$",
4135
+ "description": "The name of the sandbox secret holding the Cloudflare Turnstile secret key, which the owner sets; its value never reaches your backend."
4136
+ }
4137
+ },
4138
+ "required": [
4139
+ "secret"
4140
+ ],
4141
+ "additionalProperties": false
4142
+ },
4143
+ "proofOfWork": {
4144
+ "description": "Refuse a call without a solved challenge: the caller fetches one at GET /door/<id>/~challenge?caller=<its id> and sends `x-intentic-pow: <salt>:<nonce>` and `x-intentic-pow-caller: <its id>`.",
4145
+ "type": "boolean",
4146
+ "const": true
4147
+ },
4148
+ "rate": {
4149
+ "description": "Calls a minute one caller (by address) may make before 429; 30 when absent.",
4150
+ "type": "integer",
4151
+ "minimum": 1,
4152
+ "maximum": 600
4153
+ },
4154
+ "dailyMax": {
4155
+ "description": "Calls a day it takes in all (per automation, for an automation's route) before 429; 1000 when absent. `\"none\"` (2026-11-26) counts no day at all, for a route that only serves what a page loads (a script, its settings), so a busy site's page views cannot shut it; only a GET-only route may say it, and its minute's window and size still hold.",
4156
+ "anyOf": [
4157
+ {
4158
+ "type": "integer",
4159
+ "minimum": 1,
4160
+ "maximum": 100000
4161
+ },
4162
+ {
4163
+ "type": "string",
4164
+ "const": "none"
4165
+ }
4166
+ ]
4167
+ },
4168
+ "bodyMax": {
4169
+ "description": "The largest body it takes, in bytes; 65536 when absent, at most 1048576.",
4170
+ "type": "integer",
4171
+ "minimum": 0,
4172
+ "maximum": 1048576
4173
+ },
4174
+ "wakes": {
4175
+ "description": "(2026-11-27) A call here may wake a sandbox the platform hosts while it sleeps, when it reaches the route at the URL `api.sleep.wakeUrl(path, { automationId })` hands out (a wake secret rides in its query) and an automation on this extension's listener provider is switched on (the one the path names, for an automation's route). The sender is answered 503 with `Retry-After` while the machine boots, so it must retry; one that never retries loses what it sent. Its only `*` is the automation's.",
4176
+ "type": "boolean",
4177
+ "const": true,
4178
+ "power": {
4179
+ "key": "wakes:${path}",
4180
+ "sentence": "a call to /${path} wakes the sandbox while it sleeps, which spends its awake hours"
4181
+ }
4182
+ }
4183
+ },
4184
+ "required": [
4185
+ "path",
4186
+ "methods"
4187
+ ],
4188
+ "power": {
4189
+ "key": "public:${path}",
4190
+ "sentence": "anyone on the internet can call its backend at ${methods|, } /${path}${signature? when signed with your secret ${signature.secret}:}"
4191
+ },
4192
+ "additionalProperties": false
4193
+ },
4194
+ "description": "Routes anyone on the internet may call without signing in, served at /door/<id>/<path> and handed to your backend's `api.publicRoutes.serve` handler only after the sandbox's own protections passed the call: its size, a per-minute window and a daily ceiling, an automation's allowed origins or its door key, a proof-of-work challenge, a Cloudflare Turnstile token, a provider's signature, the last two checked against secrets you never see. Each is a power the owner approves."
2844
4195
  }
2845
4196
  },
2846
4197
  "additionalProperties": false