@remixmate/cli 0.9.65 → 0.9.66

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.9.65",
4
- "generatedAt": "2026-10-05T06:33:09.117Z",
3
+ "version": "0.9.66",
4
+ "generatedAt": "2026-10-05T07:09:29.057Z",
5
5
  "skills": [
6
6
  {
7
7
  "id": "doc-parse",
@@ -131,7 +131,10 @@ export async function runPublish(opts) {
131
131
  ...(coreVersion ? { coreVersion } : {}),
132
132
  });
133
133
  const resolvedKey = prepared?.templateKey || templateKey;
134
- const normalized = prepared?.templateJson || templateJson;
134
+ // ab-api save 要求制品里 template.json 的 templateId === 登记的 templateKey
135
+ // (templateregistry.ValidateManifestInvariants)。工程里的 templateId 是本地目录级标识
136
+ // (Studio 注册用),平台身份是 templateKey —— 只改暂存副本,工程文件不动。
137
+ const normalized = { ...(prepared?.templateJson || templateJson), templateId: resolvedKey };
135
138
  // Staging copy: server normalization never touches the project files.
136
139
  staging = mkdtempSync(path.join(os.tmpdir(), 'remixmate-publish-'));
137
140
  const pkgDir = path.join(staging, 'pkg');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remixmate/cli",
3
- "version": "0.9.65",
3
+ "version": "0.9.66",
4
4
  "description": "AI media generation skills for Claude Code / Codex — 12 skills covering image, video, voice, digital human, web screenshot, web recording, script, template registry, rendering, Jianying export, and video deconstruction.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",