@lucern/contracts 0.1.2-alpha.5 → 0.3.0-alpha.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/dist/defineFunction-DO97DKs4.d.ts +14 -0
- package/dist/defineTable-CBQ03FXl.d.ts +36 -0
- package/dist/dsl-BgpoVOVQ.d.ts +110 -0
- package/dist/dsl.d.ts +5 -0
- package/dist/dsl.js +675 -0
- package/dist/dsl.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +519 -0
- package/dist/function-registry/beliefs.js +4326 -0
- package/dist/function-registry/beliefs.js.map +1 -0
- package/dist/function-registry/coding.d.ts +347 -0
- package/dist/function-registry/coding.js +4268 -0
- package/dist/function-registry/coding.js.map +1 -0
- package/dist/function-registry/context.d.ts +218 -0
- package/dist/function-registry/context.js +4175 -0
- package/dist/function-registry/context.js.map +1 -0
- package/dist/function-registry/contracts.d.ts +218 -0
- package/dist/function-registry/contracts.js +4143 -0
- package/dist/function-registry/contracts.js.map +1 -0
- package/dist/function-registry/coordination.d.ts +476 -0
- package/dist/function-registry/coordination.js +4254 -0
- package/dist/function-registry/coordination.js.map +1 -0
- package/dist/function-registry/edges.d.ts +175 -0
- package/dist/function-registry/edges.js +4150 -0
- package/dist/function-registry/edges.js.map +1 -0
- package/dist/function-registry/evidence.d.ts +433 -0
- package/dist/function-registry/evidence.js +4302 -0
- package/dist/function-registry/evidence.js.map +1 -0
- package/dist/function-registry/graph.d.ts +648 -0
- package/dist/function-registry/graph.js +4329 -0
- package/dist/function-registry/graph.js.map +1 -0
- package/dist/function-registry/helpers.d.ts +86 -0
- package/dist/function-registry/helpers.js +4131 -0
- package/dist/function-registry/helpers.js.map +1 -0
- package/dist/function-registry/identity.d.ts +218 -0
- package/dist/function-registry/identity.js +4154 -0
- package/dist/function-registry/identity.js.map +1 -0
- package/dist/function-registry/index.d.ts +32 -0
- package/dist/function-registry/index.js +4235 -0
- package/dist/function-registry/index.js.map +1 -0
- package/dist/function-registry/judgments.d.ts +175 -0
- package/dist/function-registry/judgments.js +4157 -0
- package/dist/function-registry/judgments.js.map +1 -0
- package/dist/function-registry/legacy.d.ts +132 -0
- package/dist/function-registry/legacy.js +4118 -0
- package/dist/function-registry/legacy.js.map +1 -0
- package/dist/function-registry/lenses.d.ts +261 -0
- package/dist/function-registry/lenses.js +4160 -0
- package/dist/function-registry/lenses.js.map +1 -0
- package/dist/function-registry/manifest.d.ts +36 -0
- package/dist/function-registry/manifest.js +366 -0
- package/dist/function-registry/manifest.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +562 -0
- package/dist/function-registry/ontologies.js +4292 -0
- package/dist/function-registry/ontologies.js.map +1 -0
- package/dist/function-registry/pipeline.d.ts +218 -0
- package/dist/function-registry/pipeline.js +4143 -0
- package/dist/function-registry/pipeline.js.map +1 -0
- package/dist/function-registry/questions.d.ts +605 -0
- package/dist/function-registry/questions.js +4329 -0
- package/dist/function-registry/questions.js.map +1 -0
- package/dist/function-registry/tasks.d.ts +261 -0
- package/dist/function-registry/tasks.js +4166 -0
- package/dist/function-registry/tasks.js.map +1 -0
- package/dist/function-registry/topics.d.ts +304 -0
- package/dist/function-registry/topics.js +4193 -0
- package/dist/function-registry/topics.js.map +1 -0
- package/dist/function-registry/types.d.ts +84 -0
- package/dist/function-registry/types.js +3 -0
- package/dist/function-registry/types.js.map +1 -0
- package/dist/function-registry/worktrees.d.ts +476 -0
- package/dist/function-registry/worktrees.js +4277 -0
- package/dist/function-registry/worktrees.js.map +1 -0
- package/dist/generated/convexSchemas.d.ts +20 -0
- package/dist/generated/convexSchemas.js +160 -0
- package/dist/generated/convexSchemas.js.map +1 -0
- package/dist/generated/schema-manifest.json +5179 -0
- package/dist/generated/tableOwnership.d.ts +127 -0
- package/dist/generated/tableOwnership.js +276 -0
- package/dist/generated/tableOwnership.js.map +1 -0
- package/dist/generated/tier-expectations.json +360 -0
- package/dist/idOf-DR8tkhQS.d.ts +10 -0
- package/dist/index-DoDXl8KS.d.ts +19 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +5739 -315
- package/dist/index.js.map +1 -1
- package/dist/schema-helpers/enumValidation.d.ts +17 -0
- package/dist/schema-helpers/enumValidation.js +143 -0
- package/dist/schema-helpers/enumValidation.js.map +1 -0
- package/dist/schema-helpers/spine/nodes/decision.d.ts +19 -0
- package/dist/schema-helpers/spine/nodes/decision.js +81 -0
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.d.ts +9 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +62 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -0
- package/dist/schema-helpers/topicIds.d.ts +17 -0
- package/dist/schema-helpers/topicIds.js +21 -0
- package/dist/schema-helpers/topicIds.js.map +1 -0
- package/dist/schema-helpers/topicLegacyScope.d.ts +19 -0
- package/dist/schema-helpers/topicLegacyScope.js +44 -0
- package/dist/schema-helpers/topicLegacyScope.js.map +1 -0
- package/dist/schema-helpers/validators.d.ts +8 -0
- package/dist/schema-helpers/validators.js +18 -0
- package/dist/schema-helpers/validators.js.map +1 -0
- package/dist/schemas/enums.d.ts +12 -0
- package/dist/schemas/enums.js +11 -0
- package/dist/schemas/enums.js.map +1 -0
- package/dist/schemas/index.d.ts +5 -0
- package/dist/schemas/index.js +4240 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/manifest.d.ts +24521 -0
- package/dist/schemas/manifest.js +4242 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/schemas/tables/identity/agent.d.ts +21 -0
- package/dist/schemas/tables/identity/agent.js +41 -0
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/identity/epistemic.d.ts +18 -0
- package/dist/schemas/tables/identity/epistemic.js +38 -0
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/identity/model.d.ts +62 -0
- package/dist/schemas/tables/identity/model.js +110 -0
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/identity/platform.d.ts +392 -0
- package/dist/schemas/tables/identity/platform.js +475 -0
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/identity/project.d.ts +22 -0
- package/dist/schemas/tables/identity/project.js +48 -0
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/identity/user.d.ts +26 -0
- package/dist/schemas/tables/identity/user.js +47 -0
- package/dist/schemas/tables/identity/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +20 -0
- package/dist/schemas/tables/kernel/config.js +39 -0
- package/dist/schemas/tables/kernel/config.js.map +1 -0
- package/dist/schemas/tables/kernel/coordination.d.ts +30 -0
- package/dist/schemas/tables/kernel/coordination.js +57 -0
- package/dist/schemas/tables/kernel/coordination.js.map +1 -0
- package/dist/schemas/tables/kernel/decision.d.ts +246 -0
- package/dist/schemas/tables/kernel/decision.js +371 -0
- package/dist/schemas/tables/kernel/decision.js.map +1 -0
- package/dist/schemas/tables/kernel/embedding.d.ts +18 -0
- package/dist/schemas/tables/kernel/embedding.js +48 -0
- package/dist/schemas/tables/kernel/embedding.js.map +1 -0
- package/dist/schemas/tables/kernel/epistemic.d.ts +315 -0
- package/dist/schemas/tables/kernel/epistemic.js +327 -0
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -0
- package/dist/schemas/tables/kernel/idempotency.d.ts +13 -0
- package/dist/schemas/tables/kernel/idempotency.js +31 -0
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -0
- package/dist/schemas/tables/kernel/infra.d.ts +171 -0
- package/dist/schemas/tables/kernel/infra.js +160 -0
- package/dist/schemas/tables/kernel/infra.js.map +1 -0
- package/dist/schemas/tables/kernel/intelligence.d.ts +293 -0
- package/dist/schemas/tables/kernel/intelligence.js +207 -0
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -0
- package/dist/schemas/tables/kernel/lens.d.ts +192 -0
- package/dist/schemas/tables/kernel/lens.js +122 -0
- package/dist/schemas/tables/kernel/lens.js.map +1 -0
- package/dist/schemas/tables/kernel/ontology.d.ts +89 -0
- package/dist/schemas/tables/kernel/ontology.js +91 -0
- package/dist/schemas/tables/kernel/ontology.js.map +1 -0
- package/dist/schemas/tables/kernel/platform.d.ts +353 -0
- package/dist/schemas/tables/kernel/platform.js +349 -0
- package/dist/schemas/tables/kernel/platform.js.map +1 -0
- package/dist/schemas/tables/kernel/spine.d.ts +206 -0
- package/dist/schemas/tables/kernel/spine.js +243 -0
- package/dist/schemas/tables/kernel/spine.js.map +1 -0
- package/dist/schemas/tables/kernel/task.d.ts +614 -0
- package/dist/schemas/tables/kernel/task.js +189 -0
- package/dist/schemas/tables/kernel/task.js.map +1 -0
- package/dist/schemas/tables/kernel/topic.d.ts +25 -0
- package/dist/schemas/tables/kernel/topic.js +62 -0
- package/dist/schemas/tables/kernel/topic.js.map +1 -0
- package/dist/schemas/tables/kernel/workflow.d.ts +45 -0
- package/dist/schemas/tables/kernel/workflow.js +94 -0
- package/dist/schemas/tables/kernel/workflow.js.map +1 -0
- package/dist/schemas/tables/kernel/worktree.d.ts +823 -0
- package/dist/schemas/tables/kernel/worktree.js +328 -0
- package/dist/schemas/tables/kernel/worktree.js.map +1 -0
- package/dist/schemas/tables/mc/identity.d.ts +134 -0
- package/dist/schemas/tables/mc/identity.js +221 -0
- package/dist/schemas/tables/mc/identity.js.map +1 -0
- package/dist/schemas/tables/mc/methodology.d.ts +46 -0
- package/dist/schemas/tables/mc/methodology.js +69 -0
- package/dist/schemas/tables/mc/methodology.js.map +1 -0
- package/dist/schemas/tables/mc/pack.d.ts +540 -0
- package/dist/schemas/tables/mc/pack.js +294 -0
- package/dist/schemas/tables/mc/pack.js.map +1 -0
- package/dist/schemas/tables/mc/policy.d.ts +57 -0
- package/dist/schemas/tables/mc/policy.js +121 -0
- package/dist/schemas/tables/mc/policy.js.map +1 -0
- package/dist/schemas/tables/mc/registry.d.ts +155 -0
- package/dist/schemas/tables/mc/registry.js +164 -0
- package/dist/schemas/tables/mc/registry.js.map +1 -0
- package/dist/schemas/tables/mc/runtime.d.ts +119 -0
- package/dist/schemas/tables/mc/runtime.js +199 -0
- package/dist/schemas/tables/mc/runtime.js.map +1 -0
- package/dist/schemas/tables/mc/tenant.d.ts +106 -0
- package/dist/schemas/tables/mc/tenant.js +114 -0
- package/dist/schemas/tables/mc/tenant.js.map +1 -0
- package/dist/schemas/tables/mc/workspace.d.ts +28 -0
- package/dist/schemas/tables/mc/workspace.js +52 -0
- package/dist/schemas/tables/mc/workspace.js.map +1 -0
- package/dist/{sdk-tools.contract-BnV0hKLp.d.ts → sdk-tools.contract-C2kQN_Xk.d.ts} +3 -7
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +664 -175
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tool-contracts-WCnuE9DW.d.ts +288 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/{mcp-tools.contract.js → tool-contracts.js} +666 -116
- package/dist/tool-contracts.js.map +1 -0
- package/package.json +119 -2
- package/dist/mcp-tools.contract-D8kXcP6d.d.ts +0 -254
- package/dist/mcp-tools.contract.d.ts +0 -1
- package/dist/mcp-tools.contract.js.map +0 -1
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { T as TableContract } from '../../../defineTable-CBQ03FXl.js';
|
|
3
|
+
import { C as ConvexIdSchema } from '../../../idOf-DR8tkhQS.js';
|
|
4
|
+
|
|
5
|
+
declare const tasks: TableContract<{
|
|
6
|
+
topicId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
status: z.ZodEnum<["todo", "in_progress", "blocked", "done"]>;
|
|
12
|
+
priority: z.ZodEnum<["urgent", "high", "medium", "low"]>;
|
|
13
|
+
dueDate: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
linkedWorktreeId: z.ZodOptional<ConvexIdSchema<"worktrees">>;
|
|
15
|
+
linkedBeliefId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
linkedQuestionId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
taskType: z.ZodOptional<z.ZodEnum<["general", "find_evidence", "verify_claim", "research", "review", "interview", "analysis", "track_metrics"]>>;
|
|
18
|
+
assigneeId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
blockedReason: z.ZodOptional<z.ZodString>;
|
|
20
|
+
blockedBy: z.ZodOptional<z.ZodArray<ConvexIdSchema<"tasks">, "many">>;
|
|
21
|
+
blocks: z.ZodOptional<z.ZodArray<ConvexIdSchema<"tasks">, "many">>;
|
|
22
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
executionOrder: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
subtasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
title: z.ZodString;
|
|
27
|
+
completed: z.ZodBoolean;
|
|
28
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
completed: boolean;
|
|
31
|
+
title: string;
|
|
32
|
+
id: string;
|
|
33
|
+
completedAt?: number | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
completed: boolean;
|
|
36
|
+
title: string;
|
|
37
|
+
id: string;
|
|
38
|
+
completedAt?: number | undefined;
|
|
39
|
+
}>, "many">>;
|
|
40
|
+
comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
|
+
id: z.ZodString;
|
|
42
|
+
userId: z.ZodString;
|
|
43
|
+
content: z.ZodString;
|
|
44
|
+
createdAt: z.ZodNumber;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
content: string;
|
|
47
|
+
createdAt: number;
|
|
48
|
+
userId: string;
|
|
49
|
+
id: string;
|
|
50
|
+
}, {
|
|
51
|
+
content: string;
|
|
52
|
+
createdAt: number;
|
|
53
|
+
userId: string;
|
|
54
|
+
id: string;
|
|
55
|
+
}>, "many">>;
|
|
56
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
type: z.ZodEnum<["call_script", "email_template", "research_plan", "framework", "checklist", "note", "file", "transcript"]>;
|
|
59
|
+
title: z.ZodString;
|
|
60
|
+
content: z.ZodString;
|
|
61
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63
|
+
id: z.ZodString;
|
|
64
|
+
text: z.ZodString;
|
|
65
|
+
completed: z.ZodBoolean;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
completed: boolean;
|
|
68
|
+
id: string;
|
|
69
|
+
text: string;
|
|
70
|
+
}, {
|
|
71
|
+
completed: boolean;
|
|
72
|
+
id: string;
|
|
73
|
+
text: string;
|
|
74
|
+
}>, "many">>;
|
|
75
|
+
fileUrl: z.ZodOptional<z.ZodString>;
|
|
76
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
77
|
+
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
frameworkType: z.ZodOptional<z.ZodString>;
|
|
79
|
+
variables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
80
|
+
mappedQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
questionText: z.ZodString;
|
|
83
|
+
linkedQuestionId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
linkedBeliefId: z.ZodOptional<z.ZodString>;
|
|
85
|
+
category: z.ZodOptional<z.ZodString>;
|
|
86
|
+
priority: z.ZodOptional<z.ZodEnum<["must_ask", "nice_to_have"]>>;
|
|
87
|
+
answered: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
answerExcerpt: z.ZodOptional<z.ZodString>;
|
|
89
|
+
answerTimestamp: z.ZodOptional<z.ZodString>;
|
|
90
|
+
capturedAsInsight: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
insightId: z.ZodOptional<ConvexIdSchema<"epistemicNodes">>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
id: string;
|
|
94
|
+
questionText: string;
|
|
95
|
+
answered?: boolean | undefined;
|
|
96
|
+
category?: string | undefined;
|
|
97
|
+
insightId?: (string & z.BRAND<"Id<epistemicNodes>">) | undefined;
|
|
98
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
99
|
+
linkedBeliefId?: string | undefined;
|
|
100
|
+
linkedQuestionId?: string | undefined;
|
|
101
|
+
answerExcerpt?: string | undefined;
|
|
102
|
+
answerTimestamp?: string | undefined;
|
|
103
|
+
capturedAsInsight?: boolean | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
id: string;
|
|
106
|
+
questionText: string;
|
|
107
|
+
answered?: boolean | undefined;
|
|
108
|
+
category?: string | undefined;
|
|
109
|
+
insightId?: string | undefined;
|
|
110
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
111
|
+
linkedBeliefId?: string | undefined;
|
|
112
|
+
linkedQuestionId?: string | undefined;
|
|
113
|
+
answerExcerpt?: string | undefined;
|
|
114
|
+
answerTimestamp?: string | undefined;
|
|
115
|
+
capturedAsInsight?: boolean | undefined;
|
|
116
|
+
}>, "many">>;
|
|
117
|
+
linkedCallScriptId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
editable: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
executionTool: z.ZodOptional<z.ZodString>;
|
|
120
|
+
linkedQuestionId: z.ZodOptional<z.ZodString>;
|
|
121
|
+
linkedBeliefId: z.ZodOptional<z.ZodString>;
|
|
122
|
+
workflowStepId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
workflowOrder: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
dependsOnStepIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
|
+
runCondition: z.ZodOptional<z.ZodString>;
|
|
126
|
+
continueOnFailure: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
stepStatus: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed", "skipped"]>>;
|
|
128
|
+
stepRunCount: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
stepLastRunAt: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
stepOutputSummary: z.ZodOptional<z.ZodString>;
|
|
131
|
+
stepOutputData: z.ZodOptional<z.ZodString>;
|
|
132
|
+
stepFailureReason: z.ZodOptional<z.ZodString>;
|
|
133
|
+
researchResult: z.ZodOptional<z.ZodString>;
|
|
134
|
+
researchStatus: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
|
|
135
|
+
researchCompletedAt: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
researchCitations: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
137
|
+
url: z.ZodString;
|
|
138
|
+
title: z.ZodOptional<z.ZodString>;
|
|
139
|
+
snippet: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
url: string;
|
|
142
|
+
title?: string | undefined;
|
|
143
|
+
snippet?: string | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
url: string;
|
|
146
|
+
title?: string | undefined;
|
|
147
|
+
snippet?: string | undefined;
|
|
148
|
+
}>]>, "many">>;
|
|
149
|
+
generatedPersonas: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
150
|
+
personasGeneratedAt: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
expertSearchResults: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
152
|
+
expertSearchAt: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
capturedAsEvidence: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
capturedInsightId: z.ZodOptional<z.ZodString>;
|
|
155
|
+
capturedAt: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
capturedImpact: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
158
|
+
tool: z.ZodString;
|
|
159
|
+
purpose: z.ZodString;
|
|
160
|
+
suggestedQuery: z.ZodString;
|
|
161
|
+
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
tool: string;
|
|
163
|
+
purpose: string;
|
|
164
|
+
suggestedQuery: string;
|
|
165
|
+
}, {
|
|
166
|
+
tool: string;
|
|
167
|
+
purpose: string;
|
|
168
|
+
suggestedQuery: string;
|
|
169
|
+
}>, "many">>;
|
|
170
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
171
|
+
metric: z.ZodString;
|
|
172
|
+
source: z.ZodString;
|
|
173
|
+
frequency: z.ZodString;
|
|
174
|
+
currentValue: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
source: string;
|
|
177
|
+
metric: string;
|
|
178
|
+
frequency: string;
|
|
179
|
+
currentValue?: string | undefined;
|
|
180
|
+
}, {
|
|
181
|
+
source: string;
|
|
182
|
+
metric: string;
|
|
183
|
+
frequency: string;
|
|
184
|
+
currentValue?: string | undefined;
|
|
185
|
+
}>, "many">>;
|
|
186
|
+
personas: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
+
role: z.ZodString;
|
|
188
|
+
title: z.ZodString;
|
|
189
|
+
company: z.ZodString;
|
|
190
|
+
rationale: z.ZodString;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
company: string;
|
|
193
|
+
rationale: string;
|
|
194
|
+
title: string;
|
|
195
|
+
role: string;
|
|
196
|
+
}, {
|
|
197
|
+
company: string;
|
|
198
|
+
rationale: string;
|
|
199
|
+
title: string;
|
|
200
|
+
role: string;
|
|
201
|
+
}>, "many">>;
|
|
202
|
+
experts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
203
|
+
expertise: z.ZodString;
|
|
204
|
+
potentialSources: z.ZodArray<z.ZodString, "many">;
|
|
205
|
+
questions: z.ZodArray<z.ZodString, "many">;
|
|
206
|
+
searchStrategy: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
questions: string[];
|
|
209
|
+
expertise: string;
|
|
210
|
+
potentialSources: string[];
|
|
211
|
+
searchStrategy?: string | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
questions: string[];
|
|
214
|
+
expertise: string;
|
|
215
|
+
potentialSources: string[];
|
|
216
|
+
searchStrategy?: string | undefined;
|
|
217
|
+
}>, "many">>;
|
|
218
|
+
factChecker: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
claimsToVerify: z.ZodArray<z.ZodString, "many">;
|
|
220
|
+
sourcesToCheck: z.ZodArray<z.ZodString, "many">;
|
|
221
|
+
verificationCriteria: z.ZodArray<z.ZodString, "many">;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
claimsToVerify: string[];
|
|
224
|
+
sourcesToCheck: string[];
|
|
225
|
+
verificationCriteria: string[];
|
|
226
|
+
}, {
|
|
227
|
+
claimsToVerify: string[];
|
|
228
|
+
sourcesToCheck: string[];
|
|
229
|
+
verificationCriteria: string[];
|
|
230
|
+
}>>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
items?: {
|
|
233
|
+
completed: boolean;
|
|
234
|
+
id: string;
|
|
235
|
+
text: string;
|
|
236
|
+
}[] | undefined;
|
|
237
|
+
linkedBeliefId?: string | undefined;
|
|
238
|
+
linkedQuestionId?: string | undefined;
|
|
239
|
+
fileUrl?: string | undefined;
|
|
240
|
+
fileName?: string | undefined;
|
|
241
|
+
fileSize?: number | undefined;
|
|
242
|
+
frameworkType?: string | undefined;
|
|
243
|
+
variables?: string[] | undefined;
|
|
244
|
+
mappedQuestions?: {
|
|
245
|
+
id: string;
|
|
246
|
+
questionText: string;
|
|
247
|
+
answered?: boolean | undefined;
|
|
248
|
+
category?: string | undefined;
|
|
249
|
+
insightId?: (string & z.BRAND<"Id<epistemicNodes>">) | undefined;
|
|
250
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
251
|
+
linkedBeliefId?: string | undefined;
|
|
252
|
+
linkedQuestionId?: string | undefined;
|
|
253
|
+
answerExcerpt?: string | undefined;
|
|
254
|
+
answerTimestamp?: string | undefined;
|
|
255
|
+
capturedAsInsight?: boolean | undefined;
|
|
256
|
+
}[] | undefined;
|
|
257
|
+
linkedCallScriptId?: string | undefined;
|
|
258
|
+
editable?: boolean | undefined;
|
|
259
|
+
executionTool?: string | undefined;
|
|
260
|
+
workflowStepId?: string | undefined;
|
|
261
|
+
workflowOrder?: number | undefined;
|
|
262
|
+
dependsOnStepIds?: string[] | undefined;
|
|
263
|
+
runCondition?: string | undefined;
|
|
264
|
+
continueOnFailure?: boolean | undefined;
|
|
265
|
+
stepStatus?: "pending" | "failed" | "running" | "skipped" | "completed" | undefined;
|
|
266
|
+
stepRunCount?: number | undefined;
|
|
267
|
+
stepLastRunAt?: number | undefined;
|
|
268
|
+
stepOutputSummary?: string | undefined;
|
|
269
|
+
stepOutputData?: string | undefined;
|
|
270
|
+
stepFailureReason?: string | undefined;
|
|
271
|
+
researchResult?: string | undefined;
|
|
272
|
+
researchStatus?: "pending" | "failed" | "running" | "completed" | undefined;
|
|
273
|
+
researchCompletedAt?: number | undefined;
|
|
274
|
+
researchCitations?: (string | {
|
|
275
|
+
url: string;
|
|
276
|
+
title?: string | undefined;
|
|
277
|
+
snippet?: string | undefined;
|
|
278
|
+
})[] | undefined;
|
|
279
|
+
generatedPersonas?: any[] | undefined;
|
|
280
|
+
personasGeneratedAt?: number | undefined;
|
|
281
|
+
expertSearchResults?: any[] | undefined;
|
|
282
|
+
expertSearchAt?: number | undefined;
|
|
283
|
+
capturedAsEvidence?: boolean | undefined;
|
|
284
|
+
capturedInsightId?: string | undefined;
|
|
285
|
+
capturedAt?: number | undefined;
|
|
286
|
+
capturedImpact?: number | undefined;
|
|
287
|
+
tools?: {
|
|
288
|
+
tool: string;
|
|
289
|
+
purpose: string;
|
|
290
|
+
suggestedQuery: string;
|
|
291
|
+
}[] | undefined;
|
|
292
|
+
metrics?: {
|
|
293
|
+
source: string;
|
|
294
|
+
metric: string;
|
|
295
|
+
frequency: string;
|
|
296
|
+
currentValue?: string | undefined;
|
|
297
|
+
}[] | undefined;
|
|
298
|
+
personas?: {
|
|
299
|
+
company: string;
|
|
300
|
+
rationale: string;
|
|
301
|
+
title: string;
|
|
302
|
+
role: string;
|
|
303
|
+
}[] | undefined;
|
|
304
|
+
experts?: {
|
|
305
|
+
questions: string[];
|
|
306
|
+
expertise: string;
|
|
307
|
+
potentialSources: string[];
|
|
308
|
+
searchStrategy?: string | undefined;
|
|
309
|
+
}[] | undefined;
|
|
310
|
+
factChecker?: {
|
|
311
|
+
claimsToVerify: string[];
|
|
312
|
+
sourcesToCheck: string[];
|
|
313
|
+
verificationCriteria: string[];
|
|
314
|
+
} | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
items?: {
|
|
317
|
+
completed: boolean;
|
|
318
|
+
id: string;
|
|
319
|
+
text: string;
|
|
320
|
+
}[] | undefined;
|
|
321
|
+
linkedBeliefId?: string | undefined;
|
|
322
|
+
linkedQuestionId?: string | undefined;
|
|
323
|
+
fileUrl?: string | undefined;
|
|
324
|
+
fileName?: string | undefined;
|
|
325
|
+
fileSize?: number | undefined;
|
|
326
|
+
frameworkType?: string | undefined;
|
|
327
|
+
variables?: string[] | undefined;
|
|
328
|
+
mappedQuestions?: {
|
|
329
|
+
id: string;
|
|
330
|
+
questionText: string;
|
|
331
|
+
answered?: boolean | undefined;
|
|
332
|
+
category?: string | undefined;
|
|
333
|
+
insightId?: string | undefined;
|
|
334
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
335
|
+
linkedBeliefId?: string | undefined;
|
|
336
|
+
linkedQuestionId?: string | undefined;
|
|
337
|
+
answerExcerpt?: string | undefined;
|
|
338
|
+
answerTimestamp?: string | undefined;
|
|
339
|
+
capturedAsInsight?: boolean | undefined;
|
|
340
|
+
}[] | undefined;
|
|
341
|
+
linkedCallScriptId?: string | undefined;
|
|
342
|
+
editable?: boolean | undefined;
|
|
343
|
+
executionTool?: string | undefined;
|
|
344
|
+
workflowStepId?: string | undefined;
|
|
345
|
+
workflowOrder?: number | undefined;
|
|
346
|
+
dependsOnStepIds?: string[] | undefined;
|
|
347
|
+
runCondition?: string | undefined;
|
|
348
|
+
continueOnFailure?: boolean | undefined;
|
|
349
|
+
stepStatus?: "pending" | "failed" | "running" | "skipped" | "completed" | undefined;
|
|
350
|
+
stepRunCount?: number | undefined;
|
|
351
|
+
stepLastRunAt?: number | undefined;
|
|
352
|
+
stepOutputSummary?: string | undefined;
|
|
353
|
+
stepOutputData?: string | undefined;
|
|
354
|
+
stepFailureReason?: string | undefined;
|
|
355
|
+
researchResult?: string | undefined;
|
|
356
|
+
researchStatus?: "pending" | "failed" | "running" | "completed" | undefined;
|
|
357
|
+
researchCompletedAt?: number | undefined;
|
|
358
|
+
researchCitations?: (string | {
|
|
359
|
+
url: string;
|
|
360
|
+
title?: string | undefined;
|
|
361
|
+
snippet?: string | undefined;
|
|
362
|
+
})[] | undefined;
|
|
363
|
+
generatedPersonas?: any[] | undefined;
|
|
364
|
+
personasGeneratedAt?: number | undefined;
|
|
365
|
+
expertSearchResults?: any[] | undefined;
|
|
366
|
+
expertSearchAt?: number | undefined;
|
|
367
|
+
capturedAsEvidence?: boolean | undefined;
|
|
368
|
+
capturedInsightId?: string | undefined;
|
|
369
|
+
capturedAt?: number | undefined;
|
|
370
|
+
capturedImpact?: number | undefined;
|
|
371
|
+
tools?: {
|
|
372
|
+
tool: string;
|
|
373
|
+
purpose: string;
|
|
374
|
+
suggestedQuery: string;
|
|
375
|
+
}[] | undefined;
|
|
376
|
+
metrics?: {
|
|
377
|
+
source: string;
|
|
378
|
+
metric: string;
|
|
379
|
+
frequency: string;
|
|
380
|
+
currentValue?: string | undefined;
|
|
381
|
+
}[] | undefined;
|
|
382
|
+
personas?: {
|
|
383
|
+
company: string;
|
|
384
|
+
rationale: string;
|
|
385
|
+
title: string;
|
|
386
|
+
role: string;
|
|
387
|
+
}[] | undefined;
|
|
388
|
+
experts?: {
|
|
389
|
+
questions: string[];
|
|
390
|
+
expertise: string;
|
|
391
|
+
potentialSources: string[];
|
|
392
|
+
searchStrategy?: string | undefined;
|
|
393
|
+
}[] | undefined;
|
|
394
|
+
factChecker?: {
|
|
395
|
+
claimsToVerify: string[];
|
|
396
|
+
sourcesToCheck: string[];
|
|
397
|
+
verificationCriteria: string[];
|
|
398
|
+
} | undefined;
|
|
399
|
+
}>>;
|
|
400
|
+
capturedAsEvidence: z.ZodOptional<z.ZodBoolean>;
|
|
401
|
+
capturedInsightId: z.ZodOptional<ConvexIdSchema<"epistemicNodes">>;
|
|
402
|
+
capturedAt: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
createdBy: z.ZodString;
|
|
404
|
+
createdAt: z.ZodNumber;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
type: "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file" | "transcript";
|
|
407
|
+
content: string;
|
|
408
|
+
createdAt: number;
|
|
409
|
+
createdBy: string;
|
|
410
|
+
title: string;
|
|
411
|
+
id: string;
|
|
412
|
+
metadata?: {
|
|
413
|
+
items?: {
|
|
414
|
+
completed: boolean;
|
|
415
|
+
id: string;
|
|
416
|
+
text: string;
|
|
417
|
+
}[] | undefined;
|
|
418
|
+
linkedBeliefId?: string | undefined;
|
|
419
|
+
linkedQuestionId?: string | undefined;
|
|
420
|
+
fileUrl?: string | undefined;
|
|
421
|
+
fileName?: string | undefined;
|
|
422
|
+
fileSize?: number | undefined;
|
|
423
|
+
frameworkType?: string | undefined;
|
|
424
|
+
variables?: string[] | undefined;
|
|
425
|
+
mappedQuestions?: {
|
|
426
|
+
id: string;
|
|
427
|
+
questionText: string;
|
|
428
|
+
answered?: boolean | undefined;
|
|
429
|
+
category?: string | undefined;
|
|
430
|
+
insightId?: (string & z.BRAND<"Id<epistemicNodes>">) | undefined;
|
|
431
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
432
|
+
linkedBeliefId?: string | undefined;
|
|
433
|
+
linkedQuestionId?: string | undefined;
|
|
434
|
+
answerExcerpt?: string | undefined;
|
|
435
|
+
answerTimestamp?: string | undefined;
|
|
436
|
+
capturedAsInsight?: boolean | undefined;
|
|
437
|
+
}[] | undefined;
|
|
438
|
+
linkedCallScriptId?: string | undefined;
|
|
439
|
+
editable?: boolean | undefined;
|
|
440
|
+
executionTool?: string | undefined;
|
|
441
|
+
workflowStepId?: string | undefined;
|
|
442
|
+
workflowOrder?: number | undefined;
|
|
443
|
+
dependsOnStepIds?: string[] | undefined;
|
|
444
|
+
runCondition?: string | undefined;
|
|
445
|
+
continueOnFailure?: boolean | undefined;
|
|
446
|
+
stepStatus?: "pending" | "failed" | "running" | "skipped" | "completed" | undefined;
|
|
447
|
+
stepRunCount?: number | undefined;
|
|
448
|
+
stepLastRunAt?: number | undefined;
|
|
449
|
+
stepOutputSummary?: string | undefined;
|
|
450
|
+
stepOutputData?: string | undefined;
|
|
451
|
+
stepFailureReason?: string | undefined;
|
|
452
|
+
researchResult?: string | undefined;
|
|
453
|
+
researchStatus?: "pending" | "failed" | "running" | "completed" | undefined;
|
|
454
|
+
researchCompletedAt?: number | undefined;
|
|
455
|
+
researchCitations?: (string | {
|
|
456
|
+
url: string;
|
|
457
|
+
title?: string | undefined;
|
|
458
|
+
snippet?: string | undefined;
|
|
459
|
+
})[] | undefined;
|
|
460
|
+
generatedPersonas?: any[] | undefined;
|
|
461
|
+
personasGeneratedAt?: number | undefined;
|
|
462
|
+
expertSearchResults?: any[] | undefined;
|
|
463
|
+
expertSearchAt?: number | undefined;
|
|
464
|
+
capturedAsEvidence?: boolean | undefined;
|
|
465
|
+
capturedInsightId?: string | undefined;
|
|
466
|
+
capturedAt?: number | undefined;
|
|
467
|
+
capturedImpact?: number | undefined;
|
|
468
|
+
tools?: {
|
|
469
|
+
tool: string;
|
|
470
|
+
purpose: string;
|
|
471
|
+
suggestedQuery: string;
|
|
472
|
+
}[] | undefined;
|
|
473
|
+
metrics?: {
|
|
474
|
+
source: string;
|
|
475
|
+
metric: string;
|
|
476
|
+
frequency: string;
|
|
477
|
+
currentValue?: string | undefined;
|
|
478
|
+
}[] | undefined;
|
|
479
|
+
personas?: {
|
|
480
|
+
company: string;
|
|
481
|
+
rationale: string;
|
|
482
|
+
title: string;
|
|
483
|
+
role: string;
|
|
484
|
+
}[] | undefined;
|
|
485
|
+
experts?: {
|
|
486
|
+
questions: string[];
|
|
487
|
+
expertise: string;
|
|
488
|
+
potentialSources: string[];
|
|
489
|
+
searchStrategy?: string | undefined;
|
|
490
|
+
}[] | undefined;
|
|
491
|
+
factChecker?: {
|
|
492
|
+
claimsToVerify: string[];
|
|
493
|
+
sourcesToCheck: string[];
|
|
494
|
+
verificationCriteria: string[];
|
|
495
|
+
} | undefined;
|
|
496
|
+
} | undefined;
|
|
497
|
+
capturedAsEvidence?: boolean | undefined;
|
|
498
|
+
capturedInsightId?: (string & z.BRAND<"Id<epistemicNodes>">) | undefined;
|
|
499
|
+
capturedAt?: number | undefined;
|
|
500
|
+
}, {
|
|
501
|
+
type: "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file" | "transcript";
|
|
502
|
+
content: string;
|
|
503
|
+
createdAt: number;
|
|
504
|
+
createdBy: string;
|
|
505
|
+
title: string;
|
|
506
|
+
id: string;
|
|
507
|
+
metadata?: {
|
|
508
|
+
items?: {
|
|
509
|
+
completed: boolean;
|
|
510
|
+
id: string;
|
|
511
|
+
text: string;
|
|
512
|
+
}[] | undefined;
|
|
513
|
+
linkedBeliefId?: string | undefined;
|
|
514
|
+
linkedQuestionId?: string | undefined;
|
|
515
|
+
fileUrl?: string | undefined;
|
|
516
|
+
fileName?: string | undefined;
|
|
517
|
+
fileSize?: number | undefined;
|
|
518
|
+
frameworkType?: string | undefined;
|
|
519
|
+
variables?: string[] | undefined;
|
|
520
|
+
mappedQuestions?: {
|
|
521
|
+
id: string;
|
|
522
|
+
questionText: string;
|
|
523
|
+
answered?: boolean | undefined;
|
|
524
|
+
category?: string | undefined;
|
|
525
|
+
insightId?: string | undefined;
|
|
526
|
+
priority?: "must_ask" | "nice_to_have" | undefined;
|
|
527
|
+
linkedBeliefId?: string | undefined;
|
|
528
|
+
linkedQuestionId?: string | undefined;
|
|
529
|
+
answerExcerpt?: string | undefined;
|
|
530
|
+
answerTimestamp?: string | undefined;
|
|
531
|
+
capturedAsInsight?: boolean | undefined;
|
|
532
|
+
}[] | undefined;
|
|
533
|
+
linkedCallScriptId?: string | undefined;
|
|
534
|
+
editable?: boolean | undefined;
|
|
535
|
+
executionTool?: string | undefined;
|
|
536
|
+
workflowStepId?: string | undefined;
|
|
537
|
+
workflowOrder?: number | undefined;
|
|
538
|
+
dependsOnStepIds?: string[] | undefined;
|
|
539
|
+
runCondition?: string | undefined;
|
|
540
|
+
continueOnFailure?: boolean | undefined;
|
|
541
|
+
stepStatus?: "pending" | "failed" | "running" | "skipped" | "completed" | undefined;
|
|
542
|
+
stepRunCount?: number | undefined;
|
|
543
|
+
stepLastRunAt?: number | undefined;
|
|
544
|
+
stepOutputSummary?: string | undefined;
|
|
545
|
+
stepOutputData?: string | undefined;
|
|
546
|
+
stepFailureReason?: string | undefined;
|
|
547
|
+
researchResult?: string | undefined;
|
|
548
|
+
researchStatus?: "pending" | "failed" | "running" | "completed" | undefined;
|
|
549
|
+
researchCompletedAt?: number | undefined;
|
|
550
|
+
researchCitations?: (string | {
|
|
551
|
+
url: string;
|
|
552
|
+
title?: string | undefined;
|
|
553
|
+
snippet?: string | undefined;
|
|
554
|
+
})[] | undefined;
|
|
555
|
+
generatedPersonas?: any[] | undefined;
|
|
556
|
+
personasGeneratedAt?: number | undefined;
|
|
557
|
+
expertSearchResults?: any[] | undefined;
|
|
558
|
+
expertSearchAt?: number | undefined;
|
|
559
|
+
capturedAsEvidence?: boolean | undefined;
|
|
560
|
+
capturedInsightId?: string | undefined;
|
|
561
|
+
capturedAt?: number | undefined;
|
|
562
|
+
capturedImpact?: number | undefined;
|
|
563
|
+
tools?: {
|
|
564
|
+
tool: string;
|
|
565
|
+
purpose: string;
|
|
566
|
+
suggestedQuery: string;
|
|
567
|
+
}[] | undefined;
|
|
568
|
+
metrics?: {
|
|
569
|
+
source: string;
|
|
570
|
+
metric: string;
|
|
571
|
+
frequency: string;
|
|
572
|
+
currentValue?: string | undefined;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
personas?: {
|
|
575
|
+
company: string;
|
|
576
|
+
rationale: string;
|
|
577
|
+
title: string;
|
|
578
|
+
role: string;
|
|
579
|
+
}[] | undefined;
|
|
580
|
+
experts?: {
|
|
581
|
+
questions: string[];
|
|
582
|
+
expertise: string;
|
|
583
|
+
potentialSources: string[];
|
|
584
|
+
searchStrategy?: string | undefined;
|
|
585
|
+
}[] | undefined;
|
|
586
|
+
factChecker?: {
|
|
587
|
+
claimsToVerify: string[];
|
|
588
|
+
sourcesToCheck: string[];
|
|
589
|
+
verificationCriteria: string[];
|
|
590
|
+
} | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
capturedAsEvidence?: boolean | undefined;
|
|
593
|
+
capturedInsightId?: string | undefined;
|
|
594
|
+
capturedAt?: number | undefined;
|
|
595
|
+
}>, "many">>;
|
|
596
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
597
|
+
executionType: z.ZodOptional<z.ZodEnum<["research_search", "find_news", "identify_experts", "market_research", "generate_primer", "verify_claim", "manual", "mcp_research", "mcp_web_search", "mcp_capture", "mcp_network_search"]>>;
|
|
598
|
+
executionStatus: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
|
|
599
|
+
executionResults: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
|
|
600
|
+
executionStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
601
|
+
executionCompletedAt: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
executionError: z.ZodOptional<z.ZodString>;
|
|
603
|
+
mcpDatasetIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
604
|
+
mcpSkillIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
605
|
+
mcpExecutionId: z.ZodOptional<z.ZodString>;
|
|
606
|
+
linkedChatId: z.ZodOptional<z.ZodString>;
|
|
607
|
+
createdBy: z.ZodString;
|
|
608
|
+
createdAt: z.ZodNumber;
|
|
609
|
+
updatedAt: z.ZodNumber;
|
|
610
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
611
|
+
completedBy: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}>;
|
|
613
|
+
|
|
614
|
+
export { tasks };
|