@inf-monkeys-tech/monkeys-design 1.0.11 → 1.0.12
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 +57 -2
- package/dist/components/agent-workbench/index.d.ts +57 -2
- package/dist/components/agent-workbench/index.js +669 -43
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +636 -39
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/base/index.js +32 -0
- package/dist/components/base/index.js.map +1 -1
- package/dist/components/base/index.mjs +32 -0
- package/dist/components/base/index.mjs.map +1 -1
- package/dist/components/data-explorer/index.js +32 -0
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +32 -0
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/layout/index.js +32 -0
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/index.mjs +32 -0
- package/dist/components/layout/index.mjs.map +1 -1
- package/dist/components/runtime/index.js +32 -0
- package/dist/components/runtime/index.js.map +1 -1
- package/dist/components/runtime/index.mjs +32 -0
- 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 +32 -0
- package/dist/components/toast/index.js.map +1 -1
- package/dist/components/toast/index.mjs +32 -0
- package/dist/components/toast/index.mjs.map +1 -1
- package/dist/components/toolbar/index.js +32 -0
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/components/toolbar/index.mjs +32 -0
- package/dist/components/toolbar/index.mjs.map +1 -1
- package/dist/components/workbench/index.js +32 -0
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +32 -0
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1021 -386
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +645 -17
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.d.mts +70 -2
- package/dist/locale/index.d.ts +70 -2
- package/dist/locale/index.js +68 -0
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/index.mjs +68 -0
- 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 +68 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/index.mjs +68 -0
- package/dist/provider/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-3d3e043f0ccb.d.mts → types-37967a434f7c.d.mts} +35 -0
- package/dist/{types-3d3e043f0ccb.d.ts → types-37967a434f7c.d.ts} +35 -0
- package/package.json +3 -3
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
2
|
+
import { AgentWorkbenchNavigationViewModel, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
3
|
+
type AgentWorkbenchSidebarIntent = {
|
|
4
|
+
type: 'change-search';
|
|
5
|
+
query: string;
|
|
6
|
+
} | {
|
|
7
|
+
type: 'change-tab';
|
|
8
|
+
tab: 'agents' | 'sessions';
|
|
9
|
+
} | {
|
|
10
|
+
type: 'create-agent';
|
|
11
|
+
} | {
|
|
12
|
+
type: 'create-session';
|
|
13
|
+
} | {
|
|
14
|
+
type: 'delete-session';
|
|
15
|
+
sessionId: string;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'open-agent-settings';
|
|
18
|
+
} | {
|
|
19
|
+
type: 'open-capabilities';
|
|
20
|
+
} | {
|
|
21
|
+
type: 'rename-session';
|
|
22
|
+
sessionId: string;
|
|
23
|
+
title: string;
|
|
24
|
+
} | {
|
|
25
|
+
type: 'retry-agents';
|
|
26
|
+
} | {
|
|
27
|
+
type: 'retry-sessions';
|
|
28
|
+
} | {
|
|
29
|
+
type: 'select-agent';
|
|
30
|
+
itemId: string;
|
|
31
|
+
} | {
|
|
32
|
+
type: 'select-session';
|
|
33
|
+
sessionId: string;
|
|
34
|
+
} | {
|
|
35
|
+
type: 'toggle-agent-pin';
|
|
36
|
+
itemId: string;
|
|
37
|
+
pinned: boolean;
|
|
38
|
+
} | {
|
|
39
|
+
type: 'toggle-session-pin';
|
|
40
|
+
sessionId: string;
|
|
41
|
+
pinned: boolean;
|
|
42
|
+
};
|
|
43
|
+
interface AgentWorkbenchSidebarClassNames {
|
|
44
|
+
root?: string;
|
|
45
|
+
search?: string;
|
|
46
|
+
tabs?: string;
|
|
47
|
+
body?: string;
|
|
48
|
+
item?: string;
|
|
49
|
+
footer?: string;
|
|
50
|
+
}
|
|
51
|
+
interface AgentWorkbenchSidebarProps {
|
|
52
|
+
viewModel: AgentWorkbenchNavigationViewModel;
|
|
53
|
+
className?: string;
|
|
54
|
+
classNames?: AgentWorkbenchSidebarClassNames;
|
|
55
|
+
onIntent?: (intent: AgentWorkbenchSidebarIntent) => void;
|
|
56
|
+
}
|
|
57
|
+
declare function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }: AgentWorkbenchSidebarProps): react_jsx_runtime.JSX.Element;
|
|
3
58
|
interface AgentWorkbenchApprovalIntent {
|
|
4
59
|
approvalId: string;
|
|
5
60
|
approved: boolean;
|
|
@@ -126,4 +181,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
126
181
|
};
|
|
127
182
|
}
|
|
128
183
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
129
|
-
export { AgentWorkbenchActivity, type AgentWorkbenchActivityClassNames, type AgentWorkbenchActivityModel, type AgentWorkbenchActivityProps, type AgentWorkbenchApprovalIntent, type AgentWorkbenchArtifactIntent, type AgentWorkbenchDetailsIntent, type AgentWorkbenchDetailsModel, type AgentWorkbenchDetailsState, type AgentWorkbenchDetailsTab, type AgentWorkbenchEventOf, AgentWorkbenchTaskDetails, type AgentWorkbenchTaskDetailsClassNames, type AgentWorkbenchTaskDetailsProps, type AgentWorkbenchTerminalModel, AgentWorkbenchTool, type AgentWorkbenchToolClassNames, type AgentWorkbenchToolProps, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|
|
184
|
+
export { AgentWorkbenchActivity, type AgentWorkbenchActivityClassNames, type AgentWorkbenchActivityModel, type AgentWorkbenchActivityProps, type AgentWorkbenchApprovalIntent, type AgentWorkbenchArtifactIntent, type AgentWorkbenchDetailsIntent, type AgentWorkbenchDetailsModel, type AgentWorkbenchDetailsState, type AgentWorkbenchDetailsTab, type AgentWorkbenchEventOf, AgentWorkbenchSidebar, type AgentWorkbenchSidebarClassNames, type AgentWorkbenchSidebarIntent, type AgentWorkbenchSidebarProps, AgentWorkbenchTaskDetails, type AgentWorkbenchTaskDetailsClassNames, type AgentWorkbenchTaskDetailsProps, type AgentWorkbenchTerminalModel, AgentWorkbenchTool, type AgentWorkbenchToolClassNames, type AgentWorkbenchToolProps, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
2
|
+
import { AgentWorkbenchNavigationViewModel, AgentSessionViewModel, AgentSessionEvent } from '@inf-monkeys-tech/monkeys';
|
|
3
|
+
type AgentWorkbenchSidebarIntent = {
|
|
4
|
+
type: 'change-search';
|
|
5
|
+
query: string;
|
|
6
|
+
} | {
|
|
7
|
+
type: 'change-tab';
|
|
8
|
+
tab: 'agents' | 'sessions';
|
|
9
|
+
} | {
|
|
10
|
+
type: 'create-agent';
|
|
11
|
+
} | {
|
|
12
|
+
type: 'create-session';
|
|
13
|
+
} | {
|
|
14
|
+
type: 'delete-session';
|
|
15
|
+
sessionId: string;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'open-agent-settings';
|
|
18
|
+
} | {
|
|
19
|
+
type: 'open-capabilities';
|
|
20
|
+
} | {
|
|
21
|
+
type: 'rename-session';
|
|
22
|
+
sessionId: string;
|
|
23
|
+
title: string;
|
|
24
|
+
} | {
|
|
25
|
+
type: 'retry-agents';
|
|
26
|
+
} | {
|
|
27
|
+
type: 'retry-sessions';
|
|
28
|
+
} | {
|
|
29
|
+
type: 'select-agent';
|
|
30
|
+
itemId: string;
|
|
31
|
+
} | {
|
|
32
|
+
type: 'select-session';
|
|
33
|
+
sessionId: string;
|
|
34
|
+
} | {
|
|
35
|
+
type: 'toggle-agent-pin';
|
|
36
|
+
itemId: string;
|
|
37
|
+
pinned: boolean;
|
|
38
|
+
} | {
|
|
39
|
+
type: 'toggle-session-pin';
|
|
40
|
+
sessionId: string;
|
|
41
|
+
pinned: boolean;
|
|
42
|
+
};
|
|
43
|
+
interface AgentWorkbenchSidebarClassNames {
|
|
44
|
+
root?: string;
|
|
45
|
+
search?: string;
|
|
46
|
+
tabs?: string;
|
|
47
|
+
body?: string;
|
|
48
|
+
item?: string;
|
|
49
|
+
footer?: string;
|
|
50
|
+
}
|
|
51
|
+
interface AgentWorkbenchSidebarProps {
|
|
52
|
+
viewModel: AgentWorkbenchNavigationViewModel;
|
|
53
|
+
className?: string;
|
|
54
|
+
classNames?: AgentWorkbenchSidebarClassNames;
|
|
55
|
+
onIntent?: (intent: AgentWorkbenchSidebarIntent) => void;
|
|
56
|
+
}
|
|
57
|
+
declare function AgentWorkbenchSidebar({ viewModel, className, classNames, onIntent }: AgentWorkbenchSidebarProps): react_jsx_runtime.JSX.Element;
|
|
3
58
|
interface AgentWorkbenchApprovalIntent {
|
|
4
59
|
approvalId: string;
|
|
5
60
|
approved: boolean;
|
|
@@ -126,4 +181,4 @@ interface AgentWorkbenchDetailsModel {
|
|
|
126
181
|
};
|
|
127
182
|
}
|
|
128
183
|
declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
|
|
129
|
-
export { AgentWorkbenchActivity, type AgentWorkbenchActivityClassNames, type AgentWorkbenchActivityModel, type AgentWorkbenchActivityProps, type AgentWorkbenchApprovalIntent, type AgentWorkbenchArtifactIntent, type AgentWorkbenchDetailsIntent, type AgentWorkbenchDetailsModel, type AgentWorkbenchDetailsState, type AgentWorkbenchDetailsTab, type AgentWorkbenchEventOf, AgentWorkbenchTaskDetails, type AgentWorkbenchTaskDetailsClassNames, type AgentWorkbenchTaskDetailsProps, type AgentWorkbenchTerminalModel, AgentWorkbenchTool, type AgentWorkbenchToolClassNames, type AgentWorkbenchToolProps, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|
|
184
|
+
export { AgentWorkbenchActivity, type AgentWorkbenchActivityClassNames, type AgentWorkbenchActivityModel, type AgentWorkbenchActivityProps, type AgentWorkbenchApprovalIntent, type AgentWorkbenchArtifactIntent, type AgentWorkbenchDetailsIntent, type AgentWorkbenchDetailsModel, type AgentWorkbenchDetailsState, type AgentWorkbenchDetailsTab, type AgentWorkbenchEventOf, AgentWorkbenchSidebar, type AgentWorkbenchSidebarClassNames, type AgentWorkbenchSidebarIntent, type AgentWorkbenchSidebarProps, AgentWorkbenchTaskDetails, type AgentWorkbenchTaskDetailsClassNames, type AgentWorkbenchTaskDetailsProps, type AgentWorkbenchTerminalModel, AgentWorkbenchTool, type AgentWorkbenchToolClassNames, type AgentWorkbenchToolProps, createAgentWorkbenchActivityModel, createAgentWorkbenchDetailsModel };
|