jg-agent-hq 13.3.0 → 13.3.2
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 +9 -0
- package/README.md +1 -1
- package/api/README.md +2 -0
- package/dist/providers/claude/control/stream.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 13.3.2
|
|
4
|
+
|
|
5
|
+
- Keep Claude's model-setting and local-command user replays from starting phantom turns. Only the exact pending input replay acknowledges an HQ turn; autonomous turns start on model output. Settings notices remain available in saved native history.
|
|
6
|
+
- Preserve message acknowledgement and input provenance after model changes and repeated settings updates, allowing pending, live and saved messages to reconcile without another send or a duplicate bubble. Native skills and genuine background turns retain their existing control paths.
|
|
7
|
+
|
|
8
|
+
## 13.3.1
|
|
9
|
+
|
|
10
|
+
- Document `pnpm install --frozen-lockfile` for development setup so installs use the committed dependency set.
|
|
11
|
+
|
|
3
12
|
## 13.3.0
|
|
4
13
|
|
|
5
14
|
- Preserve explicit Codex asynchronous question metadata across live items, saved history, details and bounded evidence. Malformed or oversized question contracts remain explicitly unavailable instead of becoming ordinary messages or shortened choices.
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This public package provides a local controller and browser-safe contracts. Appl
|
|
|
21
21
|
|
|
22
22
|
## Development
|
|
23
23
|
|
|
24
|
-
Use pnpm 12.4.0. Run `pnpm install`, then `pnpm check:package` to build, exercise the built API and packed consumer, typecheck and check formatting. `pnpm test:unit` and `pnpm test:integration` select their own categories after a build. The private website workspace has separate checks; install Chromium with `pnpm --dir website exec playwright install chromium`, then run `pnpm --dir website check`. `pnpm check` runs both boundaries.
|
|
24
|
+
Use pnpm 12.4.0. Run `pnpm install --frozen-lockfile`, then `pnpm check:package` to build, exercise the built API and packed consumer, typecheck and check formatting. `pnpm test:unit` and `pnpm test:integration` select their own categories after a build. The private website workspace has separate checks; install Chromium with `pnpm --dir website exec playwright install chromium`, then run `pnpm --dir website check`. `pnpm check` runs both boundaries.
|
|
25
25
|
|
|
26
26
|
Work on `development`; reviewed changes reach `main` through a pull request. After both Node checks pass on `main`, `check.yml` publishes the exact consumer-tested tarball through npm's configured trusted publisher, then deploys the website. No local npm login or token is needed. An identical published version is skipped; changed contents require a new version.
|
|
27
27
|
|
package/api/README.md
CHANGED
|
@@ -332,6 +332,8 @@ A deletion whose `delete` step fails reports JG_AGENT_HQ_PROVIDER_FAILED, its me
|
|
|
332
332
|
|
|
333
333
|
### Claude native control
|
|
334
334
|
|
|
335
|
+
Idle local-command and settings user replays do not start inference or acknowledge a pending input. They remain in native saved history. A controlled input starts only on its matching replay or result; an autonomous turn starts on model output. This keeps model changes from introducing a phantom turn that would reject the next input's acknowledgement.
|
|
336
|
+
|
|
335
337
|
Each controlled session has one native `claude` process in the authorized workspace while it is in use. A session idle for 60 minutes since its last turn ended, or since it opened, gives up its process: the runtime reads its native settings once and closes the process, and the session stays idle with no state transition. Its skills and configuration reads answer from what it kept, an interrupt is refused as for any idle session, and stopping or releasing it needs no process. Input and renames first reopen it with `--resume`, or `--session-id` when it never had input, and its kept settings. A parked session keeps its controlled-thread slot, of 32 per runtime, and a runtime restart treats it like any other managed Claude session. A running or waiting session is never stopped, and neither is one with a background command still running, as Claude's `system:background_tasks_changed` list reports it, since closing its process would end the command; it waits another idle period instead. The runtime adds structured input/output, replayed user-message acknowledgements, partial-message output and `--permission-prompt-tool=stdio`. It applies only explicitly selected startup options, including model, instructions or an output schema. It preserves normal native settings, session persistence and permission handling. Native skills remain available. Native idle initialization, session identity and matching acknowledgements establish capability. Version labels and missing diagnostic version metadata do not disable compatible controls or file history.
|
|
336
338
|
|
|
337
339
|
Creation chooses a native UUID without inference, then names that exact session. Resume uses native `--resume` and verifies the session-id fence on the name control before marking the session idle. The operator's handoff confirmation establishes that another CLI controller is closed; file timestamps and file-backed unknown states do not establish this. Independently running CLIs are outside the runtime's state-directory coordination boundary.
|
|
@@ -267,6 +267,9 @@ export const receiveClaudeMessage = (session, raw, events) => {
|
|
|
267
267
|
unavailable();
|
|
268
268
|
acknowledge(session, events);
|
|
269
269
|
}
|
|
270
|
+
// settings and local-command replays are not inference; an autonomous turn starts on output
|
|
271
|
+
if (frame.type === 'user' && getActiveTurn(session) === undefined)
|
|
272
|
+
return;
|
|
270
273
|
const turn = getActiveTurn(session) ?? startNativeTurn(session, events);
|
|
271
274
|
if (frame.type === 'user' &&
|
|
272
275
|
!isReplay &&
|
package/package.json
CHANGED