@tekmidian/pai 1.0.6 → 1.0.7
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/.claude-plugin/plugin.json +1 -1
- package/dist/auto-route-CAlZ5p-h.mjs +11 -0
- package/dist/{auto-route-YaEGVrFl.mjs → auto-route-PDOAYszN.mjs} +2 -2
- package/dist/{budget-DEiebT2A.mjs → budget-BXmsSBLI.mjs} +10 -10
- package/dist/{caller-identity-C6Nc96iM.mjs → caller-identity-DPDSrZE2.mjs} +2 -2
- package/dist/{capacity-B2PgKAg4.mjs → capacity-CThSydrd.mjs} +25 -13
- package/dist/{chain-CtK49-Ma.mjs → chain-BvdKqRiZ.mjs} +5 -5
- package/dist/cli/index.mjs +182 -111
- package/dist/{cockpit-actions-D1OPP6Es.mjs → cockpit-actions-BgdKB9G3.mjs} +19 -19
- package/dist/{cockpit-actions-C73mJAJ8.mjs → cockpit-actions-DNl0rKfW.mjs} +14 -14
- package/dist/cockpit-memory-CqLPjcWe.mjs +20 -0
- package/dist/config/defaults/config.yaml +6 -0
- package/dist/config/defaults/workers.yaml +2 -0
- package/dist/{config-DLmyEK2q.mjs → config-C2dd2SXS.mjs} +1 -1
- package/dist/{config-Bz8pAU5Q.mjs → config-DGV64YJa.mjs} +9 -1
- package/dist/{controls-rIItFeIJ.mjs → controls-ByrcupcA.mjs} +14 -14
- package/dist/daemon/index.mjs +29 -29
- package/dist/{daemon-SoUvPUOf.mjs → daemon-BjgJyJMP.mjs} +22 -22
- package/dist/daemon-iymy18Ie.mjs +46 -0
- package/dist/daemon-mcp/index.mjs +27 -27
- package/dist/{embed-pass-CN1D8MXl.mjs → embed-pass-DdTMn4DH.mjs} +4 -4
- package/dist/{endreason-C2-hYK0_.mjs → endreason-BjPom527.mjs} +4 -4
- package/dist/{fallback-CwPSCrX8.mjs → fallback-CQ8_CuVu.mjs} +4 -4
- package/dist/{health-D0mUAVdw.mjs → health-Bb2U4PNK.mjs} +4 -4
- package/dist/hooks/block-sleep-poll.mjs +9 -0
- package/dist/hooks/capture-all-events.mjs +38 -7
- package/dist/hooks/capture-tool-output.mjs +38 -7
- package/dist/hooks/handoff-link.mjs +37 -6
- package/dist/hooks/load-project-context.mjs +9 -0
- package/dist/hooks/local-model-hint.mjs +9 -0
- package/dist/hooks/route-agents-to-worker.mjs +9 -0
- package/dist/hooks/security-validator.mjs +124 -28
- package/dist/hooks/supervision-banner.mjs +40 -7
- package/dist/hooks/worker-edit-repair.mjs +9 -0
- package/dist/hooks/worker-guard.mjs +46 -6
- package/dist/hooks/worker-note.mjs +47 -7
- package/dist/hooks/worker-pool-host.mjs +308 -146
- package/dist/hooks/worker-proxy.mjs +9 -0
- package/dist/hooks/worker-status-line.mjs +49 -7
- package/dist/hooks/worker-supervision.mjs +9 -0
- package/dist/hooks/worker-tool-name-repair.mjs +9 -0
- package/dist/index.mjs +7 -7
- package/dist/kill-tree-BlPw1vaU.mjs +10 -0
- package/dist/{kill-tree-DPiMscaY.mjs → kill-tree-DTmiEb3T.mjs} +7 -7
- package/dist/{launch-Bn2Zf90h.mjs → launch-CV6oPHI2.mjs} +3 -3
- package/dist/{launch-BZT3JDoZ.mjs → launch-Dy8qQnSD.mjs} +3 -3
- package/dist/{lessons-CFVU0cwA.mjs → lessons-CdmqZD0G.mjs} +21 -21
- package/dist/{local-candidate-DFd4pp-w.mjs → local-candidate-C2FGhf54.mjs} +2 -2
- package/dist/{local-instances-KTh8IeOT.mjs → local-instances-GgXydQ2P.mjs} +1 -1
- package/dist/{local-tiers-DSlIYvvm.mjs → local-tiers-X_dQfI4Q.mjs} +1 -1
- package/dist/{main-config-ops-rda08BCD.mjs → main-config-ops-C_fkINDv.mjs} +2 -2
- package/dist/{main-resolver-BKwI0I6H.mjs → main-resolver-CN_sfG1R.mjs} +13 -13
- package/dist/{model-inventory-BXv15B0d.mjs → model-inventory-BYNrSTaY.mjs} +10 -10
- package/dist/{models-add-5yXTyz3g.mjs → models-add-Dc7VXmcu.mjs} +30 -30
- package/dist/operator-IrLbk8hy.mjs +7 -0
- package/dist/{operator-Br6GeswF.mjs → operator-lRGvYr3D.mjs} +2 -2
- package/dist/{pai-marker-D6OoVbM_.mjs → pai-marker-kA0iM7rP.mjs} +2 -2
- package/dist/{pane-audit-DLYy9-4g.mjs → pane-audit-DUuilP1V.mjs} +8 -8
- package/dist/{paths-CypxFTfn.mjs → paths-BwfwHOvN.mjs} +2 -2
- package/dist/{paths-DIOwNcj-.mjs → paths-CKGYM0Lb.mjs} +2 -2
- package/dist/{planner-BzZ_2lc-.mjs → planner-BDHVUkIM.mjs} +22 -22
- package/dist/{pool-9EsbKD-U.mjs → pool-CFeHGX7q.mjs} +2 -2
- package/dist/{pool-cli-Cy5mlycP.mjs → pool-cli-Bj2TeA-d.mjs} +5 -5
- package/dist/{pool-cli-Db0uDwB9.mjs → pool-cli-DOLgPgOM.mjs} +5 -5
- package/dist/{project-setup-DHxdJjEc.mjs → project-setup-i5D0xkTn.mjs} +21 -21
- package/dist/{providers-BNV7CzC-.mjs → providers-BC2Myo_O.mjs} +5 -5
- package/dist/{providers-BH6hQYbU.mjs → providers-C-mnlH1b.mjs} +11 -11
- package/dist/{registrable-BwFiqazy.mjs → registrable-Ct0DKNKS.mjs} +6 -6
- package/dist/{registrable-Dxs4oKIj.mjs → registrable-D_4qXCnq.mjs} +4 -4
- package/dist/{render-jPpMrudf.mjs → render-CbifCwTb.mjs} +175 -65
- package/dist/{render-DVGXpfaT.mjs → render-FB4Fv_fi.mjs} +10 -10
- package/dist/{root-C8cxhdn9.mjs → root-80ESg6b7.mjs} +21 -21
- package/dist/{root-DmOzMeSv.mjs → root-B-ZYiEgi.mjs} +10 -10
- package/dist/{route-table-COAmc1nB.mjs → route-table-DcBZCuco.mjs} +10 -10
- package/dist/{routing-aJKMIagQ.mjs → routing-CF0wlR-_.mjs} +10 -10
- package/dist/{routing-B_cg1_Xx.mjs → routing-CJ8ioPl2.mjs} +10 -10
- package/dist/{run-DE9Q0ldN.mjs → run-CAjfKBQV.mjs} +53 -26
- package/dist/{scan-CNMcltOX.mjs → scan-ew8M6tTH.mjs} +3 -3
- package/dist/{scope-BTWstJ1B.mjs → scope-BRcaPw5D.mjs} +4 -4
- package/dist/session-BmQsXF_a.mjs +35 -0
- package/dist/{session-HBYOABWU.mjs → session-C1JnDXvP.mjs} +14 -14
- package/dist/{session-scan-BZxnYN1v.mjs → session-scan-DWCUKhDM.mjs} +5 -5
- package/dist/{session-scan-CX3MKCNg.mjs → session-scan-DihMibI-.mjs} +4 -4
- package/dist/{session-usage-CCmPFFa6.mjs → session-usage-BRIWFYPS.mjs} +2 -2
- package/dist/{status-D52xC_i0.mjs → status-Bj4yVKj0.mjs} +3 -3
- package/dist/{status-Cecau8Ps.mjs → status-DTMT5lyn.mjs} +2 -2
- package/dist/{tool-errors-BFw1gv-z.mjs → tool-errors-BOW2n882.mjs} +2 -2
- package/dist/{tool-errors-COM2JGEr.mjs → tool-errors-jNJj3Gzm.mjs} +5 -5
- package/dist/{viewer-DvBg6N22.mjs → viewer-4BU8w_gK.mjs} +14 -14
- package/dist/viewer-D3VEdqhC.mjs +22 -0
- package/dist/{wait-C5iWILj_.mjs → wait-BindDA5w.mjs} +3 -3
- package/dist/{worker-config-DkONNk_H.mjs → worker-config-CdPmb4_2.mjs} +25 -25
- package/dist/{worker-config-BmcJ9R0U.mjs → worker-config-CfV2dgSb.mjs} +29 -29
- package/dist/{workers-config-DwzrtdYu.mjs → workers-config-2VipVOYk.mjs} +1 -1
- package/dist/{worktree-O_kU6Q3y.mjs → worktree-7ZS3RBf8.mjs} +21 -11
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/pai-plugin.json +1 -1
- package/plugins/context-preservation/plugin.json +1 -1
- package/plugins/core/plugin.json +1 -1
- package/plugins/creative/plugin.json +1 -1
- package/plugins/observability/plugin.json +1 -1
- package/plugins/productivity/plugin.json +1 -1
- package/plugins/semantic-search/plugin.json +1 -1
- package/plugins/ui/plugin.json +1 -1
- package/plugins/zettelkasten/plugin.json +1 -1
- package/src/hooks/ts/lib/rules/builtin/base64-decode-to-shell.rule.yaml +3 -1
- package/src/hooks/ts/lib/rules/builtin/chmod-zero.rule.yaml +2 -0
- package/src/hooks/ts/lib/rules/builtin/curl-piped-to-shell.rule.yaml +8 -1
- package/src/hooks/ts/lib/rules/builtin/find-root-delete.rule.yaml +4 -1
- package/src/hooks/ts/lib/rules/builtin/instruction-override-disregard.rule.yaml +2 -0
- package/src/hooks/ts/lib/rules/builtin/reverse-shell-dev-tcp.rule.yaml +3 -0
- package/src/hooks/ts/lib/rules/builtin/reverse-shell-interactive-bash.rule.yaml +1 -0
- package/src/hooks/ts/lib/rules/builtin/rm-recursive-parent.rule.yaml +3 -1
- package/src/hooks/ts/lib/rules/builtin/rm-recursive-relative.rule.yaml +2 -1
- package/src/hooks/ts/lib/rules/builtin/rm-recursive-root.rule.yaml +4 -1
- package/src/hooks/ts/lib/rules/builtin/rm-trailing-tilde.rule.yaml +2 -1
- package/src/hooks/ts/lib/rules/builtin.generated.ts +34 -7
- package/src/hooks/ts/lib/rules/eval.ts +6 -4
- package/src/hooks/ts/lib/rules/lint.ts +7 -1
- package/src/hooks/ts/lib/rules/load.ts +55 -20
- package/src/hooks/ts/lib/rules/types.ts +2 -0
- package/src/hooks/ts/pre-tool-use/security-validator.ts +10 -2
- package/dist/auto-route-Bc8xP6TQ.mjs +0 -11
- package/dist/cockpit-memory-CLHZD64W.mjs +0 -20
- package/dist/daemon-176qA79N.mjs +0 -46
- package/dist/kill-tree-Dxei6qlR.mjs +0 -10
- package/dist/operator-Bmv5tiHQ.mjs +0 -7
- package/dist/session-DgZifjLx.mjs +0 -35
- package/dist/viewer-Ce-Xa9L3.mjs +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as writeFileAtomic } from "./atomic-file-BorMa4T3.mjs";
|
|
2
|
-
import { s as worktreeReason } from "./registrable-
|
|
2
|
+
import { s as worktreeReason } from "./registrable-D_4qXCnq.mjs";
|
|
3
3
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
4
4
|
import { join, resolve } from "node:path";
|
|
5
5
|
import { homedir } from "node:os";
|
|
@@ -228,4 +228,4 @@ function discoverPaiMarkers(searchDirs) {
|
|
|
228
228
|
|
|
229
229
|
//#endregion
|
|
230
230
|
export { ensurePaiMarker as n, readPaiMarker as r, discoverPaiMarkers as t };
|
|
231
|
-
//# sourceMappingURL=pai-marker-
|
|
231
|
+
//# sourceMappingURL=pai-marker-kA0iM7rP.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as paiHomePath } from "./runtime-paths-twfV23YL.mjs";
|
|
2
|
-
import { Et as appendLedger } from "./config-
|
|
3
|
-
import { i as ledgerPath } from "./paths-
|
|
4
|
-
import { C as nowStamp, N as spawnTimeOf, T as ownsPidCached, b as loadStatusesCached, g as isLive, h as isChatPane, v as loadStatus, w as ownsPid } from "./status-
|
|
5
|
-
import { i as itermUuid } from "./scope-
|
|
6
|
-
import { Dt as recordPath, Et as readRecord, L as fmtElapsed, St as listRecords, Tt as readExit, V as loadPlanStatuses, _t as paneTitle, bt as PANE_EXEC_PID_ENV, dt as osascript, kt as panePolicy, mt as realPaneOps, nt as closePaneForWorker, st as loadRegistry, tt as closeOwnPane, vt as writePaneTitle, wt as pidAlive, xt as exitFilePath, yt as PANE_EXEC_ENV } from "./controls-
|
|
7
|
-
import { s as requestKill, t as appendStopEvent } from "./endreason-
|
|
8
|
-
import { i as killTree } from "./kill-tree-
|
|
2
|
+
import { Et as appendLedger } from "./config-DGV64YJa.mjs";
|
|
3
|
+
import { i as ledgerPath } from "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import { C as nowStamp, N as spawnTimeOf, T as ownsPidCached, b as loadStatusesCached, g as isLive, h as isChatPane, v as loadStatus, w as ownsPid } from "./status-DTMT5lyn.mjs";
|
|
5
|
+
import { i as itermUuid } from "./scope-BRcaPw5D.mjs";
|
|
6
|
+
import { Dt as recordPath, Et as readRecord, L as fmtElapsed, St as listRecords, Tt as readExit, V as loadPlanStatuses, _t as paneTitle, bt as PANE_EXEC_PID_ENV, dt as osascript, kt as panePolicy, mt as realPaneOps, nt as closePaneForWorker, st as loadRegistry, tt as closeOwnPane, vt as writePaneTitle, wt as pidAlive, xt as exitFilePath, yt as PANE_EXEC_ENV } from "./controls-ByrcupcA.mjs";
|
|
7
|
+
import { s as requestKill, t as appendStopEvent } from "./endreason-BjPom527.mjs";
|
|
8
|
+
import { i as killTree } from "./kill-tree-DTmiEb3T.mjs";
|
|
9
9
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { join } from "node:path";
|
|
11
11
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -751,4 +751,4 @@ function renderPaneAudit(verdicts) {
|
|
|
751
751
|
|
|
752
752
|
//#endregion
|
|
753
753
|
export { readAudit as a, followPaneRun as c, loadPaneRunStatuses as d, paneRunRows as f, listItermTabs as i, isPaneRunId as l, runInPane as m, auditTick as n, renderPaneAudit as o, renderPaneRunLines as p, closeFinishedPanes as r, runningProcs as s, auditPanes as t, loadPaneRunStatus as u };
|
|
754
|
-
//# sourceMappingURL=pane-audit-
|
|
754
|
+
//# sourceMappingURL=pane-audit-DUuilP1V.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as paiHomePath, v as resolvePaiFile } from "./runtime-paths-twfV23YL.mjs";
|
|
2
|
-
import { d as defaultWorkersConfig } from "./config-
|
|
2
|
+
import { d as defaultWorkersConfig } from "./config-DGV64YJa.mjs";
|
|
3
3
|
import { o as expandHome } from "./config-SlZ-Z52i.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { join } from "node:path";
|
|
@@ -65,4 +65,4 @@ function slotCurrentPath(logDir, slot) {
|
|
|
65
65
|
|
|
66
66
|
//#endregion
|
|
67
67
|
export { noMcpConfigPath as a, slotCurrentPath as c, ledgerPath as i, statusPath as l, ensureNoMcpConfig as n, panesDir as o, eventsPath as r, routingStatePath as s, WORKER_ID_RE as t, workersLogDir as u };
|
|
68
|
-
//# sourceMappingURL=paths-
|
|
68
|
+
//# sourceMappingURL=paths-BwfwHOvN.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./config-
|
|
1
|
+
import "./config-DGV64YJa.mjs";
|
|
2
2
|
import "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import { a as noMcpConfigPath, c as slotCurrentPath, i as ledgerPath, l as statusPath, n as ensureNoMcpConfig, o as panesDir, r as eventsPath, s as routingStatePath, t as WORKER_ID_RE, u as workersLogDir } from "./paths-
|
|
3
|
+
import { a as noMcpConfigPath, c as slotCurrentPath, i as ledgerPath, l as statusPath, n as ensureNoMcpConfig, o as panesDir, r as eventsPath, s as routingStatePath, t as WORKER_ID_RE, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
|
|
4
4
|
|
|
5
5
|
export { WORKER_ID_RE, ensureNoMcpConfig, eventsPath, ledgerPath, noMcpConfigPath, panesDir, routingStatePath, slotCurrentPath, statusPath, workersLogDir };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Et as appendLedger, M as readWorkersSection } from "./config-
|
|
1
|
+
import { Et as appendLedger, M as readWorkersSection } from "./config-DGV64YJa.mjs";
|
|
2
2
|
import "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import { i as ledgerPath, u as workersLogDir } from "./paths-
|
|
4
|
-
import { g as mergeWorker, n as MergeConflictError } from "./worktree-
|
|
5
|
-
import { S as newWorkerId, nt as parseRunnerArgs, rt as shortText, v as loadStatus } from "./status-
|
|
6
|
-
import "./pool-
|
|
3
|
+
import { i as ledgerPath, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import { g as mergeWorker, n as MergeConflictError } from "./worktree-7ZS3RBf8.mjs";
|
|
5
|
+
import { S as newWorkerId, nt as parseRunnerArgs, rt as shortText, v as loadStatus } from "./status-DTMT5lyn.mjs";
|
|
6
|
+
import "./pool-CFeHGX7q.mjs";
|
|
7
7
|
import "./helpers-CRuBUas3.mjs";
|
|
8
|
-
import "./scope-
|
|
9
|
-
import "./routing-
|
|
10
|
-
import "./tool-errors-
|
|
11
|
-
import "./wait-
|
|
8
|
+
import "./scope-BRcaPw5D.mjs";
|
|
9
|
+
import "./routing-CF0wlR-_.mjs";
|
|
10
|
+
import "./tool-errors-BOW2n882.mjs";
|
|
11
|
+
import "./wait-BindDA5w.mjs";
|
|
12
12
|
import "./local-tiers-CqwGUcEn.mjs";
|
|
13
|
-
import "./caller-identity-
|
|
14
|
-
import "./capacity-
|
|
13
|
+
import "./caller-identity-DPDSrZE2.mjs";
|
|
14
|
+
import "./capacity-CThSydrd.mjs";
|
|
15
15
|
import "./local-instances-DhF4_sV2.mjs";
|
|
16
|
-
import "./local-candidate-
|
|
16
|
+
import "./local-candidate-C2FGhf54.mjs";
|
|
17
17
|
import "./factory-CYwa0jYj.mjs";
|
|
18
18
|
import "./postgres-BL5oBBgY.mjs";
|
|
19
19
|
import "./embedding-gate-iq0oQEkF.mjs";
|
|
20
20
|
import "./embeddings-BVq3esBF.mjs";
|
|
21
21
|
import "./router-D2476pOp.mjs";
|
|
22
|
-
import "./launch-
|
|
23
|
-
import { V as printResult, t as runWorker } from "./run-
|
|
24
|
-
import "./controls-
|
|
25
|
-
import "./endreason-
|
|
26
|
-
import "./render-
|
|
27
|
-
import "./operator-
|
|
28
|
-
import "./kill-tree-
|
|
29
|
-
import "./pool-cli-
|
|
30
|
-
import { n as swapPromptArg } from "./chain-
|
|
22
|
+
import "./launch-CV6oPHI2.mjs";
|
|
23
|
+
import { V as printResult, t as runWorker } from "./run-CAjfKBQV.mjs";
|
|
24
|
+
import "./controls-ByrcupcA.mjs";
|
|
25
|
+
import "./endreason-BjPom527.mjs";
|
|
26
|
+
import "./render-CbifCwTb.mjs";
|
|
27
|
+
import "./operator-lRGvYr3D.mjs";
|
|
28
|
+
import "./kill-tree-DTmiEb3T.mjs";
|
|
29
|
+
import "./pool-cli-DOLgPgOM.mjs";
|
|
30
|
+
import { n as swapPromptArg } from "./chain-BvdKqRiZ.mjs";
|
|
31
31
|
import { existsSync, mkdirSync, readFileSync } from "node:fs";
|
|
32
32
|
import { join } from "node:path";
|
|
33
33
|
|
|
@@ -307,4 +307,4 @@ function printPlannerSummary(logDir, plannerId, results, merged, conflicted, fmt
|
|
|
307
307
|
|
|
308
308
|
//#endregion
|
|
309
309
|
export { runPlanner };
|
|
310
|
-
//# sourceMappingURL=planner-
|
|
310
|
+
//# sourceMappingURL=planner-BDHVUkIM.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ot as parseLedger, R as LOOPBACK_HOST, c as WorkersConfigError, d as defaultWorkersConfig, i as DEFAULT_POOL_PORT, t as ANTHROPIC_NATIVE } from "./config-
|
|
1
|
+
import { Ot as parseLedger, R as LOOPBACK_HOST, c as WorkersConfigError, d as defaultWorkersConfig, i as DEFAULT_POOL_PORT, t as ANTHROPIC_NATIVE } from "./config-DGV64YJa.mjs";
|
|
2
2
|
import { t as assertTestWriteAllowed } from "./test-isolation-lqSmYxr0.mjs";
|
|
3
3
|
import { appendFileSync, copyFileSync, existsSync, mkdirSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -629,4 +629,4 @@ function spareStats(ledgerText) {
|
|
|
629
629
|
|
|
630
630
|
//#endregion
|
|
631
631
|
export { readClaudeJson as A, describeMcp as C, readMcpServers as D, mcpServersFromToolGrants as E, trustProjectPath as M, writeClaudeJson as N, writeMcpConfig as O, inputSideTokens as S, grantsChrome as T, readPoolMetrics as _, formatCarryByProvider as a, spareStats as b, poolHostAlive as c, poolIneligibleReason as d, poolMetricsPath as f, postTaskToPool as g, poolSettings as h, bundleBuildStamp as i, registerMcpScript as j, mcpEntryRunsScript as k, poolHostProbe as l, poolPort as m, SLOT_TOOLS as n, poolCarry as o, poolPidPath as p, UNIT_MARKER as r, poolDir as s, SHARED_MARKER as t, poolHostStale as u, readPoolState as v, expandMcpNames as w, warmOrCold as x, reloadInProgress as y };
|
|
632
|
-
//# sourceMappingURL=pool-
|
|
632
|
+
//# sourceMappingURL=pool-CFeHGX7q.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./config-
|
|
1
|
+
import "./config-DGV64YJa.mjs";
|
|
2
2
|
import "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import "./paths-
|
|
4
|
-
import "./status-
|
|
5
|
-
import "./pool-
|
|
6
|
-
import { a as poolOff, c as poolStatusText, d as spareStatusLines, f as standalonePoolHostPath, i as hostBuildText, l as reloadPoolHost, n as diskBundleMtime, o as poolOn, r as ensurePoolHost, s as poolReloadLive, t as POOL_HEAL_GAP_MS, u as skipReasonLine } from "./pool-cli-
|
|
3
|
+
import "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import "./status-DTMT5lyn.mjs";
|
|
5
|
+
import "./pool-CFeHGX7q.mjs";
|
|
6
|
+
import { a as poolOff, c as poolStatusText, d as spareStatusLines, f as standalonePoolHostPath, i as hostBuildText, l as reloadPoolHost, n as diskBundleMtime, o as poolOn, r as ensurePoolHost, s as poolReloadLive, t as POOL_HEAL_GAP_MS, u as skipReasonLine } from "./pool-cli-DOLgPgOM.mjs";
|
|
7
7
|
|
|
8
8
|
export { poolOff, poolOn, poolStatusText };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Et as appendLedger, L as writeWorkersSection, M as readWorkersSection, Ot as parseLedger, R as LOOPBACK_HOST } from "./config-
|
|
2
|
-
import { i as ledgerPath } from "./paths-
|
|
3
|
-
import { m as fmtTokens } from "./status-
|
|
4
|
-
import { _ as readPoolMetrics, a as formatCarryByProvider, b as spareStats, c as poolHostAlive, f as poolMetricsPath, h as poolSettings, i as bundleBuildStamp, l as poolHostProbe, m as poolPort, o as poolCarry, p as poolPidPath, s as poolDir, u as poolHostStale, v as readPoolState, y as reloadInProgress } from "./pool-
|
|
1
|
+
import { Et as appendLedger, L as writeWorkersSection, M as readWorkersSection, Ot as parseLedger, R as LOOPBACK_HOST } from "./config-DGV64YJa.mjs";
|
|
2
|
+
import { i as ledgerPath } from "./paths-BwfwHOvN.mjs";
|
|
3
|
+
import { m as fmtTokens } from "./status-DTMT5lyn.mjs";
|
|
4
|
+
import { _ as readPoolMetrics, a as formatCarryByProvider, b as spareStats, c as poolHostAlive, f as poolMetricsPath, h as poolSettings, i as bundleBuildStamp, l as poolHostProbe, m as poolPort, o as poolCarry, p as poolPidPath, s as poolDir, u as poolHostStale, v as readPoolState, y as reloadInProgress } from "./pool-CFeHGX7q.mjs";
|
|
5
5
|
import { closeSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { dirname, join } from "node:path";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
@@ -313,4 +313,4 @@ function spareStatusLines(state, logDir) {
|
|
|
313
313
|
|
|
314
314
|
//#endregion
|
|
315
315
|
export { poolOff as a, poolStatusText as c, spareStatusLines as d, standalonePoolHostPath as f, hostBuildText as i, reloadPoolHost as l, diskBundleMtime as n, poolOn as o, ensurePoolHost as r, poolReloadLive as s, POOL_HEAL_GAP_MS as t, skipReasonLine as u };
|
|
316
|
-
//# sourceMappingURL=pool-cli-
|
|
316
|
+
//# sourceMappingURL=pool-cli-DOLgPgOM.mjs.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { c as ok, i as err, n as dim } from "./utils-J2b9y8PC.mjs";
|
|
2
2
|
import { _ as paiHomePath, l as claudeHomeDir } from "./runtime-paths-twfV23YL.mjs";
|
|
3
|
-
import { M as readWorkersSection, Q as readMergeVerify, c as WorkersConfigError, f as escalationCloud, h as isModelCapability, m as isLocalProvider, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-
|
|
4
|
-
import { i as ledgerPath, r as eventsPath, u as workersLogDir } from "./paths-
|
|
5
|
-
import { D as formatPending, O as pendingGate, b as verifyWorker, c as formatKnowledge, d as gcWorktrees, g as mergeWorker, k as pendingResults, m as leftoverWorktrees, s as discardWorker, u as gcPoolWorktrees } from "./worktree-
|
|
6
|
-
import { B as listStale, C as nowStamp, G as writeContinueToForge, H as parseStatusConfig, I as ForgeError, J as PREAMBLE_REL, L as PROJECT_CONFIG_REL, M as setWorkerNote, Q as projectRoot, U as setClaim, V as loadStatusConfig, a as UNLABELED, g as isLive, k as saveStatus, nt as parseRunnerArgs, o as ageOf, q as PREAMBLE_MAX_BYTES, s as alive, tt as longInlinePromptHint, v as loadStatus, w as ownsPid, y as loadStatuses, z as listClaims } from "./status-
|
|
7
|
-
import { p as currentWorkerId } from "./scope-
|
|
8
|
-
import { C as detectSessionProvider, Cn as resolveLocalProvider, St as gcSettingsFiles, cn as detectSessionName, hn as LOCAL_MECHANISM_LINE, ln as BATCH_ENV, pt as isLoopbackProvider, wn as resolveRunnerProvider, xn as probeLoopback } from "./routing-
|
|
9
|
-
import { C as statusMarker, S as realDeps, T as waitOn, a as runWait, w as statusQueue } from "./wait-
|
|
10
|
-
import { n as breakStaleMutex } from "./caller-identity-
|
|
11
|
-
import { a as liveQueue, g as sessionOf, o as providerCap, p as reorderQueue, s as queueRows, t as admitCap } from "./capacity-
|
|
12
|
-
import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-
|
|
3
|
+
import { M as readWorkersSection, Q as readMergeVerify, c as WorkersConfigError, f as escalationCloud, h as isModelCapability, m as isLocalProvider, p as getProviderOrNative, t as ANTHROPIC_NATIVE } from "./config-DGV64YJa.mjs";
|
|
4
|
+
import { i as ledgerPath, r as eventsPath, u as workersLogDir } from "./paths-BwfwHOvN.mjs";
|
|
5
|
+
import { D as formatPending, O as pendingGate, b as verifyWorker, c as formatKnowledge, d as gcWorktrees, g as mergeWorker, k as pendingResults, m as leftoverWorktrees, s as discardWorker, u as gcPoolWorktrees } from "./worktree-7ZS3RBf8.mjs";
|
|
6
|
+
import { B as listStale, C as nowStamp, G as writeContinueToForge, H as parseStatusConfig, I as ForgeError, J as PREAMBLE_REL, L as PROJECT_CONFIG_REL, M as setWorkerNote, Q as projectRoot, U as setClaim, V as loadStatusConfig, a as UNLABELED, g as isLive, k as saveStatus, nt as parseRunnerArgs, o as ageOf, q as PREAMBLE_MAX_BYTES, s as alive, tt as longInlinePromptHint, v as loadStatus, w as ownsPid, y as loadStatuses, z as listClaims } from "./status-DTMT5lyn.mjs";
|
|
7
|
+
import { p as currentWorkerId } from "./scope-BRcaPw5D.mjs";
|
|
8
|
+
import { C as detectSessionProvider, Cn as resolveLocalProvider, St as gcSettingsFiles, cn as detectSessionName, hn as LOCAL_MECHANISM_LINE, ln as BATCH_ENV, pt as isLoopbackProvider, wn as resolveRunnerProvider, xn as probeLoopback } from "./routing-CF0wlR-_.mjs";
|
|
9
|
+
import { C as statusMarker, S as realDeps, T as waitOn, a as runWait, w as statusQueue } from "./wait-BindDA5w.mjs";
|
|
10
|
+
import { n as breakStaleMutex } from "./caller-identity-DPDSrZE2.mjs";
|
|
11
|
+
import { a as liveQueue, g as sessionOf, o as providerCap, p as reorderQueue, s as queueRows, t as admitCap } from "./capacity-CThSydrd.mjs";
|
|
12
|
+
import { n as tierProviderNames, t as isLocalCandidate } from "./local-candidate-C2FGhf54.mjs";
|
|
13
13
|
import { n as OPT, t as CliError } from "./define-CjJsmq-6.mjs";
|
|
14
14
|
import { c as resolveFromModule } from "./postgres-BL5oBBgY.mjs";
|
|
15
|
-
import { C as workerUsage, S as usageJson, U as endProcesses, W as findWorktreeOrphans, _ as stopLaunchedWorkers, a as resolveWorkers, b as renderUsage, d as capture, h as realCommitsAhead, i as liveResolveCtx, m as mergeBranch, n as LocalProviderRefusedError, p as launchWorker, r as PoolRefusedError, t as runWorker, v as parseWhen } from "./run-
|
|
16
|
-
import { $ as checkPaneForWorker, A as tail, Gt as LOCAL_FAILURE_LIMIT, H as planLogTail, Ht as handoffFromInside, J as queueLockPath, Jt as routeLine, Kt as classifyRoute, N as filesOverlap, R as followPlanLog, W as planRunEnded, Z as withRunLock, c as setMuted, ct as openFollowPane, et as closeEndedPanes, ft as paneBackend, gt as workerEnded, ht as resolveHostSession, lt as openPaneForWorker, pt as paneMayClose, qt as localFailures, st as loadRegistry } from "./controls-
|
|
17
|
-
import { G as
|
|
18
|
-
import { r as sayToWorker } from "./operator-
|
|
19
|
-
import { i as killTree } from "./kill-tree-
|
|
20
|
-
import { t as runChain } from "./chain-
|
|
21
|
-
import { c as followPaneRun, i as listItermTabs, l as isPaneRunId, o as renderPaneAudit, s as runningProcs, t as auditPanes, u as loadPaneRunStatus } from "./pane-audit-
|
|
22
|
-
import { a as followTailOutput, d as psOutput, f as replayOutput, m as statusLineOutput, o as followWorkers } from "./viewer-
|
|
23
|
-
import { _ as unsetCapabilityPreference, a as describeCapabilities, c as modelPrefsText, d as setCapabilityPreference, h as setProviderModel, o as describeModels, u as resolveProviderName } from "./providers-
|
|
15
|
+
import { C as workerUsage, S as usageJson, U as endProcesses, W as findWorktreeOrphans, _ as stopLaunchedWorkers, a as resolveWorkers, b as renderUsage, d as capture, h as realCommitsAhead, i as liveResolveCtx, m as mergeBranch, n as LocalProviderRefusedError, p as launchWorker, r as PoolRefusedError, t as runWorker, v as parseWhen } from "./run-CAjfKBQV.mjs";
|
|
16
|
+
import { $ as checkPaneForWorker, A as tail, Gt as LOCAL_FAILURE_LIMIT, H as planLogTail, Ht as handoffFromInside, J as queueLockPath, Jt as routeLine, Kt as classifyRoute, N as filesOverlap, R as followPlanLog, W as planRunEnded, Z as withRunLock, c as setMuted, ct as openFollowPane, et as closeEndedPanes, ft as paneBackend, gt as workerEnded, ht as resolveHostSession, lt as openPaneForWorker, pt as paneMayClose, qt as localFailures, st as loadRegistry } from "./controls-ByrcupcA.mjs";
|
|
17
|
+
import { G as DEFAULT_IDLE_SECS, K as commandToRun, q as runProbed, tt as parentFromEnv } from "./render-CbifCwTb.mjs";
|
|
18
|
+
import { r as sayToWorker } from "./operator-lRGvYr3D.mjs";
|
|
19
|
+
import { i as killTree } from "./kill-tree-DTmiEb3T.mjs";
|
|
20
|
+
import { t as runChain } from "./chain-BvdKqRiZ.mjs";
|
|
21
|
+
import { c as followPaneRun, i as listItermTabs, l as isPaneRunId, o as renderPaneAudit, s as runningProcs, t as auditPanes, u as loadPaneRunStatus } from "./pane-audit-DUuilP1V.mjs";
|
|
22
|
+
import { a as followTailOutput, d as psOutput, f as replayOutput, m as statusLineOutput, o as followWorkers } from "./viewer-4BU8w_gK.mjs";
|
|
23
|
+
import { _ as unsetCapabilityPreference, a as describeCapabilities, c as modelPrefsText, d as setCapabilityPreference, h as setProviderModel, o as describeModels, u as resolveProviderName } from "./providers-BC2Myo_O.mjs";
|
|
24
24
|
import { appendFileSync, copyFileSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, renameSync, rmSync, rmdirSync, statSync, writeFileSync } from "node:fs";
|
|
25
25
|
import { createHash, randomBytes } from "node:crypto";
|
|
26
26
|
import { basename, dirname, join, resolve } from "node:path";
|
|
@@ -1465,7 +1465,7 @@ const errorsCommand = {
|
|
|
1465
1465
|
examples: ["pai worker errors", "pai worker errors --since 2h"],
|
|
1466
1466
|
seeAlso: ["pai worker log"],
|
|
1467
1467
|
run: (ctx) => guard("pai worker errors --since 24h", async () => {
|
|
1468
|
-
const { errorsTable, groupToolErrors, parseSince, readToolErrors } = await import("./tool-errors-
|
|
1468
|
+
const { errorsTable, groupToolErrors, parseSince, readToolErrors } = await import("./tool-errors-jNJj3Gzm.mjs");
|
|
1469
1469
|
const since = str(ctx.opts.since) ?? "24h";
|
|
1470
1470
|
const ms = parseSince(since);
|
|
1471
1471
|
if (ms === null) throw new Error(`bad --since "${since}" (use 30m, 2h, 1d)`);
|
|
@@ -3028,4 +3028,4 @@ function realBuildTime() {
|
|
|
3028
3028
|
|
|
3029
3029
|
//#endregion
|
|
3030
3030
|
export { schedulerLines as C, resolveSpecPath as E, withTarget as S, readSpecPrompt as T, issueClaims as _, branchDiff as a, workerCommand as b, runQueue as c, loadSettings as d, move as f, issueClaim as g, renderReview as h, projectChecks as i, QueueStore as l, renderList as m, initProject as n, realQueueDeps as o, queueStatePath as p, isGitProject as r, acceptItems as s, formatCheck as t, again as u, issueStale as v, schedulerView as w, resolveTarget as x, providerCaps as y };
|
|
3031
|
-
//# sourceMappingURL=project-setup-
|
|
3031
|
+
//# sourceMappingURL=project-setup-i5D0xkTn.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { L as writeWorkersSection, M as readWorkersSection, N as resolveCapability, O as providerCostTier, _ as maskKey, a as MODEL_CAPABILITIES, c as WorkersConfigError, d as defaultWorkersConfig, g as keysDir, h as isModelCapability, o as PROVIDER_TAGS, p as getProviderOrNative, rt as workersYamlPath, t as ANTHROPIC_NATIVE, y as nativeAnthropicProvider } from "./config-
|
|
1
|
+
import { L as writeWorkersSection, M as readWorkersSection, N as resolveCapability, O as providerCostTier, _ as maskKey, a as MODEL_CAPABILITIES, c as WorkersConfigError, d as defaultWorkersConfig, g as keysDir, h as isModelCapability, o as PROVIDER_TAGS, p as getProviderOrNative, rt as workersYamlPath, t as ANTHROPIC_NATIVE, y as nativeAnthropicProvider } from "./config-DGV64YJa.mjs";
|
|
2
2
|
import { n as CONFIG_FILE, o as expandHome, s as homeRel } from "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import { u as workersLogDir } from "./paths-
|
|
4
|
-
import { a as clearCooldown, d as probeQuota, hn as LOCAL_MECHANISM_LINE, p as quotaSkipThreshold, pt as isLoopbackProvider } from "./routing-
|
|
5
|
-
import { h as resolveCap, t as admitCap } from "./capacity-
|
|
3
|
+
import { u as workersLogDir } from "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import { a as clearCooldown, d as probeQuota, hn as LOCAL_MECHANISM_LINE, p as quotaSkipThreshold, pt as isLoopbackProvider } from "./routing-CF0wlR-_.mjs";
|
|
5
|
+
import { h as resolveCap, t as admitCap } from "./capacity-CThSydrd.mjs";
|
|
6
6
|
import { chmodSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
7
7
|
|
|
8
8
|
//#region src/workers/providers.ts
|
|
@@ -387,4 +387,4 @@ function describeCapabilities(workers) {
|
|
|
387
387
|
|
|
388
388
|
//#endregion
|
|
389
389
|
export { unsetCapabilityPreference as _, describeCapabilities as a, useProvider as b, modelPrefsText as c, setCapabilityPreference as d, setClass as f, setWorkersEnabled as g, setProviderModel as h, describeCap as i, removeProvider as l, setProviderEnabled as m, capText as n, describeModels as o, setProviderCap as p, classTargetText as r, describeProviders as s, addProvider as t, resolveProviderName as u, unsetClass as v, updateProvider as y };
|
|
390
|
-
//# sourceMappingURL=providers-
|
|
390
|
+
//# sourceMappingURL=providers-BC2Myo_O.mjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./config-
|
|
1
|
+
import "./config-DGV64YJa.mjs";
|
|
2
2
|
import "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import "./paths-
|
|
4
|
-
import "./status-
|
|
5
|
-
import "./scope-
|
|
6
|
-
import "./routing-
|
|
7
|
-
import "./tool-errors-
|
|
8
|
-
import "./wait-
|
|
3
|
+
import "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import "./status-DTMT5lyn.mjs";
|
|
5
|
+
import "./scope-BRcaPw5D.mjs";
|
|
6
|
+
import "./routing-CF0wlR-_.mjs";
|
|
7
|
+
import "./tool-errors-BOW2n882.mjs";
|
|
8
|
+
import "./wait-BindDA5w.mjs";
|
|
9
9
|
import "./local-tiers-CqwGUcEn.mjs";
|
|
10
|
-
import "./caller-identity-
|
|
11
|
-
import "./capacity-
|
|
10
|
+
import "./caller-identity-DPDSrZE2.mjs";
|
|
11
|
+
import "./capacity-CThSydrd.mjs";
|
|
12
12
|
import "./local-instances-DhF4_sV2.mjs";
|
|
13
|
-
import "./local-candidate-
|
|
14
|
-
import { _ as unsetCapabilityPreference, a as describeCapabilities, b as useProvider, c as modelPrefsText, d as setCapabilityPreference, f as setClass, g as setWorkersEnabled, h as setProviderModel, i as describeCap, l as removeProvider, m as setProviderEnabled, n as capText, o as describeModels, p as setProviderCap, r as classTargetText, s as describeProviders, t as addProvider, u as resolveProviderName, v as unsetClass, y as updateProvider } from "./providers-
|
|
13
|
+
import "./local-candidate-C2FGhf54.mjs";
|
|
14
|
+
import { _ as unsetCapabilityPreference, a as describeCapabilities, b as useProvider, c as modelPrefsText, d as setCapabilityPreference, f as setClass, g as setWorkersEnabled, h as setProviderModel, i as describeCap, l as removeProvider, m as setProviderEnabled, n as capText, o as describeModels, p as setProviderCap, r as classTargetText, s as describeProviders, t as addProvider, u as resolveProviderName, v as unsetClass, y as updateProvider } from "./providers-BC2Myo_O.mjs";
|
|
15
15
|
|
|
16
16
|
export { setProviderEnabled, useProvider };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./config-
|
|
1
|
+
import "./config-DGV64YJa.mjs";
|
|
2
2
|
import "./config-SlZ-Z52i.mjs";
|
|
3
|
-
import "./paths-
|
|
4
|
-
import "./worktree-
|
|
5
|
-
import "./status-
|
|
6
|
-
import "./pool-
|
|
7
|
-
import { a as unregistrableReason, i as reportUnregistrable, n as mainRepoOf, o as workerWorktreesRoot, r as pruneWorktreeProjects, s as worktreeReason, t as isLinkedWorktree } from "./registrable-
|
|
3
|
+
import "./paths-BwfwHOvN.mjs";
|
|
4
|
+
import "./worktree-7ZS3RBf8.mjs";
|
|
5
|
+
import "./status-DTMT5lyn.mjs";
|
|
6
|
+
import "./pool-CFeHGX7q.mjs";
|
|
7
|
+
import { a as unregistrableReason, i as reportUnregistrable, n as mainRepoOf, o as workerWorktreesRoot, r as pruneWorktreeProjects, s as worktreeReason, t as isLinkedWorktree } from "./registrable-D_4qXCnq.mjs";
|
|
8
8
|
|
|
9
9
|
export { reportUnregistrable };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as readWorkersSection } from "./config-
|
|
2
|
-
import { u as workersLogDir } from "./paths-
|
|
3
|
-
import { w as worktreesDir } from "./worktree-
|
|
1
|
+
import { M as readWorkersSection } from "./config-DGV64YJa.mjs";
|
|
2
|
+
import { u as workersLogDir } from "./paths-BwfwHOvN.mjs";
|
|
3
|
+
import { w as worktreesDir } from "./worktree-7ZS3RBf8.mjs";
|
|
4
4
|
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
5
5
|
import { dirname, resolve, sep } from "node:path";
|
|
6
6
|
|
|
@@ -140,4 +140,4 @@ async function reportUnregistrable(backend, worktreesRoot = workerWorktreesRoot(
|
|
|
140
140
|
|
|
141
141
|
//#endregion
|
|
142
142
|
export { unregistrableReason as a, reportUnregistrable as i, mainRepoOf as n, workerWorktreesRoot as o, pruneWorktreeProjects as r, worktreeReason as s, isLinkedWorktree as t };
|
|
143
|
-
//# sourceMappingURL=registrable-
|
|
143
|
+
//# sourceMappingURL=registrable-D_4qXCnq.mjs.map
|