@oxagen/cli 3.0.1-744 → 3.0.1-757

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
@@ -29845,7 +29845,7 @@ import { readFileSync as readFileSync10 } from "node:fs";
29845
29845
  import { dirname as dirname9, resolve as resolve3 } from "node:path";
29846
29846
  import { fileURLToPath } from "node:url";
29847
29847
  function readVersion() {
29848
- if (true) return "3.0.1-744";
29848
+ if (true) return "3.0.1-757";
29849
29849
  try {
29850
29850
  const here = dirname9(fileURLToPath(import.meta.url));
29851
29851
  const pkg = JSON.parse(
@@ -72743,7 +72743,7 @@ var init_package = __esm({
72743
72743
  "package.json"() {
72744
72744
  package_default = {
72745
72745
  name: "@oxagen/cli",
72746
- version: "3.0.1-744",
72746
+ version: "3.0.1-757",
72747
72747
  description: "Oxagen governance CLI: spend, source tracking, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
72748
72748
  type: "module",
72749
72749
  main: "./dist/index.js",
@@ -86527,6 +86527,11 @@ async function sandboxShow(run3, opts, writer = stdoutWriter) {
86527
86527
  );
86528
86528
  writer.write(` started ${detail.startedAt ?? "\u2014"}`);
86529
86529
  writer.write(` ended ${ended}`);
86530
+ if (detail.refusal !== null) {
86531
+ writer.write(
86532
+ ` refused ${detail.refusal.message} (${detail.refusal.code})`
86533
+ );
86534
+ }
86530
86535
  writer.write(` ran for ${duration(detail.runningSeconds)}`);
86531
86536
  if (detail.continuations > 0) {
86532
86537
  writer.write(` sandboxes ${detail.continuations + 1}`);
@@ -93651,9 +93656,9 @@ var init_run_list = __esm({
93651
93656
  RUN_PULL_REQUEST_MAX = 10;
93652
93657
  runPullRequestSchema = external_exports.object({
93653
93658
  url: external_exports.string().max(2048),
93654
- /** The number the frame recorded; null when it recorded none. */
93659
+ /** The number from the forge row, the URL, or the recorded frame. */
93655
93660
  number: external_exports.number().int().positive().nullable(),
93656
- /** `owner/name` as the frame recorded it; null when it recorded none. */
93661
+ /** The repository from the forge row, the URL, or the recorded frame. */
93657
93662
  repository: external_exports.string().max(512).nullable(),
93658
93663
  /**
93659
93664
  * The state `forge.pull_requests` holds for the pull request, which the
@@ -93666,7 +93671,16 @@ var init_run_list = __esm({
93666
93671
  * RFC 3339; when Oxagen last read `state` from the forge. Null when it
93667
93672
  * never has. Absent when the read did not look.
93668
93673
  */
93669
- stateSeenAt: external_exports.string().datetime().nullable().optional()
93674
+ stateSeenAt: external_exports.string().datetime().nullable().optional(),
93675
+ provider: external_exports.enum(["github", "gitlab"]).optional(),
93676
+ title: external_exports.string().max(4096).nullable().optional(),
93677
+ headRef: external_exports.string().max(1024).nullable().optional(),
93678
+ baseRef: external_exports.string().max(1024).nullable().optional(),
93679
+ headSha: external_exports.string().max(64).nullable().optional(),
93680
+ /** Counts from the stored revision at this pull request's current head. */
93681
+ additions: external_exports.number().int().nonnegative().nullable().optional(),
93682
+ deletions: external_exports.number().int().nonnegative().nullable().optional(),
93683
+ filesChanged: external_exports.number().int().nonnegative().nullable().optional()
93670
93684
  }).strict();
93671
93685
  runDiffSchema = external_exports.object({
93672
93686
  added: external_exports.number().int().nonnegative(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "3.0.1-744",
3
+ "version": "3.0.1-757",
4
4
  "description": "Oxagen governance CLI: spend, source tracking, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
5
5
  "type": "module",
6
6
  "bin": {