@workclaw/cli 1.0.332 → 1.0.333

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.
Files changed (102) hide show
  1. package/dist/commands/box/configs/index.d.ts.map +1 -0
  2. package/dist/commands/box/configs/model.d.ts.map +1 -0
  3. package/dist/commands/box/error/index.d.ts.map +1 -0
  4. package/dist/commands/box/index.d.ts.map +1 -0
  5. package/dist/commands/box/installer/index.d.ts.map +1 -0
  6. package/dist/commands/box/installer/installer.d.ts.map +1 -0
  7. package/dist/{box/types → commands/box/schemas}/index.d.ts +1 -30
  8. package/dist/commands/box/schemas/index.d.ts.map +1 -0
  9. package/dist/commands/box/src/box.d.ts.map +1 -0
  10. package/dist/commands/box/types/index.d.ts +32 -0
  11. package/dist/commands/box/types/index.d.ts.map +1 -0
  12. package/dist/commands/local/apis/http.d.ts.map +1 -0
  13. package/dist/{local → commands/local}/apis/index.d.ts +1 -1
  14. package/dist/commands/local/apis/index.d.ts.map +1 -0
  15. package/dist/commands/local/configs/index.d.ts.map +1 -0
  16. package/dist/commands/local/configs/model.d.ts.map +1 -0
  17. package/dist/commands/local/error/index.d.ts.map +1 -0
  18. package/dist/commands/local/index.d.ts.map +1 -0
  19. package/dist/commands/local/installer/index.d.ts.map +1 -0
  20. package/dist/commands/local/installer/installer.d.ts.map +1 -0
  21. package/dist/{local/types → commands/local/schemas}/index.d.ts +8 -25
  22. package/dist/commands/local/schemas/index.d.ts.map +1 -0
  23. package/dist/commands/local/src/local.d.ts.map +1 -0
  24. package/dist/commands/local/types/index.d.ts +34 -0
  25. package/dist/commands/local/types/index.d.ts.map +1 -0
  26. package/dist/commands/local/utils/crypto.d.ts.map +1 -0
  27. package/dist/commands/local/utils/index.d.ts.map +1 -0
  28. package/dist/commands/local/utils/machine-id.d.ts.map +1 -0
  29. package/dist/configs/index.d.ts.map +1 -0
  30. package/dist/{index-BEgrVqZz.js → index-B2GxnJ-9.js} +39 -35
  31. package/dist/index.js +1 -1
  32. package/dist/utils/debug.d.ts.map +1 -0
  33. package/dist/utils/env.d.ts.map +1 -0
  34. package/dist/utils/index.d.ts.map +1 -0
  35. package/dist/utils/logger.d.ts.map +1 -0
  36. package/dist/utils/object.d.ts.map +1 -0
  37. package/dist/utils/path.d.ts.map +1 -0
  38. package/dist/utils/validate.d.ts.map +1 -0
  39. package/package.json +1 -1
  40. package/dist/box/configs/index.d.ts.map +0 -1
  41. package/dist/box/configs/model.d.ts.map +0 -1
  42. package/dist/box/constants/index.d.ts.map +0 -1
  43. package/dist/box/constants/model.d.ts +0 -9
  44. package/dist/box/constants/model.d.ts.map +0 -1
  45. package/dist/box/error/index.d.ts.map +0 -1
  46. package/dist/box/index.d.ts.map +0 -1
  47. package/dist/box/installer/index.d.ts.map +0 -1
  48. package/dist/box/installer/installer.d.ts.map +0 -1
  49. package/dist/box/src/box.d.ts.map +0 -1
  50. package/dist/box/types/index.d.ts.map +0 -1
  51. package/dist/local/apis/http.d.ts.map +0 -1
  52. package/dist/local/apis/index.d.ts.map +0 -1
  53. package/dist/local/configs/index.d.ts +0 -2
  54. package/dist/local/configs/index.d.ts.map +0 -1
  55. package/dist/local/configs/model.d.ts.map +0 -1
  56. package/dist/local/constants/index.d.ts +0 -2
  57. package/dist/local/constants/index.d.ts.map +0 -1
  58. package/dist/local/constants/model.d.ts +0 -4
  59. package/dist/local/constants/model.d.ts.map +0 -1
  60. package/dist/local/error/index.d.ts.map +0 -1
  61. package/dist/local/index.d.ts.map +0 -1
  62. package/dist/local/installer/index.d.ts.map +0 -1
  63. package/dist/local/installer/installer.d.ts.map +0 -1
  64. package/dist/local/src/local.d.ts.map +0 -1
  65. package/dist/local/types/index.d.ts.map +0 -1
  66. package/dist/local/utils/crypto.d.ts.map +0 -1
  67. package/dist/local/utils/index.d.ts.map +0 -1
  68. package/dist/local/utils/machine-id.d.ts.map +0 -1
  69. package/dist/shared/config/index.d.ts.map +0 -1
  70. package/dist/shared/utils/debug.d.ts.map +0 -1
  71. package/dist/shared/utils/env.d.ts.map +0 -1
  72. package/dist/shared/utils/index.d.ts.map +0 -1
  73. package/dist/shared/utils/logger.d.ts.map +0 -1
  74. package/dist/shared/utils/object.d.ts.map +0 -1
  75. package/dist/shared/utils/path.d.ts.map +0 -1
  76. package/dist/shared/utils/validate.d.ts.map +0 -1
  77. /package/dist/{box → commands/box}/configs/index.d.ts +0 -0
  78. /package/dist/{box → commands/box}/configs/model.d.ts +0 -0
  79. /package/dist/{box → commands/box}/error/index.d.ts +0 -0
  80. /package/dist/{box → commands/box}/index.d.ts +0 -0
  81. /package/dist/{box → commands/box}/installer/index.d.ts +0 -0
  82. /package/dist/{box → commands/box}/installer/installer.d.ts +0 -0
  83. /package/dist/{box → commands/box}/src/box.d.ts +0 -0
  84. /package/dist/{local → commands/local}/apis/http.d.ts +0 -0
  85. /package/dist/{box/constants → commands/local/configs}/index.d.ts +0 -0
  86. /package/dist/{local → commands/local}/configs/model.d.ts +0 -0
  87. /package/dist/{local → commands/local}/error/index.d.ts +0 -0
  88. /package/dist/{local → commands/local}/index.d.ts +0 -0
  89. /package/dist/{local → commands/local}/installer/index.d.ts +0 -0
  90. /package/dist/{local → commands/local}/installer/installer.d.ts +0 -0
  91. /package/dist/{local → commands/local}/src/local.d.ts +0 -0
  92. /package/dist/{local → commands/local}/utils/crypto.d.ts +0 -0
  93. /package/dist/{local → commands/local}/utils/index.d.ts +0 -0
  94. /package/dist/{local → commands/local}/utils/machine-id.d.ts +0 -0
  95. /package/dist/{shared/config → configs}/index.d.ts +0 -0
  96. /package/dist/{shared/utils → utils}/debug.d.ts +0 -0
  97. /package/dist/{shared/utils → utils}/env.d.ts +0 -0
  98. /package/dist/{shared/utils → utils}/index.d.ts +0 -0
  99. /package/dist/{shared/utils → utils}/logger.d.ts +0 -0
  100. /package/dist/{shared/utils → utils}/object.d.ts +0 -0
  101. /package/dist/{shared/utils → utils}/path.d.ts +0 -0
  102. /package/dist/{shared/utils → utils}/validate.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/configs/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/configs/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAMhC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;CAWd,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAA;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAWpD,CAAA;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;IAExB,IAAI,EAAE,SAAS;gBAAf,IAAI,EAAE,SAAS,EACtB,OAAO,EAAE,MAAM;CAKlB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAUlD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAcvD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/installer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/installer/installer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAgB,MAAM,UAAU,CAAA;AA4BhE,qBAAa,YAAY;IAIX,OAAO,CAAC,MAAM;IAH1B,OAAO,CAAC,OAAO,CAAK;IACpB,OAAO,CAAC,UAAU,CAAa;gBAEX,MAAM,EAAE,kBAAkB;IAI9C,cAAc,IAAI,IAAI;IAyBtB,OAAO,CAAC,QAAQ;IAoChB,OAAO,CAAC,aAAa;IAMrB,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,cAAc;IAOhB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;YA0BhB,eAAe;YA0Bf,iBAAiB;YAoHjB,cAAc;CA6R7B"}
@@ -1,17 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { ModelType } from '../constants';
3
- export interface BoxOptions {
4
- env?: string;
5
- appKey?: string;
6
- appSecret?: string;
7
- customIp?: string;
8
- wsUrl?: string;
9
- pluginVersion?: string;
10
- openclawPath?: string;
11
- debug?: boolean;
12
- model?: ModelType;
13
- mergeMode?: 'merge' | 'replace' | 'reset-keys';
14
- }
15
2
  /**
16
3
  * BoxInstaller 配置验证 schema
17
4
  * 当 env === 'custom' 时,customIp 必填
@@ -29,10 +16,7 @@ export declare const BoxInstallerConfigSchema: z.ZodObject<{
29
16
  pluginVersion: z.ZodOptional<z.ZodString>;
30
17
  openclawPath: z.ZodOptional<z.ZodIntersection<z.ZodString, z.ZodString>>;
31
18
  model: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
32
- "gpt-4.1-mini": "gpt-4.1-mini";
33
- "gpt-4o-mini": "gpt-4o-mini";
34
- "gpt-5-chat": "gpt-5-chat";
35
- "gpt-5-mini": "gpt-5-mini";
19
+ "MiniMax-M2.5": "MiniMax-M2.5";
36
20
  }>>>;
37
21
  mergeMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
38
22
  replace: "replace";
@@ -41,17 +25,4 @@ export declare const BoxInstallerConfigSchema: z.ZodObject<{
41
25
  }>>>;
42
26
  }, z.core.$strip>;
43
27
  export type BoxInstallerConfig = z.infer<typeof BoxInstallerConfigSchema>;
44
- export interface InstallResult {
45
- success: boolean;
46
- message?: string;
47
- error?: string;
48
- }
49
- export interface InstallPaths {
50
- home: string;
51
- extensions: string;
52
- target: string;
53
- config: string;
54
- workspace: string;
55
- temp: string;
56
- }
57
28
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAqBpC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/src/box.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAU1C;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAoLzE"}
@@ -0,0 +1,32 @@
1
+ export declare const DEFAULT_PROVIDER = "mingto";
2
+ export declare const SUPPORTED_MODELS: readonly ["MiniMax-M2.5"];
3
+ export type ModelType = typeof SUPPORTED_MODELS[number];
4
+ export declare const DEFAULT_MODEL: ModelType;
5
+ export declare const MODEL_NAME_MAP: Record<ModelType, string>;
6
+ export interface BoxOptions {
7
+ env?: string;
8
+ appKey?: string;
9
+ appSecret?: string;
10
+ customIp?: string;
11
+ wsUrl?: string;
12
+ pluginVersion?: string;
13
+ openclawPath?: string;
14
+ debug?: boolean;
15
+ model?: ModelType;
16
+ mergeMode?: 'merge' | 'replace' | 'reset-keys';
17
+ }
18
+ export interface InstallResult {
19
+ success: boolean;
20
+ message?: string;
21
+ error?: string;
22
+ }
23
+ export interface InstallPaths {
24
+ home: string;
25
+ extensions: string;
26
+ target: string;
27
+ config: string;
28
+ workspace: string;
29
+ temp: string;
30
+ }
31
+ export type { BoxInstallerConfig } from '../schemas';
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/box/types/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,gBAAgB,2BAEnB,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,aAAa,EAAE,SAA0B,CAAA;AAEtD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAEpD,CAAA;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;CAC/C;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/apis/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAK9D,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,CAAC,CAAA;CACR;AAMD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAQhE;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,CAAC,GAAG,OAAO,EACxC,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,OAAO,EACd,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAmD1B;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,CAAC,GAAG,OAAO,EACvC,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAkD1B"}
@@ -1,5 +1,5 @@
1
1
  import { BoundConfig } from '../types';
2
- import { ConfigInterface } from '../../shared/config';
2
+ import { ConfigInterface } from '../../../configs';
3
3
  export type { HttpResponse } from './http';
4
4
  /**
5
5
  * 用户登录
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/apis/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAKhD,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAyB1C;;GAEG;AACH,wBAAsB,KAAK,CACzB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,MAAM,CAAC,CA+BjB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,WAAW,CAAC,CAyDtB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/configs/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/configs/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAMhC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAcd,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAA;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAcpD,CAAA;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;IAExB,IAAI,EAAE,SAAS;gBAAf,IAAI,EAAE,SAAS,EACtB,OAAO,EAAE,MAAM;CAKlB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAUlD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAevD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/installer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/installer/installer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA6B,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAwC/E;;;GAGG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,OAAO,CAAK;IACpB,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,KAAK,CAAa;IAE1B;;OAEG;gBACS,MAAM,EAAE,oBAAoB;IAOxC;;OAEG;IACH,cAAc,IAAI,IAAI;IAUtB;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAgE9B;;OAEG;IACH,aAAa,IAAI,MAAM;IAIvB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,OAAO,CAAC,cAAc;IAOtB;;OAEG;YACW,OAAO;IAoBrB;;OAEG;YACW,kBAAkB;IAchC;;OAEG;YACW,eAAe;IAmB7B;;OAEG;YACW,iBAAiB;IAoH/B;;OAEG;YACW,cAAc;CAiO7B"}
@@ -1,16 +1,4 @@
1
1
  import { z } from 'zod';
2
- export interface LocalOptions {
3
- env?: string;
4
- phone?: string;
5
- userPass?: string;
6
- customIp?: string;
7
- wsUrl?: string;
8
- pluginVersion?: string;
9
- openclawPath?: string;
10
- debug?: boolean;
11
- printToken?: boolean;
12
- mergeMode?: 'merge' | 'replace' | 'reset-keys';
13
- }
14
2
  /**
15
3
  * LocalInstaller 配置验证 schema
16
4
  * 当 env === 'custom' 时,customIp 必填
@@ -32,6 +20,14 @@ export declare const LocalInstallerConfigSchema: z.ZodObject<{
32
20
  merge: "merge";
33
21
  "reset-keys": "reset-keys";
34
22
  }>>>;
23
+ scene: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
24
+ test: "test";
25
+ normal: "normal";
26
+ prd: "prd";
27
+ }>>>;
28
+ model: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
29
+ "MiniMax-M2.5": "MiniMax-M2.5";
30
+ }>>>;
35
31
  }, z.core.$strip>;
36
32
  export type LocalInstallerConfig = z.infer<typeof LocalInstallerConfigSchema>;
37
33
  /**
@@ -46,17 +42,4 @@ export declare const BoundConfigSchema: z.ZodObject<{
46
42
  modelApiBaseUrl: z.ZodOptional<z.ZodString>;
47
43
  }, z.core.$strip>;
48
44
  export type BoundConfig = z.infer<typeof BoundConfigSchema>;
49
- export interface InstallResult {
50
- success: boolean;
51
- message?: string;
52
- error?: string;
53
- }
54
- export interface InstallPaths {
55
- home: string;
56
- extensions: string;
57
- target: string;
58
- config: string;
59
- workspace: string;
60
- temp: string;
61
- }
62
45
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBtC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;iBAO5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/src/local.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAS5C;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAwK7E"}
@@ -0,0 +1,34 @@
1
+ export declare const DEFAULT_PROVIDER = "mingto";
2
+ export declare const SUPPORTED_MODELS: readonly ["MiniMax-M2.5"];
3
+ export type ModelType = typeof SUPPORTED_MODELS[number];
4
+ export declare const DEFAULT_MODEL: ModelType;
5
+ export declare const MODEL_NAME_MAP: Record<ModelType, string>;
6
+ export interface LocalOptions {
7
+ env?: string;
8
+ phone?: string;
9
+ userPass?: string;
10
+ customIp?: string;
11
+ wsUrl?: string;
12
+ pluginVersion?: string;
13
+ openclawPath?: string;
14
+ debug?: boolean;
15
+ printToken?: boolean;
16
+ mergeMode?: 'merge' | 'replace' | 'reset-keys';
17
+ scene?: 'test' | 'prd';
18
+ model?: ModelType;
19
+ }
20
+ export interface InstallResult {
21
+ success: boolean;
22
+ message?: string;
23
+ error?: string;
24
+ }
25
+ export interface InstallPaths {
26
+ home: string;
27
+ extensions: string;
28
+ target: string;
29
+ config: string;
30
+ workspace: string;
31
+ temp: string;
32
+ }
33
+ export type { BoundConfig, LocalInstallerConfig } from '../schemas';
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/types/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,gBAAgB,2BAEnB,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,aAAa,EAAE,SAA0B,CAAA;AAEtD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAEpD,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IACtB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/utils/crypto.ts"],"names":[],"mappings":"AAIA,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAKrD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-id.d.ts","sourceRoot":"","sources":["../../../../src/commands/local/utils/machine-id.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAe1C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEvE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/configs/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEpD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe;IACf,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW;IACX,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,WAAW;IACX,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,aAAa;IACb,GAAG,EAAE;QACH,cAAc,EAAE,MAAM,CAAA;QACtB,QAAQ,EAAE,MAAM,CAAA;QAChB,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAmBpB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,eAmBzB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,eAAe,CAuB9E"}
@@ -223,20 +223,14 @@ class AppError2 extends Error {
223
223
  this.name = "AppError";
224
224
  }
225
225
  }
226
- const SUPPORTED_MODELS = [
227
- "gpt-4.1-mini",
228
- "gpt-4o-mini",
229
- "gpt-5-chat",
230
- "gpt-5-mini"
226
+ const DEFAULT_PROVIDER$1 = "mingto";
227
+ const SUPPORTED_MODELS$1 = [
228
+ "MiniMax-M2.5"
231
229
  ];
232
- const DEFAULT_MODEL = "gpt-5-mini";
233
- const MODEL_ID_MAP = {
234
- "gpt-4.1-mini": { id: "gpt-4.1-mini", name: "GPT-4.1-Mini" },
235
- "gpt-4o-mini": { id: "gpt-4o-mini", name: "GPT-4o-Mini" },
236
- "gpt-5-chat": { id: "gpt-5-chat", name: "GPT-5-Chat" },
237
- "gpt-5-mini": { id: "gpt-5-mini", name: "GPT-5-Mini" }
230
+ const DEFAULT_MODEL$1 = "MiniMax-M2.5";
231
+ const MODEL_NAME_MAP$1 = {
232
+ "MiniMax-M2.5": "MiniMax-M2.5"
238
233
  };
239
- const DEFAULT_PROVIDER$1 = "mingto";
240
234
  const MODEL_GENERAL_CONFIG$1 = {
241
235
  reasoning: false,
242
236
  input: ["text"],
@@ -497,8 +491,7 @@ class BoxInstaller {
497
491
  debug.log("[更新配置] 合并模式: merge(完整保留原有配置后合并)");
498
492
  }
499
493
  const config = getConfig(this.config.env || "test", this.config.customIp);
500
- const model = this.config.model ?? DEFAULT_MODEL;
501
- const modelInfo = MODEL_ID_MAP[model];
494
+ const model = this.config.model ?? DEFAULT_MODEL$1;
502
495
  const newConfig = {
503
496
  // diagnostics: 诊断配置
504
497
  diagnostics: {
@@ -528,9 +521,9 @@ class BoxInstaller {
528
521
  authHeader: true,
529
522
  models: [{
530
523
  // 模型 ID(provider/model 格式)
531
- id: modelInfo.id,
524
+ id: model,
532
525
  // 模型显示名称
533
- name: modelInfo.name,
526
+ name: MODEL_NAME_MAP$1[model],
534
527
  // 模型通用配置
535
528
  ...MODEL_GENERAL_CONFIG$1
536
529
  }]
@@ -541,7 +534,7 @@ class BoxInstaller {
541
534
  agents: {
542
535
  defaults: {
543
536
  // 默认使用的模型
544
- model: { primary: `${DEFAULT_PROVIDER$1}/${modelInfo.id}` },
537
+ model: { primary: `${DEFAULT_PROVIDER$1}/${model}` },
545
538
  // 工作区目录路径
546
539
  workspace: paths.workspace,
547
540
  // 会话压缩模式:'safeguard' 保守模式
@@ -650,7 +643,7 @@ class BoxInstaller {
650
643
  // 网关端口
651
644
  port: 18789,
652
645
  // 绑定地址:'loopback' | 'lan' | 'all'
653
- bind: "loopback",
646
+ bind: "lan",
654
647
  // 认证模式(token字段未设置,是因为需要使用原始配置的token)
655
648
  auth: {
656
649
  mode: "token"
@@ -797,9 +790,9 @@ async function createBoxCommand(options) {
797
790
  type: "list",
798
791
  name: "model",
799
792
  message: chalk.cyan("请选择模型:"),
800
- default: DEFAULT_MODEL,
801
- choices: SUPPORTED_MODELS.map((m) => ({
802
- name: m === DEFAULT_MODEL ? `${chalk.green(m)} ${chalk.dim("(默认)")}` : m,
793
+ default: DEFAULT_MODEL$1,
794
+ choices: SUPPORTED_MODELS$1.map((m) => ({
795
+ name: m === DEFAULT_MODEL$1 ? `${chalk.green(m)} ${chalk.dim("(默认)")}` : m,
803
796
  value: m
804
797
  }))
805
798
  });
@@ -813,9 +806,9 @@ async function createBoxCommand(options) {
813
806
  env = env || answers.env || "test";
814
807
  appKey = appKey || answers.appKey;
815
808
  appSecret = appSecret || answers.appSecret;
816
- model = model || answers.model || DEFAULT_MODEL;
809
+ model = model || answers.model || DEFAULT_MODEL$1;
817
810
  }
818
- model = model || DEFAULT_MODEL;
811
+ model = model || DEFAULT_MODEL$1;
819
812
  if (env === "custom" && !customIp) {
820
813
  debug.log("[盒子安装] 自定义环境需要输入后端 IP");
821
814
  const answer = await inquirer.prompt([{
@@ -889,7 +882,7 @@ async function createBoxCommand(options) {
889
882
  }
890
883
  }
891
884
  function registerCommands$1(program2) {
892
- program2.command("box").description("盒子设备安装(无需登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--app-key <appKey>", "App Key").option("--app-secret <appSecret>", "App Secret").option("--customIp <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--model <model>", `选择模型 (${SUPPORTED_MODELS.join("/")}),默认 ${DEFAULT_MODEL}`).option("--merge-mode <mode>", "配置合并模式 (merge: 保留旧配置合并 / replace: 完全重置 / reset-keys: 清除关键字段后合并),默认 reset-keys").option("--debug", "开启调试日志").action(createBoxCommand);
885
+ program2.command("box").description("盒子设备安装(无需登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--app-key <appKey>", "App Key").option("--app-secret <appSecret>", "App Secret").option("--custom-ip <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--model <model>", `选择模型 (${SUPPORTED_MODELS$1.join("/")}),默认 ${DEFAULT_MODEL$1}`).option("--merge-mode <mode>", "配置合并模式 (merge: 保留旧配置合并 / replace: 完全重置 / reset-keys: 清除关键字段后合并),默认 reset-keys").option("--debug", "开启调试日志").action(createBoxCommand);
893
886
  }
894
887
  function createHttpClient(baseURL) {
895
888
  return axios.create({
@@ -1017,6 +1010,14 @@ async function fetchBoundConfig(token, phone, localCode, config) {
1017
1010
  throw new AppError$1(ERROR_CODES$1.GET_BOUND_CONFIG_FAILED, error.message);
1018
1011
  }
1019
1012
  }
1013
+ const DEFAULT_PROVIDER = "mingto";
1014
+ const SUPPORTED_MODELS = [
1015
+ "MiniMax-M2.5"
1016
+ ];
1017
+ const DEFAULT_MODEL = "MiniMax-M2.5";
1018
+ const MODEL_NAME_MAP = {
1019
+ "MiniMax-M2.5": "MiniMax-M2.5"
1020
+ };
1020
1021
  const LocalInstallerConfigSchema = z$1.object({
1021
1022
  env: EnvironmentSchema.optional(),
1022
1023
  customIp: ipv4Schema.optional(),
@@ -1025,7 +1026,9 @@ const LocalInstallerConfigSchema = z$1.object({
1025
1026
  userPass: userPassSchema,
1026
1027
  pluginVersion: pluginVersionSchema,
1027
1028
  openclawPath: openclawPathSchema.optional(),
1028
- mergeMode: z$1.enum(["merge", "replace", "reset-keys"]).optional().default("merge")
1029
+ mergeMode: z$1.enum(["merge", "replace", "reset-keys"]).optional().default("merge"),
1030
+ scene: z$1.enum(["test", "normal", "prd"]).optional().default("test"),
1031
+ model: z$1.enum(SUPPORTED_MODELS).optional().default(DEFAULT_MODEL)
1029
1032
  }).refine(
1030
1033
  (data) => {
1031
1034
  if (data.env === "custom") {
@@ -4959,9 +4962,6 @@ function generateMachineId() {
4959
4962
  function buildLocalCode(phone, machineId) {
4960
4963
  return `${phone}-${machineId}`;
4961
4964
  }
4962
- const DEFAULT_PROVIDER = "mingto";
4963
- const DEFAULT_MODEL_ID = "MiniMax-M2.5";
4964
- const DEFAULT_MODEL_NAME = "MiniMax-M2.5";
4965
4965
  const MODEL_GENERAL_CONFIG = {
4966
4966
  reasoning: false,
4967
4967
  input: ["text"],
@@ -5274,6 +5274,7 @@ class LocalInstaller {
5274
5274
  debug.log("[更新配置] 合并模式: merge(完整保留原有配置后合并)");
5275
5275
  }
5276
5276
  const config = this.envConfig;
5277
+ const model = this.config.model || DEFAULT_MODEL;
5277
5278
  const newConfig = {
5278
5279
  // diagnostics: 诊断配置
5279
5280
  diagnostics: {
@@ -5294,8 +5295,8 @@ class LocalInstaller {
5294
5295
  api: "openai-completions",
5295
5296
  authHeader: true,
5296
5297
  models: [{
5297
- id: DEFAULT_MODEL_ID,
5298
- name: DEFAULT_MODEL_NAME,
5298
+ id: model,
5299
+ name: MODEL_NAME_MAP[model],
5299
5300
  ...MODEL_GENERAL_CONFIG
5300
5301
  }]
5301
5302
  }
@@ -5304,7 +5305,7 @@ class LocalInstaller {
5304
5305
  // agents: 代理配置
5305
5306
  agents: {
5306
5307
  defaults: {
5307
- model: { primary: `${DEFAULT_PROVIDER}/${DEFAULT_MODEL_ID}` },
5308
+ model: { primary: `${DEFAULT_PROVIDER}/${model}` },
5308
5309
  workspace: paths.workspace,
5309
5310
  compaction: { mode: "safeguard" },
5310
5311
  verboseDefault: "full",
@@ -5420,7 +5421,8 @@ class LocalInstaller {
5420
5421
  [config.PLUGIN_NAME]: {
5421
5422
  source: "npm",
5422
5423
  spec: PLUGIN_PACKAGE_NAME,
5423
- installPath: paths.target
5424
+ installPath: paths.target,
5425
+ scene: this.config.scene || "test"
5424
5426
  }
5425
5427
  },
5426
5428
  entries: {
@@ -5538,7 +5540,7 @@ async function createLocalCommand(options) {
5538
5540
  if (!phone || !userPass) {
5539
5541
  throw new Error("手机号和密码不能为空");
5540
5542
  }
5541
- debug.log(`[初始化] 最终参数: env=${env}, phone=${phone}, customIp=${customIp}, pluginVersion=${options.pluginVersion}, openclawPath=${options.openclawPath}, mergeMode=${mergeMode}`);
5543
+ debug.log(`[初始化] 最终参数: env=${env}, phone=${phone}, customIp=${customIp}, pluginVersion=${options.pluginVersion}, openclawPath=${options.openclawPath}, mergeMode=${mergeMode}, scene=${options.scene}, model=${options.model}`);
5542
5544
  debug.log("[初始化] 创建 LocalInstaller 实例...");
5543
5545
  const installer = new LocalInstaller({
5544
5546
  phone,
@@ -5548,7 +5550,9 @@ async function createLocalCommand(options) {
5548
5550
  wsUrl: options.wsUrl,
5549
5551
  pluginVersion: options.pluginVersion,
5550
5552
  openclawPath: options.openclawPath,
5551
- mergeMode
5553
+ mergeMode,
5554
+ scene: options.scene || "test",
5555
+ model: options.model || "MiniMax-M2.5"
5552
5556
  });
5553
5557
  debug.log("[初始化] 开始安装...");
5554
5558
  await installer.install();
@@ -5588,7 +5592,7 @@ ${chalk.cyan("Token: ")}${token}`);
5588
5592
  }
5589
5593
  }
5590
5594
  function registerCommands(program2) {
5591
- program2.command("local").description("本地账户安装(需要登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--phone <phone>", "手机号码").option("--user-pass <userPass>", "用户密码").option("--custom-ip <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--merge-mode <mode>", "配置合并模式 (merge: 保留旧配置合并 / replace: 完全重置 / reset-keys: 清除关键字段后合并),默认 reset-keys").option("--debug", "开启调试日志").action(createLocalCommand);
5595
+ program2.command("local").description("本地账户安装(需要登录)").option("-e, --env <env>", "环境 (test/prod/custom)").option("--phone <phone>", "手机号码").option("--user-pass <userPass>", "用户密码").option("--custom-ip <ip>", "自定义后端 IP(仅 custom 环境生效)").option("--ws-url <url>", "自定义 WebSocket URL(仅 custom 环境生效,默认自动生成)").option("--plugin-version <plugin-version>", "插件版本号(默认最新版)").option("--openclaw-path <path>", "OpenClaw 安装目录路径(默认 ~/.openclaw)").option("--merge-mode <mode>", "配置合并模式 (merge: 保留旧配置合并 / replace: 完全重置 / reset-keys: 清除关键字段后合并),默认 reset-keys").option("--debug", "开启调试日志").option("--scene <scene>", "场景 (test/normal/prd),默认 test").option("--model <model>", `选择模型 (${SUPPORTED_MODELS.join("/")}),默认 ${DEFAULT_MODEL}`).action(createLocalCommand);
5592
5596
  }
5593
5597
  const __filename$1 = fileURLToPath(import.meta.url);
5594
5598
  const __dirname$1 = dirname(__filename$1);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import("./index-BEgrVqZz.js").then((cli) => {
2
+ import("./index-B2GxnJ-9.js").then((cli) => {
3
3
  cli.default();
4
4
  });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/utils/debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,QAAA,MAAM,KAAK,OAAc,CAAA;AAEzB;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAE/C;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/utils/env.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,QAAQ,IAAI,IAAI,CAmB/B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAC/C,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AACxE,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,EACjB,WAAW,EACX,WAAW,GACZ,MAAM,YAAY,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/utils/logger.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAA;AAEzG,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACpC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAkCrC;AAED,eAAO,MAAM,MAAM,QAAiB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../src/utils/object.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAElD;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CA2C7F"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../src/utils/path.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAYD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAU/D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/utils/validate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;EAE5B,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,WAErB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,aAEtB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,aAEzB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,aAEvB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,aAE1B,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,aAO9B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,aAK7B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,6CAA4C,CAAA;AAE3E;;GAEG;AACH,eAAO,MAAM,mBAAmB,4BAAwB,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,WAAW,4BAEX,CAAA;AAEb;;GAEG;AACH,eAAO,MAAM,aAAa,cAAc,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAChD,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,MAAM,GACd,CAAC,CAIH;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAC7C,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAK7B;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAC5C,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAErB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EACxD,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CASxC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workclaw/cli",
3
3
  "type": "module",
4
- "version": "1.0.332",
4
+ "version": "1.0.333",
5
5
  "description": "WorkClaw CLI 工具 - 用于初始化和配置 WorkClaw 插件",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box/configs/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/box/configs/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAMhC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -1,9 +0,0 @@
1
- export declare const SUPPORTED_MODELS: readonly ["gpt-4.1-mini", "gpt-4o-mini", "gpt-5-chat", "gpt-5-mini"];
2
- export type ModelType = typeof SUPPORTED_MODELS[number];
3
- export declare const DEFAULT_MODEL: ModelType;
4
- export declare const MODEL_ID_MAP: Record<ModelType, {
5
- id: string;
6
- name: string;
7
- }>;
8
- export declare const DEFAULT_PROVIDER = "mingto";
9
- //# sourceMappingURL=model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/box/constants/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,sEAKnB,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,aAAa,EAAE,SAAwB,CAAA;AAEpD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAKxE,CAAA;AAED,eAAO,MAAM,gBAAgB,WAAW,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;CAWd,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAA;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAWpD,CAAA;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;IAExB,IAAI,EAAE,SAAS;gBAAf,IAAI,EAAE,SAAS,EACtB,OAAO,EAAE,MAAM;CAKlB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAUlD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAIxC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAcvD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box/installer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../src/box/installer/installer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAgB,MAAM,UAAU,CAAA;AA4BhE,qBAAa,YAAY;IAIX,OAAO,CAAC,MAAM;IAH1B,OAAO,CAAC,OAAO,CAAK;IACpB,OAAO,CAAC,UAAU,CAAa;gBAEX,MAAM,EAAE,kBAAkB;IAI9C,cAAc,IAAI,IAAI;IAyBtB,OAAO,CAAC,QAAQ;IAoChB,OAAO,CAAC,aAAa;IAMrB,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,cAAc;IAOhB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;YA0BhB,eAAe;YA0Bf,iBAAiB;YAoHjB,cAAc;CA8R7B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/box/src/box.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAU1C;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAoLzE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/box/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;CAC/C;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;iBAqBpC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEzE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/local/apis/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAK9D,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,CAAC,CAAA;CACR;AAMD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAQhE;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,CAAC,GAAG,OAAO,EACxC,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,OAAO,EACd,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAmD1B;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,CAAC,GAAG,OAAO,EACvC,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAkD1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/apis/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAKtD,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAyB1C;;GAEG;AACH,wBAAsB,KAAK,CACzB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,MAAM,CAAC,CA+BjB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,WAAW,CAAC,CAyDtB"}
@@ -1,2 +0,0 @@
1
- export * from './model';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/configs/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/local/configs/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAMhC,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './model';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const DEFAULT_PROVIDER = "mingto";
2
- export declare const DEFAULT_MODEL_ID = "MiniMax-M2.5";
3
- export declare const DEFAULT_MODEL_NAME = "MiniMax-M2.5";
4
- //# sourceMappingURL=model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/local/constants/model.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,gBAAgB,iBAAiB,CAAA;AAE9C,eAAO,MAAM,kBAAkB,iBAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/error/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAcd,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAA;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAcpD,CAAA;AAED;;GAEG;AACH,qBAAa,QAAS,SAAQ,KAAK;IAExB,IAAI,EAAE,SAAS;gBAAf,IAAI,EAAE,SAAS,EACtB,OAAO,EAAE,MAAM;CAKlB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAUlD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAavD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/installer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../src/local/installer/installer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA6B,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAwC/E;;;GAGG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,OAAO,CAAK;IACpB,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,KAAK,CAAa;IAE1B;;OAEG;gBACS,MAAM,EAAE,oBAAoB;IAOxC;;OAEG;IACH,cAAc,IAAI,IAAI;IAUtB;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAgE9B;;OAEG;IACH,aAAa,IAAI,MAAM;IAIvB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,OAAO,CAAC,cAAc;IAOtB;;OAEG;YACW,OAAO;IAoBrB;;OAEG;YACW,kBAAkB;IAchC;;OAEG;YACW,eAAe;IAmB7B;;OAEG;YACW,iBAAiB;IAoH/B;;OAEG;YACW,cAAc;CA+N7B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../src/local/src/local.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAQ5C;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAsK7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;CAC/C;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;iBAoBtC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE7E;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;iBAO5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../src/local/utils/crypto.ts"],"names":[],"mappings":"AAIA,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAKrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"machine-id.d.ts","sourceRoot":"","sources":["../../../src/local/utils/machine-id.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAe1C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEpD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe;IACf,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW;IACX,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,WAAW;IACX,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,aAAa;IACb,GAAG,EAAE;QACH,cAAc,EAAE,MAAM,CAAA;QACtB,QAAQ,EAAE,MAAM,CAAA;QAChB,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAmBpB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,eAmBzB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,eAAe,CAuB9E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,QAAA,MAAM,KAAK,OAAc,CAAA;AAEzB;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAE/C;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/env.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,QAAQ,IAAI,IAAI,CAmB/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAC/C,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AACxE,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,EACjB,WAAW,EACX,WAAW,GACZ,MAAM,YAAY,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/logger.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,CAAA;AAEzG,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACpC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAkCrC;AAED,eAAO,MAAM,MAAM,QAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/object.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAElD;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CA2C7F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/path.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAEnC;AAYD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAU/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/validate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;EAE5B,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,WAErB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,aAEtB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,aAEzB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,aAEvB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,aAE1B,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,aAO9B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,aAK7B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,6CAA4C,CAAA;AAE3E;;GAEG;AACH,eAAO,MAAM,mBAAmB,4BAAwB,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,WAAW,4BAEX,CAAA;AAEb;;GAEG;AACH,eAAO,MAAM,aAAa,cAAc,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAChD,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,MAAM,GACd,CAAC,CAIH;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAC7C,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAK7B;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EAC5C,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAErB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,EACxD,MAAM,EAAE,CAAC,EACT,KAAK,EAAE,OAAO,GACb;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CASxC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes