@cleocode/adapters 2026.6.15 → 2026.6.17

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.
package/dist/index.js CHANGED
@@ -11274,6 +11274,22 @@ var init_operations_registry = __esm({
11274
11274
  }
11275
11275
  ]
11276
11276
  },
11277
+ // ── selfimprove query: probe (T11988 — seeded-code-regression scenario) ────────
11278
+ // Pure read-only op that returns `{ probe: 'ok', version: probeVersion() }`.
11279
+ // The `probe-helper.ts` intentionally ships with `probeVersion()` returning `2`
11280
+ // (should be `1`) so the seeded-code-regression scenario replay diverges from its
11281
+ // golden (`version: 1`) and gives the fix-gen LLM stage a real, patchable bug.
11282
+ {
11283
+ gateway: "query",
11284
+ domain: "selfimprove",
11285
+ operation: "probe",
11286
+ description: 'selfimprove.probe (query) \u2014 returns { probe: "ok", version: 1 } (health/version probe). Used by the seeded-code-regression scenario to validate the fix-gen pipeline (T11988).',
11287
+ tier: 2,
11288
+ idempotent: true,
11289
+ sessionRequired: false,
11290
+ requiredParams: [],
11291
+ params: []
11292
+ },
11277
11293
  // ── selfimprove mutate: run (T11889 / T11889-D — the self-dogfooding loop) ──
11278
11294
  // Boots ONE sandbox → replays the named canned scenario → diffs result
11279
11295
  // envelopes vs the golden → on a regression emits ONE leased `selfimprove_dhq`
@@ -11887,6 +11903,31 @@ var init_operations_registry = __esm({
11887
11903
  cli: { positional: true }
11888
11904
  }
11889
11905
  ]
11906
+ },
11907
+ // T11995 — Janitor MVP: orphan process reaper + stale scope/lock/debris sweep
11908
+ {
11909
+ gateway: "mutate",
11910
+ domain: "admin",
11911
+ operation: "janitor.run",
11912
+ description: "admin.janitor.run (mutate) \u2014 run the janitor sweep: reap orphan processes, stop dead cleo-owned scopes, reclaim stale locks, prune tmp debris",
11913
+ tier: 1,
11914
+ idempotent: true,
11915
+ sessionRequired: false,
11916
+ requiredParams: [],
11917
+ params: [
11918
+ {
11919
+ name: "dryRun",
11920
+ type: "boolean",
11921
+ required: false,
11922
+ description: "Report planned actions without mutating anything."
11923
+ },
11924
+ {
11925
+ name: "gracePeriodMs",
11926
+ type: "number",
11927
+ required: false,
11928
+ description: "Minimum age (ms) of an unregistered process before reap eligibility (default: 600000)."
11929
+ }
11930
+ ]
11890
11931
  }
11891
11932
  ];
11892
11933
  }