@inf-monkeys-tech/monkeys-design 1.0.33 → 1.0.34
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 +50 -1
- package/dist/components/agent-workbench/index.d.ts +50 -1
- package/dist/components/agent-workbench/index.js +142 -1
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +143 -3
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/base/index.js +5 -0
- package/dist/components/base/index.js.map +1 -1
- package/dist/components/base/index.mjs +5 -0
- package/dist/components/base/index.mjs.map +1 -1
- package/dist/components/data-explorer/index.js +5 -0
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +5 -0
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/components/layout/index.js +5 -0
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/index.mjs +5 -0
- package/dist/components/layout/index.mjs.map +1 -1
- package/dist/components/runtime/index.js +5 -0
- package/dist/components/runtime/index.js.map +1 -1
- package/dist/components/runtime/index.mjs +5 -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 +5 -0
- package/dist/components/toast/index.js.map +1 -1
- package/dist/components/toast/index.mjs +5 -0
- package/dist/components/toast/index.mjs.map +1 -1
- package/dist/components/toolbar/index.js +5 -0
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/components/toolbar/index.mjs +5 -0
- package/dist/components/toolbar/index.mjs.map +1 -1
- package/dist/components/workbench/index.js +5 -0
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +5 -0
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -2
- package/dist/index.mjs.map +1 -1
- package/dist/locale/index.d.mts +12 -2
- package/dist/locale/index.d.ts +12 -2
- package/dist/locale/index.js +14 -0
- package/dist/locale/index.js.map +1 -1
- package/dist/locale/index.mjs +14 -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 +14 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/index.mjs +14 -0
- package/dist/provider/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-055c43c39002.d.mts → types-b8d18b1454c2.d.mts} +6 -0
- package/dist/{types-055c43c39002.d.ts → types-b8d18b1454c2.d.ts} +6 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { Slot } from '@radix-ui/react-slot';
|
|
|
17
17
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
19
19
|
import { cva } from 'class-variance-authority';
|
|
20
|
-
import { ChevronDown, Check, ChevronRight, Circle, ChevronUp, Search, X, Plus, Pin, SquarePen, Blocks, Bot, Settings, TerminalSquare, Clock3, FileOutput, Download, RefreshCw, Loader2, CheckCircle2, XCircle, CircleStop, AlertCircle, GitFork, PencilLine, Copy, RotateCcw, FileCode2, Files, TestTube2, Image, Ellipsis, Pencil, Trash2 } from 'lucide-react';
|
|
20
|
+
import { ChevronDown, Check, ChevronRight, Circle, ChevronUp, Search, X, Plus, Pin, SquarePen, Blocks, MessageSquare, Bot, Settings, TerminalSquare, Clock3, FileOutput, Download, RefreshCw, Loader2, CheckCircle2, XCircle, CircleStop, AlertCircle, GitFork, PencilLine, Copy, RotateCcw, FileCode2, Files, TestTube2, Image, Ellipsis, Pencil, Trash2 } from 'lucide-react';
|
|
21
21
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
22
22
|
import { useSensors, useSensor, PointerSensor, DndContext, DragOverlay, useDroppable, useDraggable } from '@dnd-kit/core';
|
|
23
23
|
import { toast as toast$1, Toaster } from 'sonner';
|
|
@@ -3078,6 +3078,11 @@ var enUS = {
|
|
|
3078
3078
|
reasoningOptions: { low: "Low", medium: "Medium", high: "High", xhigh: "Extra high" },
|
|
3079
3079
|
permissionOptions: { "approval-required": "Approval required", "auto-approve": "Auto approve", "full-access": "Full access" }
|
|
3080
3080
|
},
|
|
3081
|
+
quickStart: {
|
|
3082
|
+
label: "Quick start",
|
|
3083
|
+
back: "Back",
|
|
3084
|
+
addFile: "Add file"
|
|
3085
|
+
},
|
|
3081
3086
|
tool: {
|
|
3082
3087
|
input: "Input",
|
|
3083
3088
|
output: "Output",
|
|
@@ -3344,6 +3349,11 @@ var zhCN = {
|
|
|
3344
3349
|
reasoningOptions: { low: "\u4F4E", medium: "\u4E2D", high: "\u9AD8", xhigh: "\u6700\u9AD8" },
|
|
3345
3350
|
permissionOptions: { "approval-required": "\u9700\u8981\u6279\u51C6", "auto-approve": "\u81EA\u52A8\u6279\u51C6", "full-access": "\u5B8C\u5168\u8BBF\u95EE" }
|
|
3346
3351
|
},
|
|
3352
|
+
quickStart: {
|
|
3353
|
+
label: "\u5FEB\u901F\u5F00\u59CB",
|
|
3354
|
+
back: "\u8FD4\u56DE",
|
|
3355
|
+
addFile: "\u6DFB\u52A0\u6587\u4EF6"
|
|
3356
|
+
},
|
|
3347
3357
|
tool: {
|
|
3348
3358
|
input: "\u8F93\u5165",
|
|
3349
3359
|
output: "\u8F93\u51FA",
|
|
@@ -3605,6 +3615,10 @@ function mergeMonkeysLocaleMessages(base, override) {
|
|
|
3605
3615
|
...base.agentWorkbench.composer,
|
|
3606
3616
|
...override.agentWorkbench?.composer
|
|
3607
3617
|
},
|
|
3618
|
+
quickStart: {
|
|
3619
|
+
...base.agentWorkbench.quickStart,
|
|
3620
|
+
...override.agentWorkbench?.quickStart
|
|
3621
|
+
},
|
|
3608
3622
|
tool: {
|
|
3609
3623
|
...base.agentWorkbench.tool,
|
|
3610
3624
|
...override.agentWorkbench?.tool,
|
|
@@ -17777,7 +17791,7 @@ function AgentWorkbenchSidebar({
|
|
|
17777
17791
|
!sessionsOnly ? /* @__PURE__ */ jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.recentSessions }) : null,
|
|
17778
17792
|
/* @__PURE__ */ jsx(CollectionState, { status: viewModel.sessions.status, empty: messages.emptySessions, noResults: messages.noResults, hasItems: sessions.length > 0, query, error: viewModel.sessions.error, onRetry: () => onIntent?.({ type: "retry-sessions" }) }),
|
|
17779
17793
|
sessionsOnly && sessions.length > 0 ? /* @__PURE__ */ jsx("div", { className: "space-y-2", children: [
|
|
17780
|
-
{ id: "chatbot", label: messages.chats, icon:
|
|
17794
|
+
{ id: "chatbot", label: messages.chats, icon: MessageSquare, items: chatbotSessions },
|
|
17781
17795
|
{ id: "agent", label: messages.agents, icon: Bot, items: agentSessions }
|
|
17782
17796
|
].map(({ id, label, icon: Icon2, items }) => /* @__PURE__ */ jsxs("details", { open: true, "aria-label": label, children: [
|
|
17783
17797
|
/* @__PURE__ */ jsxs("summary", { className: "flex h-9 cursor-pointer list-none items-center gap-2 rounded-md px-3 text-sm font-semibold hover:bg-muted", children: [
|