@tangle-network/agent-app 0.60.162 → 0.60.164
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,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' | 'capabilities' | 'onCreate' | 'onUpdate' | 'onDelete'> {
|
|
4
|
+
export interface ComposerProfilePillProps extends Pick<AgentProfilePickerProps, 'locked' | 'lockReason' | 'onNewChat' | 'side' | 'capabilities' | 'onCreate' | 'onUpdate' | 'onDelete' | 'onEdit' | 'onNew'> {
|
|
5
5
|
/** The catalog and the current choice; products pass their server-resolvable profiles only. */
|
|
6
6
|
selection: ComposerProfileSelection;
|
|
7
7
|
/**
|
|
@@ -22,5 +22,8 @@ export interface ComposerProfilePillProps extends Pick<AgentProfilePickerProps,
|
|
|
22
22
|
* writes and selection; pass its callbacks to enable authoring and switching
|
|
23
23
|
* within the current conversation. `locked` is reserved for a product-specific
|
|
24
24
|
* admission constraint, not a conversation that already has messages.
|
|
25
|
+
* Use `onEdit` and `onNew` to open the product's shared AgentProfileEditor.
|
|
26
|
+
* Inline `onCreate`/`onUpdate` callbacks resolve only after the write is
|
|
27
|
+
* confirmed and reject refused writes, so the picker can preserve the draft.
|
|
25
28
|
*/
|
|
26
|
-
export declare function ComposerProfilePill({ selection, locked, lockReason, onNewChat, capabilities, onCreate, onUpdate, onDelete, side, placement, className, }: ComposerProfilePillProps): import("react").JSX.Element;
|
|
29
|
+
export declare function ComposerProfilePill({ selection, locked, lockReason, onNewChat, capabilities, onCreate, onUpdate, onDelete, onEdit, onNew, side, placement, className, }: ComposerProfilePillProps): import("react").JSX.Element;
|
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.60.
|
|
3
|
+
"version": "0.60.164",
|
|
4
4
|
"packageManager": "pnpm@11.24.0",
|
|
5
5
|
"description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
|
|
6
6
|
"keywords": [
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"@tangle-network/brand": "1.24.2",
|
|
701
701
|
"@tangle-network/hub-sdk": "0.28.0",
|
|
702
702
|
"@tangle-network/sandbox": "0.60.22",
|
|
703
|
-
"@tangle-network/sandbox-ui": "0.134.
|
|
703
|
+
"@tangle-network/sandbox-ui": "0.134.6",
|
|
704
704
|
"@tangle-network/ui": "11.33.0",
|
|
705
705
|
"@testing-library/dom": "^10.4.1",
|
|
706
706
|
"@testing-library/react": "^16.3.3",
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"@tangle-network/brand": ">=1.21.1",
|
|
773
773
|
"@tangle-network/hub-sdk": ">=0.19.3 <0.21.0 || >=0.21.0 <0.22.0 || >=0.22.1 <0.25.0 || >=0.27.0 <0.28.0 || >=0.28.0 <0.29.0",
|
|
774
774
|
"@tangle-network/sandbox": ">=0.45.0 <0.48.0 || ^0.49.0 || ^0.50.0 || ^0.51.0 || ^0.52.0 || ^0.53.0 || ^0.54.0 || ^0.55.0 || >=0.58.1 <0.60.0 || >=0.60.3 <0.61.0",
|
|
775
|
-
"@tangle-network/sandbox-ui": ">=0.134.
|
|
775
|
+
"@tangle-network/sandbox-ui": ">=0.134.6 <0.135.0",
|
|
776
776
|
"@tangle-network/ui": ">=11.32.0 <12.0.0",
|
|
777
777
|
"@tiptap/core": ">=3.28.0 <4.0.0",
|
|
778
778
|
"@tiptap/extension-mention": ">=3.28.0 <4.0.0",
|