@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,20 @@
|
|
|
1
|
+
import type { Lock } from "../../../core/system/index.js";
|
|
2
|
+
import type { Document } from "./document";
|
|
3
|
+
import type { Schema } from "./schema";
|
|
4
|
+
import type { SqliteDb } from "./sqlite-db";
|
|
5
|
+
/** A document kept as one row, replaced whole on each write. */
|
|
6
|
+
export declare class SqliteDocument<T> implements Document<T> {
|
|
7
|
+
readonly key: string;
|
|
8
|
+
/** The key in the whole database, which a view's `key` is relative to. */
|
|
9
|
+
readonly at: string;
|
|
10
|
+
private readonly db;
|
|
11
|
+
private readonly lock;
|
|
12
|
+
private readonly schema?;
|
|
13
|
+
constructor(key: string,
|
|
14
|
+
/** The key in the whole database, which a view's `key` is relative to. */
|
|
15
|
+
at: string, db: SqliteDb, lock: Lock, schema?: Schema<T> | undefined);
|
|
16
|
+
read(): Promise<T | null>;
|
|
17
|
+
write(value: T): Promise<void>;
|
|
18
|
+
update(edit: (current: T | null) => T | Promise<T>): Promise<T>;
|
|
19
|
+
remove(): Promise<void>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type { SqliteDb } from "./sqlite-db";
|
|
3
|
+
/**
|
|
4
|
+
* Copies every file under `dir` into the database under `root`, each as the
|
|
5
|
+
* kind of thing its name says: a `.jsonl` file as a log, one line an entry,
|
|
6
|
+
* a `.jsonl` file in `log/` or a `<log>.segments/` directory as a segment of
|
|
7
|
+
* that log, any other as a record or blob. Leaves out locks, stamps and
|
|
8
|
+
* temporary files, which name the disk. Run again over what it copied, it
|
|
9
|
+
* replaces it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function importTree(db: SqliteDb, fs: Fs, dir: string, root: string): Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The bounds on a `key` column of everything under `prefix`, a key with no
|
|
3
|
+
* trailing `/`, for a `BETWEEN`-shaped range an index can serve: `lo` is
|
|
4
|
+
* `prefix/`, and `hi` the first key past it, or null under the root, where
|
|
5
|
+
* nothing is past.
|
|
6
|
+
*/
|
|
7
|
+
export declare function under(prefix: string): {
|
|
8
|
+
lo: string;
|
|
9
|
+
hi: string | null;
|
|
10
|
+
};
|
|
11
|
+
/** SQL for `col` in the range `under` gives, bound as `lo, hi, hi`. */
|
|
12
|
+
export declare function inRange(col: string): string;
|
|
13
|
+
/** The parameters `inRange` binds. */
|
|
14
|
+
export declare function rangeParams(prefix: string): [string, string | null, string | null];
|
|
15
|
+
/** The text of `data`, which a document or a record keeps as UTF-8. */
|
|
16
|
+
export declare function decode(data: Uint8Array): string;
|
|
17
|
+
export declare function encode(text: string): Uint8Array;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Lock, Ps } from "../../../core/system/index.js";
|
|
3
|
+
import type { SqliteDb } from "./sqlite-db";
|
|
4
|
+
/**
|
|
5
|
+
* A mutex between the processes on this machine that share a database:
|
|
6
|
+
* `acquire` waits until no live process holds it, taking it from one that
|
|
7
|
+
* died, and `release` gives it up.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SqliteLock implements Lock {
|
|
10
|
+
readonly key: string;
|
|
11
|
+
private readonly deps;
|
|
12
|
+
constructor(key: string, deps: {
|
|
13
|
+
db: SqliteDb;
|
|
14
|
+
ps: Ps;
|
|
15
|
+
log?: Logger;
|
|
16
|
+
pollMs?: number;
|
|
17
|
+
});
|
|
18
|
+
acquire(): Promise<void>;
|
|
19
|
+
release(): Promise<void>;
|
|
20
|
+
releaseIfOurs(): Promise<void>;
|
|
21
|
+
private holder;
|
|
22
|
+
/** Removes `holder`'s row, and not one another took since it was read. */
|
|
23
|
+
private drop;
|
|
24
|
+
private isStale;
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Log, Segment } from "./log";
|
|
2
|
+
import type { Schema } from "./schema";
|
|
3
|
+
import type { SqliteDb } from "./sqlite-db";
|
|
4
|
+
/** A log kept in a `SqliteStorage`, as `SqliteStorage.log` opens one. */
|
|
5
|
+
export declare class SqliteLog<T> implements Log<T> {
|
|
6
|
+
readonly key: string;
|
|
7
|
+
/** The log's key in the whole database. */
|
|
8
|
+
readonly at: string;
|
|
9
|
+
/** The key its segments are kept under. */
|
|
10
|
+
readonly segmentsAt: string;
|
|
11
|
+
private readonly db;
|
|
12
|
+
private readonly schema?;
|
|
13
|
+
constructor(key: string,
|
|
14
|
+
/** The log's key in the whole database. */
|
|
15
|
+
at: string,
|
|
16
|
+
/** The key its segments are kept under. */
|
|
17
|
+
segmentsAt: string, db: SqliteDb, schema?: Schema<T> | undefined);
|
|
18
|
+
exists(): Promise<boolean>;
|
|
19
|
+
append(...entries: T[]): Promise<void>;
|
|
20
|
+
replay(): Promise<T[]>;
|
|
21
|
+
first(): Promise<T | null>;
|
|
22
|
+
compact(merge: (entries: T[]) => T[]): Promise<void>;
|
|
23
|
+
rotate(): Promise<Segment | null>;
|
|
24
|
+
segments(): Promise<Segment[]>;
|
|
25
|
+
replaySegment(segment: Segment): Promise<T[]>;
|
|
26
|
+
dropSegment(segment: Segment): Promise<void>;
|
|
27
|
+
remove(): Promise<void>;
|
|
28
|
+
private segmentKey;
|
|
29
|
+
/** The entries `where` picks, oldest first, as the lines of a file. */
|
|
30
|
+
private lines;
|
|
31
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
3
|
+
import type { Fs, Lock, Ps } from "../../../core/system/index.js";
|
|
4
|
+
import type { Timer } from "../../../core/time/index.js";
|
|
5
|
+
import type { Collection } from "./collection";
|
|
6
|
+
import type { Document, DocumentOptions } from "./document";
|
|
7
|
+
import type { Log, LogOptions } from "./log";
|
|
8
|
+
import type { Kept, Storage, Watch, WatchOptions } from "./storage";
|
|
9
|
+
export interface SqliteStorageOptions {
|
|
10
|
+
fs: Fs;
|
|
11
|
+
ps: Ps;
|
|
12
|
+
log?: Logger;
|
|
13
|
+
timer?: Timer;
|
|
14
|
+
/** How often a watch looks for another process's writes, and a waiter for a lock's release. */
|
|
15
|
+
pollMs?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Where `materialize` writes a copy for an agent to read as a file:
|
|
18
|
+
* `<path>.files` by default.
|
|
19
|
+
*/
|
|
20
|
+
cache?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Storage kept in one SQLite database at `path`, which every process on the
|
|
24
|
+
* machine opens; what an agent must read as a file is copied out beside it.
|
|
25
|
+
* Dispose the storage opened to close the database; a view `within` shares it.
|
|
26
|
+
*/
|
|
27
|
+
export declare class SqliteStorage implements Storage, Resource {
|
|
28
|
+
readonly root: string;
|
|
29
|
+
private readonly shared;
|
|
30
|
+
static open(path: string, opts: SqliteStorageOptions): SqliteStorage;
|
|
31
|
+
private constructor();
|
|
32
|
+
document<T>(key: string, opts?: DocumentOptions<T>): Document<T>;
|
|
33
|
+
log<T>(key: string, opts?: LogOptions<T>): Log<T>;
|
|
34
|
+
collection(key: string): Collection;
|
|
35
|
+
lock(key: string): Lock;
|
|
36
|
+
watch(key: string, opts?: WatchOptions): Watch;
|
|
37
|
+
locate(key: string): string;
|
|
38
|
+
materialize(key: string): Promise<string>;
|
|
39
|
+
children(key: string): Promise<string[]>;
|
|
40
|
+
size(key: string): Promise<number>;
|
|
41
|
+
keys(key: string): Promise<string[]>;
|
|
42
|
+
copy(key: string, from?: number): Promise<Kept | null>;
|
|
43
|
+
remove(key: string): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Copies the files under `dir` on `fs` in, each at its path as a key, as
|
|
46
|
+
* a log, a record or a blob by its name: what moves records kept as files
|
|
47
|
+
* into the database. Leaves locks and stamps behind.
|
|
48
|
+
*/
|
|
49
|
+
importFiles(fs: Fs, dir: string): Promise<void>;
|
|
50
|
+
within(key: string): Storage;
|
|
51
|
+
dispose(): void;
|
|
52
|
+
private full;
|
|
53
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import type { Eventful } from "../../../core/events/index.js";
|
|
3
|
+
import type { Lock } from "../../../core/system/index.js";
|
|
4
|
+
import type { Collection } from "./collection";
|
|
5
|
+
import type { Document, DocumentOptions } from "./document";
|
|
6
|
+
import type { Log, LogOptions } from "./log";
|
|
7
|
+
/**
|
|
8
|
+
* Where splates keeps its state, as a few kinds of thing rather than files,
|
|
9
|
+
* so a database or a cloud store can stand in for the disk. Every key is a
|
|
10
|
+
* `/`-separated path relative to the storage, extension included, so the
|
|
11
|
+
* file-system one keeps each thing in the file a store kept it in before.
|
|
12
|
+
*/
|
|
13
|
+
export interface Storage {
|
|
14
|
+
/** One whole value, read and written at once. */
|
|
15
|
+
document<T>(key: string, opts?: DocumentOptions<T>): Document<T>;
|
|
16
|
+
/** Entries only ever added to, read back in the order they came. */
|
|
17
|
+
log<T>(key: string, opts?: LogOptions<T>): Log<T>;
|
|
18
|
+
/** Records and blobs kept by name, as a store of one per task keeps them. */
|
|
19
|
+
collection(key: string): Collection;
|
|
20
|
+
/**
|
|
21
|
+
* The mutex every holder of `key` shares, across processes and, on a
|
|
22
|
+
* worker, across machines.
|
|
23
|
+
*/
|
|
24
|
+
lock(key: string): Lock;
|
|
25
|
+
/**
|
|
26
|
+
* Tells of each change at `key` or directly under it, as a write or a
|
|
27
|
+
* removal, until disposed. Throws when the storage cannot watch `key`, as
|
|
28
|
+
* the disk cannot a directory not yet made, so callers can say what they
|
|
29
|
+
* will miss.
|
|
30
|
+
*/
|
|
31
|
+
watch(key: string, opts?: WatchOptions): Watch;
|
|
32
|
+
/**
|
|
33
|
+
* The path `key` can be opened at as a file, which is what an agent is
|
|
34
|
+
* handed to read an attachment; a storage with no files gives a path no
|
|
35
|
+
* file is at.
|
|
36
|
+
*/
|
|
37
|
+
locate(key: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* A path on this machine where what is kept at `key`, a record, a blob or
|
|
40
|
+
* a log, opens as a file, for an agent to read: where the disk keeps it,
|
|
41
|
+
* or a copy a storage with no files writes to a local cache first.
|
|
42
|
+
*/
|
|
43
|
+
materialize(key: string): Promise<string>;
|
|
44
|
+
/** The names directly under `key` that hold more keys of their own, sorted. */
|
|
45
|
+
children(key: string): Promise<string[]>;
|
|
46
|
+
/** The bytes everything under `key`, nested keys included, takes. */
|
|
47
|
+
size(key: string): Promise<number>;
|
|
48
|
+
/**
|
|
49
|
+
* Every key under `key`, nested ones included, that holds something
|
|
50
|
+
* itself: a document, a record or blob, or a log or one of its segments.
|
|
51
|
+
* Sorted, relative to the storage, and never a lock.
|
|
52
|
+
*/
|
|
53
|
+
keys(key: string): Promise<string[]>;
|
|
54
|
+
/**
|
|
55
|
+
* What `key` holds itself, as a copy kept elsewhere needs it: a value's
|
|
56
|
+
* bytes, or a log's whole lines after the first `from`, with how many it
|
|
57
|
+
* has. Null when it holds nothing.
|
|
58
|
+
*/
|
|
59
|
+
copy(key: string, from?: number): Promise<Kept | null>;
|
|
60
|
+
/** Removes everything under `key`, nested keys included; nothing there is no error. */
|
|
61
|
+
remove(key: string): Promise<void>;
|
|
62
|
+
/** The storage under `key`, which its own keys are relative to. */
|
|
63
|
+
within(key: string): Storage;
|
|
64
|
+
}
|
|
65
|
+
/** What `Storage.copy` reads at a key. */
|
|
66
|
+
export type Kept = {
|
|
67
|
+
kind: "value";
|
|
68
|
+
bytes: Uint8Array;
|
|
69
|
+
} | {
|
|
70
|
+
kind: "log";
|
|
71
|
+
/** The lines after the ones skipped, each without its newline. */
|
|
72
|
+
lines: string[];
|
|
73
|
+
/** How many lines the log has, those skipped included. */
|
|
74
|
+
count: number;
|
|
75
|
+
};
|
|
76
|
+
export interface WatchOptions {
|
|
77
|
+
/** Everything under `key` too, rather than what is directly under it. */
|
|
78
|
+
recursive?: boolean;
|
|
79
|
+
}
|
|
80
|
+
/** What `Storage.watch` tells of. */
|
|
81
|
+
export interface StorageChanges extends Record<string, unknown> {
|
|
82
|
+
/** The key that changed, relative to the storage watched. */
|
|
83
|
+
changed: string;
|
|
84
|
+
}
|
|
85
|
+
/** A watch on a storage's keys, which stops once disposed. */
|
|
86
|
+
export interface Watch extends Eventful<StorageChanges>, Resource {
|
|
87
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
3
|
+
import type { Tasks } from "../board";
|
|
4
|
+
import type { Config } from "../config";
|
|
5
|
+
import { type RosterAgent } from "../models";
|
|
6
|
+
import type { Shell } from "../terminal";
|
|
7
|
+
import type { Dispatched } from "./worktree";
|
|
8
|
+
import { type WorktreeService } from "./worktree-service";
|
|
9
|
+
export interface AddOptions {
|
|
10
|
+
/** Branch the task starts from and merges onto. Defaults to the trunk. */
|
|
11
|
+
base?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The queued task this task starts, as a list of one: its words seed the
|
|
14
|
+
* plan's Goal, and nobody else can take it while the task lives.
|
|
15
|
+
*/
|
|
16
|
+
tasks?: number[];
|
|
17
|
+
/**
|
|
18
|
+
* One or two lines on what done means, written under `## Goal` ahead of
|
|
19
|
+
* whatever the queued tasks seed it with.
|
|
20
|
+
*/
|
|
21
|
+
goal?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Runs once the worktree exists and before its record makes the task live,
|
|
24
|
+
* so whatever it tells of the task is in place before anyone can see it.
|
|
25
|
+
*/
|
|
26
|
+
onTree?: () => Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* The agent `splates server`'s queue hands the task to, which it starts in
|
|
29
|
+
* the task's tree once the tree is ready; its id must be one of `agents`.
|
|
30
|
+
* Never from an agent, which starts no agents.
|
|
31
|
+
*/
|
|
32
|
+
dispatch?: Dispatched;
|
|
33
|
+
/** The roster's agents, which `dispatch` must name one of, and its model. */
|
|
34
|
+
agents?: RosterAgent[];
|
|
35
|
+
/** Added from another project, as `splates --project` does, which is refused. */
|
|
36
|
+
away?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare function add({ service, shell, config, log, fs, tasks: queue, }: {
|
|
39
|
+
service: WorktreeService;
|
|
40
|
+
shell: Shell;
|
|
41
|
+
config: Config;
|
|
42
|
+
log: Logger;
|
|
43
|
+
fs: Fs;
|
|
44
|
+
tasks: Tasks;
|
|
45
|
+
}, task: string, { base, tasks: ids, goal: asked, onTree, dispatch, agents, away, }?: AddOptions): Promise<void>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Git } from "../git";
|
|
3
|
+
import { type Pushed, type TaskBranches } from "../merge";
|
|
4
|
+
import type { Worktree } from "./worktree";
|
|
5
|
+
import type { WorktreeService } from "./worktree-service";
|
|
6
|
+
/** The message of the commit a checkpoint saves uncommitted work in. */
|
|
7
|
+
export declare const WIP_MESSAGE = "WIP: checkpoint";
|
|
8
|
+
/** What a checkpoint did. */
|
|
9
|
+
export interface Checkpointed {
|
|
10
|
+
task: string;
|
|
11
|
+
/** Whether it committed work that was uncommitted. */
|
|
12
|
+
committed: boolean;
|
|
13
|
+
/** Whether the remote has the branch as it now stands. */
|
|
14
|
+
pushed: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Saves the task `cwd` is a worktree of to the central remote, as before a
|
|
18
|
+
* restart: commits what is uncommitted as a WIP commit, which the agent
|
|
19
|
+
* squashes before merging, then pushes the branch, so a worker that dies
|
|
20
|
+
* now loses nothing. Mid-rebase it commits nothing, and pushes the branch
|
|
21
|
+
* as it stood before the rebase. With no remote configured, this tree is
|
|
22
|
+
* the only copy, so it leaves it as it is.
|
|
23
|
+
*/
|
|
24
|
+
export declare function checkpoint({ service, git, log, branches, }: {
|
|
25
|
+
service: WorktreeService;
|
|
26
|
+
git: Git;
|
|
27
|
+
log: Logger;
|
|
28
|
+
branches: TaskBranches;
|
|
29
|
+
}, cwd: string): Promise<Checkpointed>;
|
|
30
|
+
/**
|
|
31
|
+
* Commits what `tree` holds uncommitted as a WIP commit, unless a rebase or
|
|
32
|
+
* the like is under way, then pushes its branch as `splates/<task>`: through
|
|
33
|
+
* the tree's own git, so a clone on a worker is saved there. Throws when
|
|
34
|
+
* the commit fails.
|
|
35
|
+
*/
|
|
36
|
+
export declare function save(tree: Pick<Worktree, "task" | "branch" | "path" | "git">, branches: TaskBranches): Promise<{
|
|
37
|
+
committed: boolean;
|
|
38
|
+
pushed: Pushed;
|
|
39
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* The resume entry point: a fresh agent thread picking up existing work. Its
|
|
6
|
+
* merge budget stays as it was, which only `retry` refills.
|
|
7
|
+
*/
|
|
8
|
+
export declare function claim({ service, log, fs, }: {
|
|
9
|
+
service: WorktreeService;
|
|
10
|
+
log: Logger;
|
|
11
|
+
fs: Fs;
|
|
12
|
+
}, task: string): Promise<{
|
|
13
|
+
goal: string;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Storage } from "../storage";
|
|
2
|
+
import type { Worktree } from "./worktree";
|
|
3
|
+
/** A prediction for committed tips, never an operation on an agent's tree. */
|
|
4
|
+
export interface ComingConflict {
|
|
5
|
+
base: string;
|
|
6
|
+
tip: string;
|
|
7
|
+
files: string[];
|
|
8
|
+
}
|
|
9
|
+
/** Keeps predictions separately so background checks cannot overwrite a lease. */
|
|
10
|
+
export declare class ConflictChecks {
|
|
11
|
+
private readonly storage;
|
|
12
|
+
constructor(storage: Storage);
|
|
13
|
+
read(task: string): Promise<ComingConflict | null>;
|
|
14
|
+
/** Checks each pair of tips once, including across server restarts. */
|
|
15
|
+
check(worktree: Worktree): Promise<{
|
|
16
|
+
conflict: ComingConflict;
|
|
17
|
+
fresh: boolean;
|
|
18
|
+
} | null>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** A line of a diff, as assistant-ui's `CodeDiff` draws one. */
|
|
2
|
+
export interface DiffLine {
|
|
3
|
+
kind: "context" | "added" | "removed";
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
/** A run of changed lines and the context around them. */
|
|
7
|
+
export interface Hunk {
|
|
8
|
+
/** Where it is, as git heads it: `@@ -10,6 +10,8 @@`. */
|
|
9
|
+
range: string;
|
|
10
|
+
lines: DiffLine[];
|
|
11
|
+
}
|
|
12
|
+
/** One file's changes. */
|
|
13
|
+
export interface FileDiff {
|
|
14
|
+
path: string;
|
|
15
|
+
/** Where it was, for a file that moved; null otherwise. */
|
|
16
|
+
from: string | null;
|
|
17
|
+
status: "added" | "deleted" | "renamed" | "modified";
|
|
18
|
+
added: number;
|
|
19
|
+
removed: number;
|
|
20
|
+
/** Git says only that it differs, with no lines to show. */
|
|
21
|
+
binary: boolean;
|
|
22
|
+
/** Some of it is not committed yet. */
|
|
23
|
+
uncommitted: boolean;
|
|
24
|
+
hunks: Hunk[];
|
|
25
|
+
}
|
|
26
|
+
/** `git diff` output as files, hunks and lines. */
|
|
27
|
+
export declare function parseDiff(text: string): FileDiff[];
|
|
28
|
+
/** An edit as lines: what it took out, then what it put in. */
|
|
29
|
+
export declare function editLines(old: string | null, now: string): DiffLine[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import { type Conversations } from "../conversations";
|
|
3
|
+
import type { WorktreeService } from "./worktree-service";
|
|
4
|
+
/**
|
|
5
|
+
* Starts the agent of each task `splates server`'s queue handed to one and
|
|
6
|
+
* that has none yet, in the task's tree, on the model and thinking level
|
|
7
|
+
* asked for, told to claim it: in the conversation the queue held for it,
|
|
8
|
+
* when there is one. Safe to call again: a task is started once, as long
|
|
9
|
+
* as no two runs overlap. Answers once each is started, not told.
|
|
10
|
+
*/
|
|
11
|
+
export declare function startDispatched({ service, conversations, log, }: {
|
|
12
|
+
service: WorktreeService;
|
|
13
|
+
conversations: Conversations;
|
|
14
|
+
log: Logger;
|
|
15
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The editors a file the page names opens in: the link the browser hands it,
|
|
3
|
+
* and the command `dev` runs on this machine to open the file inside the
|
|
4
|
+
* tree it belongs to, which a link cannot say.
|
|
5
|
+
*/
|
|
6
|
+
export interface Editor {
|
|
7
|
+
id: string;
|
|
8
|
+
/** What the Settings dialog calls it. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** The scheme of its `<scheme>://file/<path>:<line>` links. */
|
|
11
|
+
scheme: string;
|
|
12
|
+
/**
|
|
13
|
+
* The command that opens `tree` as its window and `file` in it, at `line`
|
|
14
|
+
* when there is one; the window alone when `file` is the tree.
|
|
15
|
+
*/
|
|
16
|
+
argv(tree: string, file: string, line: number | null): string[];
|
|
17
|
+
}
|
|
18
|
+
export declare const ZED: Editor;
|
|
19
|
+
/** Every editor, in the order the Settings dialog offers them. */
|
|
20
|
+
export declare const EDITORS: readonly [Editor, Editor, Editor];
|
|
21
|
+
/** The editor `id` names, or null for one this splates does not know. */
|
|
22
|
+
export declare function editorOf(id: string): Editor | null;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type { Storage } from "../storage";
|
|
3
|
+
import type { RemoveReason } from "./worktree";
|
|
4
|
+
/** A task that merged or was removed, as `Finished` keeps it to look back on. */
|
|
5
|
+
export interface FinishedTask {
|
|
6
|
+
/** What names it among the finished, apart from a later finish of the same number. */
|
|
7
|
+
key: string;
|
|
8
|
+
/** Its number, which a queued task it was started from goes on holding. */
|
|
9
|
+
id: number;
|
|
10
|
+
task: string;
|
|
11
|
+
/** The first line of its Goal, or of what it was queued as when it had none. */
|
|
12
|
+
subject: string;
|
|
13
|
+
ended: "merged" | "removed";
|
|
14
|
+
/** Why it was removed, when it was and one was given. */
|
|
15
|
+
reason: RemoveReason | null;
|
|
16
|
+
base: string;
|
|
17
|
+
/** The commit it landed as, for one that merged. */
|
|
18
|
+
commit: string | null;
|
|
19
|
+
startedAt: string;
|
|
20
|
+
endedAt: string;
|
|
21
|
+
/** The `splates server` conversation that worked it, or null for none. */
|
|
22
|
+
conversation: string | null;
|
|
23
|
+
/** The queued tasks it took up, which left the queue with it or went back. */
|
|
24
|
+
took: {
|
|
25
|
+
id: number;
|
|
26
|
+
subject: string;
|
|
27
|
+
}[];
|
|
28
|
+
/** Whether the plan it ended on has a `## Demo` saying how to show it. */
|
|
29
|
+
hasDemo: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** A finished task with the `SPLATES.md` it ended on, "" when it had none. */
|
|
32
|
+
export interface FinishedPlan extends FinishedTask {
|
|
33
|
+
plan: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Every task that has finished in a repo, newest kept, in
|
|
37
|
+
* `.git/splates/finished/<key>.md`: its facts as front matter and the
|
|
38
|
+
* `SPLATES.md` it ended on as the body, so the page can show what it did
|
|
39
|
+
* once its tree and record are gone. The attached files that plan shows are
|
|
40
|
+
* copied into `.git/splates/finished/<key>/` and the plan pointed at them,
|
|
41
|
+
* so its screenshots outlive the conversation or task that held them.
|
|
42
|
+
*/
|
|
43
|
+
export declare class Finished {
|
|
44
|
+
/** The project's, holding `finished/`. */
|
|
45
|
+
private readonly storage;
|
|
46
|
+
/** Reads the attached files a plan names, which are named by absolute path. */
|
|
47
|
+
private readonly fs;
|
|
48
|
+
/** How many it keeps, the oldest going first. */
|
|
49
|
+
private readonly capacity;
|
|
50
|
+
private readonly records;
|
|
51
|
+
/** Where the kept records can be opened. */
|
|
52
|
+
readonly dir: string;
|
|
53
|
+
constructor(
|
|
54
|
+
/** The project's, holding `finished/`. */
|
|
55
|
+
storage: Storage,
|
|
56
|
+
/** Reads the attached files a plan names, which are named by absolute path. */
|
|
57
|
+
fs: Fs,
|
|
58
|
+
/** How many it keeps, the oldest going first. */
|
|
59
|
+
capacity: number);
|
|
60
|
+
/**
|
|
61
|
+
* Keeps `finished`, with a copy of each file its plan names that
|
|
62
|
+
* `attached` says is one a task held, the plan rewritten to name the copy.
|
|
63
|
+
*/
|
|
64
|
+
record(finished: Omit<FinishedPlan, "key" | "hasDemo">, attached?: (path: string) => boolean): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Whether `path` is a file kept with a finished task, one level inside
|
|
67
|
+
* its `<key>/`, and not a way out of here.
|
|
68
|
+
*/
|
|
69
|
+
owns(path: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* `plan` naming copies, kept under `key`, of the attached files it named,
|
|
72
|
+
* which go on to show once their conversation or task is gone. A file
|
|
73
|
+
* that can no longer be read is left named as it was.
|
|
74
|
+
*/
|
|
75
|
+
private keep;
|
|
76
|
+
private filesKey;
|
|
77
|
+
/** Every one kept, the latest to finish first, without its plan. */
|
|
78
|
+
list(): Promise<FinishedTask[]>;
|
|
79
|
+
/** The one kept as `key`, with its plan, or null for none. */
|
|
80
|
+
read(key: string): Promise<FinishedPlan | null>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs, Ps } from "../../../core/system/index.js";
|
|
3
|
+
import type { Git } from "../git";
|
|
4
|
+
import type { Projects } from "../projects";
|
|
5
|
+
/**
|
|
6
|
+
* How long a server is waited on before it counts as unreachable: one that
|
|
7
|
+
* stalled would otherwise hold the task command for fetch's own five minutes.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SERVER_WAIT_MS = 30000;
|
|
10
|
+
/** What `fetch` is used for here, so a test can stand in for it. */
|
|
11
|
+
type Send = (url: string, init: RequestInit) => Promise<Response>;
|
|
12
|
+
/**
|
|
13
|
+
* Tells `splates server` that the agent in a conversation took or left a task, so
|
|
14
|
+
* the conversation follows it into that worktree, or back to the main tree.
|
|
15
|
+
* An agent started from the page runs with its conversation and the server
|
|
16
|
+
* in its env; any other `splates` has neither, and says nothing. A server that
|
|
17
|
+
* cannot be reached is worth a line, never a failure: the task command has
|
|
18
|
+
* done its work.
|
|
19
|
+
*/
|
|
20
|
+
export declare function follow({ ps, fs, log, send }: {
|
|
21
|
+
ps: Ps;
|
|
22
|
+
fs?: Fs;
|
|
23
|
+
log: Logger;
|
|
24
|
+
send?: Send;
|
|
25
|
+
}, task: string | null, { from, base, }?: {
|
|
26
|
+
/** The task being left; given, the conversation moves only out of it. */
|
|
27
|
+
from?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The branch `task` lands on, for an add to send before the task's
|
|
30
|
+
* record names it, so the server can tell a part from a task to follow.
|
|
31
|
+
*/
|
|
32
|
+
base?: string;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Asks `splates server` to serve the project `git` is in, so the agent a task
|
|
36
|
+
* there was just handed to from another project starts: the server opens a
|
|
37
|
+
* project only once something asks for it. Outside `splates server` it says
|
|
38
|
+
* nothing; a server that cannot be reached is worth a line.
|
|
39
|
+
*/
|
|
40
|
+
export declare function serveProject({ ps, fs, log, git, projects, send, }: {
|
|
41
|
+
ps: Ps;
|
|
42
|
+
fs?: Fs;
|
|
43
|
+
log: Logger;
|
|
44
|
+
git: Git;
|
|
45
|
+
projects: Projects;
|
|
46
|
+
send?: Send;
|
|
47
|
+
}): Promise<void>;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { add } from "./add";
|
|
2
|
+
export { checkpoint, save, WIP_MESSAGE } from "./checkpoint";
|
|
3
|
+
export { claim } from "./claim";
|
|
4
|
+
export type { ComingConflict } from "./conflicts";
|
|
5
|
+
export { ConflictChecks } from "./conflicts";
|
|
6
|
+
export type { FileDiff } from "./diff";
|
|
7
|
+
export { editLines } from "./diff";
|
|
8
|
+
export { startDispatched } from "./dispatched";
|
|
9
|
+
export type { Editor } from "./editors";
|
|
10
|
+
export { EDITORS, ZED } from "./editors";
|
|
11
|
+
export type { FinishedPlan, FinishedTask } from "./finished";
|
|
12
|
+
export { Finished } from "./finished";
|
|
13
|
+
export { follow, SERVER_WAIT_MS, serveProject } from "./follow";
|
|
14
|
+
export type { Landing } from "./landings";
|
|
15
|
+
export { landingNotice, landingsOverlapping } from "./landings";
|
|
16
|
+
export { list } from "./list";
|
|
17
|
+
export { overlapWarnings, TaskOverlaps } from "./overlaps";
|
|
18
|
+
export { path } from "./path";
|
|
19
|
+
export { recommend, recommendation } from "./recommend";
|
|
20
|
+
export { remove } from "./remove";
|
|
21
|
+
export { recordRetry, retry } from "./retry";
|
|
22
|
+
export { TaskRoutes } from "./routes";
|
|
23
|
+
export type { Details } from "./show";
|
|
24
|
+
export { show, TaskDetails } from "./show";
|
|
25
|
+
export type { Snapshot } from "./snapshot";
|
|
26
|
+
export { fingerprint, snapshot, tasksOf } from "./snapshot";
|
|
27
|
+
export { asking, DEFAULT_TIMEOUT, taskWait, untilAfter, wait } from "./wait";
|
|
28
|
+
export type { DiffSize, FailedTest, GateFailure, LivePhase, MergeFailure, MergeProgress, MergeStep, MergeTimes, RemoveReason, TaskState, Worktree, } from "./worktree";
|
|
29
|
+
export { MERGE_STEPS, REMOVE_REASONS } from "./worktree";
|
|
30
|
+
export { taskOf, WorktreeService } from "./worktree-service";
|