@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,79 @@
|
|
|
1
|
+
import type { StoredTask } from "../board";
|
|
2
|
+
import type { AutoPickSet, Conversation, Conversations, Picked } from "../conversations";
|
|
3
|
+
import type { Journal, Lifted } from "../records";
|
|
4
|
+
import type { Project } from "../server/shared";
|
|
5
|
+
import type { AttachmentInfo } from "./classify";
|
|
6
|
+
import { type AutoPickDecision, type DecideContext } from "./decide";
|
|
7
|
+
import { type JudgeFor } from "./judge";
|
|
8
|
+
import type { AutoPicked } from "./record";
|
|
9
|
+
/** Which task Auto pick starts: a started one by name, or a queued one by number. */
|
|
10
|
+
export type AutoPickTarget = {
|
|
11
|
+
task: string;
|
|
12
|
+
} | {
|
|
13
|
+
todo: number;
|
|
14
|
+
};
|
|
15
|
+
/** Which words Auto pick judges: a task's, or those of a new conversation's first message. */
|
|
16
|
+
export type AutoPickWords = AutoPickTarget | {
|
|
17
|
+
words: string;
|
|
18
|
+
attachments?: readonly AttachmentInfo[];
|
|
19
|
+
};
|
|
20
|
+
/** How `startAutoPick` starts the conversation, in the tree it runs in. */
|
|
21
|
+
export type AutoPickStart = (agent: string, opts: {
|
|
22
|
+
model?: string;
|
|
23
|
+
settings: Record<string, string>;
|
|
24
|
+
picking: Promise<Picked<string>>;
|
|
25
|
+
}) => Promise<Conversation>;
|
|
26
|
+
/**
|
|
27
|
+
* Starts a conversation on what Auto pick decides for a task, through
|
|
28
|
+
* `start`, which knows the tree it runs in. It answers before the judge does,
|
|
29
|
+
* on what the rules give a task of no sure kind, so the page opens the
|
|
30
|
+
* thread at once; the agent opens on the decision, which a prompt said
|
|
31
|
+
* meanwhile waits on. A task whose words the judge read before is decided on
|
|
32
|
+
* what it said then. Keeps the decision on the task's record, logs it in the
|
|
33
|
+
* conversation as splates's own line, and, with no judge to ask, asks once
|
|
34
|
+
* on the Creds page for the key one needs.
|
|
35
|
+
*/
|
|
36
|
+
export declare function startAutoPick({ project, conversations, target, start, slug, judge, now, }: {
|
|
37
|
+
project: Project;
|
|
38
|
+
conversations: Conversations;
|
|
39
|
+
target: AutoPickWords;
|
|
40
|
+
start: AutoPickStart;
|
|
41
|
+
/** The judge to ask; the one the project's creds give by default. */
|
|
42
|
+
judge?: JudgeFor;
|
|
43
|
+
/** The project's slug, to name it in the spend ledger; none when not given. */
|
|
44
|
+
slug?: () => Promise<string | null>;
|
|
45
|
+
now?: () => Date;
|
|
46
|
+
}): Promise<Conversation>;
|
|
47
|
+
/** What a decision for a task in `project` reads besides its classification. */
|
|
48
|
+
export declare function contextOf(project: Project, conversations: Conversations, now: Date, attachments?: readonly AttachmentInfo[]): Promise<DecideContext>;
|
|
49
|
+
/** The record of the task `target` names, failing for none. */
|
|
50
|
+
export declare function recordOf(project: Project, target: AutoPickTarget): Promise<StoredTask>;
|
|
51
|
+
/**
|
|
52
|
+
* What the judge reads of a task: its subject and text, or for a started
|
|
53
|
+
* task with no text, as one never queued has, the goal its `SPLATES.md` sets.
|
|
54
|
+
*/
|
|
55
|
+
export declare function wordsOf(project: Project, record: StoredTask): Promise<{
|
|
56
|
+
subject: string;
|
|
57
|
+
detail: string;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Keeps `picked` on task `id`'s record and logs it in `conversation`, when
|
|
61
|
+
* there is one, before its agent opens, asking once for the judge's key
|
|
62
|
+
* unless it `judged`. Each failure is logged, so neither stops the start.
|
|
63
|
+
*/
|
|
64
|
+
export declare function settle(project: Project, id: number, picked: AutoPicked, { conversation, judged, }: {
|
|
65
|
+
conversation: Promise<Conversation> | null;
|
|
66
|
+
judged: boolean;
|
|
67
|
+
}): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Logs `picked` in `conversation`, asking once for the judge's key unless it
|
|
70
|
+
* `judged`; a failure is logged, so it never stops the start.
|
|
71
|
+
*/
|
|
72
|
+
export declare function announce(project: Project, conversation: Promise<Conversation>, picked: AutoPicked, judged: boolean): Promise<void>;
|
|
73
|
+
/** What a conversation keeps of `decision`. */
|
|
74
|
+
export declare function setOf({ pick, rule, kind, depth, clarity, }: AutoPickDecision): AutoPickSet;
|
|
75
|
+
/**
|
|
76
|
+
* Writes `picked` in `journal` as splates's own line in its conversation,
|
|
77
|
+
* with, for a pick that moved it up later, what it moved off.
|
|
78
|
+
*/
|
|
79
|
+
export declare function journalPick(journal: Journal, task: string | null, picked: AutoPicked, lifted?: Lifted): Promise<void>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import { type AutoPickRules } from "./rules";
|
|
3
|
+
/**
|
|
4
|
+
* The person's Auto pick rules, kept in one file under their home rather than
|
|
5
|
+
* per project, as the roster is: one mapping for every project on the machine.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AutoPickStore {
|
|
8
|
+
/** `~/.splates/auto-pick.json`, or a test's own. */
|
|
9
|
+
readonly path: string;
|
|
10
|
+
private readonly deps;
|
|
11
|
+
constructor(
|
|
12
|
+
/** `~/.splates/auto-pick.json`, or a test's own. */
|
|
13
|
+
path: string, deps: {
|
|
14
|
+
fs: Fs;
|
|
15
|
+
});
|
|
16
|
+
/** The rules as the file keeps them; the defaults when there is no file. */
|
|
17
|
+
rules(): Promise<AutoPickRules>;
|
|
18
|
+
/** Writes `rules` once they check out, refusing them, file untouched, when not. */
|
|
19
|
+
save(rules: AutoPickRules): Promise<void>;
|
|
20
|
+
/** Writes the defaults over the person's rules, returning them. */
|
|
21
|
+
reset(): Promise<AutoPickRules>;
|
|
22
|
+
/** Deletes the file, so the defaults apply again; none there is fine. */
|
|
23
|
+
remove(): Promise<void>;
|
|
24
|
+
private write;
|
|
25
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A decision model: it reads some state and answers yes-or-no questions about
|
|
3
|
+
* it with the probability of yes. The same shape as scry's `Judge`, so scry's
|
|
4
|
+
* Jev and Clef fit here too, without splates carrying scry's native
|
|
5
|
+
* dependencies; a fake in a test is another.
|
|
6
|
+
*/
|
|
7
|
+
export interface Judge {
|
|
8
|
+
judge(judgment: Judgment, opts?: JudgeOptions): Promise<Verdict>;
|
|
9
|
+
}
|
|
10
|
+
/** How one judgment runs. */
|
|
11
|
+
export interface JudgeOptions {
|
|
12
|
+
/** Gives up on the judgment when it aborts. */
|
|
13
|
+
signal?: AbortSignal;
|
|
14
|
+
}
|
|
15
|
+
/** The state once, and every question about it, answered together. */
|
|
16
|
+
export interface Judgment {
|
|
17
|
+
/** What the questions are about. A question names its parts by backticked path. */
|
|
18
|
+
state: Record<string, unknown>;
|
|
19
|
+
/** By id, which is for code and never sent as meaning. */
|
|
20
|
+
questions: Record<string, Noul>;
|
|
21
|
+
}
|
|
22
|
+
/** A yes-or-no question, answered with the probability of yes. */
|
|
23
|
+
export interface Noul {
|
|
24
|
+
type: "noul";
|
|
25
|
+
instructions: string;
|
|
26
|
+
/** What a yes and a no each mean, when the line between them is subtle. */
|
|
27
|
+
criteria?: {
|
|
28
|
+
true: string;
|
|
29
|
+
false: string;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/** What a judge answered: the probability of yes, by question id. */
|
|
33
|
+
export interface Verdict {
|
|
34
|
+
answers: Map<string, number>;
|
|
35
|
+
/** The tokens the reply said it used; unsaid when it said none, as Clef may not. */
|
|
36
|
+
usage?: {
|
|
37
|
+
input: number;
|
|
38
|
+
output: number;
|
|
39
|
+
};
|
|
40
|
+
/** What the judgment cost, when the judge knows its price, as Jev does. */
|
|
41
|
+
dollars?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* One request to a URL that speaks the System One API, tried once: a caller
|
|
45
|
+
* that cannot wait falls back rather than retrying. Its errors name the judge,
|
|
46
|
+
* never the URL, which can hold an account id.
|
|
47
|
+
*/
|
|
48
|
+
export declare function askSystemOne(name: string, url: string, token: string, body: object, opts: AskOptions): Promise<Verdict>;
|
|
49
|
+
/** How `askSystemOne` sends its request. */
|
|
50
|
+
export interface AskOptions extends JudgeOptions {
|
|
51
|
+
/** Sends the request; the global `fetch` when not given. */
|
|
52
|
+
fetch?: typeof fetch;
|
|
53
|
+
}
|
|
54
|
+
/** Where a judge is reached. */
|
|
55
|
+
export interface EndpointOptions {
|
|
56
|
+
/** The provider's own when not given. */
|
|
57
|
+
origin?: string;
|
|
58
|
+
/** Sends the request; the global `fetch` when not given. */
|
|
59
|
+
fetch?: typeof fetch;
|
|
60
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Conversations } from "../conversations";
|
|
2
|
+
import type { Project } from "../server/shared";
|
|
3
|
+
import { type Classification } from "./classify";
|
|
4
|
+
import { type AutoPickDecision } from "./decide";
|
|
5
|
+
import { type JudgeFor } from "./judge";
|
|
6
|
+
import { type AutoPickTarget } from "./start";
|
|
7
|
+
/** What Auto pick would do for a task, as Setup's "Try it on a task" shows it. */
|
|
8
|
+
export interface AutoPickTrial {
|
|
9
|
+
/** The task's subject, as the judge read it. */
|
|
10
|
+
subject: string;
|
|
11
|
+
decision: AutoPickDecision;
|
|
12
|
+
/** What the judge said of the task; null when it said nothing, and why is in the reasons. */
|
|
13
|
+
classification: Classification | null;
|
|
14
|
+
/** Whether that is what the task's record kept from an earlier pick, so no judge was asked. */
|
|
15
|
+
cached: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Decides for a task as an Auto pick start would, on the rules saved now,
|
|
19
|
+
* but starts nothing and leaves the task's record as it is: a classification
|
|
20
|
+
* kept on it from an earlier pick of the same words is reused, and one the
|
|
21
|
+
* judge gives now is not kept.
|
|
22
|
+
*/
|
|
23
|
+
export declare function tryAutoPick({ project, conversations, target, slug, judge, now, }: {
|
|
24
|
+
project: Project;
|
|
25
|
+
conversations: Conversations;
|
|
26
|
+
target: AutoPickTarget;
|
|
27
|
+
/** The judge to ask; the one the project's creds give by default. */
|
|
28
|
+
judge?: JudgeFor;
|
|
29
|
+
/** The project's slug, to name it in the spend ledger; none when not given. */
|
|
30
|
+
slug?: () => Promise<string | null>;
|
|
31
|
+
now?: () => Date;
|
|
32
|
+
}): Promise<AutoPickTrial>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Task } from "./task";
|
|
2
|
+
/**
|
|
3
|
+
* The lines warning that `taken` was taken while `blockers` have yet to merge,
|
|
4
|
+
* or none when nothing blocks it: it may be started, but what it builds on
|
|
5
|
+
* is not there yet.
|
|
6
|
+
*/
|
|
7
|
+
export declare function blockedWarning(taken: Task, blockers: Task[]): string[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { BACKLOG_LANE } from "./backlog";
|
|
2
|
+
export type { Deferral, DeferralBlocker, DeferredQuestion, OutsideBlocker, TaskBlockerStatus, } from "./deferral";
|
|
3
|
+
export { cleared, deferralBlockers } from "./deferral";
|
|
4
|
+
export type { ElsewhereBlocker, ElsewhereBlockerNow, ElsewhereFollower, ElsewhereOnBoard, ElsewhereOpen, } from "./elsewhere";
|
|
5
|
+
export { elsewhereName, holding } from "./elsewhere";
|
|
6
|
+
export type { LaneRecord, LaneState } from "./lanes";
|
|
7
|
+
export { blockerLabel, cycle, elsewhereMention, followers, isReady, lanes, lanesTaken, MENTION, named, } from "./lanes";
|
|
8
|
+
export type { Task, TaskRecord } from "./task";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LaneUpdateOptions } from "./lane";
|
|
2
|
+
import type { LaneRecord } from "./lanes";
|
|
3
|
+
import type { Tasks } from "./tasks";
|
|
4
|
+
/**
|
|
5
|
+
* Makes each change asked of lane `id`: a new name, a new place among
|
|
6
|
+
* the lanes. Gives back the lane after, and the lanes in order when it
|
|
7
|
+
* moved.
|
|
8
|
+
*/
|
|
9
|
+
export declare function changeLane(tasks: Tasks, id: number, { name, position }: LaneUpdateOptions): Promise<{
|
|
10
|
+
record: LaneRecord | undefined;
|
|
11
|
+
order: LaneRecord[] | undefined;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { ElsewhereBlocker, ElsewhereBlockerNow } from "./elsewhere";
|
|
2
|
+
import type { GoneBlocker, TaskRecord } from "./task";
|
|
3
|
+
/**
|
|
4
|
+
* Why a task's work was set aside and what it waits on, as the agent that
|
|
5
|
+
* deferred it said: read it to tell the person what stopped the work, and
|
|
6
|
+
* to start it again from there. Pass it with the board to
|
|
7
|
+
* `deferralBlockers` for where each blocker stands now.
|
|
8
|
+
*/
|
|
9
|
+
export interface Deferral {
|
|
10
|
+
/** What the agent found that stops the work, in a sentence or two. */
|
|
11
|
+
why: string;
|
|
12
|
+
/** When it was deferred. */
|
|
13
|
+
at: string;
|
|
14
|
+
/** The started task deferred, whose worktree went. */
|
|
15
|
+
task: string;
|
|
16
|
+
/** The `splates server` conversation it was deferred from; absent for none known. */
|
|
17
|
+
conversation?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The tasks it waits on to merge, with their subjects when it was
|
|
20
|
+
* deferred, those of another project with its main tree.
|
|
21
|
+
*/
|
|
22
|
+
tasks: GoneBlocker[];
|
|
23
|
+
/** Questions for the person, each in the skill's question format. */
|
|
24
|
+
questions: DeferredQuestion[];
|
|
25
|
+
/** What it waits on outside splates: a key, an upstream release. */
|
|
26
|
+
outside: OutsideBlocker[];
|
|
27
|
+
}
|
|
28
|
+
export interface DeferredQuestion {
|
|
29
|
+
text: string;
|
|
30
|
+
/** The person's answer; absent while it is open. */
|
|
31
|
+
answer?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface OutsideBlocker {
|
|
34
|
+
what: string;
|
|
35
|
+
/** Set once the person marks it done. */
|
|
36
|
+
done?: true;
|
|
37
|
+
}
|
|
38
|
+
/** What a deferral names, before it is recorded. */
|
|
39
|
+
export interface DeferralAsk {
|
|
40
|
+
why: string;
|
|
41
|
+
blockedBy: number[];
|
|
42
|
+
/** The tasks of other projects it waits on to merge; none when absent. */
|
|
43
|
+
blockedElsewhere?: ElsewhereBlocker[];
|
|
44
|
+
questions: string[];
|
|
45
|
+
outside: string[];
|
|
46
|
+
}
|
|
47
|
+
/** Where one blocker a deferral named stands now. */
|
|
48
|
+
export type DeferralBlocker = {
|
|
49
|
+
kind: "task";
|
|
50
|
+
id: number;
|
|
51
|
+
subject: string;
|
|
52
|
+
status: TaskBlockerStatus;
|
|
53
|
+
/** The other project's main tree and slug, for a task there; absent for one here. */
|
|
54
|
+
project?: string;
|
|
55
|
+
slug?: string;
|
|
56
|
+
} | {
|
|
57
|
+
kind: "question";
|
|
58
|
+
text: string;
|
|
59
|
+
status: "open" | "answered";
|
|
60
|
+
/** What the person answered; absent while it is open. */
|
|
61
|
+
answer?: string;
|
|
62
|
+
} | {
|
|
63
|
+
kind: "outside";
|
|
64
|
+
what: string;
|
|
65
|
+
status: "open" | "done";
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* A task blocker's stage on the board, `working` once taken; `merged` once
|
|
69
|
+
* it landed; `removed` once it left the board without merging; `unlinked`
|
|
70
|
+
* when the person let the deferred task stop waiting on it; `unknown` for
|
|
71
|
+
* one of another project that cannot be read.
|
|
72
|
+
*/
|
|
73
|
+
export type TaskBlockerStatus = "backlog" | "ready" | "queued" | "working" | "merged" | "removed" | "unlinked" | "unknown";
|
|
74
|
+
/** Whether a blocker no longer holds the work back. */
|
|
75
|
+
export declare function cleared(blocker: DeferralBlocker): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Each blocker `task`'s deferral named, with where it stands now among the
|
|
78
|
+
* tasks on the board, `board`, and for one of another project, among
|
|
79
|
+
* `elsewhere`, its blockers there as `ElsewhereStanding.of` reads them; empty for a
|
|
80
|
+
* task never deferred.
|
|
81
|
+
*/
|
|
82
|
+
export declare function deferralBlockers(task: TaskRecord, board: readonly TaskRecord[], elsewhere?: readonly ElsewhereBlockerNow[]): DeferralBlocker[];
|
|
83
|
+
/**
|
|
84
|
+
* Refuses a deferral that says no why or names no blocker, saying how to
|
|
85
|
+
* name each, so the agent learns it at the moment it defers.
|
|
86
|
+
*/
|
|
87
|
+
export declare function deferralProblem(ask: Partial<DeferralAsk>): string | null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ElsewhereBlocker, type ElsewhereBoards } from "./elsewhere";
|
|
2
|
+
import type { Task } from "./task";
|
|
3
|
+
import type { Tasks } from "./tasks";
|
|
4
|
+
/**
|
|
5
|
+
* Links `tasks` to tasks of other projects that have to merge first, and
|
|
6
|
+
* notes those that since merged or were removed there: `link` from a
|
|
7
|
+
* command or the page, `settle` from the queue's sweep.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ElsewhereLinks {
|
|
10
|
+
private readonly tasks;
|
|
11
|
+
constructor(tasks: Tasks);
|
|
12
|
+
/**
|
|
13
|
+
* Says task `id` comes after exactly the tasks of other projects in
|
|
14
|
+
* `blockers`: it is not to be started until each merges there. One it
|
|
15
|
+
* was already blocked by keeps whether it landed or was lost.
|
|
16
|
+
*/
|
|
17
|
+
link(id: number, blockers: readonly ElsewhereBlocker[]): Promise<Task>;
|
|
18
|
+
/**
|
|
19
|
+
* Notes each blocker in another project that has since merged there,
|
|
20
|
+
* with the commit it landed as, or left without merging, as `boards`
|
|
21
|
+
* reads them; gives back the tasks that changed.
|
|
22
|
+
*/
|
|
23
|
+
settle(boards: ElsewhereBoards): Promise<Task[]>;
|
|
24
|
+
}
|
|
25
|
+
/** `blockers` with each task named once, the first kept. */
|
|
26
|
+
export declare function distinct(blockers: readonly ElsewhereBlocker[]): ElsewhereBlocker[];
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { TaskRecord, TaskStage } from "./task";
|
|
2
|
+
/**
|
|
3
|
+
* Where tasks' blockers in other projects stand, read from `boards`: `of`
|
|
4
|
+
* for one task, as `task show` says it, `onBoard` for a page's whole board.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ElsewhereStanding {
|
|
7
|
+
private readonly boards;
|
|
8
|
+
constructor(boards: ElsewhereBoards);
|
|
9
|
+
/**
|
|
10
|
+
* `task`'s blockers in other projects, each as it stands now: those
|
|
11
|
+
* settled as its record says, the rest as that project's board does.
|
|
12
|
+
*/
|
|
13
|
+
of(task: TaskRecord): Promise<ElsewhereBlockerNow[]>;
|
|
14
|
+
/**
|
|
15
|
+
* The blockers in other projects of the tasks among `todos`, as `of`
|
|
16
|
+
* reads them, and the tasks of other projects that wait on each, for the
|
|
17
|
+
* board of the project at `root`.
|
|
18
|
+
*/
|
|
19
|
+
onBoard(todos: readonly TaskRecord[], root: string): Promise<ElsewhereOnBoard>;
|
|
20
|
+
}
|
|
21
|
+
/** Whether `blocker` still holds its task back: open there, or gone without merging. */
|
|
22
|
+
export declare function holding(blocker: ElsewhereBlocker): boolean;
|
|
23
|
+
/** The same blocker: one project's task by its number. */
|
|
24
|
+
export declare function sameBlocker(one: Pick<ElsewhereBlocker, "project" | "id">, other: Pick<ElsewhereBlocker, "project" | "id">): boolean;
|
|
25
|
+
/** How a blocker in another project is written: `webappwiz #404`. */
|
|
26
|
+
export declare function elsewhereName(blocker: Pick<ElsewhereBlocker, "project" | "id"> & {
|
|
27
|
+
slug?: string;
|
|
28
|
+
}): string;
|
|
29
|
+
/**
|
|
30
|
+
* `blocker` as `found` says it ended: landed once it merged, lost once
|
|
31
|
+
* removed, or as it was while still open or unread.
|
|
32
|
+
*/
|
|
33
|
+
export declare function settled(blocker: ElsewhereBlocker, found: ElsewhereTask | null): ElsewhereBlocker;
|
|
34
|
+
/** What `ElsewhereStanding.onBoard` reads, by task number. */
|
|
35
|
+
export interface ElsewhereOnBoard {
|
|
36
|
+
/** Each task's blockers in other projects, as they stand now. */
|
|
37
|
+
blockers: Record<number, ElsewhereBlockerNow[]>;
|
|
38
|
+
/** The tasks of other projects that wait on each task. */
|
|
39
|
+
following: Record<number, ElsewhereFollower[]>;
|
|
40
|
+
}
|
|
41
|
+
/** A line for each of `blockers`, as `task show` and `queue list` say them. */
|
|
42
|
+
export declare function elsewhereLine(blocker: ElsewhereBlockerNow): string;
|
|
43
|
+
/**
|
|
44
|
+
* A task of another splates project, `webappwiz #404`, that has to merge
|
|
45
|
+
* before the task it is kept on starts. Link one with
|
|
46
|
+
* `ElsewhereLinks.link`; the queue holds the task until `landed` is set.
|
|
47
|
+
*/
|
|
48
|
+
export interface ElsewhereBlocker {
|
|
49
|
+
/** That project's main tree. */
|
|
50
|
+
project: string;
|
|
51
|
+
/** Its number there. */
|
|
52
|
+
id: number;
|
|
53
|
+
/** Its subject when linked, for when it is gone. */
|
|
54
|
+
subject: string;
|
|
55
|
+
/** The commit it landed as there, once it merged. */
|
|
56
|
+
landed?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Set once it left that board without merging: whether this task still
|
|
59
|
+
* makes sense is the person's call, made by unlinking it.
|
|
60
|
+
*/
|
|
61
|
+
lost?: true;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Where a task of another project stands: the stage it waits in, `working`
|
|
65
|
+
* once an agent took it, `merged` with the commit it landed as, `removed`
|
|
66
|
+
* once gone without merging.
|
|
67
|
+
*/
|
|
68
|
+
export type ElsewhereTask = {
|
|
69
|
+
status: Exclude<TaskStage, "running"> | "working";
|
|
70
|
+
subject: string;
|
|
71
|
+
lane: number | null;
|
|
72
|
+
takenBy: string | null;
|
|
73
|
+
} | {
|
|
74
|
+
status: "merged";
|
|
75
|
+
commit: string;
|
|
76
|
+
} | {
|
|
77
|
+
status: "removed";
|
|
78
|
+
};
|
|
79
|
+
/** What one task's blocker in another project is now, as the page and CLI say it. */
|
|
80
|
+
export interface ElsewhereBlockerNow extends ElsewhereBlocker {
|
|
81
|
+
/** That project's slug, which `--project` and `?project=` take. */
|
|
82
|
+
slug: string;
|
|
83
|
+
/** Where it stands; `unknown` while that project cannot be read. */
|
|
84
|
+
status: ElsewhereTask["status"] | "unknown";
|
|
85
|
+
}
|
|
86
|
+
/** A task of another project that waits on one of this project's, `blocker`. */
|
|
87
|
+
export interface ElsewhereFollower {
|
|
88
|
+
/** The number here of the task it waits on. */
|
|
89
|
+
blocker: number;
|
|
90
|
+
/** That project's main tree. */
|
|
91
|
+
project: string;
|
|
92
|
+
slug: string;
|
|
93
|
+
id: number;
|
|
94
|
+
subject: string;
|
|
95
|
+
stage: TaskStage;
|
|
96
|
+
}
|
|
97
|
+
/** Reads the boards of the other splates projects on this machine. */
|
|
98
|
+
export interface ElsewhereBoards {
|
|
99
|
+
/** The registered project `slug` names, or null for none. */
|
|
100
|
+
root(slug: string): Promise<string | null>;
|
|
101
|
+
/** What the registry names the project at `root` by. */
|
|
102
|
+
slug(root: string): Promise<string>;
|
|
103
|
+
/** Task `id` of the project at `root` now, or null when it cannot be read. */
|
|
104
|
+
find(root: string, id: number): Promise<ElsewhereTask | null>;
|
|
105
|
+
/** The open tasks of every other project blocked by a task of `root`'s. */
|
|
106
|
+
following(root: string): Promise<ElsewhereFollower[]>;
|
|
107
|
+
/** The open tasks of every project but the one at `root`, to pick a blocker from. */
|
|
108
|
+
openTasks(root: string): Promise<ElsewhereOpen[]>;
|
|
109
|
+
}
|
|
110
|
+
/** An open task of another project, which a task here may wait on. */
|
|
111
|
+
export interface ElsewhereOpen {
|
|
112
|
+
/** That project's main tree. */
|
|
113
|
+
project: string;
|
|
114
|
+
/** Its slug. */
|
|
115
|
+
slug: string;
|
|
116
|
+
id: number;
|
|
117
|
+
subject: string;
|
|
118
|
+
lane: number | null;
|
|
119
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { BACKLOG_LANE, protectBacklog } from "./backlog";
|
|
2
|
+
export { blockedWarning } from "./blocked-warning";
|
|
3
|
+
export type { Deferral, DeferralAsk, DeferralBlocker, DeferredQuestion, OutsideBlocker, TaskBlockerStatus, } from "./deferral";
|
|
4
|
+
export { cleared, deferralBlockers, deferralProblem } from "./deferral";
|
|
5
|
+
export type { ElsewhereBlocker, ElsewhereBlockerNow, ElsewhereBoards, ElsewhereFollower, ElsewhereOnBoard, ElsewhereOpen, ElsewhereTask, } from "./elsewhere";
|
|
6
|
+
export { ElsewhereStanding, elsewhereLine, elsewhereName, holding, sameBlocker, } from "./elsewhere";
|
|
7
|
+
export { ElsewhereLinks } from "./elsewhere-links";
|
|
8
|
+
export { laneAdd, laneList, laneQueue, laneRemove, laneShow, laneUpdate, laneUpdated, recordLaneRemove, } from "./lane";
|
|
9
|
+
export type { LaneRecord, LaneState } from "./lanes";
|
|
10
|
+
export { blockerLabel, cycle, elsewhereMention, followers, isReady, lane, lanes, lanesTaken, MENTION, named, } from "./lanes";
|
|
11
|
+
export { lanesFromTags } from "./lanes-from-tags";
|
|
12
|
+
export { BoardRoutes } from "./routes";
|
|
13
|
+
export type { Started, StoredTask } from "./store";
|
|
14
|
+
export { queuedOf, startedOf, TaskStore } from "./store";
|
|
15
|
+
export type { GoneBlocker, LandedBlocker, Task, TaskRecord, TaskStage, } from "./task";
|
|
16
|
+
export { checkSlug, enqueued, tasksNamed, unqueued, wording, } from "./task";
|
|
17
|
+
export { addedFacts, taskAdd, taskRemove, taskUpdate } from "./task-edit";
|
|
18
|
+
export { decodeTask, encodeTask, TASK_FILE } from "./task-file";
|
|
19
|
+
export { recordUpdate } from "./task-journal";
|
|
20
|
+
export { taskList, taskShow } from "./task-list";
|
|
21
|
+
export { Tasks } from "./tasks";
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BACKLOG_LANE2,
|
|
3
|
+
protectBacklog2,
|
|
4
|
+
ElsewhereStanding2,
|
|
5
|
+
holding2,
|
|
6
|
+
sameBlocker2,
|
|
7
|
+
elsewhereName2,
|
|
8
|
+
elsewhereLine2,
|
|
9
|
+
blockedWarning2,
|
|
10
|
+
cleared2,
|
|
11
|
+
deferralBlockers2,
|
|
12
|
+
deferralProblem2,
|
|
13
|
+
ElsewhereLinks2,
|
|
14
|
+
lanes2,
|
|
15
|
+
lanesTaken2,
|
|
16
|
+
named2,
|
|
17
|
+
lane2,
|
|
18
|
+
followers2,
|
|
19
|
+
isReady2,
|
|
20
|
+
cycle2,
|
|
21
|
+
blockerLabel2,
|
|
22
|
+
MENTION2,
|
|
23
|
+
elsewhereMention2,
|
|
24
|
+
laneList2,
|
|
25
|
+
laneShow2,
|
|
26
|
+
laneAdd2,
|
|
27
|
+
laneUpdate2,
|
|
28
|
+
laneUpdated2,
|
|
29
|
+
laneQueue2,
|
|
30
|
+
recordLaneRemove2,
|
|
31
|
+
laneRemove2,
|
|
32
|
+
enqueued2,
|
|
33
|
+
unqueued2,
|
|
34
|
+
checkSlug2,
|
|
35
|
+
wording2,
|
|
36
|
+
tasksNamed2,
|
|
37
|
+
TASK_FILE2,
|
|
38
|
+
encodeTask2,
|
|
39
|
+
decodeTask2,
|
|
40
|
+
startedOf2,
|
|
41
|
+
queuedOf2,
|
|
42
|
+
TaskStore2,
|
|
43
|
+
Tasks2,
|
|
44
|
+
lanesFromTags2,
|
|
45
|
+
taskAdd2,
|
|
46
|
+
addedFacts2,
|
|
47
|
+
taskUpdate2,
|
|
48
|
+
taskRemove2,
|
|
49
|
+
recordUpdate2,
|
|
50
|
+
BoardRoutes2,
|
|
51
|
+
taskList2,
|
|
52
|
+
taskShow2
|
|
53
|
+
} from "../index-caep3sde.js";
|
|
54
|
+
import"../index-01z7ycdk.js";
|
|
55
|
+
import"../index-e9z7s5hh.js";
|
|
56
|
+
import"../index-kmzdvvt0.js";
|
|
57
|
+
import"../index-t9w5a8ed.js";
|
|
58
|
+
import"../index-0jttnv86.js";
|
|
59
|
+
import"../index-g18nxyn7.js";
|
|
60
|
+
export {
|
|
61
|
+
BACKLOG_LANE2 as BACKLOG_LANE,
|
|
62
|
+
BoardRoutes2 as BoardRoutes,
|
|
63
|
+
ElsewhereLinks2 as ElsewhereLinks,
|
|
64
|
+
ElsewhereStanding2 as ElsewhereStanding,
|
|
65
|
+
MENTION2 as MENTION,
|
|
66
|
+
TASK_FILE2 as TASK_FILE,
|
|
67
|
+
TaskStore2 as TaskStore,
|
|
68
|
+
Tasks2 as Tasks,
|
|
69
|
+
addedFacts2 as addedFacts,
|
|
70
|
+
blockedWarning2 as blockedWarning,
|
|
71
|
+
blockerLabel2 as blockerLabel,
|
|
72
|
+
checkSlug2 as checkSlug,
|
|
73
|
+
cleared2 as cleared,
|
|
74
|
+
cycle2 as cycle,
|
|
75
|
+
decodeTask2 as decodeTask,
|
|
76
|
+
deferralBlockers2 as deferralBlockers,
|
|
77
|
+
deferralProblem2 as deferralProblem,
|
|
78
|
+
elsewhereLine2 as elsewhereLine,
|
|
79
|
+
elsewhereMention2 as elsewhereMention,
|
|
80
|
+
elsewhereName2 as elsewhereName,
|
|
81
|
+
encodeTask2 as encodeTask,
|
|
82
|
+
enqueued2 as enqueued,
|
|
83
|
+
followers2 as followers,
|
|
84
|
+
holding2 as holding,
|
|
85
|
+
isReady2 as isReady,
|
|
86
|
+
lane2 as lane,
|
|
87
|
+
laneAdd2 as laneAdd,
|
|
88
|
+
laneList2 as laneList,
|
|
89
|
+
laneQueue2 as laneQueue,
|
|
90
|
+
laneRemove2 as laneRemove,
|
|
91
|
+
laneShow2 as laneShow,
|
|
92
|
+
laneUpdate2 as laneUpdate,
|
|
93
|
+
laneUpdated2 as laneUpdated,
|
|
94
|
+
lanes2 as lanes,
|
|
95
|
+
lanesFromTags2 as lanesFromTags,
|
|
96
|
+
lanesTaken2 as lanesTaken,
|
|
97
|
+
named2 as named,
|
|
98
|
+
protectBacklog2 as protectBacklog,
|
|
99
|
+
queuedOf2 as queuedOf,
|
|
100
|
+
recordLaneRemove2 as recordLaneRemove,
|
|
101
|
+
recordUpdate2 as recordUpdate,
|
|
102
|
+
sameBlocker2 as sameBlocker,
|
|
103
|
+
startedOf2 as startedOf,
|
|
104
|
+
taskAdd2 as taskAdd,
|
|
105
|
+
taskList2 as taskList,
|
|
106
|
+
taskRemove2 as taskRemove,
|
|
107
|
+
taskShow2 as taskShow,
|
|
108
|
+
taskUpdate2 as taskUpdate,
|
|
109
|
+
tasksNamed2 as tasksNamed,
|
|
110
|
+
unqueued2 as unqueued,
|
|
111
|
+
wording2 as wording
|
|
112
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Facts, Journal } from "../records";
|
|
3
|
+
import { type LaneRecord } from "./lanes";
|
|
4
|
+
import type { TaskRecord } from "./task";
|
|
5
|
+
import type { Tasks } from "./tasks";
|
|
6
|
+
export interface LaneListOptions {
|
|
7
|
+
/** Print the lanes as JSON instead of a table. */
|
|
8
|
+
json?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Every lane, with its tasks in order, who is on it, and what blocks it. */
|
|
11
|
+
export declare function laneList({ tasks, log }: {
|
|
12
|
+
tasks: Tasks;
|
|
13
|
+
log: Logger;
|
|
14
|
+
}, { json }?: LaneListOptions): Promise<void>;
|
|
15
|
+
export interface LaneShowOptions {
|
|
16
|
+
/** Print the lane as JSON instead of prose. */
|
|
17
|
+
json?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* One lane in full, step by step: what an agent handed `[SPLATES LANE N]`
|
|
21
|
+
* reads to know which task is next, and whether it is blocked first. For
|
|
22
|
+
* null, the untriaged tasks, and how to place them in lanes.
|
|
23
|
+
*/
|
|
24
|
+
export declare function laneShow({ tasks, log }: {
|
|
25
|
+
tasks: Tasks;
|
|
26
|
+
log: Logger;
|
|
27
|
+
}, id: number | null, { json }?: LaneShowOptions): Promise<void>;
|
|
28
|
+
/** Starts an empty lane called `name`, after the others. */
|
|
29
|
+
export declare function laneAdd({ tasks, log }: {
|
|
30
|
+
tasks: Tasks;
|
|
31
|
+
log: Logger;
|
|
32
|
+
}, name: string): Promise<LaneRecord>;
|
|
33
|
+
export interface LaneUpdateOptions {
|
|
34
|
+
/** What it is called from now on. */
|
|
35
|
+
name?: string;
|
|
36
|
+
/** Where it goes among the lanes, 1 the first; the others close up around it. */
|
|
37
|
+
position?: number;
|
|
38
|
+
}
|
|
39
|
+
/** Calls a lane by another name, or moves it among the others. */
|
|
40
|
+
export declare function laneUpdate({ tasks, log }: {
|
|
41
|
+
tasks: Tasks;
|
|
42
|
+
log: Logger;
|
|
43
|
+
}, id: number, { name, position }?: LaneUpdateOptions): Promise<LaneRecord>;
|
|
44
|
+
/** What a lane update changed, for the event: only the parts it was asked to. */
|
|
45
|
+
export declare function laneUpdated(id: number, record: LaneRecord, { name, position }: LaneUpdateOptions): Facts["lane update"];
|
|
46
|
+
/**
|
|
47
|
+
* Queues every task waiting in lane `id`, once, journaled as the queue
|
|
48
|
+
* change it is: the queue starts each once nothing blocks it, and a task put
|
|
49
|
+
* in the lane later waits to be queued itself. With `queued` false, takes
|
|
50
|
+
* each of the lane's queued tasks nobody has taken back out. Gives back the
|
|
51
|
+
* tasks it queued or took out.
|
|
52
|
+
*/
|
|
53
|
+
export declare function laneQueue({ tasks, log, journal }: {
|
|
54
|
+
tasks: Tasks;
|
|
55
|
+
log: Logger;
|
|
56
|
+
journal: Journal;
|
|
57
|
+
}, id: number, queued: boolean): Promise<TaskRecord[]>;
|
|
58
|
+
/** Removes lane `id` through `drop` and journals its name and the tasks it left in no lane. */
|
|
59
|
+
export declare function recordLaneRemove(journal: Journal, tasks: Tasks, id: number, drop: () => Promise<void>): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Removes a lane and the tasks in it, each kept to restore as removing it from
|
|
62
|
+
* its dialog keeps it: the person never wants a lane gone but its tasks left.
|
|
63
|
+
*/
|
|
64
|
+
export declare function laneRemove({ tasks, log }: {
|
|
65
|
+
tasks: Tasks;
|
|
66
|
+
log: Logger;
|
|
67
|
+
}, id: number, opts?: {
|
|
68
|
+
emptyOnly?: boolean;
|
|
69
|
+
}): Promise<void>;
|