@vectros-ai/cli 0.6.7 → 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.
@@ -11572,11 +11572,7 @@ async function runLoader(client, input) {
11572
11572
  schemaId,
11573
11573
  externalId: rec.externalId,
11574
11574
  // Optional structured payload (the document's `fields`); omitted when absent.
11575
- payload: rec.fields,
11576
- // Retain the raw text so a seeded document is retrievable via
11577
- // GET /v1/documents/{id}/text (mirrors the MCP document_ingest default) —
11578
- // a seed's text IS its content, worth keeping for the getting-started graph.
11579
- storeText: true
11575
+ payload: rec.fields
11580
11576
  }
11581
11577
  });
11582
11578
  if (created.id) seededDocumentIds.push(created.id);
@@ -14072,8 +14068,8 @@ async function runBlueprintTest(fileOrName, opts, deps = {}) {
14072
14068
 
14073
14069
  // src/build-info.ts
14074
14070
  var BUILD_INFO = {
14075
- cli: true ? "0.6.7" : "dev",
14076
- sdk: true ? "0.32.0" : "dev",
14071
+ cli: true ? "0.6.8" : "dev",
14072
+ sdk: true ? "0.33.0" : "dev",
14077
14073
  blueprints: true ? "0.6.5" : "dev"
14078
14074
  };
14079
14075
  function formatBuildInfo() {