@rizom/brain 0.2.0-alpha.68 → 0.2.0-alpha.69
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 +639 -639
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +22 -3
- package/dist/interfaces.js +70 -70
- package/dist/interfaces.js.map +7 -5
- package/dist/plugins.js +17 -17
- package/dist/plugins.js.map +6 -6
- package/dist/site.js +96 -96
- package/dist/site.js.map +16 -17
- package/dist/templates.js +32 -32
- package/dist/templates.js.map +3 -3
- 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.69",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/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=EEF651A60192802764756E2164756E21
|
|
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,4qFC1DF,IAAM,EAAqB,EAAY",
|
|
9
|
-
"debugId": "
|
|
9
|
+
"debugId": "EEF651A60192802764756E2164756E21",
|
|
10
10
|
"names": []
|
|
11
11
|
}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -233,6 +233,8 @@ declare const RouteDefinitionSchema: z.ZodObject<{
|
|
|
233
233
|
id: z.ZodString;
|
|
234
234
|
path: z.ZodString;
|
|
235
235
|
title: z.ZodDefault<z.ZodString>;
|
|
236
|
+
/** Bare display label without any page-suffix. Used for visual headings on list pages. */
|
|
237
|
+
pageLabel: z.ZodOptional<z.ZodString>;
|
|
236
238
|
description: z.ZodDefault<z.ZodString>;
|
|
237
239
|
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
238
240
|
id: z.ZodString;
|
|
@@ -383,6 +385,7 @@ declare const RouteDefinitionSchema: z.ZodObject<{
|
|
|
383
385
|
order?: number | undefined;
|
|
384
386
|
}[];
|
|
385
387
|
layout: string;
|
|
388
|
+
pageLabel?: string | undefined;
|
|
386
389
|
fullscreen?: boolean | undefined;
|
|
387
390
|
pluginId?: string | undefined;
|
|
388
391
|
sourceEntityType?: string | undefined;
|
|
@@ -397,6 +400,7 @@ declare const RouteDefinitionSchema: z.ZodObject<{
|
|
|
397
400
|
id: string;
|
|
398
401
|
path: string;
|
|
399
402
|
title?: string | undefined;
|
|
403
|
+
pageLabel?: string | undefined;
|
|
400
404
|
description?: string | undefined;
|
|
401
405
|
sections?: {
|
|
402
406
|
id: string;
|
|
@@ -442,6 +446,8 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
|
|
|
442
446
|
id: z.ZodString;
|
|
443
447
|
path: z.ZodString;
|
|
444
448
|
title: z.ZodDefault<z.ZodString>;
|
|
449
|
+
/** Bare display label without any page-suffix. Used for visual headings on list pages. */
|
|
450
|
+
pageLabel: z.ZodOptional<z.ZodString>;
|
|
445
451
|
description: z.ZodDefault<z.ZodString>;
|
|
446
452
|
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
447
453
|
id: z.ZodString;
|
|
@@ -592,6 +598,7 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
|
|
|
592
598
|
order?: number | undefined;
|
|
593
599
|
}[];
|
|
594
600
|
layout: string;
|
|
601
|
+
pageLabel?: string | undefined;
|
|
595
602
|
fullscreen?: boolean | undefined;
|
|
596
603
|
pluginId?: string | undefined;
|
|
597
604
|
sourceEntityType?: string | undefined;
|
|
@@ -606,6 +613,7 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
|
|
|
606
613
|
id: string;
|
|
607
614
|
path: string;
|
|
608
615
|
title?: string | undefined;
|
|
616
|
+
pageLabel?: string | undefined;
|
|
609
617
|
description?: string | undefined;
|
|
610
618
|
sections?: {
|
|
611
619
|
id: string;
|
|
@@ -674,6 +682,7 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
|
|
|
674
682
|
order?: number | undefined;
|
|
675
683
|
}[];
|
|
676
684
|
layout: string;
|
|
685
|
+
pageLabel?: string | undefined;
|
|
677
686
|
fullscreen?: boolean | undefined;
|
|
678
687
|
pluginId?: string | undefined;
|
|
679
688
|
sourceEntityType?: string | undefined;
|
|
@@ -691,6 +700,7 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
|
|
|
691
700
|
id: string;
|
|
692
701
|
path: string;
|
|
693
702
|
title?: string | undefined;
|
|
703
|
+
pageLabel?: string | undefined;
|
|
694
704
|
description?: string | undefined;
|
|
695
705
|
sections?: {
|
|
696
706
|
id: string;
|
|
@@ -752,12 +762,21 @@ declare const GetRoutePayloadSchema: z.ZodObject<{
|
|
|
752
762
|
}, {
|
|
753
763
|
path: string;
|
|
754
764
|
}>;
|
|
755
|
-
/** Navigation item
|
|
756
|
-
|
|
765
|
+
/** Navigation item shape for extracted navigation data. */
|
|
766
|
+
declare const NavigationItemSchema: z.ZodObject<{
|
|
767
|
+
label: z.ZodString;
|
|
768
|
+
href: z.ZodString;
|
|
769
|
+
priority: z.ZodNumber;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
757
771
|
label: string;
|
|
772
|
+
priority: number;
|
|
758
773
|
href: string;
|
|
774
|
+
}, {
|
|
775
|
+
label: string;
|
|
759
776
|
priority: number;
|
|
760
|
-
|
|
777
|
+
href: string;
|
|
778
|
+
}>;
|
|
779
|
+
type NavigationItem = z.infer<typeof NavigationItemSchema>;
|
|
761
780
|
|
|
762
781
|
declare const apiRouteDefinitionSchema: z.ZodObject<{
|
|
763
782
|
/** Path suffix (prefixed with /api/{pluginId}) */
|