@mondaydotcomorg/z2h-shared-utils 0.14.0 → 0.15.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.
@@ -93,6 +93,7 @@ export declare const Z2hAgentEvents: {
93
93
  readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
94
94
  readonly biEvent: "z2h_agent_tool_call";
95
95
  };
96
+ readonly gitSync: "z2h.agent_git_sync";
96
97
  };
97
98
  /**
98
99
  * 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BnB,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAgBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -93,6 +93,9 @@ const Z2hAgentEvents = {
93
93
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
94
94
  biEvent: 'z2h_agent_tool_call',
95
95
  },
96
+ // Distribution of a CLI call's duration in ms, tagged by phase (pull, push), status (success, failure) and,
97
+ // on a pull, cold: whether it had to clone the app. A push that lost a race is retried inside the CLI.
98
+ gitSync: 'z2h.agent_git_sync',
96
99
  };
97
100
  /**
98
101
  * BI events tracked in `z2h-cli`. Every event the CLI sends is named here.
@@ -93,6 +93,7 @@ export declare const Z2hAgentEvents: {
93
93
  readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
94
94
  readonly biEvent: "z2h_agent_tool_call";
95
95
  };
96
+ readonly gitSync: "z2h.agent_git_sync";
96
97
  };
97
98
  /**
98
99
  * 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BnB,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAgBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -95,6 +95,9 @@ const Z2hAgentEvents = {
95
95
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
96
96
  biEvent: 'z2h_agent_tool_call',
97
97
  },
98
+ // Distribution of a CLI call's duration in ms, tagged by phase (pull, push), status (success, failure) and,
99
+ // on a pull, cold: whether it had to clone the app. A push that lost a race is retried inside the CLI.
100
+ gitSync: 'z2h.agent_git_sync',
98
101
  };
99
102
  /**
100
103
  * 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.14.0",
3
+ "version": "0.15.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -95,6 +95,9 @@ export const Z2hAgentEvents = {
95
95
  softFailureMetric: 'z2h.agent_tool_call.soft_failure',
96
96
  biEvent: 'z2h_agent_tool_call',
97
97
  },
98
+ // Distribution of a CLI call's duration in ms, tagged by phase (pull, push), status (success, failure) and,
99
+ // on a pull, cold: whether it had to clone the app. A push that lost a race is retried inside the CLI.
100
+ gitSync: 'z2h.agent_git_sync',
98
101
  } as const;
99
102
 
100
103
  /**