@ever-works/hermes-agent-plugin 1.0.17 → 1.0.18
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/index.cjs +26 -2
- package/dist/index.js +26 -2
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -37,10 +37,10 @@ __export(index_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(index_exports);
|
|
39
39
|
|
|
40
|
-
// ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.
|
|
40
|
+
// ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.8/node_modules/@ever-co/connect-contracts/dist/index.js
|
|
41
41
|
var CONSTANTS = {
|
|
42
42
|
"$comment": "Wire constants of the Ever Platform modules. tools/split-integrations.mjs refreshes the fields read from the contract (contracts_version, code patterns, install_sources, products, stats_headers, feed_event_types, integration_keys, root_keys); every other value is a default a product may override by its own configuration.",
|
|
43
|
-
"contracts_version": "1.0.0-rc.
|
|
43
|
+
"contracts_version": "1.0.0-rc.8",
|
|
44
44
|
"connect_code_pattern": "^EVC(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
|
|
45
45
|
"link_code_pattern": "^EVL(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
|
|
46
46
|
"install_sources": "^(cloud|self-hosted|ever\\.sh|works_app|desktop|partner:[a-z0-9-]{2,32})$",
|
|
@@ -224,6 +224,10 @@ var PROBLEM_CODES = [
|
|
|
224
224
|
"not_connection_owner",
|
|
225
225
|
"integration_disabled",
|
|
226
226
|
"integration_revoked",
|
|
227
|
+
"subject_unknown",
|
|
228
|
+
"link_not_found",
|
|
229
|
+
"oidc_client_exists",
|
|
230
|
+
"redirect_uri_invalid",
|
|
227
231
|
"denied_by_policy",
|
|
228
232
|
"integration_not_available",
|
|
229
233
|
"entitlement_required",
|
|
@@ -252,6 +256,8 @@ var PROBLEM_CODES = [
|
|
|
252
256
|
"illegal_transition",
|
|
253
257
|
"already_exists",
|
|
254
258
|
"already_completed",
|
|
259
|
+
"legal_basis_required",
|
|
260
|
+
"receipt_final",
|
|
255
261
|
"billing_active",
|
|
256
262
|
"sso_required",
|
|
257
263
|
"reauth_required",
|
|
@@ -470,6 +476,21 @@ var UPSTREAM_TEXT = {
|
|
|
470
476
|
reportMaxBytes: 32 * 1024,
|
|
471
477
|
maxSeenReviewIds: 200
|
|
472
478
|
};
|
|
479
|
+
var TASK_DELIVERY_STATES = [
|
|
480
|
+
"merged",
|
|
481
|
+
"building",
|
|
482
|
+
"build_failed",
|
|
483
|
+
"built",
|
|
484
|
+
"deploying",
|
|
485
|
+
"deploy_failed",
|
|
486
|
+
"live",
|
|
487
|
+
"closed_without_deploy"
|
|
488
|
+
];
|
|
489
|
+
var TASK_DELIVERY_FILTER_WAITING = "waiting";
|
|
490
|
+
var TASK_DELIVERY_STATE_FILTERS = [
|
|
491
|
+
TASK_DELIVERY_FILTER_WAITING,
|
|
492
|
+
...TASK_DELIVERY_STATES
|
|
493
|
+
];
|
|
473
494
|
var KB_EXPORT_MAX_BYTES = 200 * 1024 * 1024;
|
|
474
495
|
var TERMINAL_MAX_FRAME_BYTES = 1024 * 1024;
|
|
475
496
|
var COMPUTER_MAX_FRAME_BYTES = 512 * 1024;
|
|
@@ -2862,6 +2883,9 @@ var DOMAIN_EVENT_CATALOG = [
|
|
|
2862
2883
|
{ type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2863
2884
|
{ type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2864
2885
|
{ type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2886
|
+
// Integration inbox push: an integration's PATCH of its own item, and the member's
|
|
2887
|
+
// answer to an integration item (stored on the item; no run is started).
|
|
2888
|
+
{ type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2865
2889
|
{ type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
|
2866
2890
|
{ type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
|
2867
2891
|
{ type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.
|
|
1
|
+
// ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.8/node_modules/@ever-co/connect-contracts/dist/index.js
|
|
2
2
|
var CONSTANTS = {
|
|
3
3
|
"$comment": "Wire constants of the Ever Platform modules. tools/split-integrations.mjs refreshes the fields read from the contract (contracts_version, code patterns, install_sources, products, stats_headers, feed_event_types, integration_keys, root_keys); every other value is a default a product may override by its own configuration.",
|
|
4
|
-
"contracts_version": "1.0.0-rc.
|
|
4
|
+
"contracts_version": "1.0.0-rc.8",
|
|
5
5
|
"connect_code_pattern": "^EVC(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
|
|
6
6
|
"link_code_pattern": "^EVL(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
|
|
7
7
|
"install_sources": "^(cloud|self-hosted|ever\\.sh|works_app|desktop|partner:[a-z0-9-]{2,32})$",
|
|
@@ -185,6 +185,10 @@ var PROBLEM_CODES = [
|
|
|
185
185
|
"not_connection_owner",
|
|
186
186
|
"integration_disabled",
|
|
187
187
|
"integration_revoked",
|
|
188
|
+
"subject_unknown",
|
|
189
|
+
"link_not_found",
|
|
190
|
+
"oidc_client_exists",
|
|
191
|
+
"redirect_uri_invalid",
|
|
188
192
|
"denied_by_policy",
|
|
189
193
|
"integration_not_available",
|
|
190
194
|
"entitlement_required",
|
|
@@ -213,6 +217,8 @@ var PROBLEM_CODES = [
|
|
|
213
217
|
"illegal_transition",
|
|
214
218
|
"already_exists",
|
|
215
219
|
"already_completed",
|
|
220
|
+
"legal_basis_required",
|
|
221
|
+
"receipt_final",
|
|
216
222
|
"billing_active",
|
|
217
223
|
"sso_required",
|
|
218
224
|
"reauth_required",
|
|
@@ -431,6 +437,21 @@ var UPSTREAM_TEXT = {
|
|
|
431
437
|
reportMaxBytes: 32 * 1024,
|
|
432
438
|
maxSeenReviewIds: 200
|
|
433
439
|
};
|
|
440
|
+
var TASK_DELIVERY_STATES = [
|
|
441
|
+
"merged",
|
|
442
|
+
"building",
|
|
443
|
+
"build_failed",
|
|
444
|
+
"built",
|
|
445
|
+
"deploying",
|
|
446
|
+
"deploy_failed",
|
|
447
|
+
"live",
|
|
448
|
+
"closed_without_deploy"
|
|
449
|
+
];
|
|
450
|
+
var TASK_DELIVERY_FILTER_WAITING = "waiting";
|
|
451
|
+
var TASK_DELIVERY_STATE_FILTERS = [
|
|
452
|
+
TASK_DELIVERY_FILTER_WAITING,
|
|
453
|
+
...TASK_DELIVERY_STATES
|
|
454
|
+
];
|
|
434
455
|
var KB_EXPORT_MAX_BYTES = 200 * 1024 * 1024;
|
|
435
456
|
var TERMINAL_MAX_FRAME_BYTES = 1024 * 1024;
|
|
436
457
|
var COMPUTER_MAX_FRAME_BYTES = 512 * 1024;
|
|
@@ -2823,6 +2844,9 @@ var DOMAIN_EVENT_CATALOG = [
|
|
|
2823
2844
|
{ type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2824
2845
|
{ type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2825
2846
|
{ type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2847
|
+
// Integration inbox push: an integration's PATCH of its own item, and the member's
|
|
2848
|
+
// answer to an integration item (stored on the item; no run is started).
|
|
2849
|
+
{ type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
|
|
2826
2850
|
{ type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
|
2827
2851
|
{ type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
|
2828
2852
|
{ type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/hermes-agent-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "Hermes Agent pipeline plugin for Ever Works",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"test:coverage": "vitest run --coverage"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@ever-works/plugin": "^1.2.
|
|
36
|
+
"@ever-works/plugin": "^1.2.16"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@ever-works/plugin": "^1.2.
|
|
39
|
+
"@ever-works/plugin": "^1.2.16",
|
|
40
40
|
"@types/node": "^26.6.4",
|
|
41
41
|
"tsup": "^8.0.0",
|
|
42
42
|
"typescript": "^5.9.3",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"url": "https://github.com/ever-works/ever-works/issues"
|
|
74
74
|
},
|
|
75
75
|
"everworksRelease": {
|
|
76
|
-
"contentHash": "sha256:
|
|
77
|
-
"commit": "
|
|
78
|
-
"source": "https://github.com/ever-works/ever-works/tree/
|
|
76
|
+
"contentHash": "sha256:7a34b46440678f0320dd29e39cad0876335c886d4be43838b9167ab11778a46d",
|
|
77
|
+
"commit": "89cee44a662034ea957b07ec5e1230ecf340b107",
|
|
78
|
+
"source": "https://github.com/ever-works/ever-works/tree/89cee44a662034ea957b07ec5e1230ecf340b107/packages/plugins/hermes-agent"
|
|
79
79
|
}
|
|
80
80
|
}
|