@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 @@
|
|
|
1
|
+
export { LEGACY_PLAN_FILE } from "./legacy-names";
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import type { TaskEventName } from "../hooks";
|
|
2
|
+
import type { ReplicaPlace } from "../replica";
|
|
3
|
+
import type { TunnelProvider } from "../tunnel";
|
|
4
|
+
export interface Config {
|
|
5
|
+
/**
|
|
6
|
+
* The integration branch name. `merge` rebases a task onto this branch and
|
|
7
|
+
* then fast-forwards it to the result; new worktrees start from it.
|
|
8
|
+
*/
|
|
9
|
+
trunk: string;
|
|
10
|
+
/**
|
|
11
|
+
* The git remote each task's branch is pushed to as `splates/<task>`,
|
|
12
|
+
* after every commit and at every checkpoint, so a task outlives the
|
|
13
|
+
* machine it runs on: the project's GitHub origin, as `"origin"`. With
|
|
14
|
+
* one, trunk is the remote's: a merge rebases onto it and the
|
|
15
|
+
* server alone pushes it. Unset, it is `"origin"` where the
|
|
16
|
+
* server is deployed or being and `origin` is an SSH URL, and null
|
|
17
|
+
* elsewhere, which pushes nothing, so tasks live on this machine alone;
|
|
18
|
+
* `null` set here keeps it so everywhere.
|
|
19
|
+
*/
|
|
20
|
+
remote: string | null;
|
|
21
|
+
/** Directory holding one worktree per task, a sibling of the repo. */
|
|
22
|
+
worktreeRoot: string;
|
|
23
|
+
/** Command run by `add` in the new worktree, via `sh -c`. */
|
|
24
|
+
postCheckout: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Command run by `merge` after the rebase, before `preMerge`, via `sh -c`.
|
|
27
|
+
* A rebase can bring in a dependency the worktree has never installed, and
|
|
28
|
+
* whatever `preMerge` runs needs it.
|
|
29
|
+
*/
|
|
30
|
+
postRewrite: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* Command run by `merge` after the rebase, via `sh -c`. The last gate before
|
|
33
|
+
* the branch lands: a nonzero exit rolls the branch back and leaves the base
|
|
34
|
+
* untouched. Tests are the obvious thing to put here, but splates has no
|
|
35
|
+
* opinion; a repo with nothing to run leaves it null and merges on a green
|
|
36
|
+
* rebase alone.
|
|
37
|
+
*
|
|
38
|
+
* To have `merge` queue a task for each test slower than 5 seconds, write a
|
|
39
|
+
* JUnit XML report to the path in `$SPLATES_TEST_REPORT`, as `bun test
|
|
40
|
+
* --reporter=junit --reporter-outfile="$SPLATES_TEST_REPORT"` does.
|
|
41
|
+
* A Bun report also enables selective failure attribution: only failures
|
|
42
|
+
* reproduced with the task after passing on its base spend an attempt.
|
|
43
|
+
* Missing reports and inconclusive retests hold the merge without charging.
|
|
44
|
+
*/
|
|
45
|
+
preMerge: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Command run by `merge` after the first rebase, via `sh -c`, before the
|
|
48
|
+
* merge waits for the premerge lock, so a check that needs neither the lock
|
|
49
|
+
* nor the cores fails without the wait. A nonzero exit refuses the merge as
|
|
50
|
+
* a failed gate. `preMerge` then runs with `$SPLATES_CHECKED` set to the
|
|
51
|
+
* commit this passed on, so it can skip what that run covered.
|
|
52
|
+
*/
|
|
53
|
+
preLock: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Command `splates ship` runs from the root, via `sh -c`, to release the
|
|
56
|
+
* project: publish its public packages at their next version and leave the
|
|
57
|
+
* release committed and tagged on the trunk, as `"wiz dev ship"`. Null
|
|
58
|
+
* means the project is never shipped from splates, though it still takes
|
|
59
|
+
* the bumps of those it depends on.
|
|
60
|
+
*/
|
|
61
|
+
ship: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Command that reads live release versions, via `sh -c` in the main tree.
|
|
64
|
+
* Prints JSON `{version, artifacts: [{name, deployed}]}`; `deployed` is a
|
|
65
|
+
* version string or null before anything is live. Null reads npm's latest
|
|
66
|
+
* dist-tag for each public package instead. Failures stop the read.
|
|
67
|
+
*/
|
|
68
|
+
shipStatus: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Command a project that pins this one's packages runs once a ship's
|
|
71
|
+
* cascade has moved its pins to the versions this one shipped, after `bun
|
|
72
|
+
* install`: its bump task lists it as a step for the agent to run in the
|
|
73
|
+
* task's worktree and commit what it changed, as `"bunx
|
|
74
|
+
* @stringsync/splates refresh"`. Null asks nothing past the install.
|
|
75
|
+
*/
|
|
76
|
+
afterBump: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Commands run on task events, via `sh -c` in the main tree, with the
|
|
79
|
+
* event in `$SPLATES_EVENT`, its tasks' numbers in `$SPLATES_TASKS`, comma
|
|
80
|
+
* separated, and the started task's name, if any, in `$SPLATES_TASK`:
|
|
81
|
+
* `{ "task.done": "./notify-team" }`. Checked in, so shell commands only;
|
|
82
|
+
* an agent hook spends its person's tokens, so each person sets their own
|
|
83
|
+
* from the Setup page or `splates hook add`.
|
|
84
|
+
*/
|
|
85
|
+
on: Partial<Record<TaskEventName, string>>;
|
|
86
|
+
/** How long since its last heartbeat before a task's lease is up for grabs. */
|
|
87
|
+
leaseStalenessMs: number;
|
|
88
|
+
/** Failed `merge` attempts a task gets before only a person's `splates retry` lets it try again. */
|
|
89
|
+
mergeRetryCount: number;
|
|
90
|
+
/**
|
|
91
|
+
* Maximum conflicted rebases before you must allow more with `splates retry`.
|
|
92
|
+
* Conflicts count separately from failed merge gates (`mergeRetryCount`).
|
|
93
|
+
*/
|
|
94
|
+
mergeConflictCount: number;
|
|
95
|
+
/**
|
|
96
|
+
* How many removed task names to remember. Increase this to keep `remove`
|
|
97
|
+
* reporting "already removed" for older tasks.
|
|
98
|
+
*/
|
|
99
|
+
removedCapacity: number;
|
|
100
|
+
/**
|
|
101
|
+
* How many finished tasks to keep, each with the `SPLATES.md` it ended on,
|
|
102
|
+
* for the Tasks page's Finished list, which shows every one kept. The
|
|
103
|
+
* oldest to finish goes first.
|
|
104
|
+
*/
|
|
105
|
+
finishedCapacity: number;
|
|
106
|
+
/**
|
|
107
|
+
* Maximum events per log file. Increase this to keep more events together
|
|
108
|
+
* before the log rotates.
|
|
109
|
+
*/
|
|
110
|
+
logCapacity: number;
|
|
111
|
+
/**
|
|
112
|
+
* How long a queued task can wait before `merge` stops recommending it and offers
|
|
113
|
+
* it for removal instead: work deferred that long has usually been done
|
|
114
|
+
* some other way, or stopped mattering.
|
|
115
|
+
*/
|
|
116
|
+
taskStalenessMs: number;
|
|
117
|
+
/**
|
|
118
|
+
* How many bytes of files `splates attach` lets one task hold, all of them
|
|
119
|
+
* together: a screen recording is the one thing here that grows fast.
|
|
120
|
+
*/
|
|
121
|
+
attachmentCapacity: number;
|
|
122
|
+
/** How many bytes one artifact a conversation keeps may be (`artifacts.ts`). */
|
|
123
|
+
artifactFileCapacity: number;
|
|
124
|
+
/**
|
|
125
|
+
* How many bytes of artifacts one conversation may keep, every version
|
|
126
|
+
* whose bytes have not been deleted.
|
|
127
|
+
*/
|
|
128
|
+
artifactConversationCapacity: number;
|
|
129
|
+
/** How many bytes of artifacts every conversation in the project may keep together. */
|
|
130
|
+
artifactProjectCapacity: number;
|
|
131
|
+
/**
|
|
132
|
+
* The command the `splates server` Budget page runs `budgets` with, from
|
|
133
|
+
* the repo's root: vet, whose `budgets` command keeps them.
|
|
134
|
+
*/
|
|
135
|
+
vet: string;
|
|
136
|
+
/**
|
|
137
|
+
* What carries `splates server --tunnel` to its public host, a TunnelProvider
|
|
138
|
+
* of your own for any tunnel; null runs `cloudflared`.
|
|
139
|
+
*/
|
|
140
|
+
tunnel: TunnelProvider | null;
|
|
141
|
+
/**
|
|
142
|
+
* The platform the project's agents must run on, for a project that
|
|
143
|
+
* builds only there: its tasks wait for a worker on it rather than run
|
|
144
|
+
* elsewhere. Null runs them on any.
|
|
145
|
+
*/
|
|
146
|
+
platform: "linux" | "macos" | "windows" | null;
|
|
147
|
+
/**
|
|
148
|
+
* Where `splates server` keeps a copy of the project's records, a few
|
|
149
|
+
* seconds behind every change: a bucket of any S3-compatible store, as
|
|
150
|
+
* `{ provider: "s3", endpoint: "https://<store's endpoint>", bucket: "my-splates" }`,
|
|
151
|
+
* whose key and secret the Creds page asks for as `REPLICA_ACCESS_KEY` and
|
|
152
|
+
* `REPLICA_SECRET_KEY`, or a folder, as `{ provider: "dir", path: "/Volumes/Backup/splates" }`.
|
|
153
|
+
* The copy is where the records move from when the server moves to
|
|
154
|
+
* another machine. Null keeps none.
|
|
155
|
+
*/
|
|
156
|
+
replica: ReplicaPlace | null;
|
|
157
|
+
/**
|
|
158
|
+
* Words the composer's mic should spell as written, for everyone who
|
|
159
|
+
* dictates in the project: its tools, modules and names, as
|
|
160
|
+
* `["webappwiz", "scry"]`. Splates and the project's name are always
|
|
161
|
+
* told; each person adds their own on the Setup page.
|
|
162
|
+
*/
|
|
163
|
+
dictationWords: string[];
|
|
164
|
+
/**
|
|
165
|
+
* Where the project's evals, run by any framework, leave their results for
|
|
166
|
+
* the Evals page, as `{ results: ".evals" }`: relative to the project's
|
|
167
|
+
* root, absolute, or under `~`. Each batch is a directory of it holding a
|
|
168
|
+
* `batch.json` and a `results.jsonl` in the `splates-evals/1` format
|
|
169
|
+
* (`designs/evals-contract.md`). Null shows no Evals page.
|
|
170
|
+
*/
|
|
171
|
+
evals: EvalsConfig | null;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Where a project's evals report to splates, and the commands that start
|
|
175
|
+
* them from the page's run card (`docs/evals.md`).
|
|
176
|
+
*/
|
|
177
|
+
export interface EvalsConfig {
|
|
178
|
+
/** The directory holding one directory per batch. */
|
|
179
|
+
results: string;
|
|
180
|
+
/**
|
|
181
|
+
* Prints the cases a run card can pick, one JSON object a line, as
|
|
182
|
+
* `{"case": "refunds/partial", "group": "refunds", "about": "..."}`.
|
|
183
|
+
*/
|
|
184
|
+
list?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Runs the cases in `SPLATES_EVALS_CASES` on the targets in
|
|
187
|
+
* `SPLATES_EVALS_TARGETS` into a new batch directory under
|
|
188
|
+
* `SPLATES_EVALS_RESULTS`. Without it the page only shows results.
|
|
189
|
+
*/
|
|
190
|
+
run?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Told what `run` is, prints what the run comes to as
|
|
193
|
+
* `{"cells": 12, "usd": 3.6}`, so the card shows a ceiling; exits non-zero
|
|
194
|
+
* to refuse the run. Without it the card shows no cost.
|
|
195
|
+
*/
|
|
196
|
+
plan?: string;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* What `splates.config.ts` exports as its default, as
|
|
200
|
+
* `{ preMerge: "bun test" } satisfies ConfigFile`, with `ConfigFile` imported
|
|
201
|
+
* type-only from `@stringsync/splates/config` so a reader can import the file
|
|
202
|
+
* without splates installed.
|
|
203
|
+
*/
|
|
204
|
+
export type ConfigFile = Partial<Config>;
|
|
205
|
+
/**
|
|
206
|
+
* Return your project settings with their types checked.
|
|
207
|
+
*
|
|
208
|
+
* @deprecated Use `satisfies ConfigFile` on your default export instead.
|
|
209
|
+
*/
|
|
210
|
+
export declare function defineConfig(config: Partial<Config>): Partial<Config>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { Config, ConfigFile, EvalsConfig } from "./config";
|
|
2
|
+
export { defineConfig } from "./config";
|
|
3
|
+
export { LEGACY, LEGACY_DIR, LEGACY_PLAN_FILE, legacyWarnings, movedPath, moveLegacyDir, movePlan, removeLegacySkill, renamed, renameLegacyFiles, unmigrated, } from "./legacy-names";
|
|
4
|
+
export { systemPs } from "./legacy-ps";
|
|
5
|
+
export { ARTIFACT_LIMITS, CONFIG_FILE, ConfigFiles, loadConfig, } from "./load";
|
|
6
|
+
export { typedConfig } from "./source";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineConfig2,
|
|
3
|
+
systemPs2,
|
|
4
|
+
ARTIFACT_LIMITS2,
|
|
5
|
+
CONFIG_FILE2,
|
|
6
|
+
loadConfig2,
|
|
7
|
+
ConfigFiles2,
|
|
8
|
+
typedConfig2
|
|
9
|
+
} from "../index-e9z7s5hh.js";
|
|
10
|
+
import {
|
|
11
|
+
LEGACY2,
|
|
12
|
+
renamed2,
|
|
13
|
+
LEGACY_PLAN_FILE2,
|
|
14
|
+
LEGACY_DIR2,
|
|
15
|
+
legacyWarnings2,
|
|
16
|
+
unmigrated2,
|
|
17
|
+
moveLegacyDir2,
|
|
18
|
+
movePlan2,
|
|
19
|
+
movedPath2,
|
|
20
|
+
renameLegacyFiles2,
|
|
21
|
+
removeLegacySkill2
|
|
22
|
+
} from "../index-g18nxyn7.js";
|
|
23
|
+
export {
|
|
24
|
+
ARTIFACT_LIMITS2 as ARTIFACT_LIMITS,
|
|
25
|
+
CONFIG_FILE2 as CONFIG_FILE,
|
|
26
|
+
ConfigFiles2 as ConfigFiles,
|
|
27
|
+
LEGACY2 as LEGACY,
|
|
28
|
+
LEGACY_DIR2 as LEGACY_DIR,
|
|
29
|
+
LEGACY_PLAN_FILE2 as LEGACY_PLAN_FILE,
|
|
30
|
+
defineConfig2 as defineConfig,
|
|
31
|
+
legacyWarnings2 as legacyWarnings,
|
|
32
|
+
loadConfig2 as loadConfig,
|
|
33
|
+
moveLegacyDir2 as moveLegacyDir,
|
|
34
|
+
movePlan2 as movePlan,
|
|
35
|
+
movedPath2 as movedPath,
|
|
36
|
+
removeLegacySkill2 as removeLegacySkill,
|
|
37
|
+
renameLegacyFiles2 as renameLegacyFiles,
|
|
38
|
+
renamed2 as renamed,
|
|
39
|
+
systemPs2 as systemPs,
|
|
40
|
+
typedConfig2 as typedConfig,
|
|
41
|
+
unmigrated2 as unmigrated
|
|
42
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs, Ps } from "../../../core/system/index.js";
|
|
3
|
+
/** splates's old name, as its command, its skill and its directories went by. */
|
|
4
|
+
export declare const LEGACY = "arbor";
|
|
5
|
+
/** The old name of a `SPLATES_*` variable or cred, or null for any other. */
|
|
6
|
+
export declare function legacyName(name: string): string | null;
|
|
7
|
+
/** The `SPLATES_*` name of an `ARBOR_*` variable or cred, or null for any other. */
|
|
8
|
+
export declare function renamed(old: string): string | null;
|
|
9
|
+
/** A task's notes file in a worktree made before the rename. */
|
|
10
|
+
export declare const LEGACY_PLAN_FILE = "ARBOR.md";
|
|
11
|
+
/** The state directory under `.git`, and the home directory's, before the rename. */
|
|
12
|
+
export declare const LEGACY_DIR = "arbor";
|
|
13
|
+
/** Says once per process, on stderr, that an old name was used. */
|
|
14
|
+
declare class Warnings {
|
|
15
|
+
#private;
|
|
16
|
+
once(name: string, instead: string): void;
|
|
17
|
+
}
|
|
18
|
+
export declare const legacyWarnings: Warnings;
|
|
19
|
+
/**
|
|
20
|
+
* `next`, or `old` while only the old directory is there: until `splates server`
|
|
21
|
+
* has moved it, every command reads records where arbor left them.
|
|
22
|
+
*/
|
|
23
|
+
export declare function unmigrated(next: string, old: string): string;
|
|
24
|
+
/** What `moveLegacyDir` works with. */
|
|
25
|
+
export interface MoveOptions {
|
|
26
|
+
fs: Fs;
|
|
27
|
+
log: Logger;
|
|
28
|
+
/** Makes `path` a symbolic link to `target`; the real one by default. */
|
|
29
|
+
link?: (target: string, path: string) => Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Moves arbor's directory `old` to `next` and leaves a link at `old`, so the
|
|
33
|
+
* absolute paths records hold, attachments named in plans, tasks and
|
|
34
|
+
* conversations above all, still resolve. Does nothing once moved, or when
|
|
35
|
+
* `next` is already there. Answers whether it moved.
|
|
36
|
+
*/
|
|
37
|
+
export declare function moveLegacyDir(old: string, next: string, { fs, log, link }: MoveOptions): Promise<boolean>;
|
|
38
|
+
/** Renames a worktree's `ARBOR.md` to `planFile`, unless it has one already. */
|
|
39
|
+
export declare function movePlan(tree: string, planFile: string, fs: Fs): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* `path` under `.git/splates` when it names a file under `.git/arbor`, as
|
|
42
|
+
* plans, tasks and conversations written before the move do.
|
|
43
|
+
*/
|
|
44
|
+
export declare function movedPath(path: string): string;
|
|
45
|
+
/** The old name of the file a repo keeps `file`'s settings in, or null. */
|
|
46
|
+
export declare function legacyFile(file: string): string | null;
|
|
47
|
+
/** What `renameLegacyFiles` and `removeLegacySkill` work with. */
|
|
48
|
+
export interface LegacyRepoOptions {
|
|
49
|
+
/** The repository's main tree. */
|
|
50
|
+
root: string;
|
|
51
|
+
fs: Fs;
|
|
52
|
+
ps: Ps;
|
|
53
|
+
log: Logger;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Renames `arbor.config.ts` to splates's names, through
|
|
57
|
+
* git when it tracks them so the rename is staged as one, and points their
|
|
58
|
+
* imports of `@webappwiz/arbor` at `@stringsync/splates`. Leaves a file
|
|
59
|
+
* alone when one under the new name is already there.
|
|
60
|
+
*/
|
|
61
|
+
export declare function renameLegacyFiles({ root, fs, ps, log, }: LegacyRepoOptions): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Takes arbor's skill at `path` out of its project, which splates's replaces.
|
|
64
|
+
* Leaves one that links to a copy kept by hand.
|
|
65
|
+
*/
|
|
66
|
+
export declare function removeLegacySkill(path: string, { fs, log }: {
|
|
67
|
+
fs: Fs;
|
|
68
|
+
log: Logger;
|
|
69
|
+
}): Promise<void>;
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import { type Child, type Ps, type SpawnCaptureResult, type SpawnOptions, type SpawnResult, type StartOptions, type TerminalChild, type TerminalOptions } from "../../../core/system/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* A `Ps` that reads each `SPLATES_*` variable under its `ARBOR_*` name too,
|
|
5
|
+
* warning once, and sets both names on every child, so a `wiz` or skill still
|
|
6
|
+
* reading the old ones sees what splates means.
|
|
7
|
+
*/
|
|
8
|
+
export declare class LegacyNamesPs implements Ps {
|
|
9
|
+
private readonly inner;
|
|
10
|
+
constructor(inner: Ps);
|
|
11
|
+
get platform(): NodeJS.Platform;
|
|
12
|
+
get pid(): number;
|
|
13
|
+
get hostname(): string;
|
|
14
|
+
get args(): string[];
|
|
15
|
+
get self(): string[];
|
|
16
|
+
env(name: string): string | undefined;
|
|
17
|
+
columns(): number | undefined;
|
|
18
|
+
alive(pid: number): boolean;
|
|
19
|
+
spawn(argv: string[], opts?: SpawnOptions): Promise<SpawnResult>;
|
|
20
|
+
spawnCapture(argv: string[], opts?: SpawnOptions): Promise<SpawnCaptureResult>;
|
|
21
|
+
start(argv: string[], opts?: StartOptions): Child;
|
|
22
|
+
startOnTerminal(argv: string[], opts: TerminalOptions): TerminalChild;
|
|
23
|
+
processes(): ReturnType<Ps["processes"]>;
|
|
24
|
+
listening(): ReturnType<Ps["listening"]>;
|
|
25
|
+
cwd(): string;
|
|
26
|
+
cd(path: string): void;
|
|
27
|
+
exit(code: number): void;
|
|
28
|
+
on(signal: string, handler: (...args: unknown[]) => void): Resource;
|
|
29
|
+
once(event: "exit", handler: () => void): Resource;
|
|
30
|
+
}
|
|
31
|
+
/** The machine's processes, under both names. */
|
|
32
|
+
export declare function systemPs(): Ps;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type { ArtifactLimits } from "../artifacts";
|
|
3
|
+
import { Git } from "../git";
|
|
4
|
+
import type { Config } from "./config";
|
|
5
|
+
/** What `splates.config.ts` leaves the artifact limits at unless it says otherwise. */
|
|
6
|
+
export declare const ARTIFACT_LIMITS: ArtifactLimits;
|
|
7
|
+
/** The file a repo's settings are in, at its root. */
|
|
8
|
+
export declare const CONFIG_FILE = "splates.config.ts";
|
|
9
|
+
export interface LoadConfigOptions {
|
|
10
|
+
/** What `splates.config.ts` is looked for through; the real one by default. */
|
|
11
|
+
fs?: Fs;
|
|
12
|
+
/** What the trunk is detected through; the repo's own git by default. */
|
|
13
|
+
git?: Git;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The settings splates runs a repo with: what `splates.config.ts` names, then the
|
|
17
|
+
* branch `origin/HEAD` points at for the trunk, then splates's own defaults.
|
|
18
|
+
* Throws when the config file is there but cannot be imported.
|
|
19
|
+
*/
|
|
20
|
+
export declare function loadConfig(root: string, opts?: LoadConfigOptions): Promise<Config>;
|
|
21
|
+
/** Reads the TypeScript files a repo keeps its settings in, through `fs`. */
|
|
22
|
+
export declare class ConfigFiles {
|
|
23
|
+
private readonly fs;
|
|
24
|
+
constructor(fs?: Fs);
|
|
25
|
+
/**
|
|
26
|
+
* What `root`'s `splates.config.ts` names, or nothing when there is no such
|
|
27
|
+
* file.
|
|
28
|
+
*/
|
|
29
|
+
read(root: string): Promise<Partial<Config>>;
|
|
30
|
+
/**
|
|
31
|
+
* Everything `root`'s `splates.config.ts` exports as its default, unchecked, or
|
|
32
|
+
* nothing when there is no such file.
|
|
33
|
+
*/
|
|
34
|
+
importConfig(root: string): Promise<Record<string, unknown>>;
|
|
35
|
+
/**
|
|
36
|
+
* Where `file` is at `root`, under arbor's old name for it until `splates
|
|
37
|
+
* update` renames it, or null when it is under neither.
|
|
38
|
+
*/
|
|
39
|
+
private found;
|
|
40
|
+
/**
|
|
41
|
+
* Read `file` relative to the repository's `root`, returning its default
|
|
42
|
+
* export or an empty record when absent. Throws if the file cannot load;
|
|
43
|
+
* call again after an edit to read the updated settings.
|
|
44
|
+
*/
|
|
45
|
+
importDefault(root: string, file: string): Promise<Record<string, unknown>>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `source` typed by a type-only import of `ConfigFile` and `satisfies` rather
|
|
3
|
+
* than by calling `defineConfig`, so a reader can import it without splates
|
|
4
|
+
* installed; or null unless it imports `defineConfig` alone and calls it
|
|
5
|
+
* once.
|
|
6
|
+
*/
|
|
7
|
+
export declare function typedConfig(source: string): string | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Types an older `splates.config.ts` by a type-only import and `satisfies`
|
|
5
|
+
* rather than `defineConfig`, so a reader can import it without splates
|
|
6
|
+
* installed. Leaves a config it cannot safely rewrite unchanged and logs
|
|
7
|
+
* instructions for typing it by hand.
|
|
8
|
+
*/
|
|
9
|
+
export declare function typeConfig({ root, fs, log, }: {
|
|
10
|
+
/** The repository's main tree. */
|
|
11
|
+
root: string;
|
|
12
|
+
fs: Fs;
|
|
13
|
+
log: Logger;
|
|
14
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Answer, Ask } from "./state";
|
|
2
|
+
/**
|
|
3
|
+
* What the person said to `ask`, in words a new session can read, as for an
|
|
4
|
+
* agent whose place a drain freed while it asked: that session never asked,
|
|
5
|
+
* so it hears the question with the answer. Null for one dismissed.
|
|
6
|
+
*/
|
|
7
|
+
export declare function answerWords(ask: Ask, answer: Answer): string | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Conversation } from "./conversation";
|
|
2
|
+
import type { ConversationHost } from "./host";
|
|
3
|
+
/**
|
|
4
|
+
* Records archive membership and its timestamp together; `rest`, archived
|
|
5
|
+
* resting, as a persistent agent's run that ended with its role still on.
|
|
6
|
+
*/
|
|
7
|
+
export declare function put(host: ConversationHost, { archived, with: withConversation, rest, }: {
|
|
8
|
+
archived: boolean;
|
|
9
|
+
with?: string | undefined;
|
|
10
|
+
rest?: boolean;
|
|
11
|
+
}): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* The archived of `conversations`, the latest archived first, but for the
|
|
14
|
+
* newest of each persistent agent's role, which holds its row, so is kept.
|
|
15
|
+
*/
|
|
16
|
+
export declare function archivedNewestFirst(conversations: readonly Conversation[]): Conversation[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AgentConnection } from "../agents";
|
|
2
|
+
import type { ConversationDeps, ConversationHost } from "./host";
|
|
3
|
+
/**
|
|
4
|
+
* The commands the agent left running in the background, as the
|
|
5
|
+
* conversation's state lists them: what each has printed, and stopping one.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ConversationBackground {
|
|
8
|
+
private readonly host;
|
|
9
|
+
private readonly deps;
|
|
10
|
+
private readonly connection;
|
|
11
|
+
constructor(host: ConversationHost, deps: ConversationDeps, connection: AgentConnection);
|
|
12
|
+
/** Stops background command `id`, leaving the agent's turn as it is. */
|
|
13
|
+
stop(id: string): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* What background command `id` has printed, then more as it prints it,
|
|
16
|
+
* ending once the command has and all of it is read.
|
|
17
|
+
*/
|
|
18
|
+
output(id: string): ReadableStream<Uint8Array>;
|
|
19
|
+
/** Background command `id`, refusing one the agent never left. */
|
|
20
|
+
private command;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The conversation values a browser bundle can take: import them from
|
|
3
|
+
* `@stringsync/splates/conversations/browser` in the page, and types from
|
|
4
|
+
* `@stringsync/splates/conversations`.
|
|
5
|
+
*/
|
|
6
|
+
export { paused, textOf } from "./messages";
|
|
7
|
+
export { grooms, lanesOf, namedForTask, nameOf, openingOf, realName, } from "./name";
|
|
8
|
+
export { conversationReference } from "./reference";
|
|
9
|
+
export { saidIn, snippetOf, wordsOf } from "./search";
|
|
10
|
+
export { blank, DEVICES, FROM_HEADER, IDLE_STOP, listed, SERVER_TOLD, switched, unused, } from "./state";
|
|
11
|
+
export type { ConversationDelta } from "./updates";
|
|
12
|
+
export { ConversationUpdates } from "./updates";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AgentConnection } from "../agents";
|
|
2
|
+
import type { ConversationHost } from "./host";
|
|
3
|
+
/**
|
|
4
|
+
* Applies a validated choice to the session and its log: the person's, or,
|
|
5
|
+
* `byAutoPick`, Auto pick's own. Neither switches Auto pick off: that is
|
|
6
|
+
* the person's own switch; a pick of theirs is only recorded as an override.
|
|
7
|
+
*/
|
|
8
|
+
export declare function choose(host: ConversationHost, connection: AgentConnection, id: string, value: string, byAutoPick?: boolean): Promise<void>;
|