teapot-coding-agent 0.37.210 → 0.37.211
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/agent/agent.js +7 -1
- package/package.json +1 -1
- package/public/assets/{index-8is-IEmF.js → index-CYcjmBl7.js} +4 -4
- package/public/assets/index-CYcjmBl7.js.map +1 -0
- package/public/assets/{index-D495Y40W.css → index-UssUke7e.css} +1 -1
- package/public/index.html +2 -2
- package/public/assets/index-8is-IEmF.js.map +0 -1
package/dist/agent/agent.js
CHANGED
|
@@ -5,7 +5,7 @@ import { storeImage, resolveImages } from "../log/image-store.js";
|
|
|
5
5
|
import { chat, chatStream } from "./llm.js";
|
|
6
6
|
import { auditPrompt, parseAuditVerdict } from "./goal-audit.js";
|
|
7
7
|
import { createCatalog } from "./tool-catalog.js";
|
|
8
|
-
import { resetToolCatalog, executeTool, toolSpecs, currentSkills, safeJoin, isContextOverflow, isRequestNodeLimit, hasRunningBgShellsFor, killBgShells, runningBgShellCount } from "./tools.js";
|
|
8
|
+
import { resetToolCatalog, executeTool, toolSpecs, currentSkills, safeJoin, isContextOverflow, isRequestNodeLimit, hasRunningBgShellsFor, killBgShells, runningBgShellCount, listBgShells } from "./tools.js";
|
|
9
9
|
import { effortChoosable } from "./llm.js";
|
|
10
10
|
import { turnAnchor } from "./timing.js";
|
|
11
11
|
import { isBareAcknowledgement } from "./ack.js";
|
|
@@ -1416,6 +1416,12 @@ export class Agent {
|
|
|
1416
1416
|
workspaceMissing: this.isGhost,
|
|
1417
1417
|
// live count for the header badge — see runningBgShellCount (#197)
|
|
1418
1418
|
bgRunning: runningBgShellCount(this.workspace),
|
|
1419
|
+
/**
|
|
1420
|
+
* The bg-jobs PANEL reads this, so its rows come over the same `agent-update` frame as the count in the header badge.
|
|
1421
|
+
* A second REST poll could disagree with the badge by one frame — which is exactly how a running job's row and its
|
|
1422
|
+
* "N running" badge drifted apart (#290).
|
|
1423
|
+
*/
|
|
1424
|
+
bgJobs: listBgShells(this.workspace, this.opts.sessionDir),
|
|
1419
1425
|
session: this.currentSession,
|
|
1420
1426
|
...(title ? { sessionTitle: title } : {}),
|
|
1421
1427
|
branch: this.currentBranch,
|