@work-shape/catalyst-cli 0.8.0-rc.38 → 0.8.0-rc.39

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -7
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -638,7 +638,8 @@ var KNOWLEDGE_EMBEDDING_STATES = [
638
638
  "none"
639
639
  ];
640
640
  var KNOWLEDGE_DOCUMENT_STATES = ["pending", "indexed", "failed"];
641
- var KNOWLEDGE_FILE_MAX_BYTES = 25 * 1024 * 1024;
641
+ var KNOWLEDGE_FILE_MAX_BYTES = 100 * 1024 * 1024;
642
+ var KNOWLEDGE_DOCUMENT_TEXT_MAX_BYTES = 25 * 1024 * 1024;
642
643
  var KNOWLEDGE_FILE_MAX_BYTES_CEILING = 256 * 1024 * 1024;
643
644
  var KNOWLEDGE_DOCUMENT_FAILURE_CODES = [
644
645
  // The extractor does not read the file's format.
@@ -1354,9 +1355,12 @@ var operationBatchResultSchema = z2.strictObject({
1354
1355
  var id = z3.string().min(1).max(200);
1355
1356
  var count = z3.number().int().min(0);
1356
1357
  var hash = z3.string().regex(/^[a-f0-9]{64}$/u);
1357
- var text = z3.string().max(KNOWLEDGE_FILE_MAX_BYTES).refine((value) => new TextEncoder().encode(value).byteLength <= KNOWLEDGE_FILE_MAX_BYTES, {
1358
- message: `Document text exceeds ${KNOWLEDGE_FILE_MAX_BYTES} bytes`
1359
- });
1358
+ var text = z3.string().max(KNOWLEDGE_DOCUMENT_TEXT_MAX_BYTES).refine(
1359
+ (value) => new TextEncoder().encode(value).byteLength <= KNOWLEDGE_DOCUMENT_TEXT_MAX_BYTES,
1360
+ {
1361
+ message: `Document text exceeds ${KNOWLEDGE_DOCUMENT_TEXT_MAX_BYTES} bytes`
1362
+ }
1363
+ );
1360
1364
  var KNOWLEDGE_ORIGIN_LINK_MAX_CHARS = 4e3;
1361
1365
  var KNOWLEDGE_ORIGIN_LINK_CHANGES = ["set", "cleared"];
1362
1366
  var CREDENTIAL_PARAMETERS = /* @__PURE__ */ new Set([
@@ -1486,7 +1490,7 @@ var knowledgeProcessorOutputSchema = processorMetadataSchema.extend({
1486
1490
  (size, page2) => size + new TextEncoder().encode(page2.text).byteLength,
1487
1491
  0
1488
1492
  );
1489
- if (bytes > KNOWLEDGE_FILE_MAX_BYTES)
1493
+ if (bytes > KNOWLEDGE_DOCUMENT_TEXT_MAX_BYTES)
1490
1494
  context.addIssue({
1491
1495
  code: "custom",
1492
1496
  path: ["pages"],
@@ -2853,7 +2857,7 @@ import { z as z68 } from "zod";
2853
2857
  // ../api-contract/package.json
2854
2858
  var package_default = {
2855
2859
  name: "@work-shape/catalyst-api-contract",
2856
- version: "0.8.0-rc.38",
2860
+ version: "0.8.0-rc.39",
2857
2861
  license: "MIT",
2858
2862
  repository: {
2859
2863
  type: "git",
@@ -4581,7 +4585,9 @@ var assetSummarySchema = z30.object({
4581
4585
  /**
4582
4586
  * What the kind says of the asset beside its name, by the kind's own keys: a Connection
4583
4587
  * names its `connectorType`, its `origin`, whether it is `enabled` and, where it has one, its
4584
- * `service`, which picks its icon. Connection lists also carry runtime `health`. A skill names its
4588
+ * `service`, which picks its icon. Connection lists also carry runtime `health`, and of a
4589
+ * person's own server `ownServer`: `reader` where it is the reader's own, `other` where it is
4590
+ * another person's, then with `ownerLabel`, its owner's name (empty for a deleted account). A skill names its
4585
4591
  * `origin`, who ships it: `instance` for a skill of the instance's own, `release` for one a
4586
4592
  * release ships. It names its `summary`, the sentence for people, where it has one. A skill
4587
4593
  * a release ships also names its `icon`, a key of the interface's icon registry; no other
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@work-shape/catalyst-cli",
3
- "version": "0.8.0-rc.38",
3
+ "version": "0.8.0-rc.39",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,9 +40,9 @@
40
40
  "@types/node": "^24.13.1",
41
41
  "tsup": "^8.5.1",
42
42
  "typescript": "^6.0.3",
43
- "@work-shape/catalyst-api-client": "0.8.0-rc.38",
44
- "@work-shape/catalyst-api-contract": "0.8.0-rc.38",
45
- "@work-shape/catalyst-asset-schemas": "0.8.0-rc.38"
43
+ "@work-shape/catalyst-api-contract": "0.8.0-rc.39",
44
+ "@work-shape/catalyst-api-client": "0.8.0-rc.39",
45
+ "@work-shape/catalyst-asset-schemas": "0.8.0-rc.39"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup",