superlore-cli 0.4.3 → 0.5.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 +1 -1
- package/dist/index.js +2 -4
- package/package.json +1 -1
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.
|
|
90
|
+
declare const VERSION = "0.5.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
|
@@ -1811,10 +1811,8 @@ function writeSkeleton(root, config) {
|
|
|
1811
1811
|
"fumadocs-core": "^16.8.2",
|
|
1812
1812
|
"fumadocs-mdx": "^14.3.1",
|
|
1813
1813
|
"fumadocs-ui": "^16.8.2",
|
|
1814
|
-
superlore: "^0.
|
|
1814
|
+
superlore: "^0.6.0",
|
|
1815
1815
|
"lucide-react": "^1.21.0",
|
|
1816
|
-
// superlore peers the rendered components pull in: Mermaid (Diagram), themes.
|
|
1817
|
-
mermaid: "^11.15.0",
|
|
1818
1816
|
...mcpEnabled ? (
|
|
1819
1817
|
// mcp-handler pins an EXACT sdk peer (1.26.0); npm errors on anything else (pnpm only
|
|
1820
1818
|
// warns). Pin the sdk to match so `npm install` resolves cleanly for every package manager.
|
|
@@ -2479,7 +2477,7 @@ function printNextSteps(root, config) {
|
|
|
2479
2477
|
}
|
|
2480
2478
|
|
|
2481
2479
|
// src/index.ts
|
|
2482
|
-
var VERSION = "0.
|
|
2480
|
+
var VERSION = "0.5.0";
|
|
2483
2481
|
function buildCli(argv = process3.argv) {
|
|
2484
2482
|
const cli = cac("superlore");
|
|
2485
2483
|
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