@cossistant/types 0.0.33 → 0.1.0
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/api/ai-agent-capabilities.d.ts +37 -0
- package/api/ai-agent-capabilities.d.ts.map +1 -0
- package/api/ai-agent-capabilities.js +432 -0
- package/api/ai-agent-capabilities.js.map +1 -0
- package/api/ai-agent.d.ts +224 -1
- package/api/ai-agent.d.ts.map +1 -1
- package/api/ai-agent.js +55 -1
- package/api/ai-agent.js.map +1 -1
- package/api/common.d.ts.map +1 -1
- package/api/conversation.d.ts +55 -55
- package/api/index.d.ts +3 -2
- package/api/index.js +3 -2
- package/api/link-source.d.ts +4 -4
- package/api/link-source.d.ts.map +1 -1
- package/api/timeline-item.d.ts +67 -67
- package/api/timeline-item.d.ts.map +1 -1
- package/api/website.d.ts +4 -4
- package/index.d.ts +4 -2
- package/index.d.ts.map +1 -1
- package/index.js +4 -2
- package/package.json +1 -1
- package/realtime-events.d.ts +36 -36
- package/schemas.d.ts +11 -11
- package/skill-file-format.d.ts +24 -0
- package/skill-file-format.d.ts.map +1 -0
- package/skill-file-format.js +119 -0
- package/skill-file-format.js.map +1 -0
- package/trpc/conversation.d.ts +44 -44
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/skill-file-format.d.ts
|
|
2
|
+
type ParseSkillFileContentInput = {
|
|
3
|
+
content: string;
|
|
4
|
+
canonicalFileName: string;
|
|
5
|
+
fallbackDescription?: string;
|
|
6
|
+
};
|
|
7
|
+
type ParsedSkillFileContent = {
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
body: string;
|
|
11
|
+
hasFrontmatter: boolean;
|
|
12
|
+
};
|
|
13
|
+
type SerializeSkillFileContentInput = {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
body: string;
|
|
17
|
+
};
|
|
18
|
+
declare function stripSkillMarkdownExtension(value: string): string;
|
|
19
|
+
declare function deriveSkillDescriptionFromBody(body: string): string;
|
|
20
|
+
declare function parseSkillFileContent(input: ParseSkillFileContentInput): ParsedSkillFileContent;
|
|
21
|
+
declare function serializeSkillFileContent(input: SerializeSkillFileContentInput): string;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ParseSkillFileContentInput, ParsedSkillFileContent, SerializeSkillFileContentInput, deriveSkillDescriptionFromBody, parseSkillFileContent, serializeSkillFileContent, stripSkillMarkdownExtension };
|
|
24
|
+
//# sourceMappingURL=skill-file-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-file-format.d.ts","names":[],"sources":["../src/skill-file-format.ts"],"sourcesContent":[],"mappings":";KAIY,0BAAA;EAAA,OAAA,EAAA,MAAA;EAMA,iBAAA,EAAA,MAAsB;EAOtB,mBAAA,CAAA,EAAA,MAAA;AA4FZ,CAAA;AAIgB,KAvGJ,sBAAA,GAuGkC;EAiC9B,IAAA,EAAA,MAAA;EA6CA,WAAA,EAAA,MAAA;;;;KA9KJ,8BAAA;;;;;iBA4FI,2BAAA;iBAIA,8BAAA;iBAiCA,qBAAA,QACR,6BACL;iBA2Ca,yBAAA,QACR"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
//#region src/skill-file-format.ts
|
|
2
|
+
const FRONTMATTER_DELIMITER = "---";
|
|
3
|
+
const MARKDOWN_EXTENSION_REGEX = /\.md$/i;
|
|
4
|
+
const DEFAULT_DESCRIPTION = "Skill instructions";
|
|
5
|
+
function normalizeNewlines(value) {
|
|
6
|
+
return value.replace(/\r\n/g, "\n");
|
|
7
|
+
}
|
|
8
|
+
function trimYamlScalar(value) {
|
|
9
|
+
const trimmed = value.trim();
|
|
10
|
+
if (trimmed.startsWith("\"") && trimmed.endsWith("\"") || trimmed.startsWith("'") && trimmed.endsWith("'")) return trimmed.slice(1, -1).trim();
|
|
11
|
+
return trimmed;
|
|
12
|
+
}
|
|
13
|
+
function normalizeSkillDescription(value) {
|
|
14
|
+
return value.replace(/\s+/g, " ").trim();
|
|
15
|
+
}
|
|
16
|
+
function splitFrontmatter(content) {
|
|
17
|
+
if (!content.startsWith(`${FRONTMATTER_DELIMITER}\n`)) return {
|
|
18
|
+
frontmatterLines: [],
|
|
19
|
+
body: content,
|
|
20
|
+
hasFrontmatter: false
|
|
21
|
+
};
|
|
22
|
+
const lines = content.split("\n");
|
|
23
|
+
if (lines[0]?.trim() !== FRONTMATTER_DELIMITER) return {
|
|
24
|
+
frontmatterLines: [],
|
|
25
|
+
body: content,
|
|
26
|
+
hasFrontmatter: false
|
|
27
|
+
};
|
|
28
|
+
let closingDelimiterIndex = -1;
|
|
29
|
+
for (let index = 1; index < lines.length; index += 1) if (lines[index]?.trim() === FRONTMATTER_DELIMITER) {
|
|
30
|
+
closingDelimiterIndex = index;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
if (closingDelimiterIndex === -1) return {
|
|
34
|
+
frontmatterLines: [],
|
|
35
|
+
body: content,
|
|
36
|
+
hasFrontmatter: false
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
frontmatterLines: lines.slice(1, closingDelimiterIndex),
|
|
40
|
+
body: lines.slice(closingDelimiterIndex + 1).join("\n"),
|
|
41
|
+
hasFrontmatter: true
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function parseFrontmatterLines(frontmatterLines) {
|
|
45
|
+
let name;
|
|
46
|
+
let description;
|
|
47
|
+
for (const line of frontmatterLines) {
|
|
48
|
+
const trimmed = line.trim();
|
|
49
|
+
if (!trimmed || trimmed.startsWith("#")) continue;
|
|
50
|
+
const separatorIndex = trimmed.indexOf(":");
|
|
51
|
+
if (separatorIndex === -1) return null;
|
|
52
|
+
const key = trimmed.slice(0, separatorIndex).trim();
|
|
53
|
+
const value = trimYamlScalar(trimmed.slice(separatorIndex + 1));
|
|
54
|
+
if (key === "name") name = value;
|
|
55
|
+
if (key === "description") description = value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
name,
|
|
59
|
+
description
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function stripSkillMarkdownExtension(value) {
|
|
63
|
+
return value.trim().replace(MARKDOWN_EXTENSION_REGEX, "");
|
|
64
|
+
}
|
|
65
|
+
function deriveSkillDescriptionFromBody(body) {
|
|
66
|
+
const firstLine = normalizeNewlines(body).split("\n").map((line) => line.trim()).filter(Boolean).find((line) => line !== FRONTMATTER_DELIMITER && !/^(name|description)\s*:/i.test(line)) ?? "";
|
|
67
|
+
if (!firstLine) return "";
|
|
68
|
+
const normalized = firstLine.replace(/^#{1,6}\s+/, "").replace(/^[-*+]\s+/, "").replace(/^\d+\.\s+/, "").replace(/\s+/g, " ").trim();
|
|
69
|
+
if (!normalized) return "";
|
|
70
|
+
if (normalized.length <= 160) return normalized;
|
|
71
|
+
return `${normalized.slice(0, 157)}...`;
|
|
72
|
+
}
|
|
73
|
+
function parseSkillFileContent(input) {
|
|
74
|
+
const canonicalName = stripSkillMarkdownExtension(input.canonicalFileName);
|
|
75
|
+
const normalizedContent = normalizeNewlines(input.content);
|
|
76
|
+
const splitResult = splitFrontmatter(normalizedContent);
|
|
77
|
+
if (splitResult.hasFrontmatter) {
|
|
78
|
+
const parsedFrontmatter = parseFrontmatterLines(splitResult.frontmatterLines);
|
|
79
|
+
if (parsedFrontmatter) {
|
|
80
|
+
const body = splitResult.body.replace(/^\n+/, "");
|
|
81
|
+
const description = normalizeSkillDescription(parsedFrontmatter.description ?? "") || normalizeSkillDescription(input.fallbackDescription ?? "") || normalizeSkillDescription(deriveSkillDescriptionFromBody(body)) || DEFAULT_DESCRIPTION;
|
|
82
|
+
return {
|
|
83
|
+
name: stripSkillMarkdownExtension(parsedFrontmatter.name ?? canonicalName),
|
|
84
|
+
description,
|
|
85
|
+
body,
|
|
86
|
+
hasFrontmatter: true
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
name: canonicalName,
|
|
92
|
+
description: normalizeSkillDescription(input.fallbackDescription ?? "") || normalizeSkillDescription(deriveSkillDescriptionFromBody(normalizedContent)) || DEFAULT_DESCRIPTION,
|
|
93
|
+
body: normalizedContent,
|
|
94
|
+
hasFrontmatter: false
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function serializeSkillFileContent(input) {
|
|
98
|
+
const name = stripSkillMarkdownExtension(input.name);
|
|
99
|
+
const description = normalizeSkillDescription(input.description) || DEFAULT_DESCRIPTION;
|
|
100
|
+
const body = normalizeNewlines(input.body).replace(/^\n+/, "").trimEnd();
|
|
101
|
+
if (!body) return [
|
|
102
|
+
FRONTMATTER_DELIMITER,
|
|
103
|
+
`name: ${name}`,
|
|
104
|
+
`description: ${description}`,
|
|
105
|
+
FRONTMATTER_DELIMITER
|
|
106
|
+
].join("\n");
|
|
107
|
+
return [
|
|
108
|
+
FRONTMATTER_DELIMITER,
|
|
109
|
+
`name: ${name}`,
|
|
110
|
+
`description: ${description}`,
|
|
111
|
+
FRONTMATTER_DELIMITER,
|
|
112
|
+
"",
|
|
113
|
+
body
|
|
114
|
+
].join("\n");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
//#endregion
|
|
118
|
+
export { deriveSkillDescriptionFromBody, parseSkillFileContent, serializeSkillFileContent, stripSkillMarkdownExtension };
|
|
119
|
+
//# sourceMappingURL=skill-file-format.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-file-format.js","names":["name: string | undefined","description: string | undefined"],"sources":["../src/skill-file-format.ts"],"sourcesContent":["const FRONTMATTER_DELIMITER = \"---\";\nconst MARKDOWN_EXTENSION_REGEX = /\\.md$/i;\nconst DEFAULT_DESCRIPTION = \"Skill instructions\";\n\nexport type ParseSkillFileContentInput = {\n\tcontent: string;\n\tcanonicalFileName: string;\n\tfallbackDescription?: string;\n};\n\nexport type ParsedSkillFileContent = {\n\tname: string;\n\tdescription: string;\n\tbody: string;\n\thasFrontmatter: boolean;\n};\n\nexport type SerializeSkillFileContentInput = {\n\tname: string;\n\tdescription: string;\n\tbody: string;\n};\n\nfunction normalizeNewlines(value: string): string {\n\treturn value.replace(/\\r\\n/g, \"\\n\");\n}\n\nfunction trimYamlScalar(value: string): string {\n\tconst trimmed = value.trim();\n\n\tif (\n\t\t(trimmed.startsWith('\"') && trimmed.endsWith('\"')) ||\n\t\t(trimmed.startsWith(\"'\") && trimmed.endsWith(\"'\"))\n\t) {\n\t\treturn trimmed.slice(1, -1).trim();\n\t}\n\n\treturn trimmed;\n}\n\nfunction normalizeSkillDescription(value: string): string {\n\treturn value.replace(/\\s+/g, \" \").trim();\n}\n\nfunction splitFrontmatter(content: string): {\n\tfrontmatterLines: string[];\n\tbody: string;\n\thasFrontmatter: boolean;\n} {\n\tif (!content.startsWith(`${FRONTMATTER_DELIMITER}\\n`)) {\n\t\treturn { frontmatterLines: [], body: content, hasFrontmatter: false };\n\t}\n\n\tconst lines = content.split(\"\\n\");\n\tif (lines[0]?.trim() !== FRONTMATTER_DELIMITER) {\n\t\treturn { frontmatterLines: [], body: content, hasFrontmatter: false };\n\t}\n\n\tlet closingDelimiterIndex = -1;\n\tfor (let index = 1; index < lines.length; index += 1) {\n\t\tif (lines[index]?.trim() === FRONTMATTER_DELIMITER) {\n\t\t\tclosingDelimiterIndex = index;\n\t\t\tbreak;\n\t\t}\n\t}\n\n\tif (closingDelimiterIndex === -1) {\n\t\treturn { frontmatterLines: [], body: content, hasFrontmatter: false };\n\t}\n\n\tconst frontmatterLines = lines.slice(1, closingDelimiterIndex);\n\tconst body = lines.slice(closingDelimiterIndex + 1).join(\"\\n\");\n\n\treturn { frontmatterLines, body, hasFrontmatter: true };\n}\n\nfunction parseFrontmatterLines(frontmatterLines: string[]): {\n\tname?: string;\n\tdescription?: string;\n} | null {\n\tlet name: string | undefined;\n\tlet description: string | undefined;\n\n\tfor (const line of frontmatterLines) {\n\t\tconst trimmed = line.trim();\n\t\tif (!trimmed || trimmed.startsWith(\"#\")) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst separatorIndex = trimmed.indexOf(\":\");\n\t\tif (separatorIndex === -1) {\n\t\t\treturn null;\n\t\t}\n\n\t\tconst key = trimmed.slice(0, separatorIndex).trim();\n\t\tconst value = trimYamlScalar(trimmed.slice(separatorIndex + 1));\n\n\t\tif (key === \"name\") {\n\t\t\tname = value;\n\t\t}\n\n\t\tif (key === \"description\") {\n\t\t\tdescription = value;\n\t\t}\n\t}\n\n\treturn { name, description };\n}\n\nexport function stripSkillMarkdownExtension(value: string): string {\n\treturn value.trim().replace(MARKDOWN_EXTENSION_REGEX, \"\");\n}\n\nexport function deriveSkillDescriptionFromBody(body: string): string {\n\tconst lines = normalizeNewlines(body)\n\t\t.split(\"\\n\")\n\t\t.map((line) => line.trim())\n\t\t.filter(Boolean);\n\n\tconst firstLine =\n\t\tlines.find(\n\t\t\t(line) =>\n\t\t\t\tline !== FRONTMATTER_DELIMITER && !/^(name|description)\\s*:/i.test(line)\n\t\t) ?? \"\";\n\tif (!firstLine) {\n\t\treturn \"\";\n\t}\n\n\tconst normalized = firstLine\n\t\t.replace(/^#{1,6}\\s+/, \"\")\n\t\t.replace(/^[-*+]\\s+/, \"\")\n\t\t.replace(/^\\d+\\.\\s+/, \"\")\n\t\t.replace(/\\s+/g, \" \")\n\t\t.trim();\n\n\tif (!normalized) {\n\t\treturn \"\";\n\t}\n\n\tif (normalized.length <= 160) {\n\t\treturn normalized;\n\t}\n\n\treturn `${normalized.slice(0, 157)}...`;\n}\n\nexport function parseSkillFileContent(\n\tinput: ParseSkillFileContentInput\n): ParsedSkillFileContent {\n\tconst canonicalName = stripSkillMarkdownExtension(input.canonicalFileName);\n\tconst normalizedContent = normalizeNewlines(input.content);\n\tconst splitResult = splitFrontmatter(normalizedContent);\n\n\tif (splitResult.hasFrontmatter) {\n\t\tconst parsedFrontmatter = parseFrontmatterLines(\n\t\t\tsplitResult.frontmatterLines\n\t\t);\n\t\tif (parsedFrontmatter) {\n\t\t\tconst body = splitResult.body.replace(/^\\n+/, \"\");\n\t\t\tconst description =\n\t\t\t\tnormalizeSkillDescription(parsedFrontmatter.description ?? \"\") ||\n\t\t\t\tnormalizeSkillDescription(input.fallbackDescription ?? \"\") ||\n\t\t\t\tnormalizeSkillDescription(deriveSkillDescriptionFromBody(body)) ||\n\t\t\t\tDEFAULT_DESCRIPTION;\n\n\t\t\treturn {\n\t\t\t\tname: stripSkillMarkdownExtension(\n\t\t\t\t\tparsedFrontmatter.name ?? canonicalName\n\t\t\t\t),\n\t\t\t\tdescription,\n\t\t\t\tbody,\n\t\t\t\thasFrontmatter: true,\n\t\t\t};\n\t\t}\n\t}\n\n\tconst description =\n\t\tnormalizeSkillDescription(input.fallbackDescription ?? \"\") ||\n\t\tnormalizeSkillDescription(\n\t\t\tderiveSkillDescriptionFromBody(normalizedContent)\n\t\t) ||\n\t\tDEFAULT_DESCRIPTION;\n\n\treturn {\n\t\tname: canonicalName,\n\t\tdescription,\n\t\tbody: normalizedContent,\n\t\thasFrontmatter: false,\n\t};\n}\n\nexport function serializeSkillFileContent(\n\tinput: SerializeSkillFileContentInput\n): string {\n\tconst name = stripSkillMarkdownExtension(input.name);\n\tconst description =\n\t\tnormalizeSkillDescription(input.description) || DEFAULT_DESCRIPTION;\n\tconst body = normalizeNewlines(input.body).replace(/^\\n+/, \"\").trimEnd();\n\n\tif (!body) {\n\t\treturn [\n\t\t\tFRONTMATTER_DELIMITER,\n\t\t\t`name: ${name}`,\n\t\t\t`description: ${description}`,\n\t\t\tFRONTMATTER_DELIMITER,\n\t\t].join(\"\\n\");\n\t}\n\n\treturn [\n\t\tFRONTMATTER_DELIMITER,\n\t\t`name: ${name}`,\n\t\t`description: ${description}`,\n\t\tFRONTMATTER_DELIMITER,\n\t\t\"\",\n\t\tbody,\n\t].join(\"\\n\");\n}\n"],"mappings":"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"}
|
package/trpc/conversation.d.ts
CHANGED
|
@@ -164,8 +164,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
164
164
|
conversationId: z.ZodString;
|
|
165
165
|
organizationId: z.ZodString;
|
|
166
166
|
visibility: z.ZodEnum<{
|
|
167
|
-
public: "public";
|
|
168
167
|
private: "private";
|
|
168
|
+
public: "public";
|
|
169
169
|
}>;
|
|
170
170
|
type: z.ZodEnum<{
|
|
171
171
|
message: "message";
|
|
@@ -192,8 +192,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
192
192
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
193
193
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
194
194
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
195
|
-
public: "public";
|
|
196
195
|
private: "private";
|
|
196
|
+
public: "public";
|
|
197
197
|
}>>;
|
|
198
198
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
199
199
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -206,8 +206,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
206
206
|
triggerMessageId: z.ZodString;
|
|
207
207
|
workflowRunId: z.ZodString;
|
|
208
208
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
209
|
-
public: "public";
|
|
210
209
|
private: "private";
|
|
210
|
+
public: "public";
|
|
211
211
|
}>>;
|
|
212
212
|
}, z.core.$strip>>;
|
|
213
213
|
}, z.core.$strip>>;
|
|
@@ -227,8 +227,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
227
227
|
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
228
228
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
229
229
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
230
|
-
public: "public";
|
|
231
230
|
private: "private";
|
|
231
|
+
public: "public";
|
|
232
232
|
}>>;
|
|
233
233
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
234
234
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -241,8 +241,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
241
241
|
triggerMessageId: z.ZodString;
|
|
242
242
|
workflowRunId: z.ZodString;
|
|
243
243
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
public: "public";
|
|
245
244
|
private: "private";
|
|
245
|
+
public: "public";
|
|
246
246
|
}>>;
|
|
247
247
|
}, z.core.$strip>>;
|
|
248
248
|
}, z.core.$strip>>;
|
|
@@ -250,8 +250,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
250
250
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
251
251
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
252
252
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
253
|
-
public: "public";
|
|
254
253
|
private: "private";
|
|
254
|
+
public: "public";
|
|
255
255
|
}>>;
|
|
256
256
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
257
257
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -264,8 +264,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
264
264
|
triggerMessageId: z.ZodString;
|
|
265
265
|
workflowRunId: z.ZodString;
|
|
266
266
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
267
|
-
public: "public";
|
|
268
267
|
private: "private";
|
|
268
|
+
public: "public";
|
|
269
269
|
}>>;
|
|
270
270
|
}, z.core.$strip>>;
|
|
271
271
|
}, z.core.$strip>>;
|
|
@@ -278,8 +278,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
278
278
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
279
279
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
280
280
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
281
|
-
public: "public";
|
|
282
281
|
private: "private";
|
|
282
|
+
public: "public";
|
|
283
283
|
}>>;
|
|
284
284
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
285
285
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -292,8 +292,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
292
292
|
triggerMessageId: z.ZodString;
|
|
293
293
|
workflowRunId: z.ZodString;
|
|
294
294
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
295
|
-
public: "public";
|
|
296
295
|
private: "private";
|
|
296
|
+
public: "public";
|
|
297
297
|
}>>;
|
|
298
298
|
}, z.core.$strip>>;
|
|
299
299
|
}, z.core.$strip>>;
|
|
@@ -307,8 +307,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
307
307
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
308
308
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
309
309
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
310
|
-
public: "public";
|
|
311
310
|
private: "private";
|
|
311
|
+
public: "public";
|
|
312
312
|
}>>;
|
|
313
313
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
314
314
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -321,8 +321,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
321
321
|
triggerMessageId: z.ZodString;
|
|
322
322
|
workflowRunId: z.ZodString;
|
|
323
323
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
324
|
-
public: "public";
|
|
325
324
|
private: "private";
|
|
325
|
+
public: "public";
|
|
326
326
|
}>>;
|
|
327
327
|
}, z.core.$strip>>;
|
|
328
328
|
}, z.core.$strip>>;
|
|
@@ -385,8 +385,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
385
385
|
conversationId: z.ZodString;
|
|
386
386
|
organizationId: z.ZodString;
|
|
387
387
|
visibility: z.ZodEnum<{
|
|
388
|
-
public: "public";
|
|
389
388
|
private: "private";
|
|
389
|
+
public: "public";
|
|
390
390
|
}>;
|
|
391
391
|
type: z.ZodEnum<{
|
|
392
392
|
message: "message";
|
|
@@ -413,8 +413,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
413
413
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
414
414
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
415
415
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
416
|
-
public: "public";
|
|
417
416
|
private: "private";
|
|
417
|
+
public: "public";
|
|
418
418
|
}>>;
|
|
419
419
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
420
420
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -427,8 +427,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
427
427
|
triggerMessageId: z.ZodString;
|
|
428
428
|
workflowRunId: z.ZodString;
|
|
429
429
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
430
|
-
public: "public";
|
|
431
430
|
private: "private";
|
|
431
|
+
public: "public";
|
|
432
432
|
}>>;
|
|
433
433
|
}, z.core.$strip>>;
|
|
434
434
|
}, z.core.$strip>>;
|
|
@@ -448,8 +448,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
448
448
|
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
449
449
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
450
450
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
451
|
-
public: "public";
|
|
452
451
|
private: "private";
|
|
452
|
+
public: "public";
|
|
453
453
|
}>>;
|
|
454
454
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
455
455
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -462,8 +462,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
462
462
|
triggerMessageId: z.ZodString;
|
|
463
463
|
workflowRunId: z.ZodString;
|
|
464
464
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
465
|
-
public: "public";
|
|
466
465
|
private: "private";
|
|
466
|
+
public: "public";
|
|
467
467
|
}>>;
|
|
468
468
|
}, z.core.$strip>>;
|
|
469
469
|
}, z.core.$strip>>;
|
|
@@ -471,8 +471,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
471
471
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
472
472
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
473
473
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
474
|
-
public: "public";
|
|
475
474
|
private: "private";
|
|
475
|
+
public: "public";
|
|
476
476
|
}>>;
|
|
477
477
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
478
478
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -485,8 +485,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
485
485
|
triggerMessageId: z.ZodString;
|
|
486
486
|
workflowRunId: z.ZodString;
|
|
487
487
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
488
|
-
public: "public";
|
|
489
488
|
private: "private";
|
|
489
|
+
public: "public";
|
|
490
490
|
}>>;
|
|
491
491
|
}, z.core.$strip>>;
|
|
492
492
|
}, z.core.$strip>>;
|
|
@@ -499,8 +499,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
499
499
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
500
500
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
501
501
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
502
|
-
public: "public";
|
|
503
502
|
private: "private";
|
|
503
|
+
public: "public";
|
|
504
504
|
}>>;
|
|
505
505
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
506
506
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -513,8 +513,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
513
513
|
triggerMessageId: z.ZodString;
|
|
514
514
|
workflowRunId: z.ZodString;
|
|
515
515
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
516
|
-
public: "public";
|
|
517
516
|
private: "private";
|
|
517
|
+
public: "public";
|
|
518
518
|
}>>;
|
|
519
519
|
}, z.core.$strip>>;
|
|
520
520
|
}, z.core.$strip>>;
|
|
@@ -528,8 +528,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
528
528
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
529
529
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
530
530
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
531
|
-
public: "public";
|
|
532
531
|
private: "private";
|
|
532
|
+
public: "public";
|
|
533
533
|
}>>;
|
|
534
534
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
535
535
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -542,8 +542,8 @@ declare const conversationHeaderSchema: z.ZodObject<{
|
|
|
542
542
|
triggerMessageId: z.ZodString;
|
|
543
543
|
workflowRunId: z.ZodString;
|
|
544
544
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
545
|
-
public: "public";
|
|
546
545
|
private: "private";
|
|
546
|
+
public: "public";
|
|
547
547
|
}>>;
|
|
548
548
|
}, z.core.$strip>>;
|
|
549
549
|
}, z.core.$strip>>;
|
|
@@ -671,8 +671,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
671
671
|
conversationId: z.ZodString;
|
|
672
672
|
organizationId: z.ZodString;
|
|
673
673
|
visibility: z.ZodEnum<{
|
|
674
|
-
public: "public";
|
|
675
674
|
private: "private";
|
|
675
|
+
public: "public";
|
|
676
676
|
}>;
|
|
677
677
|
type: z.ZodEnum<{
|
|
678
678
|
message: "message";
|
|
@@ -699,8 +699,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
699
699
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
700
700
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
701
701
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
702
|
-
public: "public";
|
|
703
702
|
private: "private";
|
|
703
|
+
public: "public";
|
|
704
704
|
}>>;
|
|
705
705
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
706
706
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -713,8 +713,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
713
713
|
triggerMessageId: z.ZodString;
|
|
714
714
|
workflowRunId: z.ZodString;
|
|
715
715
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
716
|
-
public: "public";
|
|
717
716
|
private: "private";
|
|
717
|
+
public: "public";
|
|
718
718
|
}>>;
|
|
719
719
|
}, z.core.$strip>>;
|
|
720
720
|
}, z.core.$strip>>;
|
|
@@ -734,8 +734,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
734
734
|
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
735
735
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
736
736
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
737
|
-
public: "public";
|
|
738
737
|
private: "private";
|
|
738
|
+
public: "public";
|
|
739
739
|
}>>;
|
|
740
740
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
741
741
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -748,8 +748,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
748
748
|
triggerMessageId: z.ZodString;
|
|
749
749
|
workflowRunId: z.ZodString;
|
|
750
750
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
751
|
-
public: "public";
|
|
752
751
|
private: "private";
|
|
752
|
+
public: "public";
|
|
753
753
|
}>>;
|
|
754
754
|
}, z.core.$strip>>;
|
|
755
755
|
}, z.core.$strip>>;
|
|
@@ -757,8 +757,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
757
757
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
758
758
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
759
759
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
760
|
-
public: "public";
|
|
761
760
|
private: "private";
|
|
761
|
+
public: "public";
|
|
762
762
|
}>>;
|
|
763
763
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
764
764
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -771,8 +771,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
771
771
|
triggerMessageId: z.ZodString;
|
|
772
772
|
workflowRunId: z.ZodString;
|
|
773
773
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
774
|
-
public: "public";
|
|
775
774
|
private: "private";
|
|
775
|
+
public: "public";
|
|
776
776
|
}>>;
|
|
777
777
|
}, z.core.$strip>>;
|
|
778
778
|
}, z.core.$strip>>;
|
|
@@ -785,8 +785,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
785
785
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
786
786
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
787
787
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
788
|
-
public: "public";
|
|
789
788
|
private: "private";
|
|
789
|
+
public: "public";
|
|
790
790
|
}>>;
|
|
791
791
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
792
792
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -799,8 +799,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
799
799
|
triggerMessageId: z.ZodString;
|
|
800
800
|
workflowRunId: z.ZodString;
|
|
801
801
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
802
|
-
public: "public";
|
|
803
802
|
private: "private";
|
|
803
|
+
public: "public";
|
|
804
804
|
}>>;
|
|
805
805
|
}, z.core.$strip>>;
|
|
806
806
|
}, z.core.$strip>>;
|
|
@@ -814,8 +814,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
814
814
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
815
815
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
816
816
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
817
|
-
public: "public";
|
|
818
817
|
private: "private";
|
|
818
|
+
public: "public";
|
|
819
819
|
}>>;
|
|
820
820
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
821
821
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -828,8 +828,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
828
828
|
triggerMessageId: z.ZodString;
|
|
829
829
|
workflowRunId: z.ZodString;
|
|
830
830
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
831
|
-
public: "public";
|
|
832
831
|
private: "private";
|
|
832
|
+
public: "public";
|
|
833
833
|
}>>;
|
|
834
834
|
}, z.core.$strip>>;
|
|
835
835
|
}, z.core.$strip>>;
|
|
@@ -892,8 +892,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
892
892
|
conversationId: z.ZodString;
|
|
893
893
|
organizationId: z.ZodString;
|
|
894
894
|
visibility: z.ZodEnum<{
|
|
895
|
-
public: "public";
|
|
896
895
|
private: "private";
|
|
896
|
+
public: "public";
|
|
897
897
|
}>;
|
|
898
898
|
type: z.ZodEnum<{
|
|
899
899
|
message: "message";
|
|
@@ -920,8 +920,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
920
920
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
921
921
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
922
922
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
923
|
-
public: "public";
|
|
924
923
|
private: "private";
|
|
924
|
+
public: "public";
|
|
925
925
|
}>>;
|
|
926
926
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
927
927
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -934,8 +934,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
934
934
|
triggerMessageId: z.ZodString;
|
|
935
935
|
workflowRunId: z.ZodString;
|
|
936
936
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
937
|
-
public: "public";
|
|
938
937
|
private: "private";
|
|
938
|
+
public: "public";
|
|
939
939
|
}>>;
|
|
940
940
|
}, z.core.$strip>>;
|
|
941
941
|
}, z.core.$strip>>;
|
|
@@ -955,8 +955,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
955
955
|
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
956
956
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
957
957
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
958
|
-
public: "public";
|
|
959
958
|
private: "private";
|
|
959
|
+
public: "public";
|
|
960
960
|
}>>;
|
|
961
961
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
962
962
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -969,8 +969,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
969
969
|
triggerMessageId: z.ZodString;
|
|
970
970
|
workflowRunId: z.ZodString;
|
|
971
971
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
972
|
-
public: "public";
|
|
973
972
|
private: "private";
|
|
973
|
+
public: "public";
|
|
974
974
|
}>>;
|
|
975
975
|
}, z.core.$strip>>;
|
|
976
976
|
}, z.core.$strip>>;
|
|
@@ -978,8 +978,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
978
978
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
979
979
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
980
980
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
981
|
-
public: "public";
|
|
982
981
|
private: "private";
|
|
982
|
+
public: "public";
|
|
983
983
|
}>>;
|
|
984
984
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
985
985
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -992,8 +992,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
992
992
|
triggerMessageId: z.ZodString;
|
|
993
993
|
workflowRunId: z.ZodString;
|
|
994
994
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
995
|
-
public: "public";
|
|
996
995
|
private: "private";
|
|
996
|
+
public: "public";
|
|
997
997
|
}>>;
|
|
998
998
|
}, z.core.$strip>>;
|
|
999
999
|
}, z.core.$strip>>;
|
|
@@ -1006,8 +1006,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
1006
1006
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
1007
1007
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1008
1008
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1009
|
-
public: "public";
|
|
1010
1009
|
private: "private";
|
|
1010
|
+
public: "public";
|
|
1011
1011
|
}>>;
|
|
1012
1012
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
1013
1013
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -1020,8 +1020,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
1020
1020
|
triggerMessageId: z.ZodString;
|
|
1021
1021
|
workflowRunId: z.ZodString;
|
|
1022
1022
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
-
public: "public";
|
|
1024
1023
|
private: "private";
|
|
1024
|
+
public: "public";
|
|
1025
1025
|
}>>;
|
|
1026
1026
|
}, z.core.$strip>>;
|
|
1027
1027
|
}, z.core.$strip>>;
|
|
@@ -1035,8 +1035,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
1035
1035
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
1036
1036
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
1037
1037
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1038
|
-
public: "public";
|
|
1039
1038
|
private: "private";
|
|
1039
|
+
public: "public";
|
|
1040
1040
|
}>>;
|
|
1041
1041
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
1042
1042
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
@@ -1049,8 +1049,8 @@ declare const listConversationHeadersResponseSchema: z.ZodObject<{
|
|
|
1049
1049
|
triggerMessageId: z.ZodString;
|
|
1050
1050
|
workflowRunId: z.ZodString;
|
|
1051
1051
|
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
-
public: "public";
|
|
1053
1052
|
private: "private";
|
|
1053
|
+
public: "public";
|
|
1054
1054
|
}>>;
|
|
1055
1055
|
}, z.core.$strip>>;
|
|
1056
1056
|
}, z.core.$strip>>;
|