@tekmidian/pai 0.66.4 → 0.66.6
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/{chain-BhPwBDXB.mjs → chain-2_uoiEdD.mjs} +2 -2
- package/dist/{chain-BhPwBDXB.mjs.map → chain-2_uoiEdD.mjs.map} +1 -1
- package/dist/cli/index.mjs +5 -5
- package/dist/cli/program.mjs +5 -5
- package/dist/{context-handover-cache-BbCYQUGo.mjs → context-handover-cache-SFkWucuT.mjs} +2 -2
- package/dist/{context-handover-cache-BbCYQUGo.mjs.map → context-handover-cache-SFkWucuT.mjs.map} +1 -1
- package/dist/daemon/index.mjs +3 -3
- package/dist/{daemon-UJtRscyO.mjs → daemon-BHQoEjt0.mjs} +3 -3
- package/dist/daemon-mcp/index.mjs +3 -3
- package/dist/{daemon-DzXOfieK.mjs → daemon-vLtT3yaI.mjs} +3 -3
- package/dist/{daemon-DzXOfieK.mjs.map → daemon-vLtT3yaI.mjs.map} +1 -1
- package/dist/{fallback-CoooFqyA.mjs → fallback-DNzd3jJc.mjs} +2 -2
- package/dist/{fallback-CoooFqyA.mjs.map → fallback-DNzd3jJc.mjs.map} +1 -1
- package/dist/{planner-C43lzcw5.mjs → planner-C-gzg7ye.mjs} +3 -3
- package/dist/{planner-C43lzcw5.mjs.map → planner-C-gzg7ye.mjs.map} +1 -1
- package/dist/{program-DB-hoyfW.mjs → program-CfG1T_ko.mjs} +7 -7
- package/dist/{program-DB-hoyfW.mjs.map → program-CfG1T_ko.mjs.map} +1 -1
- package/dist/{run-wi5NEkJd.mjs → run-ChlIbDJ0.mjs} +4 -4
- package/dist/{run-wi5NEkJd.mjs.map → run-ChlIbDJ0.mjs.map} +1 -1
- package/docs/commands/worker.md +1 -1
- package/package.json +1 -1
|
@@ -4581,7 +4581,7 @@ async function runWorker(opts) {
|
|
|
4581
4581
|
if (gc?.length) process.stderr.write(`pai worker: archived ${gc.length} leftover worktree(s) (pai worker gc)\n`);
|
|
4582
4582
|
} catch {}
|
|
4583
4583
|
if (opts.className === "plan" && !opts._planner) {
|
|
4584
|
-
const { runPlanner } = await import("./planner-
|
|
4584
|
+
const { runPlanner } = await import("./planner-C-gzg7ye.mjs");
|
|
4585
4585
|
return runPlanner(opts);
|
|
4586
4586
|
}
|
|
4587
4587
|
const parent = launchParent(opts.parent);
|
|
@@ -4602,9 +4602,9 @@ async function runWorker(opts) {
|
|
|
4602
4602
|
className: opts.className
|
|
4603
4603
|
});
|
|
4604
4604
|
assertProviderRunnable(target.providerName, target.provider);
|
|
4605
|
-
const limit = resolveLimit(opts, config.defaultMaxMinutes);
|
|
4606
4605
|
const noBrowser = opts.browser === void 0 ? config.noBrowserByDefault : !opts.browser;
|
|
4607
4606
|
const parsed = parseRunnerArgs(noBrowser ? stripBrowserArgs(opts.claudeArgs) : opts.claudeArgs);
|
|
4607
|
+
const limit = resolveLimit(opts, parsed.headless ? config.defaultMaxMinutes : 0);
|
|
4608
4608
|
const label = opts.label ?? shortText(parsed.prompt ?? UNLABELED, 70);
|
|
4609
4609
|
const model = capabilityResolution ? capabilityResolution.model : resolveRunModel(target, opts.className, opts.modelFlag);
|
|
4610
4610
|
const reportFormat = resolveReportFormat(opts.reportFormatFlag);
|
|
@@ -5120,7 +5120,7 @@ async function executeRun(a) {
|
|
|
5120
5120
|
...limit ? {
|
|
5121
5121
|
deadline: new Date(limit.deadlineAt).toISOString(),
|
|
5122
5122
|
maxMinutes: limit.minutes
|
|
5123
|
-
} : {}
|
|
5123
|
+
} : { limit: "none" }
|
|
5124
5124
|
}));
|
|
5125
5125
|
return 0;
|
|
5126
5126
|
}
|
|
@@ -5841,4 +5841,4 @@ function resultFromOutput(out) {
|
|
|
5841
5841
|
|
|
5842
5842
|
//#endregion
|
|
5843
5843
|
export { setWorkerLabel as $, git as A, ageOf as B, itermUuid as C, workerInScope as D, sessionTag as E, pendingGate as F, isChatPane as G, contextLabel as H, pendingResults as I, loadStatuses as J, isLive as K, appendLedger as L, verifyWorker as M, worktreesDir as N, discardWorker as O, formatPending as P, saveStatus as Q, ledgerSummary as R, itermForClaudeSession as S, sessionMapPath as T, contextPercent as U, alive as V, elapsedOf as W, nowStamp as X, newWorkerId as Y, ownsPid as Z, markControlsHeld as _, describeMcp as _t, deadlineLabel as a, ensureProxyRunning as at, requestKill as b, handoffFromInside as c, probeQuota as ct, workerDepth as d, ensureNoMcpConfig as dt, waitForTerminalStatus as et, checkPaneForWorker as f, eventsPath as ft, clickrControlsArgv as g, projectLaunchConfig as gt, openPaneForWorker as h, pinNotices as ht, usageContextTokens as i, DEFAULT_PROXY_PORT as it, mergeWorker as j, gcWorktrees as k, readInbox as l, quotaSkipThreshold as lt, openFollowPane as m, workersLogDir as mt, runWorker as n, parseRunnerArgs as nt, parseWorkerReport as o, stopProxy as ot, closeEndedPanes as p, ledgerPath as pt, loadStatus as q, testProvider as r, shortText as rt, renderReport as s, clearCooldown as st, printResult as t, longInlinePromptHint as tt, sayToWorker as u, resolveTarget as ut, callerDescription as v, expandMcpNames as vt, resolveSession as w, currentTabKey as x, endLabel as y, UNLABELED as z };
|
|
5844
|
-
//# sourceMappingURL=run-
|
|
5844
|
+
//# sourceMappingURL=run-ChlIbDJ0.mjs.map
|