@stringsync/splates 0.0.61 → 1.13.3
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/README.md +2 -2
- package/artifact.d.ts +2 -2
- package/blockers.d.ts +1 -1
- package/config.d.ts +12 -0
- package/config.js +0 -0
- package/creds.d.ts +2 -2
- package/evals.d.ts +2 -2
- package/flags.d.ts +4 -4
- package/handoff.d.ts +3 -4
- package/hook.d.ts +2 -2
- package/index.js +108 -108
- package/lane.d.ts +2 -2
- package/mirror.d.ts +14 -0
- package/mirror.js +22 -0
- package/package.json +12 -4
- package/projects.d.ts +2 -2
- package/queue.d.ts +2 -2
- package/replica.d.ts +2 -2
- package/server.d.ts +2 -2
- package/setup.d.ts +2 -2
- package/ship.d.ts +2 -2
- package/slots.d.ts +2 -2
- package/splates.d.ts +2 -2
- package/task.d.ts +2 -2
- package/tunnel.d.ts +2 -2
- package/vendor/@stringsync/splates-server/LICENSE +21 -0
- package/vendor/@stringsync/splates-server/age.d.ts +2 -0
- package/vendor/@stringsync/splates-server/agents/acp-extensions.d.ts +92 -0
- package/vendor/@stringsync/splates-server/agents/agents.d.ts +19 -0
- package/vendor/@stringsync/splates-server/agents/compaction.d.ts +17 -0
- package/vendor/@stringsync/splates-server/agents/connection.d.ts +191 -0
- package/vendor/@stringsync/splates-server/agents/errors.d.ts +8 -0
- package/vendor/@stringsync/splates-server/agents/fold.d.ts +45 -0
- package/vendor/@stringsync/splates-server/agents/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/agents/index.js +60 -0
- package/vendor/@stringsync/splates-server/agents/process.d.ts +67 -0
- package/vendor/@stringsync/splates-server/agents/scratch.d.ts +7 -0
- package/vendor/@stringsync/splates-server/agents/shared-browser.d.ts +47 -0
- package/vendor/@stringsync/splates-server/agents/start-lock.d.ts +24 -0
- package/vendor/@stringsync/splates-server/agents/stream.d.ts +91 -0
- package/vendor/@stringsync/splates-server/agents/tool-calls.d.ts +18 -0
- package/vendor/@stringsync/splates-server/agents/watch.d.ts +46 -0
- package/vendor/@stringsync/splates-server/agents/watched.d.ts +43 -0
- package/vendor/@stringsync/splates-server/artifacts/artifact.d.ts +33 -0
- package/vendor/@stringsync/splates-server/artifacts/artifacts.d.ts +162 -0
- package/vendor/@stringsync/splates-server/artifacts/attach.d.ts +31 -0
- package/vendor/@stringsync/splates-server/artifacts/attachments.d.ts +50 -0
- package/vendor/@stringsync/splates-server/artifacts/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/artifacts/index.js +38 -0
- package/vendor/@stringsync/splates-server/artifacts/room.d.ts +46 -0
- package/vendor/@stringsync/splates-server/artifacts/routes.d.ts +22 -0
- package/vendor/@stringsync/splates-server/artifacts/viewers.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/classes.d.ts +29 -0
- package/vendor/@stringsync/splates-server/auto-pick/classify.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/clef.d.ts +15 -0
- package/vendor/@stringsync/splates-server/auto-pick/decide.d.ts +78 -0
- package/vendor/@stringsync/splates-server/auto-pick/defaults.d.ts +3 -0
- package/vendor/@stringsync/splates-server/auto-pick/follow-up.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/index.d.ts +24 -0
- package/vendor/@stringsync/splates-server/auto-pick/jev.d.ts +38 -0
- package/vendor/@stringsync/splates-server/auto-pick/judge.d.ts +21 -0
- package/vendor/@stringsync/splates-server/auto-pick/judged.d.ts +33 -0
- package/vendor/@stringsync/splates-server/auto-pick/key.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/lift.d.ts +18 -0
- package/vendor/@stringsync/splates-server/auto-pick/queue.d.ts +30 -0
- package/vendor/@stringsync/splates-server/auto-pick/rank.d.ts +10 -0
- package/vendor/@stringsync/splates-server/auto-pick/record.d.ts +19 -0
- package/vendor/@stringsync/splates-server/auto-pick/routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/rule-names.d.ts +9 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules-routes.d.ts +49 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules.d.ts +97 -0
- package/vendor/@stringsync/splates-server/auto-pick/start.d.ts +79 -0
- package/vendor/@stringsync/splates-server/auto-pick/store.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/system-one.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/trial.d.ts +32 -0
- package/vendor/@stringsync/splates-server/board/backlog.d.ts +4 -0
- package/vendor/@stringsync/splates-server/board/blocked-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/board/browser.d.ts +8 -0
- package/vendor/@stringsync/splates-server/board/change-lane.d.ts +12 -0
- package/vendor/@stringsync/splates-server/board/deferral.d.ts +87 -0
- package/vendor/@stringsync/splates-server/board/elsewhere-links.d.ts +26 -0
- package/vendor/@stringsync/splates-server/board/elsewhere.d.ts +119 -0
- package/vendor/@stringsync/splates-server/board/index.d.ts +21 -0
- package/vendor/@stringsync/splates-server/board/index.js +112 -0
- package/vendor/@stringsync/splates-server/board/lane.d.ts +69 -0
- package/vendor/@stringsync/splates-server/board/lanes-from-tags.d.ts +17 -0
- package/vendor/@stringsync/splates-server/board/lanes.d.ts +117 -0
- package/vendor/@stringsync/splates-server/board/routes.d.ts +54 -0
- package/vendor/@stringsync/splates-server/board/store.d.ts +74 -0
- package/vendor/@stringsync/splates-server/board/task-edit.d.ts +81 -0
- package/vendor/@stringsync/splates-server/board/task-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/board/task-journal.d.ts +9 -0
- package/vendor/@stringsync/splates-server/board/task-lanes.d.ts +95 -0
- package/vendor/@stringsync/splates-server/board/task-list.d.ts +40 -0
- package/vendor/@stringsync/splates-server/board/task.d.ts +301 -0
- package/vendor/@stringsync/splates-server/board/tasks.d.ts +172 -0
- package/vendor/@stringsync/splates-server/chunk-files-jkqj87yx.js +14 -0
- package/vendor/@stringsync/splates-server/chunk-maps-mnjqydx4.txt +1 -0
- package/vendor/@stringsync/splates-server/chunks-3jkzx1q9.txt +1 -0
- package/vendor/@stringsync/splates-server/comma-list.d.ts +2 -0
- package/vendor/@stringsync/splates-server/comma-list.js +6 -0
- package/vendor/@stringsync/splates-server/config/browser.d.ts +1 -0
- package/vendor/@stringsync/splates-server/config/config.d.ts +210 -0
- package/vendor/@stringsync/splates-server/config/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/config/index.js +42 -0
- package/vendor/@stringsync/splates-server/config/legacy-names.d.ts +70 -0
- package/vendor/@stringsync/splates-server/config/legacy-ps.d.ts +32 -0
- package/vendor/@stringsync/splates-server/config/load.d.ts +46 -0
- package/vendor/@stringsync/splates-server/config/source.d.ts +7 -0
- package/vendor/@stringsync/splates-server/config/type-config.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/answered.d.ts +7 -0
- package/vendor/@stringsync/splates-server/conversations/archive.d.ts +16 -0
- package/vendor/@stringsync/splates-server/conversations/background.d.ts +21 -0
- package/vendor/@stringsync/splates-server/conversations/browser.d.ts +12 -0
- package/vendor/@stringsync/splates-server/conversations/choice.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/compact.d.ts +6 -0
- package/vendor/@stringsync/splates-server/conversations/conversation.d.ts +420 -0
- package/vendor/@stringsync/splates-server/conversations/conversations.d.ts +181 -0
- package/vendor/@stringsync/splates-server/conversations/entry.d.ts +286 -0
- package/vendor/@stringsync/splates-server/conversations/events.d.ts +36 -0
- package/vendor/@stringsync/splates-server/conversations/files.d.ts +62 -0
- package/vendor/@stringsync/splates-server/conversations/given.d.ts +18 -0
- package/vendor/@stringsync/splates-server/conversations/heard.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/host.d.ts +176 -0
- package/vendor/@stringsync/splates-server/conversations/index.d.ts +22 -0
- package/vendor/@stringsync/splates-server/conversations/index.js +80 -0
- package/vendor/@stringsync/splates-server/conversations/listing.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/log.d.ts +117 -0
- package/vendor/@stringsync/splates-server/conversations/messages.d.ts +23 -0
- package/vendor/@stringsync/splates-server/conversations/name.d.ts +38 -0
- package/vendor/@stringsync/splates-server/conversations/options.d.ts +87 -0
- package/vendor/@stringsync/splates-server/conversations/outside.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/reference.d.ts +2 -0
- package/vendor/@stringsync/splates-server/conversations/routes.d.ts +109 -0
- package/vendor/@stringsync/splates-server/conversations/search.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/spent.d.ts +19 -0
- package/vendor/@stringsync/splates-server/conversations/state.d.ts +606 -0
- package/vendor/@stringsync/splates-server/conversations/stream.d.ts +34 -0
- package/vendor/@stringsync/splates-server/conversations/transcript.d.ts +9 -0
- package/vendor/@stringsync/splates-server/conversations/tree.d.ts +11 -0
- package/vendor/@stringsync/splates-server/conversations/turn-end.d.ts +30 -0
- package/vendor/@stringsync/splates-server/conversations/turns.d.ts +134 -0
- package/vendor/@stringsync/splates-server/conversations/updates.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/creds.d.ts +86 -0
- package/vendor/@stringsync/splates-server/creds/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/creds/index.js +28 -0
- package/vendor/@stringsync/splates-server/creds/key-file.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/requests.d.ts +54 -0
- package/vendor/@stringsync/splates-server/creds/routes.d.ts +16 -0
- package/vendor/@stringsync/splates-server/creds/stores.d.ts +37 -0
- package/vendor/@stringsync/splates-server/dictate/connection.d.ts +18 -0
- package/vendor/@stringsync/splates-server/dictate/dictate.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/index.d.ts +4 -0
- package/vendor/@stringsync/splates-server/dictate/personal.d.ts +26 -0
- package/vendor/@stringsync/splates-server/dictate/transcriber.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/vocabulary.d.ts +12 -0
- package/vendor/@stringsync/splates-server/evals/agents-routes.d.ts +27 -0
- package/vendor/@stringsync/splates-server/evals/agents.d.ts +25 -0
- package/vendor/@stringsync/splates-server/evals/contract.d.ts +73 -0
- package/vendor/@stringsync/splates-server/evals/done.d.ts +11 -0
- package/vendor/@stringsync/splates-server/evals/import.d.ts +10 -0
- package/vendor/@stringsync/splates-server/evals/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/evals/index.js +40 -0
- package/vendor/@stringsync/splates-server/evals/inspect.d.ts +66 -0
- package/vendor/@stringsync/splates-server/evals/launch-routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/launch.d.ts +123 -0
- package/vendor/@stringsync/splates-server/evals/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/store.d.ts +17 -0
- package/vendor/@stringsync/splates-server/evals/target.d.ts +3 -0
- package/vendor/@stringsync/splates-server/evals/types.d.ts +105 -0
- package/vendor/@stringsync/splates-server/exit.d.ts +55 -0
- package/vendor/@stringsync/splates-server/exit.js +12 -0
- package/vendor/@stringsync/splates-server/git-identity.d.ts +17 -0
- package/vendor/@stringsync/splates-server/git-process.d.ts +8 -0
- package/vendor/@stringsync/splates-server/git.d.ts +168 -0
- package/vendor/@stringsync/splates-server/hooks/commands.d.ts +31 -0
- package/vendor/@stringsync/splates-server/hooks/edit.d.ts +24 -0
- package/vendor/@stringsync/splates-server/hooks/events.d.ts +20 -0
- package/vendor/@stringsync/splates-server/hooks/groomer.d.ts +8 -0
- package/vendor/@stringsync/splates-server/hooks/index.d.ts +17 -0
- package/vendor/@stringsync/splates-server/hooks/index.js +61 -0
- package/vendor/@stringsync/splates-server/hooks/now.d.ts +9 -0
- package/vendor/@stringsync/splates-server/hooks/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/hooks/runner.d.ts +75 -0
- package/vendor/@stringsync/splates-server/hooks/runs.d.ts +38 -0
- package/vendor/@stringsync/splates-server/hooks/schedule.d.ts +10 -0
- package/vendor/@stringsync/splates-server/hooks/scheduler.d.ts +28 -0
- package/vendor/@stringsync/splates-server/hooks/store.d.ts +110 -0
- package/vendor/@stringsync/splates-server/index-01z7ycdk.js +6 -0
- package/vendor/@stringsync/splates-server/index-0jttnv86.js +1309 -0
- package/vendor/@stringsync/splates-server/index-5axhdy8c.js +692 -0
- package/vendor/@stringsync/splates-server/index-76t8y8h5.js +779 -0
- package/vendor/@stringsync/splates-server/index-7s01973c.js +2356 -0
- package/vendor/@stringsync/splates-server/index-acbcm66f.js +1468 -0
- package/vendor/@stringsync/splates-server/index-caep3sde.js +27140 -0
- package/vendor/@stringsync/splates-server/index-e9z7s5hh.js +641 -0
- package/vendor/@stringsync/splates-server/index-g18nxyn7.js +99 -0
- package/vendor/@stringsync/splates-server/index-kmzdvvt0.js +23 -0
- package/vendor/@stringsync/splates-server/index-raqrwzdq.js +952 -0
- package/vendor/@stringsync/splates-server/index-t9w5a8ed.js +60 -0
- package/vendor/@stringsync/splates-server/limited.d.ts +8 -0
- package/vendor/@stringsync/splates-server/log.d.ts +14 -0
- package/vendor/@stringsync/splates-server/log.js +32 -0
- package/vendor/@stringsync/splates-server/merge/attribution.d.ts +24 -0
- package/vendor/@stringsync/splates-server/merge/batch.d.ts +119 -0
- package/vendor/@stringsync/splates-server/merge/blame.d.ts +21 -0
- package/vendor/@stringsync/splates-server/merge/branches.d.ts +151 -0
- package/vendor/@stringsync/splates-server/merge/charge.d.ts +18 -0
- package/vendor/@stringsync/splates-server/merge/clear-gate.d.ts +7 -0
- package/vendor/@stringsync/splates-server/merge/cores.d.ts +60 -0
- package/vendor/@stringsync/splates-server/merge/estimates.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/finish.d.ts +43 -0
- package/vendor/@stringsync/splates-server/merge/follow.d.ts +50 -0
- package/vendor/@stringsync/splates-server/merge/gate.d.ts +108 -0
- package/vendor/@stringsync/splates-server/merge/github-app.d.ts +99 -0
- package/vendor/@stringsync/splates-server/merge/github-refused.d.ts +5 -0
- package/vendor/@stringsync/splates-server/merge/groups.d.ts +8 -0
- package/vendor/@stringsync/splates-server/merge/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/index.js +46 -0
- package/vendor/@stringsync/splates-server/merge/landed.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/landing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/merge/local-landing.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/merge-state.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/merge.d.ts +45 -0
- package/vendor/@stringsync/splates-server/merge/output.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/phases.d.ts +27 -0
- package/vendor/@stringsync/splates-server/merge/pre-lock.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/preflight.d.ts +16 -0
- package/vendor/@stringsync/splates-server/merge/queue-failures.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/rebase.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/recent-failures.d.ts +10 -0
- package/vendor/@stringsync/splates-server/merge/refusal.d.ts +58 -0
- package/vendor/@stringsync/splates-server/merge/split.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/steps.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/test-report.d.ts +29 -0
- package/vendor/@stringsync/splates-server/merge/timing.d.ts +20 -0
- package/vendor/@stringsync/splates-server/merge/trunk.d.ts +69 -0
- package/vendor/@stringsync/splates-server/models/codex-limits.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/effort.d.ts +22 -0
- package/vendor/@stringsync/splates-server/models/index.d.ts +13 -0
- package/vendor/@stringsync/splates-server/models/index.js +76 -0
- package/vendor/@stringsync/splates-server/models/kimi-limits.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/kimi-usage.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/kimi.d.ts +10 -0
- package/vendor/@stringsync/splates-server/models/limits.d.ts +32 -0
- package/vendor/@stringsync/splates-server/models/models.d.ts +36 -0
- package/vendor/@stringsync/splates-server/models/offered.d.ts +47 -0
- package/vendor/@stringsync/splates-server/models/opencode-usage.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/roster.d.ts +130 -0
- package/vendor/@stringsync/splates-server/plans/asked.d.ts +99 -0
- package/vendor/@stringsync/splates-server/plans/browser.d.ts +13 -0
- package/vendor/@stringsync/splates-server/plans/decided.d.ts +12 -0
- package/vendor/@stringsync/splates-server/plans/demo.d.ts +29 -0
- package/vendor/@stringsync/splates-server/plans/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/plans/index.js +137 -0
- package/vendor/@stringsync/splates-server/plans/needs.d.ts +131 -0
- package/vendor/@stringsync/splates-server/plans/permission.d.ts +64 -0
- package/vendor/@stringsync/splates-server/plans/plan.d.ts +223 -0
- package/vendor/@stringsync/splates-server/plans/prompts.d.ts +148 -0
- package/vendor/@stringsync/splates-server/plans/reply.d.ts +45 -0
- package/vendor/@stringsync/splates-server/plans/run-command.d.ts +21 -0
- package/vendor/@stringsync/splates-server/plans/store.d.ts +26 -0
- package/vendor/@stringsync/splates-server/plans/unanswered.d.ts +15 -0
- package/vendor/@stringsync/splates-server/ports/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/ports/index.js +36 -0
- package/vendor/@stringsync/splates-server/ports/list.d.ts +22 -0
- package/vendor/@stringsync/splates-server/ports/routes.d.ts +64 -0
- package/vendor/@stringsync/splates-server/ports/slot-tunnel.d.ts +24 -0
- package/vendor/@stringsync/splates-server/ports/slot.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ports/slots.d.ts +150 -0
- package/vendor/@stringsync/splates-server/ports/socket.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ports/task-ports.d.ts +39 -0
- package/vendor/@stringsync/splates-server/prices/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/prices/prices.d.ts +65 -0
- package/vendor/@stringsync/splates-server/projects/everywhere-routes.d.ts +110 -0
- package/vendor/@stringsync/splates-server/projects/everywhere.d.ts +43 -0
- package/vendor/@stringsync/splates-server/projects/general.d.ts +4 -0
- package/vendor/@stringsync/splates-server/projects/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/projects/index.js +36 -0
- package/vendor/@stringsync/splates-server/projects/init.d.ts +28 -0
- package/vendor/@stringsync/splates-server/projects/picker.d.ts +64 -0
- package/vendor/@stringsync/splates-server/projects/projects.d.ts +155 -0
- package/vendor/@stringsync/splates-server/projects/reaches.d.ts +26 -0
- package/vendor/@stringsync/splates-server/push/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/push/notices.d.ts +44 -0
- package/vendor/@stringsync/splates-server/push/push.d.ts +91 -0
- package/vendor/@stringsync/splates-server/queue/commands.d.ts +44 -0
- package/vendor/@stringsync/splates-server/queue/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/queue/index.js +44 -0
- package/vendor/@stringsync/splates-server/queue/moves.d.ts +15 -0
- package/vendor/@stringsync/splates-server/queue/name.d.ts +9 -0
- package/vendor/@stringsync/splates-server/queue/order.d.ts +50 -0
- package/vendor/@stringsync/splates-server/queue/runner.d.ts +129 -0
- package/vendor/@stringsync/splates-server/records/elsewhere.d.ts +27 -0
- package/vendor/@stringsync/splates-server/records/events.d.ts +556 -0
- package/vendor/@stringsync/splates-server/records/format.d.ts +92 -0
- package/vendor/@stringsync/splates-server/records/home.d.ts +72 -0
- package/vendor/@stringsync/splates-server/records/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/records/index.js +40 -0
- package/vendor/@stringsync/splates-server/records/journal.d.ts +65 -0
- package/vendor/@stringsync/splates-server/records/lease-lock.d.ts +29 -0
- package/vendor/@stringsync/splates-server/records/migration.d.ts +94 -0
- package/vendor/@stringsync/splates-server/records/one-task-store.d.ts +15 -0
- package/vendor/@stringsync/splates-server/records/repository.d.ts +137 -0
- package/vendor/@stringsync/splates-server/records/task-files.d.ts +8 -0
- package/vendor/@stringsync/splates-server/records/task-stages.d.ts +7 -0
- package/vendor/@stringsync/splates-server/records/to-sqlite.d.ts +3 -0
- package/vendor/@stringsync/splates-server/replica/aws-sign.d.ts +30 -0
- package/vendor/@stringsync/splates-server/replica/dir.d.ts +17 -0
- package/vendor/@stringsync/splates-server/replica/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/replica/index.js +29 -0
- package/vendor/@stringsync/splates-server/replica/layout.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/place.d.ts +31 -0
- package/vendor/@stringsync/splates-server/replica/replica.d.ts +37 -0
- package/vendor/@stringsync/splates-server/replica/replicator.d.ts +102 -0
- package/vendor/@stringsync/splates-server/replica/restore.d.ts +40 -0
- package/vendor/@stringsync/splates-server/replica/s3.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/shipped.d.ts +2 -0
- package/vendor/@stringsync/splates-server/replica/status.d.ts +18 -0
- package/vendor/@stringsync/splates-server/server/assets.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/automations.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/chunk-files.d.ts +4 -0
- package/vendor/@stringsync/splates-server/server/conflict-watch.d.ts +22 -0
- package/vendor/@stringsync/splates-server/server/early-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/server/general.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/groomer.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/held.d.ts +10 -0
- package/vendor/@stringsync/splates-server/server/http.d.ts +76 -0
- package/vendor/@stringsync/splates-server/server/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/index.js +14342 -0
- package/vendor/@stringsync/splates-server/server/interrupt.d.ts +24 -0
- package/vendor/@stringsync/splates-server/server/loop-watch.d.ts +12 -0
- package/vendor/@stringsync/splates-server/server/migrations.d.ts +46 -0
- package/vendor/@stringsync/splates-server/server/options.d.ts +143 -0
- package/vendor/@stringsync/splates-server/server/pages.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/ports.d.ts +11 -0
- package/vendor/@stringsync/splates-server/server/premerge.d.ts +61 -0
- package/vendor/@stringsync/splates-server/server/project-watch.d.ts +94 -0
- package/vendor/@stringsync/splates-server/server/project.d.ts +239 -0
- package/vendor/@stringsync/splates-server/server/pulse.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/release.d.ts +41 -0
- package/vendor/@stringsync/splates-server/server/replicas.d.ts +23 -0
- package/vendor/@stringsync/splates-server/server/restart.d.ts +177 -0
- package/vendor/@stringsync/splates-server/server/runtime-deps.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/server.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/servers.d.ts +31 -0
- package/vendor/@stringsync/splates-server/server/serving.d.ts +28 -0
- package/vendor/@stringsync/splates-server/server/shared.d.ts +14 -0
- package/vendor/@stringsync/splates-server/server/skills.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/sockets.d.ts +13 -0
- package/vendor/@stringsync/splates-server/server/start-settings.d.ts +15 -0
- package/vendor/@stringsync/splates-server/server/start.d.ts +21 -0
- package/vendor/@stringsync/splates-server/server/suite-grant.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/supervise.d.ts +81 -0
- package/vendor/@stringsync/splates-server/server/ticketed-lock.d.ts +80 -0
- package/vendor/@stringsync/splates-server/server/update-records.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/update.d.ts +56 -0
- package/vendor/@stringsync/splates-server/server/versions.d.ts +53 -0
- package/vendor/@stringsync/splates-server/setup/area-auto-pick.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-dictation.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-droplet.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-evals.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-github.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/area-native.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-opencode.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/area-remote.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-replica.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-workers.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/areas.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/checks.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/fields.d.ts +69 -0
- package/vendor/@stringsync/splates-server/setup/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/index.js +25 -0
- package/vendor/@stringsync/splates-server/setup/opencode-model-error.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/opencode-models.d.ts +44 -0
- package/vendor/@stringsync/splates-server/setup/opencode-recipe.d.ts +33 -0
- package/vendor/@stringsync/splates-server/setup/opencode-routes.d.ts +17 -0
- package/vendor/@stringsync/splates-server/setup/opencode.d.ts +61 -0
- package/vendor/@stringsync/splates-server/setup/project.d.ts +10 -0
- package/vendor/@stringsync/splates-server/setup/routes.d.ts +31 -0
- package/vendor/@stringsync/splates-server/setup/setup.d.ts +235 -0
- package/vendor/@stringsync/splates-server/setup/step-problem.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/undo.d.ts +80 -0
- package/vendor/@stringsync/splates-server/ship/approval-watch.d.ts +57 -0
- package/vendor/@stringsync/splates-server/ship/approval.d.ts +17 -0
- package/vendor/@stringsync/splates-server/ship/cascade-routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/ship/cascade.d.ts +70 -0
- package/vendor/@stringsync/splates-server/ship/commands.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ship/git.d.ts +31 -0
- package/vendor/@stringsync/splates-server/ship/graph.d.ts +60 -0
- package/vendor/@stringsync/splates-server/ship/history.d.ts +51 -0
- package/vendor/@stringsync/splates-server/ship/index.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ship/live.d.ts +40 -0
- package/vendor/@stringsync/splates-server/ship/mechanical.d.ts +30 -0
- package/vendor/@stringsync/splates-server/ship/npm-terminal.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/plan.d.ts +90 -0
- package/vendor/@stringsync/splates-server/ship/progress.d.ts +3 -0
- package/vendor/@stringsync/splates-server/ship/published-notice.d.ts +29 -0
- package/vendor/@stringsync/splates-server/ship/record.d.ts +55 -0
- package/vendor/@stringsync/splates-server/ship/registry.d.ts +13 -0
- package/vendor/@stringsync/splates-server/ship/release-events.d.ts +47 -0
- package/vendor/@stringsync/splates-server/ship/release-steps.d.ts +66 -0
- package/vendor/@stringsync/splates-server/ship/routes.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/run.d.ts +132 -0
- package/vendor/@stringsync/splates-server/ship/selection.d.ts +36 -0
- package/vendor/@stringsync/splates-server/ship/served.d.ts +4 -0
- package/vendor/@stringsync/splates-server/ship/stages.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/steps.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/token-request.d.ts +11 -0
- package/vendor/@stringsync/splates-server/ship/token.d.ts +21 -0
- package/vendor/@stringsync/splates-server/spend/adapters.d.ts +5 -0
- package/vendor/@stringsync/splates-server/spend/billing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/spend/index.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/plans.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/providers.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/rates.d.ts +23 -0
- package/vendor/@stringsync/splates-server/spend/report.d.ts +39 -0
- package/vendor/@stringsync/splates-server/spend/routes.d.ts +46 -0
- package/vendor/@stringsync/splates-server/spend/spend.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/totals.d.ts +63 -0
- package/vendor/@stringsync/splates-server/spend/turn.d.ts +39 -0
- package/vendor/@stringsync/splates-server/stats/adherence.d.ts +40 -0
- package/vendor/@stringsync/splates-server/stats/baselines.d.ts +55 -0
- package/vendor/@stringsync/splates-server/stats/budget-routes.d.ts +21 -0
- package/vendor/@stringsync/splates-server/stats/fact-tasks.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/finding-facts.d.ts +37 -0
- package/vendor/@stringsync/splates-server/stats/findings.d.ts +89 -0
- package/vendor/@stringsync/splates-server/stats/index.d.ts +12 -0
- package/vendor/@stringsync/splates-server/stats/index.js +30 -0
- package/vendor/@stringsync/splates-server/stats/landed.d.ts +14 -0
- package/vendor/@stringsync/splates-server/stats/outcomes.d.ts +207 -0
- package/vendor/@stringsync/splates-server/stats/overrides.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/stats/scry-models.d.ts +22 -0
- package/vendor/@stringsync/splates-server/stats/skill-checks.d.ts +59 -0
- package/vendor/@stringsync/splates-server/stats/stats.d.ts +176 -0
- package/vendor/@stringsync/splates-server/stats/task-log.d.ts +67 -0
- package/vendor/@stringsync/splates-server/storage/atomic.d.ts +13 -0
- package/vendor/@stringsync/splates-server/storage/collection.d.ts +30 -0
- package/vendor/@stringsync/splates-server/storage/document.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-collection.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-document.d.ts +16 -0
- package/vendor/@stringsync/splates-server/storage/fs-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/fs.d.ts +48 -0
- package/vendor/@stringsync/splates-server/storage/index.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/index.js +18 -0
- package/vendor/@stringsync/splates-server/storage/json.d.ts +10 -0
- package/vendor/@stringsync/splates-server/storage/key.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/log.d.ts +60 -0
- package/vendor/@stringsync/splates-server/storage/schema.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-collection.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-db.d.ts +62 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-document.d.ts +20 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-import.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-keys.d.ts +17 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-lock.d.ts +25 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite.d.ts +53 -0
- package/vendor/@stringsync/splates-server/storage/storage.d.ts +87 -0
- package/vendor/@stringsync/splates-server/table.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/add.d.ts +45 -0
- package/vendor/@stringsync/splates-server/tasks/browser.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/checkpoint.d.ts +39 -0
- package/vendor/@stringsync/splates-server/tasks/claim.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tasks/conflicts.d.ts +19 -0
- package/vendor/@stringsync/splates-server/tasks/diff.d.ts +29 -0
- package/vendor/@stringsync/splates-server/tasks/dispatched.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/editors.d.ts +22 -0
- package/vendor/@stringsync/splates-server/tasks/finished.d.ts +81 -0
- package/vendor/@stringsync/splates-server/tasks/follow.d.ts +48 -0
- package/vendor/@stringsync/splates-server/tasks/index.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/index.js +90 -0
- package/vendor/@stringsync/splates-server/tasks/landings.d.ts +17 -0
- package/vendor/@stringsync/splates-server/tasks/list.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tasks/merge-output.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/open.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/overlaps.d.ts +16 -0
- package/vendor/@stringsync/splates-server/tasks/path.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/recommend.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/remove.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/retry.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tasks/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/tasks/show.d.ts +137 -0
- package/vendor/@stringsync/splates-server/tasks/snapshot.d.ts +86 -0
- package/vendor/@stringsync/splates-server/tasks/started-records.d.ts +71 -0
- package/vendor/@stringsync/splates-server/tasks/wait.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-checkouts.d.ts +10 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-service.d.ts +151 -0
- package/vendor/@stringsync/splates-server/tasks/worktree.d.ts +342 -0
- package/vendor/@stringsync/splates-server/terminal/connection.d.ts +19 -0
- package/vendor/@stringsync/splates-server/terminal/held.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/terminal/pty.d.ts +45 -0
- package/vendor/@stringsync/splates-server/terminal/remote-pty.d.ts +34 -0
- package/vendor/@stringsync/splates-server/terminal/shell.d.ts +70 -0
- package/vendor/@stringsync/splates-server/terminal/spawn.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/terminal.d.ts +52 -0
- package/vendor/@stringsync/splates-server/tunnel/access.d.ts +61 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-api.d.ts +25 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-error.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflared.d.ts +43 -0
- package/vendor/@stringsync/splates-server/tunnel/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tunnel/index.js +70 -0
- package/vendor/@stringsync/splates-server/tunnel/machine.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tunnel/provider.d.ts +37 -0
- package/vendor/@stringsync/splates-server/tunnel/remove.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tunnel/saved-ports-host.d.ts +26 -0
- package/vendor/@stringsync/splates-server/tunnel/saved.d.ts +63 -0
- package/vendor/@stringsync/splates-server/tunnel/setup.d.ts +123 -0
- package/vendor/@stringsync/splates-server/tunnel/tunnel.d.ts +38 -0
- package/vendor/@stringsync/splates-server/workers/admin.d.ts +37 -0
- package/vendor/@stringsync/splates-server/workers/call-host.d.ts +68 -0
- package/vendor/@stringsync/splates-server/workers/channel.d.ts +90 -0
- package/vendor/@stringsync/splates-server/workers/connection.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/coordinator-state.d.ts +44 -0
- package/vendor/@stringsync/splates-server/workers/daemon.d.ts +128 -0
- package/vendor/@stringsync/splates-server/workers/darwin-footprint.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/darwin-temperature.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/frame-too-large.d.ts +5 -0
- package/vendor/@stringsync/splates-server/workers/git.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/gone.d.ts +36 -0
- package/vendor/@stringsync/splates-server/workers/identity.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/index.d.ts +40 -0
- package/vendor/@stringsync/splates-server/workers/index.js +90 -0
- package/vendor/@stringsync/splates-server/workers/lifecycle.d.ts +14 -0
- package/vendor/@stringsync/splates-server/workers/list.d.ts +93 -0
- package/vendor/@stringsync/splates-server/workers/load.d.ts +55 -0
- package/vendor/@stringsync/splates-server/workers/local-id.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/local-update.d.ts +81 -0
- package/vendor/@stringsync/splates-server/workers/log-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/machine.d.ts +47 -0
- package/vendor/@stringsync/splates-server/workers/orphan.d.ts +31 -0
- package/vendor/@stringsync/splates-server/workers/os-sensors.d.ts +49 -0
- package/vendor/@stringsync/splates-server/workers/placement.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/process-host.d.ts +60 -0
- package/vendor/@stringsync/splates-server/workers/process.d.ts +33 -0
- package/vendor/@stringsync/splates-server/workers/protocol.d.ts +153 -0
- package/vendor/@stringsync/splates-server/workers/pty-host.d.ts +35 -0
- package/vendor/@stringsync/splates-server/workers/queue.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/records.d.ts +43 -0
- package/vendor/@stringsync/splates-server/workers/registry.d.ts +101 -0
- package/vendor/@stringsync/splates-server/workers/replay.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/routes.d.ts +119 -0
- package/vendor/@stringsync/splates-server/workers/run-options.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/run.d.ts +10 -0
- package/vendor/@stringsync/splates-server/workers/scheduler.d.ts +171 -0
- package/vendor/@stringsync/splates-server/workers/server-of.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/server-socket.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/session.d.ts +240 -0
- package/vendor/@stringsync/splates-server/workers/socket.d.ts +21 -0
- package/vendor/@stringsync/splates-server/workers/unix-listener.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/unix-socket.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/websocket-socket.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/worker.d.ts +98 -0
- package/vendor/core/LICENSE +21 -0
- package/vendor/core/abort/aborts.d.ts +10 -0
- package/vendor/core/abort/index.d.ts +1 -0
- package/vendor/core/abort/index.js +24 -0
- package/vendor/core/assert/assert-error.d.ts +4 -0
- package/vendor/core/assert/assert.d.ts +24 -0
- package/vendor/core/assert/ensure.d.ts +18 -0
- package/vendor/core/assert/index.d.ts +3 -0
- package/vendor/core/assert/index.js +75 -0
- package/vendor/core/cmd/cli.d.ts +70 -0
- package/vendor/core/cmd/command.d.ts +96 -0
- package/vendor/core/cmd/deps.d.ts +12 -0
- package/vendor/core/cmd/help.d.ts +16 -0
- package/vendor/core/cmd/index.d.ts +6 -0
- package/vendor/core/cmd/index.js +477 -0
- package/vendor/core/cmd/middleware.d.ts +15 -0
- package/vendor/core/cmd/timed.d.ts +15 -0
- package/vendor/core/creds/credential-proxy.d.ts +55 -0
- package/vendor/core/creds/credential-source.d.ts +19 -0
- package/vendor/core/creds/credentials.d.ts +28 -0
- package/vendor/core/creds/dotenv-file.d.ts +22 -0
- package/vendor/core/creds/environment.d.ts +18 -0
- package/vendor/core/creds/index.d.ts +8 -0
- package/vendor/core/creds/index.js +337 -0
- package/vendor/core/creds/memory-secret-store.d.ts +33 -0
- package/vendor/core/creds/secret-store.d.ts +14 -0
- package/vendor/core/creds/system-secret-store.d.ts +49 -0
- package/vendor/core/dictate/buffered-sink.d.ts +9 -0
- package/vendor/core/dictate/cue.d.ts +10 -0
- package/vendor/core/dictate/dictation-failure.d.ts +5 -0
- package/vendor/core/dictate/dictation-link.d.ts +18 -0
- package/vendor/core/dictate/dictation-message.d.ts +24 -0
- package/vendor/core/dictate/dictation-relay.d.ts +28 -0
- package/vendor/core/dictate/index.d.ts +10 -0
- package/vendor/core/dictate/index.js +132 -0
- package/vendor/core/dictate/microphone.d.ts +42 -0
- package/vendor/core/dictate/openai-transcriber.d.ts +22 -0
- package/vendor/core/dictate/openai-transcription.d.ts +27 -0
- package/vendor/core/dictate/pcm.d.ts +5 -0
- package/vendor/core/dictate/pcm16-encoder.d.ts +20 -0
- package/vendor/core/dictate/server.d.ts +1 -0
- package/vendor/core/dictate/server.js +153 -0
- package/vendor/core/dictate/transcriber.d.ts +23 -0
- package/vendor/core/disposable/async-disposer.d.ts +15 -0
- package/vendor/core/disposable/async-resource.d.ts +4 -0
- package/vendor/core/disposable/disposables.d.ts +8 -0
- package/vendor/core/disposable/disposer.d.ts +13 -0
- package/vendor/core/disposable/index.d.ts +5 -0
- package/vendor/core/disposable/index.js +96 -0
- package/vendor/core/disposable/resource.d.ts +4 -0
- package/vendor/core/events/dispatcher.d.ts +18 -0
- package/vendor/core/events/eventful.d.ts +7 -0
- package/vendor/core/events/events.d.ts +14 -0
- package/vendor/core/events/index.d.ts +4 -0
- package/vendor/core/events/index.js +75 -0
- package/vendor/core/events/noop-events.d.ts +6 -0
- package/vendor/core/id/counter-id-provider.d.ts +6 -0
- package/vendor/core/id/id-provider.d.ts +7 -0
- package/vendor/core/id/index.d.ts +3 -0
- package/vendor/core/id/index.js +17 -0
- package/vendor/core/id/uuid-provider.d.ts +11 -0
- package/vendor/core/index-qk5dj664.js +4 -0
- package/vendor/core/log/color.d.ts +22 -0
- package/vendor/core/log/composite-logger.d.ts +7 -0
- package/vendor/core/log/console-logger.d.ts +6 -0
- package/vendor/core/log/index.d.ts +8 -0
- package/vendor/core/log/index.js +154 -0
- package/vendor/core/log/level-prefix-logger.d.ts +12 -0
- package/vendor/core/log/logger.d.ts +12 -0
- package/vendor/core/log/mdc-logger.d.ts +14 -0
- package/vendor/core/log/memory-logger.d.ts +8 -0
- package/vendor/core/log/prefix-logger.d.ts +12 -0
- package/vendor/core/md/index.d.ts +2 -0
- package/vendor/core/md/index.js +182 -0
- package/vendor/core/md/markdown.d.ts +56 -0
- package/vendor/core/md/writer.d.ts +22 -0
- package/vendor/core/push/base64url.d.ts +2 -0
- package/vendor/core/push/encrypt.d.ts +12 -0
- package/vendor/core/push/index.d.ts +4 -0
- package/vendor/core/push/index.js +137 -0
- package/vendor/core/push/push-failure.d.ts +7 -0
- package/vendor/core/push/pusher.d.ts +24 -0
- package/vendor/core/push/vapid.d.ts +18 -0
- package/vendor/core/push/web-pusher.d.ts +20 -0
- package/vendor/core/ship/artifact/artifact.d.ts +52 -0
- package/vendor/core/ship/bundle/bun-bundle.d.ts +71 -0
- package/vendor/core/ship/bundle/bundle-artifact.d.ts +21 -0
- package/vendor/core/ship/bundle/bundle.d.ts +13 -0
- package/vendor/core/ship/bundle/published.d.ts +45 -0
- package/vendor/core/ship/bundle/reach.d.ts +43 -0
- package/vendor/core/ship/bundle/vendor-bundle.d.ts +47 -0
- package/vendor/core/ship/cut.d.ts +64 -0
- package/vendor/core/ship/dry-run.d.ts +63 -0
- package/vendor/core/ship/git/cli-git.d.ts +25 -0
- package/vendor/core/ship/git/git-artifact.d.ts +23 -0
- package/vendor/core/ship/git/git.d.ts +19 -0
- package/vendor/core/ship/github/cli-github.d.ts +31 -0
- package/vendor/core/ship/github/cli-workflows.d.ts +25 -0
- package/vendor/core/ship/github/github-artifact.d.ts +18 -0
- package/vendor/core/ship/github/github.d.ts +10 -0
- package/vendor/core/ship/github/login.d.ts +3 -0
- package/vendor/core/ship/github/workflows.d.ts +27 -0
- package/vendor/core/ship/index.d.ts +26 -0
- package/vendor/core/ship/index.js +3203 -0
- package/vendor/core/ship/mirror/agent-files.d.ts +6 -0
- package/vendor/core/ship/mirror/mirror-build.d.ts +63 -0
- package/vendor/core/ship/mirror/mirror-guard.d.ts +10 -0
- package/vendor/core/ship/mirror/mirror-options.d.ts +75 -0
- package/vendor/core/ship/mirror/mirror-step.d.ts +109 -0
- package/vendor/core/ship/mirror/mirror-tooling.d.ts +59 -0
- package/vendor/core/ship/mirror/source-manifest.d.ts +27 -0
- package/vendor/core/ship/order.d.ts +15 -0
- package/vendor/core/ship/publish-workflow.d.ts +32 -0
- package/vendor/core/ship/registry/github-actions.d.ts +76 -0
- package/vendor/core/ship/registry/npm-registry.d.ts +70 -0
- package/vendor/core/ship/registry/registry-artifact.d.ts +31 -0
- package/vendor/core/ship/registry/registry.d.ts +85 -0
- package/vendor/core/ship/release-file.d.ts +22 -0
- package/vendor/core/ship/release-options.d.ts +122 -0
- package/vendor/core/ship/release.d.ts +61 -0
- package/vendor/core/ship/releases.d.ts +119 -0
- package/vendor/core/ship/shipped.d.ts +54 -0
- package/vendor/core/ship/skill-artifact.d.ts +27 -0
- package/vendor/core/ship/step-events.d.ts +91 -0
- package/vendor/core/ship/step-runner.d.ts +16 -0
- package/vendor/core/ship/step.d.ts +49 -0
- package/vendor/core/ship/trust.d.ts +11 -0
- package/vendor/core/ship/version.d.ts +9 -0
- package/vendor/core/ship/workspace/manifest-workspace.d.ts +61 -0
- package/vendor/core/ship/workspace/workspace.d.ts +29 -0
- package/vendor/core/skills/index.d.ts +1 -0
- package/vendor/core/skills/index.js +77 -0
- package/vendor/core/skills/project-skills.d.ts +53 -0
- package/vendor/core/system/fs/fs.d.ts +58 -0
- package/vendor/core/system/fs/node-fs.d.ts +18 -0
- package/vendor/core/system/glob/glob.d.ts +11 -0
- package/vendor/core/system/glob/node-glob.d.ts +12 -0
- package/vendor/core/system/heavy/heavy-jobs.d.ts +84 -0
- package/vendor/core/system/host-mapper/file-host-mapper.d.ts +20 -0
- package/vendor/core/system/host-mapper/host-mapper.d.ts +11 -0
- package/vendor/core/system/host-mapper/noop-host-mapper.d.ts +4 -0
- package/vendor/core/system/index.d.ts +25 -0
- package/vendor/core/system/index.js +1385 -0
- package/vendor/core/system/ip-provider/darwin-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/linux-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/platform-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/sequential-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/static-ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/win32-ip-provider.d.ts +6 -0
- package/vendor/core/system/lock/file-lock.d.ts +50 -0
- package/vendor/core/system/lock/lock.d.ts +11 -0
- package/vendor/core/system/lock/memory-lock.d.ts +13 -0
- package/vendor/core/system/port-provider/open-port-provider.d.ts +38 -0
- package/vendor/core/system/port-provider/port-provider.d.ts +14 -0
- package/vendor/core/system/process-like/process-like.d.ts +22 -0
- package/vendor/core/system/ps/file-process.d.ts +40 -0
- package/vendor/core/system/ps/listening.d.ts +20 -0
- package/vendor/core/system/ps/node-ps.d.ts +39 -0
- package/vendor/core/system/ps/ps.d.ts +161 -0
- package/vendor/core/system/ps/reap.d.ts +22 -0
- package/vendor/core/system/undumpable.d.ts +32 -0
- package/vendor/core/system/walk.d.ts +10 -0
- package/vendor/core/time/clock/clock.d.ts +5 -0
- package/vendor/core/time/clock/system-clock.d.ts +5 -0
- package/vendor/core/time/debouncer.d.ts +25 -0
- package/vendor/core/time/duration.d.ts +38 -0
- package/vendor/core/time/index.d.ts +13 -0
- package/vendor/core/time/index.js +271 -0
- package/vendor/core/time/sleep.d.ts +2 -0
- package/vendor/core/time/stopwatch.d.ts +34 -0
- package/vendor/core/time/throttler.d.ts +26 -0
- package/vendor/core/time/time-ago.d.ts +14 -0
- package/vendor/core/time/timeouts.d.ts +12 -0
- package/vendor/core/time/timer/system-timer.d.ts +7 -0
- package/vendor/core/time/timer/timer.d.ts +11 -0
- package/vendor/core/time/wall-clock/system-wall-clock.d.ts +4 -0
- package/vendor/core/time/wall-clock/wall-clock.d.ts +14 -0
- package/waiting.d.ts +2 -2
- package/worker.d.ts +2 -2
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TaskOverlaps2,
|
|
3
|
+
overlapWarnings2,
|
|
4
|
+
editLines2,
|
|
5
|
+
ZED2,
|
|
6
|
+
EDITORS2,
|
|
7
|
+
ConflictChecks2,
|
|
8
|
+
REMOVE_REASONS2,
|
|
9
|
+
MERGE_STEPS2,
|
|
10
|
+
Finished2,
|
|
11
|
+
taskOf2,
|
|
12
|
+
WorktreeService2,
|
|
13
|
+
add2,
|
|
14
|
+
WIP_MESSAGE2,
|
|
15
|
+
checkpoint2,
|
|
16
|
+
save2,
|
|
17
|
+
claim2,
|
|
18
|
+
startDispatched2,
|
|
19
|
+
SERVER_WAIT_MS2,
|
|
20
|
+
follow2,
|
|
21
|
+
serveProject2,
|
|
22
|
+
landingsOverlapping2,
|
|
23
|
+
landingNotice2,
|
|
24
|
+
list2,
|
|
25
|
+
path2,
|
|
26
|
+
recommend2,
|
|
27
|
+
recommendation2,
|
|
28
|
+
remove2,
|
|
29
|
+
retry2,
|
|
30
|
+
recordRetry2,
|
|
31
|
+
TaskRoutes2,
|
|
32
|
+
show2,
|
|
33
|
+
TaskDetails2,
|
|
34
|
+
snapshot2,
|
|
35
|
+
tasksOf2,
|
|
36
|
+
fingerprint2,
|
|
37
|
+
DEFAULT_TIMEOUT3,
|
|
38
|
+
untilAfter2,
|
|
39
|
+
wait2,
|
|
40
|
+
asking2,
|
|
41
|
+
taskWait2
|
|
42
|
+
} from "../index-caep3sde.js";
|
|
43
|
+
import"../index-01z7ycdk.js";
|
|
44
|
+
import"../index-e9z7s5hh.js";
|
|
45
|
+
import"../index-kmzdvvt0.js";
|
|
46
|
+
import"../index-t9w5a8ed.js";
|
|
47
|
+
import"../index-0jttnv86.js";
|
|
48
|
+
import"../index-g18nxyn7.js";
|
|
49
|
+
export {
|
|
50
|
+
ConflictChecks2 as ConflictChecks,
|
|
51
|
+
DEFAULT_TIMEOUT3 as DEFAULT_TIMEOUT,
|
|
52
|
+
EDITORS2 as EDITORS,
|
|
53
|
+
Finished2 as Finished,
|
|
54
|
+
MERGE_STEPS2 as MERGE_STEPS,
|
|
55
|
+
REMOVE_REASONS2 as REMOVE_REASONS,
|
|
56
|
+
SERVER_WAIT_MS2 as SERVER_WAIT_MS,
|
|
57
|
+
TaskDetails2 as TaskDetails,
|
|
58
|
+
TaskOverlaps2 as TaskOverlaps,
|
|
59
|
+
TaskRoutes2 as TaskRoutes,
|
|
60
|
+
WIP_MESSAGE2 as WIP_MESSAGE,
|
|
61
|
+
WorktreeService2 as WorktreeService,
|
|
62
|
+
ZED2 as ZED,
|
|
63
|
+
add2 as add,
|
|
64
|
+
asking2 as asking,
|
|
65
|
+
checkpoint2 as checkpoint,
|
|
66
|
+
claim2 as claim,
|
|
67
|
+
editLines2 as editLines,
|
|
68
|
+
fingerprint2 as fingerprint,
|
|
69
|
+
follow2 as follow,
|
|
70
|
+
landingNotice2 as landingNotice,
|
|
71
|
+
landingsOverlapping2 as landingsOverlapping,
|
|
72
|
+
list2 as list,
|
|
73
|
+
overlapWarnings2 as overlapWarnings,
|
|
74
|
+
path2 as path,
|
|
75
|
+
recommend2 as recommend,
|
|
76
|
+
recommendation2 as recommendation,
|
|
77
|
+
recordRetry2 as recordRetry,
|
|
78
|
+
remove2 as remove,
|
|
79
|
+
retry2 as retry,
|
|
80
|
+
save2 as save,
|
|
81
|
+
serveProject2 as serveProject,
|
|
82
|
+
show2 as show,
|
|
83
|
+
snapshot2 as snapshot,
|
|
84
|
+
startDispatched2 as startDispatched,
|
|
85
|
+
taskOf2 as taskOf,
|
|
86
|
+
taskWait2 as taskWait,
|
|
87
|
+
tasksOf2 as tasksOf,
|
|
88
|
+
untilAfter2 as untilAfter,
|
|
89
|
+
wait2 as wait
|
|
90
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Worktree } from "./worktree";
|
|
2
|
+
/** A task that landed on an open task's base, changing files that task also changed. */
|
|
3
|
+
export interface Landing {
|
|
4
|
+
task: string;
|
|
5
|
+
commit: string;
|
|
6
|
+
files: string[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Landings since `worktree` branched that changed files it also changed,
|
|
10
|
+
* newest first. A landing the branch has rebased past is not listed. Reads
|
|
11
|
+
* only, never rebasing the worktree.
|
|
12
|
+
*/
|
|
13
|
+
export declare function landingsOverlapping(worktree: Worktree): Promise<Landing[]>;
|
|
14
|
+
/** The notice a working agent hears: one line, with nothing rebased for it. */
|
|
15
|
+
export declare function landingNotice(landing: Landing, base: string): string;
|
|
16
|
+
/** Each landing's notice for `worktree`, for `list` and `show` to name. */
|
|
17
|
+
export declare function landingNotices(worktree: Worktree): Promise<string[]>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
3
|
+
import type { WorktreeService } from "./worktree-service";
|
|
4
|
+
export interface ListOptions {
|
|
5
|
+
/** Print the rows as JSON instead of a table. */
|
|
6
|
+
json?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Add each task's Goal and changed files, which is what an agent checks
|
|
9
|
+
* its own plan against before starting. Off by default: it costs git calls
|
|
10
|
+
* and a file read per task.
|
|
11
|
+
*/
|
|
12
|
+
files?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function list({ service, log, fs }: {
|
|
15
|
+
service: WorktreeService;
|
|
16
|
+
log: Logger;
|
|
17
|
+
fs: Fs;
|
|
18
|
+
}, { json, files }?: ListOptions): Promise<void>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import { type Timer } from "../../../core/time/index.js";
|
|
3
|
+
import type { WorktreeService } from "./worktree-service";
|
|
4
|
+
/**
|
|
5
|
+
* What step `index` of `task`'s merge under way printed, then more as it
|
|
6
|
+
* prints, ending once the step is over and all of it is read; null when the
|
|
7
|
+
* merge has no such step, or it runs no command.
|
|
8
|
+
*/
|
|
9
|
+
export declare function mergeOutput({ service, fs, timer }: {
|
|
10
|
+
service: WorktreeService;
|
|
11
|
+
fs: Fs;
|
|
12
|
+
timer: Timer;
|
|
13
|
+
}, task: string, index: number): Promise<ReadableStream<Uint8Array> | null>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** A file to open, and the tree its editor window should hold. */
|
|
2
|
+
export interface InTree {
|
|
3
|
+
tree: string;
|
|
4
|
+
file: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Where `path` opens: inside the task worktree under `worktrees` it is in,
|
|
8
|
+
* or, once that worktree is gone, at the same place in the main tree `root`,
|
|
9
|
+
* or inside `root` itself. Null for a path in neither, which the page may not
|
|
10
|
+
* open.
|
|
11
|
+
*/
|
|
12
|
+
export declare function inTree(path: string, { root, worktrees }: {
|
|
13
|
+
root: string;
|
|
14
|
+
worktrees: string;
|
|
15
|
+
}, exists: (path: string) => Promise<boolean>): Promise<InTree | null>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { WorktreeService } from "./worktree-service";
|
|
2
|
+
/** Compares new work with files already being changed by open tasks. */
|
|
3
|
+
export declare class TaskOverlaps {
|
|
4
|
+
private readonly service;
|
|
5
|
+
constructor(service: WorktreeService);
|
|
6
|
+
files(): Promise<{
|
|
7
|
+
task: string;
|
|
8
|
+
files: string[];
|
|
9
|
+
}[]>;
|
|
10
|
+
warnings(task: string, goal: string, changed?: string[]): Promise<string[]>;
|
|
11
|
+
}
|
|
12
|
+
/** Names open work that touches a file named in the goal or already changed here. */
|
|
13
|
+
export declare function overlapWarnings(peers: {
|
|
14
|
+
task: string;
|
|
15
|
+
files: string[];
|
|
16
|
+
}[], task: string, goal: string, changed?: string[]): string[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { WorktreeService } from "./worktree-service";
|
|
3
|
+
/**
|
|
4
|
+
* Where a task lives, or (with no task) the main tree. Nothing but the path
|
|
5
|
+
* on stdout, so it composes: `cd "$(splates path)"`, `zed -a "$(splates path x)"`.
|
|
6
|
+
* Moving between trees is `cd` and nothing else, and the main tree is the one
|
|
7
|
+
* path a process standing in a worktree cannot otherwise name: git's
|
|
8
|
+
* `--show-toplevel` hands back the worktree it is already in.
|
|
9
|
+
*/
|
|
10
|
+
export declare function path({ service, log }: {
|
|
11
|
+
service: WorktreeService;
|
|
12
|
+
log: Logger;
|
|
13
|
+
}, task?: string): Promise<void>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Task, Tasks } from "../board";
|
|
2
|
+
import { type LaneRecord, type LaneState } from "../board";
|
|
3
|
+
/** What a finished task should be followed by, and what should just go. */
|
|
4
|
+
export interface Recommendation {
|
|
5
|
+
/** The queued task to pick up next, or null when there is nothing fresh left. */
|
|
6
|
+
next: Task | null;
|
|
7
|
+
/** Queued tasks left waiting so long they probably no longer apply. */
|
|
8
|
+
stale: Task[];
|
|
9
|
+
/**
|
|
10
|
+
* The lane the finished task's queued tasks ran in, when it has more to do:
|
|
11
|
+
* `next` is its next step then, even one another lane still blocks.
|
|
12
|
+
*/
|
|
13
|
+
lane?: LaneState;
|
|
14
|
+
/** Every lane there is now, to name those `lane` is blocked by. */
|
|
15
|
+
records?: LaneRecord[];
|
|
16
|
+
/** A lane the finished task's queued tasks emptied: its agent is done. */
|
|
17
|
+
finished?: LaneRecord;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Which queued task to take up after `task`. A task whose queued tasks ran in a lane goes
|
|
21
|
+
* on down that lane, since that is what its agent was handed. Otherwise one
|
|
22
|
+
* that came up in it first, since whoever just finished it knows that context
|
|
23
|
+
* best, then the open one highest on the list, which is how
|
|
24
|
+
* whoever keeps the list says what matters most; never one still blocked by
|
|
25
|
+
* another yet to merge. Queued tasks past `staleness` are never recommended, only
|
|
26
|
+
* offered for removal.
|
|
27
|
+
*/
|
|
28
|
+
export declare function recommend(tasks: Tasks, task: string | null, staleness: number, ran?: LaneRecord[]): Promise<Recommendation>;
|
|
29
|
+
/** The lines `merge` ends with, or none when there is nothing to say. */
|
|
30
|
+
export declare function recommendation({ next, stale, lane, records, finished, }: Recommendation): string[];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { DeferralAsk, Tasks } from "../board";
|
|
3
|
+
import { type TaskBranches } from "../merge";
|
|
4
|
+
import { type Slots } from "../ports";
|
|
5
|
+
import type { RemoveReason } from "./worktree";
|
|
6
|
+
import type { WorktreeService } from "./worktree-service";
|
|
7
|
+
export interface RemoveOptions {
|
|
8
|
+
/** Discard the tree even when another agent holds its lease. */
|
|
9
|
+
force?: boolean;
|
|
10
|
+
/** The `splates server` conversation working on it, when removed from the page. */
|
|
11
|
+
conversation?: string;
|
|
12
|
+
/** Why, kept in its outcome for the Stats page. */
|
|
13
|
+
reason?: RemoveReason;
|
|
14
|
+
/**
|
|
15
|
+
* Why blocked work stopped and what it waits on, which `reason: "blocked"`
|
|
16
|
+
* requires, kept on the board task it goes back to.
|
|
17
|
+
*/
|
|
18
|
+
deferral?: Partial<DeferralAsk> & {
|
|
19
|
+
/** The task's detail rewritten for whoever takes it next. */
|
|
20
|
+
detail?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Discards a whole task: `git worktree remove` plus the branch and the
|
|
25
|
+
* record.
|
|
26
|
+
*
|
|
27
|
+
* Throwing a task away and redoing it against current trunk is usually cheaper
|
|
28
|
+
* than a hard rebase, so this is meant to be used freely.
|
|
29
|
+
*
|
|
30
|
+
* What it took leaves the board too, unless blocked work is being deferred.
|
|
31
|
+
* Deferred work goes back to ready or the backlog, outside the queue and
|
|
32
|
+
* any queued lane until the person queues it again, holding why it stopped
|
|
33
|
+
* and what it waits on; work that took no board task gets one of its own,
|
|
34
|
+
* ready, so the deferral is kept somewhere.
|
|
35
|
+
*/
|
|
36
|
+
export declare function remove({ service, log, tasks: queue, slots, branches, }: {
|
|
37
|
+
service: WorktreeService;
|
|
38
|
+
log: Logger;
|
|
39
|
+
tasks: Tasks;
|
|
40
|
+
slots: Slots;
|
|
41
|
+
branches: TaskBranches;
|
|
42
|
+
}, task: string, { force, conversation, reason, deferral }?: RemoveOptions): Promise<{
|
|
43
|
+
released: {
|
|
44
|
+
id: number;
|
|
45
|
+
subject: string;
|
|
46
|
+
}[];
|
|
47
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Config } from "../config";
|
|
3
|
+
import type { Journal } from "../records";
|
|
4
|
+
import type { Worktree } from "./worktree";
|
|
5
|
+
import type { WorktreeService } from "./worktree-service";
|
|
6
|
+
/**
|
|
7
|
+
* The way back from `budget_exhausted`. A task that has spent its merge
|
|
8
|
+
* attempts or its conflicted rebases gets both budgets back whole, instead of
|
|
9
|
+
* `remove` and redo.
|
|
10
|
+
*
|
|
11
|
+
* Only once they are spent, and only for a person: the budget's whole job is
|
|
12
|
+
* to make an agent stop and ask. An agent that granted itself more would be
|
|
13
|
+
* back to grinding against a moving trunk forever, so the skill leaves it to
|
|
14
|
+
* the person, who has looked at the tree first.
|
|
15
|
+
*/
|
|
16
|
+
export declare function retry({ service, config, log, }: {
|
|
17
|
+
service: WorktreeService;
|
|
18
|
+
config: Config;
|
|
19
|
+
log: Logger;
|
|
20
|
+
}, task: string): Promise<Granted>;
|
|
21
|
+
/** `retry`, recorded in the journal with the attempts the task had spent. */
|
|
22
|
+
export declare function recordRetry(ctx: {
|
|
23
|
+
journal: Journal;
|
|
24
|
+
service: WorktreeService;
|
|
25
|
+
config: Config;
|
|
26
|
+
log: Logger;
|
|
27
|
+
}, task: string): Promise<Granted>;
|
|
28
|
+
/** A retry that was granted: the task back to working, and the attempts it had spent. */
|
|
29
|
+
export interface Granted {
|
|
30
|
+
worktree: Worktree;
|
|
31
|
+
/** The merge attempts it had spent before the grant. */
|
|
32
|
+
attempts: number;
|
|
33
|
+
}
|
|
34
|
+
/** What `retry` does, without the printing, for `splates server`'s page too. */
|
|
35
|
+
export declare function grantRetry(service: WorktreeService, task: string): Promise<Granted>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Conversations } from "../conversations";
|
|
2
|
+
import type { Project, ProjectWatch } from "../server/shared";
|
|
3
|
+
/**
|
|
4
|
+
* What a project's page reads of its tasks, and what it does to them. Each
|
|
5
|
+
* handler is a property, so `serveProject` spreads them into the project's
|
|
6
|
+
* routes; what they work on stays private, out of the spread.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TaskRoutes {
|
|
9
|
+
#private;
|
|
10
|
+
constructor(project: Project, conversations: Conversations | null, watch: ProjectWatch);
|
|
11
|
+
readonly file: (request: Request) => Promise<Response>;
|
|
12
|
+
readonly open: (request: Request) => Promise<Response>;
|
|
13
|
+
readonly paths: (request: Request) => Promise<Response>;
|
|
14
|
+
readonly finishedTasks: () => Promise<Response>;
|
|
15
|
+
readonly mergeEstimates: () => Promise<Response>;
|
|
16
|
+
readonly mergeOutput: (request: Request) => Promise<Response>;
|
|
17
|
+
readonly finishedTask: (request: Request) => Promise<Response>;
|
|
18
|
+
readonly diff: (request: Request) => Promise<Response>;
|
|
19
|
+
readonly retryTask: (request: Request) => Promise<Response>;
|
|
20
|
+
readonly removeTask: (request: Request) => Promise<Response>;
|
|
21
|
+
/** Removes `task` as the page's remove does, stopping each conversation in it. */
|
|
22
|
+
readonly removeNamed: (task: string) => Promise<void>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import { type Fs } from "../../../core/system/index.js";
|
|
3
|
+
import type { AutoPicked } from "../auto-pick";
|
|
4
|
+
import type { Gate, MergeProgress, Worktree } from "./worktree";
|
|
5
|
+
import type { WorktreeService } from "./worktree-service";
|
|
6
|
+
/**
|
|
7
|
+
* One task in full: what `list` shows for it, plus the `SPLATES.md` its agent
|
|
8
|
+
* left at the worktree root. Reading a tree this way takes no lease, so it
|
|
9
|
+
* cannot knock the agent driving it off its own work.
|
|
10
|
+
*/
|
|
11
|
+
export declare function show({ service, fs, log }: {
|
|
12
|
+
service: WorktreeService;
|
|
13
|
+
fs: Fs;
|
|
14
|
+
log: Logger;
|
|
15
|
+
}, task: string, opts?: ShowOptions): Promise<void>;
|
|
16
|
+
export interface Details {
|
|
17
|
+
task: string;
|
|
18
|
+
/** Files predicted to conflict at the last checked committed tips. */
|
|
19
|
+
comingConflict?: string[];
|
|
20
|
+
landed?: string[];
|
|
21
|
+
status: string;
|
|
22
|
+
branch: string;
|
|
23
|
+
base: string;
|
|
24
|
+
/** The `splates server` conversation whose agent added it, or null. */
|
|
25
|
+
caller: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* The `splates server` conversation whose agent last took it, or its caller's
|
|
28
|
+
* for a subagent; null for an agent outside the page.
|
|
29
|
+
*/
|
|
30
|
+
takenBy: string | null;
|
|
31
|
+
worktree: string;
|
|
32
|
+
lease: "held" | "stale" | "none";
|
|
33
|
+
/** Where its merge stands before landing: waiting its turn, or testing; null with none under way. */
|
|
34
|
+
gate: Gate | null;
|
|
35
|
+
/** When its merge under way was asked for; null with none under way. */
|
|
36
|
+
mergeSince: string | null;
|
|
37
|
+
/** Its merge's place in line for the premerge lock while it waits, 1 next; null otherwise. */
|
|
38
|
+
mergePlace: number | null;
|
|
39
|
+
/** How far its merge under way has got; null with none under way. */
|
|
40
|
+
mergeSteps: MergeProgress | null;
|
|
41
|
+
ahead: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Whether removing it would lose work: commits its base does not have, or
|
|
44
|
+
* changes not yet committed besides its SPLATES.md. A branch reset behind
|
|
45
|
+
* its base has none.
|
|
46
|
+
*/
|
|
47
|
+
unmerged: boolean;
|
|
48
|
+
added: number | null;
|
|
49
|
+
removed: number | null;
|
|
50
|
+
age: string | null;
|
|
51
|
+
/** When it was added, which `age` counts from. */
|
|
52
|
+
createdAt: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* The last sign of an agent at work on it: a splates command writing its
|
|
55
|
+
* record, a commit on its branch, or an edit to its SPLATES.md or to a file
|
|
56
|
+
* not yet committed. Null when nothing says.
|
|
57
|
+
*/
|
|
58
|
+
activeAt: string | null;
|
|
59
|
+
/** The merges it has tried; at `mergeAttemptLimit`, only `splates retry` lets it try again. */
|
|
60
|
+
mergeAttempts: number;
|
|
61
|
+
mergeAttemptLimit: number;
|
|
62
|
+
/** Its conflicted rebases, counted apart from `mergeAttempts`. */
|
|
63
|
+
conflictAttempts: number;
|
|
64
|
+
conflictAttemptLimit: number;
|
|
65
|
+
/** Whether either budget is spent, so only `splates retry` lets it merge again. */
|
|
66
|
+
budgetSpent: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the plan leaves nothing unchecked under `## Blocked` or
|
|
69
|
+
* `## Next`, which `splates merge` requires.
|
|
70
|
+
*/
|
|
71
|
+
ready: boolean;
|
|
72
|
+
plan: string | null;
|
|
73
|
+
/** How the `SPLATES.md` departs from the shape the skill prescribes. */
|
|
74
|
+
planProblems: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Whether `splates add --agent` handed it to an agent that `splates server` has
|
|
77
|
+
* yet to start a conversation with.
|
|
78
|
+
*/
|
|
79
|
+
dispatched: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The conversation `splates server` started for the agent another conversation
|
|
82
|
+
* handed it to, which answers to that one, its caller, rather than to the
|
|
83
|
+
* user; null for any other task.
|
|
84
|
+
*/
|
|
85
|
+
handedTo: string | null;
|
|
86
|
+
/** The last Auto pick that started it, as its record keeps it; null before any. */
|
|
87
|
+
autoPick: AutoPicked | null;
|
|
88
|
+
}
|
|
89
|
+
export interface ShowOptions {
|
|
90
|
+
/** Print the details as JSON instead of prose. */
|
|
91
|
+
json?: boolean;
|
|
92
|
+
}
|
|
93
|
+
/** Configures how {@link TaskDetails} gathers a task's info. */
|
|
94
|
+
export interface TaskDetailsOptions {
|
|
95
|
+
/** What the worktree is read through; the real filesystem by default. */
|
|
96
|
+
fs?: Fs;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Everything there is to say about one task, as `show` prints it and the
|
|
100
|
+
* `splates server` page shows it. Keep one to read tasks many times, and call
|
|
101
|
+
* {@link moved} whenever a branch or a worktree's files may have moved.
|
|
102
|
+
*/
|
|
103
|
+
export declare class TaskDetails {
|
|
104
|
+
private readonly fs;
|
|
105
|
+
/** Each task's git facts, by {@link gitKey}, read since git last moved. */
|
|
106
|
+
private readonly kept;
|
|
107
|
+
/** Bumped by {@link moved}, so a read begun before it is not kept. */
|
|
108
|
+
private generation;
|
|
109
|
+
/** As `generation`, for the worktrees {@link moved} named, by path. */
|
|
110
|
+
private readonly generations;
|
|
111
|
+
constructor(opts?: TaskDetailsOptions);
|
|
112
|
+
/**
|
|
113
|
+
* Forgets what git said of every task: a branch, its base, or a
|
|
114
|
+
* worktree's files may have moved.
|
|
115
|
+
*/
|
|
116
|
+
moved(worktree?: string): void;
|
|
117
|
+
get(worktree: Worktree): Promise<Details>;
|
|
118
|
+
/** What git says of `worktree`: kept since git last moved, or read now. */
|
|
119
|
+
private git;
|
|
120
|
+
private forget;
|
|
121
|
+
private readGit;
|
|
122
|
+
/**
|
|
123
|
+
* The latest of its record's last write, its own latest commit, and the
|
|
124
|
+
* edits to its SPLATES.md and uncommitted files, as `Details.activeAt`.
|
|
125
|
+
*/
|
|
126
|
+
private activeAt;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The two ends of a task one conversation handed to an agent, from before
|
|
130
|
+
* agents stopped handing tasks out: the caller that handed it out, and the
|
|
131
|
+
* conversation `splates server` started for the agent. Null for any other
|
|
132
|
+
* task, which answers to the user alone.
|
|
133
|
+
*/
|
|
134
|
+
export declare function handOff(worktree: Worktree): {
|
|
135
|
+
caller: string;
|
|
136
|
+
conversation: string;
|
|
137
|
+
} | null;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type * as Board from "../board";
|
|
3
|
+
import type { CredRequest, Creds } from "../creds";
|
|
4
|
+
import type { Slot } from "../ports";
|
|
5
|
+
import type { Behind, Release } from "../server/shared";
|
|
6
|
+
import type { Ship } from "../ship";
|
|
7
|
+
import { type Details, TaskDetails } from "./show";
|
|
8
|
+
import type { WorktreeService } from "./worktree-service";
|
|
9
|
+
/**
|
|
10
|
+
* Everything one page shows: `task list`, and `list` and `show` for each
|
|
11
|
+
* task.
|
|
12
|
+
*/
|
|
13
|
+
export interface Snapshot {
|
|
14
|
+
/** What `?project=` names the project by, which the registry gives it. */
|
|
15
|
+
project: string;
|
|
16
|
+
/** The repository's directory name, so a page among many says whose it is. */
|
|
17
|
+
repo: string;
|
|
18
|
+
/** Where the repository sits, with the home directory as `~`. */
|
|
19
|
+
path: string;
|
|
20
|
+
/** The main tree, absolute, which agents' file paths start from. */
|
|
21
|
+
root: string;
|
|
22
|
+
/** The directory that holds each task's worktree, absolute. */
|
|
23
|
+
worktreeRoot: string;
|
|
24
|
+
/** Past this age a queued task is offered for removal rather than recommended. */
|
|
25
|
+
taskStalenessMs: number;
|
|
26
|
+
todos: Board.TaskRecord[];
|
|
27
|
+
/** Its tasks' blockers in other projects, and theirs it blocks; absent unread. */
|
|
28
|
+
elsewhere?: Board.ElsewhereOnBoard;
|
|
29
|
+
/** Every lane, in board order, empty ones too. */
|
|
30
|
+
lanes: Board.LaneRecord[];
|
|
31
|
+
/**
|
|
32
|
+
* The name of every lane there has been, those on the board first, to
|
|
33
|
+
* name a lane's orchestrator after it once the lane is done.
|
|
34
|
+
*/
|
|
35
|
+
laneNames: Board.LaneRecord[];
|
|
36
|
+
tasks: Details[];
|
|
37
|
+
/** The merge batches running now, each leader first; absent from older servers. */
|
|
38
|
+
mergeBatches?: string[][];
|
|
39
|
+
/** Every cred agents requested, open or not, the latest first; never a value. */
|
|
40
|
+
creds: CredRequest[];
|
|
41
|
+
/** The branch tasks land on, which the main tree has checked out. */
|
|
42
|
+
trunk: string;
|
|
43
|
+
/** A newer splates than the one serving, once `splates server` has seen one on npm. */
|
|
44
|
+
release: Release | null;
|
|
45
|
+
/** Commits to splates's own source since `splates server` started from it. */
|
|
46
|
+
behind: Behind | null;
|
|
47
|
+
/**
|
|
48
|
+
* Whether building the page failed as `splates server` started, so the page
|
|
49
|
+
* serving is the one built before, and may be out of date.
|
|
50
|
+
*/
|
|
51
|
+
unbuilt: boolean;
|
|
52
|
+
/** The slot `splates server --slot` serves under, shown beside the project's name. */
|
|
53
|
+
slot: Slot | null;
|
|
54
|
+
/** The project's latest ship, going or ended. Absent from older servers. */
|
|
55
|
+
ship?: Ship | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Reads the whole repo the way the CLI's read commands do. Takes no lease, so
|
|
59
|
+
* the page can sit open on a live tree without disturbing the agent in it.
|
|
60
|
+
*/
|
|
61
|
+
export declare function snapshot({ project, service, tasks: queue, creds, fs, details, home, release, behind, unbuilt, slot, }: {
|
|
62
|
+
project: string;
|
|
63
|
+
service: WorktreeService;
|
|
64
|
+
tasks: Board.Tasks;
|
|
65
|
+
creds: Creds;
|
|
66
|
+
fs: Fs;
|
|
67
|
+
/**
|
|
68
|
+
* What reads each task, kept across reads to keep what git said of each
|
|
69
|
+
* until git moves; a fresh one, keeping nothing, by default.
|
|
70
|
+
*/
|
|
71
|
+
details?: TaskDetails;
|
|
72
|
+
/** The home directory to show as `~`, when there is one. */
|
|
73
|
+
home?: string;
|
|
74
|
+
release?: Release | null;
|
|
75
|
+
behind?: Behind | null;
|
|
76
|
+
unbuilt?: boolean;
|
|
77
|
+
slot?: Slot | null;
|
|
78
|
+
}): Promise<Snapshot>;
|
|
79
|
+
/** `list` and `show` for each task, as {@link snapshot} reads them. */
|
|
80
|
+
export declare function tasksOf({ service, fs, details, }: {
|
|
81
|
+
service: WorktreeService;
|
|
82
|
+
fs: Fs;
|
|
83
|
+
details?: TaskDetails;
|
|
84
|
+
}): Promise<Details[]>;
|
|
85
|
+
/** What a page shows of `snapshot`, as a string to compare with the last pushed. */
|
|
86
|
+
export declare function fingerprint({ todos, lanes, laneNames, tasks, mergeBatches, creds, release, behind, ship, }: Snapshot): string;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Attachments } from "../artifacts";
|
|
2
|
+
import { type TaskStore } from "../board";
|
|
3
|
+
import type { TaskState } from "./worktree";
|
|
4
|
+
/**
|
|
5
|
+
* Started tasks as their worktrees read them, from the numbered store the
|
|
6
|
+
* list of tasks shares: each one's branch, tree, lease and the rest, found by
|
|
7
|
+
* its name, written without touching what the list holds of it.
|
|
8
|
+
*/
|
|
9
|
+
export declare class StartedRecords {
|
|
10
|
+
private readonly store;
|
|
11
|
+
constructor(store: TaskStore);
|
|
12
|
+
/** The started task called `task`, or null for none. */
|
|
13
|
+
find(task: string): Promise<TaskState | null>;
|
|
14
|
+
/**
|
|
15
|
+
* What the record of started task `task` says of it as it ends: its
|
|
16
|
+
* number, what it was queued as, and the queued tasks it took up; null
|
|
17
|
+
* for one with no record.
|
|
18
|
+
*/
|
|
19
|
+
ending(task: string): Promise<{
|
|
20
|
+
id: number;
|
|
21
|
+
subject: string;
|
|
22
|
+
took: {
|
|
23
|
+
id: number;
|
|
24
|
+
subject: string;
|
|
25
|
+
}[];
|
|
26
|
+
} | null>;
|
|
27
|
+
/** Every started task. */
|
|
28
|
+
all(): Promise<TaskState[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Writes `state` into its task's record. A task's first save starts it
|
|
31
|
+
* under the lowest number it holds that is still queued, or a number of
|
|
32
|
+
* its own, off the list.
|
|
33
|
+
*/
|
|
34
|
+
save(state: TaskState): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Changes started task `task`'s record from what it holds now, under
|
|
37
|
+
* the lock, so a change made from a stale read cannot undo another's.
|
|
38
|
+
* `change` answers the record to keep, or null to leave it; a task
|
|
39
|
+
* with no record is left.
|
|
40
|
+
*/
|
|
41
|
+
amend(task: string, change: (state: TaskState) => TaskState | null): Promise<void>;
|
|
42
|
+
/** Writes `state` into its task's record. Call it under the store's lock. */
|
|
43
|
+
private write;
|
|
44
|
+
/**
|
|
45
|
+
* Ends `task`'s start: drops what it added to the record, and its files.
|
|
46
|
+
* One off the list goes, and one on it goes back to the stage it started
|
|
47
|
+
* from, for the list to settle; `unqueue`, never back in the queue.
|
|
48
|
+
*/
|
|
49
|
+
end(task: string, { unqueue }?: {
|
|
50
|
+
unqueue?: boolean | undefined;
|
|
51
|
+
}): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Where started task `task`'s files live, beside its record: the
|
|
54
|
+
* screenshots and videos its questions show, in `tasks/<N>/started/`,
|
|
55
|
+
* apart from those it was queued with. They go when the task ends. Null
|
|
56
|
+
* for a task with no record.
|
|
57
|
+
*/
|
|
58
|
+
files(task: string): Promise<Attachments | null>;
|
|
59
|
+
/**
|
|
60
|
+
* Drops the files of every started task whose start has ended: what a
|
|
61
|
+
* process that died between ending a task and clearing its folder left
|
|
62
|
+
* behind.
|
|
63
|
+
*/
|
|
64
|
+
sweep(): Promise<void>;
|
|
65
|
+
private filesAt;
|
|
66
|
+
/**
|
|
67
|
+
* The record `task` starts under: the lowest-numbered queued task it
|
|
68
|
+
* holds, or a new one off the list. Call it under the store's lock.
|
|
69
|
+
*/
|
|
70
|
+
private numbered;
|
|
71
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
3
|
+
import { Duration } from "../../../core/time/index.js";
|
|
4
|
+
import type { Tasks } from "../board";
|
|
5
|
+
import type { Worktree } from "./worktree";
|
|
6
|
+
import type { WorktreeService } from "./worktree-service";
|
|
7
|
+
/** How long `wait` gives a task before handing the wait back to its caller. */
|
|
8
|
+
export declare const DEFAULT_TIMEOUT: Duration;
|
|
9
|
+
/** When a wait begun now gives up after `timeout`, as an ISO time. */
|
|
10
|
+
export declare function untilAfter(timeout: Duration): string;
|
|
11
|
+
export interface WaitOptions {
|
|
12
|
+
/** How long to wait before giving up. */
|
|
13
|
+
timeout?: Duration;
|
|
14
|
+
/** How long between reads of the record; the default suits a human's patience. */
|
|
15
|
+
poll?: Duration;
|
|
16
|
+
/** The time a quiet agent is measured to, in milliseconds. */
|
|
17
|
+
now?: () => number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Blocks until a task stops moving: merged or removed (both leave the name
|
|
21
|
+
* `removed`), waiting on a person to answer its questions, or broken. Waiting is for the agent whose
|
|
22
|
+
* own work overlaps this one's and would rather rebase onto the result than
|
|
23
|
+
* against it, which is why the timeout is short enough to come back and think
|
|
24
|
+
* again rather than block a session for an afternoon.
|
|
25
|
+
*/
|
|
26
|
+
export declare function wait({ service, log, fs }: {
|
|
27
|
+
service: WorktreeService;
|
|
28
|
+
log: Logger;
|
|
29
|
+
fs?: Fs;
|
|
30
|
+
}, task: string, { timeout, poll, now }?: WaitOptions): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* The first open question `worktree`'s agent went quiet on, so it waits on a
|
|
33
|
+
* person to answer it; null while it works, or asks nothing.
|
|
34
|
+
*/
|
|
35
|
+
export declare function asking(worktree: Worktree, fs: Fs | undefined, now: number): Promise<string | null>;
|
|
36
|
+
/**
|
|
37
|
+
* Blocks until queued task `id` leaves the list, which it does when the task that
|
|
38
|
+
* took it merges (or it is removed): what an agent whose next task comes
|
|
39
|
+
* after it waits for, not knowing which task will take it. Ends early when
|
|
40
|
+
* the task that has it waits on a person to answer its questions.
|
|
41
|
+
*/
|
|
42
|
+
export declare function taskWait({ service, tasks: queue, log, fs, }: {
|
|
43
|
+
service: WorktreeService;
|
|
44
|
+
tasks: Tasks;
|
|
45
|
+
log: Logger;
|
|
46
|
+
fs?: Fs;
|
|
47
|
+
}, id: number, { timeout, poll, now }?: WaitOptions): Promise<void>;
|