@open-artifacts/bus 0.153.1 → 0.155.0

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/assets/oa-bus.ts CHANGED
@@ -11,7 +11,7 @@ import { StringDecoder } from "node:string_decoder";
11
11
  type Json = Record<string, unknown>;
12
12
 
13
13
  /** The IPC marker (CONTRACT.md): the package version, stamped by the CLI's bundler. */
14
- const CLIENT_VERSION = "0.153.1";
14
+ const CLIENT_VERSION = "0.155.0";
15
15
 
16
16
  type Frame = Json & { type: string; id: string };
17
17
  type Ctx = {
@@ -27550,6 +27550,11 @@ var RosterAgent = external_exports.strictObject({
27550
27550
  * either refuses the row, and with it the whole roster.
27551
27551
  */
27552
27552
  since: IsoTimeSchema.optional(),
27553
+ /**
27554
+ * #2029: mail pending to an `away` agent, counted up to 100. Only on away
27555
+ * rows, which only a `BUS_CAPS.mailbox` socket sees.
27556
+ */
27557
+ waiting: external_exports.number().int().min(1).max(100).optional(),
27553
27558
  /** The agent's machine label. */
27554
27559
  machine_label: MachineLabelSchema.optional(),
27555
27560
  /** Self-reported ("agent says"); cleared on close. */
@@ -27704,7 +27709,7 @@ var base2 = { v: external_exports.literal(V), id: external_exports.string().min(
27704
27709
  var late = { late: external_exports.array(external_exports.string().min(1)).optional() };
27705
27710
  var isWellFormed2 = (s) => s.isWellFormed();
27706
27711
  var WELL_FORMED = { message: "text is not well-formed unicode" };
27707
- var CLIENT_VERSION = true ? "0.153.1" : "0.0.0";
27712
+ var CLIENT_VERSION = true ? "0.155.0" : "0.0.0";
27708
27713
  var clientVersion = {
27709
27714
  client_version: external_exports.string().min(1).max(64).optional()
27710
27715
  };
@@ -27931,6 +27936,8 @@ var AgentInfo = external_exports.object({
27931
27936
  state: external_exports.enum(["live", "queued", "away"]).optional(),
27932
27937
  /** When an `away` agent closed. */
27933
27938
  since: IsoTimeSchema.optional(),
27939
+ /** #2029: mail pending to an `away` agent, capped at 100. */
27940
+ waiting: external_exports.number().int().min(1).max(100).optional(),
27934
27941
  global: external_exports.boolean(),
27935
27942
  /** The agent's machine (B13); absent when the hub is older. */
27936
27943
  machine_label: MachineLabelSchema.optional(),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-bus",
3
- "version": "0.153.1",
3
+ "version": "0.155.0",
4
4
  "type": "module",
5
5
  "openclaw": {
6
6
  "extensions": [