superlore-cli 0.7.3 → 0.7.5

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
@@ -106,7 +106,7 @@ declare function serializeSuperloreJson(config: SuperloreJson): string;
106
106
  declare function resolveMcpPath(config: SuperloreJson): string | undefined;
107
107
 
108
108
  /** The CLI version, kept in sync with package.json at build time. */
109
- declare const VERSION = "0.7.3";
109
+ declare const VERSION = "0.7.5";
110
110
  /** Build the argument parser. Exported for tests; `run()` wires it to argv. */
111
111
  declare function buildCli(argv?: readonly string[]): cac.CAC;
112
112
  /** Parse argv and dispatch. Reports unknown commands and unexpected errors cleanly. */
package/dist/index.js CHANGED
@@ -1865,7 +1865,7 @@ function writeSkeleton(root, config) {
1865
1865
  "fumadocs-core": "^16.8.2",
1866
1866
  "fumadocs-mdx": "^14.3.1",
1867
1867
  "fumadocs-ui": "^16.8.2",
1868
- superlore: "^0.9.0",
1868
+ superlore: "^0.13.0",
1869
1869
  "lucide-react": "^1.21.0",
1870
1870
  ...mcpEnabled ? (
1871
1871
  // mcp-handler pins an EXACT sdk peer (1.26.0); npm errors on anything else (pnpm only
@@ -2048,8 +2048,11 @@ export default async function Page(props: { params: Promise<{ slug?: string[] }>
2048
2048
  const page = source.getPage(params.slug);
2049
2049
  if (!page) notFound();
2050
2050
  const MDX = page.data.body;
2051
+ // \`hideToc\` (superlore frontmatter) drops the "On this page" panel on self-navigating pages
2052
+ // like a Releases changelog, whose timeline + per-release rail already do the jumping.
2053
+ const hideToc = page.data.hideToc === true;
2051
2054
  return (
2052
- <DocsPage toc={page.data.toc}>
2055
+ <DocsPage toc={page.data.toc} tableOfContent={hideToc ? { enabled: false } : undefined}>
2053
2056
  <DocsBody>
2054
2057
  <MDX components={getMDXComponents()} />
2055
2058
  </DocsBody>
@@ -2543,7 +2546,7 @@ function printNextSteps(root, config) {
2543
2546
  }
2544
2547
 
2545
2548
  // src/index.ts
2546
- var VERSION = "0.7.3";
2549
+ var VERSION = "0.7.5";
2547
2550
  function buildCli(argv = process3.argv) {
2548
2551
  const cli = cac("superlore");
2549
2552
  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.7.3",
3
+ "version": "0.7.5",
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",