@tangle-network/agent-app 0.57.10 → 0.57.11
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/agent-profiles/d1.d.ts +3 -1
- package/dist/agent-profiles/d1.js +10 -0
- package/dist/agent-profiles/d1.js.map +1 -1
- package/dist/assistant/index.js +1 -1
- package/dist/{chunk-6ZFXAW6J.js → chunk-OGFDE4IR.js} +10 -2
- package/dist/{chunk-6ZFXAW6J.js.map → chunk-OGFDE4IR.js.map} +1 -1
- package/dist/web-react/composer-profile-pill.d.ts +6 -6
- package/dist/web-react/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentProfilePickerProps } from '@tangle-network/sandbox-ui/chat';
|
|
2
2
|
/** The selection half of a thread's profile: the picker's own field names, so a rename upstream cannot drift past this. */
|
|
3
3
|
export type ComposerProfileSelection = Pick<AgentProfilePickerProps, 'value' | 'onChange' | 'profiles' | 'disabled'>;
|
|
4
|
-
export interface ComposerProfilePillProps extends Pick<AgentProfilePickerProps, 'locked' | 'lockReason' | 'onNewChat' | 'side'> {
|
|
4
|
+
export interface ComposerProfilePillProps extends Pick<AgentProfilePickerProps, 'locked' | 'lockReason' | 'onNewChat' | 'side' | 'capabilities' | 'onCreate' | 'onUpdate' | 'onDelete'> {
|
|
5
5
|
/** The catalog and the current choice; products pass their server-resolvable profiles only. */
|
|
6
6
|
selection: ComposerProfileSelection;
|
|
7
7
|
/**
|
|
@@ -18,9 +18,9 @@ export interface ComposerProfilePillProps extends Pick<AgentProfilePickerProps,
|
|
|
18
18
|
className?: string;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* The thread's agent profile as a composer control.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* The thread's agent profile as a composer control. The server owns catalog
|
|
22
|
+
* writes and selection; pass its callbacks to enable authoring and switching
|
|
23
|
+
* within the current conversation. `locked` is reserved for a product-specific
|
|
24
|
+
* admission constraint, not a conversation that already has messages.
|
|
25
25
|
*/
|
|
26
|
-
export declare function ComposerProfilePill({ selection, locked, lockReason, onNewChat, side, placement, className, }: ComposerProfilePillProps): import("react").JSX.Element;
|
|
26
|
+
export declare function ComposerProfilePill({ selection, locked, lockReason, onNewChat, capabilities, onCreate, onUpdate, onDelete, side, placement, className, }: ComposerProfilePillProps): import("react").JSX.Element;
|
package/dist/web-react/index.js
CHANGED
package/package.json
CHANGED