@vectros-ai/cli 0.6.6 → 0.6.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
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.8 — 2026-07-05
7
+
8
+ ### Changed
9
+
10
+ - Updated the bundled `@vectros-ai/sdk` to **0.33.0**, keeping the CLI aligned with
11
+ the current Vectros API. Text retention is now a file-upload-only choice: a
12
+ text-ingested document always keeps its body, so the loader no longer sends the
13
+ (now removed) `storeText` field when seeding text documents. No CLI command or
14
+ flag changes.
15
+
16
+ ## 0.6.7 — 2026-07-04
17
+
18
+ ### Fixed
19
+
20
+ - **Bundled blueprint library updated to `@vectros-ai/blueprints` 0.6.5.** The
21
+ `agentic-sdlc` blueprint's service-principal `accessProfile` now includes
22
+ `documents:u`, so a `bootstrap`ped agent key can archive and re-ingest documents —
23
+ the repo↔KB sync the blueprint documents was previously unexecutable by the key it
24
+ mints. Re-running `vectros bootstrap` against an existing context brings its scopes
25
+ current with the blueprint; no key rotation is needed, and the installed key gains
26
+ `documents:u` within a few minutes. No CLI command or flag changes.
27
+
6
28
  ## 0.6.6 — 2026-07-03
7
29
 
8
30
  ### Changed
package/dist/cli.js CHANGED
@@ -4921,7 +4921,7 @@ var DocumentsClient = class {
4921
4921
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/v1/documents/{id}");
4922
4922
  }
4923
4923
  /**
4924
- * Partially updates a document using an RFC 7386 JSON Merge Patch. The `payload` object is deep-merged: keys you send overwrite existing values (recursing into nested objects), a key set to `null` is deleted, and keys you omit are preserved — unlike PUT, which replaces the whole payload. Top-level fields (`title`, `storeText`, `folderId`, `schemaId`, ownership) are set when present and left unchanged when omitted; sending a top-level field as `null` is rejected. Supplying `text` re-ingests the document body (same as PUT). `indexMode` and `externalId` are immutable and rejected if present. The merged result is validated against the bound schema. Pass `expectedVersion` for optimistic concurrency (409 on conflict). Requires the `documents:u` scope.
4924
+ * Partially updates a document using an RFC 7386 JSON Merge Patch. The `payload` object is deep-merged: keys you send overwrite existing values (recursing into nested objects), a key set to `null` is deleted, and keys you omit are preserved — unlike PUT, which replaces the whole payload. Top-level fields (`title`, `folderId`, `schemaId`, ownership) are set when present and left unchanged when omitted; sending a top-level field as `null` is rejected. Supplying `text` re-ingests the document body (same as PUT). `indexMode`, `externalId`, and `storeText` (text retention is fixed at ingest) are immutable and rejected if present. The merged result is validated against the bound schema. Pass `expectedVersion` for optimistic concurrency (409 on conflict). Requires the `documents:u` scope.
4925
4925
  *
4926
4926
  * @param {Vectros.PatchDocumentRequest} request
4927
4927
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -5173,7 +5173,7 @@ var DocumentsClient = class {
5173
5173
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/documents/{id}/download");
5174
5174
  }
5175
5175
  /**
5176
- * Returns the full extracted or ingested text body for documents that were stored with `storeText=true`. Returns 404 when the document does not exist or when no text is available (because `storeText` was false, or extraction has not yet completed). Requires the `documents:r` scope.
5176
+ * Returns the document's full text body when it is retained: always available for text-ingested documents, and for file-uploaded documents unless they were uploaded with `storeText=false` (which discards the extracted text once indexing completes — the original file remains available via `GET /{id}/download`). Returns 404 when the document does not exist, its text was not retained, or extraction has not yet completed. Requires the `documents:r` scope.
5177
5177
  *
5178
5178
  * @param {Vectros.GetDocumentTextRequest} request
5179
5179
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -9688,13 +9688,14 @@ var DATA_PLANE_ACTIONS = [
9688
9688
  "inference:r",
9689
9689
  "documents:r",
9690
9690
  "documents:c",
9691
+ "documents:u",
9691
9692
  "folders:r",
9692
9693
  "folders:c"
9693
9694
  ];
9694
9695
  var EDITOR_ACTIONS = [...DATA_PLANE_ACTIONS, "records:d", "documents:d", "folders:d"];
9695
9696
  var agenticSdlc = {
9696
9697
  name: "agentic-sdlc",
9697
- version: "1.2.0",
9698
+ version: "1.3.0",
9698
9699
  description: "A whole-SDLC system of record for an AI development team \u2014 decisions, designs, references, runbooks, post-mortems (as documents) plus controls, conventions, gotchas, and a glossary (as records), cross-linked and recalled by meaning.",
9699
9700
  contextId: "agentic-sdlc",
9700
9701
  contextName: "Agentic SDLC Knowledge Base",
@@ -11594,11 +11595,7 @@ async function runLoader(client, input) {
11594
11595
  schemaId,
11595
11596
  externalId: rec.externalId,
11596
11597
  // Optional structured payload (the document's `fields`); omitted when absent.
11597
- payload: rec.fields,
11598
- // Retain the raw text so a seeded document is retrievable via
11599
- // GET /v1/documents/{id}/text (mirrors the MCP document_ingest default) —
11600
- // a seed's text IS its content, worth keeping for the getting-started graph.
11601
- storeText: true
11598
+ payload: rec.fields
11602
11599
  }
11603
11600
  });
11604
11601
  if (created.id) seededDocumentIds.push(created.id);
@@ -14094,9 +14091,9 @@ async function runBlueprintTest(fileOrName, opts, deps = {}) {
14094
14091
 
14095
14092
  // src/build-info.ts
14096
14093
  var BUILD_INFO = {
14097
- cli: true ? "0.6.6" : "dev",
14098
- sdk: true ? "0.32.0" : "dev",
14099
- blueprints: true ? "0.6.4" : "dev"
14094
+ cli: true ? "0.6.8" : "dev",
14095
+ sdk: true ? "0.33.0" : "dev",
14096
+ blueprints: true ? "0.6.5" : "dev"
14100
14097
  };
14101
14098
  function formatBuildInfo() {
14102
14099
  return `vectros ${BUILD_INFO.cli} (sdk ${BUILD_INFO.sdk}, blueprints ${BUILD_INFO.blueprints})`;