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
package/dist/templates.js
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The template library (adoption track, step 2) — common work shipped as
|
|
3
|
-
* STATIC DATA that renders into editable, UNAPPROVED drafts.
|
|
4
|
-
*
|
|
5
|
-
* What a template is: a pre-filled form. What it is not: automation with
|
|
6
|
-
* authority. Applying one produces exactly the rows a manual filing
|
|
7
|
-
* produces — through the same one door (proposal.ts), with the same
|
|
8
|
-
* validators, landing unapproved — and the apply output says so in
|
|
9
|
-
* capitals, because `--file` must never read as a yes.
|
|
10
|
-
*
|
|
11
|
-
* The Codex adoption review (finding 10) drew the v1 line: templates may
|
|
12
|
-
* express ONLY what a task proposal or a scheduled flow can carry today. A
|
|
13
|
-
* repeating template (v115: what a routine template was) makes a scheduled
|
|
14
|
-
* flow whose schedule starts paused, and whose every firing waits for
|
|
15
|
-
* approval under the project's rules. The two
|
|
16
|
-
* use cases that imply separate authenticated authority — GitHub issue
|
|
17
|
-
* intake (a grant) and CI babysitting (publish + the repair button) —
|
|
18
|
-
* ship as RECIPES: they display the existing ceremonies, and cannot be
|
|
19
|
-
* applied, because a template must never create a grant, enable
|
|
20
|
-
* autonomous repair, or touch provider configuration.
|
|
21
|
-
*
|
|
22
|
-
* Deliberately no versioning story: an applied draft is a COPY. Editing
|
|
23
|
-
* this library later changes nothing anybody filed.
|
|
24
|
-
*/
|
|
25
1
|
export const TEMPLATES = [
|
|
26
2
|
{
|
|
27
3
|
kind: "scheduled",
|
package/dist/terminal-catalog.js
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Live terminals, written down for the updater (docs/plans/live-terminal.md, review round 2 finding 7). Terminals live
|
|
3
|
-
* in the console's memory, but an update is decided by another process, so each one is a row in a small catalog
|
|
4
|
-
* beside the database (`<db>.terminals.sqlite`), as the coding workspace keeps its own:
|
|
5
|
-
*
|
|
6
|
-
* - a start inserts its row before any work, and an update's gate (a trigger) refuses that insert while the update
|
|
7
|
-
* owns admission: no terminal starts during a drain;
|
|
8
|
-
* - a row is `starting` or `running` until the terminal's sweep ends, then deleted — or kept as `uncertain` when the
|
|
9
|
-
* sweep couldn't prove its processes gone, until the terminal is removed; the updater counts rows whose console is
|
|
10
|
-
* still alive as active work, so "update when idle" waits for running and unproved terminals;
|
|
11
|
-
* - rows of a console that is gone are stale (its programs went with it, or are swept at its next start).
|
|
12
|
-
*/
|
|
13
1
|
import { chmodSync, lstatSync } from "node:fs";
|
|
14
2
|
import { processMayBeAlive } from "./process-liveness.js";
|
|
15
3
|
import { sqliteRuntime } from "./sqlite-runtime.js";
|
|
@@ -35,7 +23,6 @@ function open(file, readOnly) {
|
|
|
35
23
|
db.exec("PRAGMA busy_timeout=1000");
|
|
36
24
|
return db;
|
|
37
25
|
}
|
|
38
|
-
/** The updater's read: never creates the catalog. */
|
|
39
26
|
function withCatalog(orders, absent, readOnly, action) {
|
|
40
27
|
const file = terminalCatalogPath(orders);
|
|
41
28
|
if (file === null || !exists(file))
|
|
@@ -48,7 +35,6 @@ function withCatalog(orders, absent, readOnly, action) {
|
|
|
48
35
|
db.close();
|
|
49
36
|
}
|
|
50
37
|
}
|
|
51
|
-
/** The console's ledger: creates the catalog, drops rows of consoles that are gone, and writes its own. */
|
|
52
38
|
export function openTerminalLedger(orders, alive = pid => processMayBeAlive(pid, false)) {
|
|
53
39
|
const file = terminalCatalogPath(orders);
|
|
54
40
|
if (file === null)
|
|
@@ -63,8 +49,6 @@ export function openTerminalLedger(orders, alive = pid => processMayBeAlive(pid,
|
|
|
63
49
|
}
|
|
64
50
|
return {
|
|
65
51
|
reserve(id) {
|
|
66
|
-
// Fail closed even where this catalog had no gate to install (it didn't exist yet when the update began): the main
|
|
67
|
-
// database's own admission pause refuses too.
|
|
68
52
|
if (orders.prepare("SELECT 1 FROM sqlite_master WHERE type='trigger' AND name GLOB 'so_desktop_update_*' LIMIT 1").get() !== undefined)
|
|
69
53
|
throw new Error(PAUSED);
|
|
70
54
|
try {
|
|
@@ -75,7 +59,6 @@ export function openTerminalLedger(orders, alive = pid => processMayBeAlive(pid,
|
|
|
75
59
|
}
|
|
76
60
|
},
|
|
77
61
|
running(id) { db.prepare("UPDATE live_terminal SET state='running', at=? WHERE id=?").run(new Date().toISOString(), id); },
|
|
78
|
-
// A sweep that couldn't prove its processes gone stays written down: the updater counts it while this console lives.
|
|
79
62
|
release(id, cleanup) {
|
|
80
63
|
try {
|
|
81
64
|
if (cleanup === "uncertain")
|
|
@@ -83,12 +66,12 @@ export function openTerminalLedger(orders, alive = pid => processMayBeAlive(pid,
|
|
|
83
66
|
else
|
|
84
67
|
db.prepare("DELETE FROM live_terminal WHERE id=?").run(id);
|
|
85
68
|
}
|
|
86
|
-
catch {
|
|
69
|
+
catch { }
|
|
87
70
|
},
|
|
88
71
|
forget(id) { try {
|
|
89
72
|
db.prepare("DELETE FROM live_terminal WHERE id=?").run(id);
|
|
90
73
|
}
|
|
91
|
-
catch {
|
|
74
|
+
catch { } },
|
|
92
75
|
};
|
|
93
76
|
}
|
|
94
77
|
function gateStatement(id) {
|
|
@@ -118,7 +101,6 @@ function changeGate(db, id, install) {
|
|
|
118
101
|
}
|
|
119
102
|
export function installTerminalUpdateGate(orders, id) { withCatalog(orders, undefined, false, db => changeGate(db, id, true)); }
|
|
120
103
|
export function removeTerminalUpdateGate(orders, id) { withCatalog(orders, undefined, false, db => changeGate(db, id, false)); }
|
|
121
|
-
/** Terminals starting or running in a console that is still alive: active work an update waits for. */
|
|
122
104
|
export function activeTerminalUpdateWork(orders, alive = pid => processMayBeAlive(pid, false)) {
|
|
123
105
|
return withCatalog(orders, { terminals: 0 }, true, db => {
|
|
124
106
|
if (!db.prepare("SELECT 1 FROM sqlite_master WHERE type='table' AND name='live_terminal'").get())
|
package/dist/terminal-text.js
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text someone else wrote, made safe to print on a terminal: the one sanitizer the live view, `peek` and the terminal
|
|
3
|
-
* UI share. Escape sequences in every form go (CSI in 7- or 8-bit form, OSC such as hyperlinks and title changes,
|
|
4
|
-
* every other ESC sequence), and with them every C0 and C1 control character (a carriage return that would
|
|
5
|
-
* overwrite a line, a backspace, a bell), every invisible format character and bidi override; a tab becomes a space.
|
|
6
|
-
* Pure: no imports, so the terminal UI's bundle carries it as is.
|
|
7
|
-
*/
|
|
8
|
-
/** Bidi embedding, override and isolate controls. */
|
|
9
1
|
const BIDI_CONTROLS = /[--]/g;
|
|
10
|
-
/** One line: controls, escapes and bidi overrides out; tabs to spaces. A newline is a control here too. */
|
|
11
2
|
export function cleanTerminalLine(text) {
|
|
12
3
|
return text
|
|
13
|
-
// Escape sequences in every form: CSI (7- or 8-bit, any parameter bytes including ':'), OSC, and the rest.
|
|
14
4
|
.replace(/(?:\x1b\[|\u009b)[0-?]*[ -/]*[@-~]/g, "")
|
|
15
5
|
.replace(/(?:\x1b\]|\u009d)[^\x07\x1b\u009c]*(?:\x07|\x1b\\|\u009c)?/g, "")
|
|
16
6
|
.replace(/\x1b[ -/]*[0-~]/g, "")
|
|
17
7
|
.replace(/\t/g, " ")
|
|
18
8
|
.replace(/[\x00-\x1f\x7f-\x9f]/g, "")
|
|
19
|
-
// Every invisible format character (zero-width, direction marks and overrides, joiners, BOM): never shown.
|
|
20
9
|
.replace(/\p{Cf}/gu, "")
|
|
21
10
|
.replace(BIDI_CONTROLS, "");
|
|
22
11
|
}
|
|
23
|
-
/** Any text for the terminal UI: each line cleaned as above, its newlines kept (a lone carriage return is not one). */
|
|
24
12
|
export function terminalText(text) {
|
|
25
13
|
return text.split("\n").map(cleanTerminalLine).join("\n");
|
|
26
14
|
}
|
package/dist/test-infra.js
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test infrastructure, found structurally (docs/plans/auto-approve-green.md): every non-test source file that the tests
|
|
3
|
-
* or the test runner's own setup import, directly or through other files, and that the product's entry points never
|
|
4
|
-
* reach. Changing one changes how tests check things — an automatic release approval leaves that to a person.
|
|
5
|
-
*
|
|
6
|
-
* Imports are read with the TypeScript compiler (typescript-parser, a runtime dependency): `preProcessFile` for static,
|
|
7
|
-
* dynamic and `require` specifiers (comments never count), and the syntax tree for dynamic imports or requires whose
|
|
8
|
-
* specifier isn't a plain string. Specifiers resolve as the build resolves them: relative paths (`./x.js` → `./x.ts`),
|
|
9
|
-
* the project's tsconfig `paths`, and package.json `imports`. Fail closed: a specifier reached from the tests that
|
|
10
|
-
* resolves to no file and to no known package is "unresolved", with what it might name, and the caller refuses when the
|
|
11
|
-
* change touches anything it might name.
|
|
12
|
-
*/
|
|
13
1
|
import { createRequire } from "node:module";
|
|
14
2
|
import { builtinModules } from "node:module";
|
|
15
3
|
let compiler;
|
|
@@ -18,7 +6,6 @@ const SOURCE = /\.(?:[cm]?[jt]sx?)$/;
|
|
|
18
6
|
const TEST = /\.test\.[cm]?[jt]sx?$/;
|
|
19
7
|
const VITEST_CONFIG = /(^|\/)vitest\.config\.[cm]?[jt]s$/;
|
|
20
8
|
const EXTENSIONS = ["ts", "tsx", "mts", "cts", "js", "mjs", "cjs", "jsx"];
|
|
21
|
-
/** The product's entry points: the CLI binary, the processes it starts by file name, and the browser bundles. */
|
|
22
9
|
export const PRODUCT_ENTRIES = Object.freeze([
|
|
23
10
|
"src/bin.ts", "src/cli.ts", "src/controller-service.ts", "src/up-role-child.ts", "src/desktop-host.ts", "src/sandbox-launch.ts", "src/tool-launcher.ts",
|
|
24
11
|
"src/browser/app.tsx", "src/browser/terminal-app.tsx",
|
|
@@ -39,13 +26,11 @@ const join = (dir, spec) => {
|
|
|
39
26
|
return parts.join("/");
|
|
40
27
|
};
|
|
41
28
|
const dirOf = (path) => path.split("/").slice(0, -1).join("/");
|
|
42
|
-
/** A repository path, tried as the build tries it (with or without its extension, or as a folder's index). */
|
|
43
29
|
function fileAt(target, files) {
|
|
44
30
|
const stem = target.replace(/\.(?:[cm]?js|jsx)$/, "");
|
|
45
31
|
const tries = [target, ...EXTENSIONS.map(ext => `${stem}.${ext}`), ...EXTENSIONS.map(ext => `${target}/index.${ext}`)];
|
|
46
32
|
return tries.find(one => files.has(one)) ?? null;
|
|
47
33
|
}
|
|
48
|
-
/** The project's resolution rules, read from its own tsconfig.json and package.json (as text in the same tree). */
|
|
49
34
|
function resolverFor(files, names, allPaths, aliases) {
|
|
50
35
|
const tsc = typescript();
|
|
51
36
|
let paths = {}, baseUrl = "";
|
|
@@ -63,7 +48,6 @@ function resolverFor(files, names, allPaths, aliases) {
|
|
|
63
48
|
pkg = {};
|
|
64
49
|
}
|
|
65
50
|
const packages = new Set([pkg.dependencies, pkg.devDependencies, pkg.peerDependencies, pkg.optionalDependencies].flatMap(one => Object.keys(one ?? {})));
|
|
66
|
-
// The package's own name resolves to itself: never "some installed package".
|
|
67
51
|
const own = typeof pkg.name === "string" ? pkg.name : null;
|
|
68
52
|
const builtins = new Set(builtinModules);
|
|
69
53
|
const pattern = (key, spec) => {
|
|
@@ -73,7 +57,6 @@ function resolverFor(files, names, allPaths, aliases) {
|
|
|
73
57
|
return spec.startsWith(head) && spec.endsWith(tail) && spec.length >= head.length + tail.length ? spec.slice(head.length, spec.length - tail.length) : null;
|
|
74
58
|
};
|
|
75
59
|
return (from, spec) => {
|
|
76
|
-
// vitest's own aliases come first, as vitest applies them.
|
|
77
60
|
for (const alias of aliases) {
|
|
78
61
|
if (spec !== alias.find && !spec.startsWith(`${alias.find}/`))
|
|
79
62
|
continue;
|
|
@@ -86,7 +69,6 @@ function resolverFor(files, names, allPaths, aliases) {
|
|
|
86
69
|
const file = target === null ? null : fileAt(target, names);
|
|
87
70
|
if (file !== null)
|
|
88
71
|
return { file };
|
|
89
|
-
// A file that isn't source (a stylesheet, JSON, an asset) is a leaf: it imports nothing.
|
|
90
72
|
if (target !== null && allPaths.has(target))
|
|
91
73
|
return { external: true };
|
|
92
74
|
return { unresolved: target };
|
|
@@ -123,24 +105,15 @@ function resolverFor(files, names, allPaths, aliases) {
|
|
|
123
105
|
return { unresolved: null };
|
|
124
106
|
if (spec.startsWith("node:") || builtins.has(name) || packages.has(name))
|
|
125
107
|
return { external: true };
|
|
126
|
-
// A package the manifest doesn't declare: what it names can't be known here.
|
|
127
108
|
return { unresolved: null };
|
|
128
109
|
};
|
|
129
110
|
}
|
|
130
|
-
/** The module-loading helpers vitest offers: each takes a specifier first. */
|
|
131
111
|
const VI_LOADERS = new Set(["mock", "doMock", "unmock", "doUnmock", "importActual", "importMock"]);
|
|
132
|
-
/**
|
|
133
|
-
* Every specifier a file names: string ones (preProcessFile: static, dynamic, `require`; comments don't count); every
|
|
134
|
-
* call that loads a module from its first argument — `require`, `import()`, `createRequire(…)(…)` and any name bound to
|
|
135
|
-
* `createRequire(…)`, `vi.*`/`vitest.*` mock and import helpers — whose argument isn't a plain string is computed (`null`,
|
|
136
|
-
* or the template's literal head); and `soft`: every other relative string literal, an edge when it names a repo file.
|
|
137
|
-
*/
|
|
138
112
|
function specifiersOf(path, text) {
|
|
139
113
|
const tsc = typescript();
|
|
140
114
|
const literal = tsc.preProcessFile(text, true, true).importedFiles.map(one => one.fileName);
|
|
141
115
|
const computed = [], soft = [];
|
|
142
116
|
const source = tsc.createSourceFile(path, text, tsc.ScriptTarget.Latest, false, /x$/.test(path) ? tsc.ScriptKind.TSX : tsc.ScriptKind.TS);
|
|
143
|
-
// Names bound to createRequire(…) anywhere in the file (a loader by another name).
|
|
144
117
|
const requires = new Set(["require"]);
|
|
145
118
|
const isCreateRequire = (node) => tsc.isCallExpression(node) && ((tsc.isIdentifier(node.expression) && node.expression.text === "createRequire")
|
|
146
119
|
|| (tsc.isPropertyAccessExpression(node.expression) && node.expression.name.text === "createRequire"));
|
|
@@ -174,10 +147,6 @@ function specifiersOf(path, text) {
|
|
|
174
147
|
visit(source);
|
|
175
148
|
return { literal, computed, soft };
|
|
176
149
|
}
|
|
177
|
-
/**
|
|
178
|
-
* The vitest configs' `resolve.alias` and `test.alias` (string keys to string paths, as an object or a list of
|
|
179
|
-
* `{ find, replacement }`), and whether any alias couldn't be read statically.
|
|
180
|
-
*/
|
|
181
150
|
function vitestAliases(files) {
|
|
182
151
|
const tsc = typescript(), aliases = [], unreadable = [];
|
|
183
152
|
for (const [path, text] of files) {
|
|
@@ -227,7 +196,6 @@ function vitestAliases(files) {
|
|
|
227
196
|
}
|
|
228
197
|
return { aliases, unreadable };
|
|
229
198
|
}
|
|
230
|
-
/** The vitest configs' setupFiles and globalSetup entries (string literals), as repository paths. */
|
|
231
199
|
function setupRoots(files, names) {
|
|
232
200
|
const tsc = typescript(), roots = [], unresolved = [];
|
|
233
201
|
for (const [path, text] of files) {
|
|
@@ -242,7 +210,6 @@ function setupRoots(files, names) {
|
|
|
242
210
|
unresolved.push({ from: path, specifier: null, prefix: null });
|
|
243
211
|
continue;
|
|
244
212
|
}
|
|
245
|
-
// vitest resolves them from its root: the config's own folder, or the repository root a config names.
|
|
246
213
|
const found = [dirOf(path), ""].map(dir => { const target = join(dir, value.text); return target === null ? null : fileAt(target, names); }).find(one => one !== null) ?? null;
|
|
247
214
|
if (found !== null)
|
|
248
215
|
roots.push(found);
|
|
@@ -256,11 +223,6 @@ function setupRoots(files, names) {
|
|
|
256
223
|
}
|
|
257
224
|
return { roots, unresolved };
|
|
258
225
|
}
|
|
259
|
-
/**
|
|
260
|
-
* The infrastructure among `files` (path → text: the tree's sources, and its tsconfig.json and package.json): reachable
|
|
261
|
-
* from a test root — every test file, every file under `test/`, every vitest config and its setup files — not itself a
|
|
262
|
-
* test, and not reachable from PRODUCT_ENTRIES; plus every specifier reached from a test root that couldn't be resolved.
|
|
263
|
-
*/
|
|
264
226
|
export function testInfrastructure(files, allPaths = new Set(files.keys())) {
|
|
265
227
|
const names = new Set([...files.keys()].filter(path => SOURCE.test(path)));
|
|
266
228
|
const vitest = vitestAliases(files);
|
|
@@ -278,7 +240,6 @@ export function testInfrastructure(files, allPaths = new Set(files.keys())) {
|
|
|
278
240
|
}
|
|
279
241
|
for (const head of computed)
|
|
280
242
|
open.push({ from: path, specifier: head, prefix: head === null ? null : join(dirOf(path), head) });
|
|
281
|
-
// Any other relative string that names a repository source file is an edge (a path handed to a loader by any name).
|
|
282
243
|
for (const spec of soft) {
|
|
283
244
|
const found = resolve(path, spec);
|
|
284
245
|
if ("file" in found)
|
|
@@ -308,10 +269,6 @@ export function testInfrastructure(files, allPaths = new Set(files.keys())) {
|
|
|
308
269
|
const unresolved = [...setup.unresolved, ...vitest.unreadable.map(from => ({ from, specifier: null, prefix: null })), ...[...tested].flatMap(path => loose.get(path) ?? [])];
|
|
309
270
|
return { infra, unresolved, product };
|
|
310
271
|
}
|
|
311
|
-
/**
|
|
312
|
-
* Whether a changed path is something an unresolved specifier might name. A computed one (no prefix) might name anything
|
|
313
|
-
* the other rules don't already trust: any source file that is neither a test nor product code.
|
|
314
|
-
*/
|
|
315
272
|
export function mightName(open, path, found) {
|
|
316
273
|
if (open.prefix === null)
|
|
317
274
|
return SOURCE.test(path) && !TEST.test(path) && !found.product.has(path);
|
|
@@ -319,15 +276,8 @@ export function mightName(open, path, found) {
|
|
|
319
276
|
const stem = path.replace(/\.[^/.]+$/, "");
|
|
320
277
|
return path === prefix || stem === prefix.replace(/\.(?:[cm]?js|jsx)$/, "") || path.startsWith(`${prefix}/`) || (open.specifier !== null && open.specifier.endsWith("/") === false && path.startsWith(prefix));
|
|
321
278
|
}
|
|
322
|
-
/** Whether a path is a test file by any extension a test runner could be pointed at, not only those run today. */
|
|
323
279
|
export const isTestPath = (path) => TEST.test(path);
|
|
324
|
-
/** A specifier that names a test file, whatever it is spelled as: `./a.test.js`, `../b.test`, `@/c.test.ts`. */
|
|
325
280
|
const NAMES_TEST = /\.test(?:\.[cm]?[jt]sx?)?(?:[?#].*)?$/;
|
|
326
|
-
/**
|
|
327
|
-
* Why a new test file can't carry on what it imports, or null (docs/plans/trusted-release-reports.md, H4). A test file is
|
|
328
|
-
* never infrastructure here, so nothing else looks at an edge between two of them, and importing one runs its top level
|
|
329
|
-
* (its `vi.mock`s and hooks included) in the importer. A computed import might name one, so it refuses too.
|
|
330
|
-
*/
|
|
331
281
|
export function testImportProblem(path, text) {
|
|
332
282
|
const { literal, computed, soft } = specifiersOf(path, text);
|
|
333
283
|
const named = [...literal, ...soft].find(spec => NAMES_TEST.test(spec));
|
package/dist/test-temp.js
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test temp folders (`toolroll storage`, `storage clean`, the plane's daily storage sweep): what the unit tests,
|
|
3
|
-
* journeys and scripts make in the system temp folder. The suites delete their own on pass, failure, timeout and
|
|
4
|
-
* interrupt (scripts/suite-lifecycle.mjs, test/temp-root.ts); a run killed outright, a proof that keeps its output and
|
|
5
|
-
* older versions leave folders behind. `toolroll storage` counts them; the daily sweep (storage-sweep.ts) and
|
|
6
|
-
* `storage clean` remove the ones nothing has touched for a day, never one whose owner is still running.
|
|
7
|
-
*
|
|
8
|
-
* Every prefix the tests and scripts give tmpdir() is covered here (test-temp.test.ts reads the sources to keep it
|
|
9
|
-
* so), and Playwright's own browser profiles.
|
|
10
|
-
*/
|
|
11
1
|
import { execFile } from "node:child_process";
|
|
12
2
|
import { lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
13
3
|
import { rm } from "node:fs/promises";
|
|
14
4
|
import { tmpdir } from "node:os";
|
|
15
5
|
import { dirname, join, resolve } from "node:path";
|
|
16
6
|
const DAY_MS = 86_400_000;
|
|
17
|
-
/** In a suite's temp root: who made it (scripts/suite-lifecycle.mjs). */
|
|
18
7
|
export const OWNER_FILE = ".toolroll-temp-owner";
|
|
19
|
-
/** Name prefixes of what tests, journeys and scripts leave in the temp folder. */
|
|
20
8
|
export const TEST_TEMP_PREFIXES = [
|
|
21
9
|
"so-", "standing-orders-", "toolroll-", "no-wt", "epoch", "cancel-floor",
|
|
22
10
|
"attest-", "budgets-", "chat-v66-", "check-levels-", "coding-context-", "console-url-", "console-v2-", "e2-attest-",
|
|
@@ -24,10 +12,8 @@ export const TEST_TEMP_PREFIXES = [
|
|
|
24
12
|
"proposal-repo-", "race-", "refresh-migration-", "refresh-refusal-", "release-check-", "shared-chat-", "skills-test-",
|
|
25
13
|
"task-status-surfaces-", "template-repo-", "template-test-", "v14-migrate-", "v17-migrate-", "watch-anchor-",
|
|
26
14
|
"needs-you-", "deps-lock-", "deps-state-", "upgrade-fresh-", "upgrade-path-", "deploy-restore-", "result-review-", "one-result-page-", "deploy-before-swap-", "one-vocabulary-", "accept-finishes-", "lead-promises-", "lead-people-", "sizing-repo-", "batch-checks-", "deps-identity-",
|
|
27
|
-
// Playwright's browser profiles and artifacts.
|
|
28
15
|
"playwright_chromiumdev_profile-", "playwright_firefoxdev_profile-", "playwright-artifacts-",
|
|
29
16
|
];
|
|
30
|
-
/** Who made a temp root, from its owner file; null when it has none (older suites, scripts, Playwright). */
|
|
31
17
|
export function tempOwner(path) {
|
|
32
18
|
try {
|
|
33
19
|
const parsed = JSON.parse(readFileSync(join(path, OWNER_FILE), "utf8"));
|
|
@@ -41,14 +27,12 @@ export function tempOwner(path) {
|
|
|
41
27
|
export function isTestTemp(name) {
|
|
42
28
|
return TEST_TEMP_PREFIXES.some(prefix => name.startsWith(prefix));
|
|
43
29
|
}
|
|
44
|
-
/** Where they collect: the temp folder (and /tmp, where some scripts write). */
|
|
45
30
|
export function tempRoots() {
|
|
46
31
|
const roots = [tmpdir()];
|
|
47
32
|
if (process.platform !== "win32" && !roots.includes("/tmp"))
|
|
48
33
|
roots.push("/tmp");
|
|
49
34
|
return roots;
|
|
50
35
|
}
|
|
51
|
-
/** When anything last happened in a folder: it, or what is directly in it, last changed. */
|
|
52
36
|
function touchedAt(path) {
|
|
53
37
|
let newest = lstatSync(path).mtimeMs;
|
|
54
38
|
let names = [];
|
|
@@ -62,11 +46,10 @@ function touchedAt(path) {
|
|
|
62
46
|
try {
|
|
63
47
|
newest = Math.max(newest, lstatSync(join(path, name)).mtimeMs);
|
|
64
48
|
}
|
|
65
|
-
catch {
|
|
49
|
+
catch { }
|
|
66
50
|
}
|
|
67
51
|
return newest;
|
|
68
52
|
}
|
|
69
|
-
/** Every test temp folder in `roots`, and which of them nothing has touched for a day. */
|
|
70
53
|
export function testTempFolders(roots, now) {
|
|
71
54
|
const all = [];
|
|
72
55
|
const seen = new Set();
|
|
@@ -90,16 +73,11 @@ export function testTempFolders(roots, now) {
|
|
|
90
73
|
seen.add(key);
|
|
91
74
|
all.push({ path, touchedAt: stat.isDirectory() ? touchedAt(path) : stat.mtimeMs });
|
|
92
75
|
}
|
|
93
|
-
catch {
|
|
76
|
+
catch { }
|
|
94
77
|
}
|
|
95
78
|
}
|
|
96
79
|
return { all, stale: all.filter(one => now.getTime() - one.touchedAt > DAY_MS) };
|
|
97
80
|
}
|
|
98
|
-
/**
|
|
99
|
-
* Remove the test temp folders nothing has touched for a day; each is looked at again right before it goes (still a
|
|
100
|
-
* folder of its own, not a link, still directly in its temp folder, still a day untouched, its owner gone, nothing
|
|
101
|
-
* live using it). Removal never holds the event loop: a worker's heartbeats keep beating while thousands go.
|
|
102
|
-
*/
|
|
103
81
|
export async function removeStaleTestTemp(roots, now, options = {}) {
|
|
104
82
|
const removed = [];
|
|
105
83
|
const failed = [];
|
|
@@ -131,13 +109,12 @@ export async function removeStaleTestTemp(roots, now, options = {}) {
|
|
|
131
109
|
return { removed, failed, more: false };
|
|
132
110
|
}
|
|
133
111
|
const nextTurn = () => new Promise(resolve => setImmediate(resolve));
|
|
134
|
-
/** rm -r; a tree a test made read-only (a shared dependency copy, a locked fixture) is made writable first. */
|
|
135
112
|
async function removeTree(path) {
|
|
136
113
|
try {
|
|
137
114
|
await rm(path, { recursive: true, force: true, maxRetries: 3 });
|
|
138
115
|
return;
|
|
139
116
|
}
|
|
140
|
-
catch {
|
|
117
|
+
catch { }
|
|
141
118
|
if (process.platform !== "win32")
|
|
142
119
|
await new Promise(resolve => execFile("chmod", ["-R", "u+w", path], { timeout: 120_000 }, () => resolve()));
|
|
143
120
|
await rm(path, { recursive: true, force: true, maxRetries: 3 });
|
package/dist/text-limits.js
CHANGED
|
@@ -1,53 +1,31 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text limits, in one place, and the one way a limit is met: a model is told the exact limit before it writes, an
|
|
3
|
-
* answer still over it is asked once to shorten (one repair turn), and an answer still over after that is kept whole
|
|
4
|
-
* in the record and linked, never chopped. Chat platforms' own message limits are met by splitting across messages.
|
|
5
|
-
*
|
|
6
|
-
* Limits apply when text is written. Reading never re-validates length, so a runtime with lower limits (0.9.23 to
|
|
7
|
-
* 0.9.26) still opens a store holding longer text (scripts/upgrade-path.mjs, the rollback leg).
|
|
8
|
-
*/
|
|
9
|
-
/** UTF-16 code units, the JavaScript and HTML maxlength measure, unless a name says bytes. */
|
|
10
1
|
export const TEXT_LIMITS = {
|
|
11
|
-
/** A task's goal and its out-of-scope text. */
|
|
12
2
|
goal: 8_000,
|
|
13
3
|
goalBytes: 32_000,
|
|
14
|
-
/** Revise feedback, steering and decision notes. */
|
|
15
4
|
note: 4_000,
|
|
16
5
|
noteBytes: 16_000,
|
|
17
|
-
/** A flow work zone's instructions; nothing is held back for the card's details (they are attached when long). */
|
|
18
6
|
flowInstructions: 8_000,
|
|
19
|
-
/** A flow's zones and steps (src/contracts/flow.ts): a zone's name, a step's id as written, and a reference to another step. */
|
|
20
7
|
flowTitle: 60,
|
|
21
8
|
flowStepId: 32,
|
|
22
9
|
flowRef: 60,
|
|
23
|
-
/** A Message zone's message, or the comment an Update zone leaves. */
|
|
24
10
|
flowMessage: 1_000,
|
|
25
|
-
/** Who decides a "Person decides" zone (a sign-in name), and the subagent who works a zone, as written. */
|
|
26
11
|
flowDecider: 64,
|
|
27
12
|
flowSubagent: 40,
|
|
28
|
-
/** A Build zone's other project: its path. */
|
|
29
13
|
flowRepo: 1_000,
|
|
30
|
-
/** A script's or subagent's answer, a choice's button, a Sort zone's answer and what it means, its question, and a score's level. */
|
|
31
14
|
flowAnswer: 40,
|
|
32
15
|
flowChoice: 40,
|
|
33
16
|
flowSortMeans: 200,
|
|
34
17
|
flowSortQuestion: 300,
|
|
35
18
|
flowSortLevel: 120,
|
|
36
|
-
/** A Web request zone's address, one header's value and the body it sends (an email's body too). */
|
|
37
19
|
flowUrl: 2_000,
|
|
38
20
|
flowHeader: 500,
|
|
39
21
|
flowBody: 8_000,
|
|
40
|
-
/** An email's recipients and subject. */
|
|
41
22
|
flowEmailTo: 500,
|
|
42
23
|
flowEmailSubject: 200,
|
|
43
|
-
/** A tool zone's tool (MCP server), its function, and the arguments as JSON. */
|
|
44
24
|
flowToolServer: 64,
|
|
45
25
|
flowToolName: 100,
|
|
46
26
|
flowToolArgs: 4_000,
|
|
47
|
-
/** A wait or reminder said in words ("3 days"), and a time zone's name. */
|
|
48
27
|
flowDuration: 40,
|
|
49
28
|
flowTimeZone: 60,
|
|
50
|
-
/** A flow's name, and a flow file's about line, needs, parameter questions and answers, and scripts. */
|
|
51
29
|
flowName: 80,
|
|
52
30
|
flowFileAbout: 600,
|
|
53
31
|
flowFileNeed: 80,
|
|
@@ -55,7 +33,6 @@ export const TEXT_LIMITS = {
|
|
|
55
33
|
flowScriptAbout: 160,
|
|
56
34
|
flowScriptBody: 20_000,
|
|
57
35
|
flowScriptFile: 200,
|
|
58
|
-
/** A trigger's settings: a button's label and questions, a schedule and the card it makes, GitHub, Linear, webhook and email terms. */
|
|
59
36
|
triggerButton: 40,
|
|
60
37
|
triggerQuestion: 80,
|
|
61
38
|
triggerSchedule: 80,
|
|
@@ -68,97 +45,61 @@ export const TEXT_LIMITS = {
|
|
|
68
45
|
triggerState: 40,
|
|
69
46
|
triggerWebhookTitle: 120,
|
|
70
47
|
triggerWebhookField: 80,
|
|
71
|
-
/** v126: a Sentry or Vercel project (or Vercel team) a signed webhook is scoped to. */
|
|
72
48
|
triggerWebhookScope: 120,
|
|
73
49
|
triggerFolder: 100,
|
|
74
50
|
triggerSender: 300,
|
|
75
51
|
triggerSubject: 100,
|
|
76
|
-
/** A schedule's secrets written as one line ("API_KEY, CRM_TOKEN"). */
|
|
77
52
|
triggerSecrets: 500,
|
|
78
|
-
/** A card the lead adds to a flow: its title and description; a script it saves inline. */
|
|
79
53
|
flowCardTitle: 200,
|
|
80
54
|
flowCardDescription: 4_000,
|
|
81
55
|
flowScriptInline: 1_600,
|
|
82
|
-
/** A research report's summary, in UTF-8 bytes. */
|
|
83
56
|
reportSummary: 2_500,
|
|
84
|
-
/** A scout's whole report file (src/contracts/scout-report.ts), in UTF-8 bytes. */
|
|
85
57
|
reportPayloadBytes: 96 * 1024,
|
|
86
|
-
/** A report's document (markdown), in UTF-8 bytes. */
|
|
87
58
|
reportDocumentBytes: 64 * 1024,
|
|
88
|
-
/** A report's title, and a follow-up's or an item's title, in UTF-8 bytes. */
|
|
89
59
|
reportTitleBytes: 200,
|
|
90
|
-
/** Why an item fits, in UTF-8 bytes. */
|
|
91
60
|
reportWhyBytes: 1_000,
|
|
92
|
-
/** A web address a report cites, in UTF-8 bytes. */
|
|
93
61
|
reportUrlBytes: 2_000,
|
|
94
|
-
/** A screenshot's caption and its file name, in UTF-8 bytes. */
|
|
95
62
|
reportCaptionBytes: 300,
|
|
96
|
-
/** What one flow step passes on to the steps after it. */
|
|
97
63
|
stageOutput: 12_000,
|
|
98
|
-
/** The planner's whole handoff file, in UTF-8 bytes. */
|
|
99
64
|
planPayloadBytes: 64 * 1024,
|
|
100
|
-
/** The plan document (markdown), in UTF-8 bytes. */
|
|
101
65
|
planDocumentBytes: 16 * 1024,
|
|
102
|
-
/** The plan document's Approach section. */
|
|
103
66
|
planApproach: 2_000,
|
|
104
|
-
/** One Milestones, Dependencies, Risks or Proof item in the plan document. */
|
|
105
67
|
planItem: 600,
|
|
106
|
-
/** One path a plan expects to touch. */
|
|
107
68
|
planTouch: 200,
|
|
108
|
-
/** How many paths a task's scope may say it touches (a plan says at most 32 of them). A count, not a length. */
|
|
109
69
|
scopeTouches: 50,
|
|
110
|
-
/** Why a task was sized as it was, as its sealed route keeps it. */
|
|
111
70
|
sizeReason: 300,
|
|
112
|
-
/** A planner's amendment note: why the filed contract must change. */
|
|
113
71
|
planAmendment: 1_000,
|
|
114
|
-
/** An acceptance criterion's id, statement and advisory how, in UTF-8 bytes. */
|
|
115
72
|
acceptanceIdBytes: 40,
|
|
116
73
|
acceptanceStatementBytes: 1_000,
|
|
117
74
|
acceptanceHowBytes: 500,
|
|
118
|
-
/** A builder's whole proof file, in UTF-8 bytes. */
|
|
119
75
|
proofPayloadBytes: 64 * 1024,
|
|
120
|
-
/** A proof criterion's id, in UTF-8 bytes. */
|
|
121
76
|
proofCriterionIdBytes: 40,
|
|
122
|
-
/** How a proof criterion was met, in UTF-8 bytes. */
|
|
123
77
|
proofHowBytes: 500,
|
|
124
|
-
/** One proof line — a criterion statement, evidence ref, check command or summary, changed path, caveat, or
|
|
125
|
-
* screenshot path or caption — in UTF-8 bytes. */
|
|
126
78
|
proofLineBytes: 300,
|
|
127
|
-
/** The task sizing classifier's reason (src/contracts/task-sizing.ts). */
|
|
128
79
|
sizingReason: 160,
|
|
129
|
-
/** A review comment's or build-review finding's path, and its note or failure scenario (src/contracts/review-findings.ts). */
|
|
130
80
|
reviewPath: 300,
|
|
131
81
|
reviewNote: 500,
|
|
132
|
-
/** A parked decision (src/contracts/decision.ts): its recap and question, an option's id, label and consequence, and who it is for. */
|
|
133
82
|
decisionRecap: 2_000,
|
|
134
83
|
decisionQuestion: 2_000,
|
|
135
84
|
decisionOptionId: 40,
|
|
136
|
-
/** A decision's recommendation: an option's id, optionally followed by ": " and why. */
|
|
137
85
|
decisionRecommendation: 500,
|
|
138
86
|
decisionLabel: 120,
|
|
139
87
|
decisionConsequence: 500,
|
|
140
88
|
decisionAssignee: 120,
|
|
141
|
-
/** A subagent's turn (src/contracts/subagent-turn.ts): the answer it picks (and each option it offers), its question, its reason and what it remembers. */
|
|
142
89
|
subagentAnswer: 60,
|
|
143
90
|
subagentQuestion: 600,
|
|
144
91
|
subagentReason: 400,
|
|
145
92
|
subagentRemember: 300,
|
|
146
|
-
/** The lead's tools and the MCP gateway (src/contracts/lead-tools.ts, gateway-tools.ts): a task's id as a tool names
|
|
147
|
-
* it, a task's title and one path it touches, and a project's path as the gateway names it (an assignment brief or
|
|
148
|
-
* project context, and the rest of the gateway). */
|
|
149
93
|
taskRef: 64,
|
|
150
94
|
taskTitle: 200,
|
|
151
95
|
taskTouch: 200,
|
|
152
96
|
projectPath: 4_096,
|
|
153
97
|
gatewayRepo: 800,
|
|
154
|
-
/** A project-context query, a check-log search, a memory search, a task search and a changed file's path. */
|
|
155
98
|
contextQuery: 1_000,
|
|
156
99
|
logSearch: 120,
|
|
157
100
|
memorySearch: 300,
|
|
158
101
|
taskSearch: 200,
|
|
159
102
|
diffPath: 300,
|
|
160
|
-
/** A hold's or cancel's reason, an answer's rationale and option, a worker's name, an agent change's reason, a
|
|
161
|
-
* provider and model name, how a task's checks were asked for, and an ISO time a recap counts from. */
|
|
162
103
|
proposalReason: 200,
|
|
163
104
|
answerRationale: 400,
|
|
164
105
|
answerOption: 64,
|
|
@@ -168,7 +109,6 @@ export const TEXT_LIMITS = {
|
|
|
168
109
|
agentModel: 120,
|
|
169
110
|
checksWords: 80,
|
|
170
111
|
recapSince: 30,
|
|
171
|
-
/** A shared action's fields as the lead proposes them (propose_action). */
|
|
172
112
|
actionSample: 800,
|
|
173
113
|
actionContent: 12_000,
|
|
174
114
|
actionTitle: 120,
|
|
@@ -177,8 +117,6 @@ export const TEXT_LIMITS = {
|
|
|
177
117
|
actionUrl: 500,
|
|
178
118
|
actionSecret: 64,
|
|
179
119
|
actionAbout: 240,
|
|
180
|
-
/** A subagent change (propose_subagent): a soul section's title, a routine's schedule, a tool, an action, a limit's
|
|
181
|
-
* field, a name, a soul file, a note, a choice and text. */
|
|
182
120
|
subagentSection: 60,
|
|
183
121
|
subagentSchedule: 80,
|
|
184
122
|
subagentTool: 40,
|
|
@@ -188,8 +126,6 @@ export const TEXT_LIMITS = {
|
|
|
188
126
|
subagentNote: 300,
|
|
189
127
|
subagentChoice: 60,
|
|
190
128
|
subagentText: 2_000,
|
|
191
|
-
/** A project knowledge reference id, a promise and why it is released, what the lead remembers (its text, a
|
|
192
|
-
* decision's reason and source), a person's name, and a question to the owner with its options. */
|
|
193
129
|
knowledgeReference: 20,
|
|
194
130
|
promise: 240,
|
|
195
131
|
rememberText: 240,
|
|
@@ -198,18 +134,12 @@ export const TEXT_LIMITS = {
|
|
|
198
134
|
personName: 80,
|
|
199
135
|
ownerQuestion: 200,
|
|
200
136
|
ownerOption: 40,
|
|
201
|
-
/** A gateway filing's idempotency key. */
|
|
202
137
|
idempotencyKey: 64,
|
|
203
|
-
/** The lead's catch-up bundle (src/contracts/lead-context.ts), in UTF-8 bytes, and the lines it clips: an open promise,
|
|
204
|
-
* a confirmed correction, the end of changed instructions a correction shows, and what an open proposal is about. */
|
|
205
138
|
leadContextBytes: 8_000,
|
|
206
139
|
leadPromise: 160,
|
|
207
140
|
leadCorrection: 300,
|
|
208
141
|
leadCorrectionInstructions: 240,
|
|
209
142
|
leadProposalAbout: 120,
|
|
210
|
-
/** Project knowledge (src/contracts/project-knowledge.ts), in UTF-8 bytes: the instructions (also the memory pass's
|
|
211
|
-
* budget for them), a reference's title, path and text, the context a run gets, the decision lines in it, and the
|
|
212
|
-
* repository excerpts added when at least the minimum is left. */
|
|
213
143
|
knowledgeInstructionsBytes: 4_000,
|
|
214
144
|
knowledgeTitleBytes: 120,
|
|
215
145
|
knowledgePathBytes: 300,
|
|
@@ -218,16 +148,11 @@ export const TEXT_LIMITS = {
|
|
|
218
148
|
knowledgeDecisionsBytes: 1_500,
|
|
219
149
|
knowledgeRepositoryBytes: 6_000,
|
|
220
150
|
knowledgeRepositoryMinBytes: 3_000,
|
|
221
|
-
/** A project decision (src/contracts/project-memory.ts), in UTF-8 bytes: the choice, why, who decided, where it came
|
|
222
|
-
* from, and why it was retired. */
|
|
223
151
|
decisionClaimBytes: 240,
|
|
224
152
|
decisionWhyBytes: 2_000,
|
|
225
153
|
decisionByBytes: 80,
|
|
226
154
|
decisionSourceBytes: 200,
|
|
227
155
|
decisionRetireBytes: 500,
|
|
228
|
-
/** A skill package (src/contracts/project-skills.ts): its name, description, requirements and source in UTF-8 bytes,
|
|
229
|
-
* a file's path, SKILL.md, one file, the package and the enabled selection in bytes; a test's sample request and
|
|
230
|
-
* feedback in characters and bytes. */
|
|
231
156
|
skillNameBytes: 64,
|
|
232
157
|
skillDescriptionBytes: 1_024,
|
|
233
158
|
skillRequirementsBytes: 500,
|
|
@@ -241,28 +166,20 @@ export const TEXT_LIMITS = {
|
|
|
241
166
|
skillSampleBytes: 4_000,
|
|
242
167
|
skillFeedback: 500,
|
|
243
168
|
skillFeedbackBytes: 2_000,
|
|
244
|
-
/** The memory pass (src/contracts/memory-pass.ts): one session's trace, and in its verdict an effect, a mistake and
|
|
245
|
-
* the instruction it proposes. */
|
|
246
169
|
memoryTrace: 40_000,
|
|
247
170
|
memoryEffect: 300,
|
|
248
171
|
memoryMistake: 300,
|
|
249
172
|
memoryInstruction: 240,
|
|
250
|
-
/** A Telegram button's callback_data, in UTF-8 bytes: Telegram refuses a button with more. */
|
|
251
173
|
telegramCallbackDataBytes: 64,
|
|
252
174
|
};
|
|
253
|
-
/** One chat message on each platform. Longer text is split across messages, never cut. Teams: the text one Adaptive Card
|
|
254
|
-
* holds, well inside its 28 KB message. */
|
|
255
175
|
export const PLATFORM_LIMITS = { telegram: 4_096, discord: 2_000, slack: 4_000, teams: 6_000 };
|
|
256
176
|
const count = (n) => n.toLocaleString("en-US");
|
|
257
|
-
/** The line a model reads before it writes a field with a limit. */
|
|
258
177
|
export function limitRule(what, limit, unit = "characters", shorten = true) {
|
|
259
178
|
if (!shorten)
|
|
260
179
|
return `${what}: at most ${count(limit)} ${unit}. Longer text is refused.`;
|
|
261
180
|
return `${what}: at most ${count(limit)} ${unit}. Put the most important part first. Longer text is not cut: you will be asked to shorten it.`;
|
|
262
181
|
}
|
|
263
|
-
/** How long a text is in a limit's unit. */
|
|
264
182
|
export const lengthIn = (text, unit = "characters") => unit === "bytes" ? Buffer.byteLength(text, "utf8") : text.length;
|
|
265
|
-
/** The fields of `values` over their limits. */
|
|
266
183
|
export function overruns(values, limits, unit = "characters") {
|
|
267
184
|
return Object.entries(limits).flatMap(([field, limit]) => {
|
|
268
185
|
const value = values[field];
|
|
@@ -272,7 +189,6 @@ export function overruns(values, limits, unit = "characters") {
|
|
|
272
189
|
return length > limit ? [{ field, limit, length, ...(unit === "bytes" ? { unit } : {}) }] : [];
|
|
273
190
|
});
|
|
274
191
|
}
|
|
275
|
-
/** The repair turn's ask: each field over its limit, by how much, and the same answer again within it. */
|
|
276
192
|
export function shortenAsk(over) {
|
|
277
193
|
return [
|
|
278
194
|
"Your answer is over a limit:",
|
|
@@ -280,10 +196,6 @@ export function shortenAsk(over) {
|
|
|
280
196
|
"Answer again with the same decision and meaning, each field within its limit. Shorten by dropping repetition and detail, not facts that matter.",
|
|
281
197
|
].join("\n");
|
|
282
198
|
}
|
|
283
|
-
/**
|
|
284
|
-
* Ask, check, and ask once more to shorten. `write` gets null the first time and the shorten ask the second.
|
|
285
|
-
* The second answer is returned whatever its length: the caller keeps it whole (and links it when it must).
|
|
286
|
-
*/
|
|
287
199
|
export async function writeWithin(write, check) {
|
|
288
200
|
const first = await write(null);
|
|
289
201
|
const over = check(first);
|
|
@@ -292,10 +204,6 @@ export async function writeWithin(write, check) {
|
|
|
292
204
|
const second = await write(shortenAsk(over));
|
|
293
205
|
return { answer: second, over: check(second), repaired: true };
|
|
294
206
|
}
|
|
295
|
-
/**
|
|
296
|
-
* Text passed on under a limit: whole when it fits; otherwise kept whole in the record named by `where` and passed on
|
|
297
|
-
* as a pointer to it. Never a cut.
|
|
298
|
-
*/
|
|
299
207
|
export function passOn(text, limit, where, holds = "a step passes on") {
|
|
300
208
|
if (text.length <= limit)
|
|
301
209
|
return { text, kept: false };
|