@ninkch/dsh-infinite-canvas 0.17.0 → 0.17.1

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/client.js +4 -3
  2. package/package.json +2 -1
package/client.js CHANGED
@@ -1827,7 +1827,7 @@ window.__ModuleLoader__.load({
1827
1827
  // ============================================================
1828
1828
  // 自动更新:npm/git 双信息源,一键 git pull(Host RPC)
1829
1829
  // ============================================================
1830
- const PLUGIN_VERSION = '0.16.0';
1830
+ const PLUGIN_VERSION = '0.17.1';
1831
1831
  async function checkUpdate(silent) {
1832
1832
  update((s) => { s.updateInfo = null; s.updateChecking = true; s.updateMsg = null; });
1833
1833
  try {
@@ -4200,7 +4200,7 @@ window.__ModuleLoader__.load({
4200
4200
  type: 'button', className: cls('dshic-btn'), style: { fontSize: 11, color: 'var(--dsw-alias-label-secondary)', gap: 4 },
4201
4201
  title: T('updateBtn'), disabled: S.updateChecking,
4202
4202
  onClick: () => { checkUpdate(false).then((info) => { if (info && info.upToDate) toast(T('updateUpToDate')); }); },
4203
- }, 'v' + PLUGIN_VERSION, S.updateChecking ? h('span', { className: 'dshic-spin' }) : (updAvail ? ' ⬆' : '')),
4203
+ }, 'v' + ((S.updateInfo && S.updateInfo.runningVersion) || PLUGIN_VERSION), S.updateChecking ? h('span', { className: 'dshic-spin' }) : ((S.updateInfo && !S.updateInfo.upToDate) ? ' ⬆' : '')),
4204
4204
  h('div', { className: 'dshic-toolbar-sep' }),
4205
4205
  h(Btn, {
4206
4206
  active: S.rightOpen, title: T('toggleRight'),
@@ -4961,7 +4961,7 @@ window.__ModuleLoader__.load({
4961
4961
  h(ApiListEditor, { key: 'imglist', kind: 'image' }),
4962
4962
  h(ApiListEditor, { key: 'vidlist', kind: 'video' }),
4963
4963
  h(ApiListEditor, { key: 'ttslist', kind: 'tts' }),
4964
- h('div', { key: 'note', className: 'dshic-hint' }, 'DeepSeek Harness · dsh-infinite-canvas v0.17.0'),
4964
+ h('div', { key: 'note', className: 'dshic-hint' }, 'DeepSeek Harness · dsh-infinite-canvas v0.17.1'),
4965
4965
  ];
4966
4966
  }
4967
4967
 
@@ -5310,3 +5310,4 @@ window.__ModuleLoader__.load({
5310
5310
  };
5311
5311
  },
5312
5312
  });
5313
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninkch/dsh-infinite-canvas",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Node-based short-drama studio for DeepSeek Harness: script → storyboard → assets → shots → voiced, subtitled final cut on an infinite canvas.",
5
5
  "keywords": [
6
6
  "dsh",
@@ -53,3 +53,4 @@
53
53
  }
54
54
  }
55
55
  }
56
+