From 499d228699e3b1340c940e99e7d12b8868840a16 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Wed, 11 Nov 2026 20:44:14 -0500 Subject: [PATCH 01/16] fix(core): read an MCP entry with a url as a remote server (AC-58) Co-Authored-By: Claude Opus 5.5 --- packages/core/__tests__/read-mcp.test.ts | 71 ++++++++++++++++++++++++ packages/core/src/import/read-mcp.ts | 12 ++-- 2 files changed, 79 insertions(+), 4 deletions(-) create mode 100644 packages/core/__tests__/read-mcp.test.ts diff --git a/packages/core/__tests__/read-mcp.test.ts b/packages/core/__tests__/read-mcp.test.ts new file mode 100644 index 00000000..d52823a8 --- /dev/null +++ b/packages/core/__tests__/read-mcp.test.ts @@ -0,0 +1,71 @@ +import { describe, it, expect } from "vitest"; +import { reverseTranslateServer } from "../src/import/read-mcp.js"; + +describe("reverseTranslateServer (AC-58)", () => { + it("reads a command-only entry as stdio", () => { + expect(reverseTranslateServer({ command: "npx", args: ["-y", "x"], env: { A: "1" } })).toEqual({ + transport: "stdio", + command: "npx", + args: ["-y", "x"], + env: { A: "1" }, + }); + }); + + it("reads an explicit type stdio entry as stdio", () => { + expect(reverseTranslateServer({ type: "stdio", command: "node" })).toEqual({ + transport: "stdio", + command: "node", + }); + }); + + it("reads a url-only entry (Cursor shape, no type) as http, keeping headers", () => { + expect( + reverseTranslateServer({ url: "https://mcp.example.com/mcp", headers: { Authorization: "Bearer x" } }), + ).toEqual({ + transport: "http", + url: "https://mcp.example.com/mcp", + headers: { Authorization: "Bearer x" }, + }); + }); + + it("reads url + type http as http", () => { + expect(reverseTranslateServer({ type: "http", url: "https://a.example/mcp" })).toEqual({ + transport: "http", + url: "https://a.example/mcp", + }); + }); + + it("reads url + type sse as sse", () => { + expect(reverseTranslateServer({ type: "sse", url: "https://a.example/sse" })).toEqual({ + transport: "sse", + url: "https://a.example/sse", + }); + }); + + it("reads url + an unrecognized remote type (streamable-http) as http", () => { + expect(reverseTranslateServer({ type: "streamable-http", url: "https://a.example/mcp" })).toEqual({ + transport: "http", + url: "https://a.example/mcp", + }); + }); + + it("with both url and command and no type, command wins (stdio)", () => { + expect(reverseTranslateServer({ command: "node", url: "https://a.example" })).toEqual({ + transport: "stdio", + command: "node", + }); + }); + + it("with both url and command, an explicit network type wins", () => { + expect(reverseTranslateServer({ type: "http", command: "node", url: "https://a.example" })).toEqual({ + transport: "http", + url: "https://a.example", + }); + }); + + it("returns null for explicit stdio with only a url, and for empty entries", () => { + expect(reverseTranslateServer({ type: "stdio", url: "https://a.example" })).toBeNull(); + expect(reverseTranslateServer({})).toBeNull(); + expect(reverseTranslateServer({ type: "http" })).toBeNull(); + }); +}); diff --git a/packages/core/src/import/read-mcp.ts b/packages/core/src/import/read-mcp.ts index 5ed1f13f..96f19c11 100644 --- a/packages/core/src/import/read-mcp.ts +++ b/packages/core/src/import/read-mcp.ts @@ -25,7 +25,10 @@ const NETWORK_TRANSPORTS = new Set(["http", "sse", "ws"]); * so both paths translate the common shapes identically. */ export function reverseTranslateServer(entry: McpJsonEntry): McpServer | null { - const type = entry.type ?? "stdio"; + // Precedence: an explicit `type` wins. With no `type`, `command` means + // stdio and a `url` without a `command` means a remote (http) server — + // Cursor and Claude Code both write url entries with no `type`. + const type = entry.type ?? (entry.url && !entry.command ? "http" : "stdio"); if (type === "stdio") { if (!entry.command) return null; @@ -38,10 +41,11 @@ export function reverseTranslateServer(entry: McpJsonEntry): McpServer | null { return server; } - if (NETWORK_TRANSPORTS.has(type)) { - if (!entry.url) return null; + // Any non-stdio type that carries a url is remote. Known transports keep + // their name; spellings like "streamable-http" read as http. + if (entry.url) { const server: McpServer = { - transport: type as "http" | "sse" | "ws", + transport: NETWORK_TRANSPORTS.has(type) ? (type as "http" | "sse" | "ws") : "http", url: entry.url, ...(entry.headers ? { headers: entry.headers } : {}), }; From f9f3ad2fac1b9a2c2ccb5bf143fba2d6d77cf2b5 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Wed, 11 Nov 2026 20:47:43 -0500 Subject: [PATCH 02/16] feat(desktop): grid cell opens the drawer on its surface; hide surfaces that aren't installed (AC-57, AC-59) + copy shows only where the drawer can apply (MCP servers, skills, instructions). Not-installed surfaces are hidden by default behind Show all N. Co-Authored-By: Claude Opus 5.5 --- .../src/pages/__fixtures__/MachineFixture.tsx | 9 ++- .../desktop/src/pages/machine/MachineGrid.tsx | 54 +++++++++++++-- .../desktop/src/pages/machine/MachinePage.tsx | 10 ++- apps/desktop/src/pages/machine/RowDrawer.tsx | 27 ++++++-- .../machine/__tests__/MachineGrid.test.tsx | 66 ++++++++++++++++++- .../machine/__tests__/MachinePage.test.tsx | 20 ++++++ .../machine/__tests__/RowDrawer.test.tsx | 38 +++++++++++ .../machine/__tests__/cell-state.test.ts | 23 +++++++ apps/desktop/src/pages/machine/cell-state.ts | 15 ++++- 9 files changed, 246 insertions(+), 16 deletions(-) diff --git a/apps/desktop/src/pages/__fixtures__/MachineFixture.tsx b/apps/desktop/src/pages/__fixtures__/MachineFixture.tsx index 8aeda87a..cfe4f00c 100644 --- a/apps/desktop/src/pages/__fixtures__/MachineFixture.tsx +++ b/apps/desktop/src/pages/__fixtures__/MachineFixture.tsx @@ -1,5 +1,5 @@ import { useCallback, useState } from "react"; -import type { GridRow } from "@harness-kit/core"; +import type { GridRow, SurfaceId } from "@harness-kit/core"; import { MachineGrid } from "../machine/MachineGrid"; import { MachineFilterStatus, @@ -33,6 +33,7 @@ export default function MachineFixture() { const [selectedRow, setSelectedRow] = useState( inventory.rows.find((row) => row.key === "mcp-server:github") ?? null, ); + const [clickedSurface, setClickedSurface] = useState(null); const clearSelection = useCallback(() => setSelectedRow(null), []); const { view, setView, drift, drawerRow, regionRef, harness } = useMachineView({ selectedRow, @@ -105,7 +106,10 @@ export default function MachineFixture() { inventory={{ ...inventory, rows: shownRows }} variants={variants} selectedRowKey={selectedRow?.key ?? null} - onRowClick={(row) => setSelectedRow(row)} + onRowClick={(row, surface) => { + setSelectedRow(row); + setClickedSurface(surface ?? null); + }} /> @@ -118,6 +122,7 @@ export default function MachineFixture() { diffs={inventory.diffs.filter((diff) => diff.row === drawerRow.key)} gaps={inventory.gaps} surfaceOrder={inventory.surfaces.map((surface) => surface.id)} + initialTarget={clickedSurface ?? undefined} onClose={() => setSelectedRow(null)} /> )} diff --git a/apps/desktop/src/pages/machine/MachineGrid.tsx b/apps/desktop/src/pages/machine/MachineGrid.tsx index 8a6dbe3f..a3b028ef 100644 --- a/apps/desktop/src/pages/machine/MachineGrid.tsx +++ b/apps/desktop/src/pages/machine/MachineGrid.tsx @@ -1,4 +1,5 @@ -import { Fragment, type CSSProperties } from "react"; +import { Fragment, useState, type CSSProperties } from "react"; +import { Button } from "@harness-kit/ui"; import { Store } from "lucide-react"; import type { GridCell, GridRow, MachineInventory, SurfaceId } from "@harness-kit/core"; import { surfaceLabel } from "../../lib/surface-labels"; @@ -112,7 +113,11 @@ function GridLegend() { export interface MachineGridProps { inventory: MachineInventory; selectedRowKey: string | null; - onRowClick: (row: GridRow) => void; + /** + * `surface` is the clicked cell's column (AC-57); undefined for a click on + * the row's name or its keyboard activation. + */ + onRowClick: (row: GridRow, surface?: SurfaceId) => void; /** Precomputed variants by row key (see `inventoryVariants`). Computed per row when omitted. */ variants?: Map>; } @@ -123,8 +128,15 @@ export function MachineGrid({ onRowClick, variants: variantsByRow, }: MachineGridProps) { - const groups = familyGroups(inventory.surfaces); - const surfaceOrder: SurfaceId[] = inventory.surfaces.map((surface) => surface.id); + // AC-59: surfaces that are not installed are hidden until asked for. With + // none installed, hiding them would leave an empty grid, so all show. + const [showAll, setShowAll] = useState(false); + const installedCount = inventory.surfaces.filter((surface) => surface.detected).length; + const hasHidden = installedCount > 0 && installedCount < inventory.surfaces.length; + const shownSurfaces = + showAll || !hasHidden ? inventory.surfaces : inventory.surfaces.filter((surface) => surface.detected); + const groups = familyGroups(shownSurfaces); + const surfaceOrder: SurfaceId[] = shownSurfaces.map((surface) => surface.id); const detectedById = new Map(inventory.surfaces.map((surface) => [surface.id, surface.detected])); const skippedById = new Map( inventory.surfaces.map((surface) => [surface.id, surface.skipped.length]), @@ -154,6 +166,28 @@ export function MachineGrid({ return (
+ {hasHidden && ( +
+ {!showAll && ( + + {installedCount} of {inventory.surfaces.length} surfaces installed + + )} + +
+ )}
surface.id), + ); return ( {newKind && ( @@ -310,6 +350,10 @@ export function MachineGrid({ data-testid={`cell-${row.key}-${id}`} data-status={row.cells[id]?.status} data-variant={variants[id]} + onClick={(event) => { + event.stopPropagation(); + onRowClick(row, id); + }} style={{ padding: "6px 8px", textAlign: "center", diff --git a/apps/desktop/src/pages/machine/MachinePage.tsx b/apps/desktop/src/pages/machine/MachinePage.tsx index debb0c79..c1c782cc 100644 --- a/apps/desktop/src/pages/machine/MachinePage.tsx +++ b/apps/desktop/src/pages/machine/MachinePage.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { Button, EmptyState, ErrorNotice } from "@harness-kit/ui"; import { ChevronRight, ScanSearch } from "lucide-react"; -import type { GridRow, MachineInventory } from "@harness-kit/core"; +import type { GridRow, MachineInventory, SurfaceId } from "@harness-kit/core"; import { errorDetails } from "../../lib/error-details"; import { surfaceLabel } from "../../lib/surface-labels"; import { useProjectDir } from "../../lib/project-dir"; @@ -38,6 +38,8 @@ export default function MachinePage() { const [error, setError] = useState(null); const [projectDir] = useProjectDir(); const [selectedRow, setSelectedRow] = useState(null); + // The cell clicked to open the drawer: its surface is the drawer's first "To" choice (AC-57). + const [clickedSurface, setClickedSurface] = useState(null); const [showSkipped, setShowSkipped] = useState(false); const [projectDegraded, setProjectDegraded] = useState(false); @@ -295,7 +297,10 @@ export default function MachinePage() { inventory={{ ...inventory, rows: shownRows }} variants={variants} selectedRowKey={selectedRow?.key ?? null} - onRowClick={(row) => setSelectedRow(row)} + onRowClick={(row, surface) => { + setSelectedRow(row); + setClickedSurface(surface ?? null); + }} /> )} @@ -391,6 +396,7 @@ export default function MachinePage() { diffs={rowDiffs} gaps={inventory?.gaps ?? []} surfaceOrder={inventory?.surfaces.map((surface) => surface.id) ?? []} + initialTarget={clickedSurface ?? undefined} onClose={() => setSelectedRow(null)} onApplied={() => load(projectDir, true)} /> diff --git a/apps/desktop/src/pages/machine/RowDrawer.tsx b/apps/desktop/src/pages/machine/RowDrawer.tsx index 70d2adc6..64aea94c 100644 --- a/apps/desktop/src/pages/machine/RowDrawer.tsx +++ b/apps/desktop/src/pages/machine/RowDrawer.tsx @@ -42,9 +42,23 @@ export interface RowDrawerProps { onClose: () => void; /** Re-scan after a successful apply so the grid reflects the write. */ onApplied?: () => void; + /** + * The surface of the grid cell that was clicked (AC-57): the first choice + * for "To". Ignored when that surface cannot receive a copy from the chosen + * source (it holds the same content, or cannot take this resource). + */ + initialTarget?: SurfaceId; } -export function RowDrawer({ row, diffs, gaps, surfaceOrder, onClose, onApplied }: RowDrawerProps) { +export function RowDrawer({ + row, + diffs, + gaps, + surfaceOrder, + onClose, + onApplied, + initialTarget, +}: RowDrawerProps) { const presentSurfaces = Object.entries(row.cells).filter( ([, cell]) => cell.status === "present", ); @@ -255,13 +269,16 @@ export function RowDrawer({ row, diffs, gaps, surfaceOrder, onClose, onApplied } )} - {/* Keyed by row: another row's source and target choices must not carry over. */} + {/* Keyed by row and clicked cell: another row's source and target choices + must not carry over, and a click on another cell of this row starts + over with that cell as the target. */} ); @@ -288,11 +305,13 @@ function RowActions({ gaps, surfaceOrder, onApplied, + initialTarget, }: { row: GridRow; gaps: MachineGap[]; surfaceOrder: SurfaceId[]; onApplied?: () => void; + initialTarget?: SurfaceId; }) { const sources = inSurfaceOrder(presentSources(row), surfaceOrder); // AC-15: default to the copy holding the row's baseline digest, the one the @@ -315,7 +334,7 @@ function RowActions({ const diffTargets = source === undefined ? [] : inSurfaceOrder(divergentTargets(row, source), surfaceOrder); const targets = [...gapTargets, ...diffTargets]; - const [chosenTarget, setTarget] = useState(null); + const [chosenTarget, setTarget] = useState(initialTarget ?? null); const target: SurfaceId | "" = chosenTarget !== null && targets.includes(chosenTarget) ? chosenTarget : (targets[0] ?? ""); // Whether ANY source has something to copy. A source whose digest is diff --git a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx index 0727b2eb..e723163b 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx @@ -1,5 +1,5 @@ import { describe, expect, it, vi } from "vitest"; -import { render, screen, within } from "@testing-library/react"; +import { fireEvent, render, screen, within } from "@testing-library/react"; import { MACHINE_FIXTURE_INVENTORY } from "../../__fixtures__/machine-fixture-data"; import { MachineGrid } from "../MachineGrid"; import { CELL_VARIANTS, LEGEND_VARIANTS } from "../cell-state"; @@ -43,6 +43,8 @@ describe("MachineGrid cell chips (AC-13)", () => { it("renders no chip in an absent cell that is not a gap", () => { renderGrid(); + // copilot-cli is not installed, so its column is hidden until asked for. + fireEvent.click(screen.getByRole("button", { name: /^Show all/ })); // copilot-cli is absent on the github row but not in the gap's missingOn. const cell = screen.getByTestId("cell-mcp-server:github-copilot-cli"); expect(cell).toHaveAttribute("data-variant", "absent"); @@ -80,3 +82,65 @@ describe("MachineGrid legend (AC-13)", () => { } }); }); + +describe("MachineGrid cell clicks (AC-57)", () => { + it("passes the clicked cell's surface to onRowClick", () => { + const onRowClick = vi.fn(); + render(); + fireEvent.click(screen.getByTestId("cell-mcp-server:github-gemini")); + expect(onRowClick).toHaveBeenCalledTimes(1); + expect(onRowClick.mock.calls[0][0].key).toBe("mcp-server:github"); + expect(onRowClick.mock.calls[0][1]).toBe("gemini"); + }); + + it("opens with no target when the row's name is clicked", () => { + const onRowClick = vi.fn(); + render(); + fireEvent.click(screen.getByText("github")); + expect(onRowClick).toHaveBeenCalledTimes(1); + expect(onRowClick.mock.calls[0][1]).toBeUndefined(); + }); +}); + +describe("MachineGrid not-installed surfaces (AC-59)", () => { + const total = MACHINE_FIXTURE_INVENTORY.surfaces.length; + const hidden = MACHINE_FIXTURE_INVENTORY.surfaces.filter((s) => !s.detected).map((s) => s.id); + + it("hides undetected surfaces by default, cells and headers alike", () => { + renderGrid(); + expect(hidden.length).toBeGreaterThan(0); + for (const id of hidden) { + expect(screen.queryByTestId(`surface-col-${id}`)).not.toBeInTheDocument(); + expect(screen.queryByTestId(`cell-mcp-server:github-${id}`)).not.toBeInTheDocument(); + } + expect(screen.getByTestId("surface-col-claude-code")).toBeInTheDocument(); + }); + + it("'Show all N' reveals them, annotated, and 'Hide not installed' puts them back", () => { + renderGrid(); + fireEvent.click(screen.getByRole("button", { name: `Show all ${total}` })); + for (const id of hidden) { + expect(within(screen.getByTestId(`surface-col-${id}`)).getByText("not installed")).toBeInTheDocument(); + } + fireEvent.click(screen.getByRole("button", { name: "Hide not installed" })); + expect(screen.queryByTestId(`surface-col-${hidden[0]}`)).not.toBeInTheDocument(); + }); + + it("offers no control when every surface is installed", () => { + const inventory = { + ...MACHINE_FIXTURE_INVENTORY, + surfaces: MACHINE_FIXTURE_INVENTORY.surfaces.map((s) => ({ ...s, detected: true })), + }; + render(); + expect(screen.queryByRole("button", { name: /Show all/ })).not.toBeInTheDocument(); + }); + + it("shows every column when nothing is installed, rather than an empty grid", () => { + const inventory = { + ...MACHINE_FIXTURE_INVENTORY, + surfaces: MACHINE_FIXTURE_INVENTORY.surfaces.map((s) => ({ ...s, detected: false })), + }; + render(); + expect(screen.getByTestId("surface-col-claude-code")).toBeInTheDocument(); + }); +}); diff --git a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx index abb889db..2c5dabee 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx @@ -378,9 +378,19 @@ describe("MachinePage", () => { vi.mocked(collectDrift).mockResolvedValue([]); }); + it("hides undetected columns by default (AC-59)", async () => { + renderPage(); + await screen.findByTestId("machine-grid"); + for (const id of SURFACE_IDS) { + expect(screen.queryByTestId(`surface-col-${id}`) !== null).toBe(DETECTED.has(id)); + } + expect(screen.getByRole("button", { name: "Show all 11" })).toBeInTheDocument(); + }); + it("renders all 11 surface columns grouped by family, undetected dimmed and annotated", async () => { renderPage(); await screen.findByTestId("machine-grid"); + fireEvent.click(screen.getByRole("button", { name: "Show all 11" })); for (const id of SURFACE_IDS) { const col = screen.getByTestId(`surface-col-${id}`); @@ -402,6 +412,7 @@ describe("MachinePage", () => { it("renders NA cells as em-dash with tooltip and unknown cells as ? badge", async () => { renderPage(); await screen.findByTestId("machine-grid"); + fireEvent.click(screen.getByRole("button", { name: "Show all 11" })); const naCell = screen.getByTestId("cell-mcp-server:postgres-pi"); expect(naCell).toHaveAttribute("data-status", "not-applicable"); @@ -433,6 +444,15 @@ describe("MachinePage", () => { expect(drawer).not.toHaveTextContent("Sync arrives in M2"); }); + it("opens the drawer with the clicked cell's surface as the target (AC-57)", async () => { + renderPage(); + await screen.findByTestId("machine-grid"); + + fireEvent.click(screen.getByTestId("cell-mcp-server:postgres-cursor")); + const drawer = await screen.findByTestId("machine-row-drawer"); + expect((within(drawer).getByLabelText("To") as HTMLSelectElement).value).toBe("cursor"); + }); + it("badges a surface's registered plugin marketplaces, naming them in the title (AC-4)", async () => { renderPage(); await screen.findByTestId("machine-grid"); diff --git a/apps/desktop/src/pages/machine/__tests__/RowDrawer.test.tsx b/apps/desktop/src/pages/machine/__tests__/RowDrawer.test.tsx index b6edc2e2..fc8999ff 100644 --- a/apps/desktop/src/pages/machine/__tests__/RowDrawer.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/RowDrawer.test.tsx @@ -128,6 +128,44 @@ describe("RowDrawer from → to (AC-15)", () => { }); }); +describe("RowDrawer clicked-cell target (AC-57)", () => { + beforeEach(() => { + vi.mocked(buildCellAction).mockClear(); + }); + + function drawer(initialTarget?: SurfaceId) { + return ( + + ); + } + + it("starts with the clicked surface as the target, not the first gap", async () => { + render(drawer("claude-code")); + expect(targetSelect().value).toBe("claude-code"); + await waitFor(() => expect(lastPlan()).toEqual(["codex", "claude-code"])); + }); + + it("falls back to the default target when the clicked surface cannot be one", () => { + // cursor holds the baseline digest: nothing to copy onto it from codex. + render(drawer("cursor")); + expect(targetSelect().value).toBe("gemini"); + }); + + it("moves to a different clicked cell on the same row", () => { + const { rerender } = render(drawer("claude-code")); + expect(targetSelect().value).toBe("claude-code"); + rerender(drawer("gemini")); + expect(targetSelect().value).toBe("gemini"); + }); +}); + describe("RowDrawer apply never runs a stale plan", () => { beforeEach(() => { vi.mocked(buildCellAction).mockClear(); diff --git a/apps/desktop/src/pages/machine/__tests__/cell-state.test.ts b/apps/desktop/src/pages/machine/__tests__/cell-state.test.ts index c9f60ffb..d03660e8 100644 --- a/apps/desktop/src/pages/machine/__tests__/cell-state.test.ts +++ b/apps/desktop/src/pages/machine/__tests__/cell-state.test.ts @@ -167,3 +167,26 @@ describe("inventoryVariants", () => { } }); }); + +describe("rowCellVariants: '+ copy' only where the app can apply (AC-57)", () => { + const pluginRow: GridRow = { + key: "plugin:board@harness-kit", + kind: "plugin", + name: "board@harness-kit", + cells: { + "claude-code": present("sha256:aa"), + codex: { status: "absent", entries: [] }, + } as unknown as Record, + }; + const gaps = [{ row: pluginRow.key, presentOn: ["claude-code"], missingOn: ["codex"] }] as never; + + it("shows a plugin gap as absent, because the drawer cannot run an installer", () => { + expect(rowCellVariants(pluginRow, gaps, ["claude-code", "codex"]).codex).toBe("absent"); + }); + + it("still shows an mcp-server gap as '+ copy'", () => { + const row = { ...pluginRow, key: "mcp-server:x", kind: "mcp-server" as const, name: "x" }; + const mcpGaps = [{ row: row.key, presentOn: ["claude-code"], missingOn: ["codex"] }] as never; + expect(rowCellVariants(row, mcpGaps, ["claude-code", "codex"]).codex).toBe("gap"); + }); +}); diff --git a/apps/desktop/src/pages/machine/cell-state.ts b/apps/desktop/src/pages/machine/cell-state.ts index bdd41599..a32aac90 100644 --- a/apps/desktop/src/pages/machine/cell-state.ts +++ b/apps/desktop/src/pages/machine/cell-state.ts @@ -26,6 +26,7 @@ export const CELL_VARIANTS: Record = { "present-user": { chip: "user", label: "present at user scope" }, "present-project": { chip: "project", label: "present in this project" }, gap: { chip: "+ copy", label: "closable gap" }, + // (a gap the app cannot apply shows as absent: see APP_APPLIES_KINDS) differs: { chip: "differs", label: "same name, different content" }, absent: { chip: null, label: "not here, and nothing can be copied here" }, none: { chip: "—", label: "no such concept" }, @@ -88,10 +89,18 @@ function presentVariant(cell: GridCell, baseline: string | undefined): CellVaria return winner?.scope === "project" ? "present-project" : "present-user"; } +/** + * Kinds the drawer's Apply can write. A plugin gap is real but the app cannot + * close it (it needs the surface's own installer, see `appCannotRun` in + * RowDrawer), so its cells do not offer "+ copy" (AC-57). + */ +const APP_APPLIES_KINDS: ReadonlySet = new Set(["mcp-server", "skill", "instructions"]); + /** * One variant per cell in `row.cells`. "differs" is relative to * `rowBaselineDigest`, not to the pairwise `inventory.diffs`. An absent cell - * is a "gap" only when the row's MachineGap lists its surface in `missingOn`. + * is a "gap" only when the row's MachineGap lists its surface in `missingOn` + * and the drawer can apply that kind of row. */ export function rowCellVariants( row: GridRow, @@ -99,7 +108,9 @@ export function rowCellVariants( surfaceOrder: SurfaceId[], ): Record { const baseline = rowBaselineDigest(row, surfaceOrder); - const missingOn = new Set(gaps.find((gap) => gap.row === row.key)?.missingOn ?? []); + const missingOn = new Set( + APP_APPLIES_KINDS.has(row.kind) ? (gaps.find((gap) => gap.row === row.key)?.missingOn ?? []) : [], + ); const variants = {} as Record; for (const id of Object.keys(row.cells) as SurfaceId[]) { const cell = row.cells[id]; From b5984f3392808cd78540b2677084d85c11d692b9 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Wed, 11 Nov 2026 20:59:40 -0500 Subject: [PATCH 03/16] feat: one harness.yaml for Drift, Profile and onboarding; build it from the machine inventory (AC-55, AC-56) Drift reads ~/.claude/harness.yaml for the personal scope and the project's committed harness.yaml for the project, and tells no-file, unreadable, never-compiled and clean apart. Onboarding and Generate take MCP servers and permissions from the same inventory the Machine grid shows (core importFromInventory). Removes the ~/harness.yaml fallback and the scan_claude_config command that read the retired ~/.claude/mcp.json. Co-Authored-By: Claude Opus 5.5 --- apps/desktop/e2e/tauri-bridge-mock.ts | 13 -- apps/desktop/src-tauri/build.rs | 1 - .../src-tauri/capabilities/default.json | 1 - .../src-tauri/gen/schemas/acl-manifests.json | 2 +- .../src-tauri/gen/schemas/capabilities.json | 2 +- .../src-tauri/gen/schemas/desktop-schema.json | 12 -- .../src-tauri/gen/schemas/linux-schema.json | 12 -- .../src-tauri/gen/schemas/macOS-schema.json | 12 -- .../autogenerated/scan_claude_config.toml | 11 -- .../src-tauri/src/commands/harness_file.rs | 93 ++---------- apps/desktop/src-tauri/src/lib.rs | 1 - apps/desktop/src/lib/harness-generator.ts | 133 +----------------- apps/desktop/src/lib/personal-inventory.ts | 26 ++++ apps/desktop/src/lib/tauri.ts | 11 -- apps/desktop/src/pages/drift/DriftPage.tsx | 12 +- apps/desktop/src/pages/drift/DriftView.tsx | 50 ++++++- .../pages/drift/__tests__/DriftPage.test.tsx | 75 +++++++++- .../pages/drift/__tests__/drift-data.test.ts | 126 +++++++++++++++++ apps/desktop/src/pages/drift/drift-data.ts | 92 ++++++++++-- .../src/pages/harness/HarnessFilePage.tsx | 19 ++- .../__tests__/HarnessFilePage.test.tsx | 15 +- .../src/pages/onboarding/OnboardingPage.tsx | 18 ++- .../__tests__/OnboardingPage.test.tsx | 35 ++++- .../__tests__/onboarding-data.test.ts | 33 ++++- .../src/pages/onboarding/onboarding-data.ts | 23 +++ .../core/__tests__/import-inventory.test.ts | 111 +++++++++++++++ packages/core/src/import/import-inventory.ts | 125 ++++++++++++++++ packages/core/src/index.ts | 2 + 28 files changed, 735 insertions(+), 331 deletions(-) delete mode 100644 apps/desktop/src-tauri/permissions/autogenerated/scan_claude_config.toml create mode 100644 apps/desktop/src/lib/personal-inventory.ts create mode 100644 apps/desktop/src/pages/drift/__tests__/drift-data.test.ts create mode 100644 packages/core/__tests__/import-inventory.test.ts create mode 100644 packages/core/src/import/import-inventory.ts diff --git a/apps/desktop/e2e/tauri-bridge-mock.ts b/apps/desktop/e2e/tauri-bridge-mock.ts index 29f8fbf6..d5f7baef 100644 --- a/apps/desktop/e2e/tauri-bridge-mock.ts +++ b/apps/desktop/e2e/tauri-bridge-mock.ts @@ -12,19 +12,6 @@ export const MOCK_RESPONSES: Record = { content: 'version: "1"\nmetadata:\n name: test-harness\n', path: "~/.claude/harness.yaml", }, - scan_claude_config: { - mcpServersJson: JSON.stringify({ - mcpServers: { - tauri: { command: "tauri-mcp" }, - grafana: { command: "grafana-mcp" }, - }, - }), - settingsJson: JSON.stringify({ - permissions: { allow: Array(16).fill("Bash") }, - }), - mcpSource: "~/.claude/mcp.json", - settingsSource: "~/.claude/settings.local.json", - }, list_installed_plugins: [], check_plugin_updates: [], list_marketplaces: [], diff --git a/apps/desktop/src-tauri/build.rs b/apps/desktop/src-tauri/build.rs index 7b07a081..fcd92289 100644 --- a/apps/desktop/src-tauri/build.rs +++ b/apps/desktop/src-tauri/build.rs @@ -104,7 +104,6 @@ fn main() { // Harness file "read_harness_file", "write_harness_file", - "scan_claude_config", // Harness detection (used by Fleet) "detect_harnesses", // Runtime FS scope grants (used by Fleet/Drift's project scope) diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.json index 855436bf..a39b6fbf 100644 --- a/apps/desktop/src-tauri/capabilities/default.json +++ b/apps/desktop/src-tauri/capabilities/default.json @@ -112,7 +112,6 @@ "allow-write-config-file", "allow-read-harness-file", "allow-write-harness-file", - "allow-scan-claude-config", "allow-list-custom-profiles", "allow-get-custom-profile", "allow-save-custom-profile", diff --git a/apps/desktop/src-tauri/gen/schemas/acl-manifests.json b/apps/desktop/src-tauri/gen/schemas/acl-manifests.json index ca5f0a51..964d9d9c 100644 --- a/apps/desktop/src-tauri/gen/schemas/acl-manifests.json +++ b/apps/desktop/src-tauri/gen/schemas/acl-manifests.json @@ -1 +1 @@ -{"__app-acl__":{"default_permission":null,"permissions":{"allow-acknowledge-drift":{"identifier":"allow-acknowledge-drift","description":"Enables the acknowledge_drift command without any pre-configured scope.","commands":{"allow":["acknowledge_drift"],"deny":[]}},"allow-acknowledge-drift-item":{"identifier":"allow-acknowledge-drift-item","description":"Enables the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["acknowledge_drift_item"],"deny":[]}},"allow-apply-security-preset":{"identifier":"allow-apply-security-preset","description":"Enables the apply_security_preset command without any pre-configured scope.","commands":{"allow":["apply_security_preset"],"deny":[]}},"allow-apply-surface-transaction":{"identifier":"allow-apply-surface-transaction","description":"Enables the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":["apply_surface_transaction"],"deny":[]}},"allow-check-for-updates":{"identifier":"allow-check-for-updates","description":"Enables the check_for_updates command without any pre-configured scope.","commands":{"allow":["check_for_updates"],"deny":[]}},"allow-check-git-repo":{"identifier":"allow-check-git-repo","description":"Enables the check_git_repo command without any pre-configured scope.","commands":{"allow":["check_git_repo"],"deny":[]}},"allow-check-plugin-updates":{"identifier":"allow-check-plugin-updates","description":"Enables the check_plugin_updates command without any pre-configured scope.","commands":{"allow":["check_plugin_updates"],"deny":[]}},"allow-choose-project-dir":{"identifier":"allow-choose-project-dir","description":"Enables the choose_project_dir command without any pre-configured scope.","commands":{"allow":["choose_project_dir"],"deny":[]}},"allow-clear-audit-entries":{"identifier":"allow-clear-audit-entries","description":"Enables the clear_audit_entries command without any pre-configured scope.","commands":{"allow":["clear_audit_entries"],"deny":[]}},"allow-compute-live-stats":{"identifier":"allow-compute-live-stats","description":"Enables the compute_live_stats command without any pre-configured scope.","commands":{"allow":["compute_live_stats"],"deny":[]}},"allow-create-evaluation-session":{"identifier":"allow-create-evaluation-session","description":"Enables the create_evaluation_session command without any pre-configured scope.","commands":{"allow":["create_evaluation_session"],"deny":[]}},"allow-create-worktrees":{"identifier":"allow-create-worktrees","description":"Enables the create_worktrees command without any pre-configured scope.","commands":{"allow":["create_worktrees"],"deny":[]}},"allow-delete-comparison":{"identifier":"allow-delete-comparison","description":"Enables the delete_comparison command without any pre-configured scope.","commands":{"allow":["delete_comparison"],"deny":[]}},"allow-delete-custom-profile":{"identifier":"allow-delete-custom-profile","description":"Enables the delete_custom_profile command without any pre-configured scope.","commands":{"allow":["delete_custom_profile"],"deny":[]}},"allow-delete-keychain-secret":{"identifier":"allow-delete-keychain-secret","description":"Enables the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":["delete_keychain_secret"],"deny":[]}},"allow-delete-pairwise-vote":{"identifier":"allow-delete-pairwise-vote","description":"Enables the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":["delete_pairwise_vote"],"deny":[]}},"allow-detect-claude-account":{"identifier":"allow-detect-claude-account","description":"Enables the detect_claude_account command without any pre-configured scope.","commands":{"allow":["detect_claude_account"],"deny":[]}},"allow-detect-harnesses":{"identifier":"allow-detect-harnesses","description":"Enables the detect_harnesses command without any pre-configured scope.","commands":{"allow":["detect_harnesses"],"deny":[]}},"allow-export-comparison-json":{"identifier":"allow-export-comparison-json","description":"Enables the export_comparison_json command without any pre-configured scope.","commands":{"allow":["export_comparison_json"],"deny":[]}},"allow-export-plugin-as-zip":{"identifier":"allow-export-plugin-as-zip","description":"Enables the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":["export_plugin_as_zip"],"deny":[]}},"allow-export-plugin-to-folder":{"identifier":"allow-export-plugin-to-folder","description":"Enables the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":["export_plugin_to_folder"],"deny":[]}},"allow-get-acknowledged-drift-items":{"identifier":"allow-get-acknowledged-drift-items","description":"Enables the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":["get_acknowledged_drift_items"],"deny":[]}},"allow-get-cached-definitions":{"identifier":"allow-get-cached-definitions","description":"Enables the get_cached_definitions command without any pre-configured scope.","commands":{"allow":["get_cached_definitions"],"deny":[]}},"allow-get-comparator-analytics":{"identifier":"allow-get-comparator-analytics","description":"Enables the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":["get_comparator_analytics"],"deny":[]}},"allow-get-comparison":{"identifier":"allow-get-comparison","description":"Enables the get_comparison command without any pre-configured scope.","commands":{"allow":["get_comparison"],"deny":[]}},"allow-get-comparison-diffs":{"identifier":"allow-get-comparison-diffs","description":"Enables the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":["get_comparison_diffs"],"deny":[]}},"allow-get-custom-profile":{"identifier":"allow-get-custom-profile","description":"Enables the get_custom_profile command without any pre-configured scope.","commands":{"allow":["get_custom_profile"],"deny":[]}},"allow-get-diff-against-commit":{"identifier":"allow-get-diff-against-commit","description":"Enables the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":["get_diff_against_commit"],"deny":[]}},"allow-get-evaluation-session":{"identifier":"allow-get-evaluation-session","description":"Enables the get_evaluation_session command without any pre-configured scope.","commands":{"allow":["get_evaluation_session"],"deny":[]}},"allow-get-evaluations":{"identifier":"allow-get-evaluations","description":"Enables the get_evaluations command without any pre-configured scope.","commands":{"allow":["get_evaluations"],"deny":[]}},"allow-get-harness-recommendations":{"identifier":"allow-get-harness-recommendations","description":"Enables the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":["get_harness_recommendations"],"deny":[]}},"allow-get-highest-bundle-number":{"identifier":"allow-get-highest-bundle-number","description":"Enables the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":["get_highest_bundle_number"],"deny":[]}},"allow-get-history-size":{"identifier":"allow-get-history-size","description":"Enables the get_history_size command without any pre-configured scope.","commands":{"allow":["get_history_size"],"deny":[]}},"allow-get-pairwise-analytics":{"identifier":"allow-get-pairwise-analytics","description":"Enables the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":["get_pairwise_analytics"],"deny":[]}},"allow-get-pairwise-votes":{"identifier":"allow-get-pairwise-votes","description":"Enables the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":["get_pairwise_votes"],"deny":[]}},"allow-get-panel-diffs":{"identifier":"allow-get-panel-diffs","description":"Enables the get_panel_diffs command without any pre-configured scope.","commands":{"allow":["get_panel_diffs"],"deny":[]}},"allow-get-system-info":{"identifier":"allow-get-system-info","description":"Enables the get_system_info command without any pre-configured scope.","commands":{"allow":["get_system_info"],"deny":[]}},"allow-grant-project-scope":{"identifier":"allow-grant-project-scope","description":"Enables the grant_project_scope command without any pre-configured scope.","commands":{"allow":["grant_project_scope"],"deny":[]}},"allow-guarded-remove-file":{"identifier":"allow-guarded-remove-file","description":"Enables the guarded_remove_file command without any pre-configured scope.","commands":{"allow":["guarded_remove_file"],"deny":[]}},"allow-guarded-rename-file":{"identifier":"allow-guarded-rename-file","description":"Enables the guarded_rename_file command without any pre-configured scope.","commands":{"allow":["guarded_rename_file"],"deny":[]}},"allow-guarded-write-file":{"identifier":"allow-guarded-write-file","description":"Enables the guarded_write_file command without any pre-configured scope.","commands":{"allow":["guarded_write_file"],"deny":[]}},"allow-import-plugin-from-path":{"identifier":"allow-import-plugin-from-path","description":"Enables the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":["import_plugin_from_path"],"deny":[]}},"allow-import-plugin-from-zip":{"identifier":"allow-import-plugin-from-zip","description":"Enables the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":["import_plugin_from_zip"],"deny":[]}},"allow-list-active-sessions":{"identifier":"allow-list-active-sessions","description":"Enables the list_active_sessions command without any pre-configured scope.","commands":{"allow":["list_active_sessions"],"deny":[]}},"allow-list-audit-entries":{"identifier":"allow-list-audit-entries","description":"Enables the list_audit_entries command without any pre-configured scope.","commands":{"allow":["list_audit_entries"],"deny":[]}},"allow-list-claude-dir":{"identifier":"allow-list-claude-dir","description":"Enables the list_claude_dir command without any pre-configured scope.","commands":{"allow":["list_claude_dir"],"deny":[]}},"allow-list-comparisons":{"identifier":"allow-list-comparisons","description":"Enables the list_comparisons command without any pre-configured scope.","commands":{"allow":["list_comparisons"],"deny":[]}},"allow-list-custom-profiles":{"identifier":"allow-list-custom-profiles","description":"Enables the list_custom_profiles command without any pre-configured scope.","commands":{"allow":["list_custom_profiles"],"deny":[]}},"allow-list-drift-acknowledgements":{"identifier":"allow-list-drift-acknowledgements","description":"Enables the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["list_drift_acknowledgements"],"deny":[]}},"allow-list-installed-plugins":{"identifier":"allow-list-installed-plugins","description":"Enables the list_installed_plugins command without any pre-configured scope.","commands":{"allow":["list_installed_plugins"],"deny":[]}},"allow-list-marketplaces":{"identifier":"allow-list-marketplaces","description":"Enables the list_marketplaces command without any pre-configured scope.","commands":{"allow":["list_marketplaces"],"deny":[]}},"allow-list-required-env":{"identifier":"allow-list-required-env","description":"Enables the list_required_env command without any pre-configured scope.","commands":{"allow":["list_required_env"],"deny":[]}},"allow-list-security-presets":{"identifier":"allow-list-security-presets","description":"Enables the list_security_presets command without any pre-configured scope.","commands":{"allow":["list_security_presets"],"deny":[]}},"allow-list-sessions-summary":{"identifier":"allow-list-sessions-summary","description":"Enables the list_sessions_summary command without any pre-configured scope.","commands":{"allow":["list_sessions_summary"],"deny":[]}},"allow-migrate-drift-acknowledgements":{"identifier":"allow-migrate-drift-acknowledgements","description":"Enables the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["migrate_drift_acknowledgements"],"deny":[]}},"allow-push-file-history":{"identifier":"allow-push-file-history","description":"Enables the push_file_history command without any pre-configured scope.","commands":{"allow":["push_file_history"],"deny":[]}},"allow-put-cached-definitions":{"identifier":"allow-put-cached-definitions","description":"Enables the put_cached_definitions command without any pre-configured scope.","commands":{"allow":["put_cached_definitions"],"deny":[]}},"allow-read-claude-md":{"identifier":"allow-read-claude-md","description":"Enables the read_claude_md command without any pre-configured scope.","commands":{"allow":["read_claude_md"],"deny":[]}},"allow-read-env-config":{"identifier":"allow-read-env-config","description":"Enables the read_env_config command without any pre-configured scope.","commands":{"allow":["read_env_config"],"deny":[]}},"allow-read-file-history":{"identifier":"allow-read-file-history","description":"Enables the read_file_history command without any pre-configured scope.","commands":{"allow":["read_file_history"],"deny":[]}},"allow-read-harness-file":{"identifier":"allow-read-harness-file","description":"Enables the read_harness_file command without any pre-configured scope.","commands":{"allow":["read_harness_file"],"deny":[]}},"allow-read-hooks":{"identifier":"allow-read-hooks","description":"Enables the read_hooks command without any pre-configured scope.","commands":{"allow":["read_hooks"],"deny":[]}},"allow-read-live-activity":{"identifier":"allow-read-live-activity","description":"Enables the read_live_activity command without any pre-configured scope.","commands":{"allow":["read_live_activity"],"deny":[]}},"allow-read-permissions":{"identifier":"allow-read-permissions","description":"Enables the read_permissions command without any pre-configured scope.","commands":{"allow":["read_permissions"],"deny":[]}},"allow-read-plugin-file":{"identifier":"allow-read-plugin-file","description":"Enables the read_plugin_file command without any pre-configured scope.","commands":{"allow":["read_plugin_file"],"deny":[]}},"allow-read-plugin-tree":{"identifier":"allow-read-plugin-tree","description":"Enables the read_plugin_tree command without any pre-configured scope.","commands":{"allow":["read_plugin_tree"],"deny":[]}},"allow-read-session-facet":{"identifier":"allow-read-session-facet","description":"Enables the read_session_facet command without any pre-configured scope.","commands":{"allow":["read_session_facet"],"deny":[]}},"allow-read-session-transcript":{"identifier":"allow-read-session-transcript","description":"Enables the read_session_transcript command without any pre-configured scope.","commands":{"allow":["read_session_transcript"],"deny":[]}},"allow-read-stats-cache":{"identifier":"allow-read-stats-cache","description":"Enables the read_stats_cache command without any pre-configured scope.","commands":{"allow":["read_stats_cache"],"deny":[]}},"allow-record-bundle-number":{"identifier":"allow-record-bundle-number","description":"Enables the record_bundle_number command without any pre-configured scope.","commands":{"allow":["record_bundle_number"],"deny":[]}},"allow-record-transaction":{"identifier":"allow-record-transaction","description":"Enables the record_transaction command without any pre-configured scope.","commands":{"allow":["record_transaction"],"deny":[]}},"allow-remove-worktrees":{"identifier":"allow-remove-worktrees","description":"Enables the remove_worktrees command without any pre-configured scope.","commands":{"allow":["remove_worktrees"],"deny":[]}},"allow-reveal-evaluation-session":{"identifier":"allow-reveal-evaluation-session","description":"Enables the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":["reveal_evaluation_session"],"deny":[]}},"allow-save-comparison":{"identifier":"allow-save-comparison","description":"Enables the save_comparison command without any pre-configured scope.","commands":{"allow":["save_comparison"],"deny":[]}},"allow-save-custom-profile":{"identifier":"allow-save-custom-profile","description":"Enables the save_custom_profile command without any pre-configured scope.","commands":{"allow":["save_custom_profile"],"deny":[]}},"allow-save-evaluation":{"identifier":"allow-save-evaluation","description":"Enables the save_evaluation command without any pre-configured scope.","commands":{"allow":["save_evaluation"],"deny":[]}},"allow-save-file-diffs":{"identifier":"allow-save-file-diffs","description":"Enables the save_file_diffs command without any pre-configured scope.","commands":{"allow":["save_file_diffs"],"deny":[]}},"allow-save-pairwise-vote":{"identifier":"allow-save-pairwise-vote","description":"Enables the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":["save_pairwise_vote"],"deny":[]}},"allow-save-panel":{"identifier":"allow-save-panel","description":"Enables the save_panel command without any pre-configured scope.","commands":{"allow":["save_panel"],"deny":[]}},"allow-scan-claude-config":{"identifier":"allow-scan-claude-config","description":"Enables the scan_claude_config command without any pre-configured scope.","commands":{"allow":["scan_claude_config"],"deny":[]}},"allow-set-keychain-secret":{"identifier":"allow-set-keychain-secret","description":"Enables the set_keychain_secret command without any pre-configured scope.","commands":{"allow":["set_keychain_secret"],"deny":[]}},"allow-submit-feedback":{"identifier":"allow-submit-feedback","description":"Enables the submit_feedback command without any pre-configured scope.","commands":{"allow":["submit_feedback"],"deny":[]}},"allow-sync-create-backup":{"identifier":"allow-sync-create-backup","description":"Enables the sync_create_backup command without any pre-configured scope.","commands":{"allow":["sync_create_backup"],"deny":[]}},"allow-sync-file-exists":{"identifier":"allow-sync-file-exists","description":"Enables the sync_file_exists command without any pre-configured scope.","commands":{"allow":["sync_file_exists"],"deny":[]}},"allow-sync-list-backups":{"identifier":"allow-sync-list-backups","description":"Enables the sync_list_backups command without any pre-configured scope.","commands":{"allow":["sync_list_backups"],"deny":[]}},"allow-sync-read-dir":{"identifier":"allow-sync-read-dir","description":"Enables the sync_read_dir command without any pre-configured scope.","commands":{"allow":["sync_read_dir"],"deny":[]}},"allow-sync-read-file":{"identifier":"allow-sync-read-file","description":"Enables the sync_read_file command without any pre-configured scope.","commands":{"allow":["sync_read_file"],"deny":[]}},"allow-sync-restore-backup":{"identifier":"allow-sync-restore-backup","description":"Enables the sync_restore_backup command without any pre-configured scope.","commands":{"allow":["sync_restore_backup"],"deny":[]}},"allow-sync-write-files":{"identifier":"allow-sync-write-files","description":"Enables the sync_write_files command without any pre-configured scope.","commands":{"allow":["sync_write_files"],"deny":[]}},"allow-tag-comparison-task-type":{"identifier":"allow-tag-comparison-task-type","description":"Enables the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":["tag_comparison_task_type"],"deny":[]}},"allow-trigger-rebuild":{"identifier":"allow-trigger-rebuild","description":"Enables the trigger_rebuild command without any pre-configured scope.","commands":{"allow":["trigger_rebuild"],"deny":[]}},"allow-unacknowledge-drift":{"identifier":"allow-unacknowledge-drift","description":"Enables the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift"],"deny":[]}},"allow-unacknowledge-drift-item":{"identifier":"allow-unacknowledge-drift-item","description":"Enables the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift_item"],"deny":[]}},"allow-uninstall-plugin":{"identifier":"allow-uninstall-plugin","description":"Enables the uninstall_plugin command without any pre-configured scope.","commands":{"allow":["uninstall_plugin"],"deny":[]}},"allow-update-comparison-status":{"identifier":"allow-update-comparison-status","description":"Enables the update_comparison_status command without any pre-configured scope.","commands":{"allow":["update_comparison_status"],"deny":[]}},"allow-update-comparison-title":{"identifier":"allow-update-comparison-title","description":"Enables the update_comparison_title command without any pre-configured scope.","commands":{"allow":["update_comparison_title"],"deny":[]}},"allow-update-evaluation-score":{"identifier":"allow-update-evaluation-score","description":"Enables the update_evaluation_score command without any pre-configured scope.","commands":{"allow":["update_evaluation_score"],"deny":[]}},"allow-update-panel-result":{"identifier":"allow-update-panel-result","description":"Enables the update_panel_result command without any pre-configured scope.","commands":{"allow":["update_panel_result"],"deny":[]}},"allow-update-permissions":{"identifier":"allow-update-permissions","description":"Enables the update_permissions command without any pre-configured scope.","commands":{"allow":["update_permissions"],"deny":[]}},"allow-verify-definitions-signature":{"identifier":"allow-verify-definitions-signature","description":"Enables the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":["verify_definitions_signature"],"deny":[]}},"allow-write-config-file":{"identifier":"allow-write-config-file","description":"Enables the write_config_file command without any pre-configured scope.","commands":{"allow":["write_config_file"],"deny":[]}},"allow-write-env-config":{"identifier":"allow-write-env-config","description":"Enables the write_env_config command without any pre-configured scope.","commands":{"allow":["write_env_config"],"deny":[]}},"allow-write-harness-file":{"identifier":"allow-write-harness-file","description":"Enables the write_harness_file command without any pre-configured scope.","commands":{"allow":["write_harness_file"],"deny":[]}},"allow-write-plugin-file":{"identifier":"allow-write-plugin-file","description":"Enables the write_plugin_file command without any pre-configured scope.","commands":{"allow":["write_plugin_file"],"deny":[]}},"deny-acknowledge-drift":{"identifier":"deny-acknowledge-drift","description":"Denies the acknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift"]}},"deny-acknowledge-drift-item":{"identifier":"deny-acknowledge-drift-item","description":"Denies the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift_item"]}},"deny-apply-security-preset":{"identifier":"deny-apply-security-preset","description":"Denies the apply_security_preset command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_security_preset"]}},"deny-apply-surface-transaction":{"identifier":"deny-apply-surface-transaction","description":"Denies the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_surface_transaction"]}},"deny-check-for-updates":{"identifier":"deny-check-for-updates","description":"Denies the check_for_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_for_updates"]}},"deny-check-git-repo":{"identifier":"deny-check-git-repo","description":"Denies the check_git_repo command without any pre-configured scope.","commands":{"allow":[],"deny":["check_git_repo"]}},"deny-check-plugin-updates":{"identifier":"deny-check-plugin-updates","description":"Denies the check_plugin_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_plugin_updates"]}},"deny-choose-project-dir":{"identifier":"deny-choose-project-dir","description":"Denies the choose_project_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["choose_project_dir"]}},"deny-clear-audit-entries":{"identifier":"deny-clear-audit-entries","description":"Denies the clear_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_audit_entries"]}},"deny-compute-live-stats":{"identifier":"deny-compute-live-stats","description":"Denies the compute_live_stats command without any pre-configured scope.","commands":{"allow":[],"deny":["compute_live_stats"]}},"deny-create-evaluation-session":{"identifier":"deny-create-evaluation-session","description":"Denies the create_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["create_evaluation_session"]}},"deny-create-worktrees":{"identifier":"deny-create-worktrees","description":"Denies the create_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["create_worktrees"]}},"deny-delete-comparison":{"identifier":"deny-delete-comparison","description":"Denies the delete_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_comparison"]}},"deny-delete-custom-profile":{"identifier":"deny-delete-custom-profile","description":"Denies the delete_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_custom_profile"]}},"deny-delete-keychain-secret":{"identifier":"deny-delete-keychain-secret","description":"Denies the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_keychain_secret"]}},"deny-delete-pairwise-vote":{"identifier":"deny-delete-pairwise-vote","description":"Denies the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_pairwise_vote"]}},"deny-detect-claude-account":{"identifier":"deny-detect-claude-account","description":"Denies the detect_claude_account command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_claude_account"]}},"deny-detect-harnesses":{"identifier":"deny-detect-harnesses","description":"Denies the detect_harnesses command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_harnesses"]}},"deny-export-comparison-json":{"identifier":"deny-export-comparison-json","description":"Denies the export_comparison_json command without any pre-configured scope.","commands":{"allow":[],"deny":["export_comparison_json"]}},"deny-export-plugin-as-zip":{"identifier":"deny-export-plugin-as-zip","description":"Denies the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_as_zip"]}},"deny-export-plugin-to-folder":{"identifier":"deny-export-plugin-to-folder","description":"Denies the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_to_folder"]}},"deny-get-acknowledged-drift-items":{"identifier":"deny-get-acknowledged-drift-items","description":"Denies the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":[],"deny":["get_acknowledged_drift_items"]}},"deny-get-cached-definitions":{"identifier":"deny-get-cached-definitions","description":"Denies the get_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["get_cached_definitions"]}},"deny-get-comparator-analytics":{"identifier":"deny-get-comparator-analytics","description":"Denies the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparator_analytics"]}},"deny-get-comparison":{"identifier":"deny-get-comparison","description":"Denies the get_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison"]}},"deny-get-comparison-diffs":{"identifier":"deny-get-comparison-diffs","description":"Denies the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison_diffs"]}},"deny-get-custom-profile":{"identifier":"deny-get-custom-profile","description":"Denies the get_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["get_custom_profile"]}},"deny-get-diff-against-commit":{"identifier":"deny-get-diff-against-commit","description":"Denies the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":[],"deny":["get_diff_against_commit"]}},"deny-get-evaluation-session":{"identifier":"deny-get-evaluation-session","description":"Denies the get_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluation_session"]}},"deny-get-evaluations":{"identifier":"deny-get-evaluations","description":"Denies the get_evaluations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluations"]}},"deny-get-harness-recommendations":{"identifier":"deny-get-harness-recommendations","description":"Denies the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_harness_recommendations"]}},"deny-get-highest-bundle-number":{"identifier":"deny-get-highest-bundle-number","description":"Denies the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["get_highest_bundle_number"]}},"deny-get-history-size":{"identifier":"deny-get-history-size","description":"Denies the get_history_size command without any pre-configured scope.","commands":{"allow":[],"deny":["get_history_size"]}},"deny-get-pairwise-analytics":{"identifier":"deny-get-pairwise-analytics","description":"Denies the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_analytics"]}},"deny-get-pairwise-votes":{"identifier":"deny-get-pairwise-votes","description":"Denies the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_votes"]}},"deny-get-panel-diffs":{"identifier":"deny-get-panel-diffs","description":"Denies the get_panel_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_panel_diffs"]}},"deny-get-system-info":{"identifier":"deny-get-system-info","description":"Denies the get_system_info command without any pre-configured scope.","commands":{"allow":[],"deny":["get_system_info"]}},"deny-grant-project-scope":{"identifier":"deny-grant-project-scope","description":"Denies the grant_project_scope command without any pre-configured scope.","commands":{"allow":[],"deny":["grant_project_scope"]}},"deny-guarded-remove-file":{"identifier":"deny-guarded-remove-file","description":"Denies the guarded_remove_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_remove_file"]}},"deny-guarded-rename-file":{"identifier":"deny-guarded-rename-file","description":"Denies the guarded_rename_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_rename_file"]}},"deny-guarded-write-file":{"identifier":"deny-guarded-write-file","description":"Denies the guarded_write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_write_file"]}},"deny-import-plugin-from-path":{"identifier":"deny-import-plugin-from-path","description":"Denies the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_path"]}},"deny-import-plugin-from-zip":{"identifier":"deny-import-plugin-from-zip","description":"Denies the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_zip"]}},"deny-list-active-sessions":{"identifier":"deny-list-active-sessions","description":"Denies the list_active_sessions command without any pre-configured scope.","commands":{"allow":[],"deny":["list_active_sessions"]}},"deny-list-audit-entries":{"identifier":"deny-list-audit-entries","description":"Denies the list_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["list_audit_entries"]}},"deny-list-claude-dir":{"identifier":"deny-list-claude-dir","description":"Denies the list_claude_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["list_claude_dir"]}},"deny-list-comparisons":{"identifier":"deny-list-comparisons","description":"Denies the list_comparisons command without any pre-configured scope.","commands":{"allow":[],"deny":["list_comparisons"]}},"deny-list-custom-profiles":{"identifier":"deny-list-custom-profiles","description":"Denies the list_custom_profiles command without any pre-configured scope.","commands":{"allow":[],"deny":["list_custom_profiles"]}},"deny-list-drift-acknowledgements":{"identifier":"deny-list-drift-acknowledgements","description":"Denies the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["list_drift_acknowledgements"]}},"deny-list-installed-plugins":{"identifier":"deny-list-installed-plugins","description":"Denies the list_installed_plugins command without any pre-configured scope.","commands":{"allow":[],"deny":["list_installed_plugins"]}},"deny-list-marketplaces":{"identifier":"deny-list-marketplaces","description":"Denies the list_marketplaces command without any pre-configured scope.","commands":{"allow":[],"deny":["list_marketplaces"]}},"deny-list-required-env":{"identifier":"deny-list-required-env","description":"Denies the list_required_env command without any pre-configured scope.","commands":{"allow":[],"deny":["list_required_env"]}},"deny-list-security-presets":{"identifier":"deny-list-security-presets","description":"Denies the list_security_presets command without any pre-configured scope.","commands":{"allow":[],"deny":["list_security_presets"]}},"deny-list-sessions-summary":{"identifier":"deny-list-sessions-summary","description":"Denies the list_sessions_summary command without any pre-configured scope.","commands":{"allow":[],"deny":["list_sessions_summary"]}},"deny-migrate-drift-acknowledgements":{"identifier":"deny-migrate-drift-acknowledgements","description":"Denies the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["migrate_drift_acknowledgements"]}},"deny-push-file-history":{"identifier":"deny-push-file-history","description":"Denies the push_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["push_file_history"]}},"deny-put-cached-definitions":{"identifier":"deny-put-cached-definitions","description":"Denies the put_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["put_cached_definitions"]}},"deny-read-claude-md":{"identifier":"deny-read-claude-md","description":"Denies the read_claude_md command without any pre-configured scope.","commands":{"allow":[],"deny":["read_claude_md"]}},"deny-read-env-config":{"identifier":"deny-read-env-config","description":"Denies the read_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["read_env_config"]}},"deny-read-file-history":{"identifier":"deny-read-file-history","description":"Denies the read_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file_history"]}},"deny-read-harness-file":{"identifier":"deny-read-harness-file","description":"Denies the read_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_harness_file"]}},"deny-read-hooks":{"identifier":"deny-read-hooks","description":"Denies the read_hooks command without any pre-configured scope.","commands":{"allow":[],"deny":["read_hooks"]}},"deny-read-live-activity":{"identifier":"deny-read-live-activity","description":"Denies the read_live_activity command without any pre-configured scope.","commands":{"allow":[],"deny":["read_live_activity"]}},"deny-read-permissions":{"identifier":"deny-read-permissions","description":"Denies the read_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["read_permissions"]}},"deny-read-plugin-file":{"identifier":"deny-read-plugin-file","description":"Denies the read_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_file"]}},"deny-read-plugin-tree":{"identifier":"deny-read-plugin-tree","description":"Denies the read_plugin_tree command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_tree"]}},"deny-read-session-facet":{"identifier":"deny-read-session-facet","description":"Denies the read_session_facet command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_facet"]}},"deny-read-session-transcript":{"identifier":"deny-read-session-transcript","description":"Denies the read_session_transcript command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_transcript"]}},"deny-read-stats-cache":{"identifier":"deny-read-stats-cache","description":"Denies the read_stats_cache command without any pre-configured scope.","commands":{"allow":[],"deny":["read_stats_cache"]}},"deny-record-bundle-number":{"identifier":"deny-record-bundle-number","description":"Denies the record_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["record_bundle_number"]}},"deny-record-transaction":{"identifier":"deny-record-transaction","description":"Denies the record_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["record_transaction"]}},"deny-remove-worktrees":{"identifier":"deny-remove-worktrees","description":"Denies the remove_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_worktrees"]}},"deny-reveal-evaluation-session":{"identifier":"deny-reveal-evaluation-session","description":"Denies the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["reveal_evaluation_session"]}},"deny-save-comparison":{"identifier":"deny-save-comparison","description":"Denies the save_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["save_comparison"]}},"deny-save-custom-profile":{"identifier":"deny-save-custom-profile","description":"Denies the save_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["save_custom_profile"]}},"deny-save-evaluation":{"identifier":"deny-save-evaluation","description":"Denies the save_evaluation command without any pre-configured scope.","commands":{"allow":[],"deny":["save_evaluation"]}},"deny-save-file-diffs":{"identifier":"deny-save-file-diffs","description":"Denies the save_file_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["save_file_diffs"]}},"deny-save-pairwise-vote":{"identifier":"deny-save-pairwise-vote","description":"Denies the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["save_pairwise_vote"]}},"deny-save-panel":{"identifier":"deny-save-panel","description":"Denies the save_panel command without any pre-configured scope.","commands":{"allow":[],"deny":["save_panel"]}},"deny-scan-claude-config":{"identifier":"deny-scan-claude-config","description":"Denies the scan_claude_config command without any pre-configured scope.","commands":{"allow":[],"deny":["scan_claude_config"]}},"deny-set-keychain-secret":{"identifier":"deny-set-keychain-secret","description":"Denies the set_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["set_keychain_secret"]}},"deny-submit-feedback":{"identifier":"deny-submit-feedback","description":"Denies the submit_feedback command without any pre-configured scope.","commands":{"allow":[],"deny":["submit_feedback"]}},"deny-sync-create-backup":{"identifier":"deny-sync-create-backup","description":"Denies the sync_create_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_create_backup"]}},"deny-sync-file-exists":{"identifier":"deny-sync-file-exists","description":"Denies the sync_file_exists command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_file_exists"]}},"deny-sync-list-backups":{"identifier":"deny-sync-list-backups","description":"Denies the sync_list_backups command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_list_backups"]}},"deny-sync-read-dir":{"identifier":"deny-sync-read-dir","description":"Denies the sync_read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_dir"]}},"deny-sync-read-file":{"identifier":"deny-sync-read-file","description":"Denies the sync_read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_file"]}},"deny-sync-restore-backup":{"identifier":"deny-sync-restore-backup","description":"Denies the sync_restore_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_restore_backup"]}},"deny-sync-write-files":{"identifier":"deny-sync-write-files","description":"Denies the sync_write_files command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_write_files"]}},"deny-tag-comparison-task-type":{"identifier":"deny-tag-comparison-task-type","description":"Denies the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":[],"deny":["tag_comparison_task_type"]}},"deny-trigger-rebuild":{"identifier":"deny-trigger-rebuild","description":"Denies the trigger_rebuild command without any pre-configured scope.","commands":{"allow":[],"deny":["trigger_rebuild"]}},"deny-unacknowledge-drift":{"identifier":"deny-unacknowledge-drift","description":"Denies the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift"]}},"deny-unacknowledge-drift-item":{"identifier":"deny-unacknowledge-drift-item","description":"Denies the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift_item"]}},"deny-uninstall-plugin":{"identifier":"deny-uninstall-plugin","description":"Denies the uninstall_plugin command without any pre-configured scope.","commands":{"allow":[],"deny":["uninstall_plugin"]}},"deny-update-comparison-status":{"identifier":"deny-update-comparison-status","description":"Denies the update_comparison_status command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_status"]}},"deny-update-comparison-title":{"identifier":"deny-update-comparison-title","description":"Denies the update_comparison_title command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_title"]}},"deny-update-evaluation-score":{"identifier":"deny-update-evaluation-score","description":"Denies the update_evaluation_score command without any pre-configured scope.","commands":{"allow":[],"deny":["update_evaluation_score"]}},"deny-update-panel-result":{"identifier":"deny-update-panel-result","description":"Denies the update_panel_result command without any pre-configured scope.","commands":{"allow":[],"deny":["update_panel_result"]}},"deny-update-permissions":{"identifier":"deny-update-permissions","description":"Denies the update_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["update_permissions"]}},"deny-verify-definitions-signature":{"identifier":"deny-verify-definitions-signature","description":"Denies the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":[],"deny":["verify_definitions_signature"]}},"deny-write-config-file":{"identifier":"deny-write-config-file","description":"Denies the write_config_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_config_file"]}},"deny-write-env-config":{"identifier":"deny-write-env-config","description":"Denies the write_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["write_env_config"]}},"deny-write-harness-file":{"identifier":"deny-write-harness-file","description":"Denies the write_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_harness_file"]}},"deny-write-plugin-file":{"identifier":"deny-write-plugin-file","description":"Denies the write_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_plugin_file"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":{"identifier":"default","description":"This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n","permissions":["allow-message","allow-save","allow-open"]},"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"fs":{"default_permission":{"identifier":"default","description":"This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\n\n- On Windows the access to webview data folder `$APPLOCALDATA/EBWebView` is denied.\n- On Linux the access to webview data paths inside `$APPLOCALDATA` are denied.\n","permissions":["create-app-specific-dirs","read-app-specific-dirs-recursive","deny-default"]},"permissions":{"allow-copy-file":{"identifier":"allow-copy-file","description":"Enables the copy_file command without any pre-configured scope.","commands":{"allow":["copy_file"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-exists":{"identifier":"allow-exists","description":"Enables the exists command without any pre-configured scope.","commands":{"allow":["exists"],"deny":[]}},"allow-fstat":{"identifier":"allow-fstat","description":"Enables the fstat command without any pre-configured scope.","commands":{"allow":["fstat"],"deny":[]}},"allow-ftruncate":{"identifier":"allow-ftruncate","description":"Enables the ftruncate command without any pre-configured scope.","commands":{"allow":["ftruncate"],"deny":[]}},"allow-lstat":{"identifier":"allow-lstat","description":"Enables the lstat command without any pre-configured scope.","commands":{"allow":["lstat"],"deny":[]}},"allow-mkdir":{"identifier":"allow-mkdir","description":"Enables the mkdir command without any pre-configured scope.","commands":{"allow":["mkdir"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-read":{"identifier":"allow-read","description":"Enables the read command without any pre-configured scope.","commands":{"allow":["read"],"deny":[]}},"allow-read-dir":{"identifier":"allow-read-dir","description":"Enables the read_dir command without any pre-configured scope.","commands":{"allow":["read_dir"],"deny":[]}},"allow-read-file":{"identifier":"allow-read-file","description":"Enables the read_file command without any pre-configured scope.","commands":{"allow":["read_file"],"deny":[]}},"allow-read-text-file":{"identifier":"allow-read-text-file","description":"Enables the read_text_file command without any pre-configured scope.","commands":{"allow":["read_text_file"],"deny":[]}},"allow-read-text-file-lines":{"identifier":"allow-read-text-file-lines","description":"Enables the read_text_file_lines command without any pre-configured scope.","commands":{"allow":["read_text_file_lines","read_text_file_lines_next"],"deny":[]}},"allow-read-text-file-lines-next":{"identifier":"allow-read-text-file-lines-next","description":"Enables the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":["read_text_file_lines_next"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-rename":{"identifier":"allow-rename","description":"Enables the rename command without any pre-configured scope.","commands":{"allow":["rename"],"deny":[]}},"allow-seek":{"identifier":"allow-seek","description":"Enables the seek command without any pre-configured scope.","commands":{"allow":["seek"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"allow-start-accessing-security-scoped-resource":{"identifier":"allow-start-accessing-security-scoped-resource","description":"Enables the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["start_accessing_security_scoped_resource"],"deny":[]}},"allow-stat":{"identifier":"allow-stat","description":"Enables the stat command without any pre-configured scope.","commands":{"allow":["stat"],"deny":[]}},"allow-stop-accessing-security-scoped-resource":{"identifier":"allow-stop-accessing-security-scoped-resource","description":"Enables the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["stop_accessing_security_scoped_resource"],"deny":[]}},"allow-truncate":{"identifier":"allow-truncate","description":"Enables the truncate command without any pre-configured scope.","commands":{"allow":["truncate"],"deny":[]}},"allow-unwatch":{"identifier":"allow-unwatch","description":"Enables the unwatch command without any pre-configured scope.","commands":{"allow":["unwatch"],"deny":[]}},"allow-watch":{"identifier":"allow-watch","description":"Enables the watch command without any pre-configured scope.","commands":{"allow":["watch"],"deny":[]}},"allow-write":{"identifier":"allow-write","description":"Enables the write command without any pre-configured scope.","commands":{"allow":["write"],"deny":[]}},"allow-write-file":{"identifier":"allow-write-file","description":"Enables the write_file command without any pre-configured scope.","commands":{"allow":["write_file","open","write"],"deny":[]}},"allow-write-text-file":{"identifier":"allow-write-text-file","description":"Enables the write_text_file command without any pre-configured scope.","commands":{"allow":["write_text_file"],"deny":[]}},"deny-copy-file":{"identifier":"deny-copy-file","description":"Denies the copy_file command without any pre-configured scope.","commands":{"allow":[],"deny":["copy_file"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-exists":{"identifier":"deny-exists","description":"Denies the exists command without any pre-configured scope.","commands":{"allow":[],"deny":["exists"]}},"deny-fstat":{"identifier":"deny-fstat","description":"Denies the fstat command without any pre-configured scope.","commands":{"allow":[],"deny":["fstat"]}},"deny-ftruncate":{"identifier":"deny-ftruncate","description":"Denies the ftruncate command without any pre-configured scope.","commands":{"allow":[],"deny":["ftruncate"]}},"deny-lstat":{"identifier":"deny-lstat","description":"Denies the lstat command without any pre-configured scope.","commands":{"allow":[],"deny":["lstat"]}},"deny-mkdir":{"identifier":"deny-mkdir","description":"Denies the mkdir command without any pre-configured scope.","commands":{"allow":[],"deny":["mkdir"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-read":{"identifier":"deny-read","description":"Denies the read command without any pre-configured scope.","commands":{"allow":[],"deny":["read"]}},"deny-read-dir":{"identifier":"deny-read-dir","description":"Denies the read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["read_dir"]}},"deny-read-file":{"identifier":"deny-read-file","description":"Denies the read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file"]}},"deny-read-text-file":{"identifier":"deny-read-text-file","description":"Denies the read_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file"]}},"deny-read-text-file-lines":{"identifier":"deny-read-text-file-lines","description":"Denies the read_text_file_lines command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines"]}},"deny-read-text-file-lines-next":{"identifier":"deny-read-text-file-lines-next","description":"Denies the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines_next"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-rename":{"identifier":"deny-rename","description":"Denies the rename command without any pre-configured scope.","commands":{"allow":[],"deny":["rename"]}},"deny-seek":{"identifier":"deny-seek","description":"Denies the seek command without any pre-configured scope.","commands":{"allow":[],"deny":["seek"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}},"deny-start-accessing-security-scoped-resource":{"identifier":"deny-start-accessing-security-scoped-resource","description":"Denies the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["start_accessing_security_scoped_resource"]}},"deny-stat":{"identifier":"deny-stat","description":"Denies the stat command without any pre-configured scope.","commands":{"allow":[],"deny":["stat"]}},"deny-stop-accessing-security-scoped-resource":{"identifier":"deny-stop-accessing-security-scoped-resource","description":"Denies the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["stop_accessing_security_scoped_resource"]}},"deny-truncate":{"identifier":"deny-truncate","description":"Denies the truncate command without any pre-configured scope.","commands":{"allow":[],"deny":["truncate"]}},"deny-unwatch":{"identifier":"deny-unwatch","description":"Denies the unwatch command without any pre-configured scope.","commands":{"allow":[],"deny":["unwatch"]}},"deny-watch":{"identifier":"deny-watch","description":"Denies the watch command without any pre-configured scope.","commands":{"allow":[],"deny":["watch"]}},"deny-webview-data-linux":{"identifier":"deny-webview-data-linux","description":"This denies access to the following paths\n\n- `$APPLOCALDATA/CacheStorage/**`\n- `$APPLOCALDATA/cookies`\n- `$APPLOCALDATA/hsts-storage.sqlite`\n- `$APPLOCALDATA/serviceworkers/**`\n- `$APPLOCALDATA/WebKitCache/**`\n- `$APPLOCALDATA/databases/**`\n- `$APPLOCALDATA/localstorage/**`\n- `$APPLOCALDATA/mediakeys/**`\n- `$APPLOCALDATA/storage/**`\n\non linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/CacheStorage/**"},{"path":"$APPLOCALDATA/cookies"},{"path":"$APPLOCALDATA/hsts-storage.sqlite"},{"path":"$APPLOCALDATA/serviceworkers/**"},{"path":"$APPLOCALDATA/WebKitCache/**"},{"path":"$APPLOCALDATA/databases/**"},{"path":"$APPLOCALDATA/localstorage/**"},{"path":"$APPLOCALDATA/mediakeys/**"},{"path":"$APPLOCALDATA/storage/**"}]},"platforms":["linux"]},"deny-webview-data-windows":{"identifier":"deny-webview-data-windows","description":"This denies access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/EBWebView/**"}]},"platforms":["windows"]},"deny-write":{"identifier":"deny-write","description":"Denies the write command without any pre-configured scope.","commands":{"allow":[],"deny":["write"]}},"deny-write-file":{"identifier":"deny-write-file","description":"Denies the write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_file"]}},"deny-write-text-file":{"identifier":"deny-write-text-file","description":"Denies the write_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text_file"]}},"read-all":{"identifier":"read-all","description":"This enables all read related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists","watch","unwatch"],"deny":[]}},"read-dirs":{"identifier":"read-dirs","description":"This enables directory read and file metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists"],"deny":[]}},"read-files":{"identifier":"read-files","description":"This enables file read related commands without any pre-configured accessible paths.","commands":{"allow":["read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists"],"deny":[]}},"read-meta":{"identifier":"read-meta","description":"This enables all index or metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists","size"],"deny":[]}},"scope":{"identifier":"scope","description":"An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n","commands":{"allow":[],"deny":[]}},"scope-app":{"identifier":"scope-app","description":"This scope permits access to all files and list content of top level directories in the application folders.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"},{"path":"$APPDATA"},{"path":"$APPDATA/*"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"},{"path":"$APPCACHE"},{"path":"$APPCACHE/*"},{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-app-index":{"identifier":"scope-app-index","description":"This scope permits to list all files and folders in the application directories.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPDATA"},{"path":"$APPLOCALDATA"},{"path":"$APPCACHE"},{"path":"$APPLOG"}]}},"scope-app-recursive":{"identifier":"scope-app-recursive","description":"This scope permits recursive access to the complete application folders, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"},{"path":"$APPDATA"},{"path":"$APPDATA/**"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$APPCACHE"},{"path":"$APPCACHE/**"},{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-appcache":{"identifier":"scope-appcache","description":"This scope permits access to all files and list content of top level directories in the `$APPCACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/*"}]}},"scope-appcache-index":{"identifier":"scope-appcache-index","description":"This scope permits to list all files and folders in the `$APPCACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"}]}},"scope-appcache-recursive":{"identifier":"scope-appcache-recursive","description":"This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/**"}]}},"scope-appconfig":{"identifier":"scope-appconfig","description":"This scope permits access to all files and list content of top level directories in the `$APPCONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"}]}},"scope-appconfig-index":{"identifier":"scope-appconfig-index","description":"This scope permits to list all files and folders in the `$APPCONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"}]}},"scope-appconfig-recursive":{"identifier":"scope-appconfig-recursive","description":"This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"}]}},"scope-appdata":{"identifier":"scope-appdata","description":"This scope permits access to all files and list content of top level directories in the `$APPDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/*"}]}},"scope-appdata-index":{"identifier":"scope-appdata-index","description":"This scope permits to list all files and folders in the `$APPDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"}]}},"scope-appdata-recursive":{"identifier":"scope-appdata-recursive","description":"This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]}},"scope-applocaldata":{"identifier":"scope-applocaldata","description":"This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"}]}},"scope-applocaldata-index":{"identifier":"scope-applocaldata-index","description":"This scope permits to list all files and folders in the `$APPLOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"}]}},"scope-applocaldata-recursive":{"identifier":"scope-applocaldata-recursive","description":"This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]}},"scope-applog":{"identifier":"scope-applog","description":"This scope permits access to all files and list content of top level directories in the `$APPLOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-applog-index":{"identifier":"scope-applog-index","description":"This scope permits to list all files and folders in the `$APPLOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"}]}},"scope-applog-recursive":{"identifier":"scope-applog-recursive","description":"This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-audio":{"identifier":"scope-audio","description":"This scope permits access to all files and list content of top level directories in the `$AUDIO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/*"}]}},"scope-audio-index":{"identifier":"scope-audio-index","description":"This scope permits to list all files and folders in the `$AUDIO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"}]}},"scope-audio-recursive":{"identifier":"scope-audio-recursive","description":"This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/**"}]}},"scope-cache":{"identifier":"scope-cache","description":"This scope permits access to all files and list content of top level directories in the `$CACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/*"}]}},"scope-cache-index":{"identifier":"scope-cache-index","description":"This scope permits to list all files and folders in the `$CACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"}]}},"scope-cache-recursive":{"identifier":"scope-cache-recursive","description":"This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/**"}]}},"scope-config":{"identifier":"scope-config","description":"This scope permits access to all files and list content of top level directories in the `$CONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/*"}]}},"scope-config-index":{"identifier":"scope-config-index","description":"This scope permits to list all files and folders in the `$CONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"}]}},"scope-config-recursive":{"identifier":"scope-config-recursive","description":"This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/**"}]}},"scope-data":{"identifier":"scope-data","description":"This scope permits access to all files and list content of top level directories in the `$DATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/*"}]}},"scope-data-index":{"identifier":"scope-data-index","description":"This scope permits to list all files and folders in the `$DATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"}]}},"scope-data-recursive":{"identifier":"scope-data-recursive","description":"This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/**"}]}},"scope-desktop":{"identifier":"scope-desktop","description":"This scope permits access to all files and list content of top level directories in the `$DESKTOP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/*"}]}},"scope-desktop-index":{"identifier":"scope-desktop-index","description":"This scope permits to list all files and folders in the `$DESKTOP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"}]}},"scope-desktop-recursive":{"identifier":"scope-desktop-recursive","description":"This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/**"}]}},"scope-document":{"identifier":"scope-document","description":"This scope permits access to all files and list content of top level directories in the `$DOCUMENT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/*"}]}},"scope-document-index":{"identifier":"scope-document-index","description":"This scope permits to list all files and folders in the `$DOCUMENT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"}]}},"scope-document-recursive":{"identifier":"scope-document-recursive","description":"This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/**"}]}},"scope-download":{"identifier":"scope-download","description":"This scope permits access to all files and list content of top level directories in the `$DOWNLOAD` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/*"}]}},"scope-download-index":{"identifier":"scope-download-index","description":"This scope permits to list all files and folders in the `$DOWNLOAD`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"}]}},"scope-download-recursive":{"identifier":"scope-download-recursive","description":"This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/**"}]}},"scope-exe":{"identifier":"scope-exe","description":"This scope permits access to all files and list content of top level directories in the `$EXE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/*"}]}},"scope-exe-index":{"identifier":"scope-exe-index","description":"This scope permits to list all files and folders in the `$EXE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"}]}},"scope-exe-recursive":{"identifier":"scope-exe-recursive","description":"This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/**"}]}},"scope-font":{"identifier":"scope-font","description":"This scope permits access to all files and list content of top level directories in the `$FONT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/*"}]}},"scope-font-index":{"identifier":"scope-font-index","description":"This scope permits to list all files and folders in the `$FONT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"}]}},"scope-font-recursive":{"identifier":"scope-font-recursive","description":"This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/**"}]}},"scope-home":{"identifier":"scope-home","description":"This scope permits access to all files and list content of top level directories in the `$HOME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/*"}]}},"scope-home-index":{"identifier":"scope-home-index","description":"This scope permits to list all files and folders in the `$HOME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"}]}},"scope-home-recursive":{"identifier":"scope-home-recursive","description":"This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/**"}]}},"scope-localdata":{"identifier":"scope-localdata","description":"This scope permits access to all files and list content of top level directories in the `$LOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/*"}]}},"scope-localdata-index":{"identifier":"scope-localdata-index","description":"This scope permits to list all files and folders in the `$LOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"}]}},"scope-localdata-recursive":{"identifier":"scope-localdata-recursive","description":"This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/**"}]}},"scope-log":{"identifier":"scope-log","description":"This scope permits access to all files and list content of top level directories in the `$LOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/*"}]}},"scope-log-index":{"identifier":"scope-log-index","description":"This scope permits to list all files and folders in the `$LOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"}]}},"scope-log-recursive":{"identifier":"scope-log-recursive","description":"This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/**"}]}},"scope-picture":{"identifier":"scope-picture","description":"This scope permits access to all files and list content of top level directories in the `$PICTURE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/*"}]}},"scope-picture-index":{"identifier":"scope-picture-index","description":"This scope permits to list all files and folders in the `$PICTURE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"}]}},"scope-picture-recursive":{"identifier":"scope-picture-recursive","description":"This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/**"}]}},"scope-public":{"identifier":"scope-public","description":"This scope permits access to all files and list content of top level directories in the `$PUBLIC` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/*"}]}},"scope-public-index":{"identifier":"scope-public-index","description":"This scope permits to list all files and folders in the `$PUBLIC`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"}]}},"scope-public-recursive":{"identifier":"scope-public-recursive","description":"This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/**"}]}},"scope-resource":{"identifier":"scope-resource","description":"This scope permits access to all files and list content of top level directories in the `$RESOURCE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/*"}]}},"scope-resource-index":{"identifier":"scope-resource-index","description":"This scope permits to list all files and folders in the `$RESOURCE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"}]}},"scope-resource-recursive":{"identifier":"scope-resource-recursive","description":"This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/**"}]}},"scope-runtime":{"identifier":"scope-runtime","description":"This scope permits access to all files and list content of top level directories in the `$RUNTIME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/*"}]}},"scope-runtime-index":{"identifier":"scope-runtime-index","description":"This scope permits to list all files and folders in the `$RUNTIME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"}]}},"scope-runtime-recursive":{"identifier":"scope-runtime-recursive","description":"This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/**"}]}},"scope-temp":{"identifier":"scope-temp","description":"This scope permits access to all files and list content of top level directories in the `$TEMP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/*"}]}},"scope-temp-index":{"identifier":"scope-temp-index","description":"This scope permits to list all files and folders in the `$TEMP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"}]}},"scope-temp-recursive":{"identifier":"scope-temp-recursive","description":"This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/**"}]}},"scope-template":{"identifier":"scope-template","description":"This scope permits access to all files and list content of top level directories in the `$TEMPLATE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/*"}]}},"scope-template-index":{"identifier":"scope-template-index","description":"This scope permits to list all files and folders in the `$TEMPLATE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"}]}},"scope-template-recursive":{"identifier":"scope-template-recursive","description":"This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/**"}]}},"scope-video":{"identifier":"scope-video","description":"This scope permits access to all files and list content of top level directories in the `$VIDEO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/*"}]}},"scope-video-index":{"identifier":"scope-video-index","description":"This scope permits to list all files and folders in the `$VIDEO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"}]}},"scope-video-recursive":{"identifier":"scope-video-recursive","description":"This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/**"}]}}},"permission_sets":{"allow-app-meta":{"identifier":"allow-app-meta","description":"This allows non-recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-index"]},"allow-app-meta-recursive":{"identifier":"allow-app-meta-recursive","description":"This allows full recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-recursive"]},"allow-app-read":{"identifier":"allow-app-read","description":"This allows non-recursive read access to the application folders.","permissions":["read-all","scope-app"]},"allow-app-read-recursive":{"identifier":"allow-app-read-recursive","description":"This allows full recursive read access to the complete application folders, files and subdirectories.","permissions":["read-all","scope-app-recursive"]},"allow-app-write":{"identifier":"allow-app-write","description":"This allows non-recursive write access to the application folders.","permissions":["write-all","scope-app"]},"allow-app-write-recursive":{"identifier":"allow-app-write-recursive","description":"This allows full recursive write access to the complete application folders, files and subdirectories.","permissions":["write-all","scope-app-recursive"]},"allow-appcache-meta":{"identifier":"allow-appcache-meta","description":"This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-index"]},"allow-appcache-meta-recursive":{"identifier":"allow-appcache-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-recursive"]},"allow-appcache-read":{"identifier":"allow-appcache-read","description":"This allows non-recursive read access to the `$APPCACHE` folder.","permissions":["read-all","scope-appcache"]},"allow-appcache-read-recursive":{"identifier":"allow-appcache-read-recursive","description":"This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["read-all","scope-appcache-recursive"]},"allow-appcache-write":{"identifier":"allow-appcache-write","description":"This allows non-recursive write access to the `$APPCACHE` folder.","permissions":["write-all","scope-appcache"]},"allow-appcache-write-recursive":{"identifier":"allow-appcache-write-recursive","description":"This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["write-all","scope-appcache-recursive"]},"allow-appconfig-meta":{"identifier":"allow-appconfig-meta","description":"This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-index"]},"allow-appconfig-meta-recursive":{"identifier":"allow-appconfig-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-recursive"]},"allow-appconfig-read":{"identifier":"allow-appconfig-read","description":"This allows non-recursive read access to the `$APPCONFIG` folder.","permissions":["read-all","scope-appconfig"]},"allow-appconfig-read-recursive":{"identifier":"allow-appconfig-read-recursive","description":"This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["read-all","scope-appconfig-recursive"]},"allow-appconfig-write":{"identifier":"allow-appconfig-write","description":"This allows non-recursive write access to the `$APPCONFIG` folder.","permissions":["write-all","scope-appconfig"]},"allow-appconfig-write-recursive":{"identifier":"allow-appconfig-write-recursive","description":"This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["write-all","scope-appconfig-recursive"]},"allow-appdata-meta":{"identifier":"allow-appdata-meta","description":"This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-index"]},"allow-appdata-meta-recursive":{"identifier":"allow-appdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-recursive"]},"allow-appdata-read":{"identifier":"allow-appdata-read","description":"This allows non-recursive read access to the `$APPDATA` folder.","permissions":["read-all","scope-appdata"]},"allow-appdata-read-recursive":{"identifier":"allow-appdata-read-recursive","description":"This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["read-all","scope-appdata-recursive"]},"allow-appdata-write":{"identifier":"allow-appdata-write","description":"This allows non-recursive write access to the `$APPDATA` folder.","permissions":["write-all","scope-appdata"]},"allow-appdata-write-recursive":{"identifier":"allow-appdata-write-recursive","description":"This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["write-all","scope-appdata-recursive"]},"allow-applocaldata-meta":{"identifier":"allow-applocaldata-meta","description":"This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-index"]},"allow-applocaldata-meta-recursive":{"identifier":"allow-applocaldata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-recursive"]},"allow-applocaldata-read":{"identifier":"allow-applocaldata-read","description":"This allows non-recursive read access to the `$APPLOCALDATA` folder.","permissions":["read-all","scope-applocaldata"]},"allow-applocaldata-read-recursive":{"identifier":"allow-applocaldata-read-recursive","description":"This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-applocaldata-recursive"]},"allow-applocaldata-write":{"identifier":"allow-applocaldata-write","description":"This allows non-recursive write access to the `$APPLOCALDATA` folder.","permissions":["write-all","scope-applocaldata"]},"allow-applocaldata-write-recursive":{"identifier":"allow-applocaldata-write-recursive","description":"This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-applocaldata-recursive"]},"allow-applog-meta":{"identifier":"allow-applog-meta","description":"This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-index"]},"allow-applog-meta-recursive":{"identifier":"allow-applog-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-recursive"]},"allow-applog-read":{"identifier":"allow-applog-read","description":"This allows non-recursive read access to the `$APPLOG` folder.","permissions":["read-all","scope-applog"]},"allow-applog-read-recursive":{"identifier":"allow-applog-read-recursive","description":"This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["read-all","scope-applog-recursive"]},"allow-applog-write":{"identifier":"allow-applog-write","description":"This allows non-recursive write access to the `$APPLOG` folder.","permissions":["write-all","scope-applog"]},"allow-applog-write-recursive":{"identifier":"allow-applog-write-recursive","description":"This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["write-all","scope-applog-recursive"]},"allow-audio-meta":{"identifier":"allow-audio-meta","description":"This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-index"]},"allow-audio-meta-recursive":{"identifier":"allow-audio-meta-recursive","description":"This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-recursive"]},"allow-audio-read":{"identifier":"allow-audio-read","description":"This allows non-recursive read access to the `$AUDIO` folder.","permissions":["read-all","scope-audio"]},"allow-audio-read-recursive":{"identifier":"allow-audio-read-recursive","description":"This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["read-all","scope-audio-recursive"]},"allow-audio-write":{"identifier":"allow-audio-write","description":"This allows non-recursive write access to the `$AUDIO` folder.","permissions":["write-all","scope-audio"]},"allow-audio-write-recursive":{"identifier":"allow-audio-write-recursive","description":"This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["write-all","scope-audio-recursive"]},"allow-cache-meta":{"identifier":"allow-cache-meta","description":"This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-index"]},"allow-cache-meta-recursive":{"identifier":"allow-cache-meta-recursive","description":"This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-recursive"]},"allow-cache-read":{"identifier":"allow-cache-read","description":"This allows non-recursive read access to the `$CACHE` folder.","permissions":["read-all","scope-cache"]},"allow-cache-read-recursive":{"identifier":"allow-cache-read-recursive","description":"This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.","permissions":["read-all","scope-cache-recursive"]},"allow-cache-write":{"identifier":"allow-cache-write","description":"This allows non-recursive write access to the `$CACHE` folder.","permissions":["write-all","scope-cache"]},"allow-cache-write-recursive":{"identifier":"allow-cache-write-recursive","description":"This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.","permissions":["write-all","scope-cache-recursive"]},"allow-config-meta":{"identifier":"allow-config-meta","description":"This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-index"]},"allow-config-meta-recursive":{"identifier":"allow-config-meta-recursive","description":"This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-recursive"]},"allow-config-read":{"identifier":"allow-config-read","description":"This allows non-recursive read access to the `$CONFIG` folder.","permissions":["read-all","scope-config"]},"allow-config-read-recursive":{"identifier":"allow-config-read-recursive","description":"This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["read-all","scope-config-recursive"]},"allow-config-write":{"identifier":"allow-config-write","description":"This allows non-recursive write access to the `$CONFIG` folder.","permissions":["write-all","scope-config"]},"allow-config-write-recursive":{"identifier":"allow-config-write-recursive","description":"This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["write-all","scope-config-recursive"]},"allow-data-meta":{"identifier":"allow-data-meta","description":"This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-index"]},"allow-data-meta-recursive":{"identifier":"allow-data-meta-recursive","description":"This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-recursive"]},"allow-data-read":{"identifier":"allow-data-read","description":"This allows non-recursive read access to the `$DATA` folder.","permissions":["read-all","scope-data"]},"allow-data-read-recursive":{"identifier":"allow-data-read-recursive","description":"This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.","permissions":["read-all","scope-data-recursive"]},"allow-data-write":{"identifier":"allow-data-write","description":"This allows non-recursive write access to the `$DATA` folder.","permissions":["write-all","scope-data"]},"allow-data-write-recursive":{"identifier":"allow-data-write-recursive","description":"This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.","permissions":["write-all","scope-data-recursive"]},"allow-desktop-meta":{"identifier":"allow-desktop-meta","description":"This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-index"]},"allow-desktop-meta-recursive":{"identifier":"allow-desktop-meta-recursive","description":"This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-recursive"]},"allow-desktop-read":{"identifier":"allow-desktop-read","description":"This allows non-recursive read access to the `$DESKTOP` folder.","permissions":["read-all","scope-desktop"]},"allow-desktop-read-recursive":{"identifier":"allow-desktop-read-recursive","description":"This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["read-all","scope-desktop-recursive"]},"allow-desktop-write":{"identifier":"allow-desktop-write","description":"This allows non-recursive write access to the `$DESKTOP` folder.","permissions":["write-all","scope-desktop"]},"allow-desktop-write-recursive":{"identifier":"allow-desktop-write-recursive","description":"This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["write-all","scope-desktop-recursive"]},"allow-document-meta":{"identifier":"allow-document-meta","description":"This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-index"]},"allow-document-meta-recursive":{"identifier":"allow-document-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-recursive"]},"allow-document-read":{"identifier":"allow-document-read","description":"This allows non-recursive read access to the `$DOCUMENT` folder.","permissions":["read-all","scope-document"]},"allow-document-read-recursive":{"identifier":"allow-document-read-recursive","description":"This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["read-all","scope-document-recursive"]},"allow-document-write":{"identifier":"allow-document-write","description":"This allows non-recursive write access to the `$DOCUMENT` folder.","permissions":["write-all","scope-document"]},"allow-document-write-recursive":{"identifier":"allow-document-write-recursive","description":"This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["write-all","scope-document-recursive"]},"allow-download-meta":{"identifier":"allow-download-meta","description":"This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-index"]},"allow-download-meta-recursive":{"identifier":"allow-download-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-recursive"]},"allow-download-read":{"identifier":"allow-download-read","description":"This allows non-recursive read access to the `$DOWNLOAD` folder.","permissions":["read-all","scope-download"]},"allow-download-read-recursive":{"identifier":"allow-download-read-recursive","description":"This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["read-all","scope-download-recursive"]},"allow-download-write":{"identifier":"allow-download-write","description":"This allows non-recursive write access to the `$DOWNLOAD` folder.","permissions":["write-all","scope-download"]},"allow-download-write-recursive":{"identifier":"allow-download-write-recursive","description":"This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["write-all","scope-download-recursive"]},"allow-exe-meta":{"identifier":"allow-exe-meta","description":"This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-index"]},"allow-exe-meta-recursive":{"identifier":"allow-exe-meta-recursive","description":"This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-recursive"]},"allow-exe-read":{"identifier":"allow-exe-read","description":"This allows non-recursive read access to the `$EXE` folder.","permissions":["read-all","scope-exe"]},"allow-exe-read-recursive":{"identifier":"allow-exe-read-recursive","description":"This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.","permissions":["read-all","scope-exe-recursive"]},"allow-exe-write":{"identifier":"allow-exe-write","description":"This allows non-recursive write access to the `$EXE` folder.","permissions":["write-all","scope-exe"]},"allow-exe-write-recursive":{"identifier":"allow-exe-write-recursive","description":"This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.","permissions":["write-all","scope-exe-recursive"]},"allow-font-meta":{"identifier":"allow-font-meta","description":"This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-index"]},"allow-font-meta-recursive":{"identifier":"allow-font-meta-recursive","description":"This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-recursive"]},"allow-font-read":{"identifier":"allow-font-read","description":"This allows non-recursive read access to the `$FONT` folder.","permissions":["read-all","scope-font"]},"allow-font-read-recursive":{"identifier":"allow-font-read-recursive","description":"This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.","permissions":["read-all","scope-font-recursive"]},"allow-font-write":{"identifier":"allow-font-write","description":"This allows non-recursive write access to the `$FONT` folder.","permissions":["write-all","scope-font"]},"allow-font-write-recursive":{"identifier":"allow-font-write-recursive","description":"This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.","permissions":["write-all","scope-font-recursive"]},"allow-home-meta":{"identifier":"allow-home-meta","description":"This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-index"]},"allow-home-meta-recursive":{"identifier":"allow-home-meta-recursive","description":"This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-recursive"]},"allow-home-read":{"identifier":"allow-home-read","description":"This allows non-recursive read access to the `$HOME` folder.","permissions":["read-all","scope-home"]},"allow-home-read-recursive":{"identifier":"allow-home-read-recursive","description":"This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.","permissions":["read-all","scope-home-recursive"]},"allow-home-write":{"identifier":"allow-home-write","description":"This allows non-recursive write access to the `$HOME` folder.","permissions":["write-all","scope-home"]},"allow-home-write-recursive":{"identifier":"allow-home-write-recursive","description":"This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.","permissions":["write-all","scope-home-recursive"]},"allow-localdata-meta":{"identifier":"allow-localdata-meta","description":"This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-index"]},"allow-localdata-meta-recursive":{"identifier":"allow-localdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-recursive"]},"allow-localdata-read":{"identifier":"allow-localdata-read","description":"This allows non-recursive read access to the `$LOCALDATA` folder.","permissions":["read-all","scope-localdata"]},"allow-localdata-read-recursive":{"identifier":"allow-localdata-read-recursive","description":"This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-localdata-recursive"]},"allow-localdata-write":{"identifier":"allow-localdata-write","description":"This allows non-recursive write access to the `$LOCALDATA` folder.","permissions":["write-all","scope-localdata"]},"allow-localdata-write-recursive":{"identifier":"allow-localdata-write-recursive","description":"This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-localdata-recursive"]},"allow-log-meta":{"identifier":"allow-log-meta","description":"This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-index"]},"allow-log-meta-recursive":{"identifier":"allow-log-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-recursive"]},"allow-log-read":{"identifier":"allow-log-read","description":"This allows non-recursive read access to the `$LOG` folder.","permissions":["read-all","scope-log"]},"allow-log-read-recursive":{"identifier":"allow-log-read-recursive","description":"This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.","permissions":["read-all","scope-log-recursive"]},"allow-log-write":{"identifier":"allow-log-write","description":"This allows non-recursive write access to the `$LOG` folder.","permissions":["write-all","scope-log"]},"allow-log-write-recursive":{"identifier":"allow-log-write-recursive","description":"This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.","permissions":["write-all","scope-log-recursive"]},"allow-picture-meta":{"identifier":"allow-picture-meta","description":"This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-index"]},"allow-picture-meta-recursive":{"identifier":"allow-picture-meta-recursive","description":"This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-recursive"]},"allow-picture-read":{"identifier":"allow-picture-read","description":"This allows non-recursive read access to the `$PICTURE` folder.","permissions":["read-all","scope-picture"]},"allow-picture-read-recursive":{"identifier":"allow-picture-read-recursive","description":"This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["read-all","scope-picture-recursive"]},"allow-picture-write":{"identifier":"allow-picture-write","description":"This allows non-recursive write access to the `$PICTURE` folder.","permissions":["write-all","scope-picture"]},"allow-picture-write-recursive":{"identifier":"allow-picture-write-recursive","description":"This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["write-all","scope-picture-recursive"]},"allow-public-meta":{"identifier":"allow-public-meta","description":"This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-index"]},"allow-public-meta-recursive":{"identifier":"allow-public-meta-recursive","description":"This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-recursive"]},"allow-public-read":{"identifier":"allow-public-read","description":"This allows non-recursive read access to the `$PUBLIC` folder.","permissions":["read-all","scope-public"]},"allow-public-read-recursive":{"identifier":"allow-public-read-recursive","description":"This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["read-all","scope-public-recursive"]},"allow-public-write":{"identifier":"allow-public-write","description":"This allows non-recursive write access to the `$PUBLIC` folder.","permissions":["write-all","scope-public"]},"allow-public-write-recursive":{"identifier":"allow-public-write-recursive","description":"This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["write-all","scope-public-recursive"]},"allow-resource-meta":{"identifier":"allow-resource-meta","description":"This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-index"]},"allow-resource-meta-recursive":{"identifier":"allow-resource-meta-recursive","description":"This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-recursive"]},"allow-resource-read":{"identifier":"allow-resource-read","description":"This allows non-recursive read access to the `$RESOURCE` folder.","permissions":["read-all","scope-resource"]},"allow-resource-read-recursive":{"identifier":"allow-resource-read-recursive","description":"This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["read-all","scope-resource-recursive"]},"allow-resource-write":{"identifier":"allow-resource-write","description":"This allows non-recursive write access to the `$RESOURCE` folder.","permissions":["write-all","scope-resource"]},"allow-resource-write-recursive":{"identifier":"allow-resource-write-recursive","description":"This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["write-all","scope-resource-recursive"]},"allow-runtime-meta":{"identifier":"allow-runtime-meta","description":"This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-index"]},"allow-runtime-meta-recursive":{"identifier":"allow-runtime-meta-recursive","description":"This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-recursive"]},"allow-runtime-read":{"identifier":"allow-runtime-read","description":"This allows non-recursive read access to the `$RUNTIME` folder.","permissions":["read-all","scope-runtime"]},"allow-runtime-read-recursive":{"identifier":"allow-runtime-read-recursive","description":"This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["read-all","scope-runtime-recursive"]},"allow-runtime-write":{"identifier":"allow-runtime-write","description":"This allows non-recursive write access to the `$RUNTIME` folder.","permissions":["write-all","scope-runtime"]},"allow-runtime-write-recursive":{"identifier":"allow-runtime-write-recursive","description":"This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["write-all","scope-runtime-recursive"]},"allow-temp-meta":{"identifier":"allow-temp-meta","description":"This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-index"]},"allow-temp-meta-recursive":{"identifier":"allow-temp-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-recursive"]},"allow-temp-read":{"identifier":"allow-temp-read","description":"This allows non-recursive read access to the `$TEMP` folder.","permissions":["read-all","scope-temp"]},"allow-temp-read-recursive":{"identifier":"allow-temp-read-recursive","description":"This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.","permissions":["read-all","scope-temp-recursive"]},"allow-temp-write":{"identifier":"allow-temp-write","description":"This allows non-recursive write access to the `$TEMP` folder.","permissions":["write-all","scope-temp"]},"allow-temp-write-recursive":{"identifier":"allow-temp-write-recursive","description":"This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.","permissions":["write-all","scope-temp-recursive"]},"allow-template-meta":{"identifier":"allow-template-meta","description":"This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-index"]},"allow-template-meta-recursive":{"identifier":"allow-template-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-recursive"]},"allow-template-read":{"identifier":"allow-template-read","description":"This allows non-recursive read access to the `$TEMPLATE` folder.","permissions":["read-all","scope-template"]},"allow-template-read-recursive":{"identifier":"allow-template-read-recursive","description":"This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["read-all","scope-template-recursive"]},"allow-template-write":{"identifier":"allow-template-write","description":"This allows non-recursive write access to the `$TEMPLATE` folder.","permissions":["write-all","scope-template"]},"allow-template-write-recursive":{"identifier":"allow-template-write-recursive","description":"This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["write-all","scope-template-recursive"]},"allow-video-meta":{"identifier":"allow-video-meta","description":"This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-index"]},"allow-video-meta-recursive":{"identifier":"allow-video-meta-recursive","description":"This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-recursive"]},"allow-video-read":{"identifier":"allow-video-read","description":"This allows non-recursive read access to the `$VIDEO` folder.","permissions":["read-all","scope-video"]},"allow-video-read-recursive":{"identifier":"allow-video-read-recursive","description":"This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["read-all","scope-video-recursive"]},"allow-video-write":{"identifier":"allow-video-write","description":"This allows non-recursive write access to the `$VIDEO` folder.","permissions":["write-all","scope-video"]},"allow-video-write-recursive":{"identifier":"allow-video-write-recursive","description":"This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["write-all","scope-video-recursive"]},"create-app-specific-dirs":{"identifier":"create-app-specific-dirs","description":"This permissions allows to create the application specific directories.\n","permissions":["allow-mkdir","scope-app-index"]},"deny-default":{"identifier":"deny-default","description":"This denies access to dangerous Tauri relevant files and folders by default.","permissions":["deny-webview-data-linux","deny-webview-data-windows"]},"read-app-specific-dirs-recursive":{"identifier":"read-app-specific-dirs-recursive","description":"This permission allows recursive read functionality on the application\nspecific base directories.\n","permissions":["allow-read-dir","allow-read-file","allow-read-text-file","allow-read-text-file-lines","allow-read-text-file-lines-next","allow-exists","scope-app-recursive"]},"write-all":{"identifier":"write-all","description":"This enables all write related commands without any pre-configured accessible paths.","permissions":["allow-mkdir","allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]},"write-files":{"identifier":"write-files","description":"This enables all file write related commands without any pre-configured accessible paths.","permissions":["allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]}},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"description":"A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},{"properties":{"path":{"description":"A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"}},"required":["path"],"type":"object"}],"description":"FS scope entry.","title":"FsScopeEntry"}},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"cmd":{"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"window-state":{"default_permission":{"identifier":"default","description":"This permission set configures what kind of\noperations are available from the window state plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n","permissions":["allow-filename","allow-restore-state","allow-save-window-state"]},"permissions":{"allow-filename":{"identifier":"allow-filename","description":"Enables the filename command without any pre-configured scope.","commands":{"allow":["filename"],"deny":[]}},"allow-restore-state":{"identifier":"allow-restore-state","description":"Enables the restore_state command without any pre-configured scope.","commands":{"allow":["restore_state"],"deny":[]}},"allow-save-window-state":{"identifier":"allow-save-window-state","description":"Enables the save_window_state command without any pre-configured scope.","commands":{"allow":["save_window_state"],"deny":[]}},"deny-filename":{"identifier":"deny-filename","description":"Denies the filename command without any pre-configured scope.","commands":{"allow":[],"deny":["filename"]}},"deny-restore-state":{"identifier":"deny-restore-state","description":"Denies the restore_state command without any pre-configured scope.","commands":{"allow":[],"deny":["restore_state"]}},"deny-save-window-state":{"identifier":"deny-save-window-state","description":"Denies the save_window_state command without any pre-configured scope.","commands":{"allow":[],"deny":["save_window_state"]}}},"permission_sets":{},"global_scope_schema":null}} \ No newline at end of file +{"__app-acl__":{"default_permission":null,"permissions":{"allow-acknowledge-drift":{"identifier":"allow-acknowledge-drift","description":"Enables the acknowledge_drift command without any pre-configured scope.","commands":{"allow":["acknowledge_drift"],"deny":[]}},"allow-acknowledge-drift-item":{"identifier":"allow-acknowledge-drift-item","description":"Enables the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["acknowledge_drift_item"],"deny":[]}},"allow-apply-security-preset":{"identifier":"allow-apply-security-preset","description":"Enables the apply_security_preset command without any pre-configured scope.","commands":{"allow":["apply_security_preset"],"deny":[]}},"allow-apply-surface-transaction":{"identifier":"allow-apply-surface-transaction","description":"Enables the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":["apply_surface_transaction"],"deny":[]}},"allow-check-for-updates":{"identifier":"allow-check-for-updates","description":"Enables the check_for_updates command without any pre-configured scope.","commands":{"allow":["check_for_updates"],"deny":[]}},"allow-check-git-repo":{"identifier":"allow-check-git-repo","description":"Enables the check_git_repo command without any pre-configured scope.","commands":{"allow":["check_git_repo"],"deny":[]}},"allow-check-plugin-updates":{"identifier":"allow-check-plugin-updates","description":"Enables the check_plugin_updates command without any pre-configured scope.","commands":{"allow":["check_plugin_updates"],"deny":[]}},"allow-choose-project-dir":{"identifier":"allow-choose-project-dir","description":"Enables the choose_project_dir command without any pre-configured scope.","commands":{"allow":["choose_project_dir"],"deny":[]}},"allow-clear-audit-entries":{"identifier":"allow-clear-audit-entries","description":"Enables the clear_audit_entries command without any pre-configured scope.","commands":{"allow":["clear_audit_entries"],"deny":[]}},"allow-compute-live-stats":{"identifier":"allow-compute-live-stats","description":"Enables the compute_live_stats command without any pre-configured scope.","commands":{"allow":["compute_live_stats"],"deny":[]}},"allow-create-evaluation-session":{"identifier":"allow-create-evaluation-session","description":"Enables the create_evaluation_session command without any pre-configured scope.","commands":{"allow":["create_evaluation_session"],"deny":[]}},"allow-create-worktrees":{"identifier":"allow-create-worktrees","description":"Enables the create_worktrees command without any pre-configured scope.","commands":{"allow":["create_worktrees"],"deny":[]}},"allow-delete-comparison":{"identifier":"allow-delete-comparison","description":"Enables the delete_comparison command without any pre-configured scope.","commands":{"allow":["delete_comparison"],"deny":[]}},"allow-delete-custom-profile":{"identifier":"allow-delete-custom-profile","description":"Enables the delete_custom_profile command without any pre-configured scope.","commands":{"allow":["delete_custom_profile"],"deny":[]}},"allow-delete-keychain-secret":{"identifier":"allow-delete-keychain-secret","description":"Enables the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":["delete_keychain_secret"],"deny":[]}},"allow-delete-pairwise-vote":{"identifier":"allow-delete-pairwise-vote","description":"Enables the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":["delete_pairwise_vote"],"deny":[]}},"allow-detect-claude-account":{"identifier":"allow-detect-claude-account","description":"Enables the detect_claude_account command without any pre-configured scope.","commands":{"allow":["detect_claude_account"],"deny":[]}},"allow-detect-harnesses":{"identifier":"allow-detect-harnesses","description":"Enables the detect_harnesses command without any pre-configured scope.","commands":{"allow":["detect_harnesses"],"deny":[]}},"allow-export-comparison-json":{"identifier":"allow-export-comparison-json","description":"Enables the export_comparison_json command without any pre-configured scope.","commands":{"allow":["export_comparison_json"],"deny":[]}},"allow-export-plugin-as-zip":{"identifier":"allow-export-plugin-as-zip","description":"Enables the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":["export_plugin_as_zip"],"deny":[]}},"allow-export-plugin-to-folder":{"identifier":"allow-export-plugin-to-folder","description":"Enables the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":["export_plugin_to_folder"],"deny":[]}},"allow-get-acknowledged-drift-items":{"identifier":"allow-get-acknowledged-drift-items","description":"Enables the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":["get_acknowledged_drift_items"],"deny":[]}},"allow-get-cached-definitions":{"identifier":"allow-get-cached-definitions","description":"Enables the get_cached_definitions command without any pre-configured scope.","commands":{"allow":["get_cached_definitions"],"deny":[]}},"allow-get-comparator-analytics":{"identifier":"allow-get-comparator-analytics","description":"Enables the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":["get_comparator_analytics"],"deny":[]}},"allow-get-comparison":{"identifier":"allow-get-comparison","description":"Enables the get_comparison command without any pre-configured scope.","commands":{"allow":["get_comparison"],"deny":[]}},"allow-get-comparison-diffs":{"identifier":"allow-get-comparison-diffs","description":"Enables the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":["get_comparison_diffs"],"deny":[]}},"allow-get-custom-profile":{"identifier":"allow-get-custom-profile","description":"Enables the get_custom_profile command without any pre-configured scope.","commands":{"allow":["get_custom_profile"],"deny":[]}},"allow-get-diff-against-commit":{"identifier":"allow-get-diff-against-commit","description":"Enables the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":["get_diff_against_commit"],"deny":[]}},"allow-get-evaluation-session":{"identifier":"allow-get-evaluation-session","description":"Enables the get_evaluation_session command without any pre-configured scope.","commands":{"allow":["get_evaluation_session"],"deny":[]}},"allow-get-evaluations":{"identifier":"allow-get-evaluations","description":"Enables the get_evaluations command without any pre-configured scope.","commands":{"allow":["get_evaluations"],"deny":[]}},"allow-get-harness-recommendations":{"identifier":"allow-get-harness-recommendations","description":"Enables the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":["get_harness_recommendations"],"deny":[]}},"allow-get-highest-bundle-number":{"identifier":"allow-get-highest-bundle-number","description":"Enables the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":["get_highest_bundle_number"],"deny":[]}},"allow-get-history-size":{"identifier":"allow-get-history-size","description":"Enables the get_history_size command without any pre-configured scope.","commands":{"allow":["get_history_size"],"deny":[]}},"allow-get-pairwise-analytics":{"identifier":"allow-get-pairwise-analytics","description":"Enables the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":["get_pairwise_analytics"],"deny":[]}},"allow-get-pairwise-votes":{"identifier":"allow-get-pairwise-votes","description":"Enables the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":["get_pairwise_votes"],"deny":[]}},"allow-get-panel-diffs":{"identifier":"allow-get-panel-diffs","description":"Enables the get_panel_diffs command without any pre-configured scope.","commands":{"allow":["get_panel_diffs"],"deny":[]}},"allow-get-system-info":{"identifier":"allow-get-system-info","description":"Enables the get_system_info command without any pre-configured scope.","commands":{"allow":["get_system_info"],"deny":[]}},"allow-grant-project-scope":{"identifier":"allow-grant-project-scope","description":"Enables the grant_project_scope command without any pre-configured scope.","commands":{"allow":["grant_project_scope"],"deny":[]}},"allow-guarded-remove-file":{"identifier":"allow-guarded-remove-file","description":"Enables the guarded_remove_file command without any pre-configured scope.","commands":{"allow":["guarded_remove_file"],"deny":[]}},"allow-guarded-rename-file":{"identifier":"allow-guarded-rename-file","description":"Enables the guarded_rename_file command without any pre-configured scope.","commands":{"allow":["guarded_rename_file"],"deny":[]}},"allow-guarded-write-file":{"identifier":"allow-guarded-write-file","description":"Enables the guarded_write_file command without any pre-configured scope.","commands":{"allow":["guarded_write_file"],"deny":[]}},"allow-import-plugin-from-path":{"identifier":"allow-import-plugin-from-path","description":"Enables the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":["import_plugin_from_path"],"deny":[]}},"allow-import-plugin-from-zip":{"identifier":"allow-import-plugin-from-zip","description":"Enables the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":["import_plugin_from_zip"],"deny":[]}},"allow-list-active-sessions":{"identifier":"allow-list-active-sessions","description":"Enables the list_active_sessions command without any pre-configured scope.","commands":{"allow":["list_active_sessions"],"deny":[]}},"allow-list-audit-entries":{"identifier":"allow-list-audit-entries","description":"Enables the list_audit_entries command without any pre-configured scope.","commands":{"allow":["list_audit_entries"],"deny":[]}},"allow-list-claude-dir":{"identifier":"allow-list-claude-dir","description":"Enables the list_claude_dir command without any pre-configured scope.","commands":{"allow":["list_claude_dir"],"deny":[]}},"allow-list-comparisons":{"identifier":"allow-list-comparisons","description":"Enables the list_comparisons command without any pre-configured scope.","commands":{"allow":["list_comparisons"],"deny":[]}},"allow-list-custom-profiles":{"identifier":"allow-list-custom-profiles","description":"Enables the list_custom_profiles command without any pre-configured scope.","commands":{"allow":["list_custom_profiles"],"deny":[]}},"allow-list-drift-acknowledgements":{"identifier":"allow-list-drift-acknowledgements","description":"Enables the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["list_drift_acknowledgements"],"deny":[]}},"allow-list-installed-plugins":{"identifier":"allow-list-installed-plugins","description":"Enables the list_installed_plugins command without any pre-configured scope.","commands":{"allow":["list_installed_plugins"],"deny":[]}},"allow-list-marketplaces":{"identifier":"allow-list-marketplaces","description":"Enables the list_marketplaces command without any pre-configured scope.","commands":{"allow":["list_marketplaces"],"deny":[]}},"allow-list-required-env":{"identifier":"allow-list-required-env","description":"Enables the list_required_env command without any pre-configured scope.","commands":{"allow":["list_required_env"],"deny":[]}},"allow-list-security-presets":{"identifier":"allow-list-security-presets","description":"Enables the list_security_presets command without any pre-configured scope.","commands":{"allow":["list_security_presets"],"deny":[]}},"allow-list-sessions-summary":{"identifier":"allow-list-sessions-summary","description":"Enables the list_sessions_summary command without any pre-configured scope.","commands":{"allow":["list_sessions_summary"],"deny":[]}},"allow-migrate-drift-acknowledgements":{"identifier":"allow-migrate-drift-acknowledgements","description":"Enables the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["migrate_drift_acknowledgements"],"deny":[]}},"allow-push-file-history":{"identifier":"allow-push-file-history","description":"Enables the push_file_history command without any pre-configured scope.","commands":{"allow":["push_file_history"],"deny":[]}},"allow-put-cached-definitions":{"identifier":"allow-put-cached-definitions","description":"Enables the put_cached_definitions command without any pre-configured scope.","commands":{"allow":["put_cached_definitions"],"deny":[]}},"allow-read-claude-md":{"identifier":"allow-read-claude-md","description":"Enables the read_claude_md command without any pre-configured scope.","commands":{"allow":["read_claude_md"],"deny":[]}},"allow-read-env-config":{"identifier":"allow-read-env-config","description":"Enables the read_env_config command without any pre-configured scope.","commands":{"allow":["read_env_config"],"deny":[]}},"allow-read-file-history":{"identifier":"allow-read-file-history","description":"Enables the read_file_history command without any pre-configured scope.","commands":{"allow":["read_file_history"],"deny":[]}},"allow-read-harness-file":{"identifier":"allow-read-harness-file","description":"Enables the read_harness_file command without any pre-configured scope.","commands":{"allow":["read_harness_file"],"deny":[]}},"allow-read-hooks":{"identifier":"allow-read-hooks","description":"Enables the read_hooks command without any pre-configured scope.","commands":{"allow":["read_hooks"],"deny":[]}},"allow-read-live-activity":{"identifier":"allow-read-live-activity","description":"Enables the read_live_activity command without any pre-configured scope.","commands":{"allow":["read_live_activity"],"deny":[]}},"allow-read-permissions":{"identifier":"allow-read-permissions","description":"Enables the read_permissions command without any pre-configured scope.","commands":{"allow":["read_permissions"],"deny":[]}},"allow-read-plugin-file":{"identifier":"allow-read-plugin-file","description":"Enables the read_plugin_file command without any pre-configured scope.","commands":{"allow":["read_plugin_file"],"deny":[]}},"allow-read-plugin-tree":{"identifier":"allow-read-plugin-tree","description":"Enables the read_plugin_tree command without any pre-configured scope.","commands":{"allow":["read_plugin_tree"],"deny":[]}},"allow-read-session-facet":{"identifier":"allow-read-session-facet","description":"Enables the read_session_facet command without any pre-configured scope.","commands":{"allow":["read_session_facet"],"deny":[]}},"allow-read-session-transcript":{"identifier":"allow-read-session-transcript","description":"Enables the read_session_transcript command without any pre-configured scope.","commands":{"allow":["read_session_transcript"],"deny":[]}},"allow-read-stats-cache":{"identifier":"allow-read-stats-cache","description":"Enables the read_stats_cache command without any pre-configured scope.","commands":{"allow":["read_stats_cache"],"deny":[]}},"allow-record-bundle-number":{"identifier":"allow-record-bundle-number","description":"Enables the record_bundle_number command without any pre-configured scope.","commands":{"allow":["record_bundle_number"],"deny":[]}},"allow-record-transaction":{"identifier":"allow-record-transaction","description":"Enables the record_transaction command without any pre-configured scope.","commands":{"allow":["record_transaction"],"deny":[]}},"allow-remove-worktrees":{"identifier":"allow-remove-worktrees","description":"Enables the remove_worktrees command without any pre-configured scope.","commands":{"allow":["remove_worktrees"],"deny":[]}},"allow-reveal-evaluation-session":{"identifier":"allow-reveal-evaluation-session","description":"Enables the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":["reveal_evaluation_session"],"deny":[]}},"allow-save-comparison":{"identifier":"allow-save-comparison","description":"Enables the save_comparison command without any pre-configured scope.","commands":{"allow":["save_comparison"],"deny":[]}},"allow-save-custom-profile":{"identifier":"allow-save-custom-profile","description":"Enables the save_custom_profile command without any pre-configured scope.","commands":{"allow":["save_custom_profile"],"deny":[]}},"allow-save-evaluation":{"identifier":"allow-save-evaluation","description":"Enables the save_evaluation command without any pre-configured scope.","commands":{"allow":["save_evaluation"],"deny":[]}},"allow-save-file-diffs":{"identifier":"allow-save-file-diffs","description":"Enables the save_file_diffs command without any pre-configured scope.","commands":{"allow":["save_file_diffs"],"deny":[]}},"allow-save-pairwise-vote":{"identifier":"allow-save-pairwise-vote","description":"Enables the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":["save_pairwise_vote"],"deny":[]}},"allow-save-panel":{"identifier":"allow-save-panel","description":"Enables the save_panel command without any pre-configured scope.","commands":{"allow":["save_panel"],"deny":[]}},"allow-set-keychain-secret":{"identifier":"allow-set-keychain-secret","description":"Enables the set_keychain_secret command without any pre-configured scope.","commands":{"allow":["set_keychain_secret"],"deny":[]}},"allow-submit-feedback":{"identifier":"allow-submit-feedback","description":"Enables the submit_feedback command without any pre-configured scope.","commands":{"allow":["submit_feedback"],"deny":[]}},"allow-sync-create-backup":{"identifier":"allow-sync-create-backup","description":"Enables the sync_create_backup command without any pre-configured scope.","commands":{"allow":["sync_create_backup"],"deny":[]}},"allow-sync-file-exists":{"identifier":"allow-sync-file-exists","description":"Enables the sync_file_exists command without any pre-configured scope.","commands":{"allow":["sync_file_exists"],"deny":[]}},"allow-sync-list-backups":{"identifier":"allow-sync-list-backups","description":"Enables the sync_list_backups command without any pre-configured scope.","commands":{"allow":["sync_list_backups"],"deny":[]}},"allow-sync-read-dir":{"identifier":"allow-sync-read-dir","description":"Enables the sync_read_dir command without any pre-configured scope.","commands":{"allow":["sync_read_dir"],"deny":[]}},"allow-sync-read-file":{"identifier":"allow-sync-read-file","description":"Enables the sync_read_file command without any pre-configured scope.","commands":{"allow":["sync_read_file"],"deny":[]}},"allow-sync-restore-backup":{"identifier":"allow-sync-restore-backup","description":"Enables the sync_restore_backup command without any pre-configured scope.","commands":{"allow":["sync_restore_backup"],"deny":[]}},"allow-sync-write-files":{"identifier":"allow-sync-write-files","description":"Enables the sync_write_files command without any pre-configured scope.","commands":{"allow":["sync_write_files"],"deny":[]}},"allow-tag-comparison-task-type":{"identifier":"allow-tag-comparison-task-type","description":"Enables the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":["tag_comparison_task_type"],"deny":[]}},"allow-trigger-rebuild":{"identifier":"allow-trigger-rebuild","description":"Enables the trigger_rebuild command without any pre-configured scope.","commands":{"allow":["trigger_rebuild"],"deny":[]}},"allow-unacknowledge-drift":{"identifier":"allow-unacknowledge-drift","description":"Enables the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift"],"deny":[]}},"allow-unacknowledge-drift-item":{"identifier":"allow-unacknowledge-drift-item","description":"Enables the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift_item"],"deny":[]}},"allow-uninstall-plugin":{"identifier":"allow-uninstall-plugin","description":"Enables the uninstall_plugin command without any pre-configured scope.","commands":{"allow":["uninstall_plugin"],"deny":[]}},"allow-update-comparison-status":{"identifier":"allow-update-comparison-status","description":"Enables the update_comparison_status command without any pre-configured scope.","commands":{"allow":["update_comparison_status"],"deny":[]}},"allow-update-comparison-title":{"identifier":"allow-update-comparison-title","description":"Enables the update_comparison_title command without any pre-configured scope.","commands":{"allow":["update_comparison_title"],"deny":[]}},"allow-update-evaluation-score":{"identifier":"allow-update-evaluation-score","description":"Enables the update_evaluation_score command without any pre-configured scope.","commands":{"allow":["update_evaluation_score"],"deny":[]}},"allow-update-panel-result":{"identifier":"allow-update-panel-result","description":"Enables the update_panel_result command without any pre-configured scope.","commands":{"allow":["update_panel_result"],"deny":[]}},"allow-update-permissions":{"identifier":"allow-update-permissions","description":"Enables the update_permissions command without any pre-configured scope.","commands":{"allow":["update_permissions"],"deny":[]}},"allow-verify-definitions-signature":{"identifier":"allow-verify-definitions-signature","description":"Enables the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":["verify_definitions_signature"],"deny":[]}},"allow-write-config-file":{"identifier":"allow-write-config-file","description":"Enables the write_config_file command without any pre-configured scope.","commands":{"allow":["write_config_file"],"deny":[]}},"allow-write-env-config":{"identifier":"allow-write-env-config","description":"Enables the write_env_config command without any pre-configured scope.","commands":{"allow":["write_env_config"],"deny":[]}},"allow-write-harness-file":{"identifier":"allow-write-harness-file","description":"Enables the write_harness_file command without any pre-configured scope.","commands":{"allow":["write_harness_file"],"deny":[]}},"allow-write-plugin-file":{"identifier":"allow-write-plugin-file","description":"Enables the write_plugin_file command without any pre-configured scope.","commands":{"allow":["write_plugin_file"],"deny":[]}},"deny-acknowledge-drift":{"identifier":"deny-acknowledge-drift","description":"Denies the acknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift"]}},"deny-acknowledge-drift-item":{"identifier":"deny-acknowledge-drift-item","description":"Denies the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift_item"]}},"deny-apply-security-preset":{"identifier":"deny-apply-security-preset","description":"Denies the apply_security_preset command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_security_preset"]}},"deny-apply-surface-transaction":{"identifier":"deny-apply-surface-transaction","description":"Denies the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_surface_transaction"]}},"deny-check-for-updates":{"identifier":"deny-check-for-updates","description":"Denies the check_for_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_for_updates"]}},"deny-check-git-repo":{"identifier":"deny-check-git-repo","description":"Denies the check_git_repo command without any pre-configured scope.","commands":{"allow":[],"deny":["check_git_repo"]}},"deny-check-plugin-updates":{"identifier":"deny-check-plugin-updates","description":"Denies the check_plugin_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_plugin_updates"]}},"deny-choose-project-dir":{"identifier":"deny-choose-project-dir","description":"Denies the choose_project_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["choose_project_dir"]}},"deny-clear-audit-entries":{"identifier":"deny-clear-audit-entries","description":"Denies the clear_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_audit_entries"]}},"deny-compute-live-stats":{"identifier":"deny-compute-live-stats","description":"Denies the compute_live_stats command without any pre-configured scope.","commands":{"allow":[],"deny":["compute_live_stats"]}},"deny-create-evaluation-session":{"identifier":"deny-create-evaluation-session","description":"Denies the create_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["create_evaluation_session"]}},"deny-create-worktrees":{"identifier":"deny-create-worktrees","description":"Denies the create_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["create_worktrees"]}},"deny-delete-comparison":{"identifier":"deny-delete-comparison","description":"Denies the delete_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_comparison"]}},"deny-delete-custom-profile":{"identifier":"deny-delete-custom-profile","description":"Denies the delete_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_custom_profile"]}},"deny-delete-keychain-secret":{"identifier":"deny-delete-keychain-secret","description":"Denies the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_keychain_secret"]}},"deny-delete-pairwise-vote":{"identifier":"deny-delete-pairwise-vote","description":"Denies the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_pairwise_vote"]}},"deny-detect-claude-account":{"identifier":"deny-detect-claude-account","description":"Denies the detect_claude_account command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_claude_account"]}},"deny-detect-harnesses":{"identifier":"deny-detect-harnesses","description":"Denies the detect_harnesses command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_harnesses"]}},"deny-export-comparison-json":{"identifier":"deny-export-comparison-json","description":"Denies the export_comparison_json command without any pre-configured scope.","commands":{"allow":[],"deny":["export_comparison_json"]}},"deny-export-plugin-as-zip":{"identifier":"deny-export-plugin-as-zip","description":"Denies the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_as_zip"]}},"deny-export-plugin-to-folder":{"identifier":"deny-export-plugin-to-folder","description":"Denies the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_to_folder"]}},"deny-get-acknowledged-drift-items":{"identifier":"deny-get-acknowledged-drift-items","description":"Denies the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":[],"deny":["get_acknowledged_drift_items"]}},"deny-get-cached-definitions":{"identifier":"deny-get-cached-definitions","description":"Denies the get_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["get_cached_definitions"]}},"deny-get-comparator-analytics":{"identifier":"deny-get-comparator-analytics","description":"Denies the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparator_analytics"]}},"deny-get-comparison":{"identifier":"deny-get-comparison","description":"Denies the get_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison"]}},"deny-get-comparison-diffs":{"identifier":"deny-get-comparison-diffs","description":"Denies the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison_diffs"]}},"deny-get-custom-profile":{"identifier":"deny-get-custom-profile","description":"Denies the get_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["get_custom_profile"]}},"deny-get-diff-against-commit":{"identifier":"deny-get-diff-against-commit","description":"Denies the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":[],"deny":["get_diff_against_commit"]}},"deny-get-evaluation-session":{"identifier":"deny-get-evaluation-session","description":"Denies the get_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluation_session"]}},"deny-get-evaluations":{"identifier":"deny-get-evaluations","description":"Denies the get_evaluations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluations"]}},"deny-get-harness-recommendations":{"identifier":"deny-get-harness-recommendations","description":"Denies the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_harness_recommendations"]}},"deny-get-highest-bundle-number":{"identifier":"deny-get-highest-bundle-number","description":"Denies the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["get_highest_bundle_number"]}},"deny-get-history-size":{"identifier":"deny-get-history-size","description":"Denies the get_history_size command without any pre-configured scope.","commands":{"allow":[],"deny":["get_history_size"]}},"deny-get-pairwise-analytics":{"identifier":"deny-get-pairwise-analytics","description":"Denies the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_analytics"]}},"deny-get-pairwise-votes":{"identifier":"deny-get-pairwise-votes","description":"Denies the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_votes"]}},"deny-get-panel-diffs":{"identifier":"deny-get-panel-diffs","description":"Denies the get_panel_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_panel_diffs"]}},"deny-get-system-info":{"identifier":"deny-get-system-info","description":"Denies the get_system_info command without any pre-configured scope.","commands":{"allow":[],"deny":["get_system_info"]}},"deny-grant-project-scope":{"identifier":"deny-grant-project-scope","description":"Denies the grant_project_scope command without any pre-configured scope.","commands":{"allow":[],"deny":["grant_project_scope"]}},"deny-guarded-remove-file":{"identifier":"deny-guarded-remove-file","description":"Denies the guarded_remove_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_remove_file"]}},"deny-guarded-rename-file":{"identifier":"deny-guarded-rename-file","description":"Denies the guarded_rename_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_rename_file"]}},"deny-guarded-write-file":{"identifier":"deny-guarded-write-file","description":"Denies the guarded_write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_write_file"]}},"deny-import-plugin-from-path":{"identifier":"deny-import-plugin-from-path","description":"Denies the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_path"]}},"deny-import-plugin-from-zip":{"identifier":"deny-import-plugin-from-zip","description":"Denies the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_zip"]}},"deny-list-active-sessions":{"identifier":"deny-list-active-sessions","description":"Denies the list_active_sessions command without any pre-configured scope.","commands":{"allow":[],"deny":["list_active_sessions"]}},"deny-list-audit-entries":{"identifier":"deny-list-audit-entries","description":"Denies the list_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["list_audit_entries"]}},"deny-list-claude-dir":{"identifier":"deny-list-claude-dir","description":"Denies the list_claude_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["list_claude_dir"]}},"deny-list-comparisons":{"identifier":"deny-list-comparisons","description":"Denies the list_comparisons command without any pre-configured scope.","commands":{"allow":[],"deny":["list_comparisons"]}},"deny-list-custom-profiles":{"identifier":"deny-list-custom-profiles","description":"Denies the list_custom_profiles command without any pre-configured scope.","commands":{"allow":[],"deny":["list_custom_profiles"]}},"deny-list-drift-acknowledgements":{"identifier":"deny-list-drift-acknowledgements","description":"Denies the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["list_drift_acknowledgements"]}},"deny-list-installed-plugins":{"identifier":"deny-list-installed-plugins","description":"Denies the list_installed_plugins command without any pre-configured scope.","commands":{"allow":[],"deny":["list_installed_plugins"]}},"deny-list-marketplaces":{"identifier":"deny-list-marketplaces","description":"Denies the list_marketplaces command without any pre-configured scope.","commands":{"allow":[],"deny":["list_marketplaces"]}},"deny-list-required-env":{"identifier":"deny-list-required-env","description":"Denies the list_required_env command without any pre-configured scope.","commands":{"allow":[],"deny":["list_required_env"]}},"deny-list-security-presets":{"identifier":"deny-list-security-presets","description":"Denies the list_security_presets command without any pre-configured scope.","commands":{"allow":[],"deny":["list_security_presets"]}},"deny-list-sessions-summary":{"identifier":"deny-list-sessions-summary","description":"Denies the list_sessions_summary command without any pre-configured scope.","commands":{"allow":[],"deny":["list_sessions_summary"]}},"deny-migrate-drift-acknowledgements":{"identifier":"deny-migrate-drift-acknowledgements","description":"Denies the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["migrate_drift_acknowledgements"]}},"deny-push-file-history":{"identifier":"deny-push-file-history","description":"Denies the push_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["push_file_history"]}},"deny-put-cached-definitions":{"identifier":"deny-put-cached-definitions","description":"Denies the put_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["put_cached_definitions"]}},"deny-read-claude-md":{"identifier":"deny-read-claude-md","description":"Denies the read_claude_md command without any pre-configured scope.","commands":{"allow":[],"deny":["read_claude_md"]}},"deny-read-env-config":{"identifier":"deny-read-env-config","description":"Denies the read_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["read_env_config"]}},"deny-read-file-history":{"identifier":"deny-read-file-history","description":"Denies the read_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file_history"]}},"deny-read-harness-file":{"identifier":"deny-read-harness-file","description":"Denies the read_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_harness_file"]}},"deny-read-hooks":{"identifier":"deny-read-hooks","description":"Denies the read_hooks command without any pre-configured scope.","commands":{"allow":[],"deny":["read_hooks"]}},"deny-read-live-activity":{"identifier":"deny-read-live-activity","description":"Denies the read_live_activity command without any pre-configured scope.","commands":{"allow":[],"deny":["read_live_activity"]}},"deny-read-permissions":{"identifier":"deny-read-permissions","description":"Denies the read_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["read_permissions"]}},"deny-read-plugin-file":{"identifier":"deny-read-plugin-file","description":"Denies the read_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_file"]}},"deny-read-plugin-tree":{"identifier":"deny-read-plugin-tree","description":"Denies the read_plugin_tree command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_tree"]}},"deny-read-session-facet":{"identifier":"deny-read-session-facet","description":"Denies the read_session_facet command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_facet"]}},"deny-read-session-transcript":{"identifier":"deny-read-session-transcript","description":"Denies the read_session_transcript command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_transcript"]}},"deny-read-stats-cache":{"identifier":"deny-read-stats-cache","description":"Denies the read_stats_cache command without any pre-configured scope.","commands":{"allow":[],"deny":["read_stats_cache"]}},"deny-record-bundle-number":{"identifier":"deny-record-bundle-number","description":"Denies the record_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["record_bundle_number"]}},"deny-record-transaction":{"identifier":"deny-record-transaction","description":"Denies the record_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["record_transaction"]}},"deny-remove-worktrees":{"identifier":"deny-remove-worktrees","description":"Denies the remove_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_worktrees"]}},"deny-reveal-evaluation-session":{"identifier":"deny-reveal-evaluation-session","description":"Denies the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["reveal_evaluation_session"]}},"deny-save-comparison":{"identifier":"deny-save-comparison","description":"Denies the save_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["save_comparison"]}},"deny-save-custom-profile":{"identifier":"deny-save-custom-profile","description":"Denies the save_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["save_custom_profile"]}},"deny-save-evaluation":{"identifier":"deny-save-evaluation","description":"Denies the save_evaluation command without any pre-configured scope.","commands":{"allow":[],"deny":["save_evaluation"]}},"deny-save-file-diffs":{"identifier":"deny-save-file-diffs","description":"Denies the save_file_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["save_file_diffs"]}},"deny-save-pairwise-vote":{"identifier":"deny-save-pairwise-vote","description":"Denies the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["save_pairwise_vote"]}},"deny-save-panel":{"identifier":"deny-save-panel","description":"Denies the save_panel command without any pre-configured scope.","commands":{"allow":[],"deny":["save_panel"]}},"deny-set-keychain-secret":{"identifier":"deny-set-keychain-secret","description":"Denies the set_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["set_keychain_secret"]}},"deny-submit-feedback":{"identifier":"deny-submit-feedback","description":"Denies the submit_feedback command without any pre-configured scope.","commands":{"allow":[],"deny":["submit_feedback"]}},"deny-sync-create-backup":{"identifier":"deny-sync-create-backup","description":"Denies the sync_create_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_create_backup"]}},"deny-sync-file-exists":{"identifier":"deny-sync-file-exists","description":"Denies the sync_file_exists command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_file_exists"]}},"deny-sync-list-backups":{"identifier":"deny-sync-list-backups","description":"Denies the sync_list_backups command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_list_backups"]}},"deny-sync-read-dir":{"identifier":"deny-sync-read-dir","description":"Denies the sync_read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_dir"]}},"deny-sync-read-file":{"identifier":"deny-sync-read-file","description":"Denies the sync_read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_file"]}},"deny-sync-restore-backup":{"identifier":"deny-sync-restore-backup","description":"Denies the sync_restore_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_restore_backup"]}},"deny-sync-write-files":{"identifier":"deny-sync-write-files","description":"Denies the sync_write_files command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_write_files"]}},"deny-tag-comparison-task-type":{"identifier":"deny-tag-comparison-task-type","description":"Denies the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":[],"deny":["tag_comparison_task_type"]}},"deny-trigger-rebuild":{"identifier":"deny-trigger-rebuild","description":"Denies the trigger_rebuild command without any pre-configured scope.","commands":{"allow":[],"deny":["trigger_rebuild"]}},"deny-unacknowledge-drift":{"identifier":"deny-unacknowledge-drift","description":"Denies the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift"]}},"deny-unacknowledge-drift-item":{"identifier":"deny-unacknowledge-drift-item","description":"Denies the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift_item"]}},"deny-uninstall-plugin":{"identifier":"deny-uninstall-plugin","description":"Denies the uninstall_plugin command without any pre-configured scope.","commands":{"allow":[],"deny":["uninstall_plugin"]}},"deny-update-comparison-status":{"identifier":"deny-update-comparison-status","description":"Denies the update_comparison_status command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_status"]}},"deny-update-comparison-title":{"identifier":"deny-update-comparison-title","description":"Denies the update_comparison_title command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_title"]}},"deny-update-evaluation-score":{"identifier":"deny-update-evaluation-score","description":"Denies the update_evaluation_score command without any pre-configured scope.","commands":{"allow":[],"deny":["update_evaluation_score"]}},"deny-update-panel-result":{"identifier":"deny-update-panel-result","description":"Denies the update_panel_result command without any pre-configured scope.","commands":{"allow":[],"deny":["update_panel_result"]}},"deny-update-permissions":{"identifier":"deny-update-permissions","description":"Denies the update_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["update_permissions"]}},"deny-verify-definitions-signature":{"identifier":"deny-verify-definitions-signature","description":"Denies the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":[],"deny":["verify_definitions_signature"]}},"deny-write-config-file":{"identifier":"deny-write-config-file","description":"Denies the write_config_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_config_file"]}},"deny-write-env-config":{"identifier":"deny-write-env-config","description":"Denies the write_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["write_env_config"]}},"deny-write-harness-file":{"identifier":"deny-write-harness-file","description":"Denies the write_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_harness_file"]}},"deny-write-plugin-file":{"identifier":"deny-write-plugin-file","description":"Denies the write_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_plugin_file"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":{"identifier":"default","description":"This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n","permissions":["allow-message","allow-save","allow-open"]},"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"fs":{"default_permission":{"identifier":"default","description":"This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\n\n- On Windows the access to webview data folder `$APPLOCALDATA/EBWebView` is denied.\n- On Linux the access to webview data paths inside `$APPLOCALDATA` are denied.\n","permissions":["create-app-specific-dirs","read-app-specific-dirs-recursive","deny-default"]},"permissions":{"allow-copy-file":{"identifier":"allow-copy-file","description":"Enables the copy_file command without any pre-configured scope.","commands":{"allow":["copy_file"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-exists":{"identifier":"allow-exists","description":"Enables the exists command without any pre-configured scope.","commands":{"allow":["exists"],"deny":[]}},"allow-fstat":{"identifier":"allow-fstat","description":"Enables the fstat command without any pre-configured scope.","commands":{"allow":["fstat"],"deny":[]}},"allow-ftruncate":{"identifier":"allow-ftruncate","description":"Enables the ftruncate command without any pre-configured scope.","commands":{"allow":["ftruncate"],"deny":[]}},"allow-lstat":{"identifier":"allow-lstat","description":"Enables the lstat command without any pre-configured scope.","commands":{"allow":["lstat"],"deny":[]}},"allow-mkdir":{"identifier":"allow-mkdir","description":"Enables the mkdir command without any pre-configured scope.","commands":{"allow":["mkdir"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-read":{"identifier":"allow-read","description":"Enables the read command without any pre-configured scope.","commands":{"allow":["read"],"deny":[]}},"allow-read-dir":{"identifier":"allow-read-dir","description":"Enables the read_dir command without any pre-configured scope.","commands":{"allow":["read_dir"],"deny":[]}},"allow-read-file":{"identifier":"allow-read-file","description":"Enables the read_file command without any pre-configured scope.","commands":{"allow":["read_file"],"deny":[]}},"allow-read-text-file":{"identifier":"allow-read-text-file","description":"Enables the read_text_file command without any pre-configured scope.","commands":{"allow":["read_text_file"],"deny":[]}},"allow-read-text-file-lines":{"identifier":"allow-read-text-file-lines","description":"Enables the read_text_file_lines command without any pre-configured scope.","commands":{"allow":["read_text_file_lines","read_text_file_lines_next"],"deny":[]}},"allow-read-text-file-lines-next":{"identifier":"allow-read-text-file-lines-next","description":"Enables the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":["read_text_file_lines_next"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-rename":{"identifier":"allow-rename","description":"Enables the rename command without any pre-configured scope.","commands":{"allow":["rename"],"deny":[]}},"allow-seek":{"identifier":"allow-seek","description":"Enables the seek command without any pre-configured scope.","commands":{"allow":["seek"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"allow-start-accessing-security-scoped-resource":{"identifier":"allow-start-accessing-security-scoped-resource","description":"Enables the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["start_accessing_security_scoped_resource"],"deny":[]}},"allow-stat":{"identifier":"allow-stat","description":"Enables the stat command without any pre-configured scope.","commands":{"allow":["stat"],"deny":[]}},"allow-stop-accessing-security-scoped-resource":{"identifier":"allow-stop-accessing-security-scoped-resource","description":"Enables the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["stop_accessing_security_scoped_resource"],"deny":[]}},"allow-truncate":{"identifier":"allow-truncate","description":"Enables the truncate command without any pre-configured scope.","commands":{"allow":["truncate"],"deny":[]}},"allow-unwatch":{"identifier":"allow-unwatch","description":"Enables the unwatch command without any pre-configured scope.","commands":{"allow":["unwatch"],"deny":[]}},"allow-watch":{"identifier":"allow-watch","description":"Enables the watch command without any pre-configured scope.","commands":{"allow":["watch"],"deny":[]}},"allow-write":{"identifier":"allow-write","description":"Enables the write command without any pre-configured scope.","commands":{"allow":["write"],"deny":[]}},"allow-write-file":{"identifier":"allow-write-file","description":"Enables the write_file command without any pre-configured scope.","commands":{"allow":["write_file","open","write"],"deny":[]}},"allow-write-text-file":{"identifier":"allow-write-text-file","description":"Enables the write_text_file command without any pre-configured scope.","commands":{"allow":["write_text_file"],"deny":[]}},"deny-copy-file":{"identifier":"deny-copy-file","description":"Denies the copy_file command without any pre-configured scope.","commands":{"allow":[],"deny":["copy_file"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-exists":{"identifier":"deny-exists","description":"Denies the exists command without any pre-configured scope.","commands":{"allow":[],"deny":["exists"]}},"deny-fstat":{"identifier":"deny-fstat","description":"Denies the fstat command without any pre-configured scope.","commands":{"allow":[],"deny":["fstat"]}},"deny-ftruncate":{"identifier":"deny-ftruncate","description":"Denies the ftruncate command without any pre-configured scope.","commands":{"allow":[],"deny":["ftruncate"]}},"deny-lstat":{"identifier":"deny-lstat","description":"Denies the lstat command without any pre-configured scope.","commands":{"allow":[],"deny":["lstat"]}},"deny-mkdir":{"identifier":"deny-mkdir","description":"Denies the mkdir command without any pre-configured scope.","commands":{"allow":[],"deny":["mkdir"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-read":{"identifier":"deny-read","description":"Denies the read command without any pre-configured scope.","commands":{"allow":[],"deny":["read"]}},"deny-read-dir":{"identifier":"deny-read-dir","description":"Denies the read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["read_dir"]}},"deny-read-file":{"identifier":"deny-read-file","description":"Denies the read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file"]}},"deny-read-text-file":{"identifier":"deny-read-text-file","description":"Denies the read_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file"]}},"deny-read-text-file-lines":{"identifier":"deny-read-text-file-lines","description":"Denies the read_text_file_lines command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines"]}},"deny-read-text-file-lines-next":{"identifier":"deny-read-text-file-lines-next","description":"Denies the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines_next"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-rename":{"identifier":"deny-rename","description":"Denies the rename command without any pre-configured scope.","commands":{"allow":[],"deny":["rename"]}},"deny-seek":{"identifier":"deny-seek","description":"Denies the seek command without any pre-configured scope.","commands":{"allow":[],"deny":["seek"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}},"deny-start-accessing-security-scoped-resource":{"identifier":"deny-start-accessing-security-scoped-resource","description":"Denies the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["start_accessing_security_scoped_resource"]}},"deny-stat":{"identifier":"deny-stat","description":"Denies the stat command without any pre-configured scope.","commands":{"allow":[],"deny":["stat"]}},"deny-stop-accessing-security-scoped-resource":{"identifier":"deny-stop-accessing-security-scoped-resource","description":"Denies the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["stop_accessing_security_scoped_resource"]}},"deny-truncate":{"identifier":"deny-truncate","description":"Denies the truncate command without any pre-configured scope.","commands":{"allow":[],"deny":["truncate"]}},"deny-unwatch":{"identifier":"deny-unwatch","description":"Denies the unwatch command without any pre-configured scope.","commands":{"allow":[],"deny":["unwatch"]}},"deny-watch":{"identifier":"deny-watch","description":"Denies the watch command without any pre-configured scope.","commands":{"allow":[],"deny":["watch"]}},"deny-webview-data-linux":{"identifier":"deny-webview-data-linux","description":"This denies access to the following paths\n\n- `$APPLOCALDATA/CacheStorage/**`\n- `$APPLOCALDATA/cookies`\n- `$APPLOCALDATA/hsts-storage.sqlite`\n- `$APPLOCALDATA/serviceworkers/**`\n- `$APPLOCALDATA/WebKitCache/**`\n- `$APPLOCALDATA/databases/**`\n- `$APPLOCALDATA/localstorage/**`\n- `$APPLOCALDATA/mediakeys/**`\n- `$APPLOCALDATA/storage/**`\n\non linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/CacheStorage/**"},{"path":"$APPLOCALDATA/cookies"},{"path":"$APPLOCALDATA/hsts-storage.sqlite"},{"path":"$APPLOCALDATA/serviceworkers/**"},{"path":"$APPLOCALDATA/WebKitCache/**"},{"path":"$APPLOCALDATA/databases/**"},{"path":"$APPLOCALDATA/localstorage/**"},{"path":"$APPLOCALDATA/mediakeys/**"},{"path":"$APPLOCALDATA/storage/**"}]},"platforms":["linux"]},"deny-webview-data-windows":{"identifier":"deny-webview-data-windows","description":"This denies access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/EBWebView/**"}]},"platforms":["windows"]},"deny-write":{"identifier":"deny-write","description":"Denies the write command without any pre-configured scope.","commands":{"allow":[],"deny":["write"]}},"deny-write-file":{"identifier":"deny-write-file","description":"Denies the write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_file"]}},"deny-write-text-file":{"identifier":"deny-write-text-file","description":"Denies the write_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text_file"]}},"read-all":{"identifier":"read-all","description":"This enables all read related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists","watch","unwatch"],"deny":[]}},"read-dirs":{"identifier":"read-dirs","description":"This enables directory read and file metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists"],"deny":[]}},"read-files":{"identifier":"read-files","description":"This enables file read related commands without any pre-configured accessible paths.","commands":{"allow":["read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists"],"deny":[]}},"read-meta":{"identifier":"read-meta","description":"This enables all index or metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists","size"],"deny":[]}},"scope":{"identifier":"scope","description":"An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n","commands":{"allow":[],"deny":[]}},"scope-app":{"identifier":"scope-app","description":"This scope permits access to all files and list content of top level directories in the application folders.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"},{"path":"$APPDATA"},{"path":"$APPDATA/*"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"},{"path":"$APPCACHE"},{"path":"$APPCACHE/*"},{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-app-index":{"identifier":"scope-app-index","description":"This scope permits to list all files and folders in the application directories.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPDATA"},{"path":"$APPLOCALDATA"},{"path":"$APPCACHE"},{"path":"$APPLOG"}]}},"scope-app-recursive":{"identifier":"scope-app-recursive","description":"This scope permits recursive access to the complete application folders, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"},{"path":"$APPDATA"},{"path":"$APPDATA/**"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$APPCACHE"},{"path":"$APPCACHE/**"},{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-appcache":{"identifier":"scope-appcache","description":"This scope permits access to all files and list content of top level directories in the `$APPCACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/*"}]}},"scope-appcache-index":{"identifier":"scope-appcache-index","description":"This scope permits to list all files and folders in the `$APPCACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"}]}},"scope-appcache-recursive":{"identifier":"scope-appcache-recursive","description":"This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/**"}]}},"scope-appconfig":{"identifier":"scope-appconfig","description":"This scope permits access to all files and list content of top level directories in the `$APPCONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"}]}},"scope-appconfig-index":{"identifier":"scope-appconfig-index","description":"This scope permits to list all files and folders in the `$APPCONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"}]}},"scope-appconfig-recursive":{"identifier":"scope-appconfig-recursive","description":"This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"}]}},"scope-appdata":{"identifier":"scope-appdata","description":"This scope permits access to all files and list content of top level directories in the `$APPDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/*"}]}},"scope-appdata-index":{"identifier":"scope-appdata-index","description":"This scope permits to list all files and folders in the `$APPDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"}]}},"scope-appdata-recursive":{"identifier":"scope-appdata-recursive","description":"This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]}},"scope-applocaldata":{"identifier":"scope-applocaldata","description":"This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"}]}},"scope-applocaldata-index":{"identifier":"scope-applocaldata-index","description":"This scope permits to list all files and folders in the `$APPLOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"}]}},"scope-applocaldata-recursive":{"identifier":"scope-applocaldata-recursive","description":"This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]}},"scope-applog":{"identifier":"scope-applog","description":"This scope permits access to all files and list content of top level directories in the `$APPLOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-applog-index":{"identifier":"scope-applog-index","description":"This scope permits to list all files and folders in the `$APPLOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"}]}},"scope-applog-recursive":{"identifier":"scope-applog-recursive","description":"This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-audio":{"identifier":"scope-audio","description":"This scope permits access to all files and list content of top level directories in the `$AUDIO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/*"}]}},"scope-audio-index":{"identifier":"scope-audio-index","description":"This scope permits to list all files and folders in the `$AUDIO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"}]}},"scope-audio-recursive":{"identifier":"scope-audio-recursive","description":"This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/**"}]}},"scope-cache":{"identifier":"scope-cache","description":"This scope permits access to all files and list content of top level directories in the `$CACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/*"}]}},"scope-cache-index":{"identifier":"scope-cache-index","description":"This scope permits to list all files and folders in the `$CACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"}]}},"scope-cache-recursive":{"identifier":"scope-cache-recursive","description":"This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/**"}]}},"scope-config":{"identifier":"scope-config","description":"This scope permits access to all files and list content of top level directories in the `$CONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/*"}]}},"scope-config-index":{"identifier":"scope-config-index","description":"This scope permits to list all files and folders in the `$CONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"}]}},"scope-config-recursive":{"identifier":"scope-config-recursive","description":"This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/**"}]}},"scope-data":{"identifier":"scope-data","description":"This scope permits access to all files and list content of top level directories in the `$DATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/*"}]}},"scope-data-index":{"identifier":"scope-data-index","description":"This scope permits to list all files and folders in the `$DATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"}]}},"scope-data-recursive":{"identifier":"scope-data-recursive","description":"This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/**"}]}},"scope-desktop":{"identifier":"scope-desktop","description":"This scope permits access to all files and list content of top level directories in the `$DESKTOP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/*"}]}},"scope-desktop-index":{"identifier":"scope-desktop-index","description":"This scope permits to list all files and folders in the `$DESKTOP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"}]}},"scope-desktop-recursive":{"identifier":"scope-desktop-recursive","description":"This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/**"}]}},"scope-document":{"identifier":"scope-document","description":"This scope permits access to all files and list content of top level directories in the `$DOCUMENT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/*"}]}},"scope-document-index":{"identifier":"scope-document-index","description":"This scope permits to list all files and folders in the `$DOCUMENT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"}]}},"scope-document-recursive":{"identifier":"scope-document-recursive","description":"This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/**"}]}},"scope-download":{"identifier":"scope-download","description":"This scope permits access to all files and list content of top level directories in the `$DOWNLOAD` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/*"}]}},"scope-download-index":{"identifier":"scope-download-index","description":"This scope permits to list all files and folders in the `$DOWNLOAD`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"}]}},"scope-download-recursive":{"identifier":"scope-download-recursive","description":"This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/**"}]}},"scope-exe":{"identifier":"scope-exe","description":"This scope permits access to all files and list content of top level directories in the `$EXE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/*"}]}},"scope-exe-index":{"identifier":"scope-exe-index","description":"This scope permits to list all files and folders in the `$EXE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"}]}},"scope-exe-recursive":{"identifier":"scope-exe-recursive","description":"This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/**"}]}},"scope-font":{"identifier":"scope-font","description":"This scope permits access to all files and list content of top level directories in the `$FONT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/*"}]}},"scope-font-index":{"identifier":"scope-font-index","description":"This scope permits to list all files and folders in the `$FONT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"}]}},"scope-font-recursive":{"identifier":"scope-font-recursive","description":"This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/**"}]}},"scope-home":{"identifier":"scope-home","description":"This scope permits access to all files and list content of top level directories in the `$HOME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/*"}]}},"scope-home-index":{"identifier":"scope-home-index","description":"This scope permits to list all files and folders in the `$HOME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"}]}},"scope-home-recursive":{"identifier":"scope-home-recursive","description":"This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/**"}]}},"scope-localdata":{"identifier":"scope-localdata","description":"This scope permits access to all files and list content of top level directories in the `$LOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/*"}]}},"scope-localdata-index":{"identifier":"scope-localdata-index","description":"This scope permits to list all files and folders in the `$LOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"}]}},"scope-localdata-recursive":{"identifier":"scope-localdata-recursive","description":"This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/**"}]}},"scope-log":{"identifier":"scope-log","description":"This scope permits access to all files and list content of top level directories in the `$LOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/*"}]}},"scope-log-index":{"identifier":"scope-log-index","description":"This scope permits to list all files and folders in the `$LOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"}]}},"scope-log-recursive":{"identifier":"scope-log-recursive","description":"This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/**"}]}},"scope-picture":{"identifier":"scope-picture","description":"This scope permits access to all files and list content of top level directories in the `$PICTURE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/*"}]}},"scope-picture-index":{"identifier":"scope-picture-index","description":"This scope permits to list all files and folders in the `$PICTURE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"}]}},"scope-picture-recursive":{"identifier":"scope-picture-recursive","description":"This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/**"}]}},"scope-public":{"identifier":"scope-public","description":"This scope permits access to all files and list content of top level directories in the `$PUBLIC` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/*"}]}},"scope-public-index":{"identifier":"scope-public-index","description":"This scope permits to list all files and folders in the `$PUBLIC`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"}]}},"scope-public-recursive":{"identifier":"scope-public-recursive","description":"This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/**"}]}},"scope-resource":{"identifier":"scope-resource","description":"This scope permits access to all files and list content of top level directories in the `$RESOURCE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/*"}]}},"scope-resource-index":{"identifier":"scope-resource-index","description":"This scope permits to list all files and folders in the `$RESOURCE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"}]}},"scope-resource-recursive":{"identifier":"scope-resource-recursive","description":"This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/**"}]}},"scope-runtime":{"identifier":"scope-runtime","description":"This scope permits access to all files and list content of top level directories in the `$RUNTIME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/*"}]}},"scope-runtime-index":{"identifier":"scope-runtime-index","description":"This scope permits to list all files and folders in the `$RUNTIME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"}]}},"scope-runtime-recursive":{"identifier":"scope-runtime-recursive","description":"This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/**"}]}},"scope-temp":{"identifier":"scope-temp","description":"This scope permits access to all files and list content of top level directories in the `$TEMP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/*"}]}},"scope-temp-index":{"identifier":"scope-temp-index","description":"This scope permits to list all files and folders in the `$TEMP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"}]}},"scope-temp-recursive":{"identifier":"scope-temp-recursive","description":"This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/**"}]}},"scope-template":{"identifier":"scope-template","description":"This scope permits access to all files and list content of top level directories in the `$TEMPLATE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/*"}]}},"scope-template-index":{"identifier":"scope-template-index","description":"This scope permits to list all files and folders in the `$TEMPLATE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"}]}},"scope-template-recursive":{"identifier":"scope-template-recursive","description":"This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/**"}]}},"scope-video":{"identifier":"scope-video","description":"This scope permits access to all files and list content of top level directories in the `$VIDEO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/*"}]}},"scope-video-index":{"identifier":"scope-video-index","description":"This scope permits to list all files and folders in the `$VIDEO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"}]}},"scope-video-recursive":{"identifier":"scope-video-recursive","description":"This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/**"}]}}},"permission_sets":{"allow-app-meta":{"identifier":"allow-app-meta","description":"This allows non-recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-index"]},"allow-app-meta-recursive":{"identifier":"allow-app-meta-recursive","description":"This allows full recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-recursive"]},"allow-app-read":{"identifier":"allow-app-read","description":"This allows non-recursive read access to the application folders.","permissions":["read-all","scope-app"]},"allow-app-read-recursive":{"identifier":"allow-app-read-recursive","description":"This allows full recursive read access to the complete application folders, files and subdirectories.","permissions":["read-all","scope-app-recursive"]},"allow-app-write":{"identifier":"allow-app-write","description":"This allows non-recursive write access to the application folders.","permissions":["write-all","scope-app"]},"allow-app-write-recursive":{"identifier":"allow-app-write-recursive","description":"This allows full recursive write access to the complete application folders, files and subdirectories.","permissions":["write-all","scope-app-recursive"]},"allow-appcache-meta":{"identifier":"allow-appcache-meta","description":"This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-index"]},"allow-appcache-meta-recursive":{"identifier":"allow-appcache-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-recursive"]},"allow-appcache-read":{"identifier":"allow-appcache-read","description":"This allows non-recursive read access to the `$APPCACHE` folder.","permissions":["read-all","scope-appcache"]},"allow-appcache-read-recursive":{"identifier":"allow-appcache-read-recursive","description":"This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["read-all","scope-appcache-recursive"]},"allow-appcache-write":{"identifier":"allow-appcache-write","description":"This allows non-recursive write access to the `$APPCACHE` folder.","permissions":["write-all","scope-appcache"]},"allow-appcache-write-recursive":{"identifier":"allow-appcache-write-recursive","description":"This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["write-all","scope-appcache-recursive"]},"allow-appconfig-meta":{"identifier":"allow-appconfig-meta","description":"This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-index"]},"allow-appconfig-meta-recursive":{"identifier":"allow-appconfig-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-recursive"]},"allow-appconfig-read":{"identifier":"allow-appconfig-read","description":"This allows non-recursive read access to the `$APPCONFIG` folder.","permissions":["read-all","scope-appconfig"]},"allow-appconfig-read-recursive":{"identifier":"allow-appconfig-read-recursive","description":"This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["read-all","scope-appconfig-recursive"]},"allow-appconfig-write":{"identifier":"allow-appconfig-write","description":"This allows non-recursive write access to the `$APPCONFIG` folder.","permissions":["write-all","scope-appconfig"]},"allow-appconfig-write-recursive":{"identifier":"allow-appconfig-write-recursive","description":"This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["write-all","scope-appconfig-recursive"]},"allow-appdata-meta":{"identifier":"allow-appdata-meta","description":"This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-index"]},"allow-appdata-meta-recursive":{"identifier":"allow-appdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-recursive"]},"allow-appdata-read":{"identifier":"allow-appdata-read","description":"This allows non-recursive read access to the `$APPDATA` folder.","permissions":["read-all","scope-appdata"]},"allow-appdata-read-recursive":{"identifier":"allow-appdata-read-recursive","description":"This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["read-all","scope-appdata-recursive"]},"allow-appdata-write":{"identifier":"allow-appdata-write","description":"This allows non-recursive write access to the `$APPDATA` folder.","permissions":["write-all","scope-appdata"]},"allow-appdata-write-recursive":{"identifier":"allow-appdata-write-recursive","description":"This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["write-all","scope-appdata-recursive"]},"allow-applocaldata-meta":{"identifier":"allow-applocaldata-meta","description":"This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-index"]},"allow-applocaldata-meta-recursive":{"identifier":"allow-applocaldata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-recursive"]},"allow-applocaldata-read":{"identifier":"allow-applocaldata-read","description":"This allows non-recursive read access to the `$APPLOCALDATA` folder.","permissions":["read-all","scope-applocaldata"]},"allow-applocaldata-read-recursive":{"identifier":"allow-applocaldata-read-recursive","description":"This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-applocaldata-recursive"]},"allow-applocaldata-write":{"identifier":"allow-applocaldata-write","description":"This allows non-recursive write access to the `$APPLOCALDATA` folder.","permissions":["write-all","scope-applocaldata"]},"allow-applocaldata-write-recursive":{"identifier":"allow-applocaldata-write-recursive","description":"This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-applocaldata-recursive"]},"allow-applog-meta":{"identifier":"allow-applog-meta","description":"This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-index"]},"allow-applog-meta-recursive":{"identifier":"allow-applog-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-recursive"]},"allow-applog-read":{"identifier":"allow-applog-read","description":"This allows non-recursive read access to the `$APPLOG` folder.","permissions":["read-all","scope-applog"]},"allow-applog-read-recursive":{"identifier":"allow-applog-read-recursive","description":"This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["read-all","scope-applog-recursive"]},"allow-applog-write":{"identifier":"allow-applog-write","description":"This allows non-recursive write access to the `$APPLOG` folder.","permissions":["write-all","scope-applog"]},"allow-applog-write-recursive":{"identifier":"allow-applog-write-recursive","description":"This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["write-all","scope-applog-recursive"]},"allow-audio-meta":{"identifier":"allow-audio-meta","description":"This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-index"]},"allow-audio-meta-recursive":{"identifier":"allow-audio-meta-recursive","description":"This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-recursive"]},"allow-audio-read":{"identifier":"allow-audio-read","description":"This allows non-recursive read access to the `$AUDIO` folder.","permissions":["read-all","scope-audio"]},"allow-audio-read-recursive":{"identifier":"allow-audio-read-recursive","description":"This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["read-all","scope-audio-recursive"]},"allow-audio-write":{"identifier":"allow-audio-write","description":"This allows non-recursive write access to the `$AUDIO` folder.","permissions":["write-all","scope-audio"]},"allow-audio-write-recursive":{"identifier":"allow-audio-write-recursive","description":"This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["write-all","scope-audio-recursive"]},"allow-cache-meta":{"identifier":"allow-cache-meta","description":"This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-index"]},"allow-cache-meta-recursive":{"identifier":"allow-cache-meta-recursive","description":"This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-recursive"]},"allow-cache-read":{"identifier":"allow-cache-read","description":"This allows non-recursive read access to the `$CACHE` folder.","permissions":["read-all","scope-cache"]},"allow-cache-read-recursive":{"identifier":"allow-cache-read-recursive","description":"This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.","permissions":["read-all","scope-cache-recursive"]},"allow-cache-write":{"identifier":"allow-cache-write","description":"This allows non-recursive write access to the `$CACHE` folder.","permissions":["write-all","scope-cache"]},"allow-cache-write-recursive":{"identifier":"allow-cache-write-recursive","description":"This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.","permissions":["write-all","scope-cache-recursive"]},"allow-config-meta":{"identifier":"allow-config-meta","description":"This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-index"]},"allow-config-meta-recursive":{"identifier":"allow-config-meta-recursive","description":"This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-recursive"]},"allow-config-read":{"identifier":"allow-config-read","description":"This allows non-recursive read access to the `$CONFIG` folder.","permissions":["read-all","scope-config"]},"allow-config-read-recursive":{"identifier":"allow-config-read-recursive","description":"This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["read-all","scope-config-recursive"]},"allow-config-write":{"identifier":"allow-config-write","description":"This allows non-recursive write access to the `$CONFIG` folder.","permissions":["write-all","scope-config"]},"allow-config-write-recursive":{"identifier":"allow-config-write-recursive","description":"This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["write-all","scope-config-recursive"]},"allow-data-meta":{"identifier":"allow-data-meta","description":"This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-index"]},"allow-data-meta-recursive":{"identifier":"allow-data-meta-recursive","description":"This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-recursive"]},"allow-data-read":{"identifier":"allow-data-read","description":"This allows non-recursive read access to the `$DATA` folder.","permissions":["read-all","scope-data"]},"allow-data-read-recursive":{"identifier":"allow-data-read-recursive","description":"This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.","permissions":["read-all","scope-data-recursive"]},"allow-data-write":{"identifier":"allow-data-write","description":"This allows non-recursive write access to the `$DATA` folder.","permissions":["write-all","scope-data"]},"allow-data-write-recursive":{"identifier":"allow-data-write-recursive","description":"This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.","permissions":["write-all","scope-data-recursive"]},"allow-desktop-meta":{"identifier":"allow-desktop-meta","description":"This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-index"]},"allow-desktop-meta-recursive":{"identifier":"allow-desktop-meta-recursive","description":"This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-recursive"]},"allow-desktop-read":{"identifier":"allow-desktop-read","description":"This allows non-recursive read access to the `$DESKTOP` folder.","permissions":["read-all","scope-desktop"]},"allow-desktop-read-recursive":{"identifier":"allow-desktop-read-recursive","description":"This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["read-all","scope-desktop-recursive"]},"allow-desktop-write":{"identifier":"allow-desktop-write","description":"This allows non-recursive write access to the `$DESKTOP` folder.","permissions":["write-all","scope-desktop"]},"allow-desktop-write-recursive":{"identifier":"allow-desktop-write-recursive","description":"This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["write-all","scope-desktop-recursive"]},"allow-document-meta":{"identifier":"allow-document-meta","description":"This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-index"]},"allow-document-meta-recursive":{"identifier":"allow-document-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-recursive"]},"allow-document-read":{"identifier":"allow-document-read","description":"This allows non-recursive read access to the `$DOCUMENT` folder.","permissions":["read-all","scope-document"]},"allow-document-read-recursive":{"identifier":"allow-document-read-recursive","description":"This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["read-all","scope-document-recursive"]},"allow-document-write":{"identifier":"allow-document-write","description":"This allows non-recursive write access to the `$DOCUMENT` folder.","permissions":["write-all","scope-document"]},"allow-document-write-recursive":{"identifier":"allow-document-write-recursive","description":"This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["write-all","scope-document-recursive"]},"allow-download-meta":{"identifier":"allow-download-meta","description":"This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-index"]},"allow-download-meta-recursive":{"identifier":"allow-download-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-recursive"]},"allow-download-read":{"identifier":"allow-download-read","description":"This allows non-recursive read access to the `$DOWNLOAD` folder.","permissions":["read-all","scope-download"]},"allow-download-read-recursive":{"identifier":"allow-download-read-recursive","description":"This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["read-all","scope-download-recursive"]},"allow-download-write":{"identifier":"allow-download-write","description":"This allows non-recursive write access to the `$DOWNLOAD` folder.","permissions":["write-all","scope-download"]},"allow-download-write-recursive":{"identifier":"allow-download-write-recursive","description":"This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["write-all","scope-download-recursive"]},"allow-exe-meta":{"identifier":"allow-exe-meta","description":"This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-index"]},"allow-exe-meta-recursive":{"identifier":"allow-exe-meta-recursive","description":"This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-recursive"]},"allow-exe-read":{"identifier":"allow-exe-read","description":"This allows non-recursive read access to the `$EXE` folder.","permissions":["read-all","scope-exe"]},"allow-exe-read-recursive":{"identifier":"allow-exe-read-recursive","description":"This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.","permissions":["read-all","scope-exe-recursive"]},"allow-exe-write":{"identifier":"allow-exe-write","description":"This allows non-recursive write access to the `$EXE` folder.","permissions":["write-all","scope-exe"]},"allow-exe-write-recursive":{"identifier":"allow-exe-write-recursive","description":"This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.","permissions":["write-all","scope-exe-recursive"]},"allow-font-meta":{"identifier":"allow-font-meta","description":"This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-index"]},"allow-font-meta-recursive":{"identifier":"allow-font-meta-recursive","description":"This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-recursive"]},"allow-font-read":{"identifier":"allow-font-read","description":"This allows non-recursive read access to the `$FONT` folder.","permissions":["read-all","scope-font"]},"allow-font-read-recursive":{"identifier":"allow-font-read-recursive","description":"This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.","permissions":["read-all","scope-font-recursive"]},"allow-font-write":{"identifier":"allow-font-write","description":"This allows non-recursive write access to the `$FONT` folder.","permissions":["write-all","scope-font"]},"allow-font-write-recursive":{"identifier":"allow-font-write-recursive","description":"This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.","permissions":["write-all","scope-font-recursive"]},"allow-home-meta":{"identifier":"allow-home-meta","description":"This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-index"]},"allow-home-meta-recursive":{"identifier":"allow-home-meta-recursive","description":"This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-recursive"]},"allow-home-read":{"identifier":"allow-home-read","description":"This allows non-recursive read access to the `$HOME` folder.","permissions":["read-all","scope-home"]},"allow-home-read-recursive":{"identifier":"allow-home-read-recursive","description":"This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.","permissions":["read-all","scope-home-recursive"]},"allow-home-write":{"identifier":"allow-home-write","description":"This allows non-recursive write access to the `$HOME` folder.","permissions":["write-all","scope-home"]},"allow-home-write-recursive":{"identifier":"allow-home-write-recursive","description":"This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.","permissions":["write-all","scope-home-recursive"]},"allow-localdata-meta":{"identifier":"allow-localdata-meta","description":"This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-index"]},"allow-localdata-meta-recursive":{"identifier":"allow-localdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-recursive"]},"allow-localdata-read":{"identifier":"allow-localdata-read","description":"This allows non-recursive read access to the `$LOCALDATA` folder.","permissions":["read-all","scope-localdata"]},"allow-localdata-read-recursive":{"identifier":"allow-localdata-read-recursive","description":"This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-localdata-recursive"]},"allow-localdata-write":{"identifier":"allow-localdata-write","description":"This allows non-recursive write access to the `$LOCALDATA` folder.","permissions":["write-all","scope-localdata"]},"allow-localdata-write-recursive":{"identifier":"allow-localdata-write-recursive","description":"This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-localdata-recursive"]},"allow-log-meta":{"identifier":"allow-log-meta","description":"This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-index"]},"allow-log-meta-recursive":{"identifier":"allow-log-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-recursive"]},"allow-log-read":{"identifier":"allow-log-read","description":"This allows non-recursive read access to the `$LOG` folder.","permissions":["read-all","scope-log"]},"allow-log-read-recursive":{"identifier":"allow-log-read-recursive","description":"This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.","permissions":["read-all","scope-log-recursive"]},"allow-log-write":{"identifier":"allow-log-write","description":"This allows non-recursive write access to the `$LOG` folder.","permissions":["write-all","scope-log"]},"allow-log-write-recursive":{"identifier":"allow-log-write-recursive","description":"This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.","permissions":["write-all","scope-log-recursive"]},"allow-picture-meta":{"identifier":"allow-picture-meta","description":"This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-index"]},"allow-picture-meta-recursive":{"identifier":"allow-picture-meta-recursive","description":"This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-recursive"]},"allow-picture-read":{"identifier":"allow-picture-read","description":"This allows non-recursive read access to the `$PICTURE` folder.","permissions":["read-all","scope-picture"]},"allow-picture-read-recursive":{"identifier":"allow-picture-read-recursive","description":"This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["read-all","scope-picture-recursive"]},"allow-picture-write":{"identifier":"allow-picture-write","description":"This allows non-recursive write access to the `$PICTURE` folder.","permissions":["write-all","scope-picture"]},"allow-picture-write-recursive":{"identifier":"allow-picture-write-recursive","description":"This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["write-all","scope-picture-recursive"]},"allow-public-meta":{"identifier":"allow-public-meta","description":"This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-index"]},"allow-public-meta-recursive":{"identifier":"allow-public-meta-recursive","description":"This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-recursive"]},"allow-public-read":{"identifier":"allow-public-read","description":"This allows non-recursive read access to the `$PUBLIC` folder.","permissions":["read-all","scope-public"]},"allow-public-read-recursive":{"identifier":"allow-public-read-recursive","description":"This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["read-all","scope-public-recursive"]},"allow-public-write":{"identifier":"allow-public-write","description":"This allows non-recursive write access to the `$PUBLIC` folder.","permissions":["write-all","scope-public"]},"allow-public-write-recursive":{"identifier":"allow-public-write-recursive","description":"This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["write-all","scope-public-recursive"]},"allow-resource-meta":{"identifier":"allow-resource-meta","description":"This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-index"]},"allow-resource-meta-recursive":{"identifier":"allow-resource-meta-recursive","description":"This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-recursive"]},"allow-resource-read":{"identifier":"allow-resource-read","description":"This allows non-recursive read access to the `$RESOURCE` folder.","permissions":["read-all","scope-resource"]},"allow-resource-read-recursive":{"identifier":"allow-resource-read-recursive","description":"This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["read-all","scope-resource-recursive"]},"allow-resource-write":{"identifier":"allow-resource-write","description":"This allows non-recursive write access to the `$RESOURCE` folder.","permissions":["write-all","scope-resource"]},"allow-resource-write-recursive":{"identifier":"allow-resource-write-recursive","description":"This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["write-all","scope-resource-recursive"]},"allow-runtime-meta":{"identifier":"allow-runtime-meta","description":"This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-index"]},"allow-runtime-meta-recursive":{"identifier":"allow-runtime-meta-recursive","description":"This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-recursive"]},"allow-runtime-read":{"identifier":"allow-runtime-read","description":"This allows non-recursive read access to the `$RUNTIME` folder.","permissions":["read-all","scope-runtime"]},"allow-runtime-read-recursive":{"identifier":"allow-runtime-read-recursive","description":"This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["read-all","scope-runtime-recursive"]},"allow-runtime-write":{"identifier":"allow-runtime-write","description":"This allows non-recursive write access to the `$RUNTIME` folder.","permissions":["write-all","scope-runtime"]},"allow-runtime-write-recursive":{"identifier":"allow-runtime-write-recursive","description":"This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["write-all","scope-runtime-recursive"]},"allow-temp-meta":{"identifier":"allow-temp-meta","description":"This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-index"]},"allow-temp-meta-recursive":{"identifier":"allow-temp-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-recursive"]},"allow-temp-read":{"identifier":"allow-temp-read","description":"This allows non-recursive read access to the `$TEMP` folder.","permissions":["read-all","scope-temp"]},"allow-temp-read-recursive":{"identifier":"allow-temp-read-recursive","description":"This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.","permissions":["read-all","scope-temp-recursive"]},"allow-temp-write":{"identifier":"allow-temp-write","description":"This allows non-recursive write access to the `$TEMP` folder.","permissions":["write-all","scope-temp"]},"allow-temp-write-recursive":{"identifier":"allow-temp-write-recursive","description":"This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.","permissions":["write-all","scope-temp-recursive"]},"allow-template-meta":{"identifier":"allow-template-meta","description":"This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-index"]},"allow-template-meta-recursive":{"identifier":"allow-template-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-recursive"]},"allow-template-read":{"identifier":"allow-template-read","description":"This allows non-recursive read access to the `$TEMPLATE` folder.","permissions":["read-all","scope-template"]},"allow-template-read-recursive":{"identifier":"allow-template-read-recursive","description":"This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["read-all","scope-template-recursive"]},"allow-template-write":{"identifier":"allow-template-write","description":"This allows non-recursive write access to the `$TEMPLATE` folder.","permissions":["write-all","scope-template"]},"allow-template-write-recursive":{"identifier":"allow-template-write-recursive","description":"This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["write-all","scope-template-recursive"]},"allow-video-meta":{"identifier":"allow-video-meta","description":"This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-index"]},"allow-video-meta-recursive":{"identifier":"allow-video-meta-recursive","description":"This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-recursive"]},"allow-video-read":{"identifier":"allow-video-read","description":"This allows non-recursive read access to the `$VIDEO` folder.","permissions":["read-all","scope-video"]},"allow-video-read-recursive":{"identifier":"allow-video-read-recursive","description":"This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["read-all","scope-video-recursive"]},"allow-video-write":{"identifier":"allow-video-write","description":"This allows non-recursive write access to the `$VIDEO` folder.","permissions":["write-all","scope-video"]},"allow-video-write-recursive":{"identifier":"allow-video-write-recursive","description":"This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["write-all","scope-video-recursive"]},"create-app-specific-dirs":{"identifier":"create-app-specific-dirs","description":"This permissions allows to create the application specific directories.\n","permissions":["allow-mkdir","scope-app-index"]},"deny-default":{"identifier":"deny-default","description":"This denies access to dangerous Tauri relevant files and folders by default.","permissions":["deny-webview-data-linux","deny-webview-data-windows"]},"read-app-specific-dirs-recursive":{"identifier":"read-app-specific-dirs-recursive","description":"This permission allows recursive read functionality on the application\nspecific base directories.\n","permissions":["allow-read-dir","allow-read-file","allow-read-text-file","allow-read-text-file-lines","allow-read-text-file-lines-next","allow-exists","scope-app-recursive"]},"write-all":{"identifier":"write-all","description":"This enables all write related commands without any pre-configured accessible paths.","permissions":["allow-mkdir","allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]},"write-files":{"identifier":"write-files","description":"This enables all file write related commands without any pre-configured accessible paths.","permissions":["allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]}},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"description":"A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},{"properties":{"path":{"description":"A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"}},"required":["path"],"type":"object"}],"description":"FS scope entry.","title":"FsScopeEntry"}},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"cmd":{"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"window-state":{"default_permission":{"identifier":"default","description":"This permission set configures what kind of\noperations are available from the window state plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n","permissions":["allow-filename","allow-restore-state","allow-save-window-state"]},"permissions":{"allow-filename":{"identifier":"allow-filename","description":"Enables the filename command without any pre-configured scope.","commands":{"allow":["filename"],"deny":[]}},"allow-restore-state":{"identifier":"allow-restore-state","description":"Enables the restore_state command without any pre-configured scope.","commands":{"allow":["restore_state"],"deny":[]}},"allow-save-window-state":{"identifier":"allow-save-window-state","description":"Enables the save_window_state command without any pre-configured scope.","commands":{"allow":["save_window_state"],"deny":[]}},"deny-filename":{"identifier":"deny-filename","description":"Denies the filename command without any pre-configured scope.","commands":{"allow":[],"deny":["filename"]}},"deny-restore-state":{"identifier":"deny-restore-state","description":"Denies the restore_state command without any pre-configured scope.","commands":{"allow":[],"deny":["restore_state"]}},"deny-save-window-state":{"identifier":"deny-save-window-state","description":"Denies the save_window_state command without any pre-configured scope.","commands":{"allow":[],"deny":["save_window_state"]}}},"permission_sets":{},"global_scope_schema":null}} \ No newline at end of file diff --git a/apps/desktop/src-tauri/gen/schemas/capabilities.json b/apps/desktop/src-tauri/gen/schemas/capabilities.json index d324e77d..ec3728ae 100644 --- a/apps/desktop/src-tauri/gen/schemas/capabilities.json +++ b/apps/desktop/src-tauri/gen/schemas/capabilities.json @@ -1 +1 @@ -{"default":{"identifier":"default","description":"Default capability — grants core API, read access to harness config roots under $HOME (the Machine-observation paths .claude.json, the exact Claude Desktop / VS Code User config files the surface registry declares, .copilot and .agents are reachable only by the read, read-dir and exists permissions), mkdir and lstat inside the fs scope, and shell open. No shell execute, spawn, stdin or kill: production code runs processes from Rust only. fs write, rename and remove are not granted to the webview; they go through guarded_write_file, guarded_rename_file and guarded_remove_file, which write and rename only the engine's .harness-tmp- files, and delete only those and its backups (removing a store moves it to ~/.harness/backups/quarantine/ instead)","local":true,"windows":["main"],"permissions":["core:default","core:window:allow-start-dragging","core:event:allow-listen","core:event:allow-emit","fs:allow-read-text-file","fs:allow-read-dir","fs:allow-exists","fs:allow-lstat","fs:allow-mkdir",{"identifier":"fs:scope","allow":[{"path":"$HOME/CLAUDE.md"},{"path":"$HOME/AGENTS.md"},{"path":"$HOME/.mcp.json"},{"path":"$HOME/.claude"},{"path":"$HOME/.claude/**"},{"path":"$HOME/.cursor"},{"path":"$HOME/.cursor/**"},{"path":"$HOME/.github"},{"path":"$HOME/.github/**"},{"path":"$HOME/.vscode"},{"path":"$HOME/.vscode/**"},{"path":"$HOME/.codex"},{"path":"$HOME/.codex/**"},{"path":"$HOME/.opencode"},{"path":"$HOME/.opencode/**"},{"path":"$HOME/.config/opencode"},{"path":"$HOME/.config/opencode/**"},{"path":"$HOME/.windsurf"},{"path":"$HOME/.windsurf/**"},{"path":"$HOME/.gemini"},{"path":"$HOME/.gemini/**"},{"path":"$HOME/.junie"},{"path":"$HOME/.junie/**"},{"path":"$HOME/.pi"},{"path":"$HOME/.pi/**"},{"path":"$HOME/.harness-kit"},{"path":"$HOME/.harness-kit/**"},{"path":"$HOME/.harness/backups"},{"path":"$HOME/.harness/backups/**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-exists","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},"dialog:default","dialog:allow-open","dialog:allow-save","shell:default","shell:allow-open","allow-list-installed-plugins","allow-list-marketplaces","allow-check-plugin-updates","allow-uninstall-plugin","allow-read-plugin-tree","allow-read-plugin-file","allow-write-plugin-file","allow-import-plugin-from-path","allow-import-plugin-from-zip","allow-export-plugin-as-zip","allow-export-plugin-to-folder","allow-read-hooks","allow-read-claude-md","allow-write-config-file","allow-read-harness-file","allow-write-harness-file","allow-scan-claude-config","allow-list-custom-profiles","allow-get-custom-profile","allow-save-custom-profile","allow-delete-custom-profile","allow-list-claude-dir","allow-detect-claude-account","allow-read-stats-cache","allow-list-sessions-summary","allow-read-session-facet","allow-list-active-sessions","allow-read-live-activity","allow-compute-live-stats","allow-read-session-transcript","allow-check-git-repo","allow-check-for-updates","allow-trigger-rebuild","allow-save-evaluation","allow-get-evaluations","allow-update-evaluation-score","allow-create-evaluation-session","allow-get-evaluation-session","allow-reveal-evaluation-session","allow-save-pairwise-vote","allow-get-pairwise-votes","allow-get-pairwise-analytics","allow-delete-pairwise-vote","allow-export-comparison-json","allow-get-comparator-analytics","allow-save-comparison","allow-update-comparison-title","allow-update-comparison-status","allow-list-comparisons","allow-get-comparison","allow-delete-comparison","allow-tag-comparison-task-type","allow-get-harness-recommendations","allow-save-panel","allow-update-panel-result","allow-save-file-diffs","allow-get-comparison-diffs","allow-get-panel-diffs","allow-read-permissions","allow-update-permissions","allow-list-security-presets","allow-apply-security-preset","allow-list-required-env","allow-set-keychain-secret","allow-delete-keychain-secret","allow-read-env-config","allow-write-env-config","allow-list-audit-entries","allow-clear-audit-entries","allow-read-file-history","allow-push-file-history","allow-get-history-size","allow-sync-read-file","allow-sync-file-exists","allow-sync-read-dir","allow-sync-write-files","allow-verify-definitions-signature","allow-get-cached-definitions","allow-put-cached-definitions","allow-get-highest-bundle-number","allow-record-bundle-number","allow-apply-surface-transaction","allow-record-transaction","allow-migrate-drift-acknowledgements","allow-acknowledge-drift","allow-unacknowledge-drift","allow-list-drift-acknowledgements","allow-sync-create-backup","allow-sync-list-backups","allow-sync-restore-backup","allow-detect-harnesses","allow-grant-project-scope","allow-choose-project-dir","allow-guarded-write-file","allow-guarded-rename-file","allow-guarded-remove-file","allow-acknowledge-drift-item","allow-unacknowledge-drift-item","allow-get-acknowledged-drift-items","allow-get-system-info","allow-submit-feedback"]}} \ No newline at end of file +{"default":{"identifier":"default","description":"Default capability — grants core API, read access to harness config roots under $HOME (the Machine-observation paths .claude.json, the exact Claude Desktop / VS Code User config files the surface registry declares, .copilot and .agents are reachable only by the read, read-dir and exists permissions), mkdir and lstat inside the fs scope, and shell open. No shell execute, spawn, stdin or kill: production code runs processes from Rust only. fs write, rename and remove are not granted to the webview; they go through guarded_write_file, guarded_rename_file and guarded_remove_file, which write and rename only the engine's .harness-tmp- files, and delete only those and its backups (removing a store moves it to ~/.harness/backups/quarantine/ instead)","local":true,"windows":["main"],"permissions":["core:default","core:window:allow-start-dragging","core:event:allow-listen","core:event:allow-emit","fs:allow-read-text-file","fs:allow-read-dir","fs:allow-exists","fs:allow-lstat","fs:allow-mkdir",{"identifier":"fs:scope","allow":[{"path":"$HOME/CLAUDE.md"},{"path":"$HOME/AGENTS.md"},{"path":"$HOME/.mcp.json"},{"path":"$HOME/.claude"},{"path":"$HOME/.claude/**"},{"path":"$HOME/.cursor"},{"path":"$HOME/.cursor/**"},{"path":"$HOME/.github"},{"path":"$HOME/.github/**"},{"path":"$HOME/.vscode"},{"path":"$HOME/.vscode/**"},{"path":"$HOME/.codex"},{"path":"$HOME/.codex/**"},{"path":"$HOME/.opencode"},{"path":"$HOME/.opencode/**"},{"path":"$HOME/.config/opencode"},{"path":"$HOME/.config/opencode/**"},{"path":"$HOME/.windsurf"},{"path":"$HOME/.windsurf/**"},{"path":"$HOME/.gemini"},{"path":"$HOME/.gemini/**"},{"path":"$HOME/.junie"},{"path":"$HOME/.junie/**"},{"path":"$HOME/.pi"},{"path":"$HOME/.pi/**"},{"path":"$HOME/.harness-kit"},{"path":"$HOME/.harness-kit/**"},{"path":"$HOME/.harness/backups"},{"path":"$HOME/.harness/backups/**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-exists","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},"dialog:default","dialog:allow-open","dialog:allow-save","shell:default","shell:allow-open","allow-list-installed-plugins","allow-list-marketplaces","allow-check-plugin-updates","allow-uninstall-plugin","allow-read-plugin-tree","allow-read-plugin-file","allow-write-plugin-file","allow-import-plugin-from-path","allow-import-plugin-from-zip","allow-export-plugin-as-zip","allow-export-plugin-to-folder","allow-read-hooks","allow-read-claude-md","allow-write-config-file","allow-read-harness-file","allow-write-harness-file","allow-list-custom-profiles","allow-get-custom-profile","allow-save-custom-profile","allow-delete-custom-profile","allow-list-claude-dir","allow-detect-claude-account","allow-read-stats-cache","allow-list-sessions-summary","allow-read-session-facet","allow-list-active-sessions","allow-read-live-activity","allow-compute-live-stats","allow-read-session-transcript","allow-check-git-repo","allow-check-for-updates","allow-trigger-rebuild","allow-save-evaluation","allow-get-evaluations","allow-update-evaluation-score","allow-create-evaluation-session","allow-get-evaluation-session","allow-reveal-evaluation-session","allow-save-pairwise-vote","allow-get-pairwise-votes","allow-get-pairwise-analytics","allow-delete-pairwise-vote","allow-export-comparison-json","allow-get-comparator-analytics","allow-save-comparison","allow-update-comparison-title","allow-update-comparison-status","allow-list-comparisons","allow-get-comparison","allow-delete-comparison","allow-tag-comparison-task-type","allow-get-harness-recommendations","allow-save-panel","allow-update-panel-result","allow-save-file-diffs","allow-get-comparison-diffs","allow-get-panel-diffs","allow-read-permissions","allow-update-permissions","allow-list-security-presets","allow-apply-security-preset","allow-list-required-env","allow-set-keychain-secret","allow-delete-keychain-secret","allow-read-env-config","allow-write-env-config","allow-list-audit-entries","allow-clear-audit-entries","allow-read-file-history","allow-push-file-history","allow-get-history-size","allow-sync-read-file","allow-sync-file-exists","allow-sync-read-dir","allow-sync-write-files","allow-verify-definitions-signature","allow-get-cached-definitions","allow-put-cached-definitions","allow-get-highest-bundle-number","allow-record-bundle-number","allow-apply-surface-transaction","allow-record-transaction","allow-migrate-drift-acknowledgements","allow-acknowledge-drift","allow-unacknowledge-drift","allow-list-drift-acknowledgements","allow-sync-create-backup","allow-sync-list-backups","allow-sync-restore-backup","allow-detect-harnesses","allow-grant-project-scope","allow-choose-project-dir","allow-guarded-write-file","allow-guarded-rename-file","allow-guarded-remove-file","allow-acknowledge-drift-item","allow-unacknowledge-drift-item","allow-get-acknowledged-drift-items","allow-get-system-info","allow-submit-feedback"]}} \ No newline at end of file diff --git a/apps/desktop/src-tauri/gen/schemas/desktop-schema.json b/apps/desktop/src-tauri/gen/schemas/desktop-schema.json index 32195a7b..a926a30e 100644 --- a/apps/desktop/src-tauri/gen/schemas/desktop-schema.json +++ b/apps/desktop/src-tauri/gen/schemas/desktop-schema.json @@ -2684,12 +2684,6 @@ "const": "allow-save-panel", "markdownDescription": "Enables the save_panel command without any pre-configured scope." }, - { - "description": "Enables the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "allow-scan-claude-config", - "markdownDescription": "Enables the scan_claude_config command without any pre-configured scope." - }, { "description": "Enables the set_keychain_secret command without any pre-configured scope.", "type": "string", @@ -3308,12 +3302,6 @@ "const": "deny-save-panel", "markdownDescription": "Denies the save_panel command without any pre-configured scope." }, - { - "description": "Denies the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "deny-scan-claude-config", - "markdownDescription": "Denies the scan_claude_config command without any pre-configured scope." - }, { "description": "Denies the set_keychain_secret command without any pre-configured scope.", "type": "string", diff --git a/apps/desktop/src-tauri/gen/schemas/linux-schema.json b/apps/desktop/src-tauri/gen/schemas/linux-schema.json index 99f13f00..1510ea9c 100644 --- a/apps/desktop/src-tauri/gen/schemas/linux-schema.json +++ b/apps/desktop/src-tauri/gen/schemas/linux-schema.json @@ -2762,12 +2762,6 @@ "const": "allow-save-panel", "markdownDescription": "Enables the save_panel command without any pre-configured scope." }, - { - "description": "Enables the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "allow-scan-claude-config", - "markdownDescription": "Enables the scan_claude_config command without any pre-configured scope." - }, { "description": "Enables the set_keychain_secret command without any pre-configured scope.", "type": "string", @@ -3470,12 +3464,6 @@ "const": "deny-save-panel", "markdownDescription": "Denies the save_panel command without any pre-configured scope." }, - { - "description": "Denies the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "deny-scan-claude-config", - "markdownDescription": "Denies the scan_claude_config command without any pre-configured scope." - }, { "description": "Denies the set_keychain_secret command without any pre-configured scope.", "type": "string", diff --git a/apps/desktop/src-tauri/gen/schemas/macOS-schema.json b/apps/desktop/src-tauri/gen/schemas/macOS-schema.json index 32195a7b..a926a30e 100644 --- a/apps/desktop/src-tauri/gen/schemas/macOS-schema.json +++ b/apps/desktop/src-tauri/gen/schemas/macOS-schema.json @@ -2684,12 +2684,6 @@ "const": "allow-save-panel", "markdownDescription": "Enables the save_panel command without any pre-configured scope." }, - { - "description": "Enables the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "allow-scan-claude-config", - "markdownDescription": "Enables the scan_claude_config command without any pre-configured scope." - }, { "description": "Enables the set_keychain_secret command without any pre-configured scope.", "type": "string", @@ -3308,12 +3302,6 @@ "const": "deny-save-panel", "markdownDescription": "Denies the save_panel command without any pre-configured scope." }, - { - "description": "Denies the scan_claude_config command without any pre-configured scope.", - "type": "string", - "const": "deny-scan-claude-config", - "markdownDescription": "Denies the scan_claude_config command without any pre-configured scope." - }, { "description": "Denies the set_keychain_secret command without any pre-configured scope.", "type": "string", diff --git a/apps/desktop/src-tauri/permissions/autogenerated/scan_claude_config.toml b/apps/desktop/src-tauri/permissions/autogenerated/scan_claude_config.toml deleted file mode 100644 index 528e0794..00000000 --- a/apps/desktop/src-tauri/permissions/autogenerated/scan_claude_config.toml +++ /dev/null @@ -1,11 +0,0 @@ -# Automatically generated - DO NOT EDIT! - -[[permission]] -identifier = "allow-scan-claude-config" -description = "Enables the scan_claude_config command without any pre-configured scope." -commands.allow = ["scan_claude_config"] - -[[permission]] -identifier = "deny-scan-claude-config" -description = "Denies the scan_claude_config command without any pre-configured scope." -commands.deny = ["scan_claude_config"] diff --git a/apps/desktop/src-tauri/src/commands/harness_file.rs b/apps/desktop/src-tauri/src/commands/harness_file.rs index 5e1a84dc..ffe4462d 100644 --- a/apps/desktop/src-tauri/src/commands/harness_file.rs +++ b/apps/desktop/src-tauri/src/commands/harness_file.rs @@ -27,13 +27,11 @@ fn read_harness_file_in(home_raw: &Path) -> Result { // compare correctly against the canonicalized candidate paths below. let home = home_raw.canonicalize().unwrap_or(home_raw); - // Search priority: - // 1. ~/.claude/harness.yaml - // 2. ~/harness.yaml - let candidates = [ - home.join(".claude").join("harness.yaml"), - home.join("harness.yaml"), - ]; + // The personal profile is ~/.claude/harness.yaml and nothing else (AC-55). + // Drift, Profile, Compile and onboarding all read this one path; a + // ~/harness.yaml is not a harness.yaml to any of them, so it is not + // read here either. + let candidates = [home.join(".claude").join("harness.yaml")]; for path in &candidates { // Use canonicalize() as the existence check — eliminates the TOCTOU @@ -93,58 +91,6 @@ fn write_harness_file_in( Ok("~/.claude/harness.yaml".to_string()) } -/// Scan ~/.claude/ for existing Claude Code configuration that can be used -/// to generate a harness.yaml. -/// -/// Claude Code stores MCP servers in mcp.json (no dot prefix) and -/// permissions in settings.local.json under the `permissions` key. -#[derive(serde::Serialize)] -#[serde(rename_all = "camelCase")] -pub struct ClaudeConfigScan { - /// Raw content of mcp.json / .mcp.json — whichever was found first. - pub mcp_servers_json: Option, - /// Raw content of settings.local.json or settings.json — whichever was found first. - pub settings_json: Option, - /// Which MCP file was found, for display in the UI. - pub mcp_source: Option, - /// Which settings file was found, for display in the UI. - pub settings_source: Option, -} - -#[tauri::command] -pub fn scan_claude_config() -> Result { - scan_claude_config_in(&home_dir()?) -} - -fn scan_claude_config_in(home: &Path) -> Result { - let claude_dir = home.join(".claude"); - - // MCP servers: mcp.json is the current Claude Code location; .mcp.json is a legacy fallback. - let (mcp_servers_json, mcp_source) = [ - (claude_dir.join("mcp.json"), "~/.claude/mcp.json"), - (claude_dir.join(".mcp.json"), "~/.claude/.mcp.json"), - ] - .into_iter() - .find_map(|(path, label)| { - std::fs::read_to_string(&path).ok().map(|c| (Some(c), Some(label.to_string()))) - }) - .unwrap_or((None, None)); - - // Permissions: settings.local.json has per-user overrides (allow/deny/ask); - // fall back to settings.json for users without a local file. - let (settings_json, settings_source) = [ - (claude_dir.join("settings.local.json"), "~/.claude/settings.local.json"), - (claude_dir.join("settings.json"), "~/.claude/settings.json"), - ] - .into_iter() - .find_map(|(path, label)| { - std::fs::read_to_string(&path).ok().map(|c| (Some(c), Some(label.to_string()))) - }) - .unwrap_or((None, None)); - - Ok(ClaudeConfigScan { mcp_servers_json, settings_json, mcp_source, settings_source }) -} - #[cfg(test)] mod tests { use super::*; @@ -172,12 +118,12 @@ mod tests { } #[test] - fn read_harness_file_falls_back_to_home_root() { + fn read_harness_file_ignores_a_file_at_the_home_root() { let dir = TempDir::new().unwrap(); std::fs::write(dir.path().join("harness.yaml"), "version: \"1\"\n").unwrap(); let result = read_harness_file_in(dir.path()).unwrap(); - assert!(result.found); - assert_eq!(result.path.unwrap(), "~/harness.yaml"); + assert!(!result.found); + assert!(result.content.is_none()); } #[test] @@ -253,27 +199,4 @@ mod tests { write_harness_file_in(dir.path(), "new\n".to_string(), Some(&digest)).unwrap(); assert_ne!(std::fs::metadata(&file).unwrap().ino(), before); } - - #[test] - fn scan_claude_config_returns_none_when_files_absent() { - let dir = TempDir::new().unwrap(); - std::fs::create_dir(dir.path().join(".claude")).unwrap(); - let result = scan_claude_config_in(dir.path()).unwrap(); - assert!(result.mcp_servers_json.is_none()); - assert!(result.settings_json.is_none()); - } - - #[test] - fn scan_claude_config_reads_mcp_and_settings() { - let dir = TempDir::new().unwrap(); - let claude = dir.path().join(".claude"); - std::fs::create_dir(&claude).unwrap(); - std::fs::write(claude.join("mcp.json"), r#"{"mcpServers":{}}"#).unwrap(); - std::fs::write(claude.join("settings.local.json"), r#"{"permissions":{"allow":[]}}"#).unwrap(); - let result = scan_claude_config_in(dir.path()).unwrap(); - assert!(result.mcp_servers_json.is_some()); - assert_eq!(result.mcp_source.unwrap(), "~/.claude/mcp.json"); - assert!(result.settings_json.is_some()); - assert_eq!(result.settings_source.unwrap(), "~/.claude/settings.local.json"); - } } diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index 07c9d107..05f6e5f0 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -90,7 +90,6 @@ pub fn run() { // Harness File commands::harness_file::read_harness_file, commands::harness_file::write_harness_file, - commands::harness_file::scan_claude_config, // Custom Profiles commands::profiles::list_custom_profiles, commands::profiles::get_custom_profile, diff --git a/apps/desktop/src/lib/harness-generator.ts b/apps/desktop/src/lib/harness-generator.ts index a9c0fc5b..8af67cdb 100644 --- a/apps/desktop/src/lib/harness-generator.ts +++ b/apps/desktop/src/lib/harness-generator.ts @@ -1,131 +1,8 @@ -import type { ClaudeConfigScan } from "./tauri"; - -export interface GenerateSummary { - mcpServerCount: number; - allowCount: number; - denyCount: number; - mcpSource: string | null; - settingsSource: string | null; -} - -/** Generate a harness.yaml from existing Claude Code config files. */ -export function generateHarnessYaml(scan: ClaudeConfigScan): { yaml: string; summary: GenerateSummary } { - const lines: string[] = [ - 'version: "1"', - "metadata:", - " name: my-harness", - " description: Generated from existing Claude Code configuration.", - "", - ]; - - let mcpServerCount = 0; - let allowCount = 0; - let denyCount = 0; - - // ── MCP servers from ~/.claude/mcp.json ───────────────────── - if (scan.mcpServersJson) { - try { - const parsed = JSON.parse(scan.mcpServersJson) as { - mcpServers?: Record; - url?: string; - }>; - }; - const servers = parsed.mcpServers ?? {}; - const entries = Object.entries(servers); - - if (entries.length > 0) { - mcpServerCount = entries.length; - lines.push("mcp-servers:"); - for (const [name, server] of entries) { - lines.push(` ${name}:`); - if (server.url) { - lines.push(` transport: sse`); - lines.push(` url: ${server.url}`); - } else { - lines.push(` transport: stdio`); - if (server.command) lines.push(` command: ${server.command}`); - if (server.args && server.args.length > 0) { - lines.push(` args:`); - for (const arg of server.args) { - const needsQuote = /[\s:{}[\],#&*?|<>=!%@`]/.test(arg); - lines.push(` - ${needsQuote ? JSON.stringify(arg) : arg}`); - } - } - if (server.env && Object.keys(server.env).length > 0) { - lines.push(` env:`); - for (const [k, v] of Object.entries(server.env)) { - lines.push(` ${k}: ${v}`); - } - } - } - } - lines.push(""); - } - } catch { - // malformed — skip - } - } - - // ── Permissions from ~/.claude/settings.local.json or settings.json ─ - // Claude Code stores permissions under `permissions.allow/deny/ask`. - if (scan.settingsJson) { - try { - const settings = JSON.parse(scan.settingsJson) as { - // settings.local.json format - permissions?: { allow?: string[]; deny?: string[]; ask?: string[] }; - // legacy settings.json format - allowedTools?: string[]; - blockedTools?: string[]; - allowedDirectories?: string[]; - }; - - const allow = settings.permissions?.allow ?? settings.allowedTools ?? []; - const deny = settings.permissions?.deny ?? settings.blockedTools ?? []; - const writablePaths = settings.allowedDirectories ?? []; - - allowCount = allow.length; - denyCount = deny.length; - - if (allow.length > 0 || deny.length > 0 || writablePaths.length > 0) { - lines.push("permissions:"); - if (allow.length > 0 || deny.length > 0) { - lines.push(" tools:"); - if (allow.length > 0) { - lines.push(" allow:"); - for (const t of allow) lines.push(` - "${t}"`); - } - if (deny.length > 0) { - lines.push(" deny:"); - for (const t of deny) lines.push(` - "${t}"`); - } - } - if (writablePaths.length > 0) { - lines.push(" paths:"); - lines.push(" writable:"); - for (const p of writablePaths) lines.push(` - ${p}`); - } - lines.push(""); - } - } catch { - // malformed — skip - } - } - - return { - yaml: lines.join("\n"), - summary: { - mcpServerCount, - allowCount, - denyCount, - mcpSource: scan.mcpSource, - settingsSource: scan.settingsSource, - }, - }; -} - +/** + * The blank harness.yaml the editor opens with. A harness.yaml built from this + * machine's setup comes from the machine inventory instead + * (`personal-inventory.ts`, AC-56). + */ export const HARNESS_TEMPLATE = `version: "1" metadata: name: my-harness diff --git a/apps/desktop/src/lib/personal-inventory.ts b/apps/desktop/src/lib/personal-inventory.ts new file mode 100644 index 00000000..7cae53e1 --- /dev/null +++ b/apps/desktop/src/lib/personal-inventory.ts @@ -0,0 +1,26 @@ +import { homeDir } from "@tauri-apps/api/path"; +import { importFromInventory } from "@harness-kit/core"; +import type { InventoryImportResult } from "@harness-kit/core"; +import { TauriFsProvider } from "./harness-fs"; +import { resolveDesktopDefinitions } from "./definitions"; +import { detectDesktopPlatform } from "../pages/machine/machine-data"; + +/** + * Build the personal harness.yaml (`~/.claude/harness.yaml`) from the same + * machine inventory the Machine grid shows (AC-56): user-scope stores only, + * the registry from the verified definitions bundle when one resolves, and the + * same platform detection `loadMachineInventory` uses. No project is read, so + * the personal profile never absorbs a project's committed servers (AC-55). + */ +export async function importPersonalHarness( + meta?: { name?: string; description?: string }, +): Promise { + const home = await homeDir(); + const definitions = await resolveDesktopDefinitions(); + return importFromInventory( + new TauriFsProvider(home), + { projectRoot: null, homeRoot: home, platform: detectDesktopPlatform() }, + definitions.surfaces, + meta, + ); +} diff --git a/apps/desktop/src/lib/tauri.ts b/apps/desktop/src/lib/tauri.ts index 5446f64b..26f51e11 100644 --- a/apps/desktop/src/lib/tauri.ts +++ b/apps/desktop/src/lib/tauri.ts @@ -139,17 +139,6 @@ export async function writeHarnessFile(content: string, expectedSha256?: string) return invoke("write_harness_file", { content, expectedSha256 }); } -export interface ClaudeConfigScan { - mcpServersJson: string | null; - settingsJson: string | null; - mcpSource: string | null; - settingsSource: string | null; -} - -export async function scanClaudeConfig(): Promise { - return invoke("scan_claude_config"); -} - // ── Custom Profile commands ─────────────────────────────────── export interface CustomProfile { diff --git a/apps/desktop/src/pages/drift/DriftPage.tsx b/apps/desktop/src/pages/drift/DriftPage.tsx index 36aaeb54..8a87aa74 100644 --- a/apps/desktop/src/pages/drift/DriftPage.tsx +++ b/apps/desktop/src/pages/drift/DriftPage.tsx @@ -4,9 +4,11 @@ import type { ToastItem } from "@harness-kit/ui"; import { buildDriftScopes, collectDrift, + describeScopes, driftItemKey, summarizeDrift, type DriftSummary, + type ScopeStatus, type ScopedDriftItem, } from "./drift-data"; import { isRepairable } from "./classification"; @@ -51,6 +53,7 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp const [showAcknowledged, setShowAcknowledged] = useState(false); const [portability, setPortability] = useState(null); const [scanned, setScanned] = useState(false); + const [scopeStatuses, setScopeStatuses] = useState([]); const pushToast = useCallback((toast: Omit) => { const id = `${Date.now()}-${Math.random()}`; @@ -77,13 +80,17 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp .then((dir) => joinPath(dir, "comparator.db")) .then((legacy) => migrateDriftAcknowledgements(legacy)) .catch(() => 0); - const [collected, ackRows, portabilitySnapshot] = await Promise.all([ - collectDrift(scopes), + const [{ collected, statuses }, ackRows, portabilitySnapshot] = await Promise.all([ + collectDrift(scopes).then(async (collected) => ({ + collected, + statuses: await describeScopes(scopes, collected), + })), getAcknowledgedDriftItems().catch(() => []), home ? buildDesktopPortabilitySnapshot(home, project) : Promise.resolve(null), ]); if (seq !== loadSeq.current) return; setEntries(collected); + setScopeStatuses(statuses); setPortability(portabilitySnapshot); setAcknowledged( new Set(ackRows.map((a) => [a.scopeRoot, a.adapter, a.path, a.harnessName, a.slot].join("::"))), @@ -172,6 +179,7 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp onRescan={load} onDismissToast={(id) => setToasts((prev) => prev.filter((t) => t.id !== id))} portability={portability} + scopeStatuses={scopeStatuses} /> void; onDismissToast: (id: string) => void; portability?: DesktopPortabilitySnapshot | null; + /** What each scanned scope's harness.yaml is (AC-55); empty before a scan lands. */ + scopeStatuses?: ScopeStatus[]; +} + +/** The scopes Drift could not honestly call clean: no file, unreadable, or never compiled. */ +function attentionNotes(statuses: ScopeStatus[]): { key: string; text: string }[] { + const notes: { key: string; text: string }[] = []; + for (const s of statuses) { + const key = `${s.scope.kind}::${s.scope.root}`; + if (s.state === "no-file") { + notes.push({ key, text: `${s.scope.label}: no harness.yaml at ${s.path}, so there is nothing to compare against.` }); + } else if (s.state === "unreadable") { + notes.push({ key, text: `${s.scope.label}: could not read ${s.path}${s.detail ? ` (${s.detail})` : ""}.` }); + } else if (s.state === "never-compiled") { + notes.push({ key, text: `${s.scope.label}: ${s.path} has never been compiled. Nothing it describes is deployed yet.` }); + } + } + return notes; +} + +function ScopeNotes({ statuses }: { statuses: ScopeStatus[] }) { + const notes = attentionNotes(statuses); + if (notes.length === 0) return null; + return ( +
+ {notes.map((n) => ( +

+ {n.text} +

+ ))} +
+ ); } /** @@ -61,6 +93,7 @@ export function DriftView({ onRescan, onDismissToast, portability = null, + scopeStatuses = [], }: DriftViewProps) { const visible = filteredEntries.filter((e) => showAcknowledged || !acknowledged.has(driftItemKey(e.scope, e.item))); @@ -76,6 +109,8 @@ export function DriftView({ })(); const repairableCount = filteredEntries.filter((e) => isRepairable(e.item.class)).length; + const needsAttention = attentionNotes(scopeStatuses).length > 0; + const hasProject = scopeStatuses.some((s) => s.scope.kind === "project"); if (loading && entries.length === 0) { return ( @@ -113,11 +148,20 @@ export function DriftView({ {/* A failed scan found nothing, which is not the same as no drift. */} {error ? ( + ) : needsAttention ? ( + // Some scope has no usable or no deployed harness.yaml: saying "no + // drift" would claim a comparison that never happened (AC-55). + <> + + + ) : ( } title="No drift detected" - description="Every deployed config matches harness.yaml across Global and this project. Compile from Profile after you next edit harness.yaml to keep it that way." + description={`Every deployed config matches harness.yaml across Global${hasProject ? " and this project" : ""}. Compile from Profile after you next edit harness.yaml to keep it that way.`} action={ + ); })} diff --git a/apps/desktop/src/components/ContextMenu.tsx b/apps/desktop/src/components/ContextMenu.tsx index 442459a2..d8b40eea 100644 --- a/apps/desktop/src/components/ContextMenu.tsx +++ b/apps/desktop/src/components/ContextMenu.tsx @@ -11,23 +11,52 @@ interface ContextMenuProps { onClose: () => void; } +/** + * A menu (WAI-ARIA menu pattern): focus moves to the first item on open, + * Arrow/Home/End move between items, Enter/Space activate, Escape and Tab + * close it, and focus returns to whatever opened it (AC-61). + */ export default function ContextMenu({ x, y, items, onClose }: ContextMenuProps) { const menuRef = useRef(null); useEffect(() => { + const opener = document.activeElement; + const itemEls = () => Array.from(menuRef.current?.querySelectorAll('[role="menuitem"]') ?? []); + itemEls()[0]?.focus(); + function onPointerDown(e: PointerEvent) { if (menuRef.current && !menuRef.current.contains(e.target as Node)) { onClose(); } } function onKeyDown(e: KeyboardEvent) { - if (e.key === "Escape") onClose(); + const els = itemEls(); + const at = els.indexOf(document.activeElement as HTMLElement); + const focusAt = (i: number) => { + e.preventDefault(); + els[(i + els.length) % els.length]?.focus(); + }; + if (e.key === "Escape") { + e.preventDefault(); + onClose(); + } else if (e.key === "Tab") { + onClose(); + } else if (e.key === "ArrowDown") focusAt(at + 1); + else if (e.key === "ArrowUp") focusAt(at === -1 ? -1 : at - 1); + else if (e.key === "Home") focusAt(0); + else if (e.key === "End") focusAt(-1); } document.addEventListener("pointerdown", onPointerDown); document.addEventListener("keydown", onKeyDown); return () => { document.removeEventListener("pointerdown", onPointerDown); document.removeEventListener("keydown", onKeyDown); + // Give focus back unless the user already moved it somewhere on purpose + // (a pointer click elsewhere) — body means nothing else claimed it. + if (opener instanceof HTMLElement && opener.isConnected && document.activeElement !== opener) { + const active = document.activeElement; + if (!active || active === document.body || menuRef.current?.contains(active)) opener.focus(); + } }; // onClose is always () => setContextMenu(null) — stable by contract. // Omitting it from deps prevents listener churn on every parent render. @@ -37,6 +66,7 @@ export default function ContextMenu({ x, y, items, onClose }: ContextMenuProps) return (
{ item.onClick(); onClose(); }} style={{ display: "block", @@ -74,11 +107,13 @@ export default function ContextMenu({ x, y, items, onClose }: ContextMenuProps) border: "none", borderRadius: "5px", background: "transparent", - color: item.danger ? "var(--danger)" : "var(--fg-base)", + color: item.danger ? "var(--danger-text)" : "var(--fg-base)", cursor: "pointer", }} onMouseEnter={(e) => (e.currentTarget.style.background = item.danger ? "rgba(220,38,38,0.08)" : "var(--hover-bg)")} onMouseLeave={(e) => (e.currentTarget.style.background = "transparent")} + onFocus={(e) => (e.currentTarget.style.background = item.danger ? "rgba(220,38,38,0.08)" : "var(--hover-bg)")} + onBlur={(e) => (e.currentTarget.style.background = "transparent")} > {item.label} diff --git a/apps/desktop/src/components/FeedbackModal.tsx b/apps/desktop/src/components/FeedbackModal.tsx index 6a82146c..a48b8aba 100644 --- a/apps/desktop/src/components/FeedbackModal.tsx +++ b/apps/desktop/src/components/FeedbackModal.tsx @@ -1,5 +1,6 @@ -import { useEffect, useState } from "react"; +import { useEffect, useRef, useState } from "react"; import { createPortal } from "react-dom"; +import { useDialogFocus } from "@harness-kit/ui"; import { open } from "@tauri-apps/plugin-shell"; import { getSystemInfo, submitFeedback, @@ -43,6 +44,17 @@ export default function FeedbackModal({ open: isOpen, onClose }: Props) { getSystemInfo().then(setSysInfo).catch(() => {}); }, [isOpen]); + const dialogRef = useRef(null); + useDialogFocus(isOpen, dialogRef); + useEffect(() => { + if (!isOpen) return; + function onKey(e: KeyboardEvent) { + if (e.key === "Escape") onClose(); + } + window.addEventListener("keydown", onKey); + return () => window.removeEventListener("keydown", onKey); + }, [isOpen, onClose]); + if (!isOpen) return null; const canSubmit = @@ -85,12 +97,21 @@ export default function FeedbackModal({ open: isOpen, onClose }: Props) { return createPortal(
-
e.stopPropagation()}> +
e.stopPropagation()} + > {/* Header */}
- Send Feedback + Send Feedback + {open && ( + setOpen(false)} + items={[ + { label: "Copy name", onClick: onCopy }, + { separator: true }, + { label: "Uninstall", onClick: onRemove, danger: true }, + ]} + /> + )} + + ); +} + +async function openMenu(user: ReturnType) { + await user.click(screen.getByRole("button", { name: "Actions" })); + const menu = screen.getByRole("menu"); + await waitFor(() => expect(screen.getByRole("menuitem", { name: "Copy name" })).toHaveFocus()); + return menu; +} + +describe("ContextMenu", () => { + it("is role=menu with menuitems and a separator, and focuses the first item", async () => { + const user = userEvent.setup(); + render(); + const menu = await openMenu(user); + expect(screen.getAllByRole("menuitem")).toHaveLength(2); + expect(menu.querySelector('[role="separator"]')).not.toBeNull(); + }); + + it("moves with the arrow keys, wrapping, and Home/End", async () => { + const user = userEvent.setup(); + render(); + await openMenu(user); + await user.keyboard("{ArrowDown}"); + expect(screen.getByRole("menuitem", { name: "Uninstall" })).toHaveFocus(); + await user.keyboard("{ArrowDown}"); + expect(screen.getByRole("menuitem", { name: "Copy name" })).toHaveFocus(); + await user.keyboard("{ArrowUp}"); + expect(screen.getByRole("menuitem", { name: "Uninstall" })).toHaveFocus(); + await user.keyboard("{Home}"); + expect(screen.getByRole("menuitem", { name: "Copy name" })).toHaveFocus(); + await user.keyboard("{End}"); + expect(screen.getByRole("menuitem", { name: "Uninstall" })).toHaveFocus(); + }); + + it("activates the focused item with Enter and closes", async () => { + const onRemove = vi.fn(); + const user = userEvent.setup(); + render(); + await openMenu(user); + await user.keyboard("{ArrowDown}{Enter}"); + expect(onRemove).toHaveBeenCalledOnce(); + expect(screen.queryByRole("menu")).not.toBeInTheDocument(); + }); + + it("returns focus to the opener on Escape", async () => { + const user = userEvent.setup(); + render(); + const opener = screen.getByRole("button", { name: "Actions" }); + await openMenu(user); + await user.keyboard("{Escape}"); + expect(screen.queryByRole("menu")).not.toBeInTheDocument(); + expect(opener).toHaveFocus(); + }); + + it("closes on Tab instead of leaving focus behind a hidden menu", async () => { + const user = userEvent.setup(); + render(); + await openMenu(user); + await user.tab(); + expect(screen.queryByRole("menu")).not.toBeInTheDocument(); + }); +}); diff --git a/apps/desktop/src/components/__tests__/ToastProvider.test.tsx b/apps/desktop/src/components/__tests__/ToastProvider.test.tsx index ec1fae1f..824ca4a9 100644 --- a/apps/desktop/src/components/__tests__/ToastProvider.test.tsx +++ b/apps/desktop/src/components/__tests__/ToastProvider.test.tsx @@ -7,7 +7,7 @@ function Pusher({ variant = "success", }: { title?: string; - variant?: "success" | "warning"; + variant?: "success" | "warning" | "danger"; }) { const toast = useToast(); return ( @@ -17,10 +17,41 @@ function Pusher({ ); } +// The one live region (AC-61): always mounted, toasts appear inside it. +const region = () => screen.getByRole("log", { name: "Notifications" }); +const shownToasts = () => Array.from(region().querySelectorAll(".hk-toast")).map((t) => t.textContent); + describe("ToastProvider", () => { beforeEach(() => vi.useFakeTimers()); afterEach(() => vi.useRealTimers()); + it("mounts the live region before any toast, so the first message is announced", () => { + render( + + + , + ); + expect(region()).toBeInTheDocument(); + expect(shownToasts()).toEqual([]); + fireEvent.click(screen.getByRole("button", { name: "push" })); + // The same node: the region was not created by the toast. + expect(region()).toHaveTextContent("Copied github to Codex"); + }); + + it("gives a danger toast role=alert and the others no role of their own", () => { + render( + + + + , + ); + const [danger, ok] = screen.getAllByRole("button", { name: "push" }); + fireEvent.click(danger); + fireEvent.click(ok); + expect(screen.getByRole("alert")).toHaveTextContent("Copied github to Codex"); + expect(screen.queryByRole("status")).not.toBeInTheDocument(); + }); + it("shows a pushed toast and dismisses it after the timeout", () => { render( @@ -28,12 +59,12 @@ describe("ToastProvider", () => { , ); fireEvent.click(screen.getByRole("button", { name: "push" })); - expect(screen.getByRole("status")).toHaveTextContent("Copied github to Codex"); + expect(region()).toHaveTextContent("Copied github to Codex"); act(() => vi.advanceTimersByTime(TOAST_TIMEOUT_MS - 1)); - expect(screen.queryByRole("status")).toBeInTheDocument(); + expect(shownToasts()).toHaveLength(1); act(() => vi.advanceTimersByTime(1)); - expect(screen.queryByRole("status")).not.toBeInTheDocument(); + expect(shownToasts()).toHaveLength(0); }); it("keeps a warning until it is dismissed", () => { @@ -44,9 +75,9 @@ describe("ToastProvider", () => { ); fireEvent.click(screen.getByRole("button", { name: "push" })); act(() => vi.advanceTimersByTime(TOAST_TIMEOUT_MS * 3)); - expect(screen.getByRole("status")).toHaveTextContent("Copied github to Codex"); + expect(region()).toHaveTextContent("Copied github to Codex"); fireEvent.click(screen.getByRole("button", { name: "Dismiss notification" })); - expect(screen.queryByRole("status")).not.toBeInTheDocument(); + expect(shownToasts()).toHaveLength(0); }); it("dismisses on the close button", () => { @@ -57,7 +88,7 @@ describe("ToastProvider", () => { ); fireEvent.click(screen.getByRole("button", { name: "push" })); fireEvent.click(screen.getByRole("button", { name: "Dismiss notification" })); - expect(screen.queryByRole("status")).not.toBeInTheDocument(); + expect(shownToasts()).toHaveLength(0); }); it("gives each toast its own id, so dismissing one keeps the other", () => { @@ -70,10 +101,9 @@ describe("ToastProvider", () => { const [first, second] = screen.getAllByRole("button", { name: "push" }); fireEvent.click(first); fireEvent.click(second); - expect(screen.getAllByRole("status")).toHaveLength(2); + expect(shownToasts()).toHaveLength(2); fireEvent.click(screen.getAllByRole("button", { name: "Dismiss notification" })[0]); - expect(screen.getAllByRole("status")).toHaveLength(1); - expect(screen.getByRole("status")).toHaveTextContent("second"); + expect(shownToasts()).toEqual(["second"]); }); it("shows the newest three when more are stacked", () => { @@ -85,13 +115,12 @@ describe("ToastProvider", () => { , ); for (const button of screen.getAllByRole("button", { name: "push" })) fireEvent.click(button); - const shown = screen.getAllByRole("status").map((toast) => toast.textContent); - expect(shown).toEqual(["two", "three", "four"]); + expect(shownToasts()).toEqual(["two", "three", "four"]); }); it("is a no-op outside a provider", () => { render(); expect(() => fireEvent.click(screen.getByRole("button", { name: "push" }))).not.toThrow(); - expect(screen.queryByRole("status")).not.toBeInTheDocument(); + expect(screen.queryByRole("log")).not.toBeInTheDocument(); }); }); diff --git a/apps/desktop/src/components/__tests__/dialogs-a11y.test.tsx b/apps/desktop/src/components/__tests__/dialogs-a11y.test.tsx new file mode 100644 index 00000000..9153bd78 --- /dev/null +++ b/apps/desktop/src/components/__tests__/dialogs-a11y.test.tsx @@ -0,0 +1,70 @@ +import { describe, it, expect, vi } from "vitest"; +import { render, screen, waitFor } from "@testing-library/react"; +import userEvent from "@testing-library/user-event"; +import { useState } from "react"; + +vi.mock("@tauri-apps/plugin-shell", () => ({ open: vi.fn() })); +vi.mock("../../lib/tauri", () => ({ + getSystemInfo: vi.fn().mockResolvedValue({}), + submitFeedback: vi.fn(), + listCustomProfiles: vi.fn().mockResolvedValue([]), + getCustomProfile: vi.fn(), + deleteCustomProfile: vi.fn(), +})); + +import FeedbackModal from "../FeedbackModal"; +import ProfilePickerModal from "../ProfilePickerModal"; + +// AC-61: FeedbackModal and ProfilePickerModal are real dialogs. +function Host({ which }: { which: "feedback" | "profiles" }) { + const [open, setOpen] = useState(false); + return ( + <> + + {which === "feedback" ? ( + setOpen(false)} /> + ) : ( + setOpen(false)} onSelect={() => {}} /> + )} + + ); +} + +describe.each([ + ["feedback", "Send Feedback"], + ["profiles", "Choose a profile"], +] as const)("%s dialog", (which, name) => { + it("is a named modal dialog that takes focus", async () => { + const user = userEvent.setup(); + render(); + await user.click(screen.getByRole("button", { name: "Launch" })); + const dialog = await screen.findByRole("dialog", { name }); + expect(dialog).toHaveAttribute("aria-modal", "true"); + await waitFor(() => expect(dialog).toHaveFocus()); + }); + + it("traps Tab and returns focus to the trigger on Escape or close", async () => { + const user = userEvent.setup(); + render(); + const trigger = screen.getByRole("button", { name: "Launch" }); + await user.click(trigger); + const dialog = await screen.findByRole("dialog", { name }); + await waitFor(() => expect(dialog).toHaveFocus()); + for (let i = 0; i < 40; i++) { + await user.tab(); + expect(dialog).toContainElement(document.activeElement as HTMLElement); + } + await user.keyboard("{Escape}"); + await waitFor(() => expect(screen.queryByRole("dialog")).not.toBeInTheDocument()); + expect(trigger).toHaveFocus(); + }); +}); + +describe("feedback dialog close control", () => { + it("labels the icon-only close button", async () => { + const user = userEvent.setup(); + render(); + await user.click(screen.getByRole("button", { name: "Launch" })); + expect(await screen.findByRole("button", { name: "Close" })).toBeInTheDocument(); + }); +}); diff --git a/apps/desktop/src/components/__tests__/ui-modal.test.tsx b/apps/desktop/src/components/__tests__/ui-modal.test.tsx new file mode 100644 index 00000000..e11f27bb --- /dev/null +++ b/apps/desktop/src/components/__tests__/ui-modal.test.tsx @@ -0,0 +1,100 @@ +import { describe, it, expect } from "vitest"; +import { render, screen, waitFor } from "@testing-library/react"; +import userEvent from "@testing-library/user-event"; +import { useState } from "react"; +import { Modal } from "@harness-kit/ui"; + +// AC-61: every modal traps focus while open and returns it to the trigger. +function Harness({ conditional = false }: { conditional?: boolean }) { + const [open, setOpen] = useState(false); + const modal = ( + setOpen(false)} title="Rename" footer={}> + + + ); + return ( + <> + + {conditional ? (open ? modal : null) : modal} + + ); +} + +async function openModal(user: ReturnType) { + await user.click(screen.getByRole("button", { name: "Open" })); + const dialog = await screen.findByRole("dialog", { name: "Rename" }); + await waitFor(() => expect(dialog).toHaveFocus()); + return dialog; +} + +describe("@harness-kit/ui Modal focus", () => { + it("moves focus into the dialog on open", async () => { + const user = userEvent.setup(); + render(); + await openModal(user); + }); + + it("keeps Tab inside the dialog, wrapping at both ends", async () => { + const user = userEvent.setup(); + render(); + await openModal(user); + const close = screen.getByRole("button", { name: "Close dialog" }); + const input = screen.getByRole("textbox", { name: "Name" }); + const save = screen.getByRole("button", { name: "Save" }); + + await user.tab(); + expect(close).toHaveFocus(); + await user.tab(); + expect(input).toHaveFocus(); + await user.tab(); + expect(save).toHaveFocus(); + await user.tab(); // past the last: wraps, never reaches the page behind + expect(close).toHaveFocus(); + await user.tab({ shift: true }); // before the first: wraps to the last + expect(save).toHaveFocus(); + }); + + it("pulls focus back in when it is outside the dialog", async () => { + const user = userEvent.setup(); + render(); + await openModal(user); + screen.getByRole("button", { name: "Open" }).focus(); + await user.tab(); + expect(screen.getByRole("dialog")).toContainElement(document.activeElement as HTMLElement); + }); + + it("returns focus to the trigger on Escape", async () => { + const user = userEvent.setup(); + render(); + const trigger = screen.getByRole("button", { name: "Open" }); + await openModal(user); + await user.keyboard("{Escape}"); + expect(screen.queryByRole("dialog")).not.toBeInTheDocument(); + expect(trigger).toHaveFocus(); + }); + + it("returns focus to the trigger when the parent unmounts the modal", async () => { + const user = userEvent.setup(); + render(); + const trigger = screen.getByRole("button", { name: "Open" }); + await openModal(user); + await user.click(screen.getByRole("button", { name: "Close dialog" })); + expect(screen.queryByRole("dialog")).not.toBeInTheDocument(); + expect(trigger).toHaveFocus(); + }); + + it("gives two open modals distinct title ids", async () => { + render( + <> + {}} title="First"> + a + + {}} title="Second"> + b + + , + ); + expect(screen.getByRole("dialog", { name: "First" })).toBeInTheDocument(); + expect(screen.getByRole("dialog", { name: "Second" })).toBeInTheDocument(); + }); +}); diff --git a/apps/desktop/src/layouts/AppLayout.tsx b/apps/desktop/src/layouts/AppLayout.tsx index 6818823e..0f17c3d7 100644 --- a/apps/desktop/src/layouts/AppLayout.tsx +++ b/apps/desktop/src/layouts/AppLayout.tsx @@ -126,11 +126,15 @@ function NavChildren({ entry, configFiles }: { entry: NavEntry; configFiles: str * paths forever. */ export function isSectionActive( - section: { path: string }, + section: { path: string; children?: { path: string }[]; owns?: string[] }, location: { pathname: string; search: string }, ): boolean { const [sectionPath, sectionQuery] = section.path.split("?"); - if (!location.pathname.startsWith(sectionPath)) return false; + // A section owns its children's routes (and their sub-routes), not just its + // landing path: /harness/mcp is Claude Code, /harness/sync is Profile (AC-61). + const within = (p: string) => location.pathname === p || location.pathname.startsWith(`${p}/`); + const owned = [sectionPath, ...(section.children ?? []).map((c) => c.path), ...(section.owns ?? [])]; + if (!owned.some(within)) return false; const params = new URLSearchParams(location.search); const marker = sectionQuery?.split("=")[0]; if (marker !== undefined) return params.get(marker) !== null; @@ -286,6 +290,10 @@ function AppShell() {
{/* Sidebar wrapper — controls collapse animation */}
) : ( diff --git a/apps/desktop/src/pages/__tests__/PreferencesPage.test.tsx b/apps/desktop/src/pages/__tests__/PreferencesPage.test.tsx index 11b5db41..9a623081 100644 --- a/apps/desktop/src/pages/__tests__/PreferencesPage.test.tsx +++ b/apps/desktop/src/pages/__tests__/PreferencesPage.test.tsx @@ -125,7 +125,7 @@ describe("PreferencesPage in the command palette (AC-21)", () => { ); const palette = screen.getByRole("dialog", { name: "Command palette" }); // One entry: the page's replaces the app-wide one. - const toggles = within(palette).getAllByRole("button", { name: "Toggle light / dark theme" }); + const toggles = within(palette).getAllByRole("option", { name: "Toggle light / dark theme" }); expect(toggles).toHaveLength(1); fireEvent.click(toggles[0]); diff --git a/apps/desktop/src/pages/drift/DriftPage.tsx b/apps/desktop/src/pages/drift/DriftPage.tsx index 8a87aa74..f6319524 100644 --- a/apps/desktop/src/pages/drift/DriftPage.tsx +++ b/apps/desktop/src/pages/drift/DriftPage.tsx @@ -1,6 +1,6 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { useSearchParams } from "react-router-dom"; -import type { ToastItem } from "@harness-kit/ui"; +import { useToast } from "../../components/ToastProvider"; import { buildDriftScopes, collectDrift, @@ -49,17 +49,13 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp const [loading, setLoading] = useState(true); const [error, setError] = useState(null); const [fixTarget, setFixTarget] = useState(null); - const [toasts, setToasts] = useState([]); const [showAcknowledged, setShowAcknowledged] = useState(false); const [portability, setPortability] = useState(null); const [scanned, setScanned] = useState(false); const [scopeStatuses, setScopeStatuses] = useState([]); - const pushToast = useCallback((toast: Omit) => { - const id = `${Date.now()}-${Math.random()}`; - setToasts((prev) => [...prev, { ...toast, id }]); - setTimeout(() => setToasts((prev) => prev.filter((t) => t.id !== id)), 4000); - }, []); + // The app's one toast stack (AppLayout's ToastProvider, always-mounted live region). + const pushToast = useToast(); // Only the latest scan lands: a project change can start one while another runs. const loadSeq = useRef(0); @@ -170,14 +166,12 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp error={error} harnessFilter={harnessFilter} showAcknowledged={showAcknowledged} - toasts={toasts} onToggleShowAcknowledged={() => setShowAcknowledged((v) => !v)} onFixAll={() => setFixTarget(filtered.filter((e) => isRepairable(e.item.class)))} onFixOne={(entry) => setFixTarget([entry])} onAcknowledge={handleAcknowledge} onUnacknowledge={handleUnacknowledge} onRescan={load} - onDismissToast={(id) => setToasts((prev) => prev.filter((t) => t.id !== id))} portability={portability} scopeStatuses={scopeStatuses} /> diff --git a/apps/desktop/src/pages/drift/DriftView.tsx b/apps/desktop/src/pages/drift/DriftView.tsx index 45483326..8b116ef4 100644 --- a/apps/desktop/src/pages/drift/DriftView.tsx +++ b/apps/desktop/src/pages/drift/DriftView.tsx @@ -1,4 +1,4 @@ -import { Button, StatusChip, DiffViewer, EmptyState, ErrorNotice, ToastViewport, type ToastItem } from "@harness-kit/ui"; +import { Button, StatusChip, DiffViewer, EmptyState, ErrorNotice } from "@harness-kit/ui"; import { ChevronRight, ShieldCheck } from "lucide-react"; import { ADAPTER_META } from "../fleet/adapter-meta"; import { driftItemKey, type ScopedDriftItem, type ScopeStatus } from "./drift-data"; @@ -26,14 +26,12 @@ export interface DriftViewProps { error: string | null; harnessFilter: string | null; showAcknowledged: boolean; - toasts: ToastItem[]; onToggleShowAcknowledged: () => void; onFixAll: () => void; onFixOne: (entry: ScopedDriftItem) => void; onAcknowledge: (entry: ScopedDriftItem) => void; onUnacknowledge: (entry: ScopedDriftItem) => void; onRescan: () => void; - onDismissToast: (id: string) => void; portability?: DesktopPortabilitySnapshot | null; /** What each scanned scope's harness.yaml is (AC-55); empty before a scan lands. */ scopeStatuses?: ScopeStatus[]; @@ -84,14 +82,12 @@ export function DriftView({ error, harnessFilter, showAcknowledged, - toasts, onToggleShowAcknowledged, onFixAll, onFixOne, onAcknowledge, onUnacknowledge, onRescan, - onDismissToast, portability = null, scopeStatuses = [], }: DriftViewProps) { @@ -273,8 +269,6 @@ export function DriftView({
); })} - -
); } diff --git a/apps/desktop/src/pages/harness/PluginsPage.tsx b/apps/desktop/src/pages/harness/PluginsPage.tsx index 970c7b74..d224fc9b 100644 --- a/apps/desktop/src/pages/harness/PluginsPage.tsx +++ b/apps/desktop/src/pages/harness/PluginsPage.tsx @@ -404,8 +404,9 @@ export default function PluginsPage() { } navigate(`/harness/plugins/${encodeURIComponent(plugin.name)}`); }} - onContextMenu={(e) => { - setContextMenu({ x: e.clientX, y: e.clientY, plugin }); + menuOpen={contextMenu?.plugin.name === plugin.name} + onContextMenu={(at) => { + setContextMenu({ ...at, plugin }); }} /> ))} diff --git a/apps/desktop/src/pages/harness/__tests__/PluginRow.test.tsx b/apps/desktop/src/pages/harness/__tests__/PluginRow.test.tsx new file mode 100644 index 00000000..01d597a0 --- /dev/null +++ b/apps/desktop/src/pages/harness/__tests__/PluginRow.test.tsx @@ -0,0 +1,45 @@ +import { describe, it, expect, vi } from "vitest"; +import { render, screen } from "@testing-library/react"; +import userEvent from "@testing-library/user-event"; +import PluginRow from "../plugins/PluginRow"; + +// AC-61: a plugin row is reachable and operable from the keyboard, and its +// context menu is a menu button, not a right-click-only gesture. +const plugin = { name: "demo", version: "1.0.0", description: "A demo plugin" }; + +function setup(extra: { menuOpen?: boolean } = {}) { + const onClick = vi.fn(); + const onContextMenu = vi.fn(); + render(); + return { onClick, onContextMenu }; +} + +describe("PluginRow keyboard", () => { + it("opens the plugin from its name with Enter and Space", async () => { + const user = userEvent.setup(); + const { onClick } = setup(); + await user.tab(); + expect(screen.getByRole("button", { name: "demo" })).toHaveFocus(); + await user.keyboard("{Enter}"); + await user.keyboard(" "); + expect(onClick).toHaveBeenCalledTimes(2); + }); + + it("has a menu button that announces the menu and its state", () => { + setup({ menuOpen: true }); + const actions = screen.getByRole("button", { name: "Actions for demo" }); + expect(actions).toHaveAttribute("aria-haspopup", "menu"); + expect(actions).toHaveAttribute("aria-expanded", "true"); + }); + + it("opens the menu from the keyboard without opening the plugin", async () => { + const user = userEvent.setup(); + const { onClick, onContextMenu } = setup(); + await user.tab(); + await user.tab(); + expect(screen.getByRole("button", { name: "Actions for demo" })).toHaveFocus(); + await user.keyboard("{Enter}"); + expect(onContextMenu).toHaveBeenCalledOnce(); + expect(onClick).not.toHaveBeenCalled(); + }); +}); diff --git a/apps/desktop/src/pages/harness/__tests__/PluginsPage.test.tsx b/apps/desktop/src/pages/harness/__tests__/PluginsPage.test.tsx index 3100d038..75f65658 100644 --- a/apps/desktop/src/pages/harness/__tests__/PluginsPage.test.tsx +++ b/apps/desktop/src/pages/harness/__tests__/PluginsPage.test.tsx @@ -356,7 +356,7 @@ describe("PluginsPage drag-to-import (Tauri drag-drop event)", () => { ); await waitFor(() => expect(screen.queryByText("Loading…")).not.toBeInTheDocument()); const option = () => - within(screen.getByRole("dialog", { name: "Command palette" })).getByRole("button", { + within(screen.getByRole("dialog", { name: "Command palette" })).getByRole("option", { name: "Import plugin from folder…", }); expect(option()).not.toHaveAttribute("aria-disabled"); diff --git a/apps/desktop/src/pages/harness/plugins/PluginRow.tsx b/apps/desktop/src/pages/harness/plugins/PluginRow.tsx index c44fe5ad..f39046a7 100644 --- a/apps/desktop/src/pages/harness/plugins/PluginRow.tsx +++ b/apps/desktop/src/pages/harness/plugins/PluginRow.tsx @@ -9,10 +9,13 @@ interface PluginRowProps { index: number; isLast: boolean; onClick: () => void; - onContextMenu: (e: React.MouseEvent) => void; + /** Right-click, or the row's menu button; `x`/`y` is where to anchor the menu. */ + onContextMenu: (at: { x: number; y: number }) => void; + /** True while this row's menu is open (drives the menu button's aria-expanded). */ + menuOpen?: boolean; } -export default function PluginRow({ plugin, update, index, isLast, onClick, onContextMenu }: PluginRowProps) { +export default function PluginRow({ plugin, update, index, isLast, onClick, onContextMenu, menuOpen = false }: PluginRowProps) { const counts = formatComponentCounts(plugin.component_counts); return ( @@ -23,7 +26,7 @@ export default function PluginRow({ plugin, update, index, isLast, onClick, onCo onClick={onClick} onContextMenu={(e) => { e.preventDefault(); - onContextMenu(e); + onContextMenu({ x: e.clientX, y: e.clientY }); }} style={{ display: "flex", alignItems: "center", gap: "12px", @@ -37,9 +40,15 @@ export default function PluginRow({ plugin, update, index, isLast, onClick, onCo {/* Left zone: name, description, counts, tags */}
- + {/* The keyboard way in: a native button, so Enter and Space work. + Its click bubbles to the row's onClick, which opens the plugin. */} +
@@ -68,6 +77,23 @@ export default function PluginRow({ plugin, update, index, isLast, onClick, onCo )}
+ {/* Menu button: the keyboard and touch way to the right-click actions */} + + {/* Right zone: version + date */}
window.removeEventListener("keydown", onKeyDown); }, [onClose]); + // Focus moves into the drawer on open and returns to the cell that opened + // it on close (AC-61). Not a trap: the drawer is not modal. + const drawerRef = useRef(null); + useEffect(() => { + const opener = document.activeElement; + drawerRef.current?.focus({ preventScroll: true }); + return () => { + const active = document.activeElement; + const leftInDrawer = !active || active === document.body || (drawerRef.current?.contains(active) ?? false); + if (leftInDrawer && opener instanceof HTMLElement && opener.isConnected) opener.focus(); + }; + }, []); + return (
+ + + {surfaceOrder.map((id) => ( + + ))} + {/* Product-family group header row */} @@ -235,10 +254,20 @@ export function MachineGrid({ scope="col" data-testid={`surface-col-${id}`} data-detected={detected ? "true" : "false"} - style={{ ...headCellStyle, ...(detected ? {} : { opacity: 0.45 }) }} + title={surfaceLabel(id)} + style={{ + ...headCellStyle, + overflow: "hidden", + ...(detected ? {} : { opacity: 0.45 }), + }} > - - {surfaceLabel(id)} + + + {surfaceLabel(id)} + {skipped > 0 && ( diff --git a/apps/desktop/src/pages/machine/RowDrawer.tsx b/apps/desktop/src/pages/machine/RowDrawer.tsx index 091fc4b4..1f59084f 100644 --- a/apps/desktop/src/pages/machine/RowDrawer.tsx +++ b/apps/desktop/src/pages/machine/RowDrawer.tsx @@ -460,7 +460,7 @@ function RowActions({ return (
{!anyTargets - ? "Present on every surface that supports it — nothing to sync." + ? "Present on every surface that supports it — nothing to copy." : "Not present on any surface — nothing to copy from."}
); diff --git a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx index a3b0268a..deb9e771 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx @@ -3,6 +3,7 @@ import { fireEvent, render, screen, within } from "@testing-library/react"; import { MACHINE_FIXTURE_INVENTORY } from "../../__fixtures__/machine-fixture-data"; import { MachineGrid } from "../MachineGrid"; import { CELL_VARIANTS, LEGEND_VARIANTS } from "../cell-state"; +import { surfaceLabel } from "../../../lib/surface-labels"; function renderGrid() { return render( @@ -144,6 +145,18 @@ describe("MachineGrid instructions row (AC-57)", () => { }); }); +describe("MachineGrid column labels at narrow widths (2c.12)", () => { + it("truncates a surface label with an ellipsis and keeps the full name in a tooltip", () => { + renderGrid(); + const header = screen.getByTestId("surface-col-claude-code"); + expect(header).toHaveAttribute("title", surfaceLabel("claude-code")); + const label = screen.getByTestId("surface-label-claude-code"); + expect(label.style.textOverflow).toBe("ellipsis"); + expect(label.style.overflow).toBe("hidden"); + expect(screen.getByTestId("machine-grid").style.tableLayout).toBe("fixed"); + }); +}); + describe("MachineGrid not-installed surfaces (AC-59)", () => { const total = MACHINE_FIXTURE_INVENTORY.surfaces.length; const hidden = MACHINE_FIXTURE_INVENTORY.surfaces.filter((s) => !s.detected).map((s) => s.id); diff --git a/apps/desktop/src/pages/observatory/SessionsPage.tsx b/apps/desktop/src/pages/observatory/SessionsPage.tsx index b2700f38..a7b7a40f 100644 --- a/apps/desktop/src/pages/observatory/SessionsPage.tsx +++ b/apps/desktop/src/pages/observatory/SessionsPage.tsx @@ -10,10 +10,10 @@ import { errorDetails } from "../../lib/error-details"; // ── Outcome badge ────────────────────────────────────────────── const OUTCOME_COLORS: Record = { - fully_achieved: { bg: "var(--success-light)", color: "var(--success)" }, + fully_achieved: { bg: "var(--success-light)", color: "var(--success-text)" }, mostly_achieved: { bg: "var(--accent-light)", color: "var(--accent-text)" }, - partially_achieved: { bg: "var(--warning-light)", color: "var(--warning)" }, - not_achieved: { bg: "var(--danger-light)", color: "var(--danger)" }, + partially_achieved: { bg: "var(--warning-light)", color: "var(--warning-text)" }, + not_achieved: { bg: "var(--danger-light)", color: "var(--danger-text)" }, }; function OutcomeBadge({ outcome }: { outcome: string }) { @@ -150,7 +150,7 @@ function TranscriptRow({ entry }: { entry: TranscriptEntry }) { padding: "1px 5px", borderRadius: "4px", background: "var(--success-light)", - color: "var(--success)", + color: "var(--success-text)", fontWeight: 500, }}> {name} @@ -254,10 +254,10 @@ function SessionDetail({ fontWeight: 500, }}> - {formatNumber(transcript.totalOutputTokens)} tokens out + {formatNumber(transcript.totalOutputTokens)} tokens out - {formatNumber(transcript.totalToolCalls)} tool calls + {formatNumber(transcript.totalToolCalls)} tool calls {transcript.modelsUsed.map(shortModelName).join(", ")} {transcript.subagentCount > 0 && ( @@ -266,7 +266,7 @@ function SessionDetail({
)} {transcript.truncated && ( - truncated + truncated )} )} diff --git a/apps/desktop/src/pages/onboarding/OnboardingFlow.tsx b/apps/desktop/src/pages/onboarding/OnboardingFlow.tsx index 88913686..3a66493c 100644 --- a/apps/desktop/src/pages/onboarding/OnboardingFlow.tsx +++ b/apps/desktop/src/pages/onboarding/OnboardingFlow.tsx @@ -354,7 +354,7 @@ function ConfirmStep({ {writing ? "Writing…" : "Write harness.yaml"}

Nothing is written until you confirm.

diff --git a/apps/desktop/src/pages/onboarding/__tests__/OnboardingPage.test.tsx b/apps/desktop/src/pages/onboarding/__tests__/OnboardingPage.test.tsx index 6c8c7be5..98bda19b 100644 --- a/apps/desktop/src/pages/onboarding/__tests__/OnboardingPage.test.tsx +++ b/apps/desktop/src/pages/onboarding/__tests__/OnboardingPage.test.tsx @@ -138,7 +138,7 @@ describe("OnboardingPage", () => { await waitFor(() => expect(onFinish).toHaveBeenCalled()); }); - it("explore read-only finishes without writing anything", async () => { + it("skip for now finishes without writing anything", async () => { mockImportMachine.mockResolvedValue(ONBOARDING_FIXTURE_RESULT); const user = userEvent.setup(); const { onFinish } = renderPage(); @@ -148,7 +148,7 @@ describe("OnboardingPage", () => { }); await user.click(screen.getByRole("button", { name: /preview harness\.yaml/i })); await user.click(await screen.findByRole("button", { name: /^continue$/i })); - await user.click(await screen.findByRole("button", { name: /explore read-only/i })); + await user.click(await screen.findByRole("button", { name: /skip for now/i })); expect(mockWriteHarnessFile).not.toHaveBeenCalled(); expect(onFinish).toHaveBeenCalled(); diff --git a/apps/desktop/src/pages/security/PermissionsPage.tsx b/apps/desktop/src/pages/security/PermissionsPage.tsx index 02373641..20ba976a 100644 --- a/apps/desktop/src/pages/security/PermissionsPage.tsx +++ b/apps/desktop/src/pages/security/PermissionsPage.tsx @@ -399,7 +399,7 @@ function CurrentConfigSummary({ } else if (mode === "auto") { detail = AI classifiers approve non-destructive actions.; } else if (tools.length === 0) { - detail = No tools selected — all actions will prompt.; + detail = No tools selected — all actions will prompt.; } else { detail = ( @@ -1124,9 +1124,9 @@ export default function PermissionsPage() { {(() => { const allTools = [...permissions.tools.allow, ...permissions.tools.deny, ...permissions.tools.ask]; const rows: { key: "allow" | "deny" | "ask"; label: string; color: string; chipColor: "green" | "red" | "amber" }[] = [ - { key: "allow", label: "Allow", color: "var(--success)", chipColor: "green" }, - { key: "deny", label: "Deny", color: "var(--danger)", chipColor: "red" }, - { key: "ask", label: "Ask", color: "var(--warning)", chipColor: "amber" }, + { key: "allow", label: "Allow", color: "var(--success-text)", chipColor: "green" }, + { key: "deny", label: "Deny", color: "var(--danger-text)", chipColor: "red" }, + { key: "ask", label: "Ask", color: "var(--warning-text)", chipColor: "amber" }, ]; return (
@@ -1175,7 +1175,7 @@ export default function PermissionsPage() { return (
-

Writable

+

Writable

{permissions.paths.writable.length > 0 && (
{permissions.paths.writable.map((p) => ( @@ -1186,7 +1186,7 @@ export default function PermissionsPage() { addToList("writable", v)} placeholder="Add path…" suggestions={PATH_SUGGESTIONS} existing={allPaths} />
-

Read-only

+

Read-only

{permissions.paths.readonly.length > 0 && (
{permissions.paths.readonly.map((p) => ( diff --git a/apps/desktop/src/pages/security/SecretsPage.tsx b/apps/desktop/src/pages/security/SecretsPage.tsx index bfe09b08..491a4668 100644 --- a/apps/desktop/src/pages/security/SecretsPage.tsx +++ b/apps/desktop/src/pages/security/SecretsPage.tsx @@ -201,7 +201,7 @@ export default function SecretsPage() { {secret.isSet ? "Update" : "Set"} {secret.isSet && ( - )} diff --git a/apps/desktop/src/pages/settings/ActivityTab.tsx b/apps/desktop/src/pages/settings/ActivityTab.tsx index 324a4907..e8611bb4 100644 --- a/apps/desktop/src/pages/settings/ActivityTab.tsx +++ b/apps/desktop/src/pages/settings/ActivityTab.tsx @@ -1,6 +1,8 @@ import { Suspense, lazy, useEffect, useState } from "react"; import { homeDir } from "@tauri-apps/api/path"; import { PortabilityPanel } from "../fleet/PortabilityPanel"; +import { RegistryEnrollment } from "../fleet/RegistryEnrollment"; +import { getLedgerLab } from "../../lib/preferences"; import { buildDesktopPortabilitySnapshot, type DesktopPortabilitySnapshot } from "../fleet/portability-data"; import { getCurrentProjectDir } from "../../lib/project-dir"; import { installationId } from "../../lib/installation-id"; @@ -75,7 +77,7 @@ export function ActivityTab() { {error && ( setAttempt((n) => n + 1) }} /> @@ -88,7 +90,7 @@ export function ActivityTab() { padding: "6px 10px", borderRadius: 6, background: "var(--warning-light)", - color: "var(--warning)", + color: "var(--warning-text)", fontSize: 11.5, }} > @@ -96,7 +98,20 @@ export function ActivityTab() {
)} - + {getLedgerLab() ? ( + + ) : ( + snapshot && ( +
+
+

Device enrollment

+
+
+ +
+
+ ) + )}
); } diff --git a/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx b/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx index dcb786ae..b889125e 100644 --- a/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx +++ b/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx @@ -58,14 +58,26 @@ describe("ActivityTab", () => { mockBuildDesktopPortabilitySnapshot.mockResolvedValue(snapshot); }); - it("renders both the audit log and the reconciliation ledger", async () => { + it("shows the audit log and device enrollment, not the ledger internals, by default (2c.13)", async () => { + render(); + + expect(await screen.findByText("Audit Log")).toBeInTheDocument(); + expect(await screen.findByRole("heading", { name: "Device enrollment" })).toBeInTheDocument(); + expect(screen.queryByText("Reconciliation ledger")).not.toBeInTheDocument(); + expect(screen.queryByText("Rollback points")).not.toBeInTheDocument(); + }); + + it("renders the reconciliation ledger when the Labs flag is on", async () => { + localStorage.setItem("harness-kit-labs-ledger", "true"); render(); expect(await screen.findByText("Audit Log")).toBeInTheDocument(); expect(await screen.findByText("Reconciliation ledger")).toBeInTheDocument(); + expect(screen.queryByRole("heading", { name: "Device enrollment" })).not.toBeInTheDocument(); }); it("does not grant project scope when no project is tracked", async () => { + localStorage.setItem("harness-kit-labs-ledger", "true"); render(); await screen.findByText("Reconciliation ledger"); expect(mockGrantProjectScope).not.toHaveBeenCalled(); @@ -73,6 +85,7 @@ describe("ActivityTab", () => { it("shows a degraded notice when a project is tracked but its scope grant fails", async () => { localStorage.setItem("harness-kit-sync-recent-dirs", JSON.stringify(["/repo/gone"])); + localStorage.setItem("harness-kit-labs-ledger", "true"); mockGrantProjectScope.mockRejectedValue(new Error("forbidden")); render(); @@ -88,11 +101,12 @@ describe("ActivityTab", () => { }); it("shows an error notice when the snapshot build itself fails outright (AC-20)", async () => { + localStorage.setItem("harness-kit-labs-ledger", "true"); mockBuildDesktopPortabilitySnapshot.mockRejectedValueOnce(new Error("boom")); render(); - expect(await screen.findByRole("alert")).toHaveTextContent("Couldn't build the reconciliation ledger"); + expect(await screen.findByRole("alert")).toHaveTextContent("Couldn't read this device's state"); expect(screen.queryByText(/Error: boom/)).not.toBeInTheDocument(); expect(screen.getByText("boom")).not.toBeVisible(); expect(screen.queryByTestId("project-degraded-notice")).not.toBeInTheDocument(); diff --git a/packages/ui/src/styles.css b/packages/ui/src/styles.css index 36adbd5d..5da38b72 100644 --- a/packages/ui/src/styles.css +++ b/packages/ui/src/styles.css @@ -75,7 +75,7 @@ .hk-btn-danger { background: var(--danger-light); - color: var(--danger); + color: var(--danger-text); } .hk-btn-danger:hover:not(:disabled) { filter: brightness(1.08); @@ -419,9 +419,9 @@ button.hk-summary-cell[data-active="true"] .hk-summary-label { color: var(--acce .hk-toast-icon { flex-shrink: 0; margin-top: 1px; } .hk-toast-title { font-size: 13px; font-weight: 550; color: var(--fg-base); } .hk-toast-message { font-size: 12px; color: var(--fg-muted); margin-top: 2px; } -.hk-toast[data-variant="success"] .hk-toast-icon { color: var(--success); } -.hk-toast[data-variant="warning"] .hk-toast-icon { color: var(--warning); } -.hk-toast[data-variant="danger"] .hk-toast-icon { color: var(--danger); } +.hk-toast[data-variant="success"] .hk-toast-icon { color: var(--success-text); } +.hk-toast[data-variant="warning"] .hk-toast-icon { color: var(--warning-text); } +.hk-toast[data-variant="danger"] .hk-toast-icon { color: var(--danger-text); } .hk-toast[data-variant="info"] .hk-toast-icon { color: var(--accent); } @keyframes hk-toast-in { from { opacity: 0; transform: translateY(8px); } @@ -529,7 +529,7 @@ button.hk-summary-cell[data-active="true"] .hk-summary-label { color: var(--acce color: var(--fg-subtle); } .hk-helper-text[data-error="true"] { - color: var(--danger); + color: var(--danger-text); } .hk-input, @@ -740,8 +740,8 @@ button.hk-summary-cell[data-active="true"] .hk-summary-label { color: var(--acce gap: 10px; min-width: 0; } -.hk-error-notice-icon { flex-shrink: 0; color: var(--danger); } -.hk-error-notice[data-tone="warning"] .hk-error-notice-icon { color: var(--warning); } +.hk-error-notice-icon { flex-shrink: 0; color: var(--danger-text); } +.hk-error-notice[data-tone="warning"] .hk-error-notice-icon { color: var(--warning-text); } .hk-error-notice-title { flex: 1; min-width: 0; From 6afbb1e61502fa11fa1533b48e103360a6748257 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Wed, 11 Nov 2026 21:20:26 -0500 Subject: [PATCH 08/16] docs: site, README and DESIGN.md describe the app as it is; fix false code comments Desktop mock and home page match the current nav (Machine, Profile, Claude Code, Marketplace, Labs); new Machine docs page; Observatory is Usage; Parity points at Machine; DESIGN.md tokens, legend, tab and drawer sections updated; removes claims about a lint and pages that no longer exist. Co-Authored-By: Claude Opus 5.5 --- README.md | 31 ++- apps/desktop/DESIGN.md | 22 +- .../src-tauri/src/commands/fs_scope.rs | 7 +- apps/desktop/src-tauri/src/lib.rs | 4 +- apps/desktop/src/lib/project-dir.ts | 4 +- apps/desktop/src/lib/tauri.ts | 2 +- packages/core/src/portability/capabilities.ts | 2 +- packages/ui/src/components/StatusChip.tsx | 4 +- packages/ui/src/components/Table.tsx | 4 +- website/app/explore/page.tsx | 26 +- website/app/page.tsx | 30 +-- website/components/architecture-diagram.tsx | 4 +- website/components/install-method-cards.tsx | 2 +- .../components/site/DesktopMock.module.css | 4 +- website/components/site/DesktopMock.tsx | 254 ++++++++---------- website/content/docs/apps/machine.md | 84 ++++++ website/content/docs/apps/meta.json | 2 +- website/content/docs/apps/observatory.md | 17 +- website/content/docs/apps/parity.md | 74 +---- .../content/docs/concepts/harness-protocol.md | 2 +- .../docs/getting-started/architecture.mdx | 6 +- .../docs/getting-started/installation.mdx | 2 +- 22 files changed, 303 insertions(+), 284 deletions(-) create mode 100644 website/content/docs/apps/machine.md diff --git a/README.md b/README.md index 05eb167c..2b7418b3 100644 --- a/README.md +++ b/README.md @@ -194,19 +194,24 @@ See the [Secrets Management guide](website/content/docs/guides/secrets-managemen ## 🖥️ Desktop App -A Tauri desktop control plane for your AI coding harnesses — config console with reverse-import and drift-repair. No external services required for any core path. - -- **Sync engine** — compiles `harness.yaml` to platform configs -- **Plugin explorer** — browse and manage installed plugins -- **Marketplace** — embedded plugin browser for discovering and installing from the marketplace -- **Observatory** — live session dashboard with stats and transcripts, reading local `~/.claude` data -- **Comparator** — structured evaluation workbench: configure harnesses, run side-by-side comparisons, review file diffs, and judge results across a 4-phase workflow, local-only -- **Harness editor** — inline editing with custom profiles -- **Parity** — cross-platform feature parity tracking across AI coding tools -- **Fleet and Drift** — layered capture/apply previews, capability losses, reconciliation conflicts, governed rollout status, and local rollback history -- **Security** — permissions editor, secrets management, and audit logging - -See [`apps/desktop/`](apps/desktop/) for build instructions. The desktop app is a separate product from the plugin marketplace. +A Tauri desktop app that shows what each AI coding tool on your machine has configured, and lets you copy a missing piece from one tool to another. It reads local files. No external service is needed. + +- **Machine** is the home screen. A grid lists every MCP server, skill, instruction file and plugin across the tools it finds, with one column per tool. Click a cell to open a drawer that shows where the resource lives, how copies differ, and a copy action from one tool to another. Tools that are not installed are hidden until you choose "Show all". +- **Drift** is a view inside Machine. It compares your `harness.yaml` with the files compiled from it, shows a diff for each item, and previews a fix before writing anything. +- **Profile** edits `harness.yaml` and compiles it into a project. With no project chosen, Profile and Compile use your personal `~/.claude/harness.yaml`. With a project chosen in the title bar, they use that project's committed `harness.yaml` as the team baseline. +- **Claude Code** holds the editors for that tool: Instructions, MCP servers, Plugins, Hooks, Permissions, and Usage (sessions, tool calls and tokens read from `~/.claude`). +- **Marketplace** browses the plugin catalog. +- **Settings** holds preferences, secrets and the activity log. +- **Comparator** runs the same prompt across tools side by side. It is off until you turn it on in Settings under Labs. + +How it handles your files: + +- Copies, Compile and Drift fixes show a preview before they write. Backups and rollback points for files in your home folder go to `~/.harness/backups/`, and for a project to that project's `.harness/backups/`. +- The app has no shell access. Folder choices, plugin imports and exports use native dialogs. +- Security presets merge into your permissions and list any deny rule they would remove before writing. +- Dialogs trap focus and return it on close, menus work from the keyboard, and text colors meet WCAG AA contrast. + +To build or run it, see [CONTRIBUTING.md](CONTRIBUTING.md) (`pnpm dev:desktop`). Design rules are in [`apps/desktop/DESIGN.md`](apps/desktop/DESIGN.md). The desktop app is a separate product from the plugin marketplace. ## 🌐 Cross-Platform diff --git a/apps/desktop/DESIGN.md b/apps/desktop/DESIGN.md index 85025309..19651b71 100644 --- a/apps/desktop/DESIGN.md +++ b/apps/desktop/DESIGN.md @@ -19,10 +19,10 @@ Reject any UI that contains: - Cool blue-grey **slate** neutrals (this direction is warm graphite — `#131215`, not `#0f172a`). Purple/indigo/violet accents. Purple→blue gradients. - Glassmorphism, gradient hero text, glow-on-everything, floating 3D blobs. - **Emoji as icons.** Icons are Lucide only, `viewBox="0 0 24 24"`, stroke 1.7, `w:16` default (20 for headers). One set, consistent stroke. -- Visible 1px neutral borders as the default separator. **Borderless is a core principle** — separate with background elevation steps + spacing + soft shadow. `--border-*` alphas are deliberately near-invisible; use them only as hairline reinforcement, never as the primary divider. +- Visible 1px neutral borders as the default separator. **Borderless is a core principle** — separate with background elevation steps + spacing + soft shadow. `--border-*` alphas are deliberately near-invisible; use them only as hairline reinforcement, never as the primary divider. Not yet true everywhere: many pages still draw 1px borders as separators. New and touched code follows the rule; do not copy the old pattern. - Marketing aesthetics inside the app: oversized type, 48px section gaps, centered hero layouts. - Four-stat-cards-in-a-row as decoration. Show data the user acts on, or nothing. -- **Inline hex or spacing literals in page code.** Every themed property comes from a token var through a `packages/ui` component. (Lint-enforced in `apps/desktop/src/pages`.) +- **Inline hex or spacing literals in page code.** Every themed property comes from a token var through a `packages/ui` component. No lint enforces this yet: reviewers check it, and some pages still hold hex literals and hand-drawn SVG icons that predate the rule. - Exclamation marks in app copy. Vague errors. System-jargon labels. - **A raw error as the message.** No page renders `String(err)` or an error's text inline. A failed scan, load, or write is an `ErrorNotice` (§7): what failed in plain words, one action, the raw text behind "Details" (ux-consolidation AC-20). @@ -40,8 +40,8 @@ Status colors are **shared across themes** and are NOT the accent. Only azure is --bg-sidebar: rgba(27,25,30,0.85) --fg-base: #EDEAE6 /* warm off-white */ --fg-muted: #A29C95 ---fg-subtle: #6C665F ---fg-placeholder: #514C46 +--fg-subtle: #968F88 /* 5.9:1 on --bg-base, AA on surface and elevated */ +--fg-placeholder: #8A847D /* 5.1:1 on --bg-base */ --border-base: rgba(255,255,255,0.05) --border-strong: rgba(255,255,255,0.09) --border-subtle: rgba(255,255,255,0.03) @@ -61,14 +61,15 @@ Status colors are **shared across themes** and are NOT the accent. Only azure is --bg-sidebar: rgba(244,242,239,0.85) --fg-base: #1A1714 --fg-muted: #57514A ---fg-subtle: #8B8479 ---fg-placeholder: #A8A199 +--fg-subtle: #655F55 /* 5.7:1 on --bg-base, AA on surface and elevated */ +--fg-placeholder: #716A60 /* 4.8:1 on --bg-base */ --border-base: rgba(20,15,10,0.06) --border-strong: rgba(20,15,10,0.10) --border-subtle: rgba(20,15,10,0.03) --accent: #2E9BE6 /* icons / large accents / fills */ --accent-light: rgba(46,155,230,0.10) --accent-text: #1668A6 /* azure TEXT on light must use this (AA on white); #2E9BE6 fails small-text contrast */ +--accent-fill: #1D6FB0 /* fill behind white text (primary button), both themes; #2E9BE6 gives 3.0:1 */ --accent-glow: rgba(46,155,230,0.25) --hover-bg: rgba(20,15,10,0.04) --active-bg: rgba(20,15,10,0.07) @@ -80,6 +81,7 @@ Status colors are **shared across themes** and are NOT the accent. Only azure is --warning: #E0A33D --warning-light: rgba(224,163,61,0.16) --danger: #F2555A --danger-light: rgba(242,85,90,0.14) ``` +Status colors as text on their own tint use `--success-text`, `--warning-text` and `--danger-text` (dark: `#4CC08A`, `#E0A33D`, `#FF7A7E`; light: `#1B6F47`, `#7A5000`, `#B3262C`), which meet AA on any surface; the base values above are for fills, dots and tints. Drift counts use `--warning`; conflicts/denials use `--danger`; in-sync uses `--success`. Status chips = tinted bg + colored text + a 6px dot. **Never solid-fill pills.** ### Shadows (warm-tinted in light) @@ -127,6 +129,8 @@ Headings get `text-wrap: balance`. Running prose (rare in-app) stays ≤ ~65ch. - **Copy voice:** plain, specific, count-forward ("5 harnesses, 5 drifted", "Drift 3"). Buttons say what happens ("Recompile all" → toast "Recompiled 4 configs"). Errors: what broke + how to fix, as an `ErrorNotice` (§7). No exclamation marks. - **Labs:** entries carrying a `labs` key in `apps/desktop/src/nav.ts` (Comparator today) are hidden from the sidebar, the ⌘-number shortcuts and the command palette until enabled in Settings › Labs. The route itself stays mounted, so a direct navigation still renders it (ux-consolidation spec AC-8, design D4). +**Access and writes (what copy may promise):** the webview has no shell access: it can open links, and every process the app runs starts from Rust. It cannot write files directly; writes go through the guarded Rust commands, and removing a store moves it to `~/.harness/backups/quarantine/` instead of deleting it. Backups and rollback manifests for applied changes live under `~/.harness/backups/`. Folders and files come from native dialogs (project folder, plugin import, exports); the app can touch a project only after the user picks it. Security presets merge into existing permissions: they add rules, keep existing deny rules, and list any deny rule a preset would remove for confirmation before writing. + --- ## 5. Information architecture @@ -163,9 +167,9 @@ Reference implementation of the visual language: the signed-off mock (Fleet — ### Machine (home) — this screen IS the product pitch 1. **Page head:** title "Machine" + one-line subtitle ("Every AI-harness resource on this machine, across all supported surfaces.") + primary action "Refresh" (right; reads "Scanning…" while a scan is in flight). 2. **Project directory:** chosen in the title bar (see §5, "Title bar"), not on the page; Machine has no directory field of its own. With no project the scan is machine-only; a project adds its project-scope stores, and every change of project starts a new scan with nothing selected. Refresh rescans with the same project. A `--warning`-toned notice ("Project directory could not be scanned — showing machine-only results") appears if the chosen directory degrades. -3. **Summary strip:** a single elevated bar: Resources (n) · Gaps (n) · Differs (n) · Drift vs harness.yaml (n) · Surfaces detected (n/total). Big-metric type, tabular-nums, uppercase micro-labels. Gaps and Differs count *rows* with at least one such chip (the unit the filter reveals; pairwise diffs would overcount), `--warning` when above zero. A non-zero Gaps or Differs cell is a toggle button (`aria-pressed`, active = `--accent-light` with an inset azure bottom rule) that filters the grid through `?filter=gaps|differs`, keeping every other query param. The active cell stays a pressed button even when its count reaches zero, so an empty filtered grid always has a visible cause. While filtered, a status line under the strip reads "Showing N of M resources with a closable gap" (or "…whose content differs") with a ghost "Show all". A drawer whose row is filtered out closes. The filter belongs to the grid: while the Drift view shows, no filter cell reads as pressed and there is no status line, and choosing Gaps or Differs returns to the grid with that filter in one URL update. The Drift cell is always a toggle button that selects the Drift view (pressed while it shows; pressing it again returns to the grid). Its value is the count of drift items the Drift list shows (unacknowledged; under `harness=`, that harness only) from the last scan Drift itself ran since Machine opened, `--warning` above zero, and "—" before any such scan: never "…", which would claim a scan is running, and Machine never scans for drift to fill it (see item 6). Under `harness=` the cell's accessible name says whose count it is ("Drift vs harness.yaml 3 for Cursor"). **View tabs:** under the strip sits a two-option segmented control, Resources | Drift vs harness.yaml. The options switch the content below, so it is a WAI-ARIA tab list labelled "Machine view": each option is a `tab` with `aria-selected` and `aria-controls` naming the one `tabpanel` that holds the view, which is labelled by the selected tab. Only the selected tab is in the Tab order; Left/Right (wrapping) and Home/End move to a tab and select it. Selected = `--accent-light` with an inset azure bottom rule, like a pressed strip cell. It selects `?view=grid|drift` (grid is the default and drops the param), keeping every other query param; choosing the tab already selected adds no history entry. It shows even when the machine scan failed, since Drift does not need the inventory, and keeps one place in the tree whether or not the strip has rendered, so focus on it survives the first scan landing. -4. **Grid:** rows = resources grouped by kind (uppercase group header), columns = surfaces grouped by product family (grouped header row); an undetected surface's column is dimmed and labelled "not installed". Each cell is a mono chip whose variant comes from `pages/machine/cell-state.ts` (spec AC-13, AC-14): `user` / `project` = present at that scope (tinted); `+ copy` = a closable gap, a dashed ghost chip; `differs` = present, but its effective digest departs from the row's baseline (the most frequent digest, ties to the earliest surface in registry order), `--warning` tint; `—` = no such concept on this surface; a dimmed `·` = has the concept but keeps no store here (not a gap); `?` = unknown (surface installed, store may be hidden); blank = absent and nothing can be copied there. Tooltips list every entry's digest, file and scope. Surface headers carry a skipped-entries count badge and, where readable, a marketplace-count badge. A persistent legend under the grid names every chip and both header badges, and lists only states the grid uses. Drift has no chip: it is per harness.yaml target, not per grid cell, and lives in the Drift view. Instructions are one row per scope ("User instructions", "Project instructions"), whatever each surface names its file (CLAUDE.md, AGENTS.md); the file stays in the cell's tooltip, and a file holding only a `harness:sync` block counts as present (spec AC-57). Row click opens the drawer; the selected row is `--accent-light`, so the neutral chips stay legible on it. -5. **Row drawer:** belongs to the grid view; switching to Drift closes it. A right-side panel, `--hk-drawer-width` (380px) wide. While it is open the page reserves that width on its right (`.hk-page[data-drawer-open]`), so no grid column sits under it; a narrow window scrolls the grid instead (AC-19). "Where it lives" (per-surface entries: scope, file path, short digest) and, when the row has cross-surface differences, "Differences" (each delta's path, kind, and left→right values). Below that, the copy action as **From → To** (AC-15): a source select over the surfaces that hold the resource, defaulting to the one holding the baseline, and a target select listing closable gaps first, then surfaces that hold a different version (which replace content and need the overwrite acknowledgement), defaulting to the first gap. Then the resolved CLI command, a capability-loss or overwrite checkbox when the plan requires one, a secret-value notice when applicable, and Apply / Copy CLI command / Copy prompt. A successful Apply toasts "Copied to " (AC-16) and rescans; the drawer stays open on the selected row, refreshed from the new scan, and Apply stays off until that scan rebuilds the plan, so one click writes once. +3. **Summary strip:** a single elevated bar: Resources (n) · Gaps (n) · Differs (n) · Drift vs harness.yaml (n) · Surfaces detected (n/total). Big-metric type, tabular-nums, uppercase micro-labels. Gaps and Differs count *rows* with at least one such chip (the unit the filter reveals; pairwise diffs would overcount), `--warning` when above zero. A non-zero Gaps or Differs cell is a toggle button (`aria-pressed`, active = `--accent-light` with an inset azure bottom rule) that filters the grid through `?filter=gaps|differs`, keeping every other query param. The active cell stays a pressed button even when its count reaches zero, so an empty filtered grid always has a visible cause. While filtered, a status line under the strip reads "Showing N of M resources with a closable gap" (or "…whose content differs") with a ghost "Show all". A drawer whose row is filtered out closes. The filter belongs to the grid: while the Drift view shows, no filter cell reads as pressed and there is no status line, and choosing Gaps or Differs returns to the grid with that filter in one URL update. The Drift cell is always a toggle button that selects the Drift view (pressed while it shows; pressing it again returns to the grid). Its value is the count of drift items the Drift list shows (unacknowledged; under `harness=`, that harness only) from the last scan Drift itself ran since Machine opened, `--warning` above zero, and "—" before any such scan: never "…", which would claim a scan is running, and Machine never scans for drift to fill it (see item 6). Under `harness=` the cell's accessible name says whose count it is ("Drift vs harness.yaml 3 for Cursor"). **View tabs:** under the strip sits a two-option segmented control, Resources | Drift vs harness.yaml. The options switch the content below, so it is a WAI-ARIA tab list labelled "Machine view": each option is a `tab` with `aria-selected` and `aria-controls` naming the one `tabpanel` that holds the view, which is labelled by the selected tab. Only one tab is in the Tab order (the selected one, until focus moves along the list). Activation is manual: Left/Right (wrapping) and Home/End move focus only, and Enter, Space or a click selects. Selecting Drift mounts the Drift page and starts its scan, so moving focus across the tabs must not. Selected = `--accent-light` with an inset azure bottom rule, like a pressed strip cell. It selects `?view=grid|drift` (grid is the default and drops the param), keeping every other query param; choosing the tab already selected adds no history entry. It shows even when the machine scan failed, since Drift does not need the inventory, and keeps one place in the tree whether or not the strip has rendered, so focus on it survives the first scan landing. +4. **Grid:** rows = resources grouped by kind (uppercase group header), columns = surfaces grouped by product family (grouped header row). Surfaces that are not installed are hidden by default, with an "N of M surfaces installed" note and a "Show all M" button above the grid ("Hide not installed" reverses it); a shown but undetected column is dimmed and labelled "not installed". When no surface is installed, all of them show. Hidden surfaces still count toward each row's baseline digest. Each cell is a mono chip whose variant comes from `pages/machine/cell-state.ts` (spec AC-13, AC-14): `user` / `project` = present at that scope (tinted); `+ copy` = a closable gap, a dashed ghost chip; `differs` = present, but its effective digest departs from the row's baseline (the most frequent digest, ties to the earliest surface in registry order), `--warning` tint; `—` = no such concept on this surface; a dimmed `·` = has the concept but keeps no store here (not a gap); `?` = unknown (surface installed, store may be hidden); blank = absent and nothing can be copied there. Tooltips list every entry's digest, file and scope. Surface headers carry a skipped-entries count badge and, where readable, a marketplace-count badge. A persistent legend under the grid names every chip state except the blank one and both header badges. It is a fixed list: it shows a state whether or not the current grid uses it. A plugin gap shows no "+ copy", because the app cannot write plugins (the drawer offers the CLI command and agent prompt instead). Drift has no chip: it is per harness.yaml target, not per grid cell, and lives in the Drift view. Instructions are one row per scope ("User instructions", "Project instructions"), whatever each surface names its file (CLAUDE.md, AGENTS.md); the file stays in the cell's tooltip, and a file holding only a `harness:sync` block counts as present (spec AC-57). Row click opens the drawer; clicking a cell opens it with that cell's surface as the default "To" target (when that surface can receive the copy); the selected row is `--accent-light`, so the neutral chips stay legible on it. +5. **Row drawer:** belongs to the grid view; switching to Drift closes it. A right-side panel, `--hk-drawer-width` (380px) wide. While it is open the page reserves that width on its right (`.hk-page[data-drawer-open]`), so no grid column sits under it; a narrow window scrolls the grid instead (AC-19). "Where it lives" (per-surface entries: scope, file path, short digest) and, when the row has cross-surface differences, "Differences" (each delta's path, kind, and left→right values). Below that, the copy action as **From → To** (AC-15): a source select over the surfaces that hold the resource, defaulting to the one holding the baseline, and a target select listing closable gaps first, then surfaces that hold a different version (which replace content and need the overwrite acknowledgement), defaulting to the clicked cell's surface, else the first gap. Then the resolved CLI command, a capability-loss or overwrite checkbox when the plan requires one, a secret-value notice when applicable, and Apply / Copy CLI command / Copy prompt. A successful Apply toasts "Copied to " (AC-16) and rescans; the drawer stays open on the selected row, refreshed from the new scan, and Apply stays off until that scan rebuilds the plan, so one click writes once. 6. **Drift view** (`?view=drift`, spec AC-18, design D6): replaces the grid, its legend, the filter status line and the skipped diagnostics (inside the tab panel) with the existing Drift page rendered embedded (no second `

`, no nested page container; see "Drift" below). Reached from the strip's Drift cell, the view toggle, the palette's "Open Drift vs harness.yaml", the redirected `/drift` route and the legacy `?drift=1`; `harness=` filters it (spec AC-6, AC-7). The app's scroll container keeps its offset across routes and views, so whenever the view becomes Drift (on arrival or on a switch) or `harness=` changes while it shows, the page scrolls the tabs and the start of Drift to the top of the scroll area, but only when that part is not already on screen: a user already looking at it is not moved. On a cold load the scroll waits for the first machine scan, since the strip it brings lands above the view; a later Refresh does not scroll. Drift is mounted only in this view, and that is behavioural: it scans every scope's harness.yaml and compiled output when it mounts, and the grid reads only the stores of the title bar's project, so nothing about drift runs until someone picks this view. There is no accordion. 7. **Skipped diagnostics** (grid view only): a collapsible disclosure listing, per surface, each skipped file and the reason it was skipped. diff --git a/apps/desktop/src-tauri/src/commands/fs_scope.rs b/apps/desktop/src-tauri/src/commands/fs_scope.rs index a0990106..a3377987 100644 --- a/apps/desktop/src-tauri/src/commands/fs_scope.rs +++ b/apps/desktop/src-tauri/src/commands/fs_scope.rs @@ -67,9 +67,10 @@ pub(crate) fn is_home_or_ancestor(candidate: &Path, home: &Path) -> bool { /// /// The static capability (capabilities/default.json) only ever lists known /// harness config roots under `$HOME` — it intentionally does not grant -/// `$HOME/**`. Fleet/Drift's project scope is an arbitrary directory the user -/// picked via a folder dialog (see SyncPage's `open({ directory: true })` and -/// `getCurrentProjectDir()`), so it can't be listed ahead of time. This +/// `$HOME/**`. The project scope of Machine, Drift and Compile is an arbitrary +/// directory the user picked in the title bar's native folder dialog (see +/// `choose_project_dir` and `getCurrentProjectDir()`), so it can't be listed +/// ahead of time. This /// command extends the runtime scope to cover exactly that directory /// (not retroactively trusting any other path). The scope itself lasts one /// launch, so this must be called again each launch before the project scope diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index 05f6e5f0..00b667a7 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -178,9 +178,9 @@ pub fn run() { commands::sync::sync_create_backup, commands::sync::sync_list_backups, commands::sync::sync_restore_backup, - // Harness detection (used by Fleet) + // Harness detection (used by Comparator's setup) commands::harnesses::detect_harnesses, - // Runtime FS scope grants (used by Fleet/Drift's project scope) + // Runtime FS scope grants (used by the project scope of Machine, Drift and Compile) commands::fs_scope::grant_project_scope, commands::fs_scope::choose_project_dir, // Guarded write/rename/remove for the webview's TauriFsProvider diff --git a/apps/desktop/src/lib/project-dir.ts b/apps/desktop/src/lib/project-dir.ts index fe1b8ad0..b5219d56 100644 --- a/apps/desktop/src/lib/project-dir.ts +++ b/apps/desktop/src/lib/project-dir.ts @@ -6,8 +6,8 @@ import { grantProjectScope } from "./tauri"; * The one project directory the desktop app tracks (spec AC-17, design D9). * The title bar's selector writes it; Machine, Drift and Profile › Compile * subscribe, Onboarding and Settings › Activity read it once. There is no - * multi-project registry (see DESIGN.md Fleet contract: scope honestly to - * Global + the open project). + * multi-project registry (see DESIGN.md §6 Machine: scope honestly to this + * machine plus the open project). * * Access: reading the value grants nothing. Every consumer calls * `grantProjectDir` before it touches the project (the grant is idempotent on diff --git a/apps/desktop/src/lib/tauri.ts b/apps/desktop/src/lib/tauri.ts index 26f51e11..3c8056b4 100644 --- a/apps/desktop/src/lib/tauri.ts +++ b/apps/desktop/src/lib/tauri.ts @@ -220,7 +220,7 @@ export async function detectHarnesses(): Promise { * directory, in-memory for this app session. The static capability * (capabilities/default.json) only lists known harness config roots under * $HOME — it never grants a blanket $HOME/** scope — so callers that need - * TauriFsProvider access to an arbitrary project dir (Fleet, Drift) must + * TauriFsProvider access to an arbitrary project dir (Machine, Drift, Profile) must * grant it here first. */ export async function grantProjectScope(path: string): Promise { diff --git a/packages/core/src/portability/capabilities.ts b/packages/core/src/portability/capabilities.ts index 23bbad9c..e0dfd6a0 100644 --- a/packages/core/src/portability/capabilities.ts +++ b/packages/core/src/portability/capabilities.ts @@ -205,7 +205,7 @@ function capabilityFor( * SCOPE — the definitions registry reaches the SURFACE GRID path only: * observe → grid → plan → apply → rollback. The legacy compile/portability * flow (`reconcile.ts`, `apply.ts`, `portability-common.ts`, the desktop - * Fleet page) still reads `TARGET_CAPABILITY_MATRIX`, because that flow + * portability panel in the desktop's Settings › Activity) still reads `TARGET_CAPABILITY_MATRIX`, because that flow * compiles a harness.yaml and never resolves definitions at all. AC-26 is * scoped to "next inventory", so this line is deliberate — but it means a * bundle that changes a capability is visible to `sync` and not to `apply`. diff --git a/packages/ui/src/components/StatusChip.tsx b/packages/ui/src/components/StatusChip.tsx index 301c3c9e..23a6226a 100644 --- a/packages/ui/src/components/StatusChip.tsx +++ b/packages/ui/src/components/StatusChip.tsx @@ -17,8 +17,8 @@ const VARIANT_CLASS: Record = { /** * Tinted background + colored text + a 6px dot. Never a solid-fill pill - * (DESIGN.md §2/§7). Used for drift/sync/conflict states across Fleet, Drift, - * Configure. + * (DESIGN.md §2/§7). Used for drift/sync/conflict states in Machine and + * Drift. */ export function StatusChip({ variant = "subtle", diff --git a/packages/ui/src/components/Table.tsx b/packages/ui/src/components/Table.tsx index e146c0d8..d39287f3 100644 --- a/packages/ui/src/components/Table.tsx +++ b/packages/ui/src/components/Table.tsx @@ -20,8 +20,8 @@ export interface TableProps extends TableHTMLAttributes { /** * Dense data table / matrix. Row height 46px (DESIGN.md §4), hover tint via - * --hover-bg, selected via --accent-light. Suitable for the Fleet matrix - * (harnesses x scopes) or any list/grid of records. + * --hover-bg, selected via --accent-light. Suitable for any list or grid of + * records. */ export function Table({ columns, diff --git a/website/app/explore/page.tsx b/website/app/explore/page.tsx index d19b9fe9..cef8b58e 100644 --- a/website/app/explore/page.tsx +++ b/website/app/explore/page.tsx @@ -23,10 +23,10 @@ const NAV_GROUPS: Group[] = [ label: 'CORE', tiles: [ { - id: 'harness', - title: 'Harness', - description: 'Configure your AI tool setup — plugins, hooks, MCP servers, and CLAUDE.md.', - href: '/docs/getting-started/installation', + id: 'machine', + title: 'Machine', + description: 'See what each AI tool on your machine has configured, and copy a missing piece from one tool to another.', + href: '/docs/apps/machine', accent: 'var(--cat-blue)', icon: (

- Nine surfaces. One keyboard. Everything your AI coding tool forgot to give you. + What the desktop app does, one area at a time.

diff --git a/website/app/page.tsx b/website/app/page.tsx index d1987df9..31d37680 100644 --- a/website/app/page.tsx +++ b/website/app/page.tsx @@ -45,36 +45,36 @@ const features = [ icon: , title: 'Observe', description: - 'Every session, every tool call, every minute. Observatory and Memory show you what your AI actually did, so you can trust it, tune it, or prove it.', + 'The Machine grid shows what each tool on your computer has set up and where they differ. Usage shows Claude Code sessions, tool calls and tokens.', }, { icon: , title: 'Share', description: - "Your whole setup fits in one file. Hand it to a teammate and they're running exactly what you run — same plugins, same skills, same workflows.", + 'Your setup fits in one harness.yaml. A project can commit its own as the team baseline, and Drift shows where a machine has moved away from it.', }, ]; const showcaseCards = [ { - section: 'observatory' as const, - title: 'Observatory', - desc: 'Every session, every tool call, every minute. Trends you can point at when someone asks "is this thing working."', + section: 'machine' as const, + title: 'Machine', + desc: 'One grid of every MCP server, skill, instruction file and plugin across your AI tools. Click a cell to copy a missing one across.', }, { - section: 'memory' as const, - title: 'Memory', - desc: 'A knowledge graph your AI can orient itself in. Teammates, decisions, conventions — persistent across every tool.', + section: 'drift' as const, + title: 'Drift', + desc: 'Compare harness.yaml with the files compiled from it. Each fix shows a preview before anything is written.', }, { - section: 'comparator' as const, - title: 'Comparator', - desc: 'Run the same prompt across Claude Code, Cursor, and Copilot side by side. Find what works.', + section: 'profile' as const, + title: 'Profile', + desc: 'Edit harness.yaml and compile it into a project. A project can commit its own as the team baseline.', }, { - section: 'parity' as const, - title: 'Harness Parity', - desc: 'After you compile, confirm every connected AI tool ended up with the same plugins, MCP servers, and skills — and catch drift.', + section: 'comparator' as const, + title: 'Comparator', + desc: 'In Labs. Run the same prompt across Claude Code, Cursor, and Copilot side by side.', }, ]; @@ -126,7 +126,7 @@ export default function HomePage() { {/* Product hero — the app is the hero */}
- +
{/* Surface callouts — what's inside, directly beneath the mock */} diff --git a/website/components/architecture-diagram.tsx b/website/components/architecture-diagram.tsx index efb41850..7dc0ea4e 100644 --- a/website/components/architecture-diagram.tsx +++ b/website/components/architecture-diagram.tsx @@ -16,7 +16,7 @@ const SUBTLE = '#4a5060'; // Groups sourced from NAV in nav.ts, plus the Settings button pinned in the // sidebar footer (rendered separately from NAV, so it isn't in the command // palette). Comparator carries a `labs` flag and stays hidden until enabled -// in Settings › Labs. Drift is a section embedded inside Machine, not a +// in Settings › Labs. Drift is a view (a tab) of Machine, not a // destination of its own; Claude Code's "Usage" child is the old Observatory. // Security has no route or sidebar entry of its own anymore — Permissions // moved under Claude Code and Secrets/Activity moved under Settings; every @@ -380,7 +380,7 @@ export function ArchitectureDiagram() { })} {/* ════════════════════════════════════════════════════════════════════ - Session data feedback: AI Tools Observatory → Desktop App + Session data feedback: AI Tools usage data → Desktop App (Claude Code › Usage) Path runs at x=390 — the 60 px gap between the two columns. DA right edge = 360, AT left edge = 420. No box overlap. ════════════════════════════════════════════════════════════════════ */} diff --git a/website/components/install-method-cards.tsx b/website/components/install-method-cards.tsx index 5b46bb78..daeb1fde 100644 --- a/website/components/install-method-cards.tsx +++ b/website/components/install-method-cards.tsx @@ -25,7 +25,7 @@ const methods = [ id: 'desktop-app', icon: , title: 'Desktop App', - description: 'Observatory, Memory, Board, and AI Chat — all in one native app. The best way to see and manage your harness.', + description: 'A native app that shows what each AI coding tool on your machine has configured and copies missing pieces between them.', tags: ['Homebrew Cask', 'DMG'], href: '#desktop-app', featured: true, diff --git a/website/components/site/DesktopMock.module.css b/website/components/site/DesktopMock.module.css index 3d4ef811..e2588b65 100644 --- a/website/components/site/DesktopMock.module.css +++ b/website/components/site/DesktopMock.module.css @@ -404,7 +404,7 @@ .permDeny { background: rgba(239,68,68,0.15); color: #ef4444; } .permRule { font-family: ui-monospace, monospace; font-size: 11px; color: var(--fg-base); } -/* ── Parity: table ── */ +/* ── Machine grid: table (cells use the parity* colors) ── */ .parityTable { width: 100%; border-collapse: collapse; @@ -429,6 +429,8 @@ .parityCheck { color: var(--accent); font-weight: 700; } .parityPartial { color: #f59e0b; } .parityNone { color: var(--fg-subtle); } +.gridCopy { color: var(--fg-muted); } +.gridKind { font-size: 9.5px; color: var(--fg-subtle); } /* ── Board: kanban ── */ .boardCols { diff --git a/website/components/site/DesktopMock.tsx b/website/components/site/DesktopMock.tsx index dabbaed8..420527aa 100644 --- a/website/components/site/DesktopMock.tsx +++ b/website/components/site/DesktopMock.tsx @@ -9,7 +9,7 @@ const MOCK_PLUGINS = getAllPlugins() .slice(0, 6) .map((p) => ({ name: p.name, desc: p.description })); -type SectionId = 'harness' | 'marketplace' | 'observatory' | 'comparator' | 'security' | 'parity'; +type SectionId = 'machine' | 'profile' | 'claude-code' | 'marketplace' | 'comparator'; interface DesktopMockProps { interactive?: boolean; @@ -17,78 +17,65 @@ interface DesktopMockProps { compact?: boolean; } +// The sidebar mirrors the app: Machine, Profile, Claude Code, Marketplace, and +// Comparator under Labs (apps/desktop/src/nav.ts). The pane contents are +// illustrative sample data, not a capture of a real machine. const SECTIONS = [ { - group: 'CORE', + group: 'WORKSPACE', items: [ { - id: 'harness', - label: 'Harness', - title: 'Harness — harness.yaml', + id: 'machine', + label: 'Machine', + title: 'Machine', icon: ( - + ), }, { - id: 'marketplace', - label: 'Marketplace', - title: 'Marketplace', + id: 'profile', + label: 'Profile', + title: 'Profile — harness.yaml', icon: ( - + ), }, - ], - }, - { - group: 'INSIGHTS', - items: [ { - id: 'observatory', - label: 'Observatory', - title: 'Observatory', + id: 'claude-code', + label: 'Claude Code', + title: 'Claude Code — Permissions', icon: ( - + ), }, { - id: 'comparator', - label: 'Comparator', - title: 'Comparator', + id: 'marketplace', + label: 'Marketplace', + title: 'Marketplace', icon: ( - + ), }, ], }, { - group: 'SYSTEM', + group: 'LABS', items: [ { - id: 'security', - label: 'Security', - title: 'Security — Permissions', - icon: ( - - - - ), - }, - { - id: 'parity', - label: 'Parity', - title: 'Parity — Cross-harness', + id: 'comparator', + label: 'Comparator', + title: 'Comparator', icon: ( - - + ), }, @@ -99,13 +86,33 @@ const SECTIONS = [ // Flatten all items for lookup const ALL_ITEMS = SECTIONS.flatMap((g) => g.items); +// Cell states from the app's Machine grid (cell-state.ts). +type Cell = 'user' | 'project' | 'copy' | 'differs' | 'none'; + +const GRID_TOOLS = ['Claude Code', 'Cursor', 'Codex']; + +const GRID_ROWS: { kind: string; name: string; cells: Cell[] }[] = [ + { kind: 'MCP server', name: 'github', cells: ['user', 'user', 'user'] }, + { kind: 'MCP server', name: 'postgres', cells: ['user', 'copy', 'differs'] }, + { kind: 'Skill', name: 'review', cells: ['user', 'project', 'copy'] }, + { kind: 'Plugin', name: 'research@harness-kit', cells: ['user', 'none', 'copy'] }, +]; + +const CELL_LABEL: Record = { + user: 'user', + project: 'project', + copy: '+ copy', + differs: 'differs', + none: '—', +}; + function getTitleForSection(id: SectionId) { return ALL_ITEMS.find((i) => i.id === id)?.title ?? 'Harness Kit'; } export function DesktopMock({ interactive = true, - defaultSection = 'observatory', + defaultSection = 'machine', compact = false, }: DesktopMockProps) { const [activeSection, setActiveSection] = useState(defaultSection); @@ -230,50 +237,54 @@ export function DesktopMock({ {/* Content panes */}
- {/* Observatory */} -
-
Observatory
-
This week · all tools
-
-
-
Sessions
-
1,247
-
+12.4% wk
-
-
-
Tool calls
-
8,390
-
+6.1% wk
-
-
-
Avg duration
-
34m
-
−2m wk
-
-
-
-
-
Sessions over time
-
7d · 30d · 90d
-
- - - - - - - - - - - -
+ {/* Machine */} +
+
Machine
+
Every resource, across the tools installed here
+
+ + + + {GRID_TOOLS.map((tool) => ( + + ))} + + + + {GRID_ROWS.map((row) => ( + + + {row.cells.map((cell, i) => ( + + ))} + + ))} + +
Resource{tool}
+ {row.name} + {row.kind} + + + {CELL_LABEL[cell]} + +
+
Tools that are not installed are hidden. Click a cell to copy.
- {/* Harness */} -
+ {/* Profile */} +
-              # harness.yaml — the one file that travels with you{'\n'}
+              # ~/.claude/harness.yaml — your personal profile{'\n'}
               version: 1{'\n\n'}
               plugins:{'\n'}
               {'  '}- research@harness-kit{'\n'}
@@ -294,6 +305,30 @@ export function DesktopMock({
             
+ {/* Claude Code */} +
+
Permissions
+
Claude Code · allow, ask and deny rules
+
+ {[ + { status: 'allow', rule: 'Bash(pnpm *)' }, + { status: 'allow', rule: 'Read(~/repos/**)' }, + { status: 'allow', rule: 'WebFetch(api.github.com)' }, + { status: 'ask', rule: 'Bash(git push origin *)' }, + { status: 'ask', rule: 'Write(~/.zshrc)' }, + { status: 'deny', rule: 'Read(~/.ssh/**)' }, + { status: 'deny', rule: 'Bash(rm -rf /**)' }, + ].map((row, i) => ( +
+ + {row.status} + + {row.rule} +
+ ))} +
+
+ {/* Marketplace */}
Marketplace
@@ -336,63 +371,6 @@ export function DesktopMock({
- {/* Security */} -
-
Permissions
-
Claude Code · auto-allow rules
-
- {[ - { status: 'allow', rule: 'Bash(pnpm *)' }, - { status: 'allow', rule: 'Read(~/repos/**)' }, - { status: 'allow', rule: 'WebFetch(api.github.com)' }, - { status: 'ask', rule: 'Bash(git push origin *)' }, - { status: 'ask', rule: 'Write(~/.zshrc)' }, - { status: 'deny', rule: 'Read(~/.ssh/**)' }, - { status: 'deny', rule: 'Bash(rm -rf /**)' }, - ].map((row, i) => ( -
- - {row.status} - - {row.rule} -
- ))} -
-
- - {/* Parity */} -
-
Cross-harness parity
-
What runs where, right now
- - - - - - - - - - - - {[ - { tool: 'Claude Code', plugins: '✓', mcp: '✓', hooks: '✓', skills: '✓' }, - { tool: 'Cursor', plugins: '✓', mcp: '✓', hooks: '—', skills: '◐' }, - { tool: 'Copilot', plugins: '✓', mcp: '—', hooks: '—', skills: '◐' }, - { tool: 'Windsurf', plugins: '◐', mcp: '—', hooks: '—', skills: '—' }, - ].map((row) => ( - - - - - - - - ))} - -
ToolPluginsMCPHooksSkills
{row.tool}{row.plugins}{row.mcp}{row.hooks}{row.skills}
-
-
diff --git a/website/content/docs/apps/machine.md b/website/content/docs/apps/machine.md new file mode 100644 index 00000000..f7156c5c --- /dev/null +++ b/website/content/docs/apps/machine.md @@ -0,0 +1,84 @@ +--- +title: Machine +--- + +# Machine + +Machine is the home screen of the desktop app (`Cmd+1`). It reads the config each AI +coding tool keeps on your machine and lays it out in one grid, so you can see where +tools disagree and copy a missing piece from one to another. + +## The grid + +Rows are resources, grouped by kind: MCP servers, skills, instructions, plugins and +more. Columns are tools, grouped by product family. Each cell shows one state: + +- `user` or `project`: the resource is present at that scope. +- `+ copy`: the resource is missing here and can be copied in. +- `differs`: a resource of the same name is here, but its content is not the same. +- `—`: the tool has no such concept. +- `·`: the tool has the concept but keeps no store the app reads. +- `?`: the tool is installed but its store may be hidden, so the app cannot tell. +- Blank: the resource is absent and nothing can be copied there. + +A legend under the grid lists these states. Hover a cell to see each entry's file and +scope. + +Tools that are not installed are hidden. A note above the grid shows how many of the +supported tools are installed, and **Show all** brings the rest back. Hidden tools +still count when the app decides which copy is the baseline for a row. + +Instructions appear as one row per scope, User instructions and Project instructions, +whatever each tool calls its file (`CLAUDE.md`, `AGENTS.md`). + +## Choosing a project + +The title bar holds one project selector. With no project, Machine scans only the +config in your home folder. Choose a folder and the scan adds that project's own +config. The app can read a project only after you pick it in the native folder dialog. +The last project is restored at launch, so macOS may ask for folder access on start if +it sits in a protected folder such as Documents. + +## The summary strip + +The strip above the grid shows counts for Resources, Gaps, Differs, Drift and installed +tools. Select **Gaps** or **Differs** to filter the grid to those rows. + +## Copying a resource + +Click a row to open the drawer. Click a cell and the drawer opens with that cell's tool +as the target. The drawer shows: + +- where the resource lives, with scope, file and a short digest +- the differences between copies, field by field +- a **From** and **To** choice, with the copy that most tools agree on as the default + source + +Apply writes the copy. Before it writes, the app shows what will change. If the target +cannot express everything in the resource, or already holds a different version, you +confirm that first. A backup and a rollback point go to `~/.harness/backups/` for files +in your home folder, and to the project's `.harness/backups/` for project files. + +The CLI command that does the same copy is shown in the drawer, along with a prompt you +can paste into the target tool's own agent. The app cannot write plugins. For a plugin +the drawer shows the CLI command and the prompt, and the CLI installs it. + +## Drift view + +The **Drift vs harness.yaml** tab next to **Resources** compares your `harness.yaml` +with the files compiled from it. Each item shows its state, a diff, and a **Fix** +button that previews the exact change before it writes. Changes you made by hand +outside the compiled sections are never overwritten. You can acknowledge them or review +them. + +Drift scans when you open the tab, not before. + +## Which `harness.yaml` + +There is one personal profile, `~/.claude/harness.yaml`. Profile, Compile, Drift and +first-run setup all read that same file. A project can also commit its own +`harness.yaml` as the team baseline. With a project chosen in the title bar, Profile and +Compile show and compile that project's file, and Profile shows it read-only. Drift +compares your machine against the personal file and, when a project is chosen, the +project against its own file. Compile to project still compiles your personal profile +into a project that has no `harness.yaml` of its own. diff --git a/website/content/docs/apps/meta.json b/website/content/docs/apps/meta.json index 5dd41e4c..4970ad59 100644 --- a/website/content/docs/apps/meta.json +++ b/website/content/docs/apps/meta.json @@ -1,4 +1,4 @@ { "title": "Desktop App", - "pages": ["comparator", "observatory", "command-palette", "parity"] + "pages": ["machine", "observatory", "comparator", "command-palette"] } diff --git a/website/content/docs/apps/observatory.md b/website/content/docs/apps/observatory.md index 0ad027c3..90260f85 100644 --- a/website/content/docs/apps/observatory.md +++ b/website/content/docs/apps/observatory.md @@ -1,12 +1,15 @@ --- -title: Observatory +title: Usage --- -# Observatory +# Usage -Observatory is a session monitoring dashboard that reads directly from Claude Code's -local data files. It requires no configuration — open it and your usage history is -already there. +Usage is the session dashboard for Claude Code. It was called Observatory in earlier +releases and now sits under **Claude Code** in the sidebar, as the last item after +Permissions. It reads Claude Code's local data files and needs no setup. Open it and +your usage history is already there. + +Usage covers Claude Code only. It does not read data from other tools. ## Data Sources @@ -57,8 +60,8 @@ and return to the global range. ## Budget Guard -Set a daily token or cost limit in Preferences. When today's usage exceeds the limit, -a red alert banner appears above the stat cards. +Set a daily token or cost limit under **Claude Code › Permissions**. When today's usage +exceeds the limit, an alert banner appears above the stat cards. ## Refresh diff --git a/website/content/docs/apps/parity.md b/website/content/docs/apps/parity.md index 0672a4d7..2c2a93e4 100644 --- a/website/content/docs/apps/parity.md +++ b/website/content/docs/apps/parity.md @@ -4,69 +4,11 @@ title: Harness Parity # Harness Parity -> **Superseded:** the desktop app's **Machine** view now ships the real cross-surface -> grid (11 surfaces × resource kinds, gaps, and structured diffs). This page describes -> an earlier design and will be rewritten in M3, once cell actions cover diffs as well as gaps. - -Harness Parity is the other half of the cross-harness compiler: after you compile -your `harness.yaml`, it confirms every connected AI tool actually ended up with the -same capabilities — config files, settings keys, CLI flags, MCP servers, plugin -types — and catches drift before it bites. It shows which capabilities are -supported by each tool installed on your machine, and which ones are actually -present on disk. - -## The Capability Grid - -The main view is a scrollable grid. Rows are capabilities, grouped into categories. -Columns are harnesses (Claude Code, Cursor, Copilot, etc.). Each cell shows one of -three glyphs: - -- `●` (solid dot) — supported and detected on disk -- `○` (ring) — supported by the harness but the file or config is missing -- `—` (dash) — not supported by this harness - -Hover over a cell to see the expected file path for that capability. - -## Filters - -- **Installed only / All harnesses** — toggle to show only harnesses that are - detected on your machine, or show all known harnesses regardless of availability -- **Category chips** — filter rows to a single category: Config Files, Settings, - CLI, MCP, Plugins -- **Search** — filter rows by feature name - -Right-click a harness column header to hide that column. A chip in the filter bar -shows how many columns are hidden and lets you restore them. - -## Scanning - -Click **Scan now** to re-probe all harness config files and update the `○`/`●` states. -The scan age is shown next to the button. The initial probe runs automatically on page -load. - -## Feature Detail Drawer - -Click any row label to open the feature detail drawer. It shows the full description -of the capability, which harnesses support it, and the expected file path per harness. -From the drawer you can batch-select all missing instances of that capability across -harnesses. - -## Batch Actions - -Select cells in the grid to stage a batch action. The batch action bar appears at the -bottom of the screen with options to generate the missing config or setting across -all selected harnesses at once. - -## What's Changed - -A collapsible panel at the bottom of the page shows drift detected in the last 30 days — -new features added by a harness that aren't yet in your baseline, or missing files -that were previously present. - -Each drift item can be: - -- **Acknowledged** — marked as known and dismissed from the active list -- **Created** — for `missing_file` drift, the config file can be created in-place -- **Marked as Known** — for `new_feature` drift, adds it to the parity baseline - -Toggle **Show acknowledged** to review items you've already acted on. +Harness Parity was a capability grid in earlier releases. It is gone from the desktop +app. [Machine](/docs/apps/machine) replaced it: the same question, which tool has what, +now comes from the config actually on your machine, and a cell opens a drawer that +copies a resource from one tool to another. + +To see which capabilities each tool supports, use the capability matrix on the +[home page](/). To check that compiled files still match `harness.yaml`, use the Drift +tab in Machine or run `harness check` from the CLI. diff --git a/website/content/docs/concepts/harness-protocol.md b/website/content/docs/concepts/harness-protocol.md index dee65d80..39480c13 100644 --- a/website/content/docs/concepts/harness-protocol.md +++ b/website/content/docs/concepts/harness-protocol.md @@ -23,7 +23,7 @@ Harness Kit continues to parse and compile v1 profiles. New captures produce v2, ## Desktop App -The desktop app treats `harness.yaml` and native configuration as peer state. Fleet and Drift show profile scope, provenance, capability losses, reconciliation conflicts, capture/apply previews, rollout assignment, and local rollback history. Invalid profiles and state are surfaced as blocking errors rather than silently treated as absent. +The desktop app treats `harness.yaml` and native configuration as peer state. Machine shows where each resource lives across tools and previews a copy, including capability losses, before it writes. Its Drift view lists reconciliation conflicts. Settings › Activity lists rollback points, portability notices and device enrollment. Invalid profiles and state are surfaced as blocking errors rather than silently treated as absent. ## Architectural constraints diff --git a/website/content/docs/getting-started/architecture.mdx b/website/content/docs/getting-started/architecture.mdx index fc621ce5..3fea0189 100644 --- a/website/content/docs/getting-started/architecture.mdx +++ b/website/content/docs/getting-started/architecture.mdx @@ -56,10 +56,10 @@ The full schema also supports top-level skills, architecture constraints, policy ## Desktop App -The desktop app is a management console with a single sidebar: Machine, Profile, Claude Code, and Marketplace, plus Settings pinned at the bottom. It reads your harness configuration, provides observability into what your AI tools are doing, and gives you direct control over the pieces that are hard to manage from a terminal. +The desktop app is a management console with a single sidebar: Machine, Profile, Claude Code, and Marketplace, plus Settings pinned at the bottom. It reads your harness configuration and shows what each AI tool has set up. Copies between tools, Compile and Drift fixes show a preview before they write and keep a backup under `~/.harness/backups/` or the project's `.harness/backups/`. The app has no shell access, and folder choices, plugin imports and exports use native dialogs. -- **Machine** — home; a cross-surface grid of every AI-harness resource detected on your machine (and, once you point it at a project directory, that project's resources too), with drift repair against harness.yaml embedded as a collapsible section below the grid. After updating to v0.13.0, pick the project folder once more. -- **Profile** — view, edit, and compile your harness.yaml +- **Machine** — home; a cross-surface grid of every AI-harness resource detected on your machine (and, once you choose a project folder in the title bar, that project's resources too). Click a cell to open a drawer and copy a resource from one tool to another. Tools that are not installed are hidden until you choose "Show all". Drift repair against harness.yaml is a second view, a tab next to the grid. After updating to v0.13.0, pick the project folder once more. See [Machine](/docs/apps/machine). +- **Profile** — view, edit, and compile your harness.yaml. With no project chosen it is your personal `~/.claude/harness.yaml`; with a project chosen it is that project's committed harness.yaml, the team baseline, shown read-only. - **Claude Code** — Instructions, MCP servers, Plugins, Hooks, Permissions, and Usage (session telemetry: every session, every tool call, token usage, timeline, trends) — all scoped to that one surface - **Marketplace** — browse and install plugins from the registry - **Settings** — preferences, secrets management, and the activity log live here as tabs; there's no separate top-level Security section diff --git a/website/content/docs/getting-started/installation.mdx b/website/content/docs/getting-started/installation.mdx index e13e3042..490a53fc 100644 --- a/website/content/docs/getting-started/installation.mdx +++ b/website/content/docs/getting-started/installation.mdx @@ -8,7 +8,7 @@ description: Three ways to install harness-kit — pick what fits your workflow. ## Desktop App -The full harness-kit experience. Observatory, Memory, Board, and a Cmd+K command palette — all in one native app with a visual interface for managing your AI tool configurations. +A native app that shows the config each AI coding tool on your machine has, and copies a missing piece from one tool to another. It has a Machine grid, a harness.yaml editor, Claude Code editors, a plugin marketplace and a Cmd+K command palette. It reads local files and needs no account. From 9ff83910e021ae0c1c838dc52baea767392fb7be Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Wed, 11 Nov 2026 21:35:29 -0500 Subject: [PATCH 09/16] feat: Changes list with Undo; Machine copies in the audit log Settings > Activity lists recent changes from the rollback ledger. Undo runs in Rust: it takes only a transaction id, validates the manifest path and every file against the declared stores, and writes through the transaction engine with the post-change digest, so an edited file refuses. Drawer copies are recorded as structured machine_copy audit entries. Co-Authored-By: Claude Opus 5.5 --- apps/desktop/src-tauri/build.rs | 2 + .../src-tauri/capabilities/default.json | 2 + .../src-tauri/gen/schemas/acl-manifests.json | 2 +- .../src-tauri/gen/schemas/capabilities.json | 2 +- .../src-tauri/gen/schemas/desktop-schema.json | 24 + .../src-tauri/gen/schemas/macOS-schema.json | 24 + .../autogenerated/list_changes.toml | 11 + .../autogenerated/undo_change.toml | 11 + .../desktop/src-tauri/src/commands/changes.rs | 768 ++++++++++++++++++ .../src-tauri/src/commands/harness_state.rs | 63 +- apps/desktop/src-tauri/src/commands/mod.rs | 1 + .../src-tauri/src/commands/security.rs | 2 +- .../src-tauri/src/commands/surface_write.rs | 2 +- apps/desktop/src-tauri/src/lib.rs | 2 + apps/desktop/src/app.css | 2 +- apps/desktop/src/lib/state-ledger.ts | 10 +- apps/desktop/src/lib/tauri.ts | 40 + apps/desktop/src/pages/fleet/adapter-meta.ts | 6 +- .../desktop/src/pages/machine/MachinePage.tsx | 10 +- .../machine/__tests__/cell-actions.test.ts | 4 +- .../desktop/src/pages/machine/cell-actions.ts | 12 +- .../desktop/src/pages/machine/machine-data.ts | 2 +- .../src/pages/security/AuditLogPage.tsx | 9 +- .../security/__tests__/AuditLogPage.test.tsx | 9 +- .../src/pages/settings/ActivityTab.tsx | 16 +- .../src/pages/settings/ChangesList.tsx | 218 +++++ .../settings/__tests__/ActivityTab.test.tsx | 9 + .../settings/__tests__/ChangesList.test.tsx | 146 ++++ apps/desktop/src/routes/DriftRedirect.tsx | 4 +- .../test-fixtures/ipc/list_changes.json | 19 + .../test-fixtures/ipc/undo_change.json | 14 + packages/core/__tests__/ledger.test.ts | 10 + packages/core/src/state/ledger.ts | 3 + packages/core/src/state/store.ts | 5 + packages/ui/src/styles.css | 2 +- 35 files changed, 1418 insertions(+), 48 deletions(-) create mode 100644 apps/desktop/src-tauri/permissions/autogenerated/list_changes.toml create mode 100644 apps/desktop/src-tauri/permissions/autogenerated/undo_change.toml create mode 100644 apps/desktop/src-tauri/src/commands/changes.rs create mode 100644 apps/desktop/src/pages/settings/ChangesList.tsx create mode 100644 apps/desktop/src/pages/settings/__tests__/ChangesList.test.tsx create mode 100644 apps/desktop/test-fixtures/ipc/list_changes.json create mode 100644 apps/desktop/test-fixtures/ipc/undo_change.json diff --git a/apps/desktop/src-tauri/build.rs b/apps/desktop/src-tauri/build.rs index fcd92289..91d3942f 100644 --- a/apps/desktop/src-tauri/build.rs +++ b/apps/desktop/src-tauri/build.rs @@ -94,6 +94,8 @@ fn main() { "sync_write_files", "apply_surface_transaction", "record_transaction", + "list_changes", + "undo_change", "migrate_drift_acknowledgements", "acknowledge_drift", "unacknowledge_drift", diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.json index a39b6fbf..8ccd62d7 100644 --- a/apps/desktop/src-tauri/capabilities/default.json +++ b/apps/desktop/src-tauri/capabilities/default.json @@ -178,6 +178,8 @@ "allow-record-bundle-number", "allow-apply-surface-transaction", "allow-record-transaction", + "allow-list-changes", + "allow-undo-change", "allow-migrate-drift-acknowledgements", "allow-acknowledge-drift", "allow-unacknowledge-drift", diff --git a/apps/desktop/src-tauri/gen/schemas/acl-manifests.json b/apps/desktop/src-tauri/gen/schemas/acl-manifests.json index 964d9d9c..671e29c8 100644 --- a/apps/desktop/src-tauri/gen/schemas/acl-manifests.json +++ b/apps/desktop/src-tauri/gen/schemas/acl-manifests.json @@ -1 +1 @@ -{"__app-acl__":{"default_permission":null,"permissions":{"allow-acknowledge-drift":{"identifier":"allow-acknowledge-drift","description":"Enables the acknowledge_drift command without any pre-configured scope.","commands":{"allow":["acknowledge_drift"],"deny":[]}},"allow-acknowledge-drift-item":{"identifier":"allow-acknowledge-drift-item","description":"Enables the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["acknowledge_drift_item"],"deny":[]}},"allow-apply-security-preset":{"identifier":"allow-apply-security-preset","description":"Enables the apply_security_preset command without any pre-configured scope.","commands":{"allow":["apply_security_preset"],"deny":[]}},"allow-apply-surface-transaction":{"identifier":"allow-apply-surface-transaction","description":"Enables the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":["apply_surface_transaction"],"deny":[]}},"allow-check-for-updates":{"identifier":"allow-check-for-updates","description":"Enables the check_for_updates command without any pre-configured scope.","commands":{"allow":["check_for_updates"],"deny":[]}},"allow-check-git-repo":{"identifier":"allow-check-git-repo","description":"Enables the check_git_repo command without any pre-configured scope.","commands":{"allow":["check_git_repo"],"deny":[]}},"allow-check-plugin-updates":{"identifier":"allow-check-plugin-updates","description":"Enables the check_plugin_updates command without any pre-configured scope.","commands":{"allow":["check_plugin_updates"],"deny":[]}},"allow-choose-project-dir":{"identifier":"allow-choose-project-dir","description":"Enables the choose_project_dir command without any pre-configured scope.","commands":{"allow":["choose_project_dir"],"deny":[]}},"allow-clear-audit-entries":{"identifier":"allow-clear-audit-entries","description":"Enables the clear_audit_entries command without any pre-configured scope.","commands":{"allow":["clear_audit_entries"],"deny":[]}},"allow-compute-live-stats":{"identifier":"allow-compute-live-stats","description":"Enables the compute_live_stats command without any pre-configured scope.","commands":{"allow":["compute_live_stats"],"deny":[]}},"allow-create-evaluation-session":{"identifier":"allow-create-evaluation-session","description":"Enables the create_evaluation_session command without any pre-configured scope.","commands":{"allow":["create_evaluation_session"],"deny":[]}},"allow-create-worktrees":{"identifier":"allow-create-worktrees","description":"Enables the create_worktrees command without any pre-configured scope.","commands":{"allow":["create_worktrees"],"deny":[]}},"allow-delete-comparison":{"identifier":"allow-delete-comparison","description":"Enables the delete_comparison command without any pre-configured scope.","commands":{"allow":["delete_comparison"],"deny":[]}},"allow-delete-custom-profile":{"identifier":"allow-delete-custom-profile","description":"Enables the delete_custom_profile command without any pre-configured scope.","commands":{"allow":["delete_custom_profile"],"deny":[]}},"allow-delete-keychain-secret":{"identifier":"allow-delete-keychain-secret","description":"Enables the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":["delete_keychain_secret"],"deny":[]}},"allow-delete-pairwise-vote":{"identifier":"allow-delete-pairwise-vote","description":"Enables the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":["delete_pairwise_vote"],"deny":[]}},"allow-detect-claude-account":{"identifier":"allow-detect-claude-account","description":"Enables the detect_claude_account command without any pre-configured scope.","commands":{"allow":["detect_claude_account"],"deny":[]}},"allow-detect-harnesses":{"identifier":"allow-detect-harnesses","description":"Enables the detect_harnesses command without any pre-configured scope.","commands":{"allow":["detect_harnesses"],"deny":[]}},"allow-export-comparison-json":{"identifier":"allow-export-comparison-json","description":"Enables the export_comparison_json command without any pre-configured scope.","commands":{"allow":["export_comparison_json"],"deny":[]}},"allow-export-plugin-as-zip":{"identifier":"allow-export-plugin-as-zip","description":"Enables the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":["export_plugin_as_zip"],"deny":[]}},"allow-export-plugin-to-folder":{"identifier":"allow-export-plugin-to-folder","description":"Enables the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":["export_plugin_to_folder"],"deny":[]}},"allow-get-acknowledged-drift-items":{"identifier":"allow-get-acknowledged-drift-items","description":"Enables the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":["get_acknowledged_drift_items"],"deny":[]}},"allow-get-cached-definitions":{"identifier":"allow-get-cached-definitions","description":"Enables the get_cached_definitions command without any pre-configured scope.","commands":{"allow":["get_cached_definitions"],"deny":[]}},"allow-get-comparator-analytics":{"identifier":"allow-get-comparator-analytics","description":"Enables the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":["get_comparator_analytics"],"deny":[]}},"allow-get-comparison":{"identifier":"allow-get-comparison","description":"Enables the get_comparison command without any pre-configured scope.","commands":{"allow":["get_comparison"],"deny":[]}},"allow-get-comparison-diffs":{"identifier":"allow-get-comparison-diffs","description":"Enables the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":["get_comparison_diffs"],"deny":[]}},"allow-get-custom-profile":{"identifier":"allow-get-custom-profile","description":"Enables the get_custom_profile command without any pre-configured scope.","commands":{"allow":["get_custom_profile"],"deny":[]}},"allow-get-diff-against-commit":{"identifier":"allow-get-diff-against-commit","description":"Enables the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":["get_diff_against_commit"],"deny":[]}},"allow-get-evaluation-session":{"identifier":"allow-get-evaluation-session","description":"Enables the get_evaluation_session command without any pre-configured scope.","commands":{"allow":["get_evaluation_session"],"deny":[]}},"allow-get-evaluations":{"identifier":"allow-get-evaluations","description":"Enables the get_evaluations command without any pre-configured scope.","commands":{"allow":["get_evaluations"],"deny":[]}},"allow-get-harness-recommendations":{"identifier":"allow-get-harness-recommendations","description":"Enables the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":["get_harness_recommendations"],"deny":[]}},"allow-get-highest-bundle-number":{"identifier":"allow-get-highest-bundle-number","description":"Enables the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":["get_highest_bundle_number"],"deny":[]}},"allow-get-history-size":{"identifier":"allow-get-history-size","description":"Enables the get_history_size command without any pre-configured scope.","commands":{"allow":["get_history_size"],"deny":[]}},"allow-get-pairwise-analytics":{"identifier":"allow-get-pairwise-analytics","description":"Enables the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":["get_pairwise_analytics"],"deny":[]}},"allow-get-pairwise-votes":{"identifier":"allow-get-pairwise-votes","description":"Enables the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":["get_pairwise_votes"],"deny":[]}},"allow-get-panel-diffs":{"identifier":"allow-get-panel-diffs","description":"Enables the get_panel_diffs command without any pre-configured scope.","commands":{"allow":["get_panel_diffs"],"deny":[]}},"allow-get-system-info":{"identifier":"allow-get-system-info","description":"Enables the get_system_info command without any pre-configured scope.","commands":{"allow":["get_system_info"],"deny":[]}},"allow-grant-project-scope":{"identifier":"allow-grant-project-scope","description":"Enables the grant_project_scope command without any pre-configured scope.","commands":{"allow":["grant_project_scope"],"deny":[]}},"allow-guarded-remove-file":{"identifier":"allow-guarded-remove-file","description":"Enables the guarded_remove_file command without any pre-configured scope.","commands":{"allow":["guarded_remove_file"],"deny":[]}},"allow-guarded-rename-file":{"identifier":"allow-guarded-rename-file","description":"Enables the guarded_rename_file command without any pre-configured scope.","commands":{"allow":["guarded_rename_file"],"deny":[]}},"allow-guarded-write-file":{"identifier":"allow-guarded-write-file","description":"Enables the guarded_write_file command without any pre-configured scope.","commands":{"allow":["guarded_write_file"],"deny":[]}},"allow-import-plugin-from-path":{"identifier":"allow-import-plugin-from-path","description":"Enables the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":["import_plugin_from_path"],"deny":[]}},"allow-import-plugin-from-zip":{"identifier":"allow-import-plugin-from-zip","description":"Enables the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":["import_plugin_from_zip"],"deny":[]}},"allow-list-active-sessions":{"identifier":"allow-list-active-sessions","description":"Enables the list_active_sessions command without any pre-configured scope.","commands":{"allow":["list_active_sessions"],"deny":[]}},"allow-list-audit-entries":{"identifier":"allow-list-audit-entries","description":"Enables the list_audit_entries command without any pre-configured scope.","commands":{"allow":["list_audit_entries"],"deny":[]}},"allow-list-claude-dir":{"identifier":"allow-list-claude-dir","description":"Enables the list_claude_dir command without any pre-configured scope.","commands":{"allow":["list_claude_dir"],"deny":[]}},"allow-list-comparisons":{"identifier":"allow-list-comparisons","description":"Enables the list_comparisons command without any pre-configured scope.","commands":{"allow":["list_comparisons"],"deny":[]}},"allow-list-custom-profiles":{"identifier":"allow-list-custom-profiles","description":"Enables the list_custom_profiles command without any pre-configured scope.","commands":{"allow":["list_custom_profiles"],"deny":[]}},"allow-list-drift-acknowledgements":{"identifier":"allow-list-drift-acknowledgements","description":"Enables the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["list_drift_acknowledgements"],"deny":[]}},"allow-list-installed-plugins":{"identifier":"allow-list-installed-plugins","description":"Enables the list_installed_plugins command without any pre-configured scope.","commands":{"allow":["list_installed_plugins"],"deny":[]}},"allow-list-marketplaces":{"identifier":"allow-list-marketplaces","description":"Enables the list_marketplaces command without any pre-configured scope.","commands":{"allow":["list_marketplaces"],"deny":[]}},"allow-list-required-env":{"identifier":"allow-list-required-env","description":"Enables the list_required_env command without any pre-configured scope.","commands":{"allow":["list_required_env"],"deny":[]}},"allow-list-security-presets":{"identifier":"allow-list-security-presets","description":"Enables the list_security_presets command without any pre-configured scope.","commands":{"allow":["list_security_presets"],"deny":[]}},"allow-list-sessions-summary":{"identifier":"allow-list-sessions-summary","description":"Enables the list_sessions_summary command without any pre-configured scope.","commands":{"allow":["list_sessions_summary"],"deny":[]}},"allow-migrate-drift-acknowledgements":{"identifier":"allow-migrate-drift-acknowledgements","description":"Enables the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["migrate_drift_acknowledgements"],"deny":[]}},"allow-push-file-history":{"identifier":"allow-push-file-history","description":"Enables the push_file_history command without any pre-configured scope.","commands":{"allow":["push_file_history"],"deny":[]}},"allow-put-cached-definitions":{"identifier":"allow-put-cached-definitions","description":"Enables the put_cached_definitions command without any pre-configured scope.","commands":{"allow":["put_cached_definitions"],"deny":[]}},"allow-read-claude-md":{"identifier":"allow-read-claude-md","description":"Enables the read_claude_md command without any pre-configured scope.","commands":{"allow":["read_claude_md"],"deny":[]}},"allow-read-env-config":{"identifier":"allow-read-env-config","description":"Enables the read_env_config command without any pre-configured scope.","commands":{"allow":["read_env_config"],"deny":[]}},"allow-read-file-history":{"identifier":"allow-read-file-history","description":"Enables the read_file_history command without any pre-configured scope.","commands":{"allow":["read_file_history"],"deny":[]}},"allow-read-harness-file":{"identifier":"allow-read-harness-file","description":"Enables the read_harness_file command without any pre-configured scope.","commands":{"allow":["read_harness_file"],"deny":[]}},"allow-read-hooks":{"identifier":"allow-read-hooks","description":"Enables the read_hooks command without any pre-configured scope.","commands":{"allow":["read_hooks"],"deny":[]}},"allow-read-live-activity":{"identifier":"allow-read-live-activity","description":"Enables the read_live_activity command without any pre-configured scope.","commands":{"allow":["read_live_activity"],"deny":[]}},"allow-read-permissions":{"identifier":"allow-read-permissions","description":"Enables the read_permissions command without any pre-configured scope.","commands":{"allow":["read_permissions"],"deny":[]}},"allow-read-plugin-file":{"identifier":"allow-read-plugin-file","description":"Enables the read_plugin_file command without any pre-configured scope.","commands":{"allow":["read_plugin_file"],"deny":[]}},"allow-read-plugin-tree":{"identifier":"allow-read-plugin-tree","description":"Enables the read_plugin_tree command without any pre-configured scope.","commands":{"allow":["read_plugin_tree"],"deny":[]}},"allow-read-session-facet":{"identifier":"allow-read-session-facet","description":"Enables the read_session_facet command without any pre-configured scope.","commands":{"allow":["read_session_facet"],"deny":[]}},"allow-read-session-transcript":{"identifier":"allow-read-session-transcript","description":"Enables the read_session_transcript command without any pre-configured scope.","commands":{"allow":["read_session_transcript"],"deny":[]}},"allow-read-stats-cache":{"identifier":"allow-read-stats-cache","description":"Enables the read_stats_cache command without any pre-configured scope.","commands":{"allow":["read_stats_cache"],"deny":[]}},"allow-record-bundle-number":{"identifier":"allow-record-bundle-number","description":"Enables the record_bundle_number command without any pre-configured scope.","commands":{"allow":["record_bundle_number"],"deny":[]}},"allow-record-transaction":{"identifier":"allow-record-transaction","description":"Enables the record_transaction command without any pre-configured scope.","commands":{"allow":["record_transaction"],"deny":[]}},"allow-remove-worktrees":{"identifier":"allow-remove-worktrees","description":"Enables the remove_worktrees command without any pre-configured scope.","commands":{"allow":["remove_worktrees"],"deny":[]}},"allow-reveal-evaluation-session":{"identifier":"allow-reveal-evaluation-session","description":"Enables the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":["reveal_evaluation_session"],"deny":[]}},"allow-save-comparison":{"identifier":"allow-save-comparison","description":"Enables the save_comparison command without any pre-configured scope.","commands":{"allow":["save_comparison"],"deny":[]}},"allow-save-custom-profile":{"identifier":"allow-save-custom-profile","description":"Enables the save_custom_profile command without any pre-configured scope.","commands":{"allow":["save_custom_profile"],"deny":[]}},"allow-save-evaluation":{"identifier":"allow-save-evaluation","description":"Enables the save_evaluation command without any pre-configured scope.","commands":{"allow":["save_evaluation"],"deny":[]}},"allow-save-file-diffs":{"identifier":"allow-save-file-diffs","description":"Enables the save_file_diffs command without any pre-configured scope.","commands":{"allow":["save_file_diffs"],"deny":[]}},"allow-save-pairwise-vote":{"identifier":"allow-save-pairwise-vote","description":"Enables the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":["save_pairwise_vote"],"deny":[]}},"allow-save-panel":{"identifier":"allow-save-panel","description":"Enables the save_panel command without any pre-configured scope.","commands":{"allow":["save_panel"],"deny":[]}},"allow-set-keychain-secret":{"identifier":"allow-set-keychain-secret","description":"Enables the set_keychain_secret command without any pre-configured scope.","commands":{"allow":["set_keychain_secret"],"deny":[]}},"allow-submit-feedback":{"identifier":"allow-submit-feedback","description":"Enables the submit_feedback command without any pre-configured scope.","commands":{"allow":["submit_feedback"],"deny":[]}},"allow-sync-create-backup":{"identifier":"allow-sync-create-backup","description":"Enables the sync_create_backup command without any pre-configured scope.","commands":{"allow":["sync_create_backup"],"deny":[]}},"allow-sync-file-exists":{"identifier":"allow-sync-file-exists","description":"Enables the sync_file_exists command without any pre-configured scope.","commands":{"allow":["sync_file_exists"],"deny":[]}},"allow-sync-list-backups":{"identifier":"allow-sync-list-backups","description":"Enables the sync_list_backups command without any pre-configured scope.","commands":{"allow":["sync_list_backups"],"deny":[]}},"allow-sync-read-dir":{"identifier":"allow-sync-read-dir","description":"Enables the sync_read_dir command without any pre-configured scope.","commands":{"allow":["sync_read_dir"],"deny":[]}},"allow-sync-read-file":{"identifier":"allow-sync-read-file","description":"Enables the sync_read_file command without any pre-configured scope.","commands":{"allow":["sync_read_file"],"deny":[]}},"allow-sync-restore-backup":{"identifier":"allow-sync-restore-backup","description":"Enables the sync_restore_backup command without any pre-configured scope.","commands":{"allow":["sync_restore_backup"],"deny":[]}},"allow-sync-write-files":{"identifier":"allow-sync-write-files","description":"Enables the sync_write_files command without any pre-configured scope.","commands":{"allow":["sync_write_files"],"deny":[]}},"allow-tag-comparison-task-type":{"identifier":"allow-tag-comparison-task-type","description":"Enables the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":["tag_comparison_task_type"],"deny":[]}},"allow-trigger-rebuild":{"identifier":"allow-trigger-rebuild","description":"Enables the trigger_rebuild command without any pre-configured scope.","commands":{"allow":["trigger_rebuild"],"deny":[]}},"allow-unacknowledge-drift":{"identifier":"allow-unacknowledge-drift","description":"Enables the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift"],"deny":[]}},"allow-unacknowledge-drift-item":{"identifier":"allow-unacknowledge-drift-item","description":"Enables the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift_item"],"deny":[]}},"allow-uninstall-plugin":{"identifier":"allow-uninstall-plugin","description":"Enables the uninstall_plugin command without any pre-configured scope.","commands":{"allow":["uninstall_plugin"],"deny":[]}},"allow-update-comparison-status":{"identifier":"allow-update-comparison-status","description":"Enables the update_comparison_status command without any pre-configured scope.","commands":{"allow":["update_comparison_status"],"deny":[]}},"allow-update-comparison-title":{"identifier":"allow-update-comparison-title","description":"Enables the update_comparison_title command without any pre-configured scope.","commands":{"allow":["update_comparison_title"],"deny":[]}},"allow-update-evaluation-score":{"identifier":"allow-update-evaluation-score","description":"Enables the update_evaluation_score command without any pre-configured scope.","commands":{"allow":["update_evaluation_score"],"deny":[]}},"allow-update-panel-result":{"identifier":"allow-update-panel-result","description":"Enables the update_panel_result command without any pre-configured scope.","commands":{"allow":["update_panel_result"],"deny":[]}},"allow-update-permissions":{"identifier":"allow-update-permissions","description":"Enables the update_permissions command without any pre-configured scope.","commands":{"allow":["update_permissions"],"deny":[]}},"allow-verify-definitions-signature":{"identifier":"allow-verify-definitions-signature","description":"Enables the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":["verify_definitions_signature"],"deny":[]}},"allow-write-config-file":{"identifier":"allow-write-config-file","description":"Enables the write_config_file command without any pre-configured scope.","commands":{"allow":["write_config_file"],"deny":[]}},"allow-write-env-config":{"identifier":"allow-write-env-config","description":"Enables the write_env_config command without any pre-configured scope.","commands":{"allow":["write_env_config"],"deny":[]}},"allow-write-harness-file":{"identifier":"allow-write-harness-file","description":"Enables the write_harness_file command without any pre-configured scope.","commands":{"allow":["write_harness_file"],"deny":[]}},"allow-write-plugin-file":{"identifier":"allow-write-plugin-file","description":"Enables the write_plugin_file command without any pre-configured scope.","commands":{"allow":["write_plugin_file"],"deny":[]}},"deny-acknowledge-drift":{"identifier":"deny-acknowledge-drift","description":"Denies the acknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift"]}},"deny-acknowledge-drift-item":{"identifier":"deny-acknowledge-drift-item","description":"Denies the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift_item"]}},"deny-apply-security-preset":{"identifier":"deny-apply-security-preset","description":"Denies the apply_security_preset command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_security_preset"]}},"deny-apply-surface-transaction":{"identifier":"deny-apply-surface-transaction","description":"Denies the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_surface_transaction"]}},"deny-check-for-updates":{"identifier":"deny-check-for-updates","description":"Denies the check_for_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_for_updates"]}},"deny-check-git-repo":{"identifier":"deny-check-git-repo","description":"Denies the check_git_repo command without any pre-configured scope.","commands":{"allow":[],"deny":["check_git_repo"]}},"deny-check-plugin-updates":{"identifier":"deny-check-plugin-updates","description":"Denies the check_plugin_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_plugin_updates"]}},"deny-choose-project-dir":{"identifier":"deny-choose-project-dir","description":"Denies the choose_project_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["choose_project_dir"]}},"deny-clear-audit-entries":{"identifier":"deny-clear-audit-entries","description":"Denies the clear_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_audit_entries"]}},"deny-compute-live-stats":{"identifier":"deny-compute-live-stats","description":"Denies the compute_live_stats command without any pre-configured scope.","commands":{"allow":[],"deny":["compute_live_stats"]}},"deny-create-evaluation-session":{"identifier":"deny-create-evaluation-session","description":"Denies the create_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["create_evaluation_session"]}},"deny-create-worktrees":{"identifier":"deny-create-worktrees","description":"Denies the create_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["create_worktrees"]}},"deny-delete-comparison":{"identifier":"deny-delete-comparison","description":"Denies the delete_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_comparison"]}},"deny-delete-custom-profile":{"identifier":"deny-delete-custom-profile","description":"Denies the delete_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_custom_profile"]}},"deny-delete-keychain-secret":{"identifier":"deny-delete-keychain-secret","description":"Denies the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_keychain_secret"]}},"deny-delete-pairwise-vote":{"identifier":"deny-delete-pairwise-vote","description":"Denies the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_pairwise_vote"]}},"deny-detect-claude-account":{"identifier":"deny-detect-claude-account","description":"Denies the detect_claude_account command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_claude_account"]}},"deny-detect-harnesses":{"identifier":"deny-detect-harnesses","description":"Denies the detect_harnesses command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_harnesses"]}},"deny-export-comparison-json":{"identifier":"deny-export-comparison-json","description":"Denies the export_comparison_json command without any pre-configured scope.","commands":{"allow":[],"deny":["export_comparison_json"]}},"deny-export-plugin-as-zip":{"identifier":"deny-export-plugin-as-zip","description":"Denies the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_as_zip"]}},"deny-export-plugin-to-folder":{"identifier":"deny-export-plugin-to-folder","description":"Denies the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_to_folder"]}},"deny-get-acknowledged-drift-items":{"identifier":"deny-get-acknowledged-drift-items","description":"Denies the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":[],"deny":["get_acknowledged_drift_items"]}},"deny-get-cached-definitions":{"identifier":"deny-get-cached-definitions","description":"Denies the get_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["get_cached_definitions"]}},"deny-get-comparator-analytics":{"identifier":"deny-get-comparator-analytics","description":"Denies the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparator_analytics"]}},"deny-get-comparison":{"identifier":"deny-get-comparison","description":"Denies the get_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison"]}},"deny-get-comparison-diffs":{"identifier":"deny-get-comparison-diffs","description":"Denies the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison_diffs"]}},"deny-get-custom-profile":{"identifier":"deny-get-custom-profile","description":"Denies the get_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["get_custom_profile"]}},"deny-get-diff-against-commit":{"identifier":"deny-get-diff-against-commit","description":"Denies the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":[],"deny":["get_diff_against_commit"]}},"deny-get-evaluation-session":{"identifier":"deny-get-evaluation-session","description":"Denies the get_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluation_session"]}},"deny-get-evaluations":{"identifier":"deny-get-evaluations","description":"Denies the get_evaluations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluations"]}},"deny-get-harness-recommendations":{"identifier":"deny-get-harness-recommendations","description":"Denies the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_harness_recommendations"]}},"deny-get-highest-bundle-number":{"identifier":"deny-get-highest-bundle-number","description":"Denies the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["get_highest_bundle_number"]}},"deny-get-history-size":{"identifier":"deny-get-history-size","description":"Denies the get_history_size command without any pre-configured scope.","commands":{"allow":[],"deny":["get_history_size"]}},"deny-get-pairwise-analytics":{"identifier":"deny-get-pairwise-analytics","description":"Denies the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_analytics"]}},"deny-get-pairwise-votes":{"identifier":"deny-get-pairwise-votes","description":"Denies the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_votes"]}},"deny-get-panel-diffs":{"identifier":"deny-get-panel-diffs","description":"Denies the get_panel_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_panel_diffs"]}},"deny-get-system-info":{"identifier":"deny-get-system-info","description":"Denies the get_system_info command without any pre-configured scope.","commands":{"allow":[],"deny":["get_system_info"]}},"deny-grant-project-scope":{"identifier":"deny-grant-project-scope","description":"Denies the grant_project_scope command without any pre-configured scope.","commands":{"allow":[],"deny":["grant_project_scope"]}},"deny-guarded-remove-file":{"identifier":"deny-guarded-remove-file","description":"Denies the guarded_remove_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_remove_file"]}},"deny-guarded-rename-file":{"identifier":"deny-guarded-rename-file","description":"Denies the guarded_rename_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_rename_file"]}},"deny-guarded-write-file":{"identifier":"deny-guarded-write-file","description":"Denies the guarded_write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_write_file"]}},"deny-import-plugin-from-path":{"identifier":"deny-import-plugin-from-path","description":"Denies the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_path"]}},"deny-import-plugin-from-zip":{"identifier":"deny-import-plugin-from-zip","description":"Denies the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_zip"]}},"deny-list-active-sessions":{"identifier":"deny-list-active-sessions","description":"Denies the list_active_sessions command without any pre-configured scope.","commands":{"allow":[],"deny":["list_active_sessions"]}},"deny-list-audit-entries":{"identifier":"deny-list-audit-entries","description":"Denies the list_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["list_audit_entries"]}},"deny-list-claude-dir":{"identifier":"deny-list-claude-dir","description":"Denies the list_claude_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["list_claude_dir"]}},"deny-list-comparisons":{"identifier":"deny-list-comparisons","description":"Denies the list_comparisons command without any pre-configured scope.","commands":{"allow":[],"deny":["list_comparisons"]}},"deny-list-custom-profiles":{"identifier":"deny-list-custom-profiles","description":"Denies the list_custom_profiles command without any pre-configured scope.","commands":{"allow":[],"deny":["list_custom_profiles"]}},"deny-list-drift-acknowledgements":{"identifier":"deny-list-drift-acknowledgements","description":"Denies the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["list_drift_acknowledgements"]}},"deny-list-installed-plugins":{"identifier":"deny-list-installed-plugins","description":"Denies the list_installed_plugins command without any pre-configured scope.","commands":{"allow":[],"deny":["list_installed_plugins"]}},"deny-list-marketplaces":{"identifier":"deny-list-marketplaces","description":"Denies the list_marketplaces command without any pre-configured scope.","commands":{"allow":[],"deny":["list_marketplaces"]}},"deny-list-required-env":{"identifier":"deny-list-required-env","description":"Denies the list_required_env command without any pre-configured scope.","commands":{"allow":[],"deny":["list_required_env"]}},"deny-list-security-presets":{"identifier":"deny-list-security-presets","description":"Denies the list_security_presets command without any pre-configured scope.","commands":{"allow":[],"deny":["list_security_presets"]}},"deny-list-sessions-summary":{"identifier":"deny-list-sessions-summary","description":"Denies the list_sessions_summary command without any pre-configured scope.","commands":{"allow":[],"deny":["list_sessions_summary"]}},"deny-migrate-drift-acknowledgements":{"identifier":"deny-migrate-drift-acknowledgements","description":"Denies the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["migrate_drift_acknowledgements"]}},"deny-push-file-history":{"identifier":"deny-push-file-history","description":"Denies the push_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["push_file_history"]}},"deny-put-cached-definitions":{"identifier":"deny-put-cached-definitions","description":"Denies the put_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["put_cached_definitions"]}},"deny-read-claude-md":{"identifier":"deny-read-claude-md","description":"Denies the read_claude_md command without any pre-configured scope.","commands":{"allow":[],"deny":["read_claude_md"]}},"deny-read-env-config":{"identifier":"deny-read-env-config","description":"Denies the read_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["read_env_config"]}},"deny-read-file-history":{"identifier":"deny-read-file-history","description":"Denies the read_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file_history"]}},"deny-read-harness-file":{"identifier":"deny-read-harness-file","description":"Denies the read_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_harness_file"]}},"deny-read-hooks":{"identifier":"deny-read-hooks","description":"Denies the read_hooks command without any pre-configured scope.","commands":{"allow":[],"deny":["read_hooks"]}},"deny-read-live-activity":{"identifier":"deny-read-live-activity","description":"Denies the read_live_activity command without any pre-configured scope.","commands":{"allow":[],"deny":["read_live_activity"]}},"deny-read-permissions":{"identifier":"deny-read-permissions","description":"Denies the read_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["read_permissions"]}},"deny-read-plugin-file":{"identifier":"deny-read-plugin-file","description":"Denies the read_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_file"]}},"deny-read-plugin-tree":{"identifier":"deny-read-plugin-tree","description":"Denies the read_plugin_tree command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_tree"]}},"deny-read-session-facet":{"identifier":"deny-read-session-facet","description":"Denies the read_session_facet command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_facet"]}},"deny-read-session-transcript":{"identifier":"deny-read-session-transcript","description":"Denies the read_session_transcript command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_transcript"]}},"deny-read-stats-cache":{"identifier":"deny-read-stats-cache","description":"Denies the read_stats_cache command without any pre-configured scope.","commands":{"allow":[],"deny":["read_stats_cache"]}},"deny-record-bundle-number":{"identifier":"deny-record-bundle-number","description":"Denies the record_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["record_bundle_number"]}},"deny-record-transaction":{"identifier":"deny-record-transaction","description":"Denies the record_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["record_transaction"]}},"deny-remove-worktrees":{"identifier":"deny-remove-worktrees","description":"Denies the remove_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_worktrees"]}},"deny-reveal-evaluation-session":{"identifier":"deny-reveal-evaluation-session","description":"Denies the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["reveal_evaluation_session"]}},"deny-save-comparison":{"identifier":"deny-save-comparison","description":"Denies the save_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["save_comparison"]}},"deny-save-custom-profile":{"identifier":"deny-save-custom-profile","description":"Denies the save_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["save_custom_profile"]}},"deny-save-evaluation":{"identifier":"deny-save-evaluation","description":"Denies the save_evaluation command without any pre-configured scope.","commands":{"allow":[],"deny":["save_evaluation"]}},"deny-save-file-diffs":{"identifier":"deny-save-file-diffs","description":"Denies the save_file_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["save_file_diffs"]}},"deny-save-pairwise-vote":{"identifier":"deny-save-pairwise-vote","description":"Denies the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["save_pairwise_vote"]}},"deny-save-panel":{"identifier":"deny-save-panel","description":"Denies the save_panel command without any pre-configured scope.","commands":{"allow":[],"deny":["save_panel"]}},"deny-set-keychain-secret":{"identifier":"deny-set-keychain-secret","description":"Denies the set_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["set_keychain_secret"]}},"deny-submit-feedback":{"identifier":"deny-submit-feedback","description":"Denies the submit_feedback command without any pre-configured scope.","commands":{"allow":[],"deny":["submit_feedback"]}},"deny-sync-create-backup":{"identifier":"deny-sync-create-backup","description":"Denies the sync_create_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_create_backup"]}},"deny-sync-file-exists":{"identifier":"deny-sync-file-exists","description":"Denies the sync_file_exists command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_file_exists"]}},"deny-sync-list-backups":{"identifier":"deny-sync-list-backups","description":"Denies the sync_list_backups command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_list_backups"]}},"deny-sync-read-dir":{"identifier":"deny-sync-read-dir","description":"Denies the sync_read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_dir"]}},"deny-sync-read-file":{"identifier":"deny-sync-read-file","description":"Denies the sync_read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_file"]}},"deny-sync-restore-backup":{"identifier":"deny-sync-restore-backup","description":"Denies the sync_restore_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_restore_backup"]}},"deny-sync-write-files":{"identifier":"deny-sync-write-files","description":"Denies the sync_write_files command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_write_files"]}},"deny-tag-comparison-task-type":{"identifier":"deny-tag-comparison-task-type","description":"Denies the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":[],"deny":["tag_comparison_task_type"]}},"deny-trigger-rebuild":{"identifier":"deny-trigger-rebuild","description":"Denies the trigger_rebuild command without any pre-configured scope.","commands":{"allow":[],"deny":["trigger_rebuild"]}},"deny-unacknowledge-drift":{"identifier":"deny-unacknowledge-drift","description":"Denies the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift"]}},"deny-unacknowledge-drift-item":{"identifier":"deny-unacknowledge-drift-item","description":"Denies the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift_item"]}},"deny-uninstall-plugin":{"identifier":"deny-uninstall-plugin","description":"Denies the uninstall_plugin command without any pre-configured scope.","commands":{"allow":[],"deny":["uninstall_plugin"]}},"deny-update-comparison-status":{"identifier":"deny-update-comparison-status","description":"Denies the update_comparison_status command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_status"]}},"deny-update-comparison-title":{"identifier":"deny-update-comparison-title","description":"Denies the update_comparison_title command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_title"]}},"deny-update-evaluation-score":{"identifier":"deny-update-evaluation-score","description":"Denies the update_evaluation_score command without any pre-configured scope.","commands":{"allow":[],"deny":["update_evaluation_score"]}},"deny-update-panel-result":{"identifier":"deny-update-panel-result","description":"Denies the update_panel_result command without any pre-configured scope.","commands":{"allow":[],"deny":["update_panel_result"]}},"deny-update-permissions":{"identifier":"deny-update-permissions","description":"Denies the update_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["update_permissions"]}},"deny-verify-definitions-signature":{"identifier":"deny-verify-definitions-signature","description":"Denies the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":[],"deny":["verify_definitions_signature"]}},"deny-write-config-file":{"identifier":"deny-write-config-file","description":"Denies the write_config_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_config_file"]}},"deny-write-env-config":{"identifier":"deny-write-env-config","description":"Denies the write_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["write_env_config"]}},"deny-write-harness-file":{"identifier":"deny-write-harness-file","description":"Denies the write_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_harness_file"]}},"deny-write-plugin-file":{"identifier":"deny-write-plugin-file","description":"Denies the write_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_plugin_file"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":{"identifier":"default","description":"This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n","permissions":["allow-message","allow-save","allow-open"]},"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"fs":{"default_permission":{"identifier":"default","description":"This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\n\n- On Windows the access to webview data folder `$APPLOCALDATA/EBWebView` is denied.\n- On Linux the access to webview data paths inside `$APPLOCALDATA` are denied.\n","permissions":["create-app-specific-dirs","read-app-specific-dirs-recursive","deny-default"]},"permissions":{"allow-copy-file":{"identifier":"allow-copy-file","description":"Enables the copy_file command without any pre-configured scope.","commands":{"allow":["copy_file"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-exists":{"identifier":"allow-exists","description":"Enables the exists command without any pre-configured scope.","commands":{"allow":["exists"],"deny":[]}},"allow-fstat":{"identifier":"allow-fstat","description":"Enables the fstat command without any pre-configured scope.","commands":{"allow":["fstat"],"deny":[]}},"allow-ftruncate":{"identifier":"allow-ftruncate","description":"Enables the ftruncate command without any pre-configured scope.","commands":{"allow":["ftruncate"],"deny":[]}},"allow-lstat":{"identifier":"allow-lstat","description":"Enables the lstat command without any pre-configured scope.","commands":{"allow":["lstat"],"deny":[]}},"allow-mkdir":{"identifier":"allow-mkdir","description":"Enables the mkdir command without any pre-configured scope.","commands":{"allow":["mkdir"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-read":{"identifier":"allow-read","description":"Enables the read command without any pre-configured scope.","commands":{"allow":["read"],"deny":[]}},"allow-read-dir":{"identifier":"allow-read-dir","description":"Enables the read_dir command without any pre-configured scope.","commands":{"allow":["read_dir"],"deny":[]}},"allow-read-file":{"identifier":"allow-read-file","description":"Enables the read_file command without any pre-configured scope.","commands":{"allow":["read_file"],"deny":[]}},"allow-read-text-file":{"identifier":"allow-read-text-file","description":"Enables the read_text_file command without any pre-configured scope.","commands":{"allow":["read_text_file"],"deny":[]}},"allow-read-text-file-lines":{"identifier":"allow-read-text-file-lines","description":"Enables the read_text_file_lines command without any pre-configured scope.","commands":{"allow":["read_text_file_lines","read_text_file_lines_next"],"deny":[]}},"allow-read-text-file-lines-next":{"identifier":"allow-read-text-file-lines-next","description":"Enables the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":["read_text_file_lines_next"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-rename":{"identifier":"allow-rename","description":"Enables the rename command without any pre-configured scope.","commands":{"allow":["rename"],"deny":[]}},"allow-seek":{"identifier":"allow-seek","description":"Enables the seek command without any pre-configured scope.","commands":{"allow":["seek"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"allow-start-accessing-security-scoped-resource":{"identifier":"allow-start-accessing-security-scoped-resource","description":"Enables the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["start_accessing_security_scoped_resource"],"deny":[]}},"allow-stat":{"identifier":"allow-stat","description":"Enables the stat command without any pre-configured scope.","commands":{"allow":["stat"],"deny":[]}},"allow-stop-accessing-security-scoped-resource":{"identifier":"allow-stop-accessing-security-scoped-resource","description":"Enables the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["stop_accessing_security_scoped_resource"],"deny":[]}},"allow-truncate":{"identifier":"allow-truncate","description":"Enables the truncate command without any pre-configured scope.","commands":{"allow":["truncate"],"deny":[]}},"allow-unwatch":{"identifier":"allow-unwatch","description":"Enables the unwatch command without any pre-configured scope.","commands":{"allow":["unwatch"],"deny":[]}},"allow-watch":{"identifier":"allow-watch","description":"Enables the watch command without any pre-configured scope.","commands":{"allow":["watch"],"deny":[]}},"allow-write":{"identifier":"allow-write","description":"Enables the write command without any pre-configured scope.","commands":{"allow":["write"],"deny":[]}},"allow-write-file":{"identifier":"allow-write-file","description":"Enables the write_file command without any pre-configured scope.","commands":{"allow":["write_file","open","write"],"deny":[]}},"allow-write-text-file":{"identifier":"allow-write-text-file","description":"Enables the write_text_file command without any pre-configured scope.","commands":{"allow":["write_text_file"],"deny":[]}},"deny-copy-file":{"identifier":"deny-copy-file","description":"Denies the copy_file command without any pre-configured scope.","commands":{"allow":[],"deny":["copy_file"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-exists":{"identifier":"deny-exists","description":"Denies the exists command without any pre-configured scope.","commands":{"allow":[],"deny":["exists"]}},"deny-fstat":{"identifier":"deny-fstat","description":"Denies the fstat command without any pre-configured scope.","commands":{"allow":[],"deny":["fstat"]}},"deny-ftruncate":{"identifier":"deny-ftruncate","description":"Denies the ftruncate command without any pre-configured scope.","commands":{"allow":[],"deny":["ftruncate"]}},"deny-lstat":{"identifier":"deny-lstat","description":"Denies the lstat command without any pre-configured scope.","commands":{"allow":[],"deny":["lstat"]}},"deny-mkdir":{"identifier":"deny-mkdir","description":"Denies the mkdir command without any pre-configured scope.","commands":{"allow":[],"deny":["mkdir"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-read":{"identifier":"deny-read","description":"Denies the read command without any pre-configured scope.","commands":{"allow":[],"deny":["read"]}},"deny-read-dir":{"identifier":"deny-read-dir","description":"Denies the read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["read_dir"]}},"deny-read-file":{"identifier":"deny-read-file","description":"Denies the read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file"]}},"deny-read-text-file":{"identifier":"deny-read-text-file","description":"Denies the read_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file"]}},"deny-read-text-file-lines":{"identifier":"deny-read-text-file-lines","description":"Denies the read_text_file_lines command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines"]}},"deny-read-text-file-lines-next":{"identifier":"deny-read-text-file-lines-next","description":"Denies the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines_next"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-rename":{"identifier":"deny-rename","description":"Denies the rename command without any pre-configured scope.","commands":{"allow":[],"deny":["rename"]}},"deny-seek":{"identifier":"deny-seek","description":"Denies the seek command without any pre-configured scope.","commands":{"allow":[],"deny":["seek"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}},"deny-start-accessing-security-scoped-resource":{"identifier":"deny-start-accessing-security-scoped-resource","description":"Denies the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["start_accessing_security_scoped_resource"]}},"deny-stat":{"identifier":"deny-stat","description":"Denies the stat command without any pre-configured scope.","commands":{"allow":[],"deny":["stat"]}},"deny-stop-accessing-security-scoped-resource":{"identifier":"deny-stop-accessing-security-scoped-resource","description":"Denies the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["stop_accessing_security_scoped_resource"]}},"deny-truncate":{"identifier":"deny-truncate","description":"Denies the truncate command without any pre-configured scope.","commands":{"allow":[],"deny":["truncate"]}},"deny-unwatch":{"identifier":"deny-unwatch","description":"Denies the unwatch command without any pre-configured scope.","commands":{"allow":[],"deny":["unwatch"]}},"deny-watch":{"identifier":"deny-watch","description":"Denies the watch command without any pre-configured scope.","commands":{"allow":[],"deny":["watch"]}},"deny-webview-data-linux":{"identifier":"deny-webview-data-linux","description":"This denies access to the following paths\n\n- `$APPLOCALDATA/CacheStorage/**`\n- `$APPLOCALDATA/cookies`\n- `$APPLOCALDATA/hsts-storage.sqlite`\n- `$APPLOCALDATA/serviceworkers/**`\n- `$APPLOCALDATA/WebKitCache/**`\n- `$APPLOCALDATA/databases/**`\n- `$APPLOCALDATA/localstorage/**`\n- `$APPLOCALDATA/mediakeys/**`\n- `$APPLOCALDATA/storage/**`\n\non linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/CacheStorage/**"},{"path":"$APPLOCALDATA/cookies"},{"path":"$APPLOCALDATA/hsts-storage.sqlite"},{"path":"$APPLOCALDATA/serviceworkers/**"},{"path":"$APPLOCALDATA/WebKitCache/**"},{"path":"$APPLOCALDATA/databases/**"},{"path":"$APPLOCALDATA/localstorage/**"},{"path":"$APPLOCALDATA/mediakeys/**"},{"path":"$APPLOCALDATA/storage/**"}]},"platforms":["linux"]},"deny-webview-data-windows":{"identifier":"deny-webview-data-windows","description":"This denies access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/EBWebView/**"}]},"platforms":["windows"]},"deny-write":{"identifier":"deny-write","description":"Denies the write command without any pre-configured scope.","commands":{"allow":[],"deny":["write"]}},"deny-write-file":{"identifier":"deny-write-file","description":"Denies the write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_file"]}},"deny-write-text-file":{"identifier":"deny-write-text-file","description":"Denies the write_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text_file"]}},"read-all":{"identifier":"read-all","description":"This enables all read related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists","watch","unwatch"],"deny":[]}},"read-dirs":{"identifier":"read-dirs","description":"This enables directory read and file metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists"],"deny":[]}},"read-files":{"identifier":"read-files","description":"This enables file read related commands without any pre-configured accessible paths.","commands":{"allow":["read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists"],"deny":[]}},"read-meta":{"identifier":"read-meta","description":"This enables all index or metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists","size"],"deny":[]}},"scope":{"identifier":"scope","description":"An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n","commands":{"allow":[],"deny":[]}},"scope-app":{"identifier":"scope-app","description":"This scope permits access to all files and list content of top level directories in the application folders.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"},{"path":"$APPDATA"},{"path":"$APPDATA/*"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"},{"path":"$APPCACHE"},{"path":"$APPCACHE/*"},{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-app-index":{"identifier":"scope-app-index","description":"This scope permits to list all files and folders in the application directories.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPDATA"},{"path":"$APPLOCALDATA"},{"path":"$APPCACHE"},{"path":"$APPLOG"}]}},"scope-app-recursive":{"identifier":"scope-app-recursive","description":"This scope permits recursive access to the complete application folders, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"},{"path":"$APPDATA"},{"path":"$APPDATA/**"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$APPCACHE"},{"path":"$APPCACHE/**"},{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-appcache":{"identifier":"scope-appcache","description":"This scope permits access to all files and list content of top level directories in the `$APPCACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/*"}]}},"scope-appcache-index":{"identifier":"scope-appcache-index","description":"This scope permits to list all files and folders in the `$APPCACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"}]}},"scope-appcache-recursive":{"identifier":"scope-appcache-recursive","description":"This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/**"}]}},"scope-appconfig":{"identifier":"scope-appconfig","description":"This scope permits access to all files and list content of top level directories in the `$APPCONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"}]}},"scope-appconfig-index":{"identifier":"scope-appconfig-index","description":"This scope permits to list all files and folders in the `$APPCONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"}]}},"scope-appconfig-recursive":{"identifier":"scope-appconfig-recursive","description":"This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"}]}},"scope-appdata":{"identifier":"scope-appdata","description":"This scope permits access to all files and list content of top level directories in the `$APPDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/*"}]}},"scope-appdata-index":{"identifier":"scope-appdata-index","description":"This scope permits to list all files and folders in the `$APPDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"}]}},"scope-appdata-recursive":{"identifier":"scope-appdata-recursive","description":"This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]}},"scope-applocaldata":{"identifier":"scope-applocaldata","description":"This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"}]}},"scope-applocaldata-index":{"identifier":"scope-applocaldata-index","description":"This scope permits to list all files and folders in the `$APPLOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"}]}},"scope-applocaldata-recursive":{"identifier":"scope-applocaldata-recursive","description":"This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]}},"scope-applog":{"identifier":"scope-applog","description":"This scope permits access to all files and list content of top level directories in the `$APPLOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-applog-index":{"identifier":"scope-applog-index","description":"This scope permits to list all files and folders in the `$APPLOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"}]}},"scope-applog-recursive":{"identifier":"scope-applog-recursive","description":"This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-audio":{"identifier":"scope-audio","description":"This scope permits access to all files and list content of top level directories in the `$AUDIO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/*"}]}},"scope-audio-index":{"identifier":"scope-audio-index","description":"This scope permits to list all files and folders in the `$AUDIO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"}]}},"scope-audio-recursive":{"identifier":"scope-audio-recursive","description":"This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/**"}]}},"scope-cache":{"identifier":"scope-cache","description":"This scope permits access to all files and list content of top level directories in the `$CACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/*"}]}},"scope-cache-index":{"identifier":"scope-cache-index","description":"This scope permits to list all files and folders in the `$CACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"}]}},"scope-cache-recursive":{"identifier":"scope-cache-recursive","description":"This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/**"}]}},"scope-config":{"identifier":"scope-config","description":"This scope permits access to all files and list content of top level directories in the `$CONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/*"}]}},"scope-config-index":{"identifier":"scope-config-index","description":"This scope permits to list all files and folders in the `$CONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"}]}},"scope-config-recursive":{"identifier":"scope-config-recursive","description":"This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/**"}]}},"scope-data":{"identifier":"scope-data","description":"This scope permits access to all files and list content of top level directories in the `$DATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/*"}]}},"scope-data-index":{"identifier":"scope-data-index","description":"This scope permits to list all files and folders in the `$DATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"}]}},"scope-data-recursive":{"identifier":"scope-data-recursive","description":"This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/**"}]}},"scope-desktop":{"identifier":"scope-desktop","description":"This scope permits access to all files and list content of top level directories in the `$DESKTOP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/*"}]}},"scope-desktop-index":{"identifier":"scope-desktop-index","description":"This scope permits to list all files and folders in the `$DESKTOP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"}]}},"scope-desktop-recursive":{"identifier":"scope-desktop-recursive","description":"This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/**"}]}},"scope-document":{"identifier":"scope-document","description":"This scope permits access to all files and list content of top level directories in the `$DOCUMENT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/*"}]}},"scope-document-index":{"identifier":"scope-document-index","description":"This scope permits to list all files and folders in the `$DOCUMENT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"}]}},"scope-document-recursive":{"identifier":"scope-document-recursive","description":"This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/**"}]}},"scope-download":{"identifier":"scope-download","description":"This scope permits access to all files and list content of top level directories in the `$DOWNLOAD` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/*"}]}},"scope-download-index":{"identifier":"scope-download-index","description":"This scope permits to list all files and folders in the `$DOWNLOAD`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"}]}},"scope-download-recursive":{"identifier":"scope-download-recursive","description":"This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/**"}]}},"scope-exe":{"identifier":"scope-exe","description":"This scope permits access to all files and list content of top level directories in the `$EXE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/*"}]}},"scope-exe-index":{"identifier":"scope-exe-index","description":"This scope permits to list all files and folders in the `$EXE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"}]}},"scope-exe-recursive":{"identifier":"scope-exe-recursive","description":"This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/**"}]}},"scope-font":{"identifier":"scope-font","description":"This scope permits access to all files and list content of top level directories in the `$FONT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/*"}]}},"scope-font-index":{"identifier":"scope-font-index","description":"This scope permits to list all files and folders in the `$FONT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"}]}},"scope-font-recursive":{"identifier":"scope-font-recursive","description":"This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/**"}]}},"scope-home":{"identifier":"scope-home","description":"This scope permits access to all files and list content of top level directories in the `$HOME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/*"}]}},"scope-home-index":{"identifier":"scope-home-index","description":"This scope permits to list all files and folders in the `$HOME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"}]}},"scope-home-recursive":{"identifier":"scope-home-recursive","description":"This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/**"}]}},"scope-localdata":{"identifier":"scope-localdata","description":"This scope permits access to all files and list content of top level directories in the `$LOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/*"}]}},"scope-localdata-index":{"identifier":"scope-localdata-index","description":"This scope permits to list all files and folders in the `$LOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"}]}},"scope-localdata-recursive":{"identifier":"scope-localdata-recursive","description":"This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/**"}]}},"scope-log":{"identifier":"scope-log","description":"This scope permits access to all files and list content of top level directories in the `$LOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/*"}]}},"scope-log-index":{"identifier":"scope-log-index","description":"This scope permits to list all files and folders in the `$LOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"}]}},"scope-log-recursive":{"identifier":"scope-log-recursive","description":"This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/**"}]}},"scope-picture":{"identifier":"scope-picture","description":"This scope permits access to all files and list content of top level directories in the `$PICTURE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/*"}]}},"scope-picture-index":{"identifier":"scope-picture-index","description":"This scope permits to list all files and folders in the `$PICTURE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"}]}},"scope-picture-recursive":{"identifier":"scope-picture-recursive","description":"This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/**"}]}},"scope-public":{"identifier":"scope-public","description":"This scope permits access to all files and list content of top level directories in the `$PUBLIC` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/*"}]}},"scope-public-index":{"identifier":"scope-public-index","description":"This scope permits to list all files and folders in the `$PUBLIC`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"}]}},"scope-public-recursive":{"identifier":"scope-public-recursive","description":"This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/**"}]}},"scope-resource":{"identifier":"scope-resource","description":"This scope permits access to all files and list content of top level directories in the `$RESOURCE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/*"}]}},"scope-resource-index":{"identifier":"scope-resource-index","description":"This scope permits to list all files and folders in the `$RESOURCE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"}]}},"scope-resource-recursive":{"identifier":"scope-resource-recursive","description":"This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/**"}]}},"scope-runtime":{"identifier":"scope-runtime","description":"This scope permits access to all files and list content of top level directories in the `$RUNTIME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/*"}]}},"scope-runtime-index":{"identifier":"scope-runtime-index","description":"This scope permits to list all files and folders in the `$RUNTIME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"}]}},"scope-runtime-recursive":{"identifier":"scope-runtime-recursive","description":"This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/**"}]}},"scope-temp":{"identifier":"scope-temp","description":"This scope permits access to all files and list content of top level directories in the `$TEMP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/*"}]}},"scope-temp-index":{"identifier":"scope-temp-index","description":"This scope permits to list all files and folders in the `$TEMP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"}]}},"scope-temp-recursive":{"identifier":"scope-temp-recursive","description":"This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/**"}]}},"scope-template":{"identifier":"scope-template","description":"This scope permits access to all files and list content of top level directories in the `$TEMPLATE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/*"}]}},"scope-template-index":{"identifier":"scope-template-index","description":"This scope permits to list all files and folders in the `$TEMPLATE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"}]}},"scope-template-recursive":{"identifier":"scope-template-recursive","description":"This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/**"}]}},"scope-video":{"identifier":"scope-video","description":"This scope permits access to all files and list content of top level directories in the `$VIDEO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/*"}]}},"scope-video-index":{"identifier":"scope-video-index","description":"This scope permits to list all files and folders in the `$VIDEO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"}]}},"scope-video-recursive":{"identifier":"scope-video-recursive","description":"This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/**"}]}}},"permission_sets":{"allow-app-meta":{"identifier":"allow-app-meta","description":"This allows non-recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-index"]},"allow-app-meta-recursive":{"identifier":"allow-app-meta-recursive","description":"This allows full recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-recursive"]},"allow-app-read":{"identifier":"allow-app-read","description":"This allows non-recursive read access to the application folders.","permissions":["read-all","scope-app"]},"allow-app-read-recursive":{"identifier":"allow-app-read-recursive","description":"This allows full recursive read access to the complete application folders, files and subdirectories.","permissions":["read-all","scope-app-recursive"]},"allow-app-write":{"identifier":"allow-app-write","description":"This allows non-recursive write access to the application folders.","permissions":["write-all","scope-app"]},"allow-app-write-recursive":{"identifier":"allow-app-write-recursive","description":"This allows full recursive write access to the complete application folders, files and subdirectories.","permissions":["write-all","scope-app-recursive"]},"allow-appcache-meta":{"identifier":"allow-appcache-meta","description":"This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-index"]},"allow-appcache-meta-recursive":{"identifier":"allow-appcache-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-recursive"]},"allow-appcache-read":{"identifier":"allow-appcache-read","description":"This allows non-recursive read access to the `$APPCACHE` folder.","permissions":["read-all","scope-appcache"]},"allow-appcache-read-recursive":{"identifier":"allow-appcache-read-recursive","description":"This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["read-all","scope-appcache-recursive"]},"allow-appcache-write":{"identifier":"allow-appcache-write","description":"This allows non-recursive write access to the `$APPCACHE` folder.","permissions":["write-all","scope-appcache"]},"allow-appcache-write-recursive":{"identifier":"allow-appcache-write-recursive","description":"This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["write-all","scope-appcache-recursive"]},"allow-appconfig-meta":{"identifier":"allow-appconfig-meta","description":"This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-index"]},"allow-appconfig-meta-recursive":{"identifier":"allow-appconfig-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-recursive"]},"allow-appconfig-read":{"identifier":"allow-appconfig-read","description":"This allows non-recursive read access to the `$APPCONFIG` folder.","permissions":["read-all","scope-appconfig"]},"allow-appconfig-read-recursive":{"identifier":"allow-appconfig-read-recursive","description":"This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["read-all","scope-appconfig-recursive"]},"allow-appconfig-write":{"identifier":"allow-appconfig-write","description":"This allows non-recursive write access to the `$APPCONFIG` folder.","permissions":["write-all","scope-appconfig"]},"allow-appconfig-write-recursive":{"identifier":"allow-appconfig-write-recursive","description":"This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["write-all","scope-appconfig-recursive"]},"allow-appdata-meta":{"identifier":"allow-appdata-meta","description":"This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-index"]},"allow-appdata-meta-recursive":{"identifier":"allow-appdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-recursive"]},"allow-appdata-read":{"identifier":"allow-appdata-read","description":"This allows non-recursive read access to the `$APPDATA` folder.","permissions":["read-all","scope-appdata"]},"allow-appdata-read-recursive":{"identifier":"allow-appdata-read-recursive","description":"This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["read-all","scope-appdata-recursive"]},"allow-appdata-write":{"identifier":"allow-appdata-write","description":"This allows non-recursive write access to the `$APPDATA` folder.","permissions":["write-all","scope-appdata"]},"allow-appdata-write-recursive":{"identifier":"allow-appdata-write-recursive","description":"This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["write-all","scope-appdata-recursive"]},"allow-applocaldata-meta":{"identifier":"allow-applocaldata-meta","description":"This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-index"]},"allow-applocaldata-meta-recursive":{"identifier":"allow-applocaldata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-recursive"]},"allow-applocaldata-read":{"identifier":"allow-applocaldata-read","description":"This allows non-recursive read access to the `$APPLOCALDATA` folder.","permissions":["read-all","scope-applocaldata"]},"allow-applocaldata-read-recursive":{"identifier":"allow-applocaldata-read-recursive","description":"This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-applocaldata-recursive"]},"allow-applocaldata-write":{"identifier":"allow-applocaldata-write","description":"This allows non-recursive write access to the `$APPLOCALDATA` folder.","permissions":["write-all","scope-applocaldata"]},"allow-applocaldata-write-recursive":{"identifier":"allow-applocaldata-write-recursive","description":"This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-applocaldata-recursive"]},"allow-applog-meta":{"identifier":"allow-applog-meta","description":"This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-index"]},"allow-applog-meta-recursive":{"identifier":"allow-applog-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-recursive"]},"allow-applog-read":{"identifier":"allow-applog-read","description":"This allows non-recursive read access to the `$APPLOG` folder.","permissions":["read-all","scope-applog"]},"allow-applog-read-recursive":{"identifier":"allow-applog-read-recursive","description":"This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["read-all","scope-applog-recursive"]},"allow-applog-write":{"identifier":"allow-applog-write","description":"This allows non-recursive write access to the `$APPLOG` folder.","permissions":["write-all","scope-applog"]},"allow-applog-write-recursive":{"identifier":"allow-applog-write-recursive","description":"This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["write-all","scope-applog-recursive"]},"allow-audio-meta":{"identifier":"allow-audio-meta","description":"This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-index"]},"allow-audio-meta-recursive":{"identifier":"allow-audio-meta-recursive","description":"This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-recursive"]},"allow-audio-read":{"identifier":"allow-audio-read","description":"This allows non-recursive read access to the `$AUDIO` folder.","permissions":["read-all","scope-audio"]},"allow-audio-read-recursive":{"identifier":"allow-audio-read-recursive","description":"This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["read-all","scope-audio-recursive"]},"allow-audio-write":{"identifier":"allow-audio-write","description":"This allows non-recursive write access to the `$AUDIO` folder.","permissions":["write-all","scope-audio"]},"allow-audio-write-recursive":{"identifier":"allow-audio-write-recursive","description":"This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["write-all","scope-audio-recursive"]},"allow-cache-meta":{"identifier":"allow-cache-meta","description":"This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-index"]},"allow-cache-meta-recursive":{"identifier":"allow-cache-meta-recursive","description":"This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-recursive"]},"allow-cache-read":{"identifier":"allow-cache-read","description":"This allows non-recursive read access to the `$CACHE` folder.","permissions":["read-all","scope-cache"]},"allow-cache-read-recursive":{"identifier":"allow-cache-read-recursive","description":"This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.","permissions":["read-all","scope-cache-recursive"]},"allow-cache-write":{"identifier":"allow-cache-write","description":"This allows non-recursive write access to the `$CACHE` folder.","permissions":["write-all","scope-cache"]},"allow-cache-write-recursive":{"identifier":"allow-cache-write-recursive","description":"This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.","permissions":["write-all","scope-cache-recursive"]},"allow-config-meta":{"identifier":"allow-config-meta","description":"This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-index"]},"allow-config-meta-recursive":{"identifier":"allow-config-meta-recursive","description":"This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-recursive"]},"allow-config-read":{"identifier":"allow-config-read","description":"This allows non-recursive read access to the `$CONFIG` folder.","permissions":["read-all","scope-config"]},"allow-config-read-recursive":{"identifier":"allow-config-read-recursive","description":"This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["read-all","scope-config-recursive"]},"allow-config-write":{"identifier":"allow-config-write","description":"This allows non-recursive write access to the `$CONFIG` folder.","permissions":["write-all","scope-config"]},"allow-config-write-recursive":{"identifier":"allow-config-write-recursive","description":"This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["write-all","scope-config-recursive"]},"allow-data-meta":{"identifier":"allow-data-meta","description":"This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-index"]},"allow-data-meta-recursive":{"identifier":"allow-data-meta-recursive","description":"This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-recursive"]},"allow-data-read":{"identifier":"allow-data-read","description":"This allows non-recursive read access to the `$DATA` folder.","permissions":["read-all","scope-data"]},"allow-data-read-recursive":{"identifier":"allow-data-read-recursive","description":"This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.","permissions":["read-all","scope-data-recursive"]},"allow-data-write":{"identifier":"allow-data-write","description":"This allows non-recursive write access to the `$DATA` folder.","permissions":["write-all","scope-data"]},"allow-data-write-recursive":{"identifier":"allow-data-write-recursive","description":"This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.","permissions":["write-all","scope-data-recursive"]},"allow-desktop-meta":{"identifier":"allow-desktop-meta","description":"This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-index"]},"allow-desktop-meta-recursive":{"identifier":"allow-desktop-meta-recursive","description":"This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-recursive"]},"allow-desktop-read":{"identifier":"allow-desktop-read","description":"This allows non-recursive read access to the `$DESKTOP` folder.","permissions":["read-all","scope-desktop"]},"allow-desktop-read-recursive":{"identifier":"allow-desktop-read-recursive","description":"This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["read-all","scope-desktop-recursive"]},"allow-desktop-write":{"identifier":"allow-desktop-write","description":"This allows non-recursive write access to the `$DESKTOP` folder.","permissions":["write-all","scope-desktop"]},"allow-desktop-write-recursive":{"identifier":"allow-desktop-write-recursive","description":"This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["write-all","scope-desktop-recursive"]},"allow-document-meta":{"identifier":"allow-document-meta","description":"This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-index"]},"allow-document-meta-recursive":{"identifier":"allow-document-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-recursive"]},"allow-document-read":{"identifier":"allow-document-read","description":"This allows non-recursive read access to the `$DOCUMENT` folder.","permissions":["read-all","scope-document"]},"allow-document-read-recursive":{"identifier":"allow-document-read-recursive","description":"This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["read-all","scope-document-recursive"]},"allow-document-write":{"identifier":"allow-document-write","description":"This allows non-recursive write access to the `$DOCUMENT` folder.","permissions":["write-all","scope-document"]},"allow-document-write-recursive":{"identifier":"allow-document-write-recursive","description":"This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["write-all","scope-document-recursive"]},"allow-download-meta":{"identifier":"allow-download-meta","description":"This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-index"]},"allow-download-meta-recursive":{"identifier":"allow-download-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-recursive"]},"allow-download-read":{"identifier":"allow-download-read","description":"This allows non-recursive read access to the `$DOWNLOAD` folder.","permissions":["read-all","scope-download"]},"allow-download-read-recursive":{"identifier":"allow-download-read-recursive","description":"This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["read-all","scope-download-recursive"]},"allow-download-write":{"identifier":"allow-download-write","description":"This allows non-recursive write access to the `$DOWNLOAD` folder.","permissions":["write-all","scope-download"]},"allow-download-write-recursive":{"identifier":"allow-download-write-recursive","description":"This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["write-all","scope-download-recursive"]},"allow-exe-meta":{"identifier":"allow-exe-meta","description":"This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-index"]},"allow-exe-meta-recursive":{"identifier":"allow-exe-meta-recursive","description":"This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-recursive"]},"allow-exe-read":{"identifier":"allow-exe-read","description":"This allows non-recursive read access to the `$EXE` folder.","permissions":["read-all","scope-exe"]},"allow-exe-read-recursive":{"identifier":"allow-exe-read-recursive","description":"This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.","permissions":["read-all","scope-exe-recursive"]},"allow-exe-write":{"identifier":"allow-exe-write","description":"This allows non-recursive write access to the `$EXE` folder.","permissions":["write-all","scope-exe"]},"allow-exe-write-recursive":{"identifier":"allow-exe-write-recursive","description":"This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.","permissions":["write-all","scope-exe-recursive"]},"allow-font-meta":{"identifier":"allow-font-meta","description":"This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-index"]},"allow-font-meta-recursive":{"identifier":"allow-font-meta-recursive","description":"This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-recursive"]},"allow-font-read":{"identifier":"allow-font-read","description":"This allows non-recursive read access to the `$FONT` folder.","permissions":["read-all","scope-font"]},"allow-font-read-recursive":{"identifier":"allow-font-read-recursive","description":"This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.","permissions":["read-all","scope-font-recursive"]},"allow-font-write":{"identifier":"allow-font-write","description":"This allows non-recursive write access to the `$FONT` folder.","permissions":["write-all","scope-font"]},"allow-font-write-recursive":{"identifier":"allow-font-write-recursive","description":"This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.","permissions":["write-all","scope-font-recursive"]},"allow-home-meta":{"identifier":"allow-home-meta","description":"This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-index"]},"allow-home-meta-recursive":{"identifier":"allow-home-meta-recursive","description":"This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-recursive"]},"allow-home-read":{"identifier":"allow-home-read","description":"This allows non-recursive read access to the `$HOME` folder.","permissions":["read-all","scope-home"]},"allow-home-read-recursive":{"identifier":"allow-home-read-recursive","description":"This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.","permissions":["read-all","scope-home-recursive"]},"allow-home-write":{"identifier":"allow-home-write","description":"This allows non-recursive write access to the `$HOME` folder.","permissions":["write-all","scope-home"]},"allow-home-write-recursive":{"identifier":"allow-home-write-recursive","description":"This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.","permissions":["write-all","scope-home-recursive"]},"allow-localdata-meta":{"identifier":"allow-localdata-meta","description":"This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-index"]},"allow-localdata-meta-recursive":{"identifier":"allow-localdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-recursive"]},"allow-localdata-read":{"identifier":"allow-localdata-read","description":"This allows non-recursive read access to the `$LOCALDATA` folder.","permissions":["read-all","scope-localdata"]},"allow-localdata-read-recursive":{"identifier":"allow-localdata-read-recursive","description":"This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-localdata-recursive"]},"allow-localdata-write":{"identifier":"allow-localdata-write","description":"This allows non-recursive write access to the `$LOCALDATA` folder.","permissions":["write-all","scope-localdata"]},"allow-localdata-write-recursive":{"identifier":"allow-localdata-write-recursive","description":"This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-localdata-recursive"]},"allow-log-meta":{"identifier":"allow-log-meta","description":"This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-index"]},"allow-log-meta-recursive":{"identifier":"allow-log-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-recursive"]},"allow-log-read":{"identifier":"allow-log-read","description":"This allows non-recursive read access to the `$LOG` folder.","permissions":["read-all","scope-log"]},"allow-log-read-recursive":{"identifier":"allow-log-read-recursive","description":"This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.","permissions":["read-all","scope-log-recursive"]},"allow-log-write":{"identifier":"allow-log-write","description":"This allows non-recursive write access to the `$LOG` folder.","permissions":["write-all","scope-log"]},"allow-log-write-recursive":{"identifier":"allow-log-write-recursive","description":"This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.","permissions":["write-all","scope-log-recursive"]},"allow-picture-meta":{"identifier":"allow-picture-meta","description":"This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-index"]},"allow-picture-meta-recursive":{"identifier":"allow-picture-meta-recursive","description":"This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-recursive"]},"allow-picture-read":{"identifier":"allow-picture-read","description":"This allows non-recursive read access to the `$PICTURE` folder.","permissions":["read-all","scope-picture"]},"allow-picture-read-recursive":{"identifier":"allow-picture-read-recursive","description":"This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["read-all","scope-picture-recursive"]},"allow-picture-write":{"identifier":"allow-picture-write","description":"This allows non-recursive write access to the `$PICTURE` folder.","permissions":["write-all","scope-picture"]},"allow-picture-write-recursive":{"identifier":"allow-picture-write-recursive","description":"This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["write-all","scope-picture-recursive"]},"allow-public-meta":{"identifier":"allow-public-meta","description":"This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-index"]},"allow-public-meta-recursive":{"identifier":"allow-public-meta-recursive","description":"This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-recursive"]},"allow-public-read":{"identifier":"allow-public-read","description":"This allows non-recursive read access to the `$PUBLIC` folder.","permissions":["read-all","scope-public"]},"allow-public-read-recursive":{"identifier":"allow-public-read-recursive","description":"This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["read-all","scope-public-recursive"]},"allow-public-write":{"identifier":"allow-public-write","description":"This allows non-recursive write access to the `$PUBLIC` folder.","permissions":["write-all","scope-public"]},"allow-public-write-recursive":{"identifier":"allow-public-write-recursive","description":"This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["write-all","scope-public-recursive"]},"allow-resource-meta":{"identifier":"allow-resource-meta","description":"This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-index"]},"allow-resource-meta-recursive":{"identifier":"allow-resource-meta-recursive","description":"This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-recursive"]},"allow-resource-read":{"identifier":"allow-resource-read","description":"This allows non-recursive read access to the `$RESOURCE` folder.","permissions":["read-all","scope-resource"]},"allow-resource-read-recursive":{"identifier":"allow-resource-read-recursive","description":"This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["read-all","scope-resource-recursive"]},"allow-resource-write":{"identifier":"allow-resource-write","description":"This allows non-recursive write access to the `$RESOURCE` folder.","permissions":["write-all","scope-resource"]},"allow-resource-write-recursive":{"identifier":"allow-resource-write-recursive","description":"This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["write-all","scope-resource-recursive"]},"allow-runtime-meta":{"identifier":"allow-runtime-meta","description":"This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-index"]},"allow-runtime-meta-recursive":{"identifier":"allow-runtime-meta-recursive","description":"This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-recursive"]},"allow-runtime-read":{"identifier":"allow-runtime-read","description":"This allows non-recursive read access to the `$RUNTIME` folder.","permissions":["read-all","scope-runtime"]},"allow-runtime-read-recursive":{"identifier":"allow-runtime-read-recursive","description":"This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["read-all","scope-runtime-recursive"]},"allow-runtime-write":{"identifier":"allow-runtime-write","description":"This allows non-recursive write access to the `$RUNTIME` folder.","permissions":["write-all","scope-runtime"]},"allow-runtime-write-recursive":{"identifier":"allow-runtime-write-recursive","description":"This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["write-all","scope-runtime-recursive"]},"allow-temp-meta":{"identifier":"allow-temp-meta","description":"This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-index"]},"allow-temp-meta-recursive":{"identifier":"allow-temp-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-recursive"]},"allow-temp-read":{"identifier":"allow-temp-read","description":"This allows non-recursive read access to the `$TEMP` folder.","permissions":["read-all","scope-temp"]},"allow-temp-read-recursive":{"identifier":"allow-temp-read-recursive","description":"This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.","permissions":["read-all","scope-temp-recursive"]},"allow-temp-write":{"identifier":"allow-temp-write","description":"This allows non-recursive write access to the `$TEMP` folder.","permissions":["write-all","scope-temp"]},"allow-temp-write-recursive":{"identifier":"allow-temp-write-recursive","description":"This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.","permissions":["write-all","scope-temp-recursive"]},"allow-template-meta":{"identifier":"allow-template-meta","description":"This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-index"]},"allow-template-meta-recursive":{"identifier":"allow-template-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-recursive"]},"allow-template-read":{"identifier":"allow-template-read","description":"This allows non-recursive read access to the `$TEMPLATE` folder.","permissions":["read-all","scope-template"]},"allow-template-read-recursive":{"identifier":"allow-template-read-recursive","description":"This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["read-all","scope-template-recursive"]},"allow-template-write":{"identifier":"allow-template-write","description":"This allows non-recursive write access to the `$TEMPLATE` folder.","permissions":["write-all","scope-template"]},"allow-template-write-recursive":{"identifier":"allow-template-write-recursive","description":"This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["write-all","scope-template-recursive"]},"allow-video-meta":{"identifier":"allow-video-meta","description":"This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-index"]},"allow-video-meta-recursive":{"identifier":"allow-video-meta-recursive","description":"This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-recursive"]},"allow-video-read":{"identifier":"allow-video-read","description":"This allows non-recursive read access to the `$VIDEO` folder.","permissions":["read-all","scope-video"]},"allow-video-read-recursive":{"identifier":"allow-video-read-recursive","description":"This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["read-all","scope-video-recursive"]},"allow-video-write":{"identifier":"allow-video-write","description":"This allows non-recursive write access to the `$VIDEO` folder.","permissions":["write-all","scope-video"]},"allow-video-write-recursive":{"identifier":"allow-video-write-recursive","description":"This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["write-all","scope-video-recursive"]},"create-app-specific-dirs":{"identifier":"create-app-specific-dirs","description":"This permissions allows to create the application specific directories.\n","permissions":["allow-mkdir","scope-app-index"]},"deny-default":{"identifier":"deny-default","description":"This denies access to dangerous Tauri relevant files and folders by default.","permissions":["deny-webview-data-linux","deny-webview-data-windows"]},"read-app-specific-dirs-recursive":{"identifier":"read-app-specific-dirs-recursive","description":"This permission allows recursive read functionality on the application\nspecific base directories.\n","permissions":["allow-read-dir","allow-read-file","allow-read-text-file","allow-read-text-file-lines","allow-read-text-file-lines-next","allow-exists","scope-app-recursive"]},"write-all":{"identifier":"write-all","description":"This enables all write related commands without any pre-configured accessible paths.","permissions":["allow-mkdir","allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]},"write-files":{"identifier":"write-files","description":"This enables all file write related commands without any pre-configured accessible paths.","permissions":["allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]}},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"description":"A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},{"properties":{"path":{"description":"A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"}},"required":["path"],"type":"object"}],"description":"FS scope entry.","title":"FsScopeEntry"}},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"cmd":{"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"window-state":{"default_permission":{"identifier":"default","description":"This permission set configures what kind of\noperations are available from the window state plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n","permissions":["allow-filename","allow-restore-state","allow-save-window-state"]},"permissions":{"allow-filename":{"identifier":"allow-filename","description":"Enables the filename command without any pre-configured scope.","commands":{"allow":["filename"],"deny":[]}},"allow-restore-state":{"identifier":"allow-restore-state","description":"Enables the restore_state command without any pre-configured scope.","commands":{"allow":["restore_state"],"deny":[]}},"allow-save-window-state":{"identifier":"allow-save-window-state","description":"Enables the save_window_state command without any pre-configured scope.","commands":{"allow":["save_window_state"],"deny":[]}},"deny-filename":{"identifier":"deny-filename","description":"Denies the filename command without any pre-configured scope.","commands":{"allow":[],"deny":["filename"]}},"deny-restore-state":{"identifier":"deny-restore-state","description":"Denies the restore_state command without any pre-configured scope.","commands":{"allow":[],"deny":["restore_state"]}},"deny-save-window-state":{"identifier":"deny-save-window-state","description":"Denies the save_window_state command without any pre-configured scope.","commands":{"allow":[],"deny":["save_window_state"]}}},"permission_sets":{},"global_scope_schema":null}} \ No newline at end of file +{"__app-acl__":{"default_permission":null,"permissions":{"allow-acknowledge-drift":{"identifier":"allow-acknowledge-drift","description":"Enables the acknowledge_drift command without any pre-configured scope.","commands":{"allow":["acknowledge_drift"],"deny":[]}},"allow-acknowledge-drift-item":{"identifier":"allow-acknowledge-drift-item","description":"Enables the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["acknowledge_drift_item"],"deny":[]}},"allow-apply-security-preset":{"identifier":"allow-apply-security-preset","description":"Enables the apply_security_preset command without any pre-configured scope.","commands":{"allow":["apply_security_preset"],"deny":[]}},"allow-apply-surface-transaction":{"identifier":"allow-apply-surface-transaction","description":"Enables the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":["apply_surface_transaction"],"deny":[]}},"allow-check-for-updates":{"identifier":"allow-check-for-updates","description":"Enables the check_for_updates command without any pre-configured scope.","commands":{"allow":["check_for_updates"],"deny":[]}},"allow-check-git-repo":{"identifier":"allow-check-git-repo","description":"Enables the check_git_repo command without any pre-configured scope.","commands":{"allow":["check_git_repo"],"deny":[]}},"allow-check-plugin-updates":{"identifier":"allow-check-plugin-updates","description":"Enables the check_plugin_updates command without any pre-configured scope.","commands":{"allow":["check_plugin_updates"],"deny":[]}},"allow-choose-project-dir":{"identifier":"allow-choose-project-dir","description":"Enables the choose_project_dir command without any pre-configured scope.","commands":{"allow":["choose_project_dir"],"deny":[]}},"allow-clear-audit-entries":{"identifier":"allow-clear-audit-entries","description":"Enables the clear_audit_entries command without any pre-configured scope.","commands":{"allow":["clear_audit_entries"],"deny":[]}},"allow-compute-live-stats":{"identifier":"allow-compute-live-stats","description":"Enables the compute_live_stats command without any pre-configured scope.","commands":{"allow":["compute_live_stats"],"deny":[]}},"allow-create-evaluation-session":{"identifier":"allow-create-evaluation-session","description":"Enables the create_evaluation_session command without any pre-configured scope.","commands":{"allow":["create_evaluation_session"],"deny":[]}},"allow-create-worktrees":{"identifier":"allow-create-worktrees","description":"Enables the create_worktrees command without any pre-configured scope.","commands":{"allow":["create_worktrees"],"deny":[]}},"allow-delete-comparison":{"identifier":"allow-delete-comparison","description":"Enables the delete_comparison command without any pre-configured scope.","commands":{"allow":["delete_comparison"],"deny":[]}},"allow-delete-custom-profile":{"identifier":"allow-delete-custom-profile","description":"Enables the delete_custom_profile command without any pre-configured scope.","commands":{"allow":["delete_custom_profile"],"deny":[]}},"allow-delete-keychain-secret":{"identifier":"allow-delete-keychain-secret","description":"Enables the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":["delete_keychain_secret"],"deny":[]}},"allow-delete-pairwise-vote":{"identifier":"allow-delete-pairwise-vote","description":"Enables the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":["delete_pairwise_vote"],"deny":[]}},"allow-detect-claude-account":{"identifier":"allow-detect-claude-account","description":"Enables the detect_claude_account command without any pre-configured scope.","commands":{"allow":["detect_claude_account"],"deny":[]}},"allow-detect-harnesses":{"identifier":"allow-detect-harnesses","description":"Enables the detect_harnesses command without any pre-configured scope.","commands":{"allow":["detect_harnesses"],"deny":[]}},"allow-export-comparison-json":{"identifier":"allow-export-comparison-json","description":"Enables the export_comparison_json command without any pre-configured scope.","commands":{"allow":["export_comparison_json"],"deny":[]}},"allow-export-plugin-as-zip":{"identifier":"allow-export-plugin-as-zip","description":"Enables the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":["export_plugin_as_zip"],"deny":[]}},"allow-export-plugin-to-folder":{"identifier":"allow-export-plugin-to-folder","description":"Enables the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":["export_plugin_to_folder"],"deny":[]}},"allow-get-acknowledged-drift-items":{"identifier":"allow-get-acknowledged-drift-items","description":"Enables the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":["get_acknowledged_drift_items"],"deny":[]}},"allow-get-cached-definitions":{"identifier":"allow-get-cached-definitions","description":"Enables the get_cached_definitions command without any pre-configured scope.","commands":{"allow":["get_cached_definitions"],"deny":[]}},"allow-get-comparator-analytics":{"identifier":"allow-get-comparator-analytics","description":"Enables the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":["get_comparator_analytics"],"deny":[]}},"allow-get-comparison":{"identifier":"allow-get-comparison","description":"Enables the get_comparison command without any pre-configured scope.","commands":{"allow":["get_comparison"],"deny":[]}},"allow-get-comparison-diffs":{"identifier":"allow-get-comparison-diffs","description":"Enables the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":["get_comparison_diffs"],"deny":[]}},"allow-get-custom-profile":{"identifier":"allow-get-custom-profile","description":"Enables the get_custom_profile command without any pre-configured scope.","commands":{"allow":["get_custom_profile"],"deny":[]}},"allow-get-diff-against-commit":{"identifier":"allow-get-diff-against-commit","description":"Enables the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":["get_diff_against_commit"],"deny":[]}},"allow-get-evaluation-session":{"identifier":"allow-get-evaluation-session","description":"Enables the get_evaluation_session command without any pre-configured scope.","commands":{"allow":["get_evaluation_session"],"deny":[]}},"allow-get-evaluations":{"identifier":"allow-get-evaluations","description":"Enables the get_evaluations command without any pre-configured scope.","commands":{"allow":["get_evaluations"],"deny":[]}},"allow-get-harness-recommendations":{"identifier":"allow-get-harness-recommendations","description":"Enables the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":["get_harness_recommendations"],"deny":[]}},"allow-get-highest-bundle-number":{"identifier":"allow-get-highest-bundle-number","description":"Enables the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":["get_highest_bundle_number"],"deny":[]}},"allow-get-history-size":{"identifier":"allow-get-history-size","description":"Enables the get_history_size command without any pre-configured scope.","commands":{"allow":["get_history_size"],"deny":[]}},"allow-get-pairwise-analytics":{"identifier":"allow-get-pairwise-analytics","description":"Enables the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":["get_pairwise_analytics"],"deny":[]}},"allow-get-pairwise-votes":{"identifier":"allow-get-pairwise-votes","description":"Enables the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":["get_pairwise_votes"],"deny":[]}},"allow-get-panel-diffs":{"identifier":"allow-get-panel-diffs","description":"Enables the get_panel_diffs command without any pre-configured scope.","commands":{"allow":["get_panel_diffs"],"deny":[]}},"allow-get-system-info":{"identifier":"allow-get-system-info","description":"Enables the get_system_info command without any pre-configured scope.","commands":{"allow":["get_system_info"],"deny":[]}},"allow-grant-project-scope":{"identifier":"allow-grant-project-scope","description":"Enables the grant_project_scope command without any pre-configured scope.","commands":{"allow":["grant_project_scope"],"deny":[]}},"allow-guarded-remove-file":{"identifier":"allow-guarded-remove-file","description":"Enables the guarded_remove_file command without any pre-configured scope.","commands":{"allow":["guarded_remove_file"],"deny":[]}},"allow-guarded-rename-file":{"identifier":"allow-guarded-rename-file","description":"Enables the guarded_rename_file command without any pre-configured scope.","commands":{"allow":["guarded_rename_file"],"deny":[]}},"allow-guarded-write-file":{"identifier":"allow-guarded-write-file","description":"Enables the guarded_write_file command without any pre-configured scope.","commands":{"allow":["guarded_write_file"],"deny":[]}},"allow-import-plugin-from-path":{"identifier":"allow-import-plugin-from-path","description":"Enables the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":["import_plugin_from_path"],"deny":[]}},"allow-import-plugin-from-zip":{"identifier":"allow-import-plugin-from-zip","description":"Enables the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":["import_plugin_from_zip"],"deny":[]}},"allow-list-active-sessions":{"identifier":"allow-list-active-sessions","description":"Enables the list_active_sessions command without any pre-configured scope.","commands":{"allow":["list_active_sessions"],"deny":[]}},"allow-list-audit-entries":{"identifier":"allow-list-audit-entries","description":"Enables the list_audit_entries command without any pre-configured scope.","commands":{"allow":["list_audit_entries"],"deny":[]}},"allow-list-changes":{"identifier":"allow-list-changes","description":"Enables the list_changes command without any pre-configured scope.","commands":{"allow":["list_changes"],"deny":[]}},"allow-list-claude-dir":{"identifier":"allow-list-claude-dir","description":"Enables the list_claude_dir command without any pre-configured scope.","commands":{"allow":["list_claude_dir"],"deny":[]}},"allow-list-comparisons":{"identifier":"allow-list-comparisons","description":"Enables the list_comparisons command without any pre-configured scope.","commands":{"allow":["list_comparisons"],"deny":[]}},"allow-list-custom-profiles":{"identifier":"allow-list-custom-profiles","description":"Enables the list_custom_profiles command without any pre-configured scope.","commands":{"allow":["list_custom_profiles"],"deny":[]}},"allow-list-drift-acknowledgements":{"identifier":"allow-list-drift-acknowledgements","description":"Enables the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["list_drift_acknowledgements"],"deny":[]}},"allow-list-installed-plugins":{"identifier":"allow-list-installed-plugins","description":"Enables the list_installed_plugins command without any pre-configured scope.","commands":{"allow":["list_installed_plugins"],"deny":[]}},"allow-list-marketplaces":{"identifier":"allow-list-marketplaces","description":"Enables the list_marketplaces command without any pre-configured scope.","commands":{"allow":["list_marketplaces"],"deny":[]}},"allow-list-required-env":{"identifier":"allow-list-required-env","description":"Enables the list_required_env command without any pre-configured scope.","commands":{"allow":["list_required_env"],"deny":[]}},"allow-list-security-presets":{"identifier":"allow-list-security-presets","description":"Enables the list_security_presets command without any pre-configured scope.","commands":{"allow":["list_security_presets"],"deny":[]}},"allow-list-sessions-summary":{"identifier":"allow-list-sessions-summary","description":"Enables the list_sessions_summary command without any pre-configured scope.","commands":{"allow":["list_sessions_summary"],"deny":[]}},"allow-migrate-drift-acknowledgements":{"identifier":"allow-migrate-drift-acknowledgements","description":"Enables the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":["migrate_drift_acknowledgements"],"deny":[]}},"allow-push-file-history":{"identifier":"allow-push-file-history","description":"Enables the push_file_history command without any pre-configured scope.","commands":{"allow":["push_file_history"],"deny":[]}},"allow-put-cached-definitions":{"identifier":"allow-put-cached-definitions","description":"Enables the put_cached_definitions command without any pre-configured scope.","commands":{"allow":["put_cached_definitions"],"deny":[]}},"allow-read-claude-md":{"identifier":"allow-read-claude-md","description":"Enables the read_claude_md command without any pre-configured scope.","commands":{"allow":["read_claude_md"],"deny":[]}},"allow-read-env-config":{"identifier":"allow-read-env-config","description":"Enables the read_env_config command without any pre-configured scope.","commands":{"allow":["read_env_config"],"deny":[]}},"allow-read-file-history":{"identifier":"allow-read-file-history","description":"Enables the read_file_history command without any pre-configured scope.","commands":{"allow":["read_file_history"],"deny":[]}},"allow-read-harness-file":{"identifier":"allow-read-harness-file","description":"Enables the read_harness_file command without any pre-configured scope.","commands":{"allow":["read_harness_file"],"deny":[]}},"allow-read-hooks":{"identifier":"allow-read-hooks","description":"Enables the read_hooks command without any pre-configured scope.","commands":{"allow":["read_hooks"],"deny":[]}},"allow-read-live-activity":{"identifier":"allow-read-live-activity","description":"Enables the read_live_activity command without any pre-configured scope.","commands":{"allow":["read_live_activity"],"deny":[]}},"allow-read-permissions":{"identifier":"allow-read-permissions","description":"Enables the read_permissions command without any pre-configured scope.","commands":{"allow":["read_permissions"],"deny":[]}},"allow-read-plugin-file":{"identifier":"allow-read-plugin-file","description":"Enables the read_plugin_file command without any pre-configured scope.","commands":{"allow":["read_plugin_file"],"deny":[]}},"allow-read-plugin-tree":{"identifier":"allow-read-plugin-tree","description":"Enables the read_plugin_tree command without any pre-configured scope.","commands":{"allow":["read_plugin_tree"],"deny":[]}},"allow-read-session-facet":{"identifier":"allow-read-session-facet","description":"Enables the read_session_facet command without any pre-configured scope.","commands":{"allow":["read_session_facet"],"deny":[]}},"allow-read-session-transcript":{"identifier":"allow-read-session-transcript","description":"Enables the read_session_transcript command without any pre-configured scope.","commands":{"allow":["read_session_transcript"],"deny":[]}},"allow-read-stats-cache":{"identifier":"allow-read-stats-cache","description":"Enables the read_stats_cache command without any pre-configured scope.","commands":{"allow":["read_stats_cache"],"deny":[]}},"allow-record-bundle-number":{"identifier":"allow-record-bundle-number","description":"Enables the record_bundle_number command without any pre-configured scope.","commands":{"allow":["record_bundle_number"],"deny":[]}},"allow-record-transaction":{"identifier":"allow-record-transaction","description":"Enables the record_transaction command without any pre-configured scope.","commands":{"allow":["record_transaction"],"deny":[]}},"allow-remove-worktrees":{"identifier":"allow-remove-worktrees","description":"Enables the remove_worktrees command without any pre-configured scope.","commands":{"allow":["remove_worktrees"],"deny":[]}},"allow-reveal-evaluation-session":{"identifier":"allow-reveal-evaluation-session","description":"Enables the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":["reveal_evaluation_session"],"deny":[]}},"allow-save-comparison":{"identifier":"allow-save-comparison","description":"Enables the save_comparison command without any pre-configured scope.","commands":{"allow":["save_comparison"],"deny":[]}},"allow-save-custom-profile":{"identifier":"allow-save-custom-profile","description":"Enables the save_custom_profile command without any pre-configured scope.","commands":{"allow":["save_custom_profile"],"deny":[]}},"allow-save-evaluation":{"identifier":"allow-save-evaluation","description":"Enables the save_evaluation command without any pre-configured scope.","commands":{"allow":["save_evaluation"],"deny":[]}},"allow-save-file-diffs":{"identifier":"allow-save-file-diffs","description":"Enables the save_file_diffs command without any pre-configured scope.","commands":{"allow":["save_file_diffs"],"deny":[]}},"allow-save-pairwise-vote":{"identifier":"allow-save-pairwise-vote","description":"Enables the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":["save_pairwise_vote"],"deny":[]}},"allow-save-panel":{"identifier":"allow-save-panel","description":"Enables the save_panel command without any pre-configured scope.","commands":{"allow":["save_panel"],"deny":[]}},"allow-set-keychain-secret":{"identifier":"allow-set-keychain-secret","description":"Enables the set_keychain_secret command without any pre-configured scope.","commands":{"allow":["set_keychain_secret"],"deny":[]}},"allow-submit-feedback":{"identifier":"allow-submit-feedback","description":"Enables the submit_feedback command without any pre-configured scope.","commands":{"allow":["submit_feedback"],"deny":[]}},"allow-sync-create-backup":{"identifier":"allow-sync-create-backup","description":"Enables the sync_create_backup command without any pre-configured scope.","commands":{"allow":["sync_create_backup"],"deny":[]}},"allow-sync-file-exists":{"identifier":"allow-sync-file-exists","description":"Enables the sync_file_exists command without any pre-configured scope.","commands":{"allow":["sync_file_exists"],"deny":[]}},"allow-sync-list-backups":{"identifier":"allow-sync-list-backups","description":"Enables the sync_list_backups command without any pre-configured scope.","commands":{"allow":["sync_list_backups"],"deny":[]}},"allow-sync-read-dir":{"identifier":"allow-sync-read-dir","description":"Enables the sync_read_dir command without any pre-configured scope.","commands":{"allow":["sync_read_dir"],"deny":[]}},"allow-sync-read-file":{"identifier":"allow-sync-read-file","description":"Enables the sync_read_file command without any pre-configured scope.","commands":{"allow":["sync_read_file"],"deny":[]}},"allow-sync-restore-backup":{"identifier":"allow-sync-restore-backup","description":"Enables the sync_restore_backup command without any pre-configured scope.","commands":{"allow":["sync_restore_backup"],"deny":[]}},"allow-sync-write-files":{"identifier":"allow-sync-write-files","description":"Enables the sync_write_files command without any pre-configured scope.","commands":{"allow":["sync_write_files"],"deny":[]}},"allow-tag-comparison-task-type":{"identifier":"allow-tag-comparison-task-type","description":"Enables the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":["tag_comparison_task_type"],"deny":[]}},"allow-trigger-rebuild":{"identifier":"allow-trigger-rebuild","description":"Enables the trigger_rebuild command without any pre-configured scope.","commands":{"allow":["trigger_rebuild"],"deny":[]}},"allow-unacknowledge-drift":{"identifier":"allow-unacknowledge-drift","description":"Enables the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift"],"deny":[]}},"allow-unacknowledge-drift-item":{"identifier":"allow-unacknowledge-drift-item","description":"Enables the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":["unacknowledge_drift_item"],"deny":[]}},"allow-undo-change":{"identifier":"allow-undo-change","description":"Enables the undo_change command without any pre-configured scope.","commands":{"allow":["undo_change"],"deny":[]}},"allow-uninstall-plugin":{"identifier":"allow-uninstall-plugin","description":"Enables the uninstall_plugin command without any pre-configured scope.","commands":{"allow":["uninstall_plugin"],"deny":[]}},"allow-update-comparison-status":{"identifier":"allow-update-comparison-status","description":"Enables the update_comparison_status command without any pre-configured scope.","commands":{"allow":["update_comparison_status"],"deny":[]}},"allow-update-comparison-title":{"identifier":"allow-update-comparison-title","description":"Enables the update_comparison_title command without any pre-configured scope.","commands":{"allow":["update_comparison_title"],"deny":[]}},"allow-update-evaluation-score":{"identifier":"allow-update-evaluation-score","description":"Enables the update_evaluation_score command without any pre-configured scope.","commands":{"allow":["update_evaluation_score"],"deny":[]}},"allow-update-panel-result":{"identifier":"allow-update-panel-result","description":"Enables the update_panel_result command without any pre-configured scope.","commands":{"allow":["update_panel_result"],"deny":[]}},"allow-update-permissions":{"identifier":"allow-update-permissions","description":"Enables the update_permissions command without any pre-configured scope.","commands":{"allow":["update_permissions"],"deny":[]}},"allow-verify-definitions-signature":{"identifier":"allow-verify-definitions-signature","description":"Enables the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":["verify_definitions_signature"],"deny":[]}},"allow-write-config-file":{"identifier":"allow-write-config-file","description":"Enables the write_config_file command without any pre-configured scope.","commands":{"allow":["write_config_file"],"deny":[]}},"allow-write-env-config":{"identifier":"allow-write-env-config","description":"Enables the write_env_config command without any pre-configured scope.","commands":{"allow":["write_env_config"],"deny":[]}},"allow-write-harness-file":{"identifier":"allow-write-harness-file","description":"Enables the write_harness_file command without any pre-configured scope.","commands":{"allow":["write_harness_file"],"deny":[]}},"allow-write-plugin-file":{"identifier":"allow-write-plugin-file","description":"Enables the write_plugin_file command without any pre-configured scope.","commands":{"allow":["write_plugin_file"],"deny":[]}},"deny-acknowledge-drift":{"identifier":"deny-acknowledge-drift","description":"Denies the acknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift"]}},"deny-acknowledge-drift-item":{"identifier":"deny-acknowledge-drift-item","description":"Denies the acknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["acknowledge_drift_item"]}},"deny-apply-security-preset":{"identifier":"deny-apply-security-preset","description":"Denies the apply_security_preset command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_security_preset"]}},"deny-apply-surface-transaction":{"identifier":"deny-apply-surface-transaction","description":"Denies the apply_surface_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["apply_surface_transaction"]}},"deny-check-for-updates":{"identifier":"deny-check-for-updates","description":"Denies the check_for_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_for_updates"]}},"deny-check-git-repo":{"identifier":"deny-check-git-repo","description":"Denies the check_git_repo command without any pre-configured scope.","commands":{"allow":[],"deny":["check_git_repo"]}},"deny-check-plugin-updates":{"identifier":"deny-check-plugin-updates","description":"Denies the check_plugin_updates command without any pre-configured scope.","commands":{"allow":[],"deny":["check_plugin_updates"]}},"deny-choose-project-dir":{"identifier":"deny-choose-project-dir","description":"Denies the choose_project_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["choose_project_dir"]}},"deny-clear-audit-entries":{"identifier":"deny-clear-audit-entries","description":"Denies the clear_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_audit_entries"]}},"deny-compute-live-stats":{"identifier":"deny-compute-live-stats","description":"Denies the compute_live_stats command without any pre-configured scope.","commands":{"allow":[],"deny":["compute_live_stats"]}},"deny-create-evaluation-session":{"identifier":"deny-create-evaluation-session","description":"Denies the create_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["create_evaluation_session"]}},"deny-create-worktrees":{"identifier":"deny-create-worktrees","description":"Denies the create_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["create_worktrees"]}},"deny-delete-comparison":{"identifier":"deny-delete-comparison","description":"Denies the delete_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_comparison"]}},"deny-delete-custom-profile":{"identifier":"deny-delete-custom-profile","description":"Denies the delete_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_custom_profile"]}},"deny-delete-keychain-secret":{"identifier":"deny-delete-keychain-secret","description":"Denies the delete_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_keychain_secret"]}},"deny-delete-pairwise-vote":{"identifier":"deny-delete-pairwise-vote","description":"Denies the delete_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_pairwise_vote"]}},"deny-detect-claude-account":{"identifier":"deny-detect-claude-account","description":"Denies the detect_claude_account command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_claude_account"]}},"deny-detect-harnesses":{"identifier":"deny-detect-harnesses","description":"Denies the detect_harnesses command without any pre-configured scope.","commands":{"allow":[],"deny":["detect_harnesses"]}},"deny-export-comparison-json":{"identifier":"deny-export-comparison-json","description":"Denies the export_comparison_json command without any pre-configured scope.","commands":{"allow":[],"deny":["export_comparison_json"]}},"deny-export-plugin-as-zip":{"identifier":"deny-export-plugin-as-zip","description":"Denies the export_plugin_as_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_as_zip"]}},"deny-export-plugin-to-folder":{"identifier":"deny-export-plugin-to-folder","description":"Denies the export_plugin_to_folder command without any pre-configured scope.","commands":{"allow":[],"deny":["export_plugin_to_folder"]}},"deny-get-acknowledged-drift-items":{"identifier":"deny-get-acknowledged-drift-items","description":"Denies the get_acknowledged_drift_items command without any pre-configured scope.","commands":{"allow":[],"deny":["get_acknowledged_drift_items"]}},"deny-get-cached-definitions":{"identifier":"deny-get-cached-definitions","description":"Denies the get_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["get_cached_definitions"]}},"deny-get-comparator-analytics":{"identifier":"deny-get-comparator-analytics","description":"Denies the get_comparator_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparator_analytics"]}},"deny-get-comparison":{"identifier":"deny-get-comparison","description":"Denies the get_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison"]}},"deny-get-comparison-diffs":{"identifier":"deny-get-comparison-diffs","description":"Denies the get_comparison_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_comparison_diffs"]}},"deny-get-custom-profile":{"identifier":"deny-get-custom-profile","description":"Denies the get_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["get_custom_profile"]}},"deny-get-diff-against-commit":{"identifier":"deny-get-diff-against-commit","description":"Denies the get_diff_against_commit command without any pre-configured scope.","commands":{"allow":[],"deny":["get_diff_against_commit"]}},"deny-get-evaluation-session":{"identifier":"deny-get-evaluation-session","description":"Denies the get_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluation_session"]}},"deny-get-evaluations":{"identifier":"deny-get-evaluations","description":"Denies the get_evaluations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_evaluations"]}},"deny-get-harness-recommendations":{"identifier":"deny-get-harness-recommendations","description":"Denies the get_harness_recommendations command without any pre-configured scope.","commands":{"allow":[],"deny":["get_harness_recommendations"]}},"deny-get-highest-bundle-number":{"identifier":"deny-get-highest-bundle-number","description":"Denies the get_highest_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["get_highest_bundle_number"]}},"deny-get-history-size":{"identifier":"deny-get-history-size","description":"Denies the get_history_size command without any pre-configured scope.","commands":{"allow":[],"deny":["get_history_size"]}},"deny-get-pairwise-analytics":{"identifier":"deny-get-pairwise-analytics","description":"Denies the get_pairwise_analytics command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_analytics"]}},"deny-get-pairwise-votes":{"identifier":"deny-get-pairwise-votes","description":"Denies the get_pairwise_votes command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pairwise_votes"]}},"deny-get-panel-diffs":{"identifier":"deny-get-panel-diffs","description":"Denies the get_panel_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["get_panel_diffs"]}},"deny-get-system-info":{"identifier":"deny-get-system-info","description":"Denies the get_system_info command without any pre-configured scope.","commands":{"allow":[],"deny":["get_system_info"]}},"deny-grant-project-scope":{"identifier":"deny-grant-project-scope","description":"Denies the grant_project_scope command without any pre-configured scope.","commands":{"allow":[],"deny":["grant_project_scope"]}},"deny-guarded-remove-file":{"identifier":"deny-guarded-remove-file","description":"Denies the guarded_remove_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_remove_file"]}},"deny-guarded-rename-file":{"identifier":"deny-guarded-rename-file","description":"Denies the guarded_rename_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_rename_file"]}},"deny-guarded-write-file":{"identifier":"deny-guarded-write-file","description":"Denies the guarded_write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["guarded_write_file"]}},"deny-import-plugin-from-path":{"identifier":"deny-import-plugin-from-path","description":"Denies the import_plugin_from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_path"]}},"deny-import-plugin-from-zip":{"identifier":"deny-import-plugin-from-zip","description":"Denies the import_plugin_from_zip command without any pre-configured scope.","commands":{"allow":[],"deny":["import_plugin_from_zip"]}},"deny-list-active-sessions":{"identifier":"deny-list-active-sessions","description":"Denies the list_active_sessions command without any pre-configured scope.","commands":{"allow":[],"deny":["list_active_sessions"]}},"deny-list-audit-entries":{"identifier":"deny-list-audit-entries","description":"Denies the list_audit_entries command without any pre-configured scope.","commands":{"allow":[],"deny":["list_audit_entries"]}},"deny-list-changes":{"identifier":"deny-list-changes","description":"Denies the list_changes command without any pre-configured scope.","commands":{"allow":[],"deny":["list_changes"]}},"deny-list-claude-dir":{"identifier":"deny-list-claude-dir","description":"Denies the list_claude_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["list_claude_dir"]}},"deny-list-comparisons":{"identifier":"deny-list-comparisons","description":"Denies the list_comparisons command without any pre-configured scope.","commands":{"allow":[],"deny":["list_comparisons"]}},"deny-list-custom-profiles":{"identifier":"deny-list-custom-profiles","description":"Denies the list_custom_profiles command without any pre-configured scope.","commands":{"allow":[],"deny":["list_custom_profiles"]}},"deny-list-drift-acknowledgements":{"identifier":"deny-list-drift-acknowledgements","description":"Denies the list_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["list_drift_acknowledgements"]}},"deny-list-installed-plugins":{"identifier":"deny-list-installed-plugins","description":"Denies the list_installed_plugins command without any pre-configured scope.","commands":{"allow":[],"deny":["list_installed_plugins"]}},"deny-list-marketplaces":{"identifier":"deny-list-marketplaces","description":"Denies the list_marketplaces command without any pre-configured scope.","commands":{"allow":[],"deny":["list_marketplaces"]}},"deny-list-required-env":{"identifier":"deny-list-required-env","description":"Denies the list_required_env command without any pre-configured scope.","commands":{"allow":[],"deny":["list_required_env"]}},"deny-list-security-presets":{"identifier":"deny-list-security-presets","description":"Denies the list_security_presets command without any pre-configured scope.","commands":{"allow":[],"deny":["list_security_presets"]}},"deny-list-sessions-summary":{"identifier":"deny-list-sessions-summary","description":"Denies the list_sessions_summary command without any pre-configured scope.","commands":{"allow":[],"deny":["list_sessions_summary"]}},"deny-migrate-drift-acknowledgements":{"identifier":"deny-migrate-drift-acknowledgements","description":"Denies the migrate_drift_acknowledgements command without any pre-configured scope.","commands":{"allow":[],"deny":["migrate_drift_acknowledgements"]}},"deny-push-file-history":{"identifier":"deny-push-file-history","description":"Denies the push_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["push_file_history"]}},"deny-put-cached-definitions":{"identifier":"deny-put-cached-definitions","description":"Denies the put_cached_definitions command without any pre-configured scope.","commands":{"allow":[],"deny":["put_cached_definitions"]}},"deny-read-claude-md":{"identifier":"deny-read-claude-md","description":"Denies the read_claude_md command without any pre-configured scope.","commands":{"allow":[],"deny":["read_claude_md"]}},"deny-read-env-config":{"identifier":"deny-read-env-config","description":"Denies the read_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["read_env_config"]}},"deny-read-file-history":{"identifier":"deny-read-file-history","description":"Denies the read_file_history command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file_history"]}},"deny-read-harness-file":{"identifier":"deny-read-harness-file","description":"Denies the read_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_harness_file"]}},"deny-read-hooks":{"identifier":"deny-read-hooks","description":"Denies the read_hooks command without any pre-configured scope.","commands":{"allow":[],"deny":["read_hooks"]}},"deny-read-live-activity":{"identifier":"deny-read-live-activity","description":"Denies the read_live_activity command without any pre-configured scope.","commands":{"allow":[],"deny":["read_live_activity"]}},"deny-read-permissions":{"identifier":"deny-read-permissions","description":"Denies the read_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["read_permissions"]}},"deny-read-plugin-file":{"identifier":"deny-read-plugin-file","description":"Denies the read_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_file"]}},"deny-read-plugin-tree":{"identifier":"deny-read-plugin-tree","description":"Denies the read_plugin_tree command without any pre-configured scope.","commands":{"allow":[],"deny":["read_plugin_tree"]}},"deny-read-session-facet":{"identifier":"deny-read-session-facet","description":"Denies the read_session_facet command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_facet"]}},"deny-read-session-transcript":{"identifier":"deny-read-session-transcript","description":"Denies the read_session_transcript command without any pre-configured scope.","commands":{"allow":[],"deny":["read_session_transcript"]}},"deny-read-stats-cache":{"identifier":"deny-read-stats-cache","description":"Denies the read_stats_cache command without any pre-configured scope.","commands":{"allow":[],"deny":["read_stats_cache"]}},"deny-record-bundle-number":{"identifier":"deny-record-bundle-number","description":"Denies the record_bundle_number command without any pre-configured scope.","commands":{"allow":[],"deny":["record_bundle_number"]}},"deny-record-transaction":{"identifier":"deny-record-transaction","description":"Denies the record_transaction command without any pre-configured scope.","commands":{"allow":[],"deny":["record_transaction"]}},"deny-remove-worktrees":{"identifier":"deny-remove-worktrees","description":"Denies the remove_worktrees command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_worktrees"]}},"deny-reveal-evaluation-session":{"identifier":"deny-reveal-evaluation-session","description":"Denies the reveal_evaluation_session command without any pre-configured scope.","commands":{"allow":[],"deny":["reveal_evaluation_session"]}},"deny-save-comparison":{"identifier":"deny-save-comparison","description":"Denies the save_comparison command without any pre-configured scope.","commands":{"allow":[],"deny":["save_comparison"]}},"deny-save-custom-profile":{"identifier":"deny-save-custom-profile","description":"Denies the save_custom_profile command without any pre-configured scope.","commands":{"allow":[],"deny":["save_custom_profile"]}},"deny-save-evaluation":{"identifier":"deny-save-evaluation","description":"Denies the save_evaluation command without any pre-configured scope.","commands":{"allow":[],"deny":["save_evaluation"]}},"deny-save-file-diffs":{"identifier":"deny-save-file-diffs","description":"Denies the save_file_diffs command without any pre-configured scope.","commands":{"allow":[],"deny":["save_file_diffs"]}},"deny-save-pairwise-vote":{"identifier":"deny-save-pairwise-vote","description":"Denies the save_pairwise_vote command without any pre-configured scope.","commands":{"allow":[],"deny":["save_pairwise_vote"]}},"deny-save-panel":{"identifier":"deny-save-panel","description":"Denies the save_panel command without any pre-configured scope.","commands":{"allow":[],"deny":["save_panel"]}},"deny-set-keychain-secret":{"identifier":"deny-set-keychain-secret","description":"Denies the set_keychain_secret command without any pre-configured scope.","commands":{"allow":[],"deny":["set_keychain_secret"]}},"deny-submit-feedback":{"identifier":"deny-submit-feedback","description":"Denies the submit_feedback command without any pre-configured scope.","commands":{"allow":[],"deny":["submit_feedback"]}},"deny-sync-create-backup":{"identifier":"deny-sync-create-backup","description":"Denies the sync_create_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_create_backup"]}},"deny-sync-file-exists":{"identifier":"deny-sync-file-exists","description":"Denies the sync_file_exists command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_file_exists"]}},"deny-sync-list-backups":{"identifier":"deny-sync-list-backups","description":"Denies the sync_list_backups command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_list_backups"]}},"deny-sync-read-dir":{"identifier":"deny-sync-read-dir","description":"Denies the sync_read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_dir"]}},"deny-sync-read-file":{"identifier":"deny-sync-read-file","description":"Denies the sync_read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_read_file"]}},"deny-sync-restore-backup":{"identifier":"deny-sync-restore-backup","description":"Denies the sync_restore_backup command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_restore_backup"]}},"deny-sync-write-files":{"identifier":"deny-sync-write-files","description":"Denies the sync_write_files command without any pre-configured scope.","commands":{"allow":[],"deny":["sync_write_files"]}},"deny-tag-comparison-task-type":{"identifier":"deny-tag-comparison-task-type","description":"Denies the tag_comparison_task_type command without any pre-configured scope.","commands":{"allow":[],"deny":["tag_comparison_task_type"]}},"deny-trigger-rebuild":{"identifier":"deny-trigger-rebuild","description":"Denies the trigger_rebuild command without any pre-configured scope.","commands":{"allow":[],"deny":["trigger_rebuild"]}},"deny-unacknowledge-drift":{"identifier":"deny-unacknowledge-drift","description":"Denies the unacknowledge_drift command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift"]}},"deny-unacknowledge-drift-item":{"identifier":"deny-unacknowledge-drift-item","description":"Denies the unacknowledge_drift_item command without any pre-configured scope.","commands":{"allow":[],"deny":["unacknowledge_drift_item"]}},"deny-undo-change":{"identifier":"deny-undo-change","description":"Denies the undo_change command without any pre-configured scope.","commands":{"allow":[],"deny":["undo_change"]}},"deny-uninstall-plugin":{"identifier":"deny-uninstall-plugin","description":"Denies the uninstall_plugin command without any pre-configured scope.","commands":{"allow":[],"deny":["uninstall_plugin"]}},"deny-update-comparison-status":{"identifier":"deny-update-comparison-status","description":"Denies the update_comparison_status command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_status"]}},"deny-update-comparison-title":{"identifier":"deny-update-comparison-title","description":"Denies the update_comparison_title command without any pre-configured scope.","commands":{"allow":[],"deny":["update_comparison_title"]}},"deny-update-evaluation-score":{"identifier":"deny-update-evaluation-score","description":"Denies the update_evaluation_score command without any pre-configured scope.","commands":{"allow":[],"deny":["update_evaluation_score"]}},"deny-update-panel-result":{"identifier":"deny-update-panel-result","description":"Denies the update_panel_result command without any pre-configured scope.","commands":{"allow":[],"deny":["update_panel_result"]}},"deny-update-permissions":{"identifier":"deny-update-permissions","description":"Denies the update_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["update_permissions"]}},"deny-verify-definitions-signature":{"identifier":"deny-verify-definitions-signature","description":"Denies the verify_definitions_signature command without any pre-configured scope.","commands":{"allow":[],"deny":["verify_definitions_signature"]}},"deny-write-config-file":{"identifier":"deny-write-config-file","description":"Denies the write_config_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_config_file"]}},"deny-write-env-config":{"identifier":"deny-write-env-config","description":"Denies the write_env_config command without any pre-configured scope.","commands":{"allow":[],"deny":["write_env_config"]}},"deny-write-harness-file":{"identifier":"deny-write-harness-file","description":"Denies the write_harness_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_harness_file"]}},"deny-write-plugin-file":{"identifier":"deny-write-plugin-file","description":"Denies the write_plugin_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_plugin_file"]}}},"permission_sets":{},"global_scope_schema":null},"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":{"identifier":"default","description":"This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n","permissions":["allow-message","allow-save","allow-open"]},"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"fs":{"default_permission":{"identifier":"default","description":"This set of permissions describes the what kind of\nfile system access the `fs` plugin has enabled or denied by default.\n\n#### Granted Permissions\n\nThis default permission set enables read access to the\napplication specific directories (AppConfig, AppData, AppLocalData, AppCache,\nAppLog) and all files and sub directories created in it.\nThe location of these directories depends on the operating system,\nwhere the application is run.\n\nIn general these directories need to be manually created\nby the application at runtime, before accessing files or folders\nin it is possible.\n\nTherefore, it is also allowed to create all of these folders via\nthe `mkdir` command.\n\n#### Denied Permissions\n\nThis default permission set prevents access to critical components\nof the Tauri application by default.\n\n- On Windows the access to webview data folder `$APPLOCALDATA/EBWebView` is denied.\n- On Linux the access to webview data paths inside `$APPLOCALDATA` are denied.\n","permissions":["create-app-specific-dirs","read-app-specific-dirs-recursive","deny-default"]},"permissions":{"allow-copy-file":{"identifier":"allow-copy-file","description":"Enables the copy_file command without any pre-configured scope.","commands":{"allow":["copy_file"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-exists":{"identifier":"allow-exists","description":"Enables the exists command without any pre-configured scope.","commands":{"allow":["exists"],"deny":[]}},"allow-fstat":{"identifier":"allow-fstat","description":"Enables the fstat command without any pre-configured scope.","commands":{"allow":["fstat"],"deny":[]}},"allow-ftruncate":{"identifier":"allow-ftruncate","description":"Enables the ftruncate command without any pre-configured scope.","commands":{"allow":["ftruncate"],"deny":[]}},"allow-lstat":{"identifier":"allow-lstat","description":"Enables the lstat command without any pre-configured scope.","commands":{"allow":["lstat"],"deny":[]}},"allow-mkdir":{"identifier":"allow-mkdir","description":"Enables the mkdir command without any pre-configured scope.","commands":{"allow":["mkdir"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-read":{"identifier":"allow-read","description":"Enables the read command without any pre-configured scope.","commands":{"allow":["read"],"deny":[]}},"allow-read-dir":{"identifier":"allow-read-dir","description":"Enables the read_dir command without any pre-configured scope.","commands":{"allow":["read_dir"],"deny":[]}},"allow-read-file":{"identifier":"allow-read-file","description":"Enables the read_file command without any pre-configured scope.","commands":{"allow":["read_file"],"deny":[]}},"allow-read-text-file":{"identifier":"allow-read-text-file","description":"Enables the read_text_file command without any pre-configured scope.","commands":{"allow":["read_text_file"],"deny":[]}},"allow-read-text-file-lines":{"identifier":"allow-read-text-file-lines","description":"Enables the read_text_file_lines command without any pre-configured scope.","commands":{"allow":["read_text_file_lines","read_text_file_lines_next"],"deny":[]}},"allow-read-text-file-lines-next":{"identifier":"allow-read-text-file-lines-next","description":"Enables the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":["read_text_file_lines_next"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-rename":{"identifier":"allow-rename","description":"Enables the rename command without any pre-configured scope.","commands":{"allow":["rename"],"deny":[]}},"allow-seek":{"identifier":"allow-seek","description":"Enables the seek command without any pre-configured scope.","commands":{"allow":["seek"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"allow-start-accessing-security-scoped-resource":{"identifier":"allow-start-accessing-security-scoped-resource","description":"Enables the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["start_accessing_security_scoped_resource"],"deny":[]}},"allow-stat":{"identifier":"allow-stat","description":"Enables the stat command without any pre-configured scope.","commands":{"allow":["stat"],"deny":[]}},"allow-stop-accessing-security-scoped-resource":{"identifier":"allow-stop-accessing-security-scoped-resource","description":"Enables the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":["stop_accessing_security_scoped_resource"],"deny":[]}},"allow-truncate":{"identifier":"allow-truncate","description":"Enables the truncate command without any pre-configured scope.","commands":{"allow":["truncate"],"deny":[]}},"allow-unwatch":{"identifier":"allow-unwatch","description":"Enables the unwatch command without any pre-configured scope.","commands":{"allow":["unwatch"],"deny":[]}},"allow-watch":{"identifier":"allow-watch","description":"Enables the watch command without any pre-configured scope.","commands":{"allow":["watch"],"deny":[]}},"allow-write":{"identifier":"allow-write","description":"Enables the write command without any pre-configured scope.","commands":{"allow":["write"],"deny":[]}},"allow-write-file":{"identifier":"allow-write-file","description":"Enables the write_file command without any pre-configured scope.","commands":{"allow":["write_file","open","write"],"deny":[]}},"allow-write-text-file":{"identifier":"allow-write-text-file","description":"Enables the write_text_file command without any pre-configured scope.","commands":{"allow":["write_text_file"],"deny":[]}},"deny-copy-file":{"identifier":"deny-copy-file","description":"Denies the copy_file command without any pre-configured scope.","commands":{"allow":[],"deny":["copy_file"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-exists":{"identifier":"deny-exists","description":"Denies the exists command without any pre-configured scope.","commands":{"allow":[],"deny":["exists"]}},"deny-fstat":{"identifier":"deny-fstat","description":"Denies the fstat command without any pre-configured scope.","commands":{"allow":[],"deny":["fstat"]}},"deny-ftruncate":{"identifier":"deny-ftruncate","description":"Denies the ftruncate command without any pre-configured scope.","commands":{"allow":[],"deny":["ftruncate"]}},"deny-lstat":{"identifier":"deny-lstat","description":"Denies the lstat command without any pre-configured scope.","commands":{"allow":[],"deny":["lstat"]}},"deny-mkdir":{"identifier":"deny-mkdir","description":"Denies the mkdir command without any pre-configured scope.","commands":{"allow":[],"deny":["mkdir"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-read":{"identifier":"deny-read","description":"Denies the read command without any pre-configured scope.","commands":{"allow":[],"deny":["read"]}},"deny-read-dir":{"identifier":"deny-read-dir","description":"Denies the read_dir command without any pre-configured scope.","commands":{"allow":[],"deny":["read_dir"]}},"deny-read-file":{"identifier":"deny-read-file","description":"Denies the read_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_file"]}},"deny-read-text-file":{"identifier":"deny-read-text-file","description":"Denies the read_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file"]}},"deny-read-text-file-lines":{"identifier":"deny-read-text-file-lines","description":"Denies the read_text_file_lines command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines"]}},"deny-read-text-file-lines-next":{"identifier":"deny-read-text-file-lines-next","description":"Denies the read_text_file_lines_next command without any pre-configured scope.","commands":{"allow":[],"deny":["read_text_file_lines_next"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-rename":{"identifier":"deny-rename","description":"Denies the rename command without any pre-configured scope.","commands":{"allow":[],"deny":["rename"]}},"deny-seek":{"identifier":"deny-seek","description":"Denies the seek command without any pre-configured scope.","commands":{"allow":[],"deny":["seek"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}},"deny-start-accessing-security-scoped-resource":{"identifier":"deny-start-accessing-security-scoped-resource","description":"Denies the start_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["start_accessing_security_scoped_resource"]}},"deny-stat":{"identifier":"deny-stat","description":"Denies the stat command without any pre-configured scope.","commands":{"allow":[],"deny":["stat"]}},"deny-stop-accessing-security-scoped-resource":{"identifier":"deny-stop-accessing-security-scoped-resource","description":"Denies the stop_accessing_security_scoped_resource command without any pre-configured scope.","commands":{"allow":[],"deny":["stop_accessing_security_scoped_resource"]}},"deny-truncate":{"identifier":"deny-truncate","description":"Denies the truncate command without any pre-configured scope.","commands":{"allow":[],"deny":["truncate"]}},"deny-unwatch":{"identifier":"deny-unwatch","description":"Denies the unwatch command without any pre-configured scope.","commands":{"allow":[],"deny":["unwatch"]}},"deny-watch":{"identifier":"deny-watch","description":"Denies the watch command without any pre-configured scope.","commands":{"allow":[],"deny":["watch"]}},"deny-webview-data-linux":{"identifier":"deny-webview-data-linux","description":"This denies access to the following paths\n\n- `$APPLOCALDATA/CacheStorage/**`\n- `$APPLOCALDATA/cookies`\n- `$APPLOCALDATA/hsts-storage.sqlite`\n- `$APPLOCALDATA/serviceworkers/**`\n- `$APPLOCALDATA/WebKitCache/**`\n- `$APPLOCALDATA/databases/**`\n- `$APPLOCALDATA/localstorage/**`\n- `$APPLOCALDATA/mediakeys/**`\n- `$APPLOCALDATA/storage/**`\n\non linux as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/CacheStorage/**"},{"path":"$APPLOCALDATA/cookies"},{"path":"$APPLOCALDATA/hsts-storage.sqlite"},{"path":"$APPLOCALDATA/serviceworkers/**"},{"path":"$APPLOCALDATA/WebKitCache/**"},{"path":"$APPLOCALDATA/databases/**"},{"path":"$APPLOCALDATA/localstorage/**"},{"path":"$APPLOCALDATA/mediakeys/**"},{"path":"$APPLOCALDATA/storage/**"}]},"platforms":["linux"]},"deny-webview-data-windows":{"identifier":"deny-webview-data-windows","description":"This denies access to the\n`$APPLOCALDATA/EBWebView` folder on windows as the webview data and configuration values are stored here.\nAllowing access can lead to sensitive information disclosure and should be well considered.","commands":{"allow":[],"deny":[]},"scope":{"deny":[{"path":"$APPLOCALDATA/EBWebView/**"}]},"platforms":["windows"]},"deny-write":{"identifier":"deny-write","description":"Denies the write command without any pre-configured scope.","commands":{"allow":[],"deny":["write"]}},"deny-write-file":{"identifier":"deny-write-file","description":"Denies the write_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_file"]}},"deny-write-text-file":{"identifier":"deny-write-text-file","description":"Denies the write_text_file command without any pre-configured scope.","commands":{"allow":[],"deny":["write_text_file"]}},"read-all":{"identifier":"read-all","description":"This enables all read related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists","watch","unwatch"],"deny":[]}},"read-dirs":{"identifier":"read-dirs","description":"This enables directory read and file metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists"],"deny":[]}},"read-files":{"identifier":"read-files","description":"This enables file read related commands without any pre-configured accessible paths.","commands":{"allow":["read_file","read","open","read_text_file","read_text_file_lines","read_text_file_lines_next","seek","stat","lstat","fstat","exists"],"deny":[]}},"read-meta":{"identifier":"read-meta","description":"This enables all index or metadata related commands without any pre-configured accessible paths.","commands":{"allow":["read_dir","stat","lstat","fstat","exists","size"],"deny":[]}},"scope":{"identifier":"scope","description":"An empty permission you can use to modify the global scope.\n\n## Example\n\n```json\n{\n \"identifier\": \"read-documents\",\n \"windows\": [\"main\"],\n \"permissions\": [\n \"fs:allow-read\",\n {\n \"identifier\": \"fs:scope\",\n \"allow\": [\n \"$APPDATA/documents/**/*\"\n ],\n \"deny\": [\n \"$APPDATA/documents/secret.txt\"\n ]\n }\n ]\n}\n```\n","commands":{"allow":[],"deny":[]}},"scope-app":{"identifier":"scope-app","description":"This scope permits access to all files and list content of top level directories in the application folders.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"},{"path":"$APPDATA"},{"path":"$APPDATA/*"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"},{"path":"$APPCACHE"},{"path":"$APPCACHE/*"},{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-app-index":{"identifier":"scope-app-index","description":"This scope permits to list all files and folders in the application directories.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPDATA"},{"path":"$APPLOCALDATA"},{"path":"$APPCACHE"},{"path":"$APPLOG"}]}},"scope-app-recursive":{"identifier":"scope-app-recursive","description":"This scope permits recursive access to the complete application folders, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"},{"path":"$APPDATA"},{"path":"$APPDATA/**"},{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"},{"path":"$APPCACHE"},{"path":"$APPCACHE/**"},{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-appcache":{"identifier":"scope-appcache","description":"This scope permits access to all files and list content of top level directories in the `$APPCACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/*"}]}},"scope-appcache-index":{"identifier":"scope-appcache-index","description":"This scope permits to list all files and folders in the `$APPCACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"}]}},"scope-appcache-recursive":{"identifier":"scope-appcache-recursive","description":"This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCACHE"},{"path":"$APPCACHE/**"}]}},"scope-appconfig":{"identifier":"scope-appconfig","description":"This scope permits access to all files and list content of top level directories in the `$APPCONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/*"}]}},"scope-appconfig-index":{"identifier":"scope-appconfig-index","description":"This scope permits to list all files and folders in the `$APPCONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"}]}},"scope-appconfig-recursive":{"identifier":"scope-appconfig-recursive","description":"This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPCONFIG"},{"path":"$APPCONFIG/**"}]}},"scope-appdata":{"identifier":"scope-appdata","description":"This scope permits access to all files and list content of top level directories in the `$APPDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/*"}]}},"scope-appdata-index":{"identifier":"scope-appdata-index","description":"This scope permits to list all files and folders in the `$APPDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"}]}},"scope-appdata-recursive":{"identifier":"scope-appdata-recursive","description":"This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]}},"scope-applocaldata":{"identifier":"scope-applocaldata","description":"This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/*"}]}},"scope-applocaldata-index":{"identifier":"scope-applocaldata-index","description":"This scope permits to list all files and folders in the `$APPLOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"}]}},"scope-applocaldata-recursive":{"identifier":"scope-applocaldata-recursive","description":"This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]}},"scope-applog":{"identifier":"scope-applog","description":"This scope permits access to all files and list content of top level directories in the `$APPLOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/*"}]}},"scope-applog-index":{"identifier":"scope-applog-index","description":"This scope permits to list all files and folders in the `$APPLOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"}]}},"scope-applog-recursive":{"identifier":"scope-applog-recursive","description":"This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$APPLOG"},{"path":"$APPLOG/**"}]}},"scope-audio":{"identifier":"scope-audio","description":"This scope permits access to all files and list content of top level directories in the `$AUDIO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/*"}]}},"scope-audio-index":{"identifier":"scope-audio-index","description":"This scope permits to list all files and folders in the `$AUDIO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"}]}},"scope-audio-recursive":{"identifier":"scope-audio-recursive","description":"This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$AUDIO"},{"path":"$AUDIO/**"}]}},"scope-cache":{"identifier":"scope-cache","description":"This scope permits access to all files and list content of top level directories in the `$CACHE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/*"}]}},"scope-cache-index":{"identifier":"scope-cache-index","description":"This scope permits to list all files and folders in the `$CACHE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"}]}},"scope-cache-recursive":{"identifier":"scope-cache-recursive","description":"This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CACHE"},{"path":"$CACHE/**"}]}},"scope-config":{"identifier":"scope-config","description":"This scope permits access to all files and list content of top level directories in the `$CONFIG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/*"}]}},"scope-config-index":{"identifier":"scope-config-index","description":"This scope permits to list all files and folders in the `$CONFIG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"}]}},"scope-config-recursive":{"identifier":"scope-config-recursive","description":"This scope permits recursive access to the complete `$CONFIG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$CONFIG"},{"path":"$CONFIG/**"}]}},"scope-data":{"identifier":"scope-data","description":"This scope permits access to all files and list content of top level directories in the `$DATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/*"}]}},"scope-data-index":{"identifier":"scope-data-index","description":"This scope permits to list all files and folders in the `$DATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"}]}},"scope-data-recursive":{"identifier":"scope-data-recursive","description":"This scope permits recursive access to the complete `$DATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DATA"},{"path":"$DATA/**"}]}},"scope-desktop":{"identifier":"scope-desktop","description":"This scope permits access to all files and list content of top level directories in the `$DESKTOP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/*"}]}},"scope-desktop-index":{"identifier":"scope-desktop-index","description":"This scope permits to list all files and folders in the `$DESKTOP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"}]}},"scope-desktop-recursive":{"identifier":"scope-desktop-recursive","description":"This scope permits recursive access to the complete `$DESKTOP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DESKTOP"},{"path":"$DESKTOP/**"}]}},"scope-document":{"identifier":"scope-document","description":"This scope permits access to all files and list content of top level directories in the `$DOCUMENT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/*"}]}},"scope-document-index":{"identifier":"scope-document-index","description":"This scope permits to list all files and folders in the `$DOCUMENT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"}]}},"scope-document-recursive":{"identifier":"scope-document-recursive","description":"This scope permits recursive access to the complete `$DOCUMENT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOCUMENT"},{"path":"$DOCUMENT/**"}]}},"scope-download":{"identifier":"scope-download","description":"This scope permits access to all files and list content of top level directories in the `$DOWNLOAD` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/*"}]}},"scope-download-index":{"identifier":"scope-download-index","description":"This scope permits to list all files and folders in the `$DOWNLOAD`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"}]}},"scope-download-recursive":{"identifier":"scope-download-recursive","description":"This scope permits recursive access to the complete `$DOWNLOAD` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$DOWNLOAD"},{"path":"$DOWNLOAD/**"}]}},"scope-exe":{"identifier":"scope-exe","description":"This scope permits access to all files and list content of top level directories in the `$EXE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/*"}]}},"scope-exe-index":{"identifier":"scope-exe-index","description":"This scope permits to list all files and folders in the `$EXE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"}]}},"scope-exe-recursive":{"identifier":"scope-exe-recursive","description":"This scope permits recursive access to the complete `$EXE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$EXE"},{"path":"$EXE/**"}]}},"scope-font":{"identifier":"scope-font","description":"This scope permits access to all files and list content of top level directories in the `$FONT` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/*"}]}},"scope-font-index":{"identifier":"scope-font-index","description":"This scope permits to list all files and folders in the `$FONT`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"}]}},"scope-font-recursive":{"identifier":"scope-font-recursive","description":"This scope permits recursive access to the complete `$FONT` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$FONT"},{"path":"$FONT/**"}]}},"scope-home":{"identifier":"scope-home","description":"This scope permits access to all files and list content of top level directories in the `$HOME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/*"}]}},"scope-home-index":{"identifier":"scope-home-index","description":"This scope permits to list all files and folders in the `$HOME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"}]}},"scope-home-recursive":{"identifier":"scope-home-recursive","description":"This scope permits recursive access to the complete `$HOME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$HOME"},{"path":"$HOME/**"}]}},"scope-localdata":{"identifier":"scope-localdata","description":"This scope permits access to all files and list content of top level directories in the `$LOCALDATA` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/*"}]}},"scope-localdata-index":{"identifier":"scope-localdata-index","description":"This scope permits to list all files and folders in the `$LOCALDATA`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"}]}},"scope-localdata-recursive":{"identifier":"scope-localdata-recursive","description":"This scope permits recursive access to the complete `$LOCALDATA` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOCALDATA"},{"path":"$LOCALDATA/**"}]}},"scope-log":{"identifier":"scope-log","description":"This scope permits access to all files and list content of top level directories in the `$LOG` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/*"}]}},"scope-log-index":{"identifier":"scope-log-index","description":"This scope permits to list all files and folders in the `$LOG`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"}]}},"scope-log-recursive":{"identifier":"scope-log-recursive","description":"This scope permits recursive access to the complete `$LOG` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$LOG"},{"path":"$LOG/**"}]}},"scope-picture":{"identifier":"scope-picture","description":"This scope permits access to all files and list content of top level directories in the `$PICTURE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/*"}]}},"scope-picture-index":{"identifier":"scope-picture-index","description":"This scope permits to list all files and folders in the `$PICTURE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"}]}},"scope-picture-recursive":{"identifier":"scope-picture-recursive","description":"This scope permits recursive access to the complete `$PICTURE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PICTURE"},{"path":"$PICTURE/**"}]}},"scope-public":{"identifier":"scope-public","description":"This scope permits access to all files and list content of top level directories in the `$PUBLIC` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/*"}]}},"scope-public-index":{"identifier":"scope-public-index","description":"This scope permits to list all files and folders in the `$PUBLIC`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"}]}},"scope-public-recursive":{"identifier":"scope-public-recursive","description":"This scope permits recursive access to the complete `$PUBLIC` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$PUBLIC"},{"path":"$PUBLIC/**"}]}},"scope-resource":{"identifier":"scope-resource","description":"This scope permits access to all files and list content of top level directories in the `$RESOURCE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/*"}]}},"scope-resource-index":{"identifier":"scope-resource-index","description":"This scope permits to list all files and folders in the `$RESOURCE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"}]}},"scope-resource-recursive":{"identifier":"scope-resource-recursive","description":"This scope permits recursive access to the complete `$RESOURCE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RESOURCE"},{"path":"$RESOURCE/**"}]}},"scope-runtime":{"identifier":"scope-runtime","description":"This scope permits access to all files and list content of top level directories in the `$RUNTIME` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/*"}]}},"scope-runtime-index":{"identifier":"scope-runtime-index","description":"This scope permits to list all files and folders in the `$RUNTIME`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"}]}},"scope-runtime-recursive":{"identifier":"scope-runtime-recursive","description":"This scope permits recursive access to the complete `$RUNTIME` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$RUNTIME"},{"path":"$RUNTIME/**"}]}},"scope-temp":{"identifier":"scope-temp","description":"This scope permits access to all files and list content of top level directories in the `$TEMP` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/*"}]}},"scope-temp-index":{"identifier":"scope-temp-index","description":"This scope permits to list all files and folders in the `$TEMP`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"}]}},"scope-temp-recursive":{"identifier":"scope-temp-recursive","description":"This scope permits recursive access to the complete `$TEMP` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMP"},{"path":"$TEMP/**"}]}},"scope-template":{"identifier":"scope-template","description":"This scope permits access to all files and list content of top level directories in the `$TEMPLATE` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/*"}]}},"scope-template-index":{"identifier":"scope-template-index","description":"This scope permits to list all files and folders in the `$TEMPLATE`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"}]}},"scope-template-recursive":{"identifier":"scope-template-recursive","description":"This scope permits recursive access to the complete `$TEMPLATE` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$TEMPLATE"},{"path":"$TEMPLATE/**"}]}},"scope-video":{"identifier":"scope-video","description":"This scope permits access to all files and list content of top level directories in the `$VIDEO` folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/*"}]}},"scope-video-index":{"identifier":"scope-video-index","description":"This scope permits to list all files and folders in the `$VIDEO`folder.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"}]}},"scope-video-recursive":{"identifier":"scope-video-recursive","description":"This scope permits recursive access to the complete `$VIDEO` folder, including sub directories and files.","commands":{"allow":[],"deny":[]},"scope":{"allow":[{"path":"$VIDEO"},{"path":"$VIDEO/**"}]}}},"permission_sets":{"allow-app-meta":{"identifier":"allow-app-meta","description":"This allows non-recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-index"]},"allow-app-meta-recursive":{"identifier":"allow-app-meta-recursive","description":"This allows full recursive read access to metadata of the application folders, including file listing and statistics.","permissions":["read-meta","scope-app-recursive"]},"allow-app-read":{"identifier":"allow-app-read","description":"This allows non-recursive read access to the application folders.","permissions":["read-all","scope-app"]},"allow-app-read-recursive":{"identifier":"allow-app-read-recursive","description":"This allows full recursive read access to the complete application folders, files and subdirectories.","permissions":["read-all","scope-app-recursive"]},"allow-app-write":{"identifier":"allow-app-write","description":"This allows non-recursive write access to the application folders.","permissions":["write-all","scope-app"]},"allow-app-write-recursive":{"identifier":"allow-app-write-recursive","description":"This allows full recursive write access to the complete application folders, files and subdirectories.","permissions":["write-all","scope-app-recursive"]},"allow-appcache-meta":{"identifier":"allow-appcache-meta","description":"This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-index"]},"allow-appcache-meta-recursive":{"identifier":"allow-appcache-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-appcache-recursive"]},"allow-appcache-read":{"identifier":"allow-appcache-read","description":"This allows non-recursive read access to the `$APPCACHE` folder.","permissions":["read-all","scope-appcache"]},"allow-appcache-read-recursive":{"identifier":"allow-appcache-read-recursive","description":"This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["read-all","scope-appcache-recursive"]},"allow-appcache-write":{"identifier":"allow-appcache-write","description":"This allows non-recursive write access to the `$APPCACHE` folder.","permissions":["write-all","scope-appcache"]},"allow-appcache-write-recursive":{"identifier":"allow-appcache-write-recursive","description":"This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories.","permissions":["write-all","scope-appcache-recursive"]},"allow-appconfig-meta":{"identifier":"allow-appconfig-meta","description":"This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-index"]},"allow-appconfig-meta-recursive":{"identifier":"allow-appconfig-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-appconfig-recursive"]},"allow-appconfig-read":{"identifier":"allow-appconfig-read","description":"This allows non-recursive read access to the `$APPCONFIG` folder.","permissions":["read-all","scope-appconfig"]},"allow-appconfig-read-recursive":{"identifier":"allow-appconfig-read-recursive","description":"This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["read-all","scope-appconfig-recursive"]},"allow-appconfig-write":{"identifier":"allow-appconfig-write","description":"This allows non-recursive write access to the `$APPCONFIG` folder.","permissions":["write-all","scope-appconfig"]},"allow-appconfig-write-recursive":{"identifier":"allow-appconfig-write-recursive","description":"This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories.","permissions":["write-all","scope-appconfig-recursive"]},"allow-appdata-meta":{"identifier":"allow-appdata-meta","description":"This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-index"]},"allow-appdata-meta-recursive":{"identifier":"allow-appdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-appdata-recursive"]},"allow-appdata-read":{"identifier":"allow-appdata-read","description":"This allows non-recursive read access to the `$APPDATA` folder.","permissions":["read-all","scope-appdata"]},"allow-appdata-read-recursive":{"identifier":"allow-appdata-read-recursive","description":"This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["read-all","scope-appdata-recursive"]},"allow-appdata-write":{"identifier":"allow-appdata-write","description":"This allows non-recursive write access to the `$APPDATA` folder.","permissions":["write-all","scope-appdata"]},"allow-appdata-write-recursive":{"identifier":"allow-appdata-write-recursive","description":"This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories.","permissions":["write-all","scope-appdata-recursive"]},"allow-applocaldata-meta":{"identifier":"allow-applocaldata-meta","description":"This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-index"]},"allow-applocaldata-meta-recursive":{"identifier":"allow-applocaldata-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-applocaldata-recursive"]},"allow-applocaldata-read":{"identifier":"allow-applocaldata-read","description":"This allows non-recursive read access to the `$APPLOCALDATA` folder.","permissions":["read-all","scope-applocaldata"]},"allow-applocaldata-read-recursive":{"identifier":"allow-applocaldata-read-recursive","description":"This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-applocaldata-recursive"]},"allow-applocaldata-write":{"identifier":"allow-applocaldata-write","description":"This allows non-recursive write access to the `$APPLOCALDATA` folder.","permissions":["write-all","scope-applocaldata"]},"allow-applocaldata-write-recursive":{"identifier":"allow-applocaldata-write-recursive","description":"This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-applocaldata-recursive"]},"allow-applog-meta":{"identifier":"allow-applog-meta","description":"This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-index"]},"allow-applog-meta-recursive":{"identifier":"allow-applog-meta-recursive","description":"This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics.","permissions":["read-meta","scope-applog-recursive"]},"allow-applog-read":{"identifier":"allow-applog-read","description":"This allows non-recursive read access to the `$APPLOG` folder.","permissions":["read-all","scope-applog"]},"allow-applog-read-recursive":{"identifier":"allow-applog-read-recursive","description":"This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["read-all","scope-applog-recursive"]},"allow-applog-write":{"identifier":"allow-applog-write","description":"This allows non-recursive write access to the `$APPLOG` folder.","permissions":["write-all","scope-applog"]},"allow-applog-write-recursive":{"identifier":"allow-applog-write-recursive","description":"This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories.","permissions":["write-all","scope-applog-recursive"]},"allow-audio-meta":{"identifier":"allow-audio-meta","description":"This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-index"]},"allow-audio-meta-recursive":{"identifier":"allow-audio-meta-recursive","description":"This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics.","permissions":["read-meta","scope-audio-recursive"]},"allow-audio-read":{"identifier":"allow-audio-read","description":"This allows non-recursive read access to the `$AUDIO` folder.","permissions":["read-all","scope-audio"]},"allow-audio-read-recursive":{"identifier":"allow-audio-read-recursive","description":"This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["read-all","scope-audio-recursive"]},"allow-audio-write":{"identifier":"allow-audio-write","description":"This allows non-recursive write access to the `$AUDIO` folder.","permissions":["write-all","scope-audio"]},"allow-audio-write-recursive":{"identifier":"allow-audio-write-recursive","description":"This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories.","permissions":["write-all","scope-audio-recursive"]},"allow-cache-meta":{"identifier":"allow-cache-meta","description":"This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-index"]},"allow-cache-meta-recursive":{"identifier":"allow-cache-meta-recursive","description":"This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics.","permissions":["read-meta","scope-cache-recursive"]},"allow-cache-read":{"identifier":"allow-cache-read","description":"This allows non-recursive read access to the `$CACHE` folder.","permissions":["read-all","scope-cache"]},"allow-cache-read-recursive":{"identifier":"allow-cache-read-recursive","description":"This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories.","permissions":["read-all","scope-cache-recursive"]},"allow-cache-write":{"identifier":"allow-cache-write","description":"This allows non-recursive write access to the `$CACHE` folder.","permissions":["write-all","scope-cache"]},"allow-cache-write-recursive":{"identifier":"allow-cache-write-recursive","description":"This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories.","permissions":["write-all","scope-cache-recursive"]},"allow-config-meta":{"identifier":"allow-config-meta","description":"This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-index"]},"allow-config-meta-recursive":{"identifier":"allow-config-meta-recursive","description":"This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics.","permissions":["read-meta","scope-config-recursive"]},"allow-config-read":{"identifier":"allow-config-read","description":"This allows non-recursive read access to the `$CONFIG` folder.","permissions":["read-all","scope-config"]},"allow-config-read-recursive":{"identifier":"allow-config-read-recursive","description":"This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["read-all","scope-config-recursive"]},"allow-config-write":{"identifier":"allow-config-write","description":"This allows non-recursive write access to the `$CONFIG` folder.","permissions":["write-all","scope-config"]},"allow-config-write-recursive":{"identifier":"allow-config-write-recursive","description":"This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories.","permissions":["write-all","scope-config-recursive"]},"allow-data-meta":{"identifier":"allow-data-meta","description":"This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-index"]},"allow-data-meta-recursive":{"identifier":"allow-data-meta-recursive","description":"This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics.","permissions":["read-meta","scope-data-recursive"]},"allow-data-read":{"identifier":"allow-data-read","description":"This allows non-recursive read access to the `$DATA` folder.","permissions":["read-all","scope-data"]},"allow-data-read-recursive":{"identifier":"allow-data-read-recursive","description":"This allows full recursive read access to the complete `$DATA` folder, files and subdirectories.","permissions":["read-all","scope-data-recursive"]},"allow-data-write":{"identifier":"allow-data-write","description":"This allows non-recursive write access to the `$DATA` folder.","permissions":["write-all","scope-data"]},"allow-data-write-recursive":{"identifier":"allow-data-write-recursive","description":"This allows full recursive write access to the complete `$DATA` folder, files and subdirectories.","permissions":["write-all","scope-data-recursive"]},"allow-desktop-meta":{"identifier":"allow-desktop-meta","description":"This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-index"]},"allow-desktop-meta-recursive":{"identifier":"allow-desktop-meta-recursive","description":"This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics.","permissions":["read-meta","scope-desktop-recursive"]},"allow-desktop-read":{"identifier":"allow-desktop-read","description":"This allows non-recursive read access to the `$DESKTOP` folder.","permissions":["read-all","scope-desktop"]},"allow-desktop-read-recursive":{"identifier":"allow-desktop-read-recursive","description":"This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["read-all","scope-desktop-recursive"]},"allow-desktop-write":{"identifier":"allow-desktop-write","description":"This allows non-recursive write access to the `$DESKTOP` folder.","permissions":["write-all","scope-desktop"]},"allow-desktop-write-recursive":{"identifier":"allow-desktop-write-recursive","description":"This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories.","permissions":["write-all","scope-desktop-recursive"]},"allow-document-meta":{"identifier":"allow-document-meta","description":"This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-index"]},"allow-document-meta-recursive":{"identifier":"allow-document-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics.","permissions":["read-meta","scope-document-recursive"]},"allow-document-read":{"identifier":"allow-document-read","description":"This allows non-recursive read access to the `$DOCUMENT` folder.","permissions":["read-all","scope-document"]},"allow-document-read-recursive":{"identifier":"allow-document-read-recursive","description":"This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["read-all","scope-document-recursive"]},"allow-document-write":{"identifier":"allow-document-write","description":"This allows non-recursive write access to the `$DOCUMENT` folder.","permissions":["write-all","scope-document"]},"allow-document-write-recursive":{"identifier":"allow-document-write-recursive","description":"This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories.","permissions":["write-all","scope-document-recursive"]},"allow-download-meta":{"identifier":"allow-download-meta","description":"This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-index"]},"allow-download-meta-recursive":{"identifier":"allow-download-meta-recursive","description":"This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics.","permissions":["read-meta","scope-download-recursive"]},"allow-download-read":{"identifier":"allow-download-read","description":"This allows non-recursive read access to the `$DOWNLOAD` folder.","permissions":["read-all","scope-download"]},"allow-download-read-recursive":{"identifier":"allow-download-read-recursive","description":"This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["read-all","scope-download-recursive"]},"allow-download-write":{"identifier":"allow-download-write","description":"This allows non-recursive write access to the `$DOWNLOAD` folder.","permissions":["write-all","scope-download"]},"allow-download-write-recursive":{"identifier":"allow-download-write-recursive","description":"This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories.","permissions":["write-all","scope-download-recursive"]},"allow-exe-meta":{"identifier":"allow-exe-meta","description":"This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-index"]},"allow-exe-meta-recursive":{"identifier":"allow-exe-meta-recursive","description":"This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics.","permissions":["read-meta","scope-exe-recursive"]},"allow-exe-read":{"identifier":"allow-exe-read","description":"This allows non-recursive read access to the `$EXE` folder.","permissions":["read-all","scope-exe"]},"allow-exe-read-recursive":{"identifier":"allow-exe-read-recursive","description":"This allows full recursive read access to the complete `$EXE` folder, files and subdirectories.","permissions":["read-all","scope-exe-recursive"]},"allow-exe-write":{"identifier":"allow-exe-write","description":"This allows non-recursive write access to the `$EXE` folder.","permissions":["write-all","scope-exe"]},"allow-exe-write-recursive":{"identifier":"allow-exe-write-recursive","description":"This allows full recursive write access to the complete `$EXE` folder, files and subdirectories.","permissions":["write-all","scope-exe-recursive"]},"allow-font-meta":{"identifier":"allow-font-meta","description":"This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-index"]},"allow-font-meta-recursive":{"identifier":"allow-font-meta-recursive","description":"This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics.","permissions":["read-meta","scope-font-recursive"]},"allow-font-read":{"identifier":"allow-font-read","description":"This allows non-recursive read access to the `$FONT` folder.","permissions":["read-all","scope-font"]},"allow-font-read-recursive":{"identifier":"allow-font-read-recursive","description":"This allows full recursive read access to the complete `$FONT` folder, files and subdirectories.","permissions":["read-all","scope-font-recursive"]},"allow-font-write":{"identifier":"allow-font-write","description":"This allows non-recursive write access to the `$FONT` folder.","permissions":["write-all","scope-font"]},"allow-font-write-recursive":{"identifier":"allow-font-write-recursive","description":"This allows full recursive write access to the complete `$FONT` folder, files and subdirectories.","permissions":["write-all","scope-font-recursive"]},"allow-home-meta":{"identifier":"allow-home-meta","description":"This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-index"]},"allow-home-meta-recursive":{"identifier":"allow-home-meta-recursive","description":"This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics.","permissions":["read-meta","scope-home-recursive"]},"allow-home-read":{"identifier":"allow-home-read","description":"This allows non-recursive read access to the `$HOME` folder.","permissions":["read-all","scope-home"]},"allow-home-read-recursive":{"identifier":"allow-home-read-recursive","description":"This allows full recursive read access to the complete `$HOME` folder, files and subdirectories.","permissions":["read-all","scope-home-recursive"]},"allow-home-write":{"identifier":"allow-home-write","description":"This allows non-recursive write access to the `$HOME` folder.","permissions":["write-all","scope-home"]},"allow-home-write-recursive":{"identifier":"allow-home-write-recursive","description":"This allows full recursive write access to the complete `$HOME` folder, files and subdirectories.","permissions":["write-all","scope-home-recursive"]},"allow-localdata-meta":{"identifier":"allow-localdata-meta","description":"This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-index"]},"allow-localdata-meta-recursive":{"identifier":"allow-localdata-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics.","permissions":["read-meta","scope-localdata-recursive"]},"allow-localdata-read":{"identifier":"allow-localdata-read","description":"This allows non-recursive read access to the `$LOCALDATA` folder.","permissions":["read-all","scope-localdata"]},"allow-localdata-read-recursive":{"identifier":"allow-localdata-read-recursive","description":"This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["read-all","scope-localdata-recursive"]},"allow-localdata-write":{"identifier":"allow-localdata-write","description":"This allows non-recursive write access to the `$LOCALDATA` folder.","permissions":["write-all","scope-localdata"]},"allow-localdata-write-recursive":{"identifier":"allow-localdata-write-recursive","description":"This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories.","permissions":["write-all","scope-localdata-recursive"]},"allow-log-meta":{"identifier":"allow-log-meta","description":"This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-index"]},"allow-log-meta-recursive":{"identifier":"allow-log-meta-recursive","description":"This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics.","permissions":["read-meta","scope-log-recursive"]},"allow-log-read":{"identifier":"allow-log-read","description":"This allows non-recursive read access to the `$LOG` folder.","permissions":["read-all","scope-log"]},"allow-log-read-recursive":{"identifier":"allow-log-read-recursive","description":"This allows full recursive read access to the complete `$LOG` folder, files and subdirectories.","permissions":["read-all","scope-log-recursive"]},"allow-log-write":{"identifier":"allow-log-write","description":"This allows non-recursive write access to the `$LOG` folder.","permissions":["write-all","scope-log"]},"allow-log-write-recursive":{"identifier":"allow-log-write-recursive","description":"This allows full recursive write access to the complete `$LOG` folder, files and subdirectories.","permissions":["write-all","scope-log-recursive"]},"allow-picture-meta":{"identifier":"allow-picture-meta","description":"This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-index"]},"allow-picture-meta-recursive":{"identifier":"allow-picture-meta-recursive","description":"This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics.","permissions":["read-meta","scope-picture-recursive"]},"allow-picture-read":{"identifier":"allow-picture-read","description":"This allows non-recursive read access to the `$PICTURE` folder.","permissions":["read-all","scope-picture"]},"allow-picture-read-recursive":{"identifier":"allow-picture-read-recursive","description":"This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["read-all","scope-picture-recursive"]},"allow-picture-write":{"identifier":"allow-picture-write","description":"This allows non-recursive write access to the `$PICTURE` folder.","permissions":["write-all","scope-picture"]},"allow-picture-write-recursive":{"identifier":"allow-picture-write-recursive","description":"This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories.","permissions":["write-all","scope-picture-recursive"]},"allow-public-meta":{"identifier":"allow-public-meta","description":"This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-index"]},"allow-public-meta-recursive":{"identifier":"allow-public-meta-recursive","description":"This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics.","permissions":["read-meta","scope-public-recursive"]},"allow-public-read":{"identifier":"allow-public-read","description":"This allows non-recursive read access to the `$PUBLIC` folder.","permissions":["read-all","scope-public"]},"allow-public-read-recursive":{"identifier":"allow-public-read-recursive","description":"This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["read-all","scope-public-recursive"]},"allow-public-write":{"identifier":"allow-public-write","description":"This allows non-recursive write access to the `$PUBLIC` folder.","permissions":["write-all","scope-public"]},"allow-public-write-recursive":{"identifier":"allow-public-write-recursive","description":"This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories.","permissions":["write-all","scope-public-recursive"]},"allow-resource-meta":{"identifier":"allow-resource-meta","description":"This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-index"]},"allow-resource-meta-recursive":{"identifier":"allow-resource-meta-recursive","description":"This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics.","permissions":["read-meta","scope-resource-recursive"]},"allow-resource-read":{"identifier":"allow-resource-read","description":"This allows non-recursive read access to the `$RESOURCE` folder.","permissions":["read-all","scope-resource"]},"allow-resource-read-recursive":{"identifier":"allow-resource-read-recursive","description":"This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["read-all","scope-resource-recursive"]},"allow-resource-write":{"identifier":"allow-resource-write","description":"This allows non-recursive write access to the `$RESOURCE` folder.","permissions":["write-all","scope-resource"]},"allow-resource-write-recursive":{"identifier":"allow-resource-write-recursive","description":"This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories.","permissions":["write-all","scope-resource-recursive"]},"allow-runtime-meta":{"identifier":"allow-runtime-meta","description":"This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-index"]},"allow-runtime-meta-recursive":{"identifier":"allow-runtime-meta-recursive","description":"This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics.","permissions":["read-meta","scope-runtime-recursive"]},"allow-runtime-read":{"identifier":"allow-runtime-read","description":"This allows non-recursive read access to the `$RUNTIME` folder.","permissions":["read-all","scope-runtime"]},"allow-runtime-read-recursive":{"identifier":"allow-runtime-read-recursive","description":"This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["read-all","scope-runtime-recursive"]},"allow-runtime-write":{"identifier":"allow-runtime-write","description":"This allows non-recursive write access to the `$RUNTIME` folder.","permissions":["write-all","scope-runtime"]},"allow-runtime-write-recursive":{"identifier":"allow-runtime-write-recursive","description":"This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories.","permissions":["write-all","scope-runtime-recursive"]},"allow-temp-meta":{"identifier":"allow-temp-meta","description":"This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-index"]},"allow-temp-meta-recursive":{"identifier":"allow-temp-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics.","permissions":["read-meta","scope-temp-recursive"]},"allow-temp-read":{"identifier":"allow-temp-read","description":"This allows non-recursive read access to the `$TEMP` folder.","permissions":["read-all","scope-temp"]},"allow-temp-read-recursive":{"identifier":"allow-temp-read-recursive","description":"This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories.","permissions":["read-all","scope-temp-recursive"]},"allow-temp-write":{"identifier":"allow-temp-write","description":"This allows non-recursive write access to the `$TEMP` folder.","permissions":["write-all","scope-temp"]},"allow-temp-write-recursive":{"identifier":"allow-temp-write-recursive","description":"This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories.","permissions":["write-all","scope-temp-recursive"]},"allow-template-meta":{"identifier":"allow-template-meta","description":"This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-index"]},"allow-template-meta-recursive":{"identifier":"allow-template-meta-recursive","description":"This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics.","permissions":["read-meta","scope-template-recursive"]},"allow-template-read":{"identifier":"allow-template-read","description":"This allows non-recursive read access to the `$TEMPLATE` folder.","permissions":["read-all","scope-template"]},"allow-template-read-recursive":{"identifier":"allow-template-read-recursive","description":"This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["read-all","scope-template-recursive"]},"allow-template-write":{"identifier":"allow-template-write","description":"This allows non-recursive write access to the `$TEMPLATE` folder.","permissions":["write-all","scope-template"]},"allow-template-write-recursive":{"identifier":"allow-template-write-recursive","description":"This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories.","permissions":["write-all","scope-template-recursive"]},"allow-video-meta":{"identifier":"allow-video-meta","description":"This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-index"]},"allow-video-meta-recursive":{"identifier":"allow-video-meta-recursive","description":"This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics.","permissions":["read-meta","scope-video-recursive"]},"allow-video-read":{"identifier":"allow-video-read","description":"This allows non-recursive read access to the `$VIDEO` folder.","permissions":["read-all","scope-video"]},"allow-video-read-recursive":{"identifier":"allow-video-read-recursive","description":"This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["read-all","scope-video-recursive"]},"allow-video-write":{"identifier":"allow-video-write","description":"This allows non-recursive write access to the `$VIDEO` folder.","permissions":["write-all","scope-video"]},"allow-video-write-recursive":{"identifier":"allow-video-write-recursive","description":"This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories.","permissions":["write-all","scope-video-recursive"]},"create-app-specific-dirs":{"identifier":"create-app-specific-dirs","description":"This permissions allows to create the application specific directories.\n","permissions":["allow-mkdir","scope-app-index"]},"deny-default":{"identifier":"deny-default","description":"This denies access to dangerous Tauri relevant files and folders by default.","permissions":["deny-webview-data-linux","deny-webview-data-windows"]},"read-app-specific-dirs-recursive":{"identifier":"read-app-specific-dirs-recursive","description":"This permission allows recursive read functionality on the application\nspecific base directories.\n","permissions":["allow-read-dir","allow-read-file","allow-read-text-file","allow-read-text-file-lines","allow-read-text-file-lines-next","allow-exists","scope-app-recursive"]},"write-all":{"identifier":"write-all","description":"This enables all write related commands without any pre-configured accessible paths.","permissions":["allow-mkdir","allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]},"write-files":{"identifier":"write-files","description":"This enables all file write related commands without any pre-configured accessible paths.","permissions":["allow-create","allow-copy-file","allow-remove","allow-rename","allow-truncate","allow-ftruncate","allow-write","allow-write-file","allow-write-text-file"]}},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"description":"A path that can be accessed by the webview when using the fs APIs. FS scope path pattern.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},{"properties":{"path":{"description":"A path that can be accessed by the webview when using the fs APIs.\n\nThe pattern can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"}},"required":["path"],"type":"object"}],"description":"FS scope entry.","title":"FsScopeEntry"}},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"cmd":{"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}},"window-state":{"default_permission":{"identifier":"default","description":"This permission set configures what kind of\noperations are available from the window state plugin.\n\n#### Granted Permissions\n\nAll operations are enabled by default.\n\n","permissions":["allow-filename","allow-restore-state","allow-save-window-state"]},"permissions":{"allow-filename":{"identifier":"allow-filename","description":"Enables the filename command without any pre-configured scope.","commands":{"allow":["filename"],"deny":[]}},"allow-restore-state":{"identifier":"allow-restore-state","description":"Enables the restore_state command without any pre-configured scope.","commands":{"allow":["restore_state"],"deny":[]}},"allow-save-window-state":{"identifier":"allow-save-window-state","description":"Enables the save_window_state command without any pre-configured scope.","commands":{"allow":["save_window_state"],"deny":[]}},"deny-filename":{"identifier":"deny-filename","description":"Denies the filename command without any pre-configured scope.","commands":{"allow":[],"deny":["filename"]}},"deny-restore-state":{"identifier":"deny-restore-state","description":"Denies the restore_state command without any pre-configured scope.","commands":{"allow":[],"deny":["restore_state"]}},"deny-save-window-state":{"identifier":"deny-save-window-state","description":"Denies the save_window_state command without any pre-configured scope.","commands":{"allow":[],"deny":["save_window_state"]}}},"permission_sets":{},"global_scope_schema":null}} \ No newline at end of file diff --git a/apps/desktop/src-tauri/gen/schemas/capabilities.json b/apps/desktop/src-tauri/gen/schemas/capabilities.json index ec3728ae..5b6905e5 100644 --- a/apps/desktop/src-tauri/gen/schemas/capabilities.json +++ b/apps/desktop/src-tauri/gen/schemas/capabilities.json @@ -1 +1 @@ -{"default":{"identifier":"default","description":"Default capability — grants core API, read access to harness config roots under $HOME (the Machine-observation paths .claude.json, the exact Claude Desktop / VS Code User config files the surface registry declares, .copilot and .agents are reachable only by the read, read-dir and exists permissions), mkdir and lstat inside the fs scope, and shell open. No shell execute, spawn, stdin or kill: production code runs processes from Rust only. fs write, rename and remove are not granted to the webview; they go through guarded_write_file, guarded_rename_file and guarded_remove_file, which write and rename only the engine's .harness-tmp- files, and delete only those and its backups (removing a store moves it to ~/.harness/backups/quarantine/ instead)","local":true,"windows":["main"],"permissions":["core:default","core:window:allow-start-dragging","core:event:allow-listen","core:event:allow-emit","fs:allow-read-text-file","fs:allow-read-dir","fs:allow-exists","fs:allow-lstat","fs:allow-mkdir",{"identifier":"fs:scope","allow":[{"path":"$HOME/CLAUDE.md"},{"path":"$HOME/AGENTS.md"},{"path":"$HOME/.mcp.json"},{"path":"$HOME/.claude"},{"path":"$HOME/.claude/**"},{"path":"$HOME/.cursor"},{"path":"$HOME/.cursor/**"},{"path":"$HOME/.github"},{"path":"$HOME/.github/**"},{"path":"$HOME/.vscode"},{"path":"$HOME/.vscode/**"},{"path":"$HOME/.codex"},{"path":"$HOME/.codex/**"},{"path":"$HOME/.opencode"},{"path":"$HOME/.opencode/**"},{"path":"$HOME/.config/opencode"},{"path":"$HOME/.config/opencode/**"},{"path":"$HOME/.windsurf"},{"path":"$HOME/.windsurf/**"},{"path":"$HOME/.gemini"},{"path":"$HOME/.gemini/**"},{"path":"$HOME/.junie"},{"path":"$HOME/.junie/**"},{"path":"$HOME/.pi"},{"path":"$HOME/.pi/**"},{"path":"$HOME/.harness-kit"},{"path":"$HOME/.harness-kit/**"},{"path":"$HOME/.harness/backups"},{"path":"$HOME/.harness/backups/**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-exists","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},"dialog:default","dialog:allow-open","dialog:allow-save","shell:default","shell:allow-open","allow-list-installed-plugins","allow-list-marketplaces","allow-check-plugin-updates","allow-uninstall-plugin","allow-read-plugin-tree","allow-read-plugin-file","allow-write-plugin-file","allow-import-plugin-from-path","allow-import-plugin-from-zip","allow-export-plugin-as-zip","allow-export-plugin-to-folder","allow-read-hooks","allow-read-claude-md","allow-write-config-file","allow-read-harness-file","allow-write-harness-file","allow-list-custom-profiles","allow-get-custom-profile","allow-save-custom-profile","allow-delete-custom-profile","allow-list-claude-dir","allow-detect-claude-account","allow-read-stats-cache","allow-list-sessions-summary","allow-read-session-facet","allow-list-active-sessions","allow-read-live-activity","allow-compute-live-stats","allow-read-session-transcript","allow-check-git-repo","allow-check-for-updates","allow-trigger-rebuild","allow-save-evaluation","allow-get-evaluations","allow-update-evaluation-score","allow-create-evaluation-session","allow-get-evaluation-session","allow-reveal-evaluation-session","allow-save-pairwise-vote","allow-get-pairwise-votes","allow-get-pairwise-analytics","allow-delete-pairwise-vote","allow-export-comparison-json","allow-get-comparator-analytics","allow-save-comparison","allow-update-comparison-title","allow-update-comparison-status","allow-list-comparisons","allow-get-comparison","allow-delete-comparison","allow-tag-comparison-task-type","allow-get-harness-recommendations","allow-save-panel","allow-update-panel-result","allow-save-file-diffs","allow-get-comparison-diffs","allow-get-panel-diffs","allow-read-permissions","allow-update-permissions","allow-list-security-presets","allow-apply-security-preset","allow-list-required-env","allow-set-keychain-secret","allow-delete-keychain-secret","allow-read-env-config","allow-write-env-config","allow-list-audit-entries","allow-clear-audit-entries","allow-read-file-history","allow-push-file-history","allow-get-history-size","allow-sync-read-file","allow-sync-file-exists","allow-sync-read-dir","allow-sync-write-files","allow-verify-definitions-signature","allow-get-cached-definitions","allow-put-cached-definitions","allow-get-highest-bundle-number","allow-record-bundle-number","allow-apply-surface-transaction","allow-record-transaction","allow-migrate-drift-acknowledgements","allow-acknowledge-drift","allow-unacknowledge-drift","allow-list-drift-acknowledgements","allow-sync-create-backup","allow-sync-list-backups","allow-sync-restore-backup","allow-detect-harnesses","allow-grant-project-scope","allow-choose-project-dir","allow-guarded-write-file","allow-guarded-rename-file","allow-guarded-remove-file","allow-acknowledge-drift-item","allow-unacknowledge-drift-item","allow-get-acknowledged-drift-items","allow-get-system-info","allow-submit-feedback"]}} \ No newline at end of file +{"default":{"identifier":"default","description":"Default capability — grants core API, read access to harness config roots under $HOME (the Machine-observation paths .claude.json, the exact Claude Desktop / VS Code User config files the surface registry declares, .copilot and .agents are reachable only by the read, read-dir and exists permissions), mkdir and lstat inside the fs scope, and shell open. No shell execute, spawn, stdin or kill: production code runs processes from Rust only. fs write, rename and remove are not granted to the webview; they go through guarded_write_file, guarded_rename_file and guarded_remove_file, which write and rename only the engine's .harness-tmp- files, and delete only those and its backups (removing a store moves it to ~/.harness/backups/quarantine/ instead)","local":true,"windows":["main"],"permissions":["core:default","core:window:allow-start-dragging","core:event:allow-listen","core:event:allow-emit","fs:allow-read-text-file","fs:allow-read-dir","fs:allow-exists","fs:allow-lstat","fs:allow-mkdir",{"identifier":"fs:scope","allow":[{"path":"$HOME/CLAUDE.md"},{"path":"$HOME/AGENTS.md"},{"path":"$HOME/.mcp.json"},{"path":"$HOME/.claude"},{"path":"$HOME/.claude/**"},{"path":"$HOME/.cursor"},{"path":"$HOME/.cursor/**"},{"path":"$HOME/.github"},{"path":"$HOME/.github/**"},{"path":"$HOME/.vscode"},{"path":"$HOME/.vscode/**"},{"path":"$HOME/.codex"},{"path":"$HOME/.codex/**"},{"path":"$HOME/.opencode"},{"path":"$HOME/.opencode/**"},{"path":"$HOME/.config/opencode"},{"path":"$HOME/.config/opencode/**"},{"path":"$HOME/.windsurf"},{"path":"$HOME/.windsurf/**"},{"path":"$HOME/.gemini"},{"path":"$HOME/.gemini/**"},{"path":"$HOME/.junie"},{"path":"$HOME/.junie/**"},{"path":"$HOME/.pi"},{"path":"$HOME/.pi/**"},{"path":"$HOME/.harness-kit"},{"path":"$HOME/.harness-kit/**"},{"path":"$HOME/.harness/backups"},{"path":"$HOME/.harness/backups/**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},{"identifier":"fs:allow-exists","allow":[{"path":"$HOME/.claude.json"},{"path":"$HOME/Library/Application Support/Claude/claude_desktop_config.json"},{"path":"$HOME/AppData/Roaming/Claude/claude_desktop_config.json"},{"path":"$HOME/Library/Application Support/Code/User/mcp.json"},{"path":"$HOME/.config/Code/User/mcp.json"},{"path":"$HOME/AppData/Roaming/Code/User/mcp.json"},{"path":"$HOME/.copilot"},{"path":"$HOME/.copilot/**"},{"path":"$HOME/.agents"},{"path":"$HOME/.agents/**"}]},"dialog:default","dialog:allow-open","dialog:allow-save","shell:default","shell:allow-open","allow-list-installed-plugins","allow-list-marketplaces","allow-check-plugin-updates","allow-uninstall-plugin","allow-read-plugin-tree","allow-read-plugin-file","allow-write-plugin-file","allow-import-plugin-from-path","allow-import-plugin-from-zip","allow-export-plugin-as-zip","allow-export-plugin-to-folder","allow-read-hooks","allow-read-claude-md","allow-write-config-file","allow-read-harness-file","allow-write-harness-file","allow-list-custom-profiles","allow-get-custom-profile","allow-save-custom-profile","allow-delete-custom-profile","allow-list-claude-dir","allow-detect-claude-account","allow-read-stats-cache","allow-list-sessions-summary","allow-read-session-facet","allow-list-active-sessions","allow-read-live-activity","allow-compute-live-stats","allow-read-session-transcript","allow-check-git-repo","allow-check-for-updates","allow-trigger-rebuild","allow-save-evaluation","allow-get-evaluations","allow-update-evaluation-score","allow-create-evaluation-session","allow-get-evaluation-session","allow-reveal-evaluation-session","allow-save-pairwise-vote","allow-get-pairwise-votes","allow-get-pairwise-analytics","allow-delete-pairwise-vote","allow-export-comparison-json","allow-get-comparator-analytics","allow-save-comparison","allow-update-comparison-title","allow-update-comparison-status","allow-list-comparisons","allow-get-comparison","allow-delete-comparison","allow-tag-comparison-task-type","allow-get-harness-recommendations","allow-save-panel","allow-update-panel-result","allow-save-file-diffs","allow-get-comparison-diffs","allow-get-panel-diffs","allow-read-permissions","allow-update-permissions","allow-list-security-presets","allow-apply-security-preset","allow-list-required-env","allow-set-keychain-secret","allow-delete-keychain-secret","allow-read-env-config","allow-write-env-config","allow-list-audit-entries","allow-clear-audit-entries","allow-read-file-history","allow-push-file-history","allow-get-history-size","allow-sync-read-file","allow-sync-file-exists","allow-sync-read-dir","allow-sync-write-files","allow-verify-definitions-signature","allow-get-cached-definitions","allow-put-cached-definitions","allow-get-highest-bundle-number","allow-record-bundle-number","allow-apply-surface-transaction","allow-record-transaction","allow-list-changes","allow-undo-change","allow-migrate-drift-acknowledgements","allow-acknowledge-drift","allow-unacknowledge-drift","allow-list-drift-acknowledgements","allow-sync-create-backup","allow-sync-list-backups","allow-sync-restore-backup","allow-detect-harnesses","allow-grant-project-scope","allow-choose-project-dir","allow-guarded-write-file","allow-guarded-rename-file","allow-guarded-remove-file","allow-acknowledge-drift-item","allow-unacknowledge-drift-item","allow-get-acknowledged-drift-items","allow-get-system-info","allow-submit-feedback"]}} \ No newline at end of file diff --git a/apps/desktop/src-tauri/gen/schemas/desktop-schema.json b/apps/desktop/src-tauri/gen/schemas/desktop-schema.json index a926a30e..bb49c471 100644 --- a/apps/desktop/src-tauri/gen/schemas/desktop-schema.json +++ b/apps/desktop/src-tauri/gen/schemas/desktop-schema.json @@ -2480,6 +2480,12 @@ "const": "allow-list-audit-entries", "markdownDescription": "Enables the list_audit_entries command without any pre-configured scope." }, + { + "description": "Enables the list_changes command without any pre-configured scope.", + "type": "string", + "const": "allow-list-changes", + "markdownDescription": "Enables the list_changes command without any pre-configured scope." + }, { "description": "Enables the list_claude_dir command without any pre-configured scope.", "type": "string", @@ -2762,6 +2768,12 @@ "const": "allow-unacknowledge-drift-item", "markdownDescription": "Enables the unacknowledge_drift_item command without any pre-configured scope." }, + { + "description": "Enables the undo_change command without any pre-configured scope.", + "type": "string", + "const": "allow-undo-change", + "markdownDescription": "Enables the undo_change command without any pre-configured scope." + }, { "description": "Enables the uninstall_plugin command without any pre-configured scope.", "type": "string", @@ -3098,6 +3110,12 @@ "const": "deny-list-audit-entries", "markdownDescription": "Denies the list_audit_entries command without any pre-configured scope." }, + { + "description": "Denies the list_changes command without any pre-configured scope.", + "type": "string", + "const": "deny-list-changes", + "markdownDescription": "Denies the list_changes command without any pre-configured scope." + }, { "description": "Denies the list_claude_dir command without any pre-configured scope.", "type": "string", @@ -3380,6 +3398,12 @@ "const": "deny-unacknowledge-drift-item", "markdownDescription": "Denies the unacknowledge_drift_item command without any pre-configured scope." }, + { + "description": "Denies the undo_change command without any pre-configured scope.", + "type": "string", + "const": "deny-undo-change", + "markdownDescription": "Denies the undo_change command without any pre-configured scope." + }, { "description": "Denies the uninstall_plugin command without any pre-configured scope.", "type": "string", diff --git a/apps/desktop/src-tauri/gen/schemas/macOS-schema.json b/apps/desktop/src-tauri/gen/schemas/macOS-schema.json index a926a30e..bb49c471 100644 --- a/apps/desktop/src-tauri/gen/schemas/macOS-schema.json +++ b/apps/desktop/src-tauri/gen/schemas/macOS-schema.json @@ -2480,6 +2480,12 @@ "const": "allow-list-audit-entries", "markdownDescription": "Enables the list_audit_entries command without any pre-configured scope." }, + { + "description": "Enables the list_changes command without any pre-configured scope.", + "type": "string", + "const": "allow-list-changes", + "markdownDescription": "Enables the list_changes command without any pre-configured scope." + }, { "description": "Enables the list_claude_dir command without any pre-configured scope.", "type": "string", @@ -2762,6 +2768,12 @@ "const": "allow-unacknowledge-drift-item", "markdownDescription": "Enables the unacknowledge_drift_item command without any pre-configured scope." }, + { + "description": "Enables the undo_change command without any pre-configured scope.", + "type": "string", + "const": "allow-undo-change", + "markdownDescription": "Enables the undo_change command without any pre-configured scope." + }, { "description": "Enables the uninstall_plugin command without any pre-configured scope.", "type": "string", @@ -3098,6 +3110,12 @@ "const": "deny-list-audit-entries", "markdownDescription": "Denies the list_audit_entries command without any pre-configured scope." }, + { + "description": "Denies the list_changes command without any pre-configured scope.", + "type": "string", + "const": "deny-list-changes", + "markdownDescription": "Denies the list_changes command without any pre-configured scope." + }, { "description": "Denies the list_claude_dir command without any pre-configured scope.", "type": "string", @@ -3380,6 +3398,12 @@ "const": "deny-unacknowledge-drift-item", "markdownDescription": "Denies the unacknowledge_drift_item command without any pre-configured scope." }, + { + "description": "Denies the undo_change command without any pre-configured scope.", + "type": "string", + "const": "deny-undo-change", + "markdownDescription": "Denies the undo_change command without any pre-configured scope." + }, { "description": "Denies the uninstall_plugin command without any pre-configured scope.", "type": "string", diff --git a/apps/desktop/src-tauri/permissions/autogenerated/list_changes.toml b/apps/desktop/src-tauri/permissions/autogenerated/list_changes.toml new file mode 100644 index 00000000..103b7931 --- /dev/null +++ b/apps/desktop/src-tauri/permissions/autogenerated/list_changes.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-list-changes" +description = "Enables the list_changes command without any pre-configured scope." +commands.allow = ["list_changes"] + +[[permission]] +identifier = "deny-list-changes" +description = "Denies the list_changes command without any pre-configured scope." +commands.deny = ["list_changes"] diff --git a/apps/desktop/src-tauri/permissions/autogenerated/undo_change.toml b/apps/desktop/src-tauri/permissions/autogenerated/undo_change.toml new file mode 100644 index 00000000..5ab36cd4 --- /dev/null +++ b/apps/desktop/src-tauri/permissions/autogenerated/undo_change.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-undo-change" +description = "Enables the undo_change command without any pre-configured scope." +commands.allow = ["undo_change"] + +[[permission]] +identifier = "deny-undo-change" +description = "Denies the undo_change command without any pre-configured scope." +commands.deny = ["undo_change"] diff --git a/apps/desktop/src-tauri/src/commands/changes.rs b/apps/desktop/src-tauri/src/commands/changes.rs new file mode 100644 index 00000000..3395134d --- /dev/null +++ b/apps/desktop/src-tauri/src/commands/changes.rs @@ -0,0 +1,768 @@ +//! The "Changes" list in Settings › Activity: what the app changed on this +//! machine, newest first, with Undo for each change that can still be undone. +//! +//! The ledger (`transactions` in harness.db) is an index; the rollback data is +//! the manifest the transaction engine wrote at `~/.harness/backups// +//! transaction.json`, which holds every file's content before and after. +//! +//! The webview is not trusted, so both commands take as little from it as +//! possible. `list_changes` takes a row limit. `undo_change` takes a +//! transaction id and nothing else: the paths, the contents and the +//! preconditions all come from the ledger row and the manifest it names, and +//! every one is checked here before any file is touched: +//! +//! - the row's manifest must sit at `.harness/backups//transaction.json` +//! under the real home directory, with no symlink on the way and a size cap; +//! - the manifest must be committed (not already undone, not half-applied); +//! - every file must be home-rooted and a config store the surface registry +//! declares (`is_declared_store`), the same allowlist `apply_surface_ +//! transaction` enforces, and never anything under `.harness/`; +//! - every file must still hold exactly what the change left there. A file +//! edited since is refused with the write command's own "changed on disk" +//! message, and because the writes go through `apply_surface_transaction_in` +//! all preconditions are checked before the first file is written. +//! +//! A forged ledger row or manifest therefore buys an attacker nothing the +//! webview could not already do with `apply_surface_transaction`: the same +//! allowlist applies, plus a digest that must match what is on disk. + +use super::harness_state::{list_transactions_at, state_path, TransactionRecord}; +use super::surface_write::{ + apply_surface_transaction_in, is_declared_store, precondition_digest, SurfaceFileWrite, + ABSENT_SENTINEL, +}; +use crate::db::Db; +use serde::{Deserialize, Serialize}; +use std::path::Path; +use tauri::State; + +const DEFAULT_LIMIT: i64 = 50; +const MAX_LIMIT: i64 = 200; +const MAX_MANIFEST_BYTES: u64 = 8 * 1024 * 1024; +const MAX_FILES_PER_CHANGE: usize = 256; +const MAX_ID_BYTES: usize = 4096; + +const PROJECT_CHANGE: &str = + "This change was made in a project folder. Undo it from that project."; + +/// One row of the Changes list. +#[derive(Debug, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct ChangeEntry { + pub transaction_id: String, + pub applied_at: String, + pub surfaces: Vec, + pub kinds: Vec, + pub identity_keys: Vec, + /// Home-relative paths the change touched. + pub files: Vec, + /// The surface a Machine copy came from, when this change was one. + pub copied_from: Option, + /// `applied`, `undone`, or `unavailable` (the manifest cannot be read). + pub status: String, + pub undoable: bool, + /// Why `undoable` is false, in words for the user. + pub reason: Option, +} + +#[derive(Debug, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct UndoOutcome { + pub transaction_id: String, + /// Home-relative paths put back. + pub files: Vec, + /// Set when the files were restored but the change could not be marked as + /// undone, so the list may still offer Undo for it. + pub warning: Option, +} + +/// An audit entry's text, built in Rust from structured fields. +#[derive(Debug)] +pub(crate) struct AuditDraft { + pub summary: String, + pub details: String, +} + +#[derive(Deserialize)] +struct Manifest { + version: u8, + status: String, + #[serde(default)] + changes: Vec, +} + +#[derive(Deserialize)] +struct ManifestChange { + #[serde(default)] + root: Option, + path: String, + before: Option, + after: Option, +} + +#[tauri::command] +pub fn list_changes(limit: Option) -> Result, String> { + let home = dirs::home_dir().ok_or("Could not resolve home directory")?; + list_changes_at(&state_path()?, &home, limit) +} + +#[tauri::command] +pub fn undo_change(db: State<'_, Db>, transaction_id: String) -> Result { + let home = dirs::home_dir().ok_or("Could not resolve home directory")?; + let (outcome, audit) = undo_change_at(&state_path()?, &home, &transaction_id)?; + super::security::log_audit( + &db, + "change_undone", + "changes", + &audit.summary, + Some(&audit.details), + "user", + ); + Ok(outcome) +} + +/// Path-taking core of [`list_changes`]. A missing database is an empty list, +/// not a reason to create one: this is a read. +pub(crate) fn list_changes_at( + db_path: &Path, + home: &Path, + limit: Option, +) -> Result, String> { + if !db_path.exists() { + return Ok(Vec::new()); + } + let limit = limit.unwrap_or(DEFAULT_LIMIT).clamp(0, MAX_LIMIT); + let records = list_transactions_at(db_path, Some(limit))?; + Ok(records + .into_iter() + .map(|record| entry_for(home, record)) + .collect()) +} + +fn entry_for(home: &Path, record: TransactionRecord) -> ChangeEntry { + let (status, undoable, reason, files) = match read_manifest(home, &record) { + Ok((manifest, _)) => { + let files = manifest.changes.iter().map(|c| c.path.clone()).collect(); + match undo_plan(&manifest) { + Ok(_) => ("applied", true, None, files), + Err(why) if manifest.status == "rolled-back" => ("undone", false, Some(why), files), + Err(why) => ("applied", false, Some(why), files), + } + } + Err(why) => ("unavailable", false, Some(why), Vec::new()), + }; + ChangeEntry { + transaction_id: record.transaction_id, + applied_at: record.applied_at, + surfaces: record.surfaces, + kinds: record.kinds, + identity_keys: record.identity_keys, + files, + copied_from: record.copied_from, + status: status.to_string(), + undoable, + reason, + } +} + +/// The manifest a ledger row points at, with the bytes it was read from. +fn read_manifest(home: &Path, record: &TransactionRecord) -> Result<(Manifest, Vec), String> { + let relative = manifest_relative(home, record)?; + let canonical_home = home + .canonicalize() + .map_err(|e| format!("Could not resolve the home directory: {}", e))?; + // No symlink at any component, the file itself included: the manifest is + // read as the source of what to write, so a planted link must not choose it. + let mut walked = canonical_home; + for segment in relative.split('/') { + walked = walked.join(segment); + match std::fs::symlink_metadata(&walked) { + Ok(meta) if meta.file_type().is_symlink() => { + return Err("The record for this change is not a regular file.".to_string()); + } + Ok(_) => {} + Err(_) => return Err("The backup for this change is no longer on disk.".to_string()), + } + } + let meta = std::fs::metadata(&walked) + .map_err(|_| "The backup for this change is no longer on disk.".to_string())?; + if !meta.is_file() || meta.len() > MAX_MANIFEST_BYTES { + return Err("The record for this change is not a regular file of a sane size.".to_string()); + } + let bytes = std::fs::read(&walked) + .map_err(|e| format!("Could not read the backup for this change: {}", e))?; + let manifest: Manifest = serde_json::from_slice(&bytes) + .map_err(|_| "The backup for this change could not be read.".to_string())?; + Ok((manifest, bytes)) +} + +/// The home-relative manifest path, after checking the row's claim about it. +fn manifest_relative(home: &Path, record: &TransactionRecord) -> Result { + let canonical_home = home + .canonicalize() + .map_err(|e| format!("Could not resolve the home directory: {}", e))?; + let root = Path::new(&record.manifest_root) + .canonicalize() + .map_err(|_| PROJECT_CHANGE.to_string())?; + if root != canonical_home { + return Err(PROJECT_CHANGE.to_string()); + } + let relative = record.manifest_path.replace('\\', "/"); + let parts: Vec<&str> = relative.split('/').collect(); + let shaped = parts.len() == 4 + && parts[0] == ".harness" + && parts[1] == "backups" + && parts[3] == "transaction.json"; + if !shaped || !is_declared_store(&relative) { + return Err("The record for this change points outside the app's backup folder.".to_string()); + } + Ok(relative) +} + +/// The writes that put every file back, or why this change cannot be undone. +/// Each write carries the digest of what the change left on disk, so a file +/// edited since refuses the whole undo. +fn undo_plan(manifest: &Manifest) -> Result, String> { + match manifest.status.as_str() { + "committed" => {} + "rolled-back" => return Err("Already undone.".to_string()), + _ => return Err("This change did not finish, so there is nothing to undo.".to_string()), + } + if manifest.version != 1 && manifest.version != 2 { + return Err("This change was made by a newer version of the app.".to_string()); + } + if manifest.changes.is_empty() { + return Err("This change touched no files.".to_string()); + } + if manifest.changes.len() > MAX_FILES_PER_CHANGE { + return Err("This change touched too many files to undo here.".to_string()); + } + let mut writes = Vec::with_capacity(manifest.changes.len()); + for change in &manifest.changes { + // A v1 manifest has no root: every file in it was project-rooted. + if change.root.as_deref() != Some("home") { + return Err(PROJECT_CHANGE.to_string()); + } + let path = change.path.replace('\\', "/"); + if path.starts_with(".harness/") || !is_declared_store(&path) { + return Err(format!( + "{} is not a config store the app manages, so it will not be touched.", + change.path + )); + } + writes.push(SurfaceFileWrite { + relative_path: path, + content: change.before.clone(), + expected_sha256: Some(match &change.after { + Some(after) => precondition_digest(after.as_bytes()), + None => ABSENT_SENTINEL.to_string(), + }), + }); + } + Ok(writes) +} + +/// Path-taking core of [`undo_change`]. +pub(crate) fn undo_change_at( + db_path: &Path, + home: &Path, + transaction_id: &str, +) -> Result<(UndoOutcome, AuditDraft), String> { + if transaction_id.trim().is_empty() || transaction_id.len() > MAX_ID_BYTES { + return Err("No recorded change has that id.".to_string()); + } + if !db_path.exists() { + return Err("No recorded change has that id.".to_string()); + } + let record = list_transactions_at(db_path, None)? + .into_iter() + .find(|record| record.transaction_id == transaction_id) + .ok_or_else(|| "No recorded change has that id.".to_string())?; + + let (manifest, bytes) = read_manifest(home, &record)?; + let writes = undo_plan(&manifest)?; + let files: Vec = writes.iter().map(|w| w.relative_path.clone()).collect(); + apply_surface_transaction_in(home, writes)?; + + // Mark the manifest so the list stops offering Undo. The digest is of the + // bytes read above: a manifest rewritten in between is left alone. + let warning = mark_undone(home, &record, &bytes).err().map(|why| { + format!("The files were restored, but the change could not be marked as undone: {}", why) + }); + + let audit = undo_audit_entry(&record, &files); + Ok(( + UndoOutcome { transaction_id: record.transaction_id, files, warning }, + audit, + )) +} + +fn mark_undone(home: &Path, record: &TransactionRecord, bytes: &[u8]) -> Result<(), String> { + let relative = manifest_relative(home, record)?; + let mut document: serde_json::Value = + serde_json::from_slice(bytes).map_err(|e| e.to_string())?; + document["status"] = serde_json::Value::String("rolled-back".to_string()); + let text = format!( + "{}\n", + serde_json::to_string_pretty(&document).map_err(|e| e.to_string())? + ); + apply_surface_transaction_in( + home, + vec![SurfaceFileWrite { + relative_path: relative, + content: Some(text), + expected_sha256: Some(precondition_digest(bytes)), + }], + ) + .map(|_| ()) +} + +// ── Audit text ───────────────────────────────────────────────── +// +// Built here from structured fields. The webview supplies ids (surface, +// kind, name) that are length-checked and stripped of control characters; +// it never supplies a sentence. + +const MAX_AUDIT_TOKEN: usize = 120; + +fn clean(text: &str) -> String { + text.chars() + .filter(|c| !c.is_control()) + .take(MAX_AUDIT_TOKEN) + .collect() +} + +fn is_surface_id(text: &str) -> bool { + !text.is_empty() + && text.len() <= 64 + && text + .chars() + .all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_' || c == '.') +} + +/// What a change was about, for a sentence: `mcp-server github`, or a count. +fn describe(record: &TransactionRecord) -> String { + let names: Vec = record + .identity_keys + .iter() + .map(|key| clean(&key.replacen(':', " ", 1))) + .collect(); + match names.len() { + 0 => "a resource".to_string(), + 1..=3 => names.join(", "), + n => format!("{}, and {} more", names[..3].join(", "), n - 3), + } +} + +fn targets(record: &TransactionRecord) -> String { + let surfaces: Vec = record.surfaces.iter().map(|s| clean(s)).collect(); + surfaces.join(", ") +} + +/// The audit entry for a Machine copy, or `None` when the record is not one. +/// A record that names a source but is not shaped like a copy is an error, so +/// the log never says something the app did not do. +pub(crate) fn copy_audit_entry(record: &TransactionRecord) -> Result, String> { + let Some(from) = &record.copied_from else { + return Ok(None); + }; + if !is_surface_id(from) { + return Err("copiedFrom must be a surface id".to_string()); + } + if record.surfaces.is_empty() { + return Err("a copy must name the surface it went to".to_string()); + } + let to = targets(record); + Ok(Some(AuditDraft { + summary: format!("Copied {} from {} to {}", describe(record), from, to), + details: serde_json::json!({ + "transactionId": record.transaction_id, + "from": from, + "to": record.surfaces, + "kinds": record.kinds, + "identityKeys": record.identity_keys, + "appliedAt": record.applied_at, + }) + .to_string(), + })) +} + +fn undo_audit_entry(record: &TransactionRecord, files: &[String]) -> AuditDraft { + let on = targets(record); + let summary = if on.is_empty() { + format!("Undid the change to {}", describe(record)) + } else { + format!("Undid the change to {} on {}", describe(record), on) + }; + AuditDraft { + summary, + details: serde_json::json!({ + "transactionId": record.transaction_id, + "appliedAt": record.applied_at, + "files": files, + }) + .to_string(), + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::commands::harness_state::{record_transaction_at, record_transaction_audited}; + use crate::commands::surface_write::set_test_home; + use std::fs; + use std::path::PathBuf; + + struct Fixture { + home: tempfile::TempDir, + db: PathBuf, + } + + fn fixture() -> Fixture { + let home = tempfile::tempdir().unwrap(); + set_test_home(home.path()); + let db = home.path().join("state.db"); + Fixture { home, db } + } + + fn record(f: &Fixture, id: &str, applied_at: &str) -> TransactionRecord { + TransactionRecord { + transaction_id: id.to_string(), + applied_at: applied_at.to_string(), + roots: vec!["home".to_string()], + manifest_path: format!(".harness/backups/{id}/transaction.json"), + manifest_root: f.home.path().to_string_lossy().into_owned(), + backup_dir: format!(".harness/backups/{id}"), + surfaces: vec!["codex".to_string()], + kinds: vec!["mcp-server".to_string()], + identity_keys: vec!["mcp-server:github".to_string()], + copied_from: None, + } + } + + fn write(f: &Fixture, relative: &str, content: &str) { + let path = f.home.path().join(relative); + fs::create_dir_all(path.parent().unwrap()).unwrap(); + fs::write(path, content).unwrap(); + } + + fn read(f: &Fixture, relative: &str) -> Option { + fs::read_to_string(f.home.path().join(relative)).ok() + } + + /// A committed change: the manifest on disk, the file holding `after`, and + /// the ledger row. + fn commit(f: &Fixture, id: &str, applied_at: &str, path: &str, before: Option<&str>, after: &str) { + let manifest = serde_json::json!({ + "version": 2, + "timestamp": id, + "status": "committed", + "changes": [{ "root": "home", "path": path, "before": before, "after": after }], + }); + write(f, &format!(".harness/backups/{id}/transaction.json"), &manifest.to_string()); + write(f, path, after); + record_transaction_at(&f.db, record(f, id, applied_at)).unwrap(); + } + + #[test] + fn lists_changes_newest_first_with_their_files() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{}"), "{\"a\":1}"); + commit(&f, "b", "2026-11-02T10:00:00.000Z", ".codex/config.toml", None, "x = 1\n"); + + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + let ids: Vec<&str> = listed.iter().map(|e| e.transaction_id.as_str()).collect(); + assert_eq!(ids, ["b", "a"]); + assert_eq!(listed[0].files, [".codex/config.toml"]); + assert_eq!(listed[0].surfaces, ["codex"]); + assert_eq!(listed[0].status, "applied"); + assert!(listed[0].undoable); + assert!(listed[0].reason.is_none()); + } + + #[test] + fn a_limit_caps_the_list() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{}"), "{\"a\":1}"); + commit(&f, "b", "2026-11-02T10:00:00.000Z", ".claude.json", Some("{\"a\":1}"), "{\"a\":2}"); + assert_eq!(list_changes_at(&f.db, f.home.path(), Some(1)).unwrap().len(), 1); + assert!(list_changes_at(&f.db, f.home.path(), Some(-5)).unwrap().is_empty()); + } + + #[test] + fn listing_without_a_database_is_empty_and_creates_nothing() { + let f = fixture(); + assert!(list_changes_at(&f.db, f.home.path(), None).unwrap().is_empty()); + assert!(!f.db.exists(), "a read created the state database"); + } + + #[test] + fn a_change_whose_backup_is_gone_is_listed_as_unavailable() { + let f = fixture(); + record_transaction_at(&f.db, record(&f, "gone", "2026-11-01T10:00:00.000Z")).unwrap(); + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + assert_eq!(listed[0].status, "unavailable"); + assert!(!listed[0].undoable); + assert!(listed[0].reason.as_deref().unwrap().contains("no longer on disk")); + } + + #[test] + fn a_project_change_is_listed_but_not_undoable_here() { + let f = fixture(); + let elsewhere = tempfile::tempdir().unwrap(); + let mut row = record(&f, "proj", "2026-11-01T10:00:00.000Z"); + row.manifest_root = elsewhere.path().to_string_lossy().into_owned(); + record_transaction_at(&f.db, row).unwrap(); + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + assert!(!listed[0].undoable); + assert_eq!(listed[0].reason.as_deref(), Some(PROJECT_CHANGE)); + } + + #[test] + fn undo_puts_the_file_back_and_marks_the_change_undone() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{\"old\":true}"), "{\"new\":true}"); + + let (outcome, audit) = undo_change_at(&f.db, f.home.path(), "a").unwrap(); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"old\":true}")); + assert_eq!(outcome.files, [".claude.json"]); + assert!(outcome.warning.is_none()); + assert!(audit.summary.contains("mcp-server github"), "{}", audit.summary); + + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + assert_eq!(listed[0].status, "undone"); + assert!(!listed[0].undoable); + + // A second Undo is refused and writes nothing. + let again = undo_change_at(&f.db, f.home.path(), "a").unwrap_err(); + assert!(again.contains("Already undone"), "{again}"); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"old\":true}")); + } + + #[test] + fn undo_removes_a_file_the_change_created() { + let f = fixture(); + commit(&f, "c", "2026-11-01T10:00:00.000Z", ".codex/config.toml", None, "x = 1\n"); + undo_change_at(&f.db, f.home.path(), "c").unwrap(); + assert_eq!(read(&f, ".codex/config.toml"), None); + } + + #[test] + fn undo_refuses_when_the_file_changed_since_and_writes_nothing() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{\"old\":true}"), "{\"new\":true}"); + write(&f, ".claude.json", "{\"edited\":\"by hand\"}"); + + let error = undo_change_at(&f.db, f.home.path(), "a").unwrap_err(); + assert!(error.contains("changed on disk"), "{error}"); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"edited\":\"by hand\"}")); + // Still offered: the user can fix the file and try again. + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + assert_eq!(listed[0].status, "applied"); + } + + #[test] + fn one_changed_file_stops_the_undo_of_every_file() { + let f = fixture(); + let manifest = serde_json::json!({ + "version": 2, "timestamp": "m", "status": "committed", + "changes": [ + { "root": "home", "path": ".claude.json", "before": "{}", "after": "{\"a\":1}" }, + { "root": "home", "path": ".codex/config.toml", "before": "", "after": "x = 1\n" }, + ], + }); + write(&f, ".harness/backups/m/transaction.json", &manifest.to_string()); + write(&f, ".claude.json", "{\"a\":1}"); + write(&f, ".codex/config.toml", "x = 2\n"); + record_transaction_at(&f.db, record(&f, "m", "2026-11-01T10:00:00.000Z")).unwrap(); + + assert!(undo_change_at(&f.db, f.home.path(), "m").is_err()); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"a\":1}")); + } + + #[test] + fn undo_refuses_an_unknown_or_empty_id() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{}"), "{\"a\":1}"); + for id in ["nope", "", " ", &"x".repeat(MAX_ID_BYTES + 1)] { + let error = undo_change_at(&f.db, f.home.path(), id).unwrap_err(); + assert!(error.contains("No recorded change"), "{id:?}: {error}"); + } + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"a\":1}")); + } + + #[test] + fn undo_with_no_database_is_refused() { + let f = fixture(); + assert!(undo_change_at(&f.db, f.home.path(), "a").is_err()); + assert!(!f.db.exists()); + } + + #[test] + fn undo_refuses_a_row_whose_manifest_path_leaves_the_backup_folder() { + let f = fixture(); + write(&f, "outside/transaction.json", "{}"); + for path in [ + "../outside/transaction.json", + ".harness/backups/../../outside/transaction.json", + ".harness/harness.db", + "outside/transaction.json", + ".harness/backups/a/b/transaction.json", + ] { + let mut row = record(&f, "evil", "2026-11-01T10:00:00.000Z"); + row.manifest_path = path.to_string(); + record_transaction_at(&f.db, row).unwrap(); + let error = undo_change_at(&f.db, f.home.path(), "evil").unwrap_err(); + assert!(error.contains("outside the app's backup folder"), "{path}: {error}"); + } + } + + #[test] + fn undo_refuses_a_manifest_that_names_a_file_the_app_does_not_manage() { + let f = fixture(); + for path in [".ssh/authorized_keys", ".harness/harness.db", "../escape", ".zshrc"] { + let manifest = serde_json::json!({ + "version": 2, "timestamp": "e", "status": "committed", + "changes": [{ "root": "home", "path": path, "before": "evil", "after": "x" }], + }); + write(&f, ".harness/backups/e/transaction.json", &manifest.to_string()); + record_transaction_at(&f.db, record(&f, "e", "2026-11-01T10:00:00.000Z")).unwrap(); + let error = undo_change_at(&f.db, f.home.path(), "e").unwrap_err(); + assert!(error.contains("will not be touched"), "{path}: {error}"); + } + assert_eq!(read(&f, ".ssh/authorized_keys"), None); + } + + #[test] + fn undo_refuses_a_project_rooted_manifest() { + let f = fixture(); + let manifest = serde_json::json!({ + "version": 1, "timestamp": "p", "status": "committed", + "changes": [{ "path": ".claude.json", "before": "{}", "after": "{\"a\":1}" }], + }); + write(&f, ".harness/backups/p/transaction.json", &manifest.to_string()); + write(&f, ".claude.json", "{\"a\":1}"); + record_transaction_at(&f.db, record(&f, "p", "2026-11-01T10:00:00.000Z")).unwrap(); + let error = undo_change_at(&f.db, f.home.path(), "p").unwrap_err(); + assert_eq!(error, PROJECT_CHANGE); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"a\":1}")); + } + + #[test] + fn undo_refuses_a_manifest_that_is_not_committed() { + let f = fixture(); + let manifest = serde_json::json!({ + "version": 2, "timestamp": "n", "status": "prepared", + "changes": [{ "root": "home", "path": ".claude.json", "before": "{}", "after": "{\"a\":1}" }], + }); + write(&f, ".harness/backups/n/transaction.json", &manifest.to_string()); + write(&f, ".claude.json", "{\"a\":1}"); + record_transaction_at(&f.db, record(&f, "n", "2026-11-01T10:00:00.000Z")).unwrap(); + let error = undo_change_at(&f.db, f.home.path(), "n").unwrap_err(); + assert!(error.contains("did not finish"), "{error}"); + } + + #[cfg(unix)] + #[test] + fn undo_refuses_a_manifest_reached_through_a_symlink() { + let f = fixture(); + let elsewhere = tempfile::tempdir().unwrap(); + let manifest = serde_json::json!({ + "version": 2, "timestamp": "s", "status": "committed", + "changes": [{ "root": "home", "path": ".claude.json", "before": "{}", "after": "{\"a\":1}" }], + }); + fs::write(elsewhere.path().join("transaction.json"), manifest.to_string()).unwrap(); + fs::create_dir_all(f.home.path().join(".harness/backups")).unwrap(); + std::os::unix::fs::symlink(elsewhere.path(), f.home.path().join(".harness/backups/s")).unwrap(); + write(&f, ".claude.json", "{\"a\":1}"); + record_transaction_at(&f.db, record(&f, "s", "2026-11-01T10:00:00.000Z")).unwrap(); + assert!(undo_change_at(&f.db, f.home.path(), "s").is_err()); + assert_eq!(read(&f, ".claude.json").as_deref(), Some("{\"a\":1}")); + } + + // ── Audit ────────────────────────────────────────────────── + + fn audit_rows(db: &Db) -> Vec<(String, String, String, String, String)> { + let conn = db.conn.lock().unwrap(); + let mut stmt = conn + .prepare("SELECT event_type, category, summary, details, source FROM audit_log ORDER BY timestamp") + .unwrap(); + stmt.query_map([], |row| { + Ok((row.get(0)?, row.get(1)?, row.get(2)?, row.get::<_, Option>(3)?.unwrap_or_default(), row.get(4)?)) + }) + .unwrap() + .map(Result::unwrap) + .collect() + } + + #[test] + fn a_machine_copy_is_recorded_in_the_audit_log() { + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + let mut row = record(&f, "copy1", "2026-11-03T09:00:00.000Z"); + row.copied_from = Some("claude-code".to_string()); + + record_transaction_audited(&db, &f.db, row).unwrap(); + + let rows = audit_rows(&db); + assert_eq!(rows.len(), 1); + let (event, category, summary, details, source) = &rows[0]; + assert_eq!(event, "machine_copy"); + assert_eq!(category, "changes"); + assert_eq!(summary, "Copied mcp-server github from claude-code to codex"); + assert_eq!(source, "machine"); + let details: serde_json::Value = serde_json::from_str(details).unwrap(); + assert_eq!(details["from"], "claude-code"); + assert_eq!(details["to"][0], "codex"); + assert_eq!(details["transactionId"], "copy1"); + assert_eq!(details["appliedAt"], "2026-11-03T09:00:00.000Z"); + // And the ledger row exists too. + assert_eq!(list_transactions_at(&f.db, None).unwrap().len(), 1); + } + + #[test] + fn a_record_without_a_source_surface_writes_no_audit_entry() { + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + record_transaction_audited(&db, &f.db, record(&f, "page-save", "2026-11-03T09:00:00.000Z")).unwrap(); + assert!(audit_rows(&db).is_empty()); + assert_eq!(list_transactions_at(&f.db, None).unwrap().len(), 1); + } + + #[test] + fn a_malformed_source_surface_refuses_the_record_and_logs_nothing() { + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + for bad in ["", "a b", "x\ny", &"z".repeat(65), "Copied everything"] { + let mut row = record(&f, "bad", "2026-11-03T09:00:00.000Z"); + row.copied_from = Some(bad.to_string()); + assert!(record_transaction_audited(&db, &f.db, row).is_err(), "{bad:?}"); + } + assert!(audit_rows(&db).is_empty()); + assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); + } + + #[test] + fn audit_text_strips_control_characters_from_webview_ids() { + let f = fixture(); + let mut row = record(&f, "t", "2026-11-03T09:00:00.000Z"); + row.copied_from = Some("claude-code".to_string()); + row.identity_keys = vec!["mcp-server:evil\n[forged] entry".to_string()]; + let entry = copy_audit_entry(&row).unwrap().unwrap(); + assert!(!entry.summary.contains('\n'), "{}", entry.summary); + } + + #[test] + fn the_copy_source_survives_the_ledger_round_trip() { + let f = fixture(); + commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{}"), "{\"a\":1}"); + let mut row = record(&f, "a", "2026-11-01T10:00:00.000Z"); + row.copied_from = Some("claude-code".to_string()); + record_transaction_at(&f.db, row).unwrap(); + let listed = list_changes_at(&f.db, f.home.path(), None).unwrap(); + assert_eq!(listed[0].copied_from.as_deref(), Some("claude-code")); + } +} diff --git a/apps/desktop/src-tauri/src/commands/harness_state.rs b/apps/desktop/src-tauri/src/commands/harness_state.rs index 1c211644..3b87fa18 100644 --- a/apps/desktop/src-tauri/src/commands/harness_state.rs +++ b/apps/desktop/src-tauri/src/commands/harness_state.rs @@ -51,6 +51,13 @@ pub struct TransactionRecord { pub surfaces: Vec, pub kinds: Vec, pub identity_keys: Vec, + /// The surface a Machine drawer copy took the resource from. Absent for + /// every other apply (an MCP page save, a CLI apply). Its presence is what + /// makes `record_transaction` write an audit entry; the entry's text is + /// built here from this id and the structured fields above, never taken + /// from the webview as prose. + #[serde(default)] + pub copied_from: Option, } /// The `payload` column's JSON, shared with the CLI. @@ -69,6 +76,8 @@ struct RecordPayload { kinds: Vec, #[serde(default)] identity_keys: Vec, + #[serde(default, skip_serializing_if = "Option::is_none")] + copied_from: Option, } /// Resolve the shared db path the same way the CLI does, `HARNESS_STATE_PATH` @@ -80,7 +89,7 @@ struct RecordPayload { /// even when the user's shell exports it. The override is therefore reliable /// for CI and tests, not for a GUI launch — parity holds for the default /// path, which is what matters in practice. -fn state_path() -> Result { +pub(crate) fn state_path() -> Result { if let Ok(override_path) = std::env::var("HARNESS_STATE_PATH") { let trimmed = override_path.trim(); if !trimmed.is_empty() { @@ -289,8 +298,6 @@ fn tighten_permissions(path: &std::path::Path) { } /// Best-effort array-of-strings extraction, independent of sibling fields. -/// Only the (test-only) read path needs it. -#[cfg(test)] fn string_array(document: &serde_json::Value, key: &str) -> Vec { document .get(key) @@ -667,8 +674,37 @@ pub(crate) fn migrate_drift_acknowledgements_at( } #[tauri::command] -pub fn record_transaction(record: TransactionRecord) -> Result<(), String> { - record_transaction_at(&state_path()?, record) +pub fn record_transaction( + db: tauri::State<'_, crate::db::Db>, + record: TransactionRecord, +) -> Result<(), String> { + record_transaction_audited(&db, &state_path()?, record) +} + +/// {@link record_transaction_at}, plus the audit entry a Machine copy owes. +/// +/// The entry is written only after the ledger row is, and only when the record +/// names a source surface. Its text comes from `changes::copy_audit_entry`, +/// which builds it from structured fields; a malformed `copiedFrom` refuses the +/// whole record rather than logging something the app did not do. +pub(crate) fn record_transaction_audited( + db: &crate::db::Db, + path: &std::path::Path, + record: TransactionRecord, +) -> Result<(), String> { + let audit = super::changes::copy_audit_entry(&record)?; + record_transaction_at(path, record)?; + if let Some(entry) = audit { + super::security::log_audit( + db, + "machine_copy", + "changes", + &entry.summary, + Some(&entry.details), + "machine", + ); + } + Ok(()) } /// Path-taking core of {@link record_transaction}. Split out so tests can @@ -685,6 +721,7 @@ pub(crate) fn record_transaction_at( surfaces: record.surfaces, kinds: record.kinds, identity_keys: record.identity_keys, + copied_from: record.copied_from, }) .map_err(|e| format!("Failed to serialize payload: {}", e))?; let roots = serde_json::to_string(&record.roots) @@ -717,12 +754,9 @@ pub(crate) fn record_transaction_at( /// Recorded transactions, newest first. /// -/// Deliberately NOT a #[tauri::command], and `cfg(test)` because that leaves -/// it with no production caller at all: nothing in the app reads the ledger — -/// `rollback --list` is a CLI command — and exposing a read over IPC with no -/// caller is attack surface bought for nothing. Re-exposing it later means -/// lifting the cfg and adding the attribute. -#[cfg(test)] +/// Not a #[tauri::command] itself: the webview never gets raw ledger rows. +/// `changes::list_changes` is the one reader the app exposes (Settings › +/// Activity), and it returns a trimmed view with the manifest's file names. pub(crate) fn list_transactions_at( path: &std::path::Path, limit: Option, @@ -750,6 +784,7 @@ pub(crate) fn list_transactions_at( surfaces: string_array(&document, "surfaces"), kinds: string_array(&document, "kinds"), identity_keys: string_array(&document, "identityKeys"), + copied_from: None, }; Ok(TransactionRecord { transaction_id: row.get(0)?, @@ -761,6 +796,10 @@ pub(crate) fn list_transactions_at( surfaces: parsed.surfaces, kinds: parsed.kinds, identity_keys: parsed.identity_keys, + copied_from: document + .get("copiedFrom") + .and_then(|value| value.as_str()) + .map(String::from), }) }; let rows = match limit { @@ -1043,6 +1082,7 @@ mod tests { surfaces: vec!["cursor".to_string()], kinds: vec!["mcp-server".to_string()], identity_keys: vec!["mcp-server:postgres".to_string()], + copied_from: None, } } @@ -1333,6 +1373,7 @@ mod cross_impl { surfaces: vec!["cursor".to_string()], kinds: vec!["mcp-server".to_string()], identity_keys: vec!["mcp-server:postgres".to_string()], + copied_from: None, }, ) .unwrap(); diff --git a/apps/desktop/src-tauri/src/commands/mod.rs b/apps/desktop/src-tauri/src/commands/mod.rs index 969da35f..4a97c363 100644 --- a/apps/desktop/src-tauri/src/commands/mod.rs +++ b/apps/desktop/src-tauri/src/commands/mod.rs @@ -16,6 +16,7 @@ pub mod harness_file; pub mod profiles; pub mod harness_state; pub mod surface_write; +pub mod changes; pub mod sync; pub mod parity; pub mod pairwise; diff --git a/apps/desktop/src-tauri/src/commands/security.rs b/apps/desktop/src-tauri/src/commands/security.rs index 1ef71cdf..91ffd053 100644 --- a/apps/desktop/src-tauri/src/commands/security.rs +++ b/apps/desktop/src-tauri/src/commands/security.rs @@ -347,7 +347,7 @@ fn update_permissions_at( Ok((old_perms, settings_digest_at(path)?)) } -fn log_audit( +pub(crate) fn log_audit( db: &Db, event_type: &str, category: &str, diff --git a/apps/desktop/src-tauri/src/commands/surface_write.rs b/apps/desktop/src-tauri/src/commands/surface_write.rs index 526c455e..c20878d6 100644 --- a/apps/desktop/src-tauri/src/commands/surface_write.rs +++ b/apps/desktop/src-tauri/src/commands/surface_write.rs @@ -190,7 +190,7 @@ pub fn apply_surface_transaction(files: Vec) -> Result, ) -> Result, String> { diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index 00b667a7..fac8586b 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -171,6 +171,8 @@ pub fn run() { commands::harness_state::get_highest_bundle_number, commands::harness_state::record_bundle_number, commands::harness_state::record_transaction, + commands::changes::list_changes, + commands::changes::undo_change, commands::harness_state::migrate_drift_acknowledgements, commands::harness_state::acknowledge_drift, commands::harness_state::unacknowledge_drift, diff --git a/apps/desktop/src/app.css b/apps/desktop/src/app.css index 2812c9bb..8ea3e060 100644 --- a/apps/desktop/src/app.css +++ b/apps/desktop/src/app.css @@ -66,7 +66,7 @@ } /* Whole-harness portability ledger: dense, operational, and intentionally - distinct from the summary-card language used elsewhere in Fleet. */ + distinct from the summary-card language used elsewhere in the app. */ .hk-portability { margin-top: 24px; padding: 18px 0 0; diff --git a/apps/desktop/src/lib/state-ledger.ts b/apps/desktop/src/lib/state-ledger.ts index 2151997d..c7c863ec 100644 --- a/apps/desktop/src/lib/state-ledger.ts +++ b/apps/desktop/src/lib/state-ledger.ts @@ -11,10 +11,12 @@ import type { TransactionRecord, TransactionRecorder } from "@harness-kit/core"; * from core, and resolves the path the same way the CLI does * (`HARNESS_STATE_PATH` included) so both agree on which file the ledger is. * - * Records only. `rollback --list` is a CLI command and nothing in the app - * reads the ledger, so no read is exposed over IPC — a command with no caller - * is attack surface bought for nothing. Observation snapshots likewise belong - * to the CLI's scan path; stubbing them here would be a silent no-op. + * Records only. The one reader the app has is Settings › Activity's Changes + * list (`list_changes` / `undo_change`, see tauri.ts), and it lives in Rust + * with its own checks, so the webview never receives raw ledger rows or + * supplies a rollback manifest. A record that carries `copiedFrom` also makes + * Rust write the Machine copy's audit entry. Observation snapshots belong to + * the CLI's scan path; stubbing them here would be a silent no-op. */ export class TauriTransactionLedger implements TransactionRecorder { async recordTransaction(record: TransactionRecord): Promise { diff --git a/apps/desktop/src/lib/tauri.ts b/apps/desktop/src/lib/tauri.ts index 3c8056b4..91a44ba2 100644 --- a/apps/desktop/src/lib/tauri.ts +++ b/apps/desktop/src/lib/tauri.ts @@ -316,6 +316,46 @@ export async function clearAuditEntries(beforeDate: string): Promise { return invoke("clear_audit_entries", { beforeDate }); } +// ── Changes (Settings > Activity) ──────────────────────────── + +/** One change the app made, from the rollback ledger. */ +export interface ChangeEntry { + transactionId: string; + appliedAt: string; + surfaces: string[]; + kinds: string[]; + identityKeys: string[]; + /** Home-relative paths the change touched. */ + files: string[]; + /** The surface a Machine copy came from, when the change was one. */ + copiedFrom: string | null; + status: "applied" | "undone" | "unavailable"; + undoable: boolean; + /** Why Undo is not offered, in words for the user. */ + reason: string | null; +} + +export interface UndoOutcome { + transactionId: string; + files: string[]; + /** Set when the files were restored but the change was not marked undone. */ + warning: string | null; +} + +/** Recent changes, newest first. Read-only. */ +export async function listChanges(limit?: number): Promise { + return invoke("list_changes", { limit }); +} + +/** + * Undo one change by id. Rust looks up the change, verifies every file still + * holds what the change left, and restores the previous content; the webview + * supplies nothing but the id. + */ +export async function undoChange(transactionId: string): Promise { + return invoke("undo_change", { transactionId }); +} + // ── Sync commands ──────────────────────────────────────────── export interface SyncFileWrite { diff --git a/apps/desktop/src/pages/fleet/adapter-meta.ts b/apps/desktop/src/pages/fleet/adapter-meta.ts index dfeec1c1..ede48ef7 100644 --- a/apps/desktop/src/pages/fleet/adapter-meta.ts +++ b/apps/desktop/src/pages/fleet/adapter-meta.ts @@ -3,12 +3,12 @@ import type { HarnessInfo } from "@harness-kit/shared"; /** * Display metadata for each core AdapterId — name + a short mono monogram - * (DESIGN.md §6.3 Fleet matrix: "mono monogram tile + name + mono version"). + * (a mono monogram tile, the name, and a mono version). * * `harnessInfoId` cross-references the Rust `detect_harnesses()` probe (a * different, coarser id scheme) so we can show a CLI version string sourced - * from that existing probe rather than re-probing in core (core's fleet - * report never populates FleetCell.version — see packages/core/src/fleet/report.ts). + * from that existing probe rather than re-probing in core (core's report + * never populates FleetCell.version — see packages/core/src/fleet/report.ts). * Adapters with no corresponding detectHarnesses() entry (agents-md, pi) show * no version — that's honest, not a bug. */ diff --git a/apps/desktop/src/pages/machine/MachinePage.tsx b/apps/desktop/src/pages/machine/MachinePage.tsx index 48c7f704..68bbec08 100644 --- a/apps/desktop/src/pages/machine/MachinePage.tsx +++ b/apps/desktop/src/pages/machine/MachinePage.tsx @@ -22,11 +22,11 @@ import DriftPage from "../drift/DriftPage"; /** * Machine (Task 14): cross-surface inventory of this machine, whose row - * drawer applies changes between surfaces. Defaults to machine-only - * observation (no project directory). The project comes from the title bar's - * selector (AC-17, lib/project-dir.ts): choosing one adds project-scope - * stores to the scan, and every change starts a new scan with nothing - * selected. + * drawer applies changes between surfaces. The project comes from the title + * bar's selector (AC-17, lib/project-dir.ts). The last project chosen is + * restored at launch and adds project-scope stores to the scan; with none + * chosen the scan is machine-only. Every change of project starts a new scan + * with nothing selected. * * Two views share the page head and summary strip (spec AC-18, design D6): * the surface grid and Drift against harness.yaml, chosen by `?view=` diff --git a/apps/desktop/src/pages/machine/__tests__/cell-actions.test.ts b/apps/desktop/src/pages/machine/__tests__/cell-actions.test.ts index 38504399..2580b710 100644 --- a/apps/desktop/src/pages/machine/__tests__/cell-actions.test.ts +++ b/apps/desktop/src/pages/machine/__tests__/cell-actions.test.ts @@ -71,8 +71,10 @@ describe("applyCellActionViaTauri records a rollback point", () => { const [, changes, input] = recordAppliedTransaction.mock.calls[0] as unknown as [ unknown, Array<{ root: string; path: string; before: string | null; after: string | null }>, - { manifestRoot: string; surfaces: string[]; identityKeys: string[] }, + { manifestRoot: string; surfaces: string[]; identityKeys: string[]; copiedFrom?: string }, ]; + // Rust writes the audit entry (from, to, what, when) from this. + expect(input.copiedFrom).toBe("claude-code"); // roots is derived from these — an empty array here is the M2 bug. expect(changes).toEqual([ { root: "home", path: ".cursor/mcp.json", before: "{}", after: '{"a":1}' }, diff --git a/apps/desktop/src/pages/machine/cell-actions.ts b/apps/desktop/src/pages/machine/cell-actions.ts index e0cc5b1a..b68e0b36 100644 --- a/apps/desktop/src/pages/machine/cell-actions.ts +++ b/apps/desktop/src/pages/machine/cell-actions.ts @@ -127,10 +127,12 @@ export async function buildCellAction( * those: no stale-edit check, no backup, and nothing applied from the desktop * could ever be rolled back. * - * Known gap: no ledger row, because the desktop StateStore bridge does not - * exist yet. The manifest is on disk and usable via - * `harness-kit rollback --transaction `; it just will not appear in - * `rollback --list` until that bridge lands. + * After the apply commits, a ledger row is recorded through + * `TauriTransactionLedger` (the `record_transaction` command). That row is + * what Settings › Activity lists under Changes, where Undo restores the + * previous content, and it is what makes Rust write the audit entry for the + * copy. A failed record comes back as `ledgerError` below; the files are + * already changed and the manifest is on disk. */ export interface CellApplyResult { written: string[]; @@ -219,6 +221,8 @@ export async function applyCellActionViaTauri( surfaces: [view.request.to], kinds: [view.request.kind], identityKeys: [`${view.request.kind}:${view.request.name.toLowerCase()}`], + // Rust turns this into the audit entry (from, to, what, when). + copiedFrom: view.request.from, }, new TauriTransactionLedger(), ); diff --git a/apps/desktop/src/pages/machine/machine-data.ts b/apps/desktop/src/pages/machine/machine-data.ts index a4f2f47e..acb9d9e2 100644 --- a/apps/desktop/src/pages/machine/machine-data.ts +++ b/apps/desktop/src/pages/machine/machine-data.ts @@ -33,7 +33,7 @@ export interface MachineScanResult { * `scanRoot` is the optional project directory; null = machine-only * observation (user-scope stores only). A project dir needs a runtime FS * scope grant first (the static capability only covers known $HOME config - * roots) — mirroring Fleet, a failed grant drops the project from the scan + * roots) — as in drift-data.ts, a failed grant drops the project from the scan * rather than failing the whole inventory, but the degradation is reported * so the page can surface it instead of silently under-reporting. */ diff --git a/apps/desktop/src/pages/security/AuditLogPage.tsx b/apps/desktop/src/pages/security/AuditLogPage.tsx index c9e646ff..afad4a27 100644 --- a/apps/desktop/src/pages/security/AuditLogPage.tsx +++ b/apps/desktop/src/pages/security/AuditLogPage.tsx @@ -9,7 +9,7 @@ import ContextMenu from "../../components/ContextMenu"; const PAGE_SIZE = 25; -type CategoryFilter = "all" | "permissions" | "secrets"; +type CategoryFilter = "all" | "permissions" | "secrets" | "changes"; function Pill({ label, active, onClick }: { label: string; active: boolean; onClick: () => void }) { return ( @@ -37,6 +37,8 @@ const EVENT_VARIANT: Record = { preset_applied: "success", secret_access: "warning", secret_delete: "danger", + machine_copy: "success", + change_undone: "warning", }; function EventBadge({ eventType }: { eventType: string }) { @@ -128,7 +130,7 @@ export default function AuditLogPage() { Audit Log

- Track permission changes, secret operations, and preset applications. + Track permission changes, secret operations, preset applications, and copies between surfaces.

@@ -153,6 +155,7 @@ export default function AuditLogPage() { handleFilterChange("all")} /> handleFilterChange("permissions")} /> handleFilterChange("secrets")} /> + handleFilterChange("changes")} />
@@ -205,7 +208,7 @@ export default function AuditLogPage() { } title="No audit entries found" - description="Entries are created when permissions or secrets are modified." + description="Entries are created when permissions or secrets change, or a Machine copy applies." /> ) : ( entries.map((entry, idx) => ( diff --git a/apps/desktop/src/pages/security/__tests__/AuditLogPage.test.tsx b/apps/desktop/src/pages/security/__tests__/AuditLogPage.test.tsx index 5f96f230..6d40fab7 100644 --- a/apps/desktop/src/pages/security/__tests__/AuditLogPage.test.tsx +++ b/apps/desktop/src/pages/security/__tests__/AuditLogPage.test.tsx @@ -136,9 +136,16 @@ describe("AuditLogPage — empty state", () => { it("shows hint text in empty state", async () => { renderPage(); expect( - await screen.findByText(/Entries are created when permissions or secrets are modified/), + await screen.findByText(/Entries are created when permissions or secrets change/), ).toBeInTheDocument(); }); + + it("filters to Machine copies and undone changes with the Changes pill", async () => { + mockListAuditEntries.mockResolvedValue([]); + renderPage(); + fireEvent.click(await screen.findByRole("button", { name: "Changes" })); + await waitFor(() => expect(mockListAuditEntries).toHaveBeenLastCalledWith(25, 0, "changes")); + }); }); describe("AuditLogPage — entries list", () => { diff --git a/apps/desktop/src/pages/settings/ActivityTab.tsx b/apps/desktop/src/pages/settings/ActivityTab.tsx index e8611bb4..90df0377 100644 --- a/apps/desktop/src/pages/settings/ActivityTab.tsx +++ b/apps/desktop/src/pages/settings/ActivityTab.tsx @@ -9,15 +9,15 @@ import { installationId } from "../../lib/installation-id"; import { grantProjectScope } from "../../lib/tauri"; import { errorDetails } from "../../lib/error-details"; import { ErrorNotice } from "@harness-kit/ui"; +import { ChangesList } from "./ChangesList"; const AuditLogPage = lazy(() => import("../security/AuditLogPage")); /** - * Settings › Activity (AC-11, Task 1.7). Combines the audit log - * (permission/secret/preset events, from the retired standalone Audit Log - * page) with the portability reconciliation ledger (rollback points, - * portability notices, device enrollment — from the retired Fleet page) - * on one tab. + * Settings › Activity (AC-11, Task 1.7). One tab for three things: the + * Changes list (what the app changed, with Undo), the audit log (permission, + * secret, preset and Machine copy events), and device enrollment. The + * reconciliation ledger (layers, conflicts, rollback points) is a Labs view. */ export function ActivityTab() { const [snapshot, setSnapshot] = useState(null); @@ -37,8 +37,8 @@ export function ActivityTab() { const projectDir = getCurrentProjectDir(); const home = await homeDir(); // The static FS capability only covers known $HOME config roots, not - // an arbitrary project dir — grant runtime scope first (mirrors - // machine-data.ts / drift-data.ts / the retired FleetPage). A failed + // an arbitrary project dir — grant runtime scope first (as + // machine-data.ts and drift-data.ts do). A failed // grant just drops the project layer rather than failing the ledger. const scopeReady = projectDir ? await grantProjectScope(projectDir).then( @@ -71,6 +71,8 @@ export function ActivityTab() { return (
+ + diff --git a/apps/desktop/src/pages/settings/ChangesList.tsx b/apps/desktop/src/pages/settings/ChangesList.tsx new file mode 100644 index 00000000..952f4f20 --- /dev/null +++ b/apps/desktop/src/pages/settings/ChangesList.tsx @@ -0,0 +1,218 @@ +import { useCallback, useEffect, useState } from "react"; +import { Button, Card, EmptyState, ErrorNotice } from "@harness-kit/ui"; +import { History } from "lucide-react"; +import type { SurfaceId } from "@harness-kit/core"; +import { listChanges, undoChange, type ChangeEntry } from "../../lib/tauri"; +import { surfaceLabel } from "../../lib/surface-labels"; +import { errorDetails } from "../../lib/error-details"; + +const KIND_LABEL: Record = { + "mcp-server": "MCP server", + skill: "Skill", + instruction: "Instructions", + hook: "Hook", + command: "Command", + agent: "Agent", + plugin: "Plugin", +}; + +function formatTime(value: string): string { + const date = new Date(value); + if (Number.isNaN(date.getTime())) return value; + return date.toLocaleString(undefined, { month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" }); +} + +/** "MCP server github", from an identity key like `mcp-server:github`. */ +function describeKey(key: string): string { + const at = key.indexOf(":"); + if (at < 0) return key; + const kind = key.slice(0, at); + return `${KIND_LABEL[kind] ?? kind} ${key.slice(at + 1)}`; +} + +function describeWhat(entry: ChangeEntry): string { + if (entry.identityKeys.length === 0) return "Changed config files"; + const shown = entry.identityKeys.slice(0, 2).map(describeKey).join(", "); + const more = entry.identityKeys.length - 2; + return more > 0 ? `${shown}, and ${more} more` : shown; +} + +function describeWhere(entry: ChangeEntry): string { + const surfaces = entry.surfaces.map((id) => surfaceLabel(id as SurfaceId)).join(", "); + const copy = entry.copiedFrom ? `Copied from ${surfaceLabel(entry.copiedFrom as SurfaceId)} to ` : ""; + return `${copy}${surfaces}`; +} + +function describeFiles(entry: ChangeEntry): string { + if (entry.files.length === 0) return ""; + const [first] = entry.files; + return entry.files.length > 1 ? `~/${first} and ${entry.files.length - 1} more` : `~/${first}`; +} + +/** + * Settings › Activity › Changes: what the app changed on this machine, newest + * first. Each change that can still be undone has Undo. The webview sends only + * the change's id; Rust checks that every file still holds what the change + * left there and refuses if one was edited since. + */ +export function ChangesList() { + const [changes, setChanges] = useState(null); + const [loadError, setLoadError] = useState(null); + const [confirming, setConfirming] = useState(null); + const [busy, setBusy] = useState(null); + // Per-change refusal text, kept on the row so it stays beside what it is about. + const [undoErrors, setUndoErrors] = useState>({}); + const [notice, setNotice] = useState(null); + + const load = useCallback(async () => { + setLoadError(null); + try { + setChanges(await listChanges()); + } catch (error) { + setChanges(null); + setLoadError(errorDetails(error)); + } + }, []); + + useEffect(() => { + void load(); + }, [load]); + + async function handleUndo(entry: ChangeEntry) { + setConfirming(null); + setBusy(entry.transactionId); + setNotice(null); + setUndoErrors((current) => { + const { [entry.transactionId]: _dropped, ...rest } = current; + return rest; + }); + try { + const outcome = await undoChange(entry.transactionId); + setNotice( + outcome.warning + ? `${describeWhat(entry)} was put back. ${outcome.warning}` + : `${describeWhat(entry)} was put back.`, + ); + } catch (error) { + setUndoErrors((current) => ({ ...current, [entry.transactionId]: errorDetails(error) })); + } finally { + setBusy(null); + } + await load(); + } + + return ( +
+
+

+ Changes +

+

+ What this app changed in your config files. Undo puts a file back as it was, unless it has been edited since. +

+
+ + {loadError && ( + void load() }} + /> + )} + + {notice && ( +
+ {notice} +
+ )} + + {changes && ( + + {changes.length === 0 ? ( + } + title="No changes yet" + description="Changes made from Machine and the MCP servers page appear here." + /> + ) : ( +
    + {changes.map((entry) => ( +
  • + {formatTime(entry.appliedAt)} +
    +
    {describeWhat(entry)}
    +
    + {describeWhere(entry)} + {entry.files.length > 0 && · {describeFiles(entry)}} +
    + {!entry.undoable && entry.reason && ( +
    + {entry.status === "undone" ? "Undone." : entry.reason} +
    + )} + {undoErrors[entry.transactionId] && ( +
    + {undoErrors[entry.transactionId]} +
    + )} +
    +
    + {entry.undoable && + (confirming === entry.transactionId ? ( + <> + + + + ) : ( + + ))} +
    +
  • + ))} +
+ )} +
+ )} +
+ ); +} diff --git a/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx b/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx index b889125e..febf0ae0 100644 --- a/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx +++ b/apps/desktop/src/pages/settings/__tests__/ActivityTab.test.tsx @@ -45,6 +45,8 @@ const mockGrantProjectScope = vi.fn(); vi.mock("../../../lib/tauri", () => ({ listAuditEntries: (...args: unknown[]) => mockListAuditEntries(...args), clearAuditEntries: vi.fn(), + listChanges: vi.fn(() => Promise.resolve([])), + undoChange: vi.fn(), grantProjectScope: (...args: unknown[]) => mockGrantProjectScope(...args), })); @@ -67,6 +69,13 @@ describe("ActivityTab", () => { expect(screen.queryByText("Rollback points")).not.toBeInTheDocument(); }); + it("shows the Changes list first, above the audit log", async () => { + render(); + const changes = await screen.findByRole("heading", { name: "Changes" }); + const audit = await screen.findByText("Audit Log"); + expect(changes.compareDocumentPosition(audit) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy(); + }); + it("renders the reconciliation ledger when the Labs flag is on", async () => { localStorage.setItem("harness-kit-labs-ledger", "true"); render(); diff --git a/apps/desktop/src/pages/settings/__tests__/ChangesList.test.tsx b/apps/desktop/src/pages/settings/__tests__/ChangesList.test.tsx new file mode 100644 index 00000000..b211742a --- /dev/null +++ b/apps/desktop/src/pages/settings/__tests__/ChangesList.test.tsx @@ -0,0 +1,146 @@ +import { describe, it, expect, vi, beforeEach } from "vitest"; +import { render, screen, fireEvent, waitFor, within } from "@testing-library/react"; +import { ChangesList } from "../ChangesList"; +import type { ChangeEntry } from "../../../lib/tauri"; + +const mockListChanges = vi.fn(); +const mockUndoChange = vi.fn(); + +vi.mock("../../../lib/tauri", () => ({ + listChanges: (...args: unknown[]) => mockListChanges(...args), + undoChange: (...args: unknown[]) => mockUndoChange(...args), +})); + +function change(overrides: Partial = {}): ChangeEntry { + return { + transactionId: "tx-1", + appliedAt: "2026-11-02T10:00:00.000Z", + surfaces: ["codex"], + kinds: ["mcp-server"], + identityKeys: ["mcp-server:github"], + files: [".codex/config.toml"], + copiedFrom: "claude-code", + status: "applied", + undoable: true, + reason: null, + ...overrides, + }; +} + +describe("ChangesList", () => { + beforeEach(() => { + vi.clearAllMocks(); + mockListChanges.mockResolvedValue([]); + }); + + it("says so when nothing has changed yet", async () => { + render(); + expect(await screen.findByText("No changes yet")).toBeInTheDocument(); + }); + + it("lists what changed, where, which file and when, in the order Rust returned", async () => { + mockListChanges.mockResolvedValue([ + change({ transactionId: "new", identityKeys: ["mcp-server:github"] }), + change({ + transactionId: "old", + appliedAt: "2026-11-01T10:00:00.000Z", + identityKeys: ["mcp-server:postgres"], + copiedFrom: null, + files: [".claude.json"], + surfaces: ["claude-code"], + }), + ]); + render(); + + const rows = await screen.findAllByTestId("change-row"); + expect(rows).toHaveLength(2); + expect(within(rows[0]!).getByText("MCP server github")).toBeInTheDocument(); + expect(within(rows[0]!).getByText(/Copied from Claude Code to Codex/)).toBeInTheDocument(); + expect(within(rows[0]!).getByText(/~\/\.codex\/config\.toml/)).toBeInTheDocument(); + expect(within(rows[1]!).getByText("MCP server postgres")).toBeInTheDocument(); + expect(within(rows[1]!).queryByText(/Copied from/)).not.toBeInTheDocument(); + }); + + it("asks for the list with no arguments the webview could abuse", async () => { + render(); + await screen.findByText("No changes yet"); + expect(mockListChanges).toHaveBeenCalledWith(); + }); + + it("undoes a change after confirmation, sending only its id, and reloads the list", async () => { + mockListChanges.mockResolvedValueOnce([change()]).mockResolvedValueOnce([ + change({ status: "undone", undoable: false, reason: "Already undone." }), + ]); + mockUndoChange.mockResolvedValue({ transactionId: "tx-1", files: [".codex/config.toml"], warning: null }); + render(); + + fireEvent.click(await screen.findByRole("button", { name: "Undo" })); + expect(mockUndoChange).not.toHaveBeenCalled(); + fireEvent.click(screen.getByRole("button", { name: "Undo this change" })); + + await waitFor(() => expect(mockUndoChange).toHaveBeenCalledWith("tx-1")); + expect(await screen.findByRole("status")).toHaveTextContent("MCP server github was put back."); + await waitFor(() => expect(screen.queryByRole("button", { name: "Undo" })).not.toBeInTheDocument()); + expect(screen.getByText("Undone.")).toBeInTheDocument(); + expect(mockListChanges).toHaveBeenCalledTimes(2); + }); + + it("cancelling the confirmation undoes nothing", async () => { + mockListChanges.mockResolvedValue([change()]); + render(); + fireEvent.click(await screen.findByRole("button", { name: "Undo" })); + fireEvent.click(screen.getByRole("button", { name: "Cancel" })); + expect(mockUndoChange).not.toHaveBeenCalled(); + expect(screen.getByRole("button", { name: "Undo" })).toBeInTheDocument(); + }); + + it("shows the refusal on the row when the file changed since, and keeps Undo available", async () => { + mockListChanges.mockResolvedValue([change()]); + mockUndoChange.mockRejectedValue( + "Refusing to write '.codex/config.toml': it changed on disk since it was read (expected a, found b)", + ); + render(); + + fireEvent.click(await screen.findByRole("button", { name: "Undo" })); + fireEvent.click(screen.getByRole("button", { name: "Undo this change" })); + + expect(await screen.findByRole("alert")).toHaveTextContent("changed on disk"); + expect(screen.queryByRole("status")).not.toBeInTheDocument(); + expect(await screen.findByRole("button", { name: "Undo" })).toBeInTheDocument(); + }); + + it("offers no Undo on a change that cannot be undone, and says why", async () => { + mockListChanges.mockResolvedValue([ + change({ + undoable: false, + status: "unavailable", + reason: "The backup for this change is no longer on disk.", + }), + ]); + render(); + expect(await screen.findByText("The backup for this change is no longer on disk.")).toBeInTheDocument(); + expect(screen.queryByRole("button", { name: "Undo" })).not.toBeInTheDocument(); + }); + + it("shows a notice with Retry when the list cannot be read", async () => { + mockListChanges.mockRejectedValueOnce("state database is locked").mockResolvedValueOnce([]); + render(); + expect(await screen.findByText("Couldn't load the list of changes")).toBeInTheDocument(); + expect(screen.queryByText("No changes yet")).not.toBeInTheDocument(); + fireEvent.click(screen.getByRole("button", { name: "Retry" })); + expect(await screen.findByText("No changes yet")).toBeInTheDocument(); + }); + + it("passes a restore-but-not-marked warning on to the user", async () => { + mockListChanges.mockResolvedValue([change()]); + mockUndoChange.mockResolvedValue({ + transactionId: "tx-1", + files: [], + warning: "The files were restored, but the change could not be marked as undone: disk full", + }); + render(); + fireEvent.click(await screen.findByRole("button", { name: "Undo" })); + fireEvent.click(screen.getByRole("button", { name: "Undo this change" })); + expect(await screen.findByRole("status")).toHaveTextContent("could not be marked as undone"); + }); +}); diff --git a/apps/desktop/src/routes/DriftRedirect.tsx b/apps/desktop/src/routes/DriftRedirect.tsx index df2ebf2d..3e8121bb 100644 --- a/apps/desktop/src/routes/DriftRedirect.tsx +++ b/apps/desktop/src/routes/DriftRedirect.tsx @@ -6,8 +6,8 @@ import { withView } from "../pages/machine/machine-view-model"; * Governed by specs/ux-consolidation/spec.md AC-6 (retired routes redirect * and keep the query the destination reads), AC-7 (a harness in the query * opens Drift filtered to it) and AC-18 (Drift is a view of Machine). DriftPage - * reads `harness` from the URL, and dropping it here made every Fleet row - * click arrive unfiltered. + * reads `harness` from the URL, and dropping it here made every link that + * names a harness arrive unfiltered. */ export function DriftRedirect() { const { search } = useLocation(); diff --git a/apps/desktop/test-fixtures/ipc/list_changes.json b/apps/desktop/test-fixtures/ipc/list_changes.json new file mode 100644 index 00000000..e460a8dd --- /dev/null +++ b/apps/desktop/test-fixtures/ipc/list_changes.json @@ -0,0 +1,19 @@ +{ + "command": "list_changes", + "calls": [ + { + "fn": "listChanges", + "args": [ + 50 + ], + "payload": { + "limit": 50 + } + }, + { + "fn": "listChanges", + "args": [], + "payload": {} + } + ] +} diff --git a/apps/desktop/test-fixtures/ipc/undo_change.json b/apps/desktop/test-fixtures/ipc/undo_change.json new file mode 100644 index 00000000..0f155345 --- /dev/null +++ b/apps/desktop/test-fixtures/ipc/undo_change.json @@ -0,0 +1,14 @@ +{ + "command": "undo_change", + "calls": [ + { + "fn": "undoChange", + "args": [ + "2026-11-01T10-00-00-000Z-app" + ], + "payload": { + "transactionId": "2026-11-01T10-00-00-000Z-app" + } + } + ] +} diff --git a/packages/core/__tests__/ledger.test.ts b/packages/core/__tests__/ledger.test.ts index e3048567..e937c1d0 100644 --- a/packages/core/__tests__/ledger.test.ts +++ b/packages/core/__tests__/ledger.test.ts @@ -52,6 +52,16 @@ describe("transaction ledger recording (AC-32)", () => { expect(store.records[0]?.roots).toEqual(["home"]); }); + it("carries the source surface of a copy into the row, and adds no key otherwise", async () => { + const store = fakeStore(); + const changes = [{ root: "home" as const, path: ".claude.json", before: "{}", after: "{}" }]; + const input = { ...INPUT, surfaces: [...INPUT.surfaces], kinds: [...INPUT.kinds] }; + await recordAppliedTransaction(RESULT, changes, { ...input, copiedFrom: "codex" }, store); + await recordAppliedTransaction(RESULT, changes, input, store); + expect(store.records[0]?.copiedFrom).toBe("codex"); + expect("copiedFrom" in (store.records[1] ?? {})).toBe(false); + }); + it("lists both roots for a mixed transaction, in a stable order", async () => { const store = fakeStore(); await recordAppliedTransaction( diff --git a/packages/core/src/state/ledger.ts b/packages/core/src/state/ledger.ts index 12626a59..4e172213 100644 --- a/packages/core/src/state/ledger.ts +++ b/packages/core/src/state/ledger.ts @@ -18,6 +18,8 @@ export interface LedgerEntryInput { surfaces: SurfaceId[]; kinds: HarnessResourceKind[]; identityKeys: string[]; + /** Set for a Machine drawer copy: the surface it was copied from. */ + copiedFrom?: SurfaceId; } export interface LedgerOutcome { @@ -58,6 +60,7 @@ export async function recordAppliedTransaction( surfaces: input.surfaces, kinds: input.kinds, identityKeys: input.identityKeys, + ...(input.copiedFrom ? { copiedFrom: input.copiedFrom } : {}), }; try { await store.recordTransaction(record); diff --git a/packages/core/src/state/store.ts b/packages/core/src/state/store.ts index c7ea1865..ec4c8a80 100644 --- a/packages/core/src/state/store.ts +++ b/packages/core/src/state/store.ts @@ -93,6 +93,11 @@ export interface TransactionRecord { kinds: HarnessResourceKind[]; /** `${kind}:${lowercased name}` identity keys changed. */ identityKeys: string[]; + /** + * The surface a Machine drawer copy took the resource from. Absent for every + * other apply. The desktop turns its presence into an audit entry. + */ + copiedFrom?: SurfaceId; } /** diff --git a/packages/ui/src/styles.css b/packages/ui/src/styles.css index 5da38b72..a16df4b1 100644 --- a/packages/ui/src/styles.css +++ b/packages/ui/src/styles.css @@ -682,7 +682,7 @@ button.hk-summary-cell[data-active="true"] .hk-summary-label { color: var(--acce } /* ── Page shell ── */ -/* Generic page scaffolding shared by every v2 page (Fleet, Drift, ...) — +/* Generic page scaffolding shared by every v2 page (Machine, Drift, ...) — head row (title + subtitle + primary action), title/subtitle type scale, and an inline error banner. Not a "component" per se, but themed purely via tokens so pages never inline hex/spacing literals (DESIGN.md §1). */ From 5e4c301c79357172d4feb0b4c4fcbbaa3532dcc5 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:31:29 -0500 Subject: [PATCH 10/16] fix(desktop): record machine copies only for a committed manifest; validate surfaces; no ledger overwrites record_transaction writes the machine_copy audit entry and ledger row only after the pinned manifest reads committed and its folder matches the id; copiedFrom and surfaces are checked against the registry ids (a test keeps the Rust list in step with core); surfaces are capped; an existing transaction id can't be rewritten with a different payload. Co-Authored-By: Claude Opus 5.5 --- .../desktop/src-tauri/src/commands/changes.rs | 150 +++++++++++++++++- .../src-tauri/src/commands/harness_state.rs | 118 ++++++++++---- .../lib/__tests__/surface-ids-rust.test.ts | 19 +++ 3 files changed, 249 insertions(+), 38 deletions(-) create mode 100644 apps/desktop/src/lib/__tests__/surface-ids-rust.test.ts diff --git a/apps/desktop/src-tauri/src/commands/changes.rs b/apps/desktop/src-tauri/src/commands/changes.rs index 3395134d..467fa03c 100644 --- a/apps/desktop/src-tauri/src/commands/changes.rs +++ b/apps/desktop/src-tauri/src/commands/changes.rs @@ -340,6 +340,55 @@ fn is_surface_id(text: &str) -> bool { .all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_' || c == '.') } +/// The surface registry's ids (`SURFACE_IDS` in packages/core/src/surfaces/ +/// types.ts). Rust cannot read the TypeScript registry, so a vitest test +/// (`surface-ids-rust.test.ts`) fails if this list drifts from it. +pub(crate) const SURFACE_IDS: [&str; 11] = [ + "claude-code", + "claude-desktop", + "copilot-vscode", + "copilot-cli", + "codex", + "cursor", + "pi", + "opencode", + "windsurf", + "gemini", + "junie", +]; + +/// Every surface a webview-supplied record names must be a registry id. +pub(crate) fn check_surfaces(record: &TransactionRecord) -> Result<(), String> { + let known = |id: &str| SURFACE_IDS.contains(&id); + if let Some(from) = &record.copied_from { + if !known(from) { + return Err("copiedFrom is not a surface the registry declares".to_string()); + } + } + if record.surfaces.iter().any(|s| !known(s)) { + return Err("surfaces names a surface the registry does not declare".to_string()); + } + Ok(()) +} + +/// A copy's audit entry is written only when the engine's manifest for this +/// transaction is on disk and committed. The row's own claims are checked with +/// the same pinned-path rules Undo uses, and the manifest must sit in the +/// folder named for the transaction, so one real manifest cannot back a +/// second, invented transaction id. +pub(crate) fn require_committed_manifest(home: &Path, record: &TransactionRecord) -> Result<(), String> { + let relative = manifest_relative(home, record)?; + let folder = relative.split('/').nth(2).unwrap_or_default(); + if folder != record.transaction_id { + return Err("The manifest does not belong to this transaction.".to_string()); + } + let (manifest, _) = read_manifest(home, record)?; + if manifest.status != "committed" { + return Err("The transaction is not committed, so no copy is recorded.".to_string()); + } + Ok(()) +} + /// What a change was about, for a sentence: `mcp-server github`, or a count. fn describe(record: &TransactionRecord) -> String { let names: Vec = record @@ -602,17 +651,21 @@ mod tests { fn undo_refuses_a_row_whose_manifest_path_leaves_the_backup_folder() { let f = fixture(); write(&f, "outside/transaction.json", "{}"); - for path in [ + for (i, path) in [ "../outside/transaction.json", ".harness/backups/../../outside/transaction.json", ".harness/harness.db", "outside/transaction.json", ".harness/backups/a/b/transaction.json", - ] { - let mut row = record(&f, "evil", "2026-11-01T10:00:00.000Z"); + ] + .iter() + .enumerate() + { + let id = format!("evil{i}"); + let mut row = record(&f, &id, "2026-11-01T10:00:00.000Z"); row.manifest_path = path.to_string(); record_transaction_at(&f.db, row).unwrap(); - let error = undo_change_at(&f.db, f.home.path(), "evil").unwrap_err(); + let error = undo_change_at(&f.db, f.home.path(), &id).unwrap_err(); assert!(error.contains("outside the app's backup folder"), "{path}: {error}"); } } @@ -702,8 +755,9 @@ mod tests { let db = crate::db::init(data.path()).unwrap(); let mut row = record(&f, "copy1", "2026-11-03T09:00:00.000Z"); row.copied_from = Some("claude-code".to_string()); + write_manifest(&f, "copy1", "committed"); - record_transaction_audited(&db, &f.db, row).unwrap(); + record_transaction_audited(&db, f.home.path(), &f.db, row).unwrap(); let rows = audit_rows(&db); assert_eq!(rows.len(), 1); @@ -726,11 +780,91 @@ mod tests { let f = fixture(); let data = tempfile::tempdir().unwrap(); let db = crate::db::init(data.path()).unwrap(); - record_transaction_audited(&db, &f.db, record(&f, "page-save", "2026-11-03T09:00:00.000Z")).unwrap(); + record_transaction_audited(&db, f.home.path(), &f.db, record(&f, "page-save", "2026-11-03T09:00:00.000Z")).unwrap(); assert!(audit_rows(&db).is_empty()); assert_eq!(list_transactions_at(&f.db, None).unwrap().len(), 1); } + fn write_manifest(f: &Fixture, id: &str, status: &str) { + let manifest = serde_json::json!({ + "version": 2, "timestamp": id, "status": status, + "changes": [{ "root": "home", "path": ".claude.json", "before": null, "after": "{}" }], + }); + write(f, &format!(".harness/backups/{id}/transaction.json"), &manifest.to_string()); + } + + fn copy_row(f: &Fixture, id: &str) -> TransactionRecord { + let mut row = record(f, id, "2026-11-03T09:00:00.000Z"); + row.copied_from = Some("claude-code".to_string()); + row + } + + fn assert_refused_and_unlogged(f: &Fixture, row: TransactionRecord) { + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + assert!(record_transaction_audited(&db, f.home.path(), &f.db, row).is_err()); + assert!(audit_rows(&db).is_empty()); + assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); + } + + #[test] + fn a_copy_with_no_manifest_on_disk_is_refused_and_unlogged() { + let f = fixture(); + assert_refused_and_unlogged(&f, copy_row(&f, "forged")); + } + + #[test] + fn a_copy_whose_manifest_is_not_committed_is_refused_and_unlogged() { + for status in ["prepared", "rolled-back"] { + let f = fixture(); + write_manifest(&f, "half", status); + assert_refused_and_unlogged(&f, copy_row(&f, "half")); + } + } + + #[test] + fn a_copy_cannot_borrow_another_transactions_manifest() { + let f = fixture(); + write_manifest(&f, "real", "committed"); + let mut row = copy_row(&f, "forged"); + row.manifest_path = ".harness/backups/real/transaction.json".to_string(); + assert_refused_and_unlogged(&f, row); + } + + #[test] + fn surfaces_the_registry_does_not_know_are_refused() { + let f = fixture(); + write_manifest(&f, "c1", "committed"); + let mut from = copy_row(&f, "c1"); + from.copied_from = Some("not-a-surface".to_string()); + assert_refused_and_unlogged(&f, from); + let mut to = copy_row(&f, "c1"); + to.surfaces = vec!["codex".to_string(), "evil".to_string()]; + assert_refused_and_unlogged(&f, to); + // A plain page-save record names surfaces too, so the check is not copy-only. + let mut plain = record(&f, "c1", "2026-11-03T09:00:00.000Z"); + plain.surfaces = vec!["evil".to_string()]; + assert_refused_and_unlogged(&f, plain); + } + + #[test] + fn a_record_naming_more_surfaces_than_exist_is_refused() { + let f = fixture(); + let mut row = record(&f, "many", "2026-11-03T09:00:00.000Z"); + row.surfaces = vec!["codex".to_string(); 33]; + assert_refused_and_unlogged(&f, row); + } + + #[test] + fn every_registry_surface_id_is_accepted() { + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + let mut row = record(&f, "all", "2026-11-03T09:00:00.000Z"); + row.surfaces = SURFACE_IDS.iter().map(|s| s.to_string()).collect(); + record_transaction_audited(&db, f.home.path(), &f.db, row).unwrap(); + } + #[test] fn a_malformed_source_surface_refuses_the_record_and_logs_nothing() { let f = fixture(); @@ -739,7 +873,7 @@ mod tests { for bad in ["", "a b", "x\ny", &"z".repeat(65), "Copied everything"] { let mut row = record(&f, "bad", "2026-11-03T09:00:00.000Z"); row.copied_from = Some(bad.to_string()); - assert!(record_transaction_audited(&db, &f.db, row).is_err(), "{bad:?}"); + assert!(record_transaction_audited(&db, f.home.path(), &f.db, row).is_err(), "{bad:?}"); } assert!(audit_rows(&db).is_empty()); assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); @@ -758,7 +892,7 @@ mod tests { #[test] fn the_copy_source_survives_the_ledger_round_trip() { let f = fixture(); - commit(&f, "a", "2026-11-01T10:00:00.000Z", ".claude.json", Some("{}"), "{\"a\":1}"); + write_manifest(&f, "a", "committed"); let mut row = record(&f, "a", "2026-11-01T10:00:00.000Z"); row.copied_from = Some("claude-code".to_string()); record_transaction_at(&f.db, row).unwrap(); diff --git a/apps/desktop/src-tauri/src/commands/harness_state.rs b/apps/desktop/src-tauri/src/commands/harness_state.rs index 3b87fa18..f4259d43 100644 --- a/apps/desktop/src-tauri/src/commands/harness_state.rs +++ b/apps/desktop/src-tauri/src/commands/harness_state.rs @@ -240,6 +240,8 @@ fn migrate_locked(conn: &Connection) -> Result<(), String> { const MAX_FIELD_BYTES: usize = 4096; /// Most entries accepted in any one list field. const MAX_LIST_ENTRIES: usize = 256; +/// Most surfaces one record may name. +const MAX_SURFACES: usize = 32; /// Bound what a webview can put in the ledger. /// @@ -263,6 +265,12 @@ fn validate_record(record: &TransactionRecord) -> Result<(), String> { if record.transaction_id.trim().is_empty() { return Err("transactionId must not be empty".to_string()); } + // The registry holds 11 surfaces and a record names each at most once, so + // 32 leaves room for growth while refusing a padded list. The generic + // 256-entry cap above already bounds identityKeys. + if record.surfaces.len() > MAX_SURFACES { + return Err(format!("surfaces exceeds {} entries", MAX_SURFACES)); + } for (name, list) in [ ("roots", &record.roots), ("surfaces", &record.surfaces), @@ -678,7 +686,8 @@ pub fn record_transaction( db: tauri::State<'_, crate::db::Db>, record: TransactionRecord, ) -> Result<(), String> { - record_transaction_audited(&db, &state_path()?, record) + let home = dirs::home_dir().ok_or("Could not resolve home directory")?; + record_transaction_audited(&db, &home, &state_path()?, record) } /// {@link record_transaction_at}, plus the audit entry a Machine copy owes. @@ -689,10 +698,17 @@ pub fn record_transaction( /// whole record rather than logging something the app did not do. pub(crate) fn record_transaction_audited( db: &crate::db::Db, + home: &std::path::Path, path: &std::path::Path, record: TransactionRecord, ) -> Result<(), String> { + // The webview is not trusted: every surface id must be one the registry + // declares, and a copy must be backed by a committed manifest on disk. + super::changes::check_surfaces(&record)?; let audit = super::changes::copy_audit_entry(&record)?; + if audit.is_some() { + super::changes::require_committed_manifest(home, &record)?; + } record_transaction_at(path, record)?; if let Some(entry) = audit { super::security::log_audit( @@ -727,28 +743,54 @@ pub(crate) fn record_transaction_at( let roots = serde_json::to_string(&record.roots) .map_err(|e| format!("Failed to serialize roots: {}", e))?; - conn.execute( - "INSERT INTO transactions - (transaction_id, applied_at, roots, manifest_path, manifest_root, backup_dir, payload) - VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7) - ON CONFLICT(transaction_id) DO UPDATE SET - applied_at = excluded.applied_at, - roots = excluded.roots, - manifest_path = excluded.manifest_path, - manifest_root = excluded.manifest_root, - backup_dir = excluded.backup_dir, - payload = excluded.payload", - rusqlite::params![ - record.transaction_id, - record.applied_at, - roots, - record.manifest_path, - record.manifest_root, - record.backup_dir, - payload - ], - ) - .map_err(|e| format!("Failed to record transaction: {}", e))?; + // A row is written once. The old upsert let any later call rewrite a real + // row's surfaces, kinds or source, which changes what the Changes list + // tells the user happened. Legitimate callers record each apply exactly + // once (core's `recordAppliedTransaction`), so a repeat is either an + // identical retry, which passes, or an overwrite, which does not. + let inserted = conn + .execute( + "INSERT INTO transactions + (transaction_id, applied_at, roots, manifest_path, manifest_root, backup_dir, payload) + VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7) + ON CONFLICT(transaction_id) DO NOTHING", + rusqlite::params![ + record.transaction_id, + record.applied_at, + roots, + record.manifest_path, + record.manifest_root, + record.backup_dir, + payload + ], + ) + .map_err(|e| format!("Failed to record transaction: {}", e))?; + if inserted == 0 { + let same: i64 = conn + .query_row( + "SELECT COUNT(*) FROM transactions + WHERE transaction_id = ?1 AND applied_at = ?2 AND roots = ?3 + AND manifest_path = ?4 AND manifest_root = ?5 AND backup_dir = ?6 + AND payload = ?7", + rusqlite::params![ + record.transaction_id, + record.applied_at, + roots, + record.manifest_path, + record.manifest_root, + record.backup_dir, + payload + ], + |row| row.get(0), + ) + .map_err(|e| format!("Failed to check the existing transaction: {}", e))?; + if same == 0 { + return Err(format!( + "Transaction {} is already recorded with different contents", + record.transaction_id + )); + } + } Ok(()) } @@ -1112,15 +1154,31 @@ mod tests { } #[test] - fn is_idempotent_on_the_same_transaction_id() { + fn re_recording_an_identical_row_is_a_no_op() { let path = scratch("idempotent"); record_transaction_at(&path, record("dup")).unwrap(); - let mut second = record("dup"); - second.surfaces = vec!["codex".to_string()]; - record_transaction_at(&path, second).unwrap(); - let listed = list_transactions_at(&path, None).unwrap(); - assert_eq!(listed.len(), 1); - assert_eq!(listed[0].surfaces, vec!["codex".to_string()]); + record_transaction_at(&path, record("dup")).unwrap(); + assert_eq!(list_transactions_at(&path, None).unwrap().len(), 1); + std::fs::remove_file(&path).ok(); + } + + #[test] + fn a_different_payload_for_an_existing_transaction_id_is_refused() { + let path = scratch("overwrite"); + record_transaction_at(&path, record("dup")).unwrap(); + let first = list_transactions_at(&path, None).unwrap(); + let mut forged = record("dup"); + forged.surfaces = vec!["codex".to_string()]; + forged.copied_from = Some("claude-code".to_string()); + assert!(record_transaction_at(&path, forged).unwrap_err().contains("already recorded")); + let mut moved = record("dup"); + moved.manifest_path = ".harness/backups/other/transaction.json".to_string(); + assert!(record_transaction_at(&path, moved).is_err()); + let after = list_transactions_at(&path, None).unwrap(); + assert_eq!(after.len(), 1); + assert_eq!(after[0].surfaces, first[0].surfaces); + assert_eq!(after[0].copied_from, first[0].copied_from); + assert_eq!(after[0].manifest_path, first[0].manifest_path); std::fs::remove_file(&path).ok(); } diff --git a/apps/desktop/src/lib/__tests__/surface-ids-rust.test.ts b/apps/desktop/src/lib/__tests__/surface-ids-rust.test.ts new file mode 100644 index 00000000..98062653 --- /dev/null +++ b/apps/desktop/src/lib/__tests__/surface-ids-rust.test.ts @@ -0,0 +1,19 @@ +import { readFileSync } from "node:fs"; +import { join } from "node:path"; +import { describe, expect, it } from "vitest"; +import { SURFACE_IDS } from "@harness-kit/core"; + +/** + * `record_transaction` validates surface ids in Rust against a copy of the + * registry's list (changes.rs `SURFACE_IDS`). A drifted copy would refuse a + * real surface's ledger row or accept an invented one. + */ +describe("Rust surface id list", () => { + it("matches the surface registry", () => { + const source = readFileSync(join(process.cwd(), "src-tauri", "src", "commands", "changes.rs"), "utf8"); + const block = /SURFACE_IDS: \[&str; \d+\] = \[([^\]]*)\]/.exec(source); + expect(block).not.toBeNull(); + const ids = [...block![1].matchAll(/"([^"]+)"/g)].map((m) => m[1]); + expect([...ids].sort()).toEqual([...SURFACE_IDS].sort()); + }); +}); From 08ee6fc4766837b48568da4980cac5902932e2b3 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:31:52 -0500 Subject: [PATCH 11/16] fix: instructions copies match and never nest; secrets compile as references; note the moved harness.yaml Instruction files digest as their harness:sync block when they have one, and copies write a fixed per-scope block, so a copied row reads as the same and copying back can't nest. Generate writes secret env and header values as ${NAME} references and compile refuses a literal . Drift and Profile say when ~/harness.yaml exists but ~/.claude/harness.yaml doesn't. Grid header badges sit under the label so it stays readable at 1024px. Co-Authored-By: Claude Opus 5.5 --- .../src-tauri/src/commands/harness_file.rs | 36 +++++++++++ apps/desktop/src/lib/legacy-harness-notice.ts | 3 + apps/desktop/src/lib/tauri.ts | 2 + apps/desktop/src/pages/drift/DriftPage.tsx | 17 +++++ apps/desktop/src/pages/drift/DriftView.tsx | 11 +++- .../pages/drift/__tests__/DriftPage.test.tsx | 21 +++++++ .../src/pages/harness/HarnessFilePage.tsx | 16 +++++ .../__tests__/HarnessFilePage.test.tsx | 19 +++--- .../desktop/src/pages/machine/MachineGrid.tsx | 27 +++++--- apps/desktop/src/pages/machine/RowDrawer.tsx | 23 +++++-- .../machine/__tests__/MachineGrid.test.tsx | 14 +++++ .../core/__tests__/apply-cell-action.test.ts | 63 +++++++++++++++++++ .../core/__tests__/import-inventory.test.ts | 19 +++++- packages/core/__tests__/mcp-servers.test.ts | 25 ++++++++ packages/core/__tests__/normalize.test.ts | 20 ++++++ packages/core/__tests__/write-store.test.ts | 30 ++++++++- .../core/src/adapters/opencode/config-file.ts | 2 + packages/core/src/compile/markers.ts | 41 ++++++++++++ packages/core/src/compile/mcp-servers.ts | 28 +++++++++ packages/core/src/import/import-inventory.ts | 39 ++++++++++-- packages/core/src/observe/normalize.ts | 10 ++- packages/core/src/write/plan-cell-action.ts | 8 +++ packages/core/src/write/write-store.ts | 38 ++++++++--- 23 files changed, 471 insertions(+), 41 deletions(-) create mode 100644 apps/desktop/src/lib/legacy-harness-notice.ts diff --git a/apps/desktop/src-tauri/src/commands/harness_file.rs b/apps/desktop/src-tauri/src/commands/harness_file.rs index ffe4462d..f30b93d7 100644 --- a/apps/desktop/src-tauri/src/commands/harness_file.rs +++ b/apps/desktop/src-tauri/src/commands/harness_file.rs @@ -14,6 +14,10 @@ pub struct HarnessFileResult { pub found: bool, pub content: Option, pub path: Option, + /// True when `~/.claude/harness.yaml` is absent but a file sits at + /// `~/harness.yaml`, where older builds read it. A boolean only: that file + /// is never read. + pub legacy_home_file: bool, } #[tauri::command] @@ -52,13 +56,21 @@ fn read_harness_file_in(home_raw: &Path) -> Result { found: true, content: Some(content), path: Some(display_path), + legacy_home_file: false, }); } + // Existence only, so the UI can say the file is where it no longer looks. + // Its content is never read. + let legacy_home_file = std::fs::symlink_metadata(home.join("harness.yaml")) + .map(|m| m.is_file()) + .unwrap_or(false); + Ok(HarnessFileResult { found: false, content: None, path: None, + legacy_home_file, }) } @@ -126,6 +138,30 @@ mod tests { assert!(result.content.is_none()); } + #[test] + fn read_harness_file_reports_a_home_root_file_as_existence_only() { + let dir = TempDir::new().unwrap(); + std::fs::write(dir.path().join("harness.yaml"), "secret: x\n").unwrap(); + let result = read_harness_file_in(dir.path()).unwrap(); + assert!(result.legacy_home_file); + // Existence only: the content is never read or returned. + assert!(result.content.is_none()); + let json = serde_json::to_string(&result).unwrap(); + assert!(!json.contains("secret")); + } + + #[test] + fn read_harness_file_reports_no_legacy_file_when_claude_dir_has_one_or_none_exists() { + let dir = TempDir::new().unwrap(); + assert!(!read_harness_file_in(dir.path()).unwrap().legacy_home_file); + std::fs::write(dir.path().join("harness.yaml"), "a: 1\n").unwrap(); + std::fs::create_dir(dir.path().join(".claude")).unwrap(); + std::fs::write(dir.path().join(".claude/harness.yaml"), "b: 2\n").unwrap(); + let result = read_harness_file_in(dir.path()).unwrap(); + assert!(result.found); + assert!(!result.legacy_home_file); + } + #[test] fn write_harness_file_creates_claude_dir_and_file() { let dir = TempDir::new().unwrap(); diff --git a/apps/desktop/src/lib/legacy-harness-notice.ts b/apps/desktop/src/lib/legacy-harness-notice.ts new file mode 100644 index 00000000..686d6b92 --- /dev/null +++ b/apps/desktop/src/lib/legacy-harness-notice.ts @@ -0,0 +1,3 @@ +/** Shown by Drift and Profile when the personal file sits where the app no longer reads it. */ +export const LEGACY_HARNESS_NOTICE = + "Found ~/harness.yaml. Harness Kit now reads ~/.claude/harness.yaml; move the file there."; diff --git a/apps/desktop/src/lib/tauri.ts b/apps/desktop/src/lib/tauri.ts index 91a44ba2..24186c1c 100644 --- a/apps/desktop/src/lib/tauri.ts +++ b/apps/desktop/src/lib/tauri.ts @@ -128,6 +128,8 @@ export interface HarnessFileResult { found: boolean; content: string | null; path: string | null; + /** A file sits at ~/harness.yaml and none at ~/.claude/harness.yaml. Existence only; never read. */ + legacy_home_file?: boolean; } export async function readHarnessFile(): Promise { diff --git a/apps/desktop/src/pages/drift/DriftPage.tsx b/apps/desktop/src/pages/drift/DriftPage.tsx index f6319524..f44d775b 100644 --- a/apps/desktop/src/pages/drift/DriftPage.tsx +++ b/apps/desktop/src/pages/drift/DriftPage.tsx @@ -19,6 +19,7 @@ import { migrateDriftAcknowledgements, unacknowledgeDriftItem, getAcknowledgedDriftItems, + readHarnessFile, } from "../../lib/tauri"; import { errorDetails } from "../../lib/error-details"; import { appDataDir, join as joinPath } from "@tauri-apps/api/path"; @@ -27,6 +28,15 @@ import { useProjectDir } from "../../lib/project-dir"; export type { DriftSummary }; +/** Existence of ~/harness.yaml, reported by the Rust side as a boolean; the file is never read. */ +async function hasLegacyHomeFile(): Promise { + try { + return (await readHarnessFile()).legacy_home_file === true; + } catch { + return false; + } +} + export interface DriftPageProps { /** Rendered inside the Machine view (AC-18) rather than as a page. */ embedded?: boolean; @@ -53,6 +63,7 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp const [portability, setPortability] = useState(null); const [scanned, setScanned] = useState(false); const [scopeStatuses, setScopeStatuses] = useState([]); + const [legacyHomeFile, setLegacyHomeFile] = useState(false); // The app's one toast stack (AppLayout's ToastProvider, always-mounted live region). const pushToast = useToast(); @@ -87,6 +98,11 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp if (seq !== loadSeq.current) return; setEntries(collected); setScopeStatuses(statuses); + setLegacyHomeFile( + statuses.some((s) => s.scope.kind === "global" && s.state === "no-file") && + (await hasLegacyHomeFile()), + ); + if (seq !== loadSeq.current) return; setPortability(portabilitySnapshot); setAcknowledged( new Set(ackRows.map((a) => [a.scopeRoot, a.adapter, a.path, a.harnessName, a.slot].join("::"))), @@ -174,6 +190,7 @@ export default function DriftPage({ embedded = false, onSummary }: DriftPageProp onRescan={load} portability={portability} scopeStatuses={scopeStatuses} + legacyHomeFile={legacyHomeFile} /> @@ -90,6 +94,7 @@ export function DriftView({ onRescan, portability = null, scopeStatuses = [], + legacyHomeFile = false, }: DriftViewProps) { const visible = filteredEntries.filter((e) => showAcknowledged || !acknowledged.has(driftItemKey(e.scope, e.item))); @@ -148,7 +153,7 @@ export function DriftView({ // Some scope has no usable or no deployed harness.yaml: saying "no // drift" would claim a comparison that never happened (AC-55). <> - + @@ -194,7 +199,7 @@ export function DriftView({ {error && } - + diff --git a/apps/desktop/src/pages/drift/__tests__/DriftPage.test.tsx b/apps/desktop/src/pages/drift/__tests__/DriftPage.test.tsx index 639ee073..478c9719 100644 --- a/apps/desktop/src/pages/drift/__tests__/DriftPage.test.tsx +++ b/apps/desktop/src/pages/drift/__tests__/DriftPage.test.tsx @@ -65,7 +65,9 @@ vi.mock("../../../lib/tauri", () => ({ unacknowledgeDriftItem: vi.fn(), getAcknowledgedDriftItems: () => mockGetAcknowledgedDriftItems(), migrateDriftAcknowledgements: vi.fn(() => Promise.resolve(0)), + readHarnessFile: () => mockReadHarnessFile(), })); +const mockReadHarnessFile = vi.fn(); function renderPage() { return render( @@ -85,6 +87,7 @@ describe("DriftPage", () => { mockValidateHarness.mockReturnValue({ valid: true }); mockGetAcknowledgedDriftItems.mockResolvedValue([]); mockGrantProjectScope.mockResolvedValue(undefined); + mockReadHarnessFile.mockResolvedValue({ found: false, content: null, path: null }); }); it("shows the empty state when there is no drift", async () => { @@ -107,6 +110,24 @@ describe("DriftPage", () => { expect(mockDetectDrift).not.toHaveBeenCalled(); }); + it("tells the user to move ~/harness.yaml when only that file exists", async () => { + absentPaths.add("/home/user/.claude/harness.yaml"); + mockReadHarnessFile.mockResolvedValue({ found: false, content: null, path: null, legacy_home_file: true }); + mockDetectDrift.mockResolvedValue(EMPTY); + renderPage(); + expect(await screen.findByTestId("drift-scope-notes")).toHaveTextContent( + "Found ~/harness.yaml. Harness Kit now reads ~/.claude/harness.yaml; move the file there.", + ); + }); + + it("shows no move notice when ~/.claude/harness.yaml exists", async () => { + mockReadHarnessFile.mockResolvedValue({ found: false, content: null, path: null, legacy_home_file: true }); + mockDetectDrift.mockResolvedValue(EMPTY); + renderPage(); + await screen.findByText("No drift detected"); + expect(screen.queryByText(/Found ~\/harness.yaml/)).not.toBeInTheDocument(); + }); + it("says 'could not read' when the file exists but cannot be read", async () => { unreadablePaths.add("/home/user/.claude/harness.yaml"); mockDetectDrift.mockResolvedValue(EMPTY); diff --git a/apps/desktop/src/pages/harness/HarnessFilePage.tsx b/apps/desktop/src/pages/harness/HarnessFilePage.tsx index 1166dfba..7f1060e3 100644 --- a/apps/desktop/src/pages/harness/HarnessFilePage.tsx +++ b/apps/desktop/src/pages/harness/HarnessFilePage.tsx @@ -3,6 +3,7 @@ import { useNavigate } from "react-router-dom"; import { Button, Card, ErrorNotice, Input } from "@harness-kit/ui"; import { writeHarnessFile, saveCustomProfile } from "../../lib/tauri"; import { describeHarnessSource, readHarnessSource } from "../../lib/harness-source"; +import { LEGACY_HARNESS_NOTICE } from "../../lib/legacy-harness-notice"; import { projectDirLabel, useProjectDir } from "../../lib/project-dir"; import { importPersonalHarness } from "../../lib/personal-inventory"; import { parseHarness, validateHarnessYaml } from "@harness-kit/core"; @@ -37,6 +38,9 @@ export default function HarnessFilePage() { const [filePath, setFilePath] = useState(null); const [view, setView] = useState("formatted"); + // A file at ~/harness.yaml with none at ~/.claude/harness.yaml (existence only). + const [legacyHomeFile, setLegacyHomeFile] = useState(false); + // Editor state const [editorContent, setEditorContent] = useState(""); const [saving, setSaving] = useState(false); @@ -71,12 +75,14 @@ export default function HarnessFilePage() { .then((result) => { if (generation !== loadGeneration.current) return; setFound(result.found); + setLegacyHomeFile(result.legacy_home_file === true); setDiskContent(result.content); setFilePath(result.path); }) .catch((e) => { if (generation !== loadGeneration.current) return; setFound(false); + setLegacyHomeFile(false); setDiskContent(null); setFilePath(null); setFetchError(errorDetails(e)); @@ -400,6 +406,16 @@ export default function HarnessFilePage() { )} + {!loading && !fetchError && !found && !readOnly && legacyHomeFile && ( +

+ {LEGACY_HARNESS_NOTICE} +

+ )} + {!loading && !fetchError && !found && !readOnly && view !== "editor" && (

diff --git a/apps/desktop/src/pages/harness/__tests__/HarnessFilePage.test.tsx b/apps/desktop/src/pages/harness/__tests__/HarnessFilePage.test.tsx index af658e88..34d367b2 100644 --- a/apps/desktop/src/pages/harness/__tests__/HarnessFilePage.test.tsx +++ b/apps/desktop/src/pages/harness/__tests__/HarnessFilePage.test.tsx @@ -126,14 +126,19 @@ describe("HarnessFilePage", () => { ); }); - it("sends no digest when the page loaded ~/harness.yaml, since the write target was absent (AC-50)", async () => { - mockReadHarnessFile.mockResolvedValue({ found: true, content: 'version: "1"\n', path: "~/harness.yaml" }); - mockWriteHarnessFile.mockResolvedValue("~/.claude/harness.yaml"); + it("tells the user a ~/harness.yaml needs moving when ~/.claude/harness.yaml is absent", async () => { + mockReadHarnessFile.mockResolvedValue({ found: false, content: null, path: null, legacy_home_file: true }); renderPage(); - fireEvent.click(await screen.findByText("Editor")); - fireEvent.change(await screen.findByTestId("fake-editor"), { target: { value: "edited\n" } }); - fireEvent.keyDown(window, { key: "s", metaKey: true }); - await waitFor(() => expect(mockWriteHarnessFile).toHaveBeenCalledWith("edited\n", undefined)); + expect(await screen.findByTestId("legacy-harness-notice")).toHaveTextContent( + "Found ~/harness.yaml. Harness Kit now reads ~/.claude/harness.yaml; move the file there.", + ); + }); + + it("shows no legacy notice when there is no file at ~/harness.yaml", async () => { + mockReadHarnessFile.mockResolvedValue({ found: false, content: null, path: null }); + renderPage(); + await screen.findByText("No harness.yaml found"); + expect(screen.queryByTestId("legacy-harness-notice")).not.toBeInTheDocument(); }); it("names a changed-on-disk refusal and offers Reload from disk (AC-50)", async () => { diff --git a/apps/desktop/src/pages/machine/MachineGrid.tsx b/apps/desktop/src/pages/machine/MachineGrid.tsx index 90de142e..dd5559e1 100644 --- a/apps/desktop/src/pages/machine/MachineGrid.tsx +++ b/apps/desktop/src/pages/machine/MachineGrid.tsx @@ -261,13 +261,24 @@ export function MachineGrid({ ...(detected ? {} : { opacity: 0.45 }), }} > - - - {surfaceLabel(id)} - + {/* The label owns its line, so a narrow column never cuts it to + make room for the badges; they sit on their own line below. */} +
+ {surfaceLabel(id)} +
+
0 || marketplaces !== null ? "flex" : "none", + alignItems: "center", + justifyContent: "center", + flexWrap: "wrap", + gap: 4, + marginTop: 2, + }} + > {skipped > 0 && ( )} - +
{!detected && (
{view.plan.overwrites === undefined ? ( @@ -584,11 +586,20 @@ function RowActions({ // action was deferred from M2 because a one-click copy would // silently pick a winner. - {surfaceLabel(target as SurfaceId)} already has this. Applying replaces its - version:{" "} - {view.plan.overwrites - .map((delta) => `${delta.path} (${delta.kind})`) - .join(", ")} + {row.kind === "instructions" ? ( + <> + {surfaceLabel(target as SurfaceId)} already has a Harness Kit block here. + Applying updates that block; text outside it stays. + + ) : ( + <> + {surfaceLabel(target as SurfaceId)} already has this. Applying replaces its + version:{" "} + {view.plan.overwrites + .map((delta) => `${delta.path} (${delta.kind})`) + .join(", ")} + + )} )} diff --git a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx index deb9e771..098ebb70 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachineGrid.test.tsx @@ -155,6 +155,20 @@ describe("MachineGrid column labels at narrow widths (2c.12)", () => { expect(label.style.overflow).toBe("hidden"); expect(screen.getByTestId("machine-grid").style.tableLayout).toBe("fixed"); }); + + it("puts badges on their own line so they never take room from the label", () => { + renderGrid(); + const badges = screen.getAllByTestId(/^surface-marketplaces-/); + expect(badges.length).toBeGreaterThan(0); + for (const badge of badges) { + const id = badge.getAttribute("data-testid")!.replace("surface-marketplaces-", ""); + const label = screen.getByTestId(`surface-label-${id}`); + expect(label.contains(badge)).toBe(false); + // The badge's container is a separate block below the label, not the label's own row. + expect(badge.parentElement).not.toBe(label.parentElement); + expect(label.parentElement).toBe(screen.getByTestId(`surface-col-${id}`)); + } + }); }); describe("MachineGrid not-installed surfaces (AC-59)", () => { diff --git a/packages/core/__tests__/apply-cell-action.test.ts b/packages/core/__tests__/apply-cell-action.test.ts index 837caaab..4683e2c8 100644 --- a/packages/core/__tests__/apply-cell-action.test.ts +++ b/packages/core/__tests__/apply-cell-action.test.ts @@ -149,6 +149,69 @@ describe("instructions copy leaves no gap on rescan (AC-57)", () => { expect(after.gaps.find((g) => g.row === "instructions:user instructions")).toBeUndefined(); }); + const copy = async ( + fs: MockFsProvider, + from: "claude-code" | "codex", + to: "claude-code" | "codex", + stamp: string, + ) => { + const planned = await planCellAction( + fs, + { kind: "instructions", name: "User instructions", from, to, scope: "user" }, + OPTS, + ); + const result = await applyCellAction(planned, context(fs, stamp), { homeRoot: "/home/user" }); + return { planned, result }; + }; + const userRow = async (fs: MockFsProvider) => + (await buildMachineInventory(fs, OPTS)).rows.find((r) => r.key === "instructions:user instructions")!; + const sync = (text: string) => (text.match(/BEGIN harness:sync/g) ?? []).length; + + it("copy into an empty target rescans as the same content, and a repeat is a no-op", async () => { + const fs = instructionsMachine(); + await copy(fs, "claude-code", "codex", "a"); + const row = await userRow(fs); + expect(row.cells.codex.status).toBe("present"); + expect(row.cells.codex.effectiveDigest).toBe(row.cells["claude-code"].effectiveDigest); + expect((await buildMachineInventory(fs, OPTS)).diffs).toEqual([]); + const again = await copy(fs, "claude-code", "codex", "b"); + expect(again.planned.noop).toBe(true); + }); + + it("copy into a target with its own prose keeps the prose and rescans as the same", async () => { + const fs = new MockFsProvider({ + ...instructionsMachine().getAllFiles(), + "/home/user/.codex/AGENTS.md": "# Codex notes\n\nMine.\n", + }); + await copy(fs, "claude-code", "codex", "a"); + const text = fs.getFile("/home/user/.codex/AGENTS.md")!; + expect(text).toContain("Mine."); + expect(text).toContain("BEGIN harness:sync:user-instructions"); + const row = await userRow(fs); + expect(row.cells.codex.effectiveDigest).toBe(row.cells["claude-code"].effectiveDigest); + expect((await copy(fs, "claude-code", "codex", "b")).planned.noop).toBe(true); + }); + + it("copying back and forth never nests blocks", async () => { + const fs = new MockFsProvider({ + ...instructionsMachine().getAllFiles(), + "/home/user/.codex/AGENTS.md": "# Beta\n", + }); + await copy(fs, "claude-code", "codex", "a"); + // Claude's own text changes; the codex copy is now the older one. + const edited = new MockFsProvider({ + ...fs.getAllFiles(), + "/home/user/.claude/CLAUDE.md": "# Alpha two\n", + }); + await copy(edited, "codex", "claude-code", "b"); + expect(sync(edited.getFile("/home/user/.claude/CLAUDE.md")!)).toBe(1); + await copy(edited, "claude-code", "codex", "c"); + const codex = edited.getFile("/home/user/.codex/AGENTS.md")!; + expect(sync(codex)).toBe(1); + expect(codex).toContain("# Beta"); + expect(codex.match(/END harness:sync/g)).toHaveLength(1); + }); + it("refuses a Project instructions row requested at user scope instead of writing the user file", async () => { const fs = new MockFsProvider({ "/home/user/.codex/config.toml": 'model = "gpt-5"\n', diff --git a/packages/core/__tests__/import-inventory.test.ts b/packages/core/__tests__/import-inventory.test.ts index 3e097204..5f497ec1 100644 --- a/packages/core/__tests__/import-inventory.test.ts +++ b/packages/core/__tests__/import-inventory.test.ts @@ -17,6 +17,11 @@ const CLAUDE_JSON = JSON.stringify({ env: { GITHUB_TOKEN: "ghp_abcdefghijklmnopqrstuvwxyz0123456789", PORT: "5432" }, }, remote: { type: "http", url: "https://example.com/mcp" }, + authed: { + type: "http", + url: "https://authed.example.com/mcp", + headers: { Authorization: "Bearer ghp_abcdefghijklmnopqrstuvwxyz0123456789", "X-Region": "us" }, + }, }, }); const SETTINGS = JSON.stringify({ @@ -45,7 +50,7 @@ describe("importFromInventory (AC-56)", () => { .map((r) => r.name) .sort(); expect(Object.keys(result.harnessConfig["mcp-servers"] ?? {}).sort()).toEqual(gridServers); - expect(gridServers).toEqual(["github", "remote"]); + expect(gridServers).toEqual(["authed", "github", "remote"]); }); it("never reads the retired ~/.claude/mcp.json", async () => { @@ -58,16 +63,24 @@ describe("importFromInventory (AC-56)", () => { expect(result.inventory).toEqual(await buildMachineInventory(fs(), OPTS)); }); - it("writes stdio and network servers, with secrets replaced by the inventory's placeholder", async () => { + it("writes secrets as ${NAME} references, never the literal placeholder", async () => { const { harnessConfig, harnessYaml } = await importFromInventory(fs(), OPTS); const servers = harnessConfig["mcp-servers"]!; expect(servers.github).toMatchObject({ transport: "stdio", command: "npx", args: ["-y", "gh-mcp"] }); + // An env secret references the env var of the same name. expect((servers.github as { env: Record }).env).toEqual({ - GITHUB_TOKEN: "", + GITHUB_TOKEN: "${GITHUB_TOKEN}", PORT: "5432", }); + // A header secret gets a derived name, SERVER_HEADER, upper-snake-cased. The sanitizer + // replaces the whole header value, so a "Bearer " prefix is not recoverable here. + expect((servers.authed as { headers: Record }).headers).toEqual({ + Authorization: "${AUTHED_AUTHORIZATION}", + "X-Region": "us", + }); expect(servers.remote).toMatchObject({ transport: "http", url: "https://example.com/mcp" }); expect(harnessYaml).not.toContain("ghp_"); + expect(harnessYaml).not.toContain(""); }); it("carries Claude Code permissions", async () => { diff --git a/packages/core/__tests__/mcp-servers.test.ts b/packages/core/__tests__/mcp-servers.test.ts index 2ff0f626..2e577867 100644 --- a/packages/core/__tests__/mcp-servers.test.ts +++ b/packages/core/__tests__/mcp-servers.test.ts @@ -11,6 +11,31 @@ function makeConfig(servers: HarnessConfig["mcp-servers"] = {}): HarnessConfig { }; } +describe("compileMcpServers placeholder guard", () => { + it("refuses a literal env value, naming the server and key", async () => { + const config = makeConfig({ + github: { transport: "stdio", command: "npx", env: { GITHUB_TOKEN: "" } }, + }); + await expect(compileMcpServers(config, ["claude-code"], new MockFsProvider())).rejects.toThrow( + /'github'.*env\.GITHUB_TOKEN/, + ); + }); + + it("refuses a header value, and passes ${NAME} references through verbatim", async () => { + const bad = makeConfig({ + api: { transport: "http", url: "https://x.test/mcp", headers: { Authorization: "Bearer " } }, + }); + await expect(compileMcpServers(bad, ["claude-code"], new MockFsProvider())).rejects.toThrow( + /'api'.*headers\.Authorization/, + ); + const good = makeConfig({ + github: { transport: "stdio", command: "npx", env: { GITHUB_TOKEN: "${GITHUB_TOKEN}" } }, + }); + const { files } = await compileMcpServers(good, ["claude-code"], new MockFsProvider()); + expect(JSON.parse(files[0]!.content).mcpServers.github.env.GITHUB_TOKEN).toBe("${GITHUB_TOKEN}"); + }); +}); + describe("compileMcpServers", () => { it("creates MCP JSON files for each target", async () => { const fs = new MockFsProvider(); diff --git a/packages/core/__tests__/normalize.test.ts b/packages/core/__tests__/normalize.test.ts index 9db8d6e5..4853a5bb 100644 --- a/packages/core/__tests__/normalize.test.ts +++ b/packages/core/__tests__/normalize.test.ts @@ -419,6 +419,26 @@ describe("normalizeResource — instructions", () => { // The file stays visible as provenance. expect(make("AGENTS.md", "user").provenance.file).toBe("/somewhere/AGENTS.md"); }); + + it("a harness:sync block digests as its content, with or without the user's own prose", () => { + const make = (content: string) => + normalizeResource({ + surface: "codex", + kind: "instructions", + scope: "user", + name: "AGENTS.md", + value: { content }, + provenance: { file: "/h/AGENTS.md", formatId: "markdown-instructions" }, + }).digest; + const block = "\nBe kind.\n"; + expect(make(block)).toBe(make("Be kind.")); + expect(make(`# Mine\n\n${block}\n`)).toBe(make("Be kind.")); + // A block an older build named after the source file reads the same. + expect(make("\nBe kind.\n")).toBe( + make("Be kind."), + ); + expect(make(block)).not.toBe(make("Be rude.")); + }); }); describe("identity", () => { diff --git a/packages/core/__tests__/write-store.test.ts b/packages/core/__tests__/write-store.test.ts index d763e11a..53164916 100644 --- a/packages/core/__tests__/write-store.test.ts +++ b/packages/core/__tests__/write-store.test.ts @@ -152,10 +152,34 @@ describe("store write executors (AC-12, AC-13)", () => { const after = plan.changes[0]!.after!; expect(after).toContain("# My own notes"); expect(after).toContain("Keep me."); - expect(after).toContain("BEGIN harness:sync:house-style"); + // The slot is the scope's, not the source file's name. + expect(after).toContain("BEGIN harness:sync:user-instructions"); + expect(after).not.toContain("house-style"); expect(after).toContain("Use tabs."); }); + it("never nests: a source that carries a sync block copies only the block's content", async () => { + const fs = new MockFsProvider({ "/home/user/.codex/AGENTS.md": "mine\n" }); + const plan = await planStoreWrite( + fs, + store({ kind: "instructions", formatId: "markdown-instructions", path: ".codex/AGENTS.md" }), + "/home/user/.codex/AGENTS.md", + { + kind: "instructions", + name: "User instructions", + value: { + content: + "own prose\n\n\nUse tabs.\n\n", + }, + }, + ); + if (!plan.supported) throw new Error("expected supported"); + const after = plan.changes[0]!.after!; + expect(after.match(/BEGIN harness:sync/g)).toHaveLength(1); + expect(after).toContain("Use tabs."); + expect(after).not.toContain("own prose"); + }); + it("replaces an existing instruction block rather than appending a second", async () => { const fs = new MockFsProvider({ "/home/user/.claude/CLAUDE.md": @@ -171,7 +195,9 @@ describe("store write executors (AC-12, AC-13)", () => { const after = plan.changes[0]!.after!; expect(after).toContain("Use tabs."); expect(after).not.toContain("Use spaces."); - expect(after.match(/BEGIN harness:sync:house-style/g)).toHaveLength(1); + // A block an older build wrote under the source file's name moves onto the scope slot. + expect(after.match(/BEGIN harness:sync/g)).toHaveLength(1); + expect(after).toContain("BEGIN harness:sync:user-instructions"); }); it("removing one instruction block leaves a name-prefixed sibling intact", async () => { diff --git a/packages/core/src/adapters/opencode/config-file.ts b/packages/core/src/adapters/opencode/config-file.ts index 782ad71a..6a5d5390 100644 --- a/packages/core/src/adapters/opencode/config-file.ts +++ b/packages/core/src/adapters/opencode/config-file.ts @@ -3,6 +3,7 @@ import type { FileAction, HarnessConfig, McpServer } from "../../types.js"; import { readJsonOrDefault } from "../../utils/read-json.js"; import type { OpenCodeConfigFile, OpenCodeMcpEntry } from "./types.js"; import { buildOpenCodePermission } from "./permissions.js"; +import { assertNoSecretPlaceholder } from "../../compile/mcp-servers.js"; const OPENCODE_CONFIG_FILE = "opencode.json"; @@ -66,6 +67,7 @@ export async function compileOpenCodeConfigFile( const existingMcp = existing.mcp ?? {}; const mergedMcp: Record = { ...existingMcp }; for (const [name, server] of Object.entries(mcpServers)) { + assertNoSecretPlaceholder(name, server); if (name in existingMcp) { warnings.push( `${OPENCODE_CONFIG_FILE} already defines mcp server '${name}'. The reconciled harness definition will replace it.`, diff --git a/packages/core/src/compile/markers.ts b/packages/core/src/compile/markers.ts index 0986bd4e..805cc052 100644 --- a/packages/core/src/compile/markers.ts +++ b/packages/core/src/compile/markers.ts @@ -43,6 +43,47 @@ export function findMarkerBlock( return null; } +export interface SyncBlockLocation extends MarkerBlockLocation { + slot: string; +} + +/** + * The first `harness:sync:` block in a file, whatever its slot, or null. + * Cross-surface instruction copies write one; older copies used the source + * file's basename as the slot, so the slot is not assumed. + */ +export function findAnySyncBlock(fileContent: string): SyncBlockLocation | null { + const lines = fileContent.split("\n"); + const begin = /^$/; + for (let i = 0; i < lines.length; i++) { + const match = lines[i].trim().match(begin); + if (!match) continue; + const endTag = ``; + for (let j = i + 1; j < lines.length; j++) { + if (lines[j].trim() === endTag) { + return { + slot: match[1], + startLine: i, + endLine: j, + content: lines.slice(i + 1, j).join("\n"), + }; + } + } + } + return null; +} + +/** + * The instruction text a file carries for cross-surface comparison: the inside + * of its `harness:sync` block when it has one (the part a copy wrote and keeps + * current), else the whole file. A file with the user's own prose plus a block + * therefore compares as the block, so a copied row reads as the same as its + * source, and copying such a file onward never nests a block. + */ +export function syncedInstructionsContent(fileContent: string): string { + return findAnySyncBlock(fileContent)?.content ?? fileContent; +} + export function replaceMarkerBlock( fileContent: string, name: string, diff --git a/packages/core/src/compile/mcp-servers.ts b/packages/core/src/compile/mcp-servers.ts index e4fb7270..b3146487 100644 --- a/packages/core/src/compile/mcp-servers.ts +++ b/packages/core/src/compile/mcp-servers.ts @@ -7,6 +7,7 @@ import type { } from "../types.js"; import { readJsonOrDefault } from "../utils/read-json.js"; import { getTarget } from "./targets.js"; +import { SECRET_PLACEHOLDER } from "../observe/normalize.js"; export interface McpJsonEntry { type: string; @@ -43,6 +44,32 @@ export function translateServer(server: McpServer): McpJsonEntry { return entry; } +/** + * Refuse a server holding the inventory's `` placeholder in a value a + * server reads. It is a stand-in for a hidden credential, not a credential: + * emitting it would write a config that fails at connect time with no hint why. + */ +export function assertNoSecretPlaceholder(serverName: string, server: McpServer): void { + const fields: Array<[string, string]> = + server.transport === "stdio" + ? [ + ...Object.entries(server.env ?? {}).map(([k, v]): [string, string] => [`env.${k}`, v]), + ...(server.args ?? []).map((v, i): [string, string] => [`args[${i}]`, v]), + ] + : [ + ...Object.entries(server.headers ?? {}).map(([k, v]): [string, string] => [`headers.${k}`, v]), + ["url", server.url], + ]; + for (const [field, value] of fields) { + if (typeof value === "string" && value.includes(SECRET_PLACEHOLDER)) { + throw new Error( + `MCP server '${serverName}': ${field} is the placeholder ${SECRET_PLACEHOLDER}, not a value. ` + + `Set it to a \${NAME} reference or the real value in harness.yaml before compiling.`, + ); + } + } +} + export async function compileMcpServers( config: HarnessConfig, targets: SurfaceId[], @@ -60,6 +87,7 @@ export async function compileMcpServers( // Translate all servers const translated: Record = {}; for (const [name, server] of Object.entries(mcpServers)) { + assertNoSecretPlaceholder(name, server); translated[name] = translateServer(server); } diff --git a/packages/core/src/import/import-inventory.ts b/packages/core/src/import/import-inventory.ts index e7b56857..3b59ee27 100644 --- a/packages/core/src/import/import-inventory.ts +++ b/packages/core/src/import/import-inventory.ts @@ -5,7 +5,7 @@ import type { SurfaceDescriptor } from "../surfaces/types.js"; import { SURFACES } from "../surfaces/registry.js"; import { computeMachineInventory, type MachineInventory } from "../observe/machine-inventory.js"; import { observeAllSurfaces, type ObserveOptions } from "../observe/observe-surface.js"; -import { normalizeObservation, type NormalizedResource } from "../observe/normalize.js"; +import { normalizeObservation, SECRET_PLACEHOLDER, type NormalizedResource } from "../observe/normalize.js"; import { CURRENT_PROTOCOL_VERSION } from "../utils/protocol-version.js"; import { isRecord } from "../utils/is-record.js"; @@ -23,7 +23,37 @@ export interface InventoryImportResult { harnessYaml: string; } +function referenceName(raw: string): string { + return raw.replace(/[^A-Za-z0-9]+/g, "_").replace(/^_+|_+$/g, "").toUpperCase(); +} + +/** + * Replace the inventory's `` placeholder with a `${NAME}` reference so + * the written file never carries a value that would break the server. An env + * var uses its own key as NAME; a header uses `_
` because a + * header name is not an environment variable name. + */ +function referenceSecrets(values: Record, nameFor: (key: string) => string): Record { + return Object.fromEntries( + Object.entries(values).map(([key, value]) => [ + key, + typeof value === "string" ? value.replaceAll(SECRET_PLACEHOLDER, `\${${nameFor(key)}}`) : value, + ]), + ); +} + /** An MCP server's canonical form (observe/normalize.ts) back to a harness.yaml server, or null to skip it. */ +function toMcpServerNamed(serverName: string, form: unknown): McpServer | null { + const server = toMcpServer(form); + if (!server) return null; + if (server.transport === "stdio") { + return server.env ? { ...server, env: referenceSecrets(server.env, (key) => key) } : server; + } + return server.headers + ? { ...server, headers: referenceSecrets(server.headers, (key) => `${referenceName(serverName)}_${referenceName(key)}`) } + : server; +} + function toMcpServer(form: unknown): McpServer | null { if (!isRecord(form)) return null; // A disabled server is not part of the setup the grid reports as active; @@ -83,8 +113,9 @@ function toPermissions(resources: NormalizedResource[]): HarnessPermissions | un * "Generate from Claude Code setup" cannot disagree with the Machine grid. * * Covers MCP servers and permissions. Values are the inventory's - * secret-sanitized canonical forms: a credential-shaped value is written as - * ``, never verbatim. When the same server is on several surfaces the + * secret-sanitized canonical forms: a credential-shaped env or header value is + * written as a `${NAME}` reference, never verbatim and never as the literal + * `` placeholder (which would break the server once compiled). When the same server is on several surfaces the * first in registry order wins (project scope over user scope); the * inventory's `diffs` list the disagreements. */ @@ -102,7 +133,7 @@ export async function importFromInventory( const ordered = [...resources.filter((r) => r.scope === "project"), ...resources.filter((r) => r.scope !== "project")]; for (const resource of ordered) { if (resource.kind !== "mcp-server" || resource.name in mcpServers) continue; - const server = toMcpServer(resource.canonicalForm); + const server = toMcpServerNamed(resource.name, resource.canonicalForm); if (server) mcpServers[resource.name] = server; } const sortedServers = Object.fromEntries(Object.entries(mcpServers).sort(([a], [b]) => a.localeCompare(b))); diff --git a/packages/core/src/observe/normalize.ts b/packages/core/src/observe/normalize.ts index 9043e9a8..78fef1c3 100644 --- a/packages/core/src/observe/normalize.ts +++ b/packages/core/src/observe/normalize.ts @@ -3,6 +3,7 @@ import type { StoreFormatId, SurfaceId, SurfaceScope } from "../surfaces/types.j import { digestValue } from "../portability/resource-model.js"; import { looksLikeSecret, sanitizeCommandArgs, sanitizeUrl } from "../portability/secrets.js"; import { isRecord } from "../utils/is-record.js"; +import { syncedInstructionsContent } from "../compile/markers.js"; import type { ObservedResource, SurfaceObservation } from "./observe-surface.js"; import type { InstructionsStoreValue, SkillStoreValue } from "./read-store.js"; import type { PluginStoreValue } from "../codecs/plugin-shapes.js"; @@ -203,7 +204,14 @@ function canonicalizeInstructions(value: unknown): unknown { if (!isRecord(value)) return deepCanonical(value); const instructions = value as Partial; return { - content: typeof instructions.content === "string" ? normalizeText(instructions.content) : "", + // A file holding a `harness:sync` block compares as that block's content: + // the markers are Harness Kit's bookkeeping, and the user's own prose + // around them is not what a copy carries. Without this a copied row's + // digest differed from its source forever. + content: + typeof instructions.content === "string" + ? normalizeText(syncedInstructionsContent(instructions.content)) + : "", }; } diff --git a/packages/core/src/write/plan-cell-action.ts b/packages/core/src/write/plan-cell-action.ts index 59e234bf..01ca55e4 100644 --- a/packages/core/src/write/plan-cell-action.ts +++ b/packages/core/src/write/plan-cell-action.ts @@ -16,6 +16,7 @@ import type { SurfaceScope, } from "../surfaces/types.js"; import { isRecord } from "../utils/is-record.js"; +import { findAnySyncBlock } from "../compile/markers.js"; import { planStoreWrite, unsupportedKindReason } from "./write-store.js"; import { diffCanonicalForms } from "../observe/machine-inventory.js"; import type { FieldDelta } from "../observe/machine-inventory.js"; @@ -431,6 +432,13 @@ function diffAgainstExisting( value, provenance: { file: "", formatId: "json-generic" }, }).canonicalForm; + // An instructions copy writes a Harness Kit block and leaves the rest of the + // file alone. A target file with no such block loses nothing, so there is + // nothing to confirm; only an existing block's content is replaced. + if (kind === "instructions") { + const text = isRecord(existingValue) ? existingValue.content : undefined; + if (typeof text !== "string" || findAnySyncBlock(text) === null) return null; + } const deltas = diffCanonicalForms(canonical(existingValue), canonical(incomingValue)); return deltas.length > 0 ? deltas : null; } diff --git a/packages/core/src/write/write-store.ts b/packages/core/src/write/write-store.ts index 5aa0feb5..f5a91d99 100644 --- a/packages/core/src/write/write-store.ts +++ b/packages/core/src/write/write-store.ts @@ -1,7 +1,13 @@ import { translateServer } from "../adapters/opencode/config-file.js"; import { writeCodexMcp } from "../codecs/toml-codex.js"; import type { CodexMcpValue } from "../codecs/toml-codex.js"; -import { appendMarkerBlock, findMarkerBlock, replaceMarkerBlock } from "../compile/markers.js"; +import { + appendMarkerBlock, + buildMarkerBlock, + findAnySyncBlock, + findMarkerBlock, + syncedInstructionsContent, +} from "../compile/markers.js"; import { translateServer as translateMcpJson } from "../compile/mcp-servers.js"; import type { FsProvider } from "../fs-provider.js"; import type { HarnessResourceKind } from "../portability/types.js"; @@ -216,15 +222,20 @@ async function writeMarkdownInstructions( const before = await readBefore(fs, path); const current = before ?? ""; + // One block per file, named for the scope rather than the source file, so a + // copy from CLAUDE.md into AGENTS.md and back addresses the same block. + const slot = `${store.scope}-instructions`; if (edit.value === null) { - if (!findMarkerBlock(current, MARKER_NAME, edit.name)) { + // Blocks an older build wrote under the source file's name still count. + const removeSlot = findMarkerBlock(current, MARKER_NAME, slot) ? slot : edit.name; + if (!findMarkerBlock(current, MARKER_NAME, removeSlot)) { return { supported: true, changes: [] }; } // Exact marker match, not startsWith: removing "api" was stripping the // markers off "api-extra", turning managed content into unmanaged prose // and making the next sync append a duplicate block. - const beginTag = ``; - const endTag = ``; + const beginTag = ``; + const endTag = ``; const lines = current.split("\n"); const begin = lines.findIndex((line) => line.trim() === beginTag); const end = lines.findIndex((line, index) => index > begin && line.trim() === endTag); @@ -239,9 +250,22 @@ async function writeMarkdownInstructions( if (typeof value.content !== "string") { return unsupported(`instructions '${edit.name}' have no content to write.`); } - const after = findMarkerBlock(current, MARKER_NAME, edit.name) - ? replaceMarkerBlock(current, MARKER_NAME, edit.name, value.content) - : appendMarkerBlock(current, MARKER_NAME, edit.name, value.content); + // The source may itself carry a block (it was a copy target once); copy what + // the block holds, never the markers, so blocks do not nest. + const content = syncedInstructionsContent(value.content); + const existingBlock = findAnySyncBlock(current); + let after: string; + if (existingBlock) { + // Replace the block in place, moving a legacy-named one onto the scope slot. + const lines = current.split("\n"); + after = [ + ...lines.slice(0, existingBlock.startLine), + buildMarkerBlock(MARKER_NAME, slot, content), + ...lines.slice(existingBlock.endLine + 1), + ].join("\n"); + } else { + after = appendMarkerBlock(current, MARKER_NAME, slot, content); + } return { supported: true, changes: [{ path, before, after }] }; } From 70a0f14a6a50b71fe9799f5b0a2640eae8681a94 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:32:49 -0500 Subject: [PATCH 12/16] fix(core): the agent prompt for differing instructions asks to update only the harness block Co-Authored-By: Claude Opus 5.5 --- packages/core/__tests__/agent-prompt.test.ts | 22 ++++++++++++++++++++ packages/core/src/write/agent-prompt.ts | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/packages/core/__tests__/agent-prompt.test.ts b/packages/core/__tests__/agent-prompt.test.ts index e42c71f3..225a174a 100644 --- a/packages/core/__tests__/agent-prompt.test.ts +++ b/packages/core/__tests__/agent-prompt.test.ts @@ -118,4 +118,26 @@ describe("agent prompt generation (AC-11, AC-35, AC-22)", () => { expect(prompt).toContain("pg-mcp"); expect(prompt).toContain("5432"); }); + + it("asks only for the harness block when instructions differ, and keeps the target's own text", async () => { + const fs = new MockFsProvider({ + "/home/user/.claude/CLAUDE.md": "# House rules\n\nBe kind.\n", + "/home/user/.codex/config.toml": 'model = "gpt-5"\n', + "/home/user/.codex/AGENTS.md": + "# Codex notes\n\n\nOld rules.\n\n", + }); + const request = { + kind: "instructions" as const, + name: "User instructions", + from: "claude-code" as const, + to: "codex" as const, + scope: "user" as const, + }; + const plan = await planCellAction(fs, request, OPTS); + expect(plan.overwrites).toBeDefined(); + const prompt = buildAgentPrompt(plan, request); + expect(prompt).toContain("Update only that block"); + expect(prompt).toContain("leave the text outside it"); + expect(prompt).not.toContain("Replace its version"); + }); }); diff --git a/packages/core/src/write/agent-prompt.ts b/packages/core/src/write/agent-prompt.ts index 86f7171b..6c26b477 100644 --- a/packages/core/src/write/agent-prompt.ts +++ b/packages/core/src/write/agent-prompt.ts @@ -177,7 +177,9 @@ export function buildAgentPrompt( // that destroys work. plan.overwrites === undefined ? `It is already configured in ${source.label} and missing from ${target.label}. Reproduce it using ${target.label}'s own configuration — do not copy ${source.label}'s file format verbatim.` - : `${target.label} ALREADY has this, with different content. Replace its version with ${source.label}'s, using ${target.label}'s own configuration — do not copy ${source.label}'s file format verbatim.`, + : request.kind === "instructions" + ? `${target.label} ALREADY has a harness-managed instructions block with different content. Update only that block with ${source.label}'s instructions and leave the text outside it as it is.` + : `${target.label} ALREADY has this, with different content. Replace its version with ${source.label}'s, using ${target.label}'s own configuration — do not copy ${source.label}'s file format verbatim.`, "", `Target configuration: ${targetFile}`, `Scope: ${request.scope === "user" ? "user/global (applies everywhere)" : "this project only"}`, From 9883aedf353b073ce53cb68e9f9d425cca385ef1 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:38:48 -0500 Subject: [PATCH 13/16] fix(desktop): record transactions only for ids this session applied; log a copy once apply_surface_transaction remembers the ids it committed; record_transaction refuses any other id, so a hand-written manifest can no longer produce an audit entry. An identical replay inserts nothing and logs nothing. Co-Authored-By: Claude Opus 5.5 --- .../desktop/src-tauri/src/commands/changes.rs | 97 +++++++++++++++++-- .../src-tauri/src/commands/harness_state.rs | 21 +++- .../src-tauri/src/commands/surface_write.rs | 55 ++++++++++- apps/desktop/src-tauri/src/lib.rs | 1 + .../desktop/src/pages/machine/cell-actions.ts | 6 +- 5 files changed, 164 insertions(+), 16 deletions(-) diff --git a/apps/desktop/src-tauri/src/commands/changes.rs b/apps/desktop/src-tauri/src/commands/changes.rs index 467fa03c..16217117 100644 --- a/apps/desktop/src-tauri/src/commands/changes.rs +++ b/apps/desktop/src-tauri/src/commands/changes.rs @@ -458,10 +458,18 @@ fn undo_audit_entry(record: &TransactionRecord, files: &[String]) -> AuditDraft mod tests { use super::*; use crate::commands::harness_state::{record_transaction_at, record_transaction_audited}; - use crate::commands::surface_write::set_test_home; + use crate::commands::surface_write::{apply_and_note_commits, set_test_home, CommittedTransactions}; use std::fs; use std::path::PathBuf; + /// `record_transaction_audited` for a record whose apply "happened" in this + /// session: its id is in the committed set. + fn audited(db: &Db, f: &Fixture, row: TransactionRecord) -> Result<(), String> { + let committed = CommittedTransactions::default(); + committed.insert(&row.transaction_id); + record_transaction_audited(db, &committed, f.home.path(), &f.db, row) + } + struct Fixture { home: tempfile::TempDir, db: PathBuf, @@ -757,7 +765,7 @@ mod tests { row.copied_from = Some("claude-code".to_string()); write_manifest(&f, "copy1", "committed"); - record_transaction_audited(&db, f.home.path(), &f.db, row).unwrap(); + audited(&db, &f, row).unwrap(); let rows = audit_rows(&db); assert_eq!(rows.len(), 1); @@ -780,7 +788,7 @@ mod tests { let f = fixture(); let data = tempfile::tempdir().unwrap(); let db = crate::db::init(data.path()).unwrap(); - record_transaction_audited(&db, f.home.path(), &f.db, record(&f, "page-save", "2026-11-03T09:00:00.000Z")).unwrap(); + audited(&db, &f, record(&f, "page-save", "2026-11-03T09:00:00.000Z")).unwrap(); assert!(audit_rows(&db).is_empty()); assert_eq!(list_transactions_at(&f.db, None).unwrap().len(), 1); } @@ -802,7 +810,7 @@ mod tests { fn assert_refused_and_unlogged(f: &Fixture, row: TransactionRecord) { let data = tempfile::tempdir().unwrap(); let db = crate::db::init(data.path()).unwrap(); - assert!(record_transaction_audited(&db, f.home.path(), &f.db, row).is_err()); + assert!(audited(&db, f, row).is_err()); assert!(audit_rows(&db).is_empty()); assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); } @@ -862,7 +870,84 @@ mod tests { let db = crate::db::init(data.path()).unwrap(); let mut row = record(&f, "all", "2026-11-03T09:00:00.000Z"); row.surfaces = SURFACE_IDS.iter().map(|s| s.to_string()).collect(); - record_transaction_audited(&db, f.home.path(), &f.db, row).unwrap(); + audited(&db, &f, row).unwrap(); + } + + fn webview_write(path: &str, content: &str) -> crate::commands::surface_write::SurfaceFileWrite { + serde_json::from_value(serde_json::json!({ + "relativePath": path, "content": content, "expectedSha256": null + })) + .unwrap() + } + + #[test] + fn a_forged_manifest_without_a_commit_through_apply_cannot_back_a_copy() { + // The webview writes the manifest file straight onto disk (here: + // directly), never through apply_surface_transaction's commit path. + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + write_manifest(&f, "forged", "committed"); + let committed = CommittedTransactions::default(); + let err = record_transaction_audited(&db, &committed, f.home.path(), &f.db, copy_row(&f, "forged")) + .unwrap_err(); + assert!(err.contains("not applied by this app session"), "{err}"); + assert!(audit_rows(&db).is_empty()); + assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); + } + + #[test] + fn only_a_committed_manifest_written_by_apply_marks_the_id() { + let f = fixture(); + let committed = CommittedTransactions::default(); + let manifest = |status: &str| serde_json::json!({ "status": status }).to_string(); + for (path, content) in [ + (".harness/backups/p/transaction.json", manifest("prepared")), + (".harness/backups/q/other.json", manifest("committed")), + (".harness/backups/r/transaction.json", "not json".to_string()), + ] { + apply_and_note_commits(&committed, f.home.path(), vec![webview_write(path, &content)]).unwrap(); + } + assert!(!committed.contains("p") && !committed.contains("q") && !committed.contains("r")); + apply_and_note_commits( + &committed, + f.home.path(), + vec![webview_write(".harness/backups/ok/transaction.json", &manifest("committed"))], + ) + .unwrap(); + assert!(committed.contains("ok")); + } + + #[test] + fn a_failed_apply_marks_nothing() { + let f = fixture(); + let committed = CommittedTransactions::default(); + let body = serde_json::json!({ "status": "committed" }).to_string(); + let result = apply_and_note_commits( + &committed, + f.home.path(), + vec![ + webview_write(".harness/backups/bad/transaction.json", &body), + webview_write("not/a/declared/store", "x"), + ], + ); + assert!(result.is_err()); + assert!(!committed.contains("bad")); + } + + #[test] + fn an_identical_replay_logs_the_audit_entry_once() { + let f = fixture(); + let data = tempfile::tempdir().unwrap(); + let db = crate::db::init(data.path()).unwrap(); + write_manifest(&f, "twice", "committed"); + let committed = CommittedTransactions::default(); + committed.insert("twice"); + for _ in 0..2 { + record_transaction_audited(&db, &committed, f.home.path(), &f.db, copy_row(&f, "twice")).unwrap(); + } + assert_eq!(audit_rows(&db).len(), 1); + assert_eq!(list_transactions_at(&f.db, None).unwrap().len(), 1); } #[test] @@ -873,7 +958,7 @@ mod tests { for bad in ["", "a b", "x\ny", &"z".repeat(65), "Copied everything"] { let mut row = record(&f, "bad", "2026-11-03T09:00:00.000Z"); row.copied_from = Some(bad.to_string()); - assert!(record_transaction_audited(&db, f.home.path(), &f.db, row).is_err(), "{bad:?}"); + assert!(audited(&db, &f, row).is_err(), "{bad:?}"); } assert!(audit_rows(&db).is_empty()); assert!(!f.db.exists() || list_transactions_at(&f.db, None).unwrap().is_empty()); diff --git a/apps/desktop/src-tauri/src/commands/harness_state.rs b/apps/desktop/src-tauri/src/commands/harness_state.rs index f4259d43..e1e4e511 100644 --- a/apps/desktop/src-tauri/src/commands/harness_state.rs +++ b/apps/desktop/src-tauri/src/commands/harness_state.rs @@ -684,10 +684,11 @@ pub(crate) fn migrate_drift_acknowledgements_at( #[tauri::command] pub fn record_transaction( db: tauri::State<'_, crate::db::Db>, + committed: tauri::State<'_, super::surface_write::CommittedTransactions>, record: TransactionRecord, ) -> Result<(), String> { let home = dirs::home_dir().ok_or("Could not resolve home directory")?; - record_transaction_audited(&db, &home, &state_path()?, record) + record_transaction_audited(&db, &committed, &home, &state_path()?, record) } /// {@link record_transaction_at}, plus the audit entry a Machine copy owes. @@ -698,10 +699,19 @@ pub fn record_transaction( /// whole record rather than logging something the app did not do. pub(crate) fn record_transaction_audited( db: &crate::db::Db, + committed: &super::surface_write::CommittedTransactions, home: &std::path::Path, path: &std::path::Path, record: TransactionRecord, ) -> Result<(), String> { + // A manifest file alone proves nothing (the webview can write one), so the + // id must be one this session's apply command committed. + if !committed.contains(&record.transaction_id) { + return Err(format!( + "Transaction {} was not applied by this app session, so it is not recorded.", + record.transaction_id + )); + } // The webview is not trusted: every surface id must be one the registry // declares, and a copy must be backed by a committed manifest on disk. super::changes::check_surfaces(&record)?; @@ -709,8 +719,9 @@ pub(crate) fn record_transaction_audited( if audit.is_some() { super::changes::require_committed_manifest(home, &record)?; } - record_transaction_at(path, record)?; - if let Some(entry) = audit { + let inserted = record_transaction_at(path, record)?; + // An identical replay inserts nothing and so logs nothing. + if let (true, Some(entry)) = (inserted, audit) { super::security::log_audit( db, "machine_copy", @@ -730,7 +741,7 @@ pub(crate) fn record_transaction_audited( pub(crate) fn record_transaction_at( path: &std::path::Path, record: TransactionRecord, -) -> Result<(), String> { +) -> Result { validate_record(&record)?; let conn = open_at(path)?; let payload = serde_json::to_string(&RecordPayload { @@ -791,7 +802,7 @@ pub(crate) fn record_transaction_at( )); } } - Ok(()) + Ok(inserted > 0) } /// Recorded transactions, newest first. diff --git a/apps/desktop/src-tauri/src/commands/surface_write.rs b/apps/desktop/src-tauri/src/commands/surface_write.rs index c20878d6..3e10a5dc 100644 --- a/apps/desktop/src-tauri/src/commands/surface_write.rs +++ b/apps/desktop/src-tauri/src/commands/surface_write.rs @@ -50,6 +50,39 @@ fn is_state_path(normalized: &str) -> bool { normalized.starts_with(".harness/backups/") } +/// Transaction ids this app session's `apply_surface_transaction` itself wrote +/// a committed manifest for. In memory only, so it empties on restart: the +/// apply and the `record_transaction` that follows it are one call chain in +/// core's `recordAppliedTransaction`, so a restart between them loses the +/// ledger row (the apply still stands, and the manifest is on disk) but can +/// never leave a record that is accepted without its apply. +#[derive(Default)] +pub struct CommittedTransactions(std::sync::Mutex>); + +impl CommittedTransactions { + pub(crate) fn insert(&self, id: &str) { + self.0.lock().unwrap_or_else(|e| e.into_inner()).insert(id.to_string()); + } + + pub(crate) fn contains(&self, id: &str) -> bool { + self.0.lock().unwrap_or_else(|e| e.into_inner()).contains(id) + } +} + +/// The transaction id a write commits: the file is +/// `.harness/backups//transaction.json` and its content says +/// `"status":"committed"`. +fn committed_id(file: &SurfaceFileWrite) -> Option { + let relative = file.relative_path.replace('\\', "/"); + let rest = relative.strip_prefix(".harness/backups/")?; + let (id, name) = rest.split_once('/')?; + if name != "transaction.json" || id.is_empty() { + return None; + } + let document: serde_json::Value = serde_json::from_str(file.content.as_deref()?).ok()?; + (document.get("status")?.as_str()? == "committed").then(|| id.to_string()) +} + /// Whether a home-relative path is a config store the registry declares. /// Segment-aware in both directions: ".claude.json.bak" is not ".claude.json", /// and ".claude/skillsets/x" is not inside ".claude/skills". @@ -183,9 +216,27 @@ struct Target { /// written: the batch stops there with an error that says it was replaced, /// and lists it among the files already written. #[tauri::command] -pub fn apply_surface_transaction(files: Vec) -> Result, String> { +pub fn apply_surface_transaction( + committed: tauri::State<'_, CommittedTransactions>, + files: Vec, +) -> Result, String> { let home = dirs::home_dir().ok_or("Could not resolve home directory")?; - apply_surface_transaction_in(&home, files) + apply_and_note_commits(&committed, &home, files) +} + +/// The command body: apply, and only on success remember which transactions +/// this call committed. +pub(crate) fn apply_and_note_commits( + committed: &CommittedTransactions, + home: &Path, + files: Vec, +) -> Result, String> { + let ids: Vec = files.iter().filter_map(committed_id).collect(); + let written = apply_surface_transaction_in(home, files)?; + for id in ids { + committed.insert(&id); + } + Ok(written) } /// The command body with the home directory injected, so tests run against a diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index fac8586b..8b97a9b4 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -68,6 +68,7 @@ pub fn run() { .plugin(tauri_plugin_window_state::Builder::default().build()) .plugin(tauri_plugin_dialog::init()) .manage(database) + .manage(commands::surface_write::CommittedTransactions::default()) .invoke_handler(tauri::generate_handler![ // Plugins commands::plugins::list_installed_plugins, diff --git a/apps/desktop/src/pages/machine/cell-actions.ts b/apps/desktop/src/pages/machine/cell-actions.ts index b68e0b36..808a73c5 100644 --- a/apps/desktop/src/pages/machine/cell-actions.ts +++ b/apps/desktop/src/pages/machine/cell-actions.ts @@ -163,9 +163,9 @@ export async function applyCellActionViaTauri( } const home = await homeDir(); // Namespaced: the CLI mints ids from the same clock with the same format, - // and record_transaction does ON CONFLICT DO UPDATE — so a same-millisecond - // collision would silently overwrite one apply's rollback point with the - // other's, and they would share a backups// directory too. + // and record_transaction refuses a second, different row for an id + // (ON CONFLICT DO NOTHING) — so a same-millisecond collision would fail the + // second apply's record, and the two would share a backups// directory. const timestamp = `${new Date().toISOString().replace(/[:.]/g, "-")}-app`; const prefix = home.endsWith("/") ? home : `${home}/`; // The drawer only ever applies at user scope, so every change is home-rooted From 2390b9b2fda3103d5c88ae20b005d96d6ac93cef Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:39:04 -0500 Subject: [PATCH 14/16] fix(core): instructions compare and copy as whole files minus harness markers Prose outside a harness:sync block now counts, so edits to it show as drift and a copy carries it. A target with its own text reads as differs and asks before the block is updated; the drawer and the agent prompt say which case applies and never call the instructions missing when the target has its own file. Co-Authored-By: Claude Opus 5.5 --- apps/desktop/src/pages/machine/RowDrawer.tsx | 7 +++-- packages/core/__tests__/agent-prompt.test.ts | 22 +++++++++++++ .../core/__tests__/apply-cell-action.test.ts | 31 ++++++++++++++++--- packages/core/__tests__/normalize.test.ts | 8 +++-- packages/core/__tests__/write-store.test.ts | 8 +++-- packages/core/src/compile/markers.ts | 25 +++++++++++---- packages/core/src/observe/normalize.ts | 7 ++--- packages/core/src/write/agent-prompt.ts | 6 +++- packages/core/src/write/plan-cell-action.ts | 28 ++++++++++++----- 9 files changed, 113 insertions(+), 29 deletions(-) diff --git a/apps/desktop/src/pages/machine/RowDrawer.tsx b/apps/desktop/src/pages/machine/RowDrawer.tsx index a23402e7..8fbaa020 100644 --- a/apps/desktop/src/pages/machine/RowDrawer.tsx +++ b/apps/desktop/src/pages/machine/RowDrawer.tsx @@ -588,8 +588,11 @@ function RowActions({ {row.kind === "instructions" ? ( <> - {surfaceLabel(target as SurfaceId)} already has a Harness Kit block here. - Applying updates that block; text outside it stays. + {view.plan.targetInstructions?.hasBlock + ? view.plan.targetInstructions.hasOwnText + ? `${surfaceLabel(target as SurfaceId)} already has a Harness Kit block and text of its own outside it. Applying updates the block; the text outside it stays, so the two will still differ.` + : `${surfaceLabel(target as SurfaceId)} already has a Harness Kit block with different content. Applying updates that block.` + : `${surfaceLabel(target as SurfaceId)} already has its own instructions. Applying adds a Harness Kit block; its text stays, so the two will still differ.`} ) : ( <> diff --git a/packages/core/__tests__/agent-prompt.test.ts b/packages/core/__tests__/agent-prompt.test.ts index 225a174a..ca2b3bf5 100644 --- a/packages/core/__tests__/agent-prompt.test.ts +++ b/packages/core/__tests__/agent-prompt.test.ts @@ -140,4 +140,26 @@ describe("agent prompt generation (AC-11, AC-35, AC-22)", () => { expect(prompt).toContain("leave the text outside it"); expect(prompt).not.toContain("Replace its version"); }); + + it("does not call instructions missing when the target has its own file but no harness block", async () => { + const fs = new MockFsProvider({ + "/home/user/.claude/CLAUDE.md": "# House rules\n\nBe kind.\n", + "/home/user/.codex/config.toml": 'model = "gpt-5"\n', + "/home/user/.codex/AGENTS.md": "# Codex notes\n\nMine.\n", + }); + const request = { + kind: "instructions" as const, + name: "User instructions", + from: "claude-code" as const, + to: "codex" as const, + scope: "user" as const, + }; + const plan = await planCellAction(fs, request, OPTS); + expect(plan.requiresConfirmation).toBe(true); + const prompt = buildAgentPrompt(plan, request); + expect(prompt).not.toContain("missing from"); + expect(prompt).toContain("its own instructions"); + expect(prompt).toContain("only the harness block"); + expect(prompt).toContain("leave the rest"); + }); }); diff --git a/packages/core/__tests__/apply-cell-action.test.ts b/packages/core/__tests__/apply-cell-action.test.ts index 4683e2c8..ae34defa 100644 --- a/packages/core/__tests__/apply-cell-action.test.ts +++ b/packages/core/__tests__/apply-cell-action.test.ts @@ -160,7 +160,12 @@ describe("instructions copy leaves no gap on rescan (AC-57)", () => { { kind: "instructions", name: "User instructions", from, to, scope: "user" }, OPTS, ); - const result = await applyCellAction(planned, context(fs, stamp), { homeRoot: "/home/user" }); + // Confirmation is part of the product flow for a target that has its own + // text; the test acts as the user who confirmed it. + const result = await applyCellAction(planned, context(fs, stamp), { + homeRoot: "/home/user", + confirmed: planned.requiresConfirmation, + }); return { planned, result }; }; const userRow = async (fs: MockFsProvider) => @@ -178,20 +183,38 @@ describe("instructions copy leaves no gap on rescan (AC-57)", () => { expect(again.planned.noop).toBe(true); }); - it("copy into a target with its own prose keeps the prose and rescans as the same", async () => { + it("copy into a target with its own prose keeps the prose, asks first, and rescans as differing", async () => { const fs = new MockFsProvider({ ...instructionsMachine().getAllFiles(), "/home/user/.codex/AGENTS.md": "# Codex notes\n\nMine.\n", }); - await copy(fs, "claude-code", "codex", "a"); + const first = await copy(fs, "claude-code", "codex", "a"); + expect(first.planned.requiresConfirmation).toBe(true); const text = fs.getFile("/home/user/.codex/AGENTS.md")!; expect(text).toContain("Mine."); expect(text).toContain("BEGIN harness:sync:user-instructions"); + // The target's own text is a real difference from the source. const row = await userRow(fs); - expect(row.cells.codex.effectiveDigest).toBe(row.cells["claude-code"].effectiveDigest); + expect(row.cells.codex.effectiveDigest).not.toBe(row.cells["claude-code"].effectiveDigest); + // A repeat leaves the block as it is. expect((await copy(fs, "claude-code", "codex", "b")).planned.noop).toBe(true); }); + it("a source with prose and a block copies all of it", async () => { + const fs = new MockFsProvider({ + ...instructionsMachine().getAllFiles(), + "/home/user/.claude/CLAUDE.md": + "# Alpha\n\nProse one.\n\n\nShared.\n\n", + }); + await copy(fs, "claude-code", "codex", "a"); + const codex = fs.getFile("/home/user/.codex/AGENTS.md")!; + expect(codex).toContain("Prose one."); + expect(codex).toContain("Shared."); + expect(sync(codex)).toBe(1); + const row = await userRow(fs); + expect(row.cells.codex.effectiveDigest).toBe(row.cells["claude-code"].effectiveDigest); + }); + it("copying back and forth never nests blocks", async () => { const fs = new MockFsProvider({ ...instructionsMachine().getAllFiles(), diff --git a/packages/core/__tests__/normalize.test.ts b/packages/core/__tests__/normalize.test.ts index 4853a5bb..bfafa07b 100644 --- a/packages/core/__tests__/normalize.test.ts +++ b/packages/core/__tests__/normalize.test.ts @@ -420,7 +420,7 @@ describe("normalizeResource — instructions", () => { expect(make("AGENTS.md", "user").provenance.file).toBe("/somewhere/AGENTS.md"); }); - it("a harness:sync block digests as its content, with or without the user's own prose", () => { + it("digests the whole file with only the harness:sync marker lines removed", () => { const make = (content: string) => normalizeResource({ surface: "codex", @@ -432,7 +432,11 @@ describe("normalizeResource — instructions", () => { }).digest; const block = "\nBe kind.\n"; expect(make(block)).toBe(make("Be kind.")); - expect(make(`# Mine\n\n${block}\n`)).toBe(make("Be kind.")); + // Prose outside the block counts: it is not the same instructions. + expect(make(`# Mine\n\n${block}\n`)).not.toBe(make("Be kind.")); + expect(make(`# Mine\n\n${block}\n`)).toBe(make("# Mine\n\nBe kind.")); + // Editing prose outside a block shows as a change. + expect(make(`# Mine\n\n${block}\n`)).not.toBe(make(`# Mine edited\n\n${block}\n`)); // A block an older build named after the source file reads the same. expect(make("\nBe kind.\n")).toBe( make("Be kind."), diff --git a/packages/core/__tests__/write-store.test.ts b/packages/core/__tests__/write-store.test.ts index 53164916..d1ed7d5c 100644 --- a/packages/core/__tests__/write-store.test.ts +++ b/packages/core/__tests__/write-store.test.ts @@ -158,7 +158,7 @@ describe("store write executors (AC-12, AC-13)", () => { expect(after).toContain("Use tabs."); }); - it("never nests: a source that carries a sync block copies only the block's content", async () => { + it("never nests: a source with prose and a sync block copies all of it, minus the marker lines", async () => { const fs = new MockFsProvider({ "/home/user/.codex/AGENTS.md": "mine\n" }); const plan = await planStoreWrite( fs, @@ -177,7 +177,11 @@ describe("store write executors (AC-12, AC-13)", () => { const after = plan.changes[0]!.after!; expect(after.match(/BEGIN harness:sync/g)).toHaveLength(1); expect(after).toContain("Use tabs."); - expect(after).not.toContain("own prose"); + expect(after).toContain("own prose"); + expect(after.match(/END harness:sync/g)).toHaveLength(1); + // The target's block holds the source's prose and block text, no nested markers. + const block = after.slice(after.indexOf("$/; + /** - * The instruction text a file carries for cross-surface comparison: the inside - * of its `harness:sync` block when it has one (the part a copy wrote and keeps - * current), else the whole file. A file with the user's own prose plus a block - * therefore compares as the block, so a copied row reads as the same as its - * source, and copying such a file onward never nests a block. + * The instruction text a file carries for cross-surface comparison and for + * copying: the whole file with only the `harness:sync` BEGIN/END marker lines + * removed. Text inside a block and text outside both count, so the user's own + * prose is never invisible to a comparison or silently left out of a copy, + * and a copy of a file that holds a block never nests markers. */ export function syncedInstructionsContent(fileContent: string): string { - return findAnySyncBlock(fileContent)?.content ?? fileContent; + return fileContent + .split("\n") + .filter((line) => !SYNC_MARKER_LINE.test(line.trim())) + .join("\n"); +} + +/** The file's text outside its first `harness:sync` block (the whole file when it has none). */ +export function textOutsideSyncBlock(fileContent: string): string { + const block = findAnySyncBlock(fileContent); + if (!block) return fileContent; + const lines = fileContent.split("\n"); + return [...lines.slice(0, block.startLine), ...lines.slice(block.endLine + 1)].join("\n"); } export function replaceMarkerBlock( diff --git a/packages/core/src/observe/normalize.ts b/packages/core/src/observe/normalize.ts index 78fef1c3..465cf6f8 100644 --- a/packages/core/src/observe/normalize.ts +++ b/packages/core/src/observe/normalize.ts @@ -204,10 +204,9 @@ function canonicalizeInstructions(value: unknown): unknown { if (!isRecord(value)) return deepCanonical(value); const instructions = value as Partial; return { - // A file holding a `harness:sync` block compares as that block's content: - // the markers are Harness Kit's bookkeeping, and the user's own prose - // around them is not what a copy carries. Without this a copied row's - // digest differed from its source forever. + // The whole file counts, with only the `harness:sync` marker lines removed: + // they are Harness Kit's bookkeeping, but text inside and outside a block + // is the user's instructions, and a difference in either is a difference. content: typeof instructions.content === "string" ? normalizeText(syncedInstructionsContent(instructions.content)) diff --git a/packages/core/src/write/agent-prompt.ts b/packages/core/src/write/agent-prompt.ts index 6c26b477..1ea9ccd9 100644 --- a/packages/core/src/write/agent-prompt.ts +++ b/packages/core/src/write/agent-prompt.ts @@ -175,7 +175,11 @@ export function buildAgentPrompt( // resource with different content — telling an agent it is missing is a // false premise, and saying nothing about the replacement hides the part // that destroys work. - plan.overwrites === undefined + request.kind === "instructions" && plan.targetInstructions + ? plan.targetInstructions.hasBlock + ? `${target.label} ALREADY has a harness-managed instructions block${plan.targetInstructions.hasOwnText ? " and text of its own outside it" : " with different content"}. Update only that block with ${source.label}'s instructions and leave the text outside it as it is.` + : `${target.label} already has its own instructions file, with no harness block. Add or update only the harness block ( to ) with ${source.label}'s instructions and leave the rest of the file as it is.` + : plan.overwrites === undefined ? `It is already configured in ${source.label} and missing from ${target.label}. Reproduce it using ${target.label}'s own configuration — do not copy ${source.label}'s file format verbatim.` : request.kind === "instructions" ? `${target.label} ALREADY has a harness-managed instructions block with different content. Update only that block with ${source.label}'s instructions and leave the text outside it as it is.` diff --git a/packages/core/src/write/plan-cell-action.ts b/packages/core/src/write/plan-cell-action.ts index 01ca55e4..9eb1cbf0 100644 --- a/packages/core/src/write/plan-cell-action.ts +++ b/packages/core/src/write/plan-cell-action.ts @@ -16,7 +16,7 @@ import type { SurfaceScope, } from "../surfaces/types.js"; import { isRecord } from "../utils/is-record.js"; -import { findAnySyncBlock } from "../compile/markers.js"; +import { findAnySyncBlock, textOutsideSyncBlock } from "../compile/markers.js"; import { planStoreWrite, unsupportedKindReason } from "./write-store.js"; import { diffCanonicalForms } from "../observe/machine-inventory.js"; import type { FieldDelta } from "../observe/machine-inventory.js"; @@ -88,6 +88,12 @@ export interface CellActionPlan { * the deferral that created it was about never silently choosing a winner. */ overwrites?: FieldDelta[]; + /** + * Instructions cells only: what the target's file already holds. A copy + * writes only the harness block and keeps the rest, so the wording depends on + * whether the target has a block and/or text of its own outside one. + */ + targetInstructions?: { hasBlock: boolean; hasOwnText: boolean }; /** * Set for `plugin` cells only. A plugin is not installed by writing a * config store — it goes through the surface's own installer, or is @@ -355,6 +361,18 @@ export async function planCellAction( ? diffAgainstExisting(request.kind, existing.entry.value, found.entry.value) : null; + const existingText = + request.kind === "instructions" && existing !== null && isRecord(existing.entry.value) + ? existing.entry.value.content + : undefined; + const targetInstructions = + typeof existingText === "string" && existingText.trim() !== "" + ? { + hasBlock: findAnySyncBlock(existingText) !== null, + hasOwnText: textOutsideSyncBlock(existingText).trim() !== "", + } + : null; + return { supported: true, changes, @@ -363,6 +381,7 @@ export async function planCellAction( value: found.entry.value, loss, ...(overwrites !== null ? { overwrites } : {}), + ...(targetInstructions !== null ? { targetInstructions } : {}), requiresConfirmation: hasGenuineLoss(loss) || overwrites !== null, source, target, @@ -432,13 +451,6 @@ function diffAgainstExisting( value, provenance: { file: "", formatId: "json-generic" }, }).canonicalForm; - // An instructions copy writes a Harness Kit block and leaves the rest of the - // file alone. A target file with no such block loses nothing, so there is - // nothing to confirm; only an existing block's content is replaced. - if (kind === "instructions") { - const text = isRecord(existingValue) ? existingValue.content : undefined; - if (typeof text !== "string" || findAnySyncBlock(text) === null) return null; - } const deltas = diffCanonicalForms(canonical(existingValue), canonical(incomingValue)); return deltas.length > 0 ? deltas : null; } From d1653b282b59de8df2f4f34613689df93c48ad11 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:39:13 -0500 Subject: [PATCH 15/16] docs(spec): tick AC-55..AC-61 (Phase 2c steps 2-4) Co-Authored-By: Claude Opus 5.5 --- specs/ux-consolidation/spec.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specs/ux-consolidation/spec.md b/specs/ux-consolidation/spec.md index b2e1ac6c..eb2779f6 100644 --- a/specs/ux-consolidation/spec.md +++ b/specs/ux-consolidation/spec.md @@ -97,13 +97,13 @@ From the adversarial review of main at 047e79d1 ("Harness Kit Red Team"). These - [x] AC-52: WHEN the webview is granted capabilities THE SYSTEM SHALL grant only what production code calls (no shell execute, spawn, stdin or kill), SHALL bind project-scope grants to paths the native dialog returned, and SHALL keep every path-taking command inside its declared roots. - [x] AC-53: WHEN Compile writes into a project THE SYSTEM SHALL refuse any path component that is a symbolic link, dangling or not. - [x] AC-54: WHEN a secret is stored THE SYSTEM SHALL NOT pass its value on a command line. -- [ ] AC-55: WHEN Drift, Profile, Compile or onboarding read `harness.yaml` THE SYSTEM SHALL use `~/.claude/harness.yaml` as the personal profile and the selected project's committed `harness.yaml` as that project's team baseline, and Drift SHALL distinguish "no harness.yaml", "could not read", "never compiled" and "clean". -- [ ] AC-56: WHEN onboarding or "Generate from Claude Code setup" builds a `harness.yaml` THE SYSTEM SHALL derive it from the same machine inventory the grid shows. -- [ ] AC-57: WHEN a grid cell is clicked THE SYSTEM SHALL open the drawer with that cell's surface as the target, SHALL show "+ copy" only where the drawer can apply, and a copy the app reports as done SHALL leave no gap in that cell. -- [ ] AC-58: WHEN an MCP config entry carries a `url` THE SYSTEM SHALL read it as a remote server. -- [ ] AC-59: WHEN the Machine grid renders THE SYSTEM SHALL hide surfaces that are not installed by default, with a control to show all of them. -- [ ] AC-60: WHEN a webview IPC payload or a plugin permission changes THE SYSTEM SHALL fail CI if the Rust command no longer accepts that payload or the capability no longer grants that call, and a nightly job SHALL launch the real app on macOS. -- [ ] AC-61: WHEN text renders on any surface THE SYSTEM SHALL meet WCAG AA contrast in both themes, every modal SHALL trap focus and return it on close, and the sidebar SHALL mark the current section on every route. +- [x] AC-55: WHEN Drift, Profile, Compile or onboarding read `harness.yaml` THE SYSTEM SHALL use `~/.claude/harness.yaml` as the personal profile and the selected project's committed `harness.yaml` as that project's team baseline, and Drift SHALL distinguish "no harness.yaml", "could not read", "never compiled" and "clean". +- [x] AC-56: WHEN onboarding or "Generate from Claude Code setup" builds a `harness.yaml` THE SYSTEM SHALL derive it from the same machine inventory the grid shows. +- [x] AC-57: WHEN a grid cell is clicked THE SYSTEM SHALL open the drawer with that cell's surface as the target, SHALL show "+ copy" only where the drawer can apply, and a copy the app reports as done SHALL leave no gap in that cell. +- [x] AC-58: WHEN an MCP config entry carries a `url` THE SYSTEM SHALL read it as a remote server. +- [x] AC-59: WHEN the Machine grid renders THE SYSTEM SHALL hide surfaces that are not installed by default, with a control to show all of them. +- [x] AC-60: WHEN a webview IPC payload or a plugin permission changes THE SYSTEM SHALL fail CI if the Rust command no longer accepts that payload or the capability no longer grants that call, and a nightly job SHALL launch the real app on macOS. +- [x] AC-61: WHEN text renders on any surface THE SYSTEM SHALL meet WCAG AA contrast in both themes, every modal SHALL trap focus and return it on close, and the sidebar SHALL mark the current section on every route. ### Unchanged behavior From 5fa45fc62ff52f4a334b48873640b4faa66bb681 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 13 Nov 2026 11:47:59 -0500 Subject: [PATCH 16/16] test(e2e): palette commands are listbox options now Co-Authored-By: Claude Opus 5.5 --- apps/desktop/e2e/tests/smoke.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/e2e/tests/smoke.spec.ts b/apps/desktop/e2e/tests/smoke.spec.ts index 62749b2f..ddd6d45a 100644 --- a/apps/desktop/e2e/tests/smoke.spec.ts +++ b/apps/desktop/e2e/tests/smoke.spec.ts @@ -227,7 +227,7 @@ test.describe("⌘K affordance and page commands (AC-21)", () => { await cmdk.click(); const palette = appPage.getByRole("dialog", { name: "Command palette" }); await expect(palette).toBeVisible(); - await expect(palette.getByRole("button").first()).toHaveText("Rescan this machine"); + await expect(palette.getByRole("option").first()).toHaveText("Rescan this machine"); await expect(palette.getByText("This page")).toBeVisible(); await appPage.keyboard.press("Escape");