@straydragon/dsh-halcyon-uiux 0.0.0-stage → 0.1.0
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 +21 -0
- package/README.md +109 -2
- package/THIRD_PARTY_NOTICES.md +94 -0
- package/assets/icon.svg +22 -0
- package/assets/locale/en.json +129 -0
- package/assets/locale/zh.json +129 -0
- package/cordis.patch.yml +21 -0
- package/dist/client.js +1439 -0
- package/dist/index.js +938 -0
- package/dist/types/config.d.ts +177 -0
- package/dist/types/identity.d.ts +8 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/shared.d.ts +86 -0
- package/package.json +84 -5
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/** Host-side live configuration schema for every UI/UX behavior. */
|
|
2
|
+
import type { Volatile } from '@deepseek-ai/cordis';
|
|
3
|
+
import z from '@deepseek-ai/schemastery';
|
|
4
|
+
/** Live floating-window chrome shared by every viewer behavior. */
|
|
5
|
+
export interface WindowConfig {
|
|
6
|
+
zoom: Volatile<boolean>;
|
|
7
|
+
defaultTranslucent: Volatile<boolean>;
|
|
8
|
+
panelOpacity: Volatile<number>;
|
|
9
|
+
}
|
|
10
|
+
/** Live Mermaid-viewer switches. Each leaf is volatile so the browser form can
|
|
11
|
+
* edit it without reloading the plugin entry. */
|
|
12
|
+
export interface MermaidBehaviorConfig {
|
|
13
|
+
enabled: Volatile<boolean>;
|
|
14
|
+
codeButton: Volatile<boolean>;
|
|
15
|
+
allowLinks: Volatile<boolean>;
|
|
16
|
+
multiInstance: Volatile<boolean>;
|
|
17
|
+
}
|
|
18
|
+
/** Live state-machine-viewer switches. */
|
|
19
|
+
export interface XstateBehaviorConfig {
|
|
20
|
+
enabled: Volatile<boolean>;
|
|
21
|
+
multiInstance: Volatile<boolean>;
|
|
22
|
+
execution: Volatile<'off' | 'confirm' | 'auto'>;
|
|
23
|
+
}
|
|
24
|
+
/** Live sidebar-document switches. */
|
|
25
|
+
export interface SidebarBehaviorConfig {
|
|
26
|
+
codeBlocks: Volatile<boolean>;
|
|
27
|
+
mermaidFile: Volatile<boolean>;
|
|
28
|
+
}
|
|
29
|
+
/** Live plugin configuration. */
|
|
30
|
+
export interface Config {
|
|
31
|
+
panels: WindowConfig;
|
|
32
|
+
behaviors: {
|
|
33
|
+
mermaid: MermaidBehaviorConfig;
|
|
34
|
+
xstate: XstateBehaviorConfig;
|
|
35
|
+
sidebar: SidebarBehaviorConfig;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The settings service projects volatile leaves into `settings.describe` and
|
|
40
|
+
* the browser `configForms` snapshot. Nested objects are allowed; the nearest
|
|
41
|
+
* volatile node decides which paths are editable live.
|
|
42
|
+
*/
|
|
43
|
+
export declare const Config: z<Schemastery.ObjectS<NoInfer<{
|
|
44
|
+
panels: z<Schemastery.ObjectS<NoInfer<{
|
|
45
|
+
zoom: z<boolean, boolean, "volatile-defined">;
|
|
46
|
+
defaultTranslucent: z<boolean, boolean, "volatile-defined">;
|
|
47
|
+
panelOpacity: z<number, number, "volatile-defined">;
|
|
48
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
49
|
+
zoom: z<boolean, boolean, "volatile-defined">;
|
|
50
|
+
defaultTranslucent: z<boolean, boolean, "volatile-defined">;
|
|
51
|
+
panelOpacity: z<number, number, "volatile-defined">;
|
|
52
|
+
}>>, "plain">;
|
|
53
|
+
behaviors: z<Schemastery.ObjectS<NoInfer<{
|
|
54
|
+
mermaid: z<Schemastery.ObjectS<NoInfer<{
|
|
55
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
56
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
57
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
58
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
59
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
60
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
61
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
62
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
63
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
64
|
+
}>>, "plain">;
|
|
65
|
+
xstate: z<Schemastery.ObjectS<NoInfer<{
|
|
66
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
67
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
68
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
69
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
70
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
71
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
72
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
73
|
+
}>>, "plain">;
|
|
74
|
+
sidebar: z<Schemastery.ObjectS<NoInfer<{
|
|
75
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
76
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
77
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
78
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
79
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
80
|
+
}>>, "plain">;
|
|
81
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
82
|
+
mermaid: z<Schemastery.ObjectS<NoInfer<{
|
|
83
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
84
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
85
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
86
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
87
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
88
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
89
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
90
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
91
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
92
|
+
}>>, "plain">;
|
|
93
|
+
xstate: z<Schemastery.ObjectS<NoInfer<{
|
|
94
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
95
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
96
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
97
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
98
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
99
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
100
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
101
|
+
}>>, "plain">;
|
|
102
|
+
sidebar: z<Schemastery.ObjectS<NoInfer<{
|
|
103
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
104
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
105
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
106
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
107
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
108
|
+
}>>, "plain">;
|
|
109
|
+
}>>, "plain">;
|
|
110
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
111
|
+
panels: z<Schemastery.ObjectS<NoInfer<{
|
|
112
|
+
zoom: z<boolean, boolean, "volatile-defined">;
|
|
113
|
+
defaultTranslucent: z<boolean, boolean, "volatile-defined">;
|
|
114
|
+
panelOpacity: z<number, number, "volatile-defined">;
|
|
115
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
116
|
+
zoom: z<boolean, boolean, "volatile-defined">;
|
|
117
|
+
defaultTranslucent: z<boolean, boolean, "volatile-defined">;
|
|
118
|
+
panelOpacity: z<number, number, "volatile-defined">;
|
|
119
|
+
}>>, "plain">;
|
|
120
|
+
behaviors: z<Schemastery.ObjectS<NoInfer<{
|
|
121
|
+
mermaid: z<Schemastery.ObjectS<NoInfer<{
|
|
122
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
123
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
124
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
125
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
126
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
127
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
128
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
129
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
130
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
131
|
+
}>>, "plain">;
|
|
132
|
+
xstate: z<Schemastery.ObjectS<NoInfer<{
|
|
133
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
134
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
135
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
136
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
137
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
138
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
139
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
140
|
+
}>>, "plain">;
|
|
141
|
+
sidebar: z<Schemastery.ObjectS<NoInfer<{
|
|
142
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
143
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
144
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
145
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
146
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
147
|
+
}>>, "plain">;
|
|
148
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
149
|
+
mermaid: z<Schemastery.ObjectS<NoInfer<{
|
|
150
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
151
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
152
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
153
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
154
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
155
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
156
|
+
codeButton: z<boolean, boolean, "volatile-defined">;
|
|
157
|
+
allowLinks: z<boolean, boolean, "volatile-defined">;
|
|
158
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
159
|
+
}>>, "plain">;
|
|
160
|
+
xstate: z<Schemastery.ObjectS<NoInfer<{
|
|
161
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
162
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
163
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
164
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
165
|
+
enabled: z<boolean, boolean, "volatile-defined">;
|
|
166
|
+
multiInstance: z<boolean, boolean, "volatile-defined">;
|
|
167
|
+
execution: z<"auto" | "confirm" | "off", "auto" | "confirm" | "off", "volatile-defined">;
|
|
168
|
+
}>>, "plain">;
|
|
169
|
+
sidebar: z<Schemastery.ObjectS<NoInfer<{
|
|
170
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
171
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
172
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
173
|
+
codeBlocks: z<boolean, boolean, "volatile-defined">;
|
|
174
|
+
mermaidFile: z<boolean, boolean, "volatile-defined">;
|
|
175
|
+
}>>, "plain">;
|
|
176
|
+
}>>, "plain">;
|
|
177
|
+
}>>, "plain">;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Stable identifiers shared by the Host and browser halves. */
|
|
2
|
+
export declare const PACKAGE_NAME = "@straydragon/dsh-halcyon-uiux";
|
|
3
|
+
/** Loader entry, patch-entry, and settings-namespace id. */
|
|
4
|
+
export declare const PLUGIN_ID = "dsh-halcyon-uiux";
|
|
5
|
+
/** Locale namespace owned by this package. */
|
|
6
|
+
export declare const LOCALE_NS = "dsh-halcyon-uiux";
|
|
7
|
+
/** Implementation id of the Mermaid file preview in the sidebar's document registry. */
|
|
8
|
+
export declare const MERMAID_FILE_ID = "dsh-halcyon-uiux/mermaid-file";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Host half: declares the live configuration schema; all behavior is browser-side. */
|
|
2
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
+
import type { Config as ConfigShape } from './config';
|
|
4
|
+
export { Config } from './config';
|
|
5
|
+
export type { Config as UiUxConfig, MermaidBehaviorConfig, SidebarBehaviorConfig, WindowConfig, XstateBehaviorConfig, } from './config';
|
|
6
|
+
/**
|
|
7
|
+
* The plugin has no Host services of its own. Registering the exported schema
|
|
8
|
+
* is what makes `settings.describe` project the volatile Mermaid switches to
|
|
9
|
+
* the browser, where `configForms` edits them live.
|
|
10
|
+
*/
|
|
11
|
+
export declare function apply(_ctx: Context, _config: ConfigShape): void;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host/client contract. This module must stay dependency-free so both halves
|
|
3
|
+
* can import it without pulling Node-only or browser-only code into the other.
|
|
4
|
+
*/
|
|
5
|
+
/** Shared floating-window chrome applied by every viewer behavior. */
|
|
6
|
+
export interface WindowSettings {
|
|
7
|
+
/** Enable zoom, pan, and fit controls inside a viewer window. */
|
|
8
|
+
zoom: boolean;
|
|
9
|
+
/** Start new floating windows with the translucent background already on. */
|
|
10
|
+
defaultTranslucent: boolean;
|
|
11
|
+
/** Background opacity (percent) used by the panel's translucency toggle. */
|
|
12
|
+
panelOpacity: number;
|
|
13
|
+
}
|
|
14
|
+
/** The Mermaid-viewer behavior. */
|
|
15
|
+
export interface MermaidBehaviorSettings {
|
|
16
|
+
/** Master switch for the whole Mermaid viewer. */
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
/** Show the hover/focus trigger above a Mermaid code block. */
|
|
19
|
+
codeButton: boolean;
|
|
20
|
+
/** Make links inside rendered diagrams clickable. */
|
|
21
|
+
allowLinks: boolean;
|
|
22
|
+
/** Open every diagram in its own floating window instead of one. */
|
|
23
|
+
multiInstance: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* How the state-machine viewer may run a parsed machine. `off` renders a
|
|
27
|
+
* static graph and simulates events without executing anything; `confirm`
|
|
28
|
+
* builds a real actor only after the user presses run; `auto` builds one as
|
|
29
|
+
* soon as the window opens. Nothing from the message is ever evaluated as
|
|
30
|
+
* code — the actor is rebuilt from the parsed configuration with stubs.
|
|
31
|
+
*/
|
|
32
|
+
export type XstateExecution = 'off' | 'confirm' | 'auto';
|
|
33
|
+
/** The state-machine-viewer behavior. */
|
|
34
|
+
export interface XstateBehaviorSettings {
|
|
35
|
+
/** Master switch for the whole state-machine viewer. */
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
/** Open every machine in its own floating window instead of one. */
|
|
38
|
+
multiInstance: boolean;
|
|
39
|
+
/** Simulation tier, from static-only to fully interactive. */
|
|
40
|
+
execution: XstateExecution;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The sidebar-document behavior: where else the viewers attach. The right
|
|
44
|
+
* sidebar shows documents (Markdown, code, Mermaid files) whose code blocks
|
|
45
|
+
* and diagrams the chat viewers can open just as well.
|
|
46
|
+
*/
|
|
47
|
+
export interface SidebarBehaviorSettings {
|
|
48
|
+
/** Show the hover trigger on viewer-classified code blocks inside sidebar documents. */
|
|
49
|
+
codeBlocks: boolean;
|
|
50
|
+
/** Preview Mermaid source files (.mmd, .mermaid) as a diagram instead of plain text. */
|
|
51
|
+
mermaidFile: boolean;
|
|
52
|
+
}
|
|
53
|
+
/** Complete live configuration owned by this plugin. */
|
|
54
|
+
export interface UiUxSettings {
|
|
55
|
+
panels: WindowSettings;
|
|
56
|
+
behaviors: {
|
|
57
|
+
mermaid: MermaidBehaviorSettings;
|
|
58
|
+
xstate: XstateBehaviorSettings;
|
|
59
|
+
sidebar: SidebarBehaviorSettings;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/** File suffixes the Mermaid file preview claims in the sidebar's document registry. */
|
|
63
|
+
export declare const MERMAID_FILE_EXTENSIONS: ReadonlyArray<string>;
|
|
64
|
+
/** Defaults are used by the schema and by the client before a form arrives. */
|
|
65
|
+
export declare const DEFAULT_WINDOW_SETTINGS: Readonly<WindowSettings>;
|
|
66
|
+
export declare const DEFAULT_MERMAID_SETTINGS: Readonly<MermaidBehaviorSettings>;
|
|
67
|
+
export declare const DEFAULT_XSTATE_SETTINGS: Readonly<XstateBehaviorSettings>;
|
|
68
|
+
export declare const DEFAULT_SIDEBAR_SETTINGS: Readonly<SidebarBehaviorSettings>;
|
|
69
|
+
/** Every execution tier the viewer understands, ordered from safest. */
|
|
70
|
+
export declare const XSTATE_EXECUTIONS: ReadonlyArray<XstateExecution>;
|
|
71
|
+
/** Usable bounds for the translucent background opacity, in percent. */
|
|
72
|
+
export declare const MIN_PANEL_OPACITY = 30;
|
|
73
|
+
export declare const MAX_PANEL_OPACITY = 100;
|
|
74
|
+
/** Opacity levels step by five so the slider stays easy to hit. */
|
|
75
|
+
export declare const PANEL_OPACITY_STEP = 5;
|
|
76
|
+
/** Clamp any input to a whole-percent opacity the panel can show. */
|
|
77
|
+
export declare function clampPanelOpacity(value: unknown): number;
|
|
78
|
+
/** Default live configuration. */
|
|
79
|
+
export declare const DEFAULT_SETTINGS: UiUxSettings;
|
|
80
|
+
/**
|
|
81
|
+
* Accept a partial form snapshot and fill every missing or mistyped field
|
|
82
|
+
* with its default, so the viewer stays usable while the settings form is
|
|
83
|
+
* still loading. Fields outside the current shape are ignored; the plugin
|
|
84
|
+
* does not carry readers for retired shapes.
|
|
85
|
+
*/
|
|
86
|
+
export declare function normalizeSettings(value: unknown): UiUxSettings;
|
package/package.json
CHANGED
|
@@ -1,6 +1,85 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@straydragon/dsh-halcyon-uiux",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Thoughtful UI/UX behavior for the DeepSeek Harness Web GUI: floating viewers for Mermaid diagrams and XState machines in chat and sidebar documents, plus a Mermaid file preview.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "StrayDragon",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/StrayDragon/dsh-halcyon-uiux.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/StrayDragon/dsh-halcyon-uiux#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/StrayDragon/dsh-halcyon-uiux/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"icon": "./assets/icon.svg",
|
|
17
|
+
"engines": {
|
|
18
|
+
"dsh": ">=0.2.2-alpha.2 <0.3.0-0"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/types/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./client": "./dist/client.js",
|
|
26
|
+
"./assets/locale/*.json": "./assets/locale/*.json",
|
|
27
|
+
"./icon": "./assets/icon.svg",
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/index.js",
|
|
32
|
+
"dist/client.js",
|
|
33
|
+
"dist/types/**/*.d.ts",
|
|
34
|
+
"assets/locale/*.json",
|
|
35
|
+
"assets/icon.svg",
|
|
36
|
+
"cordis.patch.yml",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE",
|
|
39
|
+
"THIRD_PARTY_NOTICES.md"
|
|
40
|
+
],
|
|
41
|
+
"dsh": {
|
|
42
|
+
"testedRuntime": "0.2.3-alpha.3",
|
|
43
|
+
"bundle": {
|
|
44
|
+
"patch": "./cordis.patch.yml"
|
|
45
|
+
},
|
|
46
|
+
"client": {
|
|
47
|
+
"platform": "web",
|
|
48
|
+
"immediately": true,
|
|
49
|
+
"inject": [
|
|
50
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
51
|
+
"@deepseek-ai/dsh-client-connection",
|
|
52
|
+
"@deepseek-ai/dsh-client-locale",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@dagrejs/dagre": "^3.1.1",
|
|
61
|
+
"@deepseek-ai/cordis": "^4.1.0",
|
|
62
|
+
"@deepseek-ai/schemastery": "^3.19.0",
|
|
63
|
+
"@types/bun": "^1.4.3",
|
|
64
|
+
"@types/react": "^19.3.0",
|
|
65
|
+
"@types/react-dom": "^19.3.0",
|
|
66
|
+
"happy-dom": "^21.0.4",
|
|
67
|
+
"pele": "^1.8.0",
|
|
68
|
+
"react": "^19",
|
|
69
|
+
"react-dom": "^19",
|
|
70
|
+
"tsup": "^9.0.0",
|
|
71
|
+
"typescript": "^7.0.2",
|
|
72
|
+
"xstate": "^5.33.3"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"typecheck": "./node_modules/.bin/tsc --noEmit",
|
|
76
|
+
"build": "bun run scripts/build.ts",
|
|
77
|
+
"prepublishOnly": "bun run typecheck && bun run build && bun run test:smoke",
|
|
78
|
+
"test": "bun test",
|
|
79
|
+
"test:smoke": "bun scripts/smoke.mjs"
|
|
80
|
+
},
|
|
81
|
+
"packageManager": "bun@1.4.3",
|
|
82
|
+
"publishConfig": {
|
|
83
|
+
"access": "public"
|
|
84
|
+
}
|
|
85
|
+
}
|