@oxagen/cli 2.1.4-474 → 2.1.4-481

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/oxagen.mjs +19 -5
  2. package/package.json +1 -1
package/oxagen.mjs CHANGED
@@ -23363,7 +23363,7 @@ import { readFileSync as readFileSync11 } from "node:fs";
23363
23363
  import { dirname as dirname8, resolve as resolve2 } from "node:path";
23364
23364
  import { fileURLToPath } from "node:url";
23365
23365
  function readVersion() {
23366
- if (true) return "2.1.4-474";
23366
+ if (true) return "2.1.4-481";
23367
23367
  try {
23368
23368
  const here = dirname8(fileURLToPath(import.meta.url));
23369
23369
  const pkg = JSON.parse(
@@ -52035,7 +52035,7 @@ var init_package = __esm({
52035
52035
  "package.json"() {
52036
52036
  package_default = {
52037
52037
  name: "@oxagen/cli",
52038
- version: "2.1.4-474",
52038
+ version: "2.1.4-481",
52039
52039
  description: "Oxagen governance CLI \u2014 spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
52040
52040
  type: "module",
52041
52041
  main: "./dist/index.js",
@@ -69372,10 +69372,24 @@ var init_evidence = __esm({
69372
69372
  });
69373
69373
 
69374
69374
  // ../../packages/tacho/src/session-subject.ts
69375
- var GITHUB_REF_SOURCE;
69375
+ var ENRICHMENT_BUDGET_NOTE, ENRICHMENT_LIMIT_NOTE, PARTIAL_NOTE_HEAD, PARTIAL_NOTE_TAIL, escapeRegExp2, NOTE_SOURCE, TRAILING_NOTES, GITHUB_REF_SOURCE;
69376
69376
  var init_session_subject = __esm({
69377
69377
  "../../packages/tacho/src/session-subject.ts"() {
69378
69378
  "use strict";
69379
+ ENRICHMENT_BUDGET_NOTE = " The account covers only the start of the run: its enrichment budget ran out before the rest was read.";
69380
+ ENRICHMENT_LIMIT_NOTE = " The account covers only the start of the run because its transcript reached a read limit.";
69381
+ PARTIAL_NOTE_HEAD = "Evidence is partial: ";
69382
+ PARTIAL_NOTE_TAIL = " recorded bodies were unavailable.";
69383
+ escapeRegExp2 = (text4) => text4.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
69384
+ NOTE_SOURCE = [
69385
+ `${escapeRegExp2(PARTIAL_NOTE_HEAD)}\\d+${escapeRegExp2(PARTIAL_NOTE_TAIL)}`,
69386
+ escapeRegExp2(ENRICHMENT_BUDGET_NOTE.trim()),
69387
+ escapeRegExp2(ENRICHMENT_LIMIT_NOTE.trim())
69388
+ ].join("|");
69389
+ TRAILING_NOTES = new RegExp(
69390
+ `(?:^|\\s)((?:${NOTE_SOURCE})(?:\\s(?:${NOTE_SOURCE}))*)$`,
69391
+ "u"
69392
+ );
69379
69393
  GITHUB_REF_SOURCE = String.raw`\bhttps?:\/\/(?:www\.)?github\.com\/[\w.-]+\/[\w.-]+\/(pull|issues)\/(\d+)\S*`;
69380
69394
  }
69381
69395
  });
@@ -70934,11 +70948,11 @@ var init_budget3 = __esm({
70934
70948
  });
70935
70949
 
70936
70950
  // ../../packages/steering-check/src/checks/compile.ts
70937
- function escapeRegExp2(text4) {
70951
+ function escapeRegExp3(text4) {
70938
70952
  return text4.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
70939
70953
  }
70940
70954
  function hasOperation(document, operation) {
70941
- const name = escapeRegExp2(operation);
70955
+ const name = escapeRegExp3(operation);
70942
70956
  const yaml = new RegExp(`^\\s*operationId:\\s*["']?${name}["']?\\s*$`, "m");
70943
70957
  const json2 = new RegExp(`"operationId"\\s*:\\s*"${name}"`);
70944
70958
  return yaml.test(document) || json2.test(document);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "2.1.4-474",
3
+ "version": "2.1.4-481",
4
4
  "description": "Oxagen governance CLI — spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
5
5
  "type": "module",
6
6
  "bin": {