@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/CHANGELOG.md +10 -0
- package/dist/cli.js +5 -9
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +5 -9
- package/dist/cli.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
|
|
6
16
|
## 0.6.7 — 2026-07-04
|
|
7
17
|
|
|
8
18
|
### Fixed
|
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`, `
|
|
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
|
|
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.
|
|
@@ -11595,11 +11595,7 @@ async function runLoader(client, input) {
|
|
|
11595
11595
|
schemaId,
|
|
11596
11596
|
externalId: rec.externalId,
|
|
11597
11597
|
// Optional structured payload (the document's `fields`); omitted when absent.
|
|
11598
|
-
payload: rec.fields
|
|
11599
|
-
// Retain the raw text so a seeded document is retrievable via
|
|
11600
|
-
// GET /v1/documents/{id}/text (mirrors the MCP document_ingest default) —
|
|
11601
|
-
// a seed's text IS its content, worth keeping for the getting-started graph.
|
|
11602
|
-
storeText: true
|
|
11598
|
+
payload: rec.fields
|
|
11603
11599
|
}
|
|
11604
11600
|
});
|
|
11605
11601
|
if (created.id) seededDocumentIds.push(created.id);
|
|
@@ -14095,8 +14091,8 @@ async function runBlueprintTest(fileOrName, opts, deps = {}) {
|
|
|
14095
14091
|
|
|
14096
14092
|
// src/build-info.ts
|
|
14097
14093
|
var BUILD_INFO = {
|
|
14098
|
-
cli: true ? "0.6.
|
|
14099
|
-
sdk: true ? "0.
|
|
14094
|
+
cli: true ? "0.6.8" : "dev",
|
|
14095
|
+
sdk: true ? "0.33.0" : "dev",
|
|
14100
14096
|
blueprints: true ? "0.6.5" : "dev"
|
|
14101
14097
|
};
|
|
14102
14098
|
function formatBuildInfo() {
|