@novoagents/react 0.3.0-alpha.3 → 0.3.0-alpha.31

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 CHANGED
@@ -1,94 +1,81 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
4
-
5
- ## 0.3.0-alpha.3 - 2026-07-29
6
-
7
- - Companion release for `novoagents` 0.5.0-alpha.3 (stream schema v5:
8
- heartbeat covers long tool executions with `phase: 'executing_tool'` and
9
- `waitId`, `followup_queue_full` becomes a first-class error code,
10
- `tool-input-delta` is forwarded, and an id-less data frame after an
11
- established cursor is a fatal transport error). The hook source is
12
- unchanged; the exact SDK peer moves to the v5 contract.
13
-
14
- ## 0.3.0-alpha.2 - 2026-07-28
15
-
16
- - Companion release for `novoagents` 0.5.0-alpha.2 (stream schema v4:
17
- `data-novo-step-terminal` splits overflow reporting into `truncated` for
18
- clipped text and `messagesOmitted` for dropped message arrays, and
19
- `artifactRef` is removed). The hook source is unchanged; the exact SDK peer
20
- moves to the v4 contract, and the packed tarball check now verifies the
21
- installed wire contract against the workspace artifact instead of a pinned
22
- revision literal.
23
-
24
- ## 0.3.0-alpha.1 - 2026-07-28
25
-
26
- - Companion release for `novoagents` 0.5.0-alpha.1 (stream schema v3:
27
- `platform_error` replaces the three engine-named terminal reasons, terminal
28
- errors carry `retryable`, and the SDK ships the generated
29
- `novoagents/wire-contract.json` compatibility manifest). The hook source is
30
- unchanged; the exact SDK peer moves to the v3 contract, and the packed
31
- tarball check verifies the installed wire contract's protocol revision.
32
-
33
- ## 0.2.0-alpha.7 - 2026-07-16
34
-
35
- - Companion release for `novoagents` 0.4.0-alpha.7. The hook source remains
36
- unchanged; its exact SDK peer moves with the App-only GitHub contract.
37
- - The workspace declares `novoagents` as a development dependency so a clean
38
- CI install can compile the peer-backed `novoagents/browser` imports;
39
- consumers still receive only the exact peer dependency, never a nested SDK.
40
-
41
- ## 0.2.0-alpha.6 - 2026-07-16
42
-
43
- - Companion release for `novoagents` 0.4.0-alpha.6. The hook source is
44
- unchanged; publishing the React package alongside the SDK keeps its exact
45
- `novoagents` peer on the current canonical browser-controller contract.
46
-
47
- ## 0.2.0-alpha.5 - 2026-07-16
48
-
49
- - Moves the type-only `novoagents` relationship from a runtime dependency to
50
- an exact peer dependency on 0.4.0-alpha.5. The hooks still require the
51
- matching canonical browser-controller contract, while package managers now
52
- install one app-owned SDK copy instead of retaining an older nested copy or
53
- requiring a consumer override.
54
-
55
- ## 0.2.0-alpha.4 - 2026-07-16
56
-
57
- - Superseded by 0.2.0-alpha.5. The alpha.4 registry artifact was published from
58
- the workspace source with npm, which retained the internal `workspace:*`
59
- peer specifier instead of pnpm's exact-version rewrite. It is not assigned a
60
- dist-tag and should not be installed.
61
-
62
- ## 0.2.0-alpha.3 - 2026-07-15
63
-
64
- - `useNovoRun` exposes the latest provider-neutral thinking/activity snapshot
65
- on `state.progress`, or `null` after answer, pause, restart, or terminal
66
- boundaries. When safe readable reasoning is available, the snapshot may be a
67
- short reasoning-derived summary; it never contains raw reasoning. The hook
68
- inherits the canonical browser reducer behavior from `novoagents`.
69
-
70
- ## 0.2.0-alpha.2 - 2026-07-15
71
-
72
- - Updates the packed `novoagents` dependency to 0.4.0-alpha.2, so React run
73
- hooks consume targeted `data-novo-model-step-restart` retractions through the
74
- canonical browser controller.
75
-
76
- ## 0.2.0-alpha.1 - 2026-07-14
77
-
78
- - `useNovoRun` normalizes `enabled` and `runKey` before its dependency arrays,
79
- so identity toggles (`enabled: undefined <-> true`, `runKey: undefined <->
80
- null`) no longer dispose and recreate a live controller.
81
- - Picks up `novoagents` 0.4.0-alpha.1 controller fixes: fatal (non-retried)
82
- initial-connect errors, per-drop `transportError` publication, a final
83
- `disposed` snapshot published before listeners detach, and interaction-race
84
- hardening.
85
-
86
- ## 0.2.0-alpha.0 - 2026-07-14
87
-
88
- - Replaced the alpha store/transport hooks with effect-owned bindings over the
89
- canonical `NovoRunController`.
90
- - Added `useNovoRunSelector` and controller-bound `useNovoInteractions`.
91
- - Fixed run-key/unmount leaks with stop + disposal and generation-fenced core
92
- consumption.
93
- - Added client entry directives, `sideEffects: false`, React 18/19 peer range,
94
- SSR snapshots, and Strict Mode lifecycle coverage.
3
+ ## 0.3.0-alpha.31 - 2026-08-21
4
+
5
+ - Companion release for `novoagents` 0.5.0-alpha.27. The controller can follow
6
+ ordered thread segments with an injected cursor codec; React state exposes
7
+ the segment ledger while preserving the transcript across engine-owned runs.
8
+
9
+ ## 0.3.0-alpha.27 - 2026-08-20
10
+
11
+ - Companion release for `novoagents` 0.5.0-alpha.25. The React runtime is
12
+ unchanged; the exact peer carries autonomous run starts and all-attempt Stop
13
+ semantics for background subagents.
14
+
15
+ ## 0.3.0-alpha.26 - 2026-08-20
16
+
17
+ - Companion release for `novoagents` 0.5.0-alpha.24. It carries the exact peer
18
+ for wire protocol 16, the shared GitHub installation contract, and the
19
+ `ask_question` lifecycle whose first public terminal is the user's real
20
+ resolution.
21
+
22
+ ## 0.3.0-alpha.25 - 2026-08-20
23
+
24
+ - Companion release for `novoagents` 0.5.0-alpha.23. It carries the exact peer
25
+ required for stream schema 14, including background worker task metadata and
26
+ `data-novo-worker-report` message parts.
27
+
28
+ ## 0.3.0-alpha.24 - 2026-08-18
29
+
30
+ - Companion release for `novoagents` 0.5.0-alpha.22. The hook runtime is
31
+ unchanged; the package carries an exact peer on the SDK version whose browser
32
+ run controller it binds. Consumers rendering `run.messages` now see one
33
+ `data-novo-heartbeat` part per tool wait (see the core changelog).
34
+
35
+ ## 0.3.0-alpha.23 - 2026-08-17
36
+
37
+ - Companion release for `novoagents` 0.5.0-alpha.21. The hook runtime is
38
+ unchanged; the package carries an exact peer on the SDK version whose browser
39
+ run controller it binds.
40
+
41
+ ## 0.3.0-alpha.22 - 2026-08-17
42
+
43
+ - Companion release for `novoagents` 0.5.0-alpha.20. The hook runtime is
44
+ unchanged; the package carries an exact peer on the SDK version whose browser
45
+ run controller it binds.
46
+
47
+ ## 0.3.0-alpha.21 - 2026-08-17
48
+
49
+ - Companion release for `novoagents` 0.5.0-alpha.19. The hook runtime is
50
+ unchanged; the package carries an exact peer on the SDK version whose browser
51
+ run controller it binds.
52
+
53
+ ## 0.3.0-alpha.20 - 2026-08-16
54
+
55
+ - Companion release for `novoagents` 0.5.0-alpha.18. The hook runtime is
56
+ unchanged; the package carries an exact peer on the SDK version whose browser
57
+ run controller it binds.
58
+ - `0.3.0-alpha.19` was published through npm instead of pnpm and therefore
59
+ preserved the workspace protocol in its peer metadata. It was never tagged
60
+ `latest`; use this build instead.
61
+
62
+ ## 0.3.0-alpha.18 - 2026-08-12
63
+
64
+ - Companion release for `novoagents` 0.5.0-alpha.17. The hook runtime is
65
+ unchanged; the package carries an exact peer on the SDK version whose browser
66
+ run controller it binds.
67
+
68
+ ## 0.3.0-alpha.17 - 2026-08-12
69
+
70
+ - Companion release for `novoagents` 0.5.0-alpha.16. The hook runtime is
71
+ unchanged; the package carries an exact peer on the SDK version whose browser
72
+ run controller it binds.
73
+
74
+ ## 0.3.0-alpha.16 - 2026-08-12
75
+
76
+ - Companion release for `novoagents` 0.5.0-alpha.15. The hook runtime is
77
+ unchanged; the package carries an exact peer on the SDK version whose browser
78
+ run controller it binds.
79
+
80
+ Earlier prerelease builds are unsupported. Their immutable package artifacts
81
+ and Git history retain their release records.
package/README.md CHANGED
@@ -48,26 +48,3 @@ If your host persists interaction requests independently of the stream,
48
48
  configure `interactionDiscovery: { list, intervalMs? }` on the controller.
49
49
  Discovery is generation-fenced, runs while the SSE connection is idle, and
50
50
  reconciles DB-only requests into the same canonical pending queue.
51
-
52
- ## Migrating from 0.1.0-alpha.0
53
-
54
- - `createNovoRunStore` → `createNovoRunController` from `novoagents/browser`.
55
- - `BrowserRunTransport` → `NovoRunEventSource`; use
56
- `createNovoHttpRunSource` for fetch/SSE routes.
57
- - `useNovoRun({ transport })` →
58
- `useNovoRun({ createController, runKey })`.
59
- - `useNovoInteractions({ endpoint, run })` → configure the controller's
60
- interaction transport, then call `useNovoInteractions(run.controller)`.
61
- - `resolveNovoInteractions` → `createHttpInteractionResolveTransport`.
62
-
63
- There are no compatibility aliases for the alpha API.
64
-
65
- ## Publishing
66
-
67
- After publishing `novoagents`, publish with
68
- `pnpm publish --access public --tag alpha`: pnpm rewrites the `workspace:*`
69
- peer dependency on `novoagents` to the exact packed version. Publish the two
70
- alpha packages in lockstep so both `alpha` tags always form one compatible
71
- browser-controller installation. Do not publish the workspace source with
72
- `npm publish`; npm does not perform pnpm's workspace-protocol rewrite. Verify
73
- the registry peer metadata before moving `latest`.
@@ -6,6 +6,7 @@ export const NOVO_IDLE_RUN_STATE = Object.freeze({
6
6
  progress: null,
7
7
  pendingInteractions: Object.freeze([]),
8
8
  tasks: Object.freeze([]),
9
+ segments: Object.freeze([]),
9
10
  steps: Object.freeze([]),
10
11
  browserSessions: Object.freeze([]),
11
12
  warnings: Object.freeze([]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novoagents/react",
3
- "version": "0.3.0-alpha.3",
3
+ "version": "0.3.0-alpha.31",
4
4
  "description": "Browser-safe React hooks for Novo Agents streams and interactions.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -23,19 +23,19 @@
23
23
  "access": "public"
24
24
  },
25
25
  "peerDependencies": {
26
- "react": "^18.0.0 || ^19.0.0",
27
- "novoagents": "0.5.0-alpha.3"
26
+ "novoagents": "0.5.0-alpha.27",
27
+ "react": "^18.0.0 || ^19.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/react": "19.2.17",
31
- "@types/react-dom": "19.2.3",
32
- "happy-dom": "20.11.1",
33
- "react": "19.2.7",
34
- "react-dom": "19.2.7",
30
+ "@types/react": "19.2.18",
31
+ "@types/react-dom": "19.2.4",
32
+ "happy-dom": "20.11.2",
33
+ "novoagents": "0.5.0-alpha.27",
34
+ "react": "19.2.8",
35
+ "react-dom": "19.2.8",
35
36
  "typescript": "6.0.3",
36
- "vite": "8.1.5",
37
- "vitest": "5.0.0-beta.6",
38
- "novoagents": "0.5.0-alpha.3"
37
+ "vite": "8.2.1",
38
+ "vitest": "5.0.0-rc.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsc -p tsconfig.json && node scripts/check-dist.mjs",