@mondaydotcomorg/z2h-shared-utils 0.6.1 → 0.7.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/integrations.d.ts +1 -1
- package/dist/esm/integrations.d.ts.map +1 -1
- package/dist/esm/integrations.mjs +1 -1
- package/dist/esm/observability/events.d.ts +4 -0
- package/dist/esm/observability/events.d.ts.map +1 -1
- package/dist/esm/observability/events.mjs +4 -0
- package/dist/integrations.d.ts +1 -1
- package/dist/integrations.d.ts.map +1 -1
- package/dist/integrations.js +1 -1
- package/dist/observability/events.d.ts +4 -0
- package/dist/observability/events.d.ts.map +1 -1
- package/dist/observability/events.js +4 -0
- package/package.json +1 -1
- package/src/integrations.ts +1 -1
- package/src/observability/events.ts +4 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Always-on channels need no OAuth and are never declared — the runner builds
|
|
5
5
|
* them for every app regardless of what its handlers touch.
|
|
6
6
|
*/
|
|
7
|
-
export declare const ALWAYS_ON_CHANNELS: readonly ["db", "llm", "snowflake"];
|
|
7
|
+
export declare const ALWAYS_ON_CHANNELS: readonly ["db", "llm", "snowflake", "customIntegration"];
|
|
8
8
|
export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
9
9
|
/**
|
|
10
10
|
* Declared (OAuth-gated) integrations: closed set the CLI detects from handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Always-on channels need no OAuth and are never declared — the runner builds
|
|
5
5
|
* them for every app regardless of what its handlers touch.
|
|
6
6
|
*/
|
|
7
|
-
const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake'];
|
|
7
|
+
const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake', 'customIntegration'];
|
|
8
8
|
/**
|
|
9
9
|
* Declared (OAuth-gated) integrations: closed set the CLI detects from handler
|
|
10
10
|
* sources and the broker validates on register/update.
|
|
@@ -63,6 +63,10 @@ export declare const Z2hServiceEvents: {
|
|
|
63
63
|
export declare const Z2hAgentEvents: {
|
|
64
64
|
readonly subagents: {
|
|
65
65
|
readonly cliHelpUnavailable: "z2h.subagents.cli_help_unavailable";
|
|
66
|
+
readonly runLimitHit: "z2h.subagents.run_limit_hit";
|
|
67
|
+
};
|
|
68
|
+
readonly mainAgent: {
|
|
69
|
+
readonly runLimitHit: "z2h.main_agent.run_limit_hit";
|
|
66
70
|
};
|
|
67
71
|
readonly toolCall: {
|
|
68
72
|
readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;CAYjB,CAAC;AAEX,sCAAsC;AACtC,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
|
|
@@ -63,6 +63,10 @@ const Z2hServiceEvents = {
|
|
|
63
63
|
const Z2hAgentEvents = {
|
|
64
64
|
subagents: {
|
|
65
65
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
66
|
+
runLimitHit: 'z2h.subagents.run_limit_hit',
|
|
67
|
+
},
|
|
68
|
+
mainAgent: {
|
|
69
|
+
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
66
70
|
},
|
|
67
71
|
toolCall: {
|
|
68
72
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|
package/dist/integrations.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Always-on channels need no OAuth and are never declared — the runner builds
|
|
5
5
|
* them for every app regardless of what its handlers touch.
|
|
6
6
|
*/
|
|
7
|
-
export declare const ALWAYS_ON_CHANNELS: readonly ["db", "llm", "snowflake"];
|
|
7
|
+
export declare const ALWAYS_ON_CHANNELS: readonly ["db", "llm", "snowflake", "customIntegration"];
|
|
8
8
|
export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
9
9
|
/**
|
|
10
10
|
* Declared (OAuth-gated) integrations: closed set the CLI detects from handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/integrations.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
6
6
|
* Always-on channels need no OAuth and are never declared — the runner builds
|
|
7
7
|
* them for every app regardless of what its handlers touch.
|
|
8
8
|
*/
|
|
9
|
-
const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake'];
|
|
9
|
+
const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake', 'customIntegration'];
|
|
10
10
|
/**
|
|
11
11
|
* Declared (OAuth-gated) integrations: closed set the CLI detects from handler
|
|
12
12
|
* sources and the broker validates on register/update.
|
|
@@ -63,6 +63,10 @@ export declare const Z2hServiceEvents: {
|
|
|
63
63
|
export declare const Z2hAgentEvents: {
|
|
64
64
|
readonly subagents: {
|
|
65
65
|
readonly cliHelpUnavailable: "z2h.subagents.cli_help_unavailable";
|
|
66
|
+
readonly runLimitHit: "z2h.subagents.run_limit_hit";
|
|
67
|
+
};
|
|
68
|
+
readonly mainAgent: {
|
|
69
|
+
readonly runLimitHit: "z2h.main_agent.run_limit_hit";
|
|
66
70
|
};
|
|
67
71
|
readonly toolCall: {
|
|
68
72
|
readonly softFailureMetric: "z2h.agent_tool_call.soft_failure";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;CAYjB,CAAC;AAEX,sCAAsC;AACtC,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
|
|
@@ -65,6 +65,10 @@ const Z2hServiceEvents = {
|
|
|
65
65
|
const Z2hAgentEvents = {
|
|
66
66
|
subagents: {
|
|
67
67
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
68
|
+
runLimitHit: 'z2h.subagents.run_limit_hit',
|
|
69
|
+
},
|
|
70
|
+
mainAgent: {
|
|
71
|
+
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
68
72
|
},
|
|
69
73
|
toolCall: {
|
|
70
74
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|
package/package.json
CHANGED
package/src/integrations.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Always-on channels need no OAuth and are never declared — the runner builds
|
|
5
5
|
* them for every app regardless of what its handlers touch.
|
|
6
6
|
*/
|
|
7
|
-
export const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake'] as const;
|
|
7
|
+
export const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake', 'customIntegration'] as const;
|
|
8
8
|
export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -65,6 +65,10 @@ export const Z2hServiceEvents = {
|
|
|
65
65
|
export const Z2hAgentEvents = {
|
|
66
66
|
subagents: {
|
|
67
67
|
cliHelpUnavailable: 'z2h.subagents.cli_help_unavailable',
|
|
68
|
+
runLimitHit: 'z2h.subagents.run_limit_hit',
|
|
69
|
+
},
|
|
70
|
+
mainAgent: {
|
|
71
|
+
runLimitHit: 'z2h.main_agent.run_limit_hit',
|
|
68
72
|
},
|
|
69
73
|
toolCall: {
|
|
70
74
|
softFailureMetric: 'z2h.agent_tool_call.soft_failure',
|