@mondaydotcomorg/z2h-shared-utils 0.11.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.
- package/dist/esm/observability/events.d.ts +2 -11
- package/dist/esm/observability/events.d.ts.map +1 -1
- package/dist/esm/observability/events.mjs +2 -12
- package/dist/observability/events.d.ts +2 -11
- package/dist/observability/events.d.ts.map +1 -1
- package/dist/observability/events.js +2 -12
- package/package.json +1 -1
- package/src/observability/events.ts +2 -12
|
@@ -76,25 +76,16 @@ export declare const Z2hServiceEvents: {
|
|
|
76
76
|
export declare const Z2hAgentEvents: {
|
|
77
77
|
readonly subagents: {
|
|
78
78
|
readonly cliHelpUnavailable: "z2h.subagents.cli_help_unavailable";
|
|
79
|
-
readonly
|
|
79
|
+
readonly handoff: "z2h.subagents.handoff";
|
|
80
80
|
};
|
|
81
81
|
readonly mainAgent: {
|
|
82
82
|
readonly runLimitHit: "z2h.main_agent.run_limit_hit";
|
|
83
|
+
readonly handoff: "z2h.main_agent.handoff";
|
|
83
84
|
};
|
|
84
85
|
readonly toolCall: {
|
|
85
86
|
readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
|
|
86
87
|
readonly biEvent: "z2h_agent_tool_call";
|
|
87
88
|
};
|
|
88
|
-
readonly asyncRun: {
|
|
89
|
-
readonly started: "z2h.agent_run.started";
|
|
90
|
-
readonly finished: "z2h.agent_run.finished";
|
|
91
|
-
readonly durationMs: "z2h.agent_run.duration_ms";
|
|
92
|
-
readonly sendMessageResponse: "z2h.send_message.response";
|
|
93
|
-
readonly busyRejected: "z2h.agent_run.busy_rejected";
|
|
94
|
-
readonly leaseHeartbeatFailed: "z2h.agent_run.lease_heartbeat_failed";
|
|
95
|
-
readonly redisUnavailable: "z2h.agent_run.redis_unavailable";
|
|
96
|
-
readonly statusPoll: "z2h.agent_status.poll";
|
|
97
|
-
};
|
|
98
89
|
};
|
|
99
90
|
/**
|
|
100
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
|
|
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"}
|
|
@@ -76,26 +76,16 @@ const Z2hServiceEvents = {
|
|
|
76
76
|
const Z2hAgentEvents = {
|
|
77
77
|
subagents: {
|
|
78
78
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
79
|
-
|
|
79
|
+
handoff: 'z2h.subagents.handoff',
|
|
80
80
|
},
|
|
81
81
|
mainAgent: {
|
|
82
82
|
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
83
|
+
handoff: 'z2h.main_agent.handoff',
|
|
83
84
|
},
|
|
84
85
|
toolCall: {
|
|
85
86
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|
|
86
87
|
biEvent: 'z2h_agent_tool_call',
|
|
87
88
|
},
|
|
88
|
-
// send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
|
|
89
|
-
asyncRun: {
|
|
90
|
-
started: 'z2h.agent_run.started',
|
|
91
|
-
finished: 'z2h.agent_run.finished',
|
|
92
|
-
durationMs: 'z2h.agent_run.duration_ms',
|
|
93
|
-
sendMessageResponse: 'z2h.send_message.response',
|
|
94
|
-
busyRejected: 'z2h.agent_run.busy_rejected',
|
|
95
|
-
leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
|
|
96
|
-
redisUnavailable: 'z2h.agent_run.redis_unavailable',
|
|
97
|
-
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.
|
|
@@ -76,25 +76,16 @@ export declare const Z2hServiceEvents: {
|
|
|
76
76
|
export declare const Z2hAgentEvents: {
|
|
77
77
|
readonly subagents: {
|
|
78
78
|
readonly cliHelpUnavailable: "z2h.subagents.cli_help_unavailable";
|
|
79
|
-
readonly
|
|
79
|
+
readonly handoff: "z2h.subagents.handoff";
|
|
80
80
|
};
|
|
81
81
|
readonly mainAgent: {
|
|
82
82
|
readonly runLimitHit: "z2h.main_agent.run_limit_hit";
|
|
83
|
+
readonly handoff: "z2h.main_agent.handoff";
|
|
83
84
|
};
|
|
84
85
|
readonly toolCall: {
|
|
85
86
|
readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
|
|
86
87
|
readonly biEvent: "z2h_agent_tool_call";
|
|
87
88
|
};
|
|
88
|
-
readonly asyncRun: {
|
|
89
|
-
readonly started: "z2h.agent_run.started";
|
|
90
|
-
readonly finished: "z2h.agent_run.finished";
|
|
91
|
-
readonly durationMs: "z2h.agent_run.duration_ms";
|
|
92
|
-
readonly sendMessageResponse: "z2h.send_message.response";
|
|
93
|
-
readonly busyRejected: "z2h.agent_run.busy_rejected";
|
|
94
|
-
readonly leaseHeartbeatFailed: "z2h.agent_run.lease_heartbeat_failed";
|
|
95
|
-
readonly redisUnavailable: "z2h.agent_run.redis_unavailable";
|
|
96
|
-
readonly statusPoll: "z2h.agent_status.poll";
|
|
97
|
-
};
|
|
98
89
|
};
|
|
99
90
|
/**
|
|
100
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
|
|
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"}
|
|
@@ -78,26 +78,16 @@ const Z2hServiceEvents = {
|
|
|
78
78
|
const Z2hAgentEvents = {
|
|
79
79
|
subagents: {
|
|
80
80
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
81
|
-
|
|
81
|
+
handoff: 'z2h.subagents.handoff',
|
|
82
82
|
},
|
|
83
83
|
mainAgent: {
|
|
84
84
|
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
85
|
+
handoff: 'z2h.main_agent.handoff',
|
|
85
86
|
},
|
|
86
87
|
toolCall: {
|
|
87
88
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|
|
88
89
|
biEvent: 'z2h_agent_tool_call',
|
|
89
90
|
},
|
|
90
|
-
// send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
|
|
91
|
-
asyncRun: {
|
|
92
|
-
started: 'z2h.agent_run.started',
|
|
93
|
-
finished: 'z2h.agent_run.finished',
|
|
94
|
-
durationMs: 'z2h.agent_run.duration_ms',
|
|
95
|
-
sendMessageResponse: 'z2h.send_message.response',
|
|
96
|
-
busyRejected: 'z2h.agent_run.busy_rejected',
|
|
97
|
-
leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
|
|
98
|
-
redisUnavailable: 'z2h.agent_run.redis_unavailable',
|
|
99
|
-
statusPoll: 'z2h.agent_status.poll',
|
|
100
|
-
},
|
|
101
91
|
};
|
|
102
92
|
/**
|
|
103
93
|
* BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
|
package/package.json
CHANGED
|
@@ -78,26 +78,16 @@ export const Z2hServiceEvents = {
|
|
|
78
78
|
export const Z2hAgentEvents = {
|
|
79
79
|
subagents: {
|
|
80
80
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
81
|
-
|
|
81
|
+
handoff: 'z2h.subagents.handoff',
|
|
82
82
|
},
|
|
83
83
|
mainAgent: {
|
|
84
84
|
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
85
|
+
handoff: 'z2h.main_agent.handoff',
|
|
85
86
|
},
|
|
86
87
|
toolCall: {
|
|
87
88
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|
|
88
89
|
biEvent: 'z2h_agent_tool_call',
|
|
89
90
|
},
|
|
90
|
-
// send_message / get_message_status wait-or-jobId flow (active-run lease in Redis).
|
|
91
|
-
asyncRun: {
|
|
92
|
-
started: 'z2h.agent_run.started',
|
|
93
|
-
finished: 'z2h.agent_run.finished',
|
|
94
|
-
durationMs: 'z2h.agent_run.duration_ms',
|
|
95
|
-
sendMessageResponse: 'z2h.send_message.response',
|
|
96
|
-
busyRejected: 'z2h.agent_run.busy_rejected',
|
|
97
|
-
leaseHeartbeatFailed: 'z2h.agent_run.lease_heartbeat_failed',
|
|
98
|
-
redisUnavailable: 'z2h.agent_run.redis_unavailable',
|
|
99
|
-
statusPoll: 'z2h.agent_status.poll',
|
|
100
|
-
},
|
|
101
91
|
} as const;
|
|
102
92
|
|
|
103
93
|
/**
|