@oxagen/cli 5.5.1-249 → 5.5.1-251

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 (3) hide show
  1. package/README.md +1 -1
  2. package/oxagen.mjs +115 -212
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -142,7 +142,7 @@ token needs no login either.
142
142
 
143
143
  ```bash
144
144
  oxagen budget show # spend ceilings with their live burn
145
- oxagen budget set --scope org --period month --limit 500
145
+ oxagen budget set # opens the Oxagen page that sets a ceiling; only a signed-in person can set one
146
146
  oxagen budget no-progress show # the no-progress limit and the runs that reached it
147
147
  oxagen budget no-progress set --repeats 30 --mode enforced # opens a steering PR
148
148
  oxagen cost --in 200000 --out 40000 # project cost from the baked-in rate card
package/oxagen.mjs CHANGED
@@ -33161,7 +33161,7 @@ import { readFileSync as readFileSync12 } from "node:fs";
33161
33161
  import { dirname as dirname14, resolve as resolve3 } from "node:path";
33162
33162
  import { fileURLToPath } from "node:url";
33163
33163
  function readVersion() {
33164
- if (true) return "5.5.1-249";
33164
+ if (true) return "5.5.1-251";
33165
33165
  try {
33166
33166
  const here = dirname14(fileURLToPath(import.meta.url));
33167
33167
  const pkg = JSON.parse(
@@ -80869,7 +80869,7 @@ var init_package = __esm({
80869
80869
  "package.json"() {
80870
80870
  package_default = {
80871
80871
  name: "@oxagen/cli",
80872
- version: "5.5.1-249",
80872
+ version: "5.5.1-251",
80873
80873
  description: "Oxagen governance CLI: spend, source tracking, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
80874
80874
  type: "module",
80875
80875
  main: "./dist/index.js",
@@ -97289,7 +97289,7 @@ var init_guardrails_delete = __esm({
97289
97289
  guardrailsDelete = registerCapability({
97290
97290
  name: "delete_guardrails",
97291
97291
  domain: "guardrails",
97292
- description: "Delete one or up to 100 auto-approval rules, off switches, mandates or spend budgets. Each stops applying at once and leaves its list, and every one is kept marked deleted so the runs and approvals that name it still resolve it.",
97292
+ description: "Delete one or up to 100 auto-approval rules, off switches, mandates or spend budgets. Each stops applying at once and leaves its list, and every one is kept marked deleted so the runs and approvals that name it still resolve it. Only a person clears an off switch or deletes a spend budget. Oxagen refuses those two items to every API key with person_required, the oxagen CLI's own key included.",
97293
97293
  mode: "sync",
97294
97294
  surfaces: ["api", "mcp", "cli", "agent"],
97295
97295
  agent: { requiresApproval: true, riskLevel: "high", category: "write" },
@@ -97299,6 +97299,11 @@ var init_guardrails_delete = __esm({
97299
97299
  sensitivity: "high",
97300
97300
  mutates: true,
97301
97301
  defaultEffect: "deny",
97302
+ // Each item runs its own capability through the kernel, which applies the
97303
+ // workspace role rule to that capability. The rule leaves this one, so an
97304
+ // organization's spend ceiling is still deleted from any workspace (#6889,
97305
+ // iam/workspace-authority.ts).
97306
+ workspaceRoleRule: "exempt",
97302
97307
  // Each item also runs its own type's role check. Compliance and Billing
97303
97308
  // may call it because a spend budget's own delete admits them, and every
97304
97309
  // other type's check refuses them.
@@ -104853,23 +104858,84 @@ var init_cost = __esm({
104853
104858
  }
104854
104859
  });
104855
104860
 
104861
+ // src/auth/open-browser.ts
104862
+ import { spawn as spawn8 } from "node:child_process";
104863
+ function openBrowser(url2) {
104864
+ try {
104865
+ let cmd;
104866
+ let args;
104867
+ switch (process.platform) {
104868
+ case "darwin":
104869
+ cmd = "open";
104870
+ args = [url2];
104871
+ break;
104872
+ case "win32":
104873
+ cmd = "cmd";
104874
+ args = ["/c", "start", "", url2];
104875
+ break;
104876
+ default:
104877
+ cmd = "xdg-open";
104878
+ args = [url2];
104879
+ }
104880
+ const child = spawn8(cmd, args, { detached: true, stdio: "ignore" });
104881
+ child.on("error", () => {
104882
+ });
104883
+ child.unref();
104884
+ } catch {
104885
+ }
104886
+ }
104887
+ var init_open_browser = __esm({
104888
+ "src/auth/open-browser.ts"() {
104889
+ }
104890
+ });
104891
+
104892
+ // src/lib/app-handoff.ts
104893
+ function appPageUrl(handoff2, deps) {
104894
+ const origin = deps.appUrl.replace(/\/+$/, "");
104895
+ if (!deps.org || !deps.workspace) return origin;
104896
+ return `${origin}/${encodeURIComponent(deps.org)}/${encodeURIComponent(deps.workspace)}/${handoff2.workspacePath}`;
104897
+ }
104898
+ function handOffToApp(handoff2, opts = {}, writer = stdoutWriter, overrides = {}) {
104899
+ const deps = { ...liveDeps(), ...overrides };
104900
+ const url2 = appPageUrl(handoff2, deps);
104901
+ const out = createOutput({ json: opts.json }, writer);
104902
+ out.error(
104903
+ `Only a person signed in to Oxagen can ${handoff2.change}, so this command made no change. The CLI holds a key, and an agent on this machine could send the same key. Make the change in Oxagen, under ${handoff2.where}: ${url2}`,
104904
+ PERSON_REQUIRED
104905
+ );
104906
+ if (deps.isTTY && !out.isJson) {
104907
+ out.info("Opening that page in your browser.");
104908
+ deps.open(url2);
104909
+ }
104910
+ }
104911
+ var PERSON_REQUIRED, liveDeps;
104912
+ var init_app_handoff = __esm({
104913
+ "src/lib/app-handoff.ts"() {
104914
+ init_open_browser();
104915
+ init_capture_writer();
104916
+ init_config();
104917
+ init_output();
104918
+ PERSON_REQUIRED = "person_required";
104919
+ liveDeps = () => ({
104920
+ appUrl: getAppUrl(),
104921
+ org: getOrgId(),
104922
+ workspace: getWorkspaceId(),
104923
+ isTTY: process.stdout.isTTY === true,
104924
+ open: openBrowser
104925
+ });
104926
+ }
104927
+ });
104928
+
104856
104929
  // src/commands/budget.ts
104857
104930
  var budget_exports = {};
104858
104931
  __export(budget_exports, {
104932
+ BUDGET_HANDOFF: () => BUDGET_HANDOFF,
104859
104933
  budgetSet: () => budgetSet,
104860
104934
  budgetShow: () => budgetShow
104861
104935
  });
104862
104936
  function formatMoney(money2) {
104863
104937
  return formatUsd(Number(money2.micros) / 1e6);
104864
104938
  }
104865
- function usdFlagToMicros(raw) {
104866
- const m = /^(\d+)(?:\.(\d{1,6}))?$/.exec(raw.trim());
104867
- if (!m) return null;
104868
- const whole2 = m[1];
104869
- const frac = (m[2] ?? "").padEnd(6, "0");
104870
- const micros2 = `${whole2}${frac}`.replace(/^0+(?=\d)/, "");
104871
- return micros2 === "0" ? null : micros2;
104872
- }
104873
104939
  function periodCell(b3) {
104874
104940
  return b3.period === "rolling" ? `rolling (${b3.windowDays}d)` : "monthly";
104875
104941
  }
@@ -104924,8 +104990,14 @@ async function budgetShow(opts = {}, writer = stdoutWriter) {
104924
104990
  return;
104925
104991
  }
104926
104992
  if (result2.budgets.length === 0) {
104993
+ const page = appPageUrl(BUDGET_HANDOFF, {
104994
+ appUrl: getAppUrl(),
104995
+ org: getOrgId(),
104996
+ workspace: getWorkspaceId()
104997
+ });
104927
104998
  writer.write(
104928
- "No spend ceilings configured. Set one with:\n oxagen budget set --scope <org|workspace> --period <monthly|rolling> --limit <usd>"
104999
+ `No spend ceilings configured. Set one in Oxagen, under ${BUDGET_HANDOFF.where}:
105000
+ ${page}`
104929
105001
  );
104930
105002
  return;
104931
105003
  }
@@ -104933,101 +105005,24 @@ async function budgetShow(opts = {}, writer = stdoutWriter) {
104933
105005
  writer.write("");
104934
105006
  renderBudgetsTable(result2.budgets, writer);
104935
105007
  }
104936
- function isSpendScope(v) {
104937
- return v === "org" || v === "workspace";
104938
- }
104939
- function isSpendPeriod(v) {
104940
- return v === "monthly" || v === "rolling";
105008
+ function budgetSet(opts = {}, writer = stdoutWriter, deps = {}) {
105009
+ handOffToApp(BUDGET_HANDOFF, { json: opts.json }, writer, deps);
105010
+ return Promise.resolve();
104941
105011
  }
104942
- function parseBool(v) {
104943
- if (v === "true" || v === "yes") return true;
104944
- if (v === "false" || v === "no") return false;
104945
- return void 0;
104946
- }
104947
- async function budgetSet(opts, writer = stdoutWriter) {
104948
- const out = createOutput({ json: opts.json }, writer);
104949
- if (!opts.scope || !isSpendScope(opts.scope)) {
104950
- process.exitCode = 2;
104951
- out.error(
104952
- `Invalid --scope "${opts.scope ?? ""}". Use "org" or "workspace".`,
104953
- "usage"
104954
- );
104955
- return;
104956
- }
104957
- if (!opts.period || !isSpendPeriod(opts.period)) {
104958
- process.exitCode = 2;
104959
- out.error(
104960
- `Invalid --period "${opts.period ?? ""}". Use "monthly" or "rolling".`,
104961
- "usage"
104962
- );
104963
- return;
104964
- }
104965
- const limitMicros = opts.limit === void 0 ? null : usdFlagToMicros(opts.limit);
104966
- if (limitMicros === null) {
104967
- process.exitCode = 2;
104968
- out.error(
104969
- `Invalid --limit "${opts.limit ?? ""}". Provide a positive USD amount with at most six decimals.`,
104970
- "usage"
104971
- );
104972
- return;
104973
- }
104974
- const limit = { micros: limitMicros, currency: "USD" };
104975
- let windowDays;
104976
- if (opts.period === "rolling") {
104977
- const parsed2 = opts.windowDays === void 0 ? NaN : Number(opts.windowDays);
104978
- if (!Number.isInteger(parsed2) || parsed2 <= 0) {
104979
- process.exitCode = 2;
104980
- out.error(
104981
- `--window-days is required (and > 0) for --period rolling. Got "${opts.windowDays ?? ""}".`,
104982
- "usage"
104983
- );
104984
- return;
104985
- }
104986
- windowDays = parsed2;
104987
- } else if (opts.windowDays !== void 0) {
104988
- process.exitCode = 2;
104989
- out.error(`--window-days must be omitted for --period monthly.`, "usage");
104990
- return;
104991
- }
104992
- const enabled = opts.enabled === void 0 ? true : parseBool(opts.enabled);
104993
- if (enabled === void 0) {
104994
- process.exitCode = 2;
104995
- out.error(
104996
- `Invalid --enabled "${opts.enabled ?? ""}". Use "true" or "false".`,
104997
- "usage"
104998
- );
104999
- return;
105000
- }
105001
- let result2;
105002
- try {
105003
- result2 = await apiPutOrThrow("billing/budget", {
105004
- scope: opts.scope,
105005
- enabled,
105006
- period: opts.period,
105007
- windowDays,
105008
- limit
105009
- });
105010
- } catch (err2) {
105011
- out.error(err2, "api");
105012
- return;
105013
- }
105014
- if (out.isJson) {
105015
- out.data(result2);
105016
- return;
105017
- }
105018
- writer.write(
105019
- `\u2713 ${result2.scope} spend ceiling set to ${formatMoney(limit)} (${periodCell(result2)}).`
105020
- );
105021
- writer.write("");
105022
- renderBudgetsTable([result2], writer);
105023
- }
105024
- var pct, STATE_LABEL;
105012
+ var BUDGET_HANDOFF, pct, STATE_LABEL;
105025
105013
  var init_budget2 = __esm({
105026
105014
  "src/commands/budget.ts"() {
105027
105015
  init_api();
105028
105016
  init_rate_card();
105017
+ init_app_handoff();
105018
+ init_config();
105029
105019
  init_output();
105030
105020
  init_capture_writer();
105021
+ BUDGET_HANDOFF = {
105022
+ change: "set a spend ceiling",
105023
+ workspacePath: "guardrails?tab=budgets",
105024
+ where: "Guardrails, then Budgets"
105025
+ };
105031
105026
  pct = (ratio) => `${Math.round(ratio * 100)}%`;
105032
105027
  STATE_LABEL = {
105033
105028
  ok: "ok",
@@ -108874,6 +108869,7 @@ var init_steering_findings = __esm({
108874
108869
  // src/commands/repo.ts
108875
108870
  var repo_exports = {};
108876
108871
  __export(repo_exports, {
108872
+ GOVERNANCE_HANDOFF: () => GOVERNANCE_HANDOFF,
108877
108873
  parseRepositoryRef: () => parseRepositoryRef,
108878
108874
  repoBranch: () => repoBranch,
108879
108875
  repoGovernance: () => repoGovernance,
@@ -109087,73 +109083,25 @@ async function repoBranch(bindingId, branch, opts = {}, writer = stdoutWriter) {
109087
109083
  result2.changed ? `${result2.fullName}: production branch ${result2.previousBranch} \u2192 ${result2.productionBranch} \xB7 ${result2.bindingId}` : `${result2.fullName}: production branch is already ${result2.productionBranch}; nothing was written`
109088
109084
  );
109089
109085
  }
109090
- async function repoGovernance(opts = {}, writer = stdoutWriter) {
109091
- const line = "oxagen repo governance --mode solo|team|regulated [--workspace <wrk_\u2026>] [--apply-now] [--json]";
109092
- const mode = opts.mode;
109093
- if (mode === void 0 || !GOVERNANCE_MODES.includes(mode)) {
109094
- return usageError(
109095
- writer,
109096
- `expected a mode of solo, team or regulated, got ${JSON.stringify(opts.mode)}`,
109097
- line
109098
- );
109099
- }
109100
- const out = createOutput({ json: opts.json }, writer);
109101
- let result2;
109102
- try {
109103
- result2 = await apiPostOrThrow(
109104
- "context/governance-mode",
109105
- {
109106
- mode,
109107
- applyImmediately: opts.applyNow === true,
109108
- ...opts.workspace === void 0 ? {} : { workspaceId: opts.workspace }
109109
- }
109110
- );
109111
- } catch (err2) {
109112
- out.error(err2, "api");
109113
- return;
109114
- }
109115
- if (out.isJson) {
109116
- out.data(result2);
109117
- return;
109118
- }
109119
- if (result2.outcome === "unchanged") {
109120
- writer.write(
109121
- `${result2.fullName} already runs under ${result2.requestedMode}; nothing was written.`
109122
- );
109123
- return;
109124
- }
109125
- if (result2.outcome === "applied") {
109126
- writer.write(
109127
- `${result2.fullName} now runs under ${result2.requestedMode} (${result2.productionBranch}, ${result2.commitSha ?? "committed"}).`
109128
- );
109129
- if (result2.overrodeReview) {
109130
- writer.write(
109131
- `Committed without review, which ${result2.previousMode ?? "the mode in force"} asks for. Recorded as steering.governance_overridden.`
109132
- );
109133
- }
109134
- return;
109135
- }
109136
- writer.write(
109137
- result2.pullRequest?.reused === true ? `Updated the open pull request on ${result2.fullName}: ${result2.pullRequest.htmlUrl}` : `Opened ${result2.pullRequest?.htmlUrl ?? "a pull request"} on ${result2.fullName}.`
109138
- );
109139
- writer.write(
109140
- `${result2.fullName} still runs under ${result2.effectiveMode ?? "an unreadable governance.toml"} until a person merges it. Pass --apply-now to commit instead.`
109141
- );
109086
+ function repoGovernance(opts = {}, writer = stdoutWriter, deps = {}) {
109087
+ handOffToApp(GOVERNANCE_HANDOFF, { json: opts.json }, writer, deps);
109088
+ return Promise.resolve();
109142
109089
  }
109143
- var GOVERNANCE_MODES, connectionState, GITLAB_PROJECT_PATH;
109090
+ var connectionState, GITLAB_PROJECT_PATH, GOVERNANCE_HANDOFF;
109144
109091
  var init_repo = __esm({
109145
109092
  "src/commands/repo.ts"() {
109146
109093
  init_api();
109094
+ init_app_handoff();
109147
109095
  init_output();
109148
109096
  init_capture_writer();
109149
109097
  init_steering_findings();
109150
- GOVERNANCE_MODES = [
109151
- "solo",
109152
- "team",
109153
- "regulated"
109154
- ];
109155
109098
  connectionState = (live) => live ? "live" : "retired";
109156
109099
  GITLAB_PROJECT_PATH = /^[A-Za-z0-9_][A-Za-z0-9_.-]*(\/[A-Za-z0-9_][A-Za-z0-9_.-]*)+$/;
109100
+ GOVERNANCE_HANDOFF = {
109101
+ change: "change the steering governance mode",
109102
+ workspacePath: "settings",
109103
+ where: "Workspace settings, then General"
109104
+ };
109157
109105
  }
109158
109106
  });
109159
109107
 
@@ -111658,7 +111606,7 @@ function checkRecordClassification(record2, ctx2, paths = {
111658
111606
  });
111659
111607
  }
111660
111608
  }
111661
- var recordKindSchema3, steeringPrKindSchema, proposalKindSchema, RECORD_KINDS2, STEERING_PR_KINDS, GOVERNANCE_LINEAGE, recordForceSchema2, constraintEffectSchema, publishedSharingScopeSchema, appendKindSchema, proposalStatusSchema, proposalStateSchema, repositoryProviderSchema, governanceModeSchema, GOVERNANCE_MODES2, checkNameSchema, CHECK_NAMES, steeringCheckNameSchema, STEERING_CHECK_NAMES, instant4, checkResultSchema, checkFindingSchema, RECORD_LINEAGE_ID, lineageIdSchema, proposedRecordSchema, proposalSupportSchema, proposalIdSchema, proposalViewSchema, pendingRemovalSchema, publishedRecordSchema;
111609
+ var recordKindSchema3, steeringPrKindSchema, proposalKindSchema, RECORD_KINDS2, STEERING_PR_KINDS, GOVERNANCE_LINEAGE, recordForceSchema2, constraintEffectSchema, publishedSharingScopeSchema, appendKindSchema, proposalStatusSchema, proposalStateSchema, repositoryProviderSchema, governanceModeSchema, GOVERNANCE_MODES, checkNameSchema, CHECK_NAMES, steeringCheckNameSchema, STEERING_CHECK_NAMES, instant4, checkResultSchema, checkFindingSchema, RECORD_LINEAGE_ID, lineageIdSchema, proposedRecordSchema, proposalSupportSchema, proposalIdSchema, proposalViewSchema, pendingRemovalSchema, publishedRecordSchema;
111662
111610
  var init_context_steering_shared = __esm({
111663
111611
  "../../packages/oxagen/src/contracts/context.steering.shared.ts"() {
111664
111612
  "use strict";
@@ -111718,7 +111666,7 @@ var init_context_steering_shared = __esm({
111718
111666
  proposalStateSchema = external_exports.enum(["open", "merged", "closed"]);
111719
111667
  repositoryProviderSchema = external_exports.enum(["github", "gitlab"]);
111720
111668
  governanceModeSchema = external_exports.enum(["solo", "team", "regulated"]);
111721
- GOVERNANCE_MODES2 = governanceModeSchema.options;
111669
+ GOVERNANCE_MODES = governanceModeSchema.options;
111722
111670
  checkNameSchema = external_exports.enum([
111723
111671
  "schema",
111724
111672
  "lineage_uniqueness",
@@ -122328,7 +122276,7 @@ __export(credentials_exports, {
122328
122276
  readSecret: () => readSecret,
122329
122277
  runHarnessLogin: () => runHarnessLogin
122330
122278
  });
122331
- import { spawn as spawn8 } from "node:child_process";
122279
+ import { spawn as spawn9 } from "node:child_process";
122332
122280
  import { homedir as homedir15 } from "node:os";
122333
122281
  import { join as join73 } from "node:path";
122334
122282
  function sharedBody(opts) {
@@ -122487,7 +122435,7 @@ function createSetupTokenHider(write) {
122487
122435
  }
122488
122436
  function spawnCodexLogin(codex) {
122489
122437
  return new Promise((resolve29, reject2) => {
122490
- const child = spawn8(codex, ["login"], {
122438
+ const child = spawn9(codex, ["login"], {
122491
122439
  stdio: ["inherit", 2, "inherit"],
122492
122440
  env: process.env
122493
122441
  });
@@ -151027,7 +150975,6 @@ var init_dist2 = __esm({
151027
150975
  var EventSourceParserStream;
151028
150976
  var init_stream = __esm({
151029
150977
  "../../node_modules/.pnpm/eventsource-parser@3.1.0/node_modules/eventsource-parser/dist/stream.js"() {
151030
- init_dist2();
151031
150978
  init_dist2();
151032
150979
  EventSourceParserStream = class extends TransformStream {
151033
150980
  constructor({ onError, onRetry, onComment, maxBufferSize } = {}) {
@@ -152698,37 +152645,6 @@ var init_config3 = __esm({
152698
152645
  }
152699
152646
  });
152700
152647
 
152701
- // src/auth/open-browser.ts
152702
- import { spawn as spawn9 } from "node:child_process";
152703
- function openBrowser(url2) {
152704
- try {
152705
- let cmd;
152706
- let args;
152707
- switch (process.platform) {
152708
- case "darwin":
152709
- cmd = "open";
152710
- args = [url2];
152711
- break;
152712
- case "win32":
152713
- cmd = "cmd";
152714
- args = ["/c", "start", "", url2];
152715
- break;
152716
- default:
152717
- cmd = "xdg-open";
152718
- args = [url2];
152719
- }
152720
- const child = spawn9(cmd, args, { detached: true, stdio: "ignore" });
152721
- child.on("error", () => {
152722
- });
152723
- child.unref();
152724
- } catch {
152725
- }
152726
- }
152727
- var init_open_browser = __esm({
152728
- "src/auth/open-browser.ts"() {
152729
- }
152730
- });
152731
-
152732
152648
  // src/commands/init.ts
152733
152649
  var init_exports = {};
152734
152650
  __export(init_exports, {
@@ -201493,7 +201409,7 @@ function addRemovalCommands(program2) {
201493
201409
  {
201494
201410
  noun: "guardrails",
201495
201411
  description: "Auto-approval rules, off switches, mandates and spend budgets",
201496
- deleteDescription: "Delete auto-approval rules, off switches, mandates or spend budgets. Each stops applying at once and is kept for the runs that name it",
201412
+ deleteDescription: "Delete auto-approval rules and mandates. Each stops applying at once and is kept for the runs that name it. An off switch or a spend budget is refused here, because only a person signed in to Oxagen deletes those, on the Guardrails page",
201497
201413
  types: "approval_rule, kill_switch, mandate or spend_budget",
201498
201414
  run: "guardrailsRemove",
201499
201415
  merges: false
@@ -201726,15 +201642,8 @@ function buildProgram() {
201726
201642
  await budgetShow2(opts);
201727
201643
  });
201728
201644
  budgetCmd.command("set").description(
201729
- "Set (create or replace) a spend ceiling (Owner/Admin/Billing only)"
201730
- ).requiredOption("--scope <scope>", "org | workspace").requiredOption("--period <period>", "monthly | rolling").requiredOption("--limit <usd>", "Hard USD ceiling (> 0)").option(
201731
- "--window-days <n>",
201732
- "Trailing window in days: required for --period rolling, omit for monthly"
201733
- ).option(
201734
- "--enabled <bool>",
201735
- "Whether the ceiling is enforced (true/false)",
201736
- "true"
201737
- ).option("--json", "Output JSON").action(
201645
+ "Open the Oxagen page that sets a spend ceiling. Only a signed-in person can set one, so this command makes no change"
201646
+ ).option("--scope <scope>", "No longer read").option("--period <period>", "No longer read").option("--limit <usd>", "No longer read").option("--window-days <n>", "No longer read").option("--enabled <bool>", "No longer read").option("--json", "Output JSON").action(
201738
201647
  async (opts) => {
201739
201648
  const { budgetSet: budgetSet2 } = await Promise.resolve().then(() => (init_budget2(), budget_exports));
201740
201649
  await budgetSet2(opts);
@@ -202074,14 +201983,8 @@ function buildProgram() {
202074
201983
  }
202075
201984
  );
202076
201985
  repoCmd.command("governance").description(
202077
- "Set the steering governance mode: who may merge a steering PR in this workspace"
202078
- ).requiredOption("--mode <mode>", "solo | team | regulated").option(
202079
- "--workspace <id>",
202080
- "The wrk_\u2026 workspace to change; the scoped workspace when omitted"
202081
- ).option(
202082
- "--apply-now",
202083
- "Commit to the production branch although the mode in force asks for a reviewed pull request; recorded as steering.governance_overridden"
202084
- ).option("--json", "Output JSON").action(
201986
+ "Open the Oxagen page that sets the steering governance mode. Only a signed-in person can change it, so this command makes no change"
201987
+ ).option("--mode <mode>", "No longer read").option("--workspace <id>", "No longer read").option("--apply-now", "No longer read").option("--json", "Output JSON").action(
202085
201988
  async (opts) => {
202086
201989
  const { repoGovernance: repoGovernance2 } = await Promise.resolve().then(() => (init_repo(), repo_exports));
202087
201990
  await repoGovernance2(opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "5.5.1-249",
3
+ "version": "5.5.1-251",
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": {