@qaecy/cue-cli 0.0.46 → 0.0.48
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/assets/wasm/dir_scanner_wasm.js +461 -0
- package/main.js +789 -76
- package/package.json +1 -1
- package/readme.md +36 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -35,6 +35,42 @@ To sync the current dir to the space with id `<space-id>` under the provider id
|
|
|
35
35
|
| `--legacy` | Write RDF metadata as serialised Turtle BLOBs to the processed storage bucket instead of patching the knowledge graph directly. Use this when the ledger and graph services are not yet available for the target environment. | `false` |
|
|
36
36
|
| `--metadata-only` | Push filesystem-structure metadata for every local file directly to the commands API, without checking what is already on the remote, running a credit estimate, or uploading any file content. Useful for repairing missing graph metadata after a migration or interrupted sync. Can be combined with `--legacy` to write the metadata as BLOBs. | `false` |
|
|
37
37
|
|
|
38
|
+
### app-builder-tools
|
|
39
|
+
|
|
40
|
+
A set of JSON-output commands designed for agent-assisted Cue app development. All sub-commands accept `-k/--key` (or `CUE_API_KEY`), `-e/--emulators`, and `-v/--verbose`.
|
|
41
|
+
|
|
42
|
+
#### list-projects
|
|
43
|
+
|
|
44
|
+
List all projects accessible to the authenticated user.
|
|
45
|
+
|
|
46
|
+
`npx @qaecy/cue-cli app-builder-tools list-projects`
|
|
47
|
+
|
|
48
|
+
Outputs a JSON array with `id`, `name`, `organizationID`, `isPublic`, `graphType`, and `lastSync` for each project.
|
|
49
|
+
|
|
50
|
+
#### entity-summary-graph
|
|
51
|
+
|
|
52
|
+
Fetch the entity category relationship summary graph for a project — useful for understanding the knowledge graph schema before writing queries.
|
|
53
|
+
|
|
54
|
+
`npx @qaecy/cue-cli app-builder-tools entity-summary-graph -s <project-id>`
|
|
55
|
+
|
|
56
|
+
| Option | Description | Default |
|
|
57
|
+
|----------------------|----------------------------------------------------------------------------------------------|---------|
|
|
58
|
+
| `-s, --space <id>` | Project ID (required) | N/A |
|
|
59
|
+
| `-f, --format <fmt>` | Output format: `md` (aligned text table), `graph` (JSON nodes + weighted edges), `json` (raw SPARQL result) | `md` |
|
|
60
|
+
|
|
61
|
+
#### sparql
|
|
62
|
+
|
|
63
|
+
Execute a SPARQL SELECT query against a project triplestore. The query can be passed inline or piped via stdin. Outputs raw SPARQL JSON results.
|
|
64
|
+
|
|
65
|
+
`npx @qaecy/cue-cli app-builder-tools sparql -s <project-id> -q "SELECT * WHERE { ?s ?p ?o } LIMIT 10"`
|
|
66
|
+
|
|
67
|
+
`echo "SELECT * WHERE { ?s ?p ?o } LIMIT 10" | npx @qaecy/cue-cli app-builder-tools sparql -s <project-id>`
|
|
68
|
+
|
|
69
|
+
| Option | Description | Default |
|
|
70
|
+
|---------------------|-----------------------------------------------------------|---------|
|
|
71
|
+
| `-s, --space <id>` | Project ID (required) | N/A |
|
|
72
|
+
| `-q, --query <sparql>` | SPARQL query string (or pipe query via stdin) | N/A |
|
|
73
|
+
|
|
38
74
|
### util-remove-rdf-star
|
|
39
75
|
|
|
40
76
|
Remove RDF-star (quoted triple) statements from an NQuads file. Supports both plain `.nq` and gzipped `.nq.gz` files. If the input is gzipped the output will also be gzipped.
|