dsh-agy-link 0.6.45 → 0.6.46
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/CHANGELOG.md +18 -0
- package/dist/cli-image.mjs +46 -4
- package/dist/index.js +46 -4
- package/docs/CONFIGURATION.md +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.46 (2026-11-20)
|
|
4
|
+
|
|
5
|
+
### English
|
|
6
|
+
|
|
7
|
+
- **Fix(idle-grace): a turn waiting on its own background work is no longer reaped (fixes #144, merges PR #146).** agy prints `root agent idle; waiting for N background task(s)` while it finishes a build, integration test or Docker job it launched. The reaper that guards against genuinely orphaned waits gave that line a **hard-coded 5 seconds** and then SIGTERM'd the whole tree, so healthy turns died mid-flight and surfaced as `agy stream ended without a result event` (`INVALID_OUTPUT`, retried three times with the same outcome). Two independent problems, both fixed:
|
|
8
|
+
- **The grace is configurable**: `idleGraceMinutes` / `DSH_AGY_IDLE_GRACE_MINUTES`, default **10 minutes** (deliberately below the normal generation idle budget so a real orphan is still reclaimed). `0` disables the reaper entirely, leaving the activity watchdog and `maxTurnMinutes` to bound the turn.
|
|
9
|
+
- **The reaper stays suspended while any tool step is open**, not just the subagent hand-offs from #124 — a `run_command` build is exactly the same situation. It re-arms when the last step completes.
|
|
10
|
+
- **The count agy prints is now authoritative** (maintainer follow-up on top of the PR): `N > 0` means agy knows work is still running, so the reaper is not armed at all — no grace length makes killing it correct. Only `N = 0` (or a line without a count) takes the grace path, which keeps the conservative behaviour for older builds and chunk boundaries. The parsing lives in `src/runtime/agy/idle-line.ts`.
|
|
11
|
+
- Two existing tests encoded the old assumption (reap even with one pending task) and were split into "0 pending → reaped after grace" and "N pending → never reaped".
|
|
12
|
+
|
|
13
|
+
### 中文
|
|
14
|
+
|
|
15
|
+
- **修复(idle-grace):等待自身后台任务的轮次不再被收割(修复 #144,合并 PR #146)。** agy 在等待自己派发的构建、集成测试或 Docker 任务时会打印 `root agent idle; waiting for N background task(s)`。负责回收真正僵尸等待的收割器给这一行**硬编码 5 秒**,随后 SIGTERM 整棵进程树,于是健康轮次被杀在半路,表现为 `agy stream ended without a result event`(`INVALID_OUTPUT`,退避重试三次仍是同一结局)。两个独立问题都已修复:
|
|
16
|
+
- **宽限期可配置**:`idleGraceMinutes` / `DSH_AGY_IDLE_GRACE_MINUTES`,默认 **10 分钟**(刻意低于普通生成的空闲预算,真正被遗弃的任务仍会被回收)。`0` 彻底关闭收割器,由活动看门狗与 `maxTurnMinutes` 兜底。
|
|
17
|
+
- **任意未完成的工具步骤期间收割器挂起**,不再只限 #124 的子代理交接——`run_command` 启动的构建是同一情形;最后一步完成后重新武装。
|
|
18
|
+
- **agy 自己打印的任务数现在具有权威性**(维护者在 PR 基础上补充):`N > 0` 表示 agy 明确知道还有工作未完成,此时**完全不武装**收割器——任何宽限期长度都不足以让终止变得正确。只有 `N = 0`(或该行没有数字)才走宽限期路径,从而为旧版本与分块边界保留保守行为。解析逻辑位于 `src/runtime/agy/idle-line.ts`。
|
|
19
|
+
- 两条既有测试固化了「即使有一个待完成任务也要收割」的旧假设,现拆为「0 个待完成 → 宽限期后收割」与「N 个待完成 → 永不收割」。
|
|
20
|
+
|
|
3
21
|
## 0.6.45 (2026-11-20)
|
|
4
22
|
|
|
5
23
|
### English
|
package/dist/cli-image.mjs
CHANGED
|
@@ -100,6 +100,7 @@ function defaultConfig() {
|
|
|
100
100
|
timeoutMs: 6e5,
|
|
101
101
|
longToolIdleMinutes: 240,
|
|
102
102
|
maxTurnMinutes: 0,
|
|
103
|
+
idleGraceMinutes: 10,
|
|
103
104
|
/**
|
|
104
105
|
* Hard cap (minutes) on waiting for the Windows credential slot before the
|
|
105
106
|
* dispatch releases, backs off and retries (dispatchRetries). Each attempt
|
|
@@ -589,6 +590,7 @@ function resolveConfig(entry, env = process.env, overrides = readOverrides()) {
|
|
|
589
590
|
timeoutMs: asNum(get("timeoutMs")) ?? base.timeoutMs,
|
|
590
591
|
longToolIdleMinutes: asNum(get("longToolIdleMinutes")) ?? base.longToolIdleMinutes,
|
|
591
592
|
maxTurnMinutes: asNum(get("maxTurnMinutes")) ?? base.maxTurnMinutes,
|
|
593
|
+
idleGraceMinutes: asNum(get("idleGraceMinutes")) ?? base.idleGraceMinutes,
|
|
592
594
|
dispatchTimeoutMinutes: asNum(get("dispatchTimeoutMinutes")) ?? base.dispatchTimeoutMinutes,
|
|
593
595
|
dispatchRetries: asNum(get("dispatchRetries")) ?? base.dispatchRetries,
|
|
594
596
|
parallelSameAccount: asBool(get("parallelSameAccount")) ?? base.parallelSameAccount,
|
|
@@ -668,6 +670,10 @@ function resolveConfig(entry, env = process.env, overrides = readOverrides()) {
|
|
|
668
670
|
const mt = asNum(env.DSH_AGY_MAX_TURN_MINUTES);
|
|
669
671
|
if (mt !== void 0 && mt >= 0) cfg.maxTurnMinutes = mt;
|
|
670
672
|
}
|
|
673
|
+
if (env.DSH_AGY_IDLE_GRACE_MINUTES) {
|
|
674
|
+
const g = asNum(env.DSH_AGY_IDLE_GRACE_MINUTES);
|
|
675
|
+
if (g !== void 0 && g >= 0) cfg.idleGraceMinutes = g;
|
|
676
|
+
}
|
|
671
677
|
if (env.DSH_AGY_CONTEXT_WINDOW) {
|
|
672
678
|
const w = asNum(env.DSH_AGY_CONTEXT_WINDOW);
|
|
673
679
|
if (w !== void 0 && w > 0) cfg.contextWindowDefault = Math.floor(w);
|
|
@@ -5286,6 +5292,27 @@ function preemptAgyAutoUpdate(env = process.env, now = Date.now()) {
|
|
|
5286
5292
|
return result;
|
|
5287
5293
|
}
|
|
5288
5294
|
//#endregion
|
|
5295
|
+
//#region src/runtime/agy/idle-line.ts
|
|
5296
|
+
/**
|
|
5297
|
+
* Parse agy's background-wait line.
|
|
5298
|
+
*
|
|
5299
|
+
* While a turn is finishing, agy prints
|
|
5300
|
+
* `root agent idle; waiting for N background task(s)` — and N is its OWN count
|
|
5301
|
+
* of work it launched and is still waiting on (a build, an integration test, a
|
|
5302
|
+
* Docker job). That count is authoritative: as long as N > 0 the wait is
|
|
5303
|
+
* legitimate, so no grace period can make terminating the tree correct
|
|
5304
|
+
* (issue #144 — the reaper used a hard-coded 5 s and killed those turns).
|
|
5305
|
+
*
|
|
5306
|
+
* Returns `null` when the text carries no count (older agy builds, or a chunk
|
|
5307
|
+
* boundary cut the line), which keeps the conservative "arm the grace" path.
|
|
5308
|
+
*/
|
|
5309
|
+
function backgroundTasksFrom(text) {
|
|
5310
|
+
const match = /root agent idle;\s*waiting\s+for\s+(\d+)\s+background/i.exec(text);
|
|
5311
|
+
if (match === null) return null;
|
|
5312
|
+
const count = Number(match[1]);
|
|
5313
|
+
return Number.isSafeInteger(count) && count >= 0 ? count : null;
|
|
5314
|
+
}
|
|
5315
|
+
//#endregion
|
|
5289
5316
|
//#region src/runtime/agy/process.ts
|
|
5290
5317
|
const IS_WIN$1 = process.platform === "win32";
|
|
5291
5318
|
/**
|
|
@@ -5387,7 +5414,8 @@ function createRunState(opts) {
|
|
|
5387
5414
|
idleGraceTimer: null,
|
|
5388
5415
|
idleGraceTerminated: false,
|
|
5389
5416
|
idleGraceExempt: false,
|
|
5390
|
-
idleObserved: false
|
|
5417
|
+
idleObserved: false,
|
|
5418
|
+
idleBackgroundTasks: null
|
|
5391
5419
|
};
|
|
5392
5420
|
}
|
|
5393
5421
|
function spawnAgyChild(opts, env, viaCmd, isNode) {
|
|
@@ -5492,7 +5520,9 @@ function clearIdleGrace(state) {
|
|
|
5492
5520
|
*/
|
|
5493
5521
|
function armIdleGrace(child, opts, state) {
|
|
5494
5522
|
if (state.idleGraceTimer !== null || state.settled) return;
|
|
5523
|
+
if ((state.idleBackgroundTasks ?? 0) > 0) return;
|
|
5495
5524
|
const graceMs = opts.idleGraceMs ?? 5e3;
|
|
5525
|
+
if (graceMs <= 0) return;
|
|
5496
5526
|
state.idleGraceTimer = setTimeout(() => {
|
|
5497
5527
|
state.idleGraceTimer = null;
|
|
5498
5528
|
if (state.settled) return;
|
|
@@ -5530,6 +5560,8 @@ function attachOutputStreams(child, opts, state, refreshWatchdog) {
|
|
|
5530
5560
|
state.stderr = (state.stderr + text).slice(-4096);
|
|
5531
5561
|
if (/root agent idle;\s*waiting/i.test(text)) {
|
|
5532
5562
|
state.idleObserved = true;
|
|
5563
|
+
const waiting = backgroundTasksFrom(text);
|
|
5564
|
+
if (waiting !== null) state.idleBackgroundTasks = waiting;
|
|
5533
5565
|
armIdleGrace(child, opts, state);
|
|
5534
5566
|
} else if (opts.stderrKeepalive && !isBackgroundStderrNoise(text)) refreshWatchdog();
|
|
5535
5567
|
}
|
|
@@ -6842,13 +6874,21 @@ function createToolWatchdog(log, cfg) {
|
|
|
6842
6874
|
let lastOutputAt = 0;
|
|
6843
6875
|
const TOOL_HEARTBEAT_MS = 3e5;
|
|
6844
6876
|
let toolHeartbeat = null;
|
|
6877
|
+
let idleGraceExempt = false;
|
|
6878
|
+
const syncIdleGraceExempt = () => {
|
|
6879
|
+
const next = awaitingSubagent || openToolKeys.size > 0;
|
|
6880
|
+
if (next === idleGraceExempt) return;
|
|
6881
|
+
idleGraceExempt = next;
|
|
6882
|
+
runningProc?.exemptIdleGrace(next);
|
|
6883
|
+
};
|
|
6845
6884
|
const apply = () => {
|
|
6846
6885
|
runningProc?.noteActivity(openToolKeys.size > 0 ? longToolIdleMs : generationIdleMs);
|
|
6886
|
+
syncIdleGraceExempt();
|
|
6847
6887
|
};
|
|
6848
6888
|
const setAwaitingSubagent = (next) => {
|
|
6849
6889
|
if (awaitingSubagent === next) return;
|
|
6850
6890
|
awaitingSubagent = next;
|
|
6851
|
-
|
|
6891
|
+
syncIdleGraceExempt();
|
|
6852
6892
|
};
|
|
6853
6893
|
const stop = () => {
|
|
6854
6894
|
if (toolHeartbeat !== null) {
|
|
@@ -6875,7 +6915,7 @@ function createToolWatchdog(log, cfg) {
|
|
|
6875
6915
|
printTimeoutMinutes,
|
|
6876
6916
|
attach: (proc) => {
|
|
6877
6917
|
runningProc = proc;
|
|
6878
|
-
proc?.exemptIdleGrace(
|
|
6918
|
+
proc?.exemptIdleGrace(idleGraceExempt);
|
|
6879
6919
|
apply();
|
|
6880
6920
|
},
|
|
6881
6921
|
markEvent: () => {
|
|
@@ -6912,9 +6952,10 @@ function createToolWatchdog(log, cfg) {
|
|
|
6912
6952
|
},
|
|
6913
6953
|
stop: () => {
|
|
6914
6954
|
stop();
|
|
6915
|
-
|
|
6955
|
+
awaitingSubagent = false;
|
|
6916
6956
|
openToolKeys.clear();
|
|
6917
6957
|
openToolSince.clear();
|
|
6958
|
+
syncIdleGraceExempt();
|
|
6918
6959
|
}
|
|
6919
6960
|
};
|
|
6920
6961
|
}
|
|
@@ -34226,6 +34267,7 @@ async function startAttemptProcess(deps, input, spawn, recorder, slot) {
|
|
|
34226
34267
|
cwd: workspaceRoot,
|
|
34227
34268
|
timeoutMs: cfg.timeoutMs,
|
|
34228
34269
|
maxTurnMs: cfg.maxTurnMinutes > 0 ? cfg.maxTurnMinutes * 6e4 : void 0,
|
|
34270
|
+
idleGraceMs: cfg.idleGraceMinutes > 0 ? Math.round(cfg.idleGraceMinutes * 6e4) : 0,
|
|
34229
34271
|
signal,
|
|
34230
34272
|
env,
|
|
34231
34273
|
stdinPayload: spawn.stdinPayload,
|
package/dist/index.js
CHANGED
|
@@ -100,6 +100,7 @@ function defaultConfig() {
|
|
|
100
100
|
timeoutMs: 6e5,
|
|
101
101
|
longToolIdleMinutes: 240,
|
|
102
102
|
maxTurnMinutes: 0,
|
|
103
|
+
idleGraceMinutes: 10,
|
|
103
104
|
/**
|
|
104
105
|
* Hard cap (minutes) on waiting for the Windows credential slot before the
|
|
105
106
|
* dispatch releases, backs off and retries (dispatchRetries). Each attempt
|
|
@@ -3218,6 +3219,27 @@ function describeAgyAutoUpdate(env = process.env, now = Date.now()) {
|
|
|
3218
3219
|
return "stale — last check " + minutes + "m ago; the next spawn pre-empts it";
|
|
3219
3220
|
}
|
|
3220
3221
|
//#endregion
|
|
3222
|
+
//#region src/runtime/agy/idle-line.ts
|
|
3223
|
+
/**
|
|
3224
|
+
* Parse agy's background-wait line.
|
|
3225
|
+
*
|
|
3226
|
+
* While a turn is finishing, agy prints
|
|
3227
|
+
* `root agent idle; waiting for N background task(s)` — and N is its OWN count
|
|
3228
|
+
* of work it launched and is still waiting on (a build, an integration test, a
|
|
3229
|
+
* Docker job). That count is authoritative: as long as N > 0 the wait is
|
|
3230
|
+
* legitimate, so no grace period can make terminating the tree correct
|
|
3231
|
+
* (issue #144 — the reaper used a hard-coded 5 s and killed those turns).
|
|
3232
|
+
*
|
|
3233
|
+
* Returns `null` when the text carries no count (older agy builds, or a chunk
|
|
3234
|
+
* boundary cut the line), which keeps the conservative "arm the grace" path.
|
|
3235
|
+
*/
|
|
3236
|
+
function backgroundTasksFrom(text) {
|
|
3237
|
+
const match = /root agent idle;\s*waiting\s+for\s+(\d+)\s+background/i.exec(text);
|
|
3238
|
+
if (match === null) return null;
|
|
3239
|
+
const count = Number(match[1]);
|
|
3240
|
+
return Number.isSafeInteger(count) && count >= 0 ? count : null;
|
|
3241
|
+
}
|
|
3242
|
+
//#endregion
|
|
3221
3243
|
//#region src/runtime/agy/process.ts
|
|
3222
3244
|
const IS_WIN$1 = process.platform === "win32";
|
|
3223
3245
|
/**
|
|
@@ -3319,7 +3341,8 @@ function createRunState(opts) {
|
|
|
3319
3341
|
idleGraceTimer: null,
|
|
3320
3342
|
idleGraceTerminated: false,
|
|
3321
3343
|
idleGraceExempt: false,
|
|
3322
|
-
idleObserved: false
|
|
3344
|
+
idleObserved: false,
|
|
3345
|
+
idleBackgroundTasks: null
|
|
3323
3346
|
};
|
|
3324
3347
|
}
|
|
3325
3348
|
function spawnAgyChild(opts, env, viaCmd, isNode) {
|
|
@@ -3424,7 +3447,9 @@ function clearIdleGrace(state) {
|
|
|
3424
3447
|
*/
|
|
3425
3448
|
function armIdleGrace(child, opts, state) {
|
|
3426
3449
|
if (state.idleGraceTimer !== null || state.settled) return;
|
|
3450
|
+
if ((state.idleBackgroundTasks ?? 0) > 0) return;
|
|
3427
3451
|
const graceMs = opts.idleGraceMs ?? 5e3;
|
|
3452
|
+
if (graceMs <= 0) return;
|
|
3428
3453
|
state.idleGraceTimer = setTimeout(() => {
|
|
3429
3454
|
state.idleGraceTimer = null;
|
|
3430
3455
|
if (state.settled) return;
|
|
@@ -3462,6 +3487,8 @@ function attachOutputStreams(child, opts, state, refreshWatchdog) {
|
|
|
3462
3487
|
state.stderr = (state.stderr + text).slice(-4096);
|
|
3463
3488
|
if (/root agent idle;\s*waiting/i.test(text)) {
|
|
3464
3489
|
state.idleObserved = true;
|
|
3490
|
+
const waiting = backgroundTasksFrom(text);
|
|
3491
|
+
if (waiting !== null) state.idleBackgroundTasks = waiting;
|
|
3465
3492
|
armIdleGrace(child, opts, state);
|
|
3466
3493
|
} else if (opts.stderrKeepalive && !isBackgroundStderrNoise(text)) refreshWatchdog();
|
|
3467
3494
|
}
|
|
@@ -32859,6 +32886,7 @@ function resolveConfig(entry, env = process.env, overrides = readOverrides()) {
|
|
|
32859
32886
|
timeoutMs: asNum(get("timeoutMs")) ?? base.timeoutMs,
|
|
32860
32887
|
longToolIdleMinutes: asNum(get("longToolIdleMinutes")) ?? base.longToolIdleMinutes,
|
|
32861
32888
|
maxTurnMinutes: asNum(get("maxTurnMinutes")) ?? base.maxTurnMinutes,
|
|
32889
|
+
idleGraceMinutes: asNum(get("idleGraceMinutes")) ?? base.idleGraceMinutes,
|
|
32862
32890
|
dispatchTimeoutMinutes: asNum(get("dispatchTimeoutMinutes")) ?? base.dispatchTimeoutMinutes,
|
|
32863
32891
|
dispatchRetries: asNum(get("dispatchRetries")) ?? base.dispatchRetries,
|
|
32864
32892
|
parallelSameAccount: asBool(get("parallelSameAccount")) ?? base.parallelSameAccount,
|
|
@@ -32938,6 +32966,10 @@ function resolveConfig(entry, env = process.env, overrides = readOverrides()) {
|
|
|
32938
32966
|
const mt = asNum(env.DSH_AGY_MAX_TURN_MINUTES);
|
|
32939
32967
|
if (mt !== void 0 && mt >= 0) cfg.maxTurnMinutes = mt;
|
|
32940
32968
|
}
|
|
32969
|
+
if (env.DSH_AGY_IDLE_GRACE_MINUTES) {
|
|
32970
|
+
const g = asNum(env.DSH_AGY_IDLE_GRACE_MINUTES);
|
|
32971
|
+
if (g !== void 0 && g >= 0) cfg.idleGraceMinutes = g;
|
|
32972
|
+
}
|
|
32941
32973
|
if (env.DSH_AGY_CONTEXT_WINDOW) {
|
|
32942
32974
|
const w = asNum(env.DSH_AGY_CONTEXT_WINDOW);
|
|
32943
32975
|
if (w !== void 0 && w > 0) cfg.contextWindowDefault = Math.floor(w);
|
|
@@ -34264,13 +34296,21 @@ function createToolWatchdog(log, cfg) {
|
|
|
34264
34296
|
let lastOutputAt = 0;
|
|
34265
34297
|
const TOOL_HEARTBEAT_MS = 3e5;
|
|
34266
34298
|
let toolHeartbeat = null;
|
|
34299
|
+
let idleGraceExempt = false;
|
|
34300
|
+
const syncIdleGraceExempt = () => {
|
|
34301
|
+
const next = awaitingSubagent || openToolKeys.size > 0;
|
|
34302
|
+
if (next === idleGraceExempt) return;
|
|
34303
|
+
idleGraceExempt = next;
|
|
34304
|
+
runningProc?.exemptIdleGrace(next);
|
|
34305
|
+
};
|
|
34267
34306
|
const apply = () => {
|
|
34268
34307
|
runningProc?.noteActivity(openToolKeys.size > 0 ? longToolIdleMs : generationIdleMs);
|
|
34308
|
+
syncIdleGraceExempt();
|
|
34269
34309
|
};
|
|
34270
34310
|
const setAwaitingSubagent = (next) => {
|
|
34271
34311
|
if (awaitingSubagent === next) return;
|
|
34272
34312
|
awaitingSubagent = next;
|
|
34273
|
-
|
|
34313
|
+
syncIdleGraceExempt();
|
|
34274
34314
|
};
|
|
34275
34315
|
const stop = () => {
|
|
34276
34316
|
if (toolHeartbeat !== null) {
|
|
@@ -34297,7 +34337,7 @@ function createToolWatchdog(log, cfg) {
|
|
|
34297
34337
|
printTimeoutMinutes,
|
|
34298
34338
|
attach: (proc) => {
|
|
34299
34339
|
runningProc = proc;
|
|
34300
|
-
proc?.exemptIdleGrace(
|
|
34340
|
+
proc?.exemptIdleGrace(idleGraceExempt);
|
|
34301
34341
|
apply();
|
|
34302
34342
|
},
|
|
34303
34343
|
markEvent: () => {
|
|
@@ -34334,9 +34374,10 @@ function createToolWatchdog(log, cfg) {
|
|
|
34334
34374
|
},
|
|
34335
34375
|
stop: () => {
|
|
34336
34376
|
stop();
|
|
34337
|
-
|
|
34377
|
+
awaitingSubagent = false;
|
|
34338
34378
|
openToolKeys.clear();
|
|
34339
34379
|
openToolSince.clear();
|
|
34380
|
+
syncIdleGraceExempt();
|
|
34340
34381
|
}
|
|
34341
34382
|
};
|
|
34342
34383
|
}
|
|
@@ -35019,6 +35060,7 @@ async function startAttemptProcess(deps, input, spawn, recorder, slot) {
|
|
|
35019
35060
|
cwd: workspaceRoot,
|
|
35020
35061
|
timeoutMs: cfg.timeoutMs,
|
|
35021
35062
|
maxTurnMs: cfg.maxTurnMinutes > 0 ? cfg.maxTurnMinutes * 6e4 : void 0,
|
|
35063
|
+
idleGraceMs: cfg.idleGraceMinutes > 0 ? Math.round(cfg.idleGraceMinutes * 6e4) : 0,
|
|
35022
35064
|
signal,
|
|
35023
35065
|
env,
|
|
35024
35066
|
stdinPayload: spawn.stdinPayload,
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -35,6 +35,7 @@ Resolution order (highest first): `DSH_AGY_*` environment variable → runtime o
|
|
|
35
35
|
| `timeoutMs` | `DSH_AGY_TIMEOUT_MS` | `600000` | Activity watchdog timeout per turn |
|
|
36
36
|
| `maxTurnMinutes` | `DSH_AGY_MAX_TURN_MINUTES` | `0` | Hard wall-clock cap per turn (0 = unlimited); bounds a self-driving turn that never goes idle |
|
|
37
37
|
| `longToolIdleMinutes` | `DSH_AGY_LONG_TOOL_IDLE_MINUTES` | `240` | Idle budget while a tool step is open; `0` keeps `timeoutMs` so wedged tools fail fast |
|
|
38
|
+
| `idleGraceMinutes` | `DSH_AGY_IDLE_GRACE_MINUTES` | `10` | Grace before the `root agent idle; waiting for N background task(s)` reaper kills the agy tree; `0` disables the reaper (the activity watchdog and `maxTurnMinutes` still bound the turn) |
|
|
38
39
|
| `dispatchTimeoutMinutes` | `—` | `15` | Cap on waiting for the Windows credential slot before backing off and retrying; `0` waits indefinitely |
|
|
39
40
|
| `dispatchRetries` | `—` | `1` | Extra dispatch attempts after a credential-slot timeout |
|
|
40
41
|
| `parallelSameAccount` | `—` | `true` | Concurrent sessions on the credential already in the slot start without exclusivity; `false` restores full slot exclusivity |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agy-link",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.46",
|
|
4
4
|
"description": "Google Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|