@whispering233/ai-editor-shared 0.0.54 → 0.0.56
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/dist/constants/delta.d.ts +1 -0
- package/dist/constants/delta.d.ts.map +1 -1
- package/dist/constants/delta.js +2 -1
- package/dist/constants/delta.js.map +1 -1
- package/dist/constants/entity.d.ts +11 -0
- package/dist/constants/entity.d.ts.map +1 -1
- package/dist/constants/entity.js +14 -0
- package/dist/constants/entity.js.map +1 -1
- package/dist/constants/index.d.ts +1 -2
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +2 -3
- package/dist/constants/index.js.map +1 -1
- package/dist/constants/ports.d.ts +24 -0
- package/dist/constants/ports.d.ts.map +1 -0
- package/dist/constants/ports.js +9 -0
- package/dist/constants/ports.js.map +1 -0
- package/dist/constants/tool.d.ts +5 -5
- package/dist/constants/tool.d.ts.map +1 -1
- package/dist/constants/tool.js +3 -2
- package/dist/constants/tool.js.map +1 -1
- package/dist/types/api.d.ts +62 -385
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/api.js +48 -220
- package/dist/types/api.js.map +1 -1
- package/dist/types/entity.d.ts +1 -1
- package/dist/types/project.d.ts +6 -6
- package/dist/types/project.d.ts.map +1 -1
- package/dist/utils/deduction.d.ts +38 -0
- package/dist/utils/deduction.d.ts.map +1 -0
- package/dist/utils/deduction.js +66 -0
- package/dist/utils/deduction.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/mapping.d.ts +2 -2
- package/dist/utils/mapping.d.ts.map +1 -1
- package/dist/utils/mapping.js +4 -2
- package/dist/utils/mapping.js.map +1 -1
- package/package.json +1 -1
- package/dist/constants/decompose.d.ts +0 -3
- package/dist/constants/decompose.d.ts.map +0 -1
- package/dist/constants/decompose.js +0 -6
- package/dist/constants/decompose.js.map +0 -1
- package/dist/constants/project.d.ts +0 -5
- package/dist/constants/project.d.ts.map +0 -1
- package/dist/constants/project.js +0 -7
- package/dist/constants/project.js.map +0 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const projectLanguageSchema: z.ZodEnum<{
|
|
|
22
22
|
* (computeState 改为 skipped/conflicts 字段呈现,不再返回 409——保留枚举兼容历史引用);
|
|
23
23
|
* 末尾四个为 命名(文档未给具体码名,按语义命名,供 SSE error 事件使用)
|
|
24
24
|
*/
|
|
25
|
-
export declare const ERROR_CODES: readonly ["VALIDATION_ERROR", "ENTITY_NOT_FOUND", "RELATION_EXISTS", "EVENT_ALREADY_MOUNTED", "RELATION_NOT_FOUND", "OUTLINE_NODE_NOT_FOUND", "OUTLINE_ANCESTOR_DELETED", "INVALID_PROJECT_PATH", "PROPOSAL_STALE", "PROPOSAL_NOT_FOUND", "PROPOSAL_PROJECT_MISMATCH", "SCHEMA_VERSION_MISMATCH", "PROJECT_VERSION_NEWER", "BACKUP_TARGET_EXISTS", "SESSION_NOT_FOUND", "SESSION_BUSY", "
|
|
25
|
+
export declare const ERROR_CODES: readonly ["VALIDATION_ERROR", "ENTITY_NOT_FOUND", "RELATION_EXISTS", "EVENT_ALREADY_MOUNTED", "RELATION_NOT_FOUND", "OUTLINE_NODE_NOT_FOUND", "OUTLINE_ANCESTOR_DELETED", "INVALID_PROJECT_PATH", "PROPOSAL_STALE", "PROPOSAL_NOT_FOUND", "PROPOSAL_PROJECT_MISMATCH", "SCHEMA_VERSION_MISMATCH", "PROJECT_VERSION_NEWER", "BACKUP_TARGET_EXISTS", "SESSION_NOT_FOUND", "SESSION_BUSY", "CHAT_BUSY", "THINKING_NOT_FOUND", "DOCUMENT_STALE", "DELTA_CONFLICT", "TOOL_RESULT_TOO_LARGE"];
|
|
26
26
|
/** ErrorCode 枚举 schema */
|
|
27
27
|
export declare const errorCodeSchema: z.ZodEnum<{
|
|
28
28
|
VALIDATION_ERROR: "VALIDATION_ERROR";
|
|
@@ -41,7 +41,6 @@ export declare const errorCodeSchema: z.ZodEnum<{
|
|
|
41
41
|
BACKUP_TARGET_EXISTS: "BACKUP_TARGET_EXISTS";
|
|
42
42
|
SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
43
43
|
SESSION_BUSY: "SESSION_BUSY";
|
|
44
|
-
SESSION_READONLY: "SESSION_READONLY";
|
|
45
44
|
CHAT_BUSY: "CHAT_BUSY";
|
|
46
45
|
THINKING_NOT_FOUND: "THINKING_NOT_FOUND";
|
|
47
46
|
DOCUMENT_STALE: "DOCUMENT_STALE";
|
|
@@ -76,7 +75,6 @@ export declare const apiErrorSchema: z.ZodObject<{
|
|
|
76
75
|
BACKUP_TARGET_EXISTS: "BACKUP_TARGET_EXISTS";
|
|
77
76
|
SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
78
77
|
SESSION_BUSY: "SESSION_BUSY";
|
|
79
|
-
SESSION_READONLY: "SESSION_READONLY";
|
|
80
78
|
CHAT_BUSY: "CHAT_BUSY";
|
|
81
79
|
THINKING_NOT_FOUND: "THINKING_NOT_FOUND";
|
|
82
80
|
DOCUMENT_STALE: "DOCUMENT_STALE";
|
|
@@ -96,7 +94,8 @@ export type ApiError = z.infer<typeof apiErrorSchema>;
|
|
|
96
94
|
*
|
|
97
95
|
* **2026-09 修订**:`status` 彻底移除(旧残留由 `.passthrough()` 容错,不再解析/展示);
|
|
98
96
|
* `abilities[]` → `ability_panel`(007 迁移);`description` 为必填(**仅前端校验**——服务端不硬校验,
|
|
99
|
-
* 保护 AI
|
|
97
|
+
* 保护 AI 提案/旧数据/备份导入三条路径);`priority` = 角色优先级档(**有序枚举**,
|
|
98
|
+
* 取值单一定义 = shared `CHARACTER_PRIORITIES`;缺省 = 未分级,清除 = `null`)。
|
|
100
99
|
* `ability_panel` 为**宽校验**声明(`z.unknown()`,不约束结构):面板是用户自定义字段树,
|
|
101
100
|
* 结构防御在读取端(shared `parseAbilityPanel`)——服务端绝不因面板结构问题拒绝写入。
|
|
102
101
|
*/
|
|
@@ -111,6 +110,12 @@ export declare const characterDataSchema: z.ZodObject<{
|
|
|
111
110
|
motivation: z.ZodOptional<z.ZodString>;
|
|
112
111
|
ability_panel: z.ZodOptional<z.ZodUnknown>;
|
|
113
112
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
113
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
114
|
+
protagonist: "protagonist";
|
|
115
|
+
major: "major";
|
|
116
|
+
minor: "minor";
|
|
117
|
+
extra: "extra";
|
|
118
|
+
}>>>;
|
|
114
119
|
}, z.core.$loose>;
|
|
115
120
|
/** setting 专属字段(description/tags/rules/custom_fields;
|
|
116
121
|
* `tags` = 分类标签(K2,2026-08:分类统一字段,前后端同名);
|
|
@@ -188,6 +193,12 @@ export declare const ENTITY_DATA_SCHEMAS: {
|
|
|
188
193
|
motivation: z.ZodOptional<z.ZodString>;
|
|
189
194
|
ability_panel: z.ZodOptional<z.ZodUnknown>;
|
|
190
195
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
196
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
197
|
+
protagonist: "protagonist";
|
|
198
|
+
major: "major";
|
|
199
|
+
minor: "minor";
|
|
200
|
+
extra: "extra";
|
|
201
|
+
}>>>;
|
|
191
202
|
}, z.core.$loose>;
|
|
192
203
|
readonly setting: z.ZodObject<{
|
|
193
204
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -292,10 +303,6 @@ export declare const projectListResSchema: z.ZodObject<{
|
|
|
292
303
|
id: z.ZodString;
|
|
293
304
|
name: z.ZodString;
|
|
294
305
|
path: z.ZodString;
|
|
295
|
-
origin: z.ZodEnum<{
|
|
296
|
-
book: "book";
|
|
297
|
-
decompose: "decompose";
|
|
298
|
-
}>;
|
|
299
306
|
updatedAt: z.ZodString;
|
|
300
307
|
}, z.core.$strip>>;
|
|
301
308
|
}, z.core.$strip>;
|
|
@@ -308,6 +315,7 @@ export declare const projectConfigUpdateReqSchema: z.ZodObject<{
|
|
|
308
315
|
en: "en";
|
|
309
316
|
}>>;
|
|
310
317
|
current_position: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
deduction_nodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
311
319
|
backup_frequency_minutes: z.ZodOptional<z.ZodNullable<z.ZodUnion<z.ZodLiteral<5 | 15 | 1 | 10 | 30 | 60>[]>>>;
|
|
312
320
|
}, z.core.$strict>;
|
|
313
321
|
export declare const projectConfigUpdateResSchema: z.ZodObject<{
|
|
@@ -370,6 +378,7 @@ export declare const entityListQuerySchema: z.ZodObject<{
|
|
|
370
378
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
371
379
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
372
380
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
381
|
+
priority: "priority";
|
|
373
382
|
name: "name";
|
|
374
383
|
created_at: "created_at";
|
|
375
384
|
updated_at: "updated_at";
|
|
@@ -748,6 +757,7 @@ export declare const chatSendReqSchema: z.ZodObject<{
|
|
|
748
757
|
}>>;
|
|
749
758
|
focus_entity_id: z.ZodOptional<z.ZodString>;
|
|
750
759
|
focus_node_id: z.ZodOptional<z.ZodString>;
|
|
760
|
+
focus_deduction: z.ZodOptional<z.ZodBoolean>;
|
|
751
761
|
}, z.core.$strip>>;
|
|
752
762
|
}, z.core.$strict>;
|
|
753
763
|
export declare const chatSessionSummarySchema: z.ZodObject<{
|
|
@@ -768,6 +778,35 @@ export declare const chatSessionsResSchema: z.ZodObject<{
|
|
|
768
778
|
updatedAt: z.ZodString;
|
|
769
779
|
}, z.core.$strip>>;
|
|
770
780
|
}, z.core.$strip>;
|
|
781
|
+
/** 占用条字段(pi `getContextUsage()`;`tokens` / `percent` 为 `null` = 压缩后到下一次模型响应之间占用未知) */
|
|
782
|
+
export declare const chatContextUsageSchema: z.ZodObject<{
|
|
783
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
784
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
785
|
+
contextWindow: z.ZodNumber;
|
|
786
|
+
}, z.core.$strip>;
|
|
787
|
+
export type ChatContextUsage = z.infer<typeof chatContextUsageSchema>;
|
|
788
|
+
/**
|
|
789
|
+
* 会话累计用量(`turn_end` / `agent_end` 帧与历史消息响应共用同一形状)。
|
|
790
|
+
* 口径 = pi `AgentSession.getSessionStats()`;服务端唯一实现点 = agent 包 `sessionUsage()`。
|
|
791
|
+
*/
|
|
792
|
+
export declare const chatUsageSchema: z.ZodObject<{
|
|
793
|
+
input: z.ZodNumber;
|
|
794
|
+
output: z.ZodNumber;
|
|
795
|
+
cacheRead: z.ZodNumber;
|
|
796
|
+
cacheWrite: z.ZodNumber;
|
|
797
|
+
total: z.ZodNumber;
|
|
798
|
+
cost: z.ZodNumber;
|
|
799
|
+
cacheHitRate: z.ZodOptional<z.ZodNumber>;
|
|
800
|
+
subscription: z.ZodBoolean;
|
|
801
|
+
}, z.core.$strip>;
|
|
802
|
+
export type ChatUsage = z.infer<typeof chatUsageSchema>;
|
|
803
|
+
/** 解码速度(仅 assistant 的 `message_end` 帧;历史接口不带——时序不落盘) */
|
|
804
|
+
export declare const chatSpeedSchema: z.ZodObject<{
|
|
805
|
+
outputTokens: z.ZodNumber;
|
|
806
|
+
ms: z.ZodNumber;
|
|
807
|
+
tps: z.ZodNumber;
|
|
808
|
+
}, z.core.$strip>;
|
|
809
|
+
export type ChatSpeed = z.infer<typeof chatSpeedSchema>;
|
|
771
810
|
/** 思维链投影(列表/历史只给预览 + 定位参数;全文走按需端点,见 docs/api/80-api-chat.md) */
|
|
772
811
|
export declare const chatThinkingPreviewSchema: z.ZodObject<{
|
|
773
812
|
preview: z.ZodString;
|
|
@@ -802,6 +841,21 @@ export declare const chatMessagesResSchema: z.ZodObject<{
|
|
|
802
841
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
803
842
|
createdAt: z.ZodString;
|
|
804
843
|
}, z.core.$strip>>;
|
|
844
|
+
usage: z.ZodObject<{
|
|
845
|
+
input: z.ZodNumber;
|
|
846
|
+
output: z.ZodNumber;
|
|
847
|
+
cacheRead: z.ZodNumber;
|
|
848
|
+
cacheWrite: z.ZodNumber;
|
|
849
|
+
total: z.ZodNumber;
|
|
850
|
+
cost: z.ZodNumber;
|
|
851
|
+
cacheHitRate: z.ZodOptional<z.ZodNumber>;
|
|
852
|
+
subscription: z.ZodBoolean;
|
|
853
|
+
}, z.core.$strip>;
|
|
854
|
+
contextUsage: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
856
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
857
|
+
contextWindow: z.ZodNumber;
|
|
858
|
+
}, z.core.$strip>>;
|
|
805
859
|
}, z.core.$strip>;
|
|
806
860
|
export declare const chatThinkingResSchema: z.ZodObject<{
|
|
807
861
|
thinking: z.ZodString;
|
|
@@ -928,381 +982,4 @@ export declare const cloudImportBookReqSchema: z.ZodObject<{
|
|
|
928
982
|
}, z.core.$strict>;
|
|
929
983
|
export type CloudImportBookReq = z.infer<typeof cloudImportBookReqSchema>;
|
|
930
984
|
export declare const cloudImportBookResSchema: z.ZodType<CloudImportBookResult>;
|
|
931
|
-
/** job 状态机(pending → running → (paused | done | failed)) */
|
|
932
|
-
export declare const DECOMPOSE_JOB_STATUSES: readonly ["pending", "running", "paused", "done", "failed"];
|
|
933
|
-
/** 批状态(pending → running → done | failed) */
|
|
934
|
-
export declare const DECOMPOSE_BATCH_STATUSES: readonly ["pending", "running", "done", "failed"];
|
|
935
|
-
/** 阶段条(进度页高亮用;`done` = 全流程结束) */
|
|
936
|
-
export declare const DECOMPOSE_STAGES: readonly ["ingest", "extract", "merge", "report", "done"];
|
|
937
|
-
/** 编码探测结果(与 server `decompose/split.ts` 的 NovelEncoding 同集:探测在服务端单一实现) */
|
|
938
|
-
export declare const decomposeEncodingSchema: z.ZodEnum<{
|
|
939
|
-
"utf-8": "utf-8";
|
|
940
|
-
"utf-8-bom": "utf-8-bom";
|
|
941
|
-
"utf-16le": "utf-16le";
|
|
942
|
-
"utf-16be": "utf-16be";
|
|
943
|
-
gb18030: "gb18030";
|
|
944
|
-
}>;
|
|
945
|
-
/** 切分警告(码表单一来源 = server `decompose/split.ts` 的 SPLIT_WARNING_CODES;client 不映射代码,故此处不复抄清单) */
|
|
946
|
-
export declare const decomposeWarningSchema: z.ZodObject<{
|
|
947
|
-
code: z.ZodString;
|
|
948
|
-
message: z.ZodString;
|
|
949
|
-
}, z.core.$strip>;
|
|
950
|
-
/** 预览章条目(index = 1-based 文件位置序) */
|
|
951
|
-
export declare const decomposeChapterPreviewSchema: z.ZodObject<{
|
|
952
|
-
index: z.ZodNumber;
|
|
953
|
-
title: z.ZodString;
|
|
954
|
-
charCount: z.ZodNumber;
|
|
955
|
-
volumeIndex: z.ZodNumber;
|
|
956
|
-
}, z.core.$strip>;
|
|
957
|
-
/** 章字数分布(min / median / max;median 可能是 x.5——偶数章取中位均值) */
|
|
958
|
-
export declare const decomposeChapterStatsSchema: z.ZodObject<{
|
|
959
|
-
min: z.ZodNumber;
|
|
960
|
-
median: z.ZodNumber;
|
|
961
|
-
max: z.ZodNumber;
|
|
962
|
-
}, z.core.$strip>;
|
|
963
|
-
/** 范围预估(费率来自 pi 模型目录;未配置模型/凭据 → costApprox = null) */
|
|
964
|
-
export declare const decomposeEstimateSchema: z.ZodObject<{
|
|
965
|
-
batchCount: z.ZodNumber;
|
|
966
|
-
llmCalls: z.ZodNumber;
|
|
967
|
-
inputTokensApprox: z.ZodNumber;
|
|
968
|
-
outputTokensApprox: z.ZodNumber;
|
|
969
|
-
costApprox: z.ZodNullable<z.ZodNumber>;
|
|
970
|
-
}, z.core.$strip>;
|
|
971
|
-
export declare const decomposeAnalyzeQuerySchema: z.ZodObject<{
|
|
972
|
-
file_name: z.ZodString;
|
|
973
|
-
scope_start: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
974
|
-
scope_end: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
975
|
-
}, z.core.$strip>;
|
|
976
|
-
export declare const decomposeAnalyzeResSchema: z.ZodObject<{
|
|
977
|
-
encoding: z.ZodEnum<{
|
|
978
|
-
"utf-8": "utf-8";
|
|
979
|
-
"utf-8-bom": "utf-8-bom";
|
|
980
|
-
"utf-16le": "utf-16le";
|
|
981
|
-
"utf-16be": "utf-16be";
|
|
982
|
-
gb18030: "gb18030";
|
|
983
|
-
}>;
|
|
984
|
-
totalChars: z.ZodNumber;
|
|
985
|
-
chapters: z.ZodArray<z.ZodObject<{
|
|
986
|
-
index: z.ZodNumber;
|
|
987
|
-
title: z.ZodString;
|
|
988
|
-
charCount: z.ZodNumber;
|
|
989
|
-
volumeIndex: z.ZodNumber;
|
|
990
|
-
}, z.core.$strip>>;
|
|
991
|
-
volumes: z.ZodArray<z.ZodObject<{
|
|
992
|
-
index: z.ZodNumber;
|
|
993
|
-
title: z.ZodString;
|
|
994
|
-
}, z.core.$strip>>;
|
|
995
|
-
stats: z.ZodObject<{
|
|
996
|
-
min: z.ZodNumber;
|
|
997
|
-
median: z.ZodNumber;
|
|
998
|
-
max: z.ZodNumber;
|
|
999
|
-
}, z.core.$strip>;
|
|
1000
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
1001
|
-
code: z.ZodString;
|
|
1002
|
-
message: z.ZodString;
|
|
1003
|
-
}, z.core.$strip>>;
|
|
1004
|
-
estimate: z.ZodObject<{
|
|
1005
|
-
batchCount: z.ZodNumber;
|
|
1006
|
-
llmCalls: z.ZodNumber;
|
|
1007
|
-
inputTokensApprox: z.ZodNumber;
|
|
1008
|
-
outputTokensApprox: z.ZodNumber;
|
|
1009
|
-
costApprox: z.ZodNullable<z.ZodNumber>;
|
|
1010
|
-
}, z.core.$strip>;
|
|
1011
|
-
defaultName: z.ZodString;
|
|
1012
|
-
}, z.core.$strip>;
|
|
1013
|
-
export type DecomposeAnalyzeRes = z.infer<typeof decomposeAnalyzeResSchema>;
|
|
1014
|
-
export declare const decomposeStartQuerySchema: z.ZodObject<{
|
|
1015
|
-
file_name: z.ZodString;
|
|
1016
|
-
name: z.ZodString;
|
|
1017
|
-
scope_start: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1018
|
-
scope_end: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1019
|
-
}, z.core.$strip>;
|
|
1020
|
-
export declare const decomposeStartResSchema: z.ZodObject<{
|
|
1021
|
-
projectId: z.ZodString;
|
|
1022
|
-
projectPath: z.ZodString;
|
|
1023
|
-
name: z.ZodString;
|
|
1024
|
-
jobId: z.ZodString;
|
|
1025
|
-
status: z.ZodEnum<{
|
|
1026
|
-
pending: "pending";
|
|
1027
|
-
running: "running";
|
|
1028
|
-
}>;
|
|
1029
|
-
batchCount: z.ZodNumber;
|
|
1030
|
-
}, z.core.$strip>;
|
|
1031
|
-
export type DecomposeStartRes = z.infer<typeof decomposeStartResSchema>;
|
|
1032
|
-
export declare const decomposeContinueQuerySchema: z.ZodObject<{
|
|
1033
|
-
scope_start: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1034
|
-
scope_end: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1035
|
-
}, z.core.$strip>;
|
|
1036
|
-
export declare const decomposePlanChapterSchema: z.ZodObject<{
|
|
1037
|
-
index: z.ZodNumber;
|
|
1038
|
-
title: z.ZodString;
|
|
1039
|
-
charCount: z.ZodNumber;
|
|
1040
|
-
volumeIndex: z.ZodNumber;
|
|
1041
|
-
decomposed: z.ZodBoolean;
|
|
1042
|
-
}, z.core.$strip>;
|
|
1043
|
-
export declare const decomposePlanResSchema: z.ZodObject<{
|
|
1044
|
-
scopeStart: z.ZodNumber;
|
|
1045
|
-
scopeEnd: z.ZodNumber;
|
|
1046
|
-
defaulted: z.ZodBoolean;
|
|
1047
|
-
remainingCount: z.ZodNumber;
|
|
1048
|
-
decomposedInScope: z.ZodNumber;
|
|
1049
|
-
chapters: z.ZodArray<z.ZodObject<{
|
|
1050
|
-
index: z.ZodNumber;
|
|
1051
|
-
title: z.ZodString;
|
|
1052
|
-
charCount: z.ZodNumber;
|
|
1053
|
-
volumeIndex: z.ZodNumber;
|
|
1054
|
-
decomposed: z.ZodBoolean;
|
|
1055
|
-
}, z.core.$strip>>;
|
|
1056
|
-
stats: z.ZodObject<{
|
|
1057
|
-
min: z.ZodNumber;
|
|
1058
|
-
median: z.ZodNumber;
|
|
1059
|
-
max: z.ZodNumber;
|
|
1060
|
-
}, z.core.$strip>;
|
|
1061
|
-
estimate: z.ZodObject<{
|
|
1062
|
-
batchCount: z.ZodNumber;
|
|
1063
|
-
llmCalls: z.ZodNumber;
|
|
1064
|
-
inputTokensApprox: z.ZodNumber;
|
|
1065
|
-
outputTokensApprox: z.ZodNumber;
|
|
1066
|
-
costApprox: z.ZodNullable<z.ZodNumber>;
|
|
1067
|
-
}, z.core.$strip>;
|
|
1068
|
-
}, z.core.$strip>;
|
|
1069
|
-
export type DecomposePlanRes = z.infer<typeof decomposePlanResSchema>;
|
|
1070
|
-
export declare const decomposeContinueResSchema: z.ZodObject<{
|
|
1071
|
-
jobId: z.ZodString;
|
|
1072
|
-
scopeStart: z.ZodNumber;
|
|
1073
|
-
scopeEnd: z.ZodNumber;
|
|
1074
|
-
status: z.ZodLiteral<"running">;
|
|
1075
|
-
batchCount: z.ZodNumber;
|
|
1076
|
-
}, z.core.$strip>;
|
|
1077
|
-
export type DecomposeContinueRes = z.infer<typeof decomposeContinueResSchema>;
|
|
1078
|
-
/** 抽取人物(role 为自由文本:提示词给建议词表,服务端不校验、不给枚举) */
|
|
1079
|
-
export declare const decomposeCharacterSchema: z.ZodObject<{
|
|
1080
|
-
name: z.ZodString;
|
|
1081
|
-
role: z.ZodOptional<z.ZodString>;
|
|
1082
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1083
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
1084
|
-
gender: z.ZodOptional<z.ZodString>;
|
|
1085
|
-
age: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1086
|
-
race: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
personality: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1088
|
-
motivation: z.ZodOptional<z.ZodString>;
|
|
1089
|
-
}, z.core.$strip>;
|
|
1090
|
-
export type DecomposeCharacter = z.infer<typeof decomposeCharacterSchema>;
|
|
1091
|
-
/** 抽取设定(tags = 短标签、rules = 短句——长文本进 description) */
|
|
1092
|
-
export declare const decomposeSettingSchema: z.ZodObject<{
|
|
1093
|
-
name: z.ZodString;
|
|
1094
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1095
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1096
|
-
rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1097
|
-
}, z.core.$strip>;
|
|
1098
|
-
export type DecomposeSetting = z.infer<typeof decomposeSettingSchema>;
|
|
1099
|
-
/** 抽取地点(type 自由文本;不做地点层级 ⇒ 无 parent_id) */
|
|
1100
|
-
export declare const decomposeLocationSchema: z.ZodObject<{
|
|
1101
|
-
name: z.ZodString;
|
|
1102
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1103
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
}, z.core.$strip>;
|
|
1105
|
-
export type DecomposeLocation = z.infer<typeof decomposeLocationSchema>;
|
|
1106
|
-
/** 抽取关系(type 白名单收窄,单一来源 = server `decompose/extract.ts` 的 DECOMPOSE_RELATION_TYPES) */
|
|
1107
|
-
export declare const decomposeRelationSchema: z.ZodObject<{
|
|
1108
|
-
source: z.ZodString;
|
|
1109
|
-
target: z.ZodString;
|
|
1110
|
-
type: z.ZodString;
|
|
1111
|
-
evidence: z.ZodOptional<z.ZodString>;
|
|
1112
|
-
}, z.core.$strip>;
|
|
1113
|
-
export type DecomposeRelation = z.infer<typeof decomposeRelationSchema>;
|
|
1114
|
-
/** 单章抽取结果(chapterIndex = 1-based 文件位置序;批内必须逐章对齐) */
|
|
1115
|
-
export declare const decomposeExtractedChapterSchema: z.ZodObject<{
|
|
1116
|
-
chapterIndex: z.ZodNumber;
|
|
1117
|
-
chapterTitle: z.ZodString;
|
|
1118
|
-
summary: z.ZodString;
|
|
1119
|
-
characters: z.ZodArray<z.ZodObject<{
|
|
1120
|
-
name: z.ZodString;
|
|
1121
|
-
role: z.ZodOptional<z.ZodString>;
|
|
1122
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1123
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
1124
|
-
gender: z.ZodOptional<z.ZodString>;
|
|
1125
|
-
age: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1126
|
-
race: z.ZodOptional<z.ZodString>;
|
|
1127
|
-
personality: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1128
|
-
motivation: z.ZodOptional<z.ZodString>;
|
|
1129
|
-
}, z.core.$strip>>;
|
|
1130
|
-
settings: z.ZodArray<z.ZodObject<{
|
|
1131
|
-
name: z.ZodString;
|
|
1132
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1133
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1134
|
-
rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1135
|
-
}, z.core.$strip>>;
|
|
1136
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1137
|
-
name: z.ZodString;
|
|
1138
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1139
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1140
|
-
}, z.core.$strip>>;
|
|
1141
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1142
|
-
source: z.ZodString;
|
|
1143
|
-
target: z.ZodString;
|
|
1144
|
-
type: z.ZodString;
|
|
1145
|
-
evidence: z.ZodOptional<z.ZodString>;
|
|
1146
|
-
}, z.core.$strip>>;
|
|
1147
|
-
}, z.core.$strip>;
|
|
1148
|
-
export type DecomposeExtractedChapter = z.infer<typeof decomposeExtractedChapterSchema>;
|
|
1149
|
-
/** 一批抽取结果(= `decompose_batches.result` 的 JSON 形状) */
|
|
1150
|
-
export declare const decomposeBatchResultSchema: z.ZodObject<{
|
|
1151
|
-
chapters: z.ZodArray<z.ZodObject<{
|
|
1152
|
-
chapterIndex: z.ZodNumber;
|
|
1153
|
-
chapterTitle: z.ZodString;
|
|
1154
|
-
summary: z.ZodString;
|
|
1155
|
-
characters: z.ZodArray<z.ZodObject<{
|
|
1156
|
-
name: z.ZodString;
|
|
1157
|
-
role: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1159
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
1160
|
-
gender: z.ZodOptional<z.ZodString>;
|
|
1161
|
-
age: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1162
|
-
race: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
personality: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1164
|
-
motivation: z.ZodOptional<z.ZodString>;
|
|
1165
|
-
}, z.core.$strip>>;
|
|
1166
|
-
settings: z.ZodArray<z.ZodObject<{
|
|
1167
|
-
name: z.ZodString;
|
|
1168
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1169
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1170
|
-
rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1171
|
-
}, z.core.$strip>>;
|
|
1172
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1173
|
-
name: z.ZodString;
|
|
1174
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1176
|
-
}, z.core.$strip>>;
|
|
1177
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1178
|
-
source: z.ZodString;
|
|
1179
|
-
target: z.ZodString;
|
|
1180
|
-
type: z.ZodString;
|
|
1181
|
-
evidence: z.ZodOptional<z.ZodString>;
|
|
1182
|
-
}, z.core.$strip>>;
|
|
1183
|
-
}, z.core.$strip>>;
|
|
1184
|
-
}, z.core.$strip>;
|
|
1185
|
-
export type DecomposeBatchResult = z.infer<typeof decomposeBatchResultSchema>;
|
|
1186
|
-
export declare const decomposeJobResSchema: z.ZodObject<{
|
|
1187
|
-
jobId: z.ZodString;
|
|
1188
|
-
status: z.ZodEnum<{
|
|
1189
|
-
pending: "pending";
|
|
1190
|
-
running: "running";
|
|
1191
|
-
paused: "paused";
|
|
1192
|
-
done: "done";
|
|
1193
|
-
failed: "failed";
|
|
1194
|
-
}>;
|
|
1195
|
-
stage: z.ZodEnum<{
|
|
1196
|
-
done: "done";
|
|
1197
|
-
ingest: "ingest";
|
|
1198
|
-
extract: "extract";
|
|
1199
|
-
merge: "merge";
|
|
1200
|
-
report: "report";
|
|
1201
|
-
}>;
|
|
1202
|
-
scopeStart: z.ZodNumber;
|
|
1203
|
-
scopeEnd: z.ZodNumber;
|
|
1204
|
-
createdAt: z.ZodString;
|
|
1205
|
-
updatedAt: z.ZodString;
|
|
1206
|
-
progress: z.ZodObject<{
|
|
1207
|
-
done: z.ZodNumber;
|
|
1208
|
-
failed: z.ZodNumber;
|
|
1209
|
-
total: z.ZodNumber;
|
|
1210
|
-
}, z.core.$strip>;
|
|
1211
|
-
batches: z.ZodArray<z.ZodObject<{
|
|
1212
|
-
seq: z.ZodNumber;
|
|
1213
|
-
chapterIndexes: z.ZodArray<z.ZodNumber>;
|
|
1214
|
-
chapterTitles: z.ZodArray<z.ZodString>;
|
|
1215
|
-
charCount: z.ZodNumber;
|
|
1216
|
-
status: z.ZodEnum<{
|
|
1217
|
-
pending: "pending";
|
|
1218
|
-
running: "running";
|
|
1219
|
-
done: "done";
|
|
1220
|
-
failed: "failed";
|
|
1221
|
-
}>;
|
|
1222
|
-
attempts: z.ZodNumber;
|
|
1223
|
-
error: z.ZodNullable<z.ZodString>;
|
|
1224
|
-
}, z.core.$strip>>;
|
|
1225
|
-
error: z.ZodNullable<z.ZodString>;
|
|
1226
|
-
report: z.ZodNullable<z.ZodObject<{
|
|
1227
|
-
entityId: z.ZodString;
|
|
1228
|
-
name: z.ZodString;
|
|
1229
|
-
}, z.core.$strip>>;
|
|
1230
|
-
}, z.core.$strip>;
|
|
1231
|
-
export type DecomposeJobRes = z.infer<typeof decomposeJobResSchema>;
|
|
1232
|
-
export declare const decomposeBatchResSchema: z.ZodObject<{
|
|
1233
|
-
seq: z.ZodNumber;
|
|
1234
|
-
status: z.ZodEnum<{
|
|
1235
|
-
pending: "pending";
|
|
1236
|
-
running: "running";
|
|
1237
|
-
done: "done";
|
|
1238
|
-
failed: "failed";
|
|
1239
|
-
}>;
|
|
1240
|
-
attempts: z.ZodNumber;
|
|
1241
|
-
error: z.ZodNullable<z.ZodString>;
|
|
1242
|
-
result: z.ZodNullable<z.ZodObject<{
|
|
1243
|
-
chapters: z.ZodArray<z.ZodObject<{
|
|
1244
|
-
chapterIndex: z.ZodNumber;
|
|
1245
|
-
chapterTitle: z.ZodString;
|
|
1246
|
-
summary: z.ZodString;
|
|
1247
|
-
characters: z.ZodArray<z.ZodObject<{
|
|
1248
|
-
name: z.ZodString;
|
|
1249
|
-
role: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1251
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
1252
|
-
gender: z.ZodOptional<z.ZodString>;
|
|
1253
|
-
age: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1254
|
-
race: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
personality: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1256
|
-
motivation: z.ZodOptional<z.ZodString>;
|
|
1257
|
-
}, z.core.$strip>>;
|
|
1258
|
-
settings: z.ZodArray<z.ZodObject<{
|
|
1259
|
-
name: z.ZodString;
|
|
1260
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1262
|
-
rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1263
|
-
}, z.core.$strip>>;
|
|
1264
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1265
|
-
name: z.ZodString;
|
|
1266
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1268
|
-
}, z.core.$strip>>;
|
|
1269
|
-
relations: z.ZodArray<z.ZodObject<{
|
|
1270
|
-
source: z.ZodString;
|
|
1271
|
-
target: z.ZodString;
|
|
1272
|
-
type: z.ZodString;
|
|
1273
|
-
evidence: z.ZodOptional<z.ZodString>;
|
|
1274
|
-
}, z.core.$strip>>;
|
|
1275
|
-
}, z.core.$strip>>;
|
|
1276
|
-
}, z.core.$strip>>;
|
|
1277
|
-
}, z.core.$strip>;
|
|
1278
|
-
export type DecomposeBatchRes = z.infer<typeof decomposeBatchResSchema>;
|
|
1279
|
-
export declare const decomposeLogEntrySchema: z.ZodObject<{
|
|
1280
|
-
id: z.ZodString;
|
|
1281
|
-
at: z.ZodString;
|
|
1282
|
-
kind: z.ZodString;
|
|
1283
|
-
text: z.ZodString;
|
|
1284
|
-
batchSeq: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
-
}, z.core.$strip>;
|
|
1286
|
-
export type DecomposeLogEntry = z.infer<typeof decomposeLogEntrySchema>;
|
|
1287
|
-
export declare const decomposeJobLogResSchema: z.ZodObject<{
|
|
1288
|
-
sessionId: z.ZodString;
|
|
1289
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
1290
|
-
id: z.ZodString;
|
|
1291
|
-
at: z.ZodString;
|
|
1292
|
-
kind: z.ZodString;
|
|
1293
|
-
text: z.ZodString;
|
|
1294
|
-
batchSeq: z.ZodOptional<z.ZodNumber>;
|
|
1295
|
-
}, z.core.$strip>>;
|
|
1296
|
-
}, z.core.$strip>;
|
|
1297
|
-
export type DecomposeJobLogRes = z.infer<typeof decomposeJobLogResSchema>;
|
|
1298
|
-
export declare const decomposePauseResSchema: z.ZodObject<{
|
|
1299
|
-
status: z.ZodLiteral<"paused">;
|
|
1300
|
-
}, z.core.$strip>;
|
|
1301
|
-
export declare const decomposeResumeResSchema: z.ZodObject<{
|
|
1302
|
-
status: z.ZodLiteral<"running">;
|
|
1303
|
-
}, z.core.$strip>;
|
|
1304
|
-
export declare const decomposeRerunResSchema: z.ZodObject<{
|
|
1305
|
-
status: z.ZodLiteral<"running">;
|
|
1306
|
-
seq: z.ZodNumber;
|
|
1307
|
-
}, z.core.$strip>;
|
|
1308
985
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/types/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC/H,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAIlG,oDAAoD;AACpD,eAAO,MAAM,gBAAgB;;;;;;;;EAAuB,CAAC;AAErD,yBAAyB;AACzB,eAAO,MAAM,qBAAqB;;;EAAuB,CAAC;AAI1D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,ydAyBd,CAAC;AAEX,0BAA0B;AAC1B,eAAO,MAAM,eAAe;;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