@fungi.computer/oyster 0.3.2 → 0.4.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/agent-computer-source.d.ts +42 -0
- package/dist/agent-computer-source.js +88 -0
- package/dist/agent-computers.d.ts +104 -0
- package/dist/agent-computers.js +227 -0
- package/dist/agents.d.ts +10 -0
- package/dist/agents.js +33 -0
- package/dist/browser/boot.d.ts +2 -2
- package/dist/browser/boot.js +10 -3
- package/dist/browser/browser.d.ts +1 -1
- package/dist/browser/browser.js +2 -1
- package/dist/browser/cdp-client.d.ts +2 -0
- package/dist/browser/errors.d.ts +2 -2
- package/dist/browser/errors.js +2 -2
- package/dist/browser/index.d.ts +3 -2
- package/dist/browser/index.js +3 -2
- package/dist/browser/page.js +11 -4
- package/dist/browser/sessions.d.ts +7 -4
- package/dist/browser/sessions.js +159 -0
- package/dist/browser/url-policy.d.ts +4 -2
- package/dist/browser/url-policy.js +4 -2
- package/dist/computer-control-port.d.ts +26 -0
- package/dist/computer-control-port.js +1 -0
- package/dist/host.d.ts +3 -0
- package/dist/machine-link/delivery.d.ts +1 -1
- package/dist/machine-link/delivery.js +2 -3
- package/dist/machine-link/host.d.ts +37 -6
- package/dist/machine-link/host.js +209 -14
- package/dist/machine-link/link.d.ts +13 -1
- package/dist/machine-link/link.js +20 -7
- package/dist/mcp.d.ts +144 -10
- package/dist/mcp.js +130 -13
- package/dist/page/computer-handles.d.ts +3 -3
- package/dist/page-script.js +1 -1
- package/dist/standalone/agent-computers.d.ts +29 -0
- package/dist/standalone/agent-computers.js +101 -0
- package/dist/standalone/agent-mail.d.ts +41 -18
- package/dist/standalone/agent-model-choice.d.ts +26 -0
- package/dist/standalone/agent-model-choice.js +72 -0
- package/dist/standalone/agents.d.ts +44 -4
- package/dist/standalone/agents.js +502 -46
- package/dist/standalone/computer-control.d.ts +4 -0
- package/dist/standalone/computer-control.js +62 -0
- package/dist/standalone/computer-fleet.d.ts +1 -0
- package/dist/standalone/computer-fleet.js +1 -1
- package/dist/standalone/computer.d.ts +21 -2
- package/dist/standalone/computer.js +12 -0
- package/dist/standalone/machine-link.d.ts +10 -0
- package/dist/standalone/machine-link.js +6 -0
- package/dist/standalone/registry.d.ts +9 -0
- package/dist/standalone/registry.js +9 -0
- package/dist/standalone/worker.js +12 -0
- package/dist/standalone/workflow-binding.d.ts +2 -2
- package/dist/standalone/workflow-host.d.ts +11 -11
- package/dist/standalone/workflows.d.ts +22 -22
- package/dist/storage-frame.d.ts +3 -3
- package/dist/workers-git.d.ts +2 -0
- package/dist/workers-git.js +2 -0
- package/dist/workers.d.ts +8 -8
- package/docs/api/agents.md +66 -0
- package/docs/api/apps.md +104 -104
- package/docs/api/build-contract.md +35 -35
- package/docs/api/build.md +12 -12
- package/docs/api/host.md +61 -61
- package/docs/api/mcp.md +127 -13
- package/docs/api/root-data.md +1 -1
- package/docs/api/tenancy.md +1 -1
- package/docs/api/workers-git.md +3 -2
- package/docs/api/workers.md +81 -83
- package/package.json +25 -17
package/docs/api/apps.md
CHANGED
|
@@ -733,35 +733,35 @@ Every capability selects one consent class and one resource grammar.
|
|
|
733
733
|
|
|
734
734
|
| Name | Type |
|
|
735
735
|
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
736
|
-
| <a id="property-approvals"></a> `approvals` | `Readonly`\<\{ `group`: \| `"
|
|
737
|
-
| <a id="property-agentlist"></a> `agent.list` | `Readonly`\<\{ `group`: \| `"
|
|
738
|
-
| <a id="property-agentmanage"></a> `agent.manage` | `Readonly`\<\{ `group`: \| `"
|
|
739
|
-
| <a id="property-agentrename"></a> `agent.rename` | `Readonly`\<\{ `group`: \| `"
|
|
740
|
-
| <a id="property-agentavatar"></a> `agent.avatar` | `Readonly`\<\{ `group`: \| `"
|
|
741
|
-
| <a id="property-agenttoolpolicy"></a> `agent.toolPolicy` | `Readonly`\<\{ `group`: \| `"
|
|
742
|
-
| <a id="property-agentread"></a> `agent.read` | `Readonly`\<\{ `group`: \| `"
|
|
743
|
-
| <a id="property-agentsend"></a> `agent.send` | `Readonly`\<\{ `group`: \| `"
|
|
744
|
-
| <a id="property-computerlist"></a> `computer.list` | `Readonly`\<\{ `group`: \| `"
|
|
745
|
-
| <a id="property-computerreadfile"></a> `computer.readFile` | `Readonly`\<\{ `group`: \| `"
|
|
746
|
-
| <a id="property-computerwritefile"></a> `computer.writeFile` | `Readonly`\<\{ `group`: \| `"
|
|
747
|
-
| <a id="property-computerexecute"></a> `computer.execute` | `Readonly`\<\{ `group`: \| `"
|
|
748
|
-
| <a id="property-llmgeneration"></a> `llm.generation` | `Readonly`\<\{ `group`: \| `"
|
|
749
|
-
| <a id="property-mediageneration"></a> `media.generation` | `Readonly`\<\{ `group`: \| `"
|
|
750
|
-
| <a id="property-gamesservers"></a> `games:servers` | `Readonly`\<\{ `group`: \| `"
|
|
751
|
-
| <a id="property-gitrepository"></a> `git.repository` | `Readonly`\<\{ `group`: \| `"
|
|
752
|
-
| <a id="property-appsopen"></a> `apps.open` | `Readonly`\<\{ `group`: \| `"
|
|
753
|
-
| <a id="property-appscall"></a> `apps.call` | `Readonly`\<\{ `group`: \| `"
|
|
754
|
-
| <a id="property-appstorage"></a> `app.storage` | `Readonly`\<\{ `group`: \| `"
|
|
755
|
-
| <a id="property-appeventsemit"></a> `app.events.emit` | `Readonly`\<\{ `group`: \| `"
|
|
756
|
-
| <a id="property-teamworkbenchhost"></a> `team.workbenchHost` | `Readonly`\<\{ `group`: \| `"
|
|
757
|
-
| <a id="property-marketplacebrowse"></a> `marketplace.browse` | `Readonly`\<\{ `group`: \| `"
|
|
758
|
-
| <a id="property-marketplacepurchase"></a> `marketplace.purchase` | `Readonly`\<\{ `group`: \| `"
|
|
759
|
-
| <a id="property-workflowrun"></a> `workflow.run` | `Readonly`\<\{ `group`: \| `"
|
|
760
|
-
| <a id="property-workflowpublish"></a> `workflow.publish` | `Readonly`\<\{ `group`: \| `"
|
|
761
|
-
| <a id="property-workflowarm"></a> `workflow.arm` | `Readonly`\<\{ `group`: \| `"
|
|
762
|
-
| <a id="property-world"></a> `world` | `Readonly`\<\{ `group`: \| `"
|
|
763
|
-
| <a id="property-channelsread"></a> `channels.read` | `Readonly`\<\{ `group`: \| `"
|
|
764
|
-
| <a id="property-channelspersonalmanage"></a> `channels.personal.manage` | `Readonly`\<\{ `group`: \| `"
|
|
736
|
+
| <a id="property-approvals"></a> `approvals` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
737
|
+
| <a id="property-agentlist"></a> `agent.list` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
738
|
+
| <a id="property-agentmanage"></a> `agent.manage` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
739
|
+
| <a id="property-agentrename"></a> `agent.rename` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
740
|
+
| <a id="property-agentavatar"></a> `agent.avatar` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
741
|
+
| <a id="property-agenttoolpolicy"></a> `agent.toolPolicy` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
742
|
+
| <a id="property-agentread"></a> `agent.read` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
743
|
+
| <a id="property-agentsend"></a> `agent.send` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
744
|
+
| <a id="property-computerlist"></a> `computer.list` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
745
|
+
| <a id="property-computerreadfile"></a> `computer.readFile` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
746
|
+
| <a id="property-computerwritefile"></a> `computer.writeFile` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
747
|
+
| <a id="property-computerexecute"></a> `computer.execute` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
748
|
+
| <a id="property-llmgeneration"></a> `llm.generation` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
749
|
+
| <a id="property-mediageneration"></a> `media.generation` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
750
|
+
| <a id="property-gamesservers"></a> `games:servers` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
751
|
+
| <a id="property-gitrepository"></a> `git.repository` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
752
|
+
| <a id="property-appsopen"></a> `apps.open` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
753
|
+
| <a id="property-appscall"></a> `apps.call` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
754
|
+
| <a id="property-appstorage"></a> `app.storage` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
755
|
+
| <a id="property-appeventsemit"></a> `app.events.emit` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
756
|
+
| <a id="property-teamworkbenchhost"></a> `team.workbenchHost` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
757
|
+
| <a id="property-marketplacebrowse"></a> `marketplace.browse` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
758
|
+
| <a id="property-marketplacepurchase"></a> `marketplace.purchase` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
759
|
+
| <a id="property-workflowrun"></a> `workflow.run` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
760
|
+
| <a id="property-workflowpublish"></a> `workflow.publish` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
761
|
+
| <a id="property-workflowarm"></a> `workflow.arm` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
762
|
+
| <a id="property-world"></a> `world` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
763
|
+
| <a id="property-channelsread"></a> `channels.read` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
764
|
+
| <a id="property-channelspersonalmanage"></a> `channels.personal.manage` | `Readonly`\<\{ `group`: \| `"computers"` \| `"agents"` \| `"generation"` \| `"other"` \| `"apps"` \| `"workflows"` \| `"git"` \| `"bazaar"` \| `"data"` \| `"channels"` \| `"shell"`; `label`: `string`; `caption`: `string`; `description`: `string`; `sigil`: \| `"error"` \| `"read"` \| `"write"` \| `"computer"` \| `"list"` \| `"run"` \| `"agent"` \| `"schedule"` \| `"search"` \| `"complete"` \| `"oyster"` \| `"bonsai"` \| `"prints"` \| `"inkcap"` \| `"vishnu"` \| `"generateText"` \| `"generateMedia"` \| `"buyApps"` \| `"browseBazaar"` \| `"chat"` \| `"readConversations"` \| `"listAgents"` \| `"createAgents"` \| `"sendPrompts"` \| `"connected"` \| `"working"` \| `"installApps"` \| `"restricted"` \| `"trellis"` \| `"games"` \| `"tourtois"` \| `"allApps"` \| `"browser"` \| `"internet"` \| `"members"` \| `"sell"` \| `"fungi"`; `consent`: `"affordance"` \| `"install"` \| `"ask"`; `scope`: `"computer"` \| `"agent"` \| `null`; `warning`: `string` \| `null`; \}\> |
|
|
765
765
|
|
|
766
766
|
---
|
|
767
767
|
|
|
@@ -773,9 +773,9 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
773
773
|
name: ZodString;
|
|
774
774
|
input: ZodUnknown;
|
|
775
775
|
via: ZodEnum<{
|
|
776
|
+
ui: "ui";
|
|
776
777
|
agent: "agent";
|
|
777
778
|
mcp: "mcp";
|
|
778
|
-
ui: "ui";
|
|
779
779
|
workflow: "workflow";
|
|
780
780
|
}>;
|
|
781
781
|
resource: ZodOptional<ZodLazy<ZodReadonly<ZodObject<{
|
|
@@ -785,6 +785,10 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
785
785
|
}, $strict>, ZodObject<{
|
|
786
786
|
kind: ZodLiteral<"capability">;
|
|
787
787
|
capability: ZodPipe<ZodUnknown, ZodTransform<
|
|
788
|
+
| "computer.list"
|
|
789
|
+
| "computer.readFile"
|
|
790
|
+
| "computer.writeFile"
|
|
791
|
+
| "computer.execute"
|
|
788
792
|
| "approvals"
|
|
789
793
|
| "agent.list"
|
|
790
794
|
| "agent.manage"
|
|
@@ -793,10 +797,6 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
793
797
|
| "agent.toolPolicy"
|
|
794
798
|
| "agent.read"
|
|
795
799
|
| "agent.send"
|
|
796
|
-
| "computer.list"
|
|
797
|
-
| "computer.readFile"
|
|
798
|
-
| "computer.writeFile"
|
|
799
|
-
| "computer.execute"
|
|
800
800
|
| "llm.generation"
|
|
801
801
|
| "media.generation"
|
|
802
802
|
| "games:servers"
|
|
@@ -822,6 +822,10 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
822
822
|
}, $strict>, ZodObject<{
|
|
823
823
|
kind: ZodLiteral<"capability-route">;
|
|
824
824
|
capability: ZodPipe<ZodUnknown, ZodTransform<
|
|
825
|
+
| "computer.list"
|
|
826
|
+
| "computer.readFile"
|
|
827
|
+
| "computer.writeFile"
|
|
828
|
+
| "computer.execute"
|
|
825
829
|
| "approvals"
|
|
826
830
|
| "agent.list"
|
|
827
831
|
| "agent.manage"
|
|
@@ -830,10 +834,6 @@ const gateRequestSchema: ZodLazy<ZodDiscriminatedUnion<[ZodObject<{
|
|
|
830
834
|
| "agent.toolPolicy"
|
|
831
835
|
| "agent.read"
|
|
832
836
|
| "agent.send"
|
|
833
|
-
| "computer.list"
|
|
834
|
-
| "computer.readFile"
|
|
835
|
-
| "computer.writeFile"
|
|
836
|
-
| "computer.execute"
|
|
837
837
|
| "llm.generation"
|
|
838
838
|
| "media.generation"
|
|
839
839
|
| "games:servers"
|
|
@@ -941,6 +941,10 @@ Installation names cannot contain the tenant separator.
|
|
|
941
941
|
```ts
|
|
942
942
|
const approvedGrantSchema: ZodReadonly<ZodObject<{
|
|
943
943
|
capability: ZodPipe<ZodUnknown, ZodTransform<
|
|
944
|
+
| "computer.list"
|
|
945
|
+
| "computer.readFile"
|
|
946
|
+
| "computer.writeFile"
|
|
947
|
+
| "computer.execute"
|
|
944
948
|
| "approvals"
|
|
945
949
|
| "agent.list"
|
|
946
950
|
| "agent.manage"
|
|
@@ -949,10 +953,6 @@ const approvedGrantSchema: ZodReadonly<ZodObject<{
|
|
|
949
953
|
| "agent.toolPolicy"
|
|
950
954
|
| "agent.read"
|
|
951
955
|
| "agent.send"
|
|
952
|
-
| "computer.list"
|
|
953
|
-
| "computer.readFile"
|
|
954
|
-
| "computer.writeFile"
|
|
955
|
-
| "computer.execute"
|
|
956
956
|
| "llm.generation"
|
|
957
957
|
| "media.generation"
|
|
958
958
|
| "games:servers"
|
|
@@ -997,6 +997,10 @@ Exact operation rows are enforced for capability routes and backend bindings.
|
|
|
997
997
|
```ts
|
|
998
998
|
const grantChangeSchema: ZodReadonly<ZodObject<{
|
|
999
999
|
capability: ZodPipe<ZodUnknown, ZodTransform<
|
|
1000
|
+
| "computer.list"
|
|
1001
|
+
| "computer.readFile"
|
|
1002
|
+
| "computer.writeFile"
|
|
1003
|
+
| "computer.execute"
|
|
1000
1004
|
| "approvals"
|
|
1001
1005
|
| "agent.list"
|
|
1002
1006
|
| "agent.manage"
|
|
@@ -1005,10 +1009,6 @@ const grantChangeSchema: ZodReadonly<ZodObject<{
|
|
|
1005
1009
|
| "agent.toolPolicy"
|
|
1006
1010
|
| "agent.read"
|
|
1007
1011
|
| "agent.send"
|
|
1008
|
-
| "computer.list"
|
|
1009
|
-
| "computer.readFile"
|
|
1010
|
-
| "computer.writeFile"
|
|
1011
|
-
| "computer.execute"
|
|
1012
1012
|
| "llm.generation"
|
|
1013
1013
|
| "media.generation"
|
|
1014
1014
|
| "games:servers"
|
|
@@ -1502,6 +1502,10 @@ function grantsFor(
|
|
|
1502
1502
|
): Readonly<
|
|
1503
1503
|
Readonly<{
|
|
1504
1504
|
capability:
|
|
1505
|
+
| "computer.list"
|
|
1506
|
+
| "computer.readFile"
|
|
1507
|
+
| "computer.writeFile"
|
|
1508
|
+
| "computer.execute"
|
|
1505
1509
|
| "approvals"
|
|
1506
1510
|
| "agent.list"
|
|
1507
1511
|
| "agent.manage"
|
|
@@ -1510,10 +1514,6 @@ function grantsFor(
|
|
|
1510
1514
|
| "agent.toolPolicy"
|
|
1511
1515
|
| "agent.read"
|
|
1512
1516
|
| "agent.send"
|
|
1513
|
-
| "computer.list"
|
|
1514
|
-
| "computer.readFile"
|
|
1515
|
-
| "computer.writeFile"
|
|
1516
|
-
| "computer.execute"
|
|
1517
1517
|
| "llm.generation"
|
|
1518
1518
|
| "media.generation"
|
|
1519
1519
|
| "games:servers"
|
|
@@ -1553,15 +1553,15 @@ resource selectors.
|
|
|
1553
1553
|
| `installation` | `Pick`\<[`GateFacts`](#gatefacts)\[`"installation"`\], `"status"` \| `"authority"` \| `"artifactDigest"`\> | `undefined` |
|
|
1554
1554
|
| `declaration` | `AppDeclaration` | `undefined` |
|
|
1555
1555
|
| `snapshot` | [`DeclaredOperations`](#declaredoperations) | `undefined` |
|
|
1556
|
-
| `capability` | \| `"
|
|
1556
|
+
| `capability` | \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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` |
|
|
1557
1557
|
| `resource` | \| `"any"` \| `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\> | `"any"` |
|
|
1558
1558
|
|
|
1559
1559
|
#### Returns
|
|
1560
1560
|
|
|
1561
|
-
\| `Readonly`\<`Readonly`\<\{ `capability`: \| `"
|
|
1562
|
-
\| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
1563
|
-
`"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"computer.list"` \|
|
|
1561
|
+
\| `Readonly`\<`Readonly`\<\{ `capability`: \| `"computer.list"` \|
|
|
1564
1562
|
`"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
1563
|
+
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
1564
|
+
`"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \|
|
|
1565
1565
|
`"llm.generation"` \| `"media.generation"` \| `"games:servers"` \|
|
|
1566
1566
|
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
1567
1567
|
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
@@ -1610,7 +1610,7 @@ resource authority.
|
|
|
1610
1610
|
| Parameter | Type | Default value |
|
|
1611
1611
|
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
|
1612
1612
|
| `captured` | readonly `object`[] | `undefined` |
|
|
1613
|
-
| `method?` | `Readonly`\<\{ `description`: `string`; `input`: `object`; `output`: `object`; `effect`: `"read"` \| `"write"` \| `"external"`; `requires`: readonly ( \| `"
|
|
1613
|
+
| `method?` | `Readonly`\<\{ `description`: `string`; `input`: `object`; `output`: `object`; `effect`: `"read"` \| `"write"` \| `"external"`; `requires`: readonly ( \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`; `anonymous?`: `true`; `present?`: `Readonly`\<\{ `verb`: `string`; \}\>; \}\> | `undefined` |
|
|
1614
1614
|
| `ceiling?` | `"read"` \| `"write"` | `"write"` |
|
|
1615
1615
|
|
|
1616
1616
|
#### Returns
|
|
@@ -1679,7 +1679,7 @@ stay outside this pure gate.
|
|
|
1679
1679
|
| Parameter | Type |
|
|
1680
1680
|
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1681
1681
|
| `facts` | [`GateFacts`](#gatefacts) |
|
|
1682
|
-
| `rawRequest` | \| \{ `kind`: `"method"`; `name`: `string`; `input`: `unknown`; `via`: `"
|
|
1682
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`; \} \| \{ `kind`: `"binding"`; `binding`: \| `"BACKGROUND"` \| `"GIT"` \| `"EVENTS"` \| `"APPS"` \| `"WORKFLOWS"` \| `"APP_STORAGE"` \| `"MEDIA"` \| `"COMPUTER"` \| `"INBOX"` \| `"AGENTS"`; `operation`: `string`; \} \| \{ `kind`: `"list-tools"`; \} \| \{ `kind`: `"backend"`; \} |
|
|
1683
1683
|
|
|
1684
1684
|
#### Returns
|
|
1685
1685
|
|
|
@@ -1700,6 +1700,10 @@ function applyGrantCommand(
|
|
|
1700
1700
|
declaredOperationsDigest: Sha256Digest;
|
|
1701
1701
|
approvedGrants: readonly Readonly<{
|
|
1702
1702
|
capability:
|
|
1703
|
+
| "computer.list"
|
|
1704
|
+
| "computer.readFile"
|
|
1705
|
+
| "computer.writeFile"
|
|
1706
|
+
| "computer.execute"
|
|
1703
1707
|
| "approvals"
|
|
1704
1708
|
| "agent.list"
|
|
1705
1709
|
| "agent.manage"
|
|
@@ -1708,10 +1712,6 @@ function applyGrantCommand(
|
|
|
1708
1712
|
| "agent.toolPolicy"
|
|
1709
1713
|
| "agent.read"
|
|
1710
1714
|
| "agent.send"
|
|
1711
|
-
| "computer.list"
|
|
1712
|
-
| "computer.readFile"
|
|
1713
|
-
| "computer.writeFile"
|
|
1714
|
-
| "computer.execute"
|
|
1715
1715
|
| "llm.generation"
|
|
1716
1716
|
| "media.generation"
|
|
1717
1717
|
| "games:servers"
|
|
@@ -1769,18 +1769,18 @@ One host-independent approval policy; selection only intersects existing grants.
|
|
|
1769
1769
|
|
|
1770
1770
|
| Parameter | Type |
|
|
1771
1771
|
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1772
|
-
| `current` | \| \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
1773
|
-
| `rawCommand` | \| \{ `kind`: `"install"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
1772
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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` |
|
|
1773
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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"`; \} |
|
|
1774
1774
|
| `context` | [`GrantContext`](#grantcontext) |
|
|
1775
1775
|
|
|
1776
1776
|
#### Returns
|
|
1777
1777
|
|
|
1778
1778
|
`Result`\<\{ `authorityVersion`: `number`; `declaredOperationsDigest`:
|
|
1779
1779
|
`Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \|
|
|
1780
|
-
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
1781
|
-
`"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \|
|
|
1782
1780
|
`"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \|
|
|
1783
|
-
`"computer.execute"` \| `"
|
|
1781
|
+
`"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \|
|
|
1782
|
+
`"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"`
|
|
1783
|
+
\| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \|
|
|
1784
1784
|
`"games:servers"` \| `"git.repository"` \| `"apps.open"` \| `"apps.call"` \|
|
|
1785
1785
|
`"app.storage"` \| `"app.events.emit"` \| `"team.workbenchHost"` \|
|
|
1786
1786
|
`"marketplace.browse"` \| `"marketplace.purchase"` \| `"workflow.run"` \|
|
|
@@ -1827,8 +1827,8 @@ Pure transition; hosts retain transactions, receipts, epochs and delivery.
|
|
|
1827
1827
|
|
|
1828
1828
|
| Parameter | Type |
|
|
1829
1829
|
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1830
|
-
| `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`: \| `"
|
|
1831
|
-
| `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`: `"set-visibility"`; `visibility`: `"private"` \| `"public"`; \} \| \{ `kind`: `"change-grants"`; `changes`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
1830
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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"`; `visibility`: `"private"` \| `"public"`; `approvedAnonymousMethods`: readonly `Readonly`\<\{ `name`: `string`; `digest`: `Sha256Digest`; \}\>[]; `anonymousApproval`: \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null`; \}\> \| `null` |
|
|
1831
|
+
| `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`: `"set-visibility"`; `visibility`: `"private"` \| `"public"`; \} \| \{ `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`: `"approve-anonymous"`; `methods`: readonly `Readonly`\<\{ `name`: `string`; `digest`: `Sha256Digest`; \}\>[]; \} |
|
|
1832
1832
|
| `context` | [`InstallationContext`](#installationcontext) |
|
|
1833
1833
|
|
|
1834
1834
|
#### Returns
|
|
@@ -1879,6 +1879,10 @@ function deriveDeclaredOperations(
|
|
|
1879
1879
|
}>[];
|
|
1880
1880
|
capabilities: readonly Readonly<{
|
|
1881
1881
|
capability:
|
|
1882
|
+
| "computer.list"
|
|
1883
|
+
| "computer.readFile"
|
|
1884
|
+
| "computer.writeFile"
|
|
1885
|
+
| "computer.execute"
|
|
1882
1886
|
| "approvals"
|
|
1883
1887
|
| "agent.list"
|
|
1884
1888
|
| "agent.manage"
|
|
@@ -1887,10 +1891,6 @@ function deriveDeclaredOperations(
|
|
|
1887
1891
|
| "agent.toolPolicy"
|
|
1888
1892
|
| "agent.read"
|
|
1889
1893
|
| "agent.send"
|
|
1890
|
-
| "computer.list"
|
|
1891
|
-
| "computer.readFile"
|
|
1892
|
-
| "computer.writeFile"
|
|
1893
|
-
| "computer.execute"
|
|
1894
1894
|
| "llm.generation"
|
|
1895
1895
|
| "media.generation"
|
|
1896
1896
|
| "games:servers"
|
|
@@ -1939,12 +1939,12 @@ host adapters.
|
|
|
1939
1939
|
`Promise`\<`Readonly`\<\{ `artifactDigest`: `Sha256Digest`; `digest`:
|
|
1940
1940
|
`Sha256Digest`; `anonymousMethods`: readonly `Readonly`\<\{ `name`: `string`;
|
|
1941
1941
|
`digest`: `Sha256Digest`; \}\>[]; `capabilities`: readonly `Readonly`\<\{
|
|
1942
|
-
`capability`: \| `"
|
|
1943
|
-
`"
|
|
1944
|
-
\| `"agent.
|
|
1945
|
-
`"
|
|
1946
|
-
`"media.generation"` \| `"games:servers"` \| `"git.repository"` \|
|
|
1947
|
-
\| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
1942
|
+
`capability`: \| `"computer.list"` \| `"computer.readFile"` \|
|
|
1943
|
+
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
1944
|
+
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
1945
|
+
`"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"`
|
|
1946
|
+
\| `"media.generation"` \| `"games:servers"` \| `"git.repository"` \|
|
|
1947
|
+
`"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
1948
1948
|
`"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \|
|
|
1949
1949
|
`"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \|
|
|
1950
1950
|
`"channels.read"` \| `"channels.personal.manage"`; `operations`: readonly
|
|
@@ -1960,6 +1960,10 @@ function pendingCapabilities(
|
|
|
1960
1960
|
declaration,
|
|
1961
1961
|
declaredOperations,
|
|
1962
1962
|
): readonly (
|
|
1963
|
+
| "computer.list"
|
|
1964
|
+
| "computer.readFile"
|
|
1965
|
+
| "computer.writeFile"
|
|
1966
|
+
| "computer.execute"
|
|
1963
1967
|
| "approvals"
|
|
1964
1968
|
| "agent.list"
|
|
1965
1969
|
| "agent.manage"
|
|
@@ -1968,10 +1972,6 @@ function pendingCapabilities(
|
|
|
1968
1972
|
| "agent.toolPolicy"
|
|
1969
1973
|
| "agent.read"
|
|
1970
1974
|
| "agent.send"
|
|
1971
|
-
| "computer.list"
|
|
1972
|
-
| "computer.readFile"
|
|
1973
|
-
| "computer.writeFile"
|
|
1974
|
-
| "computer.execute"
|
|
1975
1975
|
| "llm.generation"
|
|
1976
1976
|
| "media.generation"
|
|
1977
1977
|
| "games:servers"
|
|
@@ -2004,12 +2004,12 @@ Includes newly declared operations and capabilities the owner has narrowed.
|
|
|
2004
2004
|
|
|
2005
2005
|
#### Returns
|
|
2006
2006
|
|
|
2007
|
-
readonly ( \| `"
|
|
2008
|
-
`"
|
|
2009
|
-
\| `"agent.
|
|
2010
|
-
`"
|
|
2011
|
-
`"media.generation"` \| `"games:servers"` \| `"git.repository"` \|
|
|
2012
|
-
\| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
2007
|
+
readonly ( \| `"computer.list"` \| `"computer.readFile"` \|
|
|
2008
|
+
`"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \|
|
|
2009
|
+
`"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \|
|
|
2010
|
+
`"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"`
|
|
2011
|
+
\| `"media.generation"` \| `"games:servers"` \| `"git.repository"` \|
|
|
2012
|
+
`"apps.open"` \| `"apps.call"` \| `"app.storage"` \| `"app.events.emit"` \|
|
|
2013
2013
|
`"team.workbenchHost"` \| `"marketplace.browse"` \| `"marketplace.purchase"` \|
|
|
2014
2014
|
`"workflow.run"` \| `"workflow.publish"` \| `"workflow.arm"` \| `"world"` \|
|
|
2015
2015
|
`"channels.read"` \| `"channels.personal.manage"`)[]
|
|
@@ -2033,10 +2033,10 @@ Bound the real SDK request; an Allow never silently widens selected resources.
|
|
|
2033
2033
|
|
|
2034
2034
|
| Parameter | Type |
|
|
2035
2035
|
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2036
|
-
| `authority` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
2036
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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`; \} |
|
|
2037
2037
|
| `authority.authorityVersion` | `number` |
|
|
2038
2038
|
| `authority.declaredOperationsDigest` | `Sha256Digest` |
|
|
2039
|
-
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"
|
|
2039
|
+
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2040
2040
|
| `authority.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2041
2041
|
| `facts` | `Readonly`\<\{ `declaration`: `Pick`\<`AppDeclaration`, `"capabilities"`\>; `declaredOperations`: [`DeclaredOperations`](#declaredoperations); \}\> |
|
|
2042
2042
|
| `request` | `AppPermissionRequest` |
|
|
@@ -2061,10 +2061,10 @@ rows.
|
|
|
2061
2061
|
|
|
2062
2062
|
| Parameter | Type |
|
|
2063
2063
|
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2064
|
-
| `authority` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
2064
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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`; \} |
|
|
2065
2065
|
| `authority.authorityVersion` | `number` |
|
|
2066
2066
|
| `authority.declaredOperationsDigest` | `Sha256Digest` |
|
|
2067
|
-
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"
|
|
2067
|
+
| `authority.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2068
2068
|
| `authority.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2069
2069
|
|
|
2070
2070
|
#### Returns
|
|
@@ -2104,6 +2104,10 @@ function planGrantChange(
|
|
|
2104
2104
|
draft,
|
|
2105
2105
|
): readonly Readonly<{
|
|
2106
2106
|
capability:
|
|
2107
|
+
| "computer.list"
|
|
2108
|
+
| "computer.readFile"
|
|
2109
|
+
| "computer.writeFile"
|
|
2110
|
+
| "computer.execute"
|
|
2107
2111
|
| "approvals"
|
|
2108
2112
|
| "agent.list"
|
|
2109
2113
|
| "agent.manage"
|
|
@@ -2112,10 +2116,6 @@ function planGrantChange(
|
|
|
2112
2116
|
| "agent.toolPolicy"
|
|
2113
2117
|
| "agent.read"
|
|
2114
2118
|
| "agent.send"
|
|
2115
|
-
| "computer.list"
|
|
2116
|
-
| "computer.readFile"
|
|
2117
|
-
| "computer.writeFile"
|
|
2118
|
-
| "computer.execute"
|
|
2119
2119
|
| "llm.generation"
|
|
2120
2120
|
| "media.generation"
|
|
2121
2121
|
| "games:servers"
|
|
@@ -2151,19 +2151,19 @@ Only touched capability rows cross the save boundary.
|
|
|
2151
2151
|
|
|
2152
2152
|
| Parameter | Type |
|
|
2153
2153
|
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2154
|
-
| `baseline` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
2154
|
+
| `baseline` | \{ `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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`; \} |
|
|
2155
2155
|
| `baseline.authorityVersion` | `number` |
|
|
2156
2156
|
| `baseline.declaredOperationsDigest` | `Sha256Digest` |
|
|
2157
|
-
| `baseline.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"
|
|
2157
|
+
| `baseline.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2158
2158
|
| `baseline.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2159
2159
|
| `draft` | [`PermissionDraft`](#permissiondraft) |
|
|
2160
2160
|
|
|
2161
2161
|
#### Returns
|
|
2162
2162
|
|
|
2163
|
-
readonly `Readonly`\<\{ `capability`: \| `"
|
|
2164
|
-
`"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"`
|
|
2165
|
-
\| `"agent.read"` \| `"agent.send"` \| `"computer.list"` \|
|
|
2163
|
+
readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \|
|
|
2166
2164
|
`"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \|
|
|
2165
|
+
`"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \|
|
|
2166
|
+
`"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \|
|
|
2167
2167
|
`"llm.generation"` \| `"media.generation"` \| `"games:servers"` \|
|
|
2168
2168
|
`"git.repository"` \| `"apps.open"` \| `"apps.call"` \| `"app.storage"` \|
|
|
2169
2169
|
`"app.events.emit"` \| `"team.workbenchHost"` \| `"marketplace.browse"` \|
|
|
@@ -2189,15 +2189,15 @@ capabilities.
|
|
|
2189
2189
|
| Parameter | Type |
|
|
2190
2190
|
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2191
2191
|
| `draft` | [`PermissionDraft`](#permissiondraft) |
|
|
2192
|
-
| `baseline` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
2192
|
+
| `baseline` | \{ `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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`; \} |
|
|
2193
2193
|
| `baseline.authorityVersion` | `number` |
|
|
2194
2194
|
| `baseline.declaredOperationsDigest` | `Sha256Digest` |
|
|
2195
|
-
| `baseline.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"
|
|
2195
|
+
| `baseline.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2196
2196
|
| `baseline.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2197
|
-
| `current` | \{ `authorityVersion`: `number`; `declaredOperationsDigest`: `Sha256Digest`; `approvedGrants`: readonly `Readonly`\<\{ `capability`: \| `"
|
|
2197
|
+
| `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.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `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`; \} |
|
|
2198
2198
|
| `current.authorityVersion` | `number` |
|
|
2199
2199
|
| `current.declaredOperationsDigest` | `Sha256Digest` |
|
|
2200
|
-
| `current.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"
|
|
2200
|
+
| `current.approvedGrants` | readonly `Readonly`\<\{ `capability`: \| `"computer.list"` \| `"computer.readFile"` \| `"computer.writeFile"` \| `"computer.execute"` \| `"approvals"` \| `"agent.list"` \| `"agent.manage"` \| `"agent.rename"` \| `"agent.avatar"` \| `"agent.toolPolicy"` \| `"agent.read"` \| `"agent.send"` \| `"llm.generation"` \| `"media.generation"` \| `"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`[]; `resources`: \| `"tenant-scope"` \| readonly `Readonly`\<\{ `kind`: `string`; `id`: `string`; \}\>[]; \}\>[] |
|
|
2201
2201
|
| `current.approval` | \| `Readonly`\<\{ `by`: \| \{ `kind`: `"member"`; `memberId`: `string`; \} \| \{ `kind`: `"agent"`; `agentId`: `string`; \} \| \{ `kind`: `"team-key"`; `keyId`: `string`; \}; `at`: `number`; `authorityVersion`: `number`; \}\> \| `null` |
|
|
2202
2202
|
|
|
2203
2203
|
#### Returns
|