superlore-cli 0.5.1 → 0.6.0

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.d.ts CHANGED
@@ -87,7 +87,7 @@ declare function serializeSuperloreJson(config: SuperloreJson): string;
87
87
  declare function resolveMcpPath(config: SuperloreJson): string | undefined;
88
88
 
89
89
  /** The CLI version, kept in sync with package.json at build time. */
90
- declare const VERSION = "0.5.1";
90
+ declare const VERSION = "0.6.0";
91
91
  /** Build the argument parser. Exported for tests; `run()` wires it to argv. */
92
92
  declare function buildCli(argv?: readonly string[]): cac.CAC;
93
93
  /** Parse argv and dispatch. Reports unknown commands and unexpected errors cleanly. */
package/dist/index.js CHANGED
@@ -1812,7 +1812,7 @@ function writeSkeleton(root, config) {
1812
1812
  "fumadocs-core": "^16.8.2",
1813
1813
  "fumadocs-mdx": "^14.3.1",
1814
1814
  "fumadocs-ui": "^16.8.2",
1815
- superlore: "^0.6.0",
1815
+ superlore: "^0.9.0",
1816
1816
  "lucide-react": "^1.21.0",
1817
1817
  ...mcpEnabled ? (
1818
1818
  // mcp-handler pins an EXACT sdk peer (1.26.0); npm errors on anything else (pnpm only
@@ -1890,7 +1890,7 @@ export default withMDX(config);
1890
1890
  "source.config.ts",
1891
1891
  `import { defineConfig, defineDocs } from "fumadocs-mdx/config";
1892
1892
  import { superloreFrontmatterSchema } from "superlore/frontmatter";
1893
- import { remarkSuperloreCanvas } from "superlore/mdx";
1893
+ import { remarkSuperlore } from "superlore/mdx";
1894
1894
 
1895
1895
  // Extend the superlore frontmatter schema in ONE place if you add custom fields.
1896
1896
  export const docs = defineDocs({
@@ -1900,9 +1900,9 @@ export const docs = defineDocs({
1900
1900
 
1901
1901
  export default defineConfig({
1902
1902
  mdxOptions: {
1903
- // Turn fenced \`\`\`superlore-canvas JSON blocks into <Canvas json="\u2026" /> \u2014 the headline
1904
- // authoring path: write a whiteboard as a code block, get a rendered + serialized canvas.
1905
- remarkPlugins: [remarkSuperloreCanvas],
1903
+ // Markdown-first authoring, one plugin: \`\`\`superlore-canvas fences \u2192 <Canvas>, \`- [ ]\` task
1904
+ // lists \u2192 <Checklist>, and \`> [!NOTE]\` GitHub alerts \u2192 Callouts. Write natural markdown.
1905
+ remarkPlugins: [remarkSuperlore],
1906
1906
  },
1907
1907
  });
1908
1908
  `
@@ -2478,7 +2478,7 @@ function printNextSteps(root, config) {
2478
2478
  }
2479
2479
 
2480
2480
  // src/index.ts
2481
- var VERSION = "0.5.1";
2481
+ var VERSION = "0.6.0";
2482
2482
  function buildCli(argv = process3.argv) {
2483
2483
  const cli = cac("superlore");
2484
2484
  cli.command("init [dir]", "Scaffold a new superlore knowledge base").option("--name <name>", "KB name").option("--type <type>", "KB type: company-kb | product-docs | personal-kb").option("--auth", "Enable the Google SSO auth gate").option("--no-auth", "Disable the auth gate").option("--allowed-domain <domain>", "Restrict SSO to one email domain (implies --auth)").option("--accent <color>", "Brand accent colour (any CSS colour)").option("--no-mcp", "Disable the MCP endpoint (on by default)").option("--connect", "Install the editor extension after scaffolding (skip the prompt)").option("--no-connect", "Don't set up the editor extension").option("-y, --yes", "Skip prompts; use flags + defaults").example("superlore init my-kb --type product-docs").example("superlore init acme --type company-kb --auth --allowed-domain acme.com").example("superlore init me --type personal-kb").action(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlore-cli",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "The superlore CLI — scaffold, run, and build an agent-native knowledge base. One corpus. Humans and agents.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Krishnan S G",