@stringsync/splates 0.0.60 → 1.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/artifact.d.ts +2 -2
- package/blockers.d.ts +1 -1
- package/config.d.ts +12 -0
- package/config.js +0 -0
- package/creds.d.ts +2 -2
- package/evals.d.ts +2 -2
- package/flags.d.ts +4 -4
- package/handoff.d.ts +3 -4
- package/hook.d.ts +2 -2
- package/index.js +108 -108
- package/lane.d.ts +2 -2
- package/mirror.d.ts +14 -0
- package/mirror.js +22 -0
- package/package.json +12 -4
- package/projects.d.ts +2 -2
- package/queue.d.ts +2 -2
- package/replica.d.ts +2 -2
- package/server.d.ts +2 -2
- package/setup.d.ts +2 -2
- package/ship.d.ts +2 -2
- package/slots.d.ts +2 -2
- package/splates.d.ts +2 -2
- package/task.d.ts +2 -2
- package/tunnel.d.ts +2 -2
- package/vendor/@stringsync/splates-server/LICENSE +21 -0
- package/vendor/@stringsync/splates-server/age.d.ts +2 -0
- package/vendor/@stringsync/splates-server/agents/acp-extensions.d.ts +92 -0
- package/vendor/@stringsync/splates-server/agents/agents.d.ts +19 -0
- package/vendor/@stringsync/splates-server/agents/compaction.d.ts +17 -0
- package/vendor/@stringsync/splates-server/agents/connection.d.ts +191 -0
- package/vendor/@stringsync/splates-server/agents/errors.d.ts +8 -0
- package/vendor/@stringsync/splates-server/agents/fold.d.ts +45 -0
- package/vendor/@stringsync/splates-server/agents/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/agents/index.js +60 -0
- package/vendor/@stringsync/splates-server/agents/process.d.ts +67 -0
- package/vendor/@stringsync/splates-server/agents/scratch.d.ts +7 -0
- package/vendor/@stringsync/splates-server/agents/shared-browser.d.ts +47 -0
- package/vendor/@stringsync/splates-server/agents/start-lock.d.ts +24 -0
- package/vendor/@stringsync/splates-server/agents/stream.d.ts +91 -0
- package/vendor/@stringsync/splates-server/agents/tool-calls.d.ts +18 -0
- package/vendor/@stringsync/splates-server/agents/watch.d.ts +46 -0
- package/vendor/@stringsync/splates-server/agents/watched.d.ts +43 -0
- package/vendor/@stringsync/splates-server/artifacts/artifact.d.ts +33 -0
- package/vendor/@stringsync/splates-server/artifacts/artifacts.d.ts +162 -0
- package/vendor/@stringsync/splates-server/artifacts/attach.d.ts +31 -0
- package/vendor/@stringsync/splates-server/artifacts/attachments.d.ts +50 -0
- package/vendor/@stringsync/splates-server/artifacts/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/artifacts/index.js +38 -0
- package/vendor/@stringsync/splates-server/artifacts/room.d.ts +46 -0
- package/vendor/@stringsync/splates-server/artifacts/routes.d.ts +22 -0
- package/vendor/@stringsync/splates-server/artifacts/viewers.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/classes.d.ts +29 -0
- package/vendor/@stringsync/splates-server/auto-pick/classify.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/clef.d.ts +15 -0
- package/vendor/@stringsync/splates-server/auto-pick/decide.d.ts +78 -0
- package/vendor/@stringsync/splates-server/auto-pick/defaults.d.ts +3 -0
- package/vendor/@stringsync/splates-server/auto-pick/follow-up.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/index.d.ts +24 -0
- package/vendor/@stringsync/splates-server/auto-pick/jev.d.ts +38 -0
- package/vendor/@stringsync/splates-server/auto-pick/judge.d.ts +21 -0
- package/vendor/@stringsync/splates-server/auto-pick/judged.d.ts +33 -0
- package/vendor/@stringsync/splates-server/auto-pick/key.d.ts +6 -0
- package/vendor/@stringsync/splates-server/auto-pick/lift.d.ts +18 -0
- package/vendor/@stringsync/splates-server/auto-pick/queue.d.ts +30 -0
- package/vendor/@stringsync/splates-server/auto-pick/rank.d.ts +10 -0
- package/vendor/@stringsync/splates-server/auto-pick/record.d.ts +19 -0
- package/vendor/@stringsync/splates-server/auto-pick/routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/rule-names.d.ts +9 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules-routes.d.ts +49 -0
- package/vendor/@stringsync/splates-server/auto-pick/rules.d.ts +97 -0
- package/vendor/@stringsync/splates-server/auto-pick/start.d.ts +79 -0
- package/vendor/@stringsync/splates-server/auto-pick/store.d.ts +25 -0
- package/vendor/@stringsync/splates-server/auto-pick/system-one.d.ts +60 -0
- package/vendor/@stringsync/splates-server/auto-pick/trial.d.ts +32 -0
- package/vendor/@stringsync/splates-server/board/backlog.d.ts +4 -0
- package/vendor/@stringsync/splates-server/board/blocked-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/board/browser.d.ts +8 -0
- package/vendor/@stringsync/splates-server/board/change-lane.d.ts +12 -0
- package/vendor/@stringsync/splates-server/board/deferral.d.ts +87 -0
- package/vendor/@stringsync/splates-server/board/elsewhere-links.d.ts +26 -0
- package/vendor/@stringsync/splates-server/board/elsewhere.d.ts +119 -0
- package/vendor/@stringsync/splates-server/board/index.d.ts +21 -0
- package/vendor/@stringsync/splates-server/board/index.js +112 -0
- package/vendor/@stringsync/splates-server/board/lane.d.ts +69 -0
- package/vendor/@stringsync/splates-server/board/lanes-from-tags.d.ts +17 -0
- package/vendor/@stringsync/splates-server/board/lanes.d.ts +117 -0
- package/vendor/@stringsync/splates-server/board/routes.d.ts +54 -0
- package/vendor/@stringsync/splates-server/board/store.d.ts +74 -0
- package/vendor/@stringsync/splates-server/board/task-edit.d.ts +81 -0
- package/vendor/@stringsync/splates-server/board/task-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/board/task-journal.d.ts +9 -0
- package/vendor/@stringsync/splates-server/board/task-lanes.d.ts +95 -0
- package/vendor/@stringsync/splates-server/board/task-list.d.ts +40 -0
- package/vendor/@stringsync/splates-server/board/task.d.ts +301 -0
- package/vendor/@stringsync/splates-server/board/tasks.d.ts +172 -0
- package/vendor/@stringsync/splates-server/chunk-files-jkqj87yx.js +14 -0
- package/vendor/@stringsync/splates-server/chunk-maps-mnjqydx4.txt +1 -0
- package/vendor/@stringsync/splates-server/chunks-3jkzx1q9.txt +1 -0
- package/vendor/@stringsync/splates-server/comma-list.d.ts +2 -0
- package/vendor/@stringsync/splates-server/comma-list.js +6 -0
- package/vendor/@stringsync/splates-server/config/browser.d.ts +1 -0
- package/vendor/@stringsync/splates-server/config/config.d.ts +210 -0
- package/vendor/@stringsync/splates-server/config/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/config/index.js +42 -0
- package/vendor/@stringsync/splates-server/config/legacy-names.d.ts +70 -0
- package/vendor/@stringsync/splates-server/config/legacy-ps.d.ts +32 -0
- package/vendor/@stringsync/splates-server/config/load.d.ts +46 -0
- package/vendor/@stringsync/splates-server/config/source.d.ts +7 -0
- package/vendor/@stringsync/splates-server/config/type-config.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/answered.d.ts +7 -0
- package/vendor/@stringsync/splates-server/conversations/archive.d.ts +16 -0
- package/vendor/@stringsync/splates-server/conversations/background.d.ts +21 -0
- package/vendor/@stringsync/splates-server/conversations/browser.d.ts +12 -0
- package/vendor/@stringsync/splates-server/conversations/choice.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/compact.d.ts +6 -0
- package/vendor/@stringsync/splates-server/conversations/conversation.d.ts +420 -0
- package/vendor/@stringsync/splates-server/conversations/conversations.d.ts +181 -0
- package/vendor/@stringsync/splates-server/conversations/entry.d.ts +286 -0
- package/vendor/@stringsync/splates-server/conversations/events.d.ts +36 -0
- package/vendor/@stringsync/splates-server/conversations/files.d.ts +62 -0
- package/vendor/@stringsync/splates-server/conversations/given.d.ts +18 -0
- package/vendor/@stringsync/splates-server/conversations/heard.d.ts +8 -0
- package/vendor/@stringsync/splates-server/conversations/host.d.ts +176 -0
- package/vendor/@stringsync/splates-server/conversations/index.d.ts +22 -0
- package/vendor/@stringsync/splates-server/conversations/index.js +80 -0
- package/vendor/@stringsync/splates-server/conversations/listing.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/log.d.ts +117 -0
- package/vendor/@stringsync/splates-server/conversations/messages.d.ts +23 -0
- package/vendor/@stringsync/splates-server/conversations/name.d.ts +38 -0
- package/vendor/@stringsync/splates-server/conversations/options.d.ts +87 -0
- package/vendor/@stringsync/splates-server/conversations/outside.d.ts +14 -0
- package/vendor/@stringsync/splates-server/conversations/reference.d.ts +2 -0
- package/vendor/@stringsync/splates-server/conversations/routes.d.ts +109 -0
- package/vendor/@stringsync/splates-server/conversations/search.d.ts +15 -0
- package/vendor/@stringsync/splates-server/conversations/spent.d.ts +19 -0
- package/vendor/@stringsync/splates-server/conversations/state.d.ts +606 -0
- package/vendor/@stringsync/splates-server/conversations/stream.d.ts +34 -0
- package/vendor/@stringsync/splates-server/conversations/transcript.d.ts +9 -0
- package/vendor/@stringsync/splates-server/conversations/tree.d.ts +11 -0
- package/vendor/@stringsync/splates-server/conversations/turn-end.d.ts +30 -0
- package/vendor/@stringsync/splates-server/conversations/turns.d.ts +134 -0
- package/vendor/@stringsync/splates-server/conversations/updates.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/creds.d.ts +86 -0
- package/vendor/@stringsync/splates-server/creds/index.d.ts +6 -0
- package/vendor/@stringsync/splates-server/creds/index.js +28 -0
- package/vendor/@stringsync/splates-server/creds/key-file.d.ts +21 -0
- package/vendor/@stringsync/splates-server/creds/requests.d.ts +54 -0
- package/vendor/@stringsync/splates-server/creds/routes.d.ts +16 -0
- package/vendor/@stringsync/splates-server/creds/stores.d.ts +37 -0
- package/vendor/@stringsync/splates-server/dictate/connection.d.ts +18 -0
- package/vendor/@stringsync/splates-server/dictate/dictate.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/index.d.ts +4 -0
- package/vendor/@stringsync/splates-server/dictate/personal.d.ts +26 -0
- package/vendor/@stringsync/splates-server/dictate/transcriber.d.ts +16 -0
- package/vendor/@stringsync/splates-server/dictate/vocabulary.d.ts +12 -0
- package/vendor/@stringsync/splates-server/evals/agents-routes.d.ts +27 -0
- package/vendor/@stringsync/splates-server/evals/agents.d.ts +25 -0
- package/vendor/@stringsync/splates-server/evals/contract.d.ts +73 -0
- package/vendor/@stringsync/splates-server/evals/done.d.ts +11 -0
- package/vendor/@stringsync/splates-server/evals/import.d.ts +10 -0
- package/vendor/@stringsync/splates-server/evals/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/evals/index.js +40 -0
- package/vendor/@stringsync/splates-server/evals/inspect.d.ts +66 -0
- package/vendor/@stringsync/splates-server/evals/launch-routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/launch.d.ts +123 -0
- package/vendor/@stringsync/splates-server/evals/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/evals/store.d.ts +17 -0
- package/vendor/@stringsync/splates-server/evals/target.d.ts +3 -0
- package/vendor/@stringsync/splates-server/evals/types.d.ts +105 -0
- package/vendor/@stringsync/splates-server/exit.d.ts +55 -0
- package/vendor/@stringsync/splates-server/exit.js +12 -0
- package/vendor/@stringsync/splates-server/git-identity.d.ts +17 -0
- package/vendor/@stringsync/splates-server/git-process.d.ts +8 -0
- package/vendor/@stringsync/splates-server/git.d.ts +168 -0
- package/vendor/@stringsync/splates-server/hooks/commands.d.ts +31 -0
- package/vendor/@stringsync/splates-server/hooks/edit.d.ts +24 -0
- package/vendor/@stringsync/splates-server/hooks/events.d.ts +20 -0
- package/vendor/@stringsync/splates-server/hooks/groomer.d.ts +8 -0
- package/vendor/@stringsync/splates-server/hooks/index.d.ts +17 -0
- package/vendor/@stringsync/splates-server/hooks/index.js +61 -0
- package/vendor/@stringsync/splates-server/hooks/now.d.ts +9 -0
- package/vendor/@stringsync/splates-server/hooks/routes.d.ts +39 -0
- package/vendor/@stringsync/splates-server/hooks/runner.d.ts +75 -0
- package/vendor/@stringsync/splates-server/hooks/runs.d.ts +38 -0
- package/vendor/@stringsync/splates-server/hooks/schedule.d.ts +10 -0
- package/vendor/@stringsync/splates-server/hooks/scheduler.d.ts +28 -0
- package/vendor/@stringsync/splates-server/hooks/store.d.ts +110 -0
- package/vendor/@stringsync/splates-server/index-01z7ycdk.js +6 -0
- package/vendor/@stringsync/splates-server/index-0jttnv86.js +1309 -0
- package/vendor/@stringsync/splates-server/index-5axhdy8c.js +692 -0
- package/vendor/@stringsync/splates-server/index-76t8y8h5.js +779 -0
- package/vendor/@stringsync/splates-server/index-7s01973c.js +2356 -0
- package/vendor/@stringsync/splates-server/index-acbcm66f.js +1468 -0
- package/vendor/@stringsync/splates-server/index-caep3sde.js +27140 -0
- package/vendor/@stringsync/splates-server/index-e9z7s5hh.js +641 -0
- package/vendor/@stringsync/splates-server/index-g18nxyn7.js +99 -0
- package/vendor/@stringsync/splates-server/index-kmzdvvt0.js +23 -0
- package/vendor/@stringsync/splates-server/index-raqrwzdq.js +952 -0
- package/vendor/@stringsync/splates-server/index-t9w5a8ed.js +60 -0
- package/vendor/@stringsync/splates-server/limited.d.ts +8 -0
- package/vendor/@stringsync/splates-server/log.d.ts +14 -0
- package/vendor/@stringsync/splates-server/log.js +32 -0
- package/vendor/@stringsync/splates-server/merge/attribution.d.ts +24 -0
- package/vendor/@stringsync/splates-server/merge/batch.d.ts +119 -0
- package/vendor/@stringsync/splates-server/merge/blame.d.ts +21 -0
- package/vendor/@stringsync/splates-server/merge/branches.d.ts +151 -0
- package/vendor/@stringsync/splates-server/merge/charge.d.ts +18 -0
- package/vendor/@stringsync/splates-server/merge/clear-gate.d.ts +7 -0
- package/vendor/@stringsync/splates-server/merge/cores.d.ts +60 -0
- package/vendor/@stringsync/splates-server/merge/estimates.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/finish.d.ts +43 -0
- package/vendor/@stringsync/splates-server/merge/follow.d.ts +50 -0
- package/vendor/@stringsync/splates-server/merge/gate.d.ts +108 -0
- package/vendor/@stringsync/splates-server/merge/github-app.d.ts +99 -0
- package/vendor/@stringsync/splates-server/merge/github-refused.d.ts +5 -0
- package/vendor/@stringsync/splates-server/merge/groups.d.ts +8 -0
- package/vendor/@stringsync/splates-server/merge/index.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/index.js +46 -0
- package/vendor/@stringsync/splates-server/merge/landed.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/landing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/merge/local-landing.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/merge-state.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/merge.d.ts +45 -0
- package/vendor/@stringsync/splates-server/merge/output.d.ts +19 -0
- package/vendor/@stringsync/splates-server/merge/phases.d.ts +27 -0
- package/vendor/@stringsync/splates-server/merge/pre-lock.d.ts +28 -0
- package/vendor/@stringsync/splates-server/merge/preflight.d.ts +16 -0
- package/vendor/@stringsync/splates-server/merge/queue-failures.d.ts +11 -0
- package/vendor/@stringsync/splates-server/merge/rebase.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/recent-failures.d.ts +10 -0
- package/vendor/@stringsync/splates-server/merge/refusal.d.ts +58 -0
- package/vendor/@stringsync/splates-server/merge/split.d.ts +34 -0
- package/vendor/@stringsync/splates-server/merge/steps.d.ts +37 -0
- package/vendor/@stringsync/splates-server/merge/test-report.d.ts +29 -0
- package/vendor/@stringsync/splates-server/merge/timing.d.ts +20 -0
- package/vendor/@stringsync/splates-server/merge/trunk.d.ts +69 -0
- package/vendor/@stringsync/splates-server/models/codex-limits.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/effort.d.ts +22 -0
- package/vendor/@stringsync/splates-server/models/index.d.ts +13 -0
- package/vendor/@stringsync/splates-server/models/index.js +76 -0
- package/vendor/@stringsync/splates-server/models/kimi-limits.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/kimi-usage.d.ts +19 -0
- package/vendor/@stringsync/splates-server/models/kimi.d.ts +10 -0
- package/vendor/@stringsync/splates-server/models/limits.d.ts +32 -0
- package/vendor/@stringsync/splates-server/models/models.d.ts +36 -0
- package/vendor/@stringsync/splates-server/models/offered.d.ts +47 -0
- package/vendor/@stringsync/splates-server/models/opencode-usage.d.ts +37 -0
- package/vendor/@stringsync/splates-server/models/roster.d.ts +130 -0
- package/vendor/@stringsync/splates-server/plans/asked.d.ts +99 -0
- package/vendor/@stringsync/splates-server/plans/browser.d.ts +13 -0
- package/vendor/@stringsync/splates-server/plans/decided.d.ts +12 -0
- package/vendor/@stringsync/splates-server/plans/demo.d.ts +29 -0
- package/vendor/@stringsync/splates-server/plans/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/plans/index.js +137 -0
- package/vendor/@stringsync/splates-server/plans/needs.d.ts +131 -0
- package/vendor/@stringsync/splates-server/plans/permission.d.ts +64 -0
- package/vendor/@stringsync/splates-server/plans/plan.d.ts +223 -0
- package/vendor/@stringsync/splates-server/plans/prompts.d.ts +148 -0
- package/vendor/@stringsync/splates-server/plans/reply.d.ts +45 -0
- package/vendor/@stringsync/splates-server/plans/run-command.d.ts +21 -0
- package/vendor/@stringsync/splates-server/plans/store.d.ts +26 -0
- package/vendor/@stringsync/splates-server/plans/unanswered.d.ts +15 -0
- package/vendor/@stringsync/splates-server/ports/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/ports/index.js +36 -0
- package/vendor/@stringsync/splates-server/ports/list.d.ts +22 -0
- package/vendor/@stringsync/splates-server/ports/routes.d.ts +64 -0
- package/vendor/@stringsync/splates-server/ports/slot-tunnel.d.ts +24 -0
- package/vendor/@stringsync/splates-server/ports/slot.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ports/slots.d.ts +150 -0
- package/vendor/@stringsync/splates-server/ports/socket.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ports/task-ports.d.ts +39 -0
- package/vendor/@stringsync/splates-server/prices/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/prices/prices.d.ts +65 -0
- package/vendor/@stringsync/splates-server/projects/everywhere-routes.d.ts +110 -0
- package/vendor/@stringsync/splates-server/projects/everywhere.d.ts +43 -0
- package/vendor/@stringsync/splates-server/projects/general.d.ts +4 -0
- package/vendor/@stringsync/splates-server/projects/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/projects/index.js +36 -0
- package/vendor/@stringsync/splates-server/projects/init.d.ts +28 -0
- package/vendor/@stringsync/splates-server/projects/picker.d.ts +64 -0
- package/vendor/@stringsync/splates-server/projects/projects.d.ts +155 -0
- package/vendor/@stringsync/splates-server/projects/reaches.d.ts +26 -0
- package/vendor/@stringsync/splates-server/push/index.d.ts +2 -0
- package/vendor/@stringsync/splates-server/push/notices.d.ts +44 -0
- package/vendor/@stringsync/splates-server/push/push.d.ts +91 -0
- package/vendor/@stringsync/splates-server/queue/commands.d.ts +44 -0
- package/vendor/@stringsync/splates-server/queue/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/queue/index.js +44 -0
- package/vendor/@stringsync/splates-server/queue/moves.d.ts +15 -0
- package/vendor/@stringsync/splates-server/queue/name.d.ts +9 -0
- package/vendor/@stringsync/splates-server/queue/order.d.ts +50 -0
- package/vendor/@stringsync/splates-server/queue/runner.d.ts +129 -0
- package/vendor/@stringsync/splates-server/records/elsewhere.d.ts +27 -0
- package/vendor/@stringsync/splates-server/records/events.d.ts +556 -0
- package/vendor/@stringsync/splates-server/records/format.d.ts +92 -0
- package/vendor/@stringsync/splates-server/records/home.d.ts +72 -0
- package/vendor/@stringsync/splates-server/records/index.d.ts +10 -0
- package/vendor/@stringsync/splates-server/records/index.js +40 -0
- package/vendor/@stringsync/splates-server/records/journal.d.ts +65 -0
- package/vendor/@stringsync/splates-server/records/lease-lock.d.ts +29 -0
- package/vendor/@stringsync/splates-server/records/migration.d.ts +94 -0
- package/vendor/@stringsync/splates-server/records/one-task-store.d.ts +15 -0
- package/vendor/@stringsync/splates-server/records/repository.d.ts +137 -0
- package/vendor/@stringsync/splates-server/records/task-files.d.ts +8 -0
- package/vendor/@stringsync/splates-server/records/task-stages.d.ts +7 -0
- package/vendor/@stringsync/splates-server/records/to-sqlite.d.ts +3 -0
- package/vendor/@stringsync/splates-server/replica/aws-sign.d.ts +30 -0
- package/vendor/@stringsync/splates-server/replica/dir.d.ts +17 -0
- package/vendor/@stringsync/splates-server/replica/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/replica/index.js +29 -0
- package/vendor/@stringsync/splates-server/replica/layout.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/place.d.ts +31 -0
- package/vendor/@stringsync/splates-server/replica/replica.d.ts +37 -0
- package/vendor/@stringsync/splates-server/replica/replicator.d.ts +102 -0
- package/vendor/@stringsync/splates-server/replica/restore.d.ts +40 -0
- package/vendor/@stringsync/splates-server/replica/s3.d.ts +45 -0
- package/vendor/@stringsync/splates-server/replica/shipped.d.ts +2 -0
- package/vendor/@stringsync/splates-server/replica/status.d.ts +18 -0
- package/vendor/@stringsync/splates-server/server/assets.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/automations.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/chunk-files.d.ts +4 -0
- package/vendor/@stringsync/splates-server/server/conflict-watch.d.ts +22 -0
- package/vendor/@stringsync/splates-server/server/early-warning.d.ts +7 -0
- package/vendor/@stringsync/splates-server/server/general.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/groomer.d.ts +53 -0
- package/vendor/@stringsync/splates-server/server/held.d.ts +10 -0
- package/vendor/@stringsync/splates-server/server/http.d.ts +76 -0
- package/vendor/@stringsync/splates-server/server/index.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/index.js +14342 -0
- package/vendor/@stringsync/splates-server/server/interrupt.d.ts +24 -0
- package/vendor/@stringsync/splates-server/server/loop-watch.d.ts +12 -0
- package/vendor/@stringsync/splates-server/server/migrations.d.ts +46 -0
- package/vendor/@stringsync/splates-server/server/options.d.ts +143 -0
- package/vendor/@stringsync/splates-server/server/pages.d.ts +35 -0
- package/vendor/@stringsync/splates-server/server/ports.d.ts +11 -0
- package/vendor/@stringsync/splates-server/server/premerge.d.ts +61 -0
- package/vendor/@stringsync/splates-server/server/project-watch.d.ts +94 -0
- package/vendor/@stringsync/splates-server/server/project.d.ts +239 -0
- package/vendor/@stringsync/splates-server/server/pulse.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/release.d.ts +41 -0
- package/vendor/@stringsync/splates-server/server/replicas.d.ts +23 -0
- package/vendor/@stringsync/splates-server/server/restart.d.ts +177 -0
- package/vendor/@stringsync/splates-server/server/runtime-deps.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/server.d.ts +19 -0
- package/vendor/@stringsync/splates-server/server/servers.d.ts +31 -0
- package/vendor/@stringsync/splates-server/server/serving.d.ts +28 -0
- package/vendor/@stringsync/splates-server/server/shared.d.ts +14 -0
- package/vendor/@stringsync/splates-server/server/skills.d.ts +16 -0
- package/vendor/@stringsync/splates-server/server/sockets.d.ts +13 -0
- package/vendor/@stringsync/splates-server/server/start-settings.d.ts +15 -0
- package/vendor/@stringsync/splates-server/server/start.d.ts +21 -0
- package/vendor/@stringsync/splates-server/server/suite-grant.d.ts +26 -0
- package/vendor/@stringsync/splates-server/server/supervise.d.ts +81 -0
- package/vendor/@stringsync/splates-server/server/ticketed-lock.d.ts +80 -0
- package/vendor/@stringsync/splates-server/server/update-records.d.ts +8 -0
- package/vendor/@stringsync/splates-server/server/update.d.ts +56 -0
- package/vendor/@stringsync/splates-server/server/versions.d.ts +53 -0
- package/vendor/@stringsync/splates-server/setup/area-auto-pick.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-dictation.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-droplet.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-evals.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-github.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/area-native.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/area-opencode.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/area-remote.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-replica.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/area-workers.d.ts +5 -0
- package/vendor/@stringsync/splates-server/setup/areas.d.ts +7 -0
- package/vendor/@stringsync/splates-server/setup/checks.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/fields.d.ts +69 -0
- package/vendor/@stringsync/splates-server/setup/index.d.ts +8 -0
- package/vendor/@stringsync/splates-server/setup/index.js +25 -0
- package/vendor/@stringsync/splates-server/setup/opencode-model-error.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/opencode-models.d.ts +44 -0
- package/vendor/@stringsync/splates-server/setup/opencode-recipe.d.ts +33 -0
- package/vendor/@stringsync/splates-server/setup/opencode-routes.d.ts +17 -0
- package/vendor/@stringsync/splates-server/setup/opencode.d.ts +61 -0
- package/vendor/@stringsync/splates-server/setup/project.d.ts +10 -0
- package/vendor/@stringsync/splates-server/setup/routes.d.ts +31 -0
- package/vendor/@stringsync/splates-server/setup/setup.d.ts +235 -0
- package/vendor/@stringsync/splates-server/setup/step-problem.d.ts +3 -0
- package/vendor/@stringsync/splates-server/setup/undo.d.ts +80 -0
- package/vendor/@stringsync/splates-server/ship/approval-watch.d.ts +57 -0
- package/vendor/@stringsync/splates-server/ship/approval.d.ts +17 -0
- package/vendor/@stringsync/splates-server/ship/cascade-routes.d.ts +25 -0
- package/vendor/@stringsync/splates-server/ship/cascade.d.ts +70 -0
- package/vendor/@stringsync/splates-server/ship/commands.d.ts +26 -0
- package/vendor/@stringsync/splates-server/ship/git.d.ts +31 -0
- package/vendor/@stringsync/splates-server/ship/graph.d.ts +60 -0
- package/vendor/@stringsync/splates-server/ship/history.d.ts +51 -0
- package/vendor/@stringsync/splates-server/ship/index.d.ts +28 -0
- package/vendor/@stringsync/splates-server/ship/live.d.ts +40 -0
- package/vendor/@stringsync/splates-server/ship/mechanical.d.ts +30 -0
- package/vendor/@stringsync/splates-server/ship/npm-terminal.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/plan.d.ts +90 -0
- package/vendor/@stringsync/splates-server/ship/progress.d.ts +3 -0
- package/vendor/@stringsync/splates-server/ship/published-notice.d.ts +29 -0
- package/vendor/@stringsync/splates-server/ship/record.d.ts +55 -0
- package/vendor/@stringsync/splates-server/ship/registry.d.ts +13 -0
- package/vendor/@stringsync/splates-server/ship/release-events.d.ts +47 -0
- package/vendor/@stringsync/splates-server/ship/release-steps.d.ts +66 -0
- package/vendor/@stringsync/splates-server/ship/routes.d.ts +14 -0
- package/vendor/@stringsync/splates-server/ship/run.d.ts +132 -0
- package/vendor/@stringsync/splates-server/ship/selection.d.ts +36 -0
- package/vendor/@stringsync/splates-server/ship/served.d.ts +4 -0
- package/vendor/@stringsync/splates-server/ship/stages.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/steps.d.ts +69 -0
- package/vendor/@stringsync/splates-server/ship/token-request.d.ts +11 -0
- package/vendor/@stringsync/splates-server/ship/token.d.ts +21 -0
- package/vendor/@stringsync/splates-server/spend/adapters.d.ts +5 -0
- package/vendor/@stringsync/splates-server/spend/billing.d.ts +38 -0
- package/vendor/@stringsync/splates-server/spend/index.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/plans.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/providers.d.ts +45 -0
- package/vendor/@stringsync/splates-server/spend/rates.d.ts +23 -0
- package/vendor/@stringsync/splates-server/spend/report.d.ts +39 -0
- package/vendor/@stringsync/splates-server/spend/routes.d.ts +46 -0
- package/vendor/@stringsync/splates-server/spend/spend.d.ts +15 -0
- package/vendor/@stringsync/splates-server/spend/totals.d.ts +63 -0
- package/vendor/@stringsync/splates-server/spend/turn.d.ts +39 -0
- package/vendor/@stringsync/splates-server/stats/adherence.d.ts +40 -0
- package/vendor/@stringsync/splates-server/stats/baselines.d.ts +55 -0
- package/vendor/@stringsync/splates-server/stats/budget-routes.d.ts +21 -0
- package/vendor/@stringsync/splates-server/stats/fact-tasks.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/finding-facts.d.ts +37 -0
- package/vendor/@stringsync/splates-server/stats/findings.d.ts +89 -0
- package/vendor/@stringsync/splates-server/stats/index.d.ts +12 -0
- package/vendor/@stringsync/splates-server/stats/index.js +30 -0
- package/vendor/@stringsync/splates-server/stats/landed.d.ts +14 -0
- package/vendor/@stringsync/splates-server/stats/outcomes.d.ts +207 -0
- package/vendor/@stringsync/splates-server/stats/overrides.d.ts +19 -0
- package/vendor/@stringsync/splates-server/stats/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/stats/scry-models.d.ts +22 -0
- package/vendor/@stringsync/splates-server/stats/skill-checks.d.ts +59 -0
- package/vendor/@stringsync/splates-server/stats/stats.d.ts +176 -0
- package/vendor/@stringsync/splates-server/stats/task-log.d.ts +67 -0
- package/vendor/@stringsync/splates-server/storage/atomic.d.ts +13 -0
- package/vendor/@stringsync/splates-server/storage/collection.d.ts +30 -0
- package/vendor/@stringsync/splates-server/storage/document.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-collection.d.ts +26 -0
- package/vendor/@stringsync/splates-server/storage/fs-document.d.ts +16 -0
- package/vendor/@stringsync/splates-server/storage/fs-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/fs.d.ts +48 -0
- package/vendor/@stringsync/splates-server/storage/index.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/index.js +18 -0
- package/vendor/@stringsync/splates-server/storage/json.d.ts +10 -0
- package/vendor/@stringsync/splates-server/storage/key.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/log.d.ts +60 -0
- package/vendor/@stringsync/splates-server/storage/schema.d.ts +7 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-collection.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-db.d.ts +62 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-document.d.ts +20 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-import.d.ts +11 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-keys.d.ts +17 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-lock.d.ts +25 -0
- package/vendor/@stringsync/splates-server/storage/sqlite-log.d.ts +31 -0
- package/vendor/@stringsync/splates-server/storage/sqlite.d.ts +53 -0
- package/vendor/@stringsync/splates-server/storage/storage.d.ts +87 -0
- package/vendor/@stringsync/splates-server/table.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/add.d.ts +45 -0
- package/vendor/@stringsync/splates-server/tasks/browser.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tasks/checkpoint.d.ts +39 -0
- package/vendor/@stringsync/splates-server/tasks/claim.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tasks/conflicts.d.ts +19 -0
- package/vendor/@stringsync/splates-server/tasks/diff.d.ts +29 -0
- package/vendor/@stringsync/splates-server/tasks/dispatched.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/editors.d.ts +22 -0
- package/vendor/@stringsync/splates-server/tasks/finished.d.ts +81 -0
- package/vendor/@stringsync/splates-server/tasks/follow.d.ts +48 -0
- package/vendor/@stringsync/splates-server/tasks/index.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/index.js +90 -0
- package/vendor/@stringsync/splates-server/tasks/landings.d.ts +17 -0
- package/vendor/@stringsync/splates-server/tasks/list.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tasks/merge-output.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/open.d.ts +15 -0
- package/vendor/@stringsync/splates-server/tasks/overlaps.d.ts +16 -0
- package/vendor/@stringsync/splates-server/tasks/path.d.ts +13 -0
- package/vendor/@stringsync/splates-server/tasks/recommend.d.ts +30 -0
- package/vendor/@stringsync/splates-server/tasks/remove.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/retry.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tasks/routes.d.ts +23 -0
- package/vendor/@stringsync/splates-server/tasks/show.d.ts +137 -0
- package/vendor/@stringsync/splates-server/tasks/snapshot.d.ts +86 -0
- package/vendor/@stringsync/splates-server/tasks/started-records.d.ts +71 -0
- package/vendor/@stringsync/splates-server/tasks/wait.d.ts +47 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-checkouts.d.ts +10 -0
- package/vendor/@stringsync/splates-server/tasks/worktree-service.d.ts +151 -0
- package/vendor/@stringsync/splates-server/tasks/worktree.d.ts +342 -0
- package/vendor/@stringsync/splates-server/terminal/connection.d.ts +19 -0
- package/vendor/@stringsync/splates-server/terminal/held.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/index.d.ts +7 -0
- package/vendor/@stringsync/splates-server/terminal/pty.d.ts +45 -0
- package/vendor/@stringsync/splates-server/terminal/remote-pty.d.ts +34 -0
- package/vendor/@stringsync/splates-server/terminal/shell.d.ts +70 -0
- package/vendor/@stringsync/splates-server/terminal/spawn.d.ts +22 -0
- package/vendor/@stringsync/splates-server/terminal/terminal.d.ts +52 -0
- package/vendor/@stringsync/splates-server/tunnel/access.d.ts +61 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-api.d.ts +25 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflare-error.d.ts +5 -0
- package/vendor/@stringsync/splates-server/tunnel/cloudflared.d.ts +43 -0
- package/vendor/@stringsync/splates-server/tunnel/index.d.ts +14 -0
- package/vendor/@stringsync/splates-server/tunnel/index.js +70 -0
- package/vendor/@stringsync/splates-server/tunnel/machine.d.ts +18 -0
- package/vendor/@stringsync/splates-server/tunnel/provider.d.ts +37 -0
- package/vendor/@stringsync/splates-server/tunnel/remove.d.ts +35 -0
- package/vendor/@stringsync/splates-server/tunnel/saved-ports-host.d.ts +26 -0
- package/vendor/@stringsync/splates-server/tunnel/saved.d.ts +63 -0
- package/vendor/@stringsync/splates-server/tunnel/setup.d.ts +123 -0
- package/vendor/@stringsync/splates-server/tunnel/tunnel.d.ts +38 -0
- package/vendor/@stringsync/splates-server/workers/admin.d.ts +37 -0
- package/vendor/@stringsync/splates-server/workers/call-host.d.ts +68 -0
- package/vendor/@stringsync/splates-server/workers/channel.d.ts +90 -0
- package/vendor/@stringsync/splates-server/workers/connection.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/coordinator-state.d.ts +44 -0
- package/vendor/@stringsync/splates-server/workers/daemon.d.ts +128 -0
- package/vendor/@stringsync/splates-server/workers/darwin-footprint.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/darwin-temperature.d.ts +7 -0
- package/vendor/@stringsync/splates-server/workers/frame-too-large.d.ts +5 -0
- package/vendor/@stringsync/splates-server/workers/git.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/gone.d.ts +36 -0
- package/vendor/@stringsync/splates-server/workers/identity.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/index.d.ts +40 -0
- package/vendor/@stringsync/splates-server/workers/index.js +90 -0
- package/vendor/@stringsync/splates-server/workers/lifecycle.d.ts +14 -0
- package/vendor/@stringsync/splates-server/workers/list.d.ts +93 -0
- package/vendor/@stringsync/splates-server/workers/load.d.ts +55 -0
- package/vendor/@stringsync/splates-server/workers/local-id.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/local-update.d.ts +81 -0
- package/vendor/@stringsync/splates-server/workers/log-file.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/machine.d.ts +47 -0
- package/vendor/@stringsync/splates-server/workers/orphan.d.ts +31 -0
- package/vendor/@stringsync/splates-server/workers/os-sensors.d.ts +49 -0
- package/vendor/@stringsync/splates-server/workers/placement.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/process-host.d.ts +60 -0
- package/vendor/@stringsync/splates-server/workers/process.d.ts +33 -0
- package/vendor/@stringsync/splates-server/workers/protocol.d.ts +153 -0
- package/vendor/@stringsync/splates-server/workers/pty-host.d.ts +35 -0
- package/vendor/@stringsync/splates-server/workers/queue.d.ts +39 -0
- package/vendor/@stringsync/splates-server/workers/records.d.ts +43 -0
- package/vendor/@stringsync/splates-server/workers/registry.d.ts +101 -0
- package/vendor/@stringsync/splates-server/workers/replay.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/routes.d.ts +119 -0
- package/vendor/@stringsync/splates-server/workers/run-options.d.ts +11 -0
- package/vendor/@stringsync/splates-server/workers/run.d.ts +10 -0
- package/vendor/@stringsync/splates-server/workers/scheduler.d.ts +171 -0
- package/vendor/@stringsync/splates-server/workers/server-of.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/server-socket.d.ts +25 -0
- package/vendor/@stringsync/splates-server/workers/session.d.ts +240 -0
- package/vendor/@stringsync/splates-server/workers/socket.d.ts +21 -0
- package/vendor/@stringsync/splates-server/workers/unix-listener.d.ts +23 -0
- package/vendor/@stringsync/splates-server/workers/unix-socket.d.ts +30 -0
- package/vendor/@stringsync/splates-server/workers/websocket-socket.d.ts +24 -0
- package/vendor/@stringsync/splates-server/workers/worker.d.ts +98 -0
- package/vendor/core/LICENSE +21 -0
- package/vendor/core/abort/aborts.d.ts +10 -0
- package/vendor/core/abort/index.d.ts +1 -0
- package/vendor/core/abort/index.js +24 -0
- package/vendor/core/assert/assert-error.d.ts +4 -0
- package/vendor/core/assert/assert.d.ts +24 -0
- package/vendor/core/assert/ensure.d.ts +18 -0
- package/vendor/core/assert/index.d.ts +3 -0
- package/vendor/core/assert/index.js +75 -0
- package/vendor/core/cmd/cli.d.ts +70 -0
- package/vendor/core/cmd/command.d.ts +96 -0
- package/vendor/core/cmd/deps.d.ts +12 -0
- package/vendor/core/cmd/help.d.ts +16 -0
- package/vendor/core/cmd/index.d.ts +6 -0
- package/vendor/core/cmd/index.js +477 -0
- package/vendor/core/cmd/middleware.d.ts +15 -0
- package/vendor/core/cmd/timed.d.ts +15 -0
- package/vendor/core/creds/credential-proxy.d.ts +55 -0
- package/vendor/core/creds/credential-source.d.ts +19 -0
- package/vendor/core/creds/credentials.d.ts +28 -0
- package/vendor/core/creds/dotenv-file.d.ts +22 -0
- package/vendor/core/creds/environment.d.ts +18 -0
- package/vendor/core/creds/index.d.ts +8 -0
- package/vendor/core/creds/index.js +337 -0
- package/vendor/core/creds/memory-secret-store.d.ts +33 -0
- package/vendor/core/creds/secret-store.d.ts +14 -0
- package/vendor/core/creds/system-secret-store.d.ts +49 -0
- package/vendor/core/dictate/buffered-sink.d.ts +9 -0
- package/vendor/core/dictate/cue.d.ts +10 -0
- package/vendor/core/dictate/dictation-failure.d.ts +5 -0
- package/vendor/core/dictate/dictation-link.d.ts +18 -0
- package/vendor/core/dictate/dictation-message.d.ts +24 -0
- package/vendor/core/dictate/dictation-relay.d.ts +28 -0
- package/vendor/core/dictate/index.d.ts +10 -0
- package/vendor/core/dictate/index.js +132 -0
- package/vendor/core/dictate/microphone.d.ts +42 -0
- package/vendor/core/dictate/openai-transcriber.d.ts +22 -0
- package/vendor/core/dictate/openai-transcription.d.ts +27 -0
- package/vendor/core/dictate/pcm.d.ts +5 -0
- package/vendor/core/dictate/pcm16-encoder.d.ts +20 -0
- package/vendor/core/dictate/server.d.ts +1 -0
- package/vendor/core/dictate/server.js +153 -0
- package/vendor/core/dictate/transcriber.d.ts +23 -0
- package/vendor/core/disposable/async-disposer.d.ts +15 -0
- package/vendor/core/disposable/async-resource.d.ts +4 -0
- package/vendor/core/disposable/disposables.d.ts +8 -0
- package/vendor/core/disposable/disposer.d.ts +13 -0
- package/vendor/core/disposable/index.d.ts +5 -0
- package/vendor/core/disposable/index.js +96 -0
- package/vendor/core/disposable/resource.d.ts +4 -0
- package/vendor/core/events/dispatcher.d.ts +18 -0
- package/vendor/core/events/eventful.d.ts +7 -0
- package/vendor/core/events/events.d.ts +14 -0
- package/vendor/core/events/index.d.ts +4 -0
- package/vendor/core/events/index.js +75 -0
- package/vendor/core/events/noop-events.d.ts +6 -0
- package/vendor/core/id/counter-id-provider.d.ts +6 -0
- package/vendor/core/id/id-provider.d.ts +7 -0
- package/vendor/core/id/index.d.ts +3 -0
- package/vendor/core/id/index.js +17 -0
- package/vendor/core/id/uuid-provider.d.ts +11 -0
- package/vendor/core/index-qk5dj664.js +4 -0
- package/vendor/core/log/color.d.ts +22 -0
- package/vendor/core/log/composite-logger.d.ts +7 -0
- package/vendor/core/log/console-logger.d.ts +6 -0
- package/vendor/core/log/index.d.ts +8 -0
- package/vendor/core/log/index.js +154 -0
- package/vendor/core/log/level-prefix-logger.d.ts +12 -0
- package/vendor/core/log/logger.d.ts +12 -0
- package/vendor/core/log/mdc-logger.d.ts +14 -0
- package/vendor/core/log/memory-logger.d.ts +8 -0
- package/vendor/core/log/prefix-logger.d.ts +12 -0
- package/vendor/core/md/index.d.ts +2 -0
- package/vendor/core/md/index.js +182 -0
- package/vendor/core/md/markdown.d.ts +56 -0
- package/vendor/core/md/writer.d.ts +22 -0
- package/vendor/core/push/base64url.d.ts +2 -0
- package/vendor/core/push/encrypt.d.ts +12 -0
- package/vendor/core/push/index.d.ts +4 -0
- package/vendor/core/push/index.js +137 -0
- package/vendor/core/push/push-failure.d.ts +7 -0
- package/vendor/core/push/pusher.d.ts +24 -0
- package/vendor/core/push/vapid.d.ts +18 -0
- package/vendor/core/push/web-pusher.d.ts +20 -0
- package/vendor/core/ship/artifact/artifact.d.ts +52 -0
- package/vendor/core/ship/bundle/bun-bundle.d.ts +71 -0
- package/vendor/core/ship/bundle/bundle-artifact.d.ts +21 -0
- package/vendor/core/ship/bundle/bundle.d.ts +13 -0
- package/vendor/core/ship/bundle/published.d.ts +45 -0
- package/vendor/core/ship/bundle/reach.d.ts +43 -0
- package/vendor/core/ship/bundle/vendor-bundle.d.ts +47 -0
- package/vendor/core/ship/cut.d.ts +64 -0
- package/vendor/core/ship/dry-run.d.ts +63 -0
- package/vendor/core/ship/git/cli-git.d.ts +25 -0
- package/vendor/core/ship/git/git-artifact.d.ts +23 -0
- package/vendor/core/ship/git/git.d.ts +19 -0
- package/vendor/core/ship/github/cli-github.d.ts +31 -0
- package/vendor/core/ship/github/cli-workflows.d.ts +25 -0
- package/vendor/core/ship/github/github-artifact.d.ts +18 -0
- package/vendor/core/ship/github/github.d.ts +10 -0
- package/vendor/core/ship/github/login.d.ts +3 -0
- package/vendor/core/ship/github/workflows.d.ts +27 -0
- package/vendor/core/ship/index.d.ts +26 -0
- package/vendor/core/ship/index.js +3203 -0
- package/vendor/core/ship/mirror/agent-files.d.ts +6 -0
- package/vendor/core/ship/mirror/mirror-build.d.ts +63 -0
- package/vendor/core/ship/mirror/mirror-guard.d.ts +10 -0
- package/vendor/core/ship/mirror/mirror-options.d.ts +75 -0
- package/vendor/core/ship/mirror/mirror-step.d.ts +109 -0
- package/vendor/core/ship/mirror/mirror-tooling.d.ts +59 -0
- package/vendor/core/ship/mirror/source-manifest.d.ts +27 -0
- package/vendor/core/ship/order.d.ts +15 -0
- package/vendor/core/ship/publish-workflow.d.ts +32 -0
- package/vendor/core/ship/registry/github-actions.d.ts +76 -0
- package/vendor/core/ship/registry/npm-registry.d.ts +70 -0
- package/vendor/core/ship/registry/registry-artifact.d.ts +31 -0
- package/vendor/core/ship/registry/registry.d.ts +85 -0
- package/vendor/core/ship/release-file.d.ts +22 -0
- package/vendor/core/ship/release-options.d.ts +122 -0
- package/vendor/core/ship/release.d.ts +61 -0
- package/vendor/core/ship/releases.d.ts +119 -0
- package/vendor/core/ship/shipped.d.ts +54 -0
- package/vendor/core/ship/skill-artifact.d.ts +27 -0
- package/vendor/core/ship/step-events.d.ts +91 -0
- package/vendor/core/ship/step-runner.d.ts +16 -0
- package/vendor/core/ship/step.d.ts +49 -0
- package/vendor/core/ship/trust.d.ts +11 -0
- package/vendor/core/ship/version.d.ts +9 -0
- package/vendor/core/ship/workspace/manifest-workspace.d.ts +61 -0
- package/vendor/core/ship/workspace/workspace.d.ts +29 -0
- package/vendor/core/skills/index.d.ts +1 -0
- package/vendor/core/skills/index.js +77 -0
- package/vendor/core/skills/project-skills.d.ts +53 -0
- package/vendor/core/system/fs/fs.d.ts +58 -0
- package/vendor/core/system/fs/node-fs.d.ts +18 -0
- package/vendor/core/system/glob/glob.d.ts +11 -0
- package/vendor/core/system/glob/node-glob.d.ts +12 -0
- package/vendor/core/system/heavy/heavy-jobs.d.ts +84 -0
- package/vendor/core/system/host-mapper/file-host-mapper.d.ts +20 -0
- package/vendor/core/system/host-mapper/host-mapper.d.ts +11 -0
- package/vendor/core/system/host-mapper/noop-host-mapper.d.ts +4 -0
- package/vendor/core/system/index.d.ts +25 -0
- package/vendor/core/system/index.js +1385 -0
- package/vendor/core/system/ip-provider/darwin-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/linux-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/platform-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/sequential-ip-provider.d.ts +6 -0
- package/vendor/core/system/ip-provider/static-ip-provider.d.ts +8 -0
- package/vendor/core/system/ip-provider/win32-ip-provider.d.ts +6 -0
- package/vendor/core/system/lock/file-lock.d.ts +50 -0
- package/vendor/core/system/lock/lock.d.ts +11 -0
- package/vendor/core/system/lock/memory-lock.d.ts +13 -0
- package/vendor/core/system/port-provider/open-port-provider.d.ts +38 -0
- package/vendor/core/system/port-provider/port-provider.d.ts +14 -0
- package/vendor/core/system/process-like/process-like.d.ts +22 -0
- package/vendor/core/system/ps/file-process.d.ts +40 -0
- package/vendor/core/system/ps/listening.d.ts +20 -0
- package/vendor/core/system/ps/node-ps.d.ts +39 -0
- package/vendor/core/system/ps/ps.d.ts +161 -0
- package/vendor/core/system/ps/reap.d.ts +22 -0
- package/vendor/core/system/undumpable.d.ts +32 -0
- package/vendor/core/system/walk.d.ts +10 -0
- package/vendor/core/time/clock/clock.d.ts +5 -0
- package/vendor/core/time/clock/system-clock.d.ts +5 -0
- package/vendor/core/time/debouncer.d.ts +25 -0
- package/vendor/core/time/duration.d.ts +38 -0
- package/vendor/core/time/index.d.ts +13 -0
- package/vendor/core/time/index.js +271 -0
- package/vendor/core/time/sleep.d.ts +2 -0
- package/vendor/core/time/stopwatch.d.ts +34 -0
- package/vendor/core/time/throttler.d.ts +26 -0
- package/vendor/core/time/time-ago.d.ts +14 -0
- package/vendor/core/time/timeouts.d.ts +12 -0
- package/vendor/core/time/timer/system-timer.d.ts +7 -0
- package/vendor/core/time/timer/timer.d.ts +11 -0
- package/vendor/core/time/wall-clock/system-wall-clock.d.ts +4 -0
- package/vendor/core/time/wall-clock/wall-clock.d.ts +14 -0
- package/waiting.d.ts +2 -2
- package/worker.d.ts +2 -2
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import type * as acp from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { AsyncTaskUpdate, Flag, ProcessHandle } from "../agents";
|
|
3
|
+
import type { ArtifactChange } from "../artifacts";
|
|
4
|
+
import type { ObservedTurn } from "../models";
|
|
5
|
+
import type { Ask, Attached, AutoPickSet, Checkpoint, Decision, Device, Image, Limit, Setting } from "./state";
|
|
6
|
+
/**
|
|
7
|
+
* A line of a conversation's log: what was said, in the order it was. Each
|
|
8
|
+
* carries the `seq` of the agent's frame being handled when it was written;
|
|
9
|
+
* missing before the first frame, and from older logs.
|
|
10
|
+
*/
|
|
11
|
+
export type Entry = Said & {
|
|
12
|
+
seq?: number;
|
|
13
|
+
};
|
|
14
|
+
type Said = {
|
|
15
|
+
kind: "start";
|
|
16
|
+
id: string;
|
|
17
|
+
agent: string;
|
|
18
|
+
task: string | null;
|
|
19
|
+
/** Where it runs; missing from logs written before resuming. */
|
|
20
|
+
cwd?: string;
|
|
21
|
+
/** Projectless, in its own scratch workspace; missing for a project's conversation. */
|
|
22
|
+
scratch?: true;
|
|
23
|
+
/** The task's base; missing from logs written before parts nested. */
|
|
24
|
+
base?: string | null;
|
|
25
|
+
/** Who added the task; missing from logs written before tasks remembered it. */
|
|
26
|
+
caller?: string | null;
|
|
27
|
+
createdAt: string;
|
|
28
|
+
/** Missing from logs written before assignments were kept apart. */
|
|
29
|
+
assigned?: boolean;
|
|
30
|
+
/** The lane orchestrator that handed it its task; missing for one nobody did. */
|
|
31
|
+
startedBy?: string;
|
|
32
|
+
/** The project's splates skill version; missing when it had none, or before it was kept. */
|
|
33
|
+
skill?: string;
|
|
34
|
+
/** Whether the server's queue or a hook started it; missing for one neither did. */
|
|
35
|
+
automatic?: boolean;
|
|
36
|
+
/** What `automatic` was written as before it was renamed. */
|
|
37
|
+
capped?: boolean;
|
|
38
|
+
/** The queued task it was held for; missing for one held for none. */
|
|
39
|
+
heldForTask?: number;
|
|
40
|
+
/** Read from `queued` in logs written before it was renamed. */
|
|
41
|
+
queued?: number;
|
|
42
|
+
/** The persistent agent's role it was started for; missing for an ordinary one. */
|
|
43
|
+
persistent?: string;
|
|
44
|
+
/** The automation that started it, by its id; missing for one none did. */
|
|
45
|
+
automation?: string;
|
|
46
|
+
/** The ship whose adoption task it runs, by its id; missing for any other. */
|
|
47
|
+
ship?: string;
|
|
48
|
+
} | {
|
|
49
|
+
kind: "session";
|
|
50
|
+
session: string;
|
|
51
|
+
cwd?: string;
|
|
52
|
+
} | {
|
|
53
|
+
kind: "model-request";
|
|
54
|
+
model: string;
|
|
55
|
+
}
|
|
56
|
+
/** The person set a model or effort after Auto pick chose it, by the setting's id and what it was set to. */
|
|
57
|
+
| {
|
|
58
|
+
kind: "override";
|
|
59
|
+
setting: string;
|
|
60
|
+
aspect: "model" | "effort";
|
|
61
|
+
value: string;
|
|
62
|
+
at: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* What Auto pick set it to: at its start, or `lifted` when it moved it up
|
|
66
|
+
* for what the person said later.
|
|
67
|
+
*/
|
|
68
|
+
| {
|
|
69
|
+
kind: "auto-pick";
|
|
70
|
+
pick: AutoPickSet;
|
|
71
|
+
lifted?: true;
|
|
72
|
+
at: string;
|
|
73
|
+
}
|
|
74
|
+
/** The person switched Auto pick on or off for the conversation. */
|
|
75
|
+
| {
|
|
76
|
+
kind: "auto-pick-switch";
|
|
77
|
+
on: boolean;
|
|
78
|
+
at: string;
|
|
79
|
+
}
|
|
80
|
+
/** Whether note pointers are held back from it, chosen as its first message was routed. */
|
|
81
|
+
| {
|
|
82
|
+
kind: "notes-holdout";
|
|
83
|
+
holdout: boolean;
|
|
84
|
+
experiment?: {
|
|
85
|
+
version: string;
|
|
86
|
+
at: string;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** Settings to set once the session opens, by id, as Auto pick chose them. */
|
|
90
|
+
| {
|
|
91
|
+
kind: "picks-request";
|
|
92
|
+
picks: Record<string, string>;
|
|
93
|
+
}
|
|
94
|
+
/** Auto picked another agent than the one it started on, before any session opened. */
|
|
95
|
+
| {
|
|
96
|
+
kind: "agent";
|
|
97
|
+
agent: string;
|
|
98
|
+
}
|
|
99
|
+
/** The queue started the task it was held for, so it is held no more. */
|
|
100
|
+
| {
|
|
101
|
+
kind: "held-for-task";
|
|
102
|
+
heldForTask: null;
|
|
103
|
+
}
|
|
104
|
+
/** Read from `queued` in logs written before it was renamed. */
|
|
105
|
+
| {
|
|
106
|
+
kind: "queued";
|
|
107
|
+
queued: null;
|
|
108
|
+
}
|
|
109
|
+
/** Moved into a task's worktree, or back to the main tree. */
|
|
110
|
+
| {
|
|
111
|
+
kind: "task";
|
|
112
|
+
task: string | null;
|
|
113
|
+
cwd: string;
|
|
114
|
+
/** The task's base; missing from logs written before parts nested. */
|
|
115
|
+
base?: string | null;
|
|
116
|
+
/** Who added the task; missing from logs written before tasks remembered it. */
|
|
117
|
+
caller?: string | null;
|
|
118
|
+
}
|
|
119
|
+
/** What the session offered and had set, kept so the next one can start alike. */
|
|
120
|
+
| {
|
|
121
|
+
kind: "settings";
|
|
122
|
+
settings: Setting[];
|
|
123
|
+
}
|
|
124
|
+
/** `at` is missing from logs written before older archived ones were deleted. */
|
|
125
|
+
| {
|
|
126
|
+
kind: "archive";
|
|
127
|
+
archived: boolean;
|
|
128
|
+
at?: string;
|
|
129
|
+
/** The conversation whose archiving took this one with it. */
|
|
130
|
+
with?: string;
|
|
131
|
+
/** Archived resting, as a persistent agent's run that ended with its role still on. */
|
|
132
|
+
rest?: true;
|
|
133
|
+
} | {
|
|
134
|
+
kind: "rename";
|
|
135
|
+
name: string | null;
|
|
136
|
+
} | {
|
|
137
|
+
kind: "unread";
|
|
138
|
+
unread: boolean;
|
|
139
|
+
} | {
|
|
140
|
+
kind: "read";
|
|
141
|
+
read: number;
|
|
142
|
+
} | {
|
|
143
|
+
kind: "pin";
|
|
144
|
+
pinned: boolean;
|
|
145
|
+
} | {
|
|
146
|
+
kind: "parent";
|
|
147
|
+
parent: {
|
|
148
|
+
id: string | null;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
/** `at` is missing from logs written before the page showed how long things took. */
|
|
152
|
+
| {
|
|
153
|
+
kind: "prompt";
|
|
154
|
+
text: string;
|
|
155
|
+
at?: string;
|
|
156
|
+
queued?: true;
|
|
157
|
+
steered?: true;
|
|
158
|
+
/** The conversation that said it with `splates tell`. */
|
|
159
|
+
told?: string;
|
|
160
|
+
/** Said into the mic; missing from logs written before the page said. */
|
|
161
|
+
dictated?: true;
|
|
162
|
+
/** The page's id for it; missing for an agent's word, or from older logs. */
|
|
163
|
+
id?: string;
|
|
164
|
+
/** Where the person said it on the page; missing for an agent's word, or from older logs. */
|
|
165
|
+
from?: Device;
|
|
166
|
+
/** Missing from logs written before the page sent images. */
|
|
167
|
+
images?: Image[];
|
|
168
|
+
/** Missing from logs written before the page sent other files. */
|
|
169
|
+
files?: Attached[];
|
|
170
|
+
}
|
|
171
|
+
/** Every queued prompt went out. */
|
|
172
|
+
| {
|
|
173
|
+
kind: "sent";
|
|
174
|
+
count?: number;
|
|
175
|
+
at?: string;
|
|
176
|
+
}
|
|
177
|
+
/** The person stopped the agent's turn. */
|
|
178
|
+
| {
|
|
179
|
+
kind: "stopped";
|
|
180
|
+
at: string;
|
|
181
|
+
}
|
|
182
|
+
/** The agent's turn ended early, its connection lost or its process gone. */
|
|
183
|
+
| {
|
|
184
|
+
kind: "interrupted";
|
|
185
|
+
at: string;
|
|
186
|
+
}
|
|
187
|
+
/** A turn started or ended, so one a dead process left running shows as cut short. */
|
|
188
|
+
| {
|
|
189
|
+
kind: "turn";
|
|
190
|
+
running: boolean;
|
|
191
|
+
at?: string;
|
|
192
|
+
} | {
|
|
193
|
+
kind: "observed-turn";
|
|
194
|
+
turn: ObservedTurn;
|
|
195
|
+
}
|
|
196
|
+
/** The `index`th queued prompt was taken back. */
|
|
197
|
+
| {
|
|
198
|
+
kind: "unqueue";
|
|
199
|
+
index: number;
|
|
200
|
+
}
|
|
201
|
+
/** Where a checkpoint stands, and what comes after it. */
|
|
202
|
+
| {
|
|
203
|
+
kind: "checkpoint";
|
|
204
|
+
checkpoint: Checkpoint | null;
|
|
205
|
+
/** Why a worker budget hard stop asked it; absent for any other. */
|
|
206
|
+
budget?: string;
|
|
207
|
+
} | {
|
|
208
|
+
kind: "update";
|
|
209
|
+
update: acp.SessionUpdate;
|
|
210
|
+
at?: string;
|
|
211
|
+
/** When the last of the chunks joined into this one came. */
|
|
212
|
+
until?: string;
|
|
213
|
+
}
|
|
214
|
+
/** The tokens a turn used, as the agent said when it ended. */
|
|
215
|
+
| {
|
|
216
|
+
kind: "usage";
|
|
217
|
+
usage: acp.Usage;
|
|
218
|
+
}
|
|
219
|
+
/** The plan's windows, as asked of an agent that does not send them. */
|
|
220
|
+
| {
|
|
221
|
+
kind: "limits";
|
|
222
|
+
limits: Limit[];
|
|
223
|
+
}
|
|
224
|
+
/** What a finished command did to git that it should not have. */
|
|
225
|
+
| {
|
|
226
|
+
kind: "flags";
|
|
227
|
+
tool: string;
|
|
228
|
+
flags: Flag[];
|
|
229
|
+
}
|
|
230
|
+
/** How the person answered the agent asking permission for a tool call. */
|
|
231
|
+
| {
|
|
232
|
+
kind: "decision";
|
|
233
|
+
tool: string;
|
|
234
|
+
decision: Decision;
|
|
235
|
+
}
|
|
236
|
+
/** An artifact added, removed, or its bytes deleted. */
|
|
237
|
+
| {
|
|
238
|
+
kind: "artifact";
|
|
239
|
+
change: ArtifactChange;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The agent's session is open on a process a worker runs, which a
|
|
243
|
+
* server started again takes back by `handle`, until `end`.
|
|
244
|
+
*/
|
|
245
|
+
| {
|
|
246
|
+
kind: "launched";
|
|
247
|
+
handle: ProcessHandle;
|
|
248
|
+
/** Whether the agent takes a prompt into its running turn. */
|
|
249
|
+
steers: boolean;
|
|
250
|
+
/** Whether the agent takes images in a prompt. */
|
|
251
|
+
sees: boolean;
|
|
252
|
+
/** Whether the agent says on its session list when a turn ends; missing from older logs. */
|
|
253
|
+
follows?: boolean;
|
|
254
|
+
/** The `LOG_FORMAT` that wrote the log; missing from logs before it was stamped, which are format 1. */
|
|
255
|
+
format?: number;
|
|
256
|
+
}
|
|
257
|
+
/** A request this side sent the agent, by the id it went out with. */
|
|
258
|
+
| {
|
|
259
|
+
kind: "request";
|
|
260
|
+
id: number;
|
|
261
|
+
method: string;
|
|
262
|
+
}
|
|
263
|
+
/** What the agent asks the person, by the request id `rpc` to answer on, when known; null once answered. */
|
|
264
|
+
| {
|
|
265
|
+
kind: "ask";
|
|
266
|
+
rpc: acp.JsonRpcId | null;
|
|
267
|
+
ask: Ask;
|
|
268
|
+
} | {
|
|
269
|
+
kind: "ask";
|
|
270
|
+
ask: null;
|
|
271
|
+
}
|
|
272
|
+
/** Word of a command the agent left running in the background. */
|
|
273
|
+
| {
|
|
274
|
+
kind: "background";
|
|
275
|
+
update: AsyncTaskUpdate;
|
|
276
|
+
at?: string;
|
|
277
|
+
} | {
|
|
278
|
+
kind: "end";
|
|
279
|
+
error: string | null;
|
|
280
|
+
/**
|
|
281
|
+
* The server went down while it started, before its agent heard
|
|
282
|
+
* what was queued: the next run starts it again to say it.
|
|
283
|
+
*/
|
|
284
|
+
unsaid?: true;
|
|
285
|
+
};
|
|
286
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import type { Logger } from "../../../core/log/index.js";
|
|
3
|
+
import { type Timer } from "../../../core/time/index.js";
|
|
4
|
+
import type { Journal } from "../records";
|
|
5
|
+
import type { Conversations } from "./conversations";
|
|
6
|
+
/**
|
|
7
|
+
* Hands each conversation the events its agent's splates commands logged: all
|
|
8
|
+
* of them as the server opens the project, then each new one as the journal
|
|
9
|
+
* takes it, so the page shows it in that conversation's thread at once. An
|
|
10
|
+
* event no conversation ran, an external agent's or the page's own, goes
|
|
11
|
+
* nowhere.
|
|
12
|
+
*/
|
|
13
|
+
export declare class JournalEvents implements Resource {
|
|
14
|
+
#private;
|
|
15
|
+
private readonly journal;
|
|
16
|
+
private readonly conversations;
|
|
17
|
+
private readonly log;
|
|
18
|
+
private constructor();
|
|
19
|
+
/**
|
|
20
|
+
* Hands each conversation in `conversations` its events, then follows
|
|
21
|
+
* the journal for more.
|
|
22
|
+
*/
|
|
23
|
+
static follow({ journal, conversations, log, timer, }: {
|
|
24
|
+
journal: Journal;
|
|
25
|
+
conversations: Conversations;
|
|
26
|
+
log: Logger;
|
|
27
|
+
timer?: Timer;
|
|
28
|
+
}): Promise<JournalEvents>;
|
|
29
|
+
/**
|
|
30
|
+
* Hands out what the journal took since the last look, for when it may
|
|
31
|
+
* have changed; settles once it has.
|
|
32
|
+
*/
|
|
33
|
+
changed(): Promise<void>;
|
|
34
|
+
dispose(): void;
|
|
35
|
+
private take;
|
|
36
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type * as acp from "@agentclientprotocol/sdk";
|
|
2
|
+
import type { Storage } from "../storage";
|
|
3
|
+
import type { ProjectRoster } from "./host";
|
|
4
|
+
import type { Message, Sent, Upload } from "./state";
|
|
5
|
+
/**
|
|
6
|
+
* The files the person sent in a conversation, kept beside its log in a
|
|
7
|
+
* collection named for it, and how what they said goes to the agent.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ConversationFiles {
|
|
10
|
+
/**
|
|
11
|
+
* Where the conversations are kept, each log `<id>.jsonl`, which an
|
|
12
|
+
* agent opens what it is handed from as files on this machine.
|
|
13
|
+
*/
|
|
14
|
+
private readonly storage;
|
|
15
|
+
private readonly id;
|
|
16
|
+
private readonly files;
|
|
17
|
+
private readonly projects;
|
|
18
|
+
private readonly home;
|
|
19
|
+
constructor(
|
|
20
|
+
/**
|
|
21
|
+
* Where the conversations are kept, each log `<id>.jsonl`, which an
|
|
22
|
+
* agent opens what it is handed from as files on this machine.
|
|
23
|
+
*/
|
|
24
|
+
storage: Storage, id: string, { projects, home, }?: {
|
|
25
|
+
/** The splates projects on this machine, for `#slug`; null for none. */
|
|
26
|
+
projects?: ProjectRoster | null;
|
|
27
|
+
/** The main tree of the project the conversation is in; null for none. */
|
|
28
|
+
home?: string | null;
|
|
29
|
+
});
|
|
30
|
+
/**
|
|
31
|
+
* Saves each file beside the log, named for what is in it, so the page
|
|
32
|
+
* reads it by name rather than with every change to the conversation.
|
|
33
|
+
* An image goes to the agent as itself when it `sees` images; anything
|
|
34
|
+
* else, as a link to where it is kept, which every agent takes.
|
|
35
|
+
*/
|
|
36
|
+
keep(files: Upload[], sees: boolean): Promise<Sent[]>;
|
|
37
|
+
/** The file `name` the person sent in `messages`, or null when they sent none by that name. */
|
|
38
|
+
attachment(name: string, messages: Message[]): Promise<{
|
|
39
|
+
bytes: Uint8Array;
|
|
40
|
+
mimeType: string;
|
|
41
|
+
} | null>;
|
|
42
|
+
/**
|
|
43
|
+
* What `messages` say, as one prompt: their images, links to their other
|
|
44
|
+
* files, then their words, with a line on where each project they name
|
|
45
|
+
* sits, and one on reading them as speech
|
|
46
|
+
* when any was dictated.
|
|
47
|
+
*/
|
|
48
|
+
content(messages: Message[], sees?: boolean): Promise<acp.ContentBlock[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Writes the end of `messages` beside the log for the agent that takes its
|
|
51
|
+
* task on next, and answers where (see `transcriptOf`).
|
|
52
|
+
*/
|
|
53
|
+
keepTranscript(messages: Message[]): Promise<string>;
|
|
54
|
+
/** Deletes every file kept, for good. */
|
|
55
|
+
remove(): Promise<void>;
|
|
56
|
+
/** Where an agent on this machine opens the file kept under `name`. */
|
|
57
|
+
private opened;
|
|
58
|
+
/** The bytes kept under `name`, throwing when there are none. */
|
|
59
|
+
private bytesOf;
|
|
60
|
+
/** Adds project locations and conversation log references for the agent. */
|
|
61
|
+
private namedIn;
|
|
62
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WorktreeService } from "../tasks";
|
|
2
|
+
/**
|
|
3
|
+
* The conversation a command is about: `given` from `--conversation`, for an
|
|
4
|
+
* agent outside `splates server`, else the one `splates server` started this agent in
|
|
5
|
+
* ($SPLATES_CONVERSATION). Refuses `usage` when neither names one of this
|
|
6
|
+
* repository's.
|
|
7
|
+
*/
|
|
8
|
+
export declare function conversationOf(service: WorktreeService, given: string): Promise<string>;
|
|
9
|
+
/**
|
|
10
|
+
* Refuses `splates <command>` to the project's groomer, which organizes
|
|
11
|
+
* tasks and never does them: outright, as for `add`, `merge` or `queue
|
|
12
|
+
* add`; or, given the queued task it changes, only once another task took
|
|
13
|
+
* that, since whoever starts a task wins it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function refuseGroomer(service: Pick<WorktreeService, "callerRole">, command: string, task?: {
|
|
16
|
+
id: number;
|
|
17
|
+
takenBy: string | null;
|
|
18
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ConversationHost, Lift } from "./host";
|
|
2
|
+
import type { Message } from "./state";
|
|
3
|
+
/**
|
|
4
|
+
* Lets Auto pick look again at what the person says in `messages`, in a
|
|
5
|
+
* conversation it started, before the agent reads them; one that fails
|
|
6
|
+
* moves nothing.
|
|
7
|
+
*/
|
|
8
|
+
export declare function lifted(lift: Lift | null | undefined, host: ConversationHost, messages: readonly Message[]): Promise<void>;
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import type { Events } from "../../../core/events/index.js";
|
|
2
|
+
import type { IdProvider } from "../../../core/id/index.js";
|
|
3
|
+
import type { Fs, Lock } from "../../../core/system/index.js";
|
|
4
|
+
import type { Timer, WallClock } from "../../../core/time/index.js";
|
|
5
|
+
import type { Agent, Launch, Launcher, SessionServers, Watch } from "../agents";
|
|
6
|
+
import type { ArtifactLimits, ArtifactRoom } from "../artifacts";
|
|
7
|
+
import type { Reach } from "../projects";
|
|
8
|
+
import type { Storage } from "../storage";
|
|
9
|
+
import type { Grant, WorkerMachine } from "../workers";
|
|
10
|
+
import type { ConversationLog } from "./log";
|
|
11
|
+
import type { AutoPickSet, ConversationState, Message, QueueSpot } from "./state";
|
|
12
|
+
/**
|
|
13
|
+
* What a conversation's parts, its connection, its turns and its background
|
|
14
|
+
* commands, share of it: its state and log, and the few things they do to
|
|
15
|
+
* the whole. `Conversation` implements it.
|
|
16
|
+
*/
|
|
17
|
+
export interface ConversationHost {
|
|
18
|
+
readonly state: ConversationState;
|
|
19
|
+
readonly log: ConversationLog;
|
|
20
|
+
readonly events: Events<ConversationEvents>;
|
|
21
|
+
/** What runs it; null when its agent is no longer known. */
|
|
22
|
+
get agent(): Agent | null;
|
|
23
|
+
/** Where it runs; null for a log too old to say. */
|
|
24
|
+
readonly cwd: string | null;
|
|
25
|
+
/** Under way while the agent starts or comes back, for a prompt to wait on. */
|
|
26
|
+
readonly opening: Promise<void> | null;
|
|
27
|
+
now(): string;
|
|
28
|
+
set(next: Partial<ConversationState>): void;
|
|
29
|
+
changed(): void;
|
|
30
|
+
/** A turn ended, with `error` for one that failed. */
|
|
31
|
+
ended(error: string | null): void;
|
|
32
|
+
/** Ends the agent's process, with `error` for one that failed. */
|
|
33
|
+
close(error: string | null): Promise<void>;
|
|
34
|
+
/** Brings a stopped conversation back: a new process, the same session or a new one. */
|
|
35
|
+
resume(): Promise<void>;
|
|
36
|
+
/** Back on the list, stopped until the next prompt. */
|
|
37
|
+
unarchive(): Promise<void>;
|
|
38
|
+
/** Marks it `unread` or not. */
|
|
39
|
+
flag(unread: boolean): void;
|
|
40
|
+
/** Sets `settings`, by id, as Auto pick moves it up to `pick`. */
|
|
41
|
+
lift(settings: Record<string, string>, pick: AutoPickSet): Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Auto pick's second look at `said`, what the person says next in
|
|
45
|
+
* `conversation`, before its agent reads it: it may move the conversation
|
|
46
|
+
* up with `lift`.
|
|
47
|
+
*/
|
|
48
|
+
export type Lift = (conversation: ConversationHost, said: readonly Message[]) => Promise<void>;
|
|
49
|
+
export type ConversationEvents = {
|
|
50
|
+
changed: undefined;
|
|
51
|
+
chosen: string;
|
|
52
|
+
};
|
|
53
|
+
/** What every conversation in a repo is made with. */
|
|
54
|
+
export interface ConversationDeps {
|
|
55
|
+
fs: Fs;
|
|
56
|
+
/** Kimi Code's home (`~/.kimi-code`), whose session logs supply its tokens. */
|
|
57
|
+
kimiHome?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Where every conversation of the repo is kept: its log as `<id>.jsonl`,
|
|
60
|
+
* the files the person sent in it as the collection `<id>`.
|
|
61
|
+
*/
|
|
62
|
+
storage: Storage;
|
|
63
|
+
/**
|
|
64
|
+
* Where those sit on this machine, for an agent to open: its artifacts,
|
|
65
|
+
* which are not on storage yet, among them.
|
|
66
|
+
*/
|
|
67
|
+
dir: string;
|
|
68
|
+
/** What names the files artifacts are kept in. */
|
|
69
|
+
ids: IdProvider;
|
|
70
|
+
/** How many bytes of artifacts it may keep (`artifacts.ts`). */
|
|
71
|
+
artifacts: ArtifactLimits;
|
|
72
|
+
/** What makes room for an add across the project; none refuses one past it. */
|
|
73
|
+
room?: ArtifactRoom;
|
|
74
|
+
timer: Timer;
|
|
75
|
+
clock: WallClock;
|
|
76
|
+
/** What starts each agent, and takes one back after a restart. */
|
|
77
|
+
launcher: Launcher;
|
|
78
|
+
/**
|
|
79
|
+
* Where each agent waits for a place on a worker before it starts, and
|
|
80
|
+
* starts there: one another agent started for a free one, one the person
|
|
81
|
+
* started for any worker up. With none, every one starts at once on
|
|
82
|
+
* `launcher`.
|
|
83
|
+
*/
|
|
84
|
+
placer?: ConversationPlacer;
|
|
85
|
+
/** Where the agent runs, which its background commands' output is read from. */
|
|
86
|
+
machine: WorkerMachine;
|
|
87
|
+
/**
|
|
88
|
+
* Hold it while an agent's process starts, until it is done
|
|
89
|
+
* opening its session, so agents start one at a time.
|
|
90
|
+
*/
|
|
91
|
+
starting: Lock;
|
|
92
|
+
/** Where `splates server` answers, for the agent's CLI to tell it things. */
|
|
93
|
+
url: string | null;
|
|
94
|
+
/** What watches the agent's commands; null to leave them be. */
|
|
95
|
+
watch: Watch | null;
|
|
96
|
+
/** The main tree, where a conversation carries on once its worktree is gone. */
|
|
97
|
+
root: string | null;
|
|
98
|
+
/** The splates projects on this machine, for `#slug`; null for none. */
|
|
99
|
+
projects: ProjectRoster | null;
|
|
100
|
+
/** The MCP servers each session is offered, beyond the agent's own; null for none. */
|
|
101
|
+
servers: SessionServers | null;
|
|
102
|
+
/** What looks again at what the person says in a conversation Auto pick started; null for nothing. */
|
|
103
|
+
lift?: Lift | null;
|
|
104
|
+
}
|
|
105
|
+
/** A project's way into the machine's queue for places on workers (`Scheduler`). */
|
|
106
|
+
export interface ConversationPlacer {
|
|
107
|
+
/**
|
|
108
|
+
* A place for the agent of conversation `id`, once its turn comes;
|
|
109
|
+
* aborting `signal` takes it out of the queue, rejecting.
|
|
110
|
+
*/
|
|
111
|
+
take(request: PlaceRequest, signal: AbortSignal): Promise<Placement>;
|
|
112
|
+
/**
|
|
113
|
+
* Counts an agent already running on `worker` against its worker, and
|
|
114
|
+
* reaches it there; throws for a worker this server no longer knows.
|
|
115
|
+
*/
|
|
116
|
+
hold(request: PlaceRequest, worker: string): Hold;
|
|
117
|
+
/** Where the agent of conversation `id` waits; null for one not waiting. */
|
|
118
|
+
spot(id: string): QueueSpot | null;
|
|
119
|
+
/**
|
|
120
|
+
* `changed` as the queue or the places held change; `drain` with a
|
|
121
|
+
* worker's id once it starts draining.
|
|
122
|
+
*/
|
|
123
|
+
readonly events: Events<{
|
|
124
|
+
changed: undefined;
|
|
125
|
+
drain: string;
|
|
126
|
+
}>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* What asks for a place: conversation `id`'s agent, of `task`, by the
|
|
130
|
+
* agent's id, which a worker must hold the key of. An automatic one, which
|
|
131
|
+
* splates started on its own, waits while starts are paused; one the person
|
|
132
|
+
* started goes on any worker up.
|
|
133
|
+
*/
|
|
134
|
+
export interface PlaceRequest {
|
|
135
|
+
id: string;
|
|
136
|
+
task: string | null;
|
|
137
|
+
agent: string;
|
|
138
|
+
automatic: boolean;
|
|
139
|
+
}
|
|
140
|
+
/** A place on a worker, and how to start an agent there. */
|
|
141
|
+
export interface Placement extends Grant {
|
|
142
|
+
launch: Launch;
|
|
143
|
+
}
|
|
144
|
+
/** A place on a worker an agent already runs on, and how to take it back. */
|
|
145
|
+
export interface Hold extends Grant {
|
|
146
|
+
/**
|
|
147
|
+
* Takes back the process `handle` names on the worker, as
|
|
148
|
+
* `Launcher.resume` does, once that worker joins.
|
|
149
|
+
*/
|
|
150
|
+
resume: Launcher["resume"];
|
|
151
|
+
}
|
|
152
|
+
/** The splates projects on this machine, as `Projects` lists them. */
|
|
153
|
+
export interface ProjectRoster {
|
|
154
|
+
/** Each project, flagged `gone` when its repository is no longer there. */
|
|
155
|
+
list(): Promise<(ProjectRef & {
|
|
156
|
+
gone: boolean;
|
|
157
|
+
})[]>;
|
|
158
|
+
/** What the project at `from` may do in the one at `to`. */
|
|
159
|
+
reach(from: string, to: string): Promise<Reach>;
|
|
160
|
+
}
|
|
161
|
+
/** A splates project a prompt can name as `#slug`. */
|
|
162
|
+
export interface ProjectRef {
|
|
163
|
+
slug: string;
|
|
164
|
+
/** Its main tree's root. */
|
|
165
|
+
root: string;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* `changed`, `ended` (a turn ended, however it did, or the agent failed to
|
|
169
|
+
* start) and `removed` each carry a conversation's id.
|
|
170
|
+
*/
|
|
171
|
+
export type ConversationsEvents = {
|
|
172
|
+
settings: undefined;
|
|
173
|
+
changed: string;
|
|
174
|
+
ended: string;
|
|
175
|
+
removed: string;
|
|
176
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type { Agent, AgentProcess, Launch, Launcher, Session, } from "../agents";
|
|
2
|
+
export { fold, heard, launch } from "../agents";
|
|
3
|
+
export type { Artifact, ArtifactGone, ArtifactVersion, } from "../artifacts";
|
|
4
|
+
export type { Picked } from "./conversation";
|
|
5
|
+
export { Conversation } from "./conversation";
|
|
6
|
+
export { ARCHIVED_KEPT, Conversations } from "./conversations";
|
|
7
|
+
export { JournalEvents } from "./events";
|
|
8
|
+
export { conversationOf, refuseGroomer } from "./given";
|
|
9
|
+
export type { ConversationDeps, ConversationEvents, ConversationHost, ConversationPlacer, ConversationsEvents, Lift, PlaceRequest, ProjectRef, } from "./host";
|
|
10
|
+
export { listing } from "./listing";
|
|
11
|
+
export type { Entry, Live } from "./log";
|
|
12
|
+
export { ConversationLog, LOG_FORMAT } from "./log";
|
|
13
|
+
export { messageOf, paused, said, textOf } from "./messages";
|
|
14
|
+
export { GROOMER_ROLE, grooms, lanesOf, namedForTask, nameOf, openingOf, realName, } from "./name";
|
|
15
|
+
export type { ConversationsOptions } from "./options";
|
|
16
|
+
export { conversationReference } from "./reference";
|
|
17
|
+
export { ConversationRoutes } from "./routes";
|
|
18
|
+
export type { Said } from "./search";
|
|
19
|
+
export type { After, Answer, Ask, Asked, Attached, AutoPickMark, AutoPickSet, Background, Backgrounded, BackgroundState, Checkpoint, Command, Compaction, ConversationState, Decision, Device, Edit, Field, Image, Limit, Message, Part, QueueSpot, Setting, Status, Step, Taking, Tool, Upload, Usage, } from "./state";
|
|
20
|
+
export { blank, DEVICES, FROM_HEADER, IDLE_STOP, listed, runOn, SERVER_TOLD, switched, unused, } from "./state";
|
|
21
|
+
export type { ConversationsHeard } from "./stream";
|
|
22
|
+
export { treeOf } from "./tree";
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fold2,
|
|
3
|
+
heard2,
|
|
4
|
+
said2,
|
|
5
|
+
textOf2,
|
|
6
|
+
paused2,
|
|
7
|
+
messageOf2,
|
|
8
|
+
nameOf2,
|
|
9
|
+
realName2,
|
|
10
|
+
namedForTask2,
|
|
11
|
+
GROOMER_ROLE2,
|
|
12
|
+
grooms2,
|
|
13
|
+
lanesOf2,
|
|
14
|
+
openingOf2,
|
|
15
|
+
conversationReference2,
|
|
16
|
+
unused2,
|
|
17
|
+
switched2,
|
|
18
|
+
IDLE_STOP2,
|
|
19
|
+
SERVER_TOLD2,
|
|
20
|
+
DEVICES2,
|
|
21
|
+
FROM_HEADER2,
|
|
22
|
+
blank2,
|
|
23
|
+
listed2,
|
|
24
|
+
runOn2,
|
|
25
|
+
launch2,
|
|
26
|
+
LOG_FORMAT2,
|
|
27
|
+
ConversationLog2,
|
|
28
|
+
Conversation2,
|
|
29
|
+
ARCHIVED_KEPT2,
|
|
30
|
+
Conversations2,
|
|
31
|
+
JournalEvents2,
|
|
32
|
+
conversationOf2,
|
|
33
|
+
refuseGroomer2,
|
|
34
|
+
listing2,
|
|
35
|
+
treeOf2,
|
|
36
|
+
ConversationRoutes2
|
|
37
|
+
} from "../index-caep3sde.js";
|
|
38
|
+
import"../index-01z7ycdk.js";
|
|
39
|
+
import"../index-e9z7s5hh.js";
|
|
40
|
+
import"../index-kmzdvvt0.js";
|
|
41
|
+
import"../index-t9w5a8ed.js";
|
|
42
|
+
import"../index-0jttnv86.js";
|
|
43
|
+
import"../index-g18nxyn7.js";
|
|
44
|
+
export {
|
|
45
|
+
ARCHIVED_KEPT2 as ARCHIVED_KEPT,
|
|
46
|
+
Conversation2 as Conversation,
|
|
47
|
+
ConversationLog2 as ConversationLog,
|
|
48
|
+
ConversationRoutes2 as ConversationRoutes,
|
|
49
|
+
Conversations2 as Conversations,
|
|
50
|
+
DEVICES2 as DEVICES,
|
|
51
|
+
FROM_HEADER2 as FROM_HEADER,
|
|
52
|
+
GROOMER_ROLE2 as GROOMER_ROLE,
|
|
53
|
+
IDLE_STOP2 as IDLE_STOP,
|
|
54
|
+
JournalEvents2 as JournalEvents,
|
|
55
|
+
LOG_FORMAT2 as LOG_FORMAT,
|
|
56
|
+
SERVER_TOLD2 as SERVER_TOLD,
|
|
57
|
+
blank2 as blank,
|
|
58
|
+
conversationOf2 as conversationOf,
|
|
59
|
+
conversationReference2 as conversationReference,
|
|
60
|
+
fold2 as fold,
|
|
61
|
+
grooms2 as grooms,
|
|
62
|
+
heard2 as heard,
|
|
63
|
+
lanesOf2 as lanesOf,
|
|
64
|
+
launch2 as launch,
|
|
65
|
+
listed2 as listed,
|
|
66
|
+
listing2 as listing,
|
|
67
|
+
messageOf2 as messageOf,
|
|
68
|
+
nameOf2 as nameOf,
|
|
69
|
+
namedForTask2 as namedForTask,
|
|
70
|
+
openingOf2 as openingOf,
|
|
71
|
+
paused2 as paused,
|
|
72
|
+
realName2 as realName,
|
|
73
|
+
refuseGroomer2 as refuseGroomer,
|
|
74
|
+
runOn2 as runOn,
|
|
75
|
+
said2 as said,
|
|
76
|
+
switched2 as switched,
|
|
77
|
+
textOf2 as textOf,
|
|
78
|
+
treeOf2 as treeOf,
|
|
79
|
+
unused2 as unused
|
|
80
|
+
};
|