@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.
- package/dist/assistant/index.d.ts +8 -2
- package/dist/assistant/index.js +10 -4
- package/dist/assistant/index.js.map +1 -1
- package/dist/{chunk-FCQP75JT.js → chunk-4M6NUHKU.js} +28 -1
- package/dist/chunk-4M6NUHKU.js.map +1 -0
- package/dist/web-react/index.d.ts +7 -1
- package/dist/web-react/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-FCQP75JT.js.map +0 -1
|
@@ -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
|
package/dist/web-react/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.43.
|
|
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": [
|