@workclaw/cli 1.0.335 → 1.0.336
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/configs/index.d.ts
CHANGED
|
@@ -1 +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,
|
|
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,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,eAkBpB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,eAkBzB,CAAA;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,eAAe,CAuB9E"}
|
|
@@ -151,7 +151,6 @@ const CONFIG = {
|
|
|
151
151
|
PLUGIN_NAME: "openclaw-workclaw",
|
|
152
152
|
DEFAULT_BASE_URL: "https://workbrain.cn/backend-api",
|
|
153
153
|
DEFAULT_WS_URL: "wss://workbrain.cn/backend-api/open-apis/connect",
|
|
154
|
-
MODEL_BASE_URL: "https://maas-api.workbrain.cn/v1/",
|
|
155
154
|
DIRS: {
|
|
156
155
|
OPENCLAW: ".openclaw",
|
|
157
156
|
EXTENSIONS: "extensions",
|
|
@@ -171,7 +170,6 @@ const TEST_CONFIG = {
|
|
|
171
170
|
PLUGIN_NAME: "openclaw-workclaw",
|
|
172
171
|
DEFAULT_BASE_URL: "http://172.168.80.30:32005",
|
|
173
172
|
DEFAULT_WS_URL: "ws://172.168.80.30:32005/open-apis/connect",
|
|
174
|
-
MODEL_BASE_URL: "http://172.168.80.30:30005/v1",
|
|
175
173
|
DIRS: {
|
|
176
174
|
OPENCLAW: ".openclaw",
|
|
177
175
|
EXTENSIONS: "extensions",
|
|
@@ -512,7 +510,7 @@ class BoxInstaller {
|
|
|
512
510
|
providers: {
|
|
513
511
|
[DEFAULT_PROVIDER$1]: {
|
|
514
512
|
// 模型 API 基础地址
|
|
515
|
-
baseUrl:
|
|
513
|
+
baseUrl: "",
|
|
516
514
|
// API 密钥(留空,由外部提供)
|
|
517
515
|
apiKey: "",
|
|
518
516
|
// API 类型:'openai-completions' | 'openai-chat' 等
|
|
@@ -5290,7 +5288,7 @@ class LocalInstaller {
|
|
|
5290
5288
|
mode: "replace",
|
|
5291
5289
|
providers: {
|
|
5292
5290
|
[DEFAULT_PROVIDER]: {
|
|
5293
|
-
baseUrl: boundConfig.modelApiBaseUrl
|
|
5291
|
+
baseUrl: boundConfig.modelApiBaseUrl,
|
|
5294
5292
|
apiKey: boundConfig.modelApiKey,
|
|
5295
5293
|
api: "openai-completions",
|
|
5296
5294
|
authHeader: true,
|
package/dist/index.js
CHANGED