@intentic/extension-manifest 1.431.0 → 1.433.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -2
- package/dist/manifest.d.ts +296 -0
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +105 -1
- package/dist/manifest.js.map +1 -1
- package/dist/permissions.d.ts +27 -0
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +32 -1
- package/dist/permissions.js.map +1 -1
- package/dist/points/automation-templates.d.ts +68 -0
- package/dist/points/automation-templates.d.ts.map +1 -1
- package/dist/points/automation-templates.js +29 -1
- package/dist/points/automation-templates.js.map +1 -1
- package/dist/points/capabilities.d.ts +357 -50
- package/dist/points/capabilities.d.ts.map +1 -1
- package/dist/points/capabilities.js +22 -51
- package/dist/points/capabilities.js.map +1 -1
- package/dist/points/capability-broker.d.ts +110 -0
- package/dist/points/capability-broker.d.ts.map +1 -0
- package/dist/points/capability-broker.js +125 -0
- package/dist/points/capability-broker.js.map +1 -0
- package/dist/points/channel-facts.d.ts +46 -0
- package/dist/points/channel-facts.d.ts.map +1 -0
- package/dist/points/channel-facts.js +80 -0
- package/dist/points/channel-facts.js.map +1 -0
- package/dist/points/index.d.ts +587 -0
- package/dist/points/index.d.ts.map +1 -1
- package/dist/points/index.js +12 -0
- package/dist/points/index.js.map +1 -1
- package/dist/points/listener.d.ts +12 -0
- package/dist/points/listener.d.ts.map +1 -1
- package/dist/points/listener.js +6 -0
- package/dist/points/listener.js.map +1 -1
- package/dist/points/model-roles.d.ts +31 -0
- package/dist/points/model-roles.d.ts.map +1 -0
- package/dist/points/model-roles.js +27 -0
- package/dist/points/model-roles.js.map +1 -0
- package/dist/points/public-routes.d.ts +91 -0
- package/dist/points/public-routes.d.ts.map +1 -0
- package/dist/points/public-routes.js +140 -0
- package/dist/points/public-routes.js.map +1 -0
- package/dist/points/sleep-watch.d.ts +15 -0
- package/dist/points/sleep-watch.d.ts.map +1 -0
- package/dist/points/sleep-watch.js +30 -0
- package/dist/points/sleep-watch.js.map +1 -0
- package/dist/points/watch-kinds.d.ts +102 -0
- package/dist/points/watch-kinds.d.ts.map +1 -0
- package/dist/points/watch-kinds.js +118 -0
- package/dist/points/watch-kinds.js.map +1 -0
- package/intentic-extension.schema.json +1398 -34
- package/package.json +2 -2
- package/src/manifest.ts +145 -1
- package/src/permissions.test.ts +48 -1
- package/src/permissions.ts +99 -4
- package/src/points/automation-templates.ts +43 -5
- package/src/points/capabilities.ts +37 -80
- package/src/points/capability-broker.ts +203 -0
- package/src/points/channel-facts.test.ts +38 -0
- package/src/points/channel-facts.ts +119 -0
- package/src/points/index.ts +12 -0
- package/src/points/listener.ts +16 -0
- package/src/points/model-roles.ts +44 -0
- package/src/points/public-routes.test.ts +132 -0
- package/src/points/public-routes.ts +198 -0
- package/src/points/sleep-watch.ts +54 -0
- package/src/points/watch-kinds.test.ts +73 -0
- package/src/points/watch-kinds.ts +172 -0
- package/src/powers.test.ts +116 -8
|
@@ -94,6 +94,126 @@
|
|
|
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
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"identity": {
|
|
207
|
+
"description": "What your backend may do as this sandbox's identity: `sign`, have the daemon sign a JSON record as this sandbox (`api.identity.sign(purpose, payload)`), under a domain naming your extension and the record's purpose, which anyone verifies with the sandbox's published keys. The key never reaches your code.",
|
|
208
|
+
"type": "array",
|
|
209
|
+
"items": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"const": "sign",
|
|
212
|
+
"power": {
|
|
213
|
+
"key": "identity:sign",
|
|
214
|
+
"sentence": "its backend signs records as this sandbox, which anyone can verify with the sandbox's public key"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
97
217
|
}
|
|
98
218
|
},
|
|
99
219
|
"additionalProperties": false
|
|
@@ -648,6 +768,10 @@
|
|
|
648
768
|
"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
769
|
"type": "string"
|
|
650
770
|
},
|
|
771
|
+
"hosted": {
|
|
772
|
+
"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.",
|
|
773
|
+
"type": "boolean"
|
|
774
|
+
},
|
|
651
775
|
"rebuild": {
|
|
652
776
|
"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
777
|
"type": "boolean"
|
|
@@ -760,6 +884,96 @@
|
|
|
760
884
|
"additionalProperties": false
|
|
761
885
|
}
|
|
762
886
|
},
|
|
887
|
+
"channel": {
|
|
888
|
+
"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.",
|
|
889
|
+
"type": "object",
|
|
890
|
+
"properties": {
|
|
891
|
+
"messageLimit": {
|
|
892
|
+
"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.",
|
|
893
|
+
"type": "integer",
|
|
894
|
+
"minimum": 1,
|
|
895
|
+
"maximum": 10000000
|
|
896
|
+
},
|
|
897
|
+
"publish": {
|
|
898
|
+
"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`.",
|
|
899
|
+
"type": "object",
|
|
900
|
+
"properties": {
|
|
901
|
+
"target": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"minLength": 1,
|
|
904
|
+
"maxLength": 200,
|
|
905
|
+
"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."
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"required": [
|
|
909
|
+
"target"
|
|
910
|
+
],
|
|
911
|
+
"additionalProperties": false
|
|
912
|
+
},
|
|
913
|
+
"posting": {
|
|
914
|
+
"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.",
|
|
915
|
+
"type": "string",
|
|
916
|
+
"minLength": 1,
|
|
917
|
+
"maxLength": 1000
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
"additionalProperties": false
|
|
921
|
+
},
|
|
922
|
+
"processors": {
|
|
923
|
+
"minItems": 1,
|
|
924
|
+
"type": "array",
|
|
925
|
+
"items": {
|
|
926
|
+
"type": "object",
|
|
927
|
+
"properties": {
|
|
928
|
+
"flow": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"enum": [
|
|
931
|
+
"team-chat",
|
|
932
|
+
"email-imap",
|
|
933
|
+
"email-smtp",
|
|
934
|
+
"connector"
|
|
935
|
+
],
|
|
936
|
+
"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)."
|
|
937
|
+
},
|
|
938
|
+
"operator": {
|
|
939
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
940
|
+
"type": "string",
|
|
941
|
+
"minLength": 1
|
|
942
|
+
},
|
|
943
|
+
"region": {
|
|
944
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
945
|
+
"type": "string",
|
|
946
|
+
"minLength": 1
|
|
947
|
+
},
|
|
948
|
+
"thirdCountry": {
|
|
949
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
950
|
+
"type": "boolean"
|
|
951
|
+
},
|
|
952
|
+
"hosts": {
|
|
953
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
954
|
+
"type": "array",
|
|
955
|
+
"items": {
|
|
956
|
+
"type": "string",
|
|
957
|
+
"minLength": 1
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"hostField": {
|
|
961
|
+
"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.",
|
|
962
|
+
"type": "string",
|
|
963
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
964
|
+
},
|
|
965
|
+
"when": {
|
|
966
|
+
"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.",
|
|
967
|
+
"type": "string"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": [
|
|
971
|
+
"flow"
|
|
972
|
+
],
|
|
973
|
+
"additionalProperties": false
|
|
974
|
+
},
|
|
975
|
+
"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`."
|
|
976
|
+
},
|
|
763
977
|
"kind": {
|
|
764
978
|
"type": "string",
|
|
765
979
|
"const": "cli"
|
|
@@ -1118,6 +1332,93 @@
|
|
|
1118
1332
|
],
|
|
1119
1333
|
"additionalProperties": false
|
|
1120
1334
|
}
|
|
1335
|
+
},
|
|
1336
|
+
"actions": {
|
|
1337
|
+
"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>`.",
|
|
1338
|
+
"type": "array",
|
|
1339
|
+
"items": {
|
|
1340
|
+
"type": "object",
|
|
1341
|
+
"properties": {
|
|
1342
|
+
"action": {
|
|
1343
|
+
"type": "string",
|
|
1344
|
+
"pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)*$",
|
|
1345
|
+
"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."
|
|
1346
|
+
},
|
|
1347
|
+
"methods": {
|
|
1348
|
+
"description": "The HTTP methods that perform it; absent is every method.",
|
|
1349
|
+
"type": "array",
|
|
1350
|
+
"items": {
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"pattern": "^[A-Z]+$"
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
"paths": {
|
|
1356
|
+
"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.",
|
|
1357
|
+
"type": "array",
|
|
1358
|
+
"items": {
|
|
1359
|
+
"type": "string",
|
|
1360
|
+
"format": "starts_with",
|
|
1361
|
+
"pattern": "^\\/.*"
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
"read": {
|
|
1365
|
+
"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.",
|
|
1366
|
+
"type": "boolean"
|
|
1367
|
+
},
|
|
1368
|
+
"channel": {
|
|
1369
|
+
"description": "Where the request names the channel, chat or recipient it acts on, for its Activity row.",
|
|
1370
|
+
"anyOf": [
|
|
1371
|
+
{
|
|
1372
|
+
"type": "object",
|
|
1373
|
+
"properties": {
|
|
1374
|
+
"field": {
|
|
1375
|
+
"type": "string",
|
|
1376
|
+
"minLength": 1,
|
|
1377
|
+
"description": "A top-level field of the request's JSON, url-encoded or multipart body, else of its query (`channel`, `chat_id`)."
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"required": [
|
|
1381
|
+
"field"
|
|
1382
|
+
],
|
|
1383
|
+
"additionalProperties": false
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"type": "object",
|
|
1387
|
+
"properties": {
|
|
1388
|
+
"after": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"minLength": 1,
|
|
1391
|
+
"description": "The path segment that follows this one (`channels` reads `123` from `/channels/123/messages`)."
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
"required": [
|
|
1395
|
+
"after"
|
|
1396
|
+
],
|
|
1397
|
+
"additionalProperties": false
|
|
1398
|
+
}
|
|
1399
|
+
]
|
|
1400
|
+
},
|
|
1401
|
+
"content": {
|
|
1402
|
+
"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.",
|
|
1403
|
+
"type": "object",
|
|
1404
|
+
"properties": {
|
|
1405
|
+
"field": {
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
"minLength": 1,
|
|
1408
|
+
"description": "A top-level field of the request's body (`text`, `content`)."
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"required": [
|
|
1412
|
+
"field"
|
|
1413
|
+
],
|
|
1414
|
+
"additionalProperties": false
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"required": [
|
|
1418
|
+
"action"
|
|
1419
|
+
],
|
|
1420
|
+
"additionalProperties": false
|
|
1421
|
+
}
|
|
1121
1422
|
}
|
|
1122
1423
|
},
|
|
1123
1424
|
"required": [
|
|
@@ -1125,6 +1426,142 @@
|
|
|
1125
1426
|
],
|
|
1126
1427
|
"additionalProperties": false
|
|
1127
1428
|
},
|
|
1429
|
+
"status": {
|
|
1430
|
+
"type": "object",
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"from": {
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"const": "listener",
|
|
1435
|
+
"description": "The card's status is whatever this extension's listener last reported for it."
|
|
1436
|
+
},
|
|
1437
|
+
"pairingSteps": {
|
|
1438
|
+
"description": "Where a person types the pairing code the listener reports, as the card says it: \"Type this code <pairingSteps>.\"",
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"minLength": 1,
|
|
1441
|
+
"maxLength": 300
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"required": [
|
|
1445
|
+
"from"
|
|
1446
|
+
],
|
|
1447
|
+
"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.",
|
|
1448
|
+
"additionalProperties": false
|
|
1449
|
+
},
|
|
1450
|
+
"sleepWatch": {
|
|
1451
|
+
"type": "object",
|
|
1452
|
+
"properties": {
|
|
1453
|
+
"service": {
|
|
1454
|
+
"type": "string",
|
|
1455
|
+
"enum": [
|
|
1456
|
+
"discord"
|
|
1457
|
+
],
|
|
1458
|
+
"description": "The connection Intentic's servers hold for it while the sandbox sleeps: `discord`, the bot's gateway connection, the only one they speak."
|
|
1459
|
+
},
|
|
1460
|
+
"credential": {
|
|
1461
|
+
"type": "string",
|
|
1462
|
+
"description": "The secret field holding the credential they hold (a bot token)."
|
|
1463
|
+
},
|
|
1464
|
+
"consent": {
|
|
1465
|
+
"type": "string",
|
|
1466
|
+
"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."
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
"required": [
|
|
1470
|
+
"service",
|
|
1471
|
+
"credential",
|
|
1472
|
+
"consent"
|
|
1473
|
+
],
|
|
1474
|
+
"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.",
|
|
1475
|
+
"additionalProperties": false
|
|
1476
|
+
},
|
|
1477
|
+
"commandActions": {
|
|
1478
|
+
"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.",
|
|
1479
|
+
"type": "array",
|
|
1480
|
+
"items": {
|
|
1481
|
+
"type": "object",
|
|
1482
|
+
"properties": {
|
|
1483
|
+
"action": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)*$",
|
|
1486
|
+
"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."
|
|
1487
|
+
},
|
|
1488
|
+
"command": {
|
|
1489
|
+
"minItems": 1,
|
|
1490
|
+
"type": "array",
|
|
1491
|
+
"items": {
|
|
1492
|
+
"type": "string",
|
|
1493
|
+
"pattern": "^\\S+$"
|
|
1494
|
+
},
|
|
1495
|
+
"description": "The program and the words that select the command (`[\"whatsapp\", \"send\"]`), matched at the start of an invocation."
|
|
1496
|
+
},
|
|
1497
|
+
"read": {
|
|
1498
|
+
"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.",
|
|
1499
|
+
"type": "boolean"
|
|
1500
|
+
},
|
|
1501
|
+
"channel": {
|
|
1502
|
+
"description": "The argument naming the chat or recipient, for its Activity row.",
|
|
1503
|
+
"type": "object",
|
|
1504
|
+
"properties": {
|
|
1505
|
+
"arg": {
|
|
1506
|
+
"type": "integer",
|
|
1507
|
+
"minimum": 0,
|
|
1508
|
+
"maximum": 9007199254740991,
|
|
1509
|
+
"description": "The argument's position after the command's own words, counted from 0."
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
"required": [
|
|
1513
|
+
"arg"
|
|
1514
|
+
],
|
|
1515
|
+
"additionalProperties": false
|
|
1516
|
+
},
|
|
1517
|
+
"content": {
|
|
1518
|
+
"description": "The argument carrying what it says, for its Activity row.",
|
|
1519
|
+
"type": "object",
|
|
1520
|
+
"properties": {
|
|
1521
|
+
"arg": {
|
|
1522
|
+
"type": "integer",
|
|
1523
|
+
"minimum": 0,
|
|
1524
|
+
"maximum": 9007199254740991,
|
|
1525
|
+
"description": "The argument's position after the command's own words, counted from 0."
|
|
1526
|
+
},
|
|
1527
|
+
"rest": {
|
|
1528
|
+
"description": "Take every argument from there on, joined by spaces (a message typed unquoted).",
|
|
1529
|
+
"type": "boolean"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"required": [
|
|
1533
|
+
"arg"
|
|
1534
|
+
],
|
|
1535
|
+
"additionalProperties": false
|
|
1536
|
+
},
|
|
1537
|
+
"gatedBy": {
|
|
1538
|
+
"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.",
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"enum": [
|
|
1541
|
+
"sandbox",
|
|
1542
|
+
"backend"
|
|
1543
|
+
]
|
|
1544
|
+
},
|
|
1545
|
+
"unruled": {
|
|
1546
|
+
"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`.",
|
|
1547
|
+
"type": "string",
|
|
1548
|
+
"enum": [
|
|
1549
|
+
"allow",
|
|
1550
|
+
"hold"
|
|
1551
|
+
]
|
|
1552
|
+
},
|
|
1553
|
+
"selfGated": {
|
|
1554
|
+
"description": "Deprecated since 2.52.0: declare `gatedBy: \"backend\"` and `unruled: \"hold\"`, which is how `true` is still read (an `unruled` beside it wins).",
|
|
1555
|
+
"type": "boolean"
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
"required": [
|
|
1559
|
+
"action",
|
|
1560
|
+
"command"
|
|
1561
|
+
],
|
|
1562
|
+
"additionalProperties": false
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1128
1565
|
"mcp": {
|
|
1129
1566
|
"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
1567
|
"effect": "mcp",
|
|
@@ -1285,7 +1722,11 @@
|
|
|
1285
1722
|
"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
1723
|
"type": "string"
|
|
1287
1724
|
},
|
|
1288
|
-
"
|
|
1725
|
+
"hosted": {
|
|
1726
|
+
"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.",
|
|
1727
|
+
"type": "boolean"
|
|
1728
|
+
},
|
|
1729
|
+
"rebuild": {
|
|
1289
1730
|
"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
1731
|
"type": "boolean"
|
|
1291
1732
|
},
|
|
@@ -1397,6 +1838,96 @@
|
|
|
1397
1838
|
"additionalProperties": false
|
|
1398
1839
|
}
|
|
1399
1840
|
},
|
|
1841
|
+
"channel": {
|
|
1842
|
+
"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.",
|
|
1843
|
+
"type": "object",
|
|
1844
|
+
"properties": {
|
|
1845
|
+
"messageLimit": {
|
|
1846
|
+
"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.",
|
|
1847
|
+
"type": "integer",
|
|
1848
|
+
"minimum": 1,
|
|
1849
|
+
"maximum": 10000000
|
|
1850
|
+
},
|
|
1851
|
+
"publish": {
|
|
1852
|
+
"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`.",
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"target": {
|
|
1856
|
+
"type": "string",
|
|
1857
|
+
"minLength": 1,
|
|
1858
|
+
"maxLength": 200,
|
|
1859
|
+
"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."
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
"required": [
|
|
1863
|
+
"target"
|
|
1864
|
+
],
|
|
1865
|
+
"additionalProperties": false
|
|
1866
|
+
},
|
|
1867
|
+
"posting": {
|
|
1868
|
+
"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.",
|
|
1869
|
+
"type": "string",
|
|
1870
|
+
"minLength": 1,
|
|
1871
|
+
"maxLength": 1000
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
"additionalProperties": false
|
|
1875
|
+
},
|
|
1876
|
+
"processors": {
|
|
1877
|
+
"minItems": 1,
|
|
1878
|
+
"type": "array",
|
|
1879
|
+
"items": {
|
|
1880
|
+
"type": "object",
|
|
1881
|
+
"properties": {
|
|
1882
|
+
"flow": {
|
|
1883
|
+
"type": "string",
|
|
1884
|
+
"enum": [
|
|
1885
|
+
"team-chat",
|
|
1886
|
+
"email-imap",
|
|
1887
|
+
"email-smtp",
|
|
1888
|
+
"connector"
|
|
1889
|
+
],
|
|
1890
|
+
"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)."
|
|
1891
|
+
},
|
|
1892
|
+
"operator": {
|
|
1893
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
1894
|
+
"type": "string",
|
|
1895
|
+
"minLength": 1
|
|
1896
|
+
},
|
|
1897
|
+
"region": {
|
|
1898
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
1899
|
+
"type": "string",
|
|
1900
|
+
"minLength": 1
|
|
1901
|
+
},
|
|
1902
|
+
"thirdCountry": {
|
|
1903
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
1904
|
+
"type": "boolean"
|
|
1905
|
+
},
|
|
1906
|
+
"hosts": {
|
|
1907
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
1908
|
+
"type": "array",
|
|
1909
|
+
"items": {
|
|
1910
|
+
"type": "string",
|
|
1911
|
+
"minLength": 1
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
"hostField": {
|
|
1915
|
+
"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.",
|
|
1916
|
+
"type": "string",
|
|
1917
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
1918
|
+
},
|
|
1919
|
+
"when": {
|
|
1920
|
+
"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.",
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
"required": [
|
|
1925
|
+
"flow"
|
|
1926
|
+
],
|
|
1927
|
+
"additionalProperties": false
|
|
1928
|
+
},
|
|
1929
|
+
"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`."
|
|
1930
|
+
},
|
|
1400
1931
|
"kind": {
|
|
1401
1932
|
"type": "string",
|
|
1402
1933
|
"const": "browser"
|
|
@@ -1564,6 +2095,10 @@
|
|
|
1564
2095
|
"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
2096
|
"type": "string"
|
|
1566
2097
|
},
|
|
2098
|
+
"hosted": {
|
|
2099
|
+
"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.",
|
|
2100
|
+
"type": "boolean"
|
|
2101
|
+
},
|
|
1567
2102
|
"rebuild": {
|
|
1568
2103
|
"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
2104
|
"type": "boolean"
|
|
@@ -1676,6 +2211,96 @@
|
|
|
1676
2211
|
"additionalProperties": false
|
|
1677
2212
|
}
|
|
1678
2213
|
},
|
|
2214
|
+
"channel": {
|
|
2215
|
+
"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.",
|
|
2216
|
+
"type": "object",
|
|
2217
|
+
"properties": {
|
|
2218
|
+
"messageLimit": {
|
|
2219
|
+
"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.",
|
|
2220
|
+
"type": "integer",
|
|
2221
|
+
"minimum": 1,
|
|
2222
|
+
"maximum": 10000000
|
|
2223
|
+
},
|
|
2224
|
+
"publish": {
|
|
2225
|
+
"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`.",
|
|
2226
|
+
"type": "object",
|
|
2227
|
+
"properties": {
|
|
2228
|
+
"target": {
|
|
2229
|
+
"type": "string",
|
|
2230
|
+
"minLength": 1,
|
|
2231
|
+
"maxLength": 200,
|
|
2232
|
+
"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."
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
"required": [
|
|
2236
|
+
"target"
|
|
2237
|
+
],
|
|
2238
|
+
"additionalProperties": false
|
|
2239
|
+
},
|
|
2240
|
+
"posting": {
|
|
2241
|
+
"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.",
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"minLength": 1,
|
|
2244
|
+
"maxLength": 1000
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
"additionalProperties": false
|
|
2248
|
+
},
|
|
2249
|
+
"processors": {
|
|
2250
|
+
"minItems": 1,
|
|
2251
|
+
"type": "array",
|
|
2252
|
+
"items": {
|
|
2253
|
+
"type": "object",
|
|
2254
|
+
"properties": {
|
|
2255
|
+
"flow": {
|
|
2256
|
+
"type": "string",
|
|
2257
|
+
"enum": [
|
|
2258
|
+
"team-chat",
|
|
2259
|
+
"email-imap",
|
|
2260
|
+
"email-smtp",
|
|
2261
|
+
"connector"
|
|
2262
|
+
],
|
|
2263
|
+
"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)."
|
|
2264
|
+
},
|
|
2265
|
+
"operator": {
|
|
2266
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
2267
|
+
"type": "string",
|
|
2268
|
+
"minLength": 1
|
|
2269
|
+
},
|
|
2270
|
+
"region": {
|
|
2271
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
2272
|
+
"type": "string",
|
|
2273
|
+
"minLength": 1
|
|
2274
|
+
},
|
|
2275
|
+
"thirdCountry": {
|
|
2276
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
2277
|
+
"type": "boolean"
|
|
2278
|
+
},
|
|
2279
|
+
"hosts": {
|
|
2280
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
2281
|
+
"type": "array",
|
|
2282
|
+
"items": {
|
|
2283
|
+
"type": "string",
|
|
2284
|
+
"minLength": 1
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
"hostField": {
|
|
2288
|
+
"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.",
|
|
2289
|
+
"type": "string",
|
|
2290
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
2291
|
+
},
|
|
2292
|
+
"when": {
|
|
2293
|
+
"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.",
|
|
2294
|
+
"type": "string"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"required": [
|
|
2298
|
+
"flow"
|
|
2299
|
+
],
|
|
2300
|
+
"additionalProperties": false
|
|
2301
|
+
},
|
|
2302
|
+
"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`."
|
|
2303
|
+
},
|
|
1679
2304
|
"kind": {
|
|
1680
2305
|
"type": "string",
|
|
1681
2306
|
"const": "device"
|
|
@@ -1834,6 +2459,10 @@
|
|
|
1834
2459
|
"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
2460
|
"type": "string"
|
|
1836
2461
|
},
|
|
2462
|
+
"hosted": {
|
|
2463
|
+
"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.",
|
|
2464
|
+
"type": "boolean"
|
|
2465
|
+
},
|
|
1837
2466
|
"rebuild": {
|
|
1838
2467
|
"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
2468
|
"type": "boolean"
|
|
@@ -1946,6 +2575,96 @@
|
|
|
1946
2575
|
"additionalProperties": false
|
|
1947
2576
|
}
|
|
1948
2577
|
},
|
|
2578
|
+
"channel": {
|
|
2579
|
+
"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.",
|
|
2580
|
+
"type": "object",
|
|
2581
|
+
"properties": {
|
|
2582
|
+
"messageLimit": {
|
|
2583
|
+
"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.",
|
|
2584
|
+
"type": "integer",
|
|
2585
|
+
"minimum": 1,
|
|
2586
|
+
"maximum": 10000000
|
|
2587
|
+
},
|
|
2588
|
+
"publish": {
|
|
2589
|
+
"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`.",
|
|
2590
|
+
"type": "object",
|
|
2591
|
+
"properties": {
|
|
2592
|
+
"target": {
|
|
2593
|
+
"type": "string",
|
|
2594
|
+
"minLength": 1,
|
|
2595
|
+
"maxLength": 200,
|
|
2596
|
+
"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."
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"required": [
|
|
2600
|
+
"target"
|
|
2601
|
+
],
|
|
2602
|
+
"additionalProperties": false
|
|
2603
|
+
},
|
|
2604
|
+
"posting": {
|
|
2605
|
+
"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.",
|
|
2606
|
+
"type": "string",
|
|
2607
|
+
"minLength": 1,
|
|
2608
|
+
"maxLength": 1000
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"additionalProperties": false
|
|
2612
|
+
},
|
|
2613
|
+
"processors": {
|
|
2614
|
+
"minItems": 1,
|
|
2615
|
+
"type": "array",
|
|
2616
|
+
"items": {
|
|
2617
|
+
"type": "object",
|
|
2618
|
+
"properties": {
|
|
2619
|
+
"flow": {
|
|
2620
|
+
"type": "string",
|
|
2621
|
+
"enum": [
|
|
2622
|
+
"team-chat",
|
|
2623
|
+
"email-imap",
|
|
2624
|
+
"email-smtp",
|
|
2625
|
+
"connector"
|
|
2626
|
+
],
|
|
2627
|
+
"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)."
|
|
2628
|
+
},
|
|
2629
|
+
"operator": {
|
|
2630
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
2631
|
+
"type": "string",
|
|
2632
|
+
"minLength": 1
|
|
2633
|
+
},
|
|
2634
|
+
"region": {
|
|
2635
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
2636
|
+
"type": "string",
|
|
2637
|
+
"minLength": 1
|
|
2638
|
+
},
|
|
2639
|
+
"thirdCountry": {
|
|
2640
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
2641
|
+
"type": "boolean"
|
|
2642
|
+
},
|
|
2643
|
+
"hosts": {
|
|
2644
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
2645
|
+
"type": "array",
|
|
2646
|
+
"items": {
|
|
2647
|
+
"type": "string",
|
|
2648
|
+
"minLength": 1
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
"hostField": {
|
|
2652
|
+
"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.",
|
|
2653
|
+
"type": "string",
|
|
2654
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
2655
|
+
},
|
|
2656
|
+
"when": {
|
|
2657
|
+
"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.",
|
|
2658
|
+
"type": "string"
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2661
|
+
"required": [
|
|
2662
|
+
"flow"
|
|
2663
|
+
],
|
|
2664
|
+
"additionalProperties": false
|
|
2665
|
+
},
|
|
2666
|
+
"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`."
|
|
2667
|
+
},
|
|
1949
2668
|
"kind": {
|
|
1950
2669
|
"type": "string",
|
|
1951
2670
|
"const": "webext"
|
|
@@ -2109,6 +2828,10 @@
|
|
|
2109
2828
|
"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
2829
|
"type": "string"
|
|
2111
2830
|
},
|
|
2831
|
+
"hosted": {
|
|
2832
|
+
"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.",
|
|
2833
|
+
"type": "boolean"
|
|
2834
|
+
},
|
|
2112
2835
|
"rebuild": {
|
|
2113
2836
|
"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
2837
|
"type": "boolean"
|
|
@@ -2221,6 +2944,96 @@
|
|
|
2221
2944
|
"additionalProperties": false
|
|
2222
2945
|
}
|
|
2223
2946
|
},
|
|
2947
|
+
"channel": {
|
|
2948
|
+
"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.",
|
|
2949
|
+
"type": "object",
|
|
2950
|
+
"properties": {
|
|
2951
|
+
"messageLimit": {
|
|
2952
|
+
"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.",
|
|
2953
|
+
"type": "integer",
|
|
2954
|
+
"minimum": 1,
|
|
2955
|
+
"maximum": 10000000
|
|
2956
|
+
},
|
|
2957
|
+
"publish": {
|
|
2958
|
+
"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`.",
|
|
2959
|
+
"type": "object",
|
|
2960
|
+
"properties": {
|
|
2961
|
+
"target": {
|
|
2962
|
+
"type": "string",
|
|
2963
|
+
"minLength": 1,
|
|
2964
|
+
"maxLength": 200,
|
|
2965
|
+
"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."
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
"required": [
|
|
2969
|
+
"target"
|
|
2970
|
+
],
|
|
2971
|
+
"additionalProperties": false
|
|
2972
|
+
},
|
|
2973
|
+
"posting": {
|
|
2974
|
+
"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.",
|
|
2975
|
+
"type": "string",
|
|
2976
|
+
"minLength": 1,
|
|
2977
|
+
"maxLength": 1000
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
"additionalProperties": false
|
|
2981
|
+
},
|
|
2982
|
+
"processors": {
|
|
2983
|
+
"minItems": 1,
|
|
2984
|
+
"type": "array",
|
|
2985
|
+
"items": {
|
|
2986
|
+
"type": "object",
|
|
2987
|
+
"properties": {
|
|
2988
|
+
"flow": {
|
|
2989
|
+
"type": "string",
|
|
2990
|
+
"enum": [
|
|
2991
|
+
"team-chat",
|
|
2992
|
+
"email-imap",
|
|
2993
|
+
"email-smtp",
|
|
2994
|
+
"connector"
|
|
2995
|
+
],
|
|
2996
|
+
"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)."
|
|
2997
|
+
},
|
|
2998
|
+
"operator": {
|
|
2999
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
3000
|
+
"type": "string",
|
|
3001
|
+
"minLength": 1
|
|
3002
|
+
},
|
|
3003
|
+
"region": {
|
|
3004
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
3005
|
+
"type": "string",
|
|
3006
|
+
"minLength": 1
|
|
3007
|
+
},
|
|
3008
|
+
"thirdCountry": {
|
|
3009
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
3010
|
+
"type": "boolean"
|
|
3011
|
+
},
|
|
3012
|
+
"hosts": {
|
|
3013
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
3014
|
+
"type": "array",
|
|
3015
|
+
"items": {
|
|
3016
|
+
"type": "string",
|
|
3017
|
+
"minLength": 1
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
3020
|
+
"hostField": {
|
|
3021
|
+
"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.",
|
|
3022
|
+
"type": "string",
|
|
3023
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
3024
|
+
},
|
|
3025
|
+
"when": {
|
|
3026
|
+
"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.",
|
|
3027
|
+
"type": "string"
|
|
3028
|
+
}
|
|
3029
|
+
},
|
|
3030
|
+
"required": [
|
|
3031
|
+
"flow"
|
|
3032
|
+
],
|
|
3033
|
+
"additionalProperties": false
|
|
3034
|
+
},
|
|
3035
|
+
"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`."
|
|
3036
|
+
},
|
|
2224
3037
|
"kind": {
|
|
2225
3038
|
"type": "string",
|
|
2226
3039
|
"const": "phone"
|
|
@@ -2384,6 +3197,10 @@
|
|
|
2384
3197
|
"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
3198
|
"type": "string"
|
|
2386
3199
|
},
|
|
3200
|
+
"hosted": {
|
|
3201
|
+
"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.",
|
|
3202
|
+
"type": "boolean"
|
|
3203
|
+
},
|
|
2387
3204
|
"rebuild": {
|
|
2388
3205
|
"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
3206
|
"type": "boolean"
|
|
@@ -2496,39 +3313,129 @@
|
|
|
2496
3313
|
"additionalProperties": false
|
|
2497
3314
|
}
|
|
2498
3315
|
},
|
|
2499
|
-
"
|
|
2500
|
-
"
|
|
2501
|
-
"
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
3316
|
+
"channel": {
|
|
3317
|
+
"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.",
|
|
3318
|
+
"type": "object",
|
|
3319
|
+
"properties": {
|
|
3320
|
+
"messageLimit": {
|
|
3321
|
+
"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.",
|
|
3322
|
+
"type": "integer",
|
|
3323
|
+
"minimum": 1,
|
|
3324
|
+
"maximum": 10000000
|
|
3325
|
+
},
|
|
3326
|
+
"publish": {
|
|
3327
|
+
"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`.",
|
|
3328
|
+
"type": "object",
|
|
3329
|
+
"properties": {
|
|
3330
|
+
"target": {
|
|
3331
|
+
"type": "string",
|
|
3332
|
+
"minLength": 1,
|
|
3333
|
+
"maxLength": 200,
|
|
3334
|
+
"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."
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
"required": [
|
|
3338
|
+
"target"
|
|
3339
|
+
],
|
|
3340
|
+
"additionalProperties": false
|
|
3341
|
+
},
|
|
3342
|
+
"posting": {
|
|
3343
|
+
"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.",
|
|
3344
|
+
"type": "string",
|
|
3345
|
+
"minLength": 1,
|
|
3346
|
+
"maxLength": 1000
|
|
3347
|
+
}
|
|
3348
|
+
},
|
|
3349
|
+
"additionalProperties": false
|
|
3350
|
+
},
|
|
3351
|
+
"processors": {
|
|
3352
|
+
"minItems": 1,
|
|
3353
|
+
"type": "array",
|
|
3354
|
+
"items": {
|
|
3355
|
+
"type": "object",
|
|
3356
|
+
"properties": {
|
|
3357
|
+
"flow": {
|
|
3358
|
+
"type": "string",
|
|
3359
|
+
"enum": [
|
|
3360
|
+
"team-chat",
|
|
3361
|
+
"email-imap",
|
|
3362
|
+
"email-smtp",
|
|
3363
|
+
"connector"
|
|
3364
|
+
],
|
|
3365
|
+
"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)."
|
|
3366
|
+
},
|
|
3367
|
+
"operator": {
|
|
3368
|
+
"description": "Who runs the service, as its terms name them (`Discord Inc.`). Absent: the office is asked.",
|
|
3369
|
+
"type": "string",
|
|
3370
|
+
"minLength": 1
|
|
3371
|
+
},
|
|
3372
|
+
"region": {
|
|
3373
|
+
"description": "Where the operator says it processes the data (`US`, `EU`, `EU/US`), only where it publishes one.",
|
|
3374
|
+
"type": "string",
|
|
3375
|
+
"minLength": 1
|
|
3376
|
+
},
|
|
3377
|
+
"thirdCountry": {
|
|
3378
|
+
"description": "True when the operator processes the data outside the European Economic Area, which makes this a transfer to a third country.",
|
|
3379
|
+
"type": "boolean"
|
|
3380
|
+
},
|
|
3381
|
+
"hosts": {
|
|
3382
|
+
"description": "Every host data is sent to on this path, beyond the card's `hosts`: a realtime gateway, a file CDN.",
|
|
3383
|
+
"type": "array",
|
|
3384
|
+
"items": {
|
|
3385
|
+
"type": "string",
|
|
3386
|
+
"minLength": 1
|
|
3387
|
+
}
|
|
3388
|
+
},
|
|
3389
|
+
"hostField": {
|
|
3390
|
+
"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.",
|
|
3391
|
+
"type": "string",
|
|
3392
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9]*$"
|
|
3393
|
+
},
|
|
3394
|
+
"when": {
|
|
3395
|
+
"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.",
|
|
3396
|
+
"type": "string"
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
"required": [
|
|
3400
|
+
"flow"
|
|
3401
|
+
],
|
|
3402
|
+
"additionalProperties": false
|
|
3403
|
+
},
|
|
3404
|
+
"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`."
|
|
3405
|
+
},
|
|
3406
|
+
"kind": {
|
|
3407
|
+
"type": "string",
|
|
3408
|
+
"const": "agent"
|
|
3409
|
+
}
|
|
3410
|
+
},
|
|
3411
|
+
"required": [
|
|
3412
|
+
"id",
|
|
3413
|
+
"catalog",
|
|
3414
|
+
"fields",
|
|
3415
|
+
"kind"
|
|
3416
|
+
],
|
|
3417
|
+
"additionalProperties": false
|
|
3418
|
+
}
|
|
3419
|
+
],
|
|
3420
|
+
"power": {
|
|
3421
|
+
"key": "capability:${id}",
|
|
3422
|
+
"sentence": "a ${kind} capability card \"${catalog.name}\""
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
"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."
|
|
3426
|
+
},
|
|
3427
|
+
"listener": {
|
|
3428
|
+
"type": "object",
|
|
3429
|
+
"properties": {
|
|
3430
|
+
"provider": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$",
|
|
3433
|
+
"description": "The slug this source's automation triggers fire on."
|
|
3434
|
+
},
|
|
3435
|
+
"events": {
|
|
3436
|
+
"minItems": 1,
|
|
3437
|
+
"type": "array",
|
|
3438
|
+
"items": {
|
|
2532
3439
|
"type": "object",
|
|
2533
3440
|
"properties": {
|
|
2534
3441
|
"type": {
|
|
@@ -2548,6 +3455,19 @@
|
|
|
2548
3455
|
},
|
|
2549
3456
|
"description": "The event types this source can fire, with the wording the automation editor offers them under. The daemon accepts no others."
|
|
2550
3457
|
},
|
|
3458
|
+
"strangers": {
|
|
3459
|
+
"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; `contact`, a sandbox that is not a contact yet asking to become one, 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.",
|
|
3460
|
+
"type": "string",
|
|
3461
|
+
"enum": [
|
|
3462
|
+
"visitor",
|
|
3463
|
+
"report",
|
|
3464
|
+
"contact"
|
|
3465
|
+
],
|
|
3466
|
+
"power": {
|
|
3467
|
+
"key": "listener-strangers:${provider}",
|
|
3468
|
+
"sentence": "anyone on the internet can wake an agent through its \"${provider}\" listener"
|
|
3469
|
+
}
|
|
3470
|
+
},
|
|
2551
3471
|
"automation": {
|
|
2552
3472
|
"type": "object",
|
|
2553
3473
|
"properties": {
|
|
@@ -2722,6 +3642,7 @@
|
|
|
2722
3642
|
"type": "string",
|
|
2723
3643
|
"enum": [
|
|
2724
3644
|
"schedule",
|
|
3645
|
+
"once",
|
|
2725
3646
|
"event",
|
|
2726
3647
|
"listener",
|
|
2727
3648
|
"workspace"
|
|
@@ -2731,10 +3652,55 @@
|
|
|
2731
3652
|
"type": "string",
|
|
2732
3653
|
"minLength": 1
|
|
2733
3654
|
},
|
|
3655
|
+
"tz": {
|
|
3656
|
+
"description": "Which clock the cron's times mean, as a zone name. Absent: the sandbox's own.",
|
|
3657
|
+
"type": "string",
|
|
3658
|
+
"minLength": 1
|
|
3659
|
+
},
|
|
3660
|
+
"afterSessions": {
|
|
3661
|
+
"description": "Fire only once this many new sessions have run since the last wake.",
|
|
3662
|
+
"type": "integer",
|
|
3663
|
+
"exclusiveMinimum": 0,
|
|
3664
|
+
"maximum": 9007199254740991
|
|
3665
|
+
},
|
|
3666
|
+
"at": {
|
|
3667
|
+
"type": "integer",
|
|
3668
|
+
"exclusiveMinimum": 0,
|
|
3669
|
+
"maximum": 9007199254740991
|
|
3670
|
+
},
|
|
3671
|
+
"dailyMax": {
|
|
3672
|
+
"description": "How many webhook calls a day may wake it.",
|
|
3673
|
+
"type": "integer",
|
|
3674
|
+
"exclusiveMinimum": 0,
|
|
3675
|
+
"maximum": 9007199254740991
|
|
3676
|
+
},
|
|
3677
|
+
"signature": {
|
|
3678
|
+
"description": "Require the sender's signature: its scheme, and the name of the sandbox secret holding the signing secret.",
|
|
3679
|
+
"type": "object",
|
|
3680
|
+
"properties": {
|
|
3681
|
+
"scheme": {
|
|
3682
|
+
"type": "string",
|
|
3683
|
+
"minLength": 1
|
|
3684
|
+
},
|
|
3685
|
+
"secret": {
|
|
3686
|
+
"type": "string",
|
|
3687
|
+
"minLength": 1
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
"required": [
|
|
3691
|
+
"scheme",
|
|
3692
|
+
"secret"
|
|
3693
|
+
],
|
|
3694
|
+
"additionalProperties": false
|
|
3695
|
+
},
|
|
2734
3696
|
"provider": {
|
|
2735
3697
|
"type": "string",
|
|
2736
3698
|
"minLength": 1
|
|
2737
3699
|
},
|
|
3700
|
+
"channelId": {
|
|
3701
|
+
"type": "string",
|
|
3702
|
+
"minLength": 1
|
|
3703
|
+
},
|
|
2738
3704
|
"eventType": {
|
|
2739
3705
|
"type": "string",
|
|
2740
3706
|
"minLength": 1
|
|
@@ -2742,9 +3708,23 @@
|
|
|
2742
3708
|
"mentioned": {
|
|
2743
3709
|
"type": "boolean"
|
|
2744
3710
|
},
|
|
3711
|
+
"branch": {
|
|
3712
|
+
"type": "string",
|
|
3713
|
+
"minLength": 1
|
|
3714
|
+
},
|
|
3715
|
+
"allowedOrigins": {
|
|
3716
|
+
"type": "array",
|
|
3717
|
+
"items": {
|
|
3718
|
+
"type": "string"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
2745
3721
|
"event": {
|
|
2746
3722
|
"type": "string",
|
|
2747
3723
|
"minLength": 1
|
|
3724
|
+
},
|
|
3725
|
+
"repo": {
|
|
3726
|
+
"type": "string",
|
|
3727
|
+
"minLength": 1
|
|
2748
3728
|
}
|
|
2749
3729
|
},
|
|
2750
3730
|
"required": [
|
|
@@ -2758,6 +3738,71 @@
|
|
|
2758
3738
|
"type": "string",
|
|
2759
3739
|
"minLength": 1
|
|
2760
3740
|
},
|
|
3741
|
+
"source": {
|
|
3742
|
+
"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`.",
|
|
3743
|
+
"type": "object",
|
|
3744
|
+
"properties": {
|
|
3745
|
+
"kind": {
|
|
3746
|
+
"type": "string",
|
|
3747
|
+
"minLength": 1
|
|
3748
|
+
}
|
|
3749
|
+
},
|
|
3750
|
+
"required": [
|
|
3751
|
+
"kind"
|
|
3752
|
+
],
|
|
3753
|
+
"additionalProperties": {
|
|
3754
|
+
"type": [
|
|
3755
|
+
"string",
|
|
3756
|
+
"boolean"
|
|
3757
|
+
]
|
|
3758
|
+
}
|
|
3759
|
+
},
|
|
3760
|
+
"fireOn": {
|
|
3761
|
+
"description": "Fire on every passing check, or only when what it saw changed.",
|
|
3762
|
+
"type": "string",
|
|
3763
|
+
"enum": [
|
|
3764
|
+
"pass",
|
|
3765
|
+
"change"
|
|
3766
|
+
]
|
|
3767
|
+
},
|
|
3768
|
+
"until": {
|
|
3769
|
+
"description": "Switch it off the first time it fires.",
|
|
3770
|
+
"type": "string",
|
|
3771
|
+
"enum": [
|
|
3772
|
+
"first-fire"
|
|
3773
|
+
]
|
|
3774
|
+
},
|
|
3775
|
+
"target": {
|
|
3776
|
+
"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.",
|
|
3777
|
+
"type": "object",
|
|
3778
|
+
"properties": {
|
|
3779
|
+
"kind": {
|
|
3780
|
+
"type": "string",
|
|
3781
|
+
"enum": [
|
|
3782
|
+
"agent",
|
|
3783
|
+
"conversation",
|
|
3784
|
+
"notify",
|
|
3785
|
+
"extension"
|
|
3786
|
+
]
|
|
3787
|
+
},
|
|
3788
|
+
"conversationId": {
|
|
3789
|
+
"type": "string",
|
|
3790
|
+
"minLength": 1
|
|
3791
|
+
},
|
|
3792
|
+
"extension": {
|
|
3793
|
+
"type": "string",
|
|
3794
|
+
"minLength": 1
|
|
3795
|
+
},
|
|
3796
|
+
"handler": {
|
|
3797
|
+
"type": "string",
|
|
3798
|
+
"minLength": 1
|
|
3799
|
+
}
|
|
3800
|
+
},
|
|
3801
|
+
"required": [
|
|
3802
|
+
"kind"
|
|
3803
|
+
],
|
|
3804
|
+
"additionalProperties": false
|
|
3805
|
+
},
|
|
2761
3806
|
"holdForSeconds": {
|
|
2762
3807
|
"description": "Wait this long and coalesce repeats, rather than firing on every event.",
|
|
2763
3808
|
"type": "integer",
|
|
@@ -2805,6 +3850,183 @@
|
|
|
2805
3850
|
},
|
|
2806
3851
|
"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
3852
|
},
|
|
3853
|
+
"watchKinds": {
|
|
3854
|
+
"type": "array",
|
|
3855
|
+
"items": {
|
|
3856
|
+
"type": "object",
|
|
3857
|
+
"properties": {
|
|
3858
|
+
"id": {
|
|
3859
|
+
"type": "string",
|
|
3860
|
+
"pattern": "^(?!url$)[a-z][a-z0-9-]{0,63}$",
|
|
3861
|
+
"description": "The kind's id, which an automation's source names as `kind`. Keep it once shipped: a stored automation names it."
|
|
3862
|
+
},
|
|
3863
|
+
"label": {
|
|
3864
|
+
"type": "string",
|
|
3865
|
+
"minLength": 1,
|
|
3866
|
+
"maxLength": 40,
|
|
3867
|
+
"description": "What the composer's chip says: a few words, like `npm package`."
|
|
3868
|
+
},
|
|
3869
|
+
"icon": {
|
|
3870
|
+
"description": "A name from the host's icon set for the chip.",
|
|
3871
|
+
"type": "string",
|
|
3872
|
+
"minLength": 1
|
|
3873
|
+
},
|
|
3874
|
+
"logo": {
|
|
3875
|
+
"description": "A simple-icons slug, drawn where a logo fits better than an icon.",
|
|
3876
|
+
"type": "string",
|
|
3877
|
+
"minLength": 1
|
|
3878
|
+
},
|
|
3879
|
+
"description": {
|
|
3880
|
+
"type": "string",
|
|
3881
|
+
"minLength": 1,
|
|
3882
|
+
"maxLength": 300,
|
|
3883
|
+
"description": "One sentence under the chips on what the check looks at and when it passes."
|
|
3884
|
+
},
|
|
3885
|
+
"sentence": {
|
|
3886
|
+
"type": "string",
|
|
3887
|
+
"minLength": 1,
|
|
3888
|
+
"maxLength": 200,
|
|
3889
|
+
"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."
|
|
3890
|
+
},
|
|
3891
|
+
"fields": {
|
|
3892
|
+
"maxItems": 12,
|
|
3893
|
+
"type": "array",
|
|
3894
|
+
"items": {
|
|
3895
|
+
"type": "object",
|
|
3896
|
+
"properties": {
|
|
3897
|
+
"key": {
|
|
3898
|
+
"type": "string",
|
|
3899
|
+
"pattern": "^(?!kind$)[a-z][a-zA-Z0-9]{0,39}$",
|
|
3900
|
+
"description": "The parameter's name as the automation stores it, beside `kind`: what `--with <key>=<value>` sets on the command line."
|
|
3901
|
+
},
|
|
3902
|
+
"label": {
|
|
3903
|
+
"type": "string",
|
|
3904
|
+
"minLength": 1,
|
|
3905
|
+
"maxLength": 80,
|
|
3906
|
+
"description": "The box's label in the composer."
|
|
3907
|
+
},
|
|
3908
|
+
"type": {
|
|
3909
|
+
"description": "`text` (the default): a line of text, stored as typed. `switch`: on or off, stored as `true` only when on.",
|
|
3910
|
+
"type": "string",
|
|
3911
|
+
"enum": [
|
|
3912
|
+
"text",
|
|
3913
|
+
"switch"
|
|
3914
|
+
]
|
|
3915
|
+
},
|
|
3916
|
+
"required": {
|
|
3917
|
+
"description": "Whether a source of this kind must carry it. A switch is never required.",
|
|
3918
|
+
"type": "boolean"
|
|
3919
|
+
},
|
|
3920
|
+
"placeholder": {
|
|
3921
|
+
"description": "An example value, shown in the empty box.",
|
|
3922
|
+
"type": "string",
|
|
3923
|
+
"minLength": 1,
|
|
3924
|
+
"maxLength": 200
|
|
3925
|
+
},
|
|
3926
|
+
"hint": {
|
|
3927
|
+
"description": "One sentence on what it changes, behind the field's (i).",
|
|
3928
|
+
"type": "string",
|
|
3929
|
+
"minLength": 1,
|
|
3930
|
+
"maxLength": 300
|
|
3931
|
+
},
|
|
3932
|
+
"pattern": {
|
|
3933
|
+
"description": "A regular expression a text value must match, checked when the automation is saved, in the composer and by the command.",
|
|
3934
|
+
"type": "string",
|
|
3935
|
+
"minLength": 1,
|
|
3936
|
+
"maxLength": 300
|
|
3937
|
+
},
|
|
3938
|
+
"patternHint": {
|
|
3939
|
+
"description": "What a value that matches looks like, said when one does not: `owner/name`.",
|
|
3940
|
+
"type": "string",
|
|
3941
|
+
"minLength": 1,
|
|
3942
|
+
"maxLength": 120
|
|
3943
|
+
},
|
|
3944
|
+
"maxLength": {
|
|
3945
|
+
"description": "The longest a text value may be. Absent means 2000 characters.",
|
|
3946
|
+
"type": "integer",
|
|
3947
|
+
"exclusiveMinimum": 0,
|
|
3948
|
+
"maximum": 2000
|
|
3949
|
+
}
|
|
3950
|
+
},
|
|
3951
|
+
"required": [
|
|
3952
|
+
"key",
|
|
3953
|
+
"label"
|
|
3954
|
+
],
|
|
3955
|
+
"additionalProperties": false
|
|
3956
|
+
},
|
|
3957
|
+
"description": "Its parameters, in the order the composer draws them."
|
|
3958
|
+
},
|
|
3959
|
+
"capabilities": {
|
|
3960
|
+
"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.",
|
|
3961
|
+
"type": "array",
|
|
3962
|
+
"items": {
|
|
3963
|
+
"type": "string",
|
|
3964
|
+
"minLength": 1
|
|
3965
|
+
}
|
|
3966
|
+
}
|
|
3967
|
+
},
|
|
3968
|
+
"required": [
|
|
3969
|
+
"id",
|
|
3970
|
+
"label",
|
|
3971
|
+
"description",
|
|
3972
|
+
"sentence",
|
|
3973
|
+
"fields"
|
|
3974
|
+
],
|
|
3975
|
+
"power": {
|
|
3976
|
+
"key": "watch-kind:${id}",
|
|
3977
|
+
"sentence": "its backend checks \"${label}\" watches for the sandbox's automations"
|
|
3978
|
+
},
|
|
3979
|
+
"additionalProperties": false
|
|
3980
|
+
},
|
|
3981
|
+
"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."
|
|
3982
|
+
},
|
|
3983
|
+
"modelRoles": {
|
|
3984
|
+
"type": "array",
|
|
3985
|
+
"items": {
|
|
3986
|
+
"type": "object",
|
|
3987
|
+
"properties": {
|
|
3988
|
+
"id": {
|
|
3989
|
+
"type": "string",
|
|
3990
|
+
"maxLength": 40,
|
|
3991
|
+
"pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$",
|
|
3992
|
+
"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."
|
|
3993
|
+
},
|
|
3994
|
+
"label": {
|
|
3995
|
+
"type": "string",
|
|
3996
|
+
"minLength": 1,
|
|
3997
|
+
"maxLength": 40,
|
|
3998
|
+
"description": "What the settings page calls the job, in the owner's words: `Pipeline fixes`."
|
|
3999
|
+
},
|
|
4000
|
+
"explanation": {
|
|
4001
|
+
"type": "string",
|
|
4002
|
+
"minLength": 1,
|
|
4003
|
+
"maxLength": 300,
|
|
4004
|
+
"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.`"
|
|
4005
|
+
},
|
|
4006
|
+
"icon": {
|
|
4007
|
+
"description": "A name from the host's icon set for the job's chip. Absent draws a wrench.",
|
|
4008
|
+
"type": "string",
|
|
4009
|
+
"minLength": 1
|
|
4010
|
+
},
|
|
4011
|
+
"setup": {
|
|
4012
|
+
"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`.",
|
|
4013
|
+
"type": "string",
|
|
4014
|
+
"enum": [
|
|
4015
|
+
"low",
|
|
4016
|
+
"medium",
|
|
4017
|
+
"high"
|
|
4018
|
+
]
|
|
4019
|
+
}
|
|
4020
|
+
},
|
|
4021
|
+
"required": [
|
|
4022
|
+
"id",
|
|
4023
|
+
"label",
|
|
4024
|
+
"explanation"
|
|
4025
|
+
],
|
|
4026
|
+
"additionalProperties": false
|
|
4027
|
+
},
|
|
4028
|
+
"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."
|
|
4029
|
+
},
|
|
2808
4030
|
"bin": {
|
|
2809
4031
|
"type": "string",
|
|
2810
4032
|
"minLength": 1,
|
|
@@ -2841,6 +4063,148 @@
|
|
|
2841
4063
|
},
|
|
2842
4064
|
"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
4065
|
"additionalProperties": false
|
|
4066
|
+
},
|
|
4067
|
+
"publicRoutes": {
|
|
4068
|
+
"type": "array",
|
|
4069
|
+
"items": {
|
|
4070
|
+
"type": "object",
|
|
4071
|
+
"properties": {
|
|
4072
|
+
"path": {
|
|
4073
|
+
"type": "string",
|
|
4074
|
+
"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\"."
|
|
4075
|
+
},
|
|
4076
|
+
"methods": {
|
|
4077
|
+
"minItems": 1,
|
|
4078
|
+
"type": "array",
|
|
4079
|
+
"items": {
|
|
4080
|
+
"type": "string",
|
|
4081
|
+
"enum": [
|
|
4082
|
+
"GET",
|
|
4083
|
+
"POST",
|
|
4084
|
+
"PUT",
|
|
4085
|
+
"PATCH",
|
|
4086
|
+
"DELETE"
|
|
4087
|
+
]
|
|
4088
|
+
},
|
|
4089
|
+
"description": "The methods it answers; anything else is refused before your backend hears of it."
|
|
4090
|
+
},
|
|
4091
|
+
"automation": {
|
|
4092
|
+
"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.",
|
|
4093
|
+
"type": "boolean",
|
|
4094
|
+
"const": true
|
|
4095
|
+
},
|
|
4096
|
+
"origins": {
|
|
4097
|
+
"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.",
|
|
4098
|
+
"type": "string",
|
|
4099
|
+
"enum": [
|
|
4100
|
+
"listed",
|
|
4101
|
+
"any"
|
|
4102
|
+
]
|
|
4103
|
+
},
|
|
4104
|
+
"key": {
|
|
4105
|
+
"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.",
|
|
4106
|
+
"type": "boolean",
|
|
4107
|
+
"const": true
|
|
4108
|
+
},
|
|
4109
|
+
"keyFromBrowsers": {
|
|
4110
|
+
"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.",
|
|
4111
|
+
"type": "boolean",
|
|
4112
|
+
"const": true
|
|
4113
|
+
},
|
|
4114
|
+
"signature": {
|
|
4115
|
+
"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.",
|
|
4116
|
+
"type": "object",
|
|
4117
|
+
"properties": {
|
|
4118
|
+
"scheme": {
|
|
4119
|
+
"type": "string",
|
|
4120
|
+
"enum": [
|
|
4121
|
+
"github",
|
|
4122
|
+
"linear",
|
|
4123
|
+
"sentry",
|
|
4124
|
+
"stripe",
|
|
4125
|
+
"standard-webhooks"
|
|
4126
|
+
],
|
|
4127
|
+
"description": "Which provider's signing scheme the sender uses."
|
|
4128
|
+
},
|
|
4129
|
+
"secret": {
|
|
4130
|
+
"type": "string",
|
|
4131
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$",
|
|
4132
|
+
"description": "The name of the sandbox secret holding the signing secret, which the owner sets; its value never reaches your backend."
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
4135
|
+
"required": [
|
|
4136
|
+
"scheme",
|
|
4137
|
+
"secret"
|
|
4138
|
+
],
|
|
4139
|
+
"additionalProperties": false
|
|
4140
|
+
},
|
|
4141
|
+
"turnstile": {
|
|
4142
|
+
"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.",
|
|
4143
|
+
"type": "object",
|
|
4144
|
+
"properties": {
|
|
4145
|
+
"secret": {
|
|
4146
|
+
"type": "string",
|
|
4147
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$",
|
|
4148
|
+
"description": "The name of the sandbox secret holding the Cloudflare Turnstile secret key, which the owner sets; its value never reaches your backend."
|
|
4149
|
+
}
|
|
4150
|
+
},
|
|
4151
|
+
"required": [
|
|
4152
|
+
"secret"
|
|
4153
|
+
],
|
|
4154
|
+
"additionalProperties": false
|
|
4155
|
+
},
|
|
4156
|
+
"proofOfWork": {
|
|
4157
|
+
"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>`.",
|
|
4158
|
+
"type": "boolean",
|
|
4159
|
+
"const": true
|
|
4160
|
+
},
|
|
4161
|
+
"rate": {
|
|
4162
|
+
"description": "Calls a minute one caller (by address) may make before 429; 30 when absent.",
|
|
4163
|
+
"type": "integer",
|
|
4164
|
+
"minimum": 1,
|
|
4165
|
+
"maximum": 600
|
|
4166
|
+
},
|
|
4167
|
+
"dailyMax": {
|
|
4168
|
+
"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.",
|
|
4169
|
+
"anyOf": [
|
|
4170
|
+
{
|
|
4171
|
+
"type": "integer",
|
|
4172
|
+
"minimum": 1,
|
|
4173
|
+
"maximum": 100000
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
"type": "string",
|
|
4177
|
+
"const": "none"
|
|
4178
|
+
}
|
|
4179
|
+
]
|
|
4180
|
+
},
|
|
4181
|
+
"bodyMax": {
|
|
4182
|
+
"description": "The largest body it takes, in bytes; 65536 when absent, at most 1048576.",
|
|
4183
|
+
"type": "integer",
|
|
4184
|
+
"minimum": 0,
|
|
4185
|
+
"maximum": 1048576
|
|
4186
|
+
},
|
|
4187
|
+
"wakes": {
|
|
4188
|
+
"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.",
|
|
4189
|
+
"type": "boolean",
|
|
4190
|
+
"const": true,
|
|
4191
|
+
"power": {
|
|
4192
|
+
"key": "wakes:${path}",
|
|
4193
|
+
"sentence": "a call to /${path} wakes the sandbox while it sleeps, which spends its awake hours"
|
|
4194
|
+
}
|
|
4195
|
+
}
|
|
4196
|
+
},
|
|
4197
|
+
"required": [
|
|
4198
|
+
"path",
|
|
4199
|
+
"methods"
|
|
4200
|
+
],
|
|
4201
|
+
"power": {
|
|
4202
|
+
"key": "public:${path}",
|
|
4203
|
+
"sentence": "anyone on the internet can call its backend at ${methods|, } /${path}${signature? when signed with your secret ${signature.secret}:}"
|
|
4204
|
+
},
|
|
4205
|
+
"additionalProperties": false
|
|
4206
|
+
},
|
|
4207
|
+
"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
4208
|
}
|
|
2845
4209
|
},
|
|
2846
4210
|
"additionalProperties": false
|