@oxagen/cli 3.0.1-757 → 3.0.1-765

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 +3 -7
  2. package/oxagen.mjs +2838 -6035
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -23,13 +23,10 @@ Full reference: **https://docs.oxagen.sh/docs/cli**
23
23
  commands (`oxagen agent enroll`, `oxagen agent run`, `oxagen hook`,
24
24
  `oxagen daemon`, and the rest), which lives in
25
25
  [`@oxagen/recorder`](../../packages/tacho/README.md) (`@oxagen/recorder/cli`),
26
- the steering freshness check
27
- ([`@oxagen/steering-freshness`](../../packages/steering-freshness/README.md)),
28
26
  or the consent page it opens (`/cli/authorize` in
29
27
  [`apps/app`](../app/README.md)).
30
28
  - **Depends on:** `@oxagen/recorder` (the machine commands under
31
- `oxagen agent`, and the hidden ones the hooks and the service run),
32
- `@oxagen/steering-freshness` (`oxagen steering`),
29
+ `oxagen agent`, and the hidden ones the hooks and the service run)
33
30
  and `@oxagen/billing` (`formatUsd` and the rate card from
34
31
  `@oxagen/billing/rate-card`, for display).
35
32
  - **Used by:** no workspace package imports it. It is published as the
@@ -43,7 +40,6 @@ Full reference: **https://docs.oxagen.sh/docs/cli**
43
40
  | Browser login (`/cli/authorize`, then `POST /v1/auth/cli/token`) | boundary | `apps/cli/src/auth/loopback-login.ts`, `pkce.ts` | `oxagen login` |
44
41
  | `CliDeps` from `defaultCliDeps` | adapter | `apps/cli/src/commands/tacho.ts` | `oxagen agent enroll`, `status`, `reassign`, `unenroll`, `export`, `verify`, `hosts`, `run`, and `detect`. The work lives in `@oxagen/recorder/cli` |
45
42
  | Machine command dispatch | adapter | `apps/cli/src/index.ts`, `apps/cli/src/machine/` | `oxagen hook`, `daemon`, `mcp-stdio`, `credential`, `github`, and `arp`, which go straight to the recorder before the command tree loads. Hidden from `oxagen --help` |
46
- | `evaluateGate`, `renderGate`, `installHook` | adapter | `apps/cli/src/commands/steering.ts` | `oxagen steering …`, and each harness's prompt-submit hook |
47
43
  | Usage telemetry (`POST /v1/telemetry/usage`) | boundary | `apps/cli/src/telemetry/usage.ts` | Every command, unless `oxagen telemetry off` or `DO_NOT_TRACK=1` |
48
44
 
49
45
  The CLI bootstraps no kernel gate and registers no handler. Contracts that
@@ -73,7 +69,7 @@ for the capability or a command file names it.
73
69
  ## Tests
74
70
 
75
71
  ```bash
76
- pnpm --filter @oxagen/cli test:unit src/commands/steering.test.ts
72
+ pnpm --filter @oxagen/cli test:unit src/commands/repo.test.ts
77
73
  ```
78
74
 
79
75
  Never put `--` before the filename. Tests live in `src/**/__tests__/` and
@@ -317,7 +313,7 @@ Other workflows:
317
313
  pnpm -C apps/cli dev -- graph search -q "workspace context" --limit 1
318
314
  pnpm -C apps/cli build # compile to dist/ once
319
315
  pnpm -C apps/cli bundle # standalone single-file bundle
320
- pnpm -C apps/cli test:unit src/commands/steering.test.ts # one file; CI runs the suite
316
+ pnpm -C apps/cli test:unit src/commands/repo.test.ts # one file; CI runs the suite
321
317
  pnpm -C apps/cli lint # lint (zero warnings enforced)
322
318
  pnpm -C apps/cli typecheck # type-check
323
319
  ```