@criticalbridge/brain-client 1.0.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/LICENSE +190 -0
- package/README.md +23 -0
- package/dist/auth.d.ts +2 -0
- package/dist/auth.js +21 -0
- package/dist/auth.js.map +1 -0
- package/dist/client.d.ts +604 -0
- package/dist/client.js +1197 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +17 -0
- package/dist/errors.js +44 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +95 -0
- package/dist/index.js.map +1 -0
- package/dist/types/a2a.types.d.ts +42 -0
- package/dist/types/a2a.types.js +3 -0
- package/dist/types/a2a.types.js.map +1 -0
- package/dist/types/agent-skill-lifecycle.types.d.ts +46 -0
- package/dist/types/agent-skill-lifecycle.types.js +22 -0
- package/dist/types/agent-skill-lifecycle.types.js.map +1 -0
- package/dist/types/agent.types.d.ts +117 -0
- package/dist/types/agent.types.js +3 -0
- package/dist/types/agent.types.js.map +1 -0
- package/dist/types/ai-knowledge.types.d.ts +180 -0
- package/dist/types/ai-knowledge.types.js +3 -0
- package/dist/types/ai-knowledge.types.js.map +1 -0
- package/dist/types/api.types.d.ts +550 -0
- package/dist/types/api.types.js +3 -0
- package/dist/types/api.types.js.map +1 -0
- package/dist/types/approval-events.types.d.ts +43 -0
- package/dist/types/approval-events.types.js +7 -0
- package/dist/types/approval-events.types.js.map +1 -0
- package/dist/types/best-practices-kg.types.d.ts +112 -0
- package/dist/types/best-practices-kg.types.js +3 -0
- package/dist/types/best-practices-kg.types.js.map +1 -0
- package/dist/types/bias-threshold-policy.types.d.ts +37 -0
- package/dist/types/bias-threshold-policy.types.js +3 -0
- package/dist/types/bias-threshold-policy.types.js.map +1 -0
- package/dist/types/change-approval-gate.types.d.ts +110 -0
- package/dist/types/change-approval-gate.types.js +53 -0
- package/dist/types/change-approval-gate.types.js.map +1 -0
- package/dist/types/connection.types.d.ts +100 -0
- package/dist/types/connection.types.js +3 -0
- package/dist/types/connection.types.js.map +1 -0
- package/dist/types/connector-manifest.types.d.ts +889 -0
- package/dist/types/connector-manifest.types.js +118 -0
- package/dist/types/connector-manifest.types.js.map +1 -0
- package/dist/types/control-profile.types.d.ts +69 -0
- package/dist/types/control-profile.types.js +10 -0
- package/dist/types/control-profile.types.js.map +1 -0
- package/dist/types/corpus.types.d.ts +2584 -0
- package/dist/types/corpus.types.js +120 -0
- package/dist/types/corpus.types.js.map +1 -0
- package/dist/types/credentials.types.d.ts +18 -0
- package/dist/types/credentials.types.js +3 -0
- package/dist/types/credentials.types.js.map +1 -0
- package/dist/types/dashboard.types.d.ts +205 -0
- package/dist/types/dashboard.types.js +3 -0
- package/dist/types/dashboard.types.js.map +1 -0
- package/dist/types/document-ingestion.types.d.ts +30 -0
- package/dist/types/document-ingestion.types.js +3 -0
- package/dist/types/document-ingestion.types.js.map +1 -0
- package/dist/types/domain-event.types.d.ts +21 -0
- package/dist/types/domain-event.types.js +3 -0
- package/dist/types/domain-event.types.js.map +1 -0
- package/dist/types/drift-dashboard.types.d.ts +17 -0
- package/dist/types/drift-dashboard.types.js +3 -0
- package/dist/types/drift-dashboard.types.js.map +1 -0
- package/dist/types/effective-control-profile.types.d.ts +39 -0
- package/dist/types/effective-control-profile.types.js +39 -0
- package/dist/types/effective-control-profile.types.js.map +1 -0
- package/dist/types/entity-kg.types.d.ts +140 -0
- package/dist/types/entity-kg.types.js +3 -0
- package/dist/types/entity-kg.types.js.map +1 -0
- package/dist/types/entity-model-graph.types.d.ts +63 -0
- package/dist/types/entity-model-graph.types.js +3 -0
- package/dist/types/entity-model-graph.types.js.map +1 -0
- package/dist/types/entity-model-sources.types.d.ts +117 -0
- package/dist/types/entity-model-sources.types.js +3 -0
- package/dist/types/entity-model-sources.types.js.map +1 -0
- package/dist/types/entity.types.d.ts +6 -0
- package/dist/types/entity.types.js +3 -0
- package/dist/types/entity.types.js.map +1 -0
- package/dist/types/failure.types.d.ts +22 -0
- package/dist/types/failure.types.js +3 -0
- package/dist/types/failure.types.js.map +1 -0
- package/dist/types/harvest.types.d.ts +662 -0
- package/dist/types/harvest.types.js +52 -0
- package/dist/types/harvest.types.js.map +1 -0
- package/dist/types/incident.types.d.ts +105 -0
- package/dist/types/incident.types.js +3 -0
- package/dist/types/incident.types.js.map +1 -0
- package/dist/types/introspection.types.d.ts +46 -0
- package/dist/types/introspection.types.js +3 -0
- package/dist/types/introspection.types.js.map +1 -0
- package/dist/types/kb-kg.types.d.ts +38 -0
- package/dist/types/kb-kg.types.js +3 -0
- package/dist/types/kb-kg.types.js.map +1 -0
- package/dist/types/managed-agent.types.d.ts +59 -0
- package/dist/types/managed-agent.types.js +11 -0
- package/dist/types/managed-agent.types.js.map +1 -0
- package/dist/types/object-store.types.d.ts +25 -0
- package/dist/types/object-store.types.js +8 -0
- package/dist/types/object-store.types.js.map +1 -0
- package/dist/types/pipeline.types.d.ts +39 -0
- package/dist/types/pipeline.types.js +3 -0
- package/dist/types/pipeline.types.js.map +1 -0
- package/dist/types/policy.types.d.ts +32 -0
- package/dist/types/policy.types.js +3 -0
- package/dist/types/policy.types.js.map +1 -0
- package/dist/types/risk-classification.types.d.ts +71 -0
- package/dist/types/risk-classification.types.js +3 -0
- package/dist/types/risk-classification.types.js.map +1 -0
- package/dist/types/skill-draft.types.d.ts +271 -0
- package/dist/types/skill-draft.types.js +48 -0
- package/dist/types/skill-draft.types.js.map +1 -0
- package/dist/types/source-mapping.types.d.ts +69 -0
- package/dist/types/source-mapping.types.js +3 -0
- package/dist/types/source-mapping.types.js.map +1 -0
- package/dist/types/synthesize.types.d.ts +90 -0
- package/dist/types/synthesize.types.js +41 -0
- package/dist/types/synthesize.types.js.map +1 -0
- package/dist/types/wizard-assistant.types.d.ts +25 -0
- package/dist/types/wizard-assistant.types.js +3 -0
- package/dist/types/wizard-assistant.types.js.map +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SkillDraftStatusSchema: z.ZodEnum<["draft", "approved", "rejected"]>;
|
|
3
|
+
export type SkillDraftStatus = z.infer<typeof SkillDraftStatusSchema>;
|
|
4
|
+
export declare const SkillRegulatoryRefSchema: z.ZodObject<{
|
|
5
|
+
authority: z.ZodString;
|
|
6
|
+
citation: z.ZodString;
|
|
7
|
+
effective: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
authority: string;
|
|
10
|
+
citation: string;
|
|
11
|
+
effective?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
authority: string;
|
|
14
|
+
citation: string;
|
|
15
|
+
effective?: string | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export type SkillRegulatoryRef = z.infer<typeof SkillRegulatoryRefSchema>;
|
|
18
|
+
export declare const SkillDraftSchema: z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
harvestJobId: z.ZodString;
|
|
22
|
+
gcsUri: z.ZodOptional<z.ZodString>;
|
|
23
|
+
status: z.ZodEnum<["draft", "approved", "rejected"]>;
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
description: z.ZodString;
|
|
26
|
+
body: z.ZodString;
|
|
27
|
+
scope: z.ZodObject<{
|
|
28
|
+
productIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
29
|
+
jurisdictions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
+
wave: z.ZodString;
|
|
31
|
+
sourceFilter: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
productIds: string[];
|
|
34
|
+
jurisdictions: string[];
|
|
35
|
+
wave: string;
|
|
36
|
+
sourceFilter?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
wave: string;
|
|
39
|
+
productIds?: string[] | undefined;
|
|
40
|
+
jurisdictions?: string[] | undefined;
|
|
41
|
+
sourceFilter?: string | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
linesOfBusiness: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
regulatoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
|
+
authority: z.ZodString;
|
|
46
|
+
citation: z.ZodString;
|
|
47
|
+
effective: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
authority: string;
|
|
50
|
+
citation: string;
|
|
51
|
+
effective?: string | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
authority: string;
|
|
54
|
+
citation: string;
|
|
55
|
+
effective?: string | undefined;
|
|
56
|
+
}>, "many">>;
|
|
57
|
+
invokedByAgents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
58
|
+
createdAt: z.ZodPipeline<z.ZodString, z.ZodDate>;
|
|
59
|
+
updatedAt: z.ZodPipeline<z.ZodString, z.ZodDate>;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
id: string;
|
|
62
|
+
entityId: string;
|
|
63
|
+
name: string;
|
|
64
|
+
description: string;
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
status: "approved" | "rejected" | "draft";
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
scope: {
|
|
69
|
+
productIds: string[];
|
|
70
|
+
jurisdictions: string[];
|
|
71
|
+
wave: string;
|
|
72
|
+
sourceFilter?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
harvestJobId: string;
|
|
75
|
+
body: string;
|
|
76
|
+
linesOfBusiness: string[];
|
|
77
|
+
regulatoryRefs: {
|
|
78
|
+
authority: string;
|
|
79
|
+
citation: string;
|
|
80
|
+
effective?: string | undefined;
|
|
81
|
+
}[];
|
|
82
|
+
invokedByAgents: string[];
|
|
83
|
+
gcsUri?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
id: string;
|
|
86
|
+
entityId: string;
|
|
87
|
+
name: string;
|
|
88
|
+
description: string;
|
|
89
|
+
createdAt: string;
|
|
90
|
+
status: "approved" | "rejected" | "draft";
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
scope: {
|
|
93
|
+
wave: string;
|
|
94
|
+
productIds?: string[] | undefined;
|
|
95
|
+
jurisdictions?: string[] | undefined;
|
|
96
|
+
sourceFilter?: string | undefined;
|
|
97
|
+
};
|
|
98
|
+
harvestJobId: string;
|
|
99
|
+
body: string;
|
|
100
|
+
gcsUri?: string | undefined;
|
|
101
|
+
linesOfBusiness?: string[] | undefined;
|
|
102
|
+
regulatoryRefs?: {
|
|
103
|
+
authority: string;
|
|
104
|
+
citation: string;
|
|
105
|
+
effective?: string | undefined;
|
|
106
|
+
}[] | undefined;
|
|
107
|
+
invokedByAgents?: string[] | undefined;
|
|
108
|
+
}>;
|
|
109
|
+
export type SkillDraft = z.infer<typeof SkillDraftSchema>;
|
|
110
|
+
export declare const SkillDraftListResponseSchema: z.ZodObject<{
|
|
111
|
+
drafts: z.ZodArray<z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
entityId: z.ZodString;
|
|
114
|
+
harvestJobId: z.ZodString;
|
|
115
|
+
gcsUri: z.ZodOptional<z.ZodString>;
|
|
116
|
+
status: z.ZodEnum<["draft", "approved", "rejected"]>;
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
description: z.ZodString;
|
|
119
|
+
body: z.ZodString;
|
|
120
|
+
scope: z.ZodObject<{
|
|
121
|
+
productIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
122
|
+
jurisdictions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
123
|
+
wave: z.ZodString;
|
|
124
|
+
sourceFilter: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
productIds: string[];
|
|
127
|
+
jurisdictions: string[];
|
|
128
|
+
wave: string;
|
|
129
|
+
sourceFilter?: string | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
wave: string;
|
|
132
|
+
productIds?: string[] | undefined;
|
|
133
|
+
jurisdictions?: string[] | undefined;
|
|
134
|
+
sourceFilter?: string | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
linesOfBusiness: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
137
|
+
regulatoryRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
138
|
+
authority: z.ZodString;
|
|
139
|
+
citation: z.ZodString;
|
|
140
|
+
effective: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
authority: string;
|
|
143
|
+
citation: string;
|
|
144
|
+
effective?: string | undefined;
|
|
145
|
+
}, {
|
|
146
|
+
authority: string;
|
|
147
|
+
citation: string;
|
|
148
|
+
effective?: string | undefined;
|
|
149
|
+
}>, "many">>;
|
|
150
|
+
invokedByAgents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
151
|
+
createdAt: z.ZodPipeline<z.ZodString, z.ZodDate>;
|
|
152
|
+
updatedAt: z.ZodPipeline<z.ZodString, z.ZodDate>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
id: string;
|
|
155
|
+
entityId: string;
|
|
156
|
+
name: string;
|
|
157
|
+
description: string;
|
|
158
|
+
createdAt: Date;
|
|
159
|
+
status: "approved" | "rejected" | "draft";
|
|
160
|
+
updatedAt: Date;
|
|
161
|
+
scope: {
|
|
162
|
+
productIds: string[];
|
|
163
|
+
jurisdictions: string[];
|
|
164
|
+
wave: string;
|
|
165
|
+
sourceFilter?: string | undefined;
|
|
166
|
+
};
|
|
167
|
+
harvestJobId: string;
|
|
168
|
+
body: string;
|
|
169
|
+
linesOfBusiness: string[];
|
|
170
|
+
regulatoryRefs: {
|
|
171
|
+
authority: string;
|
|
172
|
+
citation: string;
|
|
173
|
+
effective?: string | undefined;
|
|
174
|
+
}[];
|
|
175
|
+
invokedByAgents: string[];
|
|
176
|
+
gcsUri?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
id: string;
|
|
179
|
+
entityId: string;
|
|
180
|
+
name: string;
|
|
181
|
+
description: string;
|
|
182
|
+
createdAt: string;
|
|
183
|
+
status: "approved" | "rejected" | "draft";
|
|
184
|
+
updatedAt: string;
|
|
185
|
+
scope: {
|
|
186
|
+
wave: string;
|
|
187
|
+
productIds?: string[] | undefined;
|
|
188
|
+
jurisdictions?: string[] | undefined;
|
|
189
|
+
sourceFilter?: string | undefined;
|
|
190
|
+
};
|
|
191
|
+
harvestJobId: string;
|
|
192
|
+
body: string;
|
|
193
|
+
gcsUri?: string | undefined;
|
|
194
|
+
linesOfBusiness?: string[] | undefined;
|
|
195
|
+
regulatoryRefs?: {
|
|
196
|
+
authority: string;
|
|
197
|
+
citation: string;
|
|
198
|
+
effective?: string | undefined;
|
|
199
|
+
}[] | undefined;
|
|
200
|
+
invokedByAgents?: string[] | undefined;
|
|
201
|
+
}>, "many">;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
drafts: {
|
|
204
|
+
id: string;
|
|
205
|
+
entityId: string;
|
|
206
|
+
name: string;
|
|
207
|
+
description: string;
|
|
208
|
+
createdAt: Date;
|
|
209
|
+
status: "approved" | "rejected" | "draft";
|
|
210
|
+
updatedAt: Date;
|
|
211
|
+
scope: {
|
|
212
|
+
productIds: string[];
|
|
213
|
+
jurisdictions: string[];
|
|
214
|
+
wave: string;
|
|
215
|
+
sourceFilter?: string | undefined;
|
|
216
|
+
};
|
|
217
|
+
harvestJobId: string;
|
|
218
|
+
body: string;
|
|
219
|
+
linesOfBusiness: string[];
|
|
220
|
+
regulatoryRefs: {
|
|
221
|
+
authority: string;
|
|
222
|
+
citation: string;
|
|
223
|
+
effective?: string | undefined;
|
|
224
|
+
}[];
|
|
225
|
+
invokedByAgents: string[];
|
|
226
|
+
gcsUri?: string | undefined;
|
|
227
|
+
}[];
|
|
228
|
+
}, {
|
|
229
|
+
drafts: {
|
|
230
|
+
id: string;
|
|
231
|
+
entityId: string;
|
|
232
|
+
name: string;
|
|
233
|
+
description: string;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
status: "approved" | "rejected" | "draft";
|
|
236
|
+
updatedAt: string;
|
|
237
|
+
scope: {
|
|
238
|
+
wave: string;
|
|
239
|
+
productIds?: string[] | undefined;
|
|
240
|
+
jurisdictions?: string[] | undefined;
|
|
241
|
+
sourceFilter?: string | undefined;
|
|
242
|
+
};
|
|
243
|
+
harvestJobId: string;
|
|
244
|
+
body: string;
|
|
245
|
+
gcsUri?: string | undefined;
|
|
246
|
+
linesOfBusiness?: string[] | undefined;
|
|
247
|
+
regulatoryRefs?: {
|
|
248
|
+
authority: string;
|
|
249
|
+
citation: string;
|
|
250
|
+
effective?: string | undefined;
|
|
251
|
+
}[] | undefined;
|
|
252
|
+
invokedByAgents?: string[] | undefined;
|
|
253
|
+
}[];
|
|
254
|
+
}>;
|
|
255
|
+
export type SkillDraftListResponse = z.infer<typeof SkillDraftListResponseSchema>;
|
|
256
|
+
export declare const SkillDraftUpdateSchema: z.ZodObject<{
|
|
257
|
+
name: z.ZodOptional<z.ZodString>;
|
|
258
|
+
description: z.ZodOptional<z.ZodString>;
|
|
259
|
+
body: z.ZodOptional<z.ZodString>;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
name?: string | undefined;
|
|
262
|
+
description?: string | undefined;
|
|
263
|
+
body?: string | undefined;
|
|
264
|
+
}, {
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
description?: string | undefined;
|
|
267
|
+
body?: string | undefined;
|
|
268
|
+
}>;
|
|
269
|
+
export type SkillDraftUpdate = z.infer<typeof SkillDraftUpdateSchema>;
|
|
270
|
+
export declare function validateSkillDraftUpdate(data: unknown): z.SafeParseReturnType<unknown, SkillDraftUpdate>;
|
|
271
|
+
export declare function isSkillDraftListResponse(value: unknown): value is SkillDraftListResponse;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SkillDraftUpdateSchema = exports.SkillDraftListResponseSchema = exports.SkillDraftSchema = exports.SkillRegulatoryRefSchema = exports.SkillDraftStatusSchema = void 0;
|
|
4
|
+
exports.validateSkillDraftUpdate = validateSkillDraftUpdate;
|
|
5
|
+
exports.isSkillDraftListResponse = isSkillDraftListResponse;
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
const harvest_types_1 = require("./harvest.types");
|
|
8
|
+
exports.SkillDraftStatusSchema = zod_1.z.enum(['draft', 'approved', 'rejected']);
|
|
9
|
+
exports.SkillRegulatoryRefSchema = zod_1.z.object({
|
|
10
|
+
authority: zod_1.z.string().min(1),
|
|
11
|
+
citation: zod_1.z.string().min(1),
|
|
12
|
+
effective: zod_1.z.string().optional(),
|
|
13
|
+
});
|
|
14
|
+
exports.SkillDraftSchema = zod_1.z.object({
|
|
15
|
+
id: zod_1.z.string().min(1),
|
|
16
|
+
entityId: zod_1.z.string().min(1),
|
|
17
|
+
harvestJobId: zod_1.z.string().min(1),
|
|
18
|
+
gcsUri: zod_1.z.string().optional(),
|
|
19
|
+
status: exports.SkillDraftStatusSchema,
|
|
20
|
+
name: zod_1.z
|
|
21
|
+
.string()
|
|
22
|
+
.min(1)
|
|
23
|
+
.max(64)
|
|
24
|
+
.regex(/^[a-z0-9-]+$/, 'lowercase letters, digits, and hyphens only'),
|
|
25
|
+
description: zod_1.z.string().min(1).max(1024),
|
|
26
|
+
body: zod_1.z.string(),
|
|
27
|
+
scope: harvest_types_1.HarvestScopeSchema,
|
|
28
|
+
linesOfBusiness: zod_1.z.array(zod_1.z.string()).default([]),
|
|
29
|
+
regulatoryRefs: zod_1.z.array(exports.SkillRegulatoryRefSchema).default([]),
|
|
30
|
+
invokedByAgents: zod_1.z.array(zod_1.z.string()).default([]),
|
|
31
|
+
createdAt: zod_1.z.string().datetime().pipe(zod_1.z.coerce.date()),
|
|
32
|
+
updatedAt: zod_1.z.string().datetime().pipe(zod_1.z.coerce.date()),
|
|
33
|
+
});
|
|
34
|
+
exports.SkillDraftListResponseSchema = zod_1.z.object({
|
|
35
|
+
drafts: zod_1.z.array(exports.SkillDraftSchema),
|
|
36
|
+
});
|
|
37
|
+
exports.SkillDraftUpdateSchema = zod_1.z.object({
|
|
38
|
+
name: exports.SkillDraftSchema.shape.name.optional(),
|
|
39
|
+
description: exports.SkillDraftSchema.shape.description.optional(),
|
|
40
|
+
body: exports.SkillDraftSchema.shape.body.optional(),
|
|
41
|
+
});
|
|
42
|
+
function validateSkillDraftUpdate(data) {
|
|
43
|
+
return exports.SkillDraftUpdateSchema.safeParse(data);
|
|
44
|
+
}
|
|
45
|
+
function isSkillDraftListResponse(value) {
|
|
46
|
+
return exports.SkillDraftListResponseSchema.safeParse(value).success;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=skill-draft.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-draft.types.js","sourceRoot":"","sources":["../../src/types/skill-draft.types.ts"],"names":[],"mappings":";;;AA4IA,4DAIC;AAKD,4DAEC;AA7HD,6BAAwB;AAExB,mDAAqD;AAYxC,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;AAYnE,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAaU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAE3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAE/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,8BAAsB;IAG9B,IAAI,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,EAAE,CAAC;SACP,KAAK,CAAC,cAAc,EAAE,6CAA6C,CAAC;IACvE,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IAIxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAGhB,KAAK,EAAE,kCAAkB;IAGzB,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAChD,cAAc,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7D,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAShD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACtD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;CACvD,CAAC,CAAC;AASU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC;CAClC,CAAC,CAAC;AAYU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,wBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,wBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE;IAC1D,IAAI,EAAE,wBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAMH,SAAgB,wBAAwB,CACtC,IAAa;IAEb,OAAO,8BAAsB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC;AAKD,SAAgB,wBAAwB,CAAC,KAAc;IACrD,OAAO,oCAA4B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC/D,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { IntrospectedSource } from './introspection.types';
|
|
2
|
+
export type SourceDefinition = IntrospectedSource & {
|
|
3
|
+
id: string;
|
|
4
|
+
};
|
|
5
|
+
export type SourceDefinitionInput = IntrospectedSource;
|
|
6
|
+
export type MappingConfidence = 'high' | 'medium' | 'low';
|
|
7
|
+
export type MappingStatus = 'suggested' | 'confirmed' | 'rejected' | 'manual';
|
|
8
|
+
export type SourceMappingConfigStatus = 'draft' | 'active' | 'archived';
|
|
9
|
+
export interface FieldMapping {
|
|
10
|
+
id: string;
|
|
11
|
+
sourceField: string;
|
|
12
|
+
targetEntityId: string;
|
|
13
|
+
targetAttribute: string;
|
|
14
|
+
status: MappingStatus;
|
|
15
|
+
confidence?: MappingConfidence;
|
|
16
|
+
confidenceScore?: number;
|
|
17
|
+
transform?: string;
|
|
18
|
+
notes?: string;
|
|
19
|
+
updatedAt?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SourceMappingConfig {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
sourceId: string;
|
|
26
|
+
entityModelId: string;
|
|
27
|
+
mappings: FieldMapping[];
|
|
28
|
+
status: SourceMappingConfigStatus;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
createdBy?: string;
|
|
33
|
+
updatedBy?: string;
|
|
34
|
+
version?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface SourceMappingConfigInput {
|
|
37
|
+
name: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
sourceId: string;
|
|
40
|
+
entityModelId: string;
|
|
41
|
+
mappings: FieldMapping[];
|
|
42
|
+
status: SourceMappingConfigStatus;
|
|
43
|
+
}
|
|
44
|
+
export interface ListSourceDefinitionsResponse {
|
|
45
|
+
sources: SourceDefinition[];
|
|
46
|
+
entityId: string;
|
|
47
|
+
count: number;
|
|
48
|
+
}
|
|
49
|
+
export interface GetSourceDefinitionResponse {
|
|
50
|
+
source: SourceDefinition;
|
|
51
|
+
entityId: string;
|
|
52
|
+
}
|
|
53
|
+
export interface SourceDefinitionWriteResponse {
|
|
54
|
+
source: SourceDefinition;
|
|
55
|
+
entityId: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ListMappingConfigsResponse {
|
|
58
|
+
configs: SourceMappingConfig[];
|
|
59
|
+
entityId: string;
|
|
60
|
+
count: number;
|
|
61
|
+
}
|
|
62
|
+
export interface GetMappingConfigResponse {
|
|
63
|
+
config: SourceMappingConfig;
|
|
64
|
+
entityId: string;
|
|
65
|
+
}
|
|
66
|
+
export interface MappingConfigWriteResponse {
|
|
67
|
+
config: SourceMappingConfig;
|
|
68
|
+
entityId: string;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-mapping.types.js","sourceRoot":"","sources":["../../src/types/source-mapping.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SynthesisModeSchema: z.ZodEnum<["document_derived", "sme_authored"]>;
|
|
3
|
+
export type SynthesisMode = z.infer<typeof SynthesisModeSchema>;
|
|
4
|
+
export declare const SmeIntentSchema: z.ZodObject<{
|
|
5
|
+
intent: z.ZodString;
|
|
6
|
+
context: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
intent: string;
|
|
9
|
+
context?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
intent: string;
|
|
12
|
+
context?: string | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export type SmeIntent = z.infer<typeof SmeIntentSchema>;
|
|
15
|
+
export declare const SynthesizeJobBodySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
16
|
+
mode: z.ZodDefault<z.ZodEnum<["document_derived", "sme_authored"]>>;
|
|
17
|
+
snapshotId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
smeIntents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
|
+
intent: z.ZodString;
|
|
20
|
+
context: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, "strict", z.ZodTypeAny, {
|
|
22
|
+
intent: string;
|
|
23
|
+
context?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
intent: string;
|
|
26
|
+
context?: string | undefined;
|
|
27
|
+
}>, "many">>;
|
|
28
|
+
}, "strict", z.ZodTypeAny, {
|
|
29
|
+
mode: "document_derived" | "sme_authored";
|
|
30
|
+
snapshotId?: string | undefined;
|
|
31
|
+
smeIntents?: {
|
|
32
|
+
intent: string;
|
|
33
|
+
context?: string | undefined;
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
mode?: "document_derived" | "sme_authored" | undefined;
|
|
37
|
+
snapshotId?: string | undefined;
|
|
38
|
+
smeIntents?: {
|
|
39
|
+
intent: string;
|
|
40
|
+
context?: string | undefined;
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
mode: "document_derived" | "sme_authored";
|
|
44
|
+
snapshotId?: string | undefined;
|
|
45
|
+
smeIntents?: {
|
|
46
|
+
intent: string;
|
|
47
|
+
context?: string | undefined;
|
|
48
|
+
}[] | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
mode?: "document_derived" | "sme_authored" | undefined;
|
|
51
|
+
snapshotId?: string | undefined;
|
|
52
|
+
smeIntents?: {
|
|
53
|
+
intent: string;
|
|
54
|
+
context?: string | undefined;
|
|
55
|
+
}[] | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
mode: "document_derived" | "sme_authored";
|
|
58
|
+
snapshotId?: string | undefined;
|
|
59
|
+
smeIntents?: {
|
|
60
|
+
intent: string;
|
|
61
|
+
context?: string | undefined;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
mode?: "document_derived" | "sme_authored" | undefined;
|
|
65
|
+
snapshotId?: string | undefined;
|
|
66
|
+
smeIntents?: {
|
|
67
|
+
intent: string;
|
|
68
|
+
context?: string | undefined;
|
|
69
|
+
}[] | undefined;
|
|
70
|
+
}>;
|
|
71
|
+
export type SynthesizeJobBody = z.infer<typeof SynthesizeJobBodySchema>;
|
|
72
|
+
export declare const SynthesizeJobAcceptedResponseSchema: z.ZodObject<{
|
|
73
|
+
accepted: z.ZodLiteral<true>;
|
|
74
|
+
jobId: z.ZodString;
|
|
75
|
+
synthesisId: z.ZodString;
|
|
76
|
+
snapshotId: z.ZodString;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
accepted: true;
|
|
79
|
+
snapshotId: string;
|
|
80
|
+
jobId: string;
|
|
81
|
+
synthesisId: string;
|
|
82
|
+
}, {
|
|
83
|
+
accepted: true;
|
|
84
|
+
snapshotId: string;
|
|
85
|
+
jobId: string;
|
|
86
|
+
synthesisId: string;
|
|
87
|
+
}>;
|
|
88
|
+
export type SynthesizeJobAcceptedResponse = z.infer<typeof SynthesizeJobAcceptedResponseSchema>;
|
|
89
|
+
export declare function validateSynthesizeJobBody(data: unknown): z.SafeParseReturnType<unknown, SynthesizeJobBody>;
|
|
90
|
+
export declare function isSynthesizeJobAcceptedResponse(value: unknown): value is SynthesizeJobAcceptedResponse;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SynthesizeJobAcceptedResponseSchema = exports.SynthesizeJobBodySchema = exports.SmeIntentSchema = exports.SynthesisModeSchema = void 0;
|
|
4
|
+
exports.validateSynthesizeJobBody = validateSynthesizeJobBody;
|
|
5
|
+
exports.isSynthesizeJobAcceptedResponse = isSynthesizeJobAcceptedResponse;
|
|
6
|
+
const zod_1 = require("zod");
|
|
7
|
+
exports.SynthesisModeSchema = zod_1.z.enum(['document_derived', 'sme_authored']);
|
|
8
|
+
exports.SmeIntentSchema = zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
intent: zod_1.z.string().min(1, 'intent must be non-empty'),
|
|
11
|
+
context: zod_1.z.string().optional(),
|
|
12
|
+
})
|
|
13
|
+
.strict();
|
|
14
|
+
exports.SynthesizeJobBodySchema = zod_1.z
|
|
15
|
+
.object({
|
|
16
|
+
mode: exports.SynthesisModeSchema.default('document_derived'),
|
|
17
|
+
snapshotId: zod_1.z.string().uuid().optional(),
|
|
18
|
+
smeIntents: zod_1.z.array(exports.SmeIntentSchema).min(1).optional(),
|
|
19
|
+
})
|
|
20
|
+
.strict()
|
|
21
|
+
.refine((data) => data.mode !== 'sme_authored' || (data.smeIntents && data.smeIntents.length > 0), {
|
|
22
|
+
message: 'smeIntents must be a non-empty array when mode is sme_authored',
|
|
23
|
+
path: ['smeIntents'],
|
|
24
|
+
})
|
|
25
|
+
.refine((data) => data.mode === 'sme_authored' || !data.smeIntents, {
|
|
26
|
+
message: 'smeIntents is only valid when mode is sme_authored',
|
|
27
|
+
path: ['smeIntents'],
|
|
28
|
+
});
|
|
29
|
+
exports.SynthesizeJobAcceptedResponseSchema = zod_1.z.object({
|
|
30
|
+
accepted: zod_1.z.literal(true),
|
|
31
|
+
jobId: zod_1.z.string().min(1),
|
|
32
|
+
synthesisId: zod_1.z.string().min(1),
|
|
33
|
+
snapshotId: zod_1.z.string().min(1),
|
|
34
|
+
});
|
|
35
|
+
function validateSynthesizeJobBody(data) {
|
|
36
|
+
return exports.SynthesizeJobBodySchema.safeParse(data);
|
|
37
|
+
}
|
|
38
|
+
function isSynthesizeJobAcceptedResponse(value) {
|
|
39
|
+
return exports.SynthesizeJobAcceptedResponseSchema.safeParse(value).success;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=synthesize.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synthesize.types.js","sourceRoot":"","sources":["../../src/types/synthesize.types.ts"],"names":[],"mappings":";;;AA8HA,8DAIC;AAKD,0EAIC;AA1HD,6BAAwB;AAiBX,QAAA,mBAAmB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC,CAAC;AAYnE,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,CAAC;IACN,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,0BAA0B,CAAC;IACrD,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC;KACD,MAAM,EAAE,CAAC;AA0BC,QAAA,uBAAuB,GAAG,OAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,2BAAmB,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC;KACD,MAAM,EAAE;KACR,MAAM,CACL,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,EACzF;IACE,OAAO,EAAE,gEAAgE;IACzE,IAAI,EAAE,CAAC,YAAY,CAAC;CACrB,CACF;KACA,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;IAClE,OAAO,EAAE,oDAAoD;IAC7D,IAAI,EAAE,CAAC,YAAY,CAAC;CACrB,CAAC,CAAC;AAcQ,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,QAAQ,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9B,CAAC,CAAC;AAaH,SAAgB,yBAAyB,CACvC,IAAa;IAEb,OAAO,+BAAuB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACjD,CAAC;AAKD,SAAgB,+BAA+B,CAC7C,KAAc;IAEd,OAAO,2CAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACtE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface WizardAssistantMessage {
|
|
2
|
+
role: 'user' | 'assistant';
|
|
3
|
+
content: string | unknown[];
|
|
4
|
+
}
|
|
5
|
+
export interface WizardAssistantToolCall {
|
|
6
|
+
name: string;
|
|
7
|
+
input: unknown;
|
|
8
|
+
result: string;
|
|
9
|
+
isError: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface WizardAssistantTurnBody {
|
|
12
|
+
userMessage: string;
|
|
13
|
+
history?: WizardAssistantMessage[];
|
|
14
|
+
system?: string;
|
|
15
|
+
model?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WizardAssistantTurnResponse {
|
|
18
|
+
entityId: string;
|
|
19
|
+
agentId: string;
|
|
20
|
+
performedBy: string;
|
|
21
|
+
text: string;
|
|
22
|
+
toolCalls: WizardAssistantToolCall[];
|
|
23
|
+
messages: WizardAssistantMessage[];
|
|
24
|
+
hitIterationCap: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wizard-assistant.types.js","sourceRoot":"","sources":["../../src/types/wizard-assistant.types.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@criticalbridge/brain-client",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Typed HTTP client for the CriticalBridge Cloud Brain Coordinator API. Used by Electron, the Agent Portal, the conformance sidecar, and any other surface that calls the cloud Brain.",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc --build --force",
|
|
20
|
+
"dev": "tsc --watch",
|
|
21
|
+
"typecheck": "tsc --noEmit",
|
|
22
|
+
"test": "jest",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"criticalbridge",
|
|
27
|
+
"brain-coordinator",
|
|
28
|
+
"agent",
|
|
29
|
+
"api-client"
|
|
30
|
+
],
|
|
31
|
+
"license": "Apache-2.0",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/fburkitt/CriticalBridgeApp.git",
|
|
35
|
+
"directory": "packages/brain-client"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/fburkitt/CriticalBridgeApp/tree/main/packages/brain-client#readme",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/fburkitt/CriticalBridgeApp/issues"
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"undici": "6.25.0",
|
|
46
|
+
"zod": "3.25.76"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/jest": "^29.5.12",
|
|
50
|
+
"@types/node": "^20.11.0",
|
|
51
|
+
"jest": "^29.7.0",
|
|
52
|
+
"ts-jest": "^29.1.2",
|
|
53
|
+
"typescript": "5.8.3"
|
|
54
|
+
}
|
|
55
|
+
}
|