@pagelines/sdk 1.0.747 → 1.0.749

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.
@@ -4,9 +4,9 @@ import { ChatToolActivityData } from '@pagelines/core';
4
4
  * bounded work journal (plans/bots/bot-tool-calling.md § "One compact work
5
5
  * journal"). Views render the result; they never decide lifecycle.
6
6
  *
7
- * `outcome` describes the TURN, never its children: a completed turn that
8
- * contains a failed source still ends in the green `Work complete` terminal,
9
- * with the failed source hanging inside the disclosure as a red station.
7
+ * `outcome` describes the TURN, never its children. A completed turn may keep
8
+ * a failed source inside its disclosure, but the server marks a turn failed
9
+ * when every attempted tool failed.
10
10
  *
11
11
  * The function is pure and takes `nowMs` — it never reads a clock. The clock
12
12
  * only advances projection state (action → waiting label, then the leave
@@ -33,10 +33,9 @@ export type WorkJournalModel = {
33
33
  nextBoundaryAtMs?: number;
34
34
  };
35
35
  /**
36
- * The persisted row owns its turn's ending: an assistant reply is a completed
37
- * turn (green terminal, even with a failed child), a system-error row is the
38
- * failed turn, and an explicit `turnOutcome` marker owns salvaged failures
39
- * and interruptions. Never inferred from child activity statuses.
36
+ * The persisted row owns its turn's ending: an assistant reply is complete
37
+ * unless the server persisted `turnOutcome`; a system-error row is failed.
38
+ * Views never infer the turn outcome from child activity statuses.
40
39
  */
41
40
  export declare function durableJournalOutcome(msg: {
42
41
  sender: 'user' | 'agent' | 'system';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagelines/sdk",
3
- "version": "1.0.747",
3
+ "version": "1.0.749",
4
4
  "description": "PageLines SDK for agent management, auth, and billing",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk.js",