@rizom/brain 0.2.0-alpha.97 → 0.2.0-alpha.98

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/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.97",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","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};
2
+ function t(i){return i}var e={name:"@rizom/brain",version:"0.2.0-alpha.98",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","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=F7D1591B166EFF5864756E2164756E21
4
+ //# debugId=53A6692139B28A4964756E2164756E21
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,wsFC1DF,IAAM,EAAqB,EAAY",
9
- "debugId": "F7D1591B166EFF5864756E2164756E21",
9
+ "debugId": "53A6692139B28A4964756E2164756E21",
10
10
  "names": []
11
11
  }
@@ -367,18 +367,17 @@ declare const RouteDefinitionSchema: z.ZodObject<{
367
367
  slot: z.ZodDefault<z.ZodEnum<["primary", "secondary"]>>;
368
368
  priority: z.ZodDefault<z.ZodNumber>;
369
369
  }, "strip", z.ZodTypeAny, {
370
+ priority: number;
370
371
  show: boolean;
371
372
  slot: "primary" | "secondary";
372
- priority: number;
373
373
  label?: string | undefined;
374
374
  }, {
375
- show?: boolean | undefined;
376
375
  label?: string | undefined;
377
- slot?: "primary" | "secondary" | undefined;
378
376
  priority?: number | undefined;
377
+ show?: boolean | undefined;
378
+ slot?: "primary" | "secondary" | undefined;
379
379
  }>>;
380
380
  }, "strip", z.ZodTypeAny, {
381
- id: string;
382
381
  path: string;
383
382
  title: string;
384
383
  description: string;
@@ -405,23 +404,23 @@ declare const RouteDefinitionSchema: z.ZodObject<{
405
404
  }, z.ZodTypeAny, "passthrough"> | undefined;
406
405
  order?: number | undefined;
407
406
  }[];
407
+ id: string;
408
408
  layout: string;
409
- pageLabel?: string | undefined;
410
- fullscreen?: boolean | undefined;
411
- pluginId?: string | undefined;
412
- sourceEntityType?: string | undefined;
413
- external?: boolean | undefined;
414
409
  navigation?: {
410
+ priority: number;
415
411
  show: boolean;
416
412
  slot: "primary" | "secondary";
417
- priority: number;
418
413
  label?: string | undefined;
419
414
  } | undefined;
415
+ pageLabel?: string | undefined;
416
+ fullscreen?: boolean | undefined;
417
+ pluginId?: string | undefined;
418
+ sourceEntityType?: string | undefined;
419
+ external?: boolean | undefined;
420
420
  }, {
421
- id: string;
422
421
  path: string;
422
+ id: string;
423
423
  title?: string | undefined;
424
- pageLabel?: string | undefined;
425
424
  description?: string | undefined;
426
425
  sections?: {
427
426
  id: string;
@@ -446,17 +445,18 @@ declare const RouteDefinitionSchema: z.ZodObject<{
446
445
  }, z.ZodTypeAny, "passthrough"> | undefined;
447
446
  order?: number | undefined;
448
447
  }[] | undefined;
448
+ navigation?: {
449
+ label?: string | undefined;
450
+ priority?: number | undefined;
451
+ show?: boolean | undefined;
452
+ slot?: "primary" | "secondary" | undefined;
453
+ } | undefined;
454
+ pageLabel?: string | undefined;
449
455
  layout?: string | undefined;
450
456
  fullscreen?: boolean | undefined;
451
457
  pluginId?: string | undefined;
452
458
  sourceEntityType?: string | undefined;
453
459
  external?: boolean | undefined;
454
- navigation?: {
455
- show?: boolean | undefined;
456
- label?: string | undefined;
457
- slot?: "primary" | "secondary" | undefined;
458
- priority?: number | undefined;
459
- } | undefined;
460
460
  }>;
461
461
  type SectionDefinition = z.infer<typeof SectionDefinitionSchema>;
462
462
  type RouteDefinition = z.infer<typeof RouteDefinitionSchema>;
@@ -580,18 +580,17 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
580
580
  slot: z.ZodDefault<z.ZodEnum<["primary", "secondary"]>>;
581
581
  priority: z.ZodDefault<z.ZodNumber>;
582
582
  }, "strip", z.ZodTypeAny, {
583
+ priority: number;
583
584
  show: boolean;
584
585
  slot: "primary" | "secondary";
585
- priority: number;
586
586
  label?: string | undefined;
587
587
  }, {
588
- show?: boolean | undefined;
589
588
  label?: string | undefined;
590
- slot?: "primary" | "secondary" | undefined;
591
589
  priority?: number | undefined;
590
+ show?: boolean | undefined;
591
+ slot?: "primary" | "secondary" | undefined;
592
592
  }>>;
593
593
  }, "strip", z.ZodTypeAny, {
594
- id: string;
595
594
  path: string;
596
595
  title: string;
597
596
  description: string;
@@ -618,23 +617,23 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
618
617
  }, z.ZodTypeAny, "passthrough"> | undefined;
619
618
  order?: number | undefined;
620
619
  }[];
620
+ id: string;
621
621
  layout: string;
622
- pageLabel?: string | undefined;
623
- fullscreen?: boolean | undefined;
624
- pluginId?: string | undefined;
625
- sourceEntityType?: string | undefined;
626
- external?: boolean | undefined;
627
622
  navigation?: {
623
+ priority: number;
628
624
  show: boolean;
629
625
  slot: "primary" | "secondary";
630
- priority: number;
631
626
  label?: string | undefined;
632
627
  } | undefined;
628
+ pageLabel?: string | undefined;
629
+ fullscreen?: boolean | undefined;
630
+ pluginId?: string | undefined;
631
+ sourceEntityType?: string | undefined;
632
+ external?: boolean | undefined;
633
633
  }, {
634
- id: string;
635
634
  path: string;
635
+ id: string;
636
636
  title?: string | undefined;
637
- pageLabel?: string | undefined;
638
637
  description?: string | undefined;
639
638
  sections?: {
640
639
  id: string;
@@ -659,23 +658,23 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
659
658
  }, z.ZodTypeAny, "passthrough"> | undefined;
660
659
  order?: number | undefined;
661
660
  }[] | undefined;
661
+ navigation?: {
662
+ label?: string | undefined;
663
+ priority?: number | undefined;
664
+ show?: boolean | undefined;
665
+ slot?: "primary" | "secondary" | undefined;
666
+ } | undefined;
667
+ pageLabel?: string | undefined;
662
668
  layout?: string | undefined;
663
669
  fullscreen?: boolean | undefined;
664
670
  pluginId?: string | undefined;
665
671
  sourceEntityType?: string | undefined;
666
672
  external?: boolean | undefined;
667
- navigation?: {
668
- show?: boolean | undefined;
669
- label?: string | undefined;
670
- slot?: "primary" | "secondary" | undefined;
671
- priority?: number | undefined;
672
- } | undefined;
673
673
  }>, "many">;
674
674
  pluginId: z.ZodString;
675
675
  }, "strip", z.ZodTypeAny, {
676
676
  pluginId: string;
677
677
  routes: {
678
- id: string;
679
678
  path: string;
680
679
  title: string;
681
680
  description: string;
@@ -702,26 +701,26 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
702
701
  }, z.ZodTypeAny, "passthrough"> | undefined;
703
702
  order?: number | undefined;
704
703
  }[];
704
+ id: string;
705
705
  layout: string;
706
- pageLabel?: string | undefined;
707
- fullscreen?: boolean | undefined;
708
- pluginId?: string | undefined;
709
- sourceEntityType?: string | undefined;
710
- external?: boolean | undefined;
711
706
  navigation?: {
707
+ priority: number;
712
708
  show: boolean;
713
709
  slot: "primary" | "secondary";
714
- priority: number;
715
710
  label?: string | undefined;
716
711
  } | undefined;
712
+ pageLabel?: string | undefined;
713
+ fullscreen?: boolean | undefined;
714
+ pluginId?: string | undefined;
715
+ sourceEntityType?: string | undefined;
716
+ external?: boolean | undefined;
717
717
  }[];
718
718
  }, {
719
719
  pluginId: string;
720
720
  routes: {
721
- id: string;
722
721
  path: string;
722
+ id: string;
723
723
  title?: string | undefined;
724
- pageLabel?: string | undefined;
725
724
  description?: string | undefined;
726
725
  sections?: {
727
726
  id: string;
@@ -746,17 +745,18 @@ declare const RegisterRoutesPayloadSchema: z.ZodObject<{
746
745
  }, z.ZodTypeAny, "passthrough"> | undefined;
747
746
  order?: number | undefined;
748
747
  }[] | undefined;
748
+ navigation?: {
749
+ label?: string | undefined;
750
+ priority?: number | undefined;
751
+ show?: boolean | undefined;
752
+ slot?: "primary" | "secondary" | undefined;
753
+ } | undefined;
754
+ pageLabel?: string | undefined;
749
755
  layout?: string | undefined;
750
756
  fullscreen?: boolean | undefined;
751
757
  pluginId?: string | undefined;
752
758
  sourceEntityType?: string | undefined;
753
759
  external?: boolean | undefined;
754
- navigation?: {
755
- show?: boolean | undefined;
756
- label?: string | undefined;
757
- slot?: "primary" | "secondary" | undefined;
758
- priority?: number | undefined;
759
- } | undefined;
760
760
  }[];
761
761
  }>;
762
762
  declare const UnregisterRoutesPayloadSchema: z.ZodObject<{
@@ -790,12 +790,12 @@ declare const NavigationItemSchema: z.ZodObject<{
790
790
  priority: z.ZodNumber;
791
791
  }, "strip", z.ZodTypeAny, {
792
792
  label: string;
793
- priority: number;
794
793
  href: string;
794
+ priority: number;
795
795
  }, {
796
796
  label: string;
797
- priority: number;
798
797
  href: string;
798
+ priority: number;
799
799
  }>;
800
800
  type NavigationItem = z.infer<typeof NavigationItemSchema>;
801
801