@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,63 @@
|
|
|
1
|
+
import type { Artifact, Stage } from "../artifact/artifact";
|
|
2
|
+
import type { Bundle } from "../bundle/bundle";
|
|
3
|
+
import type { Cut } from "../cut";
|
|
4
|
+
import type { GithubActions } from "../registry/github-actions";
|
|
5
|
+
import type { Step } from "../step";
|
|
6
|
+
import type { MirrorOptions } from "./mirror-options";
|
|
7
|
+
/** What `MirrorBuild` mirrors, and how it builds the packages there. */
|
|
8
|
+
export interface MirrorBuildOptions extends MirrorOptions {
|
|
9
|
+
/**
|
|
10
|
+
* Builds each package in the mirror; a `VendorBundle` by default, which
|
|
11
|
+
* folds in the mirror's own copy of `core`.
|
|
12
|
+
*/
|
|
13
|
+
bundle?: Bundle;
|
|
14
|
+
/**
|
|
15
|
+
* Publishes through GitHub Actions in the mirror's repository: the same
|
|
16
|
+
* `GithubActions` given to each `releases.npm` as `via`, made with the
|
|
17
|
+
* mirror's `repo`. Its run starts from the mirror's commit, which carries
|
|
18
|
+
* the publish workflow; give `publish` too.
|
|
19
|
+
*/
|
|
20
|
+
via?: GithubActions;
|
|
21
|
+
/**
|
|
22
|
+
* The command the mirror's publish workflow runs, from the mirror's root,
|
|
23
|
+
* to build and publish at the version the commit stands at, such as
|
|
24
|
+
* `bin/mdom publish`, which calls `Release.publish()`. The workflow is
|
|
25
|
+
* written into the mirror commit.
|
|
26
|
+
*/
|
|
27
|
+
publish?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Builds what a release publishes from its public repository rather than the
|
|
31
|
+
* workspace: in the build stage it writes the mirror's commit to a checkout
|
|
32
|
+
* of the remote, installs it as anyone cloning it would, from the registry,
|
|
33
|
+
* and builds each of the project's public packages there, so what goes out
|
|
34
|
+
* is what the public repository builds. A package of another project is
|
|
35
|
+
* installed at its published release, so one that needs a change not yet
|
|
36
|
+
* released fails here. The tag stage pushes that same commit, and its tag.
|
|
37
|
+
*
|
|
38
|
+
* Use it in place of `build`, `vendor` and `mirror`, not beside them.
|
|
39
|
+
*/
|
|
40
|
+
export declare class MirrorBuild implements Artifact {
|
|
41
|
+
private readonly opts;
|
|
42
|
+
readonly packages: readonly string[];
|
|
43
|
+
readonly stage: Stage;
|
|
44
|
+
readonly name: string;
|
|
45
|
+
private readonly fs;
|
|
46
|
+
private readonly ps;
|
|
47
|
+
private readonly mirror;
|
|
48
|
+
private readonly bundle;
|
|
49
|
+
/** The mirror the build made and the step that pushes it, once built. */
|
|
50
|
+
private built?;
|
|
51
|
+
constructor(opts: MirrorBuildOptions);
|
|
52
|
+
steps(): readonly Step[];
|
|
53
|
+
publish(cut: Cut): Promise<void>;
|
|
54
|
+
clean(): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Writes the mirror, installs it and commits it with the lockfile that
|
|
57
|
+
* install wrote, which is what its publish workflow installs from, then
|
|
58
|
+
* builds the packages there.
|
|
59
|
+
*/
|
|
60
|
+
private build;
|
|
61
|
+
private push;
|
|
62
|
+
private spawn;
|
|
63
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Ps } from "../../system/index.js";
|
|
2
|
+
/** The trailer of a mirror commit naming the mono commit it was built from. */
|
|
3
|
+
export declare const TRAILER = "Mirrored-from";
|
|
4
|
+
/**
|
|
5
|
+
* Refuses to build over commits the mirror did not make. The mirror rebuilds
|
|
6
|
+
* the whole tree from mono, so a commit made on the remote since the last
|
|
7
|
+
* mirror commit (found by its trailer, or its subject before the trailer existed; or since `adopt`, for a repository with history of its own)
|
|
8
|
+
* would be reverted without a word. Run in a checkout of the branch.
|
|
9
|
+
*/
|
|
10
|
+
export declare function guard(ps: Ps, mirror: string, project: string, adopt: string | undefined): Promise<void>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { Fs, Glob, Ps } from "../../system/index.js";
|
|
2
|
+
import type { Workspace } from "../workspace/workspace";
|
|
3
|
+
/** The caller's rules for what a mirror holds. */
|
|
4
|
+
export interface MirrorConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Globs matched against paths relative to the workspace root, such as
|
|
7
|
+
* `**\/.vet/**`, applied to everything copied: the project's own files and
|
|
8
|
+
* the vendored source. What never leaves the repository (`node_modules`,
|
|
9
|
+
* `dist`, `.git`) is left out whatever these say.
|
|
10
|
+
*/
|
|
11
|
+
exclude?: readonly string[];
|
|
12
|
+
/**
|
|
13
|
+
* Globs matched against paths relative to the project folder, such as
|
|
14
|
+
* `skills/splates/**`, for what the mirror keeps though it would otherwise
|
|
15
|
+
* leave it out as an agent file (`AGENTS.md`, `skills/**` and the like), for
|
|
16
|
+
* a project whose skill is the product. `exclude` still applies to them.
|
|
17
|
+
*/
|
|
18
|
+
keep?: readonly string[];
|
|
19
|
+
/**
|
|
20
|
+
* Files that stand in for others in the mirror, by path relative to the
|
|
21
|
+
* project folder: each key is the path the mirror holds the file at, each
|
|
22
|
+
* value the project file it is read from, which the mirror does not hold
|
|
23
|
+
* under its own name. For a `Dockerfile` that only fits the mirror's layout.
|
|
24
|
+
*/
|
|
25
|
+
replace?: Readonly<Record<string, string>>;
|
|
26
|
+
/**
|
|
27
|
+
* Edits to a file's text in the mirror, by path relative to the project
|
|
28
|
+
* folder (the mirror's path for it): each rule is a `[pattern, with]` pair,
|
|
29
|
+
* applied in order to the whole text as `String.replace` does, so a pattern
|
|
30
|
+
* with the `g` flag rewrites every match and `with` can use `$1`. This lets
|
|
31
|
+
* one file, such as a `Dockerfile`, serve both layouts: strip a folder prefix,
|
|
32
|
+
* move a path, or drop a line by matching it whole and replacing it with `""`.
|
|
33
|
+
* A rule that matches nothing is refused, so a stale one cannot go unnoticed.
|
|
34
|
+
*/
|
|
35
|
+
rewrite?: Readonly<Record<string, readonly (readonly [RegExp, string])[]>>;
|
|
36
|
+
/**
|
|
37
|
+
* Scripts for the mirror's root manifest, such as a `postinstall` that
|
|
38
|
+
* builds what the project's tests import, which the workspace root's own
|
|
39
|
+
* scripts do in the workspace and the mirror does not carry.
|
|
40
|
+
*/
|
|
41
|
+
scripts?: Readonly<Record<string, string>>;
|
|
42
|
+
}
|
|
43
|
+
/** What a `MirrorStep` copies, and where it pushes; the real system by default. */
|
|
44
|
+
export interface MirrorOptions {
|
|
45
|
+
/**
|
|
46
|
+
* The folder mirrored, relative to the workspace root: a project's
|
|
47
|
+
* top-level folder, such as `mdom`, or one package's, such as
|
|
48
|
+
* `sound2score/packages/player`, which then stands at the mirror's root.
|
|
49
|
+
*/
|
|
50
|
+
project: string;
|
|
51
|
+
/** The public repository the project is mirrored to, as `git clone` takes it. */
|
|
52
|
+
remote: string;
|
|
53
|
+
/** The branch pushed to; `main` by default. */
|
|
54
|
+
branch?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The commit of the remote branch the first mirror takes over from, for a
|
|
57
|
+
* repository with history of its own. Without a mirror commit on the branch
|
|
58
|
+
* (`Mirror <project> at <tag>`), commits after it are refused; once there is
|
|
59
|
+
* one, it decides and this no longer matters.
|
|
60
|
+
*/
|
|
61
|
+
adopt?: string;
|
|
62
|
+
/** Tags the mirror's commit with the release's tag and pushes it too. */
|
|
63
|
+
tag?: boolean;
|
|
64
|
+
/** What the mirror leaves out and how; nothing is excluded by default. */
|
|
65
|
+
config?: MirrorConfig;
|
|
66
|
+
/** The workspace package folded in as source; `core` by default. */
|
|
67
|
+
source?: string;
|
|
68
|
+
/** Where the mirror is checked out while it is built; a temporary directory by default. */
|
|
69
|
+
scratch?: string;
|
|
70
|
+
/** Where the workspace is found; the manifest workspace around the working directory by default. */
|
|
71
|
+
workspace?: Workspace;
|
|
72
|
+
fs?: Fs;
|
|
73
|
+
ps?: Ps;
|
|
74
|
+
glob?: Glob;
|
|
75
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Duration } from "../../time/index.js";
|
|
2
|
+
import type { Cut } from "../cut";
|
|
3
|
+
import type { Step } from "../step";
|
|
4
|
+
import type { MirrorOptions } from "./mirror-options";
|
|
5
|
+
export type { MirrorConfig, MirrorOptions } from "./mirror-options";
|
|
6
|
+
/** What `MirrorStep.prepare` does besides writing the tree. */
|
|
7
|
+
export interface PrepareOptions {
|
|
8
|
+
/**
|
|
9
|
+
* Runs once the tree is written and before it is committed, so whatever
|
|
10
|
+
* it adds is part of the mirror commit: a lockfile an install writes.
|
|
11
|
+
*/
|
|
12
|
+
before?(mirror: string): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
/** The mirror commit `MirrorStep.prepare` made, ready to push. */
|
|
15
|
+
export interface PreparedMirror {
|
|
16
|
+
/** The mirror's checkout. */
|
|
17
|
+
dir: string;
|
|
18
|
+
/** The project folder it was written from, which its root stands for. */
|
|
19
|
+
from: string;
|
|
20
|
+
/** Whether the tree changed, and so whether there is a commit to push. */
|
|
21
|
+
changed: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Makes a project's public repository stand alone from the workspace: copies
|
|
25
|
+
* the project folder to the root of a checkout of `remote`, adds the source of
|
|
26
|
+
* the workspace package it reaches (`core`) as a private workspace package of
|
|
27
|
+
* its own, and pushes the result when the tree changed.
|
|
28
|
+
*
|
|
29
|
+
* Imports are left as they are. The project keeps `"core": "workspace:*"` and
|
|
30
|
+
* keeps importing `core/...`; in the mirror that resolves to the copied
|
|
31
|
+
* package, which carries only the `exports` the project reaches and the
|
|
32
|
+
* dependencies those need, from the versions the workspace's catalog gives.
|
|
33
|
+
* Files matching the config's `exclude` globs, matched against paths relative
|
|
34
|
+
* to the workspace root, are left out of everything copied.
|
|
35
|
+
*/
|
|
36
|
+
export declare class MirrorStep implements Step {
|
|
37
|
+
private readonly opts;
|
|
38
|
+
readonly name: string;
|
|
39
|
+
readonly deadline: Duration;
|
|
40
|
+
readonly stage: "tag";
|
|
41
|
+
private readonly fs;
|
|
42
|
+
private readonly ps;
|
|
43
|
+
private readonly glob;
|
|
44
|
+
private readonly tooling;
|
|
45
|
+
constructor(opts: MirrorOptions);
|
|
46
|
+
run(cut: Cut): Promise<void>;
|
|
47
|
+
/** Where the mirror is checked out while it is built. */
|
|
48
|
+
get scratch(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Checks out the remote into `scratch`, writes the mirror's tree over it and
|
|
51
|
+
* commits it there, pushing nothing; `push` sends what this left. The
|
|
52
|
+
* checkout stays for the caller to install, build or remove.
|
|
53
|
+
*/
|
|
54
|
+
prepare(cut: Cut, opts?: PrepareOptions): Promise<PreparedMirror>;
|
|
55
|
+
/** Pushes the commit `prepare` made, and its tag when the mirror is tagged. */
|
|
56
|
+
push(cut: Cut, prepared: PreparedMirror): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Mirrors as `run` would, onto a copy of the remote instead of the remote:
|
|
59
|
+
* the guard and the push meet its real history, and nothing reaches it.
|
|
60
|
+
*/
|
|
61
|
+
dryRun(cut: Cut): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Use this mirror's rehearsal in a dry run in place of the mirror: it runs,
|
|
64
|
+
* prepares and pushes as this one does, and nothing it does reaches the
|
|
65
|
+
* remote.
|
|
66
|
+
*/
|
|
67
|
+
rehearsal(cut: Cut): Promise<MirrorStep>;
|
|
68
|
+
/**
|
|
69
|
+
* Writes the whole mirror tree into `mirror`, which is empty but for
|
|
70
|
+
* `.git`; the workspace root it read from.
|
|
71
|
+
*/
|
|
72
|
+
private build;
|
|
73
|
+
/**
|
|
74
|
+
* Refuses a package that needs what the mirror cannot hold. A public
|
|
75
|
+
* package of another project is no obstacle: the mirror depends on its
|
|
76
|
+
* published build instead, and its name is returned.
|
|
77
|
+
*/
|
|
78
|
+
private checkDependencies;
|
|
79
|
+
/** Puts each `config.replace` file at the path it stands in for. */
|
|
80
|
+
private replace;
|
|
81
|
+
/** Applies each `config.rewrite` rule to the file it names. */
|
|
82
|
+
private rewrite;
|
|
83
|
+
/**
|
|
84
|
+
* Points each dependency on a published workspace package at its release
|
|
85
|
+
* (`^version`, the version that package stands at), in the mirror's copy
|
|
86
|
+
* of the manifests, since the mirror holds no such package.
|
|
87
|
+
*/
|
|
88
|
+
private publish;
|
|
89
|
+
/** The `core` entry points the copied source names, and the files they lead to. */
|
|
90
|
+
private reached;
|
|
91
|
+
/**
|
|
92
|
+
* What the mirror's root holds that no project folder does: the manifest
|
|
93
|
+
* naming the workspaces and the catalog entries used, the base tsconfig,
|
|
94
|
+
* the toolchain the root pins, the lint config and a gitignore.
|
|
95
|
+
*/
|
|
96
|
+
private rootFiles;
|
|
97
|
+
/** Every file under `dir`, dotfiles included. */
|
|
98
|
+
private files;
|
|
99
|
+
/** Copies `from` to `to` but for what `skip` names, by path relative to `from`; the paths written. */
|
|
100
|
+
private copy;
|
|
101
|
+
private copyFile;
|
|
102
|
+
private write;
|
|
103
|
+
private excluded;
|
|
104
|
+
/** Whether the remote has `tag`. */
|
|
105
|
+
private tagged;
|
|
106
|
+
/** Checks out `branch`, from the remote's when it has one and as a new branch when not. */
|
|
107
|
+
private checkout;
|
|
108
|
+
private git;
|
|
109
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { Fs, Ps } from "../../system/index.js";
|
|
2
|
+
/** What `MirrorTooling` writes for, and the system it writes with. */
|
|
3
|
+
export interface MirrorToolingOptions {
|
|
4
|
+
/** The folder mirrored, which a refusal names. */
|
|
5
|
+
project: string;
|
|
6
|
+
fs: Fs;
|
|
7
|
+
ps: Ps;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The tool configs at a mirror's root: the workspace root's, with the
|
|
11
|
+
* mirrored folder's own laid over them, since the mirror has no root above it
|
|
12
|
+
* to inherit them from.
|
|
13
|
+
*/
|
|
14
|
+
export declare class MirrorTooling {
|
|
15
|
+
private readonly opts;
|
|
16
|
+
constructor(opts: MirrorToolingOptions);
|
|
17
|
+
private get fs();
|
|
18
|
+
private get ps();
|
|
19
|
+
/**
|
|
20
|
+
* Points each tsconfig of `files` that extends the workspace's base at the mirror's
|
|
21
|
+
* copy of it, at the mirror's root, from wherever the mirror holds it.
|
|
22
|
+
*/
|
|
23
|
+
tsconfigs(dir: string, files: readonly string[]): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* The root's `.gitignore` with its patterns rooted in the mirror, then the
|
|
26
|
+
* project's own: a path under the mirrored folder loses that prefix and one
|
|
27
|
+
* under any other folder is dropped. What the workspace ignores, such as a
|
|
28
|
+
* build's output an install writes, stays out of the mirror commit and out
|
|
29
|
+
* of a clone's tree.
|
|
30
|
+
*/
|
|
31
|
+
gitignore(root: string, mirror: string): Promise<void>;
|
|
32
|
+
/** A root `.gitignore` line as the mirror holds it, or nothing for another folder's path. */
|
|
33
|
+
private rooted;
|
|
34
|
+
/**
|
|
35
|
+
* The root's `bunfig.toml` with the project's own after it, so a project's
|
|
36
|
+
* test preload survives beside the root's install settings. Two files that
|
|
37
|
+
* set the same table cannot be joined, and are refused.
|
|
38
|
+
*/
|
|
39
|
+
bunfig(root: string, mirror: string): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* The lint config: the root's, with the project's own overrides laid over
|
|
42
|
+
* it. The copied source is left out of it, since the project's style (its
|
|
43
|
+
* quotes, say) is not the one that source is written and checked in.
|
|
44
|
+
*/
|
|
45
|
+
lint(root: string, mirror: string, source: string): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* The root's overrides as the mirror sees them: their paths run from the
|
|
48
|
+
* workspace root, so the mirrored folder's prefix is dropped, and an
|
|
49
|
+
* override left with no path in the mirror is dropped. Globs that start
|
|
50
|
+
* with a wildcard match anywhere and stay as they are.
|
|
51
|
+
*/
|
|
52
|
+
private overrides;
|
|
53
|
+
/**
|
|
54
|
+
* Formats JSON the step wrote, by path relative to `mirror`, with the
|
|
55
|
+
* root's biome and the mirror's own config, so the mirror passes its own
|
|
56
|
+
* check. Nothing is formatted where the root has no biome installed.
|
|
57
|
+
*/
|
|
58
|
+
private format;
|
|
59
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Fs } from "../../system/index.js";
|
|
2
|
+
import type { Manifest } from "../bundle/published";
|
|
3
|
+
import type { Package } from "../workspace/workspace";
|
|
4
|
+
/** A manifest as far as the mirror writes one. */
|
|
5
|
+
export type Json = Manifest & {
|
|
6
|
+
peerDependenciesMeta?: Record<string, object>;
|
|
7
|
+
devDependencies?: Record<string, string>;
|
|
8
|
+
};
|
|
9
|
+
/** The manifest fields a mirror reads dependencies from. */
|
|
10
|
+
export declare const FIELDS: readonly ["dependencies", "peerDependencies", "devDependencies"];
|
|
11
|
+
/** What the source package's manifest in a mirror is cut down to. */
|
|
12
|
+
export interface SourceManifestOptions {
|
|
13
|
+
/** The export keys the mirrored project reaches. */
|
|
14
|
+
keys: ReadonlySet<string>;
|
|
15
|
+
/** The source files the mirror copies. */
|
|
16
|
+
files: ReadonlySet<string>;
|
|
17
|
+
/** The workspace's catalog, which `catalog:` ranges are read from. */
|
|
18
|
+
catalog: Record<string, string>;
|
|
19
|
+
/** The version the release goes out at. */
|
|
20
|
+
version: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The mirrored source package's manifest: only the entry points reached, and
|
|
24
|
+
* the dependencies and optional peers those files import, at the ranges the
|
|
25
|
+
* package declared with `catalog:` read through the workspace's catalog.
|
|
26
|
+
*/
|
|
27
|
+
export declare function sourceManifest(fs: Fs, core: Package, { keys, files, catalog, version }: SourceManifestOptions): Promise<Json>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Package } from "./workspace/workspace";
|
|
2
|
+
/**
|
|
3
|
+
* `packages`, each one after everything it depends on. A release both builds
|
|
4
|
+
* and publishes in this order, for the same reason in both cases: a package
|
|
5
|
+
* cannot be built against a sibling whose `dist` is not there yet, and cannot
|
|
6
|
+
* be installed alongside a sibling the registry has never heard of. Ordering
|
|
7
|
+
* this way is what makes a release that dies partway leave a smaller release
|
|
8
|
+
* rather than a broken one.
|
|
9
|
+
*
|
|
10
|
+
* Everything able to go at once goes together in name order, so the same
|
|
11
|
+
* workspace always gives the same sequence and a failed release resumes into
|
|
12
|
+
* the one it left. Packages that depend on nothing stay near the front, where
|
|
13
|
+
* they read as the foundation they are.
|
|
14
|
+
*/
|
|
15
|
+
export declare function order(packages: readonly Package[]): Package[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type Fs } from "../system/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Where the stub lives. The name is fixed because npm's trusted publisher
|
|
4
|
+
* entry for each package names this file.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PUBLISH_WORKFLOW_PATH = ".github/workflows/webappwiz-publish.yml";
|
|
7
|
+
/** What a `PublishWorkflow` reads and writes through; the real filesystem by default. */
|
|
8
|
+
export interface PublishWorkflowOptions {
|
|
9
|
+
/** The command the job runs to publish, such as `bunx @webappwiz/cli ship publish`. */
|
|
10
|
+
command: string;
|
|
11
|
+
fs?: Fs;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The GitHub Actions workflow that publishes a release from a job npm trusts.
|
|
15
|
+
* It is generated and holds no package list: it checks out the release commit
|
|
16
|
+
* and runs the declaration's own publish-only mode, so the `Release` stays the
|
|
17
|
+
* one place that says what ships. Commit it like a lockfile; a release writes
|
|
18
|
+
* it when it is missing or stale, and `check` fails on drift.
|
|
19
|
+
*/
|
|
20
|
+
export declare class PublishWorkflow {
|
|
21
|
+
private readonly command;
|
|
22
|
+
private readonly fs;
|
|
23
|
+
constructor(opts: PublishWorkflowOptions);
|
|
24
|
+
/** The workflow file's whole text. */
|
|
25
|
+
text(): string;
|
|
26
|
+
/** What is wrong with the file under `root`, or `undefined` when it is current. */
|
|
27
|
+
drift(root: string): Promise<"missing" | "stale" | undefined>;
|
|
28
|
+
/** Writes the file under `root` when it is missing or stale; whether it wrote. */
|
|
29
|
+
write(root: string): Promise<boolean>;
|
|
30
|
+
/** Throws when the file under `root` is missing or stale. */
|
|
31
|
+
check(root: string): Promise<void>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type Ps } from "../../system/index.js";
|
|
2
|
+
import { Duration } from "../../time/index.js";
|
|
3
|
+
import type { Git } from "../git/git";
|
|
4
|
+
import type { Workflows } from "../github/workflows";
|
|
5
|
+
import type { CheckReport } from "../step";
|
|
6
|
+
/** Pass `git` or `workflows` to run `GithubActions` against fakes in tests; the real ones by default. */
|
|
7
|
+
export interface GithubActionsOptions {
|
|
8
|
+
git?: Git;
|
|
9
|
+
workflows?: Workflows;
|
|
10
|
+
ps?: Ps;
|
|
11
|
+
/**
|
|
12
|
+
* What a refused run says to run to set up npm's trust, which calls
|
|
13
|
+
* `Release.trust()`; `bunx @webappwiz/cli ship trust` by default.
|
|
14
|
+
*/
|
|
15
|
+
trustCommand?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The repository the workflow runs in, as `owner/name`; the one the
|
|
18
|
+
* working directory checks out by default. Set it with `use` for a
|
|
19
|
+
* workflow in a mirror's repository.
|
|
20
|
+
*/
|
|
21
|
+
repo?: string;
|
|
22
|
+
/** What waits between asks while GitHub registers the workflow; real time by default. */
|
|
23
|
+
pause?: (duration: Duration) => Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
/** Use it as `releases.npm`'s `via`: `githubActions()` makes one. */
|
|
26
|
+
export declare function githubActions(opts?: GithubActionsOptions): GithubActions;
|
|
27
|
+
/**
|
|
28
|
+
* Publishes by running the generated publish workflow on GitHub Actions, where
|
|
29
|
+
* npm trusts the job, rather than from this machine. It pushes the release
|
|
30
|
+
* commit, starts the workflow on it, and follows the run; whether a version
|
|
31
|
+
* went out is still the registry's to say, never the run's green check.
|
|
32
|
+
*
|
|
33
|
+
* A release has one run for all its packages, found again by its commit: a
|
|
34
|
+
* second package reuses it, and a resumed release reuses a run still going or
|
|
35
|
+
* finished, and reruns one that failed.
|
|
36
|
+
*/
|
|
37
|
+
export declare class GithubActions {
|
|
38
|
+
/** The workflow's file name, as npm's trusted publisher entry names it. */
|
|
39
|
+
readonly file: string;
|
|
40
|
+
private git;
|
|
41
|
+
private readonly workflows;
|
|
42
|
+
/** The attempt of the run a rerun started from, whose result is stale until a newer one shows. */
|
|
43
|
+
private rerunFrom?;
|
|
44
|
+
private readonly trustCommand;
|
|
45
|
+
private readonly pause;
|
|
46
|
+
constructor(opts?: GithubActionsOptions);
|
|
47
|
+
/**
|
|
48
|
+
* Has the run start from the checkout `git` works in, whose branch it
|
|
49
|
+
* pushes and whose commit it publishes: a mirror's, once it is built.
|
|
50
|
+
*/
|
|
51
|
+
use(git: Git): void;
|
|
52
|
+
/** The repository the workflow runs in, as `owner/name`. */
|
|
53
|
+
repo(): Promise<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Gets a run going for the release commit: pushes the branch so GitHub has
|
|
56
|
+
* the commit, then starts the workflow, reruns its failed run, or leaves
|
|
57
|
+
* the run it has alone. Returns once that is asked, not once it ends.
|
|
58
|
+
*/
|
|
59
|
+
start(): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Polls until GitHub lists the workflow as active. The push that first
|
|
62
|
+
* brings the workflow file to the default branch is not seen at once, and
|
|
63
|
+
* asking for its runs or dispatching it before then fails.
|
|
64
|
+
*/
|
|
65
|
+
private untilRegistered;
|
|
66
|
+
/**
|
|
67
|
+
* Where the run stands, as a step check reads it: passed once it succeeded,
|
|
68
|
+
* throwing when it ended any other way, and otherwise its status and page.
|
|
69
|
+
* `live` says whether the registry already serves the package, which is
|
|
70
|
+
* all that passes a release that never started a run.
|
|
71
|
+
*/
|
|
72
|
+
watch(name: string, live: boolean): Promise<CheckReport>;
|
|
73
|
+
private failure;
|
|
74
|
+
/** What to run for npm to trust the workflow, once per package. */
|
|
75
|
+
private setup;
|
|
76
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Logger } from "../../log/index.js";
|
|
2
|
+
import { type Ps } from "../../system/index.js";
|
|
3
|
+
import { Duration } from "../../time/index.js";
|
|
4
|
+
import type { CheckReport } from "../step";
|
|
5
|
+
import type { Package } from "../workspace/workspace";
|
|
6
|
+
import type { GithubActions } from "./github-actions";
|
|
7
|
+
import type { Publication, Registry } from "./registry";
|
|
8
|
+
/** Pass `ps` to run `NpmRegistry`'s npm commands through a fake in tests; the real processes by default. */
|
|
9
|
+
export interface NpmRegistryOptions {
|
|
10
|
+
ps?: Ps;
|
|
11
|
+
/**
|
|
12
|
+
* Publish as npm's trusted publishing wants it, from a CI job that npm
|
|
13
|
+
* trusts: a plain `npm publish` that npm authorizes from the job's OIDC
|
|
14
|
+
* identity, with no token, no login and no stage. `trusted()` makes one.
|
|
15
|
+
*/
|
|
16
|
+
trusted?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Publish by running the generated workflow on GitHub Actions, where npm
|
|
19
|
+
* trusts the job, instead of staging from this machine: no token, no
|
|
20
|
+
* login and no approval. `githubActions()` makes one.
|
|
21
|
+
*/
|
|
22
|
+
via?: GithubActions;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Use it to stage packages on npm and read back what npm holds. A stage-only
|
|
26
|
+
* token will do, and a person approves each version on npmjs.com; npm then
|
|
27
|
+
* scans it, typically for about five minutes, before anyone can install it.
|
|
28
|
+
*/
|
|
29
|
+
export declare class NpmRegistry implements Registry {
|
|
30
|
+
readonly staged: boolean;
|
|
31
|
+
readonly scans = true;
|
|
32
|
+
readonly publishDeadline?: Duration;
|
|
33
|
+
/** Set only for a `via` publish, whose run it follows. */
|
|
34
|
+
readonly watch?: (name: string, version: string) => Promise<CheckReport>;
|
|
35
|
+
/** Set only for a `via` publish, whose workflow npm has to trust. */
|
|
36
|
+
readonly trust?: (name: string, log: Logger) => Promise<void>;
|
|
37
|
+
private readonly ps;
|
|
38
|
+
private readonly isTrusted;
|
|
39
|
+
private readonly via?;
|
|
40
|
+
private authed?;
|
|
41
|
+
private saidSkip;
|
|
42
|
+
constructor(opts?: NpmRegistryOptions);
|
|
43
|
+
/**
|
|
44
|
+
* `npm trust github`, run where the person can see it: npm asks them to
|
|
45
|
+
* authenticate in a browser, even to list what a package trusts.
|
|
46
|
+
*/
|
|
47
|
+
private trustWorkflow;
|
|
48
|
+
/**
|
|
49
|
+
* Refuses a package going out through a run whose `repository.url` is not
|
|
50
|
+
* the run's repository: npm checks the two match against the provenance
|
|
51
|
+
* the run signs, and refuses the publish otherwise.
|
|
52
|
+
*/
|
|
53
|
+
verify({ name, repository: url }: Package): Promise<void>;
|
|
54
|
+
trusted(): Registry;
|
|
55
|
+
pack(dir: string, into: string): Promise<void>;
|
|
56
|
+
published(name: string, version: string): Promise<boolean>;
|
|
57
|
+
deployed(name: string): Promise<string | undefined>;
|
|
58
|
+
publish(dir: string): Promise<Publication>;
|
|
59
|
+
/**
|
|
60
|
+
* `npm publish` from a job npm trusts. Verbose, because a package with no
|
|
61
|
+
* matching trusted publisher entry fails with the same 404 as a logged-out
|
|
62
|
+
* publish, and only the verbose log says the OIDC exchange is what refused.
|
|
63
|
+
*/
|
|
64
|
+
private publishTrusted;
|
|
65
|
+
page(name: string, version: string): string;
|
|
66
|
+
/** `npm stage` arrived in npm 11.15; older CLIs die with a bare "Unknown command". */
|
|
67
|
+
private checkVersion;
|
|
68
|
+
/** Runs `npm login` unless somebody is already logged in. NPM_TOKEN counts. */
|
|
69
|
+
private login;
|
|
70
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type Logger } from "../../log/index.js";
|
|
2
|
+
import { Duration } from "../../time/index.js";
|
|
3
|
+
import type { Artifact, Stage } from "../artifact/artifact";
|
|
4
|
+
import type { Cut } from "../cut";
|
|
5
|
+
import type { CheckReport, Step, StepReport } from "../step";
|
|
6
|
+
import type { Registry } from "./registry";
|
|
7
|
+
/** One package, published through the registry that carries it. */
|
|
8
|
+
export declare class RegistryArtifact implements Artifact {
|
|
9
|
+
readonly name: string;
|
|
10
|
+
private readonly registry;
|
|
11
|
+
readonly packages: readonly string[];
|
|
12
|
+
readonly stage: Stage;
|
|
13
|
+
/** Set only when the registry has a CI job to trust. */
|
|
14
|
+
readonly trust?: (log: Logger) => Promise<void>;
|
|
15
|
+
/** Set only when the registry checks a package before it goes out. */
|
|
16
|
+
readonly verify?: (cut: Cut) => Promise<void>;
|
|
17
|
+
private saidHeld;
|
|
18
|
+
/** What the handed-off run was doing when last looked in on, to log each change once. */
|
|
19
|
+
private runStatus?;
|
|
20
|
+
constructor(name: string, registry: Registry);
|
|
21
|
+
trusted(): Artifact;
|
|
22
|
+
deployed(): Promise<string | undefined>;
|
|
23
|
+
steps(cut: Cut): readonly Step[];
|
|
24
|
+
/** Packs what `publish` would send into the dry run's packs, or says it would send it. */
|
|
25
|
+
private pack;
|
|
26
|
+
/** The check that follows a publish handed off to a run elsewhere, when this registry has one. */
|
|
27
|
+
private watching;
|
|
28
|
+
/** Whether the version is installable yet, and if not, what it may be waiting on. */
|
|
29
|
+
live(cut: Cut, waited: Duration): Promise<CheckReport>;
|
|
30
|
+
publish(cut: Cut, report?: StepReport): Promise<void>;
|
|
31
|
+
}
|