@dsh-workbench/core 0.1.3 → 0.1.5
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/bin/dsh-workbench +25 -1
- package/client.js +153 -141
- package/dist/client/client.body.js +153 -141
- package/dist/client/index.js +153 -141
- package/dist/host/index.js +76 -31
- package/dist/types/app/client.d.ts +23 -39
- package/dist/types/app/layouts/market/add-module-mock.d.ts +0 -1
- package/dist/types/app/layouts/market/use-add-module.d.ts +0 -1
- package/dist/types/app/layouts/rightbar/market-rows.d.ts +8 -2
- package/dist/types/modules/panels/model/market-dependency.d.ts +1 -0
- package/dist/types/shared/api/host/bundle-routes.d.ts +2 -2
- package/dist/types/shared/api/host/installed-module.d.ts +2 -0
- package/dist/types/shared/components/Tip.d.ts +4 -0
- package/dist/types/shared/hooks/bundle-queries.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types/app/layouts/rightbar/MarketFreshLines.d.ts +0 -5
|
@@ -4,6 +4,7 @@ export type InstalledModule = {
|
|
|
4
4
|
readonly pkg: string;
|
|
5
5
|
readonly unit: string;
|
|
6
6
|
readonly version: string;
|
|
7
|
+
readonly registry?: string;
|
|
7
8
|
} | {
|
|
8
9
|
readonly kind: 'not-module';
|
|
9
10
|
readonly pkg: string;
|
|
@@ -17,6 +18,7 @@ export interface ProfileModule {
|
|
|
17
18
|
readonly pkg: string;
|
|
18
19
|
readonly unit: string;
|
|
19
20
|
readonly version: string;
|
|
21
|
+
readonly registry?: string;
|
|
20
22
|
}
|
|
21
23
|
export declare function profileModules(profileDir: string | null): readonly ProfileModule[];
|
|
22
24
|
export declare function readInstalledModule(profileDir: string | null, pkg: string): InstalledModule;
|
|
@@ -2,4 +2,4 @@ import type { ApiResponse } from '@dsh-workbench/shared';
|
|
|
2
2
|
import { type BundleInspectionPayload, type BundleRegistriesPayload, type ModuleVersionsPayload } from '../api/bundle-install';
|
|
3
3
|
export declare function readBundleRegistries(): Promise<ApiResponse<BundleRegistriesPayload>>;
|
|
4
4
|
export declare function readBundleInspection(spec: string, registry?: string): Promise<ApiResponse<BundleInspectionPayload>>;
|
|
5
|
-
export declare function readModuleVersions(): Promise<ApiResponse<ModuleVersionsPayload>>;
|
|
5
|
+
export declare function readModuleVersions(force?: boolean): Promise<ApiResponse<ModuleVersionsPayload>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "个人工作台:Agent 工作台外壳(左栏 + 常驻对话 + 自研右侧数据面板)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "./icon.svg",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@dsh-workbench/shared": "0.1.
|
|
81
|
+
"@dsh-workbench/shared": "0.1.5"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "node scripts/build.mjs && node scripts/build-types.mjs",
|