@ever-works/make-plugin 1.0.16 → 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 CHANGED
@@ -25,10 +25,10 @@ __export(index_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(index_exports);
27
27
 
28
- // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.7/node_modules/@ever-co/connect-contracts/dist/index.js
28
+ // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.8/node_modules/@ever-co/connect-contracts/dist/index.js
29
29
  var CONSTANTS = {
30
30
  "$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.",
31
- "contracts_version": "1.0.0-rc.7",
31
+ "contracts_version": "1.0.0-rc.8",
32
32
  "connect_code_pattern": "^EVC(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
33
33
  "link_code_pattern": "^EVL(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
34
34
  "install_sources": "^(cloud|self-hosted|ever\\.sh|works_app|desktop|partner:[a-z0-9-]{2,32})$",
@@ -212,6 +212,10 @@ var PROBLEM_CODES = [
212
212
  "not_connection_owner",
213
213
  "integration_disabled",
214
214
  "integration_revoked",
215
+ "subject_unknown",
216
+ "link_not_found",
217
+ "oidc_client_exists",
218
+ "redirect_uri_invalid",
215
219
  "denied_by_policy",
216
220
  "integration_not_available",
217
221
  "entitlement_required",
@@ -240,6 +244,8 @@ var PROBLEM_CODES = [
240
244
  "illegal_transition",
241
245
  "already_exists",
242
246
  "already_completed",
247
+ "legal_basis_required",
248
+ "receipt_final",
243
249
  "billing_active",
244
250
  "sso_required",
245
251
  "reauth_required",
@@ -430,6 +436,49 @@ var APP_PROVISION_LIMITS = {
430
436
  podPendingInfraMs: 10 * 6e4
431
437
  };
432
438
  var MAX_CANDIDATE_OPTIONS = APP_PROVISION_LIMITS.optionsMax - 1;
439
+ var UPSTREAM_LIMIT_WINDOW_MS = 24 * 36e5;
440
+ var UPSTREAM_TIMEOUTS = {
441
+ preparationMs: 90 * 6e4,
442
+ checkCommandMs: 30 * 6e4,
443
+ checksTotalMs: 60 * 6e4,
444
+ maxCheckCommands: 10,
445
+ approvalTtlMs: 72 * 36e5,
446
+ branchCleanupMs: 10 * 6e4,
447
+ deletionCascadeMs: 10 * 6e4
448
+ };
449
+ var UPSTREAM_POLLING = {
450
+ earlyIntervalMs: 30 * 6e4,
451
+ earlyWindowMs: 7 * 864e5,
452
+ lateIntervalMs: 6 * 36e5,
453
+ pauseAfterInactivityMs: 90 * 864e5,
454
+ batch: 100,
455
+ maxRequestsPerRead: 4
456
+ };
457
+ var UPSTREAM_TEXT = {
458
+ titleMax: 72,
459
+ bodyMax: 8e3,
460
+ guideFileMaxBytes: 64 * 1024,
461
+ quoteMax: 300,
462
+ reviewBriefMaxBytes: 64 * 1024,
463
+ maxMissingPieces: 10,
464
+ reportMaxBytes: 32 * 1024,
465
+ maxSeenReviewIds: 200
466
+ };
467
+ var TASK_DELIVERY_STATES = [
468
+ "merged",
469
+ "building",
470
+ "build_failed",
471
+ "built",
472
+ "deploying",
473
+ "deploy_failed",
474
+ "live",
475
+ "closed_without_deploy"
476
+ ];
477
+ var TASK_DELIVERY_FILTER_WAITING = "waiting";
478
+ var TASK_DELIVERY_STATE_FILTERS = [
479
+ TASK_DELIVERY_FILTER_WAITING,
480
+ ...TASK_DELIVERY_STATES
481
+ ];
433
482
  var KB_EXPORT_MAX_BYTES = 200 * 1024 * 1024;
434
483
  var TERMINAL_MAX_FRAME_BYTES = 1024 * 1024;
435
484
  var COMPUTER_MAX_FRAME_BYTES = 512 * 1024;
@@ -2822,6 +2871,9 @@ var DOMAIN_EVENT_CATALOG = [
2822
2871
  { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2823
2872
  { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2824
2873
  { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2874
+ // Integration inbox push: an integration's PATCH of its own item, and the member's
2875
+ // answer to an integration item (stored on the item; no run is started).
2876
+ { type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2825
2877
  { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2826
2878
  { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2827
2879
  { 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.7/node_modules/@ever-co/connect-contracts/dist/index.js
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.7",
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",
@@ -403,6 +409,49 @@ var APP_PROVISION_LIMITS = {
403
409
  podPendingInfraMs: 10 * 6e4
404
410
  };
405
411
  var MAX_CANDIDATE_OPTIONS = APP_PROVISION_LIMITS.optionsMax - 1;
412
+ var UPSTREAM_LIMIT_WINDOW_MS = 24 * 36e5;
413
+ var UPSTREAM_TIMEOUTS = {
414
+ preparationMs: 90 * 6e4,
415
+ checkCommandMs: 30 * 6e4,
416
+ checksTotalMs: 60 * 6e4,
417
+ maxCheckCommands: 10,
418
+ approvalTtlMs: 72 * 36e5,
419
+ branchCleanupMs: 10 * 6e4,
420
+ deletionCascadeMs: 10 * 6e4
421
+ };
422
+ var UPSTREAM_POLLING = {
423
+ earlyIntervalMs: 30 * 6e4,
424
+ earlyWindowMs: 7 * 864e5,
425
+ lateIntervalMs: 6 * 36e5,
426
+ pauseAfterInactivityMs: 90 * 864e5,
427
+ batch: 100,
428
+ maxRequestsPerRead: 4
429
+ };
430
+ var UPSTREAM_TEXT = {
431
+ titleMax: 72,
432
+ bodyMax: 8e3,
433
+ guideFileMaxBytes: 64 * 1024,
434
+ quoteMax: 300,
435
+ reviewBriefMaxBytes: 64 * 1024,
436
+ maxMissingPieces: 10,
437
+ reportMaxBytes: 32 * 1024,
438
+ maxSeenReviewIds: 200
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
+ ];
406
455
  var KB_EXPORT_MAX_BYTES = 200 * 1024 * 1024;
407
456
  var TERMINAL_MAX_FRAME_BYTES = 1024 * 1024;
408
457
  var COMPUTER_MAX_FRAME_BYTES = 512 * 1024;
@@ -2795,6 +2844,9 @@ var DOMAIN_EVENT_CATALOG = [
2795
2844
  { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2796
2845
  { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2797
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" },
2798
2850
  { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2799
2851
  { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2800
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/make-plugin",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Make.com Workflow Pipeline Plugin - Delegates Work generation to Make.com scenarios and webhooks",
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.12"
36
+ "@ever-works/plugin": "^1.2.16"
37
37
  },
38
38
  "devDependencies": {
39
- "@ever-works/plugin": "^1.2.12",
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",
@@ -76,8 +76,8 @@
76
76
  "url": "https://github.com/ever-works/ever-works/issues"
77
77
  },
78
78
  "everworksRelease": {
79
- "contentHash": "sha256:f508e99776b34fc2c432e646129e99f0403c4e2cb7f5dc8ee6b08f45e5dae6ab",
80
- "commit": "4b0b642a5bf671c9b0480d49307c2c4442730f28",
81
- "source": "https://github.com/ever-works/ever-works/tree/4b0b642a5bf671c9b0480d49307c2c4442730f28/packages/plugins/make"
79
+ "contentHash": "sha256:c397025f0e428c19aa4e4b2d8ea2f95ae258e6595378d7f9861d8a0ef29d4dd9",
80
+ "commit": "89cee44a662034ea957b07ec5e1230ecf340b107",
81
+ "source": "https://github.com/ever-works/ever-works/tree/89cee44a662034ea957b07ec5e1230ecf340b107/packages/plugins/make"
82
82
  }
83
83
  }