@ever-works/opencode-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 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.7/node_modules/@ever-co/connect-contracts/dist/index.js
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.7",
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
@@ -4,10 +4,10 @@ var __export = (target, all) => {
4
4
  __defProp(target, name, { get: all[name], enumerable: true });
5
5
  };
6
6
 
7
- // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.7/node_modules/@ever-co/connect-contracts/dist/index.js
7
+ // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.8/node_modules/@ever-co/connect-contracts/dist/index.js
8
8
  var CONSTANTS = {
9
9
  "$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.",
10
- "contracts_version": "1.0.0-rc.7",
10
+ "contracts_version": "1.0.0-rc.8",
11
11
  "connect_code_pattern": "^EVC(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
12
12
  "link_code_pattern": "^EVL(-[0-9A-HJKMNP-TV-Za-hj-kmnp-tv-z]{4}){3}$",
13
13
  "install_sources": "^(cloud|self-hosted|ever\\.sh|works_app|desktop|partner:[a-z0-9-]{2,32})$",
@@ -191,6 +191,10 @@ var PROBLEM_CODES = [
191
191
  "not_connection_owner",
192
192
  "integration_disabled",
193
193
  "integration_revoked",
194
+ "subject_unknown",
195
+ "link_not_found",
196
+ "oidc_client_exists",
197
+ "redirect_uri_invalid",
194
198
  "denied_by_policy",
195
199
  "integration_not_available",
196
200
  "entitlement_required",
@@ -219,6 +223,8 @@ var PROBLEM_CODES = [
219
223
  "illegal_transition",
220
224
  "already_exists",
221
225
  "already_completed",
226
+ "legal_basis_required",
227
+ "receipt_final",
222
228
  "billing_active",
223
229
  "sso_required",
224
230
  "reauth_required",
@@ -437,6 +443,21 @@ var UPSTREAM_TEXT = {
437
443
  reportMaxBytes: 32 * 1024,
438
444
  maxSeenReviewIds: 200
439
445
  };
446
+ var TASK_DELIVERY_STATES = [
447
+ "merged",
448
+ "building",
449
+ "build_failed",
450
+ "built",
451
+ "deploying",
452
+ "deploy_failed",
453
+ "live",
454
+ "closed_without_deploy"
455
+ ];
456
+ var TASK_DELIVERY_FILTER_WAITING = "waiting";
457
+ var TASK_DELIVERY_STATE_FILTERS = [
458
+ TASK_DELIVERY_FILTER_WAITING,
459
+ ...TASK_DELIVERY_STATES
460
+ ];
440
461
  var KB_EXPORT_MAX_BYTES = 200 * 1024 * 1024;
441
462
  var TERMINAL_MAX_FRAME_BYTES = 1024 * 1024;
442
463
  var COMPUTER_MAX_FRAME_BYTES = 512 * 1024;
@@ -2829,6 +2850,9 @@ var DOMAIN_EVENT_CATALOG = [
2829
2850
  { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2830
2851
  { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2831
2852
  { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2853
+ // Integration inbox push: an integration's PATCH of its own item, and the member's
2854
+ // answer to an integration item (stored on the item; no run is started).
2855
+ { type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
2832
2856
  { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2833
2857
  { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
2834
2858
  { 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/opencode-plugin",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "OpenCode Generator Plugin - Full pipeline plugin that delegates generation to OpenCode",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -33,14 +33,14 @@
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
  "dependencies": {
39
39
  "@electron-internal/extract-zip": "^1.0.6",
40
40
  "tar": "^7.5.21"
41
41
  },
42
42
  "devDependencies": {
43
- "@ever-works/plugin": "^1.2.12",
43
+ "@ever-works/plugin": "^1.2.16",
44
44
  "@types/node": "^26.6.4",
45
45
  "tsup": "^8.0.0",
46
46
  "typescript": "^5.9.3",
@@ -78,8 +78,8 @@
78
78
  "url": "https://github.com/ever-works/ever-works/issues"
79
79
  },
80
80
  "everworksRelease": {
81
- "contentHash": "sha256:73df0261a6a6573f009c13cd69d64234fdc8d63c22a0bef9e49c9f18155fff4a",
82
- "commit": "d3cf14ee74b443cd882e625d1c99ff75af99732b",
83
- "source": "https://github.com/ever-works/ever-works/tree/d3cf14ee74b443cd882e625d1c99ff75af99732b/packages/plugins/opencode"
81
+ "contentHash": "sha256:1785eda0f5b011a27b678e3e77ff83ffc98a05e91275c09b0c8de481ac5e7064",
82
+ "commit": "89cee44a662034ea957b07ec5e1230ecf340b107",
83
+ "source": "https://github.com/ever-works/ever-works/tree/89cee44a662034ea957b07ec5e1230ecf340b107/packages/plugins/opencode"
84
84
  }
85
85
  }