@openviking/react 0.1.2 → 0.1.4
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/LICENSE.arco-design +21 -0
- package/README.md +25 -15
- package/dist/0~0.js +19 -0
- package/dist/2~0.js +2360 -0
- package/dist/2~0.js.LICENSE.txt +23 -0
- package/dist/3c~0.js +2206 -0
- package/dist/3~0.js +1205 -1982
- package/dist/4~0.js +18 -0
- package/dist/9~0.js +43 -0
- package/dist/ae~0.js +487 -0
- package/dist/ark-message-list-view~0.js +530 -119
- package/dist/a~0.js +1289 -10
- package/dist/c7~0.js +38 -2
- package/dist/ck~0.js +23 -0
- package/dist/client/index.d.ts +2 -1
- package/dist/client/paths.d.ts +64 -0
- package/dist/client/provider.d.ts +5 -3
- package/dist/client/response.d.ts +31 -0
- package/dist/client/sse.d.ts +39 -0
- package/dist/client/stream.d.ts +26 -0
- package/dist/client/types.d.ts +109 -5
- package/dist/client.js +2 -239
- package/dist/components/agent-connect/agent-connect-copy.d.ts +19 -33
- package/dist/components/agent-connect/agent-connect-design.d.ts +1935 -167
- package/dist/components/agent-connect/agent-connect-instructions.d.ts +135 -0
- package/dist/components/agent-connect/locales/en-US.d.ts +20 -0
- package/dist/components/agent-connect/locales/zh-CN.d.ts +3 -0
- package/dist/components/agent-connect/style.css +14 -2
- package/dist/components/agent-connect/types.d.ts +2 -1
- package/dist/components/directory-tour/directory-tour.d.ts +3 -0
- package/dist/components/directory-tour/index.d.ts +3 -0
- package/dist/components/directory-tour/locales/en-US.d.ts +3 -0
- package/dist/components/directory-tour/locales/zh-CN.d.ts +3 -0
- package/dist/components/directory-tour/steps.d.ts +5 -0
- package/dist/components/directory-tour/style.css +237 -0
- package/dist/components/directory-tour/style.js +0 -0
- package/dist/components/directory-tour/types.d.ts +42 -0
- package/dist/components/directory-tour/use-tour-anchor.d.ts +5 -0
- package/dist/components/directory-tour/use-tour-position.d.ts +12 -0
- package/dist/components/directory-tour.js +40 -0
- package/dist/components/file-browser-entries/file-browser-entries-icons.d.ts +18 -0
- package/dist/components/file-browser-entries/file-browser-entries.d.ts +14 -0
- package/dist/components/file-browser-entries/index.d.ts +1 -0
- package/dist/components/file-browser-entries/labels.d.ts +3 -0
- package/dist/components/file-browser-entries/locales/en-US.d.ts +6 -0
- package/dist/components/file-browser-entries/locales/zh-CN.d.ts +6 -0
- package/dist/components/file-browser-entries/style.css +905 -0
- package/dist/components/file-browser-entries/style.js +0 -0
- package/dist/components/file-browser-entries/types.d.ts +63 -0
- package/dist/components/file-browser-entries.js +1 -0
- package/dist/components/file-preview/file-preview-adapters.d.ts +2 -1
- package/dist/components/file-preview/file-preview-body.d.ts +2 -1
- package/dist/components/file-preview/file-preview-breadcrumb-menu.d.ts +2 -1
- package/dist/components/file-preview/file-preview-breadcrumb.d.ts +2 -1
- package/dist/components/file-preview/file-preview-directory.d.ts +33 -0
- package/dist/components/file-preview/file-preview-handle-adapters.d.ts +2 -1
- package/dist/components/file-preview/file-preview-header.d.ts +25 -3
- package/dist/components/file-preview/file-preview-image-frame.d.ts +5 -0
- package/dist/components/file-preview/file-preview-labels.d.ts +2 -14
- package/dist/components/file-preview/file-preview-level-tabs.d.ts +7 -0
- package/dist/components/file-preview/file-preview-markdown-images.d.ts +13 -0
- package/dist/components/file-preview/file-preview-panels.d.ts +44 -0
- package/dist/components/file-preview/file-preview-state.d.ts +10 -3
- package/dist/components/file-preview/file-preview-viewer.d.ts +2 -1
- package/dist/components/file-preview/file-preview.d.ts +1 -1
- package/dist/components/file-preview/index.d.ts +2 -1
- package/dist/components/file-preview/level-selection.d.ts +25 -0
- package/dist/components/file-preview/locales/en-US.d.ts +16 -0
- package/dist/components/file-preview/locales/zh-CN.d.ts +16 -0
- package/dist/components/file-preview/style.css +234 -3
- package/dist/components/file-preview/types.d.ts +134 -11
- package/dist/components/file-preview/use-directory-level.d.ts +30 -0
- package/dist/components/file-preview/use-file-preview-actions-context.d.ts +6 -2
- package/dist/components/file-preview/use-file-preview-actions.d.ts +1 -1
- package/dist/components/file-preview/use-file-preview-levels.d.ts +7 -0
- package/dist/components/file-preview/use-file-preview-view-state.d.ts +15 -0
- package/dist/components/file-preview.js +1 -1
- package/dist/components/file-tree/file-tree-info-labels.d.ts +0 -15
- package/dist/components/file-tree/file-tree-info-tooltip.d.ts +7 -7
- package/dist/components/file-tree/file-tree-labels.d.ts +4 -0
- package/dist/components/file-tree/file-tree-row-context.d.ts +0 -5
- package/dist/components/file-tree/file-tree-row-shared.d.ts +1 -4
- package/dist/components/file-tree/file-tree-toolbar.d.ts +11 -0
- package/dist/components/file-tree/file-tree-tooltip-surface.d.ts +8 -8
- package/dist/components/file-tree/locales/en-US.d.ts +69 -0
- package/dist/components/file-tree/locales/zh-CN.d.ts +69 -0
- package/dist/components/file-tree/style.css +207 -42
- package/dist/components/file-tree/types.d.ts +58 -10
- package/dist/components/file-tree/use-file-tree-actions.d.ts +4 -1
- package/dist/components/scope-switcher/labels.d.ts +3 -0
- package/dist/components/scope-switcher/locales/en-US.d.ts +8 -0
- package/dist/components/scope-switcher/locales/zh-CN.d.ts +8 -0
- package/dist/components/scope-switcher/scope-panel.d.ts +1 -1
- package/dist/components/scope-switcher/scope-switcher.d.ts +1 -1
- package/dist/components/scope-switcher/style.css +14 -2
- package/dist/components/scope-switcher/types.d.ts +11 -5
- package/dist/components/style.css +10144 -6840
- package/dist/components/tui/locales/en-US.d.ts +35 -0
- package/dist/components/tui/locales/zh-CN.d.ts +35 -0
- package/dist/components/tui/style.css +310 -18
- package/dist/components/tui/tui-copy-button.d.ts +1 -1
- package/dist/components/tui/tui-empty.d.ts +25 -0
- package/dist/components/tui/tui-labels.d.ts +2 -2
- package/dist/components/tui/tui.d.ts +1 -1
- package/dist/components/tui/types.d.ts +35 -12
- package/dist/components/tui.js +1 -1
- package/dist/components/viking-bot/ark-adapter.d.ts +2 -0
- package/dist/components/viking-bot/ark-message-body.d.ts +1 -7
- package/dist/components/viking-bot/ark-message-list-view.d.ts +1 -1
- package/dist/components/viking-bot/ark-message-row.d.ts +3 -1
- package/dist/components/viking-bot/bot-popover.d.ts +9 -0
- package/dist/components/viking-bot/capabilities.d.ts +49 -0
- package/dist/components/viking-bot/composer-attachments.d.ts +13 -0
- package/dist/components/viking-bot/composer-controls.d.ts +10 -0
- package/dist/components/viking-bot/composer-footer.d.ts +17 -0
- package/dist/components/viking-bot/composer-references.d.ts +20 -0
- package/dist/components/viking-bot/composer-text.d.ts +10 -0
- package/dist/components/viking-bot/index.d.ts +3 -1
- package/dist/components/viking-bot/interaction/ask-human-fields.d.ts +1 -1
- package/dist/components/viking-bot/interaction/labels.d.ts +2 -1
- package/dist/components/viking-bot/interaction/locales/en-US.d.ts +17 -0
- package/dist/components/viking-bot/interaction/locales/zh-CN.d.ts +17 -0
- package/dist/components/viking-bot/interaction/types.d.ts +8 -3
- package/dist/components/viking-bot/interaction/viking-bot-interaction.d.ts +1 -1
- package/dist/components/viking-bot/labels.d.ts +2 -0
- package/dist/components/viking-bot/locales/en-US.d.ts +40 -0
- package/dist/components/viking-bot/locales/zh-CN.d.ts +40 -0
- package/dist/components/viking-bot/markdown-links.d.ts +27 -0
- package/dist/components/viking-bot/message-activity.d.ts +7 -0
- package/dist/components/viking-bot/message-code-block.d.ts +8 -0
- package/dist/components/viking-bot/message-footer.d.ts +8 -0
- package/dist/components/viking-bot/message-markdown.d.ts +9 -0
- package/dist/components/viking-bot/model.d.ts +37 -3
- package/dist/components/viking-bot/quick-input-tracker.d.ts +16 -0
- package/dist/components/viking-bot/quick-inputs.d.ts +6 -0
- package/dist/components/viking-bot/reference-picker.d.ts +16 -0
- package/dist/components/viking-bot/session-actions.d.ts +11 -0
- package/dist/components/viking-bot/style.css +1486 -48
- package/dist/components/viking-bot/tool-activity.d.ts +9 -0
- package/dist/components/viking-bot/tool-result-links.d.ts +6 -0
- package/dist/components/viking-bot/types.d.ts +21 -9
- package/dist/components/viking-bot/use-quick-input.d.ts +17 -0
- package/dist/components/viking-bot/viking-bot.d.ts +1 -6
- package/dist/components/viking-bot/welcome.d.ts +8 -0
- package/dist/components/viking-bot.js +1 -1
- package/dist/c~0.js +533 -66
- package/dist/e~0.js +333 -0
- package/dist/file-preview-viewer~0.js +90 -8
- package/dist/f~0.js +39 -47
- package/dist/h~0.js +5 -1
- package/dist/icons/console-icons.d.ts +12 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/viking-bot-icons.d.ts +6 -0
- package/dist/icons.js +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +3 -1
- package/dist/k~0.js +1 -0
- package/dist/lg~0.js +155 -0
- package/dist/lk~0.js +37 -8
- package/dist/l~0.js +1447 -25
- package/dist/modules/console/command-messages.d.ts +19 -0
- package/dist/modules/console/command-parser.d.ts +15 -0
- package/dist/modules/console/command-specs.d.ts +15 -0
- package/dist/modules/console/commands.d.ts +6 -0
- package/dist/modules/console/console-history.d.ts +10 -0
- package/dist/modules/console/console-toolbar.d.ts +18 -0
- package/dist/modules/console/console.d.ts +1 -3
- package/dist/modules/console/controller.d.ts +17 -0
- package/dist/modules/console/index.d.ts +2 -0
- package/dist/modules/console/labels.d.ts +61 -0
- package/dist/modules/console/locales/en-US.d.ts +49 -0
- package/dist/modules/console/locales/zh-CN.d.ts +3 -0
- package/dist/modules/console/localize-records.d.ts +11 -0
- package/dist/modules/console/results.d.ts +2 -0
- package/dist/modules/console/style.css +10905 -15
- package/dist/modules/console/types.d.ts +59 -80
- package/dist/modules/console/use-console.d.ts +3 -0
- package/dist/modules/console.js +1 -1
- package/dist/modules/file-browser/file-browser-detail-icons.d.ts +10 -0
- package/dist/modules/file-browser/file-browser-detail.d.ts +34 -0
- package/dist/modules/file-browser/file-browser-empty.d.ts +3 -0
- package/dist/modules/file-browser/file-browser-failure.d.ts +22 -0
- package/dist/modules/file-browser/file-browser-icons.d.ts +18 -0
- package/dist/modules/file-browser/file-browser-labels.d.ts +27 -0
- package/dist/modules/file-browser/file-browser-layout.d.ts +27 -0
- package/dist/modules/file-browser/file-browser-toolbar.d.ts +17 -0
- package/dist/modules/file-browser/file-browser-tree-pane.d.ts +32 -0
- package/dist/modules/file-browser/file-browser.d.ts +14 -5
- package/dist/modules/file-browser/find-result.d.ts +24 -0
- package/dist/modules/file-browser/fs-directories.d.ts +33 -0
- package/dist/modules/file-browser/fs-file-kind.d.ts +19 -0
- package/dist/modules/file-browser/fs-icon.d.ts +17 -0
- package/dist/modules/file-browser/fs-model.d.ts +106 -0
- package/dist/modules/file-browser/fs-page.d.ts +16 -0
- package/dist/modules/file-browser/fs-path.d.ts +16 -0
- package/dist/modules/file-browser/fs-read-directory.d.ts +16 -0
- package/dist/modules/file-browser/fs-scope.d.ts +22 -0
- package/dist/modules/file-browser/fs-stat.d.ts +25 -0
- package/dist/modules/file-browser/index.d.ts +3 -1
- package/dist/modules/file-browser/locales/en-US.d.ts +25 -0
- package/dist/modules/file-browser/locales/zh-CN.d.ts +25 -0
- package/dist/modules/file-browser/style.css +6388 -41
- package/dist/modules/file-browser/types.d.ts +206 -52
- package/dist/modules/file-browser/use-container-width.d.ts +17 -0
- package/dist/modules/file-browser/use-file-browser.d.ts +54 -0
- package/dist/modules/file-browser/use-fs-preview.d.ts +65 -0
- package/dist/modules/file-browser/use-fs-search.d.ts +35 -0
- package/dist/modules/file-browser/use-fs-tree.d.ts +43 -0
- package/dist/modules/file-browser/use-request-scope.d.ts +39 -0
- package/dist/modules/file-browser.js +1 -1
- package/dist/modules/scope-cascade/labels.d.ts +6 -0
- package/dist/modules/scope-cascade/locales/en-US.d.ts +6 -0
- package/dist/modules/scope-cascade/locales/zh-CN.d.ts +3 -0
- package/dist/modules/scope-cascade/scope-cascade.d.ts +1 -1
- package/dist/modules/scope-cascade/style.css +14 -2
- package/dist/modules/scope-cascade/types.d.ts +3 -0
- package/dist/modules/style.css +17338 -77
- package/dist/nx~0.js +15 -0
- package/dist/n~0.js +403 -144
- package/dist/o~0.js +106 -0
- package/dist/p~0.js +27 -0
- package/dist/rslib-runtime~0.js +42 -0
- package/dist/r~0.js +152 -0
- package/dist/shared/components/divider/divider.d.ts +18 -0
- package/dist/shared/components/divider/index.d.ts +1 -0
- package/dist/shared/components/divider/types.d.ts +35 -0
- package/dist/shared/components/drawer/drawer.d.ts +13 -0
- package/dist/shared/components/drawer/index.d.ts +1 -0
- package/dist/shared/components/overlay/types.d.ts +7 -0
- package/dist/shared/components/{tooltip/use-tooltip-position.d.ts → overlay/use-overlay-position.d.ts} +6 -6
- package/dist/shared/components/popover/index.d.ts +1 -0
- package/dist/shared/components/popover/popover.d.ts +23 -0
- package/dist/shared/components/popover/types.d.ts +50 -0
- package/dist/shared/components/resizable/clamp.d.ts +13 -0
- package/dist/shared/components/resizable/index.d.ts +2 -0
- package/dist/shared/components/resizable/resizable-handle.d.ts +25 -0
- package/dist/shared/components/resizable/types.d.ts +48 -0
- package/dist/shared/components/tooltip/types.d.ts +5 -5
- package/dist/shared/components/tooltip/use-portal-theme.d.ts +3 -0
- package/dist/shared/locale.d.ts +6 -0
- package/dist/style.css +27753 -7176
- package/dist/u~0.js +75 -58
- package/dist/viking-bot-composer~0.js +434 -77
- package/dist/viking-bot-interaction~0.js +11 -11
- package/package.json +18 -4
- package/dist/components/file-tree/file-tree-tooltip.d.ts +0 -17
- package/dist/components/tui/tui-labels-zh.d.ts +0 -2
- package/dist/g~0.js +0 -1207
- package/dist/modules/file-browser/file-browser-toolbar-button.d.ts +0 -10
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
/** 每一级缩进与祖先连线的宽度。Indent per level, and the guide through it. */
|
|
2
|
-
export declare const INDENT = 20;
|
|
3
|
-
export declare const CHEVRON_SIZE = 16;
|
|
4
1
|
/** 行按深度缩进。Indents a row by its depth. */
|
|
5
2
|
export declare function rowStyle(depth: number): {
|
|
6
|
-
paddingLeft:
|
|
3
|
+
paddingLeft: string;
|
|
7
4
|
};
|
|
8
5
|
/** 每一级祖先画一条竖线,上下各溢出 1px 让相邻行接上。 */
|
|
9
6
|
export declare function Guides({ depth }: {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ResolvedLabels } from './file-tree-row-context.js';
|
|
2
|
+
import type { FileTreeProps } from './types.js';
|
|
3
|
+
type ToolbarProps = Pick<FileTreeProps, 'search' | 'refresh'> & {
|
|
4
|
+
text: ResolvedLabels;
|
|
5
|
+
refreshing: boolean;
|
|
6
|
+
onSearch?: () => void;
|
|
7
|
+
onRefresh?: () => void;
|
|
8
|
+
};
|
|
9
|
+
/** Optional host-driven search and refresh controls; no data fetching here. */
|
|
10
|
+
export declare function FileTreeToolbar({ search, refresh, text, refreshing, onSearch, onRefresh, }: ToolbarProps): import("react").JSX.Element | null;
|
|
11
|
+
export {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { FileTreeEntryRow, FileTreeInfoLabels } from './types.js';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* 行浮层的内容。宿主提供 `renderRowTooltip` 时只渲染它返回的内容;它返回 `null`
|
|
5
5
|
* 表示这一行不显示浮层,不回退到内置内容。
|
|
6
6
|
*
|
|
7
|
-
* 宿主没有提供时,用按 `uri`
|
|
7
|
+
* 宿主没有提供时,用按 `uri` 解析的内置内容。先解析内容、再决定是否渲染,
|
|
8
8
|
* 因此没有可显示内容时不会留下一个只有背景和内边距的空壳。
|
|
9
9
|
*
|
|
10
|
-
* The
|
|
11
|
-
* its result renders; returning `null` hides the
|
|
10
|
+
* The content of a row surface. When the host supplies `renderRowTooltip`, only
|
|
11
|
+
* its result renders; returning `null` hides the surface for that row and does
|
|
12
12
|
* not fall back to the built-in content.
|
|
13
13
|
*
|
|
14
|
-
* When the host supplies none, the built-in
|
|
15
|
-
* renders. The content is resolved before
|
|
14
|
+
* When the host supplies none, the built-in content resolved from the row `uri`
|
|
15
|
+
* renders. The content is resolved before anything is rendered, so with nothing
|
|
16
16
|
* to show no empty shell with just background and padding is left behind.
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function FileTreeTooltipContent({ row, infoLabels, renderRowTooltip, }: {
|
|
19
19
|
row: FileTreeEntryRow;
|
|
20
20
|
infoLabels?: FileTreeInfoLabels;
|
|
21
21
|
renderRowTooltip?: (row: FileTreeEntryRow) => ReactNode;
|
|
22
|
-
}):
|
|
22
|
+
}): ReactNode;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const messages: {
|
|
2
|
+
search: string;
|
|
3
|
+
refresh: string;
|
|
4
|
+
empty: string;
|
|
5
|
+
error: string;
|
|
6
|
+
retry: string;
|
|
7
|
+
loadMore: string;
|
|
8
|
+
loading: string;
|
|
9
|
+
expand: string;
|
|
10
|
+
collapse: string;
|
|
11
|
+
info: {
|
|
12
|
+
description: {
|
|
13
|
+
userRoot: string;
|
|
14
|
+
memories: string;
|
|
15
|
+
peers: string;
|
|
16
|
+
privacy: string;
|
|
17
|
+
userResources: string;
|
|
18
|
+
sessions: string;
|
|
19
|
+
skills: string;
|
|
20
|
+
profile: string;
|
|
21
|
+
preferences: string;
|
|
22
|
+
entities: string;
|
|
23
|
+
events: string;
|
|
24
|
+
identity: string;
|
|
25
|
+
soul: string;
|
|
26
|
+
cases: string;
|
|
27
|
+
trajectories: string;
|
|
28
|
+
experiences: string;
|
|
29
|
+
sharedResources: string;
|
|
30
|
+
agentRoot: string;
|
|
31
|
+
agentEndpoints: string;
|
|
32
|
+
agentPayments: string;
|
|
33
|
+
agentSkills: string;
|
|
34
|
+
agentTools: string;
|
|
35
|
+
memoryRoot: string;
|
|
36
|
+
resourceRoot: string;
|
|
37
|
+
sessionRoot: string;
|
|
38
|
+
systemRoot: string;
|
|
39
|
+
};
|
|
40
|
+
triggerBehavior: {
|
|
41
|
+
userRoot: string;
|
|
42
|
+
memories: string;
|
|
43
|
+
peers: string;
|
|
44
|
+
userResources: string;
|
|
45
|
+
sessions: string;
|
|
46
|
+
skills: string;
|
|
47
|
+
profile: string;
|
|
48
|
+
preferences: string;
|
|
49
|
+
entities: string;
|
|
50
|
+
events: string;
|
|
51
|
+
identity: string;
|
|
52
|
+
soul: string;
|
|
53
|
+
cases: string;
|
|
54
|
+
trajectories: string;
|
|
55
|
+
experiences: string;
|
|
56
|
+
sharedResources: string;
|
|
57
|
+
agentEndpoints: string;
|
|
58
|
+
agentPayments: string;
|
|
59
|
+
agentSkills: string;
|
|
60
|
+
agentTools: string;
|
|
61
|
+
};
|
|
62
|
+
field: {
|
|
63
|
+
description: string;
|
|
64
|
+
triggerBehavior: string;
|
|
65
|
+
path: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export default messages;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const messages: {
|
|
2
|
+
search: string;
|
|
3
|
+
refresh: string;
|
|
4
|
+
empty: string;
|
|
5
|
+
error: string;
|
|
6
|
+
retry: string;
|
|
7
|
+
loadMore: string;
|
|
8
|
+
loading: string;
|
|
9
|
+
expand: string;
|
|
10
|
+
collapse: string;
|
|
11
|
+
info: {
|
|
12
|
+
description: {
|
|
13
|
+
userRoot: string;
|
|
14
|
+
memories: string;
|
|
15
|
+
peers: string;
|
|
16
|
+
privacy: string;
|
|
17
|
+
userResources: string;
|
|
18
|
+
sessions: string;
|
|
19
|
+
skills: string;
|
|
20
|
+
profile: string;
|
|
21
|
+
preferences: string;
|
|
22
|
+
entities: string;
|
|
23
|
+
events: string;
|
|
24
|
+
identity: string;
|
|
25
|
+
soul: string;
|
|
26
|
+
cases: string;
|
|
27
|
+
trajectories: string;
|
|
28
|
+
experiences: string;
|
|
29
|
+
sharedResources: string;
|
|
30
|
+
agentRoot: string;
|
|
31
|
+
agentEndpoints: string;
|
|
32
|
+
agentPayments: string;
|
|
33
|
+
agentSkills: string;
|
|
34
|
+
agentTools: string;
|
|
35
|
+
memoryRoot: string;
|
|
36
|
+
resourceRoot: string;
|
|
37
|
+
sessionRoot: string;
|
|
38
|
+
systemRoot: string;
|
|
39
|
+
};
|
|
40
|
+
triggerBehavior: {
|
|
41
|
+
userRoot: string;
|
|
42
|
+
memories: string;
|
|
43
|
+
peers: string;
|
|
44
|
+
userResources: string;
|
|
45
|
+
sessions: string;
|
|
46
|
+
skills: string;
|
|
47
|
+
profile: string;
|
|
48
|
+
preferences: string;
|
|
49
|
+
entities: string;
|
|
50
|
+
events: string;
|
|
51
|
+
identity: string;
|
|
52
|
+
soul: string;
|
|
53
|
+
cases: string;
|
|
54
|
+
trajectories: string;
|
|
55
|
+
experiences: string;
|
|
56
|
+
sharedResources: string;
|
|
57
|
+
agentEndpoints: string;
|
|
58
|
+
agentPayments: string;
|
|
59
|
+
agentSkills: string;
|
|
60
|
+
agentTools: string;
|
|
61
|
+
};
|
|
62
|
+
field: {
|
|
63
|
+
description: string;
|
|
64
|
+
triggerBehavior: string;
|
|
65
|
+
path: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export default messages;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
1
|
+
.ov-directory-tour, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
|
|
2
|
+
--ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
|
|
3
|
+
--ov-ui-tour-highlight-default: #5252ff14;
|
|
2
4
|
--ov-ui-primary-default: #5252ff;
|
|
3
5
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4
6
|
--ov-ui-primary-active-default: #3833d2;
|
|
7
|
+
--ov-ui-primary-disabled-default: #acb4ff;
|
|
8
|
+
--ov-ui-text-on-primary-default: #fff;
|
|
5
9
|
--ov-ui-primary-light-default: #f5f7ff;
|
|
6
10
|
--ov-ui-connect-glow-warm-default: #ff952b0a;
|
|
7
11
|
--ov-ui-connect-glow-pink-default: #fb4fbc0f;
|
|
@@ -19,18 +23,21 @@
|
|
|
19
23
|
--ov-ui-bg-3-default: #f7f8fd;
|
|
20
24
|
--ov-ui-bg-4-default: #f6f7fa;
|
|
21
25
|
--ov-ui-bg-5-default: #f1f2f9;
|
|
26
|
+
--ov-ui-code-bg-default: #fbfbfc;
|
|
22
27
|
--ov-ui-status-success-default: #1f9d55;
|
|
23
28
|
--ov-ui-shadow-default: #0f172a;
|
|
29
|
+
--ov-ui-shadow-control-default: #0000000d;
|
|
24
30
|
--ov-ui-focus-default: #5252ff;
|
|
25
31
|
--ov-ui-fill-hover-default: #f1f2f9;
|
|
26
32
|
--ov-ui-status-error-default: #c43838;
|
|
27
33
|
--ov-ui-warning-default: #b26a00;
|
|
28
34
|
--ov-ui-warning-light-default: #fff0b3;
|
|
35
|
+
--ov-ui-overlay-default: #0006;
|
|
29
36
|
--ov-ui-tooltip-bg-default: #1f2329;
|
|
30
37
|
--ov-ui-tooltip-text-default: #fff;
|
|
31
38
|
}
|
|
32
39
|
|
|
33
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
40
|
+
.dark .ov-directory-tour, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
|
|
34
41
|
--ov-ui-primary-default: #5f5fff;
|
|
35
42
|
--ov-ui-primary-hover-default: #7075ff;
|
|
36
43
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -56,9 +63,14 @@
|
|
|
56
63
|
--ov-ui-warning-default: #e0a04a;
|
|
57
64
|
--ov-ui-warning-light-default: #3a2f14;
|
|
58
65
|
--ov-ui-tooltip-bg-default: #2a2d33;
|
|
66
|
+
--ov-ui-overlay-default: #000000a3;
|
|
59
67
|
--ov-ui-tooltip-text-default: #f0f1f3;
|
|
60
68
|
}
|
|
61
69
|
|
|
70
|
+
.dark .ov-viking-bot {
|
|
71
|
+
--ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
|
|
72
|
+
}
|
|
73
|
+
|
|
62
74
|
.ov-agent-connect {
|
|
63
75
|
--ov-ui-connect-card-default: #fbfbfc;
|
|
64
76
|
--ov-ui-connect-tabs-default: #f7f7f9;
|
|
@@ -79,22 +91,61 @@
|
|
|
79
91
|
--ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
|
|
80
92
|
}
|
|
81
93
|
|
|
94
|
+
.ov-popover {
|
|
95
|
+
--ov-ui-popover-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
|
|
96
|
+
--ov-ui-popover-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
|
|
97
|
+
--ov-ui-popover-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
|
|
98
|
+
z-index: 1000;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
border: 1px solid var(--ov-ui-popover-border);
|
|
101
|
+
background: var(--ov-ui-popover-bg);
|
|
102
|
+
max-width: 320px;
|
|
103
|
+
color: var(--ov-ui-popover-text);
|
|
104
|
+
overflow-wrap: break-word;
|
|
105
|
+
border-radius: 8px;
|
|
106
|
+
padding: 12px;
|
|
107
|
+
font-family: inherit;
|
|
108
|
+
font-size: 12px;
|
|
109
|
+
line-height: 20px;
|
|
110
|
+
animation: .12s ease-out ov-popover-enter;
|
|
111
|
+
position: fixed;
|
|
112
|
+
box-shadow: 0 15px 35px -2px #0000000d, 0 5px 15px #0000000d;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@keyframes ov-popover-enter {
|
|
116
|
+
from {
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
to {
|
|
121
|
+
opacity: 1;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (prefers-reduced-motion: reduce) {
|
|
126
|
+
.ov-popover {
|
|
127
|
+
animation: none;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
82
131
|
.ov-file-tree {
|
|
83
132
|
--ov-ui-file-tree-row-height: 32px;
|
|
84
133
|
--ov-ui-file-tree-row-radius: 4px;
|
|
85
134
|
--ov-ui-file-tree-indent: 20px;
|
|
86
|
-
--ov-ui-file-tree-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default
|
|
87
|
-
--ov-ui-file-tree-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default
|
|
88
|
-
--ov-ui-file-tree-icon: var(--ov-ui-color-text-
|
|
89
|
-
--ov-ui-file-tree-row-hover: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default
|
|
90
|
-
--ov-ui-file-tree-row-selected: var(--ov-ui-color-
|
|
91
|
-
--ov-ui-file-tree-guide: var(--ov-ui-color-border-
|
|
92
|
-
--ov-ui-file-tree-spinner-track: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default
|
|
93
|
-
--ov-ui-file-tree-spinner: var(--ov-ui-color-primary, var(--ov-ui-primary-default
|
|
94
|
-
--ov-ui-file-tree-action: var(--ov-ui-color-primary, var(--ov-ui-primary-default
|
|
95
|
-
--ov-ui-file-tree-warning: var(--ov-ui-color-warning, var(--ov-ui-warning-default
|
|
135
|
+
--ov-ui-file-tree-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
|
|
136
|
+
--ov-ui-file-tree-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
|
|
137
|
+
--ov-ui-file-tree-icon: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
|
|
138
|
+
--ov-ui-file-tree-row-hover: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
|
|
139
|
+
--ov-ui-file-tree-row-selected: var(--ov-ui-color-primary-light, var(--ov-ui-primary-light-default));
|
|
140
|
+
--ov-ui-file-tree-guide: var(--ov-ui-color-border-1, var(--ov-ui-border-1-default));
|
|
141
|
+
--ov-ui-file-tree-spinner-track: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
|
|
142
|
+
--ov-ui-file-tree-spinner: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
|
|
143
|
+
--ov-ui-file-tree-action: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
|
|
144
|
+
--ov-ui-file-tree-warning: var(--ov-ui-color-warning, var(--ov-ui-warning-default));
|
|
96
145
|
box-sizing: border-box;
|
|
97
146
|
min-width: 0;
|
|
147
|
+
max-width: 100%;
|
|
148
|
+
height: 100%;
|
|
98
149
|
min-height: 0;
|
|
99
150
|
color: var(--ov-ui-file-tree-text);
|
|
100
151
|
flex-direction: column;
|
|
@@ -117,20 +168,29 @@
|
|
|
117
168
|
|
|
118
169
|
.ov-file-tree__rows {
|
|
119
170
|
flex-direction: column;
|
|
171
|
+
width: max-content;
|
|
172
|
+
min-width: 100%;
|
|
120
173
|
display: flex;
|
|
121
174
|
}
|
|
122
175
|
|
|
123
176
|
.ov-file-tree__row, .ov-file-tree__state-row {
|
|
124
177
|
box-sizing: border-box;
|
|
178
|
+
width: max-content;
|
|
179
|
+
min-width: 100%;
|
|
125
180
|
height: var(--ov-ui-file-tree-row-height);
|
|
181
|
+
min-height: var(--ov-ui-file-tree-row-height);
|
|
126
182
|
border-radius: var(--ov-ui-file-tree-row-radius);
|
|
127
|
-
cursor:
|
|
183
|
+
cursor: pointer;
|
|
128
184
|
-webkit-user-select: none;
|
|
129
185
|
user-select: none;
|
|
130
186
|
outline: none;
|
|
187
|
+
flex: none;
|
|
131
188
|
align-items: center;
|
|
132
|
-
gap:
|
|
189
|
+
gap: 2px;
|
|
133
190
|
padding-right: 8px;
|
|
191
|
+
font-family: inherit;
|
|
192
|
+
font-size: 13px;
|
|
193
|
+
line-height: 20px;
|
|
134
194
|
display: flex;
|
|
135
195
|
position: relative;
|
|
136
196
|
}
|
|
@@ -175,6 +235,12 @@
|
|
|
175
235
|
display: inline-flex;
|
|
176
236
|
}
|
|
177
237
|
|
|
238
|
+
.ov-file-tree__toggle svg {
|
|
239
|
+
width: 12px;
|
|
240
|
+
height: 12px;
|
|
241
|
+
display: block;
|
|
242
|
+
}
|
|
243
|
+
|
|
178
244
|
.ov-file-tree__toggle {
|
|
179
245
|
color: var(--ov-ui-file-tree-text-muted);
|
|
180
246
|
cursor: pointer;
|
|
@@ -236,25 +302,26 @@
|
|
|
236
302
|
}
|
|
237
303
|
|
|
238
304
|
.ov-file-tree__label-group {
|
|
239
|
-
flex:
|
|
305
|
+
flex: none;
|
|
240
306
|
align-items: center;
|
|
241
307
|
gap: 8px;
|
|
242
|
-
min-width: 0;
|
|
243
308
|
display: flex;
|
|
244
|
-
overflow: hidden;
|
|
245
309
|
}
|
|
246
310
|
|
|
247
311
|
.ov-file-tree__label {
|
|
248
|
-
text-overflow: ellipsis;
|
|
249
312
|
white-space: nowrap;
|
|
250
|
-
|
|
313
|
+
flex: none;
|
|
251
314
|
}
|
|
252
315
|
|
|
253
316
|
.ov-file-tree__description {
|
|
317
|
+
max-width: 200px;
|
|
254
318
|
color: var(--ov-ui-file-tree-text-muted);
|
|
319
|
+
letter-spacing: .03px;
|
|
255
320
|
text-overflow: ellipsis;
|
|
256
321
|
white-space: nowrap;
|
|
257
|
-
|
|
322
|
+
flex: none;
|
|
323
|
+
font-size: 10px;
|
|
324
|
+
line-height: 20px;
|
|
258
325
|
overflow: hidden;
|
|
259
326
|
}
|
|
260
327
|
|
|
@@ -287,32 +354,18 @@
|
|
|
287
354
|
display: inline-flex;
|
|
288
355
|
}
|
|
289
356
|
|
|
290
|
-
.ov-file-tree__tooltip {
|
|
291
|
-
z-index: 1;
|
|
292
|
-
border-radius: var(--ov-ui-file-tree-row-radius);
|
|
293
|
-
background: var(--ov-ui-color-tooltip-bg, var(--ov-ui-tooltip-bg-default, #1f2329));
|
|
294
|
-
max-width: 320px;
|
|
295
|
-
color: var(--ov-ui-color-tooltip-text, var(--ov-ui-tooltip-text-default, #fff));
|
|
296
|
-
pointer-events: none;
|
|
297
|
-
padding: 6px 8px;
|
|
298
|
-
font-size: 12px;
|
|
299
|
-
line-height: 18px;
|
|
300
|
-
position: absolute;
|
|
301
|
-
top: calc(100% + 4px);
|
|
302
|
-
left: 0;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
357
|
.ov-file-tree__info {
|
|
306
358
|
flex-direction: column;
|
|
307
|
-
gap:
|
|
359
|
+
gap: 8px;
|
|
308
360
|
display: flex;
|
|
309
361
|
}
|
|
310
362
|
|
|
311
363
|
.ov-file-tree__info-title {
|
|
364
|
+
color: var(--ov-ui-file-tree-text);
|
|
312
365
|
word-break: break-all;
|
|
313
366
|
font-size: 13px;
|
|
314
367
|
font-weight: 500;
|
|
315
|
-
line-height:
|
|
368
|
+
line-height: 22px;
|
|
316
369
|
}
|
|
317
370
|
|
|
318
371
|
.ov-file-tree__info-row {
|
|
@@ -322,19 +375,20 @@
|
|
|
322
375
|
}
|
|
323
376
|
|
|
324
377
|
.ov-file-tree__info-label {
|
|
325
|
-
|
|
378
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
326
379
|
flex: none;
|
|
327
380
|
}
|
|
328
381
|
|
|
329
382
|
.ov-file-tree__info-value {
|
|
330
|
-
word-break: break-word;
|
|
331
383
|
min-width: 0;
|
|
384
|
+
color: var(--ov-ui-file-tree-text);
|
|
385
|
+
word-break: break-word;
|
|
332
386
|
}
|
|
333
387
|
|
|
334
388
|
.ov-file-tree__info-path {
|
|
335
|
-
opacity: .8;
|
|
336
|
-
word-break: break-all;
|
|
337
389
|
min-width: 0;
|
|
390
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
391
|
+
word-break: break-all;
|
|
338
392
|
}
|
|
339
393
|
|
|
340
394
|
.ov-file-tree__state-row {
|
|
@@ -342,7 +396,7 @@
|
|
|
342
396
|
}
|
|
343
397
|
|
|
344
398
|
.ov-file-tree__state-row[data-tone="error"] {
|
|
345
|
-
color: var(--ov-ui-color-status-error, var(--ov-ui-status-error-default
|
|
399
|
+
color: var(--ov-ui-color-status-error, var(--ov-ui-status-error-default));
|
|
346
400
|
}
|
|
347
401
|
|
|
348
402
|
.ov-file-tree__state {
|
|
@@ -408,5 +462,116 @@
|
|
|
408
462
|
}
|
|
409
463
|
}
|
|
410
464
|
|
|
465
|
+
.ov-file-tree__file-type-icon {
|
|
466
|
+
color: var(--ov-file-tree-icon-light, var(--ov-ui-file-tree-icon));
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.dark .ov-file-tree__file-type-icon {
|
|
470
|
+
color: var(--ov-file-tree-icon-dark, var(--ov-ui-file-tree-icon));
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.ov-file-tree__controls {
|
|
474
|
+
flex: none;
|
|
475
|
+
align-items: center;
|
|
476
|
+
gap: 8px;
|
|
477
|
+
min-width: 0;
|
|
478
|
+
padding: 1px 1px 7px;
|
|
479
|
+
display: flex;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.ov-file-tree__search, .ov-file-tree__refresh {
|
|
483
|
+
box-sizing: border-box;
|
|
484
|
+
border: 1px solid var(--ov-ui-color-border-2, var(--ov-ui-border-2-default));
|
|
485
|
+
background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
|
|
486
|
+
height: 32px;
|
|
487
|
+
color: var(--ov-ui-file-tree-icon);
|
|
488
|
+
box-shadow: 0 1px 1px
|
|
489
|
+
var(--ov-ui-color-shadow-control, var(--ov-ui-shadow-control-default));
|
|
490
|
+
cursor: pointer;
|
|
491
|
+
border-radius: 6px;
|
|
492
|
+
flex-shrink: 0;
|
|
493
|
+
justify-content: center;
|
|
494
|
+
align-items: center;
|
|
495
|
+
margin: 0;
|
|
496
|
+
padding: 0;
|
|
497
|
+
font-family: inherit;
|
|
498
|
+
font-size: 12px;
|
|
499
|
+
font-weight: 400;
|
|
500
|
+
line-height: 22px;
|
|
501
|
+
transition: border-color .16s, background-color .16s;
|
|
502
|
+
display: inline-flex;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.ov-file-tree__search {
|
|
506
|
+
min-width: 0;
|
|
507
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
508
|
+
text-align: left;
|
|
509
|
+
flex: auto;
|
|
510
|
+
justify-content: flex-start;
|
|
511
|
+
gap: 4px;
|
|
512
|
+
padding: 4px 12px;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.ov-file-tree__search svg {
|
|
516
|
+
flex: none;
|
|
517
|
+
width: 16px;
|
|
518
|
+
height: 16px;
|
|
519
|
+
display: block;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.ov-file-tree__search-label {
|
|
523
|
+
letter-spacing: .036px;
|
|
524
|
+
text-overflow: ellipsis;
|
|
525
|
+
white-space: nowrap;
|
|
526
|
+
min-width: 0;
|
|
527
|
+
overflow: hidden;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.ov-file-tree__refresh {
|
|
531
|
+
width: 32px;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.ov-file-tree__refresh svg {
|
|
535
|
+
flex: none;
|
|
536
|
+
display: block;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.ov-file-tree__search:hover:not(:disabled), .ov-file-tree__refresh:hover:not(:disabled) {
|
|
540
|
+
border-color: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.ov-file-tree__refresh:hover:not(:disabled) {
|
|
544
|
+
background: var(--ov-ui-file-tree-row-hover);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.ov-file-tree__search:focus-visible, .ov-file-tree__refresh:focus-visible {
|
|
548
|
+
outline: 2px solid var(--ov-ui-file-tree-action);
|
|
549
|
+
outline-offset: 2px;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.ov-file-tree__search:disabled, .ov-file-tree__refresh:disabled {
|
|
553
|
+
cursor: not-allowed;
|
|
554
|
+
opacity: .6;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.ov-file-tree__refresh[aria-busy="true"] {
|
|
558
|
+
cursor: wait;
|
|
559
|
+
opacity: 1;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.ov-file-tree__refresh-spinning {
|
|
563
|
+
animation: .9s linear infinite ov-file-tree-spin;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
@media (prefers-reduced-motion: reduce) {
|
|
567
|
+
.ov-file-tree__search, .ov-file-tree__refresh {
|
|
568
|
+
transition: none;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.ov-file-tree__refresh-spinning {
|
|
572
|
+
animation-duration: 2s;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
411
576
|
|
|
412
577
|
|