@inf-monkeys-tech/monkeys-design 1.0.107 → 1.0.108
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 +4 -23
- package/dist/components/agent-workbench/index.d.ts +4 -23
- package/dist/{details-model-2709d7a575c3.d.mts → details-model-c55c1c493c48.d.mts} +21 -2
- package/dist/{details-model-2709d7a575c3.d.ts → details-model-c55c1c493c48.d.ts} +21 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +170 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +171 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps,
|
|
1
|
+
import { U as AgentWorkbenchAppearanceOptions, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent } from '../../details-model-c55c1c493c48.mjs';
|
|
2
|
+
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, V as AgentWorkbenchAppearance, W as AgentWorkbenchAppearanceProvider, X as AgentWorkbenchAppearanceProviderProps, Y as AgentWorkbenchApproval, Z as AgentWorkbenchApprovalData, _ as AgentWorkbenchApprovalProps, $ as AgentWorkbenchDensity, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, a0 as AgentWorkbenchExploreCardMedia, a1 as AgentWorkbenchExploreCardMediaProps, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, a2 as AgentWorkbenchExploreMediaTreatment, a3 as AgentWorkbenchExploreMediaVariant, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchQuickStart, s as AgentWorkbenchQuickStartIntent, t as AgentWorkbenchQuickStartProps, u as AgentWorkbenchShell, v as AgentWorkbenchShellBreakpoints, w as AgentWorkbenchShellClassNames, x as AgentWorkbenchShellLabels, y as AgentWorkbenchShellLayout, z as AgentWorkbenchShellMeasurement, B as AgentWorkbenchShellProps, C as AgentWorkbenchSidebar, D as AgentWorkbenchSidebarClassNames, E as AgentWorkbenchSidebarContainer, F as AgentWorkbenchSidebarContainerBodyProps, G as AgentWorkbenchSidebarContainerClassNames, H as AgentWorkbenchSidebarContainerProps, I as AgentWorkbenchSidebarIntent, J as AgentWorkbenchSidebarProps, a4 as AgentWorkbenchSurface, a5 as AgentWorkbenchSurfaceLevel, a6 as AgentWorkbenchSurfaceProps, K as AgentWorkbenchTaskDetails, L as AgentWorkbenchTaskDetailsClassNames, M as AgentWorkbenchTaskDetailsProps, N as AgentWorkbenchTerminalModel, O as AgentWorkbenchTool, P as AgentWorkbenchToolClassNames, Q as AgentWorkbenchToolProps, a7 as AgentWorkbenchVariant, R as createAgentWorkbenchActivityModel, S as createAgentWorkbenchDetailsModel, a8 as resolveAgentWorkbenchAppearance, T as resolveAgentWorkbenchShellLayout } from '../../details-model-c55c1c493c48.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile,
|
|
4
|
+
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
5
5
|
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ReactNode, HTMLAttributes, ButtonHTMLAttributes, ComponentType } from 'react';
|
|
@@ -70,25 +70,6 @@ interface AgentWorkbenchComposerProps extends AgentWorkbenchAppearanceOptions {
|
|
|
70
70
|
onIntent?: (intent: AgentWorkbenchComposerIntent) => void;
|
|
71
71
|
}
|
|
72
72
|
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, variant, density, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
73
|
-
type AgentWorkbenchQuickStartIntent = {
|
|
74
|
-
type: 'change-category';
|
|
75
|
-
categoryId?: string;
|
|
76
|
-
} | {
|
|
77
|
-
type: 'change-section';
|
|
78
|
-
categoryId: string;
|
|
79
|
-
sectionId: string;
|
|
80
|
-
} | {
|
|
81
|
-
type: 'select-template';
|
|
82
|
-
templateId: string;
|
|
83
|
-
prompt: string;
|
|
84
|
-
files?: File[];
|
|
85
|
-
};
|
|
86
|
-
interface AgentWorkbenchQuickStartProps {
|
|
87
|
-
viewModel: AgentWorkbenchQuickStartViewModel;
|
|
88
|
-
className?: string;
|
|
89
|
-
onIntent?: (intent: AgentWorkbenchQuickStartIntent) => void;
|
|
90
|
-
}
|
|
91
|
-
declare function AgentWorkbenchQuickStart({ viewModel, className, onIntent }: AgentWorkbenchQuickStartProps): null | react_jsx_runtime.JSX.Element;
|
|
92
73
|
type MessageEvent = Extract<AgentSessionEvent, {
|
|
93
74
|
eventType: 'message';
|
|
94
75
|
}>;
|
|
@@ -246,4 +227,4 @@ interface AgentWorkbenchArtifactWorkspaceProps extends AgentWorkbenchAppearanceO
|
|
|
246
227
|
onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
|
|
247
228
|
}
|
|
248
229
|
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,
|
|
230
|
+
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, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps,
|
|
1
|
+
import { U as AgentWorkbenchAppearanceOptions, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent } from '../../details-model-c55c1c493c48.js';
|
|
2
|
+
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, V as AgentWorkbenchAppearance, W as AgentWorkbenchAppearanceProvider, X as AgentWorkbenchAppearanceProviderProps, Y as AgentWorkbenchApproval, Z as AgentWorkbenchApprovalData, _ as AgentWorkbenchApprovalProps, $ as AgentWorkbenchDensity, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, a0 as AgentWorkbenchExploreCardMedia, a1 as AgentWorkbenchExploreCardMediaProps, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, a2 as AgentWorkbenchExploreMediaTreatment, a3 as AgentWorkbenchExploreMediaVariant, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchQuickStart, s as AgentWorkbenchQuickStartIntent, t as AgentWorkbenchQuickStartProps, u as AgentWorkbenchShell, v as AgentWorkbenchShellBreakpoints, w as AgentWorkbenchShellClassNames, x as AgentWorkbenchShellLabels, y as AgentWorkbenchShellLayout, z as AgentWorkbenchShellMeasurement, B as AgentWorkbenchShellProps, C as AgentWorkbenchSidebar, D as AgentWorkbenchSidebarClassNames, E as AgentWorkbenchSidebarContainer, F as AgentWorkbenchSidebarContainerBodyProps, G as AgentWorkbenchSidebarContainerClassNames, H as AgentWorkbenchSidebarContainerProps, I as AgentWorkbenchSidebarIntent, J as AgentWorkbenchSidebarProps, a4 as AgentWorkbenchSurface, a5 as AgentWorkbenchSurfaceLevel, a6 as AgentWorkbenchSurfaceProps, K as AgentWorkbenchTaskDetails, L as AgentWorkbenchTaskDetailsClassNames, M as AgentWorkbenchTaskDetailsProps, N as AgentWorkbenchTerminalModel, O as AgentWorkbenchTool, P as AgentWorkbenchToolClassNames, Q as AgentWorkbenchToolProps, a7 as AgentWorkbenchVariant, R as createAgentWorkbenchActivityModel, S as createAgentWorkbenchDetailsModel, a8 as resolveAgentWorkbenchAppearance, T as resolveAgentWorkbenchShellLayout } from '../../details-model-c55c1c493c48.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile,
|
|
4
|
+
import { AgentWorkbenchComposerViewModel, AgentSessionPermissionProfile, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
5
5
|
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ReactNode, HTMLAttributes, ButtonHTMLAttributes, ComponentType } from 'react';
|
|
@@ -70,25 +70,6 @@ interface AgentWorkbenchComposerProps extends AgentWorkbenchAppearanceOptions {
|
|
|
70
70
|
onIntent?: (intent: AgentWorkbenchComposerIntent) => void;
|
|
71
71
|
}
|
|
72
72
|
declare function AgentWorkbenchComposer({ viewModel, modeSelectionEnabled, modeFilteringEnabled, variant, density, className, classNames, onIntent, }: AgentWorkbenchComposerProps): react_jsx_runtime.JSX.Element;
|
|
73
|
-
type AgentWorkbenchQuickStartIntent = {
|
|
74
|
-
type: 'change-category';
|
|
75
|
-
categoryId?: string;
|
|
76
|
-
} | {
|
|
77
|
-
type: 'change-section';
|
|
78
|
-
categoryId: string;
|
|
79
|
-
sectionId: string;
|
|
80
|
-
} | {
|
|
81
|
-
type: 'select-template';
|
|
82
|
-
templateId: string;
|
|
83
|
-
prompt: string;
|
|
84
|
-
files?: File[];
|
|
85
|
-
};
|
|
86
|
-
interface AgentWorkbenchQuickStartProps {
|
|
87
|
-
viewModel: AgentWorkbenchQuickStartViewModel;
|
|
88
|
-
className?: string;
|
|
89
|
-
onIntent?: (intent: AgentWorkbenchQuickStartIntent) => void;
|
|
90
|
-
}
|
|
91
|
-
declare function AgentWorkbenchQuickStart({ viewModel, className, onIntent }: AgentWorkbenchQuickStartProps): null | react_jsx_runtime.JSX.Element;
|
|
92
73
|
type MessageEvent = Extract<AgentSessionEvent, {
|
|
93
74
|
eventType: 'message';
|
|
94
75
|
}>;
|
|
@@ -246,4 +227,4 @@ interface AgentWorkbenchArtifactWorkspaceProps extends AgentWorkbenchAppearanceO
|
|
|
246
227
|
onIntent?: (intent: AgentWorkbenchArtifactWorkspaceIntent) => void;
|
|
247
228
|
}
|
|
248
229
|
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,
|
|
230
|
+
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, AgentWorkbenchThread, type AgentWorkbenchThreadClassNames, type AgentWorkbenchThreadMessage, type AgentWorkbenchThreadProps, AgentWorkbenchThreadShell, type AgentWorkbenchThreadShellClassNames, type AgentWorkbenchThreadShellProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSidebarConfig, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
2
|
+
import { AgentWorkbenchQuickStartViewModel, AgentWorkbenchNavigationViewModel, AgentWorkbenchSidebarConfig, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ReactNode, HTMLAttributes, ReactEventHandler } from 'react';
|
|
5
5
|
type AgentWorkbenchVariant = "default" | "trend";
|
|
@@ -23,6 +23,25 @@ interface AgentWorkbenchSurfaceProps extends HTMLAttributes<HTMLDivElement>, Age
|
|
|
23
23
|
}
|
|
24
24
|
/** Semantic surface primitive shared by Agent workbench regions and overlays. */
|
|
25
25
|
declare const AgentWorkbenchSurface: React.ForwardRefExoticComponent<AgentWorkbenchSurfaceProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
type AgentWorkbenchQuickStartIntent = {
|
|
27
|
+
type: 'change-category';
|
|
28
|
+
categoryId?: string;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'change-section';
|
|
31
|
+
categoryId: string;
|
|
32
|
+
sectionId: string;
|
|
33
|
+
} | {
|
|
34
|
+
type: 'select-template';
|
|
35
|
+
templateId: string;
|
|
36
|
+
prompt: string;
|
|
37
|
+
files?: File[];
|
|
38
|
+
};
|
|
39
|
+
interface AgentWorkbenchQuickStartProps {
|
|
40
|
+
viewModel: AgentWorkbenchQuickStartViewModel;
|
|
41
|
+
className?: string;
|
|
42
|
+
onIntent?: (intent: AgentWorkbenchQuickStartIntent) => void;
|
|
43
|
+
}
|
|
44
|
+
declare function AgentWorkbenchQuickStart({ viewModel, className, onIntent }: AgentWorkbenchQuickStartProps): null | react_jsx_runtime.JSX.Element;
|
|
26
45
|
type AgentWorkbenchSidebarIntent = {
|
|
27
46
|
type: 'change-search';
|
|
28
47
|
query: string;
|
|
@@ -422,4 +441,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
422
441
|
};
|
|
423
442
|
}
|
|
424
443
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
425
|
-
export { type
|
|
444
|
+
export { type AgentWorkbenchDensity as $, AGENT_WORKBENCH_SHELL_BREAKPOINTS as A, type AgentWorkbenchShellProps as B, AgentWorkbenchSidebar as C, type AgentWorkbenchSidebarClassNames as D, AgentWorkbenchSidebarContainer as E, type AgentWorkbenchSidebarContainerBodyProps as F, type AgentWorkbenchSidebarContainerClassNames as G, type AgentWorkbenchSidebarContainerProps as H, type AgentWorkbenchSidebarIntent as I, type AgentWorkbenchSidebarProps as J, AgentWorkbenchTaskDetails as K, type AgentWorkbenchTaskDetailsClassNames as L, type AgentWorkbenchTaskDetailsProps as M, type AgentWorkbenchTerminalModel as N, AgentWorkbenchTool as O, type AgentWorkbenchToolClassNames as P, type AgentWorkbenchToolProps as Q, createAgentWorkbenchActivityModel as R, createAgentWorkbenchDetailsModel as S, resolveAgentWorkbenchShellLayout as T, type AgentWorkbenchAppearanceOptions as U, type AgentWorkbenchAppearance as V, AgentWorkbenchAppearanceProvider as W, type AgentWorkbenchAppearanceProviderProps as X, AgentWorkbenchApproval as Y, type AgentWorkbenchApprovalData as Z, type AgentWorkbenchApprovalProps as _, AgentWorkbenchActivity as a, AgentWorkbenchExploreCardMedia as a0, type AgentWorkbenchExploreCardMediaProps as a1, type AgentWorkbenchExploreMediaTreatment as a2, type AgentWorkbenchExploreMediaVariant as a3, AgentWorkbenchSurface as a4, type AgentWorkbenchSurfaceLevel as a5, type AgentWorkbenchSurfaceProps as a6, type AgentWorkbenchVariant as a7, resolveAgentWorkbenchAppearance as a8, type AgentWorkbenchActivityClassNames as b, type AgentWorkbenchActivityModel as c, type AgentWorkbenchActivityProps as d, type AgentWorkbenchApprovalIntent as e, type AgentWorkbenchArtifactIntent as f, type AgentWorkbenchDetailsIntent as g, type AgentWorkbenchDetailsModel as h, type AgentWorkbenchDetailsState as i, type AgentWorkbenchDetailsTab as j, type AgentWorkbenchEventOf as k, type AgentWorkbenchExploreGroup as l, type AgentWorkbenchExploreItem as m, AgentWorkbenchExploreSidebar as n, type AgentWorkbenchExploreSidebarIntent as o, type AgentWorkbenchExploreSidebarLabels as p, type AgentWorkbenchExploreSidebarProps as q, AgentWorkbenchQuickStart as r, type AgentWorkbenchQuickStartIntent as s, type AgentWorkbenchQuickStartProps as t, AgentWorkbenchShell as u, type AgentWorkbenchShellBreakpoints as v, type AgentWorkbenchShellClassNames as w, type AgentWorkbenchShellLabels as x, type AgentWorkbenchShellLayout as y, type AgentWorkbenchShellMeasurement as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSidebarConfig, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
2
|
+
import { AgentWorkbenchQuickStartViewModel, AgentWorkbenchNavigationViewModel, AgentWorkbenchSidebarConfig, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ReactNode, HTMLAttributes, ReactEventHandler } from 'react';
|
|
5
5
|
type AgentWorkbenchVariant = "default" | "trend";
|
|
@@ -23,6 +23,25 @@ interface AgentWorkbenchSurfaceProps extends HTMLAttributes<HTMLDivElement>, Age
|
|
|
23
23
|
}
|
|
24
24
|
/** Semantic surface primitive shared by Agent workbench regions and overlays. */
|
|
25
25
|
declare const AgentWorkbenchSurface: React.ForwardRefExoticComponent<AgentWorkbenchSurfaceProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
type AgentWorkbenchQuickStartIntent = {
|
|
27
|
+
type: 'change-category';
|
|
28
|
+
categoryId?: string;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'change-section';
|
|
31
|
+
categoryId: string;
|
|
32
|
+
sectionId: string;
|
|
33
|
+
} | {
|
|
34
|
+
type: 'select-template';
|
|
35
|
+
templateId: string;
|
|
36
|
+
prompt: string;
|
|
37
|
+
files?: File[];
|
|
38
|
+
};
|
|
39
|
+
interface AgentWorkbenchQuickStartProps {
|
|
40
|
+
viewModel: AgentWorkbenchQuickStartViewModel;
|
|
41
|
+
className?: string;
|
|
42
|
+
onIntent?: (intent: AgentWorkbenchQuickStartIntent) => void;
|
|
43
|
+
}
|
|
44
|
+
declare function AgentWorkbenchQuickStart({ viewModel, className, onIntent }: AgentWorkbenchQuickStartProps): null | react_jsx_runtime.JSX.Element;
|
|
26
45
|
type AgentWorkbenchSidebarIntent = {
|
|
27
46
|
type: 'change-search';
|
|
28
47
|
query: string;
|
|
@@ -422,4 +441,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
422
441
|
};
|
|
423
442
|
}
|
|
424
443
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
425
|
-
export { type
|
|
444
|
+
export { type AgentWorkbenchDensity as $, AGENT_WORKBENCH_SHELL_BREAKPOINTS as A, type AgentWorkbenchShellProps as B, AgentWorkbenchSidebar as C, type AgentWorkbenchSidebarClassNames as D, AgentWorkbenchSidebarContainer as E, type AgentWorkbenchSidebarContainerBodyProps as F, type AgentWorkbenchSidebarContainerClassNames as G, type AgentWorkbenchSidebarContainerProps as H, type AgentWorkbenchSidebarIntent as I, type AgentWorkbenchSidebarProps as J, AgentWorkbenchTaskDetails as K, type AgentWorkbenchTaskDetailsClassNames as L, type AgentWorkbenchTaskDetailsProps as M, type AgentWorkbenchTerminalModel as N, AgentWorkbenchTool as O, type AgentWorkbenchToolClassNames as P, type AgentWorkbenchToolProps as Q, createAgentWorkbenchActivityModel as R, createAgentWorkbenchDetailsModel as S, resolveAgentWorkbenchShellLayout as T, type AgentWorkbenchAppearanceOptions as U, type AgentWorkbenchAppearance as V, AgentWorkbenchAppearanceProvider as W, type AgentWorkbenchAppearanceProviderProps as X, AgentWorkbenchApproval as Y, type AgentWorkbenchApprovalData as Z, type AgentWorkbenchApprovalProps as _, AgentWorkbenchActivity as a, AgentWorkbenchExploreCardMedia as a0, type AgentWorkbenchExploreCardMediaProps as a1, type AgentWorkbenchExploreMediaTreatment as a2, type AgentWorkbenchExploreMediaVariant as a3, AgentWorkbenchSurface as a4, type AgentWorkbenchSurfaceLevel as a5, type AgentWorkbenchSurfaceProps as a6, type AgentWorkbenchVariant as a7, resolveAgentWorkbenchAppearance as a8, type AgentWorkbenchActivityClassNames as b, type AgentWorkbenchActivityModel as c, type AgentWorkbenchActivityProps as d, type AgentWorkbenchApprovalIntent as e, type AgentWorkbenchArtifactIntent as f, type AgentWorkbenchDetailsIntent as g, type AgentWorkbenchDetailsModel as h, type AgentWorkbenchDetailsState as i, type AgentWorkbenchDetailsTab as j, type AgentWorkbenchEventOf as k, type AgentWorkbenchExploreGroup as l, type AgentWorkbenchExploreItem as m, AgentWorkbenchExploreSidebar as n, type AgentWorkbenchExploreSidebarIntent as o, type AgentWorkbenchExploreSidebarLabels as p, type AgentWorkbenchExploreSidebarProps as q, AgentWorkbenchQuickStart as r, type AgentWorkbenchQuickStartIntent as s, type AgentWorkbenchQuickStartProps as t, AgentWorkbenchShell as u, type AgentWorkbenchShellBreakpoints as v, type AgentWorkbenchShellClassNames as w, type AgentWorkbenchShellLabels as x, type AgentWorkbenchShellLayout as y, type AgentWorkbenchShellMeasurement as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,8 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
|
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.mjs';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-89825c97f499.mjs';
|
|
7
7
|
export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.mjs';
|
|
8
|
-
export {
|
|
8
|
+
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
9
|
+
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchQuickStart, s as AgentWorkbenchQuickStartIntent, t as AgentWorkbenchQuickStartProps, u as AgentWorkbenchShell, v as AgentWorkbenchShellBreakpoints, w as AgentWorkbenchShellClassNames, x as AgentWorkbenchShellLabels, y as AgentWorkbenchShellLayout, z as AgentWorkbenchShellMeasurement, B as AgentWorkbenchShellProps, C as AgentWorkbenchSidebar, D as AgentWorkbenchSidebarClassNames, E as AgentWorkbenchSidebarContainer, F as AgentWorkbenchSidebarContainerBodyProps, G as AgentWorkbenchSidebarContainerClassNames, H as AgentWorkbenchSidebarContainerProps, I as AgentWorkbenchSidebarIntent, J as AgentWorkbenchSidebarProps, K as AgentWorkbenchTaskDetails, L as AgentWorkbenchTaskDetailsClassNames, M as AgentWorkbenchTaskDetailsProps, N as AgentWorkbenchTerminalModel, O as AgentWorkbenchTool, P as AgentWorkbenchToolClassNames, Q as AgentWorkbenchToolProps, R as createAgentWorkbenchActivityModel, S as createAgentWorkbenchDetailsModel, T as resolveAgentWorkbenchShellLayout } from './details-model-c55c1c493c48.mjs';
|
|
9
10
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.mjs';
|
|
10
11
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.mjs';
|
|
11
12
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-b50483af5a5d.mjs';
|
|
@@ -22,5 +23,4 @@ import 'lodash';
|
|
|
22
23
|
import 'chroma-js';
|
|
23
24
|
import 'react/jsx-runtime';
|
|
24
25
|
import 'react';
|
|
25
|
-
import '@inf-monkeys-tech/monkeys';
|
|
26
26
|
import '@radix-ui/react-context-menu';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
|
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.js';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-89825c97f499.js';
|
|
7
7
|
export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.js';
|
|
8
|
-
export {
|
|
8
|
+
export { AgentWorkbenchQuickStartCategory, AgentWorkbenchQuickStartIcon, AgentWorkbenchQuickStartSection, AgentWorkbenchQuickStartTemplate, AgentWorkbenchQuickStartViewModel } from '@inf-monkeys-tech/monkeys';
|
|
9
|
+
export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchQuickStart, s as AgentWorkbenchQuickStartIntent, t as AgentWorkbenchQuickStartProps, u as AgentWorkbenchShell, v as AgentWorkbenchShellBreakpoints, w as AgentWorkbenchShellClassNames, x as AgentWorkbenchShellLabels, y as AgentWorkbenchShellLayout, z as AgentWorkbenchShellMeasurement, B as AgentWorkbenchShellProps, C as AgentWorkbenchSidebar, D as AgentWorkbenchSidebarClassNames, E as AgentWorkbenchSidebarContainer, F as AgentWorkbenchSidebarContainerBodyProps, G as AgentWorkbenchSidebarContainerClassNames, H as AgentWorkbenchSidebarContainerProps, I as AgentWorkbenchSidebarIntent, J as AgentWorkbenchSidebarProps, K as AgentWorkbenchTaskDetails, L as AgentWorkbenchTaskDetailsClassNames, M as AgentWorkbenchTaskDetailsProps, N as AgentWorkbenchTerminalModel, O as AgentWorkbenchTool, P as AgentWorkbenchToolClassNames, Q as AgentWorkbenchToolProps, R as createAgentWorkbenchActivityModel, S as createAgentWorkbenchDetailsModel, T as resolveAgentWorkbenchShellLayout } from './details-model-c55c1c493c48.js';
|
|
9
10
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.js';
|
|
10
11
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.js';
|
|
11
12
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-2ec5e4970f24.js';
|
|
@@ -22,5 +23,4 @@ import 'lodash';
|
|
|
22
23
|
import 'chroma-js';
|
|
23
24
|
import 'react/jsx-runtime';
|
|
24
25
|
import 'react';
|
|
25
|
-
import '@inf-monkeys-tech/monkeys';
|
|
26
26
|
import '@radix-ui/react-context-menu';
|
package/dist/index.js
CHANGED
|
@@ -18506,6 +18506,175 @@ var SheetTitle = React4__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
18506
18506
|
SheetTitle.displayName = "SheetTitle";
|
|
18507
18507
|
var SheetDescription = React4__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(Dialog__namespace.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
|
|
18508
18508
|
SheetDescription.displayName = "SheetDescription";
|
|
18509
|
+
var ICONS = {
|
|
18510
|
+
sparkles: lucideReact.Sparkles,
|
|
18511
|
+
palette: lucideReact.Palette,
|
|
18512
|
+
search: lucideReact.Search,
|
|
18513
|
+
"file-text": lucideReact.FileText,
|
|
18514
|
+
code: lucideReact.Code2,
|
|
18515
|
+
"shopping-bag": lucideReact.ShoppingBag
|
|
18516
|
+
};
|
|
18517
|
+
function TemplateVisual({ template }) {
|
|
18518
|
+
const Icon2 = ICONS[template.icon || "sparkles"];
|
|
18519
|
+
if (template.coverImageUrl) {
|
|
18520
|
+
return /* @__PURE__ */ jsxRuntime.jsx("img", { src: template.coverImageUrl, alt: "", className: "size-full bg-muted object-contain" });
|
|
18521
|
+
}
|
|
18522
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-full items-center justify-center bg-gradient-to-br from-primary/5 via-muted/50 to-primary/15", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-14 items-center justify-center rounded-2xl border border-primary/10 bg-background/85 text-primary shadow-sm", children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: "size-7", "aria-hidden": "true" }) }) });
|
|
18523
|
+
}
|
|
18524
|
+
function AgentWorkbenchQuickStart({ viewModel, className, onIntent }) {
|
|
18525
|
+
const messages = useMonkeysLocaleMessages().agentWorkbench.quickStart;
|
|
18526
|
+
const fileInputRef = React4.useRef(null);
|
|
18527
|
+
const [activeCategoryId, setActiveCategoryId] = React4.useState();
|
|
18528
|
+
const [activeSectionId, setActiveSectionId] = React4.useState();
|
|
18529
|
+
const [pendingTemplate, setPendingTemplate] = React4.useState();
|
|
18530
|
+
const categories = React4.useMemo(
|
|
18531
|
+
() => viewModel.categories.map((category) => ({
|
|
18532
|
+
...category,
|
|
18533
|
+
sections: category.sections.map((section) => ({
|
|
18534
|
+
...section,
|
|
18535
|
+
templates: section.templates.filter((template) => !template.modes || template.modes.includes(viewModel.mode))
|
|
18536
|
+
})).filter((section) => section.templates.length > 0)
|
|
18537
|
+
})).filter((category) => category.sections.length > 0),
|
|
18538
|
+
[viewModel.categories, viewModel.mode]
|
|
18539
|
+
);
|
|
18540
|
+
const activeCategory = categories.find((category) => category.id === activeCategoryId);
|
|
18541
|
+
const activeSection = activeCategory?.sections.find((section) => section.id === activeSectionId) || activeCategory?.sections[0];
|
|
18542
|
+
const usesCompactList = activeSection?.templates.length ? activeSection.templates.every((template) => !template.coverImageUrl) : false;
|
|
18543
|
+
React4.useEffect(() => {
|
|
18544
|
+
if (activeCategoryId && !categories.some((category) => category.id === activeCategoryId)) {
|
|
18545
|
+
setActiveCategoryId(void 0);
|
|
18546
|
+
setActiveSectionId(void 0);
|
|
18547
|
+
}
|
|
18548
|
+
}, [activeCategoryId, categories]);
|
|
18549
|
+
if (categories.length === 0) return null;
|
|
18550
|
+
const selectCategory = (category) => {
|
|
18551
|
+
setActiveCategoryId(category.id);
|
|
18552
|
+
setActiveSectionId(category.sections[0]?.id);
|
|
18553
|
+
onIntent?.({ type: "change-category", categoryId: category.id });
|
|
18554
|
+
};
|
|
18555
|
+
const selectSection = (sectionId) => {
|
|
18556
|
+
if (!activeCategory) return;
|
|
18557
|
+
setActiveSectionId(sectionId);
|
|
18558
|
+
onIntent?.({
|
|
18559
|
+
type: "change-section",
|
|
18560
|
+
categoryId: activeCategory.id,
|
|
18561
|
+
sectionId
|
|
18562
|
+
});
|
|
18563
|
+
};
|
|
18564
|
+
const selectTemplate = (template) => {
|
|
18565
|
+
if (viewModel.disabled) return;
|
|
18566
|
+
if (template.action !== "upload") {
|
|
18567
|
+
onIntent?.({
|
|
18568
|
+
type: "select-template",
|
|
18569
|
+
templateId: template.id,
|
|
18570
|
+
prompt: template.prompt
|
|
18571
|
+
});
|
|
18572
|
+
return;
|
|
18573
|
+
}
|
|
18574
|
+
const input = fileInputRef.current;
|
|
18575
|
+
if (!input) return;
|
|
18576
|
+
input.accept = template.accept || "*/*";
|
|
18577
|
+
input.multiple = template.multiple === true;
|
|
18578
|
+
setPendingTemplate(template);
|
|
18579
|
+
input.click();
|
|
18580
|
+
};
|
|
18581
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cn2("agent-workbench-quick-start min-w-0 max-w-full", className), "aria-label": messages.label, children: [
|
|
18582
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18583
|
+
"input",
|
|
18584
|
+
{
|
|
18585
|
+
ref: fileInputRef,
|
|
18586
|
+
type: "file",
|
|
18587
|
+
className: "hidden",
|
|
18588
|
+
onChange: (event) => {
|
|
18589
|
+
const files = Array.from(event.target.files || []);
|
|
18590
|
+
if (pendingTemplate && files.length > 0) {
|
|
18591
|
+
onIntent?.({
|
|
18592
|
+
type: "select-template",
|
|
18593
|
+
templateId: pendingTemplate.id,
|
|
18594
|
+
prompt: pendingTemplate.prompt,
|
|
18595
|
+
files: pendingTemplate.multiple ? files : files.slice(0, 1)
|
|
18596
|
+
});
|
|
18597
|
+
}
|
|
18598
|
+
setPendingTemplate(void 0);
|
|
18599
|
+
event.target.value = "";
|
|
18600
|
+
}
|
|
18601
|
+
}
|
|
18602
|
+
),
|
|
18603
|
+
!activeCategory ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex max-w-full items-center justify-center gap-2 overflow-x-auto px-1 pb-1", children: categories.map((category) => {
|
|
18604
|
+
const Icon2 = ICONS[category.icon || "sparkles"];
|
|
18605
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "inline-flex h-10 shrink-0 items-center gap-2 rounded-full border border-border bg-background px-4 text-sm font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", onClick: () => selectCategory(category), children: [
|
|
18606
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }),
|
|
18607
|
+
category.label
|
|
18608
|
+
] }, category.id);
|
|
18609
|
+
}) }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
|
|
18610
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 max-w-full items-center gap-1 overflow-x-auto pb-1", children: [
|
|
18611
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18612
|
+
"button",
|
|
18613
|
+
{
|
|
18614
|
+
type: "button",
|
|
18615
|
+
className: "inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full px-3 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
18616
|
+
onClick: () => {
|
|
18617
|
+
setActiveCategoryId(void 0);
|
|
18618
|
+
setActiveSectionId(void 0);
|
|
18619
|
+
onIntent?.({ type: "change-category" });
|
|
18620
|
+
},
|
|
18621
|
+
children: [
|
|
18622
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "size-4", "aria-hidden": "true" }),
|
|
18623
|
+
messages.back
|
|
18624
|
+
]
|
|
18625
|
+
}
|
|
18626
|
+
),
|
|
18627
|
+
activeCategory.sections.map((section) => /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", "aria-pressed": activeSection?.id === section.id, className: cn2("h-9 shrink-0 rounded-full px-4 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", activeSection?.id === section.id ? "bg-muted text-foreground" : "text-muted-foreground hover:bg-muted/70 hover:text-foreground"), onClick: () => selectSection(section.id), children: section.label }, section.id))
|
|
18628
|
+
] }),
|
|
18629
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18630
|
+
"div",
|
|
18631
|
+
{
|
|
18632
|
+
"data-quick-start-layout": usesCompactList ? "list" : "cards",
|
|
18633
|
+
className: cn2(
|
|
18634
|
+
"grid",
|
|
18635
|
+
usesCompactList ? "grid-cols-1 gap-0" : "grid-cols-[repeat(auto-fit,minmax(min(100%,14rem),1fr))] gap-3"
|
|
18636
|
+
),
|
|
18637
|
+
children: activeSection?.templates.map((template) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18638
|
+
"button",
|
|
18639
|
+
{
|
|
18640
|
+
type: "button",
|
|
18641
|
+
disabled: viewModel.disabled,
|
|
18642
|
+
"data-quick-start-template-id": template.id,
|
|
18643
|
+
className: cn2(
|
|
18644
|
+
"group min-w-0 overflow-hidden text-left transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
18645
|
+
usesCompactList ? "flex min-h-14 items-center rounded-none border-x-0 border-t-0 bg-transparent shadow-none hover:border-border hover:bg-muted/40 last:border-b-0" : "rounded-xl border border-border bg-background hover:border-primary/30 hover:bg-muted/20"
|
|
18646
|
+
),
|
|
18647
|
+
onClick: () => selectTemplate(template),
|
|
18648
|
+
children: [
|
|
18649
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn2(usesCompactList ? "min-w-0 flex-1 px-2 py-2.5" : "block px-4 pb-3 pt-4"), children: [
|
|
18650
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn2("flex items-center gap-2 text-sm text-foreground", usesCompactList ? "font-medium" : "font-semibold"), children: [
|
|
18651
|
+
template.title,
|
|
18652
|
+
template.action === "upload" ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-auto inline-flex items-center gap-1 text-[11px] font-medium text-muted-foreground", children: [
|
|
18653
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { className: "size-3", "aria-hidden": "true" }),
|
|
18654
|
+
messages.addFile
|
|
18655
|
+
] }) : null
|
|
18656
|
+
] }),
|
|
18657
|
+
template.description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18658
|
+
"span",
|
|
18659
|
+
{
|
|
18660
|
+
className: cn2(
|
|
18661
|
+
"line-clamp-2 block text-xs leading-4 text-muted-foreground",
|
|
18662
|
+
usesCompactList ? "mt-0.5 min-h-0 text-muted-foreground/75" : "mt-1 min-h-8"
|
|
18663
|
+
),
|
|
18664
|
+
children: template.description
|
|
18665
|
+
}
|
|
18666
|
+
) : null
|
|
18667
|
+
] }),
|
|
18668
|
+
usesCompactList ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpRight, { className: "mr-2 size-4 shrink-0 text-muted-foreground/45", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn2("block overflow-hidden", template.coverImageUrl ? "aspect-[5/2]" : "h-28"), children: /* @__PURE__ */ jsxRuntime.jsx(TemplateVisual, { template }) })
|
|
18669
|
+
]
|
|
18670
|
+
},
|
|
18671
|
+
template.id
|
|
18672
|
+
))
|
|
18673
|
+
}
|
|
18674
|
+
)
|
|
18675
|
+
] })
|
|
18676
|
+
] });
|
|
18677
|
+
}
|
|
18509
18678
|
var AgentWorkbenchSidebarContainer = React4.forwardRef(function AgentWorkbenchSidebarContainer2({
|
|
18510
18679
|
children,
|
|
18511
18680
|
header,
|
|
@@ -34546,6 +34715,7 @@ function useDarkMode() {
|
|
|
34546
34715
|
exports.AGENT_WORKBENCH_SHELL_BREAKPOINTS = AGENT_WORKBENCH_SHELL_BREAKPOINTS;
|
|
34547
34716
|
exports.AgentWorkbenchActivity = AgentWorkbenchActivity;
|
|
34548
34717
|
exports.AgentWorkbenchExploreSidebar = AgentWorkbenchExploreSidebar;
|
|
34718
|
+
exports.AgentWorkbenchQuickStart = AgentWorkbenchQuickStart;
|
|
34549
34719
|
exports.AgentWorkbenchShell = AgentWorkbenchShell;
|
|
34550
34720
|
exports.AgentWorkbenchSidebar = AgentWorkbenchSidebar;
|
|
34551
34721
|
exports.AgentWorkbenchSidebarContainer = AgentWorkbenchSidebarContainer;
|