@stringsync/splates 0.0.61 → 1.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/artifact.d.ts +2 -2
- package/blockers.d.ts +1 -1
- package/config.d.ts +12 -0
- package/config.js +0 -0
- package/creds.d.ts +2 -2
- package/evals.d.ts +2 -2
- package/flags.d.ts +4 -4
- package/handoff.d.ts +3 -4
- package/hook.d.ts +2 -2
- package/index.js +108 -108
- package/lane.d.ts +2 -2
- package/mirror.d.ts +14 -0
- package/mirror.js +22 -0
- package/package.json +12 -4
- package/projects.d.ts +2 -2
- package/queue.d.ts +2 -2
- package/replica.d.ts +2 -2
- package/server.d.ts +2 -2
- package/setup.d.ts +2 -2
- package/ship.d.ts +2 -2
- package/slots.d.ts +2 -2
- package/splates.d.ts +2 -2
- package/task.d.ts +2 -2
- package/tunnel.d.ts +2 -2
- package/vendor/@stringsync/splates-server/LICENSE +21 -0
- package/vendor/@stringsync/splates-server/age.d.ts +2 -0
- package/vendor/@stringsync/splates-server/agents/acp-extensions.d.ts +92 -0
- package/vendor/@stringsync/splates-server/agents/agents.d.ts +19 -0
- package/vendor/@stringsync/splates-server/agents/compaction.d.ts +17 -0
- package/vendor/@stringsync/splates-server/agents/connection.d.ts +191 -0
- package/vendor/@stringsync/splates-server/agents/errors.d.ts +8 -0
- package/vendor/@stringsync/splates-server/agents/fold.d.ts +45 -0
- package/vendor/@stringsync/splates-server/agents/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/agents/index.js +60 -0
- package/vendor/@stringsync/splates-server/agents/process.d.ts +67 -0
- package/vendor/@stringsync/splates-server/agents/scratch.d.ts +7 -0
- package/vendor/@stringsync/splates-server/agents/shared-browser.d.ts +47 -0
- package/vendor/@stringsync/splates-server/agents/start-lock.d.ts +24 -0
- package/vendor/@stringsync/splates-server/agents/stream.d.ts +91 -0
- package/vendor/@stringsync/splates-server/agents/tool-calls.d.ts +18 -0
- package/vendor/@stringsync/splates-server/agents/watch.d.ts +46 -0
- package/vendor/@stringsync/splates-server/agents/watched.d.ts +43 -0
- package/vendor/@stringsync/splates-server/artifacts/artifact.d.ts +33 -0
- package/vendor/@stringsync/splates-server/artifacts/artifacts.d.ts +162 -0
- package/vendor/@stringsync/splates-server/artifacts/attach.d.ts +31 -0
- package/vendor/@stringsync/splates-server/artifacts/attachments.d.ts +50 -0
- package/vendor/@stringsync/splates-server/artifacts/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/artifacts/index.js +38 -0
- package/vendor/@stringsync/splates-server/artifacts/room.d.ts +46 -0
- package/vendor/@stringsync/splates-server/artifacts/routes.d.ts +22 -0
- package/vendor/@stringsync/splates-server/artifacts/viewers.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/classes.d.ts +29 -0
- package/vendor/@stringsync/splates-server/auto-pick/classify.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/clef.d.ts +15 -0
- package/vendor/@stringsync/splates-server/auto-pick/decide.d.ts +78 -0
- package/vendor/@stringsync/splates-server/auto-pick/defaults.d.ts +3 -0
- package/vendor/@stringsync/splates-server/auto-pick/follow-up.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/index.d.ts +24 -0
- package/vendor/@stringsync/splates-server/auto-pick/jev.d.ts +38 -0
- package/vendor/@stringsync/splates-server/auto-pick/judge.d.ts +21 -0
- package/vendor/@stringsync/splates-server/auto-pick/judged.d.ts +33 -0
- package/vendor/@stringsync/splates-server/auto-pick/key.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/lift.d.ts +18 -0
- package/vendor/@stringsync/splates-server/auto-pick/queue.d.ts +30 -0
- package/vendor/@stringsync/splates-server/auto-pick/rank.d.ts +10 -0
- package/vendor/@stringsync/splates-server/auto-pick/record.d.ts +19 -0
- package/vendor/@stringsync/splates-server/auto-pick/routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/rule-names.d.ts +9 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules-routes.d.ts +49 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules.d.ts +97 -0
- package/vendor/@stringsync/splates-server/auto-pick/start.d.ts +79 -0
- package/vendor/@stringsync/splates-server/auto-pick/store.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/system-one.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/trial.d.ts +32 -0
- package/vendor/@stringsync/splates-server/board/backlog.d.ts +4 -0
- package/vendor/@stringsync/splates-server/board/blocked-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/board/browser.d.ts +8 -0
- package/vendor/@stringsync/splates-server/board/change-lane.d.ts +12 -0
- package/vendor/@stringsync/splates-server/board/deferral.d.ts +87 -0
- package/vendor/@stringsync/splates-server/board/elsewhere-links.d.ts +26 -0
- package/vendor/@stringsync/splates-server/board/elsewhere.d.ts +119 -0
- package/vendor/@stringsync/splates-server/board/index.d.ts +21 -0
- package/vendor/@stringsync/splates-server/board/index.js +112 -0
- package/vendor/@stringsync/splates-server/board/lane.d.ts +69 -0
- package/vendor/@stringsync/splates-server/board/lanes-from-tags.d.ts +17 -0
- package/vendor/@stringsync/splates-server/board/lanes.d.ts +117 -0
- package/vendor/@stringsync/splates-server/board/routes.d.ts +54 -0
- package/vendor/@stringsync/splates-server/board/store.d.ts +74 -0
- package/vendor/@stringsync/splates-server/board/task-edit.d.ts +81 -0
- package/vendor/@stringsync/splates-server/board/task-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/board/task-journal.d.ts +9 -0
- package/vendor/@stringsync/splates-server/board/task-lanes.d.ts +95 -0
- package/vendor/@stringsync/splates-server/board/task-list.d.ts +40 -0
- package/vendor/@stringsync/splates-server/board/task.d.ts +301 -0
- package/vendor/@stringsync/splates-server/board/tasks.d.ts +172 -0
- package/vendor/@stringsync/splates-server/chunk-files-jkqj87yx.js +14 -0
- package/vendor/@stringsync/splates-server/chunk-maps-mnjqydx4.txt +1 -0
- package/vendor/@stringsync/splates-server/chunks-3jkzx1q9.txt +1 -0
- package/vendor/@stringsync/splates-server/comma-list.d.ts +2 -0
- package/vendor/@stringsync/splates-server/comma-list.js +6 -0
- package/vendor/@stringsync/splates-server/config/browser.d.ts +1 -0
- package/vendor/@stringsync/splates-server/config/config.d.ts +210 -0
- package/vendor/@stringsync/splates-server/config/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/config/index.js +42 -0
- package/vendor/@stringsync/splates-server/config/legacy-names.d.ts +70 -0
- package/vendor/@stringsync/splates-server/config/legacy-ps.d.ts +32 -0
- package/vendor/@stringsync/splates-server/config/load.d.ts +46 -0
- package/vendor/@stringsync/splates-server/config/source.d.ts +7 -0
- package/vendor/@stringsync/splates-server/config/type-config.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/answered.d.ts +7 -0
- package/vendor/@stringsync/splates-server/conversations/archive.d.ts +16 -0
- package/vendor/@stringsync/splates-server/conversations/background.d.ts +21 -0
- package/vendor/@stringsync/splates-server/conversations/browser.d.ts +12 -0
- package/vendor/@stringsync/splates-server/conversations/choice.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/compact.d.ts +6 -0
- package/vendor/@stringsync/splates-server/conversations/conversation.d.ts +420 -0
- package/vendor/@stringsync/splates-server/conversations/conversations.d.ts +181 -0
- package/vendor/@stringsync/splates-server/conversations/entry.d.ts +286 -0
- package/vendor/@stringsync/splates-server/conversations/events.d.ts +36 -0
- package/vendor/@stringsync/splates-server/conversations/files.d.ts +62 -0
- package/vendor/@stringsync/splates-server/conversations/given.d.ts +18 -0
- package/vendor/@stringsync/splates-server/conversations/heard.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/host.d.ts +176 -0
- package/vendor/@stringsync/splates-server/conversations/index.d.ts +22 -0
- package/vendor/@stringsync/splates-server/conversations/index.js +80 -0
- package/vendor/@stringsync/splates-server/conversations/listing.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/log.d.ts +117 -0
- package/vendor/@stringsync/splates-server/conversations/messages.d.ts +23 -0
- package/vendor/@stringsync/splates-server/conversations/name.d.ts +38 -0
- package/vendor/@stringsync/splates-server/conversations/options.d.ts +87 -0
- package/vendor/@stringsync/splates-server/conversations/outside.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/reference.d.ts +2 -0
- package/vendor/@stringsync/splates-server/conversations/routes.d.ts +109 -0
- package/vendor/@stringsync/splates-server/conversations/search.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/spent.d.ts +19 -0
- package/vendor/@stringsync/splates-server/conversations/state.d.ts +606 -0
- package/vendor/@stringsync/splates-server/conversations/stream.d.ts +34 -0
- package/vendor/@stringsync/splates-server/conversations/transcript.d.ts +9 -0
- package/vendor/@stringsync/splates-server/conversations/tree.d.ts +11 -0
- package/vendor/@stringsync/splates-server/conversations/turn-end.d.ts +30 -0
- package/vendor/@stringsync/splates-server/conversations/turns.d.ts +134 -0
- package/vendor/@stringsync/splates-server/conversations/updates.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/creds.d.ts +86 -0
- package/vendor/@stringsync/splates-server/creds/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/creds/index.js +28 -0
- package/vendor/@stringsync/splates-server/creds/key-file.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/requests.d.ts +54 -0
- package/vendor/@stringsync/splates-server/creds/routes.d.ts +16 -0
- package/vendor/@stringsync/splates-server/creds/stores.d.ts +37 -0
- package/vendor/@stringsync/splates-server/dictate/connection.d.ts +18 -0
- package/vendor/@stringsync/splates-server/dictate/dictate.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/index.d.ts +4 -0
- package/vendor/@stringsync/splates-server/dictate/personal.d.ts +26 -0
- package/vendor/@stringsync/splates-server/dictate/transcriber.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/vocabulary.d.ts +12 -0
- package/vendor/@stringsync/splates-server/evals/agents-routes.d.ts +27 -0
- package/vendor/@stringsync/splates-server/evals/agents.d.ts +25 -0
- package/vendor/@stringsync/splates-server/evals/contract.d.ts +73 -0
- package/vendor/@stringsync/splates-server/evals/done.d.ts +11 -0
- package/vendor/@stringsync/splates-server/evals/import.d.ts +10 -0
- package/vendor/@stringsync/splates-server/evals/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/evals/index.js +40 -0
- package/vendor/@stringsync/splates-server/evals/inspect.d.ts +66 -0
- package/vendor/@stringsync/splates-server/evals/launch-routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/launch.d.ts +123 -0
- package/vendor/@stringsync/splates-server/evals/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/store.d.ts +17 -0
- package/vendor/@stringsync/splates-server/evals/target.d.ts +3 -0
- package/vendor/@stringsync/splates-server/evals/types.d.ts +105 -0
- package/vendor/@stringsync/splates-server/exit.d.ts +55 -0
- package/vendor/@stringsync/splates-server/exit.js +12 -0
- package/vendor/@stringsync/splates-server/git-identity.d.ts +17 -0
- package/vendor/@stringsync/splates-server/git-process.d.ts +8 -0
- package/vendor/@stringsync/splates-server/git.d.ts +168 -0
- package/vendor/@stringsync/splates-server/hooks/commands.d.ts +31 -0
- package/vendor/@stringsync/splates-server/hooks/edit.d.ts +24 -0
- package/vendor/@stringsync/splates-server/hooks/events.d.ts +20 -0
- package/vendor/@stringsync/splates-server/hooks/groomer.d.ts +8 -0
- package/vendor/@stringsync/splates-server/hooks/index.d.ts +17 -0
- package/vendor/@stringsync/splates-server/hooks/index.js +61 -0
- package/vendor/@stringsync/splates-server/hooks/now.d.ts +9 -0
- package/vendor/@stringsync/splates-server/hooks/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/hooks/runner.d.ts +75 -0
- package/vendor/@stringsync/splates-server/hooks/runs.d.ts +38 -0
- package/vendor/@stringsync/splates-server/hooks/schedule.d.ts +10 -0
- package/vendor/@stringsync/splates-server/hooks/scheduler.d.ts +28 -0
- package/vendor/@stringsync/splates-server/hooks/store.d.ts +110 -0
- package/vendor/@stringsync/splates-server/index-01z7ycdk.js +6 -0
- package/vendor/@stringsync/splates-server/index-0jttnv86.js +1309 -0
- package/vendor/@stringsync/splates-server/index-5axhdy8c.js +692 -0
- package/vendor/@stringsync/splates-server/index-76t8y8h5.js +779 -0
- package/vendor/@stringsync/splates-server/index-7s01973c.js +2356 -0
- package/vendor/@stringsync/splates-server/index-acbcm66f.js +1468 -0
- package/vendor/@stringsync/splates-server/index-caep3sde.js +27140 -0
- package/vendor/@stringsync/splates-server/index-e9z7s5hh.js +641 -0
- package/vendor/@stringsync/splates-server/index-g18nxyn7.js +99 -0
- package/vendor/@stringsync/splates-server/index-kmzdvvt0.js +23 -0
- package/vendor/@stringsync/splates-server/index-raqrwzdq.js +952 -0
- package/vendor/@stringsync/splates-server/index-t9w5a8ed.js +60 -0
- package/vendor/@stringsync/splates-server/limited.d.ts +8 -0
- package/vendor/@stringsync/splates-server/log.d.ts +14 -0
- package/vendor/@stringsync/splates-server/log.js +32 -0
- package/vendor/@stringsync/splates-server/merge/attribution.d.ts +24 -0
- package/vendor/@stringsync/splates-server/merge/batch.d.ts +119 -0
- package/vendor/@stringsync/splates-server/merge/blame.d.ts +21 -0
- package/vendor/@stringsync/splates-server/merge/branches.d.ts +151 -0
- package/vendor/@stringsync/splates-server/merge/charge.d.ts +18 -0
- package/vendor/@stringsync/splates-server/merge/clear-gate.d.ts +7 -0
- package/vendor/@stringsync/splates-server/merge/cores.d.ts +60 -0
- package/vendor/@stringsync/splates-server/merge/estimates.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/finish.d.ts +43 -0
- package/vendor/@stringsync/splates-server/merge/follow.d.ts +50 -0
- package/vendor/@stringsync/splates-server/merge/gate.d.ts +108 -0
- package/vendor/@stringsync/splates-server/merge/github-app.d.ts +99 -0
- package/vendor/@stringsync/splates-server/merge/github-refused.d.ts +5 -0
- package/vendor/@stringsync/splates-server/merge/groups.d.ts +8 -0
- package/vendor/@stringsync/splates-server/merge/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/index.js +46 -0
- package/vendor/@stringsync/splates-server/merge/landed.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/landing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/merge/local-landing.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/merge-state.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/merge.d.ts +45 -0
- package/vendor/@stringsync/splates-server/merge/output.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/phases.d.ts +27 -0
- package/vendor/@stringsync/splates-server/merge/pre-lock.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/preflight.d.ts +16 -0
- package/vendor/@stringsync/splates-server/merge/queue-failures.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/rebase.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/recent-failures.d.ts +10 -0
- package/vendor/@stringsync/splates-server/merge/refusal.d.ts +58 -0
- package/vendor/@stringsync/splates-server/merge/split.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/steps.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/test-report.d.ts +29 -0
- package/vendor/@stringsync/splates-server/merge/timing.d.ts +20 -0
- package/vendor/@stringsync/splates-server/merge/trunk.d.ts +69 -0
- package/vendor/@stringsync/splates-server/models/codex-limits.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/effort.d.ts +22 -0
- package/vendor/@stringsync/splates-server/models/index.d.ts +13 -0
- package/vendor/@stringsync/splates-server/models/index.js +76 -0
- package/vendor/@stringsync/splates-server/models/kimi-limits.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/kimi-usage.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/kimi.d.ts +10 -0
- package/vendor/@stringsync/splates-server/models/limits.d.ts +32 -0
- package/vendor/@stringsync/splates-server/models/models.d.ts +36 -0
- package/vendor/@stringsync/splates-server/models/offered.d.ts +47 -0
- package/vendor/@stringsync/splates-server/models/opencode-usage.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/roster.d.ts +130 -0
- package/vendor/@stringsync/splates-server/plans/asked.d.ts +99 -0
- package/vendor/@stringsync/splates-server/plans/browser.d.ts +13 -0
- package/vendor/@stringsync/splates-server/plans/decided.d.ts +12 -0
- package/vendor/@stringsync/splates-server/plans/demo.d.ts +29 -0
- package/vendor/@stringsync/splates-server/plans/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/plans/index.js +137 -0
- package/vendor/@stringsync/splates-server/plans/needs.d.ts +131 -0
- package/vendor/@stringsync/splates-server/plans/permission.d.ts +64 -0
- package/vendor/@stringsync/splates-server/plans/plan.d.ts +223 -0
- package/vendor/@stringsync/splates-server/plans/prompts.d.ts +148 -0
- package/vendor/@stringsync/splates-server/plans/reply.d.ts +45 -0
- package/vendor/@stringsync/splates-server/plans/run-command.d.ts +21 -0
- package/vendor/@stringsync/splates-server/plans/store.d.ts +26 -0
- package/vendor/@stringsync/splates-server/plans/unanswered.d.ts +15 -0
- package/vendor/@stringsync/splates-server/ports/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/ports/index.js +36 -0
- package/vendor/@stringsync/splates-server/ports/list.d.ts +22 -0
- package/vendor/@stringsync/splates-server/ports/routes.d.ts +64 -0
- package/vendor/@stringsync/splates-server/ports/slot-tunnel.d.ts +24 -0
- package/vendor/@stringsync/splates-server/ports/slot.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ports/slots.d.ts +150 -0
- package/vendor/@stringsync/splates-server/ports/socket.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ports/task-ports.d.ts +39 -0
- package/vendor/@stringsync/splates-server/prices/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/prices/prices.d.ts +65 -0
- package/vendor/@stringsync/splates-server/projects/everywhere-routes.d.ts +110 -0
- package/vendor/@stringsync/splates-server/projects/everywhere.d.ts +43 -0
- package/vendor/@stringsync/splates-server/projects/general.d.ts +4 -0
- package/vendor/@stringsync/splates-server/projects/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/projects/index.js +36 -0
- package/vendor/@stringsync/splates-server/projects/init.d.ts +28 -0
- package/vendor/@stringsync/splates-server/projects/picker.d.ts +64 -0
- package/vendor/@stringsync/splates-server/projects/projects.d.ts +155 -0
- package/vendor/@stringsync/splates-server/projects/reaches.d.ts +26 -0
- package/vendor/@stringsync/splates-server/push/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/push/notices.d.ts +44 -0
- package/vendor/@stringsync/splates-server/push/push.d.ts +91 -0
- package/vendor/@stringsync/splates-server/queue/commands.d.ts +44 -0
- package/vendor/@stringsync/splates-server/queue/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/queue/index.js +44 -0
- package/vendor/@stringsync/splates-server/queue/moves.d.ts +15 -0
- package/vendor/@stringsync/splates-server/queue/name.d.ts +9 -0
- package/vendor/@stringsync/splates-server/queue/order.d.ts +50 -0
- package/vendor/@stringsync/splates-server/queue/runner.d.ts +129 -0
- package/vendor/@stringsync/splates-server/records/elsewhere.d.ts +27 -0
- package/vendor/@stringsync/splates-server/records/events.d.ts +556 -0
- package/vendor/@stringsync/splates-server/records/format.d.ts +92 -0
- package/vendor/@stringsync/splates-server/records/home.d.ts +72 -0
- package/vendor/@stringsync/splates-server/records/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/records/index.js +40 -0
- package/vendor/@stringsync/splates-server/records/journal.d.ts +65 -0
- package/vendor/@stringsync/splates-server/records/lease-lock.d.ts +29 -0
- package/vendor/@stringsync/splates-server/records/migration.d.ts +94 -0
- package/vendor/@stringsync/splates-server/records/one-task-store.d.ts +15 -0
- package/vendor/@stringsync/splates-server/records/repository.d.ts +137 -0
- package/vendor/@stringsync/splates-server/records/task-files.d.ts +8 -0
- package/vendor/@stringsync/splates-server/records/task-stages.d.ts +7 -0
- package/vendor/@stringsync/splates-server/records/to-sqlite.d.ts +3 -0
- package/vendor/@stringsync/splates-server/replica/aws-sign.d.ts +30 -0
- package/vendor/@stringsync/splates-server/replica/dir.d.ts +17 -0
- package/vendor/@stringsync/splates-server/replica/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/replica/index.js +29 -0
- package/vendor/@stringsync/splates-server/replica/layout.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/place.d.ts +31 -0
- package/vendor/@stringsync/splates-server/replica/replica.d.ts +37 -0
- package/vendor/@stringsync/splates-server/replica/replicator.d.ts +102 -0
- package/vendor/@stringsync/splates-server/replica/restore.d.ts +40 -0
- package/vendor/@stringsync/splates-server/replica/s3.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/shipped.d.ts +2 -0
- package/vendor/@stringsync/splates-server/replica/status.d.ts +18 -0
- package/vendor/@stringsync/splates-server/server/assets.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/automations.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/chunk-files.d.ts +4 -0
- package/vendor/@stringsync/splates-server/server/conflict-watch.d.ts +22 -0
- package/vendor/@stringsync/splates-server/server/early-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/server/general.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/groomer.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/held.d.ts +10 -0
- package/vendor/@stringsync/splates-server/server/http.d.ts +76 -0
- package/vendor/@stringsync/splates-server/server/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/index.js +14342 -0
- package/vendor/@stringsync/splates-server/server/interrupt.d.ts +24 -0
- package/vendor/@stringsync/splates-server/server/loop-watch.d.ts +12 -0
- package/vendor/@stringsync/splates-server/server/migrations.d.ts +46 -0
- package/vendor/@stringsync/splates-server/server/options.d.ts +143 -0
- package/vendor/@stringsync/splates-server/server/pages.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/ports.d.ts +11 -0
- package/vendor/@stringsync/splates-server/server/premerge.d.ts +61 -0
- package/vendor/@stringsync/splates-server/server/project-watch.d.ts +94 -0
- package/vendor/@stringsync/splates-server/server/project.d.ts +239 -0
- package/vendor/@stringsync/splates-server/server/pulse.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/release.d.ts +41 -0
- package/vendor/@stringsync/splates-server/server/replicas.d.ts +23 -0
- package/vendor/@stringsync/splates-server/server/restart.d.ts +177 -0
- package/vendor/@stringsync/splates-server/server/runtime-deps.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/server.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/servers.d.ts +31 -0
- package/vendor/@stringsync/splates-server/server/serving.d.ts +28 -0
- package/vendor/@stringsync/splates-server/server/shared.d.ts +14 -0
- package/vendor/@stringsync/splates-server/server/skills.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/sockets.d.ts +13 -0
- package/vendor/@stringsync/splates-server/server/start-settings.d.ts +15 -0
- package/vendor/@stringsync/splates-server/server/start.d.ts +21 -0
- package/vendor/@stringsync/splates-server/server/suite-grant.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/supervise.d.ts +81 -0
- package/vendor/@stringsync/splates-server/server/ticketed-lock.d.ts +80 -0
- package/vendor/@stringsync/splates-server/server/update-records.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/update.d.ts +56 -0
- package/vendor/@stringsync/splates-server/server/versions.d.ts +53 -0
- package/vendor/@stringsync/splates-server/setup/area-auto-pick.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-dictation.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-droplet.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-evals.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-github.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/area-native.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-opencode.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/area-remote.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-replica.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-workers.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/areas.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/checks.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/fields.d.ts +69 -0
- package/vendor/@stringsync/splates-server/setup/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/index.js +25 -0
- package/vendor/@stringsync/splates-server/setup/opencode-model-error.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/opencode-models.d.ts +44 -0
- package/vendor/@stringsync/splates-server/setup/opencode-recipe.d.ts +33 -0
- package/vendor/@stringsync/splates-server/setup/opencode-routes.d.ts +17 -0
- package/vendor/@stringsync/splates-server/setup/opencode.d.ts +61 -0
- package/vendor/@stringsync/splates-server/setup/project.d.ts +10 -0
- package/vendor/@stringsync/splates-server/setup/routes.d.ts +31 -0
- package/vendor/@stringsync/splates-server/setup/setup.d.ts +235 -0
- package/vendor/@stringsync/splates-server/setup/step-problem.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/undo.d.ts +80 -0
- package/vendor/@stringsync/splates-server/ship/approval-watch.d.ts +57 -0
- package/vendor/@stringsync/splates-server/ship/approval.d.ts +17 -0
- package/vendor/@stringsync/splates-server/ship/cascade-routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/ship/cascade.d.ts +70 -0
- package/vendor/@stringsync/splates-server/ship/commands.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ship/git.d.ts +31 -0
- package/vendor/@stringsync/splates-server/ship/graph.d.ts +60 -0
- package/vendor/@stringsync/splates-server/ship/history.d.ts +51 -0
- package/vendor/@stringsync/splates-server/ship/index.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ship/live.d.ts +40 -0
- package/vendor/@stringsync/splates-server/ship/mechanical.d.ts +30 -0
- package/vendor/@stringsync/splates-server/ship/npm-terminal.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/plan.d.ts +90 -0
- package/vendor/@stringsync/splates-server/ship/progress.d.ts +3 -0
- package/vendor/@stringsync/splates-server/ship/published-notice.d.ts +29 -0
- package/vendor/@stringsync/splates-server/ship/record.d.ts +55 -0
- package/vendor/@stringsync/splates-server/ship/registry.d.ts +13 -0
- package/vendor/@stringsync/splates-server/ship/release-events.d.ts +47 -0
- package/vendor/@stringsync/splates-server/ship/release-steps.d.ts +66 -0
- package/vendor/@stringsync/splates-server/ship/routes.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/run.d.ts +132 -0
- package/vendor/@stringsync/splates-server/ship/selection.d.ts +36 -0
- package/vendor/@stringsync/splates-server/ship/served.d.ts +4 -0
- package/vendor/@stringsync/splates-server/ship/stages.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/steps.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/token-request.d.ts +11 -0
- package/vendor/@stringsync/splates-server/ship/token.d.ts +21 -0
- package/vendor/@stringsync/splates-server/spend/adapters.d.ts +5 -0
- package/vendor/@stringsync/splates-server/spend/billing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/spend/index.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/plans.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/providers.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/rates.d.ts +23 -0
- package/vendor/@stringsync/splates-server/spend/report.d.ts +39 -0
- package/vendor/@stringsync/splates-server/spend/routes.d.ts +46 -0
- package/vendor/@stringsync/splates-server/spend/spend.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/totals.d.ts +63 -0
- package/vendor/@stringsync/splates-server/spend/turn.d.ts +39 -0
- package/vendor/@stringsync/splates-server/stats/adherence.d.ts +40 -0
- package/vendor/@stringsync/splates-server/stats/baselines.d.ts +55 -0
- package/vendor/@stringsync/splates-server/stats/budget-routes.d.ts +21 -0
- package/vendor/@stringsync/splates-server/stats/fact-tasks.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/finding-facts.d.ts +37 -0
- package/vendor/@stringsync/splates-server/stats/findings.d.ts +89 -0
- package/vendor/@stringsync/splates-server/stats/index.d.ts +12 -0
- package/vendor/@stringsync/splates-server/stats/index.js +30 -0
- package/vendor/@stringsync/splates-server/stats/landed.d.ts +14 -0
- package/vendor/@stringsync/splates-server/stats/outcomes.d.ts +207 -0
- package/vendor/@stringsync/splates-server/stats/overrides.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/stats/scry-models.d.ts +22 -0
- package/vendor/@stringsync/splates-server/stats/skill-checks.d.ts +59 -0
- package/vendor/@stringsync/splates-server/stats/stats.d.ts +176 -0
- package/vendor/@stringsync/splates-server/stats/task-log.d.ts +67 -0
- package/vendor/@stringsync/splates-server/storage/atomic.d.ts +13 -0
- package/vendor/@stringsync/splates-server/storage/collection.d.ts +30 -0
- package/vendor/@stringsync/splates-server/storage/document.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-collection.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-document.d.ts +16 -0
- package/vendor/@stringsync/splates-server/storage/fs-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/fs.d.ts +48 -0
- package/vendor/@stringsync/splates-server/storage/index.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/index.js +18 -0
- package/vendor/@stringsync/splates-server/storage/json.d.ts +10 -0
- package/vendor/@stringsync/splates-server/storage/key.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/log.d.ts +60 -0
- package/vendor/@stringsync/splates-server/storage/schema.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-collection.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-db.d.ts +62 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-document.d.ts +20 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-import.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-keys.d.ts +17 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-lock.d.ts +25 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite.d.ts +53 -0
- package/vendor/@stringsync/splates-server/storage/storage.d.ts +87 -0
- package/vendor/@stringsync/splates-server/table.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/add.d.ts +45 -0
- package/vendor/@stringsync/splates-server/tasks/browser.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/checkpoint.d.ts +39 -0
- package/vendor/@stringsync/splates-server/tasks/claim.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tasks/conflicts.d.ts +19 -0
- package/vendor/@stringsync/splates-server/tasks/diff.d.ts +29 -0
- package/vendor/@stringsync/splates-server/tasks/dispatched.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/editors.d.ts +22 -0
- package/vendor/@stringsync/splates-server/tasks/finished.d.ts +81 -0
- package/vendor/@stringsync/splates-server/tasks/follow.d.ts +48 -0
- package/vendor/@stringsync/splates-server/tasks/index.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/index.js +90 -0
- package/vendor/@stringsync/splates-server/tasks/landings.d.ts +17 -0
- package/vendor/@stringsync/splates-server/tasks/list.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tasks/merge-output.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/open.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/overlaps.d.ts +16 -0
- package/vendor/@stringsync/splates-server/tasks/path.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/recommend.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/remove.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/retry.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tasks/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/tasks/show.d.ts +137 -0
- package/vendor/@stringsync/splates-server/tasks/snapshot.d.ts +86 -0
- package/vendor/@stringsync/splates-server/tasks/started-records.d.ts +71 -0
- package/vendor/@stringsync/splates-server/tasks/wait.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-checkouts.d.ts +10 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-service.d.ts +151 -0
- package/vendor/@stringsync/splates-server/tasks/worktree.d.ts +342 -0
- package/vendor/@stringsync/splates-server/terminal/connection.d.ts +19 -0
- package/vendor/@stringsync/splates-server/terminal/held.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/terminal/pty.d.ts +45 -0
- package/vendor/@stringsync/splates-server/terminal/remote-pty.d.ts +34 -0
- package/vendor/@stringsync/splates-server/terminal/shell.d.ts +70 -0
- package/vendor/@stringsync/splates-server/terminal/spawn.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/terminal.d.ts +52 -0
- package/vendor/@stringsync/splates-server/tunnel/access.d.ts +61 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-api.d.ts +25 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-error.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflared.d.ts +43 -0
- package/vendor/@stringsync/splates-server/tunnel/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tunnel/index.js +70 -0
- package/vendor/@stringsync/splates-server/tunnel/machine.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tunnel/provider.d.ts +37 -0
- package/vendor/@stringsync/splates-server/tunnel/remove.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tunnel/saved-ports-host.d.ts +26 -0
- package/vendor/@stringsync/splates-server/tunnel/saved.d.ts +63 -0
- package/vendor/@stringsync/splates-server/tunnel/setup.d.ts +123 -0
- package/vendor/@stringsync/splates-server/tunnel/tunnel.d.ts +38 -0
- package/vendor/@stringsync/splates-server/workers/admin.d.ts +37 -0
- package/vendor/@stringsync/splates-server/workers/call-host.d.ts +68 -0
- package/vendor/@stringsync/splates-server/workers/channel.d.ts +90 -0
- package/vendor/@stringsync/splates-server/workers/connection.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/coordinator-state.d.ts +44 -0
- package/vendor/@stringsync/splates-server/workers/daemon.d.ts +128 -0
- package/vendor/@stringsync/splates-server/workers/darwin-footprint.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/darwin-temperature.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/frame-too-large.d.ts +5 -0
- package/vendor/@stringsync/splates-server/workers/git.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/gone.d.ts +36 -0
- package/vendor/@stringsync/splates-server/workers/identity.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/index.d.ts +40 -0
- package/vendor/@stringsync/splates-server/workers/index.js +90 -0
- package/vendor/@stringsync/splates-server/workers/lifecycle.d.ts +14 -0
- package/vendor/@stringsync/splates-server/workers/list.d.ts +93 -0
- package/vendor/@stringsync/splates-server/workers/load.d.ts +55 -0
- package/vendor/@stringsync/splates-server/workers/local-id.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/local-update.d.ts +81 -0
- package/vendor/@stringsync/splates-server/workers/log-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/machine.d.ts +47 -0
- package/vendor/@stringsync/splates-server/workers/orphan.d.ts +31 -0
- package/vendor/@stringsync/splates-server/workers/os-sensors.d.ts +49 -0
- package/vendor/@stringsync/splates-server/workers/placement.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/process-host.d.ts +60 -0
- package/vendor/@stringsync/splates-server/workers/process.d.ts +33 -0
- package/vendor/@stringsync/splates-server/workers/protocol.d.ts +153 -0
- package/vendor/@stringsync/splates-server/workers/pty-host.d.ts +35 -0
- package/vendor/@stringsync/splates-server/workers/queue.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/records.d.ts +43 -0
- package/vendor/@stringsync/splates-server/workers/registry.d.ts +101 -0
- package/vendor/@stringsync/splates-server/workers/replay.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/routes.d.ts +119 -0
- package/vendor/@stringsync/splates-server/workers/run-options.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/run.d.ts +10 -0
- package/vendor/@stringsync/splates-server/workers/scheduler.d.ts +171 -0
- package/vendor/@stringsync/splates-server/workers/server-of.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/server-socket.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/session.d.ts +240 -0
- package/vendor/@stringsync/splates-server/workers/socket.d.ts +21 -0
- package/vendor/@stringsync/splates-server/workers/unix-listener.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/unix-socket.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/websocket-socket.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/worker.d.ts +98 -0
- package/vendor/core/LICENSE +21 -0
- package/vendor/core/abort/aborts.d.ts +10 -0
- package/vendor/core/abort/index.d.ts +1 -0
- package/vendor/core/abort/index.js +24 -0
- package/vendor/core/assert/assert-error.d.ts +4 -0
- package/vendor/core/assert/assert.d.ts +24 -0
- package/vendor/core/assert/ensure.d.ts +18 -0
- package/vendor/core/assert/index.d.ts +3 -0
- package/vendor/core/assert/index.js +75 -0
- package/vendor/core/cmd/cli.d.ts +70 -0
- package/vendor/core/cmd/command.d.ts +96 -0
- package/vendor/core/cmd/deps.d.ts +12 -0
- package/vendor/core/cmd/help.d.ts +16 -0
- package/vendor/core/cmd/index.d.ts +6 -0
- package/vendor/core/cmd/index.js +477 -0
- package/vendor/core/cmd/middleware.d.ts +15 -0
- package/vendor/core/cmd/timed.d.ts +15 -0
- package/vendor/core/creds/credential-proxy.d.ts +55 -0
- package/vendor/core/creds/credential-source.d.ts +19 -0
- package/vendor/core/creds/credentials.d.ts +28 -0
- package/vendor/core/creds/dotenv-file.d.ts +22 -0
- package/vendor/core/creds/environment.d.ts +18 -0
- package/vendor/core/creds/index.d.ts +8 -0
- package/vendor/core/creds/index.js +337 -0
- package/vendor/core/creds/memory-secret-store.d.ts +33 -0
- package/vendor/core/creds/secret-store.d.ts +14 -0
- package/vendor/core/creds/system-secret-store.d.ts +49 -0
- package/vendor/core/dictate/buffered-sink.d.ts +9 -0
- package/vendor/core/dictate/cue.d.ts +10 -0
- package/vendor/core/dictate/dictation-failure.d.ts +5 -0
- package/vendor/core/dictate/dictation-link.d.ts +18 -0
- package/vendor/core/dictate/dictation-message.d.ts +24 -0
- package/vendor/core/dictate/dictation-relay.d.ts +28 -0
- package/vendor/core/dictate/index.d.ts +10 -0
- package/vendor/core/dictate/index.js +132 -0
- package/vendor/core/dictate/microphone.d.ts +42 -0
- package/vendor/core/dictate/openai-transcriber.d.ts +22 -0
- package/vendor/core/dictate/openai-transcription.d.ts +27 -0
- package/vendor/core/dictate/pcm.d.ts +5 -0
- package/vendor/core/dictate/pcm16-encoder.d.ts +20 -0
- package/vendor/core/dictate/server.d.ts +1 -0
- package/vendor/core/dictate/server.js +153 -0
- package/vendor/core/dictate/transcriber.d.ts +23 -0
- package/vendor/core/disposable/async-disposer.d.ts +15 -0
- package/vendor/core/disposable/async-resource.d.ts +4 -0
- package/vendor/core/disposable/disposables.d.ts +8 -0
- package/vendor/core/disposable/disposer.d.ts +13 -0
- package/vendor/core/disposable/index.d.ts +5 -0
- package/vendor/core/disposable/index.js +96 -0
- package/vendor/core/disposable/resource.d.ts +4 -0
- package/vendor/core/events/dispatcher.d.ts +18 -0
- package/vendor/core/events/eventful.d.ts +7 -0
- package/vendor/core/events/events.d.ts +14 -0
- package/vendor/core/events/index.d.ts +4 -0
- package/vendor/core/events/index.js +75 -0
- package/vendor/core/events/noop-events.d.ts +6 -0
- package/vendor/core/id/counter-id-provider.d.ts +6 -0
- package/vendor/core/id/id-provider.d.ts +7 -0
- package/vendor/core/id/index.d.ts +3 -0
- package/vendor/core/id/index.js +17 -0
- package/vendor/core/id/uuid-provider.d.ts +11 -0
- package/vendor/core/index-qk5dj664.js +4 -0
- package/vendor/core/log/color.d.ts +22 -0
- package/vendor/core/log/composite-logger.d.ts +7 -0
- package/vendor/core/log/console-logger.d.ts +6 -0
- package/vendor/core/log/index.d.ts +8 -0
- package/vendor/core/log/index.js +154 -0
- package/vendor/core/log/level-prefix-logger.d.ts +12 -0
- package/vendor/core/log/logger.d.ts +12 -0
- package/vendor/core/log/mdc-logger.d.ts +14 -0
- package/vendor/core/log/memory-logger.d.ts +8 -0
- package/vendor/core/log/prefix-logger.d.ts +12 -0
- package/vendor/core/md/index.d.ts +2 -0
- package/vendor/core/md/index.js +182 -0
- package/vendor/core/md/markdown.d.ts +56 -0
- package/vendor/core/md/writer.d.ts +22 -0
- package/vendor/core/push/base64url.d.ts +2 -0
- package/vendor/core/push/encrypt.d.ts +12 -0
- package/vendor/core/push/index.d.ts +4 -0
- package/vendor/core/push/index.js +137 -0
- package/vendor/core/push/push-failure.d.ts +7 -0
- package/vendor/core/push/pusher.d.ts +24 -0
- package/vendor/core/push/vapid.d.ts +18 -0
- package/vendor/core/push/web-pusher.d.ts +20 -0
- package/vendor/core/ship/artifact/artifact.d.ts +52 -0
- package/vendor/core/ship/bundle/bun-bundle.d.ts +71 -0
- package/vendor/core/ship/bundle/bundle-artifact.d.ts +21 -0
- package/vendor/core/ship/bundle/bundle.d.ts +13 -0
- package/vendor/core/ship/bundle/published.d.ts +45 -0
- package/vendor/core/ship/bundle/reach.d.ts +43 -0
- package/vendor/core/ship/bundle/vendor-bundle.d.ts +47 -0
- package/vendor/core/ship/cut.d.ts +64 -0
- package/vendor/core/ship/dry-run.d.ts +63 -0
- package/vendor/core/ship/git/cli-git.d.ts +25 -0
- package/vendor/core/ship/git/git-artifact.d.ts +23 -0
- package/vendor/core/ship/git/git.d.ts +19 -0
- package/vendor/core/ship/github/cli-github.d.ts +31 -0
- package/vendor/core/ship/github/cli-workflows.d.ts +25 -0
- package/vendor/core/ship/github/github-artifact.d.ts +18 -0
- package/vendor/core/ship/github/github.d.ts +10 -0
- package/vendor/core/ship/github/login.d.ts +3 -0
- package/vendor/core/ship/github/workflows.d.ts +27 -0
- package/vendor/core/ship/index.d.ts +26 -0
- package/vendor/core/ship/index.js +3203 -0
- package/vendor/core/ship/mirror/agent-files.d.ts +6 -0
- package/vendor/core/ship/mirror/mirror-build.d.ts +63 -0
- package/vendor/core/ship/mirror/mirror-guard.d.ts +10 -0
- package/vendor/core/ship/mirror/mirror-options.d.ts +75 -0
- package/vendor/core/ship/mirror/mirror-step.d.ts +109 -0
- package/vendor/core/ship/mirror/mirror-tooling.d.ts +59 -0
- package/vendor/core/ship/mirror/source-manifest.d.ts +27 -0
- package/vendor/core/ship/order.d.ts +15 -0
- package/vendor/core/ship/publish-workflow.d.ts +32 -0
- package/vendor/core/ship/registry/github-actions.d.ts +76 -0
- package/vendor/core/ship/registry/npm-registry.d.ts +70 -0
- package/vendor/core/ship/registry/registry-artifact.d.ts +31 -0
- package/vendor/core/ship/registry/registry.d.ts +85 -0
- package/vendor/core/ship/release-file.d.ts +22 -0
- package/vendor/core/ship/release-options.d.ts +122 -0
- package/vendor/core/ship/release.d.ts +61 -0
- package/vendor/core/ship/releases.d.ts +119 -0
- package/vendor/core/ship/shipped.d.ts +54 -0
- package/vendor/core/ship/skill-artifact.d.ts +27 -0
- package/vendor/core/ship/step-events.d.ts +91 -0
- package/vendor/core/ship/step-runner.d.ts +16 -0
- package/vendor/core/ship/step.d.ts +49 -0
- package/vendor/core/ship/trust.d.ts +11 -0
- package/vendor/core/ship/version.d.ts +9 -0
- package/vendor/core/ship/workspace/manifest-workspace.d.ts +61 -0
- package/vendor/core/ship/workspace/workspace.d.ts +29 -0
- package/vendor/core/skills/index.d.ts +1 -0
- package/vendor/core/skills/index.js +77 -0
- package/vendor/core/skills/project-skills.d.ts +53 -0
- package/vendor/core/system/fs/fs.d.ts +58 -0
- package/vendor/core/system/fs/node-fs.d.ts +18 -0
- package/vendor/core/system/glob/glob.d.ts +11 -0
- package/vendor/core/system/glob/node-glob.d.ts +12 -0
- package/vendor/core/system/heavy/heavy-jobs.d.ts +84 -0
- package/vendor/core/system/host-mapper/file-host-mapper.d.ts +20 -0
- package/vendor/core/system/host-mapper/host-mapper.d.ts +11 -0
- package/vendor/core/system/host-mapper/noop-host-mapper.d.ts +4 -0
- package/vendor/core/system/index.d.ts +25 -0
- package/vendor/core/system/index.js +1385 -0
- package/vendor/core/system/ip-provider/darwin-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/linux-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/platform-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/sequential-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/static-ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/win32-ip-provider.d.ts +6 -0
- package/vendor/core/system/lock/file-lock.d.ts +50 -0
- package/vendor/core/system/lock/lock.d.ts +11 -0
- package/vendor/core/system/lock/memory-lock.d.ts +13 -0
- package/vendor/core/system/port-provider/open-port-provider.d.ts +38 -0
- package/vendor/core/system/port-provider/port-provider.d.ts +14 -0
- package/vendor/core/system/process-like/process-like.d.ts +22 -0
- package/vendor/core/system/ps/file-process.d.ts +40 -0
- package/vendor/core/system/ps/listening.d.ts +20 -0
- package/vendor/core/system/ps/node-ps.d.ts +39 -0
- package/vendor/core/system/ps/ps.d.ts +161 -0
- package/vendor/core/system/ps/reap.d.ts +22 -0
- package/vendor/core/system/undumpable.d.ts +32 -0
- package/vendor/core/system/walk.d.ts +10 -0
- package/vendor/core/time/clock/clock.d.ts +5 -0
- package/vendor/core/time/clock/system-clock.d.ts +5 -0
- package/vendor/core/time/debouncer.d.ts +25 -0
- package/vendor/core/time/duration.d.ts +38 -0
- package/vendor/core/time/index.d.ts +13 -0
- package/vendor/core/time/index.js +271 -0
- package/vendor/core/time/sleep.d.ts +2 -0
- package/vendor/core/time/stopwatch.d.ts +34 -0
- package/vendor/core/time/throttler.d.ts +26 -0
- package/vendor/core/time/time-ago.d.ts +14 -0
- package/vendor/core/time/timeouts.d.ts +12 -0
- package/vendor/core/time/timer/system-timer.d.ts +7 -0
- package/vendor/core/time/timer/timer.d.ts +11 -0
- package/vendor/core/time/wall-clock/system-wall-clock.d.ts +4 -0
- package/vendor/core/time/wall-clock/wall-clock.d.ts +14 -0
- package/waiting.d.ts +2 -2
- package/worker.d.ts +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Project } from "../server/shared";
|
|
2
|
+
/**
|
|
3
|
+
* The API a project's Budget page reads and changes its vet budgets with.
|
|
4
|
+
* Spread one into the project's routes.
|
|
5
|
+
*/
|
|
6
|
+
export declare class BudgetRoutes {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(project: Project);
|
|
9
|
+
readonly listBudgets: () => Promise<Response>;
|
|
10
|
+
/** Sets a role's spend, or with none, gives it back to the configs. */
|
|
11
|
+
readonly setBudget: (request: Request) => Promise<Response>;
|
|
12
|
+
/**
|
|
13
|
+
* Raises a role's limits by `tokens` `for` a while. Send `project: true`
|
|
14
|
+
* to raise a budget every project shares for this project alone.
|
|
15
|
+
*/
|
|
16
|
+
readonly raiseBudget: (request: Request) => Promise<Response>;
|
|
17
|
+
/** Stops a role asking anything for a while, like `1d`. */
|
|
18
|
+
readonly pauseBudget: (request: Request) => Promise<Response>;
|
|
19
|
+
readonly resumeBudget: (request: Request) => Promise<Response>;
|
|
20
|
+
readonly endRaise: (request: Request) => Promise<Response>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Logger } from "../../../core/log/index.js";
|
|
2
|
+
import type { Tasks } from "../board";
|
|
3
|
+
import type { Git } from "../git";
|
|
4
|
+
import type { Journal } from "../records";
|
|
5
|
+
import type { Outcomes } from "./outcomes";
|
|
6
|
+
/**
|
|
7
|
+
* Queues a task, untriaged, for each of `task`'s gate runs that named failing
|
|
8
|
+
* tests and each test its passing run timed as slow (see `factTasks`),
|
|
9
|
+
* journaled so the conversation that merged it shows each as an "Added" line
|
|
10
|
+
* the person can remove it from. One whose line is queued already is not added
|
|
11
|
+
* again.
|
|
12
|
+
*/
|
|
13
|
+
export declare function addFactTasks({ git, outcomes, tasks, journal, log, }: {
|
|
14
|
+
git: Git;
|
|
15
|
+
outcomes: Outcomes;
|
|
16
|
+
tasks: Tasks;
|
|
17
|
+
journal: Journal;
|
|
18
|
+
log: Logger;
|
|
19
|
+
}, task: string): Promise<void>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type Finding } from "./findings";
|
|
2
|
+
import type { Landed } from "./landed";
|
|
3
|
+
/** One thing that went worse than it could have, as the merged card says it. */
|
|
4
|
+
export interface Fact {
|
|
5
|
+
text: string;
|
|
6
|
+
/** "3rd time this week" when it came up before in its project; null otherwise. */
|
|
7
|
+
again: string | null;
|
|
8
|
+
/** What it was found from; null for an older outcome's count of failed merges. */
|
|
9
|
+
finding: Finding | null;
|
|
10
|
+
}
|
|
11
|
+
/** What went worse in a merged task: the gate's turn-aways, and the rest. */
|
|
12
|
+
export interface FoundFacts {
|
|
13
|
+
/** Null when the gate passed it the first time. */
|
|
14
|
+
gate: Fact[] | null;
|
|
15
|
+
/** Most severe first. */
|
|
16
|
+
findings: Fact[];
|
|
17
|
+
}
|
|
18
|
+
/** A task made of a fact: its line, and what more there is to say. */
|
|
19
|
+
export interface FactTask {
|
|
20
|
+
subject: string;
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
/** The findings that are not the gate's, the most worth acting on first. */
|
|
24
|
+
export declare const SEVERITY: Finding["kind"][];
|
|
25
|
+
/** What went worse in `landed`, from what its outcome kept. */
|
|
26
|
+
export declare function foundFacts({ outcome, baseline }: Landed): FoundFacts;
|
|
27
|
+
/**
|
|
28
|
+
* The tasks `splates merge` queues for what went worse in `landed`: one for each
|
|
29
|
+
* gate run that named the tests it failed on, which a later run passed, so
|
|
30
|
+
* the test is flaky or was fixed on the way, and one for each test the
|
|
31
|
+
* passing run timed as slow. The rest the merged card lists (conflicts,
|
|
32
|
+
* retries, lost connections, the person's own calls) are what a merge goes
|
|
33
|
+
* through, with nothing in the code to act on.
|
|
34
|
+
*/
|
|
35
|
+
export declare function factTasks(landed: Landed): FactTask[];
|
|
36
|
+
/** The task made of `fact`, found in `task` as it merged. */
|
|
37
|
+
export declare function deferred(task: string, fact: Fact): FactTask;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { TimedTest } from "../merge";
|
|
2
|
+
import type { GateFailure } from "../tasks";
|
|
3
|
+
import type { Judged } from "./adherence";
|
|
4
|
+
import type { TaskLog } from "./task-log";
|
|
5
|
+
/** What went worse than it could have, in the order `Finding` lists the kinds. */
|
|
6
|
+
export declare function findings(evidence: Evidence): Finding[];
|
|
7
|
+
/** How often each finding fires: tune a threshold to make its finding fire less or more. */
|
|
8
|
+
export declare const FINDING_THRESHOLDS: {
|
|
9
|
+
/** A command failing this many times in one task. */
|
|
10
|
+
readonly repeatedFailures: 3;
|
|
11
|
+
/** Lines edited this many times over the lines that landed. */
|
|
12
|
+
readonly churnRatio: 4;
|
|
13
|
+
/** And at least this many lines edited, so a small task's retouching is not churn. */
|
|
14
|
+
readonly churnLines: 300;
|
|
15
|
+
/** A skill check passed less than this share of the times it applied. */
|
|
16
|
+
readonly adherenceBelow: 0.5;
|
|
17
|
+
/**
|
|
18
|
+
* A test in the passing gate run taking longer than this: other agents
|
|
19
|
+
* load the machine while the gate runs, so a lower
|
|
20
|
+
* bar would name tests that are slow only while contended.
|
|
21
|
+
*/
|
|
22
|
+
readonly slowTestSeconds: 20;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Something that went worse than it could have in one task, kept with what it
|
|
26
|
+
* names, so a later count can tell how often each kind recurs.
|
|
27
|
+
*/
|
|
28
|
+
export type Finding =
|
|
29
|
+
/** The gate turned it away, even once. */
|
|
30
|
+
({
|
|
31
|
+
kind: "gate";
|
|
32
|
+
} & GateFailure)
|
|
33
|
+
/** `splates retry` granted it more merge attempts. */
|
|
34
|
+
| {
|
|
35
|
+
kind: "retried";
|
|
36
|
+
times: number;
|
|
37
|
+
}
|
|
38
|
+
/** The person stopped the agent's turn. */
|
|
39
|
+
| {
|
|
40
|
+
kind: "stopped";
|
|
41
|
+
at: string;
|
|
42
|
+
}
|
|
43
|
+
/** A lost connection cut the agent's turn short. */
|
|
44
|
+
| {
|
|
45
|
+
kind: "interrupted";
|
|
46
|
+
at: string;
|
|
47
|
+
}
|
|
48
|
+
/** The person answered picks with another choice than the agent's. */
|
|
49
|
+
| {
|
|
50
|
+
kind: "overturned";
|
|
51
|
+
picks: number;
|
|
52
|
+
}
|
|
53
|
+
/** One command failed again and again. */
|
|
54
|
+
| {
|
|
55
|
+
kind: "repeated_failure";
|
|
56
|
+
command: string;
|
|
57
|
+
times: number;
|
|
58
|
+
}
|
|
59
|
+
/** Far more lines edited than landed. */
|
|
60
|
+
| {
|
|
61
|
+
kind: "churn";
|
|
62
|
+
edited: number;
|
|
63
|
+
landed: number;
|
|
64
|
+
}
|
|
65
|
+
/** A skill check its conversation mostly failed. */
|
|
66
|
+
| {
|
|
67
|
+
kind: "adherence";
|
|
68
|
+
check: string;
|
|
69
|
+
passed: number;
|
|
70
|
+
failed: number;
|
|
71
|
+
}
|
|
72
|
+
/** Tests the passing gate run timed over the bar, slowest first. */
|
|
73
|
+
| {
|
|
74
|
+
kind: "slow_tests";
|
|
75
|
+
tests: TimedTest[];
|
|
76
|
+
};
|
|
77
|
+
/** What a task leaves to find in, each part absent when it was not kept. */
|
|
78
|
+
export interface Evidence {
|
|
79
|
+
gateFailures: GateFailure[];
|
|
80
|
+
retries: number;
|
|
81
|
+
picksOverturned: number;
|
|
82
|
+
log: TaskLog | null;
|
|
83
|
+
/** Lines the landed diff added and removed; null when unknown. */
|
|
84
|
+
landedLines: number | null;
|
|
85
|
+
/** Its conversation's skill checks as last judged; null when unjudged. */
|
|
86
|
+
adherence: Judged | null;
|
|
87
|
+
/** Each test the passing gate run timed; empty when its hook wrote no report. */
|
|
88
|
+
testTimes: TimedTest[];
|
|
89
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Adherence } from "./adherence";
|
|
2
|
+
export { BudgetRoutes } from "./budget-routes";
|
|
3
|
+
export { addFactTasks } from "./fact-tasks";
|
|
4
|
+
export { findings } from "./findings";
|
|
5
|
+
export type { Outcome } from "./outcomes";
|
|
6
|
+
export { Outcomes, promptsFrom } from "./outcomes";
|
|
7
|
+
export type { RuleOverrides } from "./overrides";
|
|
8
|
+
export { DevOutcomes } from "./routes";
|
|
9
|
+
export type { Beat, Transcript, Verdict } from "./skill-checks";
|
|
10
|
+
export { CHECKS, splatesCalls } from "./skill-checks";
|
|
11
|
+
export type { Stats } from "./stats";
|
|
12
|
+
export { taskLog } from "./task-log";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CHECKS2,
|
|
3
|
+
splatesCalls2,
|
|
4
|
+
Adherence2,
|
|
5
|
+
BudgetRoutes2,
|
|
6
|
+
findings2,
|
|
7
|
+
addFactTasks2,
|
|
8
|
+
taskLog2,
|
|
9
|
+
Outcomes2,
|
|
10
|
+
promptsFrom2,
|
|
11
|
+
DevOutcomes2
|
|
12
|
+
} from "../index-caep3sde.js";
|
|
13
|
+
import"../index-01z7ycdk.js";
|
|
14
|
+
import"../index-e9z7s5hh.js";
|
|
15
|
+
import"../index-kmzdvvt0.js";
|
|
16
|
+
import"../index-t9w5a8ed.js";
|
|
17
|
+
import"../index-0jttnv86.js";
|
|
18
|
+
import"../index-g18nxyn7.js";
|
|
19
|
+
export {
|
|
20
|
+
Adherence2 as Adherence,
|
|
21
|
+
BudgetRoutes2 as BudgetRoutes,
|
|
22
|
+
CHECKS2 as CHECKS,
|
|
23
|
+
DevOutcomes2 as DevOutcomes,
|
|
24
|
+
Outcomes2 as Outcomes,
|
|
25
|
+
addFactTasks2 as addFactTasks,
|
|
26
|
+
findings2 as findings,
|
|
27
|
+
promptsFrom2 as promptsFrom,
|
|
28
|
+
splatesCalls2 as splatesCalls,
|
|
29
|
+
taskLog2 as taskLog
|
|
30
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Baseline } from "./baselines";
|
|
2
|
+
import type { Outcome } from "./outcomes";
|
|
3
|
+
/** How a merged task went, beside how its project's tasks went the week before. */
|
|
4
|
+
export interface Landed {
|
|
5
|
+
outcome: Outcome;
|
|
6
|
+
/** Its project's tasks over the week to its merge, itself among them; null for none. */
|
|
7
|
+
baseline: Baseline | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The last merge of `task` in `project`, held against the week up to it, so
|
|
11
|
+
* the comparison reads the same however long after it is asked. Null when it
|
|
12
|
+
* never merged there.
|
|
13
|
+
*/
|
|
14
|
+
export declare function landed(outcomes: Outcome[], project: string, task: string): Landed | null;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import type { Device, Entry } from "../conversations";
|
|
2
|
+
import type { Decision } from "../plans";
|
|
3
|
+
import { Prices } from "../prices";
|
|
4
|
+
import type { Event } from "../records";
|
|
5
|
+
import type { Log, Storage } from "../storage";
|
|
6
|
+
import type { DiffSize, MergeFailure, MergeTimes, RemoveReason } from "../tasks";
|
|
7
|
+
import type { Finding } from "./findings";
|
|
8
|
+
import { type TaskUsage } from "./task-log";
|
|
9
|
+
/**
|
|
10
|
+
* Every task that has ended on this machine, across projects, in
|
|
11
|
+
* `~/.splates/outcomes.jsonl`, oldest first. Unlike the journal it is never
|
|
12
|
+
* trimmed: a trend needs months of it, and a line per task stays small.
|
|
13
|
+
*/
|
|
14
|
+
export declare class Outcomes {
|
|
15
|
+
readonly log: Log<Outcome>;
|
|
16
|
+
/**
|
|
17
|
+
* The usage of the turns tasks ended in, which `splates merge` writes its
|
|
18
|
+
* line too early to see; `list` adds each to its task.
|
|
19
|
+
*/
|
|
20
|
+
readonly turns: Log<TurnUsage>;
|
|
21
|
+
/**
|
|
22
|
+
* The merge times and batch membership recovered from the journal; `list` adds each to its task.
|
|
23
|
+
*/
|
|
24
|
+
readonly merges: Log<MergeTimed>;
|
|
25
|
+
/** The API list prices that agents saying no cost of their own are priced at. */
|
|
26
|
+
readonly prices: Prices;
|
|
27
|
+
constructor(
|
|
28
|
+
/** The machine's storage, or a test's own. */
|
|
29
|
+
storage: Storage, prices?: Prices);
|
|
30
|
+
record(outcome: Outcome): Promise<void>;
|
|
31
|
+
list(): Promise<Outcome[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Gives merged tasks missing merge times or batch membership the
|
|
34
|
+
* times of the `merge` event `eventsOf(project)` logged as each landed,
|
|
35
|
+
* written beside the outcomes, as `backfill` writes costs. The event comes
|
|
36
|
+
* just after the outcome, once the worktree is gone, so its run time takes
|
|
37
|
+
* in that cleanup too. A task with no such event, or one from before
|
|
38
|
+
* events kept times, stays untimed; a batch already recovered is skipped on a second run.
|
|
39
|
+
*/
|
|
40
|
+
backfillMerges(eventsOf: (project: string) => Promise<Event[]>): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Prices at the API list price the tasks that ended before splates did, whose
|
|
43
|
+
* tokens say no cost: writes each its cost as a turn beside the outcomes,
|
|
44
|
+
* as `creditTurn` does, leaving alone any whose conversation log
|
|
45
|
+
* `logOf(project, conversation)` no longer finds or whose model has no
|
|
46
|
+
* price. A task priced has a cost, so a second run skips it. Only what the
|
|
47
|
+
* task used by its end is priced, not the turns credited to it after.
|
|
48
|
+
*/
|
|
49
|
+
backfill(logOf: (project: string, conversation: string) => Promise<Log<Entry>>): Promise<void>;
|
|
50
|
+
/** `creditTurn` once `conversation`'s log has taken the whole turn. */
|
|
51
|
+
creditSaved(conversation: {
|
|
52
|
+
id: string;
|
|
53
|
+
saved(): Promise<unknown>;
|
|
54
|
+
}, log: Log<Entry>, since: string, until: string): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Credits the task that `conversation`, logged in `log`, ended last in
|
|
57
|
+
* its turn from `since` to `until` with what the rest of that turn used,
|
|
58
|
+
* once the turn has ended and said it. Several ended in one turn: the
|
|
59
|
+
* last one's is what the turn finished on.
|
|
60
|
+
*/
|
|
61
|
+
creditTurn(conversation: string, log: Log<Entry>, since: string, until: string): Promise<void>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* What the rest of the turn a task ended in used, a line of
|
|
65
|
+
* `~/.splates/outcome-usage.jsonl`, naming its outcome by when it ended.
|
|
66
|
+
*/
|
|
67
|
+
export interface TurnUsage {
|
|
68
|
+
project: string;
|
|
69
|
+
task: string;
|
|
70
|
+
endedAt: string;
|
|
71
|
+
usage: TaskUsage;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The merge times of an outcome that landed before outcomes kept them, a
|
|
75
|
+
* line of `~/.splates/outcome-merges.jsonl`, naming its outcome by when it
|
|
76
|
+
* ended.
|
|
77
|
+
*/
|
|
78
|
+
export interface MergeTimed {
|
|
79
|
+
/** Batch membership recovered from the successful merge event. */
|
|
80
|
+
batch?: string[];
|
|
81
|
+
project: string;
|
|
82
|
+
task: string;
|
|
83
|
+
endedAt: string;
|
|
84
|
+
merge: MergeTimes;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* How one task ended, written as it goes. Its record goes with it, so this is
|
|
88
|
+
* what is left to tell whether tasks are getting easier to land over time.
|
|
89
|
+
*/
|
|
90
|
+
export interface Outcome {
|
|
91
|
+
/** The tasks sharing its successful landing gate, leader first; absent on solo and older merges. */
|
|
92
|
+
batch?: string[];
|
|
93
|
+
/** The main tree of the repository the task was in. */
|
|
94
|
+
project: string;
|
|
95
|
+
task: string;
|
|
96
|
+
/** Where it landed or would have: trunk, or `task/<parent>` for a part. */
|
|
97
|
+
base: string;
|
|
98
|
+
ended: "merged" | "removed";
|
|
99
|
+
/** When it was added, as an ISO timestamp. */
|
|
100
|
+
startedAt: string;
|
|
101
|
+
/** When it was merged or removed, as an ISO timestamp. */
|
|
102
|
+
endedAt: string;
|
|
103
|
+
/** How many times it was handed to a person with questions. */
|
|
104
|
+
questionRounds: number;
|
|
105
|
+
/** How many times it was handed to a person to approve. */
|
|
106
|
+
reviewRounds: number;
|
|
107
|
+
/** Merges that failed on a conflict, the gate, or a base that would not move. */
|
|
108
|
+
failedMerges: number;
|
|
109
|
+
/** `failedMerges` by why each failed. Absent from lines written before it was kept. */
|
|
110
|
+
failedMergesBy?: Partial<Record<MergeFailure, number>>;
|
|
111
|
+
/**
|
|
112
|
+
* How many of its conflicts each file was in, as far as its record kept
|
|
113
|
+
* them. Absent from lines written before it was kept, and when none.
|
|
114
|
+
*/
|
|
115
|
+
conflictedFiles?: Record<string, number>;
|
|
116
|
+
/** The questions its plan asked under `## Blocked`. Absent from older lines. */
|
|
117
|
+
questionsAsked?: number;
|
|
118
|
+
/** Of those, the ones that offered a `(chosen)` pick and were answered with a choice. */
|
|
119
|
+
picksAsked?: number;
|
|
120
|
+
/** Of `picksAsked`, those answered with another choice than the agent's. */
|
|
121
|
+
picksOverturned?: number;
|
|
122
|
+
/** Of `picksAsked`, those answered with the agent's choice but with words added. */
|
|
123
|
+
picksAmended?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Each time the person set the model or effort of a conversation Auto pick
|
|
126
|
+
* started, with the pick it overrode. Absent from older lines, and for a
|
|
127
|
+
* task Auto pick did not start.
|
|
128
|
+
*/
|
|
129
|
+
overrides?: PickOverride[];
|
|
130
|
+
/**
|
|
131
|
+
* Each question its plan asked, with its size and what became of it. Absent from older lines, whose calls the counts above alone keep.
|
|
132
|
+
*/
|
|
133
|
+
decisions?: Decision[];
|
|
134
|
+
/**
|
|
135
|
+
* The `## Outcome` its plan ended on, as markdown: a summary of what
|
|
136
|
+
* changed and any pivot from the goal, a demo to trigger and its
|
|
137
|
+
* verification. Absent from older lines and for a plan with none.
|
|
138
|
+
*/
|
|
139
|
+
outcome?: string;
|
|
140
|
+
/** How long it waited on a person to answer, in milliseconds. Absent from older lines. */
|
|
141
|
+
waitedMs?: number;
|
|
142
|
+
/** Why it was removed, when `splates remove --reason` said; null when merged or unsaid. */
|
|
143
|
+
removedFor?: RemoveReason | null;
|
|
144
|
+
/** For a merge, each commit's message it landed, oldest first. Absent from older lines. */
|
|
145
|
+
commits?: string[];
|
|
146
|
+
/**
|
|
147
|
+
* How many times the person spoke to its conversation from each layout of
|
|
148
|
+
* the page while it ran. Absent from older lines.
|
|
149
|
+
*/
|
|
150
|
+
promptsFrom?: Partial<Record<Device, number>>;
|
|
151
|
+
/**
|
|
152
|
+
* What its own turns used, not the rest of its conversation's, the turn it
|
|
153
|
+
* ended in added from `turns` once `splates server` saw it end. Absent from
|
|
154
|
+
* older lines, for a task with no conversation log to read, and, as read,
|
|
155
|
+
* for one with no tokens out, which never kept the turns that did its work.
|
|
156
|
+
*/
|
|
157
|
+
usage?: TaskUsage;
|
|
158
|
+
/** How long its agent worked, its turns summed, in milliseconds. Absent as `usage` is. */
|
|
159
|
+
workedMs?: number;
|
|
160
|
+
/** How many agent turns it took, the one it ended in among them. Absent as `usage` is, and from older lines. */
|
|
161
|
+
turns?: number;
|
|
162
|
+
/**
|
|
163
|
+
* What made workers cost it until it ended, its slots' share of each
|
|
164
|
+
* worker's hours. Absent when it held no slot on one, and from older lines.
|
|
165
|
+
*/
|
|
166
|
+
workerSpend?: WorkerSpend;
|
|
167
|
+
/** What it landed, or for a removed task, what its branch held. Absent from older lines. */
|
|
168
|
+
size?: DiffSize;
|
|
169
|
+
/** For a merge, how long the merge that landed it queued and ran. Absent from older lines. */
|
|
170
|
+
merge?: MergeTimes;
|
|
171
|
+
/** What went worse than it could have. Absent from older lines, never read as none. */
|
|
172
|
+
findings?: Finding[];
|
|
173
|
+
/** The `splates server` conversation that ended it; null for an external agent. */
|
|
174
|
+
conversation: string | null;
|
|
175
|
+
/** The agent `splates add --agent` handed it to, if any. */
|
|
176
|
+
agent: string | null;
|
|
177
|
+
/** The model it was handed over with, if any. */
|
|
178
|
+
model: string | null;
|
|
179
|
+
}
|
|
180
|
+
/** One time the person moved a conversation off what Auto pick set. */
|
|
181
|
+
export interface PickOverride {
|
|
182
|
+
/** What they changed. */
|
|
183
|
+
aspect: "model" | "effort";
|
|
184
|
+
/** What they set it to. */
|
|
185
|
+
to: string;
|
|
186
|
+
/** When, as an ISO timestamp. */
|
|
187
|
+
at: string;
|
|
188
|
+
/** The index in the rules of the rule whose pick it overrode. */
|
|
189
|
+
rule: number;
|
|
190
|
+
/** The kind and depth the task was taken for; null when unsure. */
|
|
191
|
+
kind: string | null;
|
|
192
|
+
depth: string | null;
|
|
193
|
+
}
|
|
194
|
+
/** What made workers cost one task. */
|
|
195
|
+
export interface WorkerSpend {
|
|
196
|
+
dollars: number;
|
|
197
|
+
/** Slot-hours its agents held on made workers. */
|
|
198
|
+
slotHours: number;
|
|
199
|
+
/** True when counted at the provider's list price, false when from its bill. */
|
|
200
|
+
estimate: boolean;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* How many prompts the person said from each layout in the conversation
|
|
204
|
+
* logged in `log`, from `since` to `until`: a conversation can outlive the
|
|
205
|
+
* task, or come to it already under way.
|
|
206
|
+
*/
|
|
207
|
+
export declare function promptsFrom(log: Log<Entry>, since: string, until: string): Promise<Partial<Record<Device, number>>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Outcome } from "./outcomes";
|
|
2
|
+
/** How often the person moved a conversation off what one Auto pick rule set. */
|
|
3
|
+
export interface RuleOverrides {
|
|
4
|
+
/** The index in the rules of the rule whose pick was overridden. */
|
|
5
|
+
rule: number;
|
|
6
|
+
/** Times overridden, a model and an effort change each counting. */
|
|
7
|
+
count: number;
|
|
8
|
+
/** What it was moved to, most often first. */
|
|
9
|
+
moves: {
|
|
10
|
+
aspect: "model" | "effort";
|
|
11
|
+
to: string;
|
|
12
|
+
count: number;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The overrides in `outcomes` by the rule they overrode, the most overridden
|
|
17
|
+
* first, so a rule the person keeps correcting is easy to find.
|
|
18
|
+
*/
|
|
19
|
+
export declare function overridesByRule(outcomes: readonly Outcome[]): RuleOverrides[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Fs, Ps } from "../../../core/system/index.js";
|
|
2
|
+
import type { Handler } from "../server/shared";
|
|
3
|
+
import { Adherence } from "./adherence";
|
|
4
|
+
/**
|
|
5
|
+
* What the page reads of how tasks ended, from the records every project on
|
|
6
|
+
* this machine shares, so one not open here still counts: the Stats page's
|
|
7
|
+
* sums, and how one merged task went.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DevOutcomes {
|
|
10
|
+
private readonly outcomes;
|
|
11
|
+
/** What `splates server` judged of each conversation as its turns ended. */
|
|
12
|
+
readonly adherence: Adherence;
|
|
13
|
+
constructor({ fs, ps }: {
|
|
14
|
+
fs: Fs;
|
|
15
|
+
ps: Ps;
|
|
16
|
+
});
|
|
17
|
+
/** `?period=` names the period, as `PERIODS` does, or `all` for all time; 7 days for none. `?project=` narrows it to that main tree. */
|
|
18
|
+
readonly stats: Handler;
|
|
19
|
+
/** `?project=` narrows it to that main tree. */
|
|
20
|
+
readonly overrides: Handler;
|
|
21
|
+
/** How `/api/tasks/:task/outcome`'s task went once it merged in `project`; null when it never did. */
|
|
22
|
+
landed(project: string): Handler;
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** One model scry asks at an effort, and the config naming it. */
|
|
2
|
+
export interface ModelChoice {
|
|
3
|
+
effort: string;
|
|
4
|
+
/** The model, or none when no config names one and scry has no default. */
|
|
5
|
+
model: string | null;
|
|
6
|
+
/** The config that names it; none when it is scry's own default. */
|
|
7
|
+
from: string | null;
|
|
8
|
+
}
|
|
9
|
+
/** The models a project's checks ask, per role. */
|
|
10
|
+
export type ScryModels = Record<"som" | "llm", ModelChoice[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Reads which models scry will ask, from the project's `vet.config.ts` and
|
|
13
|
+
* then the user's, which lays its own over the project's, over scry's
|
|
14
|
+
* defaults. A config that cannot load names nothing.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ScryModelsReader {
|
|
17
|
+
#private;
|
|
18
|
+
private readonly root;
|
|
19
|
+
private readonly home;
|
|
20
|
+
constructor(root: string, home?: string);
|
|
21
|
+
read(): Promise<ScryModels>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rules of the splates skill a program can decide, checked over one
|
|
3
|
+
* conversation: what it said and ran, condensed, and what it left behind.
|
|
4
|
+
* `splates server` runs them on its conversations, for the Stats page's pass rate
|
|
5
|
+
* per skill version; the hand-run evals run them on theirs. Rules that take
|
|
6
|
+
* judgment, such as whether a call should have been a question, are left to
|
|
7
|
+
* a model grading the evals.
|
|
8
|
+
*/
|
|
9
|
+
/** Each check's verdicts on one conversation, by its id. */
|
|
10
|
+
export declare function judge(transcript: Transcript): Record<string, Verdict[]>;
|
|
11
|
+
/** A conversation as the checks read it: its own words and acts, in order. */
|
|
12
|
+
export interface Transcript {
|
|
13
|
+
beats: Beat[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One thing said or done. A `user` beat starts a turn. What the agent's
|
|
17
|
+
* subagents did is left out: the rules are the agent's own.
|
|
18
|
+
*/
|
|
19
|
+
export type Beat = {
|
|
20
|
+
kind: "user";
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
/** Words the agent said, one stretch of text between its tool calls. */
|
|
24
|
+
| {
|
|
25
|
+
kind: "say";
|
|
26
|
+
text: string;
|
|
27
|
+
}
|
|
28
|
+
/** A shell command, with the end of what it printed and whether it succeeded. */
|
|
29
|
+
| {
|
|
30
|
+
kind: "run";
|
|
31
|
+
command: string;
|
|
32
|
+
output: string;
|
|
33
|
+
ok: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** Files a tool call wrote or edited. */
|
|
36
|
+
| {
|
|
37
|
+
kind: "edit";
|
|
38
|
+
paths: string[];
|
|
39
|
+
};
|
|
40
|
+
/** How one place a rule applied went. */
|
|
41
|
+
export interface Verdict {
|
|
42
|
+
ok: boolean;
|
|
43
|
+
/** What was checked, and what was found when it failed. */
|
|
44
|
+
why: string;
|
|
45
|
+
}
|
|
46
|
+
/** A rule a program can decide; `judge` returns no verdicts where it does not apply. */
|
|
47
|
+
export interface Check {
|
|
48
|
+
id: string;
|
|
49
|
+
/** The rule, as the Stats page names it. */
|
|
50
|
+
rule: string;
|
|
51
|
+
judge(transcript: Transcript): Verdict[];
|
|
52
|
+
}
|
|
53
|
+
/** Every check, in the order the Stats page lists them. */
|
|
54
|
+
export declare const CHECKS: readonly Check[];
|
|
55
|
+
/** Each `splates` command `command` runs, by its verb and its words after. */
|
|
56
|
+
export declare function splatesCalls(command: string): {
|
|
57
|
+
verb: string;
|
|
58
|
+
args: string[];
|
|
59
|
+
}[];
|