@tangle-network/agent-app 0.57.12 → 0.57.14
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.js +1 -1
- package/dist/chat-react/index.js +1 -1
- package/dist/chat-routes/index.js +1 -1
- package/dist/{chunk-IMMCSVLV.js → chunk-RN2N75EI.js} +14 -31
- package/dist/chunk-RN2N75EI.js.map +1 -0
- package/dist/{chunk-7NEO73ZY.js → chunk-WZLE5SPT.js} +8 -5
- package/dist/chunk-WZLE5SPT.js.map +1 -0
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/protected-model.d.ts +6 -14
- package/dist/web-react/chat-composer.d.ts +3 -1
- package/dist/web-react/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7NEO73ZY.js.map +0 -1
- package/dist/chunk-IMMCSVLV.js.map +0 -1
|
@@ -13,17 +13,9 @@ export declare class ProtectedModelSettlementError extends Error {
|
|
|
13
13
|
}
|
|
14
14
|
/** Bind one turn to Router's atomic grant ledger without exposing its parent key. */
|
|
15
15
|
export declare function createRouterProtectedModelPort(options: RouterProtectedModelPortOptions): AgentCandidateModelPort;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
settledCostUsdNanos: number;
|
|
23
|
-
};
|
|
24
|
-
calls: Array<Omit<Awaited<ReturnType<AgentCandidateModelGrantClient['settle']>>['calls'][number], 'costProvenance'> & {
|
|
25
|
-
cacheWriteTokens: number;
|
|
26
|
-
cacheWrite5mTokens: number;
|
|
27
|
-
cacheWrite1hTokens: number;
|
|
28
|
-
}>;
|
|
29
|
-
}
|
|
16
|
+
/**
|
|
17
|
+
* Router's settle response is Runtime's exact settlement ledger. Router keeps
|
|
18
|
+
* the billing hold and charge behind it and refuses a settlement outside the
|
|
19
|
+
* grant's frozen limits; Runtime rejects unknown or missing ledger fields.
|
|
20
|
+
*/
|
|
21
|
+
export type RouterProtectedModelSettlement = Awaited<ReturnType<AgentCandidateModelGrantClient['settle']>>;
|
|
@@ -184,6 +184,8 @@ export interface ChatComposerProps {
|
|
|
184
184
|
/** Block input + send (e.g. while restoring). Distinct from `isStreaming`,
|
|
185
185
|
* which keeps the textarea editable so the next turn can be composed. */
|
|
186
186
|
disabled?: boolean;
|
|
187
|
+
/** Block sending while keeping the draft editable (e.g. model choices load). */
|
|
188
|
+
sendDisabled?: boolean;
|
|
187
189
|
placeholder?: string;
|
|
188
190
|
/** Controlled value. Omit for self-managed internal state (cleared on send). */
|
|
189
191
|
value?: string;
|
|
@@ -327,4 +329,4 @@ export interface ChatComposerProps {
|
|
|
327
329
|
sendTone?: 'contrast' | 'primary';
|
|
328
330
|
className?: string;
|
|
329
331
|
}
|
|
330
|
-
export declare function ChatComposer({ onSend, onSendParts, onSendFailed, sendFailureMessage, onCancel, isStreaming, disabled, placeholder, value, onValueChange, initialValue, seed, onSeedApplied, controls, controlsPlacement, onAttach, onAttachFolder, pendingFiles, onRemoveFile, onRetryFile, accept, onRejectFiles, dropTitle, dropDescription, contextItems, canSubmitAttachmentsOnly, attachmentsNotReadyMessage, canSubmitWhileBusy, autoFocus, minRows, maxHeight, trailing, mention, slashCommands, eligibleSkills, selectedSkillId, onSelectedSkillChange, onDictate, onDictateError, focusShortcut, floating, sendLabel, sendVariant, sendTone, className, }: ChatComposerProps): import("react").JSX.Element;
|
|
332
|
+
export declare function ChatComposer({ onSend, onSendParts, onSendFailed, sendFailureMessage, onCancel, isStreaming, disabled, sendDisabled, placeholder, value, onValueChange, initialValue, seed, onSeedApplied, controls, controlsPlacement, onAttach, onAttachFolder, pendingFiles, onRemoveFile, onRetryFile, accept, onRejectFiles, dropTitle, dropDescription, contextItems, canSubmitAttachmentsOnly, attachmentsNotReadyMessage, canSubmitWhileBusy, autoFocus, minRows, maxHeight, trailing, mention, slashCommands, eligibleSkills, selectedSkillId, onSelectedSkillChange, onDictate, onDictateError, focusShortcut, floating, sendLabel, sendVariant, sendTone, className, }: ChatComposerProps): import("react").JSX.Element;
|
package/dist/web-react/index.js
CHANGED
package/package.json
CHANGED