@lark-apaas/miaoda-cli 0.1.31-alpha.17f2692 → 0.1.31-beta.ceaafa0

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.
@@ -128,16 +128,7 @@ function syncSandboxSkills(opts) {
128
128
  (0, logger_1.debug)(`sandbox-skills: no npm version matched -alpha.${lane}, fallback to @latest ` +
129
129
  `(TCC 里的 X 可能是老 lane dist-tag 命名 / 已 unpublish / npm view 挂 / 网络断)`);
130
130
  }
131
- // 版本优先级:lane(TCC 显式定向)> BOE 默认 @dev > @latest
132
- //
133
- // `dev` 通道由 miaoda-coding 的 publish-sandbox-skills-dev.sh 在 develop 分支自动发布
134
- // (`<base>-dev.<sha>` + dist-tag `dev`),口径与 coding-steering 完全一致 ——
135
- // 后者在本仓 coding-steering 侧也是 `FORCE_FRAMEWORK_ENVIRONMENT=boe` 时默认取 `dev`。
136
- //
137
- // lane 必须压过 dev:TCC 里配了 tgz-key 就说明是定向灰度(钉某个 feat 分支的快照),
138
- // 不能被"BOE 就跟 develop"这条默认规则覆盖掉。
139
- const isBoe = process.env.FORCE_FRAMEWORK_ENVIRONMENT === 'boe';
140
- const primaryVersion = laneVersion ?? (isBoe ? 'dev' : 'latest');
131
+ const primaryVersion = laneVersion ?? 'latest';
141
132
  try {
142
133
  (0, logger_1.debug)(`sandbox-skills: fetching ${packageName}@${primaryVersion}`);
143
134
  fetched = (0, npm_pack_1.fetchNpmPackage)({
@@ -147,9 +138,6 @@ function syncSandboxSkills(opts) {
147
138
  });
148
139
  }
149
140
  catch (err) {
150
- // @latest 是最后一档,它再挂就没得降了,直接抛。
151
- // lane / dev 拉失败都降到 @latest:dev 通道可能因为 develop 还没发过包而不存在
152
- // (dist-tag 缺失 → npm pack 404),这时候不该让整条 sync 挂掉。
153
141
  if (primaryVersion === 'latest') {
154
142
  throw err;
155
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/miaoda-cli",
3
- "version": "0.1.31-alpha.17f2692",
3
+ "version": "0.1.31-beta.ceaafa0",
4
4
  "description": "Miaoda 平台命令行工具,面向 Agent 调用",
5
5
  "type": "commonjs",
6
6
  "bin": {