@native-knowledge/knowledge-sdk 0.0.0-stage → 0.1.0-rc.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.
- package/LICENSE +21 -0
- package/README.md +46 -2
- package/dist/index.js +6577 -0
- package/dist/types/contracts/artifact.d.ts +120 -0
- package/dist/types/contracts/collection-control.d.ts +160 -0
- package/dist/types/contracts/collection.d.ts +263 -0
- package/dist/types/contracts/common.d.ts +17 -0
- package/dist/types/contracts/currentness.d.ts +477 -0
- package/dist/types/contracts/event.d.ts +60 -0
- package/dist/types/contracts/evidence.d.ts +202 -0
- package/dist/types/contracts/index.d.ts +55 -0
- package/dist/types/contracts/material-capability.d.ts +88 -0
- package/dist/types/contracts/material-carrier.d.ts +104 -0
- package/dist/types/contracts/material-context.d.ts +28 -0
- package/dist/types/contracts/material-read.d.ts +152 -0
- package/dist/types/contracts/observation.d.ts +75 -0
- package/dist/types/contracts/persistence.d.ts +370 -0
- package/dist/types/contracts/project-intent.d.ts +218 -0
- package/dist/types/contracts/projection.d.ts +380 -0
- package/dist/types/contracts/public-reference.d.ts +237 -0
- package/dist/types/contracts/reference-record.d.ts +124 -0
- package/dist/types/contracts/remote-file.d.ts +128 -0
- package/dist/types/contracts/resource-scope.d.ts +40 -0
- package/dist/types/contracts/resource-transfer.d.ts +24 -0
- package/dist/types/contracts/review-packet.d.ts +274 -0
- package/dist/types/contracts/review-plane.d.ts +90 -0
- package/dist/types/contracts/rich-document.d.ts +641 -0
- package/dist/types/contracts/runtime-compatibility.d.ts +22 -0
- package/dist/types/contracts/runtime.d.ts +59 -0
- package/dist/types/contracts/scheduler.d.ts +348 -0
- package/dist/types/contracts/signal.d.ts +113 -0
- package/dist/types/contracts/source-governance.d.ts +375 -0
- package/dist/types/contracts/source.d.ts +62 -0
- package/dist/types/contracts/tenant-budget.d.ts +59 -0
- package/dist/types/contracts/tenant-collection-request.d.ts +209 -0
- package/dist/types/contracts/tenant-collection.d.ts +199 -0
- package/dist/types/contracts/tenant-currentness.d.ts +117 -0
- package/dist/types/contracts/tenant-management.d.ts +286 -0
- package/dist/types/contracts/tenant-material-api.d.ts +584 -0
- package/dist/types/contracts/tenant-pdf-text.d.ts +27 -0
- package/dist/types/contracts/tenant-project-control.d.ts +94 -0
- package/dist/types/contracts/tenant-public-reference.d.ts +179 -0
- package/dist/types/contracts/tenant-resource-api.d.ts +738 -0
- package/dist/types/contracts/tenant-resource.d.ts +298 -0
- package/dist/types/contracts/tenant-rich-document.d.ts +317 -0
- package/dist/types/contracts/tenant-source-binding.d.ts +44 -0
- package/dist/types/contracts/tenant-source-bridge.d.ts +70 -0
- package/dist/types/contracts/tenant-source-cutover.d.ts +226 -0
- package/dist/types/contracts/tenant-source-document.d.ts +163 -0
- package/dist/types/contracts/tenant-source-lease.d.ts +1 -0
- package/dist/types/contracts/tenant-source.d.ts +223 -0
- package/dist/types/contracts/tenant-web-collection.d.ts +287 -0
- package/dist/types/contracts/tenant-web-content-plan.d.ts +86 -0
- package/dist/types/contracts/tenant-web-content-result.d.ts +63 -0
- package/dist/types/contracts/tenant-web-content.d.ts +383 -0
- package/dist/types/contracts/tenant-web-crawl.d.ts +310 -0
- package/dist/types/contracts/tenant-web-dynamic.d.ts +698 -0
- package/dist/types/contracts/tenant-web-results.d.ts +66 -0
- package/dist/types/contracts/tenant-web-workflow.d.ts +494 -0
- package/dist/types/sdk/agent-entry.d.ts +291 -0
- package/dist/types/sdk/agent-guidance-error.d.ts +15 -0
- package/dist/types/sdk/index.d.ts +289 -0
- package/dist/types/sdk/material-stream.d.ts +18 -0
- package/dist/types/sdk/oauth.d.ts +268 -0
- package/dist/types/sdk/resource-integrity.d.ts +21 -0
- package/dist/types/sdk/resource.d.ts +88 -0
- package/dist/types/sdk/tenant-management.d.ts +240 -0
- package/dist/types/sdk/tenant-project.d.ts +57 -0
- package/dist/types/sdk/tenant-runtime.d.ts +174 -0
- package/dist/types/sdk/tenant-web-content.d.ts +44 -0
- package/dist/types/sdk/tenant-web-crawl.d.ts +42 -0
- package/dist/types/sdk/tenant-web-dynamic.d.ts +42 -0
- package/dist/types/sdk/tenant-web-workflow.d.ts +43 -0
- package/dist/types/sdk/tenant-web.d.ts +42 -0
- package/dist/types/sdk/tenant-workspace.d.ts +36 -0
- package/dist/types/sdk/transport.d.ts +16 -0
- package/dist/types/serving-contracts/agent-catalog.d.ts +70 -0
- package/dist/types/serving-contracts/agent-entry.d.ts +13148 -0
- package/dist/types/serving-contracts/agent-guidance-shapes.d.ts +263 -0
- package/dist/types/serving-contracts/agent-input-hints.d.ts +24 -0
- package/dist/types/serving-contracts/body-search.d.ts +231 -0
- package/dist/types/serving-contracts/consumer.d.ts +989 -0
- package/dist/types/serving-contracts/core.d.ts +333 -0
- package/dist/types/serving-contracts/http.d.ts +2874 -0
- package/dist/types/serving-contracts/index.d.ts +23 -0
- package/dist/types/serving-contracts/management.d.ts +424 -0
- package/dist/types/serving-contracts/material-capabilities.d.ts +508 -0
- package/dist/types/serving-contracts/material-index-status.d.ts +55 -0
- package/dist/types/serving-contracts/mcp.d.ts +2218 -0
- package/dist/types/serving-contracts/tenant-governance.d.ts +236 -0
- package/dist/types/serving-contracts/tenant-management.d.ts +6276 -0
- package/dist/types/serving-contracts/tenant-project.d.ts +7550 -0
- package/dist/types/serving-contracts/tenant-runtime.d.ts +9674 -0
- package/dist/types/serving-contracts/tenant-web-content.d.ts +4606 -0
- package/dist/types/serving-contracts/tenant-web-crawl.d.ts +2958 -0
- package/dist/types/serving-contracts/tenant-web-dynamic.d.ts +3902 -0
- package/dist/types/serving-contracts/tenant-web-workflow.d.ts +5750 -0
- package/dist/types/serving-contracts/tenant-web.d.ts +6418 -0
- package/dist/types/serving-contracts/tenant-workspace.d.ts +6451 -0
- package/dist/types/serving-contracts/workflow.d.ts +439 -0
- package/package.json +34 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './core.js';
|
|
2
|
+
export * from './http.js';
|
|
3
|
+
export * from './consumer.js';
|
|
4
|
+
export * from './mcp.js';
|
|
5
|
+
export * from './management.js';
|
|
6
|
+
export * from './material-capabilities.js';
|
|
7
|
+
export * from './material-index-status.js';
|
|
8
|
+
export * from './workflow.js';
|
|
9
|
+
export * from './tenant-governance.js';
|
|
10
|
+
export * from './tenant-management.js';
|
|
11
|
+
export * from './tenant-workspace.js';
|
|
12
|
+
export * from './tenant-project.js';
|
|
13
|
+
export * from './tenant-runtime.js';
|
|
14
|
+
export * from './tenant-web.js';
|
|
15
|
+
export * from './tenant-web-crawl.js';
|
|
16
|
+
export * from './tenant-web-dynamic.js';
|
|
17
|
+
export * from './tenant-web-content.js';
|
|
18
|
+
export * from './tenant-web-workflow.js';
|
|
19
|
+
export * from './agent-entry.js';
|
|
20
|
+
export * from './agent-catalog.js';
|
|
21
|
+
export * from './body-search.js';
|
|
22
|
+
export * from './agent-guidance-shapes.js';
|
|
23
|
+
export * from './agent-input-hints.js';
|
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
/** 管理 MCP 的参数只携带项目引用和治理输入;项目 Key、Tenant 和节点均由服务端绑定解析。 */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const managementComposeInputSchema: z.ZodObject<{
|
|
4
|
+
projectRef: z.ZodString;
|
|
5
|
+
sourceEvidenceRefs: z.ZodArray<z.ZodString>;
|
|
6
|
+
primarySourceEvidenceRef: z.ZodOptional<z.ZodString>;
|
|
7
|
+
artifactId: z.ZodString;
|
|
8
|
+
expectedVersion: z.ZodNumber;
|
|
9
|
+
composedAt: z.ZodISODateTime;
|
|
10
|
+
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
11
|
+
outputKind: z.ZodEnum<{
|
|
12
|
+
KNOWLEDGE: "KNOWLEDGE";
|
|
13
|
+
INSIGHT: "INSIGHT";
|
|
14
|
+
}>;
|
|
15
|
+
publicationProfile: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
HUMAN_ARTICLE_V1: "HUMAN_ARTICLE_V1";
|
|
17
|
+
KNOWLEDGE_CARD_V1: "KNOWLEDGE_CARD_V1";
|
|
18
|
+
}>>;
|
|
19
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20
|
+
composition: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
summary: z.ZodString;
|
|
22
|
+
byline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
+
kind: z.ZodLiteral<"HEADING">;
|
|
26
|
+
level: z.ZodNumber;
|
|
27
|
+
text: z.ZodString;
|
|
28
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
|
+
text: z.ZodString;
|
|
30
|
+
href: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>>>;
|
|
32
|
+
ordinal: z.ZodNumber;
|
|
33
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34
|
+
kind: z.ZodLiteral<"PARAGRAPH">;
|
|
35
|
+
text: z.ZodString;
|
|
36
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
|
+
text: z.ZodString;
|
|
38
|
+
href: z.ZodNullable<z.ZodString>;
|
|
39
|
+
}, z.core.$strict>>>;
|
|
40
|
+
ordinal: z.ZodNumber;
|
|
41
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
42
|
+
kind: z.ZodLiteral<"LIST_ITEM">;
|
|
43
|
+
text: z.ZodString;
|
|
44
|
+
ordered: z.ZodBoolean;
|
|
45
|
+
level: z.ZodNumber;
|
|
46
|
+
index: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
text: z.ZodString;
|
|
49
|
+
href: z.ZodNullable<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>>>;
|
|
51
|
+
ordinal: z.ZodNumber;
|
|
52
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"QUOTE">;
|
|
54
|
+
text: z.ZodString;
|
|
55
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
text: z.ZodString;
|
|
57
|
+
href: z.ZodNullable<z.ZodString>;
|
|
58
|
+
}, z.core.$strict>>>;
|
|
59
|
+
ordinal: z.ZodNumber;
|
|
60
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"CODE">;
|
|
62
|
+
text: z.ZodString;
|
|
63
|
+
language: z.ZodNullable<z.ZodString>;
|
|
64
|
+
ordinal: z.ZodNumber;
|
|
65
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"IMAGE">;
|
|
67
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
68
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
70
|
+
ordinal: z.ZodNumber;
|
|
71
|
+
sourceUrl: z.ZodString;
|
|
72
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
73
|
+
availability: z.ZodEnum<{
|
|
74
|
+
MIRRORED: "MIRRORED";
|
|
75
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
76
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
77
|
+
}>;
|
|
78
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
79
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
80
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
81
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
82
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
83
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
84
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"VIDEO">;
|
|
86
|
+
title: z.ZodNullable<z.ZodString>;
|
|
87
|
+
posterUrl: z.ZodNullable<z.ZodString>;
|
|
88
|
+
posterEvidenceRef: z.ZodNullable<z.ZodString>;
|
|
89
|
+
ordinal: z.ZodNumber;
|
|
90
|
+
sourceUrl: z.ZodString;
|
|
91
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
92
|
+
availability: z.ZodEnum<{
|
|
93
|
+
MIRRORED: "MIRRORED";
|
|
94
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
95
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
96
|
+
}>;
|
|
97
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
98
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
99
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
100
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
101
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
102
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
104
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
105
|
+
title: z.ZodNullable<z.ZodString>;
|
|
106
|
+
ordinal: z.ZodNumber;
|
|
107
|
+
sourceUrl: z.ZodString;
|
|
108
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
109
|
+
availability: z.ZodEnum<{
|
|
110
|
+
MIRRORED: "MIRRORED";
|
|
111
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
112
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
113
|
+
}>;
|
|
114
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
115
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
116
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
117
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
118
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
119
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"EMBED">;
|
|
122
|
+
sourceUrl: z.ZodString;
|
|
123
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
124
|
+
title: z.ZodNullable<z.ZodString>;
|
|
125
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
126
|
+
ordinal: z.ZodNumber;
|
|
127
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
128
|
+
kind: z.ZodLiteral<"DIVIDER">;
|
|
129
|
+
ordinal: z.ZodNumber;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
131
|
+
kind: z.ZodLiteral<"TABLE">;
|
|
132
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
133
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
134
|
+
text: z.ZodString;
|
|
135
|
+
header: z.ZodBoolean;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
ordinal: z.ZodNumber;
|
|
139
|
+
}, z.core.$strict>], "kind">>;
|
|
140
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
141
|
+
blockOrdinal: z.ZodNumber;
|
|
142
|
+
evidenceRefs: z.ZodArray<z.ZodString>;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export declare const managementSubmitInputSchema: z.ZodObject<{
|
|
147
|
+
projectRef: z.ZodString;
|
|
148
|
+
ref: z.ZodString;
|
|
149
|
+
expectedVersion: z.ZodNumber;
|
|
150
|
+
createdAt: z.ZodISODateTime;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
export declare const managementReviewInputSchema: z.ZodObject<{
|
|
153
|
+
projectRef: z.ZodString;
|
|
154
|
+
targetRef: z.ZodString;
|
|
155
|
+
expectedVersion: z.ZodNumber;
|
|
156
|
+
decision: z.ZodEnum<{
|
|
157
|
+
PASS: "PASS";
|
|
158
|
+
REWORK: "REWORK";
|
|
159
|
+
REJECT: "REJECT";
|
|
160
|
+
}>;
|
|
161
|
+
reviewedAt: z.ZodISODateTime;
|
|
162
|
+
summary: z.ZodString;
|
|
163
|
+
evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
export declare const managementFinalizeInputSchema: z.ZodObject<{
|
|
166
|
+
projectRef: z.ZodString;
|
|
167
|
+
ref: z.ZodString;
|
|
168
|
+
expectedVersion: z.ZodNumber;
|
|
169
|
+
nextStatus: z.ZodEnum<{
|
|
170
|
+
REWORK_REQUIRED: "REWORK_REQUIRED";
|
|
171
|
+
APPROVED: "APPROVED";
|
|
172
|
+
REJECTED: "REJECTED";
|
|
173
|
+
}>;
|
|
174
|
+
reviewRef: z.ZodString;
|
|
175
|
+
createdAt: z.ZodISODateTime;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
export declare const managementResultSchema: z.ZodObject<{
|
|
178
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
179
|
+
projectRef: z.ZodString;
|
|
180
|
+
ref: z.ZodString;
|
|
181
|
+
kind: z.ZodEnum<{
|
|
182
|
+
REVIEW: "REVIEW";
|
|
183
|
+
KNOWLEDGE: "KNOWLEDGE";
|
|
184
|
+
INSIGHT: "INSIGHT";
|
|
185
|
+
}>;
|
|
186
|
+
version: z.ZodNumber;
|
|
187
|
+
status: z.ZodEnum<{
|
|
188
|
+
DRAFT: "DRAFT";
|
|
189
|
+
READY_FOR_REVIEW: "READY_FOR_REVIEW";
|
|
190
|
+
REWORK_REQUIRED: "REWORK_REQUIRED";
|
|
191
|
+
APPROVED: "APPROVED";
|
|
192
|
+
REJECTED: "REJECTED";
|
|
193
|
+
}>;
|
|
194
|
+
contentHash: z.ZodString;
|
|
195
|
+
inserted: z.ZodBoolean;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
export declare const managementToolInputSchemas: {
|
|
198
|
+
readonly knowledge_compose: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
199
|
+
projectRef: z.ZodString;
|
|
200
|
+
sourceEvidenceRefs: z.ZodArray<z.ZodString>;
|
|
201
|
+
primarySourceEvidenceRef: z.ZodOptional<z.ZodString>;
|
|
202
|
+
artifactId: z.ZodString;
|
|
203
|
+
expectedVersion: z.ZodNumber;
|
|
204
|
+
composedAt: z.ZodISODateTime;
|
|
205
|
+
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
206
|
+
outputKind: z.ZodEnum<{
|
|
207
|
+
KNOWLEDGE: "KNOWLEDGE";
|
|
208
|
+
INSIGHT: "INSIGHT";
|
|
209
|
+
}>;
|
|
210
|
+
publicationProfile: z.ZodOptional<z.ZodEnum<{
|
|
211
|
+
HUMAN_ARTICLE_V1: "HUMAN_ARTICLE_V1";
|
|
212
|
+
KNOWLEDGE_CARD_V1: "KNOWLEDGE_CARD_V1";
|
|
213
|
+
}>>;
|
|
214
|
+
title: z.ZodOptional<z.ZodString>;
|
|
215
|
+
composition: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
summary: z.ZodString;
|
|
217
|
+
byline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
220
|
+
kind: z.ZodLiteral<"HEADING">;
|
|
221
|
+
level: z.ZodNumber;
|
|
222
|
+
text: z.ZodString;
|
|
223
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
|
+
text: z.ZodString;
|
|
225
|
+
href: z.ZodNullable<z.ZodString>;
|
|
226
|
+
}, z.core.$strict>>>;
|
|
227
|
+
ordinal: z.ZodNumber;
|
|
228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"PARAGRAPH">;
|
|
230
|
+
text: z.ZodString;
|
|
231
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
232
|
+
text: z.ZodString;
|
|
233
|
+
href: z.ZodNullable<z.ZodString>;
|
|
234
|
+
}, z.core.$strict>>>;
|
|
235
|
+
ordinal: z.ZodNumber;
|
|
236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
237
|
+
kind: z.ZodLiteral<"LIST_ITEM">;
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
ordered: z.ZodBoolean;
|
|
240
|
+
level: z.ZodNumber;
|
|
241
|
+
index: z.ZodNullable<z.ZodNumber>;
|
|
242
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
243
|
+
text: z.ZodString;
|
|
244
|
+
href: z.ZodNullable<z.ZodString>;
|
|
245
|
+
}, z.core.$strict>>>;
|
|
246
|
+
ordinal: z.ZodNumber;
|
|
247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
248
|
+
kind: z.ZodLiteral<"QUOTE">;
|
|
249
|
+
text: z.ZodString;
|
|
250
|
+
inlines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
251
|
+
text: z.ZodString;
|
|
252
|
+
href: z.ZodNullable<z.ZodString>;
|
|
253
|
+
}, z.core.$strict>>>;
|
|
254
|
+
ordinal: z.ZodNumber;
|
|
255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
256
|
+
kind: z.ZodLiteral<"CODE">;
|
|
257
|
+
text: z.ZodString;
|
|
258
|
+
language: z.ZodNullable<z.ZodString>;
|
|
259
|
+
ordinal: z.ZodNumber;
|
|
260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
kind: z.ZodLiteral<"IMAGE">;
|
|
262
|
+
alt: z.ZodNullable<z.ZodString>;
|
|
263
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
264
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
265
|
+
ordinal: z.ZodNumber;
|
|
266
|
+
sourceUrl: z.ZodString;
|
|
267
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
268
|
+
availability: z.ZodEnum<{
|
|
269
|
+
MIRRORED: "MIRRORED";
|
|
270
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
271
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
272
|
+
}>;
|
|
273
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
274
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
275
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
276
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
277
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
278
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
279
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
280
|
+
kind: z.ZodLiteral<"VIDEO">;
|
|
281
|
+
title: z.ZodNullable<z.ZodString>;
|
|
282
|
+
posterUrl: z.ZodNullable<z.ZodString>;
|
|
283
|
+
posterEvidenceRef: z.ZodNullable<z.ZodString>;
|
|
284
|
+
ordinal: z.ZodNumber;
|
|
285
|
+
sourceUrl: z.ZodString;
|
|
286
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
287
|
+
availability: z.ZodEnum<{
|
|
288
|
+
MIRRORED: "MIRRORED";
|
|
289
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
290
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
291
|
+
}>;
|
|
292
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
293
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
294
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
295
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
296
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
297
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"AUDIO">;
|
|
300
|
+
title: z.ZodNullable<z.ZodString>;
|
|
301
|
+
ordinal: z.ZodNumber;
|
|
302
|
+
sourceUrl: z.ZodString;
|
|
303
|
+
canonicalUrl: z.ZodNullable<z.ZodString>;
|
|
304
|
+
availability: z.ZodEnum<{
|
|
305
|
+
MIRRORED: "MIRRORED";
|
|
306
|
+
REMOTE_ONLY: "REMOTE_ONLY";
|
|
307
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
308
|
+
}>;
|
|
309
|
+
mediaRef: z.ZodNullable<z.ZodString>;
|
|
310
|
+
evidenceRef: z.ZodNullable<z.ZodString>;
|
|
311
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
312
|
+
mediaType: z.ZodNullable<z.ZodString>;
|
|
313
|
+
byteLength: z.ZodNullable<z.ZodNumber>;
|
|
314
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
316
|
+
kind: z.ZodLiteral<"EMBED">;
|
|
317
|
+
sourceUrl: z.ZodString;
|
|
318
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
319
|
+
title: z.ZodNullable<z.ZodString>;
|
|
320
|
+
caption: z.ZodNullable<z.ZodString>;
|
|
321
|
+
ordinal: z.ZodNumber;
|
|
322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
323
|
+
kind: z.ZodLiteral<"DIVIDER">;
|
|
324
|
+
ordinal: z.ZodNumber;
|
|
325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
|
+
kind: z.ZodLiteral<"TABLE">;
|
|
327
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
328
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
329
|
+
text: z.ZodString;
|
|
330
|
+
header: z.ZodBoolean;
|
|
331
|
+
}, z.core.$strict>>;
|
|
332
|
+
}, z.core.$strict>>;
|
|
333
|
+
ordinal: z.ZodNumber;
|
|
334
|
+
}, z.core.$strict>], "kind">>;
|
|
335
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
336
|
+
blockOrdinal: z.ZodNumber;
|
|
337
|
+
evidenceRefs: z.ZodArray<z.ZodString>;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
}, z.core.$strict>>;
|
|
340
|
+
}, z.core.$strict>>;
|
|
341
|
+
readonly knowledge_submit_review: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
342
|
+
projectRef: z.ZodString;
|
|
343
|
+
ref: z.ZodString;
|
|
344
|
+
expectedVersion: z.ZodNumber;
|
|
345
|
+
createdAt: z.ZodISODateTime;
|
|
346
|
+
}, z.core.$strict>>;
|
|
347
|
+
readonly knowledge_review: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
348
|
+
projectRef: z.ZodString;
|
|
349
|
+
targetRef: z.ZodString;
|
|
350
|
+
expectedVersion: z.ZodNumber;
|
|
351
|
+
decision: z.ZodEnum<{
|
|
352
|
+
PASS: "PASS";
|
|
353
|
+
REWORK: "REWORK";
|
|
354
|
+
REJECT: "REJECT";
|
|
355
|
+
}>;
|
|
356
|
+
reviewedAt: z.ZodISODateTime;
|
|
357
|
+
summary: z.ZodString;
|
|
358
|
+
evidenceRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
}, z.core.$strict>>;
|
|
360
|
+
readonly knowledge_finalize_review: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
361
|
+
projectRef: z.ZodString;
|
|
362
|
+
ref: z.ZodString;
|
|
363
|
+
expectedVersion: z.ZodNumber;
|
|
364
|
+
nextStatus: z.ZodEnum<{
|
|
365
|
+
REWORK_REQUIRED: "REWORK_REQUIRED";
|
|
366
|
+
APPROVED: "APPROVED";
|
|
367
|
+
REJECTED: "REJECTED";
|
|
368
|
+
}>;
|
|
369
|
+
reviewRef: z.ZodString;
|
|
370
|
+
createdAt: z.ZodISODateTime;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
};
|
|
373
|
+
export declare const managementToolErrorOutputSchema: {
|
|
374
|
+
readonly type: "object";
|
|
375
|
+
readonly properties: {
|
|
376
|
+
readonly errorCode: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
};
|
|
379
|
+
readonly completedPhase: {
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
readonly enum: readonly ["VALIDATED", "PERSISTED", "CATALOG_PROJECTED"];
|
|
382
|
+
};
|
|
383
|
+
readonly ref: z.core.ZodStandardJSONSchemaPayload<z.ZodString>;
|
|
384
|
+
};
|
|
385
|
+
readonly required: readonly ["errorCode"];
|
|
386
|
+
readonly additionalProperties: false;
|
|
387
|
+
};
|
|
388
|
+
export declare const managementToolOutputSchema: {
|
|
389
|
+
readonly type: "object";
|
|
390
|
+
readonly oneOf: readonly [z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
391
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
392
|
+
projectRef: z.ZodString;
|
|
393
|
+
ref: z.ZodString;
|
|
394
|
+
kind: z.ZodEnum<{
|
|
395
|
+
REVIEW: "REVIEW";
|
|
396
|
+
KNOWLEDGE: "KNOWLEDGE";
|
|
397
|
+
INSIGHT: "INSIGHT";
|
|
398
|
+
}>;
|
|
399
|
+
version: z.ZodNumber;
|
|
400
|
+
status: z.ZodEnum<{
|
|
401
|
+
DRAFT: "DRAFT";
|
|
402
|
+
READY_FOR_REVIEW: "READY_FOR_REVIEW";
|
|
403
|
+
REWORK_REQUIRED: "REWORK_REQUIRED";
|
|
404
|
+
APPROVED: "APPROVED";
|
|
405
|
+
REJECTED: "REJECTED";
|
|
406
|
+
}>;
|
|
407
|
+
contentHash: z.ZodString;
|
|
408
|
+
inserted: z.ZodBoolean;
|
|
409
|
+
}, z.core.$strict>>, {
|
|
410
|
+
readonly type: "object";
|
|
411
|
+
readonly properties: {
|
|
412
|
+
readonly errorCode: {
|
|
413
|
+
readonly type: "string";
|
|
414
|
+
};
|
|
415
|
+
readonly completedPhase: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
readonly enum: readonly ["VALIDATED", "PERSISTED", "CATALOG_PROJECTED"];
|
|
418
|
+
};
|
|
419
|
+
readonly ref: z.core.ZodStandardJSONSchemaPayload<z.ZodString>;
|
|
420
|
+
};
|
|
421
|
+
readonly required: readonly ["errorCode"];
|
|
422
|
+
readonly additionalProperties: false;
|
|
423
|
+
}];
|
|
424
|
+
};
|