@rizom/brain 0.2.0-alpha.133 → 0.2.0-alpha.135
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/brain.js +1055 -1055
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins.d.ts +68 -68
- package/dist/plugins.js +76 -76
- package/dist/plugins.js.map +6 -4
- package/dist/site.js +142 -142
- package/dist/site.js.map +7 -7
- package/package.json +1 -1
- package/dist/seed-content/rover-seed-content-core/playbook/rover-first-knowledge-loop.md +0 -89
- package/dist/seed-content/rover-seed-content-core/playbook/rover-onboarding.md +0 -116
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
function i(t){return t}var e={name:"@rizom/brain",version:"0.2.0-alpha.
|
|
2
|
+
function i(t){return t}var e={name:"@rizom/brain",version:"0.2.0-alpha.135",description:"Brain runtime + CLI \u2014 scaffold, run, and manage AI brain instances",type:"module",bin:{brain:"./dist/brain.js"},exports:{".":{types:"./dist/index.d.ts",import:"./dist/index.js"},"./cli":"./dist/brain.js","./plugins":{types:"./dist/plugins.d.ts",import:"./dist/plugins.js"},"./entities":{types:"./dist/entities.d.ts",import:"./dist/entities.js"},"./services":{types:"./dist/services.d.ts",import:"./dist/services.js"},"./interfaces":{types:"./dist/interfaces.d.ts",import:"./dist/interfaces.js"},"./templates":{types:"./dist/templates.d.ts",import:"./dist/templates.js"},"./site":{types:"./dist/site.d.ts",import:"./dist/site.js"},"./themes":{types:"./dist/themes.d.ts",import:"./dist/themes.js"},"./deploy":{types:"./dist/deploy.d.ts",import:"./dist/deploy.js"},"./tsconfig.instance.json":"./tsconfig.instance.json"},files:["dist","templates","tsconfig.instance.json"],scripts:{build:"bun scripts/build.ts",prepublishOnly:"bun scripts/build.ts","dev:start":"bun scripts/build.ts && bun dist/brain.js start",typecheck:"tsc --noEmit",test:"bun test",lint:"eslint . --ext .ts"},dependencies:{"@clack/prompts":"^0.11.0","@modelcontextprotocol/sdk":"^1.24.0","@tailwindcss/postcss":"^4.1.13","@tailwindcss/typography":"^0.5.19",postcss:"^8.5.6",preact:"^10.27.2","preact-render-to-string":"^6.3.1",tailwindcss:"^4.1.11"},optionalDependencies:{"@bitwarden/sdk-napi":"^1.0.0","@libsql/client":"^0.15.7","@tailwindcss/oxide":"^4.1.4","better-sqlite3":"^11.8.1",lightningcss:"^1.29.2","playwright-core":"^1.56.0","react-devtools-core":"^6.1.1",sharp:"^0.34.5"},devDependencies:{"@brains/app":"workspace:*","@brains/content-formatters":"workspace:*","@brains/deploy-support":"workspace:*","@brains/eslint-config":"workspace:*","@brains/mcp-service":"workspace:*","@brains/plugins":"workspace:*","@brains/ranger":"workspace:*","@brains/relay":"workspace:*","@brains/rover":"workspace:*","@brains/site-composition":"workspace:*","@brains/site-default":"workspace:*","@brains/site-personal":"workspace:*","@brains/site-professional":"workspace:*","@brains/theme-default":"workspace:*","@brains/theme-rizom":"workspace:*","@brains/typescript-config":"workspace:*","@brains/utils":"workspace:*","@types/bun":"latest",rollup:"^4.60.2","rollup-plugin-dts":"^6.4.1",typescript:"^5.3.3"},publishConfig:{access:"public"},repository:{type:"git",url:"https://github.com/rizom-ai/brains.git",directory:"packages/brain-cli"},license:"Apache-2.0",author:"Yeehaa <yeehaa@rizom.ai> (https://rizom.ai)",homepage:"https://github.com/rizom-ai/brains/tree/main/packages/brain-cli#readme",bugs:"https://github.com/rizom-ai/brains/issues",engines:{bun:">=1.3.3"},keywords:["brain","ai","cli","mcp","agent","personal-ai","knowledge-management"]};var n=e.version;export{i as defineBrain,n as PLUGIN_API_VERSION};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=9F78C3DD0D02A9EA64756E2164756E21
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
"import packageJson from \"../package.json\" with { type: \"json\" };\n\n/**\n * Pre-v1 external plugin API marker.\n *\n * During alpha, the external plugin API compatibility marker tracks the\n * published @rizom/brain package version. Once the plugin API is declared\n * stable, this can move to an independent semver contract such as 1.0.0.\n */\nexport const PLUGIN_API_VERSION = packageJson.version;\n"
|
|
7
7
|
],
|
|
8
8
|
"mappings": ";AAsEO,SAAS,CAAW,CAAC,EAA8C,CACxE,OAAO,iuFC9DF,IAAM,EAAqB,EAAY",
|
|
9
|
-
"debugId": "
|
|
9
|
+
"debugId": "9F78C3DD0D02A9EA64756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1149,16 +1149,16 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1149
1149
|
isBot: z.ZodOptional<z.ZodBoolean>;
|
|
1150
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1151
1151
|
interfaceType: string;
|
|
1152
|
-
role: "user" | "assistant";
|
|
1153
1152
|
actorId: string;
|
|
1153
|
+
role: "user" | "assistant";
|
|
1154
1154
|
canonicalId?: string | undefined;
|
|
1155
1155
|
displayName?: string | undefined;
|
|
1156
1156
|
username?: string | undefined;
|
|
1157
1157
|
isBot?: boolean | undefined;
|
|
1158
1158
|
}, {
|
|
1159
1159
|
interfaceType: string;
|
|
1160
|
-
role: "user" | "assistant";
|
|
1161
1160
|
actorId: string;
|
|
1161
|
+
role: "user" | "assistant";
|
|
1162
1162
|
canonicalId?: string | undefined;
|
|
1163
1163
|
displayName?: string | undefined;
|
|
1164
1164
|
username?: string | undefined;
|
|
@@ -1173,15 +1173,15 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1173
1173
|
}, "strip", z.ZodTypeAny, {
|
|
1174
1174
|
channelId?: string | undefined;
|
|
1175
1175
|
channelName?: string | undefined;
|
|
1176
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1177
1176
|
messageId?: string | undefined;
|
|
1178
1177
|
threadId?: string | undefined;
|
|
1178
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1179
1179
|
}, {
|
|
1180
1180
|
channelId?: string | undefined;
|
|
1181
1181
|
channelName?: string | undefined;
|
|
1182
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1183
1182
|
messageId?: string | undefined;
|
|
1184
1183
|
threadId?: string | undefined;
|
|
1184
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1185
1185
|
}>>;
|
|
1186
1186
|
attachments: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1187
1187
|
kind: z.ZodLiteral<"text">;
|
|
@@ -1193,32 +1193,32 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1193
1193
|
kind: z.ZodString;
|
|
1194
1194
|
id: z.ZodString;
|
|
1195
1195
|
}, "strip", z.ZodTypeAny, {
|
|
1196
|
-
id: string;
|
|
1197
1196
|
kind: string;
|
|
1198
|
-
}, {
|
|
1199
1197
|
id: string;
|
|
1198
|
+
}, {
|
|
1200
1199
|
kind: string;
|
|
1200
|
+
id: string;
|
|
1201
1201
|
}>>;
|
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1203
1203
|
kind: "text";
|
|
1204
|
-
content: string;
|
|
1205
1204
|
filename: string;
|
|
1206
1205
|
mediaType: string;
|
|
1206
|
+
content: string;
|
|
1207
|
+
sizeBytes?: number | undefined;
|
|
1207
1208
|
source?: {
|
|
1208
|
-
id: string;
|
|
1209
1209
|
kind: string;
|
|
1210
|
+
id: string;
|
|
1210
1211
|
} | undefined;
|
|
1211
|
-
sizeBytes?: number | undefined;
|
|
1212
1212
|
}, {
|
|
1213
1213
|
kind: "text";
|
|
1214
|
-
content: string;
|
|
1215
1214
|
filename: string;
|
|
1216
1215
|
mediaType: string;
|
|
1216
|
+
content: string;
|
|
1217
|
+
sizeBytes?: number | undefined;
|
|
1217
1218
|
source?: {
|
|
1218
|
-
id: string;
|
|
1219
1219
|
kind: string;
|
|
1220
|
+
id: string;
|
|
1220
1221
|
} | undefined;
|
|
1221
|
-
sizeBytes?: number | undefined;
|
|
1222
1222
|
}>, z.ZodObject<{
|
|
1223
1223
|
kind: z.ZodLiteral<"file">;
|
|
1224
1224
|
filename: z.ZodString;
|
|
@@ -1229,49 +1229,49 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1229
1229
|
kind: z.ZodString;
|
|
1230
1230
|
id: z.ZodString;
|
|
1231
1231
|
}, "strip", z.ZodTypeAny, {
|
|
1232
|
-
id: string;
|
|
1233
1232
|
kind: string;
|
|
1234
|
-
}, {
|
|
1235
1233
|
id: string;
|
|
1234
|
+
}, {
|
|
1236
1235
|
kind: string;
|
|
1236
|
+
id: string;
|
|
1237
1237
|
}>>;
|
|
1238
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1239
1239
|
kind: "file";
|
|
1240
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
1241
1240
|
filename: string;
|
|
1242
1241
|
mediaType: string;
|
|
1242
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
1243
|
+
sizeBytes?: number | undefined;
|
|
1243
1244
|
source?: {
|
|
1244
|
-
id: string;
|
|
1245
1245
|
kind: string;
|
|
1246
|
+
id: string;
|
|
1246
1247
|
} | undefined;
|
|
1247
|
-
sizeBytes?: number | undefined;
|
|
1248
1248
|
}, {
|
|
1249
1249
|
kind: "file";
|
|
1250
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
1251
1250
|
filename: string;
|
|
1252
1251
|
mediaType: string;
|
|
1252
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
1253
|
+
sizeBytes?: number | undefined;
|
|
1253
1254
|
source?: {
|
|
1254
|
-
id: string;
|
|
1255
1255
|
kind: string;
|
|
1256
|
+
id: string;
|
|
1256
1257
|
} | undefined;
|
|
1257
|
-
sizeBytes?: number | undefined;
|
|
1258
1258
|
}>]>, "many">>;
|
|
1259
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1260
|
-
interfaceType?: string | undefined;
|
|
1261
|
-
channelId?: string | undefined;
|
|
1262
|
-
channelName?: string | undefined;
|
|
1263
1260
|
source?: {
|
|
1264
1261
|
channelId?: string | undefined;
|
|
1265
1262
|
channelName?: string | undefined;
|
|
1266
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1267
1263
|
messageId?: string | undefined;
|
|
1268
1264
|
threadId?: string | undefined;
|
|
1265
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1269
1266
|
} | undefined;
|
|
1270
1267
|
userPermissionLevel?: "anchor" | "trusted" | "public" | undefined;
|
|
1268
|
+
interfaceType?: string | undefined;
|
|
1269
|
+
channelId?: string | undefined;
|
|
1270
|
+
channelName?: string | undefined;
|
|
1271
1271
|
actor?: {
|
|
1272
1272
|
interfaceType: string;
|
|
1273
|
-
role: "user" | "assistant";
|
|
1274
1273
|
actorId: string;
|
|
1274
|
+
role: "user" | "assistant";
|
|
1275
1275
|
canonicalId?: string | undefined;
|
|
1276
1276
|
displayName?: string | undefined;
|
|
1277
1277
|
username?: string | undefined;
|
|
@@ -1279,41 +1279,41 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
attachments?: ({
|
|
1281
1281
|
kind: "text";
|
|
1282
|
-
content: string;
|
|
1283
1282
|
filename: string;
|
|
1284
1283
|
mediaType: string;
|
|
1284
|
+
content: string;
|
|
1285
|
+
sizeBytes?: number | undefined;
|
|
1285
1286
|
source?: {
|
|
1286
|
-
id: string;
|
|
1287
1287
|
kind: string;
|
|
1288
|
+
id: string;
|
|
1288
1289
|
} | undefined;
|
|
1289
|
-
sizeBytes?: number | undefined;
|
|
1290
1290
|
} | {
|
|
1291
1291
|
kind: "file";
|
|
1292
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
1293
1292
|
filename: string;
|
|
1294
1293
|
mediaType: string;
|
|
1294
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
1295
|
+
sizeBytes?: number | undefined;
|
|
1295
1296
|
source?: {
|
|
1296
|
-
id: string;
|
|
1297
1297
|
kind: string;
|
|
1298
|
+
id: string;
|
|
1298
1299
|
} | undefined;
|
|
1299
|
-
sizeBytes?: number | undefined;
|
|
1300
1300
|
})[] | undefined;
|
|
1301
1301
|
}, {
|
|
1302
|
-
interfaceType?: string | undefined;
|
|
1303
|
-
channelId?: string | undefined;
|
|
1304
|
-
channelName?: string | undefined;
|
|
1305
1302
|
source?: {
|
|
1306
1303
|
channelId?: string | undefined;
|
|
1307
1304
|
channelName?: string | undefined;
|
|
1308
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1309
1305
|
messageId?: string | undefined;
|
|
1310
1306
|
threadId?: string | undefined;
|
|
1307
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1311
1308
|
} | undefined;
|
|
1312
1309
|
userPermissionLevel?: "anchor" | "trusted" | "public" | undefined;
|
|
1310
|
+
interfaceType?: string | undefined;
|
|
1311
|
+
channelId?: string | undefined;
|
|
1312
|
+
channelName?: string | undefined;
|
|
1313
1313
|
actor?: {
|
|
1314
1314
|
interfaceType: string;
|
|
1315
|
-
role: "user" | "assistant";
|
|
1316
1315
|
actorId: string;
|
|
1316
|
+
role: "user" | "assistant";
|
|
1317
1317
|
canonicalId?: string | undefined;
|
|
1318
1318
|
displayName?: string | undefined;
|
|
1319
1319
|
username?: string | undefined;
|
|
@@ -1321,24 +1321,24 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
1321
1321
|
} | undefined;
|
|
1322
1322
|
attachments?: ({
|
|
1323
1323
|
kind: "text";
|
|
1324
|
-
content: string;
|
|
1325
1324
|
filename: string;
|
|
1326
1325
|
mediaType: string;
|
|
1326
|
+
content: string;
|
|
1327
|
+
sizeBytes?: number | undefined;
|
|
1327
1328
|
source?: {
|
|
1328
|
-
id: string;
|
|
1329
1329
|
kind: string;
|
|
1330
|
+
id: string;
|
|
1330
1331
|
} | undefined;
|
|
1331
|
-
sizeBytes?: number | undefined;
|
|
1332
1332
|
} | {
|
|
1333
1333
|
kind: "file";
|
|
1334
|
-
data: Uint8Array<ArrayBufferLike>;
|
|
1335
1334
|
filename: string;
|
|
1336
1335
|
mediaType: string;
|
|
1336
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
1337
|
+
sizeBytes?: number | undefined;
|
|
1337
1338
|
source?: {
|
|
1338
|
-
id: string;
|
|
1339
1339
|
kind: string;
|
|
1340
|
+
id: string;
|
|
1340
1341
|
} | undefined;
|
|
1341
|
-
sizeBytes?: number | undefined;
|
|
1342
1342
|
})[] | undefined;
|
|
1343
1343
|
}>;
|
|
1344
1344
|
type ChatContext = z.infer<typeof ChatContextSchema>;
|
|
@@ -1445,21 +1445,21 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1445
1445
|
visibility: z.ZodDefault<z.ZodEnum<["anchor", "trusted", "public"]>>;
|
|
1446
1446
|
status: z.ZodDefault<z.ZodEnum<["available", "coming-soon", "disabled"]>>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1449
|
+
id: string;
|
|
1448
1450
|
status: "available" | "coming-soon" | "disabled";
|
|
1449
1451
|
pluginId: string;
|
|
1450
1452
|
label: string;
|
|
1451
1453
|
priority: number;
|
|
1452
1454
|
visibility: "anchor" | "trusted" | "public";
|
|
1453
|
-
id: string;
|
|
1454
1455
|
href: string;
|
|
1455
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1456
1456
|
description?: string | undefined;
|
|
1457
1457
|
}, {
|
|
1458
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1459
|
+
id: string;
|
|
1458
1460
|
pluginId: string;
|
|
1459
1461
|
label: string;
|
|
1460
|
-
id: string;
|
|
1461
1462
|
href: string;
|
|
1462
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1463
1463
|
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
1464
1464
|
priority?: number | undefined;
|
|
1465
1465
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
@@ -1498,14 +1498,14 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1498
1498
|
visibility: "anchor" | "trusted" | "public";
|
|
1499
1499
|
}[];
|
|
1500
1500
|
interactions: {
|
|
1501
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1502
|
+
id: string;
|
|
1501
1503
|
status: "available" | "coming-soon" | "disabled";
|
|
1502
1504
|
pluginId: string;
|
|
1503
1505
|
label: string;
|
|
1504
1506
|
priority: number;
|
|
1505
1507
|
visibility: "anchor" | "trusted" | "public";
|
|
1506
|
-
id: string;
|
|
1507
1508
|
href: string;
|
|
1508
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1509
1509
|
description?: string | undefined;
|
|
1510
1510
|
}[];
|
|
1511
1511
|
}, {
|
|
@@ -1541,11 +1541,11 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1541
1541
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
1542
1542
|
}[];
|
|
1543
1543
|
interactions: {
|
|
1544
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1545
|
+
id: string;
|
|
1544
1546
|
pluginId: string;
|
|
1545
1547
|
label: string;
|
|
1546
|
-
id: string;
|
|
1547
1548
|
href: string;
|
|
1548
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1549
1549
|
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
1550
1550
|
priority?: number | undefined;
|
|
1551
1551
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
@@ -1567,25 +1567,25 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
1567
1567
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1568
1568
|
}, "strip", z.ZodTypeAny, {
|
|
1569
1569
|
id: string;
|
|
1570
|
-
sessionId: string;
|
|
1571
1570
|
interfaceType: string;
|
|
1572
1571
|
channelId: string;
|
|
1572
|
+
metadata: Record<string, unknown>;
|
|
1573
|
+
sessionId: string;
|
|
1573
1574
|
startedAt: string;
|
|
1574
1575
|
lastActiveAt: string;
|
|
1575
1576
|
createdAt: string;
|
|
1576
1577
|
updatedAt: string;
|
|
1577
|
-
metadata: Record<string, unknown>;
|
|
1578
1578
|
channelName?: string | undefined;
|
|
1579
1579
|
}, {
|
|
1580
1580
|
id: string;
|
|
1581
|
-
sessionId: string;
|
|
1582
1581
|
interfaceType: string;
|
|
1583
1582
|
channelId: string;
|
|
1583
|
+
metadata: Record<string, unknown>;
|
|
1584
|
+
sessionId: string;
|
|
1584
1585
|
startedAt: string;
|
|
1585
1586
|
lastActiveAt: string;
|
|
1586
1587
|
createdAt: string;
|
|
1587
1588
|
updatedAt: string;
|
|
1588
|
-
metadata: Record<string, unknown>;
|
|
1589
1589
|
channelName?: string | undefined;
|
|
1590
1590
|
}>;
|
|
1591
1591
|
type Conversation = z.infer<typeof ConversationSchema>;
|
|
@@ -1598,17 +1598,17 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1598
1598
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1599
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1600
1600
|
id: string;
|
|
1601
|
+
content: string;
|
|
1602
|
+
role: "user" | "assistant";
|
|
1601
1603
|
metadata: Record<string, unknown>;
|
|
1602
1604
|
conversationId: string;
|
|
1603
|
-
role: "user" | "assistant";
|
|
1604
|
-
content: string;
|
|
1605
1605
|
timestamp: string;
|
|
1606
1606
|
}, {
|
|
1607
1607
|
id: string;
|
|
1608
|
+
content: string;
|
|
1609
|
+
role: "user" | "assistant";
|
|
1608
1610
|
metadata: Record<string, unknown>;
|
|
1609
1611
|
conversationId: string;
|
|
1610
|
-
role: "user" | "assistant";
|
|
1611
|
-
content: string;
|
|
1612
1612
|
timestamp: string;
|
|
1613
1613
|
}>;
|
|
1614
1614
|
type Message = z.infer<typeof MessageSchema>;
|
|
@@ -1620,13 +1620,13 @@ declare const BrainCharacterSchema: z.ZodObject<{
|
|
|
1620
1620
|
values: z.ZodArray<z.ZodString, "many">;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1622
|
values: string[];
|
|
1623
|
-
name: string;
|
|
1624
1623
|
role: string;
|
|
1624
|
+
name: string;
|
|
1625
1625
|
purpose: string;
|
|
1626
1626
|
}, {
|
|
1627
1627
|
values: string[];
|
|
1628
|
-
name: string;
|
|
1629
1628
|
role: string;
|
|
1629
|
+
name: string;
|
|
1630
1630
|
purpose: string;
|
|
1631
1631
|
}>;
|
|
1632
1632
|
type BrainCharacter = z.infer<typeof BrainCharacterSchema>;
|
|
@@ -1652,8 +1652,8 @@ declare const AnchorProfileSchema: z.ZodObject<{
|
|
|
1652
1652
|
label?: string | undefined;
|
|
1653
1653
|
}>, "many">>;
|
|
1654
1654
|
}, "strip", z.ZodTypeAny, {
|
|
1655
|
-
name: string;
|
|
1656
1655
|
kind: "professional" | "team" | "collective";
|
|
1656
|
+
name: string;
|
|
1657
1657
|
description?: string | undefined;
|
|
1658
1658
|
organization?: string | undefined;
|
|
1659
1659
|
avatar?: string | undefined;
|
|
@@ -1665,8 +1665,8 @@ declare const AnchorProfileSchema: z.ZodObject<{
|
|
|
1665
1665
|
label?: string | undefined;
|
|
1666
1666
|
}[] | undefined;
|
|
1667
1667
|
}, {
|
|
1668
|
-
name: string;
|
|
1669
1668
|
kind: "professional" | "team" | "collective";
|
|
1669
|
+
name: string;
|
|
1670
1670
|
description?: string | undefined;
|
|
1671
1671
|
organization?: string | undefined;
|
|
1672
1672
|
avatar?: string | undefined;
|
|
@@ -1696,12 +1696,12 @@ declare const MessageResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1696
1696
|
error: z.ZodOptional<z.ZodString>;
|
|
1697
1697
|
}, "strip", z.ZodTypeAny, {
|
|
1698
1698
|
success: boolean;
|
|
1699
|
-
error?: string | undefined;
|
|
1700
1699
|
data?: unknown;
|
|
1700
|
+
error?: string | undefined;
|
|
1701
1701
|
}, {
|
|
1702
1702
|
success: boolean;
|
|
1703
|
-
error?: string | undefined;
|
|
1704
1703
|
data?: unknown;
|
|
1704
|
+
error?: string | undefined;
|
|
1705
1705
|
}>, z.ZodObject<{
|
|
1706
1706
|
noop: z.ZodLiteral<true>;
|
|
1707
1707
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1725,17 +1725,17 @@ declare const BaseMessageSchema: z.ZodObject<{
|
|
|
1725
1725
|
target: z.ZodOptional<z.ZodString>;
|
|
1726
1726
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1727
1727
|
}, "strip", z.ZodTypeAny, {
|
|
1728
|
-
type: string;
|
|
1729
1728
|
id: string;
|
|
1730
|
-
|
|
1729
|
+
type: string;
|
|
1731
1730
|
source: string;
|
|
1731
|
+
timestamp: string;
|
|
1732
1732
|
metadata?: Record<string, unknown> | undefined;
|
|
1733
1733
|
target?: string | undefined;
|
|
1734
1734
|
}, {
|
|
1735
|
-
type: string;
|
|
1736
1735
|
id: string;
|
|
1737
|
-
|
|
1736
|
+
type: string;
|
|
1738
1737
|
source: string;
|
|
1738
|
+
timestamp: string;
|
|
1739
1739
|
metadata?: Record<string, unknown> | undefined;
|
|
1740
1740
|
target?: string | undefined;
|
|
1741
1741
|
}>;
|