@lark-apaas/openclaw-dev-cli 0.1.9 → 0.1.11

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 (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4093,9 +4093,6 @@ function buildAppUrl(appId) {
4093
4093
  return `${APP_BASE_URL}/${appId}`;
4094
4094
  }
4095
4095
  var CDN_BASE_URL = "https://lf-miaoda-static.feishucdn.com";
4096
- function buildCdnDomain(appId, version) {
4097
- return `${CDN_BASE_URL}/${appId}/${version}/client/`;
4098
- }
4099
4096
 
4100
4097
  // src/utils/http.ts
4101
4098
  var import_http_client = __toESM(require_dist());
@@ -7634,7 +7631,8 @@ var deployCommand = {
7634
7631
  const preUploadResult = await preUploadStatic(meta.appId, bucketId);
7635
7632
  console.log(`Static prefix: ${preUploadResult.downloadURLPrefix}`);
7636
7633
  if (!options.skipBuild) {
7637
- const cdnDomain = buildCdnDomain(meta.appId, publishResult.version);
7634
+ const cdnBase = artifactCredential.pathPrefixes?.resource_cdn_path || CDN_BASE_URL;
7635
+ const cdnDomain = `${cdnBase.replace(/\/+$/, "")}/${meta.appId}/${publishResult.version}/client/`;
7638
7636
  const buildEnv = {
7639
7637
  ...process.env,
7640
7638
  MCLAW_APP_ID: meta.appId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/openclaw-dev-cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "CLI tool for OpenClaw development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {