@theoremjs/web 0.3.4-next.645.gf4efc36 → 0.3.4-next.649.gf83cea1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theoremjs/web",
3
- "version": "0.3.4-next.645.gf4efc36",
3
+ "version": "0.3.4-next.649.gf83cea1",
4
4
  "description": "Theorem on the web platform, with no UI framework: Web-standard server handlers that serve a profile, and the browser client that talks to them.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,6 +25,6 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "zod": "^4.6.5",
28
- "@theoremjs/agents": "^0.3.4-next.645.gf4efc36"
28
+ "@theoremjs/agents": "^0.3.4-next.649.gf83cea1"
29
29
  }
30
30
  }
@@ -10,6 +10,8 @@ import { type PageToolBroker } from './page-dispatch.ts';
10
10
  * waits on gates walks away from them first (`abandon`)
11
11
  * - `POST <base>/invoke` → NDJSON events for the user's answer to a paused tool call
12
12
  * - `POST <base>/steer` → inject messages into a running turn
13
+ * - `POST <base>/stop` → stop a running turn where it stands
14
+ * - `POST <base>/page-result` → the page's result for a tool the turn ran in the page
13
15
  * - `POST <base>/conversation` → the transcript and the paused reply, to draw
14
16
  * - `POST <base>/rewind` → `{ conversation, view }` the conversation cut after one block, and its new ref
15
17
  *
package/server/handler.js CHANGED
@@ -11,6 +11,8 @@ import { checkPageToolTimeout, createMemoryPageToolBroker, pageToolResultSchema,
11
11
  * waits on gates walks away from them first (`abandon`)
12
12
  * - `POST <base>/invoke` → NDJSON events for the user's answer to a paused tool call
13
13
  * - `POST <base>/steer` → inject messages into a running turn
14
+ * - `POST <base>/stop` → stop a running turn where it stands
15
+ * - `POST <base>/page-result` → the page's result for a tool the turn ran in the page
14
16
  * - `POST <base>/conversation` → the transcript and the paused reply, to draw
15
17
  * - `POST <base>/rewind` → `{ conversation, view }` the conversation cut after one block, and its new ref
16
18
  *