@eigenpal/cli 0.16.0 → 0.16.1

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
@@ -1,5 +1,11 @@
1
1
  # @eigenpal/cli
2
2
 
3
+ ## 0.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e0c01f7: CLI archive handling now rejects malformed ZIP64 data safely instead of risking an unbounded processing loop.
8
+
3
9
  ## 0.16.0
4
10
 
5
11
  ### Minor Changes
package/dist/cli.js CHANGED
@@ -7804,7 +7804,11 @@ var init_ai_client = __esm(() => {
7804
7804
  ];
7805
7805
  ReasoningEffortSchema = _enum(REASONING_EFFORTS);
7806
7806
  ModelReasoningConfigSchema = object({
7807
- supportedEfforts: array(ReasoningEffortSchema).min(1)
7807
+ supportedEfforts: array(ReasoningEffortSchema).min(1),
7808
+ defaultEffort: ReasoningEffortSchema.optional()
7809
+ }).refine((config) => config.defaultEffort === undefined || config.supportedEfforts.includes(config.defaultEffort), {
7810
+ message: "defaultEffort must be included in supportedEfforts",
7811
+ path: ["defaultEffort"]
7808
7812
  }).strict();
7809
7813
  });
7810
7814
 
@@ -53441,7 +53445,7 @@ var init_step_configs = __esm(() => {
53441
53445
  init_typed_script();
53442
53446
  init_email_recipients();
53443
53447
  init_steps();
53444
- OptionalReasoningEffortSchema = ReasoningEffortSchema.optional().describe("Reasoning effort for models that support it. Omit to preserve the current provider default.");
53448
+ OptionalReasoningEffortSchema = ReasoningEffortSchema.optional().describe("Reasoning effort for models that support it. Omit to use the selected model's default.");
53445
53449
  AiParseConfigSchema = object({
53446
53450
  input: string2().describe("Storage reference or template expression for the document"),
53447
53451
  parseMode: ParseModeSchema.optional().describe('Base parser for PDF/image inputs. OCR is the default; vision uses the selected LLM. `native` extracts PDF embedded text only and never calls OCR or vision. `native-or-ocr` extracts native text, runs page-quality diagnostics, and requests OCR when pages have detectable anomalies (empty, U+FFFD, lone surrogates, forbidden controls, unassigned/noncharacter, heavy PUA). Page selection, subset egress, and billing are provider-dependent. Valid-looking wrong text and literal "?" are not flagged. Text and Office files always use local parsing.'),
@@ -54815,7 +54819,7 @@ var init_evaluator_config = __esm(() => {
54815
54819
  LabelsRecord = record(string2().min(1), ScoreInUnitInterval);
54816
54820
  LlmJudgeConfigSchema = object({
54817
54821
  model: string2().min(1).optional().describe("Which LLM grades the output. Falls back to the workspace's default LLM provider when unset."),
54818
- reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for models that support it. Omit to preserve the current provider default."),
54822
+ reasoningEffort: ReasoningEffortSchema.optional().describe("Reasoning effort for models that support it. Omit to use the selected model's default."),
54819
54823
  mode: JudgeModeSchema.default("continuous").describe("Continuous = the LLM returns a free-form score in [0, 1]. Discrete = the LLM picks one of your labels and the score is looked up from the table."),
54820
54824
  labels: LabelsRecord.optional().describe("Allowed labels and the score each maps to. Required in discrete mode. The judge MUST return one of these labels; each score must be in [0, 1]."),
54821
54825
  passThreshold: ScoreInUnitInterval.optional().describe(LEGACY_EVALUATOR_THRESHOLD_DESCRIPTION),
@@ -205729,7 +205733,7 @@ import { fileURLToPath as fileURLToPath8 } from "url";
205729
205733
  // package.json
205730
205734
  var package_default = {
205731
205735
  name: "@eigenpal/cli",
205732
- version: "0.16.0",
205736
+ version: "0.16.1",
205733
205737
  description: "Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.",
205734
205738
  keywords: [
205735
205739
  "eigenpal",
@@ -205786,7 +205790,7 @@ var package_default = {
205786
205790
  "@clack/prompts": "^1.3.0",
205787
205791
  ajv: "^8.17.1",
205788
205792
  commander: "^14.0.3",
205789
- fflate: "0.8.2",
205793
+ fflate: "0.8.3",
205790
205794
  picocolors: "^1.1.1",
205791
205795
  yaml: "^2.7.0",
205792
205796
  xlsx: "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
@@ -208498,9 +208502,11 @@ function registerGitCommands(program) {
208498
208502
  // ../../node_modules/fflate/esm/index.mjs
208499
208503
  import { createRequire as createRequire2 } from "module";
208500
208504
  var require2 = createRequire2("/");
208505
+ var _a3;
208501
208506
  var Worker;
208507
+ var isMarkedAsUntransferable;
208502
208508
  try {
208503
- Worker = require2("worker_threads").Worker;
208509
+ _a3 = require2("worker_threads"), Worker = _a3.Worker, isMarkedAsUntransferable = _a3.isMarkedAsUntransferable;
208504
208510
  } catch (e) {}
208505
208511
  var u8 = Uint8Array;
208506
208512
  var u16 = Uint16Array;
@@ -208986,7 +208992,7 @@ var fltn = function(d, p, t, o) {
208986
208992
  var val2 = d[k], n = p + k, op = o;
208987
208993
  if (Array.isArray(val2))
208988
208994
  op = mrg(o, val2[1]), val2 = val2[0];
208989
- if (val2 instanceof u8)
208995
+ if (ArrayBuffer.isView(val2))
208990
208996
  t[n] = [val2, op];
208991
208997
  else {
208992
208998
  t[n += "/"] = [new u8(0), op];