@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,150 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs, Lock, Ps } from "../../../core/system/index.js";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { type Document, type Storage } from "../storage";
|
|
5
|
+
/** The file in a slot's home that its server writes its pid to. */
|
|
6
|
+
export declare const SERVER_PID = "server.pid";
|
|
7
|
+
/** Set in a slot's server's environment to the word it serves under. */
|
|
8
|
+
export declare const SLOT = "SPLATES_SLOT";
|
|
9
|
+
/**
|
|
10
|
+
* Set in a slot's server's environment to the machine's `SPLATES_HOME`, whose
|
|
11
|
+
* tunnel and slots the page lists to switch between.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MACHINE_HOME = "SPLATES_MACHINE_HOME";
|
|
14
|
+
/** What `Slots` works with besides its claims. */
|
|
15
|
+
export interface SlotsDeps {
|
|
16
|
+
/** The machine's home, where each slot's home sits beside the claims. */
|
|
17
|
+
home: string;
|
|
18
|
+
fs: Fs;
|
|
19
|
+
/** Tells whether a slot's last server still runs. */
|
|
20
|
+
ps: Pick<Ps, "pid" | "alive" | "processes" | "spawnCapture">;
|
|
21
|
+
/** Held while claiming, so two trees starting together get a word each. */
|
|
22
|
+
lock: Lock;
|
|
23
|
+
pool?: readonly {
|
|
24
|
+
word: string;
|
|
25
|
+
emoji: string;
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Which tree holds which slot, kept in `~/.splates/slots.json` for every
|
|
30
|
+
* checkout on this machine. A tree holds the same word every time, so its host
|
|
31
|
+
* name is worth writing down, for as long as it owns it: a task's worktree
|
|
32
|
+
* owns its word until the task merges or is removed, which stops its server
|
|
33
|
+
* and gives the word back. The main tree of a splates repository owns none,
|
|
34
|
+
* since every agent of it stands there, so one agent's slot would be every
|
|
35
|
+
* other's to stop. A server left running from a tree that owns its word no
|
|
36
|
+
* more still holds its port and its host, so its word goes to no other tree
|
|
37
|
+
* until `prune` stops it.
|
|
38
|
+
*/
|
|
39
|
+
export declare class Slots {
|
|
40
|
+
/** `slots.json` of the machine's storage, or a test's own. */
|
|
41
|
+
private readonly document;
|
|
42
|
+
private readonly deps;
|
|
43
|
+
constructor(
|
|
44
|
+
/** `slots.json` of the machine's storage, or a test's own. */
|
|
45
|
+
document: Document<SlotsFile>, deps: SlotsDeps);
|
|
46
|
+
/** The machine's slots, read from inside a slot's server too. */
|
|
47
|
+
static ofMachine({ fs, ps, log }: {
|
|
48
|
+
fs: Fs;
|
|
49
|
+
ps: Ps;
|
|
50
|
+
log: Logger;
|
|
51
|
+
}): Slots;
|
|
52
|
+
/** The claims kept in `storage`, whose root is `home`. */
|
|
53
|
+
static in(storage: Storage, deps: Omit<SlotsDeps, "lock">): Slots;
|
|
54
|
+
/**
|
|
55
|
+
* Whether `tree` can own a word: it exists, and is no splates repository's
|
|
56
|
+
* main tree, whose `.git` is a directory holding splates's records rather
|
|
57
|
+
* than a linked worktree's file.
|
|
58
|
+
*/
|
|
59
|
+
owns(tree: string): Promise<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* The slot `tree` holds, claimed now when it holds none: the first word no
|
|
62
|
+
* tree that owns it holds, and no server still runs on. Throws, naming each
|
|
63
|
+
* holder, when every word is held.
|
|
64
|
+
*/
|
|
65
|
+
claim(tree: string): Promise<Slot>;
|
|
66
|
+
/** The slot's home, its `SPLATES_HOME`: `~/.splates/slots/<word>`. */
|
|
67
|
+
home(slot: Slot): string;
|
|
68
|
+
/**
|
|
69
|
+
* The pid of the slot's last server while it still runs, as one does when
|
|
70
|
+
* its wrapper was killed or its worktree merged; null once it has stopped,
|
|
71
|
+
* or for this process itself.
|
|
72
|
+
*/
|
|
73
|
+
server(slot: Slot): Promise<number | null>;
|
|
74
|
+
/** Each slot a tree that owns it holds, in the pool's order. */
|
|
75
|
+
list(): Promise<{
|
|
76
|
+
slot: Slot;
|
|
77
|
+
tree: string;
|
|
78
|
+
}[]>;
|
|
79
|
+
/** Every claimed word, owned or orphaned, with its server, in the pool's order. */
|
|
80
|
+
status(): Promise<Held[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Stops the slot's server, if one runs, which ends its cloudflared too:
|
|
83
|
+
* a SIGTERM, then a SIGKILL if it outlives `STOP_WAIT`. Answers with the
|
|
84
|
+
* pid it stopped, or null when none ran.
|
|
85
|
+
*/
|
|
86
|
+
stop(slot: Slot): Promise<number | null>;
|
|
87
|
+
/**
|
|
88
|
+
* Gives back the word `tree` holds, stopping its server, as a task's
|
|
89
|
+
* worktree does when it merges or is removed. Answers with what it gave
|
|
90
|
+
* back, or null when the tree held none.
|
|
91
|
+
*/
|
|
92
|
+
release(tree: string): Promise<{
|
|
93
|
+
slot: Slot;
|
|
94
|
+
stopped: number | null;
|
|
95
|
+
} | null>;
|
|
96
|
+
/**
|
|
97
|
+
* Frees every orphaned word, as `status` tells them, stopping its server:
|
|
98
|
+
* the only slots any agent may stop, since each of the rest is a task's.
|
|
99
|
+
* Answers with what it freed.
|
|
100
|
+
*/
|
|
101
|
+
prune(): Promise<Held[]>;
|
|
102
|
+
private read;
|
|
103
|
+
private write;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The words `splates server --slot` hands out, tried in this order, as
|
|
107
|
+
* sound2score's dev slots are: short animals, spellable into a phone, each
|
|
108
|
+
* with an emoji that is that animal and nothing else.
|
|
109
|
+
* Each one's tunnel is made on its first ever claim and kept, so this is also
|
|
110
|
+
* every host name a slot will ever answer on. When every one is held, add the
|
|
111
|
+
* next: goat 🐐, seal 🦭.
|
|
112
|
+
*/
|
|
113
|
+
export declare const SLOT_POOL: readonly {
|
|
114
|
+
word: string;
|
|
115
|
+
emoji: string;
|
|
116
|
+
}[];
|
|
117
|
+
/** A word of the pool, which names a slot's tunnel, host and home. */
|
|
118
|
+
export interface Slot {
|
|
119
|
+
/** Like "fox". */
|
|
120
|
+
word: string;
|
|
121
|
+
/** Like "🦊": shown beside the project's name while this slot serves it. */
|
|
122
|
+
emoji: string;
|
|
123
|
+
}
|
|
124
|
+
/** What `release` gave back, as `merge` and `remove` report it. */
|
|
125
|
+
export declare function freedLine({ slot, stopped, }: {
|
|
126
|
+
slot: Slot;
|
|
127
|
+
stopped: number | null;
|
|
128
|
+
}): string;
|
|
129
|
+
/** The emoji of `word`, or null for a word not in the pool. */
|
|
130
|
+
export declare function slotOf(word: string): Slot | null;
|
|
131
|
+
declare const Claims: z.ZodObject<{
|
|
132
|
+
format: z.ZodNumber;
|
|
133
|
+
claims: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
/** The claims' file as stored. */
|
|
136
|
+
export type SlotsFile = z.infer<typeof Claims>;
|
|
137
|
+
/** A claimed word, the tree that holds it, and its server while one runs. */
|
|
138
|
+
export interface Held {
|
|
139
|
+
slot: Slot;
|
|
140
|
+
tree: string;
|
|
141
|
+
/** The pid of its server while one runs, as `server` tells. */
|
|
142
|
+
pid: number | null;
|
|
143
|
+
/**
|
|
144
|
+
* Whether no tree can be said to own it any more: its tree is gone, or is
|
|
145
|
+
* the main tree of a splates repository, which every agent of it shares.
|
|
146
|
+
* Only an orphan's server is any agent's to stop, by `prune`.
|
|
147
|
+
*/
|
|
148
|
+
orphaned: boolean;
|
|
149
|
+
}
|
|
150
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Connection } from "../server/shared";
|
|
2
|
+
/**
|
|
3
|
+
* A page's WebSocket to a task's server, such as a dev server's hot reload,
|
|
4
|
+
* carried on to that server: each message as it came, both ways, and a
|
|
5
|
+
* close at either end closes the other. The server's end opens first, so the
|
|
6
|
+
* page's upgrade can answer with the subprotocol the server chose.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PortSocket implements Connection {
|
|
9
|
+
private readonly upstream;
|
|
10
|
+
private socket;
|
|
11
|
+
/** What the task's server said before the page's end opened. */
|
|
12
|
+
private early;
|
|
13
|
+
private constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Opens a WebSocket to `url` with the page's `headers` and subprotocols,
|
|
16
|
+
* or says why it could not.
|
|
17
|
+
*/
|
|
18
|
+
static open(url: string, headers: Headers, protocols: string[]): Promise<PortSocket | {
|
|
19
|
+
refused: string;
|
|
20
|
+
}>;
|
|
21
|
+
/** The subprotocol the task's server chose, for the page's upgrade to answer with. */
|
|
22
|
+
get protocol(): string;
|
|
23
|
+
open(socket: Bun.ServerWebSocket<Connection>): void;
|
|
24
|
+
message(_socket: Bun.ServerWebSocket<Connection>, message: string | Buffer<ArrayBuffer>): void;
|
|
25
|
+
closed(): void;
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ListeningEntry, ProcessEntry } from "../../../core/system/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* What ties a process to a task: its worktree, and the agents at work in
|
|
4
|
+
* it, each on the worker, by id, that holds it.
|
|
5
|
+
*/
|
|
6
|
+
export interface PortOwners {
|
|
7
|
+
worktrees: {
|
|
8
|
+
task: string;
|
|
9
|
+
path: string;
|
|
10
|
+
worker: string;
|
|
11
|
+
}[];
|
|
12
|
+
/** The pid of each agent `splates server` runs in a task, on its worker. */
|
|
13
|
+
agents: {
|
|
14
|
+
task: string;
|
|
15
|
+
pid: number;
|
|
16
|
+
worker: string;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
/** One port a task's processes listen on, on the worker that runs them. */
|
|
20
|
+
export interface TaskPort {
|
|
21
|
+
task: string;
|
|
22
|
+
port: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The ports each task serves, as an editor finds the ports to forward: each
|
|
26
|
+
* one a process listens on that runs in the task's worktree, or under one of
|
|
27
|
+
* its agents, whatever directory it moved to. Each port once, in the order
|
|
28
|
+
* of its task, then its number.
|
|
29
|
+
*/
|
|
30
|
+
export declare function taskPorts(table: ProcessEntry[], listening: ListeningEntry[], owners: {
|
|
31
|
+
worktrees: {
|
|
32
|
+
task: string;
|
|
33
|
+
path: string;
|
|
34
|
+
}[];
|
|
35
|
+
agents: {
|
|
36
|
+
task: string;
|
|
37
|
+
pid: number;
|
|
38
|
+
}[];
|
|
39
|
+
}): TaskPort[];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type WallClock } from "../../../core/time/index.js";
|
|
2
|
+
import type { Storage } from "../storage";
|
|
3
|
+
/** Where the public API list prices come from: OpenCode prices models by it too. */
|
|
4
|
+
export declare const CATALOG = "https://models.dev/api.json";
|
|
5
|
+
/** Dollars per million tokens of each kind, at one context size and above. */
|
|
6
|
+
export interface Rate {
|
|
7
|
+
input: number;
|
|
8
|
+
output: number;
|
|
9
|
+
cacheRead: number;
|
|
10
|
+
cacheWrite: number;
|
|
11
|
+
}
|
|
12
|
+
/** A model's API list price, and the dearer tiers past a context size some models have. */
|
|
13
|
+
export interface Price extends Rate {
|
|
14
|
+
/** The kinds of input the model takes, such as `text` or `image`; absent when unknown. */
|
|
15
|
+
inputs?: string[];
|
|
16
|
+
tiers: (Rate & {
|
|
17
|
+
context: number;
|
|
18
|
+
})[];
|
|
19
|
+
}
|
|
20
|
+
/** Each model's API list price, by `<provider>/<model>`. */
|
|
21
|
+
export type Catalog = Record<string, Price>;
|
|
22
|
+
/** What one turn of an agent used, as it said at the turn's end. */
|
|
23
|
+
export interface TurnTokens {
|
|
24
|
+
/** Tokens read fresh, those from cache apart. */
|
|
25
|
+
input: number;
|
|
26
|
+
cachedRead: number;
|
|
27
|
+
cachedWrite: number;
|
|
28
|
+
output: number;
|
|
29
|
+
/** Tokens in the context window as the turn ended; null when unsaid. */
|
|
30
|
+
context: number | null;
|
|
31
|
+
}
|
|
32
|
+
export interface PricesOptions {
|
|
33
|
+
/** How the catalog is fetched; a test's stands in for the network. */
|
|
34
|
+
fetcher?: typeof fetch;
|
|
35
|
+
clock?: WallClock;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The API list price of every model, for pricing a turn's tokens; still
|
|
39
|
+
* answers offline with the prices it last fetched.
|
|
40
|
+
*/
|
|
41
|
+
export declare class Prices {
|
|
42
|
+
private readonly saved;
|
|
43
|
+
private readonly fetcher;
|
|
44
|
+
private readonly clock;
|
|
45
|
+
constructor(storage: Storage, opts?: PricesOptions);
|
|
46
|
+
/** The catalog, fetched again when stale; null when never heard and unreachable. */
|
|
47
|
+
catalog(): Promise<Catalog | null>;
|
|
48
|
+
private fetchCatalog;
|
|
49
|
+
}
|
|
50
|
+
/** The prices models.dev's `api.json` gives, each model's that says one. */
|
|
51
|
+
export declare function catalogOf(raw: unknown): Catalog;
|
|
52
|
+
/**
|
|
53
|
+
* Where `agent` running `model` is in the catalog: Codex runs OpenAI's
|
|
54
|
+
* models, Kimi Code runs Moonshot's, and OpenCode names each by its provider
|
|
55
|
+
* already. Null for an agent that says its own API cost, as Claude does.
|
|
56
|
+
*/
|
|
57
|
+
export declare function catalogKey(agent: string, model: string | null): string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Where `agent` running `model` is in the catalog for what it takes in:
|
|
60
|
+
* as {@link catalogKey}, and Claude's too, by the roster `name` its short
|
|
61
|
+
* model id has (`Opus 5.5` is `anthropic/claude-opus-5-5`).
|
|
62
|
+
*/
|
|
63
|
+
export declare function inputKey(agent: string, model: string | null, name: string | null): string | null;
|
|
64
|
+
/** What `tokens` cost at `price`, in dollars, at the dearest tier the turn's context reached. */
|
|
65
|
+
export declare function priced(price: Price, tokens: TurnTokens): number;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { AsyncResource, Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
3
|
+
import { type LaneRecord } from "../board";
|
|
4
|
+
import { type ConversationState, type Conversations } from "../conversations";
|
|
5
|
+
import type { Served } from "../server/shared";
|
|
6
|
+
import { type StreamWatcher } from "../server/shared";
|
|
7
|
+
import type { Details, Snapshot } from "../tasks";
|
|
8
|
+
import type { Projects } from "./projects";
|
|
9
|
+
/**
|
|
10
|
+
* What `GET /api/everywhere` answers: every project served so far, its
|
|
11
|
+
* slug first among what it holds, so a page shows all of them at once.
|
|
12
|
+
*/
|
|
13
|
+
export interface EverywhereListing {
|
|
14
|
+
/** By slug, alphabetically. */
|
|
15
|
+
projects: EverywhereProject[];
|
|
16
|
+
}
|
|
17
|
+
/** One project as the every-project feed carries it. */
|
|
18
|
+
export interface EverywhereProject extends EverywhereBoard {
|
|
19
|
+
/**
|
|
20
|
+
* Newest first, as its own page lists them, all as
|
|
21
|
+
* summaries; none while they are off.
|
|
22
|
+
*/
|
|
23
|
+
conversations: ConversationState[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* What of one project's snapshot the every-project feed carries, sent whole
|
|
27
|
+
* as `event: board` whenever any of it moves.
|
|
28
|
+
*/
|
|
29
|
+
export interface EverywhereBoard {
|
|
30
|
+
/** What `?project=` names it by. */
|
|
31
|
+
project: string;
|
|
32
|
+
/** Its repository's directory name. */
|
|
33
|
+
repo: string;
|
|
34
|
+
/** Its main tree. */
|
|
35
|
+
root: string;
|
|
36
|
+
/** The directory that holds each of its tasks' worktrees. */
|
|
37
|
+
worktreeRoot: string;
|
|
38
|
+
trunk: string;
|
|
39
|
+
tasks: Details[];
|
|
40
|
+
/** Every lane there has been, to name an orchestrator after. */
|
|
41
|
+
laneNames: LaneRecord[];
|
|
42
|
+
/** The lane each of its tasks at work on a lane is on, by task name, as `lanesTaken` reads it. */
|
|
43
|
+
lanesTaken: Record<string, number>;
|
|
44
|
+
}
|
|
45
|
+
/** What the global General destination contributes to the same feed. */
|
|
46
|
+
export interface GeneralFeed {
|
|
47
|
+
root: string;
|
|
48
|
+
conversations: Conversations;
|
|
49
|
+
current(): Promise<Snapshot>;
|
|
50
|
+
listen(heard: Parameters<Served["listen"]>[0]): Resource;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Every registered project's tasks and conversations, on one stream: what
|
|
54
|
+
* a page listing them across projects reads. The first ask opens each
|
|
55
|
+
* project not yet served, one at a time behind the focused one, so `owned`
|
|
56
|
+
* finds any conversation and the focused page never waits on the rest.
|
|
57
|
+
*
|
|
58
|
+
* The stream says:
|
|
59
|
+
* - a full conversation on connection, as `data: {project, conversation}`;
|
|
60
|
+
* - `event: delta` with `{project, delta}` for its later changes;
|
|
61
|
+
* - `event: removed` with `{project, id}`, for one deleted;
|
|
62
|
+
* - `event: board` with an `EverywhereBoard`, when a project's tasks moved;
|
|
63
|
+
* - `event: projects`, when one was served since, to list again.
|
|
64
|
+
*/
|
|
65
|
+
export declare class EverywhereRoutes implements StreamWatcher, AsyncResource {
|
|
66
|
+
private readonly home;
|
|
67
|
+
private readonly listeners;
|
|
68
|
+
private readonly copies;
|
|
69
|
+
/** Each served project heard, by root, while a stream is open. */
|
|
70
|
+
private readonly heard;
|
|
71
|
+
private opening;
|
|
72
|
+
constructor(home: {
|
|
73
|
+
projects: Projects;
|
|
74
|
+
/** By root, as `dev` keeps them. */
|
|
75
|
+
served: Map<string, Promise<Served>>;
|
|
76
|
+
servedAt: (root: string) => Promise<Served>;
|
|
77
|
+
general?: GeneralFeed;
|
|
78
|
+
log: Logger;
|
|
79
|
+
});
|
|
80
|
+
/** `GET /api/everywhere`. */
|
|
81
|
+
readonly list: () => Promise<Response>;
|
|
82
|
+
/** `GET /api/everywhere/events`. */
|
|
83
|
+
readonly events: () => Promise<Response>;
|
|
84
|
+
/**
|
|
85
|
+
* Serves every registered project not yet served, one at a time; again
|
|
86
|
+
* on a later call, for any registered since. One that fails to open is
|
|
87
|
+
* logged and left.
|
|
88
|
+
*/
|
|
89
|
+
openAll(): Promise<void>;
|
|
90
|
+
/** The project at `root` is served now: the streams list again. */
|
|
91
|
+
added(root: string, project: Served): void;
|
|
92
|
+
opened(): void;
|
|
93
|
+
closed(): void;
|
|
94
|
+
disposeAsync(): Promise<void>;
|
|
95
|
+
/** Listens to the project at `root` while a stream is open, once. */
|
|
96
|
+
private hear;
|
|
97
|
+
/** Listens to General while a stream is open, once. */
|
|
98
|
+
private hearGeneral;
|
|
99
|
+
/** Every project served so far, those that failed to open left out. */
|
|
100
|
+
private servedNow;
|
|
101
|
+
/**
|
|
102
|
+
* What the feed carries of the project at `root`'s snapshot, kept as its
|
|
103
|
+
* pages read it; null when its records are past what this splates reads.
|
|
104
|
+
*/
|
|
105
|
+
private board;
|
|
106
|
+
private slugOf;
|
|
107
|
+
private changed;
|
|
108
|
+
private write;
|
|
109
|
+
private say;
|
|
110
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Conversation, Conversations } from "../conversations";
|
|
2
|
+
import type { Served } from "../server/shared";
|
|
3
|
+
import type { Projects } from "./projects";
|
|
4
|
+
/**
|
|
5
|
+
* The conversations of every project `splates server` serves, so a conversation
|
|
6
|
+
* that handed out a task in another project than its own hears of, and
|
|
7
|
+
* answers for, the agent it handed it to, as it would one in its own.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Everywhere {
|
|
10
|
+
private readonly placing;
|
|
11
|
+
/** Only the conversations of the project at `root`, as a server of one has them. */
|
|
12
|
+
static onlyHere(root: string, conversations: Conversations): Everywhere;
|
|
13
|
+
/**
|
|
14
|
+
* The conversations of each project in `served`, by its root, those that
|
|
15
|
+
* failed to open left out, each named as `projects` names it.
|
|
16
|
+
*/
|
|
17
|
+
static served(served: Map<string, Promise<Served>>, projects: Projects): Everywhere;
|
|
18
|
+
constructor(placing: Placing);
|
|
19
|
+
/** Every conversation of every project served so far, with its project's main tree. */
|
|
20
|
+
list(): Promise<Placed[]>;
|
|
21
|
+
/** The conversation `id`, of whichever project holds it, or undefined for none. */
|
|
22
|
+
find(id: string): Promise<Placed | undefined>;
|
|
23
|
+
/** What the registry names the project at `root` by, which `?project=` takes. */
|
|
24
|
+
slug(root: string): Promise<string>;
|
|
25
|
+
/**
|
|
26
|
+
* How a directive names `task`, of the project at `root`, to a
|
|
27
|
+
* conversation of the project at `to`: bare in its own, else
|
|
28
|
+
* `<slug>/<task>`, which `splates --project <slug>` reaches.
|
|
29
|
+
*/
|
|
30
|
+
taskNamed(task: string, root: string, to: string): Promise<string>;
|
|
31
|
+
}
|
|
32
|
+
/** A conversation, and the main tree of the project it is in. */
|
|
33
|
+
export interface Placed {
|
|
34
|
+
conversation: Conversation;
|
|
35
|
+
root: string;
|
|
36
|
+
}
|
|
37
|
+
/** Where `Everywhere` finds the conversations, and the projects' names. */
|
|
38
|
+
export interface Placing {
|
|
39
|
+
/** Every conversation of every project served so far. */
|
|
40
|
+
list(): Promise<Placed[]>;
|
|
41
|
+
/** What the registry names the project at `root` by. */
|
|
42
|
+
slug(root: string): Promise<string>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { Everywhere } from "./everywhere";
|
|
2
|
+
export type { EverywhereBoard, EverywhereListing, EverywhereProject, } from "./everywhere-routes";
|
|
3
|
+
export { EverywhereRoutes } from "./everywhere-routes";
|
|
4
|
+
export { GENERAL, GENERAL_NAME } from "./general";
|
|
5
|
+
export { forget, init } from "./init";
|
|
6
|
+
export type { Added } from "./picker";
|
|
7
|
+
export { Picker } from "./picker";
|
|
8
|
+
export type { Project, Reach } from "./projects";
|
|
9
|
+
export { Projects, projectLine, REACHES, reaches } from "./projects";
|
|
10
|
+
export { grantReach, listReaches } from "./reaches";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Everywhere2,
|
|
3
|
+
EverywhereRoutes2,
|
|
4
|
+
GENERAL2,
|
|
5
|
+
GENERAL_NAME2,
|
|
6
|
+
init2,
|
|
7
|
+
forget2,
|
|
8
|
+
Projects2,
|
|
9
|
+
REACHES2,
|
|
10
|
+
reaches2,
|
|
11
|
+
projectLine2,
|
|
12
|
+
Picker2,
|
|
13
|
+
listReaches2,
|
|
14
|
+
grantReach2
|
|
15
|
+
} from "../index-caep3sde.js";
|
|
16
|
+
import"../index-01z7ycdk.js";
|
|
17
|
+
import"../index-e9z7s5hh.js";
|
|
18
|
+
import"../index-kmzdvvt0.js";
|
|
19
|
+
import"../index-t9w5a8ed.js";
|
|
20
|
+
import"../index-0jttnv86.js";
|
|
21
|
+
import"../index-g18nxyn7.js";
|
|
22
|
+
export {
|
|
23
|
+
Everywhere2 as Everywhere,
|
|
24
|
+
EverywhereRoutes2 as EverywhereRoutes,
|
|
25
|
+
GENERAL2 as GENERAL,
|
|
26
|
+
GENERAL_NAME2 as GENERAL_NAME,
|
|
27
|
+
Picker2 as Picker,
|
|
28
|
+
Projects2 as Projects,
|
|
29
|
+
REACHES2 as REACHES,
|
|
30
|
+
forget2 as forget,
|
|
31
|
+
grantReach2 as grantReach,
|
|
32
|
+
init2 as init,
|
|
33
|
+
listReaches2 as listReaches,
|
|
34
|
+
projectLine2 as projectLine,
|
|
35
|
+
reaches2 as reaches
|
|
36
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* Makes this repository a splates project: `repository` has set up its records
|
|
7
|
+
* by now, when it had none, so what is left is installing the skill that
|
|
8
|
+
* teaches its agents to work through splates, through `bunx skills add` from
|
|
9
|
+
* this release's tag, and joining the registry, which
|
|
10
|
+
* lets one `splates server` serve it beside every other. Run again, or in a
|
|
11
|
+
* project already under way, it changes nothing that is already so.
|
|
12
|
+
*/
|
|
13
|
+
export declare function init({ git, projects, fs, ps, log, }: {
|
|
14
|
+
git: Git;
|
|
15
|
+
projects: Projects;
|
|
16
|
+
fs: Fs;
|
|
17
|
+
ps: Ps;
|
|
18
|
+
log: Logger;
|
|
19
|
+
}): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Takes this repository off the registry, so `splates server` no longer offers it:
|
|
22
|
+
* its records stay, and `splates init` brings it back.
|
|
23
|
+
*/
|
|
24
|
+
export declare function forget({ git, projects, log, }: {
|
|
25
|
+
git: Git;
|
|
26
|
+
projects: Projects;
|
|
27
|
+
log: Logger;
|
|
28
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Deps } from "../../../core/cmd/index.js";
|
|
2
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
3
|
+
import type { SecretStores } from "../creds";
|
|
4
|
+
import type { DevMachine } from "../server/shared";
|
|
5
|
+
import { type Project } from "./projects";
|
|
6
|
+
/**
|
|
7
|
+
* What the page's project picker asks of `splates server` beyond listing: adding
|
|
8
|
+
* a project, committing what `splates init` wrote there, focusing one, and a
|
|
9
|
+
* grant card's grant from one to another. Its
|
|
10
|
+
* handlers are properties, so `dev` hands them to its routes as they are.
|
|
11
|
+
*/
|
|
12
|
+
export declare class Picker {
|
|
13
|
+
private readonly deps;
|
|
14
|
+
constructor(deps: DevMachine);
|
|
15
|
+
/**
|
|
16
|
+
* Adds the repository the body's `path` names, as `splates init` there
|
|
17
|
+
* would, and focuses it.
|
|
18
|
+
*/
|
|
19
|
+
readonly add: (request: Request) => Promise<Response>;
|
|
20
|
+
/** Commits the body's `paths`, which `splates init` wrote, once the person said to. */
|
|
21
|
+
readonly commit: (request: Request) => Promise<Response>;
|
|
22
|
+
/** Makes the body's `project` what an address naming none shows, on any device. */
|
|
23
|
+
readonly focus: (request: Request) => Promise<Response>;
|
|
24
|
+
/**
|
|
25
|
+
* Lets the project the body's `from` names do as much as its `reach` in
|
|
26
|
+
* the one the path names, as a grant card's Allow asks: the person's
|
|
27
|
+
* call, which `splates projects grant` refuses an agent.
|
|
28
|
+
*/
|
|
29
|
+
readonly grant: (request: Request) => Promise<Response>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* What `splates init` writes in a project: the skill, its link for Claude
|
|
33
|
+
* Code, and the lock `skills` keeps. Uncommitted, each is offered again,
|
|
34
|
+
* even when an earlier init left it so.
|
|
35
|
+
*/
|
|
36
|
+
export declare const INIT_WRITES: string[];
|
|
37
|
+
/** A project the page added, and what `splates init` left in it to commit. */
|
|
38
|
+
export interface Added {
|
|
39
|
+
project: Project;
|
|
40
|
+
/**
|
|
41
|
+
* Each file init wrote that is not committed, as `git status` names it:
|
|
42
|
+
* what the page asks to commit, and all it commits.
|
|
43
|
+
*/
|
|
44
|
+
uncommitted: string[];
|
|
45
|
+
/** The same, each under one of `INIT_WRITES` named by that, for the page to say. */
|
|
46
|
+
shown: string[];
|
|
47
|
+
/** The branch a commit of them lands on; null on a detached HEAD. */
|
|
48
|
+
branch: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Makes the repository `path` sits in a splates project, as `splates init` run
|
|
52
|
+
* there would, `~` meaning the home directory: its records, made or brought
|
|
53
|
+
* forward, the skill, and its place in the registry, focused. Commits
|
|
54
|
+
* nothing, but says what init wrote, for the page to ask before it commits.
|
|
55
|
+
*/
|
|
56
|
+
export declare function initProject(machine: Deps & {
|
|
57
|
+
fs: Fs;
|
|
58
|
+
secrets?: SecretStores;
|
|
59
|
+
}, path: string): Promise<Added>;
|
|
60
|
+
/**
|
|
61
|
+
* Commits `paths` in the main tree at `root` as setting up splates, on
|
|
62
|
+
* whatever it has checked out, leaving every other change as it was.
|
|
63
|
+
*/
|
|
64
|
+
export declare function commitInit({ ps }: Deps, root: string, paths: string[]): Promise<void>;
|