@stringsync/splates 0.0.60 → 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,223 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
/** The plan each task keeps at its worktree root, excluded from git. */
|
|
3
|
+
export declare const PLAN_FILE = "SPLATES.md";
|
|
4
|
+
/** Where tasks keep their plans: each worktree's `SPLATES.md`, read through `fs`. */
|
|
5
|
+
export declare class Plans {
|
|
6
|
+
private readonly fs;
|
|
7
|
+
constructor(fs: Fs);
|
|
8
|
+
/**
|
|
9
|
+
* The plan in worktree `tree`, or null for none: an agent still on arbor's
|
|
10
|
+
* skill keeps it as `ARBOR.md`, read when there is no `SPLATES.md`.
|
|
11
|
+
*/
|
|
12
|
+
read(tree: string): Promise<string | null>;
|
|
13
|
+
/**
|
|
14
|
+
* Keeps plans out of git in every worktree of the repository whose shared
|
|
15
|
+
* `.git` is `gitDir`, leaving the repo's own .gitignore alone.
|
|
16
|
+
*/
|
|
17
|
+
exclude(gitDir: string): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The steps `splates add` once wrote under `## Next`, asking its agent to
|
|
21
|
+
* plan: a plan that still holds them has no work under way.
|
|
22
|
+
*/
|
|
23
|
+
export declare const STUB_STEPS: string[];
|
|
24
|
+
/**
|
|
25
|
+
* What an `SPLATES.md` says its task is for: the first line under `## Goal`, or
|
|
26
|
+
* null when it says nothing yet. One line, since it sits beside other tasks'
|
|
27
|
+
* in `splates list --files`.
|
|
28
|
+
*/
|
|
29
|
+
export declare function goalLine(text: string): string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The `## <name>` section of an `SPLATES.md`, heading and all, apart from the
|
|
32
|
+
* rest of it: null for one it does not have. The task dialog shows
|
|
33
|
+
* `## Verification` on its own, above the rest.
|
|
34
|
+
*/
|
|
35
|
+
export declare function sectionApart(text: string, name: string): {
|
|
36
|
+
section: string | null;
|
|
37
|
+
rest: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* What an `SPLATES.md` says came of its task: all of `## Outcome`, as
|
|
41
|
+
* markdown, or "" when it says nothing. The merge record keeps it, since the
|
|
42
|
+
* plan goes with the worktree.
|
|
43
|
+
*/
|
|
44
|
+
export declare function outcomeOf(text: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* What an `SPLATES.md` says done means: all of `## Goal`, as markdown, or ""
|
|
47
|
+
* when it says nothing yet.
|
|
48
|
+
*/
|
|
49
|
+
export declare function goalOf(text: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* One `- [ ] 9.` item under `## Blocked`: something only a person can do.
|
|
52
|
+
* The item's line is its subject; lines indented under it are its body, and
|
|
53
|
+
* `- (a) ...`, `- [a] ...` or `- a. ...` lines among them are the answers it
|
|
54
|
+
* offers.
|
|
55
|
+
*/
|
|
56
|
+
export interface Question {
|
|
57
|
+
/** As the plan numbers it, `9`: the name a reply goes by. */
|
|
58
|
+
number: string;
|
|
59
|
+
/** Checked off, which the agent does once it has acted on the reply. */
|
|
60
|
+
done: boolean;
|
|
61
|
+
/** The item's own line, without its checkbox, number, size or reply. */
|
|
62
|
+
text: string;
|
|
63
|
+
/**
|
|
64
|
+
* The `(large)` that led its line in plans from when the skill sized
|
|
65
|
+
* questions, which outcomes still keep; null when it has none.
|
|
66
|
+
*/
|
|
67
|
+
size: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The markdown indented under it, dedented, choices left out: detail,
|
|
70
|
+
* code blocks, `` images. Empty when there is none.
|
|
71
|
+
*/
|
|
72
|
+
body: string;
|
|
73
|
+
/** Whatever follows ` → `, or null when nobody has answered yet. */
|
|
74
|
+
reply: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* What a person added once the reply was read, oldest first: each an
|
|
77
|
+
* indented `→ ` line under the question.
|
|
78
|
+
*/
|
|
79
|
+
followUps: string[];
|
|
80
|
+
/**
|
|
81
|
+
* The answers it offers, in order. Empty for a question answered in words
|
|
82
|
+
* alone. A reply can always add words to its picks, or answer in words
|
|
83
|
+
* instead.
|
|
84
|
+
*/
|
|
85
|
+
choices: Choice[];
|
|
86
|
+
/**
|
|
87
|
+
* `one` for `- (a)` choices, at most one of which a reply picks; `any` for
|
|
88
|
+
* `- [a]` choices, where it picks all that apply; `order` for `- a.`
|
|
89
|
+
* choices, which a reply puts in order, every one of them, as `b, a, c`.
|
|
90
|
+
* Null without choices.
|
|
91
|
+
*/
|
|
92
|
+
pick: "one" | "any" | "order" | null;
|
|
93
|
+
}
|
|
94
|
+
/** One answer a question offers: `- (b) Migrate on next login`. */
|
|
95
|
+
export interface Choice {
|
|
96
|
+
/** The letter it goes by: `b`. */
|
|
97
|
+
key: string;
|
|
98
|
+
/** What it says, without the `(chosen)` that may end it. */
|
|
99
|
+
text: string;
|
|
100
|
+
/**
|
|
101
|
+
* The markdown indented under it, dedented: most often the screenshot of
|
|
102
|
+
* what it would look like. Empty when there is none.
|
|
103
|
+
*/
|
|
104
|
+
body: string;
|
|
105
|
+
/**
|
|
106
|
+
* Why the agent would go with it, or not: a `Why:` line under it, without
|
|
107
|
+
* the label, kept out of `body`. The page folds
|
|
108
|
+
* it away until asked. Empty when there is none.
|
|
109
|
+
*/
|
|
110
|
+
why: string;
|
|
111
|
+
/**
|
|
112
|
+
* Marked `(chosen)`: what the agent went with while it waits for the reply,
|
|
113
|
+
* which picks nothing for the person.
|
|
114
|
+
*/
|
|
115
|
+
chosen: boolean;
|
|
116
|
+
}
|
|
117
|
+
/** `text` without the size that leads it, and that size, or null. */
|
|
118
|
+
export declare function sized(text: string): {
|
|
119
|
+
text: string;
|
|
120
|
+
size: string | null;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Every numbered item under `## Blocked`, open or checked off, each with the
|
|
124
|
+
* indented lines under it. The reply is read off the item's own line: an
|
|
125
|
+
* answer is one line after the arrow, which the agent writes in from the
|
|
126
|
+
* user's reply in chat.
|
|
127
|
+
*/
|
|
128
|
+
export declare function questions(text: string): Question[];
|
|
129
|
+
/**
|
|
130
|
+
* The questions under `## Blocked` still waiting on a person: unchecked and
|
|
131
|
+
* unanswered. One answered and unchecked is a follow-up for the agent.
|
|
132
|
+
*/
|
|
133
|
+
export declare function openQuestions(text: string): Question[];
|
|
134
|
+
/**
|
|
135
|
+
* Adds what `line` offers to `asked`, saying whether it did: an indented
|
|
136
|
+
* `- (a) text` picks one, `- [a] text` picks any, and `- a. text` is put in
|
|
137
|
+
* order, and a line indented past a choice's dash, such as its screenshot,
|
|
138
|
+
* belongs to that choice. The first choice says which for the question. The
|
|
139
|
+
* same in a plan and in a conversation, which `asked.ts` reads with this.
|
|
140
|
+
*/
|
|
141
|
+
export declare function offers(asked: Pick<Question, "choices" | "pick">, line: string): boolean;
|
|
142
|
+
/** `asked` with `body` as its own, and each choice's dedented. */
|
|
143
|
+
export declare function settled(asked: Question, body: string[]): Question;
|
|
144
|
+
/** Lines with the indent they all share taken off, blank ends trimmed. */
|
|
145
|
+
export declare function dedent(lines: string[]): string;
|
|
146
|
+
/**
|
|
147
|
+
* How the person met the agent's picks under `## Blocked`: the questions
|
|
148
|
+
* asked, those that offered a `(chosen)` choice and were answered with a
|
|
149
|
+
* choice, and of those, the ones answered with another, and the ones answered
|
|
150
|
+
* with the agent's choice but with words added, in the reply or a follow-up.
|
|
151
|
+
* A moot question, or one answered in words alone, is asked but picks nothing.
|
|
152
|
+
*/
|
|
153
|
+
export declare function picks(text: string): {
|
|
154
|
+
asked: number;
|
|
155
|
+
picked: number;
|
|
156
|
+
overturned: number;
|
|
157
|
+
amended: number;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* One call a plan made, as an outcome keeps it: enough to count how the
|
|
161
|
+
* agent's recommendations fare by size, and to size it again by its line if
|
|
162
|
+
* the scheme changes.
|
|
163
|
+
*/
|
|
164
|
+
export interface Decision {
|
|
165
|
+
/** As the plan numbers it. */
|
|
166
|
+
number: string;
|
|
167
|
+
/** The item's line, without its size. */
|
|
168
|
+
text: string;
|
|
169
|
+
/** The word its line was sized with, or null for none. */
|
|
170
|
+
size: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* What became of the agent's recommendation: a pick taken as it was,
|
|
173
|
+
* kept; taken with words added, amended; answered with another choice,
|
|
174
|
+
* overturned. Null for a question with no pick to meet, or one never
|
|
175
|
+
* answered with a choice.
|
|
176
|
+
*/
|
|
177
|
+
ended: "kept" | "amended" | "overturned" | null;
|
|
178
|
+
}
|
|
179
|
+
/** Every question in the plan `text`, in the order numbered. */
|
|
180
|
+
export declare function decisions(text: string): Decision[];
|
|
181
|
+
/** What still stands between a task and trunk, as its plan tells it. */
|
|
182
|
+
export interface Unfinished {
|
|
183
|
+
/** Each unchecked question under `## Blocked`, by number: `["2", "4"]`. */
|
|
184
|
+
questions: string[];
|
|
185
|
+
/** Each unchecked step under `## Next`, as written. */
|
|
186
|
+
steps: string[];
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* The questions and steps a plan leaves unchecked. Nothing in either means the
|
|
190
|
+
* task is ready to merge: `splates merge` lands it, or its agent's Ready to
|
|
191
|
+
* merge report asks a person to look first. A task with no plan has nothing
|
|
192
|
+
* left.
|
|
193
|
+
*/
|
|
194
|
+
export declare function unfinished(text: string): Unfinished;
|
|
195
|
+
/** Whether {@link unfinished} found nothing left. */
|
|
196
|
+
export declare function ready({ questions, steps }: Unfinished): boolean;
|
|
197
|
+
/** What {@link unfinished} found, as a clause: `questions 1, 2 unchecked under ## Blocked`. */
|
|
198
|
+
export declare function whatIsLeft({ questions, steps }: Unfinished): string;
|
|
199
|
+
/**
|
|
200
|
+
* The plan with a new open question at the end of `## Blocked`, the section
|
|
201
|
+
* made if missing, numbered after the highest there. Returns the plan and the
|
|
202
|
+
* number it went by.
|
|
203
|
+
*/
|
|
204
|
+
export declare function withQuestion(text: string, subject: string, body?: string): {
|
|
205
|
+
plan: string;
|
|
206
|
+
number: string;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* A question's number however a person typed it: `9`, `9.`, `Q9` and `q9:`
|
|
210
|
+
* all mean `9`. Null for anything that is not a number at all.
|
|
211
|
+
*/
|
|
212
|
+
export declare function questionNumber(raw: string): string | null;
|
|
213
|
+
export interface PlanOptions {
|
|
214
|
+
/** The task name the title is expected to match. */
|
|
215
|
+
task: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Every way a task's `SPLATES.md` departs from the shape the agent skill
|
|
219
|
+
* prescribes, phrased for the agent that wrote it. Advisory only: a resumable
|
|
220
|
+
* plan is the point, and a malformed one still beats none, so nothing here
|
|
221
|
+
* blocks a merge.
|
|
222
|
+
*/
|
|
223
|
+
export declare function checkPlan(text: string, { task }: PlanOptions): string[];
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/** What a chat with an agent takes to mean task `id`. */
|
|
2
|
+
export declare function taskNumberReference(id: number): string;
|
|
3
|
+
/**
|
|
4
|
+
* What the untriaged lane, the tasks in no lane, goes by where a lane's
|
|
5
|
+
* number would: `[SPLATES LANE untriaged]`, `splates lane show untriaged`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const UNTRIAGED = "untriaged";
|
|
8
|
+
/**
|
|
9
|
+
* What opens the conversation a hook starts on task event `name`, about the
|
|
10
|
+
* queued tasks `numbers` and the started `task`, before the hook's prompt.
|
|
11
|
+
*/
|
|
12
|
+
export declare function eventReference(name: string, numbers: readonly number[], task: string | null): string;
|
|
13
|
+
/**
|
|
14
|
+
* What opens the conversation an automation starts when its schedule comes
|
|
15
|
+
* due, named by the automation's number, before its prompt.
|
|
16
|
+
*/
|
|
17
|
+
export declare function scheduleReference(automation: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* What tells the project's groomer to groom backlog task `id`, which
|
|
20
|
+
* `splates server` claimed for it: the splates skill says what it means.
|
|
21
|
+
*/
|
|
22
|
+
export declare function groomReference(id: number): string;
|
|
23
|
+
/**
|
|
24
|
+
* What tells the project's groomer to look for lanes for Untriaged tasks
|
|
25
|
+
* `ids`, which `splates server` marked as looked at: the splates skill says
|
|
26
|
+
* what it means.
|
|
27
|
+
*/
|
|
28
|
+
export declare function sortReference(ids: readonly number[]): string;
|
|
29
|
+
/** What a chat with an agent takes to mean "claim `task` and carry on with it". */
|
|
30
|
+
export declare function taskReference(task: string): string;
|
|
31
|
+
/** Where a demo shows a task: just before its change, with it, or on main now. */
|
|
32
|
+
export type DemoPoint = "before" | "after" | "main";
|
|
33
|
+
/**
|
|
34
|
+
* What asks an agent to set up a demo of `task` at `point`, as the task
|
|
35
|
+
* dialog's Demo buttons send: the splates skill says what it means.
|
|
36
|
+
*/
|
|
37
|
+
export declare function demoReference(task: string, point: DemoPoint): string;
|
|
38
|
+
/**
|
|
39
|
+
* What asks an agent to take merged `task` back off its base, as the merged
|
|
40
|
+
* card's Unmerge sends, with what the person wrote in its dialog after it:
|
|
41
|
+
* the splates skill says what it means, checking first that it can be undone.
|
|
42
|
+
*/
|
|
43
|
+
export declare function unmergeReference(task: string, note: string): string;
|
|
44
|
+
/**
|
|
45
|
+
* What a chat with an agent takes to mean "claim `task` and carry on with
|
|
46
|
+
* it" from an agent that stopped on it without handing it over, whose last
|
|
47
|
+
* turns are at `transcript`.
|
|
48
|
+
*/
|
|
49
|
+
export declare function handOffReference(task: string, transcript: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* What opens a project's conversation that carries on from a General one,
|
|
52
|
+
* whose turns are at `transcript`: it reads them, then works in the project,
|
|
53
|
+
* where the splates skill has it add a task before changing code.
|
|
54
|
+
*/
|
|
55
|
+
export declare function continuedReference(transcript: string): string;
|
|
56
|
+
/** What a chat with an agent takes to mean "walk the user through setup step `step`". */
|
|
57
|
+
export declare function setupReference(step: string): string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether `text` is an update splates itself tells the conversation that handed
|
|
60
|
+
* tasks out: a report, or, in a conversation from before lanes stopped
|
|
61
|
+
* running, idle, a task done, open, added, to groom or to sort, or lanes
|
|
62
|
+
* done; never the person's word.
|
|
63
|
+
*/
|
|
64
|
+
export declare function isUpdate(text: string): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* What tells an agent a run its run evals card asked for is done, the batch
|
|
67
|
+
* it wrote named, before its condensed report: the splates skill says what it
|
|
68
|
+
* means.
|
|
69
|
+
*/
|
|
70
|
+
export declare function evalsDoneReference(batch: string): string;
|
|
71
|
+
/**
|
|
72
|
+
* What asks an agent to bring its `SPLATES.md` up to date and stop, as before a
|
|
73
|
+
* restart: the splates skill says what it means.
|
|
74
|
+
*/
|
|
75
|
+
export declare const CHECKPOINT = "[SPLATES CHECKPOINT]";
|
|
76
|
+
/**
|
|
77
|
+
* What asks an agent to carry on from where its `SPLATES.md` says it stopped,
|
|
78
|
+
* after a checkpoint: the splates skill says what it means.
|
|
79
|
+
*/
|
|
80
|
+
export declare const RESUME = "[SPLATES RESUME]";
|
|
81
|
+
/**
|
|
82
|
+
* What asks an agent to carry on with a turn a lost connection cut short:
|
|
83
|
+
* send it from the page's Reconnect button, or once the agent's process is
|
|
84
|
+
* lost. The splates skill says what it means.
|
|
85
|
+
*/
|
|
86
|
+
export declare const RECONNECT = "[SPLATES RECONNECT]";
|
|
87
|
+
/**
|
|
88
|
+
* What approves a task's review and asks the agent to merge it, as the Ready
|
|
89
|
+
* to merge card's Merge button sends: the splates skill says what it means.
|
|
90
|
+
*/
|
|
91
|
+
export declare const MERGE = "[SPLATES MERGE]";
|
|
92
|
+
/**
|
|
93
|
+
* What tells an agent the person allowed the command its run-command card
|
|
94
|
+
* asked to run, or turned it down, as that card's Allow and Deny send: the
|
|
95
|
+
* splates skill says what it means.
|
|
96
|
+
*/
|
|
97
|
+
export declare const RUN_ALLOWED = "[SPLATES RUN ALLOWED]";
|
|
98
|
+
export declare const RUN_DENIED = "[SPLATES RUN DENIED]";
|
|
99
|
+
/**
|
|
100
|
+
* What tells an agent the person granted its task another round of merge
|
|
101
|
+
* attempts, as `splates retry` does, from its retry card or the refused
|
|
102
|
+
* merge's Grant: the page has granted them already, so the agent merges
|
|
103
|
+
* again. The splates skill says what it means.
|
|
104
|
+
*/
|
|
105
|
+
export declare const RETRIED = "[SPLATES RETRIED]";
|
|
106
|
+
/**
|
|
107
|
+
* What tells an agent the person gave the reach its grant card asked for,
|
|
108
|
+
* from the card's Allow: the page has granted it already, so the agent
|
|
109
|
+
* carries on with the work it was for. The splates skill says what it means.
|
|
110
|
+
*/
|
|
111
|
+
export declare const GRANTED = "[SPLATES GRANTED]";
|
|
112
|
+
/**
|
|
113
|
+
* What tells an agent the person turned down the reach its grant card
|
|
114
|
+
* asked for, from the card's Deny, any note after it: nothing was granted,
|
|
115
|
+
* so the agent carries on without the reach. The splates skill says what it
|
|
116
|
+
* means.
|
|
117
|
+
*/
|
|
118
|
+
export declare const GRANT_DENIED = "[SPLATES GRANT DENIED]";
|
|
119
|
+
/**
|
|
120
|
+
* What approves an agent's proposal as it stands and asks it to go ahead,
|
|
121
|
+
* the answers to any calls it chose nothing for after it, as the Proposed
|
|
122
|
+
* card's Approve button sends: the splates skill says what it means.
|
|
123
|
+
*/
|
|
124
|
+
export declare const APPROVE = "[SPLATES APPROVE]";
|
|
125
|
+
/**
|
|
126
|
+
* What asks an agent to make the request after it a queued task rather than do it,
|
|
127
|
+
* or, alone, to make the person's message before it one, with what it did on
|
|
128
|
+
* it since, and stop, as the composer's Defer offers: the splates skill says
|
|
129
|
+
* what it means.
|
|
130
|
+
*/
|
|
131
|
+
export declare const DEFER = "[SPLATES DEFER]";
|
|
132
|
+
/**
|
|
133
|
+
* What the agent alone is told of a message the person dictated: the page
|
|
134
|
+
* marks it with a mic, and never shows these words.
|
|
135
|
+
*/
|
|
136
|
+
export declare const DICTATED = "(Dictated by voice: words that sound alike may be swapped, and names in this project misspelled. Read a near miss as the closest name in the project, and ask before acting on a reading that changes what you do.)";
|
|
137
|
+
/** Each `[SPLATES ...]` directive in a text, wherever it stands. */
|
|
138
|
+
export declare const DIRECTIVES: RegExp;
|
|
139
|
+
/**
|
|
140
|
+
* The directives `text` starts with, in order, and what follows them; none
|
|
141
|
+
* when it starts with anything else.
|
|
142
|
+
*/
|
|
143
|
+
export declare function leadingDirectives(text: string): {
|
|
144
|
+
directives: string[];
|
|
145
|
+
rest: string;
|
|
146
|
+
};
|
|
147
|
+
/** Directive `text` trimmed, in the words splates uses for it today. */
|
|
148
|
+
export declare function directive(text: string): string;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Question } from "./plan";
|
|
2
|
+
/** What a reply says to one question: the letters it picks, then its words. */
|
|
3
|
+
export interface Answer {
|
|
4
|
+
picks: string[];
|
|
5
|
+
words: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The question an answer is for: its number, its line, and the letters it
|
|
9
|
+
* offers and how they are picked.
|
|
10
|
+
*/
|
|
11
|
+
type Asked = Pick<Question, "number" | "text" | "choices" | "pick">;
|
|
12
|
+
/**
|
|
13
|
+
* `answers` to `questions` as a reply, quote and reply: each question
|
|
14
|
+
* answered, its line quoted in bold, its picks under it as a list spelled out
|
|
15
|
+
* with their text, numbered when in order, and then its words; last, what else
|
|
16
|
+
* the person says, under a quoted "Anything else?" (alone, bare, when no
|
|
17
|
+
* question is answered). Unanswered questions are left out, so nothing in the reply
|
|
18
|
+
* goes by a number or a letter alone.
|
|
19
|
+
*/
|
|
20
|
+
export declare function replyOf(questions: Asked[], answers: (Answer | null)[], more: string): string;
|
|
21
|
+
/** Whether `answer` says nothing: no picks, and no words but spaces. */
|
|
22
|
+
export declare function isEmpty(answer: Answer): boolean;
|
|
23
|
+
/** The answer that takes `asked` as the agent recommends it: its `(chosen)` choices. */
|
|
24
|
+
export declare function takenOf(asked: Question): Answer;
|
|
25
|
+
/** Whether `answer` changes what `asked` recommends: says anything but its `(chosen)` choices. */
|
|
26
|
+
export declare function changes(asked: Question, answer: Answer): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* What a quote-and-reply reply in `text` says to `asked`, found by its line
|
|
29
|
+
* rather than its number, or null when it quotes another: what follows its
|
|
30
|
+
* quote, up to the next question's.
|
|
31
|
+
*/
|
|
32
|
+
export declare function quotedIn(text: string, asked: Asked): Answer | null;
|
|
33
|
+
/**
|
|
34
|
+
* What the reply in `text` says to `asked`, or null when it has nothing for
|
|
35
|
+
* it: quoted, as the question cards write it, or a line typed by hand as the
|
|
36
|
+
* splates skill reads one, `2. b`, `1. a, c`, `2. b: only on phones`, or
|
|
37
|
+
* `3. after a phone check`, by the number of the report it answers.
|
|
38
|
+
*/
|
|
39
|
+
export declare function answerIn(text: string, asked: Asked): Answer | null;
|
|
40
|
+
/**
|
|
41
|
+
* What `text`, a reply, says besides its answers to `asked`: what follows
|
|
42
|
+
* its quoted "Anything else?", else what comes before its first quoted question, or around the lines typed by hand.
|
|
43
|
+
*/
|
|
44
|
+
export declare function besides(text: string, asked: Asked[]): string;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether `command`, from a run-command card, may need a suite grant: a
|
|
3
|
+
* `bin/mono test` (including scopes reaching half the test files), or a
|
|
4
|
+
* `bin/mono premerge` or `bun run premerge` without `--evals`, which an agent is
|
|
5
|
+
* refused until the person approves one run. Leading `VAR=value` words are
|
|
6
|
+
* passed over.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isWholeSuite(command: string): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The task a run-command card's `splates retry <task>` asks another round of
|
|
11
|
+
* merge attempts for, which the page grants itself on Allow, as only the
|
|
12
|
+
* person may; null for any other command.
|
|
13
|
+
*/
|
|
14
|
+
export declare function retryOf(command: string): string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The project a run-command card's `splates ship [<project>]` asks to ship,
|
|
17
|
+
* which the page starts itself on Allow, as only the person may: "" for the
|
|
18
|
+
* conversation's own project when it names none; null for any other command,
|
|
19
|
+
* `--plan` and any other flag included.
|
|
20
|
+
*/
|
|
21
|
+
export declare function shipOf(command: string): string | null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type { Storage } from "../storage";
|
|
3
|
+
/**
|
|
4
|
+
* Each task's `SPLATES.md` kept in repo state, ``plans/<task>.md``,
|
|
5
|
+
* through the command's `fs`: on a worker that is the server's disk, so
|
|
6
|
+
* the plan outlives the checkout it was written in. It is never in a branch,
|
|
7
|
+
* and so never on trunk.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PlanStore {
|
|
10
|
+
/** Reads and writes the checkouts' own `SPLATES.md`. */
|
|
11
|
+
private readonly fs;
|
|
12
|
+
private readonly plans;
|
|
13
|
+
private readonly kept;
|
|
14
|
+
constructor(
|
|
15
|
+
/** Reads and writes the checkouts' own `SPLATES.md`. */
|
|
16
|
+
fs: Fs,
|
|
17
|
+
/** The project's, holding `plans/`. */
|
|
18
|
+
storage: Storage);
|
|
19
|
+
/** Copies the plan in checkout `tree` here; a tree with none changes nothing. */
|
|
20
|
+
save(task: string, tree: string): Promise<void>;
|
|
21
|
+
/** Forgets the plan of a task that merged or was removed. */
|
|
22
|
+
drop(task: string): Promise<void>;
|
|
23
|
+
/** Writes the kept plan into checkout `tree` when it has none of its own. */
|
|
24
|
+
restore(task: string, tree: string): Promise<boolean>;
|
|
25
|
+
private at;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Message } from "../conversations";
|
|
2
|
+
import type { Needing } from "./needs";
|
|
3
|
+
import type { Question } from "./plan";
|
|
4
|
+
/**
|
|
5
|
+
* Of `open`, a task's open questions, returns those the person has not yet
|
|
6
|
+
* answered in `messages`, to tell a conversation still asking from one whose
|
|
7
|
+
* answers the agent has yet to record.
|
|
8
|
+
*/
|
|
9
|
+
export declare function unanswered(open: Question[], messages: Message[]): Question[];
|
|
10
|
+
/**
|
|
11
|
+
* Tells whether `row` waits on you, for ⌥⌘M, Needs you and the waiting counts
|
|
12
|
+
* to stop on: true while its conversation has stopped on you with questions
|
|
13
|
+
* no reply has answered yet.
|
|
14
|
+
*/
|
|
15
|
+
export declare function waitsOnYou({ conversation, need }: Needing): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { portsLs } from "./list";
|
|
2
|
+
export type { PortLink } from "./routes";
|
|
3
|
+
export { claimedFirst, DevTaskPorts, portOwnersOf } from "./routes";
|
|
4
|
+
export { devSlot } from "./slot";
|
|
5
|
+
export { slotTunnelSetup } from "./slot-tunnel";
|
|
6
|
+
export type { Held, Slot } from "./slots";
|
|
7
|
+
export { freedLine, MACHINE_HOME, SERVER_PID, SLOT, SLOT_POOL, Slots, slotOf, } from "./slots";
|
|
8
|
+
export type { PortOwners } from "./task-ports";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
portsLs2,
|
|
3
|
+
DevTaskPorts2,
|
|
4
|
+
portOwnersOf2,
|
|
5
|
+
claimedFirst2,
|
|
6
|
+
slotTunnelSetup2,
|
|
7
|
+
SERVER_PID2,
|
|
8
|
+
SLOT2,
|
|
9
|
+
MACHINE_HOME2,
|
|
10
|
+
Slots2,
|
|
11
|
+
SLOT_POOL2,
|
|
12
|
+
freedLine2,
|
|
13
|
+
slotOf2,
|
|
14
|
+
devSlot2
|
|
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
|
+
DevTaskPorts2 as DevTaskPorts,
|
|
24
|
+
MACHINE_HOME2 as MACHINE_HOME,
|
|
25
|
+
SERVER_PID2 as SERVER_PID,
|
|
26
|
+
SLOT2 as SLOT,
|
|
27
|
+
SLOT_POOL2 as SLOT_POOL,
|
|
28
|
+
Slots2 as Slots,
|
|
29
|
+
claimedFirst2 as claimedFirst,
|
|
30
|
+
devSlot2 as devSlot,
|
|
31
|
+
freedLine2 as freedLine,
|
|
32
|
+
portOwnersOf2 as portOwnersOf,
|
|
33
|
+
portsLs2 as portsLs,
|
|
34
|
+
slotOf2 as slotOf,
|
|
35
|
+
slotTunnelSetup2 as slotTunnelSetup
|
|
36
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Ps } from "../../../core/system/index.js";
|
|
3
|
+
/** What `splates ports` is run with. */
|
|
4
|
+
export interface PortsOptions {
|
|
5
|
+
/** Only this task's; empty for every task's. */
|
|
6
|
+
task: string;
|
|
7
|
+
/**
|
|
8
|
+
* The `splates server` to ask; empty for the one this agent runs under,
|
|
9
|
+
* else this machine's.
|
|
10
|
+
*/
|
|
11
|
+
dev: string;
|
|
12
|
+
json: boolean;
|
|
13
|
+
log: Logger;
|
|
14
|
+
ps: Ps;
|
|
15
|
+
send?: typeof fetch;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* `splates ports`: asks the running `splates server` which ports tasks serve, each
|
|
19
|
+
* with its link through the saved ports host and its link on this machine,
|
|
20
|
+
* so an agent can hand the user both.
|
|
21
|
+
*/
|
|
22
|
+
export declare function portsLs(opts: PortsOptions): Promise<void>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import { type Clock } from "../../../core/time/index.js";
|
|
3
|
+
import type { Connection, Served } from "../server/shared";
|
|
4
|
+
import { type Access } from "../tunnel";
|
|
5
|
+
import type { ConnectedWorker } from "../workers";
|
|
6
|
+
import { type PortOwners, type TaskPort } from "./task-ports";
|
|
7
|
+
/** One task port, with where to open it. */
|
|
8
|
+
export interface PortLink extends TaskPort {
|
|
9
|
+
/** On this machine. */
|
|
10
|
+
local: string;
|
|
11
|
+
/** Through the saved base host, behind Access; null with none saved. */
|
|
12
|
+
remote: string | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The ports each task's processes listen on, read on this machine's worker,
|
|
16
|
+
* as VS Code finds the ports to forward: each open on this machine's
|
|
17
|
+
* loopback, and, under a saved base host, served at `<task>-<port>.<base>`
|
|
18
|
+
* to whoever Cloudflare Access lets in, and never without it. DNS and TLS
|
|
19
|
+
* for the base are the operator's.
|
|
20
|
+
*/
|
|
21
|
+
export declare class DevTaskPorts implements Claimer {
|
|
22
|
+
private readonly deps;
|
|
23
|
+
private looked;
|
|
24
|
+
private readonly clock;
|
|
25
|
+
constructor(deps: {
|
|
26
|
+
/** This machine's worker, which the tasks' agents run on. */
|
|
27
|
+
worker: () => ConnectedWorker;
|
|
28
|
+
/** Each served project's worktrees and agents. */
|
|
29
|
+
owners: () => Promise<PortOwners>;
|
|
30
|
+
/** `<task>-<port>.<base>` is a task port's; null for none. */
|
|
31
|
+
base: string | null;
|
|
32
|
+
/** What lets a request reach a task port, which none does without. */
|
|
33
|
+
access: Access | null;
|
|
34
|
+
log: Logger;
|
|
35
|
+
clock?: Clock;
|
|
36
|
+
});
|
|
37
|
+
/** Each port a task serves now, with its links. */
|
|
38
|
+
links(): Promise<PortLink[]>;
|
|
39
|
+
/** `GET /api/ports`: `links`, as JSON. */
|
|
40
|
+
readonly list: () => Promise<Response>;
|
|
41
|
+
/**
|
|
42
|
+
* Answers `request` when its host is a task port's, proxying it to the
|
|
43
|
+
* task's server; null for any other host, which the page's routes answer.
|
|
44
|
+
*/
|
|
45
|
+
claim(request: Request, server: Bun.Server<Connection>): Promise<Response | undefined> | null;
|
|
46
|
+
private proxy;
|
|
47
|
+
/** The ports tasks serve: as last seen while fresh, unless `again`. */
|
|
48
|
+
private look;
|
|
49
|
+
/** The ports tasks serve, tied to them by the worker's own processes. */
|
|
50
|
+
private read;
|
|
51
|
+
private link;
|
|
52
|
+
}
|
|
53
|
+
/** Every served project's worktrees and agents, those that failed to open left out. */
|
|
54
|
+
export declare function portOwnersOf(served: Map<string, Promise<Served>>): Promise<PortOwners>;
|
|
55
|
+
/** What answers a task port's request before the page's routes do. */
|
|
56
|
+
export interface Claimer {
|
|
57
|
+
/** Its answer to `request`, or null to leave it to the route. */
|
|
58
|
+
claim(request: Request, server: Bun.Server<Connection>): Promise<Response | undefined> | null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* `routes`, each handler asking `claimer` first: Bun matches a route by its
|
|
62
|
+
* path alone, so a task port's `/` would otherwise reach the page's.
|
|
63
|
+
*/
|
|
64
|
+
export declare function claimedFirst<Routes extends Record<string, unknown>>(routes: Routes, claimer: Claimer): Routes;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Creds } from "../creds";
|
|
3
|
+
import type { SavedTunnel, TunnelRecord } from "../tunnel";
|
|
4
|
+
import type { Slot } from "./slots";
|
|
5
|
+
/**
|
|
6
|
+
* Makes what carries `<word>.<zone>` to a slot's `splates server`, beside the
|
|
7
|
+
* tunnel `splates tunnel setup` made, through the API with the same token: the
|
|
8
|
+
* slot's tunnel, `splates-<word>`, the DNS record routing its host to it, and,
|
|
9
|
+
* once for every slot, an Access application in front of `*.<zone>` letting
|
|
10
|
+
* in whom the machine's own lets in. Saves them in the slot's home, so its
|
|
11
|
+
* `splates server` runs them as a bare one runs the machine's, asking the API
|
|
12
|
+
* for the tunnel's token at each start rather than keeping it as a cred. What already exists
|
|
13
|
+
* by name is reused, so running it again is safe.
|
|
14
|
+
*/
|
|
15
|
+
export declare function slotTunnelSetup({ slot, machine, creds, saved, log, fetch, }: {
|
|
16
|
+
slot: Slot;
|
|
17
|
+
/** What `splates tunnel setup` saved, whose zone, team and policy slots share. */
|
|
18
|
+
machine: TunnelRecord;
|
|
19
|
+
creds: Creds;
|
|
20
|
+
/** The slot home's tunnel, saved here. */
|
|
21
|
+
saved: SavedTunnel;
|
|
22
|
+
log: Logger;
|
|
23
|
+
fetch?: typeof globalThis.fetch;
|
|
24
|
+
}): Promise<TunnelRecord>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { SplatesDeps } from "../server/shared";
|
|
3
|
+
import { type Slot, Slots } from "./slots";
|
|
4
|
+
/** How `splates server --slot` starts its server: with what added. */
|
|
5
|
+
export interface SlotStart {
|
|
6
|
+
slot: Slot;
|
|
7
|
+
/** The public host it answers on, as in fox.example.com. */
|
|
8
|
+
host: string;
|
|
9
|
+
/** The slot's home, its `SPLATES_HOME`, and the word it serves under. */
|
|
10
|
+
env: Record<string, string>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Readies the slot this checkout holds, claimed now when it holds none: its
|
|
14
|
+
* tunnel, made on the slot's first claim, and its home, `~/.splates/slots/<word>`,
|
|
15
|
+
* which keeps its own projects, roster and tunnel apart from the machine's, so
|
|
16
|
+
* it never drives the agents of the `splates server` serving your projects. Its
|
|
17
|
+
* home starts out with a throwaway project of its own, made on the first
|
|
18
|
+
* start, so its page has one to show.
|
|
19
|
+
*/
|
|
20
|
+
export declare function devSlot(ctx: SplatesDeps): Promise<SlotStart>;
|
|
21
|
+
/**
|
|
22
|
+
* Stops the server this tree's slot last ran, if it still runs, as one does
|
|
23
|
+
* when its wrapper was killed or it was started again: it holds a port, and
|
|
24
|
+
* its cloudflared still serves the slot's host from it, so the new server
|
|
25
|
+
* would answer beside old code. Only this tree ever holds the word, so the
|
|
26
|
+
* server is this task's own to stop.
|
|
27
|
+
*/
|
|
28
|
+
export declare function stopLeftover(slots: Slots, slot: Slot, log: Pick<Logger, "info">): Promise<void>;
|