@bitsness/grapuco-cli 0.1.1 → 0.1.2
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/README.md +1 -0
- package/dist/index.js +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -6404,7 +6404,10 @@ async function pushCommand(opts) {
|
|
|
6404
6404
|
added: addedPayload.length > 0 ? addedPayload : void 0,
|
|
6405
6405
|
modified: modifiedPayload.length > 0 ? modifiedPayload : void 0,
|
|
6406
6406
|
deletedPaths: delta.deleted.length > 0 ? delta.deleted : void 0,
|
|
6407
|
-
features:
|
|
6407
|
+
features: {
|
|
6408
|
+
...config.features,
|
|
6409
|
+
enrichFlows: opts.enrichFlows || false
|
|
6410
|
+
}
|
|
6408
6411
|
});
|
|
6409
6412
|
if (!result.ok) {
|
|
6410
6413
|
pushSpinner.fail(`Push failed: ${result.error}`);
|
|
@@ -6773,7 +6776,7 @@ program.name("grapuco").description("Grapuco CLI \u2014 Parse your code locally,
|
|
|
6773
6776
|
program.command("login").description("Authenticate with your Grapuco API key").option("--api-key <key>", "API key (or enter interactively)").option("--server <url>", "Server URL", "https://api.grapuco.com").action(loginCommand);
|
|
6774
6777
|
program.command("init").description("Initialize Grapuco in the current project directory").option("--name <name>", "Repository name (defaults to folder name)").option("--link <repoId>", "Link to existing repository instead of creating new").option("--server <url>", "Override Grapuco Enterprise server URL").action(initCommand);
|
|
6775
6778
|
program.command("ingest").description("Parse all source files locally and prepare for push").option("--embeddings", "Enable AI embeddings (semantic search)").option("--no-embeddings", "Disable AI embeddings").option("--flows", "Enable data flow analysis").option("--no-flows", "Disable data flow analysis").option("--all", "Enable all features (embeddings + flows)").option("--dry-run", "Parse only, do not push to server").action(ingestCommand);
|
|
6776
|
-
program.command("push").description("Push local changes to Grapuco cloud (delta sync)").option("--force", "Force full re-push (ignore cache)").action(pushCommand);
|
|
6779
|
+
program.command("push").description("Push local changes to Grapuco cloud (delta sync)").option("--force", "Force full re-push (ignore cache)").option("--enrich-flows", "Trigger AI data flow enrichment after delta sync").action(pushCommand);
|
|
6777
6780
|
program.command("watch").description("Watch for file changes and auto-push (delta sync)").option("--debounce <ms>", "Debounce interval in ms", "2000").action(watchCommand);
|
|
6778
6781
|
program.command("status").description("Show sync status of current project").action(statusCommand);
|
|
6779
6782
|
program.command("inspect").description("Preview what data will be sent to server (no source code)").option("--json", "Output as JSON").action(inspectCommand);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitsness/grapuco-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Grapuco CLI — Parse your code locally, sync architecture to cloud. Zero source code upload.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
"tsup": "^8.5.1",
|
|
48
48
|
"typescript": "^6.0.2"
|
|
49
49
|
}
|
|
50
|
-
}
|
|
50
|
+
}
|