@lengmoxxl/sdk 0.1.9 → 0.1.10

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/dist/bridge.cjs CHANGED
@@ -21,9 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var bridge_exports = {};
22
22
  __export(bridge_exports, {
23
23
  contractVersion: () => contractVersion,
24
- corePageTopic: () => corePageTopic,
24
+ coreId: () => coreId,
25
25
  coreScheme: () => coreScheme,
26
- coreStatusTopic: () => coreStatusTopic,
27
26
  fullscreenTopic: () => fullscreenTopic,
28
27
  installStatusesTopic: () => installStatusesTopic,
29
28
  link: () => link,
@@ -38,7 +37,7 @@ __export(bridge_exports, {
38
37
  uiFont: () => uiFont
39
38
  });
40
39
  module.exports = __toCommonJS(bridge_exports);
41
- var contractVersion = 1;
40
+ var contractVersion = 2;
42
41
  var uiFont = '"DejaVuSansM Nerd Font Mono", monospace';
43
42
  var coreScheme = "wangcai-core";
44
43
  var pluginScheme = "wangcai-plugin";
@@ -50,16 +49,14 @@ var previewMessage = "wangcai-preview";
50
49
  var link = { invoke: "wangcai:invoke", channel: "wangcai:channel" };
51
50
  var pluginPageTopic = "plugin-page";
52
51
  var installStatusesTopic = "install-statuses";
53
- var corePageTopic = "core-page";
54
- var coreStatusTopic = "core-status";
52
+ var coreId = "core";
55
53
  var fullscreenTopic = "fullscreen";
56
54
  var stageNames = { cloning: "\u514B\u9686\u4E2D", updating: "\u540C\u6B65\u4E2D", installing: "\u5B89\u88C5\u4F9D\u8D56", building: "\u6784\u5EFA\u4E2D", ready: "\u5C31\u7EEA", failed: "\u5931\u8D25" };
57
55
  // Annotate the CommonJS export names for ESM import in node:
58
56
  0 && (module.exports = {
59
57
  contractVersion,
60
- corePageTopic,
58
+ coreId,
61
59
  coreScheme,
62
- coreStatusTopic,
63
60
  fullscreenTopic,
64
61
  installStatusesTopic,
65
62
  link,
package/dist/bridge.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const contractVersion = 1;
1
+ export declare const contractVersion = 2;
2
2
  export declare const uiFont = "\"DejaVuSansM Nerd Font Mono\", monospace";
3
3
  export declare const coreScheme = "wangcai-core";
4
4
  export declare const pluginScheme = "wangcai-plugin";
@@ -13,8 +13,7 @@ export declare const link: {
13
13
  };
14
14
  export declare const pluginPageTopic = "plugin-page";
15
15
  export declare const installStatusesTopic = "install-statuses";
16
- export declare const corePageTopic = "core-page";
17
- export declare const coreStatusTopic = "core-status";
16
+ export declare const coreId = "core";
18
17
  export declare const fullscreenTopic = "fullscreen";
19
18
  /** How a run reaches the network: `proxy` is an http://, https:// or socks5:// address, and `mirror` is a
20
19
  * prefix every https://github.com/ URL goes out through. */
@@ -44,7 +43,6 @@ export interface InstallStatus {
44
43
  stage: InstallStage;
45
44
  message?: string;
46
45
  }
47
- export type CoreStatus = Omit<InstallStatus, 'id'>;
48
46
  export declare const stageNames: Record<InstallStage, string>;
49
47
  export interface WorkspaceGroup {
50
48
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lengmoxxl/sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Client SDK for WangCai: connect to a local or remote machine and drive its pty, files and git",
5
5
  "license": "MIT",
6
6
  "repository": {