@mondaydotcomorg/z2h-shared-utils 0.12.0 → 0.13.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.
@@ -86,16 +86,6 @@ export declare const Z2hAgentEvents: {
86
86
  readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
87
87
  readonly biEvent: "z2h_agent_tool_call";
88
88
  };
89
- readonly asyncRun: {
90
- readonly started: "z2h.agent_run.started";
91
- readonly finished: "z2h.agent_run.finished";
92
- readonly durationMs: "z2h.agent_run.duration_ms";
93
- readonly sendMessageResponse: "z2h.send_message.response";
94
- readonly busyRejected: "z2h.agent_run.busy_rejected";
95
- readonly leaseHeartbeatFailed: "z2h.agent_run.lease_heartbeat_failed";
96
- readonly redisUnavailable: "z2h.agent_run.redis_unavailable";
97
- readonly statusPoll: "z2h.agent_status.poll";
98
- };
99
89
  };
100
90
  /**
101
91
  * BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAwBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAajB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -86,17 +86,6 @@ const Z2hAgentEvents = {
86
86
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
87
87
  biEvent: 'z2h_agent_tool_call',
88
88
  },
89
- // send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
90
- asyncRun: {
91
- started: 'z2h.agent_run.started',
92
- finished: 'z2h.agent_run.finished',
93
- durationMs: 'z2h.agent_run.duration_ms',
94
- sendMessageResponse: 'z2h.send_message.response',
95
- busyRejected: 'z2h.agent_run.busy_rejected',
96
- leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
97
- redisUnavailable: 'z2h.agent_run.redis_unavailable',
98
- statusPoll: 'z2h.agent_status.poll',
99
- },
100
89
  };
101
90
  /**
102
91
  * BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
@@ -86,16 +86,6 @@ export declare const Z2hAgentEvents: {
86
86
  readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
87
87
  readonly biEvent: "z2h_agent_tool_call";
88
88
  };
89
- readonly asyncRun: {
90
- readonly started: "z2h.agent_run.started";
91
- readonly finished: "z2h.agent_run.finished";
92
- readonly durationMs: "z2h.agent_run.duration_ms";
93
- readonly sendMessageResponse: "z2h.send_message.response";
94
- readonly busyRejected: "z2h.agent_run.busy_rejected";
95
- readonly leaseHeartbeatFailed: "z2h.agent_run.lease_heartbeat_failed";
96
- readonly redisUnavailable: "z2h.agent_run.redis_unavailable";
97
- readonly statusPoll: "z2h.agent_status.poll";
98
- };
99
89
  };
100
90
  /**
101
91
  * BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAwBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAajB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -88,17 +88,6 @@ const Z2hAgentEvents = {
88
88
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
89
89
  biEvent: 'z2h_agent_tool_call',
90
90
  },
91
- // send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
92
- asyncRun: {
93
- started: 'z2h.agent_run.started',
94
- finished: 'z2h.agent_run.finished',
95
- durationMs: 'z2h.agent_run.duration_ms',
96
- sendMessageResponse: 'z2h.send_message.response',
97
- busyRejected: 'z2h.agent_run.busy_rejected',
98
- leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
99
- redisUnavailable: 'z2h.agent_run.redis_unavailable',
100
- statusPoll: 'z2h.agent_status.poll',
101
- },
102
91
  };
103
92
  /**
104
93
  * BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/z2h-shared-utils",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -88,17 +88,6 @@ export const Z2hAgentEvents = {
88
88
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
89
89
  biEvent: 'z2h_agent_tool_call',
90
90
  },
91
- // send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
92
- asyncRun: {
93
- started: 'z2h.agent_run.started',
94
- finished: 'z2h.agent_run.finished',
95
- durationMs: 'z2h.agent_run.duration_ms',
96
- sendMessageResponse: 'z2h.send_message.response',
97
- busyRejected: 'z2h.agent_run.busy_rejected',
98
- leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
99
- redisUnavailable: 'z2h.agent_run.redis_unavailable',
100
- statusPoll: 'z2h.agent_status.poll',
101
- },
102
91
  } as const;
103
92
 
104
93
  /**