@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/dist/cli.mjs CHANGED
@@ -4898,7 +4898,7 @@ var DocumentsClient = class {
4898
4898
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/v1/documents/{id}");
4899
4899
  }
4900
4900
  /**
4901
- * 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.
4901
+ * 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.
4902
4902
  *
4903
4903
  * @param {Vectros.PatchDocumentRequest} request
4904
4904
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -5150,7 +5150,7 @@ var DocumentsClient = class {
5150
5150
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/documents/{id}/download");
5151
5151
  }
5152
5152
  /**
5153
- * 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.
5153
+ * 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.
5154
5154
  *
5155
5155
  * @param {Vectros.GetDocumentTextRequest} request
5156
5156
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -9665,13 +9665,14 @@ var DATA_PLANE_ACTIONS = [
9665
9665
  "inference:r",
9666
9666
  "documents:r",
9667
9667
  "documents:c",
9668
+ "documents:u",
9668
9669
  "folders:r",
9669
9670
  "folders:c"
9670
9671
  ];
9671
9672
  var EDITOR_ACTIONS = [...DATA_PLANE_ACTIONS, "records:d", "documents:d", "folders:d"];
9672
9673
  var agenticSdlc = {
9673
9674
  name: "agentic-sdlc",
9674
- version: "1.2.0",
9675
+ version: "1.3.0",
9675
9676
  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.",
9676
9677
  contextId: "agentic-sdlc",
9677
9678
  contextName: "Agentic SDLC Knowledge Base",
@@ -11571,11 +11572,7 @@ async function runLoader(client, input) {
11571
11572
  schemaId,
11572
11573
  externalId: rec.externalId,
11573
11574
  // Optional structured payload (the document's `fields`); omitted when absent.
11574
- payload: rec.fields,
11575
- // Retain the raw text so a seeded document is retrievable via
11576
- // GET /v1/documents/{id}/text (mirrors the MCP document_ingest default) —
11577
- // a seed's text IS its content, worth keeping for the getting-started graph.
11578
- storeText: true
11575
+ payload: rec.fields
11579
11576
  }
11580
11577
  });
11581
11578
  if (created.id) seededDocumentIds.push(created.id);
@@ -14071,9 +14068,9 @@ async function runBlueprintTest(fileOrName, opts, deps = {}) {
14071
14068
 
14072
14069
  // src/build-info.ts
14073
14070
  var BUILD_INFO = {
14074
- cli: true ? "0.6.6" : "dev",
14075
- sdk: true ? "0.32.0" : "dev",
14076
- blueprints: true ? "0.6.4" : "dev"
14071
+ cli: true ? "0.6.8" : "dev",
14072
+ sdk: true ? "0.33.0" : "dev",
14073
+ blueprints: true ? "0.6.5" : "dev"
14077
14074
  };
14078
14075
  function formatBuildInfo() {
14079
14076
  return `vectros ${BUILD_INFO.cli} (sdk ${BUILD_INFO.sdk}, blueprints ${BUILD_INFO.blueprints})`;