@vectros-ai/cli 0.5.1 → 0.6.4
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 +74 -0
- package/README.md +18 -0
- package/dist/cli.js +1260 -217
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1260 -217
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -3
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,80 @@
|
|
|
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.4 — 2026-06-29
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- **`vectros bootstrap` now propagates a changed schema on re-apply.** When you
|
|
11
|
+
re-run bootstrap against a context whose schema already exists, the CLI reconciles
|
|
12
|
+
the existing schema to your blueprint's current shape — additive fields, lookups,
|
|
13
|
+
render hints, and the `active` flag are applied — instead of silently keeping the
|
|
14
|
+
old shape. A migration-locked change (a lookup field's `rangeEnabled`/`sortBy`/
|
|
15
|
+
`sensitive`, or the schema `typeName`) is reported as a clear error rather than
|
|
16
|
+
being quietly ignored. A re-apply whose shape is unchanged is a no-op.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Updated the bundled `@vectros-ai/sdk` to **0.31.0**, keeping the CLI aligned with
|
|
21
|
+
the current Vectros API. Create endpoints now report whether a resource was newly
|
|
22
|
+
created and accept an opt-in `upsert` to reconcile an existing one; the schema
|
|
23
|
+
reconcile above is built on it.
|
|
24
|
+
|
|
25
|
+
## 0.6.3 — 2026-06-28
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Updated the bundled `@vectros-ai/blueprints` to **0.6.1**, which adds the
|
|
30
|
+
`agentic-sdlc` blueprint — a whole-SDLC system of record (nine schemas,
|
|
31
|
+
content vs structure, cross-surface knowledge graph). Now available by name:
|
|
32
|
+
`vectros bootstrap --blueprint agentic-sdlc`.
|
|
33
|
+
|
|
34
|
+
## 0.6.2 — 2026-06-28
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- `vectros bootstrap --tenant test|live` (and the `--test` shorthand) — provision
|
|
39
|
+
the blueprint's credential against your **test** tenant for a dry run before
|
|
40
|
+
pointing real data at the same setup. The tenant rides the key (`ssk_test_*` vs
|
|
41
|
+
`ssk_live_*`), so the generated MCP/client config is otherwise identical.
|
|
42
|
+
Defaults to `live`.
|
|
43
|
+
- **Bootstrap now seeds documents, not just records.** A blueprint seed entry
|
|
44
|
+
declares its surface — `surface: record` (the default) or `surface: document`
|
|
45
|
+
(a text-ingested document with a `title` and `text`, plus optional structured
|
|
46
|
+
`fields`). A seed graph can span both surfaces: a record's `reference` can point
|
|
47
|
+
at a seeded document by `externalId` (and vice versa), so a blueprint that mixes
|
|
48
|
+
records and documents comes up as a live, linked graph at bootstrap. The plan
|
|
49
|
+
preview and `blueprint test` (apply + teardown) both handle the document surface.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- Updated the bundled `@vectros-ai/blueprints` to **0.6.0** (the surface-tagged
|
|
54
|
+
seed format above).
|
|
55
|
+
|
|
56
|
+
## 0.6.1 — 2026-06-27
|
|
57
|
+
|
|
58
|
+
Maintenance — refreshed the bundled Vectros SDK to the current API surface.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- Updated the bundled `@vectros-ai/sdk` to **0.30.0**, keeping the CLI aligned
|
|
63
|
+
with the current Vectros API (and the SDK version the CLI reports). The 0.30.0
|
|
64
|
+
API adds a document-type search facet (`typeName` now scopes documents as well
|
|
65
|
+
as records), clearer rate-limit signals (a `429` carries `Retry-After` and
|
|
66
|
+
`X-RateLimit-*` headers plus a `RATE_LIMITED` error code), and a read-metering
|
|
67
|
+
section in the usage report. No CLI commands or flags changed.
|
|
68
|
+
|
|
69
|
+
## 0.6.0 — 2026-06-26
|
|
70
|
+
|
|
71
|
+
### Added
|
|
72
|
+
|
|
73
|
+
- `vectros bootstrap --no-seed` — provision a blueprint's schemas, AccessProfile
|
|
74
|
+
and scoped key **without** its illustrative seed records. The right choice for
|
|
75
|
+
a **production** context, where a blueprint's sample data is synthetic clutter.
|
|
76
|
+
Unlike `--blank` (credential-only), the schemas are still created. The plan
|
|
77
|
+
preview and the run summary both reflect the skip (`Seeded 0 — skipped`), and
|
|
78
|
+
an interactive run with a seeded blueprint now asks before adding sample data.
|
|
79
|
+
|
|
6
80
|
## 0.5.1 — 2026-06-25
|
|
7
81
|
|
|
8
82
|
Maintenance — refreshed the bundled Vectros SDK to the current API surface.
|
package/README.md
CHANGED
|
@@ -47,12 +47,23 @@ VECTROS_BOOTSTRAP_TOKEN=… npx -y @vectros-ai/cli bootstrap \
|
|
|
47
47
|
npx -y @vectros-ai/cli login
|
|
48
48
|
npx -y @vectros-ai/cli bootstrap --blueprint task-management --yes
|
|
49
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
|
+
|
|
50
54
|
# See every flag.
|
|
51
55
|
npx -y @vectros-ai/cli bootstrap --help
|
|
52
56
|
```
|
|
53
57
|
|
|
54
58
|
Re-running is idempotent; `--rotate` revokes + re-mints just this machine's key.
|
|
55
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
|
+
|
|
56
67
|
## `vectros blueprint` — authoring (creds-free)
|
|
57
68
|
|
|
58
69
|
Author and inspect blueprints without an account. You'll run these repeatedly,
|
|
@@ -107,6 +118,13 @@ mint to a data-plane allowlist (`records` / `schemas` / `search` / `documents`
|
|
|
107
118
|
billing / admin) or `*` wildcard **hard-rejects** — the CLI mints nothing and
|
|
108
119
|
exits non-zero. There is intentionally **no override flag**.
|
|
109
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
|
+
|
|
110
128
|
## See also
|
|
111
129
|
|
|
112
130
|
- [`@vectros-ai/mcp-server`](https://www.npmjs.com/package/@vectros-ai/mcp-server) — the runtime this CLI provisions for.
|