@inf-monkeys-tech/monkeys-design 1.0.85 → 1.0.86-canary.269.1.012a79e
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/components/agent-workbench/index.d.mts +34 -34
- package/dist/components/agent-workbench/index.d.ts +34 -34
- package/dist/components/agent-workbench/index.js +1120 -453
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +1119 -455
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/base/index.js +33 -6
- package/dist/components/base/index.js.map +1 -1
- package/dist/components/base/index.mjs +33 -6
- package/dist/components/base/index.mjs.map +1 -1
- package/dist/components/data-explorer/index.js +33 -6
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +33 -6
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/layout/index.js +33 -6
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/index.mjs +33 -6
- package/dist/components/layout/index.mjs.map +1 -1
- package/dist/components/navigation-sidebar/index.js +33 -6
- package/dist/components/navigation-sidebar/index.js.map +1 -1
- package/dist/components/navigation-sidebar/index.mjs +33 -6
- package/dist/components/navigation-sidebar/index.mjs.map +1 -1
- package/dist/components/runtime/index.js +33 -6
- package/dist/components/runtime/index.js.map +1 -1
- package/dist/components/runtime/index.mjs +33 -6
- package/dist/components/runtime/index.mjs.map +1 -1
- package/dist/components/toast/index.d.mts +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +33 -6
- package/dist/components/toast/index.js.map +1 -1
- package/dist/components/toast/index.mjs +33 -6
- package/dist/components/toast/index.mjs.map +1 -1
- package/dist/components/toolbar/index.js +33 -6
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/components/toolbar/index.mjs +33 -6
- package/dist/components/toolbar/index.mjs.map +1 -1
- package/dist/components/workbench/index.js +33 -6
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +33 -6
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/{details-model-0a4d9b50c99d.d.mts → details-model-06b1a44badc2.d.mts} +40 -19
- package/dist/{details-model-0a4d9b50c99d.d.ts → details-model-06b1a44badc2.d.ts} +40 -19
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +287 -82
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +287 -82
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.d.mts +16 -8
- package/dist/locale/index.d.ts +16 -8
- package/dist/locale/index.js +66 -12
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/index.mjs +66 -12
- package/dist/locale/index.mjs.map +1 -1
- package/dist/provider/index.d.mts +2 -2
- package/dist/provider/index.d.ts +2 -2
- package/dist/provider/index.js +66 -12
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/index.mjs +66 -12
- package/dist/provider/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-9c410e33a06b.d.mts → types-89825c97f499.d.mts} +37 -33
- package/dist/{types-9c410e33a06b.d.ts → types-89825c97f499.d.ts} +37 -33
- package/package.json +1 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
+
import { L as AgentWorkbenchAppearanceOptions, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-06b1a44badc2.mjs';
|
|
2
|
+
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, M as AgentWorkbenchAppearance, N as AgentWorkbenchAppearanceProvider, O as AgentWorkbenchAppearanceProviderProps, P as AgentWorkbenchApproval, Q as AgentWorkbenchApprovalData, R as AgentWorkbenchApprovalProps, S as AgentWorkbenchDensity, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, T as AgentWorkbenchExploreCardMedia, U as AgentWorkbenchExploreCardMediaProps, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, V as AgentWorkbenchExploreMediaTreatment, W as AgentWorkbenchExploreMediaVariant, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, X as AgentWorkbenchSurface, Y as AgentWorkbenchSurfaceLevel, Z as AgentWorkbenchSurfaceProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, _ as AgentWorkbenchVariant, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel, $ as resolveAgentWorkbenchAppearance } from '../../details-model-06b1a44badc2.mjs';
|
|
1
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
4
|
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentWorkbenchQuickStartViewModel, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
3
5
|
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
4
|
-
import { d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-0a4d9b50c99d.mjs';
|
|
5
|
-
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, L as AgentWorkbenchApproval, M as AgentWorkbenchApprovalData, N as AgentWorkbenchApprovalProps, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, O as AgentWorkbenchExploreCardMedia, P as AgentWorkbenchExploreCardMediaProps, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, Q as AgentWorkbenchExploreMediaTreatment, R as AgentWorkbenchExploreMediaVariant, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from '../../details-model-0a4d9b50c99d.mjs';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ReactNode, HTMLAttributes, ButtonHTMLAttributes, ComponentType } from 'react';
|
|
8
8
|
type AgentWorkbenchComposerIntent = {
|
|
9
|
-
type:
|
|
10
|
-
mode:
|
|
9
|
+
type: "change-mode";
|
|
10
|
+
mode: "chat" | "work";
|
|
11
11
|
} | {
|
|
12
|
-
type:
|
|
12
|
+
type: "change-permission";
|
|
13
13
|
value: AgentSessionPermissionProfile;
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
16
|
-
value:
|
|
15
|
+
type: "change-reasoning";
|
|
16
|
+
value: "high" | "low" | "medium" | "xhigh";
|
|
17
17
|
} | {
|
|
18
|
-
type:
|
|
18
|
+
type: "change-value";
|
|
19
19
|
value: string;
|
|
20
20
|
} | {
|
|
21
|
-
type:
|
|
21
|
+
type: "delete-queued-draft";
|
|
22
22
|
draftId: string;
|
|
23
23
|
} | {
|
|
24
|
-
type:
|
|
24
|
+
type: "edit-queued-draft";
|
|
25
25
|
draftId: string;
|
|
26
26
|
text: string;
|
|
27
27
|
} | {
|
|
28
|
-
type:
|
|
28
|
+
type: "move-queued-draft";
|
|
29
29
|
draftId: string;
|
|
30
|
-
direction:
|
|
30
|
+
direction: "down" | "up";
|
|
31
31
|
} | {
|
|
32
|
-
type:
|
|
32
|
+
type: "remove-attachment";
|
|
33
33
|
attachmentId: string;
|
|
34
34
|
} | {
|
|
35
|
-
type:
|
|
35
|
+
type: "request-attachments";
|
|
36
36
|
files: File[];
|
|
37
37
|
} | {
|
|
38
|
-
type:
|
|
38
|
+
type: "request-voice-input";
|
|
39
39
|
} | {
|
|
40
|
-
type:
|
|
40
|
+
type: "retry-attachment";
|
|
41
41
|
attachmentId: string;
|
|
42
42
|
} | {
|
|
43
|
-
type:
|
|
43
|
+
type: "select-input-action";
|
|
44
44
|
actionId: string;
|
|
45
45
|
} | {
|
|
46
|
-
type:
|
|
46
|
+
type: "select-model";
|
|
47
47
|
modelId: string;
|
|
48
|
-
mode:
|
|
48
|
+
mode: "chat" | "work";
|
|
49
49
|
} | {
|
|
50
|
-
type:
|
|
50
|
+
type: "stop";
|
|
51
51
|
} | {
|
|
52
|
-
type:
|
|
52
|
+
type: "submit";
|
|
53
53
|
} | {
|
|
54
|
-
type:
|
|
54
|
+
type: "toggle-web-search";
|
|
55
55
|
enabled: boolean;
|
|
56
56
|
};
|
|
57
57
|
interface AgentWorkbenchComposerClassNames {
|
|
@@ -61,7 +61,7 @@ interface AgentWorkbenchComposerClassNames {
|
|
|
61
61
|
textarea?: string;
|
|
62
62
|
toolbar?: string;
|
|
63
63
|
}
|
|
64
|
-
interface AgentWorkbenchComposerProps {
|
|
64
|
+
interface AgentWorkbenchComposerProps extends AgentWorkbenchAppearanceOptions {
|
|
65
65
|
viewModel: AgentWorkbenchComposerViewModel;
|
|
66
66
|
modeSelectionEnabled?: boolean;
|
|
67
67
|
modeFilteringEnabled?: boolean;
|
|
@@ -69,7 +69,7 @@ interface AgentWorkbenchComposerProps {
|
|
|
69
69
|
classNames?: AgentWorkbenchComposerClassNames;
|
|
70
70
|
onIntent?: (intent: AgentWorkbenchComposerIntent) => void;
|
|
71
71
|
}
|
|
72
|
-
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, variant, density, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
73
73
|
type AgentWorkbenchQuickStartIntent = {
|
|
74
74
|
type: 'change-category';
|
|
75
75
|
categoryId?: string;
|
|
@@ -143,15 +143,15 @@ interface AgentWorkbenchThreadShellClassNames {
|
|
|
143
143
|
headerActions?: string;
|
|
144
144
|
body?: string;
|
|
145
145
|
}
|
|
146
|
-
interface AgentWorkbenchThreadShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
146
|
+
interface AgentWorkbenchThreadShellProps extends Omit<HTMLAttributes<HTMLDivElement>, "title">, AgentWorkbenchAppearanceOptions {
|
|
147
147
|
title?: ReactNode;
|
|
148
148
|
headerActions?: ReactNode;
|
|
149
149
|
showHeader?: boolean;
|
|
150
150
|
classNames?: AgentWorkbenchThreadShellClassNames;
|
|
151
151
|
}
|
|
152
152
|
declare const AgentWorkbenchThreadShell: React.ForwardRefExoticComponent<AgentWorkbenchThreadShellProps & React.RefAttributes<HTMLDivElement>>;
|
|
153
|
-
type AgentWorkbenchProcessStatus =
|
|
154
|
-
interface AgentWorkbenchProcessProps {
|
|
153
|
+
type AgentWorkbenchProcessStatus = "completed" | "failed" | "queued" | "running" | "stopped" | "waiting_approval";
|
|
154
|
+
interface AgentWorkbenchProcessProps extends AgentWorkbenchAppearanceOptions {
|
|
155
155
|
status: AgentWorkbenchProcessStatus;
|
|
156
156
|
children: ReactNode;
|
|
157
157
|
durationMs?: number;
|
|
@@ -165,9 +165,9 @@ interface AgentWorkbenchProcessProps {
|
|
|
165
165
|
label?: string;
|
|
166
166
|
showStatusIcon?: boolean;
|
|
167
167
|
}
|
|
168
|
-
declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, showStatusIcon, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
|
|
169
|
-
type AgentWorkbenchActionKind =
|
|
170
|
-
type AgentWorkbenchActionStatus =
|
|
168
|
+
declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, showStatusIcon, variant, density, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
|
|
169
|
+
type AgentWorkbenchActionKind = "command" | "file" | "read" | "search" | "tool";
|
|
170
|
+
type AgentWorkbenchActionStatus = "completed" | "denied" | "failed" | "pending" | "running";
|
|
171
171
|
interface AgentWorkbenchActionProps {
|
|
172
172
|
summary: ReactNode;
|
|
173
173
|
kind?: AgentWorkbenchActionKind;
|
|
@@ -178,7 +178,7 @@ interface AgentWorkbenchActionProps {
|
|
|
178
178
|
onOpenChange?: (open: boolean) => void;
|
|
179
179
|
icon?: ComponentType<{
|
|
180
180
|
className?: string;
|
|
181
|
-
|
|
181
|
+
"aria-hidden"?: "true" | boolean;
|
|
182
182
|
}>;
|
|
183
183
|
className?: string;
|
|
184
184
|
contentClassName?: string;
|
|
@@ -238,12 +238,12 @@ interface AgentWorkbenchArtifactSummaryProps {
|
|
|
238
238
|
onViewAll?: () => void;
|
|
239
239
|
}
|
|
240
240
|
declare function AgentWorkbenchArtifactSummary({ artifacts, open, defaultOpen, maxItemsPerGroup, showAll, className, contentClassName, onOpenChange, onArtifactOpen, onViewAll, }: AgentWorkbenchArtifactSummaryProps): null | react_jsx_runtime.JSX.Element;
|
|
241
|
-
interface AgentWorkbenchArtifactWorkspaceProps {
|
|
241
|
+
interface AgentWorkbenchArtifactWorkspaceProps extends AgentWorkbenchAppearanceOptions {
|
|
242
242
|
artifacts: readonly AgentWorkbenchArtifactItem[];
|
|
243
243
|
activeArtifactId?: string;
|
|
244
244
|
className?: string;
|
|
245
245
|
renderArtifact: (artifact: AgentWorkbenchArtifactItem) => ReactNode;
|
|
246
246
|
onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
|
|
247
247
|
}
|
|
248
|
-
declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
|
|
249
|
-
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, AgentWorkbenchMessage, AgentWorkbenchMessageAction, type AgentWorkbenchMessageActionProps, AgentWorkbenchMessageActions, type AgentWorkbenchMessageActionsProps, AgentWorkbenchMessageContent, type AgentWorkbenchMessageContentProps, type AgentWorkbenchMessageProps, type AgentWorkbenchMessageRole, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchQuickStart, type AgentWorkbenchQuickStartIntent, type AgentWorkbenchQuickStartProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|
|
248
|
+
declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, variant, density, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
|
|
249
|
+
export { AgentWorkbenchAction, type AgentWorkbenchActionKind, type AgentWorkbenchActionProps, type AgentWorkbenchActionStatus, AgentWorkbenchAppearanceOptions, 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, AgentWorkbenchMessage, AgentWorkbenchMessageAction, type AgentWorkbenchMessageActionProps, AgentWorkbenchMessageActions, type AgentWorkbenchMessageActionsProps, AgentWorkbenchMessageContent, type AgentWorkbenchMessageContentProps, type AgentWorkbenchMessageProps, type AgentWorkbenchMessageRole, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchQuickStart, type AgentWorkbenchQuickStartIntent, type AgentWorkbenchQuickStartProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
+
import { L as AgentWorkbenchAppearanceOptions, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-06b1a44badc2.js';
|
|
2
|
+
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, M as AgentWorkbenchAppearance, N as AgentWorkbenchAppearanceProvider, O as AgentWorkbenchAppearanceProviderProps, P as AgentWorkbenchApproval, Q as AgentWorkbenchApprovalData, R as AgentWorkbenchApprovalProps, S as AgentWorkbenchDensity, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, T as AgentWorkbenchExploreCardMedia, U as AgentWorkbenchExploreCardMediaProps, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, V as AgentWorkbenchExploreMediaTreatment, W as AgentWorkbenchExploreMediaVariant, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, X as AgentWorkbenchSurface, Y as AgentWorkbenchSurfaceLevel, Z as AgentWorkbenchSurfaceProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, _ as AgentWorkbenchVariant, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel, $ as resolveAgentWorkbenchAppearance } from '../../details-model-06b1a44badc2.js';
|
|
1
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
4
|
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentWorkbenchQuickStartViewModel, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
3
5
|
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
4
|
-
import { d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent } from '../../details-model-0a4d9b50c99d.js';
|
|
5
|
-
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, L as AgentWorkbenchApproval, M as AgentWorkbenchApprovalData, N as AgentWorkbenchApprovalProps, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, O as AgentWorkbenchExploreCardMedia, P as AgentWorkbenchExploreCardMediaProps, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, Q as AgentWorkbenchExploreMediaTreatment, R as AgentWorkbenchExploreMediaVariant, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from '../../details-model-0a4d9b50c99d.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ReactNode, HTMLAttributes, ButtonHTMLAttributes, ComponentType } from 'react';
|
|
8
8
|
type AgentWorkbenchComposerIntent = {
|
|
9
|
-
type:
|
|
10
|
-
mode:
|
|
9
|
+
type: "change-mode";
|
|
10
|
+
mode: "chat" | "work";
|
|
11
11
|
} | {
|
|
12
|
-
type:
|
|
12
|
+
type: "change-permission";
|
|
13
13
|
value: AgentSessionPermissionProfile;
|
|
14
14
|
} | {
|
|
15
|
-
type:
|
|
16
|
-
value:
|
|
15
|
+
type: "change-reasoning";
|
|
16
|
+
value: "high" | "low" | "medium" | "xhigh";
|
|
17
17
|
} | {
|
|
18
|
-
type:
|
|
18
|
+
type: "change-value";
|
|
19
19
|
value: string;
|
|
20
20
|
} | {
|
|
21
|
-
type:
|
|
21
|
+
type: "delete-queued-draft";
|
|
22
22
|
draftId: string;
|
|
23
23
|
} | {
|
|
24
|
-
type:
|
|
24
|
+
type: "edit-queued-draft";
|
|
25
25
|
draftId: string;
|
|
26
26
|
text: string;
|
|
27
27
|
} | {
|
|
28
|
-
type:
|
|
28
|
+
type: "move-queued-draft";
|
|
29
29
|
draftId: string;
|
|
30
|
-
direction:
|
|
30
|
+
direction: "down" | "up";
|
|
31
31
|
} | {
|
|
32
|
-
type:
|
|
32
|
+
type: "remove-attachment";
|
|
33
33
|
attachmentId: string;
|
|
34
34
|
} | {
|
|
35
|
-
type:
|
|
35
|
+
type: "request-attachments";
|
|
36
36
|
files: File[];
|
|
37
37
|
} | {
|
|
38
|
-
type:
|
|
38
|
+
type: "request-voice-input";
|
|
39
39
|
} | {
|
|
40
|
-
type:
|
|
40
|
+
type: "retry-attachment";
|
|
41
41
|
attachmentId: string;
|
|
42
42
|
} | {
|
|
43
|
-
type:
|
|
43
|
+
type: "select-input-action";
|
|
44
44
|
actionId: string;
|
|
45
45
|
} | {
|
|
46
|
-
type:
|
|
46
|
+
type: "select-model";
|
|
47
47
|
modelId: string;
|
|
48
|
-
mode:
|
|
48
|
+
mode: "chat" | "work";
|
|
49
49
|
} | {
|
|
50
|
-
type:
|
|
50
|
+
type: "stop";
|
|
51
51
|
} | {
|
|
52
|
-
type:
|
|
52
|
+
type: "submit";
|
|
53
53
|
} | {
|
|
54
|
-
type:
|
|
54
|
+
type: "toggle-web-search";
|
|
55
55
|
enabled: boolean;
|
|
56
56
|
};
|
|
57
57
|
interface AgentWorkbenchComposerClassNames {
|
|
@@ -61,7 +61,7 @@ interface AgentWorkbenchComposerClassNames {
|
|
|
61
61
|
textarea?: string;
|
|
62
62
|
toolbar?: string;
|
|
63
63
|
}
|
|
64
|
-
interface AgentWorkbenchComposerProps {
|
|
64
|
+
interface AgentWorkbenchComposerProps extends AgentWorkbenchAppearanceOptions {
|
|
65
65
|
viewModel: AgentWorkbenchComposerViewModel;
|
|
66
66
|
modeSelectionEnabled?: boolean;
|
|
67
67
|
modeFilteringEnabled?: boolean;
|
|
@@ -69,7 +69,7 @@ interface AgentWorkbenchComposerProps {
|
|
|
69
69
|
classNames?: AgentWorkbenchComposerClassNames;
|
|
70
70
|
onIntent?: (intent: AgentWorkbenchComposerIntent) => void;
|
|
71
71
|
}
|
|
72
|
-
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, variant, density, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
73
73
|
type AgentWorkbenchQuickStartIntent = {
|
|
74
74
|
type: 'change-category';
|
|
75
75
|
categoryId?: string;
|
|
@@ -143,15 +143,15 @@ interface AgentWorkbenchThreadShellClassNames {
|
|
|
143
143
|
headerActions?: string;
|
|
144
144
|
body?: string;
|
|
145
145
|
}
|
|
146
|
-
interface AgentWorkbenchThreadShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
146
|
+
interface AgentWorkbenchThreadShellProps extends Omit<HTMLAttributes<HTMLDivElement>, "title">, AgentWorkbenchAppearanceOptions {
|
|
147
147
|
title?: ReactNode;
|
|
148
148
|
headerActions?: ReactNode;
|
|
149
149
|
showHeader?: boolean;
|
|
150
150
|
classNames?: AgentWorkbenchThreadShellClassNames;
|
|
151
151
|
}
|
|
152
152
|
declare const AgentWorkbenchThreadShell: React.ForwardRefExoticComponent<AgentWorkbenchThreadShellProps & React.RefAttributes<HTMLDivElement>>;
|
|
153
|
-
type AgentWorkbenchProcessStatus =
|
|
154
|
-
interface AgentWorkbenchProcessProps {
|
|
153
|
+
type AgentWorkbenchProcessStatus = "completed" | "failed" | "queued" | "running" | "stopped" | "waiting_approval";
|
|
154
|
+
interface AgentWorkbenchProcessProps extends AgentWorkbenchAppearanceOptions {
|
|
155
155
|
status: AgentWorkbenchProcessStatus;
|
|
156
156
|
children: ReactNode;
|
|
157
157
|
durationMs?: number;
|
|
@@ -165,9 +165,9 @@ interface AgentWorkbenchProcessProps {
|
|
|
165
165
|
label?: string;
|
|
166
166
|
showStatusIcon?: boolean;
|
|
167
167
|
}
|
|
168
|
-
declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, showStatusIcon, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
|
|
169
|
-
type AgentWorkbenchActionKind =
|
|
170
|
-
type AgentWorkbenchActionStatus =
|
|
168
|
+
declare function AgentWorkbenchProcess({ status, children, durationMs, completedCount, totalCount, open, defaultOpen, onOpenChange, className, contentClassName, label, showStatusIcon, variant, density, }: AgentWorkbenchProcessProps): react_jsx_runtime.JSX.Element;
|
|
169
|
+
type AgentWorkbenchActionKind = "command" | "file" | "read" | "search" | "tool";
|
|
170
|
+
type AgentWorkbenchActionStatus = "completed" | "denied" | "failed" | "pending" | "running";
|
|
171
171
|
interface AgentWorkbenchActionProps {
|
|
172
172
|
summary: ReactNode;
|
|
173
173
|
kind?: AgentWorkbenchActionKind;
|
|
@@ -178,7 +178,7 @@ interface AgentWorkbenchActionProps {
|
|
|
178
178
|
onOpenChange?: (open: boolean) => void;
|
|
179
179
|
icon?: ComponentType<{
|
|
180
180
|
className?: string;
|
|
181
|
-
|
|
181
|
+
"aria-hidden"?: "true" | boolean;
|
|
182
182
|
}>;
|
|
183
183
|
className?: string;
|
|
184
184
|
contentClassName?: string;
|
|
@@ -238,12 +238,12 @@ interface AgentWorkbenchArtifactSummaryProps {
|
|
|
238
238
|
onViewAll?: () => void;
|
|
239
239
|
}
|
|
240
240
|
declare function AgentWorkbenchArtifactSummary({ artifacts, open, defaultOpen, maxItemsPerGroup, showAll, className, contentClassName, onOpenChange, onArtifactOpen, onViewAll, }: AgentWorkbenchArtifactSummaryProps): null | react_jsx_runtime.JSX.Element;
|
|
241
|
-
interface AgentWorkbenchArtifactWorkspaceProps {
|
|
241
|
+
interface AgentWorkbenchArtifactWorkspaceProps extends AgentWorkbenchAppearanceOptions {
|
|
242
242
|
artifacts: readonly AgentWorkbenchArtifactItem[];
|
|
243
243
|
activeArtifactId?: string;
|
|
244
244
|
className?: string;
|
|
245
245
|
renderArtifact: (artifact: AgentWorkbenchArtifactItem) => ReactNode;
|
|
246
246
|
onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
|
|
247
247
|
}
|
|
248
|
-
declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
|
|
249
|
-
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, AgentWorkbenchMessage, AgentWorkbenchMessageAction, type AgentWorkbenchMessageActionProps, AgentWorkbenchMessageActions, type AgentWorkbenchMessageActionsProps, AgentWorkbenchMessageContent, type AgentWorkbenchMessageContentProps, type AgentWorkbenchMessageProps, type AgentWorkbenchMessageRole, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchQuickStart, type AgentWorkbenchQuickStartIntent, type AgentWorkbenchQuickStartProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|
|
248
|
+
declare function AgentWorkbenchArtifactWorkspace({ artifacts, activeArtifactId, className, variant, density, renderArtifact, onIntent, }: AgentWorkbenchArtifactWorkspaceProps): null | react_jsx_runtime.JSX.Element;
|
|
249
|
+
export { AgentWorkbenchAction, type AgentWorkbenchActionKind, type AgentWorkbenchActionProps, type AgentWorkbenchActionStatus, AgentWorkbenchAppearanceOptions, 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, AgentWorkbenchMessage, AgentWorkbenchMessageAction, type AgentWorkbenchMessageActionProps, AgentWorkbenchMessageActions, type AgentWorkbenchMessageActionsProps, AgentWorkbenchMessageContent, type AgentWorkbenchMessageContentProps, type AgentWorkbenchMessageProps, type AgentWorkbenchMessageRole, AgentWorkbenchProcess, type AgentWorkbenchProcessProps, type AgentWorkbenchProcessStatus, AgentWorkbenchQuickStart, type AgentWorkbenchQuickStartIntent, type AgentWorkbenchQuickStartProps, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|