toolroll 0.9.103 → 0.9.105
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/CHANGELOG.md +65 -0
- package/README.md +27 -27
- package/dist/accent-colors.js +0 -29
- package/dist/acp-agents.js +0 -3
- package/dist/acp-attest.js +0 -30
- package/dist/acp-check.js +3 -70
- package/dist/acp-client.js +3 -94
- package/dist/acp-inspect.js +1 -20
- package/dist/action-ledger.js +0 -8
- package/dist/activity-line.js +0 -14
- package/dist/actor.js +0 -15
- package/dist/advanced-schema.js +12 -0
- package/dist/advanced-view.js +26 -0
- package/dist/advanced.js +61 -0
- package/dist/agent-board.js +0 -117
- package/dist/agent-fence.js +11 -367
- package/dist/agent-onboard.js +12 -50
- package/dist/agent-pulse.js +5 -38
- package/dist/agent-state-words.js +0 -8
- package/dist/agent-state.js +1 -45
- package/dist/agent-turns.js +3 -17
- package/dist/agentconfig.js +1 -99
- package/dist/agents-board.js +0 -60
- package/dist/agents-live.js +1 -8
- package/dist/api-tokens.js +0 -27
- package/dist/approval-authority.js +0 -59
- package/dist/approval-password.js +0 -10
- package/dist/approval-policy.js +0 -29
- package/dist/approval-rules-ui.js +0 -9
- package/dist/assignment-adapters.js +0 -14
- package/dist/assignment-brief.js +1 -17
- package/dist/assignment-delivery.js +0 -22
- package/dist/assignment-presentation.js +0 -14
- package/dist/assignment-status.js +1 -30
- package/dist/assignment-ui.js +0 -12
- package/dist/assignment.js +117 -103
- package/dist/attest.js +0 -38
- package/dist/audit-cli.js +0 -9
- package/dist/backend.js +0 -59
- package/dist/backup-ui.js +0 -12
- package/dist/backup.js +8 -61
- package/dist/batch-checks.js +0 -20
- package/dist/batch-policy.js +0 -4
- package/dist/beads.js +0 -48
- package/dist/bin.js +0 -8
- package/dist/board.js +1 -36
- package/dist/boot-identity.js +0 -42
- package/dist/bounded-spawn.js +4 -28
- package/dist/brand-mark.js +0 -21
- package/dist/brief-fence.js +0 -16
- package/dist/browser/terminal.css +1 -1
- package/dist/browser/terminal.js +16 -16
- package/dist/browser/workspace.css +2 -2
- package/dist/browser/workspace.js +26 -26
- package/dist/browser-crew.js +0 -8
- package/dist/browser-shell.js +2 -15
- package/dist/browser-workspace.js +6 -30
- package/dist/budget-alerts.js +1 -4
- package/dist/build-review.js +2 -50
- package/dist/builder-restart.js +0 -13
- package/dist/builder.js +21 -1035
- package/dist/canonical-json.js +0 -12
- package/dist/capscan.js +1 -32
- package/dist/card-catalog.js +0 -12
- package/dist/card-cli.js +0 -1
- package/dist/card-render.js +0 -25
- package/dist/card-sources.js +0 -10
- package/dist/chat-acceptance.js +0 -7
- package/dist/chat-actions.js +5 -190
- package/dist/chat-admission.js +0 -7
- package/dist/chat-approval.js +0 -25
- package/dist/chat-ask.js +0 -17
- package/dist/chat-card-part.js +0 -3
- package/dist/chat-card.js +0 -6
- package/dist/chat-channel.js +2 -83
- package/dist/chat-continuity.js +0 -31
- package/dist/chat-controls.js +0 -7
- package/dist/chat-core.js +0 -55
- package/dist/chat-decide.js +2 -153
- package/dist/chat-delivery-state.js +0 -49
- package/dist/chat-delivery.js +2 -143
- package/dist/chat-display.js +0 -2
- package/dist/chat-evidence.js +0 -65
- package/dist/chat-flow.js +0 -72
- package/dist/chat-follow.js +0 -13
- package/dist/chat-inbox.js +0 -34
- package/dist/chat-live-schema.js +0 -14
- package/dist/chat-live.js +2 -87
- package/dist/chat-message-states.js +13 -40
- package/dist/chat-messages.js +0 -153
- package/dist/chat-migration.js +0 -57
- package/dist/chat-polish.js +0 -7
- package/dist/chat-quiet.js +0 -37
- package/dist/chat-review.js +0 -4
- package/dist/chat-rooms.js +0 -22
- package/dist/chat-settings-page.js +0 -4
- package/dist/chat-task-actions.js +0 -7
- package/dist/chat-terms.js +0 -21
- package/dist/chat-voice.js +0 -38
- package/dist/chat-warmth.js +1 -3
- package/dist/check-access.js +0 -30
- package/dist/check-facts.js +2 -62
- package/dist/check-failure.js +0 -98
- package/dist/check-levels-ui.js +4 -10
- package/dist/check-levels.js +3 -35
- package/dist/check-load.js +1 -49
- package/dist/check-only-standing.js +0 -6
- package/dist/check-only.js +0 -22
- package/dist/check-progress.js +0 -32
- package/dist/check-repair.js +2 -35
- package/dist/check-report.js +1 -108
- package/dist/check-stamp.js +0 -20
- package/dist/checkout-cleanup.js +0 -84
- package/dist/checkout-proof.js +1 -13
- package/dist/child-database.js +0 -3
- package/dist/claim.js +4 -508
- package/dist/claude-print.js +0 -10
- package/dist/cli-fast.js +0 -8
- package/dist/cli-help.js +90 -78
- package/dist/cli-http.js +0 -10
- package/dist/cli.js +26 -241
- package/dist/code-extract.js +0 -6
- package/dist/code-map-acts.js +0 -7
- package/dist/code-map-admission.js +2 -26
- package/dist/code-map-build.js +3 -24
- package/dist/code-map-cli.js +0 -4
- package/dist/code-map-main.js +0 -6
- package/dist/code-map-read.js +0 -12
- package/dist/code-map-report.js +0 -9
- package/dist/code-map-shape.js +0 -19
- package/dist/code-map-store.js +0 -26
- package/dist/codex-limits.js +1 -17
- package/dist/coding-context.js +0 -10
- package/dist/coding-handoff.js +0 -14
- package/dist/coding-provider.js +0 -39
- package/dist/coding-shipping-ui.js +0 -1
- package/dist/coding-ui.js +0 -1
- package/dist/coding-update.js +1 -18
- package/dist/coding-workspace.js +0 -27
- package/dist/commit-extract.js +0 -83
- package/dist/connect-cli.js +0 -19
- package/dist/console-chrome.js +1 -34
- package/dist/console-instance.js +2 -91
- package/dist/container-state.js +0 -4
- package/dist/containment.js +2 -105
- package/dist/contract-changes.js +0 -6
- package/dist/contracts/acceptance-terms.js +0 -7
- package/dist/contracts/chat-actions.js +0 -46
- package/dist/contracts/chat-callback-rows.js +0 -8
- package/dist/contracts/chat-card.js +0 -14
- package/dist/contracts/chat-content.js +0 -55
- package/dist/contracts/chat-tables.js +0 -7
- package/dist/contracts/cli.js +0 -59
- package/dist/contracts/coding-activity.js +0 -15
- package/dist/contracts/coding-context.js +0 -15
- package/dist/contracts/coding-handoff.js +0 -11
- package/dist/contracts/coding-workspace.js +0 -14
- package/dist/contracts/console-api.js +3 -54
- package/dist/contracts/contract-test.js +0 -14
- package/dist/contracts/contract.js +0 -48
- package/dist/contracts/decision.js +0 -20
- package/dist/contracts/diff-stat.js +0 -16
- package/dist/contracts/discord-callback.js +0 -9
- package/dist/contracts/flow-card.js +0 -18
- package/dist/contracts/flow-propose.js +0 -8
- package/dist/contracts/flow-send.js +0 -31
- package/dist/contracts/flow.js +0 -112
- package/dist/contracts/gateway-tools.js +0 -22
- package/dist/contracts/handoff.js +0 -22
- package/dist/contracts/integration-metadata.js +0 -39
- package/dist/contracts/lead-context.js +0 -14
- package/dist/contracts/lead-tools.js +0 -49
- package/dist/contracts/mcp-oauth.js +0 -12
- package/dist/contracts/memory-pass.js +0 -21
- package/dist/contracts/model-catalog.js +0 -9
- package/dist/contracts/observation-request.js +0 -11
- package/dist/contracts/plan.js +0 -16
- package/dist/contracts/project-knowledge.js +0 -26
- package/dist/contracts/project-memory.js +0 -16
- package/dist/contracts/project-skills.js +0 -31
- package/dist/contracts/proof.js +0 -23
- package/dist/contracts/provider.js +0 -9
- package/dist/contracts/recipes.js +0 -16
- package/dist/contracts/release-check.js +0 -61
- package/dist/contracts/release-terms.js +0 -27
- package/dist/contracts/retention.js +0 -12
- package/dist/contracts/review-findings.js +0 -13
- package/dist/contracts/route-results.js +0 -15
- package/dist/contracts/route.js +0 -33
- package/dist/contracts/scope.js +0 -29
- package/dist/contracts/scout-report.js +0 -34
- package/dist/contracts/slack-callback.js +0 -11
- package/dist/contracts/sort-answer.js +0 -24
- package/dist/contracts/stage-output.js +0 -46
- package/dist/contracts/storage.js +0 -8
- package/dist/contracts/store-json.js +0 -41
- package/dist/contracts/subagent-turn.js +0 -23
- package/dist/contracts/task-sizing.js +0 -10
- package/dist/contracts/teams-callback.js +0 -7
- package/dist/contracts/telegram-callback.js +0 -27
- package/dist/contracts/trigger-payloads.js +0 -41
- package/dist/contracts/update-journal.js +0 -47
- package/dist/contracts/verification-receipt.js +0 -36
- package/dist/contracts/verification-view.js +0 -15
- package/dist/contracts/youiyoux-request.js +0 -26
- package/dist/control-setup.js +0 -7
- package/dist/control-ui.js +0 -3
- package/dist/controller-service.js +0 -4
- package/dist/controller-supervisor.js +0 -15
- package/dist/converse.js +3 -129
- package/dist/coordinator-proposals.js +1 -6
- package/dist/coordinator.js +0 -65
- package/dist/credentials-ui.js +0 -6
- package/dist/daemon.js +0 -137
- package/dist/database-reclaim.js +0 -3
- package/dist/decision.js +0 -78
- package/dist/demo-chat.js +4 -15
- package/dist/demo-sign-in.js +77 -0
- package/dist/demo.js +5 -194
- package/dist/deploy-gate.js +0 -20
- package/dist/deploy-lock.js +0 -4
- package/dist/deploy-phase.js +0 -22
- package/dist/deploy-rescue.js +0 -21
- package/dist/deprecations.js +0 -12
- package/dist/design/kit.css +9 -6
- package/dist/design/kit.js +2 -33
- package/dist/desktop-access.js +0 -9
- package/dist/desktop-bundle.js +1 -3
- package/dist/desktop-host.js +0 -34
- package/dist/desktop-update-gate.js +0 -8
- package/dist/desktop-update-recovery.js +1 -18
- package/dist/desktop-update.js +2 -48
- package/dist/digest-times.js +0 -2
- package/dist/disclosure.js +0 -5
- package/dist/discord-api.js +0 -6
- package/dist/discord-chat.js +0 -31
- package/dist/discord.js +0 -7
- package/dist/discover.js +0 -50
- package/dist/dispatch.js +61 -60
- package/dist/dispose.js +0 -208
- package/dist/doctor.js +0 -48
- package/dist/easy-start-args.js +7 -7
- package/dist/easy-start.js +32 -45
- package/dist/egress.js +1 -63
- package/dist/email-settings.js +0 -8
- package/dist/envelope.js +50 -86
- package/dist/eval-gate.js +1 -37
- package/dist/eval-hooks.js +0 -120
- package/dist/eval-oracle-main.js +0 -7
- package/dist/eval-oracle.js +3 -42
- package/dist/eval-world.js +1 -23
- package/dist/evals.js +6 -134
- package/dist/evidence-pack.js +0 -29
- package/dist/evidence-pair.js +0 -17
- package/dist/evidence.js +4 -280
- package/dist/exec.js +19 -404
- package/dist/exhaustion.js +0 -30
- package/dist/export-ui.js +0 -7
- package/dist/export.js +1 -38
- package/dist/failing-first.js +0 -6
- package/dist/fallback-schema.js +0 -5
- package/dist/fallback.js +0 -81
- package/dist/fast-start.js +0 -97
- package/dist/fast-terms.js +0 -3
- package/dist/fenced-check-coverage.js +0 -11
- package/dist/findings.js +1 -63
- package/dist/first-run.js +4 -57
- package/dist/first-tasks-child.js +0 -5
- package/dist/flaky-ci.js +1 -24
- package/dist/flaky-cli.js +0 -4
- package/dist/flaky.js +0 -43
- package/dist/fleet-schema.js +0 -11
- package/dist/flow-actions.js +0 -31
- package/dist/flow-browser.js +0 -42
- package/dist/flow-cadence.js +1 -24
- package/dist/flow-card-task.js +0 -11
- package/dist/flow-changed.js +0 -16
- package/dist/flow-code.js +1 -45
- package/dist/flow-draft.js +0 -17
- package/dist/flow-engine.js +2 -76
- package/dist/flow-gallery-ui.js +0 -28
- package/dist/flow-gallery.js +0 -54
- package/dist/flow-insights.js +0 -12
- package/dist/flow-items.js +0 -27
- package/dist/flow-live.js +0 -31
- package/dist/flow-people.js +0 -14
- package/dist/flow-pull-request.js +0 -32
- package/dist/flow-replies.js +0 -9
- package/dist/flow-result-card.js +0 -8
- package/dist/flow-schedule.js +0 -74
- package/dist/flow-scripts.js +0 -13
- package/dist/flow-secrets.js +0 -10
- package/dist/flow-send.js +0 -45
- package/dist/flow-share.js +0 -60
- package/dist/flow-sort.js +1 -24
- package/dist/flow-starters-ui.js +0 -2
- package/dist/flow-starters.js +0 -13
- package/dist/flow-steps.js +0 -80
- package/dist/flow-triggers.js +2 -256
- package/dist/flow-unattended-words.js +0 -13
- package/dist/flow-unattended.js +2 -115
- package/dist/flows-cli.js +2 -36
- package/dist/flows-ui.js +0 -51
- package/dist/flows.js +0 -158
- package/dist/folder-gate.js +0 -21
- package/dist/folder-look.js +0 -42
- package/dist/follow-through-brief.js +0 -6
- package/dist/follow-through-cli.js +0 -5
- package/dist/fonts.js +0 -13
- package/dist/gaps.js +0 -20
- package/dist/gate-failure.js +0 -7
- package/dist/git-floor.js +0 -12
- package/dist/git-incident.js +2 -38
- package/dist/git-views.js +0 -24
- package/dist/git.js +0 -31
- package/dist/github-import.js +0 -22
- package/dist/github-jobs.js +0 -12
- package/dist/google-mail.js +2 -27
- package/dist/grant.js +0 -110
- package/dist/graph.js +0 -108
- package/dist/guides.js +4 -15
- package/dist/handover-note.js +0 -12
- package/dist/health-cli.js +0 -2
- package/dist/home-groups.js +0 -15
- package/dist/html.js +0 -54
- package/dist/install-method.js +0 -12
- package/dist/integrations-ui.js +0 -15
- package/dist/integrations.js +7 -50
- package/dist/invoke.js +1 -381
- package/dist/is-record.js +0 -1
- package/dist/issues.js +0 -48
- package/dist/jsonl-discriminants.js +0 -6
- package/dist/keymap.js +2 -16
- package/dist/keys.js +0 -56
- package/dist/kits-ui.js +0 -3
- package/dist/kits.js +1 -24
- package/dist/knowledge-cli.js +0 -4
- package/dist/knowledge-ui.js +0 -8
- package/dist/landed-cleanup.js +0 -119
- package/dist/laptop-background.js +0 -85
- package/dist/laptop-service.js +0 -67
- package/dist/latency-timeline.js +2 -23
- package/dist/lead-about.js +0 -7
- package/dist/lead-answer-eval.js +0 -39
- package/dist/lead-capabilities.js +0 -19
- package/dist/lead-cli-live.js +0 -22
- package/dist/lead-cli.js +0 -27
- package/dist/lead-commitments.js +1 -27
- package/dist/lead-context.js +2 -42
- package/dist/lead-contract.js +0 -8
- package/dist/lead-doors.js +0 -105
- package/dist/lead-follow.js +0 -41
- package/dist/lead-identity.js +1 -4
- package/dist/lead-latency-schema.js +0 -13
- package/dist/lead-people.js +3 -18
- package/dist/lead-progress.js +0 -12
- package/dist/lead-queue-runtime.js +0 -26
- package/dist/lead-queue.js +0 -35
- package/dist/lead-route.js +0 -33
- package/dist/lead-status.js +0 -37
- package/dist/lead-sweep.js +0 -18
- package/dist/lead-tools.js +0 -160
- package/dist/lead-voice.js +0 -54
- package/dist/lead.js +2 -105
- package/dist/learning-child.js +0 -6
- package/dist/learning-look.js +0 -14
- package/dist/ledger-chain.js +0 -34
- package/dist/ledger-csv.js +0 -2
- package/dist/ledger-view.js +0 -3
- package/dist/lesson-notes.js +0 -56
- package/dist/limits-ui.js +0 -14
- package/dist/link.js +0 -79
- package/dist/live-backup.js +3 -33
- package/dist/live-bus.js +7 -81
- package/dist/live-children-read.js +4 -47
- package/dist/live-children.js +4 -44
- package/dist/live-detail.js +0 -17
- package/dist/live-input.js +5 -68
- package/dist/live-main-read.js +1 -14
- package/dist/live-notes.js +0 -12
- package/dist/live-open.js +1 -23
- package/dist/live-records.js +4 -151
- package/dist/live-reply.js +1 -51
- package/dist/live-terminal.js +12 -111
- package/dist/live.js +4 -130
- package/dist/local-owner-acts.js +168 -0
- package/dist/local-owner.js +15 -80
- package/dist/log.js +0 -8
- package/dist/login-secrets.js +2 -38
- package/dist/machine-check.js +0 -2
- package/dist/machine-identity.js +1 -46
- package/dist/mailbox.js +0 -30
- package/dist/maintenance.js +1 -3
- package/dist/mcp-connect.js +0 -88
- package/dist/mcp-core.js +0 -45
- package/dist/mcp-http.js +0 -13
- package/dist/mcp-oauth.js +0 -37
- package/dist/mcp-person.js +0 -11
- package/dist/mcp.js +3 -73
- package/dist/memory-cli.js +0 -3
- package/dist/memory-pass.js +0 -53
- package/dist/memory-tidy.js +0 -55
- package/dist/memory-use.js +2 -24
- package/dist/merge-checklist.js +21 -29
- package/dist/metrics.js +0 -10
- package/dist/mobile-viewport.js +0 -6
- package/dist/model-catalog.js +1 -33
- package/dist/model-choices.js +9 -84
- package/dist/model-names.js +0 -9
- package/dist/models-cli.js +0 -13
- package/dist/models-ui.js +0 -17
- package/dist/modes.js +0 -35
- package/dist/monitoring-settings.js +2 -27
- package/dist/monitoring-ui.js +2 -14
- package/dist/monitoring.js +2 -38
- package/dist/names.js +0 -39
- package/dist/needs-you.js +7 -70
- package/dist/never-index.js +0 -9
- package/dist/nightly-check.js +0 -74
- package/dist/nightly-github.js +0 -168
- package/dist/notification-delivery.js +0 -3
- package/dist/notification-rows.js +0 -17
- package/dist/oauth-run-token.js +1 -37
- package/dist/observations.js +0 -16
- package/dist/oidc.js +1 -20
- package/dist/onboard.js +4 -57
- package/dist/one-step-chat-schema.js +0 -15
- package/dist/openrouter-models.js +0 -6
- package/dist/operate-remote-arguments.js +2 -17
- package/dist/operate-remote.js +0 -33
- package/dist/operate.js +280 -2304
- package/dist/orphan-sweep.js +3 -37
- package/dist/page-work-contract.js +0 -3
- package/dist/password-bearer.js +1 -11
- package/dist/passwordless.js +0 -3
- package/dist/peek-cli.js +0 -46
- package/dist/peek.js +2 -61
- package/dist/people-audit-ui.js +0 -6
- package/dist/person-proof.js +0 -6
- package/dist/phase-routing.js +8 -183
- package/dist/plain-schema.js +0 -14
- package/dist/plain-words.js +18 -12
- package/dist/plan-auto.js +3 -18
- package/dist/plan-login.js +0 -16
- package/dist/plan.js +0 -68
- package/dist/plane-review.js +0 -56
- package/dist/planner-source.js +0 -96
- package/dist/planner.js +0 -117
- package/dist/policy-ui.js +0 -8
- package/dist/policy.js +0 -47
- package/dist/prepared-evidence.js +0 -5
- package/dist/principal.js +0 -29
- package/dist/probe.js +0 -30
- package/dist/process-custody.js +0 -15
- package/dist/process-liveness.js +0 -32
- package/dist/process-tree.js +3 -29
- package/dist/project-access.js +0 -10
- package/dist/project-admission.js +1 -41
- package/dist/project-cli.js +0 -6
- package/dist/project-concurrency.js +0 -35
- package/dist/project-delete-ui.js +4 -29
- package/dist/project-delete.js +1 -73
- package/dist/project-demo.js +0 -13
- package/dist/project-file.js +0 -2
- package/dist/project-identity.js +0 -41
- package/dist/project-knowledge.js +0 -39
- package/dist/project-learning.js +3 -55
- package/dist/project-memory.js +2 -45
- package/dist/project-outcomes.js +0 -6
- package/dist/project-sandbox.js +0 -23
- package/dist/project-skills.js +0 -12
- package/dist/project-tools.js +6 -184
- package/dist/project.js +0 -48
- package/dist/prompt.js +0 -31
- package/dist/proof.js +0 -220
- package/dist/proposal.js +0 -50
- package/dist/protected-storage-look.js +0 -6
- package/dist/protected-storage.js +1 -84
- package/dist/provider-auth.js +3 -69
- package/dist/provider-capture.js +1 -15
- package/dist/provider-connection.js +0 -8
- package/dist/provider-home.js +0 -25
- package/dist/provider-limits.js +0 -14
- package/dist/provider.js +0 -324
- package/dist/public-access.js +11 -30
- package/dist/public-check.js +0 -16
- package/dist/publish.js +1 -150
- package/dist/pull-request-flow.js +6 -74
- package/dist/pull-request-schema.js +0 -4
- package/dist/pull-request-ui.js +0 -5
- package/dist/pulls.js +0 -80
- package/dist/push.js +5 -89
- package/dist/quick-start.js +1 -23
- package/dist/read-executor-worker.js +0 -1
- package/dist/read-executor.js +0 -10
- package/dist/read-only-request.js +0 -7
- package/dist/recipe-ui.js +0 -6
- package/dist/recipes.js +0 -13
- package/dist/release-adapters.js +6 -214
- package/dist/release-approval.js +0 -74
- package/dist/release-authority.js +0 -42
- package/dist/release-auto.js +0 -142
- package/dist/release-card.js +26 -103
- package/dist/release-carry.js +0 -132
- package/dist/release-ci-hold.js +0 -20
- package/dist/release-cli.js +0 -46
- package/dist/release-coverage.js +0 -16
- package/dist/release-gate.js +0 -30
- package/dist/release-git.js +0 -24
- package/dist/release-links.js +0 -17
- package/dist/release-net.js +0 -42
- package/dist/release-next.js +0 -25
- package/dist/release-recheck.js +0 -89
- package/dist/release-refusal.js +0 -18
- package/dist/release-view.js +0 -5
- package/dist/release.js +7 -341
- package/dist/releases.js +0 -49
- package/dist/remote-audit.js +0 -25
- package/dist/remote-command.js +0 -16
- package/dist/remote-destination.js +5 -26
- package/dist/remote-exec.js +1 -27
- package/dist/remote-main.js +1 -53
- package/dist/remote-run.js +0 -5
- package/dist/remote.js +0 -49
- package/dist/render.js +0 -133
- package/dist/reply-shape.js +0 -85
- package/dist/reply-voice.js +0 -7
- package/dist/report-summary.js +0 -5
- package/dist/reported-usage.js +0 -30
- package/dist/repos.js +9 -62
- package/dist/repository-context.js +1 -24
- package/dist/request-budget-ui.js +0 -4
- package/dist/request-budget.js +0 -23
- package/dist/restart-certification.js +0 -37
- package/dist/result-actions.js +0 -62
- package/dist/result-acts.js +0 -34
- package/dist/result-completion.js +9 -28
- package/dist/result-evidence-readers.js +0 -3
- package/dist/result-follow-ups.js +1 -39
- package/dist/result-review.js +0 -86
- package/dist/result-shots.js +0 -39
- package/dist/retention-ui.js +0 -7
- package/dist/retention.js +2 -46
- package/dist/review-context.js +0 -129
- package/dist/review-evidence.js +0 -4
- package/dist/review-switch.js +1 -7
- package/dist/reviewer.js +0 -35
- package/dist/route-change-check.js +0 -2
- package/dist/route-change.js +0 -16
- package/dist/route-hooks.js +0 -27
- package/dist/route-results.js +2 -58
- package/dist/route-rules.js +1 -106
- package/dist/route-savings.js +0 -36
- package/dist/route-store.js +1 -133
- package/dist/run-closeout.js +2 -50
- package/dist/run-efficiency.js +2 -44
- package/dist/run-ending.js +0 -13
- package/dist/runner-process.js +0 -33
- package/dist/runner.js +17 -189
- package/dist/sample-project.js +2 -27
- package/dist/sandbox-launch.js +4 -25
- package/dist/sandbox-runtime.js +1 -88
- package/dist/scan.js +0 -27
- package/dist/scope.js +88 -566
- package/dist/scout-browser-lock.js +0 -6
- package/dist/scout-browser.js +2 -68
- package/dist/scout-net.js +1 -32
- package/dist/scout-report.js +0 -22
- package/dist/scout.js +1 -116
- package/dist/secret-mint.js +0 -6
- package/dist/serve.js +29 -564
- package/dist/server/agents-computers.js +0 -10
- package/dist/server/agents-live-filed.js +0 -13
- package/dist/server/agents-live-lead.js +0 -19
- package/dist/server/agents-live-room.js +0 -19
- package/dist/server/chat.js +2 -194
- package/dist/server/chrome.js +17 -263
- package/dist/server/console.css +4 -4
- package/dist/server/edge-refusal.js +0 -3
- package/dist/server/flows.js +5 -74
- package/dist/server/guards.js +9 -86
- package/dist/server/handler-registry.js +0 -2
- package/dist/server/home-asks.js +1 -22
- package/dist/server/home.js +1 -30
- package/dist/server/http.js +0 -82
- package/dist/server/in-place.js +0 -15
- package/dist/server/kit-standalone.js +0 -20
- package/dist/server/kit.js +2 -114
- package/dist/server/last-checks.js +0 -2
- package/dist/server/live.js +1 -36
- package/dist/server/merge-ready-view.js +0 -6
- package/dist/server/mutation-key.js +3 -40
- package/dist/server/pages-assets.js +0 -16
- package/dist/server/pages.js +7 -195
- package/dist/server/people-tokens.js +3 -101
- package/dist/server/remote-hooks.js +0 -13
- package/dist/server/remote.js +0 -28
- package/dist/server/render-chat.js +8 -144
- package/dist/server/render-code-map.js +0 -5
- package/dist/server/render-flaky.js +0 -8
- package/dist/server/render-follow-through.js +2 -5
- package/dist/server/render-history.js +2 -34
- package/dist/server/render-new-task.js +2 -29
- package/dist/server/render-pages.js +1 -111
- package/dist/server/render-people.js +2 -46
- package/dist/server/render-projects.js +15 -32
- package/dist/server/render-release.js +1 -14
- package/dist/server/render-results.js +4 -355
- package/dist/server/render-settings.js +0 -15
- package/dist/server/render-tasks.js +17 -497
- package/dist/server/request-context.js +2 -9
- package/dist/server/retired-routes.js +0 -11
- package/dist/server/route-policy.js +0 -3
- package/dist/server/route-table.js +8 -133
- package/dist/server/runtime.js +0 -1
- package/dist/server/session.js +0 -28
- package/dist/server/settings.js +40 -246
- package/dist/server/signup-gate.js +0 -11
- package/dist/server/sweeps.js +0 -6
- package/dist/server/task-views.js +12 -227
- package/dist/server/tasks.js +37 -531
- package/dist/server/terminals.js +2 -46
- package/dist/server/welcome.js +2 -22
- package/dist/server-telemetry.js +0 -9
- package/dist/settings-groups-ui.js +50 -63
- package/dist/settings-kit-script.js +0 -19
- package/dist/settings-kit.js +0 -63
- package/dist/settings-proofs.js +0 -23
- package/dist/setup-guide.js +1 -9
- package/dist/shared-deps.js +9 -84
- package/dist/sign-in-guard.js +0 -27
- package/dist/skills-ui.js +0 -2
- package/dist/skills.js +2 -54
- package/dist/slack-api.js +0 -3
- package/dist/slack-chat.js +0 -25
- package/dist/slack-settings.js +0 -1
- package/dist/slack-socket.js +0 -5
- package/dist/slack.js +0 -4
- package/dist/sleep.js +0 -1
- package/dist/source-key.js +0 -10
- package/dist/spend-report.js +0 -29
- package/dist/spend-ui.js +0 -26
- package/dist/spend.js +0 -40
- package/dist/sqlite-runtime.js +0 -2
- package/dist/sqlite-telemetry.js +0 -9
- package/dist/sso-settings.js +0 -13
- package/dist/sso-ui.js +0 -2
- package/dist/staged-runtimes.js +5 -39
- package/dist/steer-capabilities.js +1 -7
- package/dist/steer-controls.js +0 -10
- package/dist/steer-live.js +0 -31
- package/dist/steer-mailbox.js +4 -65
- package/dist/steer-status.js +0 -7
- package/dist/stop-proof.js +5 -62
- package/dist/storage-sweep-child.js +1 -5
- package/dist/storage-sweep-process.js +2 -20
- package/dist/storage-sweep-schedule.js +0 -32
- package/dist/storage-sweep.js +2 -51
- package/dist/storage-ui.js +0 -18
- package/dist/storage.js +0 -31
- package/dist/store-baseline.js +0 -14
- package/dist/store.js +109 -4763
- package/dist/stream-scope.js +0 -16
- package/dist/structured-output.js +0 -39
- package/dist/style-asset.js +0 -2
- package/dist/subagent-admin.js +0 -9
- package/dist/subagent-desk.js +0 -29
- package/dist/subagent-memory.js +0 -38
- package/dist/subagent-question.js +0 -29
- package/dist/subagent-tools.js +1 -60
- package/dist/subagent-week.js +0 -28
- package/dist/subagent-work.js +1 -39
- package/dist/subagents-ui.js +1 -13
- package/dist/subagents.js +0 -40
- package/dist/subscription-chat.js +1 -42
- package/dist/summary.js +0 -19
- package/dist/surface.js +8 -73
- package/dist/sweep-gate.js +0 -2
- package/dist/sweep-quarantine.js +2 -13
- package/dist/sync.js +0 -47
- package/dist/tailnet.js +0 -9
- package/dist/tamper-scan.js +0 -15
- package/dist/task-activity.js +1 -16
- package/dist/task-aliases.js +0 -3
- package/dist/task-archive.js +0 -7
- package/dist/task-base.js +0 -18
- package/dist/task-composer.js +0 -2
- package/dist/task-control.js +0 -74
- package/dist/task-live.js +0 -23
- package/dist/task-moves.js +0 -28
- package/dist/task-outcome-cli.js +66 -19
- package/dist/task-review-brief.js +0 -7
- package/dist/task-sizing.js +0 -47
- package/dist/task-source.js +0 -23
- package/dist/task-status.js +0 -106
- package/dist/task-text.js +0 -12
- package/dist/team-chat-authorization.js +0 -3
- package/dist/team-contract.js +0 -2
- package/dist/team-http.js +0 -4
- package/dist/team-leads.js +1 -16
- package/dist/team-runtime.js +0 -13
- package/dist/team-ui.js +0 -1
- package/dist/team-updates.js +0 -4
- package/dist/teams-api.js +0 -12
- package/dist/teams-chat.js +0 -28
- package/dist/teams.js +0 -12
- package/dist/teardown-git.js +6 -294
- package/dist/telegram-flow.js +0 -51
- package/dist/telegram-lead.js +2 -203
- package/dist/telegram-live.js +1 -42
- package/dist/telegram-progress.js +0 -18
- package/dist/telegram-settings.js +0 -7
- package/dist/telegram-status.js +0 -46
- package/dist/telegram-team.js +1 -33
- package/dist/telegram.js +6 -454
- package/dist/templates.js +0 -24
- package/dist/terminal-catalog.js +2 -20
- package/dist/terminal-text.js +0 -12
- package/dist/test-infra.js +0 -50
- package/dist/test-temp.js +3 -26
- package/dist/text-limits.js +0 -92
- package/dist/tidy.js +0 -76
- package/dist/tier-report.js +0 -2
- package/dist/token-notices.js +1 -9
- package/dist/tokens-cli.js +0 -13
- package/dist/tool-broker.js +2 -53
- package/dist/tool-launcher.js +0 -14
- package/dist/tool-secret-store.js +3 -125
- package/dist/toolroll-update-cli.js +0 -9
- package/dist/toolroll-update-ui.js +0 -14
- package/dist/toolroll-update.js +13 -252
- package/dist/tools-ui.js +0 -17
- package/dist/transitions-recipes.js +0 -2
- package/dist/tree-proof.js +0 -23
- package/dist/tui-contract.js +0 -8
- package/dist/tui-source.js +91 -40
- package/dist/tui.js +54 -54
- package/dist/typed-start.js +0 -27
- package/dist/unfenced-test-support.js +0 -5
- package/dist/up-processes.js +1 -40
- package/dist/up-role-child.js +1 -13
- package/dist/update-notice.js +0 -1
- package/dist/vanished-retry.js +0 -40
- package/dist/verification-evidence.js +0 -39
- package/dist/version.js +0 -1
- package/dist/wake-hub.js +0 -28
- package/dist/webhook-limits.js +0 -7
- package/dist/webhook-readers.js +0 -30
- package/dist/webhook-signing.js +0 -14
- package/dist/webhooks.js +0 -54
- package/dist/welcome-facts.js +2 -14
- package/dist/when-html.js +0 -27
- package/dist/work-index.js +26 -98
- package/dist/work-summary.js +2 -17
- package/dist/workspace-motion.js +0 -2
- package/dist/workspace-revision.js +1 -21
- package/dist/workspace-ui.js +15 -135
- package/dist/worktree-notices.js +0 -3
- package/dist/worktree.js +0 -308
- package/dist/writes-mode.js +0 -1
- package/dist/youiyoux-intake.js +4 -159
- package/package.json +5 -4
- package/dist/accent-colors.d.ts +0 -51
- package/dist/acp-agents.d.ts +0 -43
- package/dist/acp-attest.d.ts +0 -44
- package/dist/acp-check.d.ts +0 -37
- package/dist/acp-client.d.ts +0 -163
- package/dist/acp-inspect.d.ts +0 -23
- package/dist/action-ledger.d.ts +0 -27
- package/dist/activity-line.d.ts +0 -29
- package/dist/actor.d.ts +0 -11
- package/dist/agent-board.d.ts +0 -229
- package/dist/agent-fence.d.ts +0 -479
- package/dist/agent-onboard.d.ts +0 -158
- package/dist/agent-pulse.d.ts +0 -43
- package/dist/agent-state-words.d.ts +0 -19
- package/dist/agent-state.d.ts +0 -65
- package/dist/agent-turns.d.ts +0 -52
- package/dist/agentconfig.d.ts +0 -191
- package/dist/agents-board.d.ts +0 -145
- package/dist/agents-live.d.ts +0 -31
- package/dist/api-tokens.d.ts +0 -80
- package/dist/approval-authority.d.ts +0 -51
- package/dist/approval-password.d.ts +0 -31
- package/dist/approval-policy.d.ts +0 -69
- package/dist/approval-rules-ui.d.ts +0 -40
- package/dist/assignment-adapters.d.ts +0 -152
- package/dist/assignment-brief.d.ts +0 -83
- package/dist/assignment-delivery.d.ts +0 -86
- package/dist/assignment-presentation.d.ts +0 -37
- package/dist/assignment-status.d.ts +0 -71
- package/dist/assignment-ui.d.ts +0 -68
- package/dist/assignment.d.ts +0 -318
- package/dist/attest.d.ts +0 -59
- package/dist/audit-cli.d.ts +0 -17
- package/dist/backend.d.ts +0 -97
- package/dist/backup-ui.d.ts +0 -32
- package/dist/backup.d.ts +0 -92
- package/dist/batch-checks.d.ts +0 -15
- package/dist/batch-policy.d.ts +0 -23
- package/dist/beads.d.ts +0 -34
- package/dist/bin.d.ts +0 -2
- package/dist/board.d.ts +0 -134
- package/dist/boot-identity.d.ts +0 -64
- package/dist/bounded-spawn.d.ts +0 -57
- package/dist/brand-icons.d.ts +0 -168
- package/dist/brand-mark.d.ts +0 -28
- package/dist/brief-fence.d.ts +0 -9
- package/dist/browser-crew.d.ts +0 -12
- package/dist/browser-shell.d.ts +0 -9
- package/dist/browser-workspace.d.ts +0 -1972
- package/dist/budget-alerts.d.ts +0 -19
- package/dist/build-review.d.ts +0 -38
- package/dist/builder-restart.d.ts +0 -21
- package/dist/builder.d.ts +0 -409
- package/dist/canonical-json.d.ts +0 -14
- package/dist/capscan.d.ts +0 -35
- package/dist/card-catalog.d.ts +0 -209
- package/dist/card-cli.d.ts +0 -43
- package/dist/card-render.d.ts +0 -43
- package/dist/card-sources.d.ts +0 -68
- package/dist/chat-acceptance.d.ts +0 -74
- package/dist/chat-actions.d.ts +0 -460
- package/dist/chat-admission.d.ts +0 -19
- package/dist/chat-approval.d.ts +0 -58
- package/dist/chat-ask.d.ts +0 -32
- package/dist/chat-card-part.d.ts +0 -11
- package/dist/chat-card.d.ts +0 -46
- package/dist/chat-channel.d.ts +0 -126
- package/dist/chat-continuity.d.ts +0 -32
- package/dist/chat-controls.d.ts +0 -117
- package/dist/chat-core.d.ts +0 -177
- package/dist/chat-decide.d.ts +0 -269
- package/dist/chat-delivery-state.d.ts +0 -132
- package/dist/chat-delivery.d.ts +0 -71
- package/dist/chat-display.d.ts +0 -1
- package/dist/chat-evidence.d.ts +0 -123
- package/dist/chat-flow.d.ts +0 -70
- package/dist/chat-follow.d.ts +0 -20
- package/dist/chat-inbox.d.ts +0 -57
- package/dist/chat-live-schema.d.ts +0 -17
- package/dist/chat-live.d.ts +0 -161
- package/dist/chat-message-states.d.ts +0 -75
- package/dist/chat-messages.d.ts +0 -338
- package/dist/chat-migration.d.ts +0 -30
- package/dist/chat-polish.d.ts +0 -17
- package/dist/chat-quiet.d.ts +0 -40
- package/dist/chat-review.d.ts +0 -51
- package/dist/chat-rooms.d.ts +0 -123
- package/dist/chat-settings-page.d.ts +0 -43
- package/dist/chat-task-actions.d.ts +0 -59
- package/dist/chat-terms.d.ts +0 -29
- package/dist/chat-voice.d.ts +0 -69
- package/dist/chat-warmth.d.ts +0 -21
- package/dist/check-access.d.ts +0 -54
- package/dist/check-facts.d.ts +0 -126
- package/dist/check-failure.d.ts +0 -113
- package/dist/check-levels-ui.d.ts +0 -36
- package/dist/check-levels.d.ts +0 -70
- package/dist/check-load.d.ts +0 -85
- package/dist/check-only-standing.d.ts +0 -36
- package/dist/check-only.d.ts +0 -15
- package/dist/check-progress.d.ts +0 -78
- package/dist/check-repair.d.ts +0 -47
- package/dist/check-report.d.ts +0 -177
- package/dist/check-stamp.d.ts +0 -46
- package/dist/checkout-cleanup.d.ts +0 -157
- package/dist/checkout-proof.d.ts +0 -28
- package/dist/child-database.d.ts +0 -12
- package/dist/claim.d.ts +0 -627
- package/dist/claude-print.d.ts +0 -12
- package/dist/cli-fast.d.ts +0 -8
- package/dist/cli-help.d.ts +0 -8
- package/dist/cli-http.d.ts +0 -58
- package/dist/cli.d.ts +0 -149
- package/dist/code-extract.d.ts +0 -44
- package/dist/code-map-acts.d.ts +0 -24
- package/dist/code-map-admission.d.ts +0 -52
- package/dist/code-map-build.d.ts +0 -63
- package/dist/code-map-cli.d.ts +0 -153
- package/dist/code-map-main.d.ts +0 -1
- package/dist/code-map-read.d.ts +0 -106
- package/dist/code-map-report.d.ts +0 -37
- package/dist/code-map-shape.d.ts +0 -172
- package/dist/code-map-store.d.ts +0 -136
- package/dist/codex-limits.d.ts +0 -15
- package/dist/coding-context.d.ts +0 -18
- package/dist/coding-handoff.d.ts +0 -39
- package/dist/coding-provider.d.ts +0 -88
- package/dist/coding-shipping-ui.d.ts +0 -5
- package/dist/coding-types.d.ts +0 -16
- package/dist/coding-ui.d.ts +0 -19
- package/dist/coding-update.d.ts +0 -28
- package/dist/coding-workspace.d.ts +0 -141
- package/dist/commit-extract.d.ts +0 -135
- package/dist/connect-cli.d.ts +0 -34
- package/dist/console-chrome.d.ts +0 -41
- package/dist/console-instance.d.ts +0 -157
- package/dist/container-state.d.ts +0 -5
- package/dist/containment.d.ts +0 -205
- package/dist/contract-changes.d.ts +0 -52
- package/dist/contracts/acceptance-terms.d.ts +0 -14
- package/dist/contracts/chat-actions.d.ts +0 -465
- package/dist/contracts/chat-callback-rows.d.ts +0 -59
- package/dist/contracts/chat-card.d.ts +0 -91
- package/dist/contracts/chat-content.d.ts +0 -551
- package/dist/contracts/chat-tables.d.ts +0 -12
- package/dist/contracts/cli.d.ts +0 -987
- package/dist/contracts/coding-activity.d.ts +0 -64
- package/dist/contracts/coding-context.d.ts +0 -97
- package/dist/contracts/coding-handoff.d.ts +0 -44
- package/dist/contracts/coding-workspace.d.ts +0 -165
- package/dist/contracts/console-api.d.ts +0 -539
- package/dist/contracts/contract-test.d.ts +0 -45
- package/dist/contracts/contract.d.ts +0 -92
- package/dist/contracts/decision.d.ts +0 -45
- package/dist/contracts/diff-stat.d.ts +0 -58
- package/dist/contracts/discord-callback.d.ts +0 -45
- package/dist/contracts/flow-card.d.ts +0 -53
- package/dist/contracts/flow-propose.d.ts +0 -334
- package/dist/contracts/flow-send.d.ts +0 -245
- package/dist/contracts/flow.d.ts +0 -19565
- package/dist/contracts/gateway-tools.d.ts +0 -472
- package/dist/contracts/handoff.d.ts +0 -91
- package/dist/contracts/health.d.ts +0 -82
- package/dist/contracts/integration-metadata.d.ts +0 -100
- package/dist/contracts/lead-context.d.ts +0 -165
- package/dist/contracts/lead-tools.d.ts +0 -2312
- package/dist/contracts/mcp-oauth.d.ts +0 -53
- package/dist/contracts/memory-pass.d.ts +0 -157
- package/dist/contracts/model-catalog.d.ts +0 -21
- package/dist/contracts/observation-request.d.ts +0 -37
- package/dist/contracts/plan.d.ts +0 -58
- package/dist/contracts/project-knowledge.d.ts +0 -159
- package/dist/contracts/project-memory.d.ts +0 -119
- package/dist/contracts/project-skills.d.ts +0 -120
- package/dist/contracts/proof.d.ts +0 -136
- package/dist/contracts/provider.d.ts +0 -40
- package/dist/contracts/recipes.d.ts +0 -166
- package/dist/contracts/release-check.d.ts +0 -371
- package/dist/contracts/release-terms.d.ts +0 -107
- package/dist/contracts/retention.d.ts +0 -42
- package/dist/contracts/review-findings.d.ts +0 -46
- package/dist/contracts/route-results.d.ts +0 -121
- package/dist/contracts/route.d.ts +0 -897
- package/dist/contracts/scope.d.ts +0 -105
- package/dist/contracts/scout-report.d.ts +0 -234
- package/dist/contracts/slack-callback.d.ts +0 -43
- package/dist/contracts/sort-answer.d.ts +0 -83
- package/dist/contracts/stage-output.d.ts +0 -127
- package/dist/contracts/storage.d.ts +0 -37
- package/dist/contracts/store-json.d.ts +0 -313
- package/dist/contracts/subagent-turn.d.ts +0 -43
- package/dist/contracts/task-sizing.d.ts +0 -24
- package/dist/contracts/teams-callback.d.ts +0 -13
- package/dist/contracts/telegram-callback.d.ts +0 -120
- package/dist/contracts/trigger-payloads.d.ts +0 -389
- package/dist/contracts/update-journal.d.ts +0 -254
- package/dist/contracts/verification-receipt.d.ts +0 -200
- package/dist/contracts/verification-view.d.ts +0 -102
- package/dist/contracts/youiyoux-request.d.ts +0 -248
- package/dist/control-setup.d.ts +0 -44
- package/dist/control-ui.d.ts +0 -37
- package/dist/controller-service.d.ts +0 -1
- package/dist/controller-supervisor.d.ts +0 -38
- package/dist/converse.d.ts +0 -316
- package/dist/coordinator-proposals.d.ts +0 -29
- package/dist/coordinator.d.ts +0 -186
- package/dist/credentials-ui.d.ts +0 -33
- package/dist/daemon.d.ts +0 -226
- package/dist/database-reclaim.d.ts +0 -4
- package/dist/decision.d.ts +0 -119
- package/dist/demo-chat.d.ts +0 -32
- package/dist/demo.d.ts +0 -153
- package/dist/deploy-gate.d.ts +0 -20
- package/dist/deploy-lock.d.ts +0 -8
- package/dist/deploy-phase.d.ts +0 -37
- package/dist/deploy-rescue.d.ts +0 -42
- package/dist/deprecations.d.ts +0 -20
- package/dist/design/kit.d.ts +0 -216
- package/dist/desktop-access.d.ts +0 -28
- package/dist/desktop-bundle.d.ts +0 -16
- package/dist/desktop-host.d.ts +0 -54
- package/dist/desktop-update-gate.d.ts +0 -12
- package/dist/desktop-update-recovery.d.ts +0 -14
- package/dist/desktop-update.d.ts +0 -147
- package/dist/digest-times.d.ts +0 -3
- package/dist/disclosure.d.ts +0 -6
- package/dist/discord-api.d.ts +0 -24
- package/dist/discord-chat.d.ts +0 -27
- package/dist/discord-settings.d.ts +0 -4
- package/dist/discord.d.ts +0 -10
- package/dist/discover.d.ts +0 -75
- package/dist/dispatch.d.ts +0 -123
- package/dist/dispose.d.ts +0 -194
- package/dist/doctor.d.ts +0 -67
- package/dist/easy-start-args.d.ts +0 -13
- package/dist/easy-start.d.ts +0 -77
- package/dist/egress.d.ts +0 -121
- package/dist/email-settings.d.ts +0 -34
- package/dist/envelope.d.ts +0 -47
- package/dist/eval-gate.d.ts +0 -51
- package/dist/eval-hooks.d.ts +0 -94
- package/dist/eval-oracle-main.d.ts +0 -1
- package/dist/eval-oracle.d.ts +0 -60
- package/dist/eval-world.d.ts +0 -17
- package/dist/evals.d.ts +0 -299
- package/dist/evidence-pack.d.ts +0 -186
- package/dist/evidence-pair.d.ts +0 -53
- package/dist/evidence.d.ts +0 -371
- package/dist/exec.d.ts +0 -355
- package/dist/exhaustion.d.ts +0 -58
- package/dist/export-ui.d.ts +0 -11
- package/dist/export.d.ts +0 -48
- package/dist/failing-first.d.ts +0 -31
- package/dist/fallback-schema.d.ts +0 -8
- package/dist/fallback.d.ts +0 -138
- package/dist/fast-start.d.ts +0 -213
- package/dist/fast-terms.d.ts +0 -9
- package/dist/fenced-check-coverage.d.ts +0 -62
- package/dist/findings.d.ts +0 -224
- package/dist/first-run.d.ts +0 -197
- package/dist/first-tasks-child.d.ts +0 -1
- package/dist/flaky-ci.d.ts +0 -31
- package/dist/flaky-cli.d.ts +0 -60
- package/dist/flaky.d.ts +0 -83
- package/dist/fleet-schema.d.ts +0 -17
- package/dist/flow-actions.d.ts +0 -79
- package/dist/flow-browser.d.ts +0 -103
- package/dist/flow-cadence.d.ts +0 -48
- package/dist/flow-card-task.d.ts +0 -11
- package/dist/flow-changed.d.ts +0 -14
- package/dist/flow-code.d.ts +0 -84
- package/dist/flow-draft.d.ts +0 -42
- package/dist/flow-engine.d.ts +0 -82
- package/dist/flow-gallery-ui.d.ts +0 -73
- package/dist/flow-gallery.d.ts +0 -147
- package/dist/flow-insights.d.ts +0 -104
- package/dist/flow-items.d.ts +0 -37
- package/dist/flow-live.d.ts +0 -16
- package/dist/flow-people.d.ts +0 -23
- package/dist/flow-pull-request.d.ts +0 -14
- package/dist/flow-replies.d.ts +0 -48
- package/dist/flow-result-card.d.ts +0 -22
- package/dist/flow-schedule.d.ts +0 -154
- package/dist/flow-scripts.d.ts +0 -31
- package/dist/flow-secrets.d.ts +0 -13
- package/dist/flow-send.d.ts +0 -54
- package/dist/flow-share.d.ts +0 -78
- package/dist/flow-sort.d.ts +0 -63
- package/dist/flow-starters-ui.d.ts +0 -15
- package/dist/flow-starters.d.ts +0 -63
- package/dist/flow-steps.d.ts +0 -52
- package/dist/flow-triggers.d.ts +0 -303
- package/dist/flow-unattended-words.d.ts +0 -48
- package/dist/flow-unattended.d.ts +0 -259
- package/dist/flows-cli.d.ts +0 -358
- package/dist/flows-ui.d.ts +0 -70
- package/dist/flows.d.ts +0 -136
- package/dist/folder-gate.d.ts +0 -32
- package/dist/folder-look.d.ts +0 -110
- package/dist/follow-through-brief.d.ts +0 -12
- package/dist/follow-through-cli.d.ts +0 -23
- package/dist/fonts.d.ts +0 -19
- package/dist/gaps.d.ts +0 -35
- package/dist/gate-failure.d.ts +0 -40
- package/dist/git-floor.d.ts +0 -16
- package/dist/git-incident.d.ts +0 -65
- package/dist/git-views.d.ts +0 -20
- package/dist/git.d.ts +0 -54
- package/dist/github-import.d.ts +0 -62
- package/dist/github-jobs.d.ts +0 -25
- package/dist/google-mail.d.ts +0 -59
- package/dist/grant.d.ts +0 -136
- package/dist/graph.d.ts +0 -164
- package/dist/guides.d.ts +0 -22
- package/dist/handover-note.d.ts +0 -33
- package/dist/health-cli.d.ts +0 -3
- package/dist/home-groups.d.ts +0 -39
- package/dist/html.d.ts +0 -85
- package/dist/install-method.d.ts +0 -17
- package/dist/integrations-ui.d.ts +0 -17
- package/dist/integrations.d.ts +0 -138
- package/dist/invoke.d.ts +0 -228
- package/dist/is-record.d.ts +0 -2
- package/dist/issues.d.ts +0 -41
- package/dist/jsonl-discriminants.d.ts +0 -11
- package/dist/keymap.d.ts +0 -41
- package/dist/keys.d.ts +0 -108
- package/dist/kits-ui.d.ts +0 -16
- package/dist/kits.d.ts +0 -88
- package/dist/knowledge-cli.d.ts +0 -132
- package/dist/knowledge-ui.d.ts +0 -45
- package/dist/landed-cleanup.d.ts +0 -175
- package/dist/laptop-background.d.ts +0 -187
- package/dist/laptop-service.d.ts +0 -111
- package/dist/latency-timeline.d.ts +0 -46
- package/dist/lead-about.d.ts +0 -35
- package/dist/lead-answer-eval.d.ts +0 -93
- package/dist/lead-capabilities.d.ts +0 -57
- package/dist/lead-cli-live.d.ts +0 -56
- package/dist/lead-cli.d.ts +0 -58
- package/dist/lead-commitments.d.ts +0 -84
- package/dist/lead-context.d.ts +0 -45
- package/dist/lead-contract.d.ts +0 -10
- package/dist/lead-doors.d.ts +0 -122
- package/dist/lead-follow.d.ts +0 -26
- package/dist/lead-identity.d.ts +0 -23
- package/dist/lead-latency-schema.d.ts +0 -24
- package/dist/lead-people.d.ts +0 -55
- package/dist/lead-progress.d.ts +0 -67
- package/dist/lead-queue-runtime.d.ts +0 -46
- package/dist/lead-queue.d.ts +0 -104
- package/dist/lead-route.d.ts +0 -56
- package/dist/lead-status.d.ts +0 -116
- package/dist/lead-sweep.d.ts +0 -67
- package/dist/lead-tools.d.ts +0 -167
- package/dist/lead-voice.d.ts +0 -85
- package/dist/lead.d.ts +0 -142
- package/dist/learning-child.d.ts +0 -1
- package/dist/learning-look.d.ts +0 -25
- package/dist/ledger-chain.d.ts +0 -46
- package/dist/ledger-csv.d.ts +0 -4
- package/dist/ledger-view.d.ts +0 -27
- package/dist/lesson-notes.d.ts +0 -81
- package/dist/limits-ui.d.ts +0 -34
- package/dist/link.d.ts +0 -72
- package/dist/live-backup.d.ts +0 -39
- package/dist/live-bus.d.ts +0 -141
- package/dist/live-children-read.d.ts +0 -52
- package/dist/live-children.d.ts +0 -73
- package/dist/live-detail.d.ts +0 -27
- package/dist/live-input.d.ts +0 -68
- package/dist/live-main-read.d.ts +0 -19
- package/dist/live-notes.d.ts +0 -20
- package/dist/live-open.d.ts +0 -28
- package/dist/live-records.d.ts +0 -149
- package/dist/live-reply.d.ts +0 -83
- package/dist/live-terminal.d.ts +0 -273
- package/dist/live.d.ts +0 -152
- package/dist/local-owner.d.ts +0 -124
- package/dist/log.d.ts +0 -7
- package/dist/login-secrets.d.ts +0 -60
- package/dist/machine-check.d.ts +0 -16
- package/dist/machine-identity.d.ts +0 -75
- package/dist/mailbox.d.ts +0 -57
- package/dist/maintenance.d.ts +0 -13
- package/dist/mcp-connect.d.ts +0 -181
- package/dist/mcp-core.d.ts +0 -110
- package/dist/mcp-http.d.ts +0 -32
- package/dist/mcp-oauth.d.ts +0 -92
- package/dist/mcp-person.d.ts +0 -22
- package/dist/mcp.d.ts +0 -20
- package/dist/memory-cli.d.ts +0 -768
- package/dist/memory-pass.d.ts +0 -151
- package/dist/memory-tidy.d.ts +0 -181
- package/dist/memory-use.d.ts +0 -35
- package/dist/merge-checklist.d.ts +0 -55
- package/dist/metrics.d.ts +0 -6
- package/dist/mobile-viewport.d.ts +0 -7
- package/dist/model-catalog.d.ts +0 -123
- package/dist/model-choices.d.ts +0 -235
- package/dist/model-names.d.ts +0 -6
- package/dist/models-cli.d.ts +0 -307
- package/dist/models-ui.d.ts +0 -161
- package/dist/modes.d.ts +0 -99
- package/dist/monitoring-settings.d.ts +0 -44
- package/dist/monitoring-ui.d.ts +0 -23
- package/dist/monitoring.d.ts +0 -34
- package/dist/names.d.ts +0 -67
- package/dist/needs-you.d.ts +0 -164
- package/dist/never-index.d.ts +0 -3
- package/dist/nightly-check.d.ts +0 -107
- package/dist/nightly-github.d.ts +0 -318
- package/dist/notification-delivery.d.ts +0 -19
- package/dist/notification-rows.d.ts +0 -30
- package/dist/oauth-run-token.d.ts +0 -51
- package/dist/observations.d.ts +0 -36
- package/dist/oidc.d.ts +0 -71
- package/dist/onboard.d.ts +0 -108
- package/dist/one-step-chat-schema.d.ts +0 -22
- package/dist/openrouter-models.d.ts +0 -34
- package/dist/operate-remote-arguments.d.ts +0 -36
- package/dist/operate-remote.d.ts +0 -98
- package/dist/operate.d.ts +0 -401
- package/dist/orphan-sweep.d.ts +0 -65
- package/dist/page-work-contract.d.ts +0 -21
- package/dist/password-bearer.d.ts +0 -25
- package/dist/passwordless.d.ts +0 -23
- package/dist/peek-cli.d.ts +0 -112
- package/dist/peek.d.ts +0 -110
- package/dist/people-audit-ui.d.ts +0 -16
- package/dist/person-proof.d.ts +0 -2
- package/dist/phase-routing.d.ts +0 -401
- package/dist/plain-schema.d.ts +0 -23
- package/dist/plain-words.d.ts +0 -20
- package/dist/plan-auto.d.ts +0 -25
- package/dist/plan-login.d.ts +0 -14
- package/dist/plan.d.ts +0 -188
- package/dist/plane-review.d.ts +0 -54
- package/dist/planner-source.d.ts +0 -225
- package/dist/planner.d.ts +0 -76
- package/dist/policy-ui.d.ts +0 -22
- package/dist/policy.d.ts +0 -92
- package/dist/prepared-evidence.d.ts +0 -17
- package/dist/principal.d.ts +0 -42
- package/dist/probe.d.ts +0 -46
- package/dist/process-custody.d.ts +0 -17
- package/dist/process-liveness.d.ts +0 -13
- package/dist/process-tree.d.ts +0 -39
- package/dist/project-access.d.ts +0 -17
- package/dist/project-activity.d.ts +0 -20
- package/dist/project-admission.d.ts +0 -105
- package/dist/project-cli.d.ts +0 -19
- package/dist/project-concurrency.d.ts +0 -62
- package/dist/project-delete-ui.d.ts +0 -96
- package/dist/project-delete.d.ts +0 -59
- package/dist/project-demo.d.ts +0 -12
- package/dist/project-file.d.ts +0 -3
- package/dist/project-identity.d.ts +0 -52
- package/dist/project-knowledge.d.ts +0 -124
- package/dist/project-learning.d.ts +0 -120
- package/dist/project-memory.d.ts +0 -70
- package/dist/project-outcomes.d.ts +0 -119
- package/dist/project-sandbox.d.ts +0 -59
- package/dist/project-skills.d.ts +0 -139
- package/dist/project-tools.d.ts +0 -318
- package/dist/project.d.ts +0 -65
- package/dist/prompt.d.ts +0 -33
- package/dist/proof.d.ts +0 -457
- package/dist/proposal.d.ts +0 -70
- package/dist/protected-storage-look.d.ts +0 -1
- package/dist/protected-storage.d.ts +0 -98
- package/dist/provider-auth.d.ts +0 -143
- package/dist/provider-capture.d.ts +0 -34
- package/dist/provider-connection.d.ts +0 -23
- package/dist/provider-home.d.ts +0 -22
- package/dist/provider-limits.d.ts +0 -37
- package/dist/provider.d.ts +0 -369
- package/dist/public-access.d.ts +0 -52
- package/dist/public-check.d.ts +0 -37
- package/dist/publish.d.ts +0 -146
- package/dist/pull-request-flow.d.ts +0 -189
- package/dist/pull-request-schema.d.ts +0 -5
- package/dist/pull-request-ui.d.ts +0 -25
- package/dist/pulls.d.ts +0 -121
- package/dist/push.d.ts +0 -120
- package/dist/quality.d.ts +0 -8
- package/dist/quick-start.d.ts +0 -26
- package/dist/read-executor-worker.d.ts +0 -1
- package/dist/read-executor.d.ts +0 -66
- package/dist/read-only-request.d.ts +0 -4
- package/dist/recipe-ui.d.ts +0 -21
- package/dist/recipes.d.ts +0 -56
- package/dist/release-adapters.d.ts +0 -205
- package/dist/release-approval.d.ts +0 -180
- package/dist/release-authority.d.ts +0 -173
- package/dist/release-auto.d.ts +0 -184
- package/dist/release-card.d.ts +0 -156
- package/dist/release-carry.d.ts +0 -261
- package/dist/release-ci-hold.d.ts +0 -41
- package/dist/release-cli.d.ts +0 -34
- package/dist/release-coverage.d.ts +0 -16
- package/dist/release-gate.d.ts +0 -84
- package/dist/release-git.d.ts +0 -43
- package/dist/release-links.d.ts +0 -29
- package/dist/release-net.d.ts +0 -90
- package/dist/release-next.d.ts +0 -48
- package/dist/release-recheck.d.ts +0 -146
- package/dist/release-refusal.d.ts +0 -32
- package/dist/release-view.d.ts +0 -37
- package/dist/release.d.ts +0 -806
- package/dist/releases.d.ts +0 -94
- package/dist/remote-audit.d.ts +0 -79
- package/dist/remote-command.d.ts +0 -45
- package/dist/remote-destination.d.ts +0 -36
- package/dist/remote-exec.d.ts +0 -38
- package/dist/remote-main.d.ts +0 -111
- package/dist/remote-run.d.ts +0 -20
- package/dist/remote.d.ts +0 -67
- package/dist/render.d.ts +0 -64
- package/dist/reply-shape.d.ts +0 -106
- package/dist/reply-voice.d.ts +0 -23
- package/dist/report-summary.d.ts +0 -22
- package/dist/reported-usage.d.ts +0 -69
- package/dist/repos.d.ts +0 -67
- package/dist/repository-context-ui.d.ts +0 -3
- package/dist/repository-context.d.ts +0 -66
- package/dist/request-budget-ui.d.ts +0 -14
- package/dist/request-budget.d.ts +0 -127
- package/dist/restart-certification.d.ts +0 -133
- package/dist/result-actions.d.ts +0 -36
- package/dist/result-acts.d.ts +0 -112
- package/dist/result-completion.d.ts +0 -35
- package/dist/result-evidence-readers.d.ts +0 -42
- package/dist/result-follow-ups.d.ts +0 -118
- package/dist/result-review.d.ts +0 -220
- package/dist/result-shots.d.ts +0 -59
- package/dist/retention-ui.d.ts +0 -21
- package/dist/retention.d.ts +0 -77
- package/dist/review-context.d.ts +0 -245
- package/dist/review-evidence.d.ts +0 -33
- package/dist/review-switch.d.ts +0 -36
- package/dist/reviewer.d.ts +0 -99
- package/dist/route-change-check.d.ts +0 -4
- package/dist/route-change.d.ts +0 -22
- package/dist/route-hooks.d.ts +0 -54
- package/dist/route-results.d.ts +0 -75
- package/dist/route-rules.d.ts +0 -324
- package/dist/route-savings.d.ts +0 -136
- package/dist/route-store.d.ts +0 -300
- package/dist/run-closeout.d.ts +0 -89
- package/dist/run-efficiency.d.ts +0 -74
- package/dist/run-ending.d.ts +0 -21
- package/dist/runner-process.d.ts +0 -76
- package/dist/runner.d.ts +0 -324
- package/dist/sample-project.d.ts +0 -31
- package/dist/sandbox-launch.d.ts +0 -1
- package/dist/sandbox-runtime.d.ts +0 -128
- package/dist/scan.d.ts +0 -32
- package/dist/scope.d.ts +0 -1067
- package/dist/scout-browser-lock.d.ts +0 -69
- package/dist/scout-browser.d.ts +0 -107
- package/dist/scout-net.d.ts +0 -25
- package/dist/scout-report.d.ts +0 -23
- package/dist/scout.d.ts +0 -142
- package/dist/secret-mint.d.ts +0 -1
- package/dist/serve.d.ts +0 -11
- package/dist/server/agents-computers.d.ts +0 -9
- package/dist/server/agents-live-filed.d.ts +0 -17
- package/dist/server/agents-live-lead.d.ts +0 -47
- package/dist/server/agents-live-room.d.ts +0 -23
- package/dist/server/chat.d.ts +0 -39
- package/dist/server/chrome.d.ts +0 -328
- package/dist/server/edge-refusal.d.ts +0 -7
- package/dist/server/flows.d.ts +0 -8
- package/dist/server/guards.d.ts +0 -80
- package/dist/server/handler-context.d.ts +0 -22
- package/dist/server/handler-registry.d.ts +0 -23
- package/dist/server/home-asks.d.ts +0 -45
- package/dist/server/home.d.ts +0 -65
- package/dist/server/http.d.ts +0 -337
- package/dist/server/in-place.d.ts +0 -15
- package/dist/server/kit-standalone.d.ts +0 -22
- package/dist/server/kit.d.ts +0 -452
- package/dist/server/last-checks.d.ts +0 -17
- package/dist/server/live.d.ts +0 -74
- package/dist/server/merge-ready-view.d.ts +0 -10
- package/dist/server/mutation-key.d.ts +0 -70
- package/dist/server/pages-assets.d.ts +0 -11
- package/dist/server/pages.d.ts +0 -8
- package/dist/server/people-tokens.d.ts +0 -18
- package/dist/server/remote-hooks.d.ts +0 -29
- package/dist/server/remote.d.ts +0 -59
- package/dist/server/render-chat.d.ts +0 -439
- package/dist/server/render-code-map.d.ts +0 -30
- package/dist/server/render-flaky.d.ts +0 -20
- package/dist/server/render-follow-through.d.ts +0 -11
- package/dist/server/render-history.d.ts +0 -51
- package/dist/server/render-new-task.d.ts +0 -54
- package/dist/server/render-pages.d.ts +0 -236
- package/dist/server/render-people.d.ts +0 -102
- package/dist/server/render-projects.d.ts +0 -104
- package/dist/server/render-release.d.ts +0 -19
- package/dist/server/render-results.d.ts +0 -754
- package/dist/server/render-settings.d.ts +0 -93
- package/dist/server/render-tasks.d.ts +0 -774
- package/dist/server/request-context.d.ts +0 -78
- package/dist/server/retired-routes.d.ts +0 -17
- package/dist/server/route-policy.d.ts +0 -18
- package/dist/server/route-table.d.ts +0 -114
- package/dist/server/runtime.d.ts +0 -342
- package/dist/server/session.d.ts +0 -192
- package/dist/server/settings.d.ts +0 -76
- package/dist/server/signup-gate.d.ts +0 -9
- package/dist/server/sweeps.d.ts +0 -4
- package/dist/server/task-views.d.ts +0 -98
- package/dist/server/tasks.d.ts +0 -83
- package/dist/server/terminals.d.ts +0 -31
- package/dist/server/welcome.d.ts +0 -28
- package/dist/server-telemetry.d.ts +0 -87
- package/dist/settings-groups-ui.d.ts +0 -286
- package/dist/settings-kit-script.d.ts +0 -21
- package/dist/settings-kit.d.ts +0 -173
- package/dist/settings-proofs.d.ts +0 -64
- package/dist/setup-guide.d.ts +0 -39
- package/dist/shared-deps.d.ts +0 -115
- package/dist/sign-in-guard.d.ts +0 -70
- package/dist/skills-ui.d.ts +0 -12
- package/dist/skills.d.ts +0 -99
- package/dist/slack-api.d.ts +0 -59
- package/dist/slack-chat.d.ts +0 -37
- package/dist/slack-settings.d.ts +0 -4
- package/dist/slack-socket.d.ts +0 -12
- package/dist/slack.d.ts +0 -6
- package/dist/sleep.d.ts +0 -2
- package/dist/source-key.d.ts +0 -2
- package/dist/spend-report.d.ts +0 -87
- package/dist/spend-ui.d.ts +0 -80
- package/dist/spend.d.ts +0 -142
- package/dist/sqlite-runtime.d.ts +0 -3
- package/dist/sqlite-telemetry.d.ts +0 -9
- package/dist/sso-settings.d.ts +0 -33
- package/dist/sso-ui.d.ts +0 -26
- package/dist/staged-runtimes.d.ts +0 -54
- package/dist/steer-capabilities.d.ts +0 -32
- package/dist/steer-controls.d.ts +0 -14
- package/dist/steer-live.d.ts +0 -19
- package/dist/steer-mailbox.d.ts +0 -46
- package/dist/steer-status.d.ts +0 -25
- package/dist/stop-proof.d.ts +0 -67
- package/dist/storage-sweep-child.d.ts +0 -1
- package/dist/storage-sweep-process.d.ts +0 -55
- package/dist/storage-sweep-schedule.d.ts +0 -30
- package/dist/storage-sweep.d.ts +0 -77
- package/dist/storage-ui.d.ts +0 -23
- package/dist/storage.d.ts +0 -68
- package/dist/store-baseline.d.ts +0 -19
- package/dist/store.d.ts +0 -8613
- package/dist/stream-scope.d.ts +0 -18
- package/dist/structured-output.d.ts +0 -57
- package/dist/style-asset.d.ts +0 -7
- package/dist/subagent-admin.d.ts +0 -53
- package/dist/subagent-desk.d.ts +0 -59
- package/dist/subagent-memory.d.ts +0 -65
- package/dist/subagent-question.d.ts +0 -59
- package/dist/subagent-tools.d.ts +0 -125
- package/dist/subagent-week.d.ts +0 -68
- package/dist/subagent-work.d.ts +0 -76
- package/dist/subagents-ui.d.ts +0 -22
- package/dist/subagents.d.ts +0 -146
- package/dist/subscription-chat.d.ts +0 -54
- package/dist/summary.d.ts +0 -33
- package/dist/surface.d.ts +0 -49
- package/dist/sweep-gate.d.ts +0 -10
- package/dist/sweep-quarantine.d.ts +0 -29
- package/dist/sync.d.ts +0 -94
- package/dist/tailnet.d.ts +0 -11
- package/dist/tamper-scan.d.ts +0 -4
- package/dist/task-activity.d.ts +0 -27
- package/dist/task-aliases.d.ts +0 -5
- package/dist/task-archive.d.ts +0 -13
- package/dist/task-base.d.ts +0 -39
- package/dist/task-composer.d.ts +0 -14
- package/dist/task-control.d.ts +0 -159
- package/dist/task-live.d.ts +0 -8
- package/dist/task-moves.d.ts +0 -90
- package/dist/task-outcome-cli.d.ts +0 -30
- package/dist/task-review-brief.d.ts +0 -69
- package/dist/task-sizing.d.ts +0 -58
- package/dist/task-source.d.ts +0 -77
- package/dist/task-status.d.ts +0 -324
- package/dist/task-text.d.ts +0 -31
- package/dist/team-chat-authorization.d.ts +0 -11
- package/dist/team-contract.d.ts +0 -103
- package/dist/team-http.d.ts +0 -25
- package/dist/team-leads.d.ts +0 -85
- package/dist/team-runtime.d.ts +0 -25
- package/dist/team-ui.d.ts +0 -4
- package/dist/team-updates.d.ts +0 -8
- package/dist/teams-api.d.ts +0 -33
- package/dist/teams-chat.d.ts +0 -36
- package/dist/teams-settings.d.ts +0 -14
- package/dist/teams.d.ts +0 -24
- package/dist/teardown-git.d.ts +0 -164
- package/dist/telegram-flow.d.ts +0 -112
- package/dist/telegram-lead.d.ts +0 -151
- package/dist/telegram-live.d.ts +0 -116
- package/dist/telegram-progress.d.ts +0 -20
- package/dist/telegram-settings.d.ts +0 -9
- package/dist/telegram-status.d.ts +0 -83
- package/dist/telegram-team.d.ts +0 -68
- package/dist/telegram.d.ts +0 -271
- package/dist/templates.d.ts +0 -69
- package/dist/terminal-catalog.d.ts +0 -11
- package/dist/terminal-text.d.ts +0 -11
- package/dist/test-infra.d.ts +0 -34
- package/dist/test-temp.d.ts +0 -40
- package/dist/text-limits.d.ts +0 -297
- package/dist/tidy.d.ts +0 -130
- package/dist/tier-report.d.ts +0 -44
- package/dist/token-notices.d.ts +0 -11
- package/dist/tokens-cli.d.ts +0 -21
- package/dist/tool-broker.d.ts +0 -52
- package/dist/tool-launcher.d.ts +0 -1
- package/dist/tool-secret-store.d.ts +0 -167
- package/dist/toolroll-update-cli.d.ts +0 -15
- package/dist/toolroll-update-ui.d.ts +0 -47
- package/dist/toolroll-update.d.ts +0 -265
- package/dist/tools-ui.d.ts +0 -51
- package/dist/transitions-recipes.d.ts +0 -1
- package/dist/tree-proof.d.ts +0 -34
- package/dist/tui-contract.d.ts +0 -144
- package/dist/tui-source.d.ts +0 -14
- package/dist/typed-start.d.ts +0 -51
- package/dist/unfenced-test-support.d.ts +0 -2
- package/dist/up-processes.d.ts +0 -162
- package/dist/up-role-child.d.ts +0 -1
- package/dist/update-notice.d.ts +0 -5
- package/dist/vanished-retry.d.ts +0 -30
- package/dist/verification-evidence.d.ts +0 -68
- package/dist/version.d.ts +0 -2
- package/dist/wake-hub.d.ts +0 -72
- package/dist/webhook-limits.d.ts +0 -23
- package/dist/webhook-readers.d.ts +0 -56
- package/dist/webhook-signing.d.ts +0 -27
- package/dist/webhooks.d.ts +0 -84
- package/dist/welcome-facts.d.ts +0 -18
- package/dist/when-html.d.ts +0 -40
- package/dist/work-index.d.ts +0 -175
- package/dist/work-summary.d.ts +0 -61
- package/dist/workspace-motion.d.ts +0 -4
- package/dist/workspace-revision.d.ts +0 -48
- package/dist/workspace-ui.d.ts +0 -385
- package/dist/worktree-notices.d.ts +0 -13
- package/dist/worktree.d.ts +0 -365
- package/dist/writes-mode.d.ts +0 -9
- package/dist/youiyoux-intake.d.ts +0 -234
|
@@ -1,1972 +0,0 @@
|
|
|
1
|
-
/** The browser consumes this contract with a type-only import. All HTML is
|
|
2
|
-
* produced by the existing trusted server renderers, never by a model-supplied
|
|
3
|
-
* fragment. These projections do not authenticate, mutate or grant authority. */
|
|
4
|
-
import { type DisplayState, type StateCounts } from './agent-state-words.js';
|
|
5
|
-
import type { TeamSnapshot } from './team-contract.js';
|
|
6
|
-
import type { RunActivity } from './activity-line.js';
|
|
7
|
-
import type { AssignmentSnapshot } from './assignment.js';
|
|
8
|
-
export { browserCrewFromIndex, browserWorkActionHref } from './browser-crew.js';
|
|
9
|
-
import type { Store } from './store.js';
|
|
10
|
-
import type { WorkSummaryAccess } from './work-summary.js';
|
|
11
|
-
import type { StatusTone, StepRow } from './workspace-ui.js';
|
|
12
|
-
import type { PageWork } from './page-work-contract.js';
|
|
13
|
-
import type { Ask, AskChip } from './needs-you.js';
|
|
14
|
-
import type { WorkIndexGroup } from './work-index.js';
|
|
15
|
-
import type { AssignmentCard } from './assignment-ui.js';
|
|
16
|
-
import type { TaskStatus } from './task-status.js';
|
|
17
|
-
import type { AcceptLabel, ResultActFacts, ResultActs } from './result-acts.js';
|
|
18
|
-
import type { FirstRunStep, FirstTaskSuggestion, JourneyStep } from './first-run.js';
|
|
19
|
-
export type BrowserProject = {
|
|
20
|
-
name: string;
|
|
21
|
-
path: string;
|
|
22
|
-
href: string;
|
|
23
|
-
knowledgeHref: string;
|
|
24
|
-
};
|
|
25
|
-
/** A project's state for one person (agent-state.ts): the strongest of its counts, the counts, and its tasks with
|
|
26
|
-
* something live, asking, failed or unread (strongest first, `more` beyond those shown). `path` null: work with no
|
|
27
|
-
* project yet. */
|
|
28
|
-
export type BrowserProjectState = {
|
|
29
|
-
path: string | null;
|
|
30
|
-
name: string;
|
|
31
|
-
href: string;
|
|
32
|
-
state: DisplayState;
|
|
33
|
-
counts: StateCounts;
|
|
34
|
-
tasks: BrowserRailTask[];
|
|
35
|
-
more: number;
|
|
36
|
-
/** Everything here that needs this person, as opaque keys (one per obligation and version: the chime's subjects),
|
|
37
|
-
* with the task and agent each is about so a tab already showing one stays quiet. */
|
|
38
|
-
asks: BrowserAsk[];
|
|
39
|
-
/** The projects folded together to keep a snapshot inside one live frame: their counts summed, `more` of them. */
|
|
40
|
-
others?: true;
|
|
41
|
-
};
|
|
42
|
-
/** The most a summary snapshot may take in UTF-8 bytes, as the summary room sends it (JSON inside JSON, plus the
|
|
43
|
-
* frame's envelope), well inside one live frame (live-bus.ts STREAM_LIMIT_BYTES). */
|
|
44
|
-
export declare const SUMMARY_BUDGET = 24000;
|
|
45
|
-
/** A snapshot's size on the wire: UTF-8 bytes of the JSON string the frame carries, plus its envelope. */
|
|
46
|
-
export declare function summaryFrameBytes(value: unknown): number;
|
|
47
|
-
/**
|
|
48
|
-
* A summary snapshot that fits one live frame, with every count kept: long words are clipped, then rail tasks become
|
|
49
|
-
* `more` (from the project listing most), then the quietest projects fold into one `others` entry with their counts
|
|
50
|
-
* summed. Nothing is dropped silently: whatever is not listed is counted.
|
|
51
|
-
*/
|
|
52
|
-
export declare function boundProjectSummary(rows: readonly BrowserProjectState[], budget?: number): BrowserProjectState[];
|
|
53
|
-
/** One thing that needs this person, as the chime knows it: an opaque key (never words), and what it is about. */
|
|
54
|
-
export type BrowserAsk = {
|
|
55
|
-
key: string;
|
|
56
|
-
task: string | null;
|
|
57
|
-
run: number | null;
|
|
58
|
-
/** When it last changed (ISO): one older than the chime's memory reaches back is never news. */
|
|
59
|
-
at: string;
|
|
60
|
-
};
|
|
61
|
-
/** One task on the rail: its state, and its agent's last act when one is at work (else the state's words). */
|
|
62
|
-
export type BrowserRailTask = {
|
|
63
|
-
id: string;
|
|
64
|
-
title: string;
|
|
65
|
-
href: string;
|
|
66
|
-
state: DisplayState;
|
|
67
|
-
line: string;
|
|
68
|
-
};
|
|
69
|
-
/** count: tasks waiting on a person, shown beside Tasks when above zero. */
|
|
70
|
-
export type BrowserNavigationItem = {
|
|
71
|
-
label: string;
|
|
72
|
-
href: string;
|
|
73
|
-
active: boolean;
|
|
74
|
-
count?: number;
|
|
75
|
-
/** What the count covers, said aloud and on hover: "3 need you in shop". */
|
|
76
|
-
countLabel?: string;
|
|
77
|
-
};
|
|
78
|
-
/** The Tasks badge's words: the count and the projects it covers
|
|
79
|
-
* ("3 need you in shop", "1 needs you across all your projects"). */
|
|
80
|
-
export declare function needsYouLabelOf(count: number, projectName: string | null, saturated?: boolean): string;
|
|
81
|
-
export type BrowserChatLink = {
|
|
82
|
-
kind: 'project' | 'task';
|
|
83
|
-
title: string;
|
|
84
|
-
href: string;
|
|
85
|
-
at: string | null;
|
|
86
|
-
active: boolean;
|
|
87
|
-
};
|
|
88
|
-
export type BrowserCrewItem = {
|
|
89
|
-
id: string;
|
|
90
|
-
title: string;
|
|
91
|
-
project: string | null;
|
|
92
|
-
state: AssignmentSnapshot['state'];
|
|
93
|
-
label: string;
|
|
94
|
-
tone: StatusTone;
|
|
95
|
-
href: string;
|
|
96
|
-
resultHref: string | null;
|
|
97
|
-
action: {
|
|
98
|
-
label: string;
|
|
99
|
-
href: string;
|
|
100
|
-
} | null;
|
|
101
|
-
/** When the task family last changed (the index's own sort time), shown as the row's age. */
|
|
102
|
-
updatedAt: string;
|
|
103
|
-
/** The server's status detail, when Waiting, Failed or Needs you adds to its badge. */
|
|
104
|
-
detail?: string;
|
|
105
|
-
/** "<name> is on it.": the person's own lead took it on, by the name they gave it. */
|
|
106
|
-
lead?: string;
|
|
107
|
-
/** A running task: what its agent did last, and when. */
|
|
108
|
-
activity?: RunActivity;
|
|
109
|
-
};
|
|
110
|
-
export type BrowserMessage = {
|
|
111
|
-
id: number;
|
|
112
|
-
role: 'operator' | 'assistant';
|
|
113
|
-
text: string;
|
|
114
|
-
html: string;
|
|
115
|
-
activity: string | null;
|
|
116
|
-
createdAt: string;
|
|
117
|
-
cardsHtml: string;
|
|
118
|
-
/** The same cards as data, confirmed in place (chat cards). */
|
|
119
|
-
cards?: BrowserActionCard[];
|
|
120
|
-
};
|
|
121
|
-
/** A card the lead proposed: what it would do (the server's own body) and
|
|
122
|
-
* the one act it offers. Confirming posts to the card's own door. */
|
|
123
|
-
export type BrowserActionCard = {
|
|
124
|
-
id: number;
|
|
125
|
-
kind: string;
|
|
126
|
-
label: string;
|
|
127
|
-
state: 'drafting' | 'pending' | 'confirming' | 'confirmed' | 'refused' | 'dismissed' | 'expired';
|
|
128
|
-
body: string;
|
|
129
|
-
said: string | null;
|
|
130
|
-
links: BrowserLink[];
|
|
131
|
-
primary: {
|
|
132
|
-
kind: 'confirm';
|
|
133
|
-
label: string;
|
|
134
|
-
irreversible: boolean;
|
|
135
|
-
native: boolean;
|
|
136
|
-
} | {
|
|
137
|
-
kind: 'link';
|
|
138
|
-
label: string;
|
|
139
|
-
href: string;
|
|
140
|
-
} | null;
|
|
141
|
-
dismissable: boolean;
|
|
142
|
-
note: string | null;
|
|
143
|
-
/** A Toolroll card: `body` is its data, and it confirms nothing. */
|
|
144
|
-
data?: true;
|
|
145
|
-
};
|
|
146
|
-
export type BrowserConversation = {
|
|
147
|
-
sessionId: number;
|
|
148
|
-
user: string;
|
|
149
|
-
version: string;
|
|
150
|
-
messages: BrowserMessage[];
|
|
151
|
-
pendingTurnId: number | null;
|
|
152
|
-
requestId: string;
|
|
153
|
-
maxChars: number;
|
|
154
|
-
taskId: string | null;
|
|
155
|
-
resultRunId: number | null;
|
|
156
|
-
/** A project's own thread (v77); absent or null for the lead conversation or a task. */
|
|
157
|
-
project?: string | null;
|
|
158
|
-
/** The lead thread a change in reachable projects replaced (mate arc ruling 9): shown above a divider, read only. */
|
|
159
|
-
previous?: {
|
|
160
|
-
messages: BrowserMessage[];
|
|
161
|
-
} | null;
|
|
162
|
-
/** How the last reply failed, from its saved turn (docs/plans/responsive-chat.md §3.4); absent or null otherwise. */
|
|
163
|
-
failure?: string | null;
|
|
164
|
-
};
|
|
165
|
-
/** A page rebuilt as React components (shadcn/ui). The server still renders
|
|
166
|
-
* its HTML as the no-JavaScript fallback; forms post to the same routes. */
|
|
167
|
-
export type BrowserLink = {
|
|
168
|
-
label: string;
|
|
169
|
-
href: string;
|
|
170
|
-
};
|
|
171
|
-
export type BrowserTasksView = {
|
|
172
|
-
kind: 'tasks';
|
|
173
|
-
/** List (rows under group headings) or Board (the same index as columns). */
|
|
174
|
-
layout: 'list' | 'board';
|
|
175
|
-
/** The status filters (All, Needs you, Running, Queued, Finished), as addresses with their counts. */
|
|
176
|
-
tabs: (BrowserLink & {
|
|
177
|
-
key?: string;
|
|
178
|
-
count: number;
|
|
179
|
-
active: boolean;
|
|
180
|
-
})[];
|
|
181
|
-
/** The project filter: All and each project in view (null with one project). */
|
|
182
|
-
projects?: {
|
|
183
|
-
key: string;
|
|
184
|
-
label: string;
|
|
185
|
-
href: string;
|
|
186
|
-
active: boolean;
|
|
187
|
-
}[] | null;
|
|
188
|
-
/** The List and Board addresses for this same filter. */
|
|
189
|
-
layouts: {
|
|
190
|
-
list: string;
|
|
191
|
-
board: string;
|
|
192
|
-
};
|
|
193
|
-
/** The scope the counts cover, in words ("in payments-api", "across all your projects"). */
|
|
194
|
-
scope?: string;
|
|
195
|
-
/** Tasks waiting on a person in this view's scope. */
|
|
196
|
-
needsYou: number;
|
|
197
|
-
/** All and Needs you list their rows in these groups, in this order (empty ones left out); null: one plain list. */
|
|
198
|
-
groups: {
|
|
199
|
-
key: BrowserTaskGroup;
|
|
200
|
-
label: string;
|
|
201
|
-
count: number;
|
|
202
|
-
}[] | null;
|
|
203
|
-
rows: BrowserTaskRow[];
|
|
204
|
-
/** The Board view's columns (Needs you, Queued, Running, Finished); null in the List view. */
|
|
205
|
-
board?: {
|
|
206
|
-
key: 'needs' | 'queued' | 'running' | 'finished';
|
|
207
|
-
label: string;
|
|
208
|
-
count: number;
|
|
209
|
-
href: string;
|
|
210
|
-
empty: string;
|
|
211
|
-
rows: BrowserTaskRow[];
|
|
212
|
-
}[] | null;
|
|
213
|
-
/** Archived tasks, offered at the foot of Finished (and current in Archived). */
|
|
214
|
-
archived?: (BrowserLink & {
|
|
215
|
-
count: number;
|
|
216
|
-
active: boolean;
|
|
217
|
-
}) | null;
|
|
218
|
-
empty: {
|
|
219
|
-
text: string;
|
|
220
|
-
action: BrowserLink | null;
|
|
221
|
-
} | null;
|
|
222
|
-
pages: {
|
|
223
|
-
first: string | null;
|
|
224
|
-
next: string | null;
|
|
225
|
-
};
|
|
226
|
-
tools: BrowserLink[];
|
|
227
|
-
newTask: BrowserLink;
|
|
228
|
-
/** Put away old tasks (an approver's): the preview page. */
|
|
229
|
-
putAway?: BrowserLink | null;
|
|
230
|
-
/** v105: subscription windows and monthly budgets, one tile each (an instance operator's; null when there are none). */
|
|
231
|
-
limits: BrowserLimits | null;
|
|
232
|
-
/** The stored-state filter (Any state, Queued, Running, Done, Failed, Cancelled), each a real link starting on page one. */
|
|
233
|
-
states?: (BrowserLink & {
|
|
234
|
-
active: boolean;
|
|
235
|
-
})[];
|
|
236
|
-
};
|
|
237
|
-
export type BrowserTaskRow = {
|
|
238
|
-
id: string;
|
|
239
|
-
title: string;
|
|
240
|
-
href: string;
|
|
241
|
-
project: string | null;
|
|
242
|
-
age: string;
|
|
243
|
-
status: {
|
|
244
|
-
label: string;
|
|
245
|
-
tone: StatusTone;
|
|
246
|
-
token: string;
|
|
247
|
-
};
|
|
248
|
-
/** The row's chip word and tone (src/design/KIT.md): the ask under Needs you, else the headline. */
|
|
249
|
-
word: {
|
|
250
|
-
word: string;
|
|
251
|
-
tone: '' | 'needs' | 'ask' | 'live' | 'done' | 'failed';
|
|
252
|
-
};
|
|
253
|
-
/** What a Needs you row asks: its group. */
|
|
254
|
-
ask: Ask | null;
|
|
255
|
-
/** The row's chip under its group: the specific ask (Plan, Result, Mismatch, Plan changed, Failed, Builder offline), or none. */
|
|
256
|
-
chip: AskChip | null;
|
|
257
|
-
group: BrowserTaskGroup;
|
|
258
|
-
/** The status rank: 0 waits on a person, 1 runs, 2 queued or waiting, 3 finished, 4 stopped or put away. */
|
|
259
|
-
rank: number;
|
|
260
|
-
action: BrowserLink | null;
|
|
261
|
-
detail: string | null;
|
|
262
|
-
problem: string | null;
|
|
263
|
-
notes: string[];
|
|
264
|
-
/** Put away, or Restore in Archived (task-tidy.md): a POST to the task's own route; null for a viewer or live work. */
|
|
265
|
-
tidy?: {
|
|
266
|
-
action: string;
|
|
267
|
-
label: 'Archive' | 'Restore';
|
|
268
|
-
returnTo: string;
|
|
269
|
-
} | null;
|
|
270
|
-
};
|
|
271
|
-
/** One limit: a plan's usage window ("Claude · 5-hour, 48%") or a monthly budget ("shop · Budget, $4.20 of $10"). */
|
|
272
|
-
export type BrowserTaskGroup = WorkIndexGroup;
|
|
273
|
-
export type BrowserLimitTile = {
|
|
274
|
-
key: string;
|
|
275
|
-
name: string;
|
|
276
|
-
window: string;
|
|
277
|
-
value: string;
|
|
278
|
-
unit: string;
|
|
279
|
-
percent: number;
|
|
280
|
-
detail: string;
|
|
281
|
-
tone: 'neutral' | 'warning' | 'danger';
|
|
282
|
-
marks: number[];
|
|
283
|
-
title: string | null;
|
|
284
|
-
href: string | null;
|
|
285
|
-
};
|
|
286
|
-
export type BrowserLimits = {
|
|
287
|
-
tiles: BrowserLimitTile[];
|
|
288
|
-
};
|
|
289
|
-
/** The sidebar's usage chip (limits-ui.ts usageChipOf): the most-used subscription window, stale when its reading is old. */
|
|
290
|
-
export type BrowserUsageChip = {
|
|
291
|
-
text: string;
|
|
292
|
-
tone: BrowserLimitTile['tone'];
|
|
293
|
-
stale: boolean;
|
|
294
|
-
href: string;
|
|
295
|
-
title: string;
|
|
296
|
-
};
|
|
297
|
-
export type BrowserUpdates = {
|
|
298
|
-
current: string;
|
|
299
|
-
/** The latest release the last check found; null before any check has worked. */
|
|
300
|
-
latest: {
|
|
301
|
-
version: string;
|
|
302
|
-
newer: boolean;
|
|
303
|
-
security: boolean;
|
|
304
|
-
notes: string;
|
|
305
|
-
url: string;
|
|
306
|
-
} | null;
|
|
307
|
-
updateCommand: string;
|
|
308
|
-
/** The daily check: off by TOOLROLL_NO_UPDATE_CHECK (byEnv) or by this switch; only an operator may flip it. */
|
|
309
|
-
check: {
|
|
310
|
-
on: boolean;
|
|
311
|
-
byEnv: boolean;
|
|
312
|
-
canManage: boolean;
|
|
313
|
-
};
|
|
314
|
-
workers: {
|
|
315
|
-
name: string;
|
|
316
|
-
version: string | null;
|
|
317
|
-
older: boolean;
|
|
318
|
-
}[];
|
|
319
|
-
};
|
|
320
|
-
/** A fold on the task page. Its HTML is the server's own section body, so
|
|
321
|
-
* forms, ids and page scripts are unchanged. */
|
|
322
|
-
export type BrowserTaskSection = {
|
|
323
|
-
id: string;
|
|
324
|
-
title: string;
|
|
325
|
-
html: string;
|
|
326
|
-
open: boolean;
|
|
327
|
-
count: number | null;
|
|
328
|
-
};
|
|
329
|
-
/** `at`: a moment, shown in the reader's own time ("16:39", "Yesterday 16:39", "Sep 28"). */
|
|
330
|
-
export type BrowserTaskFact = {
|
|
331
|
-
label: string;
|
|
332
|
-
parts: (string | BrowserLink | {
|
|
333
|
-
seal: string;
|
|
334
|
-
} | {
|
|
335
|
-
at: string;
|
|
336
|
-
})[];
|
|
337
|
-
};
|
|
338
|
-
/** One entry in a task's thread, in time order beside the task's own
|
|
339
|
-
* conversation: the plan, the agent's progress notes and results, its
|
|
340
|
-
* questions, and the person's replies. `html` is the server's own card (same
|
|
341
|
-
* forms and ids) when the entry carries one. */
|
|
342
|
-
export type BrowserTaskThreadItem = {
|
|
343
|
-
key: string;
|
|
344
|
-
at: string;
|
|
345
|
-
kind: 'filed' | 'plan' | 'progress' | 'result' | 'question' | 'reply';
|
|
346
|
-
who: 'agent' | 'person';
|
|
347
|
-
author: string;
|
|
348
|
-
title: string;
|
|
349
|
-
text: string | null;
|
|
350
|
-
link: BrowserLink | null;
|
|
351
|
-
html: string;
|
|
352
|
-
more: {
|
|
353
|
-
summary: string;
|
|
354
|
-
html: string;
|
|
355
|
-
} | null;
|
|
356
|
-
};
|
|
357
|
-
/** The task's metadata, grouped for the Details panel (desk) or sheet (phone). */
|
|
358
|
-
export type BrowserTaskDetailGroup = {
|
|
359
|
-
title: 'Work' | 'Links' | 'Review' | 'About';
|
|
360
|
-
facts: BrowserTaskFact[];
|
|
361
|
-
};
|
|
362
|
-
export type BrowserTaskView = {
|
|
363
|
-
kind: 'task';
|
|
364
|
-
id: string;
|
|
365
|
-
title: string;
|
|
366
|
-
project: string | null;
|
|
367
|
-
scout: boolean;
|
|
368
|
-
tabs: (BrowserLink & {
|
|
369
|
-
active: boolean;
|
|
370
|
-
})[];
|
|
371
|
-
version: {
|
|
372
|
-
label: string;
|
|
373
|
-
current: BrowserLink;
|
|
374
|
-
} | null;
|
|
375
|
-
/** Put away (task-tidy.md): "Archived by tidy: <why>", when, and Restore for an approver. */
|
|
376
|
-
archived?: {
|
|
377
|
-
words: string;
|
|
378
|
-
at: string;
|
|
379
|
-
restore: {
|
|
380
|
-
action: string;
|
|
381
|
-
returnTo: string;
|
|
382
|
-
} | null;
|
|
383
|
-
} | null;
|
|
384
|
-
/** The status card; `statusHtml` stands in when no assignment projection exists. */
|
|
385
|
-
status: AssignmentCard | null;
|
|
386
|
-
statusHtml: string;
|
|
387
|
-
/** The approval ceremony or its updated terms, exactly as signed. */
|
|
388
|
-
approval: string;
|
|
389
|
-
/** Check again (a build Toolroll could not prove stopped from this computer), when the status asks for it. */
|
|
390
|
-
recheckStopped?: {
|
|
391
|
-
action: string;
|
|
392
|
-
run: number;
|
|
393
|
-
} | null;
|
|
394
|
-
/** Build again, in place, when the status asks for it (a result built to an earlier plan). */
|
|
395
|
-
rebuild?: {
|
|
396
|
-
action: string;
|
|
397
|
-
} | null;
|
|
398
|
-
/** What a failed task missed, in one line (the requirement it missed, the failing check's error line, or the stop
|
|
399
|
-
* reason), the evidence line behind it, one suggestion of what to change, and where to see it (its build's result
|
|
400
|
-
* page, or that exact check-log line); and Retry itself, its note starting with the suggestion. */
|
|
401
|
-
failure?: BrowserFailure | null;
|
|
402
|
-
retry?: {
|
|
403
|
-
action: string;
|
|
404
|
-
note?: string;
|
|
405
|
-
} | null;
|
|
406
|
-
/** Run checks in place, on a status row that offers it: posts and comes back to this page. */
|
|
407
|
-
runChecks?: BrowserRunChecks | null;
|
|
408
|
-
/** A live build: the step it is on (or stuck on, with the act that helps), and the earlier attempts that stopped
|
|
409
|
-
* before it, folded into one quiet line. */
|
|
410
|
-
progress?: {
|
|
411
|
-
line: string;
|
|
412
|
-
stuck: {
|
|
413
|
-
step: number;
|
|
414
|
-
why: string | null;
|
|
415
|
-
line: string;
|
|
416
|
-
action: BrowserLink | null;
|
|
417
|
-
} | null;
|
|
418
|
-
/** The plan's steps and where each stands, from the latest checkpoint (all pending before the first). */
|
|
419
|
-
steps?: {
|
|
420
|
-
title: string;
|
|
421
|
-
state: "pending" | "current" | "completed" | "blocked";
|
|
422
|
-
}[];
|
|
423
|
-
} | null;
|
|
424
|
-
/** The Plan row: the plan's lead sentence, who wrote it and when, and its body (the plan sheet and the plan's editor;
|
|
425
|
-
* only the editor while the approval shows the sheet). `planning`: a planner is writing it now. Null: no plan yet.
|
|
426
|
-
* `key` names what the body holds (the editor alone, or the sheet of one exact plan): the page installs the body once
|
|
427
|
-
* and again when the key changes. */
|
|
428
|
-
plan?: {
|
|
429
|
-
lead: string | null;
|
|
430
|
-
by: string | null;
|
|
431
|
-
at: string | null;
|
|
432
|
-
html: string;
|
|
433
|
-
planning: boolean;
|
|
434
|
-
updating?: boolean;
|
|
435
|
-
key: string;
|
|
436
|
-
} | null;
|
|
437
|
-
/** What the agent did last on the live run, and when; the page words it against its own clock (activity-line.ts). */
|
|
438
|
-
activity?: RunActivity | null;
|
|
439
|
-
/** The task's live room (GET /live?room=task:<root>): change nudges and who else has it open. */
|
|
440
|
-
live?: {
|
|
441
|
-
room: string;
|
|
442
|
-
at: string | null;
|
|
443
|
-
} | null;
|
|
444
|
-
/** The work panel's run (docs/plans/task-page-steps.md "Watch the work"): the live build, else the latest one, who ran it,
|
|
445
|
-
* and its records window on the run page (null on a page that asks for a password). Null: no build yet. */
|
|
446
|
-
work?: {
|
|
447
|
-
run: number;
|
|
448
|
-
live: boolean;
|
|
449
|
-
agent: string;
|
|
450
|
-
transcript: string | null;
|
|
451
|
-
} | null;
|
|
452
|
-
/** Stop, on the Building card: the exact live build's stop form (posts its run id). */
|
|
453
|
-
stop?: {
|
|
454
|
-
action: string;
|
|
455
|
-
run: number;
|
|
456
|
-
} | null;
|
|
457
|
-
/** The running attempt's composer (steer-controls.ts): what it takes, said plainly, and its note box when it takes
|
|
458
|
-
* notes. Pause and Stop stay as `pause` and `stop`. */
|
|
459
|
-
steering?: {
|
|
460
|
-
controls: BrowserAgentControls;
|
|
461
|
-
steer: {
|
|
462
|
-
action: string;
|
|
463
|
-
run: number;
|
|
464
|
-
} | null;
|
|
465
|
-
} | null;
|
|
466
|
-
/** This task's latest attempts, newest first: a draft this tab wrote for one that has since ended shows with a way
|
|
467
|
-
* to send it to the next attempt. */
|
|
468
|
-
steerRecent?: number[];
|
|
469
|
-
/** Pause and Pause and steer, beside Stop: the same exact live Claude build, one request id per form (Pause, the note,
|
|
470
|
-
* Resume), where its latest pause stands (null: running), and until when a paused build can wait before it ends. */
|
|
471
|
-
pause?: {
|
|
472
|
-
action: string;
|
|
473
|
-
run: number;
|
|
474
|
-
state: "pausing" | "paused" | null;
|
|
475
|
-
requests: [string, string, string];
|
|
476
|
-
until?: string | null;
|
|
477
|
-
limitMs?: number | null;
|
|
478
|
-
} | null;
|
|
479
|
-
/** The Building card's link to the live build's own record ("Build #N record", /r/<id>). */
|
|
480
|
-
record?: BrowserLink | null;
|
|
481
|
-
earlier?: {
|
|
482
|
-
summary: string;
|
|
483
|
-
attempts: {
|
|
484
|
-
label: string;
|
|
485
|
-
href: string;
|
|
486
|
-
text: string | null;
|
|
487
|
-
}[];
|
|
488
|
-
} | null;
|
|
489
|
-
/** Server cards that may need a person now (stop/resume, scope prompt, plan, live attempt). */
|
|
490
|
-
/** `instance`: what the block is about now (the attempt card: its build). The page installs a block's HTML once;
|
|
491
|
-
* another instance replaces it. */
|
|
492
|
-
lead: {
|
|
493
|
-
key: string;
|
|
494
|
-
html: string;
|
|
495
|
-
instance?: string;
|
|
496
|
-
}[];
|
|
497
|
-
questions: string;
|
|
498
|
-
facts: BrowserTaskFact[];
|
|
499
|
-
sections: BrowserTaskSection[];
|
|
500
|
-
manage: BrowserTaskSection[];
|
|
501
|
-
/** The armed cancel form; null once the task cannot be cancelled. */
|
|
502
|
-
cancel: {
|
|
503
|
-
html: string;
|
|
504
|
-
open: boolean;
|
|
505
|
-
} | null;
|
|
506
|
-
/** "Do this every time…": Settings → Flows with the matching starter flow marked. */
|
|
507
|
-
everyTime?: {
|
|
508
|
-
href: string;
|
|
509
|
-
starter: string;
|
|
510
|
-
} | null;
|
|
511
|
-
/** The task's road, Plan → Approval → Build → Checks → Ready (four for a report), from recorded facts. */
|
|
512
|
-
journey?: JourneyStep[] | null;
|
|
513
|
-
/** The page's step rows (workspace-ui.ts stepRowsOf over this view, after every change the server made to it): the
|
|
514
|
-
* steps are the page. Null: no road (cancelled, or no status), so the page keeps its status block. */
|
|
515
|
-
steps?: StepRow[] | null;
|
|
516
|
-
/** The thread's server-side entries; the conversation's messages join them in time order. */
|
|
517
|
-
thread?: BrowserTaskThreadItem[];
|
|
518
|
-
details?: BrowserTaskDetailGroup[];
|
|
519
|
-
/** Where to message the agent when this page carries no conversation (null: messaging isn't available here). */
|
|
520
|
-
chatHref?: string | null;
|
|
521
|
-
/** One page per task (docs/plans/one-page-task-and-agent.md): the tab the address names (Activity when none). */
|
|
522
|
-
tab?: BrowserTaskTab;
|
|
523
|
-
/** The Result tab: the selected attempt's result exactly as its result page shows it, whether it is the task's
|
|
524
|
-
* current one (the header then owns its status and ceremonies), and every result attempt to pick from. Null: none yet. */
|
|
525
|
-
result?: {
|
|
526
|
-
selected: NonNullable<BrowserResultView["selected"]>;
|
|
527
|
-
current: boolean;
|
|
528
|
-
attempts: {
|
|
529
|
-
label: string;
|
|
530
|
-
href: string;
|
|
531
|
-
current: boolean;
|
|
532
|
-
}[];
|
|
533
|
-
/** What the result shows, as one stamp (every check, note and control in it; never a form's fresh request token): the
|
|
534
|
-
* page holds the result it loaded and says when a newer one is ready, so its evidence and decision always agree. */
|
|
535
|
-
revision: string;
|
|
536
|
-
} | null;
|
|
537
|
-
/** Where the approval sits: under the header when it is the thing to do now, else at the top of the Plan tab. */
|
|
538
|
-
approvalPlacement?: "lead" | "plan";
|
|
539
|
-
/** The kit approval box (src/design/KIT.md): the act's form and the facts that decide password, one click or none;
|
|
540
|
-
* `planHtml` is what it signs, for the Plan tab. Null when nothing waits on this person's approval here. */
|
|
541
|
-
approve?: {
|
|
542
|
-
action: string;
|
|
543
|
-
fields: Record<string, string>;
|
|
544
|
-
label: string;
|
|
545
|
-
heading: string;
|
|
546
|
-
text: string;
|
|
547
|
-
kind: import("./design/kit.js").ApprovalKind;
|
|
548
|
-
facts: {
|
|
549
|
-
passwordless: boolean;
|
|
550
|
-
remembered: boolean;
|
|
551
|
-
automatic?: boolean;
|
|
552
|
-
};
|
|
553
|
-
/** When a remembered password stops counting (ISO); the page words it in the viewer's zone. */
|
|
554
|
-
rememberedUntil: string | null;
|
|
555
|
-
planHtml: string;
|
|
556
|
-
/** The plan sheet alone (no editor, no form): what Home shows beside its Approve (live-pages-and-home.md B2.1). */
|
|
557
|
-
sheetHtml?: string;
|
|
558
|
-
/** The terms line in words, when the rule isn't one of the kit's (easy-start C5: a laptop's own owner). */
|
|
559
|
-
termsWords?: string;
|
|
560
|
-
} | null;
|
|
561
|
-
/** Ship: the pull request's checks, each on one time axis (task ship's twin). Null: no checks read yet. */
|
|
562
|
-
ship?: {
|
|
563
|
-
pr: number;
|
|
564
|
-
head: string;
|
|
565
|
-
state: "running" | "passed" | "failed" | "none";
|
|
566
|
-
rows: import("./design/kit.js").TimingRow[];
|
|
567
|
-
summary: string;
|
|
568
|
-
observedAt: string;
|
|
569
|
-
} | null;
|
|
570
|
-
/** "Can I merge?" (merge-checklist.ts; `toolroll task ready` is its twin): each row and its blocker's form. Null: no result yet. */
|
|
571
|
-
mergeReady?: MergeReadyView | null;
|
|
572
|
-
/** A release's own steps (release status's twin). Null: this task is no release, or nothing recorded. */
|
|
573
|
-
release?: {
|
|
574
|
-
tag: string;
|
|
575
|
-
version: string;
|
|
576
|
-
pr: number | null;
|
|
577
|
-
state: "running" | "waiting" | "failed" | "done";
|
|
578
|
-
rows: import("./design/kit.js").TimingRow[];
|
|
579
|
-
headline: string;
|
|
580
|
-
stopped: {
|
|
581
|
-
step: string;
|
|
582
|
-
message: string;
|
|
583
|
-
at: string;
|
|
584
|
-
} | null;
|
|
585
|
-
startedAt: string;
|
|
586
|
-
/** The step it is on now, and where that is in its steps. */
|
|
587
|
-
at?: {
|
|
588
|
-
step: string;
|
|
589
|
-
name: string;
|
|
590
|
-
index: number;
|
|
591
|
-
of: number;
|
|
592
|
-
} | null;
|
|
593
|
-
} | null;
|
|
594
|
-
/** How the plan was approved: by whom and how, or the rule that approved it automatically. */
|
|
595
|
-
approved?: {
|
|
596
|
-
by: string;
|
|
597
|
-
at: string;
|
|
598
|
-
automatic: boolean;
|
|
599
|
-
rule: string | null;
|
|
600
|
-
how: string;
|
|
601
|
-
version: string;
|
|
602
|
-
} | null;
|
|
603
|
-
/** ⋯ More actions: the task's secondary acts, the same order on the task and agent pages, destructive last. */
|
|
604
|
-
more?: BrowserTaskMore[];
|
|
605
|
-
/** The task's full audit record (its link in the header); it moved out of More (docs/plans/plain-toolroll.md P1.3). */
|
|
606
|
-
audit?: {
|
|
607
|
-
label: string;
|
|
608
|
-
href: string;
|
|
609
|
-
} | null;
|
|
610
|
-
};
|
|
611
|
-
export type BrowserTaskTab = "activity" | "result" | "plan" | "attempts";
|
|
612
|
-
/** One ⋯ item: a plain link, a copy of this page's address, a one-click POST (never a ceremony), or a go-to that switches
|
|
613
|
-
* to the tab holding the item's own form, opens it and focuses it (`target`: that element's id). */
|
|
614
|
-
export type BrowserTaskMore = {
|
|
615
|
-
group: "work" | "share" | "danger";
|
|
616
|
-
label: string;
|
|
617
|
-
} & ({
|
|
618
|
-
kind: "link";
|
|
619
|
-
href: string;
|
|
620
|
-
} | {
|
|
621
|
-
kind: "copy";
|
|
622
|
-
} | {
|
|
623
|
-
kind: "post";
|
|
624
|
-
action: string;
|
|
625
|
-
fields: Record<string, string>;
|
|
626
|
-
} | {
|
|
627
|
-
kind: "goto";
|
|
628
|
-
tab: BrowserTaskTab;
|
|
629
|
-
target: string;
|
|
630
|
-
});
|
|
631
|
-
/** One project on the Projects page; opening it is a POST to /projects/open. */
|
|
632
|
-
export type BrowserProjectRow = {
|
|
633
|
-
name: string;
|
|
634
|
-
path: string;
|
|
635
|
-
shortPath: string;
|
|
636
|
-
/** The project's own page (/projects/<name>). */
|
|
637
|
-
href: string;
|
|
638
|
-
/** The session's open project. */
|
|
639
|
-
open: boolean;
|
|
640
|
-
/** When it was last opened here; null for a project only seen in the queue. */
|
|
641
|
-
openedAt: string | null;
|
|
642
|
-
/** The row's chip: something waits on this person, or runs; null for neither. */
|
|
643
|
-
status: 'needs' | 'running' | null;
|
|
644
|
-
/** Its counts in words ("2 need you · 1 running"); null when not scanned. */
|
|
645
|
-
summary: string | null;
|
|
646
|
-
};
|
|
647
|
-
export type BrowserProjectsView = {
|
|
648
|
-
kind: 'projects';
|
|
649
|
-
/** Arrived from New task: choosing where the task belongs. */
|
|
650
|
-
choosing: boolean;
|
|
651
|
-
/** A refusal that belongs to the page, not to one form (already says what didn't change). */
|
|
652
|
-
problem: string | null;
|
|
653
|
-
/** A neutral line (a finished clone). */
|
|
654
|
-
said: string | null;
|
|
655
|
-
returnTo: string;
|
|
656
|
-
recent: BrowserProjectRow[];
|
|
657
|
-
available: BrowserProjectRow[];
|
|
658
|
-
/** The add ways (the server's forms), the clone review a preview minted, and whether the drawer opens at once
|
|
659
|
-
* (a refused GitHub link, shown next to its field). */
|
|
660
|
-
add: {
|
|
661
|
-
html: string;
|
|
662
|
-
review: string | null;
|
|
663
|
-
openOnLoad: boolean;
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
export type BrowserResultTab = 'summary' | 'changes' | 'checks';
|
|
667
|
-
/** The shared result panel in parts. Each tab's content, the feedback
|
|
668
|
-
* section and the learning card are the server's own HTML; the page script
|
|
669
|
-
* binds to the same data attributes and ids (tabs, drafts, line notes). */
|
|
670
|
-
export type BrowserResultPanel = {
|
|
671
|
-
attributes: Record<string, string>;
|
|
672
|
-
heading: string;
|
|
673
|
-
outcome: string;
|
|
674
|
-
/** The shared task status (task-status.ts): headline, sentence and detail rows. */
|
|
675
|
-
status: TaskStatus | null;
|
|
676
|
-
reviewHistory: string | null;
|
|
677
|
-
attention: string[];
|
|
678
|
-
/** Requirements only a person can confirm, in plain words, and the one
|
|
679
|
-
* Accept that records the decision (null when it is not offered here). */
|
|
680
|
-
youCheck: {
|
|
681
|
-
lines: string[];
|
|
682
|
-
items: BrowserCheckItem[];
|
|
683
|
-
accept: {
|
|
684
|
-
action: string;
|
|
685
|
-
run: number;
|
|
686
|
-
returnTo: string;
|
|
687
|
-
} | null;
|
|
688
|
-
} | null;
|
|
689
|
-
/** The Requirements row's counts, so it updates as the person answers their checks (null when it doesn't count them). */
|
|
690
|
-
requirements?: {
|
|
691
|
-
met: number;
|
|
692
|
-
total: number;
|
|
693
|
-
yours: number;
|
|
694
|
-
} | null;
|
|
695
|
-
/** Storage limits on saved output (shortened logs or diffs): shown on request. */
|
|
696
|
-
limits: string[];
|
|
697
|
-
tabs: {
|
|
698
|
-
key: BrowserResultTab;
|
|
699
|
-
label: string;
|
|
700
|
-
count: string;
|
|
701
|
-
href: string;
|
|
702
|
-
active: boolean;
|
|
703
|
-
}[];
|
|
704
|
-
views: {
|
|
705
|
-
key: BrowserResultTab;
|
|
706
|
-
html: string;
|
|
707
|
-
}[];
|
|
708
|
-
history: string;
|
|
709
|
-
learning: string;
|
|
710
|
-
request: string | null;
|
|
711
|
-
/** A browser session may attach feedback to this result's sealed diff. */
|
|
712
|
-
canRequest: boolean;
|
|
713
|
-
/** Needs you: the one action that resolves it, first and filled; `confirm` posts behind the password. */
|
|
714
|
-
need: BrowserNeedAction | null;
|
|
715
|
-
/** The feedback section holds only the closed form (no notes, revisions or history). */
|
|
716
|
-
requestQuiet: boolean;
|
|
717
|
-
};
|
|
718
|
-
/** One "You check this one" item and the evidence to judge it by: the
|
|
719
|
-
* changed lines it cites (or, citing none, the change's own first lines),
|
|
720
|
-
* its screenshots, and the agent's note. Wrapped text, never sideways. */
|
|
721
|
-
export type BrowserCheckItem = {
|
|
722
|
-
id: string;
|
|
723
|
-
statement: string;
|
|
724
|
-
words: string;
|
|
725
|
-
note: string | null;
|
|
726
|
-
excerpts: {
|
|
727
|
-
path: string;
|
|
728
|
-
cited: boolean;
|
|
729
|
-
lines: {
|
|
730
|
-
kind: "addition" | "deletion" | "context";
|
|
731
|
-
line: number | null;
|
|
732
|
-
text: string;
|
|
733
|
-
}[];
|
|
734
|
-
more: number;
|
|
735
|
-
}[];
|
|
736
|
-
shots: {
|
|
737
|
-
src: string;
|
|
738
|
-
href: string;
|
|
739
|
-
caption: string;
|
|
740
|
-
image?: import("./result-review.js").FeedbackImage;
|
|
741
|
-
}[];
|
|
742
|
-
};
|
|
743
|
-
/** The result's one decision: what Accept is called, why it isn't plain
|
|
744
|
-
* Accept and finish, and what pressing it does. `base`: the same words before
|
|
745
|
-
* the person's own checks, which the page adds as they answer them. */
|
|
746
|
-
export type BrowserResultDecision = {
|
|
747
|
-
label: AcceptLabel;
|
|
748
|
-
ready: boolean;
|
|
749
|
-
why: string | null;
|
|
750
|
-
effect: string;
|
|
751
|
-
sentence: string;
|
|
752
|
-
base?: {
|
|
753
|
-
label: AcceptLabel;
|
|
754
|
-
ready: boolean;
|
|
755
|
-
why: string | null;
|
|
756
|
-
};
|
|
757
|
-
};
|
|
758
|
-
/** A Needs you action: a link, (Check again, Build again) one
|
|
759
|
-
* button, or (on the result itself) Accept, which records the person's acceptance; `note` asks why
|
|
760
|
-
* when the evidence disagrees. */
|
|
761
|
-
export type BrowserNeedAction = {
|
|
762
|
-
label: string;
|
|
763
|
-
href: string | null;
|
|
764
|
-
confirm: {
|
|
765
|
-
action: string;
|
|
766
|
-
run: number;
|
|
767
|
-
returnTo: string;
|
|
768
|
-
} | null;
|
|
769
|
-
accept?: {
|
|
770
|
-
action: string;
|
|
771
|
-
run: number;
|
|
772
|
-
returnTo: string;
|
|
773
|
-
note: string | null;
|
|
774
|
-
} | null;
|
|
775
|
-
/** Build again (a result built to an earlier plan): one button, the task page's requeue. */
|
|
776
|
-
rebuild?: {
|
|
777
|
-
action: string;
|
|
778
|
-
} | null;
|
|
779
|
-
};
|
|
780
|
-
export type BrowserResultView = {
|
|
781
|
-
kind: 'result';
|
|
782
|
-
results: {
|
|
783
|
-
title: string;
|
|
784
|
-
href: string;
|
|
785
|
-
at: string;
|
|
786
|
-
status: {
|
|
787
|
-
label: string;
|
|
788
|
-
tone: StatusTone;
|
|
789
|
-
} | null;
|
|
790
|
-
notes: string[];
|
|
791
|
-
current: boolean;
|
|
792
|
-
needsYou: boolean;
|
|
793
|
-
}[];
|
|
794
|
-
/** How many results need a person; the list's cap when it is full. */
|
|
795
|
-
attention: number;
|
|
796
|
-
capped: number | null;
|
|
797
|
-
missing: string | null;
|
|
798
|
-
beyond: boolean;
|
|
799
|
-
selected: {
|
|
800
|
-
taskId: string;
|
|
801
|
-
title: string;
|
|
802
|
-
project: string | null;
|
|
803
|
-
build: number | null;
|
|
804
|
-
taskHref: string;
|
|
805
|
-
chatHref: string;
|
|
806
|
-
status: {
|
|
807
|
-
label: string;
|
|
808
|
-
tone: StatusTone;
|
|
809
|
-
token: string;
|
|
810
|
-
};
|
|
811
|
-
problem: string | null;
|
|
812
|
-
next: {
|
|
813
|
-
kind: string;
|
|
814
|
-
title: string;
|
|
815
|
-
detail: string;
|
|
816
|
-
control: string;
|
|
817
|
-
} | null;
|
|
818
|
-
/** Accept and finish: the exact receipt read; `accept` when the one request also records the person's acceptance
|
|
819
|
-
* (`note`: the words over the reason field it asks for, or null for none). */
|
|
820
|
-
complete: {
|
|
821
|
-
action: string;
|
|
822
|
-
receipt: string;
|
|
823
|
-
run: number;
|
|
824
|
-
accept?: {
|
|
825
|
-
note: string | null;
|
|
826
|
-
} | null;
|
|
827
|
-
returnTo?: string;
|
|
828
|
-
} | null;
|
|
829
|
-
/** How its run went (docs/plans/run-efficiency.md): recorded numbers only, unknowns null. */
|
|
830
|
-
efficiency?: import("./run-efficiency.js").RunEfficiency | null;
|
|
831
|
-
/** What its network was and what its proxy saw (egress.ts): display only. */
|
|
832
|
-
network?: import("./egress.js").RunNetworkRecord | null;
|
|
833
|
-
/** Where the time went: its release check's parts and the task's deploys (latency-timeline.ts), display only. */
|
|
834
|
-
timing?: import("./latency-timeline.js").TimingView | null;
|
|
835
|
-
/** Words for the result's Accept: Accept and finish when offered, else the Needs you acceptance. */
|
|
836
|
-
decision: BrowserResultDecision | null;
|
|
837
|
-
checks: {
|
|
838
|
-
detail: string;
|
|
839
|
-
problem: boolean;
|
|
840
|
-
logHref: string | null;
|
|
841
|
-
} | null;
|
|
842
|
-
/** A refuted result's recorded disagreements: the headline when the report doesn't match the changes (null when a
|
|
843
|
-
* failed check is the blocker, so the status keeps its own), each disagreement in plain words with the changed lines
|
|
844
|
-
* it concerns (`absent`: a file the changes don't have), and the recorded words they already say, so no caveat
|
|
845
|
-
* repeats them. Null otherwise. */
|
|
846
|
-
mismatch: {
|
|
847
|
-
headline: string | null;
|
|
848
|
-
rows: {
|
|
849
|
-
text: string;
|
|
850
|
-
path: string | null;
|
|
851
|
-
lines: string | null;
|
|
852
|
-
href: string | null;
|
|
853
|
-
absent: boolean;
|
|
854
|
-
noteLabel: string | null;
|
|
855
|
-
}[];
|
|
856
|
-
said: string[];
|
|
857
|
-
} | null;
|
|
858
|
-
/** The one ink act that resolves the result, the one outline act beside it, and why it can't be accepted yet (result-acts.ts). */
|
|
859
|
-
acts: ResultActs;
|
|
860
|
-
/** The facts the acts were chosen from, so the page chooses again as the person answers their checks. */
|
|
861
|
-
actFacts?: ResultActFacts;
|
|
862
|
-
/** Run checks on this result's commit: the project's check, when it didn't run. */
|
|
863
|
-
runChecks: BrowserRunChecks | null;
|
|
864
|
-
/** A failed build's result: what it missed and the suggestion Retry's note starts with; Retry itself when the task
|
|
865
|
-
* can be retried from here. Null for every other result. */
|
|
866
|
-
failure?: (BrowserFailure & {
|
|
867
|
-
retry: {
|
|
868
|
-
action: string;
|
|
869
|
-
note: string;
|
|
870
|
-
} | null;
|
|
871
|
-
/** A failed task's delivered result, accepted only in outline with a reason (the task's accept-proof). */
|
|
872
|
-
acceptAnyway?: {
|
|
873
|
-
action: string;
|
|
874
|
-
run: number;
|
|
875
|
-
returnTo: string;
|
|
876
|
-
} | null;
|
|
877
|
-
}) | null;
|
|
878
|
-
/** The raw run record, under Details: its facts and the full record. */
|
|
879
|
-
record: {
|
|
880
|
-
build: number;
|
|
881
|
-
href: string;
|
|
882
|
-
facts: {
|
|
883
|
-
label: string;
|
|
884
|
-
value: string;
|
|
885
|
-
}[];
|
|
886
|
-
} | null;
|
|
887
|
-
/** The signed scope; null when none was filed. */
|
|
888
|
-
intent: {
|
|
889
|
-
approval: string;
|
|
890
|
-
approvedAt: string | null;
|
|
891
|
-
html: string;
|
|
892
|
-
} | null;
|
|
893
|
-
noRun: string | null;
|
|
894
|
-
panel: BrowserResultPanel | null;
|
|
895
|
-
notes: {
|
|
896
|
-
author: string;
|
|
897
|
-
at: string;
|
|
898
|
-
note: string;
|
|
899
|
-
}[];
|
|
900
|
-
} | null;
|
|
901
|
-
};
|
|
902
|
-
export type BrowserFailure = {
|
|
903
|
-
line: string;
|
|
904
|
-
evidence: string | null;
|
|
905
|
-
suggestion: string;
|
|
906
|
-
link: {
|
|
907
|
-
label: string;
|
|
908
|
-
href: string;
|
|
909
|
-
} | null;
|
|
910
|
-
};
|
|
911
|
-
export type BrowserRunChecks = {
|
|
912
|
-
action: string;
|
|
913
|
-
level: "quick" | "full";
|
|
914
|
-
returnTo: string;
|
|
915
|
-
};
|
|
916
|
-
/** One zone on a flow's canvas: its step, where it leads, and where it sits. */
|
|
917
|
-
export type BrowserFlowStage = {
|
|
918
|
-
id: string;
|
|
919
|
-
title: string;
|
|
920
|
-
kind: "inbox" | "task" | "report" | "approval" | "check" | "pull-request" | "update" | "notify" | "sort" | "draft" | "request" | "email" | "tool" | "wait" | "subagent" | "send" | "choose" | "done";
|
|
921
|
-
zone: {
|
|
922
|
-
x: number;
|
|
923
|
-
y: number;
|
|
924
|
-
w: number;
|
|
925
|
-
h: number;
|
|
926
|
-
color: string;
|
|
927
|
-
};
|
|
928
|
-
instructions: string | null;
|
|
929
|
-
planning: "auto" | "required" | "skip" | null;
|
|
930
|
-
approver: string | null;
|
|
931
|
-
message: string | null;
|
|
932
|
-
/** An approval zone the flow's owner decides. */
|
|
933
|
-
toOwner?: boolean;
|
|
934
|
-
/** v87: a web request, an email, a project tool call. */
|
|
935
|
-
request?: {
|
|
936
|
-
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
937
|
-
url: string;
|
|
938
|
-
headers: Record<string, string>;
|
|
939
|
-
body: string | null;
|
|
940
|
-
};
|
|
941
|
-
email?: {
|
|
942
|
-
to: string;
|
|
943
|
-
subject: string;
|
|
944
|
-
body: string;
|
|
945
|
-
};
|
|
946
|
-
tool?: {
|
|
947
|
-
server: string;
|
|
948
|
-
name: string;
|
|
949
|
-
args: string;
|
|
950
|
-
};
|
|
951
|
-
close: boolean | null;
|
|
952
|
-
script: string | null;
|
|
953
|
-
/** v90: a script zone runs in an empty folder or a copy of the card's work; the answers its "goto:" line picks; the saved secrets it gets. */
|
|
954
|
-
runIn?: "folder" | "copy";
|
|
955
|
-
routes?: {
|
|
956
|
-
answer: string;
|
|
957
|
-
to: string;
|
|
958
|
-
}[];
|
|
959
|
-
secrets?: string[];
|
|
960
|
-
/** A sort zone: Jev's question, its answers and where each goes, how sure it must be to act alone, and what else it notes. */
|
|
961
|
-
sort: {
|
|
962
|
-
question: string;
|
|
963
|
-
answers: {
|
|
964
|
-
answer: string;
|
|
965
|
-
means: string;
|
|
966
|
-
to: string;
|
|
967
|
-
}[];
|
|
968
|
-
sureAt: number;
|
|
969
|
-
notes: {
|
|
970
|
-
id: string;
|
|
971
|
-
kind: "score" | "yes-no";
|
|
972
|
-
question: string;
|
|
973
|
-
levels: string[] | null;
|
|
974
|
-
}[];
|
|
975
|
-
} | null;
|
|
976
|
-
/** v91: a Wait zone waits for a reply to the card's email (onFail: no reply in time) or a set time; any other zone may have a time limit. */
|
|
977
|
-
wait?: {
|
|
978
|
-
for: "reply" | "time" | "hours";
|
|
979
|
-
minutes: number;
|
|
980
|
-
from?: string | undefined;
|
|
981
|
-
to?: string | undefined;
|
|
982
|
-
timeZone?: string | undefined;
|
|
983
|
-
};
|
|
984
|
-
/** A Pull request zone merges once checks pass (after a person approved), this way. */
|
|
985
|
-
merge?: "squash" | "merge" | "rebase" | undefined;
|
|
986
|
-
limit?: {
|
|
987
|
-
minutes: number;
|
|
988
|
-
to: string | null;
|
|
989
|
-
} | undefined;
|
|
990
|
-
/** v92: the subagent who decides (an approval zone) or handles (a subagent zone) it. */
|
|
991
|
-
subagent?: string | undefined;
|
|
992
|
-
/** v96: a subagent zone sends what the subagent writes back to whoever asked. */
|
|
993
|
-
reply?: boolean | undefined;
|
|
994
|
-
/** A "Person chooses" zone's buttons: each one's words and the zone it leads to ("end" ignores the card). */
|
|
995
|
-
options?: {
|
|
996
|
-
label: string;
|
|
997
|
-
to: string;
|
|
998
|
-
}[] | undefined;
|
|
999
|
-
/** A Build zone in another project: its path. */
|
|
1000
|
-
repo?: string | undefined;
|
|
1001
|
-
/** v144: a script zone that starts a browser (Playwright's Chromium); it runs only once a person allows browser use for the flow. */
|
|
1002
|
-
browser?: true | undefined;
|
|
1003
|
-
next: string | null;
|
|
1004
|
-
onFail: string | null;
|
|
1005
|
-
};
|
|
1006
|
-
/** One card: a piece of work, where it is, what it waits on, what zones said. */
|
|
1007
|
-
/** After research, one of the report's items as the message numbered it, with its screenshot when it has one. */
|
|
1008
|
-
export type BrowserFlowSentItem = {
|
|
1009
|
-
number: number;
|
|
1010
|
-
title: string;
|
|
1011
|
-
lines: string[];
|
|
1012
|
-
source: string;
|
|
1013
|
-
url: string;
|
|
1014
|
-
image: {
|
|
1015
|
-
src: string;
|
|
1016
|
-
caption: string;
|
|
1017
|
-
} | null;
|
|
1018
|
-
};
|
|
1019
|
-
export type BrowserFlowCard = {
|
|
1020
|
-
id: number;
|
|
1021
|
-
title: string;
|
|
1022
|
-
description: string | null;
|
|
1023
|
-
stage: string;
|
|
1024
|
-
state: "active" | "done" | "cancelled";
|
|
1025
|
-
waiting: string | null;
|
|
1026
|
-
/** It waits because browser use isn't allowed for the flow (flow-browser.ts): the card offers Allow browser. */
|
|
1027
|
-
browserWait?: true;
|
|
1028
|
-
task: {
|
|
1029
|
-
id: string;
|
|
1030
|
-
href: string;
|
|
1031
|
-
/** Its running attempt's composer (steer-controls.ts), for an approver: what it takes, its controls, its note box. */
|
|
1032
|
-
composer?: {
|
|
1033
|
-
controls: BrowserAgentControls;
|
|
1034
|
-
steer: {
|
|
1035
|
-
action: string;
|
|
1036
|
-
run: number;
|
|
1037
|
-
} | null;
|
|
1038
|
-
};
|
|
1039
|
-
} | null;
|
|
1040
|
-
createdBy: string;
|
|
1041
|
-
updatedAt: string;
|
|
1042
|
-
canDecide: boolean;
|
|
1043
|
-
outputs: {
|
|
1044
|
-
stage: string;
|
|
1045
|
-
title: string;
|
|
1046
|
-
text: string;
|
|
1047
|
-
}[];
|
|
1048
|
-
history: {
|
|
1049
|
-
text: string;
|
|
1050
|
-
at: string;
|
|
1051
|
-
}[];
|
|
1052
|
-
/** Where a trigger found it: a GitHub or Linear issue, another flow's card, a button, a schedule. */
|
|
1053
|
-
/** `proved` and `host` (v126): how an outside event's delivery was proved ("signed by Sentry", "unsigned") and its
|
|
1054
|
-
* link's host, always shown beside the link. */
|
|
1055
|
-
source: {
|
|
1056
|
-
kind: string;
|
|
1057
|
-
label: string;
|
|
1058
|
-
url: string | null;
|
|
1059
|
-
proved?: string;
|
|
1060
|
-
host?: string | null;
|
|
1061
|
-
shown?: string | null;
|
|
1062
|
-
} | null;
|
|
1063
|
-
/** Who is responsible for it, who follows it, and whether the viewer does. */
|
|
1064
|
-
owner: string | null;
|
|
1065
|
-
watchers: string[];
|
|
1066
|
-
watching: boolean;
|
|
1067
|
-
/** Owned by the viewer, followed by them, or waiting on their decision. */
|
|
1068
|
-
mine: boolean;
|
|
1069
|
-
/** What people said on it, oldest first; ownership changes read as history instead. */
|
|
1070
|
-
comments: {
|
|
1071
|
-
id: number;
|
|
1072
|
-
author: string;
|
|
1073
|
-
body: string;
|
|
1074
|
-
mentions: string[];
|
|
1075
|
-
at: string;
|
|
1076
|
-
}[];
|
|
1077
|
-
/** The latest sort: its short chip ("Bug · 94% · Now") and whether Jev was sure enough to act alone. */
|
|
1078
|
-
sorted: {
|
|
1079
|
-
chip: string;
|
|
1080
|
-
confident: boolean;
|
|
1081
|
-
} | null;
|
|
1082
|
-
/** Waiting at a decision after a draft: the draft, which the person can edit before approving. */
|
|
1083
|
-
draft: {
|
|
1084
|
-
zone: string;
|
|
1085
|
-
title: string;
|
|
1086
|
-
text: string;
|
|
1087
|
-
} | null;
|
|
1088
|
-
/** v91: when its Wait zone gives up or moves on, or its zone's time limit comes (shown in the viewer's own time). */
|
|
1089
|
-
deadline?: {
|
|
1090
|
-
at: string;
|
|
1091
|
-
label: string;
|
|
1092
|
-
} | null;
|
|
1093
|
-
/** v92: a subagent's open question about this visit, and whether the viewer is the one asked. */
|
|
1094
|
-
question?: {
|
|
1095
|
-
id: number;
|
|
1096
|
-
from: string;
|
|
1097
|
-
question: string;
|
|
1098
|
-
options: {
|
|
1099
|
-
id: string;
|
|
1100
|
-
label: string;
|
|
1101
|
-
}[];
|
|
1102
|
-
askedOf: string;
|
|
1103
|
-
mine: boolean;
|
|
1104
|
-
/** v94: a tool call waiting for approval — why the subagent wants it, and why it needs approval. */
|
|
1105
|
-
call?: {
|
|
1106
|
-
why: string;
|
|
1107
|
-
rule: string;
|
|
1108
|
-
} | null;
|
|
1109
|
-
} | null;
|
|
1110
|
-
/** v92: what the subagent said when it handed this decision to a person. */
|
|
1111
|
-
handoff?: {
|
|
1112
|
-
from: string;
|
|
1113
|
-
note: string;
|
|
1114
|
-
} | null;
|
|
1115
|
-
/** Waiting at a "Person chooses" zone: what was sent, its options and whether the viewer is the one who chooses. */
|
|
1116
|
-
choose?: {
|
|
1117
|
-
entry: number;
|
|
1118
|
-
title: string;
|
|
1119
|
-
summary: string;
|
|
1120
|
-
links: {
|
|
1121
|
-
label: string;
|
|
1122
|
-
href: string;
|
|
1123
|
-
}[];
|
|
1124
|
-
items?: BrowserFlowSentItem[];
|
|
1125
|
-
person: string;
|
|
1126
|
-
mine: boolean;
|
|
1127
|
-
options: {
|
|
1128
|
-
choice: number;
|
|
1129
|
-
label: string;
|
|
1130
|
-
}[];
|
|
1131
|
-
reply: boolean;
|
|
1132
|
-
} | null;
|
|
1133
|
-
/** What a "Send to me" (or an earlier choice) last sent the card's person. */
|
|
1134
|
-
sent?: {
|
|
1135
|
-
title: string;
|
|
1136
|
-
summary: string;
|
|
1137
|
-
links: {
|
|
1138
|
-
label: string;
|
|
1139
|
-
href: string;
|
|
1140
|
-
}[];
|
|
1141
|
-
items?: BrowserFlowSentItem[];
|
|
1142
|
-
person: string;
|
|
1143
|
-
at: string;
|
|
1144
|
-
cardHtml?: string;
|
|
1145
|
-
} | null;
|
|
1146
|
-
/** A finished card's steps as a Toolroll card (flow-result-card.ts), when no "Send to me" already showed them. */
|
|
1147
|
-
resultHtml?: string;
|
|
1148
|
-
/** v94: every tool call subagents made or asked to make on this card, oldest first: the receipts. */
|
|
1149
|
-
calls?: {
|
|
1150
|
-
id: number;
|
|
1151
|
-
who: string;
|
|
1152
|
-
words: string;
|
|
1153
|
-
state: string;
|
|
1154
|
-
outcome: string;
|
|
1155
|
-
why: string;
|
|
1156
|
-
result: string | null;
|
|
1157
|
-
at: string;
|
|
1158
|
-
/** v97: the subagent's id and the action that undoes this call, when a person can press Undo. */
|
|
1159
|
-
subagent?: number;
|
|
1160
|
-
undo?: string | null;
|
|
1161
|
-
}[];
|
|
1162
|
-
};
|
|
1163
|
-
/** What starts cards in a flow on its own. */
|
|
1164
|
-
export type BrowserFlowTrigger = {
|
|
1165
|
-
id: number;
|
|
1166
|
-
kind: string;
|
|
1167
|
-
words: string;
|
|
1168
|
-
name: string;
|
|
1169
|
-
detail: string;
|
|
1170
|
-
zone: string;
|
|
1171
|
-
zoneId: string;
|
|
1172
|
-
state: "active" | "paused" | "removed";
|
|
1173
|
-
status: string | null;
|
|
1174
|
-
statusAt: string | null;
|
|
1175
|
-
failing: boolean;
|
|
1176
|
-
/** Where the status points a person (a plane review's long waits: Needs you). */
|
|
1177
|
-
statusLink: BrowserLink | null;
|
|
1178
|
-
button: {
|
|
1179
|
-
label: string;
|
|
1180
|
-
questions: string[];
|
|
1181
|
-
} | null;
|
|
1182
|
-
/** A webhook trigger: whether it can prove deliveries yet (Linear, Sentry and Vercel need their signing secret pasted).
|
|
1183
|
-
* v126: a webhook's sender (who signs it; "none" is the address alone), whether Toolroll makes its secret, and a
|
|
1184
|
-
* warning in words when anyone could add cards (unsigned) or any project could (a Sentry or Vercel webhook unscoped). */
|
|
1185
|
-
hook: {
|
|
1186
|
-
ready: boolean;
|
|
1187
|
-
needsSecret: boolean;
|
|
1188
|
-
sender: string | null;
|
|
1189
|
-
makesSecret: boolean;
|
|
1190
|
-
warning: string | null;
|
|
1191
|
-
readerNote: string | null;
|
|
1192
|
-
/** v126: deliveries turned away because too many were already held, until a person clears it, and how to resend them. */
|
|
1193
|
-
dropped: {
|
|
1194
|
-
count: number;
|
|
1195
|
-
since: string;
|
|
1196
|
-
resend: string;
|
|
1197
|
-
} | null;
|
|
1198
|
-
/** v126: the Sentry or Vercel project (and Vercel team) it takes deliveries from; null: any the secret covers. */
|
|
1199
|
-
scope: {
|
|
1200
|
-
project: string | null;
|
|
1201
|
-
team: string | null;
|
|
1202
|
-
} | null;
|
|
1203
|
-
} | null;
|
|
1204
|
-
checkable: boolean;
|
|
1205
|
-
/** A button shared as a public form (its link works). */
|
|
1206
|
-
shared: boolean;
|
|
1207
|
-
/** A schedule's standing order (v115): the terms each run files, in words — shown on demand. */
|
|
1208
|
-
order?: string[];
|
|
1209
|
-
};
|
|
1210
|
-
/** A flow's canvas: zones, cards, and what this person may change. */
|
|
1211
|
-
export type BrowserFlowView = {
|
|
1212
|
-
kind: "flow";
|
|
1213
|
-
/** v100: signed in with the identity provider, a step-up is that sign-in (confirmed, or a link to confirm), not a password. */
|
|
1214
|
-
stepUp?: {
|
|
1215
|
-
label: string;
|
|
1216
|
-
fresh: boolean;
|
|
1217
|
-
confirmHref: string;
|
|
1218
|
-
};
|
|
1219
|
-
flow: {
|
|
1220
|
-
id: number;
|
|
1221
|
-
name: string;
|
|
1222
|
-
project: string;
|
|
1223
|
-
revision: number;
|
|
1224
|
-
href: string;
|
|
1225
|
-
owner: string;
|
|
1226
|
-
};
|
|
1227
|
-
/** Opens the lead's chat with a message about this flow started for the person to finish. */
|
|
1228
|
-
chatHref: string;
|
|
1229
|
-
triggers: BrowserFlowTrigger[];
|
|
1230
|
-
/** What adding a trigger needs to know: this project's GitHub repository, whether a Linear key is saved, the public webhook address, other flows to follow. */
|
|
1231
|
-
triggerSetup: {
|
|
1232
|
-
kinds: {
|
|
1233
|
-
kind: string;
|
|
1234
|
-
label: string;
|
|
1235
|
-
}[];
|
|
1236
|
-
githubRepo: string | null;
|
|
1237
|
-
linearKey: boolean;
|
|
1238
|
-
hooksBase: string | null;
|
|
1239
|
-
hooksPath: string;
|
|
1240
|
-
/** v89: whether Email inbox triggers can read mail (Settings → Email), and whose mailbox it is. */
|
|
1241
|
-
mailbox: string | null;
|
|
1242
|
-
otherFlows: {
|
|
1243
|
-
id: number;
|
|
1244
|
-
name: string;
|
|
1245
|
-
zones: {
|
|
1246
|
-
id: string;
|
|
1247
|
-
title: string;
|
|
1248
|
-
}[];
|
|
1249
|
-
}[];
|
|
1250
|
-
};
|
|
1251
|
-
/** A button trigger to open straight away (?start=). */
|
|
1252
|
-
startTrigger: number | null;
|
|
1253
|
-
/** Who is looking: their name, for "mine", owning and @mentions. */
|
|
1254
|
-
me: string;
|
|
1255
|
-
/** Whether sort zones can run: an OpenRouter key is saved in Settings → AI providers. */
|
|
1256
|
-
sortReady: boolean;
|
|
1257
|
-
/** v92: the project's subagents, to staff zones with. */
|
|
1258
|
-
subagents?: {
|
|
1259
|
-
handle: string;
|
|
1260
|
-
label: string;
|
|
1261
|
-
name: string;
|
|
1262
|
-
working: boolean;
|
|
1263
|
-
href: string;
|
|
1264
|
-
}[];
|
|
1265
|
-
/** v87: whether email is set up (Settings → Email), the names of this project's request secrets, and its tools with what each can do. */
|
|
1266
|
-
emailReady: boolean;
|
|
1267
|
-
requestSecrets: string[];
|
|
1268
|
-
tools: {
|
|
1269
|
-
name: string;
|
|
1270
|
-
about: string;
|
|
1271
|
-
functions: string[];
|
|
1272
|
-
ready: boolean;
|
|
1273
|
-
}[];
|
|
1274
|
-
/** The project's scripts: reusable steps a "Run a script" zone runs with no AI. */
|
|
1275
|
-
/** v90: each script's language, and the project file it runs instead of a body. */
|
|
1276
|
-
scripts: {
|
|
1277
|
-
name: string;
|
|
1278
|
-
about: string;
|
|
1279
|
-
body: string;
|
|
1280
|
-
timeoutMinutes: number;
|
|
1281
|
-
version: number;
|
|
1282
|
-
/** The content digest the panel showed: an approval of a held script carries it back. */
|
|
1283
|
-
digest: string;
|
|
1284
|
-
savedBy: string;
|
|
1285
|
-
savedAt: string;
|
|
1286
|
-
usedHere: string[];
|
|
1287
|
-
language: "shell" | "python" | "node";
|
|
1288
|
-
file: string | null;
|
|
1289
|
-
/** It came with an imported flow and waits for a person's approval before it runs. */
|
|
1290
|
-
held: boolean;
|
|
1291
|
-
}[];
|
|
1292
|
-
start: string;
|
|
1293
|
-
stages: BrowserFlowStage[];
|
|
1294
|
-
cards: BrowserFlowCard[];
|
|
1295
|
-
selectedCard: number | null;
|
|
1296
|
-
/** Where the flow stands (v88): the live stream's nudge names it, and a page that already shows it doesn't read again. */
|
|
1297
|
-
live: string | null;
|
|
1298
|
-
canEdit: boolean;
|
|
1299
|
-
/** "Runs on its own" (flow-unattended.ts): the live grant, and whether this person can sign one (why not, when not). */
|
|
1300
|
-
unattended: {
|
|
1301
|
-
active: {
|
|
1302
|
-
until: string;
|
|
1303
|
-
untilWords: string;
|
|
1304
|
-
signedBy: string;
|
|
1305
|
-
budgetMicrousd: number | null;
|
|
1306
|
-
dailyRunCap: number | null;
|
|
1307
|
-
runsToday: number;
|
|
1308
|
-
words: string[];
|
|
1309
|
-
covers: string[];
|
|
1310
|
-
} | null;
|
|
1311
|
-
canSign: boolean;
|
|
1312
|
-
problem: string | null;
|
|
1313
|
-
maxDays: number;
|
|
1314
|
-
scheduled: boolean;
|
|
1315
|
-
terms: {
|
|
1316
|
-
head: string[];
|
|
1317
|
-
rules: string[];
|
|
1318
|
-
};
|
|
1319
|
-
/** The schedules a signature could cover: plain ones always, `optional` ones (outside content, said why) only when picked. */
|
|
1320
|
-
schedules: {
|
|
1321
|
-
id: number;
|
|
1322
|
-
words: string;
|
|
1323
|
-
optional: string | null;
|
|
1324
|
-
}[];
|
|
1325
|
-
schedulesDigest: string;
|
|
1326
|
-
/** The latest grant a change ended early (flow-unattended.ts unattendedViewOf): why and when. */
|
|
1327
|
-
ended?: {
|
|
1328
|
-
why: string;
|
|
1329
|
-
at: string;
|
|
1330
|
-
} | null;
|
|
1331
|
-
};
|
|
1332
|
-
/** Browser use (flow-browser.ts browserViewOf): null when no zone says it starts a browser. */
|
|
1333
|
-
browser: {
|
|
1334
|
-
status: "allowed" | "ended" | "none";
|
|
1335
|
-
words: string;
|
|
1336
|
-
signedBy: string | null;
|
|
1337
|
-
signedAt: string | null;
|
|
1338
|
-
zones: {
|
|
1339
|
-
zone: string;
|
|
1340
|
-
title: string;
|
|
1341
|
-
script: string;
|
|
1342
|
-
version: number;
|
|
1343
|
-
digest: string;
|
|
1344
|
-
}[];
|
|
1345
|
-
terms: string[];
|
|
1346
|
-
digest: string | null;
|
|
1347
|
-
problem: string | null;
|
|
1348
|
-
/** Whether this person may allow it here: an approver whose account reaches every project (as the route requires). */
|
|
1349
|
-
canApprove: boolean;
|
|
1350
|
-
} | null;
|
|
1351
|
-
approvers: string[];
|
|
1352
|
-
/** The projects a Build zone may work in: the flow's own first, then others the viewer can reach. */
|
|
1353
|
-
projects?: {
|
|
1354
|
-
path: string;
|
|
1355
|
-
name: string;
|
|
1356
|
-
}[];
|
|
1357
|
-
kinds: {
|
|
1358
|
-
kind: BrowserFlowStage["kind"];
|
|
1359
|
-
label: string;
|
|
1360
|
-
about: string;
|
|
1361
|
-
}[];
|
|
1362
|
-
colors: string[];
|
|
1363
|
-
};
|
|
1364
|
-
/** The Agents board's groups, in order (agents-board.ts). */
|
|
1365
|
-
export type AgentGroupKey = 'needs-you' | 'working' | 'stuck' | 'done' | 'idle';
|
|
1366
|
-
/** One agent: its task, project, last activity line, elapsed time and diff size. */
|
|
1367
|
-
export type BrowserAgentRow = {
|
|
1368
|
-
runId: number;
|
|
1369
|
-
taskId: string;
|
|
1370
|
-
title: string;
|
|
1371
|
-
project: string | null;
|
|
1372
|
-
href: string;
|
|
1373
|
-
/** Its one line: what it is doing, its question, or why it ended; null when there is nothing the state chip doesn't say. */
|
|
1374
|
-
group: AgentGroupKey;
|
|
1375
|
-
label: string;
|
|
1376
|
-
line: string | null;
|
|
1377
|
-
quiet: boolean;
|
|
1378
|
-
/** When it started, and when it ended (null: still running): the row counts the time between. */
|
|
1379
|
-
startedAt: string;
|
|
1380
|
-
endedAt: string | null;
|
|
1381
|
-
/** "3 files", "+12 −4 · 3 files"; null when nothing could be measured. */
|
|
1382
|
-
diff: string | null;
|
|
1383
|
-
agent: string;
|
|
1384
|
-
};
|
|
1385
|
-
export type BrowserAgentQuestion = {
|
|
1386
|
-
id: number;
|
|
1387
|
-
key: string;
|
|
1388
|
-
text: string;
|
|
1389
|
-
action: string;
|
|
1390
|
-
};
|
|
1391
|
-
export type BrowserAgentControls = {
|
|
1392
|
-
send: "live" | "mailbox" | null;
|
|
1393
|
-
words: string;
|
|
1394
|
-
pause: {
|
|
1395
|
-
action: string;
|
|
1396
|
-
run: number;
|
|
1397
|
-
state: "pausing" | "paused" | null;
|
|
1398
|
-
requests: [string, string, string];
|
|
1399
|
-
until: string | null;
|
|
1400
|
-
} | null;
|
|
1401
|
-
stop: {
|
|
1402
|
-
action: string;
|
|
1403
|
-
run: number;
|
|
1404
|
-
label: string;
|
|
1405
|
-
} | null;
|
|
1406
|
-
};
|
|
1407
|
-
export type BrowserAgentDetail = BrowserAgentRow & {
|
|
1408
|
-
live: boolean;
|
|
1409
|
-
question: BrowserAgentQuestion | null;
|
|
1410
|
-
/** The live transcript's JSON window (/r/<run>?fragment=transcript); null when this console can't read it. */
|
|
1411
|
-
transcript: string | null;
|
|
1412
|
-
/** The live changes fragment (/r/<run>?fragment=peek) while it runs; the saved changes once it has finished. */
|
|
1413
|
-
peek: string | null;
|
|
1414
|
-
files: {
|
|
1415
|
-
path: string;
|
|
1416
|
-
added: number | null;
|
|
1417
|
-
removed: number | null;
|
|
1418
|
-
}[];
|
|
1419
|
-
filesMore: number;
|
|
1420
|
-
/** Steer the running agent (POST /t/<task>/steer): null once it has finished. */
|
|
1421
|
-
steer: {
|
|
1422
|
-
action: string;
|
|
1423
|
-
run: number;
|
|
1424
|
-
} | null;
|
|
1425
|
-
/** What this running attempt takes (steer-capabilities.ts): how a note reaches it (or why none does), Pause and
|
|
1426
|
-
* Stop for the exact run each names. Null when it is not running or this person may not act. */
|
|
1427
|
-
controls?: BrowserAgentControls | null;
|
|
1428
|
-
/** Cockpit E: this running attempt's checkout, proved to be on this machine — the cd command to copy, and where Show
|
|
1429
|
-
* in Finder posts. Absent off this machine, for a viewer, or once it ends. Nothing is ever launched in it. */
|
|
1430
|
-
/** `reveal` is null where Finder can't be asked (not a Mac): the path and the command stand alone. */
|
|
1431
|
-
checkout?: {
|
|
1432
|
-
path: string;
|
|
1433
|
-
cd: string;
|
|
1434
|
-
reveal: string | null;
|
|
1435
|
-
} | null;
|
|
1436
|
-
/** Whether this person may reply or steer (an approver, outside the demo); a viewer sees the question but no composer. */
|
|
1437
|
-
canAct: boolean;
|
|
1438
|
-
/** The task, and once finished the run's own page (its result page when it built one). */
|
|
1439
|
-
taskHref: string;
|
|
1440
|
-
resultHref: string | null;
|
|
1441
|
-
/** The task this agent works on, as its page heads it: the status words, and its one action as a way to the task page's
|
|
1442
|
-
* tab that holds it (never a form here: the task page's own form is the one that acts). Null when it can't be read. */
|
|
1443
|
-
task?: {
|
|
1444
|
-
headline: string;
|
|
1445
|
-
sentence: string;
|
|
1446
|
-
tone: string;
|
|
1447
|
-
action: {
|
|
1448
|
-
label: string;
|
|
1449
|
-
href: string;
|
|
1450
|
-
};
|
|
1451
|
-
} | null;
|
|
1452
|
-
/** Where this run opens on its task's page: a result → its Result tab at this run, a plan → the Plan tab, anything
|
|
1453
|
-
* else (a review, an attempt that isn't a result) → its own record. Null while it runs. */
|
|
1454
|
-
open?: {
|
|
1455
|
-
label: string;
|
|
1456
|
-
href: string;
|
|
1457
|
-
} | null;
|
|
1458
|
-
/** The exact-run live room: updates, and a watch that keeps this person's pings quiet. */
|
|
1459
|
-
room: string;
|
|
1460
|
-
said: {
|
|
1461
|
-
tone: 'info' | 'error';
|
|
1462
|
-
text: string;
|
|
1463
|
-
} | null;
|
|
1464
|
-
};
|
|
1465
|
-
/** One run on the timeline: its role, and when it started and ended (null: still running). */
|
|
1466
|
-
export type BrowserLaneSegment = {
|
|
1467
|
-
runId: number;
|
|
1468
|
-
role: 'planner' | 'builder' | 'reviewer' | 'scout';
|
|
1469
|
-
agent: string;
|
|
1470
|
-
startedAt: string;
|
|
1471
|
-
endedAt: string | null;
|
|
1472
|
-
outcome: string | null;
|
|
1473
|
-
href: string;
|
|
1474
|
-
};
|
|
1475
|
-
/** One task's row on the timeline: its runs in order, and the board's word for where it stands ('planning' before a build). */
|
|
1476
|
-
export type BrowserAgentLane = {
|
|
1477
|
-
taskId: string;
|
|
1478
|
-
title: string;
|
|
1479
|
-
project: string | null;
|
|
1480
|
-
href: string;
|
|
1481
|
-
group: AgentGroupKey | 'planning';
|
|
1482
|
-
segments: BrowserLaneSegment[];
|
|
1483
|
-
};
|
|
1484
|
-
/** The agent timeline (after the "Agent lanes" pattern): one row per task over a window ending now. */
|
|
1485
|
-
export type BrowserAgentLanes = {
|
|
1486
|
-
since: string;
|
|
1487
|
-
now: string;
|
|
1488
|
-
windows: {
|
|
1489
|
-
key: AgentLaneWindow;
|
|
1490
|
-
label: string;
|
|
1491
|
-
href: string;
|
|
1492
|
-
active: boolean;
|
|
1493
|
-
}[];
|
|
1494
|
-
lanes: BrowserAgentLane[];
|
|
1495
|
-
/** Tasks in the window past the rows shown. */
|
|
1496
|
-
more: number;
|
|
1497
|
-
/** Every task in the window with a live run, not just the rows shown. */
|
|
1498
|
-
running: number;
|
|
1499
|
-
};
|
|
1500
|
-
export type AgentLaneWindow = '30m' | '2h' | '24h';
|
|
1501
|
-
export type BrowserAgentsView = {
|
|
1502
|
-
kind: 'agents';
|
|
1503
|
-
groups: {
|
|
1504
|
-
key: AgentGroupKey;
|
|
1505
|
-
label: string;
|
|
1506
|
-
rows: BrowserAgentRow[];
|
|
1507
|
-
}[];
|
|
1508
|
-
/** The timeline above the board; empty lanes when nothing ran in the window but something did today; null when nothing ran in a day. */
|
|
1509
|
-
lanes?: BrowserAgentLanes | null;
|
|
1510
|
-
selected: BrowserAgentDetail | null;
|
|
1511
|
-
/** Shown when nothing is on the board. */
|
|
1512
|
-
empty: string | null;
|
|
1513
|
-
/** The Live grid (?view=live): every running agent's live output, watching only. */
|
|
1514
|
-
live?: boolean;
|
|
1515
|
-
/** The Finished group's window (?window=), 24 hours unless the address says otherwise. */
|
|
1516
|
-
window?: AgentLaneWindow;
|
|
1517
|
-
/** The computers that build (what /fleet showed), for a person with access to the whole installation; null otherwise. */
|
|
1518
|
-
computers?: BrowserComputers | null;
|
|
1519
|
-
/** Which model runs each phase (what /system showed), for a person with access to the whole installation. */
|
|
1520
|
-
phases?: BrowserAgentPhase[] | null;
|
|
1521
|
-
/** The rest of what /system showed: workspaces, the background service, notifications and external work. */
|
|
1522
|
-
system?: BrowserAgentsSystem | null;
|
|
1523
|
-
/** This person may open terminals (an installation-wide operator in a browser). */
|
|
1524
|
-
terminals?: boolean;
|
|
1525
|
-
/** What a computer act said, in fixed words (a retired computer, by the name the store knows). */
|
|
1526
|
-
computerSaid?: {
|
|
1527
|
-
tone: 'info' | 'error';
|
|
1528
|
-
text: string;
|
|
1529
|
-
} | null;
|
|
1530
|
-
};
|
|
1531
|
-
/** One computer that builds (a registered runner): what it is doing and what waits for it. */
|
|
1532
|
-
export type BrowserComputer = {
|
|
1533
|
-
name: string;
|
|
1534
|
-
host: string;
|
|
1535
|
-
state: 'building' | 'idle' | 'offline';
|
|
1536
|
-
capacity: number;
|
|
1537
|
-
/** Retired, listed only while tasks are still reserved for it. */
|
|
1538
|
-
retired: boolean;
|
|
1539
|
-
/** Its live builds this person may see; `hidden` counts the ones in projects they can't. */
|
|
1540
|
-
building: {
|
|
1541
|
-
taskId: string;
|
|
1542
|
-
title: string;
|
|
1543
|
-
href: string;
|
|
1544
|
-
project: string | null;
|
|
1545
|
-
}[];
|
|
1546
|
-
hidden: number;
|
|
1547
|
-
heardAt: string;
|
|
1548
|
-
registeredAt: string;
|
|
1549
|
-
/** The projects it takes work from, that this person may see. */
|
|
1550
|
-
projects: string[];
|
|
1551
|
-
/** The operator's note on its queue (display only). */
|
|
1552
|
-
note: string | null;
|
|
1553
|
-
/** Queued tasks reserved for it, that this person may see. */
|
|
1554
|
-
reserved: {
|
|
1555
|
-
id: string;
|
|
1556
|
-
title: string;
|
|
1557
|
-
href: string;
|
|
1558
|
-
project: string | null;
|
|
1559
|
-
taken: boolean;
|
|
1560
|
-
}[];
|
|
1561
|
-
};
|
|
1562
|
-
export type BrowserComputers = {
|
|
1563
|
-
list: BrowserComputer[];
|
|
1564
|
-
/** Register, retire, move reserved work and notes: an approver in a browser session. */
|
|
1565
|
-
manage: boolean;
|
|
1566
|
-
/** The queue's revision, for a move (POST /queue/move). */
|
|
1567
|
-
queueRevision: number;
|
|
1568
|
-
/** Queued tasks no computer is reserved for. */
|
|
1569
|
-
shared: number;
|
|
1570
|
-
};
|
|
1571
|
-
export type BrowserAgentPhase = {
|
|
1572
|
-
phase: 'plan' | 'build' | 'repair' | 'review';
|
|
1573
|
-
/** The provider and model in words; null when it can't be worked out (`problem` says why). */
|
|
1574
|
-
model: string | null;
|
|
1575
|
-
problem: string | null;
|
|
1576
|
-
/** Where the choice comes from, in words ("Set for the whole installation by alex"). */
|
|
1577
|
-
source: string;
|
|
1578
|
-
/** This provider reports tokens, not dollars. */
|
|
1579
|
-
noDollars: boolean;
|
|
1580
|
-
};
|
|
1581
|
-
export type BrowserAgentsSystem = {
|
|
1582
|
-
workspaces: {
|
|
1583
|
-
name: string;
|
|
1584
|
-
branch: string;
|
|
1585
|
-
state: 'building' | 'free' | 'needs review';
|
|
1586
|
-
}[];
|
|
1587
|
-
/** The background service's latest run on the open project: running since `at`, or ended at `at`. */
|
|
1588
|
-
service: {
|
|
1589
|
-
running: boolean;
|
|
1590
|
-
at: string;
|
|
1591
|
-
built: number;
|
|
1592
|
-
broke: number;
|
|
1593
|
-
} | null;
|
|
1594
|
-
outbox: number;
|
|
1595
|
-
external: {
|
|
1596
|
-
repo: string;
|
|
1597
|
-
state: string;
|
|
1598
|
-
}[];
|
|
1599
|
-
};
|
|
1600
|
-
export type BrowserView = BrowserTasksView | BrowserTaskView | BrowserProjectsView | BrowserResultView | BrowserFlowView | BrowserAgentsView | BrowserHomeView | BrowserSearchView;
|
|
1601
|
-
export type BrowserWorkspace = {
|
|
1602
|
-
/** The one Needs-you count (tasks only) with its scope: the Tasks list's own count for the project in view (`scope`,
|
|
1603
|
-
* a project path) or every project (null), its words ("5 need you in payments-api") and the list it opens. */
|
|
1604
|
-
needsYou?: {
|
|
1605
|
-
count: number;
|
|
1606
|
-
saturated: boolean;
|
|
1607
|
-
scope: string | null;
|
|
1608
|
-
label: string;
|
|
1609
|
-
href: string;
|
|
1610
|
-
};
|
|
1611
|
-
/** The same Needs-you count for each project (`path` null: work with no project), from the same work index totals. */
|
|
1612
|
-
needsYouByProject?: {
|
|
1613
|
-
path: string | null;
|
|
1614
|
-
count: number;
|
|
1615
|
-
}[];
|
|
1616
|
-
version: 1;
|
|
1617
|
-
path: string;
|
|
1618
|
-
title: string;
|
|
1619
|
-
user: string;
|
|
1620
|
-
csrf: string;
|
|
1621
|
-
sensitive: boolean;
|
|
1622
|
-
/** True when this page may replace another without a document load (docs/plans/live-pages-and-home.md A1.1): the server
|
|
1623
|
-
* sets it on every workspace it sends; absent (an older server, a fixture) is false. */
|
|
1624
|
-
inPlace?: boolean;
|
|
1625
|
-
/** What the app runs for this page in place of a page script (docs/plans/task-page-in-app.md): data, a closed list.
|
|
1626
|
-
* Present only when the app covers the page's whole script; the document then ships no page script string. */
|
|
1627
|
-
work?: readonly PageWork[];
|
|
1628
|
-
/** This document ships a page script string (set on a document load only). Its listeners live as long as the
|
|
1629
|
-
* document, so the app never changes pages in place from it, and never runs `work` in it. */
|
|
1630
|
-
scripted?: boolean;
|
|
1631
|
-
/** Passwordless is on for this signed-in browser: ceremony password fields are left out (docs/plans/passwordless.md). */
|
|
1632
|
-
passwordless?: boolean;
|
|
1633
|
-
/** The session's open project (its path), or null: the sidebar's project picker names it. */
|
|
1634
|
-
openProject?: string | null;
|
|
1635
|
-
/** The settings frame's breadcrumb ("Settings / <page>"; settings-kit.ts): the header shows it as links. */
|
|
1636
|
-
crumbs?: {
|
|
1637
|
-
label: string;
|
|
1638
|
-
href: string | null;
|
|
1639
|
-
}[];
|
|
1640
|
-
/** What this person named their lead (Settings → Lead): the chat header and every lead message say it. */
|
|
1641
|
-
leadName?: string;
|
|
1642
|
-
refreshUrl: string;
|
|
1643
|
-
receipt: {
|
|
1644
|
-
request: string;
|
|
1645
|
-
received: boolean;
|
|
1646
|
-
} | null;
|
|
1647
|
-
projects: BrowserProject[];
|
|
1648
|
-
crew: BrowserCrewItem[];
|
|
1649
|
-
crewTruncated: boolean;
|
|
1650
|
-
/** The sidebar's project states; absent on a sensitive page. The summary room keeps them current. */
|
|
1651
|
-
projectStates?: BrowserProjectState[];
|
|
1652
|
-
/** Cockpit B2: this session's remembered password — minutes left, and where Forget posts. Absent unless it is
|
|
1653
|
-
* live on a direct local request; never on a sensitive page. */
|
|
1654
|
-
fresh?: {
|
|
1655
|
-
minutes: number;
|
|
1656
|
-
forget: string;
|
|
1657
|
-
};
|
|
1658
|
-
/** The most-used subscription window, for an operator; absent for everyone else and on a sensitive page. */
|
|
1659
|
-
usage?: BrowserUsageChip;
|
|
1660
|
-
conversation: BrowserConversation | null;
|
|
1661
|
-
team?: TeamSnapshot;
|
|
1662
|
-
focus: {
|
|
1663
|
-
id: string;
|
|
1664
|
-
title: string;
|
|
1665
|
-
html: string;
|
|
1666
|
-
} | null;
|
|
1667
|
-
result: {
|
|
1668
|
-
runId: number;
|
|
1669
|
-
html: string;
|
|
1670
|
-
} | null;
|
|
1671
|
-
catchUpHtml: string;
|
|
1672
|
-
controlsHtml: string;
|
|
1673
|
-
notices: string[];
|
|
1674
|
-
pageHtml: string | null;
|
|
1675
|
-
navigation: BrowserNavigationItem[];
|
|
1676
|
-
/** This person's recent project and task conversations (v77), newest first. */
|
|
1677
|
-
chats?: BrowserChatLink[];
|
|
1678
|
-
view?: BrowserView | null;
|
|
1679
|
-
/** A live page (Inbox, System…) reads itself again this often; forms being edited are kept. */
|
|
1680
|
-
refreshSeconds?: number;
|
|
1681
|
-
/** Providers whose sign-in stopped working: their work waits (one per provider). */
|
|
1682
|
-
signIn?: BrowserSignIn[];
|
|
1683
|
-
/** A demo database: the notice that says so, scrolling with the page (`short`: its one line on a phone). */
|
|
1684
|
-
demo?: {
|
|
1685
|
-
text: string;
|
|
1686
|
-
short: string;
|
|
1687
|
-
};
|
|
1688
|
-
/** A newer Toolroll exists: a quiet notice for an operator, until they dismiss this version. */
|
|
1689
|
-
update?: BrowserUpdateNotice;
|
|
1690
|
-
/** Chat's first run, until the first Ready result: the three steps and first tasks to try. */
|
|
1691
|
-
firstRun?: BrowserFirstRun;
|
|
1692
|
-
/** Chat, after the first Ready result until put away: use it from the phone. */
|
|
1693
|
-
phone?: BrowserPhoneCard;
|
|
1694
|
-
/** The Chat landing's live view: who is working now, four counts, and Catch up in tabs. */
|
|
1695
|
-
home?: BrowserHome | null;
|
|
1696
|
-
/** Easy-start C2: this tab's mutation key is from an earlier Toolroll start (or it has none): it reads, but needs to
|
|
1697
|
-
* reconnect before it can change anything (the password again, or `toolroll open` for a local owner). */
|
|
1698
|
-
reconnect?: {
|
|
1699
|
-
kind: 'password';
|
|
1700
|
-
href: string;
|
|
1701
|
-
} | {
|
|
1702
|
-
kind: 'command';
|
|
1703
|
-
command: string;
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
/** Home ("/", docs/plans/live-pages-and-home.md B1): the heading said once, one quiet line for what runs and waits, what
|
|
1707
|
-
* needs this person grouped by what is asked (each group with its exact count), the selected one open beside the list,
|
|
1708
|
-
* and the lead's last message above the message box. With nothing waiting: what runs and what finished today. */
|
|
1709
|
-
export type BrowserHomeView = {
|
|
1710
|
-
kind: 'home';
|
|
1711
|
-
/** "19 tasks need you", "Nothing needs you", read from the same total as the rail's count. */
|
|
1712
|
-
say: string;
|
|
1713
|
-
/** The project in view (a path) or every project (null), and the project filter's choices (null with one project). */
|
|
1714
|
-
project: string | null;
|
|
1715
|
-
scopes: {
|
|
1716
|
-
key: string;
|
|
1717
|
-
label: string;
|
|
1718
|
-
href: string;
|
|
1719
|
-
active: boolean;
|
|
1720
|
-
}[] | null;
|
|
1721
|
-
/** The work index totals, each with the Tasks list it opens. */
|
|
1722
|
-
counts: {
|
|
1723
|
-
key: 'needs' | 'running' | 'queued' | 'finished';
|
|
1724
|
-
label: string;
|
|
1725
|
-
value: number;
|
|
1726
|
-
href: string;
|
|
1727
|
-
}[];
|
|
1728
|
-
/** What needs you, by what is asked, in this order: release, approve, answer, flow, wrong, review, setup, other
|
|
1729
|
-
* (anything none of the others fits; docs/plans/home-other-asks.md). `count` is the exact total for that ask, past the
|
|
1730
|
-
* rows listed. */
|
|
1731
|
-
groups: {
|
|
1732
|
-
key: BrowserHomeAsk;
|
|
1733
|
-
label: string;
|
|
1734
|
-
count: number;
|
|
1735
|
-
rows: BrowserHomeRow[];
|
|
1736
|
-
}[];
|
|
1737
|
-
/** What runs, then what waits its turn. */
|
|
1738
|
-
working: BrowserHomeRow[];
|
|
1739
|
-
/** What was completed today: the exact figure, the newest rows, and the list that has them all. */
|
|
1740
|
-
finishedToday: {
|
|
1741
|
-
count: number;
|
|
1742
|
-
rows: BrowserHomeRow[];
|
|
1743
|
-
href: string;
|
|
1744
|
-
};
|
|
1745
|
-
newTask: string;
|
|
1746
|
-
/** The lead's message box, where chat is allowed for this person: a POST to /chat in this scope. */
|
|
1747
|
-
ask: {
|
|
1748
|
-
project: string | null;
|
|
1749
|
-
placeholder: string;
|
|
1750
|
-
} | null;
|
|
1751
|
-
/** The lead's last message in this person's main thread, as one plain line that opens the chat; null when there is
|
|
1752
|
-
* none or this person may not read that thread. */
|
|
1753
|
-
lastLead: {
|
|
1754
|
-
text: string;
|
|
1755
|
-
age: string;
|
|
1756
|
-
href: string;
|
|
1757
|
-
} | null;
|
|
1758
|
-
empty: {
|
|
1759
|
-
title: string;
|
|
1760
|
-
text: string;
|
|
1761
|
-
} | null;
|
|
1762
|
-
/** While the first run is open (no first result yet): the welcome's address, linked as Finish setup. */
|
|
1763
|
-
setup?: string | null;
|
|
1764
|
-
};
|
|
1765
|
-
/** What a waiting row asks (work-index.ts WorkAskGroup), plus a flow card waiting on you and a first-run step. */
|
|
1766
|
-
export type BrowserHomeAsk = 'release' | 'approve' | 'answer' | 'flow' | 'wrong' | 'review' | 'setup' | 'other';
|
|
1767
|
-
export type BrowserHomeRow = {
|
|
1768
|
-
/** A task row's family id; a row that isn't a task is namespaced (`release:<task>`, `flow:<card>`, `setup:<step>`). */
|
|
1769
|
-
id: string;
|
|
1770
|
-
title: string;
|
|
1771
|
-
href: string;
|
|
1772
|
-
project: string | null;
|
|
1773
|
-
age: string;
|
|
1774
|
-
/** Which list it is in: it needs you, it runs, it waits its turn, or it finished. */
|
|
1775
|
-
state: 'needs' | 'running' | 'queued' | 'done';
|
|
1776
|
-
/** What it asks of you (its group), or null when it doesn't wait on you. */
|
|
1777
|
-
ask: BrowserHomeAsk | null;
|
|
1778
|
-
/** Why, in one short line: only a row where something went wrong. */
|
|
1779
|
-
reason: string | null;
|
|
1780
|
-
/** One line: what it asks, or what the agent is doing now. */
|
|
1781
|
-
line: string | null;
|
|
1782
|
-
/** The one act that resolves it (a link), or null. A release, a flow card or a setup step is never acted on at
|
|
1783
|
-
* Home: its one link opens its own page. */
|
|
1784
|
-
action: {
|
|
1785
|
-
label: string;
|
|
1786
|
-
href: string;
|
|
1787
|
-
} | null;
|
|
1788
|
-
/** An agent's question, answered in place (POST /d/<id>/answer, one click); null when it must be answered on its page. */
|
|
1789
|
-
question: {
|
|
1790
|
-
id: number;
|
|
1791
|
-
text: string;
|
|
1792
|
-
recap: string;
|
|
1793
|
-
options: {
|
|
1794
|
-
id: string;
|
|
1795
|
-
label: string;
|
|
1796
|
-
consequence: string;
|
|
1797
|
-
recommended: boolean;
|
|
1798
|
-
}[];
|
|
1799
|
-
} | null;
|
|
1800
|
-
};
|
|
1801
|
-
/** Search ("/search"): the places and the tasks in view that match the words; the ⌘K menu's "See all results". */
|
|
1802
|
-
export type BrowserSearchView = {
|
|
1803
|
-
kind: 'search';
|
|
1804
|
-
q: string;
|
|
1805
|
-
tasks: {
|
|
1806
|
-
id: string;
|
|
1807
|
-
title: string;
|
|
1808
|
-
href: string;
|
|
1809
|
-
project: string | null;
|
|
1810
|
-
age: string;
|
|
1811
|
-
chip: {
|
|
1812
|
-
word: string;
|
|
1813
|
-
tone: '' | 'needs' | 'ask' | 'live' | 'done' | 'failed';
|
|
1814
|
-
};
|
|
1815
|
-
archived: boolean;
|
|
1816
|
-
}[];
|
|
1817
|
-
/** More tasks exist than were read: the Tasks list has them all. */
|
|
1818
|
-
truncated: boolean;
|
|
1819
|
-
};
|
|
1820
|
-
/** One agent at work now: its task and the machine's own phase, in words. */
|
|
1821
|
-
export type BrowserHomeAgent = {
|
|
1822
|
-
runId: number;
|
|
1823
|
-
taskId: string;
|
|
1824
|
-
title: string;
|
|
1825
|
-
href: string;
|
|
1826
|
-
agent: string;
|
|
1827
|
-
phase: string;
|
|
1828
|
-
project: string | null;
|
|
1829
|
-
since: string;
|
|
1830
|
-
/** What the agent did last, and when. */
|
|
1831
|
-
activity?: RunActivity;
|
|
1832
|
-
};
|
|
1833
|
-
export type BrowserHomeCount = {
|
|
1834
|
-
key: 'working' | 'waiting' | 'ready' | 'done';
|
|
1835
|
-
label: string;
|
|
1836
|
-
value: number;
|
|
1837
|
-
href: string;
|
|
1838
|
-
};
|
|
1839
|
-
export type BrowserCatchUpTab = 'needs-you' | 'ready' | 'running' | 'all';
|
|
1840
|
-
export type BrowserCatchUpItem = {
|
|
1841
|
-
id: string;
|
|
1842
|
-
title: string;
|
|
1843
|
-
href: string;
|
|
1844
|
-
project: string | null;
|
|
1845
|
-
tab: Exclude<BrowserCatchUpTab, 'all'> | 'finished';
|
|
1846
|
-
label: string;
|
|
1847
|
-
tone: StatusTone;
|
|
1848
|
-
detail: string;
|
|
1849
|
-
at: string;
|
|
1850
|
-
/** Needs you: the one action that resolves it. */
|
|
1851
|
-
action?: {
|
|
1852
|
-
label: string;
|
|
1853
|
-
href: string;
|
|
1854
|
-
} | null;
|
|
1855
|
-
};
|
|
1856
|
-
/** Plan-window use stands in for spend: subscriptions don't bill per run. */
|
|
1857
|
-
export type BrowserHome = {
|
|
1858
|
-
agents: BrowserHomeAgent[];
|
|
1859
|
-
counts: BrowserHomeCount[];
|
|
1860
|
-
planUse: {
|
|
1861
|
-
name: string;
|
|
1862
|
-
window: string;
|
|
1863
|
-
percent: number;
|
|
1864
|
-
detail: string;
|
|
1865
|
-
tone: 'neutral' | 'warning' | 'danger';
|
|
1866
|
-
}[];
|
|
1867
|
-
catchUp: BrowserCatchUpItem[];
|
|
1868
|
-
allHref: string;
|
|
1869
|
-
/** What this person's lead is doing now and when it last acted (lead-voice.ts); its task when it named one. */
|
|
1870
|
-
lead?: {
|
|
1871
|
-
name?: string;
|
|
1872
|
-
doing: string;
|
|
1873
|
-
at: string;
|
|
1874
|
-
href: string | null;
|
|
1875
|
-
} | null;
|
|
1876
|
-
};
|
|
1877
|
-
/** `sandbox`: the demo command, offered beside the sign-in command while no agent is signed in. `intro`: how it works,
|
|
1878
|
-
* once, above the composer with the suggestions. `lead`: the one line saying what runs the lead, and where to change it.
|
|
1879
|
-
* `recheck`: while no agent is signed in, where the page asks again on its own. */
|
|
1880
|
-
export type BrowserFirstRun = {
|
|
1881
|
-
steps: FirstRunStep[];
|
|
1882
|
-
suggestions: FirstTaskSuggestion[];
|
|
1883
|
-
sandbox: string | null;
|
|
1884
|
-
intro?: string;
|
|
1885
|
-
lead?: {
|
|
1886
|
-
words: string;
|
|
1887
|
-
href: string;
|
|
1888
|
-
} | null;
|
|
1889
|
-
recheck?: string | null;
|
|
1890
|
-
};
|
|
1891
|
-
/** After the first Ready result: the phone, through a chat app or the console over Tailscale. `tailnet.restart`: the
|
|
1892
|
-
* command that makes the console listen beyond this computer, when it doesn't yet. */
|
|
1893
|
-
export type BrowserPhoneCard = {
|
|
1894
|
-
chatApps: {
|
|
1895
|
-
label: string;
|
|
1896
|
-
href: string;
|
|
1897
|
-
}[];
|
|
1898
|
-
tailnet: {
|
|
1899
|
-
address: string;
|
|
1900
|
-
restart: string | null;
|
|
1901
|
-
} | null;
|
|
1902
|
-
dismissHref: string;
|
|
1903
|
-
};
|
|
1904
|
-
/** The console's update notice: neutral, never the accent — an update does not need a person. */
|
|
1905
|
-
export type BrowserUpdateNotice = {
|
|
1906
|
-
version: string;
|
|
1907
|
-
security: boolean;
|
|
1908
|
-
href: string;
|
|
1909
|
-
dismissHref: string;
|
|
1910
|
-
};
|
|
1911
|
-
/** A provider's sign-in pause, as the console shows it: the plain reason,
|
|
1912
|
-
* what to run, and the one action that resumes its work. */
|
|
1913
|
-
export type BrowserSignIn = {
|
|
1914
|
-
provider: string;
|
|
1915
|
-
title: string;
|
|
1916
|
-
command: string;
|
|
1917
|
-
detail: string;
|
|
1918
|
-
resumeLabel: string;
|
|
1919
|
-
resumeHref: string;
|
|
1920
|
-
};
|
|
1921
|
-
/** Safe inside a script[type=application/json] element. JSON escaping alone
|
|
1922
|
-
* does not stop the HTML parser from closing that element at </script>. */
|
|
1923
|
-
export declare const BROWSER_CREW_LIMIT = 40;
|
|
1924
|
-
export type BrowserCrewOptions = {
|
|
1925
|
-
evidenceRoot?: string;
|
|
1926
|
-
limit?: number;
|
|
1927
|
-
project?: string | null;
|
|
1928
|
-
};
|
|
1929
|
-
/** A bounded recent family list. The caller supplies its already admitted
|
|
1930
|
-
* access; an optional project can only narrow it. Admission and family grouping
|
|
1931
|
-
* happen before the SQL limit and before reading questions or saved evidence. */
|
|
1932
|
-
export declare function browserCrewOf(store: Store, now: Date, access: WorkSummaryAccess, options?: BrowserCrewOptions): {
|
|
1933
|
-
crew: BrowserCrewItem[];
|
|
1934
|
-
crewTruncated: boolean;
|
|
1935
|
-
};
|
|
1936
|
-
/** Navigation input must already be admitted by the caller. No extra project
|
|
1937
|
-
* discovery belongs in a browser projection. Keep exact paths in every link. */
|
|
1938
|
-
export declare function browserProjectsOf(projects: readonly {
|
|
1939
|
-
name: string;
|
|
1940
|
-
path: string;
|
|
1941
|
-
}[]): BrowserProject[];
|
|
1942
|
-
export declare function browserNavigationOf(path: string, project?: string | null, needsYou?: number, tasksProject?: string | null, needsYouLabel?: string): BrowserNavigationItem[];
|
|
1943
|
-
/** One "Can I merge?" act, as the task page's form for it (server/merge-ready-view.ts builds it). */
|
|
1944
|
-
export type MergeReadyAct = {
|
|
1945
|
-
kind: "run-checks";
|
|
1946
|
-
action: string;
|
|
1947
|
-
level: "quick" | "full";
|
|
1948
|
-
returnTo: string;
|
|
1949
|
-
} | {
|
|
1950
|
-
kind: "retry";
|
|
1951
|
-
} | {
|
|
1952
|
-
kind: "fix";
|
|
1953
|
-
action: string;
|
|
1954
|
-
note: string;
|
|
1955
|
-
batch: string;
|
|
1956
|
-
source: string;
|
|
1957
|
-
request: string;
|
|
1958
|
-
returnTo: string;
|
|
1959
|
-
};
|
|
1960
|
-
/** The task page's "Can I merge?" panel. */
|
|
1961
|
-
export type MergeReadyView = {
|
|
1962
|
-
answer: "yes" | "no" | "not-yet" | "merged";
|
|
1963
|
-
sentence: string;
|
|
1964
|
-
rows: {
|
|
1965
|
-
key: string;
|
|
1966
|
-
label: string;
|
|
1967
|
-
mark: "yes" | "no" | "waiting" | "unknown" | "skip";
|
|
1968
|
-
say: string;
|
|
1969
|
-
act: MergeReadyAct | null;
|
|
1970
|
-
}[];
|
|
1971
|
-
};
|
|
1972
|
-
export type { PageWork } from './page-work-contract.js';
|