dsh-film 0.6.2 → 0.6.3

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/README.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  [English](#english)
6
6
 
7
+ ## 0.6.3:恢复「在文件夹中显示」
8
+
9
+ - 工作台里**在系统文件管理器中显示文件**的操作恢复可用:重新通过宿主的会话服务调用原生的「在文件夹中显示」;宿主没有这个能力或拒绝时,仍回退到工作台自己的处理。
10
+
7
11
  ## 0.6.2:图片节点按模型显示分辨率和比例
8
12
 
9
13
  - **图片生成节点的分辨率和比例**改为所选 VibeDev 图片模型在网关目录里声明的选项,例如 `gpt-image-2.5-flare-4k` 只有 4K 和十种比例,`gemini-3-pro-image` 有 1K、1.5K、2K、4K;没有声明的模型仍是 2K 和 16:9。切换模型时,当前选择新模型不支持就自动改选。
@@ -79,6 +83,8 @@ node scripts/verify-package.mjs dsh-film-<版本>.tgz # 用打好的包启
79
83
 
80
84
  **dsh-film** opens a canvas film workbench in the right sidebar of DeepSeek Harness and VibeDev: novel breakdown, script, storyboard canvas, image / video / audio generation, director desk and editing. Every model and charge goes through the VibeDev account (`@vibedev-si/dsh-vibedev`); no model API keys are needed.
81
85
 
86
+ **0.6.3**: revealing a file in the system file manager from the workbench works again: the plugin reaches the Host's native reveal through the session service by its full name; when the Host has no native opener or refuses, the workbench falls back to its own handling as before.
87
+
82
88
  **0.6.2**: the image generation node offers the sizes and aspect ratios the selected VibeDev image model declares in the gateway catalog (for example only 4K and ten ratios for `gpt-image-2.5-flare-4k`, 1K, 1.5K, 2K and 4K for `gemini-3-pro-image`); a model that declares none keeps 2K and 16:9, and switching models re-picks a choice the new model does not offer. Every `<n>K` tier becomes pixels with n × 1024 as the long edge at the chosen ratio, so 1.5K and 3K are no longer generated at 1K; a size that cannot be read is refused with a message, never generated at another size. The options need the account plugin 0.3.8 or later; with an older one the node shows 2K and 16:9 as before.
83
89
 
84
90
  **0.5.0** replaces the earlier workbench (0.4.0 and before) with the ToonFlow-based canvas. Update it from the VibeDev Plugin Center; the profile entry stays `dsh-film`. Projects of the old workbench are kept, not converted. Windows x64, macOS Apple silicon arm64 and Intel x64 are supported. Bun 1.3.13 is installed with the plugin as a platform-specific optional dependency (`@oven/bun-windows-x64`, `@oven/bun-darwin-aarch64`, or `@oven/bun-darwin-x64`); npm and pnpm install the package for the current platform. Image and video generation need the account plugin 0.2.7 or later; audio (music, podcasts, speech) needs 0.3.1 or later.
package/client/client.js CHANGED
@@ -554,6 +554,25 @@ window.__ModuleLoader__.load({
554
554
  });
555
555
  }
556
556
  //#endregion
557
+ //#region src/client/host-bridge.ts
558
+ /** The Host's optional native file-manager action, resolved when a file is revealed. */
559
+ function createHostBridge(ctx) {
560
+ return { async reveal(path) {
561
+ try {
562
+ const session = ctx.get?.("remote.session");
563
+ if (session === void 0) return false;
564
+ const available = await session.canOpenWorkspacePath();
565
+ if (!available.ok || available.value !== true) return false;
566
+ return (await session.openWorkspacePath({
567
+ path,
568
+ action: "reveal"
569
+ })).ok;
570
+ } catch {
571
+ return false;
572
+ }
573
+ } };
574
+ }
575
+ //#endregion
557
576
  //#region src/client/index.ts
558
577
  /**
559
578
  * Film Studio browser half: the workbench as one right-sidebar tab type, with
@@ -627,20 +646,7 @@ window.__ModuleLoader__.load({
627
646
  en
628
647
  }), "dsh-film-studio: dictionaries");
629
648
  const t = ctx.locale.bind(LOCALE_NAMESPACE);
630
- const host = { async reveal(path) {
631
- const session = (ctx.get?.("remote"))?.session;
632
- if (session === void 0) return false;
633
- try {
634
- const available = await session.canOpenWorkspacePath();
635
- if (!available.ok || available.value !== true) return false;
636
- return (await session.openWorkspacePath({
637
- path,
638
- action: "reveal"
639
- })).ok;
640
- } catch {
641
- return false;
642
- }
643
- } };
649
+ const host = createHostBridge(ctx);
644
650
  const openTab = createTabOpener(ctx);
645
651
  ctx.effect(() => {
646
652
  const lifetime = new AbortController();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-film",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "VibeDev 影视工作台:在 DeepSeek Harness 和 VibeDev 的右侧栏打开画布式影视工作台(剧本、分镜画布、图片/视频/音频生成、剪辑成片),模型与费用统一走 VibeDev 账号 · VibeDev Film: a canvas film workbench in the right sidebar of DeepSeek Harness and VibeDev (script, storyboard canvas, image/video/audio generation, editing), with every model and charge through the VibeDev account",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",