@tangle-network/agent-app 0.43.33 → 0.43.34

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.
@@ -138,6 +138,12 @@ interface ChatComposerProps {
138
138
  onValueChange?: (value: string) => void;
139
139
  /** Initial text in uncontrolled mode; ignored when `value` is provided. */
140
140
  initialValue?: string;
141
+ /** One-shot external prefill: when this becomes a non-null string the
142
+ * composer adopts it as the draft (replacing any current draft), focuses the
143
+ * input with the caret at the end, and reports consumption via
144
+ * `onSeedApplied` so the host can clear its seed state. */
145
+ seed?: string | null;
146
+ onSeedApplied?: () => void;
141
147
  /** Inline controls (e.g. `<ModelPicker/>` + `<EffortPicker/>` or
142
148
  * `<AgentSessionControls/>`). Rendered in a row above the input by default. */
143
149
  controls?: ReactNode;
@@ -157,7 +163,7 @@ interface ChatComposerProps {
157
163
  sendLabel?: string;
158
164
  className?: string;
159
165
  }
160
- declare function ChatComposer({ onSend, onSendParts, onCancel, isStreaming, disabled, placeholder, value, onValueChange, initialValue, controls, controlsPlacement, onAttach, onAttachFolder, pendingFiles, onRemoveFile, accept, dropTitle, dropDescription, focusShortcut, sendLabel, className, }: ChatComposerProps): react.JSX.Element;
166
+ declare function ChatComposer({ onSend, onSendParts, onCancel, isStreaming, disabled, placeholder, value, onValueChange, initialValue, seed, onSeedApplied, controls, controlsPlacement, onAttach, onAttachFolder, pendingFiles, onRemoveFile, accept, dropTitle, dropDescription, focusShortcut, sendLabel, className, }: ChatComposerProps): react.JSX.Element;
161
167
 
162
168
  /**
163
169
  * Shared answer-building + submit plumbing for the interaction cards
@@ -50,7 +50,7 @@ import {
50
50
  useSmoothText,
51
51
  useThinkingSeconds,
52
52
  waterfallLayout
53
- } from "../chunk-FCQP75JT.js";
53
+ } from "../chunk-4M6NUHKU.js";
54
54
  import {
55
55
  tabTerminalConnectionId,
56
56
  useSandboxTerminalConnection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.43.33",
3
+ "version": "0.43.34",
4
4
  "packageManager": "pnpm@10.33.4",
5
5
  "description": "Application-shell framework for Tangle agent products: a bounded tool loop, the structured agent→app tool side channel, integration-hub client, per-workspace billing, and crypto — composed over the Tangle agent substrate through typed seams.",
6
6
  "keywords": [