@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.
@@ -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. Selection only: no create,
22
- * edit or delete handlers are wired, so it offers exactly the catalog the
23
- * server resolves. A thread's profile is fixed once its first message exists;
24
- * pass `locked` then, and `onNewChat` to offer a fresh thread from the lock.
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;
@@ -134,7 +134,7 @@ import {
134
134
  withoutRecordGridCreated,
135
135
  withoutRecordGridRemoved,
136
136
  withoutRecordGridUpdate
137
- } from "../chunk-6ZFXAW6J.js";
137
+ } from "../chunk-OGFDE4IR.js";
138
138
  import {
139
139
  SessionHistoryPanel,
140
140
  formatSessionTimestamp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.57.10",
3
+ "version": "0.57.11",
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": [