@kynver-app/runtime 0.1.118 → 0.1.120
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/dist/chat/anthropic-credentials.d.ts +9 -0
- package/dist/chat/anthropic-stream.d.ts +43 -0
- package/dist/chat/chat-claim-loop.d.ts +25 -0
- package/dist/chat/delta-batcher.d.ts +13 -0
- package/dist/cli.js +8143 -6989
- package/dist/cli.js.map +4 -4
- package/dist/config.d.ts +2 -0
- package/dist/cron/cron-env-file.d.ts +15 -0
- package/dist/cron/cron-id.d.ts +3 -0
- package/dist/cron/cron-install-api.d.ts +27 -0
- package/dist/cron/cron-install-cli.d.ts +2 -0
- package/dist/cron/cron-install-plan.d.ts +32 -0
- package/dist/cron/cron-install-secrets.d.ts +6 -0
- package/dist/cron/cron-install-systemd.d.ts +18 -0
- package/dist/cron/cron-install-verify.d.ts +15 -0
- package/dist/cron/cron-install.d.ts +51 -0
- package/dist/cron/cron-store.d.ts +5 -0
- package/dist/index.js +1349 -197
- package/dist/index.js.map +4 -4
- package/dist/server/cleanup.js.map +2 -2
- package/dist/server/default-repo.js.map +2 -2
- package/dist/server/memory-cost-enforce.js.map +1 -1
- package/dist/server/monitor.js.map +2 -2
- package/dist/server/worker-policy.js.map +2 -2
- package/dist/start.d.ts +7 -0
- package/dist/worktree.d.ts +8 -1
- package/package.json +1 -1
package/dist/start.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type HarnessRunRecord } from "./run-store.js";
|
|
2
|
+
/**
|
|
3
|
+
* Pick the run `start` should attach the daemon to: the newest non-terminal
|
|
4
|
+
* run whose repo matches. Returns null when none exists (create one).
|
|
5
|
+
*/
|
|
6
|
+
export declare function resolveStartRunId(runs: HarnessRunRecord[], repo: string): string | null;
|
|
7
|
+
export declare function runStart(args: Record<string, string | boolean>): Promise<void>;
|
package/dist/worktree.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { loadRun, runDirectory, saveRun } from "./run-store.js";
|
|
2
|
-
export
|
|
2
|
+
export interface CreatedRunInfo {
|
|
3
|
+
runId: string;
|
|
4
|
+
runDir: string;
|
|
5
|
+
repo: string;
|
|
6
|
+
base: string;
|
|
7
|
+
baseCommit: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createRun(args: Record<string, string | boolean>): CreatedRunInfo;
|
|
3
10
|
export declare function listRuns(): void;
|
|
4
11
|
export { loadRun, saveRun, runDirectory };
|