@oxagen/cli 2.1.4-438 → 2.1.4-447

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 -12
  2. package/package.json +1 -1
package/oxagen.mjs CHANGED
@@ -10044,20 +10044,26 @@ function parsePsStarts(pids, result2) {
10044
10044
  }
10045
10045
  return out;
10046
10046
  }
10047
+ function psStartCommand(pids) {
10048
+ return [
10049
+ "env",
10050
+ [...PS_ZONE, "ps", "-o", "pid=,lstart=", "-p", pids.join(",")]
10051
+ ];
10052
+ }
10047
10053
  function readProcessStarts(pids, exec4 = psExec, platform = process.platform, read2 = readText) {
10048
10054
  if (platform === "win32" || pids.length === 0) return void 0;
10049
10055
  if (platform === "linux") return readProcStarts(pids, read2);
10050
- return parsePsStarts(pids, exec4("ps", PS_START_ARGS(pids)));
10056
+ return parsePsStarts(pids, exec4(...psStartCommand(pids)));
10051
10057
  }
10052
10058
  async function readProcessStartsAsync(pids, exec4 = psExecAsync, platform = process.platform, read2 = readText) {
10053
10059
  if (platform === "win32" || pids.length === 0) return void 0;
10054
10060
  if (platform === "linux") return readProcStarts(pids, read2);
10055
- return parsePsStarts(pids, await exec4("ps", PS_START_ARGS(pids)));
10061
+ return parsePsStarts(pids, await exec4(...psStartCommand(pids)));
10056
10062
  }
10057
10063
  function readProcessStartsNoWait(pids, exec4 = psExecAsync, platform = process.platform, read2 = readText) {
10058
10064
  if (platform === "win32" || pids.length === 0) return void 0;
10059
10065
  if (platform === "linux") return readProcStarts(pids, read2);
10060
- return exec4("ps", PS_START_ARGS(pids)).then(
10066
+ return exec4(...psStartCommand(pids)).then(
10061
10067
  (result2) => parsePsStarts(pids, result2),
10062
10068
  () => void 0
10063
10069
  );
@@ -10109,20 +10115,15 @@ function processExecutable(pid) {
10109
10115
  return void 0;
10110
10116
  }
10111
10117
  }
10112
- var CLAUDE_BINARY, CLAUDE_VERSIONS_DIR, PROCESS_START_TIMEOUT_MS, PS_ENV, PS_START_ARGS, DAEMON_IMAGES;
10118
+ var CLAUDE_BINARY, CLAUDE_VERSIONS_DIR, PROCESS_START_TIMEOUT_MS, PS_ZONE, PS_ENV, DAEMON_IMAGES;
10113
10119
  var init_process_scan = __esm({
10114
10120
  "../../packages/tacho/src/host/process-scan.ts"() {
10115
10121
  "use strict";
10116
10122
  CLAUDE_BINARY = /(^|\/)claude(\s|$)/;
10117
10123
  CLAUDE_VERSIONS_DIR = /\/claude\/versions\/\d+\.\d+\.\d+/;
10118
10124
  PROCESS_START_TIMEOUT_MS = 2e3;
10125
+ PS_ZONE = ["TZ=UTC", "LC_ALL=C", "LANG=C"];
10119
10126
  PS_ENV = { ...process.env, TZ: "UTC", LC_ALL: "C", LANG: "C" };
10120
- PS_START_ARGS = (pids) => [
10121
- "-o",
10122
- "pid=,lstart=",
10123
- "-p",
10124
- pids.join(",")
10125
- ];
10126
10127
  DAEMON_IMAGES = ["tacho", "node"];
10127
10128
  }
10128
10129
  });
@@ -22995,7 +22996,7 @@ import { readFileSync as readFileSync10 } from "node:fs";
22995
22996
  import { dirname as dirname7, resolve as resolve2 } from "node:path";
22996
22997
  import { fileURLToPath } from "node:url";
22997
22998
  function readVersion() {
22998
- if (true) return "2.1.4-438";
22999
+ if (true) return "2.1.4-447";
22999
23000
  try {
23000
23001
  const here = dirname7(fileURLToPath(import.meta.url));
23001
23002
  const pkg = JSON.parse(
@@ -51676,7 +51677,7 @@ var init_package = __esm({
51676
51677
  "package.json"() {
51677
51678
  package_default = {
51678
51679
  name: "@oxagen/cli",
51679
- version: "2.1.4-438",
51680
+ version: "2.1.4-447",
51680
51681
  description: "Oxagen governance CLI \u2014 spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
51681
51682
  type: "module",
51682
51683
  main: "./dist/index.js",
@@ -54094,6 +54095,12 @@ async function findingsList(opts, writer = stdoutWriter) {
54094
54095
  ]),
54095
54096
  writer
54096
54097
  );
54098
+ if (result2.truncated === true) {
54099
+ writer.write("");
54100
+ writer.write(
54101
+ `The list shows the first ${result2.findings.length} of ${result2.counts.findings} ${status2} findings.`
54102
+ );
54103
+ }
54097
54104
  }
54098
54105
  var STATUSES, FRAMES_SHOWN;
54099
54106
  var init_findings = __esm({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "2.1.4-438",
3
+ "version": "2.1.4-447",
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": {