@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.
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { Tooltip } from '@deepseek-ai/dsh-client-ui-primitives';
2
+ type TooltipProps = Parameters<typeof Tooltip>[0];
3
+ export declare function Tip({ side, align, gap, portal, ...rest }: TooltipProps): JSX.Element;
4
+ export {};
@@ -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",
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.3"
81
+ "@dsh-workbench/shared": "0.1.5"
82
82
  },
83
83
  "scripts": {
84
84
  "build": "node scripts/build.mjs && node scripts/build-types.mjs",
@@ -1,5 +0,0 @@
1
- import type { Translate } from '@dsh-workbench/shared';
2
- export declare function MarketCheckedAt({ t, at }: {
3
- readonly t: Translate;
4
- readonly at: number | null;
5
- }): JSX.Element | null;