@rizom/brain 0.2.0-alpha.102 → 0.2.0-alpha.104
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 +1448 -791
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins.d.ts +104 -48
- package/dist/plugins.js +46 -46
- package/dist/plugins.js.map +3 -3
- package/dist/site.js +605 -431
- package/dist/site.js.map +29 -27
- package/dist/ui/app.js +32 -32
- package/dist/ui/app.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
function t(i){return i}var e={name:"@rizom/brain",version:"0.2.0-alpha.
|
|
2
|
+
function t(i){return i}var e={name:"@rizom/brain",version:"0.2.0-alpha.104",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{t as defineBrain,n as PLUGIN_API_VERSION};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
4
|
+
//# debugId=0E54CBAB182483C264756E2164756E21
|
|
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": ";AAkEO,SAAS,CAAW,CAAC,EAA8C,CACxE,OAAO,iuFC1DF,IAAM,EAAqB,EAAY",
|
|
9
|
-
"debugId": "
|
|
9
|
+
"debugId": "0E54CBAB182483C264756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
package/dist/plugins.d.ts
CHANGED
|
@@ -574,6 +574,42 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
574
574
|
kind: string;
|
|
575
575
|
id: string;
|
|
576
576
|
} | undefined;
|
|
577
|
+
}>, z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"file">;
|
|
579
|
+
filename: z.ZodString;
|
|
580
|
+
mediaType: z.ZodString;
|
|
581
|
+
data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
|
|
582
|
+
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
584
|
+
kind: z.ZodString;
|
|
585
|
+
id: z.ZodString;
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
kind: string;
|
|
588
|
+
id: string;
|
|
589
|
+
}, {
|
|
590
|
+
kind: string;
|
|
591
|
+
id: string;
|
|
592
|
+
}>>;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
kind: "file";
|
|
595
|
+
filename: string;
|
|
596
|
+
mediaType: string;
|
|
597
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
598
|
+
sizeBytes?: number | undefined;
|
|
599
|
+
source?: {
|
|
600
|
+
kind: string;
|
|
601
|
+
id: string;
|
|
602
|
+
} | undefined;
|
|
603
|
+
}, {
|
|
604
|
+
kind: "file";
|
|
605
|
+
filename: string;
|
|
606
|
+
mediaType: string;
|
|
607
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
608
|
+
sizeBytes?: number | undefined;
|
|
609
|
+
source?: {
|
|
610
|
+
kind: string;
|
|
611
|
+
id: string;
|
|
612
|
+
} | undefined;
|
|
577
613
|
}>]>, "many">>;
|
|
578
614
|
}, "strip", z.ZodTypeAny, {
|
|
579
615
|
source?: {
|
|
@@ -596,7 +632,7 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
596
632
|
username?: string | undefined;
|
|
597
633
|
isBot?: boolean | undefined;
|
|
598
634
|
} | undefined;
|
|
599
|
-
attachments?: {
|
|
635
|
+
attachments?: ({
|
|
600
636
|
kind: "text";
|
|
601
637
|
filename: string;
|
|
602
638
|
mediaType: string;
|
|
@@ -606,7 +642,17 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
606
642
|
kind: string;
|
|
607
643
|
id: string;
|
|
608
644
|
} | undefined;
|
|
609
|
-
}
|
|
645
|
+
} | {
|
|
646
|
+
kind: "file";
|
|
647
|
+
filename: string;
|
|
648
|
+
mediaType: string;
|
|
649
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
650
|
+
sizeBytes?: number | undefined;
|
|
651
|
+
source?: {
|
|
652
|
+
kind: string;
|
|
653
|
+
id: string;
|
|
654
|
+
} | undefined;
|
|
655
|
+
})[] | undefined;
|
|
610
656
|
}, {
|
|
611
657
|
source?: {
|
|
612
658
|
channelId?: string | undefined;
|
|
@@ -628,7 +674,7 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
628
674
|
username?: string | undefined;
|
|
629
675
|
isBot?: boolean | undefined;
|
|
630
676
|
} | undefined;
|
|
631
|
-
attachments?: {
|
|
677
|
+
attachments?: ({
|
|
632
678
|
kind: "text";
|
|
633
679
|
filename: string;
|
|
634
680
|
mediaType: string;
|
|
@@ -638,7 +684,17 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
638
684
|
kind: string;
|
|
639
685
|
id: string;
|
|
640
686
|
} | undefined;
|
|
641
|
-
}
|
|
687
|
+
} | {
|
|
688
|
+
kind: "file";
|
|
689
|
+
filename: string;
|
|
690
|
+
mediaType: string;
|
|
691
|
+
data: Uint8Array<ArrayBufferLike>;
|
|
692
|
+
sizeBytes?: number | undefined;
|
|
693
|
+
source?: {
|
|
694
|
+
kind: string;
|
|
695
|
+
id: string;
|
|
696
|
+
} | undefined;
|
|
697
|
+
})[] | undefined;
|
|
642
698
|
}>;
|
|
643
699
|
type ChatContext = z.infer<typeof ChatContextSchema>;
|
|
644
700
|
declare const PendingConfirmationSchema: z.ZodObject<{
|
|
@@ -671,14 +727,14 @@ declare const ToolResultDataSchema: z.ZodObject<{
|
|
|
671
727
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
672
728
|
}, "strip", z.ZodTypeAny, {
|
|
673
729
|
toolName: string;
|
|
730
|
+
data?: unknown;
|
|
674
731
|
args?: Record<string, unknown> | undefined;
|
|
675
732
|
jobId?: string | undefined;
|
|
676
|
-
data?: unknown;
|
|
677
733
|
}, {
|
|
678
734
|
toolName: string;
|
|
735
|
+
data?: unknown;
|
|
679
736
|
args?: Record<string, unknown> | undefined;
|
|
680
737
|
jobId?: string | undefined;
|
|
681
|
-
data?: unknown;
|
|
682
738
|
}>;
|
|
683
739
|
type ToolResultData = z.infer<typeof ToolResultDataSchema>;
|
|
684
740
|
declare const AgentResponseSchema: z.ZodObject<{
|
|
@@ -690,14 +746,14 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
690
746
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
691
747
|
}, "strip", z.ZodTypeAny, {
|
|
692
748
|
toolName: string;
|
|
749
|
+
data?: unknown;
|
|
693
750
|
args?: Record<string, unknown> | undefined;
|
|
694
751
|
jobId?: string | undefined;
|
|
695
|
-
data?: unknown;
|
|
696
752
|
}, {
|
|
697
753
|
toolName: string;
|
|
754
|
+
data?: unknown;
|
|
698
755
|
args?: Record<string, unknown> | undefined;
|
|
699
756
|
jobId?: string | undefined;
|
|
700
|
-
data?: unknown;
|
|
701
757
|
}>, "many">>;
|
|
702
758
|
cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
703
759
|
kind: z.ZodLiteral<"tool-approval">;
|
|
@@ -866,9 +922,9 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
866
922
|
};
|
|
867
923
|
toolResults?: {
|
|
868
924
|
toolName: string;
|
|
925
|
+
data?: unknown;
|
|
869
926
|
args?: Record<string, unknown> | undefined;
|
|
870
927
|
jobId?: string | undefined;
|
|
871
|
-
data?: unknown;
|
|
872
928
|
}[] | undefined;
|
|
873
929
|
cards?: ({
|
|
874
930
|
kind: "tool-approval";
|
|
@@ -918,9 +974,9 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
918
974
|
};
|
|
919
975
|
toolResults?: {
|
|
920
976
|
toolName: string;
|
|
977
|
+
data?: unknown;
|
|
921
978
|
args?: Record<string, unknown> | undefined;
|
|
922
979
|
jobId?: string | undefined;
|
|
923
|
-
data?: unknown;
|
|
924
980
|
}[] | undefined;
|
|
925
981
|
cards?: ({
|
|
926
982
|
kind: "tool-approval";
|
|
@@ -1005,12 +1061,12 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1005
1061
|
lastCheck: z.ZodOptional<z.ZodString>;
|
|
1006
1062
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1007
1063
|
}, "strip", z.ZodTypeAny, {
|
|
1008
|
-
status: "unknown" | "
|
|
1064
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1009
1065
|
message?: string | undefined;
|
|
1010
1066
|
lastCheck?: string | undefined;
|
|
1011
1067
|
details?: Record<string, unknown> | undefined;
|
|
1012
1068
|
}, {
|
|
1013
|
-
status: "unknown" | "
|
|
1069
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1014
1070
|
message?: string | undefined;
|
|
1015
1071
|
lastCheck?: string | undefined;
|
|
1016
1072
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1020,7 +1076,7 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1020
1076
|
name: string;
|
|
1021
1077
|
pluginId: string;
|
|
1022
1078
|
health?: {
|
|
1023
|
-
status: "unknown" | "
|
|
1079
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1024
1080
|
message?: string | undefined;
|
|
1025
1081
|
lastCheck?: string | undefined;
|
|
1026
1082
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1030,7 +1086,7 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1030
1086
|
name: string;
|
|
1031
1087
|
pluginId: string;
|
|
1032
1088
|
health?: {
|
|
1033
|
-
status: "unknown" | "
|
|
1089
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1034
1090
|
message?: string | undefined;
|
|
1035
1091
|
lastCheck?: string | undefined;
|
|
1036
1092
|
details?: Record<string, unknown> | undefined;
|
|
@@ -1043,15 +1099,15 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1043
1099
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1044
1100
|
visibility: z.ZodDefault<z.ZodEnum<["anchor", "trusted", "public"]>>;
|
|
1045
1101
|
}, "strip", z.ZodTypeAny, {
|
|
1102
|
+
url: string;
|
|
1046
1103
|
pluginId: string;
|
|
1047
1104
|
label: string;
|
|
1048
|
-
url: string;
|
|
1049
1105
|
priority: number;
|
|
1050
1106
|
visibility: "anchor" | "trusted" | "public";
|
|
1051
1107
|
}, {
|
|
1108
|
+
url: string;
|
|
1052
1109
|
pluginId: string;
|
|
1053
1110
|
label: string;
|
|
1054
|
-
url: string;
|
|
1055
1111
|
priority?: number | undefined;
|
|
1056
1112
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
1057
1113
|
}>, "many">;
|
|
@@ -1066,25 +1122,25 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1066
1122
|
visibility: z.ZodDefault<z.ZodEnum<["anchor", "trusted", "public"]>>;
|
|
1067
1123
|
status: z.ZodDefault<z.ZodEnum<["available", "coming-soon", "disabled"]>>;
|
|
1068
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1125
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1126
|
+
id: string;
|
|
1069
1127
|
status: "available" | "coming-soon" | "disabled";
|
|
1070
1128
|
pluginId: string;
|
|
1071
1129
|
label: string;
|
|
1072
1130
|
priority: number;
|
|
1073
1131
|
visibility: "anchor" | "trusted" | "public";
|
|
1074
|
-
id: string;
|
|
1075
1132
|
href: string;
|
|
1076
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1077
1133
|
description?: string | undefined;
|
|
1078
1134
|
}, {
|
|
1135
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1136
|
+
id: string;
|
|
1079
1137
|
pluginId: string;
|
|
1080
1138
|
label: string;
|
|
1081
|
-
id: string;
|
|
1082
1139
|
href: string;
|
|
1083
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1084
1140
|
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
1141
|
+
description?: string | undefined;
|
|
1085
1142
|
priority?: number | undefined;
|
|
1086
1143
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
1087
|
-
description?: string | undefined;
|
|
1088
1144
|
}>, "many">;
|
|
1089
1145
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1146
|
model: string;
|
|
@@ -1105,28 +1161,28 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1105
1161
|
name: string;
|
|
1106
1162
|
pluginId: string;
|
|
1107
1163
|
health?: {
|
|
1108
|
-
status: "unknown" | "
|
|
1164
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1109
1165
|
message?: string | undefined;
|
|
1110
1166
|
lastCheck?: string | undefined;
|
|
1111
1167
|
details?: Record<string, unknown> | undefined;
|
|
1112
1168
|
} | undefined;
|
|
1113
1169
|
}[];
|
|
1114
1170
|
endpoints: {
|
|
1171
|
+
url: string;
|
|
1115
1172
|
pluginId: string;
|
|
1116
1173
|
label: string;
|
|
1117
|
-
url: string;
|
|
1118
1174
|
priority: number;
|
|
1119
1175
|
visibility: "anchor" | "trusted" | "public";
|
|
1120
1176
|
}[];
|
|
1121
1177
|
interactions: {
|
|
1178
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1179
|
+
id: string;
|
|
1122
1180
|
status: "available" | "coming-soon" | "disabled";
|
|
1123
1181
|
pluginId: string;
|
|
1124
1182
|
label: string;
|
|
1125
1183
|
priority: number;
|
|
1126
1184
|
visibility: "anchor" | "trusted" | "public";
|
|
1127
|
-
id: string;
|
|
1128
1185
|
href: string;
|
|
1129
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1130
1186
|
description?: string | undefined;
|
|
1131
1187
|
}[];
|
|
1132
1188
|
}, {
|
|
@@ -1148,29 +1204,29 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
1148
1204
|
name: string;
|
|
1149
1205
|
pluginId: string;
|
|
1150
1206
|
health?: {
|
|
1151
|
-
status: "unknown" | "
|
|
1207
|
+
status: "unknown" | "error" | "healthy" | "warning";
|
|
1152
1208
|
message?: string | undefined;
|
|
1153
1209
|
lastCheck?: string | undefined;
|
|
1154
1210
|
details?: Record<string, unknown> | undefined;
|
|
1155
1211
|
} | undefined;
|
|
1156
1212
|
}[];
|
|
1157
1213
|
endpoints: {
|
|
1214
|
+
url: string;
|
|
1158
1215
|
pluginId: string;
|
|
1159
1216
|
label: string;
|
|
1160
|
-
url: string;
|
|
1161
1217
|
priority?: number | undefined;
|
|
1162
1218
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
1163
1219
|
}[];
|
|
1164
1220
|
interactions: {
|
|
1221
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
1222
|
+
id: string;
|
|
1165
1223
|
pluginId: string;
|
|
1166
1224
|
label: string;
|
|
1167
|
-
id: string;
|
|
1168
1225
|
href: string;
|
|
1169
|
-
kind: "human" | "agent" | "admin" | "protocol";
|
|
1170
1226
|
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
1227
|
+
description?: string | undefined;
|
|
1171
1228
|
priority?: number | undefined;
|
|
1172
1229
|
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
1173
|
-
description?: string | undefined;
|
|
1174
1230
|
}[];
|
|
1175
1231
|
}>;
|
|
1176
1232
|
type AppInfo = z.infer<typeof AppInfoSchema>;
|
|
@@ -1188,25 +1244,25 @@ declare const ConversationSchema: z.ZodObject<{
|
|
|
1188
1244
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1189
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1246
|
id: string;
|
|
1191
|
-
sessionId: string;
|
|
1192
1247
|
interfaceType: string;
|
|
1193
1248
|
channelId: string;
|
|
1249
|
+
metadata: Record<string, unknown>;
|
|
1250
|
+
sessionId: string;
|
|
1194
1251
|
startedAt: string;
|
|
1195
1252
|
lastActiveAt: string;
|
|
1196
1253
|
createdAt: string;
|
|
1197
1254
|
updatedAt: string;
|
|
1198
|
-
metadata: Record<string, unknown>;
|
|
1199
1255
|
channelName?: string | undefined;
|
|
1200
1256
|
}, {
|
|
1201
1257
|
id: string;
|
|
1202
|
-
sessionId: string;
|
|
1203
1258
|
interfaceType: string;
|
|
1204
1259
|
channelId: string;
|
|
1260
|
+
metadata: Record<string, unknown>;
|
|
1261
|
+
sessionId: string;
|
|
1205
1262
|
startedAt: string;
|
|
1206
1263
|
lastActiveAt: string;
|
|
1207
1264
|
createdAt: string;
|
|
1208
1265
|
updatedAt: string;
|
|
1209
|
-
metadata: Record<string, unknown>;
|
|
1210
1266
|
channelName?: string | undefined;
|
|
1211
1267
|
}>;
|
|
1212
1268
|
type Conversation = z.infer<typeof ConversationSchema>;
|
|
@@ -1219,17 +1275,17 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
1219
1275
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1220
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1277
|
id: string;
|
|
1278
|
+
content: string;
|
|
1279
|
+
role: "user" | "assistant";
|
|
1222
1280
|
metadata: Record<string, unknown>;
|
|
1223
1281
|
conversationId: string;
|
|
1224
|
-
role: "user" | "assistant";
|
|
1225
|
-
content: string;
|
|
1226
1282
|
timestamp: string;
|
|
1227
1283
|
}, {
|
|
1228
1284
|
id: string;
|
|
1285
|
+
content: string;
|
|
1286
|
+
role: "user" | "assistant";
|
|
1229
1287
|
metadata: Record<string, unknown>;
|
|
1230
1288
|
conversationId: string;
|
|
1231
|
-
role: "user" | "assistant";
|
|
1232
|
-
content: string;
|
|
1233
1289
|
timestamp: string;
|
|
1234
1290
|
}>;
|
|
1235
1291
|
type Message = z.infer<typeof MessageSchema>;
|
|
@@ -1264,38 +1320,38 @@ declare const AnchorProfileSchema: z.ZodObject<{
|
|
|
1264
1320
|
url: z.ZodString;
|
|
1265
1321
|
label: z.ZodOptional<z.ZodString>;
|
|
1266
1322
|
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1268
1323
|
url: string;
|
|
1324
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1269
1325
|
label?: string | undefined;
|
|
1270
1326
|
}, {
|
|
1271
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1272
1327
|
url: string;
|
|
1328
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1273
1329
|
label?: string | undefined;
|
|
1274
1330
|
}>, "many">>;
|
|
1275
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1276
|
-
name: string;
|
|
1277
1332
|
kind: "professional" | "team" | "collective";
|
|
1278
|
-
|
|
1333
|
+
name: string;
|
|
1279
1334
|
description?: string | undefined;
|
|
1335
|
+
organization?: string | undefined;
|
|
1280
1336
|
avatar?: string | undefined;
|
|
1281
1337
|
website?: string | undefined;
|
|
1282
1338
|
email?: string | undefined;
|
|
1283
1339
|
socialLinks?: {
|
|
1284
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1285
1340
|
url: string;
|
|
1341
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1286
1342
|
label?: string | undefined;
|
|
1287
1343
|
}[] | undefined;
|
|
1288
1344
|
}, {
|
|
1289
|
-
name: string;
|
|
1290
1345
|
kind: "professional" | "team" | "collective";
|
|
1291
|
-
|
|
1346
|
+
name: string;
|
|
1292
1347
|
description?: string | undefined;
|
|
1348
|
+
organization?: string | undefined;
|
|
1293
1349
|
avatar?: string | undefined;
|
|
1294
1350
|
website?: string | undefined;
|
|
1295
1351
|
email?: string | undefined;
|
|
1296
1352
|
socialLinks?: {
|
|
1297
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1298
1353
|
url: string;
|
|
1354
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1299
1355
|
label?: string | undefined;
|
|
1300
1356
|
}[] | undefined;
|
|
1301
1357
|
}>;
|
|
@@ -1348,15 +1404,15 @@ declare const BaseMessageSchema: z.ZodObject<{
|
|
|
1348
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1349
1405
|
id: string;
|
|
1350
1406
|
type: string;
|
|
1351
|
-
timestamp: string;
|
|
1352
1407
|
source: string;
|
|
1408
|
+
timestamp: string;
|
|
1353
1409
|
metadata?: Record<string, unknown> | undefined;
|
|
1354
1410
|
target?: string | undefined;
|
|
1355
1411
|
}, {
|
|
1356
1412
|
id: string;
|
|
1357
1413
|
type: string;
|
|
1358
|
-
timestamp: string;
|
|
1359
1414
|
source: string;
|
|
1415
|
+
timestamp: string;
|
|
1360
1416
|
metadata?: Record<string, unknown> | undefined;
|
|
1361
1417
|
target?: string | undefined;
|
|
1362
1418
|
}>;
|