@gajae-code/agent-core 0.11.7 → 0.11.8

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
@@ -2,8 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [0.11.7] - 2026-07-22
5
+ ## [0.11.8] - 2026-07-23
6
6
 
7
+ ### Fixed
8
+
9
+ - Managed model fallback now accepts `reasoning_summary_start`, `reasoning_summary_delta`, and `reasoning_summary_end` assistant events instead of failing them as local snapshot errors.
7
10
  ## [0.11.3] - 2026-07-19
8
11
 
9
12
  ### Fixed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@gajae-code/agent-core",
4
- "version": "0.11.7",
4
+ "version": "0.11.8",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://gajae-code.com",
7
7
  "author": "Yeachan-Heo and Gajae Code Contributors",
@@ -32,9 +32,9 @@
32
32
  "fmt": "biome format --write ."
33
33
  },
34
34
  "dependencies": {
35
- "@gajae-code/ai": "0.11.7",
36
- "@gajae-code/natives": "0.11.7",
37
- "@gajae-code/utils": "0.11.7",
35
+ "@gajae-code/ai": "0.11.8",
36
+ "@gajae-code/natives": "0.11.8",
37
+ "@gajae-code/utils": "0.11.8",
38
38
  "@opentelemetry/api": "^1.9.0"
39
39
  },
40
40
  "devDependencies": {
package/src/agent-loop.ts CHANGED
@@ -644,14 +644,24 @@ function managedAssistantEventSnapshot(event: AssistantMessageEvent, message: As
644
644
  return contentIndex as number;
645
645
  };
646
646
  if (type === "start") return { type, partial: message };
647
- if (type === "text_start" || type === "thinking_start" || type === "toolcall_start")
647
+ if (
648
+ type === "text_start" ||
649
+ type === "thinking_start" ||
650
+ type === "reasoning_summary_start" ||
651
+ type === "toolcall_start"
652
+ )
648
653
  return { type, contentIndex: indexed(), partial: message };
649
- if (type === "text_delta" || type === "thinking_delta" || type === "toolcall_delta") {
654
+ if (
655
+ type === "text_delta" ||
656
+ type === "thinking_delta" ||
657
+ type === "reasoning_summary_delta" ||
658
+ type === "toolcall_delta"
659
+ ) {
650
660
  const delta = managedProperty(snapshot, "delta");
651
661
  if (typeof delta !== "string") throw new ManagedAttemptSnapshotError();
652
662
  return { type, contentIndex: indexed(), delta, partial: message };
653
663
  }
654
- if (type === "text_end" || type === "thinking_end") {
664
+ if (type === "text_end" || type === "thinking_end" || type === "reasoning_summary_end") {
655
665
  const content = managedProperty(snapshot, "content");
656
666
  if (typeof content !== "string") throw new ManagedAttemptSnapshotError();
657
667
  return { type, contentIndex: indexed(), content, partial: message };