@fungi.computer/oyster 0.50.5 → 0.51.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/dist/apps/catalog.d.ts +11 -0
- package/dist/apps/catalog.js +1 -0
- package/dist/apps/gate.d.ts +2 -2
- package/dist/apps/installation.d.ts +7 -7
- package/dist/apps/permissions.d.ts +5 -5
- package/dist/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +1 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +1 -1
- package/dist/installation-operations.d.ts +8 -8
- package/dist/pack.d.ts +4 -4
- package/dist/page-script.js +2 -2
- package/dist/standalone/workflow-host.d.ts +5 -5
- package/dist/standalone/workflow-trigger-host.d.ts +1 -1
- package/docs/api/apps.md +146 -128
- package/docs/api/build-contract.md +27 -21
- package/docs/api/build.md +66 -64
- package/docs/api/git.md +3 -3
- package/docs/api/host.md +56 -48
- package/docs/api/mcp.md +16 -16
- package/docs/api/pack.md +26 -20
- package/docs/api/workers.md +50 -47
- package/package.json +17 -17
package/docs/api/apps.md
CHANGED
|
@@ -44,6 +44,7 @@ readonly read(appKey): Promise<
|
|
|
44
44
|
| "agent.avatar"
|
|
45
45
|
| "agent.instructions"
|
|
46
46
|
| "agent.toolPolicy"
|
|
47
|
+
| "agent.stop"
|
|
47
48
|
| "agent.read"
|
|
48
49
|
| "agent.send"
|
|
49
50
|
| "llm.generation"
|
|
@@ -102,6 +103,7 @@ readonly read(appKey): Promise<
|
|
|
102
103
|
| "agent.avatar"
|
|
103
104
|
| "agent.instructions"
|
|
104
105
|
| "agent.toolPolicy"
|
|
106
|
+
| "agent.stop"
|
|
105
107
|
| "agent.read"
|
|
106
108
|
| "agent.send"
|
|
107
109
|
| "llm.generation"
|
|
@@ -151,23 +153,24 @@ and the available resources.
|
|
|
151
153
|
`"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
152
154
|
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
153
155
|
`"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \|
|
|
154
|
-
`"agent.
|
|
155
|
-
|
|
156
|
-
\| `"apps.
|
|
157
|
-
`"
|
|
158
|
-
`"
|
|
159
|
-
`"
|
|
160
|
-
`
|
|
161
|
-
`
|
|
162
|
-
|
|
163
|
-
`
|
|
164
|
-
`string`; \} \| \{ `kind`: `"
|
|
165
|
-
`
|
|
166
|
-
`
|
|
167
|
-
|
|
168
|
-
`
|
|
169
|
-
`"
|
|
170
|
-
`"agent.
|
|
156
|
+
`"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \|
|
|
157
|
+
`"media.generation"` \| `"media.share"` \| `"games:servers"` \|
|
|
158
|
+
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
159
|
+
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
160
|
+
`"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \|
|
|
161
|
+
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
162
|
+
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
163
|
+
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
164
|
+
`string`\>\>; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[];
|
|
165
|
+
\}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`;
|
|
166
|
+
`memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{
|
|
167
|
+
`kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`:
|
|
168
|
+
`number`; \}\> \| `null`; \}; `declaredOperations`: \{ `artifactDigest`:
|
|
169
|
+
`Sha256Digest`; `digest`: `Sha256Digest`; `capabilities`: readonly
|
|
170
|
+
`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \|
|
|
171
|
+
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
172
|
+
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
173
|
+
`"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \|
|
|
171
174
|
`"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"`
|
|
172
175
|
\| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"`
|
|
173
176
|
\| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
@@ -192,15 +195,15 @@ digest. The host checks authorization and freshness before saving.
|
|
|
192
195
|
|
|
193
196
|
###### Parameters
|
|
194
197
|
|
|
195
|
-
| Parameter | Type
|
|
196
|
-
| ------------------------------- |
|
|
197
|
-
| `appKey` | `string`
|
|
198
|
-
| `pins` | \{ `storeGeneration`: `string`; `authorityVersion`: `number`; `artifactDigest`: `Sha256Digest`; `declaredOperationsDigest`: `Sha256Digest`; \}
|
|
199
|
-
| `pins.storeGeneration` | `string`
|
|
200
|
-
| `pins.authorityVersion` | `number`
|
|
201
|
-
| `pins.artifactDigest` | `Sha256Digest`
|
|
202
|
-
| `pins.declaredOperationsDigest` | `Sha256Digest`
|
|
203
|
-
| `changes` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\> \| `null`; \}\>[] | - |
|
|
198
|
+
| Parameter | Type | Description |
|
|
199
|
+
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
|
200
|
+
| `appKey` | `string` | - |
|
|
201
|
+
| `pins` | \{ `storeGeneration`: `string`; `authorityVersion`: `number`; `artifactDigest`: `Sha256Digest`; `declaredOperationsDigest`: `Sha256Digest`; \} | - |
|
|
202
|
+
| `pins.storeGeneration` | `string` | - |
|
|
203
|
+
| `pins.authorityVersion` | `number` | - |
|
|
204
|
+
| `pins.artifactDigest` | `Sha256Digest` | - |
|
|
205
|
+
| `pins.declaredOperationsDigest` | `Sha256Digest` | The declared-operations digest the owner saw; a save against a changed host snapshot is refused. |
|
|
206
|
+
| `changes` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\> \| `null`; \}\>[] | - |
|
|
204
207
|
|
|
205
208
|
###### Returns
|
|
206
209
|
|
|
@@ -622,6 +625,7 @@ type InstallationReader = Readonly<{
|
|
|
622
625
|
| ...
|
|
623
626
|
| ...
|
|
624
627
|
| ...
|
|
628
|
+
| ...
|
|
625
629
|
| ...;
|
|
626
630
|
capabilityApproved: true;
|
|
627
631
|
operations: readonly ...[];
|
|
@@ -690,6 +694,7 @@ type InstallationReader = Readonly<{
|
|
|
690
694
|
| ...
|
|
691
695
|
| ...
|
|
692
696
|
| ...
|
|
697
|
+
| ...
|
|
693
698
|
| ...;
|
|
694
699
|
capabilityApproved: true;
|
|
695
700
|
operations: readonly ...[];
|
|
@@ -937,6 +942,7 @@ Every capability selects one consent class and one resource grammar.
|
|
|
937
942
|
| <a id="property-agentavatar"></a> `agent.avatar` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
938
943
|
| <a id="property-agentinstructions"></a> `agent.instructions` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
939
944
|
| <a id="property-agenttoolpolicy"></a> `agent.toolPolicy` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
945
|
+
| <a id="property-agentstop"></a> `agent.stop` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
940
946
|
| <a id="property-agentread"></a> `agent.read` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
941
947
|
| <a id="property-agentsend"></a> `agent.send` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
942
948
|
| <a id="property-computerlist"></a> `computer.list` | `Readonly`\<\{ `group`: \| `"computers"` \| `"data"` \| `"workflows"` \| `"git"` \| `"agents"` \| `"generation"` \| `"bazaar"` \| `"channels"` \| `"apps"` \| `"shell"` \| `"other"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"list"` \| `"computer"` \| `"loop"` \| `"run"` \| `"agent"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"stop"` \| `"connected"` \| `"working"` \| `"complete"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"oyster"` \| `"tourtois"` \| `"allApps"` \| `"search"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"schedule"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
@@ -995,6 +1001,7 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
995
1001
|
| "agent.avatar"
|
|
996
1002
|
| "agent.instructions"
|
|
997
1003
|
| "agent.toolPolicy"
|
|
1004
|
+
| "agent.stop"
|
|
998
1005
|
| "agent.read"
|
|
999
1006
|
| "agent.send"
|
|
1000
1007
|
| "llm.generation"
|
|
@@ -1034,6 +1041,7 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
1034
1041
|
| "agent.avatar"
|
|
1035
1042
|
| "agent.instructions"
|
|
1036
1043
|
| "agent.toolPolicy"
|
|
1044
|
+
| "agent.stop"
|
|
1037
1045
|
| "agent.read"
|
|
1038
1046
|
| "agent.send"
|
|
1039
1047
|
| "llm.generation"
|
|
@@ -1170,6 +1178,7 @@ const approvedGrantSchema: ZodReadonly<ZodObject<{
|
|
|
1170
1178
|
| "agent.avatar"
|
|
1171
1179
|
| "agent.instructions"
|
|
1172
1180
|
| "agent.toolPolicy"
|
|
1181
|
+
| "agent.stop"
|
|
1173
1182
|
| "agent.read"
|
|
1174
1183
|
| "agent.send"
|
|
1175
1184
|
| "llm.generation"
|
|
@@ -1233,6 +1242,7 @@ const grantChangeSchema: ZodReadonly<ZodObject<{
|
|
|
1233
1242
|
| "agent.avatar"
|
|
1234
1243
|
| "agent.instructions"
|
|
1235
1244
|
| "agent.toolPolicy"
|
|
1245
|
+
| "agent.stop"
|
|
1236
1246
|
| "agent.read"
|
|
1237
1247
|
| "agent.send"
|
|
1238
1248
|
| "llm.generation"
|
|
@@ -1302,6 +1312,7 @@ const appAuthoritySchema: ZodObject<{
|
|
|
1302
1312
|
| ...
|
|
1303
1313
|
| ...
|
|
1304
1314
|
| ...
|
|
1315
|
+
| ...
|
|
1305
1316
|
| ..., unknown>>;
|
|
1306
1317
|
capabilityApproved: ZodLiteral<true>;
|
|
1307
1318
|
operations: ZodLazy<ZodReadonly<ZodArray<...>>>;
|
|
@@ -1390,6 +1401,7 @@ const declaredOperationsSchema: ZodLazy<ZodObject<{
|
|
|
1390
1401
|
| ...
|
|
1391
1402
|
| ...
|
|
1392
1403
|
| ...
|
|
1404
|
+
| ...
|
|
1393
1405
|
| ..., unknown>>;
|
|
1394
1406
|
operations: ZodLazy<ZodReadonly<ZodArray<...>>>;
|
|
1395
1407
|
fingerprints: ZodLazy<ZodReadonly<ZodRecord<..., ...>>>;
|
|
@@ -1710,6 +1722,7 @@ function grantsFor(
|
|
|
1710
1722
|
| "agent.avatar"
|
|
1711
1723
|
| "agent.instructions"
|
|
1712
1724
|
| "agent.toolPolicy"
|
|
1725
|
+
| "agent.stop"
|
|
1713
1726
|
| "agent.read"
|
|
1714
1727
|
| "agent.send"
|
|
1715
1728
|
| "llm.generation"
|
|
@@ -1748,13 +1761,13 @@ resource selectors.
|
|
|
1748
1761
|
|
|
1749
1762
|
#### Parameters
|
|
1750
1763
|
|
|
1751
|
-
| Parameter | Type
|
|
1752
|
-
| -------------- |
|
|
1753
|
-
| `installation` | `Pick`\<[`GateFacts`](#gatefacts)\[`"installation"`\], `"status"` \| `"authority"` \| `"artifactDigest"`\>
|
|
1754
|
-
| `declaration` | `AppDeclaration`
|
|
1755
|
-
| `snapshot` | [`DeclaredOperations`](#declaredoperations)
|
|
1756
|
-
| `capability` | \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"` | `undefined` |
|
|
1757
|
-
| `resource` | \| `"any"` \| `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>
|
|
1764
|
+
| Parameter | Type | Default value |
|
|
1765
|
+
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
|
1766
|
+
| `installation` | `Pick`\<[`GateFacts`](#gatefacts)\[`"installation"`\], `"status"` \| `"authority"` \| `"artifactDigest"`\> | `undefined` |
|
|
1767
|
+
| `declaration` | `AppDeclaration` | `undefined` |
|
|
1768
|
+
| `snapshot` | [`DeclaredOperations`](#declaredoperations) | `undefined` |
|
|
1769
|
+
| `capability` | \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"` | `undefined` |
|
|
1770
|
+
| `resource` | \| `"any"` \| `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\> | `"any"` |
|
|
1758
1771
|
|
|
1759
1772
|
#### Returns
|
|
1760
1773
|
|
|
@@ -1762,16 +1775,16 @@ resource selectors.
|
|
|
1762
1775
|
`"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
1763
1776
|
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
1764
1777
|
`"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \|
|
|
1765
|
-
`"agent.
|
|
1766
|
-
|
|
1767
|
-
\| `"apps.
|
|
1768
|
-
`"
|
|
1769
|
-
`"
|
|
1770
|
-
`"
|
|
1771
|
-
`
|
|
1772
|
-
`
|
|
1773
|
-
|
|
1774
|
-
`null`
|
|
1778
|
+
`"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \|
|
|
1779
|
+
`"media.generation"` \| `"media.share"` \| `"games:servers"` \|
|
|
1780
|
+
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
1781
|
+
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
1782
|
+
`"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \|
|
|
1783
|
+
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
1784
|
+
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
1785
|
+
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
1786
|
+
`string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{
|
|
1787
|
+
`kind`: `string`; `id`: `string`; \}\>[]; \}\>\> \| `null`
|
|
1775
1788
|
|
|
1776
1789
|
---
|
|
1777
1790
|
|
|
@@ -1814,11 +1827,11 @@ resource authority.
|
|
|
1814
1827
|
|
|
1815
1828
|
#### Parameters
|
|
1816
1829
|
|
|
1817
|
-
| Parameter | Type
|
|
1818
|
-
| ---------- |
|
|
1819
|
-
| `captured` | readonly `object`[]
|
|
1820
|
-
| `method?` | `Readonly`\<\{ `description`: `string`; `input`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| AppApiJsonObject \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \}; \}; `output`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| AppApiJsonObject \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \}; \}; `effect`: `"read"` \| `"write"` \| `"external"`; `requires`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; `pending?`: `true`; `hidden?`: `true`; `present?`: `Readonly`\<\{ `verb`: `string`; \}\>; \}\> | `undefined` |
|
|
1821
|
-
| `ceiling?` | `"read"` \| `"write"`
|
|
1830
|
+
| Parameter | Type | Default value |
|
|
1831
|
+
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
|
1832
|
+
| `captured` | readonly `object`[] | `undefined` |
|
|
1833
|
+
| `method?` | `Readonly`\<\{ `description`: `string`; `input`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| AppApiJsonObject \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \}; \}; `output`: \{ \[`key`: `string`\]: \| `null` \| `string` \| `number` \| `false` \| `true` \| AppApiJsonObject \| \{ \[`index`: `number`\]: AppApiJsonValue; `length`: `number`; \}; \}; `effect`: `"read"` \| `"write"` \| `"external"`; `requires`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; `pending?`: `true`; `hidden?`: `true`; `present?`: `Readonly`\<\{ `verb`: `string`; \}\>; \}\> | `undefined` |
|
|
1834
|
+
| `ceiling?` | `"read"` \| `"write"` | `"write"` |
|
|
1822
1835
|
|
|
1823
1836
|
#### Returns
|
|
1824
1837
|
|
|
@@ -1883,10 +1896,10 @@ stay outside this pure gate.
|
|
|
1883
1896
|
|
|
1884
1897
|
#### Parameters
|
|
1885
1898
|
|
|
1886
|
-
| Parameter | Type
|
|
1887
|
-
| ------------ |
|
|
1888
|
-
| `facts` | [`GateFacts`](#gatefacts)
|
|
1889
|
-
| `rawRequest` | \| \{ `kind`: `"method"`; `name`: `string`; `input`: `unknown`; `via`: `"ui"` \| `"agent"` \| `"mcp"` \| `"workflow"`; `resource?`: `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>; \} \| \{ `kind`: `"capability"`; `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operation?`: `string`; `resource`: \| `"any"` \| `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>; \} \| \{ `kind`: `"capability-route"`; `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operation`: `string`; `effect`: `"read"` \| `"write"`; \} \| \{ `kind`: `"binding"`; `binding`: \| `"BACKGROUND"` \| `"GIT"` \| `"EVENTS"` \| `"APPS"` \| `"WORKFLOWS"` \| `"APP_STORAGE"` \| `"MEDIA"` \| `"COMPUTER"` \| `"INBOX"` \| `"AGENTS"`; `operation`: `string`; \} \| \{ `kind`: `"list-tools"`; \} \| \{ `kind`: `"backend"`; \} \| \{ `kind`: `"background"`; \} |
|
|
1899
|
+
| Parameter | Type |
|
|
1900
|
+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1901
|
+
| `facts` | [`GateFacts`](#gatefacts) |
|
|
1902
|
+
| `rawRequest` | \| \{ `kind`: `"method"`; `name`: `string`; `input`: `unknown`; `via`: `"ui"` \| `"agent"` \| `"mcp"` \| `"workflow"`; `resource?`: `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>; \} \| \{ `kind`: `"capability"`; `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operation?`: `string`; `resource`: \| `"any"` \| `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>; \} \| \{ `kind`: `"capability-route"`; `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operation`: `string`; `effect`: `"read"` \| `"write"`; \} \| \{ `kind`: `"binding"`; `binding`: \| `"BACKGROUND"` \| `"GIT"` \| `"EVENTS"` \| `"APPS"` \| `"WORKFLOWS"` \| `"APP_STORAGE"` \| `"MEDIA"` \| `"COMPUTER"` \| `"INBOX"` \| `"AGENTS"`; `operation`: `string`; \} \| \{ `kind`: `"list-tools"`; \} \| \{ `kind`: `"backend"`; \} \| \{ `kind`: `"background"`; \} |
|
|
1890
1903
|
|
|
1891
1904
|
#### Returns
|
|
1892
1905
|
|
|
@@ -1904,10 +1917,10 @@ Merge any number of Apps into one combined, once-per-permission list.
|
|
|
1904
1917
|
|
|
1905
1918
|
#### Parameters
|
|
1906
1919
|
|
|
1907
|
-
| Parameter | Type
|
|
1908
|
-
| --------- |
|
|
1909
|
-
| `role` | `"member"` \| `"owner"` \| `"admin"` \| `null`
|
|
1910
|
-
| `apps` | readonly `Readonly`\<\{ `name`: `string`; `capabilities`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; \}\>[] |
|
|
1920
|
+
| Parameter | Type |
|
|
1921
|
+
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1922
|
+
| `role` | `"member"` \| `"owner"` \| `"admin"` \| `null` |
|
|
1923
|
+
| `apps` | readonly `Readonly`\<\{ `name`: `string`; `capabilities`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`)[]; \}\>[] |
|
|
1911
1924
|
|
|
1912
1925
|
#### Returns
|
|
1913
1926
|
|
|
@@ -1939,6 +1952,7 @@ function applyGrantCommand(
|
|
|
1939
1952
|
| "agent.avatar"
|
|
1940
1953
|
| "agent.instructions"
|
|
1941
1954
|
| "agent.toolPolicy"
|
|
1955
|
+
| "agent.stop"
|
|
1942
1956
|
| "agent.read"
|
|
1943
1957
|
| "agent.send"
|
|
1944
1958
|
| "llm.generation"
|
|
@@ -1999,11 +2013,11 @@ One host-independent approval policy; selection only intersects existing grants.
|
|
|
1999
2013
|
|
|
2000
2014
|
#### Parameters
|
|
2001
2015
|
|
|
2002
|
-
| Parameter | Type
|
|
2003
|
-
| ------------ |
|
|
2004
|
-
| `current` | \| \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \} \| `null` |
|
|
2005
|
-
| `rawCommand` | \| \{ `kind`: `"install"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\> \| `null`; \}\>[]; \} \| \{ `kind`: `"select-release"`; \} \| \{ `kind`: `"delete"`; \} |
|
|
2006
|
-
| `context` | [`GrantContext`](#grantcontext)
|
|
2016
|
+
| Parameter | Type |
|
|
2017
|
+
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2018
|
+
| `current` | \| \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \} \| `null` |
|
|
2019
|
+
| `rawCommand` | \| \{ `kind`: `"install"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\> \| `null`; \}\>[]; \} \| \{ `kind`: `"select-release"`; \} \| \{ `kind`: `"delete"`; \} |
|
|
2020
|
+
| `context` | [`GrantContext`](#grantcontext) |
|
|
2007
2021
|
|
|
2008
2022
|
#### Returns
|
|
2009
2023
|
|
|
@@ -2012,12 +2026,12 @@ One host-independent approval policy; selection only intersects existing grants.
|
|
|
2012
2026
|
`"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \|
|
|
2013
2027
|
`"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \|
|
|
2014
2028
|
`"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \|
|
|
2015
|
-
`"agent.toolPolicy"` \| `"agent.
|
|
2016
|
-
|
|
2017
|
-
`"
|
|
2018
|
-
`"app.
|
|
2019
|
-
`"marketplace.
|
|
2020
|
-
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2029
|
+
`"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \|
|
|
2030
|
+
`"llm.generation"` \| `"media.generation"` \| `"media.share"` \|
|
|
2031
|
+
`"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \|
|
|
2032
|
+
`"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \|
|
|
2033
|
+
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
2034
|
+
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2021
2035
|
`"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`:
|
|
2022
2036
|
readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`,
|
|
2023
2037
|
`string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{
|
|
@@ -2059,11 +2073,11 @@ Pure transition; hosts retain transactions, receipts, epochs and delivery.
|
|
|
2059
2073
|
|
|
2060
2074
|
#### Parameters
|
|
2061
2075
|
|
|
2062
|
-
| Parameter | Type
|
|
2063
|
-
| ------------ |
|
|
2064
|
-
| `current` | \| `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\> \| `null` |
|
|
2065
|
-
| `rawCommand` | \| \{ `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `kind`: `"install"`; \} \| \{ `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `kind`: `"select-release"`; \} \| \{ `kind`: `"set-status"`; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\> \| `null`; \}\>[]; \} |
|
|
2066
|
-
| `context` | [`InstallationContext`](#installationcontext)
|
|
2076
|
+
| Parameter | Type |
|
|
2077
|
+
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2078
|
+
| `current` | \| `Readonly`\<\{ `installationId`: `string`; `instanceId`: [`InstanceId`](index.md#instanceid) \| `null`; `appId`: `AppId`; `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \}\> \| `null` |
|
|
2079
|
+
| `rawCommand` | \| \{ `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `kind`: `"install"`; \} \| \{ `release`: \{ `releaseId`: `ReleaseId`; `appId`: `AppId`; `artifact`: \{ `artifactRef`: `ArtifactRef`; `artifactDigest`: `Sha256Digest`; `provenance`: \{ `sourceRevision`: `SourceRevision`; `sourceTreeDigest`: `Sha256Digest`; `buildRecipeDigest`: `Sha256Digest`; \}; \}; \}; `releasePin`: `"pinned"` \| `"floating"`; `kind`: `"select-release"`; \} \| \{ `kind`: `"set-status"`; `status`: `"enabled"` \| `"disabled"` \| `"deleted"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly `string`[]; `resources`: `"tenant-scope"` \| readonly `Readonly`\<...\>[]; \}\> \| `null`; \}\>[]; \} |
|
|
2080
|
+
| `context` | [`InstallationContext`](#installationcontext) |
|
|
2067
2081
|
|
|
2068
2082
|
#### Returns
|
|
2069
2083
|
|
|
@@ -2120,6 +2134,7 @@ function deriveDeclaredOperations(
|
|
|
2120
2134
|
| "agent.avatar"
|
|
2121
2135
|
| "agent.instructions"
|
|
2122
2136
|
| "agent.toolPolicy"
|
|
2137
|
+
| "agent.stop"
|
|
2123
2138
|
| "agent.read"
|
|
2124
2139
|
| "agent.send"
|
|
2125
2140
|
| "llm.generation"
|
|
@@ -2174,12 +2189,12 @@ host adapters.
|
|
|
2174
2189
|
`"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \|
|
|
2175
2190
|
`"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \|
|
|
2176
2191
|
`"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \|
|
|
2177
|
-
`"agent.toolPolicy"` \| `"agent.
|
|
2178
|
-
|
|
2179
|
-
`"
|
|
2180
|
-
`"app.
|
|
2181
|
-
`"marketplace.
|
|
2182
|
-
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2192
|
+
`"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \|
|
|
2193
|
+
`"llm.generation"` \| `"media.generation"` \| `"media.share"` \|
|
|
2194
|
+
`"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \|
|
|
2195
|
+
`"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \|
|
|
2196
|
+
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
2197
|
+
`"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2183
2198
|
`"channels.personal.manage"`; `operations`: readonly `string`[]; `fingerprints`:
|
|
2184
2199
|
`Readonly`\<`Record`\<`string`, `string`\>\>; \}\>[]; \}\>\>
|
|
2185
2200
|
|
|
@@ -2204,6 +2219,7 @@ function pendingCapabilities(
|
|
|
2204
2219
|
| "agent.avatar"
|
|
2205
2220
|
| "agent.instructions"
|
|
2206
2221
|
| "agent.toolPolicy"
|
|
2222
|
+
| "agent.stop"
|
|
2207
2223
|
| "agent.read"
|
|
2208
2224
|
| "agent.send"
|
|
2209
2225
|
| "llm.generation"
|
|
@@ -2233,25 +2249,25 @@ operation is absent from them exactly as a new one is.
|
|
|
2233
2249
|
|
|
2234
2250
|
#### Parameters
|
|
2235
2251
|
|
|
2236
|
-
| Parameter | Type
|
|
2237
|
-
| -------------------------- |
|
|
2238
|
-
| `authority` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2239
|
-
| `authority.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2240
|
-
| `declaration` | `Pick`\<`AppDeclaration`, `"capabilities"`\>
|
|
2241
|
-
| `declaredOperations` | [`DeclaredOperations`](#declaredoperations)
|
|
2252
|
+
| Parameter | Type |
|
|
2253
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2254
|
+
| `authority` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2255
|
+
| `authority.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2256
|
+
| `declaration` | `Pick`\<`AppDeclaration`, `"capabilities"`\> |
|
|
2257
|
+
| `declaredOperations` | [`DeclaredOperations`](#declaredoperations) |
|
|
2242
2258
|
|
|
2243
2259
|
#### Returns
|
|
2244
2260
|
|
|
2245
2261
|
readonly ( \| `"computer.list"` \| `"computer.readFile"` \|
|
|
2246
2262
|
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
2247
2263
|
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
2248
|
-
`"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.
|
|
2249
|
-
`"agent.
|
|
2250
|
-
\| `"
|
|
2251
|
-
`"
|
|
2252
|
-
`"
|
|
2253
|
-
`"workflow.
|
|
2254
|
-
`"channels.personal.manage"`)[]
|
|
2264
|
+
`"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \|
|
|
2265
|
+
`"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"`
|
|
2266
|
+
\| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"`
|
|
2267
|
+
\| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
2268
|
+
`"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \|
|
|
2269
|
+
`"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \|
|
|
2270
|
+
`"channels.read"` \| `"channels.personal.manage"`)[]
|
|
2255
2271
|
|
|
2256
2272
|
---
|
|
2257
2273
|
|
|
@@ -2270,16 +2286,16 @@ Bound the real SDK request; an Allow never silently widens selected resources.
|
|
|
2270
2286
|
|
|
2271
2287
|
#### Parameters
|
|
2272
2288
|
|
|
2273
|
-
| Parameter | Type
|
|
2274
|
-
| ------------------------------------ |
|
|
2275
|
-
| `authority` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \} |
|
|
2276
|
-
| `authority.authorityVersion` | `number`
|
|
2277
|
-
| `authority.declaredOperationsDigest` | `Sha256Digest`
|
|
2278
|
-
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2279
|
-
| `authority.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`
|
|
2280
|
-
| `facts` | `Readonly`\<\{ `declaration`: `Pick`\<`AppDeclaration`, `"capabilities"`\>; `declaredOperations`: [`DeclaredOperations`](#declaredoperations); \}\>
|
|
2281
|
-
| `request` | `AppPermissionRequest`
|
|
2282
|
-
| `window` | `Readonly`\<\{ `computerId`: `string` \| `null`; \}\>
|
|
2289
|
+
| Parameter | Type |
|
|
2290
|
+
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2291
|
+
| `authority` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \} |
|
|
2292
|
+
| `authority.authorityVersion` | `number` |
|
|
2293
|
+
| `authority.declaredOperationsDigest` | `Sha256Digest` |
|
|
2294
|
+
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2295
|
+
| `authority.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2296
|
+
| `facts` | `Readonly`\<\{ `declaration`: `Pick`\<`AppDeclaration`, `"capabilities"`\>; `declaredOperations`: [`DeclaredOperations`](#declaredoperations); \}\> |
|
|
2297
|
+
| `request` | `AppPermissionRequest` |
|
|
2298
|
+
| `window` | `Readonly`\<\{ `computerId`: `string` \| `null`; \}\> |
|
|
2283
2299
|
|
|
2284
2300
|
#### Returns
|
|
2285
2301
|
|
|
@@ -2298,10 +2314,10 @@ rows.
|
|
|
2298
2314
|
|
|
2299
2315
|
#### Parameters
|
|
2300
2316
|
|
|
2301
|
-
| Parameter | Type
|
|
2302
|
-
| -------------------------- |
|
|
2303
|
-
| `authority` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2304
|
-
| `authority.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2317
|
+
| Parameter | Type |
|
|
2318
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2319
|
+
| `authority` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2320
|
+
| `authority.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2305
2321
|
|
|
2306
2322
|
#### Returns
|
|
2307
2323
|
|
|
@@ -2351,6 +2367,7 @@ function planGrantChange(
|
|
|
2351
2367
|
| "agent.avatar"
|
|
2352
2368
|
| "agent.instructions"
|
|
2353
2369
|
| "agent.toolPolicy"
|
|
2370
|
+
| "agent.stop"
|
|
2354
2371
|
| "agent.read"
|
|
2355
2372
|
| "agent.send"
|
|
2356
2373
|
| "llm.generation"
|
|
@@ -2387,11 +2404,11 @@ Only touched capability rows cross the save boundary.
|
|
|
2387
2404
|
|
|
2388
2405
|
#### Parameters
|
|
2389
2406
|
|
|
2390
|
-
| Parameter | Type
|
|
2391
|
-
| ------------------------- |
|
|
2392
|
-
| `baseline` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2393
|
-
| `baseline.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2394
|
-
| `draft` | [`PermissionDraft`](#permissiondraft)
|
|
2407
|
+
| Parameter | Type |
|
|
2408
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2409
|
+
| `baseline` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2410
|
+
| `baseline.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2411
|
+
| `draft` | [`PermissionDraft`](#permissiondraft) |
|
|
2395
2412
|
|
|
2396
2413
|
#### Returns
|
|
2397
2414
|
|
|
@@ -2399,14 +2416,15 @@ readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \|
|
|
|
2399
2416
|
`"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
2400
2417
|
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
2401
2418
|
`"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \|
|
|
2402
|
-
`"agent.
|
|
2403
|
-
|
|
2404
|
-
\| `"apps.
|
|
2405
|
-
`"
|
|
2406
|
-
`"
|
|
2407
|
-
`"
|
|
2408
|
-
`
|
|
2409
|
-
`
|
|
2419
|
+
`"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \|
|
|
2420
|
+
`"media.generation"` \| `"media.share"` \| `"games:servers"` \|
|
|
2421
|
+
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
2422
|
+
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
2423
|
+
`"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \|
|
|
2424
|
+
`"workflow.arm"` \| `"world"` \| `"channels.read"` \|
|
|
2425
|
+
`"channels.personal.manage"`; `grant`: \| `Readonly`\<\{ `operations`: readonly
|
|
2426
|
+
`string`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`:
|
|
2427
|
+
`string`; `id`: `string`; \}\>[]; \}\> \| `null`; \}\>[]
|
|
2410
2428
|
|
|
2411
2429
|
---
|
|
2412
2430
|
|
|
@@ -2421,13 +2439,13 @@ capabilities.
|
|
|
2421
2439
|
|
|
2422
2440
|
#### Parameters
|
|
2423
2441
|
|
|
2424
|
-
| Parameter | Type
|
|
2425
|
-
| ------------------------- |
|
|
2426
|
-
| `draft` | [`PermissionDraft`](#permissiondraft)
|
|
2427
|
-
| `baseline` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2428
|
-
| `baseline.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2429
|
-
| `current` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2430
|
-
| `current.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2442
|
+
| Parameter | Type |
|
|
2443
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2444
|
+
| `draft` | [`PermissionDraft`](#permissiondraft) |
|
|
2445
|
+
| `baseline` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2446
|
+
| `baseline.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2447
|
+
| `current` | \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \} |
|
|
2448
|
+
| `current.approvedGrants` | readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[] |
|
|
2431
2449
|
|
|
2432
2450
|
#### Returns
|
|
2433
2451
|
|
|
@@ -2446,9 +2464,9 @@ longer listed by the host.
|
|
|
2446
2464
|
|
|
2447
2465
|
#### Parameters
|
|
2448
2466
|
|
|
2449
|
-
| Parameter | Type
|
|
2450
|
-
| --------- |
|
|
2451
|
-
| `input` | `Omit`\<\{ `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `declaredOperations`: \{ `artifactDigest`: `Sha256Digest`; `digest`: `Sha256Digest`; `capabilities`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; \}\>[]; \}; \}, `"authority"`\> & `Readonly`\<\{ `authority`: \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<..., ...\>\>; `resources`: `"tenant-scope"` \| readonly ...[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \}; `resources`: readonly [`ResourceOption`](#resourceoption)[]; `canEdit`: `boolean`; \}\> |
|
|
2467
|
+
| Parameter | Type |
|
|
2468
|
+
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2469
|
+
| `input` | `Omit`\<\{ `authority`: \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: ...; `id`: ...; \}\>[]; \}\>[]; `approval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}; `declaredOperations`: \{ `artifactDigest`: `Sha256Digest`; `digest`: `Sha256Digest`; `capabilities`: readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<`string`, `string`\>\>; \}\>[]; \}; \}, `"authority"`\> & `Readonly`\<\{ `authority`: \{ `approvedGrants`: readonly `Pick`\<`Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.instructions"` \| `"agent.toolPolicy"` \| `"agent.stop"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"media.share"` \| `"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \| `"channels.read"` \| `"channels.personal.manage"`; `capabilityApproved`: `true`; `operations`: readonly `string`[]; `fingerprints`: `Readonly`\<`Record`\<..., ...\>\>; `resources`: `"tenant-scope"` \| readonly ...[]; \}\>\>, `"operations"` \| `"capability"` \| `"resources"`\>[]; \}; `resources`: readonly [`ResourceOption`](#resourceoption)[]; `canEdit`: `boolean`; \}\> |
|
|
2452
2470
|
|
|
2453
2471
|
#### Returns
|
|
2454
2472
|
|