@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,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How the page shows an artifact of `mimeType`: an image or a recording in
|
|
3
|
+
* the lightbox, a page in a sandboxed frame, or null for one it only offers
|
|
4
|
+
* as a download, which the server sends as an attachment to match.
|
|
5
|
+
*/
|
|
6
|
+
export declare function viewerOf(mimeType: string): "image" | "video" | "page" | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Noul } from "./system-one";
|
|
2
|
+
/** One thing the judge says of a task, as the page names it. */
|
|
3
|
+
export interface TaskClass<Id extends string> {
|
|
4
|
+
id: Id;
|
|
5
|
+
label: string;
|
|
6
|
+
noul: Noul;
|
|
7
|
+
}
|
|
8
|
+
export declare const KIND_IDS: readonly ["bugfix", "design", "open"];
|
|
9
|
+
export type KindId = (typeof KIND_IDS)[number];
|
|
10
|
+
export declare const DEPTH_IDS: readonly ["shallow", "moderate", "deep"];
|
|
11
|
+
export type DepthId = (typeof DEPTH_IDS)[number];
|
|
12
|
+
/** Kinds remain independent questions; the request's length is not a design decision. */
|
|
13
|
+
export declare const KINDS: readonly TaskClass<KindId>[];
|
|
14
|
+
/** The hardest reasoning step, independent of how much code or prose there is. */
|
|
15
|
+
export declare const DEPTHS: readonly TaskClass<DepthId>[];
|
|
16
|
+
export declare const BREADTHS: readonly [TaskClass<"spot">, TaskClass<"module">, TaskClass<"system">];
|
|
17
|
+
export declare const CLARITY_IDS: readonly ["settled", "unresolved"];
|
|
18
|
+
export type ClarityId = (typeof CLARITY_IDS)[number];
|
|
19
|
+
/** How settled the requested behavior is, independent of tone and reasoning depth. */
|
|
20
|
+
export declare const CLARITIES: readonly TaskClass<ClarityId>[];
|
|
21
|
+
export declare const STAKES: readonly [TaskClass<"routine">, TaskClass<"sensitive">];
|
|
22
|
+
export declare const VERIFICATIONS: readonly [TaskClass<"automated">, TaskClass<"visual">];
|
|
23
|
+
/** Context judgments are recorded and explained; clarity also participates in rule matching. */
|
|
24
|
+
export declare const CONTEXT_CLASSES: {
|
|
25
|
+
readonly breadth: readonly [TaskClass<"spot">, TaskClass<"module">, TaskClass<"system">];
|
|
26
|
+
readonly clarity: readonly TaskClass<"settled" | "unresolved">[];
|
|
27
|
+
readonly stakes: readonly [TaskClass<"routine">, TaskClass<"sensitive">];
|
|
28
|
+
readonly verification: readonly [TaskClass<"automated">, TaskClass<"visual">];
|
|
29
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Duration } from "../../../core/time/index.js";
|
|
2
|
+
import { type DepthId, type KindId } from "./classes";
|
|
3
|
+
import type { Judge } from "./system-one";
|
|
4
|
+
/**
|
|
5
|
+
* What the judge said of a task: the probability, 0 to 1, that it is each
|
|
6
|
+
* kind of work and each depth. A question left unanswered is a coin toss.
|
|
7
|
+
*/
|
|
8
|
+
export interface Classification {
|
|
9
|
+
kinds: Record<KindId, number>;
|
|
10
|
+
depth: Record<DepthId, number>;
|
|
11
|
+
/** Additional evidence, absent on older records. */
|
|
12
|
+
breadth?: Record<"spot" | "module" | "system", number>;
|
|
13
|
+
/** How settled the intended behavior is; independently matched by rules. */
|
|
14
|
+
clarity?: Record<"settled" | "unresolved", number>;
|
|
15
|
+
stakes?: Record<"routine" | "sensitive", number>;
|
|
16
|
+
verification?: Record<"automated" | "visual", number>;
|
|
17
|
+
}
|
|
18
|
+
/** A classification, or why there is none, in a short line the page can show. */
|
|
19
|
+
export type Classified = {
|
|
20
|
+
ok: true;
|
|
21
|
+
classification: Classification;
|
|
22
|
+
} | {
|
|
23
|
+
ok: false;
|
|
24
|
+
reason: string;
|
|
25
|
+
};
|
|
26
|
+
/** What `classify` reads. */
|
|
27
|
+
export interface ClassifyInput {
|
|
28
|
+
/** The task's subject line. */
|
|
29
|
+
subject: string;
|
|
30
|
+
/** The rest of the task: its body or a conversation's first prompt. */
|
|
31
|
+
detail: string;
|
|
32
|
+
/** The decision model; null when no cred for one is kept. */
|
|
33
|
+
judge: Judge | null;
|
|
34
|
+
/** Names and MIME types only; never attachment contents. */
|
|
35
|
+
attachments?: readonly AttachmentInfo[];
|
|
36
|
+
/** How long the judge may take; 5 seconds when not given. */
|
|
37
|
+
timeout?: Duration;
|
|
38
|
+
/** Gives up on the judgment, and rejects with its reason, when it aborts. */
|
|
39
|
+
signal?: AbortSignal;
|
|
40
|
+
}
|
|
41
|
+
/** Metadata available before a first message has been uploaded. */
|
|
42
|
+
export interface AttachmentInfo {
|
|
43
|
+
name: string;
|
|
44
|
+
mimeType: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Asks the judge every question about the task in one judgment. With no
|
|
48
|
+
* judge, or one that fails or is slow, says why instead; rejects only when
|
|
49
|
+
* `input.signal` aborts.
|
|
50
|
+
*/
|
|
51
|
+
export declare function classify(input: ClassifyInput): Promise<Classified>;
|
|
52
|
+
/** Paths mentioned anywhere in the goal survive the detail's size limit. */
|
|
53
|
+
export declare function namedPaths(words: string): string[];
|
|
54
|
+
/** Count, media kind and name of each attachment; no file is opened. */
|
|
55
|
+
export declare function attachmentSummary(files: readonly AttachmentInfo[]): string;
|
|
56
|
+
/**
|
|
57
|
+
* The detail the judge reads, at most this long: the head says how big the
|
|
58
|
+
* work is, and a provider cuts a long state short without saying.
|
|
59
|
+
*/
|
|
60
|
+
export declare const DETAIL_CHARS = 4000;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type EndpointOptions, type Judge, type JudgeOptions, type Judgment } from "./system-one";
|
|
2
|
+
/** Cloudflare's decision model on Workers AI. */
|
|
3
|
+
export declare class Clef implements Judge {
|
|
4
|
+
/** The Cloudflare account id Workers AI bills. */
|
|
5
|
+
private readonly account;
|
|
6
|
+
/** An API token with Workers AI read access. */
|
|
7
|
+
private readonly token;
|
|
8
|
+
private readonly opts;
|
|
9
|
+
constructor(
|
|
10
|
+
/** The Cloudflare account id Workers AI bills. */
|
|
11
|
+
account: string,
|
|
12
|
+
/** An API token with Workers AI read access. */
|
|
13
|
+
token: string, opts?: EndpointOptions);
|
|
14
|
+
judge(judgment: Judgment, opts?: JudgeOptions): Promise<import("./system-one").Verdict>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { Limit, Setting } from "../conversations";
|
|
2
|
+
import type { AgentPick, RosterAgent } from "../models";
|
|
3
|
+
import { type Catalog } from "../prices";
|
|
4
|
+
import { type ClarityId, type DepthId, type KindId } from "./classes";
|
|
5
|
+
import type { Classification } from "./classify";
|
|
6
|
+
import { type AutoPickRules } from "./rules";
|
|
7
|
+
/**
|
|
8
|
+
* Turns a classification into a pick: kind, depth and certainty each
|
|
9
|
+
* when the judge is sure enough, find the first rule matching all three,
|
|
10
|
+
* and the first of its picks whose agent has plan left, used no faster than
|
|
11
|
+
* its windows go by, wins.
|
|
12
|
+
*/
|
|
13
|
+
export declare function decide(input: DecideInput): AutoPickDecision;
|
|
14
|
+
/** Whom Auto pick starts on a task, and why. */
|
|
15
|
+
export interface AutoPickDecision {
|
|
16
|
+
pick: AgentPick;
|
|
17
|
+
/** The index in the rules of the rule that matched. */
|
|
18
|
+
rule: number;
|
|
19
|
+
/** The kind the task was taken for; null when the judge was not sure of any. */
|
|
20
|
+
kind: KindId | null;
|
|
21
|
+
/** The depth the task was taken for; null when the judge was not sure of any. */
|
|
22
|
+
depth: DepthId | null;
|
|
23
|
+
/** How settled the behavior was; absent on older decisions, null when unclear. */
|
|
24
|
+
clarity?: ClarityId | null;
|
|
25
|
+
/** Why, in short lines the page can show, the pick first. */
|
|
26
|
+
reasons: string[];
|
|
27
|
+
}
|
|
28
|
+
/** What a decision reads besides the task's classification. */
|
|
29
|
+
export interface DecideContext {
|
|
30
|
+
/** The person's mapping, `AutoPickStore.rules()`. */
|
|
31
|
+
rules: AutoPickRules;
|
|
32
|
+
/** The roster, `Roster.agents()`. */
|
|
33
|
+
agents: RosterAgent[];
|
|
34
|
+
/**
|
|
35
|
+
* The ids of the agents splates can start here, `Conversations.agents`: a
|
|
36
|
+
* pick of any other is passed over, so the decision names one that runs.
|
|
37
|
+
*/
|
|
38
|
+
runnable: readonly string[];
|
|
39
|
+
/** Each agent's plan limits, `Limits.all()`. */
|
|
40
|
+
limits: Record<string, Limit[]>;
|
|
41
|
+
/** What each agent that ran on this machine offers, `Offered.all()`. */
|
|
42
|
+
offered: Record<string, Setting[]>;
|
|
43
|
+
now: Date;
|
|
44
|
+
/** Whether the task's first prompt has an image attached, so a pick that cannot see one is passed over. */
|
|
45
|
+
images?: boolean;
|
|
46
|
+
/** What models.dev says each model takes in; null when never heard. */
|
|
47
|
+
catalog?: Catalog | null;
|
|
48
|
+
/** Whether each agent last said it takes images, `Offered.sights()`. */
|
|
49
|
+
sights?: Record<string, boolean>;
|
|
50
|
+
}
|
|
51
|
+
/** What `decide` reads. */
|
|
52
|
+
export interface DecideInput extends DecideContext {
|
|
53
|
+
/** What the judge said of the task. */
|
|
54
|
+
classification: Classification;
|
|
55
|
+
}
|
|
56
|
+
/** What `decideWithout` reads. */
|
|
57
|
+
export interface DecideWithoutInput extends DecideContext {
|
|
58
|
+
/** Why there is no classification, as `classify` said. */
|
|
59
|
+
reason: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A pick for a task the judge could not classify: the first rule that takes
|
|
63
|
+
* any kind and any depth, saying why the judge was not asked.
|
|
64
|
+
*/
|
|
65
|
+
export declare function decideWithout(input: DecideWithoutInput): AutoPickDecision;
|
|
66
|
+
/**
|
|
67
|
+
* A pick for the work of `set` taken one depth deeper, as when its first
|
|
68
|
+
* answer showed it was more than judged: the first rule matching its kind and
|
|
69
|
+
* that depth, saying `why`. A depth the judge was unsure of counts as
|
|
70
|
+
* shallow; null when it is deep already.
|
|
71
|
+
*/
|
|
72
|
+
export declare function decideDeeper(input: DecideContext, set: {
|
|
73
|
+
kind: string | null;
|
|
74
|
+
depth: string | null;
|
|
75
|
+
clarity?: string | null;
|
|
76
|
+
}, why: string): AutoPickDecision | null;
|
|
77
|
+
/** The pick in words: `Sonnet 5.5, low effort`. */
|
|
78
|
+
export declare function headline(pick: AgentPick, agent: RosterAgent): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type Message } from "../conversations";
|
|
2
|
+
/**
|
|
3
|
+
* What to hand the judge after the person sends a message: null for their
|
|
4
|
+
* first, which Auto pick judged as the conversation started, otherwise
|
|
5
|
+
* everything they have said, the latest kept should it run long.
|
|
6
|
+
*/
|
|
7
|
+
export declare function wordsToJudge(messages: readonly Message[]): {
|
|
8
|
+
subject: string;
|
|
9
|
+
detail: string;
|
|
10
|
+
} | null;
|
|
11
|
+
/**
|
|
12
|
+
* What the judge reads of a conversation the person switched Auto pick on
|
|
13
|
+
* for: everything they have said in `messages`, the latest kept should it
|
|
14
|
+
* run long; null before they have said anything.
|
|
15
|
+
*/
|
|
16
|
+
export declare function wordsSoFar(messages: readonly Message[]): {
|
|
17
|
+
subject: string;
|
|
18
|
+
detail: string;
|
|
19
|
+
} | null;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the person's second message, among `said`, answers a first agent
|
|
22
|
+
* reply that ended on a bare prose question rather than a card, however the
|
|
23
|
+
* conversation began.
|
|
24
|
+
*/
|
|
25
|
+
export declare function askedBack(messages: readonly Message[], said: readonly Message[]): boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type { ClarityId, DepthId, KindId, TaskClass } from "./classes";
|
|
2
|
+
export { CLARITIES, CLARITY_IDS, DEPTH_IDS, DEPTHS, KIND_IDS, KINDS, } from "./classes";
|
|
3
|
+
export type { AttachmentInfo, Classification, Classified, ClassifyInput, } from "./classify";
|
|
4
|
+
export { classify, DETAIL_CHARS } from "./classify";
|
|
5
|
+
export { Clef } from "./clef";
|
|
6
|
+
export type { AutoPickDecision, DecideContext, DecideInput, DecideWithoutInput, } from "./decide";
|
|
7
|
+
export { decide, decideWithout } from "./decide";
|
|
8
|
+
export { DEFAULT_RULES } from "./defaults";
|
|
9
|
+
export { type Attribution, Jev } from "./jev";
|
|
10
|
+
export { JUDGE_CREDS, type JudgeFor, judgeFrom, projectJudge, } from "./judge";
|
|
11
|
+
export { classificationKey } from "./key";
|
|
12
|
+
export { lifting } from "./lift";
|
|
13
|
+
export { QueueAutoPick } from "./queue";
|
|
14
|
+
export type { AutoPicked } from "./record";
|
|
15
|
+
export { AutoPickRoutes } from "./routes";
|
|
16
|
+
export type { AutoPickRules, CheckedRules, Pace, Rule } from "./rules";
|
|
17
|
+
export { ANY, AUTO_PICK_RULES, checkRules, DEFAULT_PACE, RULES_FORMAT, ruleLabel, } from "./rules";
|
|
18
|
+
export type { AutoPickAgent, AutoPickRulesView } from "./rules-routes";
|
|
19
|
+
export { AutoPickRulesRoutes, pickableAgents } from "./rules-routes";
|
|
20
|
+
export type { AutoPickStart, AutoPickTarget, AutoPickWords } from "./start";
|
|
21
|
+
export { startAutoPick } from "./start";
|
|
22
|
+
export { AutoPickStore } from "./store";
|
|
23
|
+
export type { Judge, JudgeOptions, Judgment, Noul, Verdict, } from "./system-one";
|
|
24
|
+
export type { AutoPickTrial } from "./trial";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Spend } from "../spend";
|
|
2
|
+
import { type EndpointOptions, type Judge, type JudgeOptions, type Judgment } from "./system-one";
|
|
3
|
+
/**
|
|
4
|
+
* Dollars per million input tokens Jev bills, output free
|
|
5
|
+
* (https://docs.typesafe.ai/models.md). models.dev does not list TypeSafe,
|
|
6
|
+
* so the price lives here rather than in `prices`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const JEV_INPUT_PRICE = 0.042;
|
|
9
|
+
/** Whose work a judgment was for, as the ledger names them. */
|
|
10
|
+
export interface Attribution {
|
|
11
|
+
project: string | null;
|
|
12
|
+
task: string | null;
|
|
13
|
+
conversation: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* What the judgment was for, beyond Auto pick, which the ledger's service
|
|
16
|
+
* names after the model, as `jev-latest notes`, so the Billing page shows
|
|
17
|
+
* it apart; none for Auto pick's own.
|
|
18
|
+
*/
|
|
19
|
+
purpose?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface JevOptions extends EndpointOptions {
|
|
22
|
+
/** Where each call's cost is recorded, priced from the tokens the reply says; nowhere when not given. */
|
|
23
|
+
spend?: Spend;
|
|
24
|
+
/** What each call's ledger entry says it was for; nothing when not given. */
|
|
25
|
+
attribution?: Attribution;
|
|
26
|
+
/** When a call was made, for its ledger entry. */
|
|
27
|
+
now?: () => Date;
|
|
28
|
+
}
|
|
29
|
+
/** TypeSafe's decision model. */
|
|
30
|
+
export declare class Jev implements Judge {
|
|
31
|
+
/** A TypeSafe API key. */
|
|
32
|
+
private readonly token;
|
|
33
|
+
private readonly opts;
|
|
34
|
+
constructor(
|
|
35
|
+
/** A TypeSafe API key. */
|
|
36
|
+
token: string, opts?: JevOptions);
|
|
37
|
+
judge(judgment: Judgment, opts?: JudgeOptions): Promise<import("./system-one").Verdict>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Credentials } from "../../../core/creds/index.js";
|
|
2
|
+
import type { Project } from "../server/shared";
|
|
3
|
+
import { type Attribution, type JevOptions } from "./jev";
|
|
4
|
+
import type { Judge } from "./system-one";
|
|
5
|
+
/** The creds each judge reads, named as `wiz creds` names them. */
|
|
6
|
+
export declare const JUDGE_CREDS: {
|
|
7
|
+
readonly jev: readonly ["TYPESAFE_API_KEY"];
|
|
8
|
+
readonly clef: readonly ["CLOUDFLARE_ACCOUNT_ID", "CLOUDFLARE_API_TOKEN"];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* The judge `classify` asks: Jev when its key is kept, else Clef when its
|
|
12
|
+
* account is; null when neither is.
|
|
13
|
+
*/
|
|
14
|
+
export declare function judgeFrom(credentials: Pick<Credentials, "get">, opts?: JevOptions): Promise<Judge | null>;
|
|
15
|
+
/** The judge for work done for `who`, as a caller asks it. */
|
|
16
|
+
export type JudgeFor = (who: Partial<Attribution>) => Promise<Judge | null>;
|
|
17
|
+
/**
|
|
18
|
+
* The judge `project`'s creds give, Jev's calls recorded in the machine's
|
|
19
|
+
* ledger under the project's `slug`, when it has one, and `who`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function projectJudge(project: Project, slug: () => Promise<string | null>, who?: Partial<Attribution>): Promise<Judge | null>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TaskRecord } from "../board";
|
|
2
|
+
import { type AttachmentInfo, type Classification } from "./classify";
|
|
3
|
+
import { type AutoPickDecision, type DecideContext } from "./decide";
|
|
4
|
+
import type { Attribution } from "./jev";
|
|
5
|
+
import type { JudgeFor } from "./judge";
|
|
6
|
+
import type { AutoPicked } from "./record";
|
|
7
|
+
/** What Auto pick decided for a task's words, and what the judge said of them. */
|
|
8
|
+
export interface Judged {
|
|
9
|
+
decision: AutoPickDecision;
|
|
10
|
+
/** What the judge said of the words, now or before; null when it said nothing. */
|
|
11
|
+
classification: Classification | null;
|
|
12
|
+
/** Whether there was a judge to ask; without one, its key is asked for. */
|
|
13
|
+
judged: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Decides for a task's words: on `cached`, what the judge said of the same
|
|
17
|
+
* words before, with no judge asked; else on what `judge` says now; else, the
|
|
18
|
+
* judge missing, failing or slow, on the rule for any task, saying why.
|
|
19
|
+
*/
|
|
20
|
+
export declare function decideFor({ subject, detail, attachments, cached, judge, who, context, }: {
|
|
21
|
+
subject: string;
|
|
22
|
+
detail: string;
|
|
23
|
+
attachments?: readonly AttachmentInfo[];
|
|
24
|
+
cached: Classification | null;
|
|
25
|
+
judge: JudgeFor;
|
|
26
|
+
/** Whose work the judgment is, for the spend ledger. */
|
|
27
|
+
who?: Partial<Attribution>;
|
|
28
|
+
context: DecideContext;
|
|
29
|
+
}): Promise<Judged>;
|
|
30
|
+
/** What the judge said of `record`'s words before, kept on it under `key`; null for none. */
|
|
31
|
+
export declare function cachedFor(record: TaskRecord, key: string): Classification | null;
|
|
32
|
+
/** `judged` as a task's record keeps it, decided `at`, its words' classification under `key`. */
|
|
33
|
+
export declare function autoPicked({ decision, classification }: Judged, key: string, at: Date): AutoPicked;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type AttachmentInfo } from "./classify";
|
|
2
|
+
/**
|
|
3
|
+
* A short hash of what `classify` reads of a task, the same for the same
|
|
4
|
+
* subject and judged detail, for a caller to keep classifications by.
|
|
5
|
+
*/
|
|
6
|
+
export declare function classificationKey(subject: string, detail: string, attachments?: readonly AttachmentInfo[]): string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Conversations, Lift } from "../conversations";
|
|
2
|
+
import type { Project } from "../server/shared";
|
|
3
|
+
import { type JudgeFor } from "./judge";
|
|
4
|
+
/**
|
|
5
|
+
* Builds the hook that, on each message the person sends to a conversation
|
|
6
|
+
* Auto pick started, has the judge read what they have said and moves the
|
|
7
|
+
* conversation to a stronger model or higher thinking level on the same
|
|
8
|
+
* agent when the rules give one, logged with an Undo. Does nothing once the
|
|
9
|
+
* person has moved its model or effort. An answer to the agent's first reply
|
|
10
|
+
* that ended on a bare question moves it to the rules' pick one depth deeper.
|
|
11
|
+
*/
|
|
12
|
+
export declare function lifting(project: Project, conversations: Conversations, { slug, judge, now, }?: {
|
|
13
|
+
/** The judge to ask; the one the project's creds give by default. */
|
|
14
|
+
judge?: JudgeFor;
|
|
15
|
+
/** The project's slug, to name it in the spend ledger; none when not given. */
|
|
16
|
+
slug?: () => Promise<string | null>;
|
|
17
|
+
now?: () => Date;
|
|
18
|
+
}): Lift;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TaskRecord } from "../board";
|
|
2
|
+
import type { Conversations } from "../conversations";
|
|
3
|
+
import type { AgentPick } from "../models";
|
|
4
|
+
import type { QueuePicked, QueuePicker } from "../queue";
|
|
5
|
+
import type { Project } from "../server/shared";
|
|
6
|
+
import { type JudgeFor } from "./judge";
|
|
7
|
+
/**
|
|
8
|
+
* Auto pick for the queue: a queued task that names no agent is judged as
|
|
9
|
+
* it is queued, and again whenever its words change, so its held
|
|
10
|
+
* conversation waits on the agent it will start on; it starts on what Auto
|
|
11
|
+
* pick decides then, kept on its record and logged in its conversation as a
|
|
12
|
+
* start from its Start menu is. Only the queue's own starts come here; a
|
|
13
|
+
* conversation the person starts on a task keeps its agent.
|
|
14
|
+
*/
|
|
15
|
+
export declare class QueueAutoPick implements QueuePicker {
|
|
16
|
+
#private;
|
|
17
|
+
constructor(project: Project, conversations: Conversations, { slug, judge, now, }?: {
|
|
18
|
+
/** The judge to ask; the one the project's creds give by default. */
|
|
19
|
+
judge?: JudgeFor;
|
|
20
|
+
/** The project's slug, to name it in the spend ledger; none when not given. */
|
|
21
|
+
slug?: () => Promise<string | null>;
|
|
22
|
+
now?: () => Date;
|
|
23
|
+
});
|
|
24
|
+
ahead(queued: readonly TaskRecord[]): Promise<void>;
|
|
25
|
+
judging(id: number): boolean;
|
|
26
|
+
/** Waits out every judgment under way, as a test or a shutdown does. */
|
|
27
|
+
settled(): Promise<void>;
|
|
28
|
+
guess(queued: readonly TaskRecord[]): Promise<Map<number, AgentPick>>;
|
|
29
|
+
decide(queued: TaskRecord): Promise<QueuePicked>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AutoPickSet } from "../conversations";
|
|
2
|
+
import { type AgentPick, type RosterAgent } from "../models";
|
|
3
|
+
/**
|
|
4
|
+
* Whether `to` is above `from` on the same agent: a model of a higher tier,
|
|
5
|
+
* or the same model at a higher thinking level, as the roster ranks them. A
|
|
6
|
+
* model it cannot rank moves nothing.
|
|
7
|
+
*/
|
|
8
|
+
export declare function higher(agents: RosterAgent[], from: AutoPickSet, to: AgentPick): boolean;
|
|
9
|
+
/** What `set` picked, as the roster names a pick. */
|
|
10
|
+
export declare function pickOf(set: AutoPickSet): AgentPick;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Classification } from "./classify";
|
|
2
|
+
import type { AutoPickDecision } from "./decide";
|
|
3
|
+
/**
|
|
4
|
+
* The last Auto pick for a task, kept on its record: whom it started and
|
|
5
|
+
* why, and what the judge said of the task's words and attachment metadata, so a pick of the same
|
|
6
|
+
* words again needs no judge.
|
|
7
|
+
*/
|
|
8
|
+
export interface AutoPicked extends AutoPickDecision {
|
|
9
|
+
/** When it was decided, as an ISO time. */
|
|
10
|
+
at: string;
|
|
11
|
+
/**
|
|
12
|
+
* What the judge said of the task, by the `classificationKey` of the words
|
|
13
|
+
* it read, including breadth, clarity, stakes and verification; absent when it said nothing, as with no judge or one that failed.
|
|
14
|
+
*/
|
|
15
|
+
classified?: {
|
|
16
|
+
key: string;
|
|
17
|
+
classification: Classification;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Conversations } from "../conversations";
|
|
2
|
+
import type { Project, ProjectWatch } from "../server/shared";
|
|
3
|
+
/**
|
|
4
|
+
* Starts a task on what Auto pick decides, or shows what it would decide.
|
|
5
|
+
* Spread an instance into a project's routes, as `ConversationRoutes` is.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AutoPickRoutes {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(project: Project, conversations: Conversations | null, watch: ProjectWatch, slug?: () => Promise<string | null>);
|
|
10
|
+
/**
|
|
11
|
+
* Starts a conversation on what Auto pick decides for `task`, a started
|
|
12
|
+
* task by name, in its tree, or `todo`, a queued one by number, in the
|
|
13
|
+
* main tree, or `words`, a new conversation's first message, in `task`'s
|
|
14
|
+
* tree if one is named. It answers before the judge does, as any start answers
|
|
15
|
+
* before its agent opens, and the prompt the page sends next waits on the
|
|
16
|
+
* pick.
|
|
17
|
+
*/
|
|
18
|
+
readonly startAutoPick: (request: Request) => Promise<Response>;
|
|
19
|
+
/**
|
|
20
|
+
* What Auto pick would decide for `task` or `todo`, named as for
|
|
21
|
+
* `startAutoPick`, without starting it or writing its record: Setup's
|
|
22
|
+
* "Try it on a task".
|
|
23
|
+
*/
|
|
24
|
+
readonly tryAutoPick: (request: Request) => Promise<Response>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Pace, Rule } from "./rules";
|
|
2
|
+
/** The rules' own format. */
|
|
3
|
+
export declare const RULES_FORMAT = 2;
|
|
4
|
+
/** The rule every mapping ends on, so every classification maps somewhere. */
|
|
5
|
+
export declare const ANY: "*";
|
|
6
|
+
/** The pace a mapping without one takes. */
|
|
7
|
+
export declare const DEFAULT_PACE: Pace;
|
|
8
|
+
/** What a rule matches in words: `Mechanical, any depth`. */
|
|
9
|
+
export declare function ruleLabel(rule: Pick<Rule, "kind" | "depth" | "clarity">): string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { Fs } from "../../../core/system/index.js";
|
|
2
|
+
import type { AutoPickRules } from "./rules";
|
|
3
|
+
/** The rules as Setup's editor reads them, with what each pick can name. */
|
|
4
|
+
export interface AutoPickRulesView {
|
|
5
|
+
/** The rules saved, or the defaults when the file is missing or broken. */
|
|
6
|
+
rules: AutoPickRules;
|
|
7
|
+
/** Why the file could not be read, so saving would replace it; null when it read. */
|
|
8
|
+
problem: string | null;
|
|
9
|
+
/** The roster's agents, in its order, for a pick to name. */
|
|
10
|
+
agents: AutoPickAgent[];
|
|
11
|
+
}
|
|
12
|
+
/** An agent a pick can name, and what it can name with it. */
|
|
13
|
+
export interface AutoPickAgent {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
/** The roster's models for it; none when the roster leaves them to the agent. */
|
|
17
|
+
models: {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}[];
|
|
21
|
+
/**
|
|
22
|
+
* The thinking levels it offered when it last ran here, by value; null
|
|
23
|
+
* when it never ran here, so what it takes is not known yet.
|
|
24
|
+
*/
|
|
25
|
+
efforts: string[] | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* How Setup reads and writes this machine's Auto pick rules, the one
|
|
29
|
+
* mapping every project shares. Each handler is a property, so `dev` hands
|
|
30
|
+
* them straight to its routes, as it does `SetupRoutes`'.
|
|
31
|
+
*/
|
|
32
|
+
export declare class AutoPickRulesRoutes {
|
|
33
|
+
#private;
|
|
34
|
+
constructor({ fs, home }: {
|
|
35
|
+
fs: Fs;
|
|
36
|
+
home: string;
|
|
37
|
+
});
|
|
38
|
+
/** The rules and the agents a pick can name. */
|
|
39
|
+
readonly read: () => Promise<Response>;
|
|
40
|
+
/**
|
|
41
|
+
* Saves the rules the body's `rules` holds, answering the view of them,
|
|
42
|
+
* or a 400 whose message says what does not check out, the file untouched.
|
|
43
|
+
*/
|
|
44
|
+
readonly save: (request: Request) => Promise<Response>;
|
|
45
|
+
/** Writes the defaults over the rules, answering the view of them. */
|
|
46
|
+
readonly reset: () => Promise<Response>;
|
|
47
|
+
}
|
|
48
|
+
/** The roster's agents in its order, each with the models and thinking levels a pick can name. */
|
|
49
|
+
export declare function pickableAgents(fs: Fs, home: string): Promise<AutoPickAgent[]>;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { AgentPick } from "../models";
|
|
3
|
+
import { type ClarityId, type DepthId, type KindId } from "./classes";
|
|
4
|
+
import { ANY, DEFAULT_PACE, RULES_FORMAT, ruleLabel } from "./rule-names";
|
|
5
|
+
export { ANY, DEFAULT_PACE, RULES_FORMAT, ruleLabel };
|
|
6
|
+
/**
|
|
7
|
+
* The person's mapping from a task's classification to an agent, a model and
|
|
8
|
+
* a thinking level, one per machine, kept in `~/.splates/auto-pick.json`.
|
|
9
|
+
*/
|
|
10
|
+
export interface AutoPickRules {
|
|
11
|
+
/** The file's own format. */
|
|
12
|
+
format: 2;
|
|
13
|
+
/**
|
|
14
|
+
* How sure the judge has to be, 0 to 1, before its likeliest kind, depth or
|
|
15
|
+
* certainty counts; below it, the task is that dimension's `*` alone.
|
|
16
|
+
*/
|
|
17
|
+
threshold: number;
|
|
18
|
+
/** Tried in order: the first that matches the task decides. The last is `* *`. */
|
|
19
|
+
rules: Rule[];
|
|
20
|
+
/** When a pick's plan counts as used too fast; left out, `DEFAULT_PACE`. */
|
|
21
|
+
pace?: Pace;
|
|
22
|
+
}
|
|
23
|
+
/** One line of the mapping: what it matches, and whom it picks. */
|
|
24
|
+
export interface Rule {
|
|
25
|
+
/** The kind of work it matches, or `*` for any, a task of no sure kind too. */
|
|
26
|
+
kind: KindId | "*";
|
|
27
|
+
/** The depth it matches, or `*` for any, a task of no sure depth too. */
|
|
28
|
+
depth: DepthId | "*";
|
|
29
|
+
/** How settled the behavior is; omitted or * accepts any certainty, including unknown. */
|
|
30
|
+
clarity?: ClarityId | "*";
|
|
31
|
+
/**
|
|
32
|
+
* Whom it picks, the first first: a pick whose agent's plan is nearly
|
|
33
|
+
* used up is passed over for the next. A pick with no model takes the
|
|
34
|
+
* agent's default model, one with no effort its default thinking level.
|
|
35
|
+
*/
|
|
36
|
+
picks: AgentPick[];
|
|
37
|
+
}
|
|
38
|
+
/** Rules that check out, or the first problem with them, in a line the page can show. */
|
|
39
|
+
export type CheckedRules = {
|
|
40
|
+
ok: true;
|
|
41
|
+
rules: AutoPickRules;
|
|
42
|
+
} | {
|
|
43
|
+
ok: false;
|
|
44
|
+
problem: string;
|
|
45
|
+
};
|
|
46
|
+
/** Checks `value` as a mapping, for the page's editor and the file alike. */
|
|
47
|
+
export declare function checkRules(value: unknown): CheckedRules;
|
|
48
|
+
/**
|
|
49
|
+
* When a pick is passed over for the next on its rule because of its agent's
|
|
50
|
+
* plan, each share 0 to 1 of a plan window.
|
|
51
|
+
*/
|
|
52
|
+
export interface Pace {
|
|
53
|
+
/**
|
|
54
|
+
* Whether a pick is passed over while its agent uses any window faster
|
|
55
|
+
* than the window goes by: more of it used than `slack` past the share
|
|
56
|
+
* of it gone.
|
|
57
|
+
*/
|
|
58
|
+
on: boolean;
|
|
59
|
+
/** How far use may run ahead of the window's time before a pick is passed over. */
|
|
60
|
+
slack: number;
|
|
61
|
+
/** Past this much of any window, a pick is passed over, pace or not. */
|
|
62
|
+
spent: number;
|
|
63
|
+
}
|
|
64
|
+
/** What `auto-pick.json` holds, its last rule `* *`. */
|
|
65
|
+
export declare const AUTO_PICK_RULES: z.ZodObject<{
|
|
66
|
+
format: z.ZodLiteral<2>;
|
|
67
|
+
threshold: z.ZodNumber;
|
|
68
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
69
|
+
kind: z.ZodEnum<{
|
|
70
|
+
"*": "*";
|
|
71
|
+
bugfix: "bugfix";
|
|
72
|
+
design: "design";
|
|
73
|
+
open: "open";
|
|
74
|
+
}>;
|
|
75
|
+
depth: z.ZodEnum<{
|
|
76
|
+
"*": "*";
|
|
77
|
+
deep: "deep";
|
|
78
|
+
moderate: "moderate";
|
|
79
|
+
shallow: "shallow";
|
|
80
|
+
}>;
|
|
81
|
+
clarity: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
"*": "*";
|
|
83
|
+
settled: "settled";
|
|
84
|
+
unresolved: "unresolved";
|
|
85
|
+
}>>;
|
|
86
|
+
picks: z.ZodArray<z.ZodObject<{
|
|
87
|
+
agent: z.ZodString;
|
|
88
|
+
model: z.ZodOptional<z.ZodString>;
|
|
89
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
}, z.core.$strip>>;
|
|
92
|
+
pace: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
on: z.ZodBoolean;
|
|
94
|
+
slack: z.ZodNumber;
|
|
95
|
+
spent: z.ZodNumber;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
}, z.core.$strip>;
|