@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,606 @@
|
|
|
1
|
+
import { Duration } from "../../../core/time/index.js";
|
|
2
|
+
import type { Flag } from "../agents";
|
|
3
|
+
import type { Artifact } from "../artifacts";
|
|
4
|
+
import type { OpenCodeUsage } from "../models";
|
|
5
|
+
import type { Event } from "../records";
|
|
6
|
+
/** What a session has used before its agent says anything of it. */
|
|
7
|
+
export declare function unused(): Usage;
|
|
8
|
+
/** Where an agent waits for a place, as the page shows it. */
|
|
9
|
+
export interface QueueSpot {
|
|
10
|
+
/** From 1, the next to be placed. */
|
|
11
|
+
position: number;
|
|
12
|
+
/** How many wait in all, on every project. */
|
|
13
|
+
of: number;
|
|
14
|
+
/** When it joined the queue. */
|
|
15
|
+
since: string;
|
|
16
|
+
/** Why it waits: "no free place", or "needs macOS" for a platform no worker runs. */
|
|
17
|
+
reason: string;
|
|
18
|
+
}
|
|
19
|
+
/** Everything the page shows of one conversation. */
|
|
20
|
+
export interface ConversationState {
|
|
21
|
+
id: string;
|
|
22
|
+
agent: string;
|
|
23
|
+
/** The task whose worktree it runs in; null for the main tree or a scratch conversation. */
|
|
24
|
+
task: string | null;
|
|
25
|
+
/** Runs projectless in its own scratch workspace; absent for a project's conversation. */
|
|
26
|
+
scratch?: true;
|
|
27
|
+
/**
|
|
28
|
+
* The task it runs in, or last ran in once that task merged or went; null
|
|
29
|
+
* until it runs in one.
|
|
30
|
+
*/
|
|
31
|
+
lastTask: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The branch `lastTask` was cut from, `task/<caller>` for a part, kept once
|
|
34
|
+
* it merges so the page still nests it under its caller; null for none.
|
|
35
|
+
*/
|
|
36
|
+
lastBase: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The conversation whose agent added `lastTask`, kept once it merges so
|
|
39
|
+
* the page still nests it under that one; null for none.
|
|
40
|
+
*/
|
|
41
|
+
lastCaller: string | null;
|
|
42
|
+
/** What the agent calls it, once it says. */
|
|
43
|
+
title: string | null;
|
|
44
|
+
/** What the person renamed it to, over the agent's title. */
|
|
45
|
+
name: string | null;
|
|
46
|
+
status: Status;
|
|
47
|
+
/** Why it failed, for `failed`. */
|
|
48
|
+
error: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* When splates stopped its agent for sitting idle `IDLE_STOP`; null otherwise,
|
|
51
|
+
* and again once it starts.
|
|
52
|
+
*/
|
|
53
|
+
stoppedIdle: string | null;
|
|
54
|
+
/** Where its agent waits for a place on a worker; null once it has one, or wants none. */
|
|
55
|
+
queue: QueueSpot | null;
|
|
56
|
+
messages: Message[];
|
|
57
|
+
/** What splates did at its agent's word, oldest first, shown among its messages. */
|
|
58
|
+
events: Event[];
|
|
59
|
+
ask: Ask | null;
|
|
60
|
+
/** What the session lets the person pick: its mode, model, effort. */
|
|
61
|
+
settings: Setting[];
|
|
62
|
+
/** The skills and commands a message can start with, as the agent last said. */
|
|
63
|
+
commands: Command[];
|
|
64
|
+
createdAt: string;
|
|
65
|
+
/** Put away: stopped, kept off the list, shown with the archived ones. */
|
|
66
|
+
archived: boolean;
|
|
67
|
+
/** When it was archived; null when not archived, or for a log too old to say. */
|
|
68
|
+
archivedAt: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* The conversation whose archiving put this one away with it, which
|
|
71
|
+
* unarchiving that one brings back; null when it was archived alone, or
|
|
72
|
+
* is not archived.
|
|
73
|
+
*/
|
|
74
|
+
archivedWith: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Archived resting: a persistent agent's run that ended with its role
|
|
77
|
+
* still on, the next run to start afresh in a new conversation. The
|
|
78
|
+
* newest of its role holds the role's row while no run is on, as a
|
|
79
|
+
* placeholder. Absent or false otherwise.
|
|
80
|
+
*/
|
|
81
|
+
resting?: boolean;
|
|
82
|
+
/** Kept atop the list, archived or not, until unpinned. */
|
|
83
|
+
pinned: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Where the person nested it in the list, over where its task would:
|
|
86
|
+
* under the conversation `id`, or at the top for a null `id`. Null until
|
|
87
|
+
* they do, while it nests by its task.
|
|
88
|
+
*/
|
|
89
|
+
parent: {
|
|
90
|
+
id: string | null;
|
|
91
|
+
} | null;
|
|
92
|
+
/**
|
|
93
|
+
* The lane orchestrator that handed it its task with `splates add --agent`:
|
|
94
|
+
* it answers to the person, as any conversation does, and that one only
|
|
95
|
+
* hears when it stops, and may wake, stop or remove it. Set when it
|
|
96
|
+
* starts, and kept once the task is gone.
|
|
97
|
+
*/
|
|
98
|
+
startedBy: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* The `version:` of the project's splates skill as it started, which the
|
|
101
|
+
* Stats page tells adherence apart by; null when it had none, or for a log
|
|
102
|
+
* written before it was kept.
|
|
103
|
+
*/
|
|
104
|
+
skill: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* Started on the agent and model a queued task or `splates add --agent`
|
|
107
|
+
* assigned, rather than ones the person picked, so a new conversation does not start
|
|
108
|
+
* where this one left its settings.
|
|
109
|
+
*/
|
|
110
|
+
assigned: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Auto pick is still deciding its agent: it shows the agent the rules
|
|
113
|
+
* fall back on with no judge until the pick lands, and opens none before.
|
|
114
|
+
*/
|
|
115
|
+
picking: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* What Auto pick set it to, and on what rule, once it has; null for one
|
|
118
|
+
* it did not start, or before it decided.
|
|
119
|
+
*/
|
|
120
|
+
autoPick: AutoPickMark | null;
|
|
121
|
+
/**
|
|
122
|
+
* Started by the server's queue or a hook, so its agent waits while
|
|
123
|
+
* starts are paused; the person's own conversations never do.
|
|
124
|
+
*/
|
|
125
|
+
automatic: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* The queued task it is held for, out of the line for a place until the
|
|
128
|
+
* queue starts that task and gives it its worktree; null otherwise.
|
|
129
|
+
*/
|
|
130
|
+
heldForTask: number | null;
|
|
131
|
+
/**
|
|
132
|
+
* The agent ended a turn the person has not seen yet: set as each turn
|
|
133
|
+
* ends, and cleared once the page shows it.
|
|
134
|
+
*/
|
|
135
|
+
unread: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* How many of its messages, those not queued, the person had seen when it
|
|
138
|
+
* was last marked read: an unread one opens at the one after.
|
|
139
|
+
*/
|
|
140
|
+
seen: number;
|
|
141
|
+
/**
|
|
142
|
+
* How many of its messages, those not queued, the person has read, by
|
|
143
|
+
* their reaching the foot of the page's view: it opens at the one after.
|
|
144
|
+
* Null for one the page has yet to report on, which opens at the foot, or
|
|
145
|
+
* at `seen` when unread.
|
|
146
|
+
*/
|
|
147
|
+
read: number | null;
|
|
148
|
+
/**
|
|
149
|
+
* Where the last checkpoint asked stands, kept in the log so a restart
|
|
150
|
+
* still shows it; null when none was, or once the work went on past it.
|
|
151
|
+
*/
|
|
152
|
+
checkpoint: Checkpoint | null;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the checkpoint asked is the person's pause, which Power leaves
|
|
155
|
+
* alone and nothing resumes: forgotten once it ends.
|
|
156
|
+
*/
|
|
157
|
+
pausing: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Why a worker budget hard stop asked the checkpoint, like `daily limit
|
|
160
|
+
* $5.00 reached`, kept in the log so a restart leaves it for the budget
|
|
161
|
+
* to carry on once it allows again; null for any other checkpoint, and
|
|
162
|
+
* once the work went on past it.
|
|
163
|
+
*/
|
|
164
|
+
budgetStop: string | null;
|
|
165
|
+
/** What a message said now would do, so the page places it as the server will. */
|
|
166
|
+
taking: Taking;
|
|
167
|
+
usage: Usage;
|
|
168
|
+
/** The commands the agent left in the background, oldest first. */
|
|
169
|
+
background: Background[];
|
|
170
|
+
/** The files its agent kept as its outputs, in the order first added, removed ones too. */
|
|
171
|
+
artifacts: Artifact[];
|
|
172
|
+
/**
|
|
173
|
+
* A run its `run evals` card started is going, which the agent hears of
|
|
174
|
+
* once it is done: set by the server while it runs, kept in no log.
|
|
175
|
+
*/
|
|
176
|
+
evaluating?: true;
|
|
177
|
+
/**
|
|
178
|
+
* Set when this is only a summary, as a listing sends every conversation:
|
|
179
|
+
* read `GET /api/conversations/<id>` for its tool calls, thoughts and
|
|
180
|
+
* commands.
|
|
181
|
+
*/
|
|
182
|
+
summary?: true;
|
|
183
|
+
/**
|
|
184
|
+
* The role of a persistent agent, as `"groomer"`: splates starts one
|
|
185
|
+
* conversation for the role per run, each with a fresh context, and
|
|
186
|
+
* keeps the role's row atop the list, archiving each run as it ends.
|
|
187
|
+
* Absent for an ordinary conversation.
|
|
188
|
+
*/
|
|
189
|
+
persistent?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The person's automation that started it, by its id, as an agent hook
|
|
192
|
+
* on a task event or a schedule, run by hand or not, so the page lists it
|
|
193
|
+
* with the persistent agents. Absent for any other.
|
|
194
|
+
*/
|
|
195
|
+
automation?: string;
|
|
196
|
+
/**
|
|
197
|
+
* The ship, by its id, whose adoption task it runs, so the page marks it
|
|
198
|
+
* with a ship. Absent for any other.
|
|
199
|
+
*/
|
|
200
|
+
ship?: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Where the agent is: `stopped` and `failed` have no process, and the next
|
|
204
|
+
* prompt resumes the session in a new one.
|
|
205
|
+
*/
|
|
206
|
+
/** What Auto pick set a conversation to, and why, as its log keeps it. */
|
|
207
|
+
export interface AutoPickSet {
|
|
208
|
+
/** The index in the rules of the rule it took; null before it took one, as for a conversation switched on that it has yet to look at. */
|
|
209
|
+
rule: number | null;
|
|
210
|
+
/** The kind and depth it was taken for; null when the judge was unsure. */
|
|
211
|
+
kind: string | null;
|
|
212
|
+
depth: string | null;
|
|
213
|
+
/** How settled the behavior was; absent on older picks. */
|
|
214
|
+
clarity?: string | null;
|
|
215
|
+
agent: string;
|
|
216
|
+
/** By the roster's id; null for the agent's own. */
|
|
217
|
+
model: string | null;
|
|
218
|
+
effort: string | null;
|
|
219
|
+
}
|
|
220
|
+
/** A conversation's Auto pick, and whether the person has moved off it since. */
|
|
221
|
+
export interface AutoPickMark extends AutoPickSet {
|
|
222
|
+
/** The person set the model or effort since, or switched it off, which then stands. */
|
|
223
|
+
overridden: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* The person switched it on: the next message they say is judged with
|
|
226
|
+
* all they said before, and the conversation moves to the rules' pick
|
|
227
|
+
* for it, down as well as up, on the agent it runs.
|
|
228
|
+
*/
|
|
229
|
+
rejudge?: true;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* What Auto pick holds for `state` once the person switches it `on` or off:
|
|
233
|
+
* on, to judge their next message afresh, keeping what it picked before, if
|
|
234
|
+
* anything; off, what it picked, overridden, or nothing for a conversation it
|
|
235
|
+
* never picked for.
|
|
236
|
+
*/
|
|
237
|
+
export declare function switched(state: Pick<ConversationState, "autoPick" | "agent">, on: boolean): AutoPickMark | null;
|
|
238
|
+
export type Status = "starting" | "idle" | "running" | "stopped" | "failed";
|
|
239
|
+
/**
|
|
240
|
+
* What a message said to a conversation would do: `start` a turn of its own,
|
|
241
|
+
* `steer` into the running turn, or `queue` for the turn's end.
|
|
242
|
+
*/
|
|
243
|
+
export type Taking = "start" | "steer" | "queue";
|
|
244
|
+
/** How long an agent sits idle before splates stops its process. */
|
|
245
|
+
export declare const IDLE_STOP: Duration;
|
|
246
|
+
/**
|
|
247
|
+
* The `told` of a message `splates server` said itself, as to the agent of a
|
|
248
|
+
* running lane's task: compare a message's `told` to it to name the server
|
|
249
|
+
* rather than another conversation.
|
|
250
|
+
*/
|
|
251
|
+
export declare const SERVER_TOLD = "splates";
|
|
252
|
+
/**
|
|
253
|
+
* Where a checkpoint stands: asked of the agent, done once its turn ends,
|
|
254
|
+
* failed with the turn, or unanswered after `CHECKPOINT_WAIT`.
|
|
255
|
+
*/
|
|
256
|
+
export type Checkpoint = "asked" | "done" | "failed" | "unanswered";
|
|
257
|
+
/**
|
|
258
|
+
* What follows a checkpoint once every agent is done: `splates server` restarts
|
|
259
|
+
* and tells each to carry on, or shuts down, and its next start does.
|
|
260
|
+
*/
|
|
261
|
+
export type After = "resume" | "shutdown";
|
|
262
|
+
/** One turn's worth of words, the person's or the agent's. */
|
|
263
|
+
export interface Message {
|
|
264
|
+
role: "user" | "agent";
|
|
265
|
+
parts: Part[];
|
|
266
|
+
/** The agent's plan, as last sent; null when it sent none. */
|
|
267
|
+
plan: Step[] | null;
|
|
268
|
+
/** When it began and last moved; null in a log too old to say. */
|
|
269
|
+
at: string | null;
|
|
270
|
+
until: string | null;
|
|
271
|
+
/**
|
|
272
|
+
* Said while the agent worked, to an agent that cannot take it mid-turn:
|
|
273
|
+
* it goes out when the turn ends.
|
|
274
|
+
*/
|
|
275
|
+
queued?: true;
|
|
276
|
+
/** When a queued prompt reached the agent; absent for prompts sent immediately or old logs. */
|
|
277
|
+
sentAt?: string;
|
|
278
|
+
/** When the person stopped the agent's turn, for one they stopped. */
|
|
279
|
+
stopped?: string;
|
|
280
|
+
/** When the connection to the agent was lost mid-turn, for one it cut short. */
|
|
281
|
+
interrupted?: string;
|
|
282
|
+
/** Said while the agent worked, and taken into the turn it was running. */
|
|
283
|
+
steered?: true;
|
|
284
|
+
/**
|
|
285
|
+
* The conversation that said it with `splates tell`, or `SERVER_TOLD`
|
|
286
|
+
* for `splates server`, for one the person did not say.
|
|
287
|
+
*/
|
|
288
|
+
told?: string;
|
|
289
|
+
/** Said into the mic rather than typed. */
|
|
290
|
+
dictated?: true;
|
|
291
|
+
/** The id the page gave it as it sent it, so it knows its own copy when it comes back. */
|
|
292
|
+
id?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Set while it is on its way: when the page sent it, as epoch ms, which
|
|
295
|
+
* the line under it counts its timeout from.
|
|
296
|
+
*/
|
|
297
|
+
sending?: number;
|
|
298
|
+
}
|
|
299
|
+
/** One piece of what someone in a conversation said or did. */
|
|
300
|
+
export type Part =
|
|
301
|
+
/**
|
|
302
|
+
* `at` is when the agent began saying it, where the server knows;
|
|
303
|
+
* `message` is the agent's id for its latest message here, if it gave one.
|
|
304
|
+
*/
|
|
305
|
+
{
|
|
306
|
+
type: "text";
|
|
307
|
+
text: string;
|
|
308
|
+
at?: string | null;
|
|
309
|
+
message?: string | null;
|
|
310
|
+
}
|
|
311
|
+
/** `at` is when the agent began it; null in a log too old to say. */
|
|
312
|
+
| {
|
|
313
|
+
type: "thought";
|
|
314
|
+
text: string;
|
|
315
|
+
at: string | null;
|
|
316
|
+
message?: string | null;
|
|
317
|
+
} | ({
|
|
318
|
+
type: "image";
|
|
319
|
+
} & Image) | ({
|
|
320
|
+
type: "file";
|
|
321
|
+
} & Attached) | Tool | Compaction;
|
|
322
|
+
/** An image the person sent, kept beside the conversation's log as `name`. */
|
|
323
|
+
export interface Image {
|
|
324
|
+
name: string;
|
|
325
|
+
mimeType: string;
|
|
326
|
+
/**
|
|
327
|
+
* Preview URL to display while the image uploads.
|
|
328
|
+
*/
|
|
329
|
+
url?: string;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* A file the person sent, other than an image the agent sees, kept beside
|
|
333
|
+
* the conversation's log as `name`; the agent is sent a link to it.
|
|
334
|
+
*/
|
|
335
|
+
export interface Attached extends Image {
|
|
336
|
+
/** What the person called it. */
|
|
337
|
+
title: string;
|
|
338
|
+
}
|
|
339
|
+
/** A file the person sent, as the page sends it, before it is kept. */
|
|
340
|
+
/** Where the person said something on the page: its phone layout or its wide one. */
|
|
341
|
+
export type Device = "phone" | "desktop";
|
|
342
|
+
export declare const DEVICES: readonly Device[];
|
|
343
|
+
/** The header a prompt from the page names its `Device` in. */
|
|
344
|
+
export declare const FROM_HEADER = "splates-from";
|
|
345
|
+
export interface Upload {
|
|
346
|
+
/** What the person called it. */
|
|
347
|
+
title: string;
|
|
348
|
+
mimeType: string;
|
|
349
|
+
bytes: Uint8Array;
|
|
350
|
+
}
|
|
351
|
+
/** What the person sent with their words, as their message holds it. */
|
|
352
|
+
export type Sent = Extract<Part, {
|
|
353
|
+
type: "image" | "file";
|
|
354
|
+
}>;
|
|
355
|
+
/** A tool call the agent made, as much of it as the page shows. */
|
|
356
|
+
export interface Tool {
|
|
357
|
+
type: "tool";
|
|
358
|
+
id: string;
|
|
359
|
+
title: string;
|
|
360
|
+
status: "pending" | "in_progress" | "completed" | "failed";
|
|
361
|
+
/** What ACP says it does: read, edit, execute, search, think, and so on. */
|
|
362
|
+
kind: string | null;
|
|
363
|
+
/** The command it runs, for one that runs one. */
|
|
364
|
+
command: string | null;
|
|
365
|
+
/** What it searches for or fetches, as its input names it: a pattern, a query or a URL. */
|
|
366
|
+
target: string | null;
|
|
367
|
+
/** The end of what it printed, at most `TOOL_CHARS`. */
|
|
368
|
+
output: string;
|
|
369
|
+
/** The reported process exit code; absent until reported, or in older state. */
|
|
370
|
+
exitCode?: number;
|
|
371
|
+
/** The changes it made to files. */
|
|
372
|
+
edits: Edit[];
|
|
373
|
+
/** The files it touched. */
|
|
374
|
+
paths: string[];
|
|
375
|
+
/** The subagent's tool call it was made under, if one made it. */
|
|
376
|
+
parent: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* For a call that starts a subagent, as Claude's Agent tool: its type and
|
|
379
|
+
* the model it was asked to run on, each null when the call names none.
|
|
380
|
+
*/
|
|
381
|
+
subagent?: {
|
|
382
|
+
type: string | null;
|
|
383
|
+
model: string | null;
|
|
384
|
+
};
|
|
385
|
+
/** When it began and finished; null in a log too old to say, or until it has. */
|
|
386
|
+
at: string | null;
|
|
387
|
+
until: string | null;
|
|
388
|
+
/** What a command did to git that it should not have. */
|
|
389
|
+
flags: Flag[];
|
|
390
|
+
/** How the person answered the agent asking to make it; null when it never asked. */
|
|
391
|
+
decision: Decision | null;
|
|
392
|
+
/**
|
|
393
|
+
* For a call that left its command running in the background, as Claude's
|
|
394
|
+
* Bash with `run_in_background`, how that command went: kept once it ends,
|
|
395
|
+
* as the thread's line for it says.
|
|
396
|
+
*/
|
|
397
|
+
background?: Backgrounded;
|
|
398
|
+
}
|
|
399
|
+
/** How a command a tool call left in the background went. */
|
|
400
|
+
export interface Backgrounded {
|
|
401
|
+
/** The agent's id for it, as the conversation's `Background` names it. */
|
|
402
|
+
id: string;
|
|
403
|
+
state: BackgroundState;
|
|
404
|
+
/** What it exited with, once the agent says; null until then, or when it never does. */
|
|
405
|
+
exitCode: number | null;
|
|
406
|
+
/** When it ended; null until it has, or in a log too old to say. */
|
|
407
|
+
until: string | null;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The agent folding its context into a summary, as Claude does at its
|
|
411
|
+
* window's limit or on `/compact`: what came before it is only remembered as
|
|
412
|
+
* that summary from then on.
|
|
413
|
+
*/
|
|
414
|
+
export interface Compaction {
|
|
415
|
+
type: "compaction";
|
|
416
|
+
id: string;
|
|
417
|
+
status: "in_progress" | "completed" | "failed";
|
|
418
|
+
/** Whether the agent compacted on its own, at its limit, or was told to; null until it says. */
|
|
419
|
+
trigger: "automatic" | "manual" | null;
|
|
420
|
+
/** Tokens in context before and after; null until the agent says. */
|
|
421
|
+
before: number | null;
|
|
422
|
+
after: number | null;
|
|
423
|
+
/** What the agent kept of the thread above the line; null until it says, or when it does not. */
|
|
424
|
+
summary: string | null;
|
|
425
|
+
/** When it began and finished; null in a log too old to say, or until it has. */
|
|
426
|
+
at: string | null;
|
|
427
|
+
until: string | null;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* A command the agent left running in the background, as Claude's Bash with
|
|
431
|
+
* `run_in_background`, kept once it ends until the agent's process does.
|
|
432
|
+
*/
|
|
433
|
+
export interface Background {
|
|
434
|
+
/** The agent's id for it, which stopping it names. */
|
|
435
|
+
id: string;
|
|
436
|
+
/** What the agent said it is for. */
|
|
437
|
+
name: string;
|
|
438
|
+
/** The command it runs, from the tool call that started it; null when unknown. */
|
|
439
|
+
command: string | null;
|
|
440
|
+
/**
|
|
441
|
+
* The subagent whose call started it, by that subagent's tool call; null
|
|
442
|
+
* for one the agent started itself, or when the call is unknown.
|
|
443
|
+
*/
|
|
444
|
+
subagent: {
|
|
445
|
+
id: string;
|
|
446
|
+
title: string;
|
|
447
|
+
} | null;
|
|
448
|
+
state: BackgroundState;
|
|
449
|
+
/** The file the agent writes what it prints to; null until it says. */
|
|
450
|
+
output: string | null;
|
|
451
|
+
}
|
|
452
|
+
export type BackgroundState = "running" | "completed" | "failed" | "stopped";
|
|
453
|
+
/** How the person answered an agent asking permission for a tool call. */
|
|
454
|
+
export interface Decision {
|
|
455
|
+
/** When permission was requested; absent in older logs. */
|
|
456
|
+
askedAt?: string;
|
|
457
|
+
/** The option they picked; null for an ask dismissed, as by stopping the turn. */
|
|
458
|
+
option: {
|
|
459
|
+
name: string;
|
|
460
|
+
kind: string;
|
|
461
|
+
} | null;
|
|
462
|
+
at: string;
|
|
463
|
+
}
|
|
464
|
+
/** A change to one file: `old` is null for a file the edit created. */
|
|
465
|
+
export interface Edit {
|
|
466
|
+
path: string;
|
|
467
|
+
old: string | null;
|
|
468
|
+
new: string;
|
|
469
|
+
}
|
|
470
|
+
/** A step of the agent's plan for the turn. */
|
|
471
|
+
export interface Step {
|
|
472
|
+
text: string;
|
|
473
|
+
status: "pending" | "in_progress" | "completed";
|
|
474
|
+
}
|
|
475
|
+
/** A field of a question an agent asks, answered with one of `choices` or in words. */
|
|
476
|
+
export interface Field {
|
|
477
|
+
key: string;
|
|
478
|
+
title: string;
|
|
479
|
+
description: string | null;
|
|
480
|
+
/** Absent for a field answered in words. */
|
|
481
|
+
choices: {
|
|
482
|
+
value: string;
|
|
483
|
+
title: string;
|
|
484
|
+
description: string | null;
|
|
485
|
+
}[] | null;
|
|
486
|
+
}
|
|
487
|
+
/** What the agent is waiting on the person for, since `at`. */
|
|
488
|
+
export type Ask = Asked & {
|
|
489
|
+
at: string;
|
|
490
|
+
};
|
|
491
|
+
/** What the agent asks, before it is stamped with when. */
|
|
492
|
+
export type Asked = {
|
|
493
|
+
type: "permission";
|
|
494
|
+
id: string;
|
|
495
|
+
title: string;
|
|
496
|
+
options: {
|
|
497
|
+
id: string;
|
|
498
|
+
name: string;
|
|
499
|
+
kind: string;
|
|
500
|
+
}[];
|
|
501
|
+
} | {
|
|
502
|
+
type: "question";
|
|
503
|
+
id: string;
|
|
504
|
+
message: string;
|
|
505
|
+
fields: Field[];
|
|
506
|
+
};
|
|
507
|
+
/** How an `Ask` was answered. */
|
|
508
|
+
export type Answer = {
|
|
509
|
+
type: "permission";
|
|
510
|
+
option: string;
|
|
511
|
+
} | {
|
|
512
|
+
type: "question";
|
|
513
|
+
values: Record<string, string>;
|
|
514
|
+
} | {
|
|
515
|
+
type: "dismiss";
|
|
516
|
+
};
|
|
517
|
+
/** A choice the agent offers for the session, like its model. */
|
|
518
|
+
export interface Setting {
|
|
519
|
+
id: string;
|
|
520
|
+
name: string;
|
|
521
|
+
/**
|
|
522
|
+
* A pick among its options, or an on/off toggle, like fast mode, whose
|
|
523
|
+
* options are `on` and `off`.
|
|
524
|
+
*/
|
|
525
|
+
type: "select" | "boolean";
|
|
526
|
+
/** What it sets, as ACP names it: mode, model, thought_level, or its own. */
|
|
527
|
+
category: string | null;
|
|
528
|
+
current: string;
|
|
529
|
+
options: {
|
|
530
|
+
value: string;
|
|
531
|
+
name: string;
|
|
532
|
+
description: string | null;
|
|
533
|
+
}[];
|
|
534
|
+
}
|
|
535
|
+
/** A command the agent runs when a message starts with `/` and its name. */
|
|
536
|
+
export interface Command {
|
|
537
|
+
name: string;
|
|
538
|
+
description: string;
|
|
539
|
+
/** What to write after its name, for one that takes input. */
|
|
540
|
+
hint: string | null;
|
|
541
|
+
}
|
|
542
|
+
/** What a session has used, as far as its agent says. */
|
|
543
|
+
export interface Usage {
|
|
544
|
+
/** OpenCode draft ACP observations, separate from legacy accounting. */
|
|
545
|
+
opencode?: OpenCodeUsage;
|
|
546
|
+
/** Tokens in the context window, of the most it holds; null until said. */
|
|
547
|
+
context: {
|
|
548
|
+
used: number;
|
|
549
|
+
size: number;
|
|
550
|
+
} | null;
|
|
551
|
+
/** Tokens read over every turn the agent counted, those from cache among them. */
|
|
552
|
+
input: number;
|
|
553
|
+
/** Of `input`, those read from cache. */
|
|
554
|
+
cached: number;
|
|
555
|
+
/** Tokens written over every turn the agent counted. */
|
|
556
|
+
output: number;
|
|
557
|
+
/**
|
|
558
|
+
* What the session cost, over every process it ran in; null for an agent
|
|
559
|
+
* that never says, as Codex does not.
|
|
560
|
+
*/
|
|
561
|
+
cost: {
|
|
562
|
+
amount: number;
|
|
563
|
+
currency: string;
|
|
564
|
+
/**
|
|
565
|
+
* What the agent last said it had cost: Claude counts from naught in
|
|
566
|
+
* each new process, so a figure below it starts a new count.
|
|
567
|
+
*/
|
|
568
|
+
said: number;
|
|
569
|
+
} | null;
|
|
570
|
+
/** The plan's windows of use, as the agent last said; none from Codex. */
|
|
571
|
+
limits: Limit[];
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* One window of the plan's use, as Claude says with each reply: the account's,
|
|
575
|
+
* not the session's, so every conversation with the agent shares it.
|
|
576
|
+
*/
|
|
577
|
+
export interface Limit {
|
|
578
|
+
/** As Claude names it: `five_hour`, `seven_day`, `seven_day_opus`. */
|
|
579
|
+
window: string;
|
|
580
|
+
/** How much of it is used, from 0 to 1. */
|
|
581
|
+
used: number;
|
|
582
|
+
/** When it starts over, as an ISO timestamp. */
|
|
583
|
+
resets: string;
|
|
584
|
+
/** When the agent said so; null in logs written before it was kept. */
|
|
585
|
+
at: string | null;
|
|
586
|
+
}
|
|
587
|
+
/** A conversation as it starts, before its agent has said anything. */
|
|
588
|
+
export declare function blank(id: string, agent: string, task: string | null, createdAt: string, base?: string | null, caller?: string | null, assigned?: boolean, startedBy?: string | null, scratch?: boolean): ConversationState;
|
|
589
|
+
/**
|
|
590
|
+
* `state` as a listing sends it: a summary, since the
|
|
591
|
+
* page shows little of one until it is opened, and its events and messages
|
|
592
|
+
* are most of what every conversation weighs. ⌘K searches the rest on the
|
|
593
|
+
* server (see `saidIn`).
|
|
594
|
+
*/
|
|
595
|
+
export declare function listed(state: ConversationState): ConversationState;
|
|
596
|
+
/**
|
|
597
|
+
* Moves `state` onto `agent`, as Auto's pick does before any session opens,
|
|
598
|
+
* keeping the usage only OpenCode tracks for OpenCode.
|
|
599
|
+
*/
|
|
600
|
+
export declare function runOn(state: ConversationState, agent: string): void;
|
|
601
|
+
/**
|
|
602
|
+
* Who added the task a conversation moves to, as it keeps it: kept from
|
|
603
|
+
* before for none, and none for the task it was moved away from in the list,
|
|
604
|
+
* whose caller it was cut loose from.
|
|
605
|
+
*/
|
|
606
|
+
export declare function callerAfter(state: Pick<ConversationState, "lastCaller" | "lastTask" | "parent">, task: string | null, caller: string | null): string | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type Resource } from "../../../core/disposable/index.js";
|
|
2
|
+
import type { Conversations } from "./conversations";
|
|
3
|
+
import { type ConversationState } from "./state";
|
|
4
|
+
/** What a listener hears of a project's conversations. */
|
|
5
|
+
export interface ConversationsHeard {
|
|
6
|
+
/** A conversation, whole, as it is now. */
|
|
7
|
+
changed(state: ConversationState): void;
|
|
8
|
+
/** An older archived conversation, deleted. */
|
|
9
|
+
removed(id: string): void;
|
|
10
|
+
/** The agents' saved settings or limits moved. */
|
|
11
|
+
settings(): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Streams each project's conversations at most once per beat. Pages receive
|
|
15
|
+
* summaries when they connect, then deltas; other listeners receive states.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ConversationStream implements Resource {
|
|
18
|
+
private readonly conversations;
|
|
19
|
+
private readonly pages;
|
|
20
|
+
private readonly copies;
|
|
21
|
+
private readonly heard;
|
|
22
|
+
/** Each conversation's beat, by id, while it lives. */
|
|
23
|
+
private readonly beats;
|
|
24
|
+
private readonly disposer;
|
|
25
|
+
constructor(conversations: Conversations);
|
|
26
|
+
/** The stream a page listens to. */
|
|
27
|
+
events(): Response;
|
|
28
|
+
/** Tells `heard` of each change a page hears, until the returned function is called. */
|
|
29
|
+
listen(heard: ConversationsHeard): () => void;
|
|
30
|
+
dispose(): void;
|
|
31
|
+
private changed;
|
|
32
|
+
private write;
|
|
33
|
+
private send;
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Message } from "./state";
|
|
2
|
+
/** How much of the end of a conversation a transcript keeps, in characters. */
|
|
3
|
+
export declare const TRANSCRIPT_CHARS = 40000;
|
|
4
|
+
/**
|
|
5
|
+
* The end of what was said and done in `messages`, as markdown for the next
|
|
6
|
+
* agent on its task to read: each turn's words, and a line for each command
|
|
7
|
+
* or other tool its agent ran, with how it ended. Thoughts and files stay out.
|
|
8
|
+
*/
|
|
9
|
+
export declare function transcriptOf(messages: readonly Message[]): string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WorktreeService } from "../tasks";
|
|
2
|
+
/**
|
|
3
|
+
* Where a conversation runs: its task's name, the tree, the branch the task
|
|
4
|
+
* was cut from, and the conversation whose agent added it.
|
|
5
|
+
*/
|
|
6
|
+
export type Tree = [string | null, string, string | null, string | null];
|
|
7
|
+
/**
|
|
8
|
+
* Where a conversation for `task` runs: its worktree, or the main tree for
|
|
9
|
+
* none, refusing a task whose worktree is gone.
|
|
10
|
+
*/
|
|
11
|
+
export declare function treeOf(service: WorktreeService, task: unknown): Promise<Tree>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Used } from "../spend";
|
|
2
|
+
import type { Adherence, Outcomes } from "../stats";
|
|
3
|
+
import type { Storage } from "../storage";
|
|
4
|
+
import type { Conversation } from "./conversation";
|
|
5
|
+
import type { ProjectRoster } from "./host";
|
|
6
|
+
import type { ConversationsOptions } from "./options";
|
|
7
|
+
/** What looks back at a turn once it ends, each null for nothing. */
|
|
8
|
+
export interface LookingBack {
|
|
9
|
+
adherence: Adherence | null;
|
|
10
|
+
outcomes: Outcomes | null;
|
|
11
|
+
spend: NonNullable<ConversationsOptions["spend"]> | null;
|
|
12
|
+
storage: Storage;
|
|
13
|
+
root: string | null;
|
|
14
|
+
projects: ProjectRoster | null;
|
|
15
|
+
}
|
|
16
|
+
/** A turn as it began, as far as this server saw it begin. */
|
|
17
|
+
export interface Began {
|
|
18
|
+
/** When; null when it began before this server. */
|
|
19
|
+
at: string | null;
|
|
20
|
+
/** What it had used by then, for the ledger; null when unseen. */
|
|
21
|
+
used: Used | null;
|
|
22
|
+
/** How many turns OpenCode had said it ran by then. */
|
|
23
|
+
turnsBefore: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Looks back, without waiting, at the turn of `conversation` that began as
|
|
27
|
+
* `began` says and has just ended, however it did: how it followed the
|
|
28
|
+
* skill, an outcome it saved, what it cost.
|
|
29
|
+
*/
|
|
30
|
+
export declare function lookBack(conversation: Conversation, { adherence, outcomes, spend, storage, root, projects }: LookingBack, began: Began): void;
|