@rizom/brain 0.2.0-alpha.102 → 0.2.0-alpha.103
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 +1442 -785
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins.d.ts +58 -58
- package/dist/site.js +605 -431
- package/dist/site.js.map +28 -26
- 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.103",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=DE006EE794B6A4DF64756E2164756E21
|
|
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": "DE006EE794B6A4DF64756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
package/dist/plugins.d.ts
CHANGED
|
@@ -504,16 +504,16 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
504
504
|
isBot: z.ZodOptional<z.ZodBoolean>;
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
506
|
interfaceType: string;
|
|
507
|
-
actorId: string;
|
|
508
507
|
role: "user" | "assistant";
|
|
508
|
+
actorId: string;
|
|
509
509
|
canonicalId?: string | undefined;
|
|
510
510
|
displayName?: string | undefined;
|
|
511
511
|
username?: string | undefined;
|
|
512
512
|
isBot?: boolean | undefined;
|
|
513
513
|
}, {
|
|
514
514
|
interfaceType: string;
|
|
515
|
-
actorId: string;
|
|
516
515
|
role: "user" | "assistant";
|
|
516
|
+
actorId: string;
|
|
517
517
|
canonicalId?: string | undefined;
|
|
518
518
|
displayName?: string | undefined;
|
|
519
519
|
username?: string | undefined;
|
|
@@ -528,15 +528,15 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
528
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
529
|
channelId?: string | undefined;
|
|
530
530
|
channelName?: string | undefined;
|
|
531
|
+
metadata?: Record<string, unknown> | undefined;
|
|
531
532
|
messageId?: string | undefined;
|
|
532
533
|
threadId?: string | undefined;
|
|
533
|
-
metadata?: Record<string, unknown> | undefined;
|
|
534
534
|
}, {
|
|
535
535
|
channelId?: string | undefined;
|
|
536
536
|
channelName?: string | undefined;
|
|
537
|
+
metadata?: Record<string, unknown> | undefined;
|
|
537
538
|
messageId?: string | undefined;
|
|
538
539
|
threadId?: string | undefined;
|
|
539
|
-
metadata?: Record<string, unknown> | undefined;
|
|
540
540
|
}>>;
|
|
541
541
|
attachments: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
542
542
|
kind: z.ZodLiteral<"text">;
|
|
@@ -548,49 +548,49 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
548
548
|
kind: z.ZodString;
|
|
549
549
|
id: z.ZodString;
|
|
550
550
|
}, "strip", z.ZodTypeAny, {
|
|
551
|
-
kind: string;
|
|
552
551
|
id: string;
|
|
553
|
-
}, {
|
|
554
552
|
kind: string;
|
|
553
|
+
}, {
|
|
555
554
|
id: string;
|
|
555
|
+
kind: string;
|
|
556
556
|
}>>;
|
|
557
557
|
}, "strip", z.ZodTypeAny, {
|
|
558
558
|
kind: "text";
|
|
559
|
+
content: string;
|
|
559
560
|
filename: string;
|
|
560
561
|
mediaType: string;
|
|
561
|
-
content: string;
|
|
562
562
|
sizeBytes?: number | undefined;
|
|
563
563
|
source?: {
|
|
564
|
-
kind: string;
|
|
565
564
|
id: string;
|
|
565
|
+
kind: string;
|
|
566
566
|
} | undefined;
|
|
567
567
|
}, {
|
|
568
568
|
kind: "text";
|
|
569
|
+
content: string;
|
|
569
570
|
filename: string;
|
|
570
571
|
mediaType: string;
|
|
571
|
-
content: string;
|
|
572
572
|
sizeBytes?: number | undefined;
|
|
573
573
|
source?: {
|
|
574
|
-
kind: string;
|
|
575
574
|
id: string;
|
|
575
|
+
kind: string;
|
|
576
576
|
} | undefined;
|
|
577
577
|
}>]>, "many">>;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
+
interfaceType?: string | undefined;
|
|
580
|
+
channelId?: string | undefined;
|
|
581
|
+
channelName?: string | undefined;
|
|
579
582
|
source?: {
|
|
580
583
|
channelId?: string | undefined;
|
|
581
584
|
channelName?: string | undefined;
|
|
585
|
+
metadata?: Record<string, unknown> | undefined;
|
|
582
586
|
messageId?: string | undefined;
|
|
583
587
|
threadId?: string | undefined;
|
|
584
|
-
metadata?: Record<string, unknown> | undefined;
|
|
585
588
|
} | undefined;
|
|
586
589
|
userPermissionLevel?: "anchor" | "trusted" | "public" | undefined;
|
|
587
|
-
interfaceType?: string | undefined;
|
|
588
|
-
channelId?: string | undefined;
|
|
589
|
-
channelName?: string | undefined;
|
|
590
590
|
actor?: {
|
|
591
591
|
interfaceType: string;
|
|
592
|
-
actorId: string;
|
|
593
592
|
role: "user" | "assistant";
|
|
593
|
+
actorId: string;
|
|
594
594
|
canonicalId?: string | undefined;
|
|
595
595
|
displayName?: string | undefined;
|
|
596
596
|
username?: string | undefined;
|
|
@@ -598,31 +598,31 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
598
598
|
} | undefined;
|
|
599
599
|
attachments?: {
|
|
600
600
|
kind: "text";
|
|
601
|
+
content: string;
|
|
601
602
|
filename: string;
|
|
602
603
|
mediaType: string;
|
|
603
|
-
content: string;
|
|
604
604
|
sizeBytes?: number | undefined;
|
|
605
605
|
source?: {
|
|
606
|
-
kind: string;
|
|
607
606
|
id: string;
|
|
607
|
+
kind: string;
|
|
608
608
|
} | undefined;
|
|
609
609
|
}[] | undefined;
|
|
610
610
|
}, {
|
|
611
|
+
interfaceType?: string | undefined;
|
|
612
|
+
channelId?: string | undefined;
|
|
613
|
+
channelName?: string | undefined;
|
|
611
614
|
source?: {
|
|
612
615
|
channelId?: string | undefined;
|
|
613
616
|
channelName?: string | undefined;
|
|
617
|
+
metadata?: Record<string, unknown> | undefined;
|
|
614
618
|
messageId?: string | undefined;
|
|
615
619
|
threadId?: string | undefined;
|
|
616
|
-
metadata?: Record<string, unknown> | undefined;
|
|
617
620
|
} | undefined;
|
|
618
621
|
userPermissionLevel?: "anchor" | "trusted" | "public" | undefined;
|
|
619
|
-
interfaceType?: string | undefined;
|
|
620
|
-
channelId?: string | undefined;
|
|
621
|
-
channelName?: string | undefined;
|
|
622
622
|
actor?: {
|
|
623
623
|
interfaceType: string;
|
|
624
|
-
actorId: string;
|
|
625
624
|
role: "user" | "assistant";
|
|
625
|
+
actorId: string;
|
|
626
626
|
canonicalId?: string | undefined;
|
|
627
627
|
displayName?: string | undefined;
|
|
628
628
|
username?: string | undefined;
|
|
@@ -630,13 +630,13 @@ declare const ChatContextSchema: z.ZodObject<{
|
|
|
630
630
|
} | undefined;
|
|
631
631
|
attachments?: {
|
|
632
632
|
kind: "text";
|
|
633
|
+
content: string;
|
|
633
634
|
filename: string;
|
|
634
635
|
mediaType: string;
|
|
635
|
-
content: string;
|
|
636
636
|
sizeBytes?: number | undefined;
|
|
637
637
|
source?: {
|
|
638
|
-
kind: string;
|
|
639
638
|
id: string;
|
|
639
|
+
kind: string;
|
|
640
640
|
} | undefined;
|
|
641
641
|
}[] | undefined;
|
|
642
642
|
}>;
|
|
@@ -711,27 +711,27 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
711
711
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
712
712
|
error: z.ZodOptional<z.ZodString>;
|
|
713
713
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
kind: "tool-approval";
|
|
715
714
|
id: string;
|
|
715
|
+
kind: "tool-approval";
|
|
716
716
|
toolName: string;
|
|
717
717
|
summary: string;
|
|
718
718
|
state: "approval-requested" | "approval-responded" | "output-available" | "output-denied" | "output-error";
|
|
719
|
+
error?: string | undefined;
|
|
719
720
|
toolCallId?: string | undefined;
|
|
720
721
|
preview?: string | undefined;
|
|
721
722
|
input?: Record<string, unknown> | undefined;
|
|
722
723
|
output?: unknown;
|
|
723
|
-
error?: string | undefined;
|
|
724
724
|
}, {
|
|
725
|
-
kind: "tool-approval";
|
|
726
725
|
id: string;
|
|
726
|
+
kind: "tool-approval";
|
|
727
727
|
toolName: string;
|
|
728
728
|
summary: string;
|
|
729
729
|
state: "approval-requested" | "approval-responded" | "output-available" | "output-denied" | "output-error";
|
|
730
|
+
error?: string | undefined;
|
|
730
731
|
toolCallId?: string | undefined;
|
|
731
732
|
preview?: string | undefined;
|
|
732
733
|
input?: Record<string, unknown> | undefined;
|
|
733
734
|
output?: unknown;
|
|
734
|
-
error?: string | undefined;
|
|
735
735
|
}>, z.ZodObject<{
|
|
736
736
|
kind: z.ZodLiteral<"attachment">;
|
|
737
737
|
id: z.ZodString;
|
|
@@ -759,8 +759,8 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
759
759
|
attachmentType?: string | undefined;
|
|
760
760
|
}>>;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
mediaType: string;
|
|
763
762
|
url: string;
|
|
763
|
+
mediaType: string;
|
|
764
764
|
filename?: string | undefined;
|
|
765
765
|
sizeBytes?: number | undefined;
|
|
766
766
|
source?: {
|
|
@@ -771,8 +771,8 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
771
771
|
downloadUrl?: string | undefined;
|
|
772
772
|
previewUrl?: string | undefined;
|
|
773
773
|
}, {
|
|
774
|
-
mediaType: string;
|
|
775
774
|
url: string;
|
|
775
|
+
mediaType: string;
|
|
776
776
|
filename?: string | undefined;
|
|
777
777
|
sizeBytes?: number | undefined;
|
|
778
778
|
source?: {
|
|
@@ -784,11 +784,11 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
784
784
|
previewUrl?: string | undefined;
|
|
785
785
|
}>;
|
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
-
kind: "attachment";
|
|
788
787
|
id: string;
|
|
788
|
+
kind: "attachment";
|
|
789
789
|
attachment: {
|
|
790
|
-
mediaType: string;
|
|
791
790
|
url: string;
|
|
791
|
+
mediaType: string;
|
|
792
792
|
filename?: string | undefined;
|
|
793
793
|
sizeBytes?: number | undefined;
|
|
794
794
|
source?: {
|
|
@@ -800,14 +800,14 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
800
800
|
previewUrl?: string | undefined;
|
|
801
801
|
};
|
|
802
802
|
title: string;
|
|
803
|
-
jobId?: string | undefined;
|
|
804
803
|
description?: string | undefined;
|
|
804
|
+
jobId?: string | undefined;
|
|
805
805
|
}, {
|
|
806
|
-
kind: "attachment";
|
|
807
806
|
id: string;
|
|
807
|
+
kind: "attachment";
|
|
808
808
|
attachment: {
|
|
809
|
-
mediaType: string;
|
|
810
809
|
url: string;
|
|
810
|
+
mediaType: string;
|
|
811
811
|
filename?: string | undefined;
|
|
812
812
|
sizeBytes?: number | undefined;
|
|
813
813
|
source?: {
|
|
@@ -819,8 +819,8 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
819
819
|
previewUrl?: string | undefined;
|
|
820
820
|
};
|
|
821
821
|
title: string;
|
|
822
|
-
jobId?: string | undefined;
|
|
823
822
|
description?: string | undefined;
|
|
823
|
+
jobId?: string | undefined;
|
|
824
824
|
}>]>, "many">>;
|
|
825
825
|
pendingConfirmations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
826
826
|
id: z.ZodString;
|
|
@@ -871,22 +871,22 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
871
871
|
data?: unknown;
|
|
872
872
|
}[] | undefined;
|
|
873
873
|
cards?: ({
|
|
874
|
-
kind: "tool-approval";
|
|
875
874
|
id: string;
|
|
875
|
+
kind: "tool-approval";
|
|
876
876
|
toolName: string;
|
|
877
877
|
summary: string;
|
|
878
878
|
state: "approval-requested" | "approval-responded" | "output-available" | "output-denied" | "output-error";
|
|
879
|
+
error?: string | undefined;
|
|
879
880
|
toolCallId?: string | undefined;
|
|
880
881
|
preview?: string | undefined;
|
|
881
882
|
input?: Record<string, unknown> | undefined;
|
|
882
883
|
output?: unknown;
|
|
883
|
-
error?: string | undefined;
|
|
884
884
|
} | {
|
|
885
|
-
kind: "attachment";
|
|
886
885
|
id: string;
|
|
886
|
+
kind: "attachment";
|
|
887
887
|
attachment: {
|
|
888
|
-
mediaType: string;
|
|
889
888
|
url: string;
|
|
889
|
+
mediaType: string;
|
|
890
890
|
filename?: string | undefined;
|
|
891
891
|
sizeBytes?: number | undefined;
|
|
892
892
|
source?: {
|
|
@@ -898,8 +898,8 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
898
898
|
previewUrl?: string | undefined;
|
|
899
899
|
};
|
|
900
900
|
title: string;
|
|
901
|
-
jobId?: string | undefined;
|
|
902
901
|
description?: string | undefined;
|
|
902
|
+
jobId?: string | undefined;
|
|
903
903
|
})[] | undefined;
|
|
904
904
|
pendingConfirmations?: {
|
|
905
905
|
id: string;
|
|
@@ -923,22 +923,22 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
923
923
|
data?: unknown;
|
|
924
924
|
}[] | undefined;
|
|
925
925
|
cards?: ({
|
|
926
|
-
kind: "tool-approval";
|
|
927
926
|
id: string;
|
|
927
|
+
kind: "tool-approval";
|
|
928
928
|
toolName: string;
|
|
929
929
|
summary: string;
|
|
930
930
|
state: "approval-requested" | "approval-responded" | "output-available" | "output-denied" | "output-error";
|
|
931
|
+
error?: string | undefined;
|
|
931
932
|
toolCallId?: string | undefined;
|
|
932
933
|
preview?: string | undefined;
|
|
933
934
|
input?: Record<string, unknown> | undefined;
|
|
934
935
|
output?: unknown;
|
|
935
|
-
error?: string | undefined;
|
|
936
936
|
} | {
|
|
937
|
-
kind: "attachment";
|
|
938
937
|
id: string;
|
|
938
|
+
kind: "attachment";
|
|
939
939
|
attachment: {
|
|
940
|
-
mediaType: string;
|
|
941
940
|
url: string;
|
|
941
|
+
mediaType: string;
|
|
942
942
|
filename?: string | undefined;
|
|
943
943
|
sizeBytes?: number | undefined;
|
|
944
944
|
source?: {
|
|
@@ -950,8 +950,8 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
950
950
|
previewUrl?: string | undefined;
|
|
951
951
|
};
|
|
952
952
|
title: string;
|
|
953
|
-
jobId?: string | undefined;
|
|
954
953
|
description?: string | undefined;
|
|
954
|
+
jobId?: string | undefined;
|
|
955
955
|
})[] | undefined;
|
|
956
956
|
pendingConfirmations?: {
|
|
957
957
|
id: string;
|
|
@@ -1241,13 +1241,13 @@ declare const BrainCharacterSchema: z.ZodObject<{
|
|
|
1241
1241
|
values: z.ZodArray<z.ZodString, "many">;
|
|
1242
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
1243
|
values: string[];
|
|
1244
|
-
role: string;
|
|
1245
1244
|
name: string;
|
|
1245
|
+
role: string;
|
|
1246
1246
|
purpose: string;
|
|
1247
1247
|
}, {
|
|
1248
1248
|
values: string[];
|
|
1249
|
-
role: string;
|
|
1250
1249
|
name: string;
|
|
1250
|
+
role: string;
|
|
1251
1251
|
purpose: string;
|
|
1252
1252
|
}>;
|
|
1253
1253
|
type BrainCharacter = z.infer<typeof BrainCharacterSchema>;
|
|
@@ -1264,38 +1264,38 @@ declare const AnchorProfileSchema: z.ZodObject<{
|
|
|
1264
1264
|
url: z.ZodString;
|
|
1265
1265
|
label: z.ZodOptional<z.ZodString>;
|
|
1266
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1268
1267
|
url: string;
|
|
1268
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1269
1269
|
label?: string | undefined;
|
|
1270
1270
|
}, {
|
|
1271
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1272
1271
|
url: string;
|
|
1272
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1273
1273
|
label?: string | undefined;
|
|
1274
1274
|
}>, "many">>;
|
|
1275
1275
|
}, "strip", z.ZodTypeAny, {
|
|
1276
1276
|
name: string;
|
|
1277
1277
|
kind: "professional" | "team" | "collective";
|
|
1278
|
-
organization?: string | undefined;
|
|
1279
1278
|
description?: string | undefined;
|
|
1279
|
+
organization?: string | undefined;
|
|
1280
1280
|
avatar?: string | undefined;
|
|
1281
1281
|
website?: string | undefined;
|
|
1282
1282
|
email?: string | undefined;
|
|
1283
1283
|
socialLinks?: {
|
|
1284
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1285
1284
|
url: string;
|
|
1285
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1286
1286
|
label?: string | undefined;
|
|
1287
1287
|
}[] | undefined;
|
|
1288
1288
|
}, {
|
|
1289
1289
|
name: string;
|
|
1290
1290
|
kind: "professional" | "team" | "collective";
|
|
1291
|
-
organization?: string | undefined;
|
|
1292
1291
|
description?: string | undefined;
|
|
1292
|
+
organization?: string | undefined;
|
|
1293
1293
|
avatar?: string | undefined;
|
|
1294
1294
|
website?: string | undefined;
|
|
1295
1295
|
email?: string | undefined;
|
|
1296
1296
|
socialLinks?: {
|
|
1297
|
-
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1298
1297
|
url: string;
|
|
1298
|
+
platform: "website" | "email" | "github" | "instagram" | "linkedin";
|
|
1299
1299
|
label?: string | undefined;
|
|
1300
1300
|
}[] | undefined;
|
|
1301
1301
|
}>;
|
|
@@ -1317,12 +1317,12 @@ declare const MessageResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1317
1317
|
error: z.ZodOptional<z.ZodString>;
|
|
1318
1318
|
}, "strip", z.ZodTypeAny, {
|
|
1319
1319
|
success: boolean;
|
|
1320
|
-
data?: unknown;
|
|
1321
1320
|
error?: string | undefined;
|
|
1321
|
+
data?: unknown;
|
|
1322
1322
|
}, {
|
|
1323
1323
|
success: boolean;
|
|
1324
|
-
data?: unknown;
|
|
1325
1324
|
error?: string | undefined;
|
|
1325
|
+
data?: unknown;
|
|
1326
1326
|
}>, z.ZodObject<{
|
|
1327
1327
|
noop: z.ZodLiteral<true>;
|
|
1328
1328
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1346,15 +1346,15 @@ declare const BaseMessageSchema: z.ZodObject<{
|
|
|
1346
1346
|
target: z.ZodOptional<z.ZodString>;
|
|
1347
1347
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1348
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1349
|
-
id: string;
|
|
1350
1349
|
type: string;
|
|
1350
|
+
id: string;
|
|
1351
1351
|
timestamp: string;
|
|
1352
1352
|
source: string;
|
|
1353
1353
|
metadata?: Record<string, unknown> | undefined;
|
|
1354
1354
|
target?: string | undefined;
|
|
1355
1355
|
}, {
|
|
1356
|
-
id: string;
|
|
1357
1356
|
type: string;
|
|
1357
|
+
id: string;
|
|
1358
1358
|
timestamp: string;
|
|
1359
1359
|
source: string;
|
|
1360
1360
|
metadata?: Record<string, unknown> | undefined;
|