@vectros-ai/cli 0.5.0 → 0.6.1
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/AUTHORING.md +12 -0
- package/CHANGELOG.md +36 -0
- package/README.md +21 -0
- package/dist/cli.js +201 -10
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +201 -10
- package/dist/cli.mjs.map +1 -1
- package/package.json +2 -2
package/AUTHORING.md
CHANGED
|
@@ -80,6 +80,15 @@ A name must be 2–50 chars: a lowercase letter, then lowercase letters / digits
|
|
|
80
80
|
`bootstrap` shows the same plan and asks for confirmation before minting
|
|
81
81
|
(`--yes` skips the prompt for CI/agents; `--print` previews without minting).
|
|
82
82
|
|
|
83
|
+
**Provisioning a production context — `--no-seed`.** A blueprint's `seed`
|
|
84
|
+
records are illustrative sample data: handy for a getting-started or demo
|
|
85
|
+
context, but synthetic clutter in a context that will hold real data. Pass
|
|
86
|
+
`bootstrap --no-seed` to provision everything *except* the seed records — the
|
|
87
|
+
schemas, profile and scoped key still apply, and the plan above drops its
|
|
88
|
+
`+ seed` line so the preview matches. (Interactively, a blueprint with seeds
|
|
89
|
+
asks before adding them.) This is distinct from `--blank`, which is
|
|
90
|
+
credential-only and provisions no schemas at all.
|
|
91
|
+
|
|
83
92
|
### 4. `blueprint-test` — prove it live, then clean up (needs creds)
|
|
84
93
|
|
|
85
94
|
`validate`/`plan` are static; `blueprint-test` is the live proof. It **applies** the blueprint to a real
|
|
@@ -144,6 +153,9 @@ seed:
|
|
|
144
153
|
- typeName: thing
|
|
145
154
|
externalId: seed-welcome # stable → idempotent; re-apply converges
|
|
146
155
|
fields: { title: "Hello" }
|
|
156
|
+
# Seeds are illustrative sample data. They're applied by default; provision a
|
|
157
|
+
# production context with `bootstrap --no-seed` to skip them (schemas + key
|
|
158
|
+
# still apply).
|
|
147
159
|
```
|
|
148
160
|
|
|
149
161
|
YAML or JSON are both accepted (chosen by extension). The bundled library is
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,42 @@
|
|
|
3
3
|
All notable changes to `@vectros-ai/cli` are documented here.
|
|
4
4
|
This project adheres to [Semantic Versioning](https://semver.org).
|
|
5
5
|
|
|
6
|
+
## 0.6.1 — 2026-06-27
|
|
7
|
+
|
|
8
|
+
Maintenance — refreshed the bundled Vectros SDK to the current API surface.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Updated the bundled `@vectros-ai/sdk` to **0.30.0**, keeping the CLI aligned
|
|
13
|
+
with the current Vectros API (and the SDK version the CLI reports). The 0.30.0
|
|
14
|
+
API adds a document-type search facet (`typeName` now scopes documents as well
|
|
15
|
+
as records), clearer rate-limit signals (a `429` carries `Retry-After` and
|
|
16
|
+
`X-RateLimit-*` headers plus a `RATE_LIMITED` error code), and a read-metering
|
|
17
|
+
section in the usage report. No CLI commands or flags changed.
|
|
18
|
+
|
|
19
|
+
## 0.6.0 — 2026-06-26
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `vectros bootstrap --no-seed` — provision a blueprint's schemas, AccessProfile
|
|
24
|
+
and scoped key **without** its illustrative seed records. The right choice for
|
|
25
|
+
a **production** context, where a blueprint's sample data is synthetic clutter.
|
|
26
|
+
Unlike `--blank` (credential-only), the schemas are still created. The plan
|
|
27
|
+
preview and the run summary both reflect the skip (`Seeded 0 — skipped`), and
|
|
28
|
+
an interactive run with a seeded blueprint now asks before adding sample data.
|
|
29
|
+
|
|
30
|
+
## 0.5.1 — 2026-06-25
|
|
31
|
+
|
|
32
|
+
Maintenance — refreshed the bundled Vectros SDK to the current API surface.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Updated the bundled `@vectros-ai/sdk` to **0.29.9**, keeping the CLI aligned
|
|
37
|
+
with the current Vectros API. This picks up the `SKIPPED` index status: a
|
|
38
|
+
record or document saved with no searchable text now reports `SKIPPED` (stored
|
|
39
|
+
and retrievable, simply not indexed) rather than `FAILED`. No CLI commands or
|
|
40
|
+
flags changed.
|
|
41
|
+
|
|
6
42
|
## 0.5.0 — 2026-06-20
|
|
7
43
|
|
|
8
44
|
Initial public release of the `vectros` provisioning CLI.
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @vectros-ai/cli
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@vectros-ai/cli)
|
|
4
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
5
|
+
|
|
3
6
|
The Vectros provisioning CLI — the `vectros` binary. Two command groups:
|
|
4
7
|
|
|
5
8
|
- **`vectros bootstrap`** — provision a least-privilege MCP credential (+ optional blueprint).
|
|
@@ -44,12 +47,23 @@ VECTROS_BOOTSTRAP_TOKEN=… npx -y @vectros-ai/cli bootstrap \
|
|
|
44
47
|
npx -y @vectros-ai/cli login
|
|
45
48
|
npx -y @vectros-ai/cli bootstrap --blueprint task-management --yes
|
|
46
49
|
|
|
50
|
+
# Provision a PRODUCTION context: the blueprint's schemas + key, but NONE of its
|
|
51
|
+
# illustrative sample records.
|
|
52
|
+
npx -y @vectros-ai/cli bootstrap --blueprint task-management --no-seed --yes
|
|
53
|
+
|
|
47
54
|
# See every flag.
|
|
48
55
|
npx -y @vectros-ai/cli bootstrap --help
|
|
49
56
|
```
|
|
50
57
|
|
|
51
58
|
Re-running is idempotent; `--rotate` revokes + re-mints just this machine's key.
|
|
52
59
|
|
|
60
|
+
A bundled blueprint ships with **sample seed records** so the credential works
|
|
61
|
+
the moment it's minted. For a **production** context that's synthetic clutter:
|
|
62
|
+
`--no-seed` provisions everything else — the schemas, the AccessProfile and the
|
|
63
|
+
scoped key — but creates no sample records, leaving the context clean for real
|
|
64
|
+
data. (Interactively, a blueprint with seeds asks before adding them.) This
|
|
65
|
+
differs from `--blank`, which is credential-only and drops the schemas too.
|
|
66
|
+
|
|
53
67
|
## `vectros blueprint` — authoring (creds-free)
|
|
54
68
|
|
|
55
69
|
Author and inspect blueprints without an account. You'll run these repeatedly,
|
|
@@ -104,6 +118,13 @@ mint to a data-plane allowlist (`records` / `schemas` / `search` / `documents`
|
|
|
104
118
|
billing / admin) or `*` wildcard **hard-rejects** — the CLI mints nothing and
|
|
105
119
|
exits non-zero. There is intentionally **no override flag**.
|
|
106
120
|
|
|
121
|
+
## Rate limits
|
|
122
|
+
|
|
123
|
+
`blueprint-test` provisions against the live API, so a large blueprint can brush the per-account
|
|
124
|
+
per-minute rate limit. The CLI surfaces the `429` (with its `Retry-After` hint) directly — rerun
|
|
125
|
+
after the window resets, or split a large blueprint. See the
|
|
126
|
+
[rate limits guide](https://docs.vectros.ai/guides/operations-trust/rate-limits).
|
|
127
|
+
|
|
107
128
|
## See also
|
|
108
129
|
|
|
109
130
|
- [`@vectros-ai/mcp-server`](https://www.npmjs.com/package/@vectros-ai/mcp-server) — the runtime this CLI provisions for.
|