@andorra-labs/code 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/account-presentation.d.ts +1 -37
- package/dist/src/account-presentation.js +2 -42
- package/dist/src/activity.d.ts +0 -25
- package/dist/src/activity.js +1 -23
- package/dist/src/agent-definitions.d.ts +0 -26
- package/dist/src/agent-definitions.js +0 -43
- package/dist/src/agent-execution.d.ts +0 -2
- package/dist/src/agent-execution.js +49 -416
- package/dist/src/agent-mcp-catalog.d.ts +0 -8
- package/dist/src/agent-mcp-catalog.js +0 -2
- package/dist/src/agent-mcp.d.ts +0 -56
- package/dist/src/agent-mcp.js +9 -153
- package/dist/src/agent-modifiers.d.ts +0 -1
- package/dist/src/agent-modifiers.js +25 -68
- package/dist/src/analytics.d.ts +0 -66
- package/dist/src/analytics.js +0 -45
- package/dist/src/anthropic-console-auth.d.ts +0 -24
- package/dist/src/anthropic-console-auth.js +0 -37
- package/dist/src/anthropic-credentials.d.ts +0 -25
- package/dist/src/anthropic-credentials.js +0 -28
- package/dist/src/app-server/protocol.d.ts +13 -245
- package/dist/src/app-server/protocol.js +1 -132
- package/dist/src/app-server/reasoning.d.ts +0 -31
- package/dist/src/app-server/reasoning.js +0 -54
- package/dist/src/app-server/terminal.d.ts +0 -36
- package/dist/src/app-server/terminal.js +3 -39
- package/dist/src/app-server/workspace.d.ts +0 -167
- package/dist/src/app-server/workspace.js +4 -406
- package/dist/src/app-server.d.ts +27 -927
- package/dist/src/app-server.js +537 -2992
- package/dist/src/artifacts.d.ts +0 -10
- package/dist/src/artifacts.js +1 -11
- package/dist/src/attachments.d.ts +4 -98
- package/dist/src/attachments.js +10 -130
- package/dist/src/auth/AuthManager.d.ts +0 -93
- package/dist/src/auth/AuthManager.js +3 -165
- package/dist/src/auth/callback-page.d.ts +0 -1
- package/dist/src/auth/callback-page.js +0 -4
- package/dist/src/auth/callback.d.ts +0 -25
- package/dist/src/auth/callback.js +1 -29
- package/dist/src/auth/deployment.d.ts +0 -16
- package/dist/src/auth/deployment.js +0 -16
- package/dist/src/auth/index.d.ts +0 -11
- package/dist/src/auth/index.js +0 -11
- package/dist/src/auth/lock.d.ts +0 -1
- package/dist/src/auth/lock.js +0 -1
- package/dist/src/auth/store.d.ts +7 -108
- package/dist/src/auth/store.js +21 -129
- package/dist/src/auth/types.d.ts +0 -8
- package/dist/src/auth-commands.d.ts +0 -5
- package/dist/src/auth-commands.js +0 -1
- package/dist/src/automation-runner.d.ts +0 -9
- package/dist/src/automation-runner.js +0 -11
- package/dist/src/automation-service.d.ts +0 -10
- package/dist/src/automation-service.js +3 -17
- package/dist/src/automation-tool.js +0 -5
- package/dist/src/automation-worker-shutdown.d.ts +0 -1
- package/dist/src/automation-worker-shutdown.js +0 -3
- package/dist/src/automations.d.ts +23 -2
- package/dist/src/automations.js +91 -12
- package/dist/src/background-tasks.d.ts +0 -23
- package/dist/src/background-tasks.js +0 -11
- package/dist/src/boot-trace.d.ts +0 -13
- package/dist/src/boot-trace.js +1 -14
- package/dist/src/browser-activity.js +0 -2
- package/dist/src/browser-bridge.d.ts +0 -2
- package/dist/src/browser-bridge.js +0 -27
- package/dist/src/browser-captcha-tool.d.ts +0 -13
- package/dist/src/browser-captcha-tool.js +3 -35
- package/dist/src/browser-extensions-tool.d.ts +24 -0
- package/dist/src/browser-extensions-tool.js +137 -0
- package/dist/src/browser-extensions.d.ts +127 -0
- package/dist/src/browser-extensions.js +729 -0
- package/dist/src/browser-observation.d.ts +0 -15
- package/dist/src/browser-observation.js +1 -22
- package/dist/src/browser-panel-tool.d.ts +1 -37
- package/dist/src/browser-panel-tool.js +3 -73
- package/dist/src/browser-runner.d.ts +0 -1
- package/dist/src/browser-runner.js +4 -45
- package/dist/src/browser-server.d.ts +0 -6
- package/dist/src/browser-server.js +6 -229
- package/dist/src/browser-session.d.ts +0 -25
- package/dist/src/browser-session.js +1 -71
- package/dist/src/browser-stealth.d.ts +0 -12
- package/dist/src/browser-stealth.js +0 -36
- package/dist/src/browser-ui/app.js +7 -174
- package/dist/src/browser-ui/style.css +0 -68
- package/dist/src/browser-ui/tokens.css +11 -93
- package/dist/src/browser-view.d.ts +47 -301
- package/dist/src/browser-view.js +333 -582
- package/dist/src/capabilities.d.ts +0 -8
- package/dist/src/capabilities.js +0 -29
- package/dist/src/capsolver.d.ts +0 -13
- package/dist/src/capsolver.js +0 -15
- package/dist/src/clarification-ui.d.ts +0 -7
- package/dist/src/clarification-ui.js +0 -8
- package/dist/src/claude-executable.d.ts +0 -1
- package/dist/src/claude-executable.js +1 -2
- package/dist/src/claude-provider.d.ts +6 -19
- package/dist/src/claude-provider.js +155 -63
- package/dist/src/cli-executable.d.ts +0 -16
- package/dist/src/cli-executable.js +0 -7
- package/dist/src/cli-process.d.ts +0 -26
- package/dist/src/cli-process.js +0 -18
- package/dist/src/cli-sign-in.d.ts +0 -20
- package/dist/src/cli-sign-in.js +1 -17
- package/dist/src/cli.d.ts +1 -55
- package/dist/src/cli.js +80 -721
- package/dist/src/code-intelligence/CodeIntelligenceManager.d.ts +4 -59
- package/dist/src/code-intelligence/CodeIntelligenceManager.js +26 -99
- package/dist/src/code-intelligence/ContextLedger.d.ts +0 -4
- package/dist/src/code-intelligence/ContextLedger.js +0 -10
- package/dist/src/code-intelligence/ContextRouter.d.ts +0 -6
- package/dist/src/code-intelligence/ContextRouter.js +0 -8
- package/dist/src/code-intelligence/codegraph/CodeGraphProjectSession.d.ts +0 -2
- package/dist/src/code-intelligence/codegraph/CodeGraphProjectSession.js +5 -12
- package/dist/src/code-intelligence/codegraph/CodeGraphProvider.d.ts +0 -6
- package/dist/src/code-intelligence/codegraph/CodeGraphProvider.js +0 -6
- package/dist/src/code-intelligence/codegraph/CodeGraphSyncBarrier.d.ts +0 -5
- package/dist/src/code-intelligence/codegraph/CodeGraphSyncBarrier.js +1 -17
- package/dist/src/code-intelligence/codegraph/repoExploreTool.d.ts +0 -5
- package/dist/src/code-intelligence/codegraph/repoExploreTool.js +0 -5
- package/dist/src/code-intelligence/repository.d.ts +0 -9
- package/dist/src/code-intelligence/repository.js +1 -11
- package/dist/src/code-intelligence/types.d.ts +0 -8
- package/dist/src/codex-auth.d.ts +0 -44
- package/dist/src/codex-auth.js +0 -45
- package/dist/src/codex-browser-auth.d.ts +0 -13
- package/dist/src/codex-browser-auth.js +3 -20
- package/dist/src/codex-errors.js +0 -2
- package/dist/src/codex-executable.d.ts +0 -2
- package/dist/src/codex-executable.js +1 -7
- package/dist/src/codex-provider.d.ts +0 -13
- package/dist/src/codex-provider.js +0 -28
- package/dist/src/codex-rpc.d.ts +0 -10
- package/dist/src/codex-rpc.js +0 -12
- package/dist/src/coding-tools.d.ts +4 -26
- package/dist/src/coding-tools.js +161 -181
- package/dist/src/command-metrics.d.ts +0 -4
- package/dist/src/command-output-tap.d.ts +0 -11
- package/dist/src/command-output-tap.js +0 -3
- package/dist/src/command-screens.d.ts +24 -0
- package/dist/src/command-screens.js +132 -100
- package/dist/src/commands.d.ts +6 -63
- package/dist/src/commands.js +20 -100
- package/dist/src/completion-gates.d.ts +0 -47
- package/dist/src/completion-gates.js +0 -14
- package/dist/src/completion.d.ts +0 -98
- package/dist/src/completion.js +2 -239
- package/dist/src/config.d.ts +11 -116
- package/dist/src/config.js +39 -171
- package/dist/src/context-budget.d.ts +0 -22
- package/dist/src/context-budget.js +0 -44
- package/dist/src/context-compaction.d.ts +29 -6
- package/dist/src/context-compaction.js +94 -25
- package/dist/src/context-selection.d.ts +0 -24
- package/dist/src/context-selection.js +0 -34
- package/dist/src/dashboard-view.d.ts +0 -2
- package/dist/src/dashboard-view.js +0 -35
- package/dist/src/dashboard.d.ts +0 -2
- package/dist/src/dashboard.js +0 -9
- package/dist/src/deadline.d.ts +0 -45
- package/dist/src/deadline.js +0 -54
- package/dist/src/decision/ContinuationAdapter.d.ts +0 -5
- package/dist/src/decision/ContinuationAdapter.js +0 -5
- package/dist/src/decision/DecisionEngine.d.ts +0 -4
- package/dist/src/decision/DecisionManager.d.ts +0 -1
- package/dist/src/decision/DecisionManager.js +2 -7
- package/dist/src/decision/DecisionPolicy.d.ts +0 -1
- package/dist/src/decision/DecisionPolicy.js +0 -1
- package/dist/src/decision/FactContinuations.d.ts +11 -43
- package/dist/src/decision/FactContinuations.js +126 -95
- package/dist/src/decision/FactServiceGate.d.ts +0 -1
- package/dist/src/decision/FactServiceGate.js +0 -4
- package/dist/src/decision/PreparedSteps.d.ts +0 -15
- package/dist/src/decision/PreparedSteps.js +0 -10
- package/dist/src/decision/applyToolMenu.d.ts +0 -1
- package/dist/src/decision/applyToolMenu.js +1 -5
- package/dist/src/decision/checks.d.ts +15 -28
- package/dist/src/decision/checks.js +118 -49
- package/dist/src/decision/facts.d.ts +0 -16
- package/dist/src/decision/facts.js +0 -30
- package/dist/src/decision/guidancePolicy.js +0 -1
- package/dist/src/decision/hostedPolicy.d.ts +0 -6
- package/dist/src/decision/hostedPolicy.js +0 -7
- package/dist/src/decision/hostedSkills.d.ts +0 -19
- package/dist/src/decision/hostedSkills.js +0 -19
- package/dist/src/decision/optimizationPolicy.d.ts +0 -3
- package/dist/src/decision/optimizationPolicy.js +1 -4
- package/dist/src/decision/providers/AndorraDecisionProvider.d.ts +0 -7
- package/dist/src/decision/providers/AndorraDecisionProvider.js +4 -27
- package/dist/src/decision/providers/HttpDecisionProvider.d.ts +0 -2
- package/dist/src/decision/providers/HttpDecisionProvider.js +0 -6
- package/dist/src/decision/routeTools.d.ts +0 -8
- package/dist/src/decision/routeTools.js +1 -8
- package/dist/src/decision/toolFamilies.d.ts +0 -1
- package/dist/src/decision/toolFamilies.js +0 -1
- package/dist/src/decision/toolMenu.d.ts +0 -3
- package/dist/src/decision/toolMenu.js +0 -4
- package/dist/src/decision/types.d.ts +0 -6
- package/dist/src/default-graph.d.ts +0 -9
- package/dist/src/default-graph.js +0 -9
- package/dist/src/delegation-changes.d.ts +0 -56
- package/dist/src/delegation-changes.js +4 -130
- package/dist/src/diff-preview.d.ts +0 -1
- package/dist/src/diff-preview.js +0 -17
- package/dist/src/duration.d.ts +0 -50
- package/dist/src/duration.js +0 -50
- package/dist/src/efficiency.d.ts +0 -39
- package/dist/src/efficiency.js +0 -16
- package/dist/src/engine/protocol.d.ts +0 -2
- package/dist/src/engine/protocol.js +0 -2
- package/dist/src/engine-streams.d.ts +0 -9
- package/dist/src/extensions.d.ts +3 -2
- package/dist/src/extensions.js +63 -35
- package/dist/src/favicons.d.ts +0 -26
- package/dist/src/favicons.js +0 -34
- package/dist/src/file-diff.d.ts +2 -58
- package/dist/src/file-diff.js +0 -32
- package/dist/src/file-read-key.d.ts +0 -7
- package/dist/src/file-read-key.js +0 -7
- package/dist/src/file-read-state.d.ts +0 -1
- package/dist/src/file-read-state.js +0 -4
- package/dist/src/firefox-cookies.d.ts +0 -34
- package/dist/src/firefox-cookies.js +1 -55
- package/dist/src/git-identity-audit.d.ts +27 -0
- package/dist/src/git-identity-audit.js +286 -0
- package/dist/src/git-identity-guard.d.ts +4 -0
- package/dist/src/git-identity-guard.js +998 -0
- package/dist/src/git-identity-hold.d.ts +12 -0
- package/dist/src/git-identity-hold.js +81 -0
- package/dist/src/git-summary.d.ts +0 -58
- package/dist/src/git-summary.js +2 -212
- package/dist/src/goal-completion-verification.d.ts +2 -2
- package/dist/src/goal-completion-verification.js +3 -6
- package/dist/src/graph-account.d.ts +0 -21
- package/dist/src/graph-account.js +0 -17
- package/dist/src/graph-editor-session.d.ts +0 -1
- package/dist/src/graph-editor-session.js +0 -3
- package/dist/src/graph-health.d.ts +0 -63
- package/dist/src/graph-health.js +0 -57
- package/dist/src/graph-manager-chat.d.ts +5 -155
- package/dist/src/graph-manager-chat.js +2 -177
- package/dist/src/graph-provider-portability.d.ts +1 -21
- package/dist/src/graph-provider-portability.js +6 -45
- package/dist/src/graph-quota.d.ts +0 -33
- package/dist/src/graph-quota.js +1 -44
- package/dist/src/graph-runner.d.ts +0 -1
- package/dist/src/graph-runner.js +31 -391
- package/dist/src/graph-selection.d.ts +0 -14
- package/dist/src/graph-selection.js +0 -14
- package/dist/src/graph-server.d.ts +2 -10
- package/dist/src/graph-server.js +39 -101
- package/dist/src/graph-studio-features.d.ts +0 -5
- package/dist/src/graph-studio-features.js +2 -42
- package/dist/src/graph-sync.d.ts +0 -78
- package/dist/src/graph-sync.js +5 -201
- package/dist/src/graph-tool.d.ts +0 -18
- package/dist/src/graph-tool.js +0 -27
- package/dist/src/graph-ui/app.js +152 -491
- package/dist/src/graph-ui/compat.js +0 -7
- package/dist/src/graph-ui/controls.css +0 -48
- package/dist/src/graph-ui/controls.js +0 -88
- package/dist/src/graph-ui/drafts.js +0 -12
- package/dist/src/graph-ui/edge-router.js +0 -62
- package/dist/src/graph-ui/embed.js +0 -59
- package/dist/src/graph-ui/icons.js +0 -8
- package/dist/src/graph-ui/library.css +0 -5
- package/dist/src/graph-ui/manager-markdown.js +0 -11
- package/dist/src/graph-ui/manager-state.js +1 -78
- package/dist/src/graph-ui/manager.css +0 -18
- package/dist/src/graph-ui/manager.js +3 -180
- package/dist/src/graph-ui/model-picker.js +0 -29
- package/dist/src/graph-ui/sidebar.js +2 -3
- package/dist/src/graph-ui/skill-picker.js +373 -39
- package/dist/src/graph-ui/studio-canvas.js +3 -38
- package/dist/src/graph-ui/studio.css +0 -18
- package/dist/src/graph-ui/studio.js +3 -71
- package/dist/src/graph-ui/style.css +11 -134
- package/dist/src/graph-ui/theme.js +1 -26
- package/dist/src/graph-ui/tokens.css +15 -114
- package/dist/src/graphs.d.ts +6 -157
- package/dist/src/graphs.js +65 -266
- package/dist/src/grep-regex-worker.js +0 -2
- package/dist/src/grep-regex.d.ts +1 -5
- package/dist/src/grep-regex.js +6 -8
- package/dist/src/grok-provider.d.ts +0 -17
- package/dist/src/grok-provider.js +1 -26
- package/dist/src/handoffs.d.ts +0 -11
- package/dist/src/handoffs.js +0 -13
- package/dist/src/hardened-runtime.d.ts +0 -10
- package/dist/src/hardened-runtime.js +8 -46
- package/dist/src/harness-home.d.ts +21 -0
- package/dist/src/harness-home.js +87 -0
- package/dist/src/host-process-guard.d.ts +0 -50
- package/dist/src/host-process-guard.js +0 -641
- package/dist/src/limits.d.ts +0 -64
- package/dist/src/limits.js +0 -62
- package/dist/src/managed-sign-in.d.ts +0 -12
- package/dist/src/managed-sign-in.js +0 -16
- package/dist/src/markdown.d.ts +0 -28
- package/dist/src/markdown.js +1 -175
- package/dist/src/mcp.d.ts +0 -99
- package/dist/src/mcp.js +4 -170
- package/dist/src/membership-errors.d.ts +0 -14
- package/dist/src/membership-errors.js +0 -13
- package/dist/src/membership.d.ts +2 -60
- package/dist/src/membership.js +0 -85
- package/dist/src/memory/LocalToolMemory.d.ts +0 -1
- package/dist/src/memory/LocalToolMemory.js +2 -7
- package/dist/src/memory/MemoryDistiller.js +0 -15
- package/dist/src/memory/MemoryManager.d.ts +0 -3
- package/dist/src/memory/MemoryManager.js +6 -18
- package/dist/src/memory/MemoryPolicy.d.ts +0 -2
- package/dist/src/memory/MemoryPolicy.js +0 -2
- package/dist/src/memory/MemoryProvider.d.ts +0 -6
- package/dist/src/memory/MemoryRetriever.js +0 -7
- package/dist/src/memory/PermissionMemoryProvider.d.ts +0 -1
- package/dist/src/memory/PermissionMemoryProvider.js +0 -1
- package/dist/src/memory/ProjectMemory.d.ts +5 -40
- package/dist/src/memory/ProjectMemory.js +22 -47
- package/dist/src/memory/ToolFailureLessons.d.ts +0 -3
- package/dist/src/memory/ToolFailureLessons.js +0 -6
- package/dist/src/memory/providers/NoOpMemoryProvider.d.ts +0 -1
- package/dist/src/memory/providers/NoOpMemoryProvider.js +0 -1
- package/dist/src/memory/redaction.d.ts +0 -5
- package/dist/src/memory/redaction.js +0 -11
- package/dist/src/memory/repository.d.ts +0 -6
- package/dist/src/memory/repository.js +2 -12
- package/dist/src/memory/types.d.ts +0 -1
- package/dist/src/model-health-cache.d.ts +0 -38
- package/dist/src/model-health-cache.js +1 -49
- package/dist/src/model-metadata.d.ts +0 -18
- package/dist/src/model-metadata.js +2 -42
- package/dist/src/model-override.d.ts +0 -36
- package/dist/src/model-override.js +0 -43
- package/dist/src/model-tiers.d.ts +0 -13
- package/dist/src/model-tiers.js +0 -23
- package/dist/src/opencode-catalog.d.ts +0 -2
- package/dist/src/opencode-catalog.js +0 -11
- package/dist/src/opencode-cli-provider.d.ts +0 -35
- package/dist/src/opencode-cli-provider.js +1 -44
- package/dist/src/opencode-provider.d.ts +0 -2
- package/dist/src/opencode-provider.js +1 -16
- package/dist/src/package-name.d.ts +0 -2
- package/dist/src/package-name.js +0 -2
- package/dist/src/paged-transcript.d.ts +0 -11
- package/dist/src/paged-transcript.js +2 -20
- package/dist/src/palette.d.ts +0 -63
- package/dist/src/palette.js +0 -63
- package/dist/src/permissions.d.ts +0 -15
- package/dist/src/permissions.js +0 -17
- package/dist/src/powershell-pool.d.ts +0 -9
- package/dist/src/powershell-pool.js +3 -26
- package/dist/src/process-warnings.d.ts +4 -0
- package/dist/src/process-warnings.js +103 -0
- package/dist/src/profile.d.ts +0 -43
- package/dist/src/profile.js +0 -43
- package/dist/src/project-reservation.d.ts +11 -0
- package/dist/src/project-reservation.js +143 -0
- package/dist/src/provider-connection.d.ts +0 -18
- package/dist/src/provider-connection.js +0 -39
- package/dist/src/provider-engine.d.ts +0 -21
- package/dist/src/provider-engine.js +1 -96
- package/dist/src/provider-import.d.ts +0 -49
- package/dist/src/provider-import.js +0 -60
- package/dist/src/provider-keys.d.ts +1 -36
- package/dist/src/provider-keys.js +5 -48
- package/dist/src/provider-settings.d.ts +0 -2
- package/dist/src/provider-settings.js +0 -32
- package/dist/src/providers.d.ts +0 -217
- package/dist/src/providers.js +0 -315
- package/dist/src/pull-requests.d.ts +0 -173
- package/dist/src/pull-requests.js +5 -195
- package/dist/src/qa/browser/PlaywrightRunner.d.ts +0 -7
- package/dist/src/qa/browser/PlaywrightRunner.js +2 -16
- package/dist/src/qa/command-policy.d.ts +0 -23
- package/dist/src/qa/command-policy.js +0 -30
- package/dist/src/qa/guidance.d.ts +0 -21
- package/dist/src/qa/guidance.js +0 -20
- package/dist/src/qa/profile/ProjectInspector.d.ts +0 -4
- package/dist/src/qa/profile/ProjectInspector.js +0 -6
- package/dist/src/qa/profile/QaConfigLoader.d.ts +0 -7
- package/dist/src/qa/profile/QaConfigLoader.js +0 -6
- package/dist/src/qa/profile/QaProfile.d.ts +0 -7
- package/dist/src/qa/profile/QaProfile.js +0 -7
- package/dist/src/qa/profile/yaml.d.ts +0 -9
- package/dist/src/qa/profile/yaml.js +0 -13
- package/dist/src/qa/qa-authorize.d.ts +0 -19
- package/dist/src/qa/qa-authorize.js +4 -11
- package/dist/src/qa/runtime/ProcessManager.d.ts +0 -31
- package/dist/src/qa/runtime/ProcessManager.js +4 -41
- package/dist/src/qa/runtime/PtyManager.d.ts +0 -4
- package/dist/src/qa/runtime/PtyManager.js +1 -7
- package/dist/src/qa/runtime/changes.d.ts +0 -11
- package/dist/src/qa/runtime/changes.js +1 -3
- package/dist/src/qa/tools.d.ts +0 -10
- package/dist/src/qa/tools.js +0 -12
- package/dist/src/qa/types.d.ts +0 -13
- package/dist/src/react-runtime.d.ts +2 -21
- package/dist/src/react-runtime.js +95 -415
- package/dist/src/read-document-doc.d.ts +0 -6
- package/dist/src/read-document-doc.js +0 -55
- package/dist/src/read-document-docx.d.ts +0 -16
- package/dist/src/read-document-docx.js +2 -69
- package/dist/src/read-document-text.d.ts +0 -17
- package/dist/src/read-document-text.js +0 -22
- package/dist/src/read-document-tool.d.ts +0 -31
- package/dist/src/read-document-tool.js +0 -30
- package/dist/src/read-document.d.ts +0 -49
- package/dist/src/read-document.js +1 -67
- package/dist/src/read-image.d.ts +0 -32
- package/dist/src/read-image.js +0 -33
- package/dist/src/remote/cert.d.ts +0 -18
- package/dist/src/remote/cert.js +0 -44
- package/dist/src/remote/client.d.ts +0 -70
- package/dist/src/remote/client.js +1 -116
- package/dist/src/remote/command.js +0 -17
- package/dist/src/remote/engine-pool.d.ts +0 -152
- package/dist/src/remote/engine-pool.js +17 -335
- package/dist/src/remote/errors.d.ts +0 -15
- package/dist/src/remote/errors.js +0 -7
- package/dist/src/remote/network.d.ts +0 -26
- package/dist/src/remote/network.js +1 -34
- package/dist/src/remote/pairing.d.ts +16 -51
- package/dist/src/remote/pairing.js +50 -57
- package/dist/src/remote/pem.d.ts +0 -4
- package/dist/src/remote/pem.js +0 -4
- package/dist/src/remote/roots.d.ts +0 -20
- package/dist/src/remote/roots.js +0 -8
- package/dist/src/remote/serve.d.ts +0 -47
- package/dist/src/remote/serve.js +0 -30
- package/dist/src/remote/server.d.ts +0 -14
- package/dist/src/remote/server.js +1 -79
- package/dist/src/remote/types.d.ts +1 -32
- package/dist/src/remote/types.js +0 -10
- package/dist/src/run-control.d.ts +0 -7
- package/dist/src/run-control.js +0 -7
- package/dist/src/run-progress.d.ts +0 -170
- package/dist/src/run-progress.js +0 -285
- package/dist/src/run-records.d.ts +0 -443
- package/dist/src/run-records.js +14 -687
- package/dist/src/run-temp.d.ts +12 -0
- package/dist/src/run-temp.js +50 -0
- package/dist/src/runtime.d.ts +10 -228
- package/dist/src/runtime.js +0 -127
- package/dist/src/sandbox-child.js +0 -1
- package/dist/src/save-lock.d.ts +0 -12
- package/dist/src/save-lock.js +0 -28
- package/dist/src/screen-selection.d.ts +0 -23
- package/dist/src/screen-selection.js +0 -22
- package/dist/src/secret-redaction.d.ts +0 -12
- package/dist/src/secret-redaction.js +0 -45
- package/dist/src/session-changes.d.ts +4 -80
- package/dist/src/session-changes.js +25 -130
- package/dist/src/session-goal.d.ts +129 -0
- package/dist/src/session-goal.js +230 -0
- package/dist/src/session-monitor.d.ts +1 -10
- package/dist/src/session-monitor.js +2 -39
- package/dist/src/session-reaper.d.ts +0 -15
- package/dist/src/session-reaper.js +0 -14
- package/dist/src/session-skills.d.ts +15 -44
- package/dist/src/session-skills.js +75 -60
- package/dist/src/session-summary.d.ts +0 -26
- package/dist/src/session-summary.js +0 -32
- package/dist/src/session-title.d.ts +0 -1
- package/dist/src/session-title.js +0 -2
- package/dist/src/sessions.d.ts +2 -122
- package/dist/src/sessions.js +7 -178
- package/dist/src/shell.d.ts +3 -20
- package/dist/src/shell.js +8 -72
- package/dist/src/side-panel.d.ts +5 -99
- package/dist/src/side-panel.js +76 -133
- package/dist/src/sign-in-detection.d.ts +0 -39
- package/dist/src/sign-in-detection.js +0 -43
- package/dist/src/sign-in-offer.d.ts +1 -19
- package/dist/src/sign-in-offer.js +0 -13
- package/dist/src/skill-commands.d.ts +0 -1
- package/dist/src/skill-commands.js +1 -4
- package/dist/src/skills/bundled/control-browser/SKILL.md +1 -1
- package/dist/src/skills/bundled/provenance.json +1 -1
- package/dist/src/skills/invocable-skills.d.ts +0 -18
- package/dist/src/skills/invocable-skills.js +0 -17
- package/dist/src/skills/project-skills.d.ts +0 -1
- package/dist/src/skills/project-skills.js +0 -3
- package/dist/src/skills/prompt-skills.js +0 -14
- package/dist/src/skills/runtime-skills.d.ts +0 -13
- package/dist/src/skills/runtime-skills.js +0 -37
- package/dist/src/stall-recovery.d.ts +0 -25
- package/dist/src/stall-recovery.js +0 -38
- package/dist/src/stray-files.d.ts +0 -9
- package/dist/src/stray-files.js +0 -16
- package/dist/src/structured-step.d.ts +0 -22
- package/dist/src/structured-step.js +0 -22
- package/dist/src/subagent-run.d.ts +0 -163
- package/dist/src/subagent-run.js +4 -373
- package/dist/src/subagent-tree.d.ts +32 -0
- package/dist/src/subagent-tree.js +128 -0
- package/dist/src/telemetry/aggregate.d.ts +0 -37
- package/dist/src/telemetry/aggregate.js +0 -40
- package/dist/src/telemetry/capture-core.d.ts +0 -87
- package/dist/src/telemetry/capture-core.js +0 -67
- package/dist/src/telemetry/capture.d.ts +0 -1
- package/dist/src/telemetry/capture.js +0 -3
- package/dist/src/telemetry/classify.d.ts +0 -58
- package/dist/src/telemetry/classify.js +0 -60
- package/dist/src/telemetry/decision-capture.d.ts +0 -1
- package/dist/src/telemetry/emitter.d.ts +0 -30
- package/dist/src/telemetry/emitter.js +1 -62
- package/dist/src/telemetry/gate.d.ts +0 -29
- package/dist/src/telemetry/gate.js +0 -22
- package/dist/src/telemetry/identity.d.ts +0 -13
- package/dist/src/telemetry/identity.js +0 -29
- package/dist/src/telemetry/outbox.d.ts +0 -64
- package/dist/src/telemetry/outbox.js +1 -108
- package/dist/src/telemetry/schema.d.ts +1 -49
- package/dist/src/telemetry/schema.js +1 -82
- package/dist/src/telemetry/state.d.ts +0 -53
- package/dist/src/telemetry/state.js +0 -64
- package/dist/src/telemetry/surface.d.ts +0 -31
- package/dist/src/telemetry/surface.js +1 -39
- package/dist/src/telemetry/uploader.d.ts +0 -11
- package/dist/src/telemetry/uploader.js +0 -46
- package/dist/src/telemetry/uploads.d.ts +0 -11
- package/dist/src/telemetry/uploads.js +0 -11
- package/dist/src/telemetry/version.d.ts +0 -4
- package/dist/src/telemetry/version.js +0 -14
- package/dist/src/telemetry/workspace.d.ts +0 -7
- package/dist/src/telemetry/workspace.js +1 -22
- package/dist/src/terminal-ui.d.ts +14 -523
- package/dist/src/terminal-ui.js +74 -876
- package/dist/src/test-edit-guard.d.ts +74 -0
- package/dist/src/test-edit-guard.js +269 -0
- package/dist/src/text.d.ts +0 -1
- package/dist/src/text.js +0 -1
- package/dist/src/time-limit.d.ts +0 -36
- package/dist/src/time-limit.js +0 -37
- package/dist/src/timers.d.ts +0 -161
- package/dist/src/timers.js +0 -126
- package/dist/src/todos.d.ts +0 -1
- package/dist/src/todos.js +0 -3
- package/dist/src/token-rate.d.ts +0 -94
- package/dist/src/token-rate.js +0 -154
- package/dist/src/tool-activity.d.ts +0 -6
- package/dist/src/tool-activity.js +0 -7
- package/dist/src/tool-availability.d.ts +0 -13
- package/dist/src/tool-availability.js +1 -14
- package/dist/src/tool-call-clock.d.ts +1 -4
- package/dist/src/tool-call-clock.js +0 -13
- package/dist/src/tool-catalog.d.ts +0 -11
- package/dist/src/tool-catalog.js +0 -23
- package/dist/src/tool-dependencies.d.ts +0 -5
- package/dist/src/tool-dependencies.js +0 -4
- package/dist/src/tool-diff-stats.d.ts +0 -23
- package/dist/src/tool-diff-stats.js +0 -49
- package/dist/src/tool-errors.d.ts +9 -7
- package/dist/src/tool-errors.js +13 -6
- package/dist/src/tool-failure-tracker.d.ts +3 -11
- package/dist/src/tool-failure-tracker.js +19 -27
- package/dist/src/tool-names.d.ts +0 -16
- package/dist/src/tool-names.js +0 -12
- package/dist/src/tool-profile.d.ts +6 -0
- package/dist/src/tool-profile.js +23 -0
- package/dist/src/tool-result-filter.d.ts +0 -19
- package/dist/src/tool-result-filter.js +1 -66
- package/dist/src/tool-schema-compatibility.d.ts +0 -6
- package/dist/src/tool-schema-compatibility.js +0 -9
- package/dist/src/tools.d.ts +0 -4
- package/dist/src/tools.js +11 -114
- package/dist/src/trajectory.d.ts +0 -13
- package/dist/src/trajectory.js +23 -79
- package/dist/src/transcript.d.ts +0 -41
- package/dist/src/transcript.js +2 -60
- package/dist/src/types.d.ts +1 -168
- package/dist/src/untracked-file-removal.js +0 -20
- package/dist/src/update-check.d.ts +0 -14
- package/dist/src/update-check.js +1 -15
- package/dist/src/update.d.ts +0 -35
- package/dist/src/update.js +0 -100
- package/dist/src/usage-analytics.d.ts +17 -17
- package/dist/src/usage-analytics.js +168 -209
- package/dist/src/web-search.d.ts +0 -23
- package/dist/src/web-search.js +1 -27
- package/dist/src/widgets.d.ts +0 -25
- package/dist/src/widgets.js +0 -24
- package/dist/src/workspace-facts.d.ts +0 -12
- package/dist/src/workspace-facts.js +1 -18
- package/dist/src/workspace-git-metadata.d.ts +0 -16
- package/dist/src/workspace-git-metadata.js +0 -21
- package/dist/src/workspace-instructions.d.ts +3 -15
- package/dist/src/workspace-instructions.js +6 -19
- package/package.json +2 -2
|
@@ -3,131 +3,68 @@
|
|
|
3
3
|
* (verbatim) followed by src/graph-ui/editor-tokens.css (scripts/graph-ui-tokens.mjs).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
/* Andorra Code desktop tokens. Two appearances: dark (the ground every first paint starts from) and
|
|
7
|
-
* light. Neutral surfaces carry the work, and every grey but the grounds is one ink at a fixed alpha
|
|
8
|
-
* (ADR 0022, 2026-11-14 amendment). One blue marks the primary action, keyboard focus, a switch that
|
|
9
|
-
* is on, links and progress; nothing else in the chrome carries a hue. Status hues mean state.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
6
|
:root {
|
|
13
|
-
|
|
14
|
-
--rail-
|
|
15
|
-
--chrome-height: 36px;
|
|
16
|
-
--reading-measure: 792px;
|
|
17
|
-
--settings-measure: 880px;
|
|
7
|
+
--rail-width: 232px;
|
|
8
|
+
--rail-task-indent: 28px;
|
|
9
|
+
--chrome-height: 36px;
|
|
10
|
+
--reading-measure: 792px;
|
|
11
|
+
--settings-measure: 880px;
|
|
18
12
|
--row-height: 28px;
|
|
19
13
|
--row-radius: 6px;
|
|
20
|
-
--control-height: 28px;
|
|
21
|
-
--btn-height: 32px;
|
|
14
|
+
--control-height: 28px;
|
|
15
|
+
--btn-height: 32px;
|
|
22
16
|
--btn-radius: 8px;
|
|
23
17
|
--card-radius: 12px;
|
|
24
|
-
/* The radius scale. Every corner takes one of these steps, and a corner inside another is the
|
|
25
|
-
outer step minus the padding between them, floored at the next step down: 4 for badges, menu
|
|
26
|
-
rows and inline code, 6 for rows, 28px buttons and icon buttons, 8 for 32px buttons, fields,
|
|
27
|
-
code blocks and menus, 12 for cards and dialogs, 20 for the composer (the one large rounded
|
|
28
|
-
object), and full for dots, avatars, switches and status pills. The --row/--btn/--input/--card
|
|
29
|
-
radii above are positions on it. */
|
|
30
18
|
--radius-xs: 4px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --radius-full: 999px;
|
|
31
19
|
--radius-composer: 20px;
|
|
32
20
|
|
|
33
21
|
--font-ui: "Geist Sans", "Geist", -apple-system, "SF Pro Text", system-ui, sans-serif;
|
|
34
22
|
--font-mono: "Geist Mono", "SF Mono", Menlo, Consolas, ui-monospace, monospace;
|
|
35
|
-
/* The type scale: four sizes, two weights in the chrome. The --type-* role names restate steps on it. */
|
|
36
23
|
--type-xs: 12px; --type-sm: 13px; --type-md: 15px; --type-lg: 20px;
|
|
37
24
|
--type-row: 13px;
|
|
38
25
|
--type-label: 12px;
|
|
39
26
|
--type-section: 15px;
|
|
40
27
|
--type-hint: 12px;
|
|
41
|
-
--type-h1: 17px;
|
|
28
|
+
--type-h1: 17px;
|
|
42
29
|
--weight-regular: 400; --weight-strong: 500;
|
|
43
|
-
/* Leading and tracking, one value per size, every line on the 2px grid: 12px on 16, 13px on 18,
|
|
44
|
-
14–15px headings and titles on 20, prose 14px on 22, the 17px heading and 20px titles on 24, and
|
|
45
|
-
12px code on 18. 13px type is tracked in by a hair (−0.08px), the way the platform faces set their
|
|
46
|
-
text size; a title is tracked in by a hundredth of its size, and a code meant to be read out (a
|
|
47
|
-
sign-in code) is spaced out. */
|
|
48
30
|
--leading-xs: 16px; --leading-sm: 18px; --leading-md: 20px; --leading-prose: 22px; --leading-lg: 24px;
|
|
49
31
|
--leading-code: 18px;
|
|
50
32
|
--tracking-sm: -0.08px; --tracking-title: -0.01em; --tracking-code: .06em;
|
|
51
|
-
/* A message is the one thing the window is read for at length, so its prose takes one step up
|
|
52
|
-
from the row size. The body is regular 400; a heading is 600 and a bold term 500. A bold term is
|
|
53
|
-
set apart by ink as well as weight: the body takes the ink a fifth of the way to the surface and
|
|
54
|
-
a bold term takes full ink. Declared once: the theme blocks redefine --text and --bg-surface on
|
|
55
|
-
this same element, so the mix follows the theme. */
|
|
56
33
|
--type-prose: 14px; --weight-prose: 400; --weight-prose-strong: 600; --weight-prose-bold: 500;
|
|
57
34
|
--text-prose: color-mix(in srgb, var(--text) 80%, var(--bg-surface));
|
|
58
|
-
/* The spacing scale. Padding, margins and gaps take these values and nothing between them. */
|
|
59
35
|
--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
|
|
60
|
-
--input-height: 32px;
|
|
36
|
+
--input-height: 32px;
|
|
61
37
|
--input-radius: 8px;
|
|
62
38
|
|
|
63
|
-
/* Dark grounds: sidebar, chrome, pane, raised (menus, dialogs, the composer). Pure neutrals; these
|
|
64
|
-
are also the first paint, before the boot script or React has named an appearance. */
|
|
65
39
|
--bg-rail: #101010; --bg-app: #141414; --bg-surface: #191919; --bg-input: #1f1f1f;
|
|
66
|
-
|
|
67
|
-
60 / 36 %, hairline 8 %, field edge 12 %, card 6 %, control 8 % (14 % hovered), raised 16 %. */
|
|
68
|
-
--text: #f5f5f5; --text-2: rgba(245,245,245,.74); --text-3: rgba(245,245,245,.60);
|
|
69
|
-
/* A control that cannot be used. It is its own token, and a clear step below the muted inks: when
|
|
70
|
-
it shared --text-3's value a disabled pill read as live and a quiet live one read as disabled. */
|
|
40
|
+
--text: #f5f5f5; --text-2: rgba(245,245,245,.74); --text-3: rgba(245,245,245,.60); --shimmer-dim: 40%;
|
|
71
41
|
--text-disabled: rgba(245,245,245,.36);
|
|
72
42
|
--border: rgba(245,245,245,.08); --border-strong: rgba(245,245,245,.12);
|
|
73
43
|
--bg-card: rgba(245,245,245,.06);
|
|
74
|
-
/* A control's own fill (the secondary button), and its hover. */
|
|
75
44
|
--bg-control: rgba(245,245,245,.08); --bg-control-hover: rgba(245,245,245,.14);
|
|
76
|
-
/* The raised chip: the selected segment of a segmented control. */
|
|
77
45
|
--bg-raised: rgba(245,245,245,.16);
|
|
78
|
-
/* A card's fill composited onto the pane, for what must hide what is under it (a donut's hole, a
|
|
79
|
-
ring punched around a dot that overlaps a logo). */
|
|
80
46
|
--bg-card-solid: color-mix(in srgb, var(--text) 6%, var(--bg-surface));
|
|
81
|
-
/* A switch that is off: a boundary of 3:1 on the pane in both themes. */
|
|
82
47
|
--switch-off: var(--text-disabled);
|
|
83
|
-
/* Pointed at, and chosen. One hover for every quiet control, row, menu item and pill, and one
|
|
84
|
-
selection a clear step stronger, so the open task never looks like the one under the pointer. */
|
|
85
48
|
--hover: color-mix(in srgb, var(--text) 7%, transparent);
|
|
86
49
|
--selected: color-mix(in srgb, var(--text) 12%, transparent);
|
|
87
50
|
--bg-hover: var(--hover);
|
|
88
|
-
/* The neutral accent: the send button, the caret, a checked checkbox, a field's focus halo. The halo
|
|
89
|
-
is a focus indicator, so it keeps 3:1 against the ground it sits on (WCAG 1.4.11): the ink at 36%
|
|
90
|
-
here, 48% in light (P-IXD-16). */
|
|
91
51
|
--accent: #ececec; --accent-soft: rgba(245,245,245,.16); --on-accent: #141414;
|
|
92
52
|
--accent-hover: #ffffff; --accent-ring: rgba(245,245,245,.36);
|
|
93
|
-
/* The one hue in the chrome: the primary button's fill, keyboard focus, a switch that is on, links
|
|
94
|
-
and progress. Everything else is neutral, so the blue stays rare and means "the action". */
|
|
95
53
|
--accent-fill: #1372da; --accent-fill-hover: #2a7fdd; --on-accent-fill: #f5f5f5;
|
|
96
54
|
--accent-text: #71aeff; --focus: #1f87fc;
|
|
97
|
-
/* 2026-11-12: the chrome keeps no amber. --warn is the attention ink, a bright neutral: a row or
|
|
98
|
-
a pill that needs its person is marked by contrast, weight and motion, never by a warning hue.
|
|
99
|
-
--err is one clean red, kept for what failed and for removed lines; it is never a button. */
|
|
100
55
|
--ok: #2f9e6a; --err: #e5484d; --warn: #c9c9c9;
|
|
101
|
-
/* Text-safe status variants: --ok/--err/--warn are the dot and border colours the Siderail
|
|
102
|
-
language defines, and at small text sizes they fall short of 4.5:1 on these surfaces. Any use
|
|
103
|
-
of a status colour as foreground text takes the -text variant instead. */
|
|
104
|
-
/* Merged is the violet GitHub gives a merged pull request, the one state the hues above do not
|
|
105
|
-
already name; it only ever shows as a pill's word on its wash, so it has no dot ink. */
|
|
106
56
|
--ok-text: #7cc79a; --err-text: #f47174; --warn-text: #ececec; --merged-text: #bba4f2;
|
|
107
|
-
/* A picked skill in the composer. It is content the person typed, not chrome, and it has to read as
|
|
108
|
-
recognised at a glance, so it carries the one hue outside status and the accent (see ADR 0022).
|
|
109
|
-
4.5:1 or better on its wash over the input ground in both themes. */
|
|
110
57
|
--skill: #aab8ff; --skill-wash: rgba(120,140,255,.18);
|
|
111
|
-
/* A status pill's fill: a faint wash of its hue under the -text ink, light enough that the ink
|
|
112
|
-
keeps 4.5:1 on both the card and the pane ground. */
|
|
113
58
|
--ok-wash: rgba(47,158,106,.14); --err-wash: rgba(229,72,77,.14); --merged-wash: rgba(142,110,224,.14);
|
|
114
59
|
--add-wash: rgba(47,158,106,.16); --del-wash: rgba(229,72,77,.16);
|
|
115
60
|
--overlay: rgba(0,0,0,.5);
|
|
116
61
|
|
|
117
|
-
/* Fenced code tokens, on the input surface the blocks shade. The register is a terminal's, not
|
|
118
|
-
the chrome's: hue only where code has meaning, at the contrast the small mono type needs. */
|
|
119
62
|
--code-keyword: #569cd6; --code-string: #ce9178; --code-number: #b5cea8; --code-comment: #6a9955;
|
|
120
63
|
--code-fn: #dcdcaa; --code-var: #9cdcfe; --code-type: #4ec9b0; --code-meta: #c586c0;
|
|
121
64
|
|
|
122
|
-
/* Rows on the rail fill with the shared hover and selection. */
|
|
123
65
|
--rail-wash: var(--hover);
|
|
124
|
-
/* 2026-11-12: the rail is a flat ground. The glow and grain are kept as tokens and switched off. */
|
|
125
66
|
--glow-1: transparent; --glow-2: transparent; --glow-size: 440px 380px; --grain: 0;
|
|
126
67
|
|
|
127
|
-
/* Elevation: one shadow per step. lift-2 under a bordered card at rest, lift-3 for the composer
|
|
128
|
-
holding focus, menu for every menu and popover, panel for dialogs and toasts, raised for a chip
|
|
129
|
-
lifted out of its well, knob for a switch's thumb. On a dark ground the lift gains a highlight
|
|
130
|
-
inside its top edge. */
|
|
131
68
|
--lift-2: inset 0 1px 0 rgba(255,255,255,.05), 0 2px 4px rgba(0,0,0,.28), 0 14px 30px -10px rgba(0,0,0,.55);
|
|
132
69
|
--lift-3: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 4px rgba(0,0,0,.3), 0 18px 38px -10px rgba(0,0,0,.7);
|
|
133
70
|
--shadow-menu: 0 8px 28px rgba(0,0,0,.4);
|
|
@@ -135,15 +72,9 @@
|
|
|
135
72
|
--shadow-raised: 0 1px 2px rgba(0,0,0,.32);
|
|
136
73
|
--shadow-knob: 0 1px 2px rgba(0,0,0,.4);
|
|
137
74
|
|
|
138
|
-
/* Layers, lowest first. The window's own controls (chrome) sit under every menu and dialog. Menus
|
|
139
|
-
sit above dialogs on purpose: a picker opened inside a dialog owns the next click. */
|
|
140
75
|
--z-raised: 10; --z-chrome: 30; --z-rail-menu: 40; --z-dialog: 50; --z-menu: 60; --z-palette: 70; --z-toast: 80;
|
|
141
76
|
--z-lightbox: 90; --z-tooltip: 100;
|
|
142
77
|
|
|
143
|
-
/* Motion: five durations, four curves. Nothing UI-driven exceeds 240ms, and nothing loops while
|
|
144
|
-
the app is idle: the spinner turns only while work runs. */
|
|
145
|
-
/* 2026-11-12: quick and soft, with no overshoot. Row hover arrives and leaves at once; popovers
|
|
146
|
-
and rows take --dur-2, dialogs and view changes --dur-3, height --dur-4. */
|
|
147
78
|
--dur-0: 80ms; --dur-1: 120ms; --dur-2: 160ms; --dur-3: 200ms; --dur-4: 240ms;
|
|
148
79
|
--ease-standard: cubic-bezier(.2,.8,.2,1);
|
|
149
80
|
--ease-out: var(--ease-standard);
|
|
@@ -151,24 +82,17 @@
|
|
|
151
82
|
--ease-exit: cubic-bezier(.4,0,1,1);
|
|
152
83
|
--pop-distance: 4px; --pop-scale: .98;
|
|
153
84
|
--loop-spin: 1s; --loop-shimmer: 1.8s; --loop-breathe: 2.4s;
|
|
154
|
-
/* How long the pointer rests on a quiet affordance (the sidebar's sash) before it lights, so a pointer
|
|
155
|
-
only crossing it lights nothing. */
|
|
156
85
|
--delay-hover-intent: 150ms;
|
|
157
86
|
|
|
158
87
|
color-scheme: dark;
|
|
159
88
|
}
|
|
160
89
|
|
|
161
|
-
/* Light: white panes and fields on a #f5f5f5 rail, with the same ink-at-alpha greys as dark. The
|
|
162
|
-
muted ink is 66 % rather than 60 % so it keeps 5:1 on every light ground (the rail, a card, a
|
|
163
|
-
hovered row), the bar a live muted ink holds here so it never reads as disabled. A light block only states what it
|
|
164
|
-
changes; measurements, motion and the layers inherit from the dark root. */
|
|
165
90
|
:root[data-theme="light"] {
|
|
166
91
|
--bg-rail: #f5f5f5; --bg-app: #ffffff; --bg-surface: #ffffff; --bg-input: #ffffff;
|
|
167
|
-
--text: #1c1c1c; --text-2: rgba(28,28,28,.74); --text-3: rgba(28,28,28,.66); --text-disabled: rgba(28,28,28,.36);
|
|
92
|
+
--text: #1c1c1c; --text-2: rgba(28,28,28,.74); --text-3: rgba(28,28,28,.66); --shimmer-dim: 34%; --text-disabled: rgba(28,28,28,.36);
|
|
168
93
|
--border: rgba(28,28,28,.08); --border-strong: rgba(28,28,28,.12);
|
|
169
94
|
--bg-card: rgba(28,28,28,.06);
|
|
170
95
|
--bg-control: rgba(28,28,28,.08); --bg-control-hover: rgba(28,28,28,.14);
|
|
171
|
-
/* The raised segment is white in light: it lifts out of its grey well by its fill and shadow. */
|
|
172
96
|
--bg-raised: #ffffff;
|
|
173
97
|
--switch-off: color-mix(in srgb, var(--text) 50%, transparent);
|
|
174
98
|
--accent: #1c1c1c; --accent-soft: rgba(28,28,28,.16); --on-accent: #ffffff;
|
|
@@ -176,15 +100,9 @@
|
|
|
176
100
|
--accent-fill: #1680f3; --accent-fill-hover: #1776dd; --on-accent-fill: #ffffff;
|
|
177
101
|
--accent-text: #0b6dd3; --focus: #1680f3;
|
|
178
102
|
--ok: #3d7a5c; --err: #d13438; --warn: #45464b;
|
|
179
|
-
/* The pass word is a step darker than its dot: on the add wash an added line's "+" needs 4.5:1
|
|
180
|
-
(4.88:1 here, P-IXD-15). No merged ink in the source palette; this violet is in the key of the
|
|
181
|
-
pass and fail inks. */
|
|
182
103
|
--ok-text: #36704f; --err-text: #c4262e; --warn-text: #1c1c1c; --merged-text: #6a4fc4;
|
|
183
104
|
--skill: #3b4fc4; --skill-wash: rgba(59,79,196,.10);
|
|
184
|
-
/* Fainter than the dark washes: at .14 the pass ink on its own wash drops under 4.5:1. */
|
|
185
105
|
--ok-wash: rgba(61,122,92,.08); --err-wash: rgba(209,52,56,.08); --merged-wash: rgba(106,79,196,.08);
|
|
186
|
-
/* A removed line has to be found beside an added one: at .08 it was all but white. At .13 the
|
|
187
|
-
fail ink still keeps 5:1 on it. */
|
|
188
106
|
--add-wash: rgba(61,122,92,.14); --del-wash: rgba(209,52,56,.13);
|
|
189
107
|
--overlay: rgba(22,23,26,.32);
|
|
190
108
|
|
|
@@ -203,22 +121,6 @@
|
|
|
203
121
|
color-scheme: light;
|
|
204
122
|
}
|
|
205
123
|
|
|
206
|
-
/*
|
|
207
|
-
* The Graph Studio's own additions to the desktop client's tokens.
|
|
208
|
-
*
|
|
209
|
-
* The editor is a surface of the same product as the desktop client, so it does not keep a copy of
|
|
210
|
-
* the client's tokens: the build (`build-assets.mjs`, through `scripts/graph-ui-tokens.mjs`) writes
|
|
211
|
-
* the served `/tokens.css` as `desktop/src/styles/tokens.css` verbatim followed by this file. Every
|
|
212
|
-
* surface, ink, radius, duration and curve the editor reads is therefore the client's own, in both
|
|
213
|
-
* appearances, and a token the client adds reaches the editor on the next build.
|
|
214
|
-
* `test/graph-ui-theme.test.ts` compares every token of the generated file with the client's.
|
|
215
|
-
*
|
|
216
|
-
* This file only adds what the client has no use for: the editor's font faces, served from its own
|
|
217
|
-
* origin, the inspector's width and the canvas ground. It must never restate a client token; the
|
|
218
|
-
* test fails if it does, because a restated value is exactly the copy that drifted before.
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
/* The desktop client's face, served from this origin so the editor and the app agree. */
|
|
222
124
|
@font-face {
|
|
223
125
|
font-family: 'Geist Sans';
|
|
224
126
|
font-style: normal;
|
|
@@ -242,16 +144,15 @@
|
|
|
242
144
|
}
|
|
243
145
|
|
|
244
146
|
:root {
|
|
245
|
-
--panel: 380px;
|
|
147
|
+
--panel: 380px;
|
|
246
148
|
|
|
247
|
-
/* The canvas: the pane's own ground, and the dot of the grid that marks every snap point. The dot is
|
|
248
|
-
the ink at a fixed share of the ground (ADR 0022, A2: every grey is one ink at an alpha), so it is
|
|
249
|
-
a pure neutral in either appearance; light takes a slightly larger share to keep the grid as
|
|
250
|
-
visible on white as it is on the dark pane. */
|
|
251
149
|
--canvas-bg: var(--bg-surface);
|
|
252
150
|
--canvas-dot: color-mix(in srgb, var(--text) 12%, var(--canvas-bg));
|
|
151
|
+
|
|
152
|
+
--skill: #aab8ff; --skill-wash: rgba(120,140,255,.18);
|
|
253
153
|
}
|
|
254
154
|
|
|
255
155
|
:root[data-theme='light'] {
|
|
256
156
|
--canvas-dot: color-mix(in srgb, var(--text) 14%, var(--canvas-bg));
|
|
157
|
+
--skill: #3b4fc4; --skill-wash: rgba(59,79,196,.10);
|
|
257
158
|
}
|
package/dist/src/graphs.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export interface ContextPolicy {
|
|
|
24
24
|
maxChars?: number;
|
|
25
25
|
conversation?: 'reuse' | 'isolate';
|
|
26
26
|
skillInheritance?: 'inherit' | 'none';
|
|
27
|
-
/** false keeps project memory out of this node: no recalled index and no memory tools. */
|
|
28
27
|
projectMemory?: boolean;
|
|
29
28
|
}
|
|
30
29
|
export interface AgentLimits {
|
|
@@ -105,7 +104,6 @@ export interface GraphNode {
|
|
|
105
104
|
model?: string;
|
|
106
105
|
tools?: string[];
|
|
107
106
|
maxIterations?: number;
|
|
108
|
-
/** Agent decision assistance is enabled unless explicitly disabled by a custom graph. */
|
|
109
107
|
jevEnabled?: boolean;
|
|
110
108
|
completion?: CompletionPolicy;
|
|
111
109
|
capabilities?: CapabilityPolicy;
|
|
@@ -141,10 +139,6 @@ export interface GraphEdge {
|
|
|
141
139
|
bootstrap?: true;
|
|
142
140
|
inputMapping?: Record<string, ValueExpression>;
|
|
143
141
|
}
|
|
144
|
-
/**
|
|
145
|
-
* A user-defined run widget: a named value the agents keep current beside the plan. The
|
|
146
|
-
* description is the contract the model reads — it defines what belongs in the value.
|
|
147
|
-
*/
|
|
148
142
|
export interface GraphWidget {
|
|
149
143
|
id: string;
|
|
150
144
|
name: string;
|
|
@@ -179,97 +173,23 @@ export interface Graph {
|
|
|
179
173
|
[key: string]: unknown;
|
|
180
174
|
};
|
|
181
175
|
}
|
|
182
|
-
export declare const GRAPH_TOOLS: readonly ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "PowerShell", "NativeExec", "AsyncProcess", "PowerShellFast", "ShellMetrics", "read_file", "list_files", "search_files", "write_file", "edit_file", "read", "write", "edit", "find", "grep", "ls", "powershell", "bash", "shell", "git_read", "read_artifact", "write_artifact", "repo_explore", "memory_search", "set_timer", "pull_request", "graphs", "qa.terminal", "qa.browser", "qa.browser_session", "browser.solve_captcha", "web_search", "read_skill_resource", "browser.panel", "browser.incognito"];
|
|
183
|
-
/** QA tool names are an explicit allowlist; gating keys off membership, never a name prefix. */
|
|
176
|
+
export declare const GRAPH_TOOLS: readonly ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "PowerShell", "NativeExec", "AsyncProcess", "PowerShellFast", "ShellMetrics", "read_file", "list_files", "search_files", "write_file", "edit_file", "read", "write", "edit", "find", "grep", "ls", "powershell", "bash", "shell", "git_read", "read_artifact", "write_artifact", "repo_explore", "memory_search", "set_timer", "pull_request", "graphs", "qa.terminal", "qa.browser", "qa.browser_session", "browser.solve_captcha", "web_search", "read_skill_resource", "browser.panel", "browser.incognito", "browser.extensions"];
|
|
184
177
|
export declare const QA_TOOL_NAMES: readonly string[];
|
|
185
|
-
/**
|
|
186
|
-
* The QA check pipeline, removed: these tools ran lint, tests and a merge gate that the agent's
|
|
187
|
-
* own shell commands already cover, at about two extra requests per run. A saved graph may still
|
|
188
|
-
* list them in a node's tools; they are dropped on load instead of failing the graph.
|
|
189
|
-
*/
|
|
190
178
|
export declare const RETIRED_GRAPH_TOOLS: ReadonlySet<string>;
|
|
191
179
|
export declare const isQaToolName: (name: string) => boolean;
|
|
192
180
|
export declare const LEGACY_DEFAULT_HARNESS: Graph;
|
|
193
|
-
/** The intake role is configuration for the shared executor, not a separate runtime. */
|
|
194
181
|
export declare function createOrchestratorNode(id?: string): GraphNode;
|
|
195
182
|
export declare const ORCHESTRATOR_HANDOFF: Record<string, ValueExpression>;
|
|
196
|
-
/**
|
|
197
|
-
* Revision 2 of the bundled harness, frozen exactly as it was published.
|
|
198
|
-
*
|
|
199
|
-
* A published revision is a promise about behavior, so each one is stored as its own snapshot
|
|
200
|
-
* rather than rebuilt from the current builders. Were revision 2 derived from
|
|
201
|
-
* {@link createOrchestratorNode} or from the current harness body, editing either would silently
|
|
202
|
-
* rewrite history and `loadGraph('default', 2)` would stop describing the graph revision 2 always
|
|
203
|
-
* described; the revision-1 graph above is frozen the same way. Do not tidy this into a builder,
|
|
204
|
-
* and publish a new revision rather than editing it.
|
|
205
|
-
*/
|
|
206
183
|
export declare const DEFAULT_HARNESS_REVISION_2: Graph;
|
|
207
|
-
/**
|
|
208
|
-
* Frozen revision 3 adds one retry for the Orchestrator to the revision-2 snapshot.
|
|
209
|
-
*
|
|
210
|
-
* Intake is read-only and runs many turns, so one transient provider failure must not discard it,
|
|
211
|
-
* and the retry keeps the user's confirmed clarifications. The Engineer writes to the workspace,
|
|
212
|
-
* where re-running a finished attempt could repeat side effects, so it stays single-shot; a graph
|
|
213
|
-
* that wants retries there opts in per node.
|
|
214
|
-
*/
|
|
215
184
|
export declare const DEFAULT_HARNESS_REVISION_3: Graph;
|
|
216
|
-
/** Frozen revision 4 adds skill resources to the published revision-3 snapshot. */
|
|
217
185
|
export declare const DEFAULT_HARNESS_REVISION_4: Graph;
|
|
218
|
-
/** Frozen revision 5 enables the integrated browser for all default agents. */
|
|
219
186
|
export declare const DEFAULT_HARNESS_REVISION_5: Graph;
|
|
220
|
-
/**
|
|
221
|
-
* Revision 6 renames the bundled execution agent to Andorra Agent and widens its role to general
|
|
222
|
-
* tasks alongside coding. The agent still receives the confirmed task instruction through the same
|
|
223
|
-
* intake handoff, and topology, capabilities and tooling are exactly revision 5's, so the change is
|
|
224
|
-
* presentation and instruction only.
|
|
225
|
-
*
|
|
226
|
-
* Revision 6 is frozen and is no longer the latest `default`: it is the body of the paid Andorra
|
|
227
|
-
* preset (`getAndorraHarness`), the Orchestrator -> Andorra Agent -> Done workflow. The graph a
|
|
228
|
-
* Default run executes is {@link DEFAULT_GRAPH}.
|
|
229
|
-
*/
|
|
230
187
|
export declare const DEFAULT_HARNESS: Graph;
|
|
231
|
-
/**
|
|
232
|
-
* Revision 7, the latest `default`: one Andorra Agent and no Orchestrator intake.
|
|
233
|
-
*
|
|
234
|
-
* Selecting Default runs a single agent that cannot delegate (`SOFTWARE_ENGINEER_HARNESS`, built from
|
|
235
|
-
* the same {@link DEFAULT_AGENT_GRAPH} as this revision), while revision 6 put an Orchestrator in front of it. Graph
|
|
236
|
-
* Studio and the graph tools read `default` from here, so they showed a workflow that Default never
|
|
237
|
-
* ran. This revision describes what Default runs; revision 6 remains loadable as history and as the
|
|
238
|
-
* Andorra preset. It is schema version 3 so the editor's migration leaves it as one agent rather than
|
|
239
|
-
* adding an Orchestrator in front of it.
|
|
240
|
-
*/
|
|
241
188
|
export declare const DEFAULT_GRAPH: Graph;
|
|
242
|
-
/** The id of the bundled Graph Manager graph. Reserved: no saved, synced or deleted graph may use it. */
|
|
243
189
|
export declare const GRAPH_MANAGER_GRAPH_ID = "andorra-graph-manager";
|
|
244
|
-
/**
|
|
245
|
-
* The graph Graph Studio's Graph Manager chat runs: one top-level agent and no Orchestrator intake.
|
|
246
|
-
*
|
|
247
|
-
* It is built in rather than saved so every installation has it and no account can edit it, and it
|
|
248
|
-
* is hidden from graph lists because it is not a workflow a user selects for a task. The agent
|
|
249
|
-
* sets neither `capabilities` nor `tools`, exactly as the default graph's execution agent: the
|
|
250
|
-
* defaults allow the shell, which is what grants the `graphs` tool, and filesystem reads, which
|
|
251
|
-
* grant `read_skill_resource`. A delegated subagent never receives `graphs`, so the work stays on
|
|
252
|
-
* this node. Its instruction has the agent ask in its reply, with the user's next message as the
|
|
253
|
-
* answer, and the node keeps session history so that message sees the question; as a top-level
|
|
254
|
-
* agent it is also offered `ask_user` wherever a person can answer.
|
|
255
|
-
*/
|
|
256
190
|
export declare const GRAPH_MANAGER_HARNESS: Graph;
|
|
257
|
-
/**
|
|
258
|
-
* The configured MCP servers a run of this graph connects at its start.
|
|
259
|
-
*
|
|
260
|
-
* Graph Manager works only through the `graphs` tool and its bundled skill, and its chat runs
|
|
261
|
-
* under Ask for approval, where every server raises a connection prompt before the first reply:
|
|
262
|
-
* its run connects none. Every other graph connects what the user configured.
|
|
263
|
-
*/
|
|
264
191
|
export declare function graphMcpServers<T>(graphId: string, servers: Record<string, T>): Record<string, T>;
|
|
265
|
-
/** The refusal every path that would write, delete or tombstone the reserved id answers with. */
|
|
266
192
|
export declare const reservedGraphId: (id: string) => Error;
|
|
267
|
-
/** Upgrade only in-memory copies. Stored snapshots remain unchanged. */
|
|
268
|
-
/**
|
|
269
|
-
* `addOrchestrator: false` upgrades a legacy graph without an Orchestrator to the current schema as it
|
|
270
|
-
* stands, rather than placing an Orchestrator in front of its entry: a free account's graph may not
|
|
271
|
-
* carry one, and inserting it would leave an eligible graph unsavable.
|
|
272
|
-
*/
|
|
273
193
|
export declare function migrateGraphForEditor(input: Graph, options?: {
|
|
274
194
|
addOrchestrator?: boolean;
|
|
275
195
|
}): Graph;
|
|
@@ -279,20 +199,16 @@ export declare function effectiveCapabilities(node: {
|
|
|
279
199
|
export declare function intakeCapabilities(node: {
|
|
280
200
|
capabilities?: CapabilityPolicy;
|
|
281
201
|
}): CapabilityPolicy;
|
|
282
|
-
/** The second completion outcome of a delegating Orchestrator: subagents did the work and it landed. */
|
|
283
202
|
export declare const DELIVERED_OUTCOME = "delivered";
|
|
284
|
-
/**
|
|
285
|
-
* Who a tool set is being built for: `false` the node's own agent, `true` an ordinary child, and
|
|
286
|
-
* `'delegated-worktree'` a writing child of a delegating Orchestrator running in its own worktree.
|
|
287
|
-
* Only the last may run commands; it does so inside its worktree, which is a working directory,
|
|
288
|
-
* not a sandbox, so commands go through the same approval rules as the parent's shell.
|
|
289
|
-
*/
|
|
290
203
|
export type CommandScope = boolean | 'delegated-worktree';
|
|
291
204
|
export declare function isWritingRole(role: SubagentRole): boolean;
|
|
292
|
-
/** An Orchestrator delegates implementation when spawning is on and at least one role may write. */
|
|
293
205
|
export declare function delegatesWriting(node: GraphNode): boolean;
|
|
294
206
|
export declare function permitsBuiltInTool(node: Pick<GraphNode, 'capabilities' | 'tools'>, name: string, child?: CommandScope): boolean;
|
|
295
207
|
export declare function capabilitySubset(child: CapabilityPolicy, parent: CapabilityPolicy): boolean;
|
|
208
|
+
/** An Action takes this outcome when its command ran to the end and exited non-zero. */
|
|
209
|
+
export declare const ACTION_FAILED_OUTCOME = "failed";
|
|
210
|
+
/** Outcomes a node can take that a graph may route but does not have to. */
|
|
211
|
+
export declare function optionalOutcomes(node: GraphNode): string[];
|
|
296
212
|
export declare function nodeOutcomes(node: GraphNode): string[];
|
|
297
213
|
export declare function minimumGraphToolCalls(graph: Graph): number;
|
|
298
214
|
export interface GraphValidationOptions {
|
|
@@ -305,98 +221,31 @@ export interface GraphValidationOptions {
|
|
|
305
221
|
defaultProvider?: string;
|
|
306
222
|
allowMissingProviders?: boolean;
|
|
307
223
|
}
|
|
308
|
-
/**
|
|
309
|
-
* The visit ceiling a graph enforces on each node, or `Infinity` when it enforces none.
|
|
310
|
-
*
|
|
311
|
-
* Node visits are unlimited unless a graph says otherwise: the setting's default is `0`, and a
|
|
312
|
-
* `0` is normalized away, so an absent limit is the single internal spelling of "no ceiling".
|
|
313
|
-
* @param graph - the graph whose limits apply.
|
|
314
|
-
* @returns the maximum visits per node, or Infinity when visits are unbounded.
|
|
315
|
-
*/
|
|
316
224
|
export declare function maxNodeVisitsOf(graph: Pick<Graph, 'limits'>): number;
|
|
317
225
|
export declare function validateGraph(value: unknown, options?: GraphValidationOptions): Graph;
|
|
318
|
-
/**
|
|
319
|
-
* The agent nodes a run can reach after this node, nearest first, without the node itself.
|
|
320
|
-
*
|
|
321
|
-
* Every outgoing edge counts whatever its outcome, so the list is what may run after the node,
|
|
322
|
-
* not what will: a node told what later nodes exist leaves their work to them rather than doing
|
|
323
|
-
* it early. A node a loop leads back to is still excluded, because it is this node.
|
|
324
|
-
*/
|
|
325
226
|
export declare function laterAgentNodes(graph: Pick<Graph, 'nodes' | 'edges'>, nodeId: string): GraphNode[];
|
|
326
|
-
/**
|
|
327
|
-
* Whether a node's name says it tests the change: "QA Tester", "Test runner", "Verifier".
|
|
328
|
-
*
|
|
329
|
-
* Graphs declare no testing role, so the name is the evidence a graph author gives; a name that
|
|
330
|
-
* does not say so is treated as not testing, which leaves the node's predecessors told to verify
|
|
331
|
-
* their own work as before.
|
|
332
|
-
*/
|
|
333
227
|
export declare function isTestingNode(node: Pick<GraphNode, 'name'>): boolean;
|
|
334
|
-
/**
|
|
335
|
-
* The testing node this node's work is sure to pass through: every outcome the node can complete
|
|
336
|
-
* with routes, along every path, through a testing node before the run can end. Absent when any
|
|
337
|
-
* route can finish untested — a delegating Orchestrator's `delivered` edge straight to Done, an
|
|
338
|
-
* outcome no edge handles (this node's or any node's on the way), or a branch that reaches an end
|
|
339
|
-
* first — because a node told to leave
|
|
340
|
-
* the running app to a tester must not be one whose work can ship without that tester.
|
|
341
|
-
*
|
|
342
|
-
* A path that leads back to the node itself is not an escape: the node runs again and its own
|
|
343
|
-
* routes are the ones being checked.
|
|
344
|
-
*/
|
|
345
228
|
export declare function testerOnEveryRoute(graph: Pick<Graph, 'nodes' | 'edges'>, nodeId: string): string | undefined;
|
|
346
|
-
/**
|
|
347
|
-
* Whether a run of this graph can execute the session's own provider/model pair.
|
|
348
|
-
*
|
|
349
|
-
* An agent node that omits its provider resolves against the live session pair, so the run's own
|
|
350
|
-
* adapter is reachable and its metadata has to be resolved. When every agent node names its own
|
|
351
|
-
* provider, every model call resolves against that node's provider instead — this is the same
|
|
352
|
-
* predicate the desktop's model-pinning read applies when it hides the session model controls —
|
|
353
|
-
* and a run of the graph cannot consult the session pair at all. A graph with no agent node leaves
|
|
354
|
-
* it unused as well.
|
|
355
|
-
*/
|
|
356
229
|
export declare function graphLeavesNodesToSession(graph: {
|
|
357
230
|
nodes?: Record<string, Pick<GraphNode, 'type' | 'provider'>>;
|
|
358
231
|
} | undefined): boolean;
|
|
359
232
|
export declare class GraphConflictError extends Error {
|
|
360
233
|
constructor(message?: string);
|
|
361
234
|
}
|
|
362
|
-
/**
|
|
363
|
-
* A soft-deleted graph: its latest revision carries `metadata.deletedAt`.
|
|
364
|
-
*
|
|
365
|
-
* Deleting publishes that revision rather than removing files, because cloud sync restores every graph
|
|
366
|
-
* an account holds and would bring removed files back. Every earlier revision stays stored.
|
|
367
|
-
*/
|
|
368
235
|
export declare function isDeletedGraph(graph: Pick<Graph, 'metadata'>): boolean;
|
|
369
|
-
/** What a listing shows. Quota is computed from the full list, so deleted graphs still count there. */
|
|
370
236
|
export declare function withoutDeletedGraphs<T extends Pick<Graph, 'metadata'>>(graphs: T[]): T[];
|
|
371
|
-
/** A new run named a deleted graph. Resuming a session that already ran it is still allowed. */
|
|
372
237
|
export declare class GraphDeletedError extends Error {
|
|
373
238
|
readonly code = "GRAPH_DELETED";
|
|
374
239
|
constructor(name: string);
|
|
375
240
|
}
|
|
376
|
-
/**
|
|
377
|
-
* Publish an immutable cloud revision only when the local revision is absent or identical.
|
|
378
|
-
*
|
|
379
|
-
* `skip` and `floorOf` are consulted under the folder's save lock immediately before any write:
|
|
380
|
-
* a graph deleted on this machine must not be written back, and asking while holding the lock
|
|
381
|
-
* makes those verdicts final against a delete or revival that is still running.
|
|
382
|
-
*/
|
|
383
241
|
export declare function restoreGraphRevision(input: unknown, directory: string, skip?: (graph: Graph) => Promise<boolean>, floorOf?: (graph: Graph) => Promise<number | undefined>): Promise<{
|
|
384
242
|
graph: Graph;
|
|
385
243
|
restored: boolean;
|
|
386
244
|
}>;
|
|
387
245
|
export declare function loadGraph(id: string, revision?: number, directory?: string): Promise<Graph>;
|
|
388
246
|
export declare function listGraphs(directory?: string, onLoadError?: (id: string, error: unknown) => void): Promise<Graph[]>;
|
|
247
|
+
export declare function saveGraphOrder(order: unknown, directory?: string): Promise<string[]>;
|
|
389
248
|
export declare function saveGraph(input: unknown, expectedRevision: number | null, directory?: string): Promise<Graph>;
|
|
390
|
-
/**
|
|
391
|
-
* Remove a saved graph and its whole revision history.
|
|
392
|
-
*
|
|
393
|
-
* The save lock serializes against a save or cloud restore of the same graph, so a delete cannot
|
|
394
|
-
* race one into leaving a half-written folder behind. The folder leaves the live path in one
|
|
395
|
-
* rename while the lock is held, so a save that lands during the removal writes into a fresh
|
|
396
|
-
* folder and survives it. Deleting the bundled `default` is refused: it has no storage to remove,
|
|
397
|
-
* and a hidden preset would only return on the next launch. The built-in Graph Manager graph is
|
|
398
|
-
* refused for the same reason, by name.
|
|
399
|
-
*/
|
|
400
249
|
export declare function deleteGraph(id: string, directory?: string, options?: {
|
|
401
250
|
onDetached?: () => Promise<void>;
|
|
402
251
|
}): Promise<void>;
|