dsh-plugins-jizuo-creator-media-models 0.3.30 → 0.3.31
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 +1 -1
- package/node_modules/@jizuo/media-models-plugin/README.md +3 -3
- package/node_modules/@jizuo/media-models-plugin/lib/index.js +17 -17
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/README.md +3 -3
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/lib/client.js +719 -218
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/lib/dream-worker.js +434 -429
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/lib/index.js +833 -828
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/lib/typert.host.js +17 -17
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/lib/workflow-verifier.js +17 -17
- package/node_modules/@jizuo/media-models-plugin/node_modules/@jizuo/plugin/package.json +1 -1
- package/node_modules/@jizuo/media-models-plugin/package.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ dsh-plugins-jizuo-creator-media-models
|
|
|
12
12
|
dsh plugin --profile desktop add dsh-plugins-jizuo-creator-media-models
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
这是已验证 v0.3.
|
|
15
|
+
这是已验证 v0.3.31 插件包的 npm 安装入口,内含原始插件及共享核心,无需额外安装依赖。
|
|
16
16
|
|
|
17
17
|
已有 GitHub 安装版本时,请先卸载对应的旧安装项,再安装此 npm 包,完成后重启 DSH;卸载插件不会删除作品或对话。不要同时安装同一功能的 GitHub 包与 npm 包。
|
|
18
18
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
支持 **DeepSeek Harness Desktop 0.2.0-rc.2**。在左侧「插件」→「添加插件」粘贴下面这一行,确认来源后安装:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
|
-
https://github.com/ShikangPang/jizuo-creator-media-models/releases/download/v0.3.
|
|
10
|
+
https://github.com/ShikangPang/jizuo-creator-media-models/releases/download/v0.3.31/jizuo-media-models-plugin-0.3.31.tgz
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
只填安装包地址,不要填整个安装命令。安装完成后「已安装」中显示「媒体模型」,可分别启用、关闭、配置或卸载。共享核心已包含在安装包中,自动加载,不需要另装即作桌面端或手动安装核心插件。保留 Harness 原有新会话、插件与工作区入口;创作项目统一显示在工作区区域,小说和视频以前置图标区分,不再提供独立的创作面板。
|
|
@@ -17,7 +17,7 @@ https://github.com/ShikangPang/jizuo-creator-media-models/releases/download/v0.3
|
|
|
17
17
|
也可使用 Desktop 菜单安装的 dsh 命令:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-media-models/releases/download/v0.3.
|
|
20
|
+
dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-media-models/releases/download/v0.3.31/jizuo-media-models-plugin-0.3.31.tgz
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
源码克隆后运行 `node scripts/install.mjs --all` 一次安装五个插件,默认 desktop;Web 用户显式传 `--profile web`。脚本严格检查宿主版本。不要用旧版全局 dsh 命令安装到新版 Desktop,也不要绕过兼容检查。
|
|
@@ -26,7 +26,7 @@ dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-me
|
|
|
26
26
|
|
|
27
27
|
启用即作写作插件后,点击工作区列表顶部的“导入小说”。支持 TXT、Markdown 和 DOCX,单文件最大 10 MB。选择文件后预览章节、修改作品名称,确认后创建新的小说项目,展开“正文”即可编辑。取消预览不会创建作品;首章前的内容保留为前言。TXT 支持 UTF-8 和 GB18030 编码。
|
|
28
28
|
|
|
29
|
-
已安装多个即作插件时,请将它们一并更新到 0.3.
|
|
29
|
+
已安装多个即作插件时,请将它们一并更新到 0.3.31,并重启 Harness,使共享核心版本一致。
|
|
30
30
|
|
|
31
31
|
## 项目与数据
|
|
32
32
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolArgsError, defineTool } from "@deepseek-ai/dsh-tools";
|
|
2
|
-
//#region
|
|
2
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/core.js
|
|
3
3
|
var _a$1;
|
|
4
4
|
function $constructor(name, initializer, params) {
|
|
5
5
|
function init(inst, def) {
|
|
@@ -58,7 +58,7 @@ function config(newConfig) {
|
|
|
58
58
|
return globalConfig;
|
|
59
59
|
}
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region
|
|
61
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/util.js
|
|
62
62
|
function getEnumValues(entries) {
|
|
63
63
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
64
64
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -372,7 +372,7 @@ function issue(...args) {
|
|
|
372
372
|
return { ...iss };
|
|
373
373
|
}
|
|
374
374
|
//#endregion
|
|
375
|
-
//#region
|
|
375
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/errors.js
|
|
376
376
|
const initializer$1 = (inst, def) => {
|
|
377
377
|
inst.name = "$ZodError";
|
|
378
378
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -432,7 +432,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
432
432
|
return fieldErrors;
|
|
433
433
|
}
|
|
434
434
|
//#endregion
|
|
435
|
-
//#region
|
|
435
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/parse.js
|
|
436
436
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
437
437
|
const ctx = _ctx ? {
|
|
438
438
|
..._ctx,
|
|
@@ -546,7 +546,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
546
546
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
547
547
|
};
|
|
548
548
|
//#endregion
|
|
549
|
-
//#region
|
|
549
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/regexes.js
|
|
550
550
|
/**
|
|
551
551
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
552
552
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -611,7 +611,7 @@ const _null$2 = /^null$/i;
|
|
|
611
611
|
const lowercase = /^[^A-Z]*$/;
|
|
612
612
|
const uppercase = /^[^a-z]*$/;
|
|
613
613
|
//#endregion
|
|
614
|
-
//#region
|
|
614
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/checks.js
|
|
615
615
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
616
616
|
var _a;
|
|
617
617
|
inst._zod ?? (inst._zod = {});
|
|
@@ -973,7 +973,7 @@ const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (ins
|
|
|
973
973
|
};
|
|
974
974
|
});
|
|
975
975
|
//#endregion
|
|
976
|
-
//#region
|
|
976
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/doc.js
|
|
977
977
|
var Doc = class {
|
|
978
978
|
constructor(args = []) {
|
|
979
979
|
this.content = [];
|
|
@@ -1004,14 +1004,14 @@ var Doc = class {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
};
|
|
1006
1006
|
//#endregion
|
|
1007
|
-
//#region
|
|
1007
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/versions.js
|
|
1008
1008
|
const version = {
|
|
1009
1009
|
major: 4,
|
|
1010
1010
|
minor: 4,
|
|
1011
1011
|
patch: 3
|
|
1012
1012
|
};
|
|
1013
1013
|
//#endregion
|
|
1014
|
-
//#region
|
|
1014
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/schemas.js
|
|
1015
1015
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1016
1016
|
var _a;
|
|
1017
1017
|
inst ?? (inst = {});
|
|
@@ -2328,7 +2328,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
//#endregion
|
|
2331
|
-
//#region
|
|
2331
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/registries.js
|
|
2332
2332
|
var _a;
|
|
2333
2333
|
var $ZodRegistry = class {
|
|
2334
2334
|
constructor() {
|
|
@@ -2375,7 +2375,7 @@ function registry() {
|
|
|
2375
2375
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2376
2376
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2377
2377
|
//#endregion
|
|
2378
|
-
//#region
|
|
2378
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/api.js
|
|
2379
2379
|
// @__NO_SIDE_EFFECTS__
|
|
2380
2380
|
function _string(Class, params) {
|
|
2381
2381
|
return new Class({
|
|
@@ -2887,7 +2887,7 @@ function _check(fn, params) {
|
|
|
2887
2887
|
return ch;
|
|
2888
2888
|
}
|
|
2889
2889
|
//#endregion
|
|
2890
|
-
//#region
|
|
2890
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/to-json-schema.js
|
|
2891
2891
|
function initializeContext(params) {
|
|
2892
2892
|
let target = params?.target ?? "draft-2020-12";
|
|
2893
2893
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3182,7 +3182,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
3182
3182
|
return finalize(ctx, schema);
|
|
3183
3183
|
};
|
|
3184
3184
|
//#endregion
|
|
3185
|
-
//#region
|
|
3185
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/core/json-schema-processors.js
|
|
3186
3186
|
const formatMap = {
|
|
3187
3187
|
guid: "uuid",
|
|
3188
3188
|
url: "uri",
|
|
@@ -3638,7 +3638,7 @@ function toJSONSchema(input, params) {
|
|
|
3638
3638
|
return finalize(ctx, input);
|
|
3639
3639
|
}
|
|
3640
3640
|
//#endregion
|
|
3641
|
-
//#region
|
|
3641
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/classic/iso.js
|
|
3642
3642
|
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
3643
3643
|
$ZodISODateTime.init(inst, def);
|
|
3644
3644
|
ZodStringFormat.init(inst, def);
|
|
@@ -3668,7 +3668,7 @@ function duration(params) {
|
|
|
3668
3668
|
return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
|
|
3669
3669
|
}
|
|
3670
3670
|
//#endregion
|
|
3671
|
-
//#region
|
|
3671
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/classic/errors.js
|
|
3672
3672
|
const initializer = (inst, issues) => {
|
|
3673
3673
|
$ZodError.init(inst, issues);
|
|
3674
3674
|
inst.name = "ZodError";
|
|
@@ -3690,7 +3690,7 @@ const initializer = (inst, issues) => {
|
|
|
3690
3690
|
};
|
|
3691
3691
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, { Parent: Error });
|
|
3692
3692
|
//#endregion
|
|
3693
|
-
//#region
|
|
3693
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/classic/parse.js
|
|
3694
3694
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
3695
3695
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
3696
3696
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -3704,7 +3704,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
3704
3704
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3705
3705
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3706
3706
|
//#endregion
|
|
3707
|
-
//#region
|
|
3707
|
+
//#region ../../../../../../stability-release-0.3.30/jizuo-creator-writing/.build/workspace/node_modules/zod/v4/classic/schemas.js
|
|
3708
3708
|
const _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
3709
3709
|
function _installLazyMethods(inst, group, methods) {
|
|
3710
3710
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
支持 **DeepSeek Harness Desktop 0.2.0-rc.2**。在左侧「插件」→「添加插件」粘贴下面这一行,确认来源后安装:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
|
-
https://github.com/ShikangPang/jizuo-creator-writing/releases/download/v0.3.
|
|
10
|
+
https://github.com/ShikangPang/jizuo-creator-writing/releases/download/v0.3.31/jizuo-writing-plugin-0.3.31.tgz
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
只填安装包地址,不要填整个安装命令。安装完成后「已安装」中显示「即作写作」,可分别启用、关闭、配置或卸载。共享核心已包含在安装包中,自动加载,不需要另装即作桌面端或手动安装核心插件。保留 Harness 原有新会话、插件与工作区入口;创作项目统一显示在工作区区域,小说和视频以前置图标区分,不再提供独立的创作面板。
|
|
@@ -17,7 +17,7 @@ https://github.com/ShikangPang/jizuo-creator-writing/releases/download/v0.3.30/j
|
|
|
17
17
|
也可使用 Desktop 菜单安装的 dsh 命令:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-writing/releases/download/v0.3.
|
|
20
|
+
dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-writing/releases/download/v0.3.31/jizuo-writing-plugin-0.3.31.tgz
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
源码克隆后运行 `node scripts/install.mjs --all` 一次安装五个插件,默认 desktop;Web 用户显式传 `--profile web`。脚本严格检查宿主版本。不要用旧版全局 dsh 命令安装到新版 Desktop,也不要绕过兼容检查。
|
|
@@ -26,7 +26,7 @@ dsh plugin --profile desktop add https://github.com/ShikangPang/jizuo-creator-wr
|
|
|
26
26
|
|
|
27
27
|
启用即作写作插件后,点击工作区列表顶部的“导入小说”。支持 TXT、Markdown 和 DOCX,单文件最大 10 MB。选择文件后预览章节、修改作品名称,确认后创建新的小说项目,展开“正文”即可编辑。取消预览不会创建作品;首章前的内容保留为前言。TXT 支持 UTF-8 和 GB18030 编码。
|
|
28
28
|
|
|
29
|
-
已安装多个即作插件时,请将它们一并更新到 0.3.
|
|
29
|
+
已安装多个即作插件时,请将它们一并更新到 0.3.31,并重启 Harness,使共享核心版本一致。
|
|
30
30
|
|
|
31
31
|
## 项目与数据
|
|
32
32
|
|