@inf-monkeys-tech/monkeys-design 1.0.30 → 1.0.31

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 (58) hide show
  1. package/dist/components/agent-workbench/index.d.mts +94 -2
  2. package/dist/components/agent-workbench/index.d.ts +94 -2
  3. package/dist/components/agent-workbench/index.js +482 -4
  4. package/dist/components/agent-workbench/index.js.map +1 -1
  5. package/dist/components/agent-workbench/index.mjs +478 -5
  6. package/dist/components/agent-workbench/index.mjs.map +1 -1
  7. package/dist/components/base/index.js +17 -0
  8. package/dist/components/base/index.js.map +1 -1
  9. package/dist/components/base/index.mjs +17 -0
  10. package/dist/components/base/index.mjs.map +1 -1
  11. package/dist/components/data-explorer/index.js +17 -0
  12. package/dist/components/data-explorer/index.js.map +1 -1
  13. package/dist/components/data-explorer/index.mjs +17 -0
  14. package/dist/components/data-explorer/index.mjs.map +1 -1
  15. package/dist/components/layout/index.js +17 -0
  16. package/dist/components/layout/index.js.map +1 -1
  17. package/dist/components/layout/index.mjs +17 -0
  18. package/dist/components/layout/index.mjs.map +1 -1
  19. package/dist/components/runtime/index.js +17 -0
  20. package/dist/components/runtime/index.js.map +1 -1
  21. package/dist/components/runtime/index.mjs +17 -0
  22. package/dist/components/runtime/index.mjs.map +1 -1
  23. package/dist/components/toast/index.d.mts +1 -1
  24. package/dist/components/toast/index.d.ts +1 -1
  25. package/dist/components/toast/index.js +17 -0
  26. package/dist/components/toast/index.js.map +1 -1
  27. package/dist/components/toast/index.mjs +17 -0
  28. package/dist/components/toast/index.mjs.map +1 -1
  29. package/dist/components/toolbar/index.js +17 -0
  30. package/dist/components/toolbar/index.js.map +1 -1
  31. package/dist/components/toolbar/index.mjs +17 -0
  32. package/dist/components/toolbar/index.mjs.map +1 -1
  33. package/dist/components/workbench/index.js +17 -0
  34. package/dist/components/workbench/index.js.map +1 -1
  35. package/dist/components/workbench/index.mjs +17 -0
  36. package/dist/components/workbench/index.mjs.map +1 -1
  37. package/dist/index.d.mts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +42 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +42 -0
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/locale/index.d.mts +58 -2
  44. package/dist/locale/index.d.ts +58 -2
  45. package/dist/locale/index.js +42 -0
  46. package/dist/locale/index.js.map +1 -1
  47. package/dist/locale/index.mjs +42 -0
  48. package/dist/locale/index.mjs.map +1 -1
  49. package/dist/provider/index.d.mts +2 -2
  50. package/dist/provider/index.d.ts +2 -2
  51. package/dist/provider/index.js +42 -0
  52. package/dist/provider/index.js.map +1 -1
  53. package/dist/provider/index.mjs +42 -0
  54. package/dist/provider/index.mjs.map +1 -1
  55. package/dist/styles.css +1 -1
  56. package/dist/{types-5d94bcf4b6cd.d.mts → types-8f8d24939b8e.d.mts} +30 -0
  57. package/dist/{types-5d94bcf4b6cd.d.ts → types-8f8d24939b8e.d.ts} +30 -0
  58. package/package.json +1 -1
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
3
3
  import { d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-bc28e9593e3f.mjs';
4
4
  export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchSidebar, l as AgentWorkbenchSidebarClassNames, m as AgentWorkbenchSidebarIntent, n as AgentWorkbenchSidebarProps, o as AgentWorkbenchTaskDetails, p as AgentWorkbenchTaskDetailsClassNames, q as AgentWorkbenchTaskDetailsProps, r as AgentWorkbenchTerminalModel, s as AgentWorkbenchTool, t as AgentWorkbenchToolClassNames, u as AgentWorkbenchToolProps, v as createAgentWorkbenchActivityModel, w as createAgentWorkbenchDetailsModel } from '../../details-model-bc28e9593e3f.mjs';
5
- import { ReactNode } from 'react';
5
+ import { ReactNode, ComponentType } from 'react';
6
6
  type AgentWorkbenchComposerIntent = {
7
7
  type: 'change-mode';
8
8
  mode: 'chat' | 'work';
@@ -93,4 +93,96 @@ interface AgentWorkbenchThreadProps {
93
93
  onArtifactOpen?: (intent: AgentWorkbenchArtifactIntent) => void;
94
94
  }
95
95
  declare function AgentWorkbenchThread({ viewModel, loading, emptyTitle, emptyDescription, autoScroll, className, classNames, renderMessageContent, onApprovalDecision, onArtifactOpen, }: AgentWorkbenchThreadProps): react_jsx_runtime.JSX.Element;
96
- export { AgentWorkbenchApprovalIntent, AgentWorkbenchArtifactIntent, AgentWorkbenchComposer, type AgentWorkbenchComposerClassNames, type AgentWorkbenchComposerIntent, type AgentWorkbenchComposerProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps };
96
+ type AgentWorkbenchProcessStatus = 'completed' | 'failed' | 'queued' | 'running' | 'stopped' | 'waiting_approval';
97
+ interface AgentWorkbenchProcessProps {
98
+ status: AgentWorkbenchProcessStatus;
99
+ children: ReactNode;
100
+ durationMs?: number;
101
+ completedCount?: number;
102
+ totalCount?: number;
103
+ open?: boolean;
104
+ defaultOpen?: boolean;
105
+ onOpenChange?: (open: boolean) => void;
106
+ className?: string;
107
+ contentClassName?: string;
108
+ label?: string;
109
+ }
110
+ declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
111
+ type AgentWorkbenchActionKind = 'command' | 'file' | 'read' | 'search' | 'tool';
112
+ type AgentWorkbenchActionStatus = 'completed' | 'denied' | 'failed' | 'pending' | 'running';
113
+ interface AgentWorkbenchActionProps {
114
+ summary: ReactNode;
115
+ kind?: AgentWorkbenchActionKind;
116
+ status?: AgentWorkbenchActionStatus;
117
+ children?: ReactNode;
118
+ open?: boolean;
119
+ defaultOpen?: boolean;
120
+ onOpenChange?: (open: boolean) => void;
121
+ icon?: ComponentType<{
122
+ className?: string;
123
+ 'aria-hidden'?: 'true' | boolean;
124
+ }>;
125
+ className?: string;
126
+ contentClassName?: string;
127
+ }
128
+ declare function AgentWorkbenchAction({ summary, kind, status, children, open, defaultOpen, onOpenChange, icon, className, contentClassName, }: AgentWorkbenchActionProps): react_jsx_runtime.JSX.Element;
129
+ type AgentWorkbenchArtifactOrigin = 'output' | 'source';
130
+ type AgentWorkbenchArtifactKind = 'audio' | 'file' | 'html' | 'image' | 'markdown' | 'pdf' | 'presentation' | 'video' | 'web';
131
+ type AgentWorkbenchArtifactStatus = 'error' | 'loading' | 'ready';
132
+ /**
133
+ * Product-neutral file model used by the Agent summary and preview workspace.
134
+ * Consumers own URL resolution, authorization, and file rendering.
135
+ */
136
+ interface AgentWorkbenchArtifactItem {
137
+ id: string;
138
+ name: string;
139
+ origin: AgentWorkbenchArtifactOrigin;
140
+ kind: AgentWorkbenchArtifactKind;
141
+ status?: AgentWorkbenchArtifactStatus;
142
+ url?: string;
143
+ thumbnailUrl?: string;
144
+ mimeType?: string;
145
+ description?: string;
146
+ updatedAt?: string;
147
+ }
148
+ type AgentWorkbenchArtifactWorkspaceIntent = {
149
+ type: 'close-workspace';
150
+ } | {
151
+ type: 'close';
152
+ artifactId: string;
153
+ } | {
154
+ type: 'download';
155
+ artifactId: string;
156
+ } | {
157
+ type: 'open-external';
158
+ artifactId: string;
159
+ } | {
160
+ type: 'reorder';
161
+ artifactId: string;
162
+ overArtifactId: string;
163
+ } | {
164
+ type: 'select';
165
+ artifactId: string;
166
+ };
167
+ interface AgentWorkbenchArtifactSummaryProps {
168
+ artifacts: readonly AgentWorkbenchArtifactItem[];
169
+ open?: boolean;
170
+ defaultOpen?: boolean;
171
+ maxItemsPerGroup?: number;
172
+ showAll?: boolean;
173
+ className?: string;
174
+ contentClassName?: string;
175
+ onOpenChange?: (open: boolean) => void;
176
+ onArtifactOpen?: (artifact: AgentWorkbenchArtifactItem) => void;
177
+ onViewAll?: () => void;
178
+ }
179
+ declare function AgentWorkbenchArtifactSummary({ artifacts, open, defaultOpen, maxItemsPerGroup, showAll, className, contentClassName, onOpenChange, onArtifactOpen, onViewAll, }: AgentWorkbenchArtifactSummaryProps): null | react_jsx_runtime.JSX.Element;
180
+ interface AgentWorkbenchArtifactWorkspaceProps {
181
+ artifacts: readonly AgentWorkbenchArtifactItem[];
182
+ activeArtifactId?: string;
183
+ className?: string;
184
+ renderArtifact: (artifact: AgentWorkbenchArtifactItem) => ReactNode;
185
+ onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
186
+ }
187
+ declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
188
+ export { AgentWorkbenchAction, type AgentWorkbenchActionKind, type AgentWorkbenchActionProps, type AgentWorkbenchActionStatus, AgentWorkbenchApprovalIntent, AgentWorkbenchArtifactIntent, type AgentWorkbenchArtifactItem, type AgentWorkbenchArtifactKind, type AgentWorkbenchArtifactOrigin, type AgentWorkbenchArtifactStatus, AgentWorkbenchArtifactSummary, type AgentWorkbenchArtifactSummaryProps, AgentWorkbenchArtifactWorkspace, type AgentWorkbenchArtifactWorkspaceIntent, type AgentWorkbenchArtifactWorkspaceProps, AgentWorkbenchComposer, type AgentWorkbenchComposerClassNames, type AgentWorkbenchComposerIntent, type AgentWorkbenchComposerProps, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps };
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
3
3
  import { d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-bc28e9593e3f.js';
4
4
  export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchSidebar, l as AgentWorkbenchSidebarClassNames, m as AgentWorkbenchSidebarIntent, n as AgentWorkbenchSidebarProps, o as AgentWorkbenchTaskDetails, p as AgentWorkbenchTaskDetailsClassNames, q as AgentWorkbenchTaskDetailsProps, r as AgentWorkbenchTerminalModel, s as AgentWorkbenchTool, t as AgentWorkbenchToolClassNames, u as AgentWorkbenchToolProps, v as createAgentWorkbenchActivityModel, w as createAgentWorkbenchDetailsModel } from '../../details-model-bc28e9593e3f.js';
5
- import { ReactNode } from 'react';
5
+ import { ReactNode, ComponentType } from 'react';
6
6
  type AgentWorkbenchComposerIntent = {
7
7
  type: 'change-mode';
8
8
  mode: 'chat' | 'work';
@@ -93,4 +93,96 @@ interface AgentWorkbenchThreadProps {
93
93
  onArtifactOpen?: (intent: AgentWorkbenchArtifactIntent) => void;
94
94
  }
95
95
  declare function AgentWorkbenchThread({ viewModel, loading, emptyTitle, emptyDescription, autoScroll, className, classNames, renderMessageContent, onApprovalDecision, onArtifactOpen, }: AgentWorkbenchThreadProps): react_jsx_runtime.JSX.Element;
96
- export { AgentWorkbenchApprovalIntent, AgentWorkbenchArtifactIntent, AgentWorkbenchComposer, type AgentWorkbenchComposerClassNames, type AgentWorkbenchComposerIntent, type AgentWorkbenchComposerProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps };
96
+ type AgentWorkbenchProcessStatus = 'completed' | 'failed' | 'queued' | 'running' | 'stopped' | 'waiting_approval';
97
+ interface AgentWorkbenchProcessProps {
98
+ status: AgentWorkbenchProcessStatus;
99
+ children: ReactNode;
100
+ durationMs?: number;
101
+ completedCount?: number;
102
+ totalCount?: number;
103
+ open?: boolean;
104
+ defaultOpen?: boolean;
105
+ onOpenChange?: (open: boolean) => void;
106
+ className?: string;
107
+ contentClassName?: string;
108
+ label?: string;
109
+ }
110
+ declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
111
+ type AgentWorkbenchActionKind = 'command' | 'file' | 'read' | 'search' | 'tool';
112
+ type AgentWorkbenchActionStatus = 'completed' | 'denied' | 'failed' | 'pending' | 'running';
113
+ interface AgentWorkbenchActionProps {
114
+ summary: ReactNode;
115
+ kind?: AgentWorkbenchActionKind;
116
+ status?: AgentWorkbenchActionStatus;
117
+ children?: ReactNode;
118
+ open?: boolean;
119
+ defaultOpen?: boolean;
120
+ onOpenChange?: (open: boolean) => void;
121
+ icon?: ComponentType<{
122
+ className?: string;
123
+ 'aria-hidden'?: 'true' | boolean;
124
+ }>;
125
+ className?: string;
126
+ contentClassName?: string;
127
+ }
128
+ declare function AgentWorkbenchAction({ summary, kind, status, children, open, defaultOpen, onOpenChange, icon, className, contentClassName, }: AgentWorkbenchActionProps): react_jsx_runtime.JSX.Element;
129
+ type AgentWorkbenchArtifactOrigin = 'output' | 'source';
130
+ type AgentWorkbenchArtifactKind = 'audio' | 'file' | 'html' | 'image' | 'markdown' | 'pdf' | 'presentation' | 'video' | 'web';
131
+ type AgentWorkbenchArtifactStatus = 'error' | 'loading' | 'ready';
132
+ /**
133
+ * Product-neutral file model used by the Agent summary and preview workspace.
134
+ * Consumers own URL resolution, authorization, and file rendering.
135
+ */
136
+ interface AgentWorkbenchArtifactItem {
137
+ id: string;
138
+ name: string;
139
+ origin: AgentWorkbenchArtifactOrigin;
140
+ kind: AgentWorkbenchArtifactKind;
141
+ status?: AgentWorkbenchArtifactStatus;
142
+ url?: string;
143
+ thumbnailUrl?: string;
144
+ mimeType?: string;
145
+ description?: string;
146
+ updatedAt?: string;
147
+ }
148
+ type AgentWorkbenchArtifactWorkspaceIntent = {
149
+ type: 'close-workspace';
150
+ } | {
151
+ type: 'close';
152
+ artifactId: string;
153
+ } | {
154
+ type: 'download';
155
+ artifactId: string;
156
+ } | {
157
+ type: 'open-external';
158
+ artifactId: string;
159
+ } | {
160
+ type: 'reorder';
161
+ artifactId: string;
162
+ overArtifactId: string;
163
+ } | {
164
+ type: 'select';
165
+ artifactId: string;
166
+ };
167
+ interface AgentWorkbenchArtifactSummaryProps {
168
+ artifacts: readonly AgentWorkbenchArtifactItem[];
169
+ open?: boolean;
170
+ defaultOpen?: boolean;
171
+ maxItemsPerGroup?: number;
172
+ showAll?: boolean;
173
+ className?: string;
174
+ contentClassName?: string;
175
+ onOpenChange?: (open: boolean) => void;
176
+ onArtifactOpen?: (artifact: AgentWorkbenchArtifactItem) => void;
177
+ onViewAll?: () => void;
178
+ }
179
+ declare function AgentWorkbenchArtifactSummary({ artifacts, open, defaultOpen, maxItemsPerGroup, showAll, className, contentClassName, onOpenChange, onArtifactOpen, onViewAll, }: AgentWorkbenchArtifactSummaryProps): null | react_jsx_runtime.JSX.Element;
180
+ interface AgentWorkbenchArtifactWorkspaceProps {
181
+ artifacts: readonly AgentWorkbenchArtifactItem[];
182
+ activeArtifactId?: string;
183
+ className?: string;
184
+ renderArtifact: (artifact: AgentWorkbenchArtifactItem) => ReactNode;
185
+ onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
186
+ }
187
+ declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
188
+ export { AgentWorkbenchAction, type AgentWorkbenchActionKind, type AgentWorkbenchActionProps, type AgentWorkbenchActionStatus, AgentWorkbenchApprovalIntent, AgentWorkbenchArtifactIntent, type AgentWorkbenchArtifactItem, type AgentWorkbenchArtifactKind, type AgentWorkbenchArtifactOrigin, type AgentWorkbenchArtifactStatus, AgentWorkbenchArtifactSummary, type AgentWorkbenchArtifactSummaryProps, AgentWorkbenchArtifactWorkspace, type AgentWorkbenchArtifactWorkspaceIntent, type AgentWorkbenchArtifactWorkspaceProps, AgentWorkbenchComposer, type AgentWorkbenchComposerClassNames, type AgentWorkbenchComposerIntent, type AgentWorkbenchComposerProps, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps };