@dsh-workbench/core 0.2.15 → 0.2.16
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/client.js +320 -149
- package/dist/client/client.body.js +320 -149
- package/dist/client/index.js +3265 -479
- package/dist/host/index.js +223 -61
- package/dist/types/app/client.d.ts +99 -45
- package/dist/types/app/layouts/rightbar/__tests__/board-fact.test.d.ts +1 -0
- package/dist/types/app/layouts/rightbar/board-fact.d.ts +5 -0
- package/dist/types/app/layouts/sidebar/DebugFooterAction.d.ts +9 -5
- package/dist/types/modules/panels/model/diy-browser-act.d.ts +1 -1
- package/dist/types/modules/panels/model/diy-browser.d.ts +1 -0
- package/dist/types/modules/panels/model/diy-page.d.ts +5 -3
- package/dist/types/modules/panels/model/diy-scripts.d.ts +1 -1
- package/dist/types/shared/__tests__/host-import-barrel.test.d.ts +1 -0
- package/dist/types/shared/api/host/__tests__/diy-debug-act.test.d.ts +1 -0
- package/dist/types/shared/api/host/__tests__/host-args.test.d.ts +1 -0
- package/dist/types/shared/api/host/diy-debug-act.d.ts +31 -0
- package/dist/types/shared/api/host/host-args.d.ts +3 -0
- package/dist/types/shared/hooks/use-diy-debug.d.ts +4 -0
- package/package.json +2 -2
- package/dist/types/app/layouts/rightbar/DebugStrip.d.ts +0 -11
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { DebugState } from '@dsh-workbench/shared';
|
|
2
|
+
import type { HostWrite } from './use-host-write';
|
|
2
3
|
export declare const DIY_DEBUG_ROUTE = "panels/diy-debug";
|
|
3
4
|
export declare const DIY_DEBUG_FACT = "diy-debug";
|
|
4
5
|
export declare function useDiyDebugState(): DebugState | null;
|
|
6
|
+
export declare function useDiyDebugAct(): HostWrite<{
|
|
7
|
+
text?: string;
|
|
8
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "个人工作台:Agent 工作台外壳(左栏 + 常驻对话 + 自研右侧数据面板)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "./icon.svg",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@dsh-workbench/shared": "0.2.
|
|
90
|
+
"@dsh-workbench/shared": "0.2.16"
|
|
91
91
|
},
|
|
92
92
|
"scripts": {
|
|
93
93
|
"build": "node scripts/build.mjs && node scripts/build-types.mjs",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { DebugState, Translate } from '@dsh-workbench/shared';
|
|
2
|
-
export interface DebugStripProps {
|
|
3
|
-
readonly board: string | null;
|
|
4
|
-
readonly t: Translate;
|
|
5
|
-
}
|
|
6
|
-
export interface DebugStripView {
|
|
7
|
-
readonly text: string;
|
|
8
|
-
readonly stalled: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare function debugStripView(state: DebugState, t: Translate): DebugStripView;
|
|
11
|
-
export declare function DebugStrip({ board, t }: DebugStripProps): JSX.Element | null;
|