@tangle-network/agent-app 0.43.20 → 0.43.22
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/{VaultPane-DsbRC1rj.d.ts → VaultPane-DrQ_tH6c.d.ts} +19 -1
- package/dist/VaultPane-HFH734K6.js +7 -0
- package/dist/{chunk-65ZRAZL3.js → chunk-FVJP2RTC.js} +186 -32
- package/dist/chunk-FVJP2RTC.js.map +1 -0
- package/dist/studio-react/index.d.ts +54 -2
- package/dist/studio-react/index.js +319 -163
- package/dist/studio-react/index.js.map +1 -1
- package/dist/studio-react/studio.css +56 -0
- package/dist/theme/tokens.css +1 -0
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +1 -1
- package/dist/vault/lazy.d.ts +2 -2
- package/dist/vault/lazy.js +1 -1
- package/package.json +1 -1
- package/dist/VaultPane-GIXYVVPZ.js +0 -7
- package/dist/chunk-65ZRAZL3.js.map +0 -1
- /package/dist/{VaultPane-GIXYVVPZ.js.map → VaultPane-HFH734K6.js.map} +0 -0
|
@@ -47,10 +47,15 @@ declare function useStudioGenerations(loaderGenerations: Generation[], options?:
|
|
|
47
47
|
onGenerated: (generation: Generation) => void;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
declare function ComposerHero({ workspaceId, integrationsHref, canManageIntegrations, onGenerated, }: {
|
|
50
|
+
declare function ComposerHero({ workspaceId, integrationsHref, canManageIntegrations, align, surfaceClassName, onGenerated, }: {
|
|
51
51
|
workspaceId?: string;
|
|
52
52
|
integrationsHref?: string;
|
|
53
53
|
canManageIntegrations: boolean;
|
|
54
|
+
/** Heading treatment: `center` (focus mode) vs `start` (composer as a left rail). */
|
|
55
|
+
align?: 'center' | 'start';
|
|
56
|
+
/** Background of the composer card. Host apps pass their own surface token so
|
|
57
|
+
* the card can share a tone with the app shell (e.g. the sidebar). */
|
|
58
|
+
surfaceClassName?: string;
|
|
54
59
|
onGenerated: (generation: Generation) => void;
|
|
55
60
|
}): react.JSX.Element;
|
|
56
61
|
|
|
@@ -60,6 +65,12 @@ declare function Field({ label, htmlFor, className, children, }: {
|
|
|
60
65
|
className?: string;
|
|
61
66
|
children: ReactNode;
|
|
62
67
|
}): react.JSX.Element;
|
|
68
|
+
declare function Stepper({ value, min, max, onChange, }: {
|
|
69
|
+
value: number;
|
|
70
|
+
min: number;
|
|
71
|
+
max: number;
|
|
72
|
+
onChange: (value: number) => void;
|
|
73
|
+
}): react.JSX.Element;
|
|
63
74
|
declare function ComposerDisclosure({ summary, children }: {
|
|
64
75
|
summary: ReactNode;
|
|
65
76
|
children: ReactNode;
|
|
@@ -102,6 +113,36 @@ declare function LibraryDrawer({ open, onOpenChange, generations, totalCost, typ
|
|
|
102
113
|
onSelect: (generation: Generation | null) => void;
|
|
103
114
|
}): react.JSX.Element;
|
|
104
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Inline asset gallery — the same filter + stats + card grid as the library
|
|
118
|
+
* drawer's list view, but with no sheet chrome so it can sit on the page beside
|
|
119
|
+
* the composer. In-flight generations need no special handling: they arrive at
|
|
120
|
+
* the front of `generations` (via `useStudioGenerations.mergedGenerations`) and
|
|
121
|
+
* `GenerationCard` renders their `pending`/`running` shimmer.
|
|
122
|
+
*/
|
|
123
|
+
declare function LibraryPanel({ generations, totalCost, typeFilter, onFilterChange, onSelect, }: {
|
|
124
|
+
generations: Generation[];
|
|
125
|
+
totalCost: number;
|
|
126
|
+
typeFilter: string | null;
|
|
127
|
+
onFilterChange: (type: string | null) => void;
|
|
128
|
+
onSelect: (generation: Generation) => void;
|
|
129
|
+
}): react.JSX.Element;
|
|
130
|
+
|
|
131
|
+
/** The visible set for the active type tab (all generations when unfiltered). */
|
|
132
|
+
declare function filterGenerations(generations: Generation[], typeFilter: string | null): Generation[];
|
|
133
|
+
/**
|
|
134
|
+
* Chrome-less asset grid — the `GenerationCard` grid plus its empty state, with
|
|
135
|
+
* no surrounding tabs/stats/sheet chrome. Composed by both the inline
|
|
136
|
+
* `LibraryPanel` and the `LibraryDrawer`'s list view so the grid and its
|
|
137
|
+
* empty-state copy stay in one place. `generations` is the already-filtered
|
|
138
|
+
* visible set; `typeFilter` only tunes the empty-state message.
|
|
139
|
+
*/
|
|
140
|
+
declare function GenerationGrid({ generations, typeFilter, onSelect, }: {
|
|
141
|
+
generations: Generation[];
|
|
142
|
+
typeFilter: string | null;
|
|
143
|
+
onSelect: (generation: Generation) => void;
|
|
144
|
+
}): react.JSX.Element;
|
|
145
|
+
|
|
105
146
|
declare function GenerationCard({ generation, onSelect, }: {
|
|
106
147
|
generation: Generation;
|
|
107
148
|
onSelect: (generation: Generation) => void;
|
|
@@ -117,6 +158,17 @@ declare function GenerationDetail({ generation, vaultHref, onNavigate, }: {
|
|
|
117
158
|
onNavigate?: () => void;
|
|
118
159
|
}): react.JSX.Element;
|
|
119
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Centered detail view for a single generation. Opens when `generation` is set
|
|
163
|
+
* and reports dismissal through `onClose`. GenerationDetail renders the media,
|
|
164
|
+
* type badge, prompt and metadata; the dialog title carries the a11y label.
|
|
165
|
+
*/
|
|
166
|
+
declare function GenerationDetailModal({ generation, vaultHref, onClose, }: {
|
|
167
|
+
generation: Generation | null;
|
|
168
|
+
vaultHref?: (filePath?: string | null) => string;
|
|
169
|
+
onClose: () => void;
|
|
170
|
+
}): react.JSX.Element;
|
|
171
|
+
|
|
120
172
|
declare function PublishPackageComposer({ caption, postDescription, mentions, cadence, selectedDestinations, connections, connectionError, connectionsLoading, integrationsHref, canManageIntegrations, onCaptionChange, onDescriptionChange, onMentionsChange, onCadenceChange, onDestinationToggle, }: {
|
|
121
173
|
caption: string;
|
|
122
174
|
postDescription: string;
|
|
@@ -190,4 +242,4 @@ declare function TranscriptionOptions({ responseFormat, temperature, onResponseF
|
|
|
190
242
|
onTemperatureChange: (value: string) => void;
|
|
191
243
|
}): react.JSX.Element;
|
|
192
244
|
|
|
193
|
-
export { AvatarComposer, ComposerDisclosure, ComposerHero, Field, GenerationCard, GenerationDetail, GenerationStatusBadge, ImageComposer, LibraryDrawer, NativeSelect, PublishPackageComposer, ResultCanvas, SpeechComposer, StudioHeader, type StudioRole, StudioSheet, StudioWorkspace, type StudioWorkspaceProps, TYPE_CONFIG, TranscriptionComposer, TranscriptionOptions, type TypeConfig, VideoComposer, typeConfigFor, useStudioGenerations };
|
|
245
|
+
export { AvatarComposer, ComposerDisclosure, ComposerHero, Field, GenerationCard, GenerationDetail, GenerationDetailModal, GenerationGrid, GenerationStatusBadge, ImageComposer, LibraryDrawer, LibraryPanel, NativeSelect, PublishPackageComposer, ResultCanvas, SpeechComposer, Stepper, StudioHeader, type StudioRole, StudioSheet, StudioWorkspace, type StudioWorkspaceProps, TYPE_CONFIG, TranscriptionComposer, TranscriptionOptions, type TypeConfig, VideoComposer, filterGenerations, typeConfigFor, useStudioGenerations };
|