dsh-chef 0.3.60 → 0.3.62

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.
@@ -0,0 +1,29 @@
1
+ /** dsh-chef 客户端存根(P10 脚手架)。
2
+ *
3
+ * 写死槽位原生组件,不做动态按需加载,不做外嵌页。
4
+ * 面板取数只经 host.call 进 host 桥(见 bridge.ts),不 import 技能实现。
5
+ * 缺席纯条件渲染,无轮询(本文件无任何定时器)。
6
+ */
7
+ import type { TabsPort } from './slot.js';
8
+ export interface HostCaller {
9
+ call(method: string, args: unknown): Promise<unknown>;
10
+ }
11
+ export declare const CLIENT_COMPONENT: {
12
+ readonly kind: "native";
13
+ readonly name: "ChefPanel";
14
+ };
15
+ export declare const CLIENT_METHOD: "ilife.chef.read";
16
+ /** 客户端插件声明的 ctx 服务短名(loader 契约之一)。占位实现不读任何服务,故为空数组;
17
+ * `package.json` 的 `dsh.client.inject` 与本数组同为空;真面板接线见 #57。 */
18
+ export declare const inject: readonly string[];
19
+ /** 客户端插件入口(loader 契约之二):DSH 客户端 runner 只把「有 `apply` 函数」的对象当插件
20
+ * (`dsh-cordis-client-runner` 里 `typeof value === 'object' && typeof value.apply === 'function'`)。
21
+ *
22
+ * **这是占位**:真面板接线(槽位注册/软依赖有界重试/AbortSignal 超时/三态渲染)属 #57 那条线。
23
+ * 做成空实现只为让客户端产物在 loader 里是**合法插件**、不阻碍 web profile 启动——
24
+ * 不是把面板「做完」。 */
25
+ export declare function apply(): void;
26
+ export declare function mountSingleClient(port: TabsPort): (() => void) | null;
27
+ export declare function openSingleClient(port: TabsPort, sessionId?: string): void;
28
+ export declare function requestReadViaHost(host: HostCaller, key: string, params?: Record<string, unknown>): Promise<unknown>;
29
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,gBAAgB;;;CAAgB,CAAC;AAC9C,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAE9C;+DAC+D;AAC/D,eAAO,MAAM,MAAM,EAAE,SAAS,MAAM,EAAO,CAAC;AAE5C;;;;;iBAKiB;AACjB,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAErE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAEzE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAExH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-chef",
3
- "version": "0.3.60",
3
+ "version": "0.3.62",
4
4
  "description": "爱生活单品插件 P10 脚手架:大厨(ilife:chef order 90),硬依赖总管 dsh-life-pack",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "node": ">=22.13"
31
31
  },
32
32
  "dependencies": {
33
- "dsh-life-pack": "0.3.60",
33
+ "dsh-life-pack": "0.3.62",
34
34
  "skill-chef": "0.3.54"
35
35
  },
36
36
  "dsh": {