@oxagen/cli 2.1.5-56 → 2.1.5-63

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 +24 -3
  2. package/package.json +1 -1
package/oxagen.mjs CHANGED
@@ -26623,7 +26623,7 @@ import { readFileSync as readFileSync10 } from "node:fs";
26623
26623
  import { dirname as dirname9, resolve as resolve3 } from "node:path";
26624
26624
  import { fileURLToPath } from "node:url";
26625
26625
  function readVersion() {
26626
- if (true) return "2.1.5-56";
26626
+ if (true) return "2.1.5-63";
26627
26627
  try {
26628
26628
  const here = dirname9(fileURLToPath(import.meta.url));
26629
26629
  const pkg = JSON.parse(
@@ -62672,7 +62672,7 @@ var init_package = __esm({
62672
62672
  "package.json"() {
62673
62673
  package_default = {
62674
62674
  name: "@oxagen/cli",
62675
- version: "2.1.5-56",
62675
+ version: "2.1.5-63",
62676
62676
  description: "Oxagen governance CLI \u2014 spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
62677
62677
  type: "module",
62678
62678
  main: "./dist/index.js",
@@ -81663,14 +81663,17 @@ var init_digest_shared = __esm({
81663
81663
  });
81664
81664
 
81665
81665
  // ../../packages/oxagen/src/contracts/run.shared.ts
81666
+ var LATEST_ACTIVITY_MESSAGES, LATEST_ACTIVITY_TEXT_MAX;
81666
81667
  var init_run_shared = __esm({
81667
81668
  "../../packages/oxagen/src/contracts/run.shared.ts"() {
81668
81669
  "use strict";
81670
+ LATEST_ACTIVITY_MESSAGES = 5;
81671
+ LATEST_ACTIVITY_TEXT_MAX = 300;
81669
81672
  }
81670
81673
  });
81671
81674
 
81672
81675
  // ../../packages/oxagen/src/contracts/run.list.ts
81673
- var runPublicIdSchema, frameSeqSchema, runStatusSchema, runOutcomeSchema, runCostSchema, replayGradeSchema, generatedRunSummarySchema, editedRunSummarySchema, runSummarySchema, operatorKindSchema, RUN_OPERATOR_ROLES, runOperatorRoleSchema, runModelSchema, runMachineSnapshotSchema, runMachineSchema, COMMAND_BLOCKS, HOST_POLL_WINDOW_MS, RUN_PULL_REQUEST_MAX, runPullRequestSchema, runDiffSchema, runAttributionSchema, RUN_PULL_REQUEST_FILTERS, RUN_PAUSE_STATES, runPauseSchema, RUN_REPLAY_FILTERS, RUN_SORT_KEYS, RUN_LIST_TOTAL_BOUND, RUN_LABEL_MAX, runItemSchema, runList;
81676
+ var runPublicIdSchema, frameSeqSchema, runStatusSchema, runOutcomeSchema, runCostSchema, replayGradeSchema, generatedRunSummarySchema, editedRunSummarySchema, runSummarySchema, latestActivitySchema, operatorKindSchema, RUN_OPERATOR_ROLES, runOperatorRoleSchema, runModelSchema, runMachineSnapshotSchema, runMachineSchema, COMMAND_BLOCKS, HOST_POLL_WINDOW_MS, RUN_PULL_REQUEST_MAX, runPullRequestSchema, runDiffSchema, runAttributionSchema, RUN_PULL_REQUEST_FILTERS, RUN_PAUSE_STATES, runPauseSchema, RUN_REPLAY_FILTERS, RUN_SORT_KEYS, RUN_LIST_TOTAL_BOUND, RUN_LABEL_MAX, runItemSchema, runList;
81674
81677
  var init_run_list = __esm({
81675
81678
  "../../packages/oxagen/src/contracts/run.list.ts"() {
81676
81679
  "use strict";
@@ -81681,6 +81684,7 @@ var init_run_list = __esm({
81681
81684
  init_run_enrichment();
81682
81685
  init_run_fit();
81683
81686
  init_digest_shared();
81687
+ init_run_shared();
81684
81688
  init_spend_shared();
81685
81689
  init_run_shared();
81686
81690
  runPublicIdSchema = external_exports.string().regex(/^(arun|tse)_[0-9a-z]+$/, "a run public id (arun_\u2026 or tse_\u2026)");
@@ -81715,6 +81719,18 @@ var init_run_list = __esm({
81715
81719
  editedRunSummarySchema,
81716
81720
  generatedRunSummarySchema
81717
81721
  ]);
81722
+ latestActivitySchema = external_exports.object({
81723
+ /** RFC 3339; when the newest message was recorded. */
81724
+ at: external_exports.string().datetime(),
81725
+ messages: external_exports.array(
81726
+ external_exports.object({
81727
+ role: external_exports.enum(["person", "agent"]),
81728
+ text: external_exports.string().max(LATEST_ACTIVITY_TEXT_MAX),
81729
+ /** RFC 3339. */
81730
+ at: external_exports.string().datetime()
81731
+ }).strict()
81732
+ ).min(1).max(LATEST_ACTIVITY_MESSAGES)
81733
+ }).strict();
81718
81734
  operatorKindSchema = external_exports.enum(["human", "agent", "service"]);
81719
81735
  RUN_OPERATOR_ROLES = [
81720
81736
  "owner",
@@ -82132,6 +82148,11 @@ var init_run_list = __esm({
82132
82148
  * one. With automatic accounts turned off, only a person's is read.
82133
82149
  */
82134
82150
  summary: runSummarySchema.nullable(),
82151
+ /**
82152
+ * The last few messages of the run's transcript, newest last. Absent
82153
+ * until the first read of its tail (#6109).
82154
+ */
82155
+ latestActivity: latestActivitySchema.optional(),
82135
82156
  /**
82136
82157
  * The pull requests the run's frames name, earliest first. Absent when
82137
82158
  * they were not read: the session's frames could not be read (the page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxagen/cli",
3
- "version": "2.1.5-56",
3
+ "version": "2.1.5-63",
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": {