@rizom/brain 0.2.0-alpha.63 → 0.2.0-alpha.64
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 +996 -909
- package/dist/entities.js +2 -2
- package/dist/entities.js.map +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugins.d.ts +78 -2
- package/dist/plugins.js +90 -90
- package/dist/plugins.js.map +11 -11
- package/dist/services.js +2 -2
- package/dist/services.js.map +2 -2
- package/dist/site.js +97 -97
- package/dist/site.js.map +19 -16
- 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.64",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 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","react-devtools-core":"^6.1.1",sharp:"^0.34.5"},devDependencies:{"@brains/app":"workspace:*","@brains/deploy-templates":"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=FB2E6F2AF67C37B964756E2164756E21
|
|
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,moFC1DF,IAAM,EAAqB,EAAY",
|
|
9
|
-
"debugId": "
|
|
9
|
+
"debugId": "FB2E6F2AF67C37B964756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
package/dist/plugins.d.ts
CHANGED
|
@@ -589,6 +589,16 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
589
589
|
version: z.ZodString;
|
|
590
590
|
uptime: z.ZodNumber;
|
|
591
591
|
entities: z.ZodNumber;
|
|
592
|
+
entityCounts: z.ZodArray<z.ZodObject<{
|
|
593
|
+
entityType: z.ZodString;
|
|
594
|
+
count: z.ZodNumber;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
entityType: string;
|
|
597
|
+
count: number;
|
|
598
|
+
}, {
|
|
599
|
+
entityType: string;
|
|
600
|
+
count: number;
|
|
601
|
+
}>, "many">;
|
|
592
602
|
embeddings: z.ZodNumber;
|
|
593
603
|
ai: z.ZodObject<{
|
|
594
604
|
model: z.ZodString;
|
|
@@ -645,23 +655,61 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
645
655
|
label: z.ZodString;
|
|
646
656
|
url: z.ZodString;
|
|
647
657
|
pluginId: z.ZodString;
|
|
648
|
-
priority: z.ZodNumber
|
|
658
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
659
|
+
visibility: z.ZodDefault<z.ZodEnum<["anchor", "trusted", "public"]>>;
|
|
649
660
|
}, "strip", z.ZodTypeAny, {
|
|
650
661
|
pluginId: string;
|
|
651
662
|
label: string;
|
|
652
663
|
url: string;
|
|
653
664
|
priority: number;
|
|
665
|
+
visibility: "anchor" | "trusted" | "public";
|
|
654
666
|
}, {
|
|
655
667
|
pluginId: string;
|
|
656
668
|
label: string;
|
|
657
669
|
url: string;
|
|
670
|
+
priority?: number | undefined;
|
|
671
|
+
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
672
|
+
}>, "many">;
|
|
673
|
+
interactions: z.ZodArray<z.ZodObject<{
|
|
674
|
+
id: z.ZodString;
|
|
675
|
+
label: z.ZodString;
|
|
676
|
+
description: z.ZodOptional<z.ZodString>;
|
|
677
|
+
href: z.ZodString;
|
|
678
|
+
kind: z.ZodEnum<["human", "agent", "admin", "protocol"]>;
|
|
679
|
+
pluginId: z.ZodString;
|
|
680
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
681
|
+
visibility: z.ZodDefault<z.ZodEnum<["anchor", "trusted", "public"]>>;
|
|
682
|
+
status: z.ZodDefault<z.ZodEnum<["available", "coming-soon", "disabled"]>>;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
status: "available" | "coming-soon" | "disabled";
|
|
685
|
+
pluginId: string;
|
|
686
|
+
label: string;
|
|
658
687
|
priority: number;
|
|
688
|
+
visibility: "anchor" | "trusted" | "public";
|
|
689
|
+
id: string;
|
|
690
|
+
href: string;
|
|
691
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
692
|
+
description?: string | undefined;
|
|
693
|
+
}, {
|
|
694
|
+
pluginId: string;
|
|
695
|
+
label: string;
|
|
696
|
+
id: string;
|
|
697
|
+
href: string;
|
|
698
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
699
|
+
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
700
|
+
description?: string | undefined;
|
|
701
|
+
priority?: number | undefined;
|
|
702
|
+
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
659
703
|
}>, "many">;
|
|
660
704
|
}, "strip", z.ZodTypeAny, {
|
|
661
705
|
model: string;
|
|
662
706
|
version: string;
|
|
663
707
|
uptime: number;
|
|
664
708
|
entities: number;
|
|
709
|
+
entityCounts: {
|
|
710
|
+
entityType: string;
|
|
711
|
+
count: number;
|
|
712
|
+
}[];
|
|
665
713
|
embeddings: number;
|
|
666
714
|
ai: {
|
|
667
715
|
model: string;
|
|
@@ -683,12 +731,28 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
683
731
|
label: string;
|
|
684
732
|
url: string;
|
|
685
733
|
priority: number;
|
|
734
|
+
visibility: "anchor" | "trusted" | "public";
|
|
735
|
+
}[];
|
|
736
|
+
interactions: {
|
|
737
|
+
status: "available" | "coming-soon" | "disabled";
|
|
738
|
+
pluginId: string;
|
|
739
|
+
label: string;
|
|
740
|
+
priority: number;
|
|
741
|
+
visibility: "anchor" | "trusted" | "public";
|
|
742
|
+
id: string;
|
|
743
|
+
href: string;
|
|
744
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
745
|
+
description?: string | undefined;
|
|
686
746
|
}[];
|
|
687
747
|
}, {
|
|
688
748
|
model: string;
|
|
689
749
|
version: string;
|
|
690
750
|
uptime: number;
|
|
691
751
|
entities: number;
|
|
752
|
+
entityCounts: {
|
|
753
|
+
entityType: string;
|
|
754
|
+
count: number;
|
|
755
|
+
}[];
|
|
692
756
|
embeddings: number;
|
|
693
757
|
ai: {
|
|
694
758
|
model: string;
|
|
@@ -709,7 +773,19 @@ declare const AppInfoSchema: z.ZodObject<{
|
|
|
709
773
|
pluginId: string;
|
|
710
774
|
label: string;
|
|
711
775
|
url: string;
|
|
712
|
-
priority
|
|
776
|
+
priority?: number | undefined;
|
|
777
|
+
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
778
|
+
}[];
|
|
779
|
+
interactions: {
|
|
780
|
+
pluginId: string;
|
|
781
|
+
label: string;
|
|
782
|
+
id: string;
|
|
783
|
+
href: string;
|
|
784
|
+
kind: "human" | "agent" | "admin" | "protocol";
|
|
785
|
+
status?: "available" | "coming-soon" | "disabled" | undefined;
|
|
786
|
+
description?: string | undefined;
|
|
787
|
+
priority?: number | undefined;
|
|
788
|
+
visibility?: "anchor" | "trusted" | "public" | undefined;
|
|
713
789
|
}[];
|
|
714
790
|
}>;
|
|
715
791
|
type AppInfo = z.infer<typeof AppInfoSchema>;
|