@novoagents/react 0.2.0-alpha.1 → 0.2.0-alpha.3

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,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ## 0.2.0-alpha.3 - 2026-07-15
6
+
7
+ - `useNovoRun` exposes the latest provider-neutral thinking/activity snapshot
8
+ on `state.progress`, or `null` after answer, pause, restart, or terminal
9
+ boundaries. When safe readable reasoning is available, the snapshot may be a
10
+ short reasoning-derived summary; it never contains raw reasoning. The hook
11
+ inherits the canonical browser reducer behavior from `novoagents`.
12
+
13
+ ## 0.2.0-alpha.2 - 2026-07-15
14
+
15
+ - Updates the packed `novoagents` dependency to 0.4.0-alpha.2, so React run
16
+ hooks consume targeted `data-novo-model-step-restart` retractions through the
17
+ canonical browser controller.
18
+
3
19
  ## 0.2.0-alpha.1 - 2026-07-14
4
20
 
5
21
  - `useNovoRun` normalizes `enabled` and `runKey` before its dependency arrays,
package/README.md CHANGED
@@ -5,6 +5,10 @@ Headless React bindings for the canonical browser run controller in
5
5
  accepts a Novo API key. Browser requests go only to your authenticated proxy
6
6
  routes.
7
7
 
8
+ ```sh
9
+ npm install novoagents@alpha @novoagents/react@alpha
10
+ ```
11
+
8
12
  ```tsx
9
13
  'use client';
10
14
 
@@ -60,5 +64,6 @@ There are no compatibility aliases for the alpha API.
60
64
 
61
65
  ## Publishing
62
66
 
63
- Publish with `pnpm publish`: pnpm rewrites the `workspace:*` dependency on
64
- `novoagents` to the packed version.
67
+ After publishing `novoagents`, publish with
68
+ `pnpm publish --access public --tag alpha`: pnpm rewrites the `workspace:*`
69
+ dependency on `novoagents` to the packed version.
@@ -3,6 +3,7 @@ import { useEffect, useMemo, useRef, useSyncExternalStore } from 'react';
3
3
  export const NOVO_IDLE_RUN_STATE = Object.freeze({
4
4
  messages: Object.freeze([]),
5
5
  status: 'queued',
6
+ progress: null,
6
7
  pendingInteractions: Object.freeze([]),
7
8
  tasks: Object.freeze([]),
8
9
  steps: Object.freeze([]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novoagents/react",
3
- "version": "0.2.0-alpha.1",
3
+ "version": "0.2.0-alpha.3",
4
4
  "description": "Browser-safe React hooks for Novo Agents streams and interactions.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "novoagents": "0.4.0-alpha.1"
26
+ "novoagents": "0.4.0-alpha.4"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^18.0.0 || ^19.0.0"
@@ -41,7 +41,8 @@
41
41
  "scripts": {
42
42
  "build": "tsc -p tsconfig.json && node scripts/check-dist.mjs",
43
43
  "clean": "rm -rf dist",
44
- "test": "vitest run",
44
+ "test": "vitest run && pnpm run test:react18",
45
+ "test:react18": "node scripts/test-react18.mjs",
45
46
  "typecheck": "tsc -p tsconfig.json --noEmit"
46
47
  }
47
48
  }