@sayknow-cli/agent-core 0.7.7 → 0.7.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,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.7.8] - 2026-10-09
6
+
7
+ ### Changed
8
+
9
+ - `hideThinkingSummary` is display-only state and is no longer forwarded to the provider. Asking a provider to omit reasoning made long thinking stream only keepalives, so the idle watchdog aborted healthy answers as stalled. Callers that need provider-side omission set `SimpleStreamOptions.hideThinkingSummary` on the stream call directly.
10
+
5
11
  ## [0.7.7] - 2026-10-06
6
12
 
7
13
  ### Added
@@ -111,9 +111,9 @@ export interface AgentOptions {
111
111
  repetitionPenalty?: number;
112
112
  serviceTier?: ServiceTier;
113
113
  /**
114
- * If true, request that the underlying provider omit reasoning/thinking summaries
115
- * from the response. The model still reasons internally; only the human-readable
116
- * summary stream is suppressed. Useful when the UI hides thinking blocks anyway.
114
+ * Local display state: whether the UI hides thinking blocks. It never changes the
115
+ * provider request; reasoning keeps streaming so long thinking still counts as
116
+ * stream progress for the idle watchdog.
117
117
  */
118
118
  hideThinkingSummary?: boolean;
119
119
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@sayknow-cli/agent-core",
4
- "version": "0.7.7",
4
+ "version": "0.7.8",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://sayknow-cli.com",
7
7
  "author": "jaybeyond",
@@ -35,9 +35,9 @@
35
35
  "fmt": "biome format --write ."
36
36
  },
37
37
  "dependencies": {
38
- "@sayknow-cli/ai": "0.7.7",
39
- "@sayknow-cli/natives": "0.7.7",
40
- "@sayknow-cli/utils": "0.7.7",
38
+ "@sayknow-cli/ai": "0.7.8",
39
+ "@sayknow-cli/natives": "0.7.8",
40
+ "@sayknow-cli/utils": "0.7.8",
41
41
  "@opentelemetry/api": "^1.9.0"
42
42
  },
43
43
  "devDependencies": {
package/src/agent.ts CHANGED
@@ -218,9 +218,9 @@ export interface AgentOptions {
218
218
  repetitionPenalty?: number;
219
219
  serviceTier?: ServiceTier;
220
220
  /**
221
- * If true, request that the underlying provider omit reasoning/thinking summaries
222
- * from the response. The model still reasons internally; only the human-readable
223
- * summary stream is suppressed. Useful when the UI hides thinking blocks anyway.
221
+ * Local display state: whether the UI hides thinking blocks. It never changes the
222
+ * provider request; reasoning keeps streaming so long thinking still counts as
223
+ * stream progress for the idle watchdog.
224
224
  */
225
225
  hideThinkingSummary?: boolean;
226
226
 
@@ -1444,7 +1444,9 @@ export class Agent {
1444
1444
  presencePenalty: this.#presencePenalty,
1445
1445
  repetitionPenalty: this.#repetitionPenalty,
1446
1446
  serviceTier: this.#serviceTier,
1447
- hideThinkingSummary: this.#hideThinkingSummary,
1447
+ // Hiding thinking is a local display preference and never changes the request:
1448
+ // a provider told to omit reasoning streams only keepalives during long
1449
+ // thinking, and the idle watchdog then cuts a healthy answer as stalled.
1448
1450
  interruptMode: this.#interruptMode,
1449
1451
  sessionId: this.#sessionId,
1450
1452
  providerSessionId: this.#providerSessionId,