@tangle-network/agent-app 0.46.2 → 0.46.4

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.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/dist/assistant/index.js +3 -1
  3. package/dist/assistant/index.js.map +1 -1
  4. package/dist/chunk-KKBTPZIE.js +805 -0
  5. package/dist/chunk-KKBTPZIE.js.map +1 -0
  6. package/dist/{chunk-2RTYQU4W.js → chunk-LEGZX5MQ.js} +150 -4
  7. package/dist/chunk-LEGZX5MQ.js.map +1 -0
  8. package/dist/chunk-RLOHIX5Y.js +36 -0
  9. package/dist/chunk-RLOHIX5Y.js.map +1 -0
  10. package/dist/{chunk-MBKNKAN2.js → chunk-YTEUZXX2.js} +584 -1252
  11. package/dist/chunk-YTEUZXX2.js.map +1 -0
  12. package/dist/mention-editor-GVLG3W7C.js +521 -0
  13. package/dist/mention-editor-GVLG3W7C.js.map +1 -0
  14. package/dist/stories/studio/StudioProviders.d.ts +10 -0
  15. package/dist/stories/studio/fixtures.d.ts +10 -2
  16. package/dist/studio/audio-preview.d.ts +12 -0
  17. package/dist/studio/generation.d.ts +22 -1
  18. package/dist/studio/index.d.ts +2 -0
  19. package/dist/studio/index.js +29 -1
  20. package/dist/studio/ports.d.ts +54 -0
  21. package/dist/studio-react/composer-option-controls.d.ts +19 -8
  22. package/dist/studio-react/download-generations.d.ts +4 -0
  23. package/dist/studio-react/index.d.ts +38 -22
  24. package/dist/studio-react/index.js +2198 -545
  25. package/dist/studio-react/index.js.map +1 -1
  26. package/dist/studio-react/media-tile.d.ts +21 -0
  27. package/dist/studio-react/media-viewer.d.ts +12 -0
  28. package/dist/studio-react/studio-confirm.d.ts +8 -0
  29. package/dist/studio-react/studio-generation-screen.d.ts +42 -0
  30. package/dist/studio-react/studio-history-screen.d.ts +28 -0
  31. package/dist/studio-react/studio-home-screen.d.ts +20 -0
  32. package/dist/studio-react/studio-playback.d.ts +31 -0
  33. package/dist/studio-react/studio-toasts.d.ts +21 -0
  34. package/dist/studio-react/studio.css +142 -72
  35. package/dist/studio-react/use-batch-navigation.d.ts +20 -0
  36. package/dist/studio-react/use-deferred-delete.d.ts +19 -0
  37. package/dist/studio-react/use-generation-history.d.ts +22 -0
  38. package/dist/studio-react/vault-path-popover.d.ts +12 -0
  39. package/dist/teams/drizzle/invitations-schema.d.ts +1 -1
  40. package/dist/teams/drizzle/schema.d.ts +1 -1
  41. package/dist/web-react/chat-composer.d.ts +24 -4
  42. package/dist/web-react/index.d.ts +1 -0
  43. package/dist/web-react/index.js +12 -6
  44. package/dist/web-react/mention-boundaries.d.ts +33 -0
  45. package/dist/web-react/mention-editor.d.ts +84 -0
  46. package/dist/web-react/mention-list.d.ts +35 -0
  47. package/dist/web-react/mention-pill.d.ts +10 -0
  48. package/dist/web-react/mention-serialize.d.ts +44 -0
  49. package/dist/web-react/use-file-mentions.d.ts +28 -14
  50. package/package.json +33 -7
  51. package/dist/chunk-2RTYQU4W.js.map +0 -1
  52. package/dist/chunk-MBKNKAN2.js.map +0 -1
  53. package/dist/studio-react/generation-card.d.ts +0 -9
  54. package/dist/studio-react/generation-detail-modal.d.ts +0 -11
  55. package/dist/studio-react/generation-detail.d.ts +0 -6
  56. package/dist/studio-react/generation-grid.d.ts +0 -15
  57. package/dist/studio-react/library-drawer.d.ts +0 -12
  58. package/dist/studio-react/library-panel.d.ts +0 -15
  59. package/dist/studio-react/result-canvas.d.ts +0 -6
  60. package/dist/studio-react/studio-header.d.ts +0 -5
  61. package/dist/studio-react/studio-sheet.d.ts +0 -12
  62. package/dist/studio-react/studio-workspace.d.ts +0 -21
  63. package/dist/studio-react/type-config.d.ts +0 -11
@@ -1,9 +0,0 @@
1
- import { type Generation } from '../studio';
2
- export declare function GenerationCard({ generation, onSelect, }: {
3
- generation: Generation;
4
- onSelect: (generation: Generation) => void;
5
- }): import("react").JSX.Element;
6
- export declare function GenerationStatusBadge({ generation, inline, }: {
7
- generation: Generation;
8
- inline?: boolean;
9
- }): import("react").JSX.Element | null;
@@ -1,11 +0,0 @@
1
- import { type Generation } from '../studio';
2
- /**
3
- * Centered detail view for a single generation. Opens when `generation` is set
4
- * and reports dismissal through `onClose`. GenerationDetail renders the media,
5
- * type badge, prompt and metadata; the dialog title carries the a11y label.
6
- */
7
- export declare function GenerationDetailModal({ generation, vaultHref, onClose, }: {
8
- generation: Generation | null;
9
- vaultHref?: (filePath?: string | null) => string;
10
- onClose: () => void;
11
- }): import("react").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { type Generation } from '../studio';
2
- export declare function GenerationDetail({ generation, vaultHref, onNavigate, }: {
3
- generation: Generation;
4
- vaultHref?: (filePath?: string | null) => string;
5
- onNavigate?: () => void;
6
- }): import("react").JSX.Element;
@@ -1,15 +0,0 @@
1
- import { type Generation } from '../studio';
2
- /** The visible set for the active type tab (all generations when unfiltered). */
3
- export declare function filterGenerations(generations: Generation[], typeFilter: string | null): Generation[];
4
- /**
5
- * Chrome-less asset grid — the `GenerationCard` grid plus its empty state, with
6
- * no surrounding tabs/stats/sheet chrome. Composed by both the inline
7
- * `LibraryPanel` and the `LibraryDrawer`'s list view so the grid and its
8
- * empty-state copy stay in one place. `generations` is the already-filtered
9
- * visible set; `typeFilter` only tunes the empty-state message.
10
- */
11
- export declare function GenerationGrid({ generations, typeFilter, onSelect, }: {
12
- generations: Generation[];
13
- typeFilter: string | null;
14
- onSelect: (generation: Generation) => void;
15
- }): import("react").JSX.Element;
@@ -1,12 +0,0 @@
1
- import { type Generation } from '../studio';
2
- export declare function LibraryDrawer({ open, onOpenChange, generations, totalCost, typeFilter, onFilterChange, vaultHref, selected, onSelect, }: {
3
- open: boolean;
4
- onOpenChange: (open: boolean) => void;
5
- generations: Generation[];
6
- totalCost: number;
7
- typeFilter: string | null;
8
- onFilterChange: (type: string | null) => void;
9
- vaultHref?: (filePath?: string | null) => string;
10
- selected: Generation | null;
11
- onSelect: (generation: Generation | null) => void;
12
- }): import("react").JSX.Element;
@@ -1,15 +0,0 @@
1
- import { type Generation } from '../studio';
2
- /**
3
- * Inline asset gallery — the same filter + stats + card grid as the library
4
- * drawer's list view, but with no sheet chrome so it can sit on the page beside
5
- * the composer. In-flight generations need no special handling: they arrive at
6
- * the front of `generations` (via `useStudioGenerations.mergedGenerations`) and
7
- * `GenerationCard` renders their `pending`/`running` shimmer.
8
- */
9
- export declare function LibraryPanel({ generations, totalCost, typeFilter, onFilterChange, onSelect, }: {
10
- generations: Generation[];
11
- totalCost: number;
12
- typeFilter: string | null;
13
- onFilterChange: (type: string | null) => void;
14
- onSelect: (generation: Generation) => void;
15
- }): import("react").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { type Generation } from '../studio';
2
- export declare function ResultCanvas({ batch, onOpenLibrary, onSelect, }: {
3
- batch: Generation[];
4
- onOpenLibrary: () => void;
5
- onSelect: (generation: Generation) => void;
6
- }): import("react").JSX.Element;
@@ -1,5 +0,0 @@
1
- export declare function StudioHeader({ count, onOpenLibrary, canGenerate, }: {
2
- count: number;
3
- onOpenLibrary: () => void;
4
- canGenerate: boolean;
5
- }): import("react").JSX.Element;
@@ -1,12 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- /**
3
- * Right-side overlay sheet built on Radix Dialog — gives focus-trap, scroll-lock,
4
- * and Escape-to-close for free. Slide/fade come from the studio-sheet-* classes in
5
- * ./studio.css (driven by Radix data-state), not tailwindcss-animate.
6
- */
7
- export declare function StudioSheet({ open, onOpenChange, title, children, }: {
8
- open: boolean;
9
- onOpenChange: (open: boolean) => void;
10
- title: string;
11
- children: ReactNode;
12
- }): import("react").JSX.Element;
@@ -1,21 +0,0 @@
1
- import type { Generation } from '../studio';
2
- export type StudioRole = 'owner' | 'admin' | 'editor' | 'viewer';
3
- export interface StudioWorkspaceProps {
4
- generations: Generation[];
5
- totalCost: number;
6
- workspaceId?: string;
7
- role: StudioRole;
8
- /** Polling endpoint override (default `/api/generations`). */
9
- generationsEndpoint?: string;
10
- /** Build a vault link, optionally to a specific file. Defaults to `/app/<workspaceId>/vault`. */
11
- vaultHref?: (filePath?: string | null) => string;
12
- }
13
- /**
14
- * The full studio surface: header + composer + result canvas + library drawer,
15
- * with the generation orchestrator (merge/poll/revalidate) wired in. The host
16
- * route owns the loader (auth, RBAC, the generation query) and the server
17
- * endpoints (`/api/generate`, `/api/media-models`, `/api/generations`); this
18
- * shell renders that data and drives the live UI. Role gates the composer
19
- * (viewers get a read-only library).
20
- */
21
- export declare function StudioWorkspace({ generations, totalCost, workspaceId, role, generationsEndpoint, vaultHref, }: StudioWorkspaceProps): import("react").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { Image } from 'lucide-react';
2
- /** Define configuration options for a type including label, icon, and color properties */
3
- export interface TypeConfig {
4
- label: string;
5
- icon: typeof Image;
6
- color: string;
7
- }
8
- /** Map type keys to their corresponding configuration objects including labels, icons, and colors */
9
- export declare const TYPE_CONFIG: Record<string, TypeConfig>;
10
- /** Resolve the configuration object for a given type or return the default image configuration */
11
- export declare function typeConfigFor(type: string): TypeConfig;