@tangle-network/agent-app 0.60.141 → 0.60.143

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.
@@ -1,6 +1,7 @@
1
1
  import {
2
+ ReasoningRow,
2
3
  chatToolCallPart
3
- } from "../chunk-EGEULRT2.js";
4
+ } from "../chunk-T4JJXUJI.js";
4
5
  import "../chunk-MOFLIBQW.js";
5
6
  import "../chunk-3HUFJ5LO.js";
6
7
  import "../chunk-FBVLEGEG.js";
@@ -2471,7 +2472,7 @@ function RequirementRow({
2471
2472
  import {
2472
2473
  AgentTimeline
2473
2474
  } from "@tangle-network/ui/chat";
2474
- import { InlineThinkingItem, InlineToolItem } from "@tangle-network/ui/run";
2475
+ import { InlineToolItem } from "@tangle-network/ui/run";
2475
2476
  import { useMemo as useMemo3 } from "react";
2476
2477
  import { Fragment, jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
2477
2478
  function assistantIsThinking(state) {
@@ -2523,13 +2524,9 @@ function buildAssistantTimeline(view, options = {}) {
2523
2524
  items.push({
2524
2525
  id: `${message.id}-reasoning`,
2525
2526
  kind: "custom",
2526
- content: /* @__PURE__ */ jsx6(
2527
- InlineThinkingItem,
2528
- {
2529
- part: { type: "reasoning", text: view.reasoning },
2530
- defaultOpen: view.isStreaming
2531
- }
2532
- )
2527
+ // The shared reasoning row: live while the model thinks, "Thought
2528
+ // for N seconds" once its answer starts.
2529
+ content: /* @__PURE__ */ jsx6(ReasoningRow, { text: view.reasoning, thinking: view.isThinking })
2533
2530
  });
2534
2531
  }
2535
2532
  return;