Skip to content

Commit ff95e7a

Browse files
author
Shaw
committed
chore: preserve eliza google calendar worktree
1 parent 6e5b220 commit ff95e7a

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

packages/agent/src/runtime/plugin-role-gating.ts

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ const ROLE_GATE_RANK: Record<RoleGate, number> = {
4141

4242
const ROLE_GATED_PLUGINS: Readonly<Record<string, RoleGate>> = {
4343
// Blockchain — financial actions
44-
"@elizaos/plugin-evm": "admin",
45-
"@elizaos/plugin-solana": "admin",
44+
"@elizaos/app-browser": "owner",
45+
"@elizaos/app-steward": "owner",
46+
"@elizaos/plugin-browser-bridge": "owner",
47+
"@elizaos/plugin-computeruse": "owner",
48+
"@elizaos/plugin-evm": "owner",
49+
"@elizaos/plugin-solana": "owner",
50+
evm: "owner",
51+
solana: "owner",
4652

4753
// Orchestration — spawns agents, PTY sessions, workspaces
4854
"agent-orchestrator": "admin",
@@ -176,6 +182,22 @@ const PROVIDER_ROLE_OVERRIDES: Readonly<Record<string, RoleGate>> = {
176182

177183
// Clipboard
178184
clipboard: "admin",
185+
186+
// Browser / wallet operational state
187+
app_browser_workspace: "owner",
188+
computerState: "owner",
189+
"get-balance": "owner",
190+
"solana-wallet": "owner",
191+
wallet: "owner",
192+
walletBalance: "owner",
193+
walletPortfolio: "owner",
194+
tokenPrices: "owner",
195+
chainInfo: "owner",
196+
197+
// Apps / plugins expose local installation/runtime state.
198+
available_apps: "owner",
199+
pluginState: "owner",
200+
registryPlugins: "owner",
179201
};
180202

181203
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)