@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,15 @@
|
|
|
1
|
+
import type { Conversations } from "./conversations";
|
|
2
|
+
/** The conversations and saved agent defaults offered to the page. */
|
|
3
|
+
export declare function listing(all: Conversations): Promise<{
|
|
4
|
+
agents: {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
models: {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}[];
|
|
11
|
+
settings: import("./state").Setting[];
|
|
12
|
+
limits: import("./state").Limit[];
|
|
13
|
+
}[];
|
|
14
|
+
conversations: import("./state").ConversationState[];
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type * as acp from "@agentclientprotocol/sdk";
|
|
2
|
+
import { type Eventful } from "../../../core/events/index.js";
|
|
3
|
+
import { type Timer } from "../../../core/time/index.js";
|
|
4
|
+
import type { ProcessHandle } from "../agents";
|
|
5
|
+
import type { Log } from "../storage";
|
|
6
|
+
import type { Entry } from "./entry";
|
|
7
|
+
import { type Ask, type ConversationState } from "./state";
|
|
8
|
+
/** The log format this version reads and writes. */
|
|
9
|
+
export declare const LOG_FORMAT = 1;
|
|
10
|
+
/** What a `ConversationLog` says of its saves. */
|
|
11
|
+
export interface ConversationLogEvents extends Record<string, unknown> {
|
|
12
|
+
/** A save reached the log: `savedThrough` may have moved. */
|
|
13
|
+
saved: undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A conversation's log, an entry each: `write` each entry as it happens,
|
|
17
|
+
* and `replay` the log to read the conversation back.
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConversationLog implements Eventful<ConversationLogEvents> {
|
|
20
|
+
readonly log: Log<Entry>;
|
|
21
|
+
private readonly dispatcher;
|
|
22
|
+
readonly events: import("../../../core/events/index.js").Events<ConversationLogEvents>;
|
|
23
|
+
/** The entries not yet appended to the log, each with its seq. */
|
|
24
|
+
private readonly unsaved;
|
|
25
|
+
private saving;
|
|
26
|
+
private readonly saves;
|
|
27
|
+
/** The seq of the agent's frame being handled; 0 before the first. */
|
|
28
|
+
private seq;
|
|
29
|
+
/** The seq of the last entry the log holds. */
|
|
30
|
+
private lastSaved;
|
|
31
|
+
/** Raised at each new process, so a save of the last one's entries moves no seq of this one's. */
|
|
32
|
+
private process;
|
|
33
|
+
constructor(log: Log<Entry>, timer: Timer);
|
|
34
|
+
/**
|
|
35
|
+
* The highest seq every entry at or under which the log holds: the seq
|
|
36
|
+
* before the first unsaved entry, or the last saved one with none unsaved.
|
|
37
|
+
*/
|
|
38
|
+
get savedThrough(): number;
|
|
39
|
+
/** Stamps what is written from now on with frame `seq`. */
|
|
40
|
+
heard(seq: number): void;
|
|
41
|
+
/**
|
|
42
|
+
* Call as a new process starts in the conversation, before its first
|
|
43
|
+
* frame: `savedThrough` then counts only that process's frames.
|
|
44
|
+
*/
|
|
45
|
+
relaunched(): void;
|
|
46
|
+
/**
|
|
47
|
+
* What the log adds up to, read back: the conversation as its entries
|
|
48
|
+
* left it, stopped, whatever it was doing, unless its process is still
|
|
49
|
+
* out there (`live`), in which case it is left as it stands for whoever
|
|
50
|
+
* takes the process back, or `stopped` once nobody can. Null for a log
|
|
51
|
+
* that does not start one.
|
|
52
|
+
*/
|
|
53
|
+
replay(): Promise<Replayed | null>;
|
|
54
|
+
/**
|
|
55
|
+
* Leaves `replayed` as a conversation whose process is gone: its turn cut
|
|
56
|
+
* short, its commands ended, its question unanswered, and, for one read
|
|
57
|
+
* back live, an `end` so the next read finds it stopped too.
|
|
58
|
+
*/
|
|
59
|
+
stopped(replayed: Replayed, error?: string | null): Promise<void>;
|
|
60
|
+
/** Appends `entry`, with whatever else is written before the next save. */
|
|
61
|
+
write(entry: Entry): void;
|
|
62
|
+
/** Settles once everything written so far is in the log. */
|
|
63
|
+
flush(): Promise<void>;
|
|
64
|
+
/** Deletes the log, once the last save has reached it. */
|
|
65
|
+
remove(): Promise<void>;
|
|
66
|
+
}
|
|
67
|
+
/** What a log read back says of its conversation, beyond its state. */
|
|
68
|
+
export interface Replayed {
|
|
69
|
+
state: ConversationState;
|
|
70
|
+
/** The agent's session, once it opened one. */
|
|
71
|
+
session: string | null;
|
|
72
|
+
/** Explicit requested model, including failed selections. */
|
|
73
|
+
model: string | null;
|
|
74
|
+
/** Original session directory, independent of task moves. */
|
|
75
|
+
sessionCwd: string | null;
|
|
76
|
+
/** Where it runs; null for a log too old to say. */
|
|
77
|
+
cwd: string | null;
|
|
78
|
+
/** Its settings as last set, by id, for the resumed session to match. */
|
|
79
|
+
picks: Record<string, string>;
|
|
80
|
+
/** Its process, still running on a worker; null once it is gone. */
|
|
81
|
+
live: Live | null;
|
|
82
|
+
/** Whether the log says a turn is running. */
|
|
83
|
+
running: boolean;
|
|
84
|
+
/** Whether reading it back cut that turn short, its process being gone. */
|
|
85
|
+
cut?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Whether what was said while it started waits unheard, the server
|
|
88
|
+
* having gone down before its session opened, for the next run to say.
|
|
89
|
+
*/
|
|
90
|
+
unsaid?: boolean;
|
|
91
|
+
/** When the log last said anything happened; null for one that never did. */
|
|
92
|
+
last: string | null;
|
|
93
|
+
}
|
|
94
|
+
/** What a log read back live says of the process to take back. */
|
|
95
|
+
export interface Live {
|
|
96
|
+
handle: ProcessHandle;
|
|
97
|
+
/** The last frame the log holds, for the worker to replay on from. */
|
|
98
|
+
held: number;
|
|
99
|
+
/** The highest request id this side sent, past which the next stream numbers its own. */
|
|
100
|
+
lastId: number;
|
|
101
|
+
/** The prompt request still open, by its id; null when no turn waits on one. */
|
|
102
|
+
prompt: number | null;
|
|
103
|
+
/** What the agent is asking, and the request id to answer it on, when known; null for nothing. */
|
|
104
|
+
ask: {
|
|
105
|
+
rpc: acp.JsonRpcId | null;
|
|
106
|
+
ask: Ask;
|
|
107
|
+
} | null;
|
|
108
|
+
/** Whether the agent takes a prompt into its running turn. */
|
|
109
|
+
steers: boolean;
|
|
110
|
+
/** Whether the agent takes images in a prompt. */
|
|
111
|
+
sees: boolean;
|
|
112
|
+
/** Whether the agent has said a turn ended, so one it starts can end. */
|
|
113
|
+
tells: boolean;
|
|
114
|
+
/** Whether the agent says on its session list when a turn ends. */
|
|
115
|
+
follows: boolean;
|
|
116
|
+
}
|
|
117
|
+
export type { Entry } from "./entry";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Attached, ConversationState, Image, Message, Sent } from "./state";
|
|
2
|
+
/** What the person said, `at`: what they sent with it, then their words. */
|
|
3
|
+
export declare function said(text: string, at: string | null, sent?: Sent[]): Message;
|
|
4
|
+
/** How many of `messages` went out, as the thread shows them. */
|
|
5
|
+
export declare function sent(messages: Message[]): number;
|
|
6
|
+
/** A prompt entry's images and files, each left out of the log when there are none. */
|
|
7
|
+
export declare function shown(sent: Sent[]): {
|
|
8
|
+
images?: Image[];
|
|
9
|
+
files?: Attached[];
|
|
10
|
+
};
|
|
11
|
+
/** The words of `message`, without what was sent with them. */
|
|
12
|
+
export declare function textOf(message: Message): string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the person's last word to the conversation was its checkpoint, so
|
|
15
|
+
* `[SPLATES RESUME]` carries it on.
|
|
16
|
+
*/
|
|
17
|
+
export declare function paused({ messages }: ConversationState): boolean;
|
|
18
|
+
/** Marks up to `count` queued messages as gone out, all by default. */
|
|
19
|
+
export declare function delivered(messages: Message[], count?: number, at?: string): void;
|
|
20
|
+
/** Removes the `index`th queued message, returning it if there was one. */
|
|
21
|
+
export declare function takeBack(messages: Message[], index: number): Message | null;
|
|
22
|
+
/** What an error says, whether it is an `Error` or only shaped like one. */
|
|
23
|
+
export declare function messageOf(error: unknown): string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { LaneRecord } from "../board";
|
|
2
|
+
import type { ConversationState } from "./state";
|
|
3
|
+
/**
|
|
4
|
+
* What a conversation goes by: its real name (see `realName`), else a
|
|
5
|
+
* stand-in until it has one: the first line of what the person first said,
|
|
6
|
+
* else "Not started".
|
|
7
|
+
*/
|
|
8
|
+
export declare function nameOf(conversation: ConversationState, lanes: readonly LaneRecord[]): string;
|
|
9
|
+
/**
|
|
10
|
+
* The name a conversation has earned, or null: the name the person gave it,
|
|
11
|
+
* else the lanes it was started on, so an orchestrator's follows a lane's
|
|
12
|
+
* renames and keeps them through a task it does itself, else "Groomer" for
|
|
13
|
+
* the project's groomer (see `grooms`), else the task its
|
|
14
|
+
* agent holds, so it follows the agent from task to task, or held last, so a
|
|
15
|
+
* finished task keeps its name until the agent takes another, else the
|
|
16
|
+
* agent's title.
|
|
17
|
+
*/
|
|
18
|
+
export declare function realName(conversation: ConversationState, lanes: readonly LaneRecord[]): string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Whether a conversation goes by the task its agent holds or held last, as
|
|
21
|
+
* `nameOf` names it.
|
|
22
|
+
*/
|
|
23
|
+
export declare function namedForTask(conversation: ConversationState): boolean;
|
|
24
|
+
/** The persistent agent's role the project's groomer is kept for. */
|
|
25
|
+
export declare const GROOMER_ROLE = "groomer";
|
|
26
|
+
/**
|
|
27
|
+
* Whether a conversation is the project's groomer: kept for its role, or,
|
|
28
|
+
* from before persistent agents, opened on `[SPLATES GROOM #N]`.
|
|
29
|
+
*/
|
|
30
|
+
export declare function grooms(conversation: ConversationState): boolean;
|
|
31
|
+
/** What each `[SPLATES LANE ...]` the person's first words start with names. */
|
|
32
|
+
export declare function lanesOf(conversation: ConversationState): string[];
|
|
33
|
+
/**
|
|
34
|
+
* The first line the person said in a conversation, or null before they say
|
|
35
|
+
* any, past the `[SPLATES AUTO]` an Auto start led its first prompt with
|
|
36
|
+
* before Auto went.
|
|
37
|
+
*/
|
|
38
|
+
export declare function openingOf(conversation: ConversationState): string | null;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { IdProvider } from "../../../core/id/index.js";
|
|
2
|
+
import type { Fs, Lock } from "../../../core/system/index.js";
|
|
3
|
+
import type { Timer, WallClock } from "../../../core/time/index.js";
|
|
4
|
+
import type { Agent, Launch, Launcher, SessionServers, Watch } from "../agents";
|
|
5
|
+
import type { ArtifactLimits } from "../artifacts";
|
|
6
|
+
import type { Limits, Offered } from "../models";
|
|
7
|
+
import type { Prices } from "../prices";
|
|
8
|
+
import type { Spend } from "../spend";
|
|
9
|
+
import type { Adherence, Outcomes } from "../stats";
|
|
10
|
+
import type { Storage } from "../storage";
|
|
11
|
+
import type { WorkerMachine } from "../workers";
|
|
12
|
+
import type { ConversationPlacer, ProjectRoster } from "./host";
|
|
13
|
+
import type { Limit } from "./state";
|
|
14
|
+
export interface ConversationsOptions {
|
|
15
|
+
/** The ledger each finished turn's dollars are added to, priced at `prices`; none keeps no ledger. */
|
|
16
|
+
spend?: {
|
|
17
|
+
ledger: Spend;
|
|
18
|
+
prices: Prices;
|
|
19
|
+
};
|
|
20
|
+
fs?: Fs;
|
|
21
|
+
/** Kimi Code's home (`~/.kimi-code`), whose session logs supply its tokens. */
|
|
22
|
+
kimiHome?: string;
|
|
23
|
+
/** Where the conversations are kept; the files in `dir`, on `fs`, by default. */
|
|
24
|
+
storage?: Storage;
|
|
25
|
+
/** How many bytes of artifacts each may keep; `ARTIFACT_LIMITS` by default. */
|
|
26
|
+
artifacts?: ArtifactLimits;
|
|
27
|
+
ids?: IdProvider;
|
|
28
|
+
/** What starts agents, when nothing takes one back after a restart; this process by default. */
|
|
29
|
+
launch?: Launch;
|
|
30
|
+
/** What starts agents and takes them back after a restart, over `launch`: a worker. */
|
|
31
|
+
launcher?: Launcher;
|
|
32
|
+
/**
|
|
33
|
+
* Where each agent waits for a place on a worker, which it then starts
|
|
34
|
+
* on: one another agent started for a free one, one the person started
|
|
35
|
+
* for any worker up. With none, every one starts at once on `launcher`.
|
|
36
|
+
*/
|
|
37
|
+
placer?: ConversationPlacer;
|
|
38
|
+
/**
|
|
39
|
+
* Where agents run, which their background output is read from; this
|
|
40
|
+
* machine by default.
|
|
41
|
+
*/
|
|
42
|
+
machine?: WorkerMachine;
|
|
43
|
+
/**
|
|
44
|
+
* Held while each agent starts, shared by every project's conversations
|
|
45
|
+
* so no two start at once; one of their own by default.
|
|
46
|
+
*/
|
|
47
|
+
starting?: Lock;
|
|
48
|
+
timer?: Timer;
|
|
49
|
+
clock?: WallClock;
|
|
50
|
+
/** What watches the agents' commands for what they do to git; none by default. */
|
|
51
|
+
watch?: Watch | null;
|
|
52
|
+
/** Where what each agent's sessions offer is kept across projects; nowhere by default. */
|
|
53
|
+
offered?: Offered | null;
|
|
54
|
+
/** Where each agent's plan limits are kept across projects; nowhere by default. */
|
|
55
|
+
limits?: Limits | null;
|
|
56
|
+
/**
|
|
57
|
+
* Where how each conversation followed the splates skill is kept across
|
|
58
|
+
* projects, judged as each turn ends; nowhere by default.
|
|
59
|
+
*/
|
|
60
|
+
adherence?: Adherence | null;
|
|
61
|
+
/**
|
|
62
|
+
* Where how each task ended is kept across projects, credited with the
|
|
63
|
+
* turn it ended in once that turn ends; nowhere by default.
|
|
64
|
+
*/
|
|
65
|
+
outcomes?: Outcomes | null;
|
|
66
|
+
/**
|
|
67
|
+
* Asks an agent that does not send its plan's windows for them, after
|
|
68
|
+
* each of its turns; none by default.
|
|
69
|
+
*/
|
|
70
|
+
readLimits?: ((agent: Agent) => Promise<Limit[]>) | null;
|
|
71
|
+
/**
|
|
72
|
+
* The main tree, where a conversation carries on once its task's worktree
|
|
73
|
+
* is gone, as when the task landed while `splates server` was not there to hear
|
|
74
|
+
* of it; without it, such a conversation cannot resume.
|
|
75
|
+
*/
|
|
76
|
+
root?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* The splates projects on this machine, for a prompt's `#slug` to name one
|
|
79
|
+
* by; none by default.
|
|
80
|
+
*/
|
|
81
|
+
projects?: ProjectRoster | null;
|
|
82
|
+
/**
|
|
83
|
+
* The MCP servers each session is offered, beyond the agent's own, shared
|
|
84
|
+
* across projects like the browser they serve; none by default.
|
|
85
|
+
*/
|
|
86
|
+
servers?: SessionServers | null;
|
|
87
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Lock } from "../../../core/system/index.js";
|
|
2
|
+
import type { Timer } from "../../../core/time/index.js";
|
|
3
|
+
import { type Agent, type Launcher, type Session } from "../agents";
|
|
4
|
+
import type { Conversation } from "./conversation";
|
|
5
|
+
/**
|
|
6
|
+
* The sessions `agents` hold in `cwd` outside splates, the latest first:
|
|
7
|
+
* those none of `known` has brought in. An agent that cannot list its
|
|
8
|
+
* sessions lists none.
|
|
9
|
+
*/
|
|
10
|
+
export declare function outside(known: readonly Conversation[], agents: readonly Agent[], cwd: string, { launch, timer, starting, }: {
|
|
11
|
+
launch: Launcher["launch"];
|
|
12
|
+
timer: Timer;
|
|
13
|
+
starting: Lock;
|
|
14
|
+
}): Promise<Session[]>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Everywhere } from "../projects";
|
|
2
|
+
import type { Project } from "../server/shared";
|
|
3
|
+
import type { Conversations } from "./conversations";
|
|
4
|
+
import { type ConversationsHeard } from "./stream";
|
|
5
|
+
/**
|
|
6
|
+
* How a project's page talks to agents: starting, prompting and steering its
|
|
7
|
+
* conversations, and hearing each change to them as it streams. Spread its
|
|
8
|
+
* handlers into the project's routes, as `serveProject` does.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ConversationRoutes {
|
|
11
|
+
#private;
|
|
12
|
+
constructor(project: Project | null, conversations: Conversations | null, everywhere?: Everywhere | null, scratchRoot?: string | null);
|
|
13
|
+
/**
|
|
14
|
+
* Tells `heard` of each change a page's stream hears, at the same beat,
|
|
15
|
+
* until the returned function is called.
|
|
16
|
+
*/
|
|
17
|
+
listen(heard: ConversationsHeard): () => void;
|
|
18
|
+
held(): Conversations;
|
|
19
|
+
/**
|
|
20
|
+
* Asks every conversation at work for a checkpoint, or only those `only`
|
|
21
|
+
* names by id, without waiting on the agents, passing over the idle ones,
|
|
22
|
+
* whose turn has ended already: one whose task is merging
|
|
23
|
+
* gets to finish the merge first. While one is still asked, the
|
|
24
|
+
* checkpoint under way stands, and nothing is asked again. Answers with
|
|
25
|
+
* what settles as each asked answers. With `budget`, a worker budget
|
|
26
|
+
* hard stop's reason, it asks those `only` names for the budget, beside
|
|
27
|
+
* any checkpoint under way.
|
|
28
|
+
*/
|
|
29
|
+
readonly checkpoint: (only?: string[], budget?: string | null) => Promise<Promise<void>[]>;
|
|
30
|
+
/** Asks the agents that do not send their limits for them, now and then. */
|
|
31
|
+
readonly refreshLimits: () => Promise<Response>;
|
|
32
|
+
/** Saves a setting a new conversation's agent starts with, before one starts. */
|
|
33
|
+
readonly chooseDefault: (request: Request) => Promise<Response>;
|
|
34
|
+
readonly listConversations: () => Promise<Response>;
|
|
35
|
+
/**
|
|
36
|
+
* What every conversation says of `?q=`'s words, by its id, for ⌘K: a
|
|
37
|
+
* listing's summaries leave most of the words out.
|
|
38
|
+
*/
|
|
39
|
+
readonly searchConversations: (request: Request) => Promise<Response>;
|
|
40
|
+
/** One conversation whole, as a listing sends only summaries. */
|
|
41
|
+
readonly showConversation: (request: Request) => Promise<Response>;
|
|
42
|
+
/** The tree a terminal opens in: `?task=`'s worktree, or the main tree. */
|
|
43
|
+
readonly terminalTree: (request: Request) => Promise<string>;
|
|
44
|
+
readonly startConversation: (request: Request) => Promise<Response>;
|
|
45
|
+
/**
|
|
46
|
+
* The sessions the agents hold in `?task=`'s tree that no conversation
|
|
47
|
+
* does, such as ones started in their CLI, to bring in.
|
|
48
|
+
*/
|
|
49
|
+
readonly listSessions: (request: Request) => Promise<Response>;
|
|
50
|
+
/** Brings in a session an agent holds, as a conversation in `task`'s tree. */
|
|
51
|
+
readonly bringSession: (request: Request) => Promise<Response>;
|
|
52
|
+
readonly moveConversation: (request: Request) => Promise<Response>;
|
|
53
|
+
readonly promptConversation: (request: Request) => Promise<Response>;
|
|
54
|
+
/**
|
|
55
|
+
* The person allows the agent's run-command card that runs the whole test
|
|
56
|
+
* suite: one run of it, outside a merge's gate. The card's Allow then
|
|
57
|
+
* tells the agent, as for any command.
|
|
58
|
+
*/
|
|
59
|
+
readonly approveSuite: (request: Request) => Promise<Response>;
|
|
60
|
+
readonly conversationAttachment: (request: Request) => Promise<Response>;
|
|
61
|
+
readonly conversationArtifact: (request: Request) => Promise<Response>;
|
|
62
|
+
readonly answerConversation: (request: Request) => Promise<Response>;
|
|
63
|
+
readonly cancelConversation: (request: Request) => Promise<Response>;
|
|
64
|
+
/**
|
|
65
|
+
* Checkpoints a running agent for the person and leaves it stopped,
|
|
66
|
+
* answering without waiting on the agent; one whose task is merging gets
|
|
67
|
+
* to finish the merge first.
|
|
68
|
+
*/
|
|
69
|
+
readonly pauseConversation: (request: Request) => Promise<Response>;
|
|
70
|
+
/**
|
|
71
|
+
* Starts a conversation's agent again in a new session on its task,
|
|
72
|
+
* answering once it is told to claim the task.
|
|
73
|
+
*/
|
|
74
|
+
readonly restartConversation: (request: Request) => Promise<Response>;
|
|
75
|
+
/**
|
|
76
|
+
* Takes a conversation off its task, its agent stopped, for another to
|
|
77
|
+
* take on, answering with the prompt that has the next one claim it.
|
|
78
|
+
*/
|
|
79
|
+
readonly handOffConversation: (request: Request) => Promise<Response>;
|
|
80
|
+
/** What a background command prints, as it prints it, until it ends. */
|
|
81
|
+
readonly backgroundOutput: (request: Request) => Promise<Response>;
|
|
82
|
+
readonly stopBackground: (request: Request) => Promise<Response>;
|
|
83
|
+
readonly unqueueConversation: (request: Request) => Promise<Response>;
|
|
84
|
+
readonly sendQueuedNow: (request: Request) => Promise<Response>;
|
|
85
|
+
readonly chooseSetting: (request: Request) => Promise<Response>;
|
|
86
|
+
readonly switchAutoPick: (request: Request) => Promise<Response>;
|
|
87
|
+
readonly renameConversation: (request: Request) => Promise<Response>;
|
|
88
|
+
readonly markUnread: (request: Request) => Promise<Response>;
|
|
89
|
+
readonly markRead: (request: Request) => Promise<Response>;
|
|
90
|
+
readonly pinConversation: (request: Request) => Promise<Response>;
|
|
91
|
+
readonly reparentConversation: (request: Request) => Promise<Response>;
|
|
92
|
+
readonly archiveConversation: (request: Request) => Promise<Response>;
|
|
93
|
+
readonly addArtifact: (request: Request) => Promise<Response>;
|
|
94
|
+
readonly removeArtifact: (request: Request) => Promise<Response>;
|
|
95
|
+
readonly deleteArtifactVersion: (request: Request) => Promise<Response>;
|
|
96
|
+
readonly conversationEvents: () => Promise<Response>;
|
|
97
|
+
disposeAsync(): Promise<void>;
|
|
98
|
+
/** Where a conversation for `task` runs, as `treeOf` says. */
|
|
99
|
+
private treeFor;
|
|
100
|
+
/** The project task-only routes work on, never General's null one. */
|
|
101
|
+
private projectService;
|
|
102
|
+
/**
|
|
103
|
+
* Whether a task landing on `base` is a part of `task`, or a part of one
|
|
104
|
+
* of its parts, following each base back while it is a task's branch.
|
|
105
|
+
*/
|
|
106
|
+
private isPartOf;
|
|
107
|
+
/** The conversation a `/api/conversations/<id>` path names. */
|
|
108
|
+
private conversationAt;
|
|
109
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ConversationState } from "./state";
|
|
2
|
+
/**
|
|
3
|
+
* What a conversation's words hold of a search: a line around the first
|
|
4
|
+
* place each word is found in them, by the word. Words it lacks are left out.
|
|
5
|
+
*/
|
|
6
|
+
export type Said = Record<string, string>;
|
|
7
|
+
/** The words a search of `query` matches, each lowercase, every one needed. */
|
|
8
|
+
export declare function wordsOf(query: string): string[];
|
|
9
|
+
/**
|
|
10
|
+
* What `state`'s messages say of `words`, for ⌘K to match where a listing's
|
|
11
|
+
* summary has left the words out; null when they say none of them.
|
|
12
|
+
*/
|
|
13
|
+
export declare function saidIn(state: ConversationState, words: string[]): Said | null;
|
|
14
|
+
/** One line of `body` around `length` characters at `at`. */
|
|
15
|
+
export declare function snippetOf(body: string, at: number, length: number): string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Used } from "../spend";
|
|
2
|
+
import type { Conversation } from "./conversation";
|
|
3
|
+
import type { ProjectRoster } from "./host";
|
|
4
|
+
import type { ConversationsOptions } from "./options";
|
|
5
|
+
import type { ConversationState } from "./state";
|
|
6
|
+
/**
|
|
7
|
+
* Adds the dollars the turn that took `conversation` from `before` cost to
|
|
8
|
+
* `spend`'s ledger, under the project whose main tree is `root`, or the
|
|
9
|
+
* conversation's own tree.
|
|
10
|
+
*/
|
|
11
|
+
export declare function spent(spend: NonNullable<ConversationsOptions["spend"]>, conversation: Conversation, { before, turnsBefore, root, projects, }: {
|
|
12
|
+
before: Used;
|
|
13
|
+
/** How many turns OpenCode had said it ran before it. */
|
|
14
|
+
turnsBefore: number;
|
|
15
|
+
root: string | null;
|
|
16
|
+
projects: ProjectRoster | null;
|
|
17
|
+
}): Promise<void>;
|
|
18
|
+
/** What `state` has used so far, for pricing the turn between two such readings. */
|
|
19
|
+
export declare function usedOf(state: ConversationState): Used;
|