@ever-works/everworks-playbooks-plugin 1.0.0 → 1.0.2

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
@@ -2,6 +2,90 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.2/node_modules/@ever-co/connect-contracts/dist/index.js
6
+ var PROBLEM_CODES = [
7
+ "validation_failed",
8
+ "not_found",
9
+ "unauthorized",
10
+ "forbidden_role",
11
+ "forbidden_scope",
12
+ "ambiguous_credentials",
13
+ "credential_revoked",
14
+ "instance_disconnected",
15
+ "instance_pending_approval",
16
+ "not_connection_owner",
17
+ "integration_disabled",
18
+ "integration_revoked",
19
+ "denied_by_policy",
20
+ "integration_not_available",
21
+ "entitlement_required",
22
+ "tier_required",
23
+ "limit_exceeded",
24
+ "rate_limited",
25
+ "idempotency_mismatch",
26
+ "idempotency_in_progress",
27
+ "stale_version",
28
+ "module_disabled",
29
+ "handle_taken",
30
+ "handle_reserved",
31
+ "handle_retired",
32
+ "handle_invalid",
33
+ "handle_held",
34
+ "handle_held_by_you",
35
+ "code_invalid",
36
+ "code_expired",
37
+ "product_mismatch",
38
+ "product_not_supported",
39
+ "key_mismatch",
40
+ "signature_invalid",
41
+ "unlinked_org",
42
+ "schema_violation",
43
+ "mirror_owned_field",
44
+ "illegal_transition",
45
+ "already_exists",
46
+ "already_completed",
47
+ "billing_active",
48
+ "sso_required",
49
+ "reauth_required",
50
+ "session_required",
51
+ "step_up_required",
52
+ "session_bound",
53
+ "authorization_pending",
54
+ "slow_down",
55
+ "expired_token",
56
+ "already_connected",
57
+ "already_linked",
58
+ "already_claimed",
59
+ "invalid_client",
60
+ "public_jwk_invalid",
61
+ "identifier_claimed",
62
+ "salt_version_unknown",
63
+ "salt_version_retired",
64
+ "hashes_invalid",
65
+ "lookup_key_required",
66
+ "required_component",
67
+ "resync_required",
68
+ "last_owner",
69
+ "last_auth_method",
70
+ "instances_linked",
71
+ "install_in_progress",
72
+ "slug_reserved",
73
+ "checklist_incomplete",
74
+ "scope_version_outdated",
75
+ "method_not_allowed",
76
+ "payload_too_large",
77
+ "unsupported_media_type",
78
+ "gone",
79
+ "unavailable",
80
+ "upstream",
81
+ "database_absent",
82
+ "database_unreachable",
83
+ "topic_private",
84
+ "keys_unavailable",
85
+ "internal_error"
86
+ ];
87
+ new Set(PROBLEM_CODES);
88
+
5
89
  // ../../contracts/dist/index.js
6
90
  var USER_SELECTABLE_WORK_KINDS = [
7
91
  "website",
@@ -9,7 +93,8 @@ var USER_SELECTABLE_WORK_KINDS = [
9
93
  "blog",
10
94
  "directory",
11
95
  "awesome-repo",
12
- "repo"
96
+ "repo",
97
+ "app"
13
98
  ];
14
99
  var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
15
100
  new Set(WORK_KINDS);
@@ -1516,6 +1601,17 @@ var EverWorksPlaybooksPlugin = class {
1516
1601
  return accepted;
1517
1602
  }
1518
1603
  };
1604
+ /**
1605
+ * One header finding of the licence scan (plan §2.6:324-325, FR-54): the
1606
+ * `SPDX-License-Identifier:` / `@license` tag a file declares in its first
1607
+ * `LICENSE_HEADER_SCAN_BYTES` bytes.
1608
+ *
1609
+ * **Gap, named rather than guessed:** plan §3.1:437 writes the column's third
1610
+ * field as `headerFindings: …` without a shape. `path` is certain — it is the
1611
+ * first field of the scan's input — and the detected identifier is the second
1612
+ * fact the scan produces, so both are declared; anything further an
1613
+ * implementation adds is additive.
1614
+ */
1519
1615
 
1520
1616
  exports.BUILTIN_PLAYBOOKS = BUILTIN_PLAYBOOKS;
1521
1617
  exports.EverWorksPlaybooksPlugin = EverWorksPlaybooksPlugin;
package/dist/index.js CHANGED
@@ -1,3 +1,87 @@
1
+ // ../../../node_modules/.pnpm/@ever-co+connect-contracts@1.0.0-rc.2/node_modules/@ever-co/connect-contracts/dist/index.js
2
+ var PROBLEM_CODES = [
3
+ "validation_failed",
4
+ "not_found",
5
+ "unauthorized",
6
+ "forbidden_role",
7
+ "forbidden_scope",
8
+ "ambiguous_credentials",
9
+ "credential_revoked",
10
+ "instance_disconnected",
11
+ "instance_pending_approval",
12
+ "not_connection_owner",
13
+ "integration_disabled",
14
+ "integration_revoked",
15
+ "denied_by_policy",
16
+ "integration_not_available",
17
+ "entitlement_required",
18
+ "tier_required",
19
+ "limit_exceeded",
20
+ "rate_limited",
21
+ "idempotency_mismatch",
22
+ "idempotency_in_progress",
23
+ "stale_version",
24
+ "module_disabled",
25
+ "handle_taken",
26
+ "handle_reserved",
27
+ "handle_retired",
28
+ "handle_invalid",
29
+ "handle_held",
30
+ "handle_held_by_you",
31
+ "code_invalid",
32
+ "code_expired",
33
+ "product_mismatch",
34
+ "product_not_supported",
35
+ "key_mismatch",
36
+ "signature_invalid",
37
+ "unlinked_org",
38
+ "schema_violation",
39
+ "mirror_owned_field",
40
+ "illegal_transition",
41
+ "already_exists",
42
+ "already_completed",
43
+ "billing_active",
44
+ "sso_required",
45
+ "reauth_required",
46
+ "session_required",
47
+ "step_up_required",
48
+ "session_bound",
49
+ "authorization_pending",
50
+ "slow_down",
51
+ "expired_token",
52
+ "already_connected",
53
+ "already_linked",
54
+ "already_claimed",
55
+ "invalid_client",
56
+ "public_jwk_invalid",
57
+ "identifier_claimed",
58
+ "salt_version_unknown",
59
+ "salt_version_retired",
60
+ "hashes_invalid",
61
+ "lookup_key_required",
62
+ "required_component",
63
+ "resync_required",
64
+ "last_owner",
65
+ "last_auth_method",
66
+ "instances_linked",
67
+ "install_in_progress",
68
+ "slug_reserved",
69
+ "checklist_incomplete",
70
+ "scope_version_outdated",
71
+ "method_not_allowed",
72
+ "payload_too_large",
73
+ "unsupported_media_type",
74
+ "gone",
75
+ "unavailable",
76
+ "upstream",
77
+ "database_absent",
78
+ "database_unreachable",
79
+ "topic_private",
80
+ "keys_unavailable",
81
+ "internal_error"
82
+ ];
83
+ new Set(PROBLEM_CODES);
84
+
1
85
  // ../../contracts/dist/index.js
2
86
  var USER_SELECTABLE_WORK_KINDS = [
3
87
  "website",
@@ -5,7 +89,8 @@ var USER_SELECTABLE_WORK_KINDS = [
5
89
  "blog",
6
90
  "directory",
7
91
  "awesome-repo",
8
- "repo"
92
+ "repo",
93
+ "app"
9
94
  ];
10
95
  var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
11
96
  new Set(WORK_KINDS);
@@ -1512,5 +1597,16 @@ var EverWorksPlaybooksPlugin = class {
1512
1597
  return accepted;
1513
1598
  }
1514
1599
  };
1600
+ /**
1601
+ * One header finding of the licence scan (plan §2.6:324-325, FR-54): the
1602
+ * `SPDX-License-Identifier:` / `@license` tag a file declares in its first
1603
+ * `LICENSE_HEADER_SCAN_BYTES` bytes.
1604
+ *
1605
+ * **Gap, named rather than guessed:** plan §3.1:437 writes the column's third
1606
+ * field as `headerFindings: …` without a shape. `path` is certain — it is the
1607
+ * first field of the scan's input — and the detected identifier is the second
1608
+ * fact the scan produces, so both are declared; anything further an
1609
+ * implementation adds is additive.
1610
+ */
1515
1611
 
1516
1612
  export { BUILTIN_PLAYBOOKS, EverWorksPlaybooksPlugin, EverWorksPlaybooksPlugin as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/everworks-playbooks-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Ever Works Playbooks — first-party playbook-provider plugin supplying the built-in Playbook catalogue: packaged outcomes with their trigger, steps, required capabilities, artefacts and escalation points.",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -33,8 +33,8 @@
33
33
  "test:coverage": "vitest run --coverage"
34
34
  },
35
35
  "dependencies": {
36
- "@ever-works/contracts": "^1.0.0",
37
- "@ever-works/plugin": "^1.2.0"
36
+ "@ever-works/contracts": "^1.0.4",
37
+ "@ever-works/plugin": "^1.2.4"
38
38
  },
39
39
  "devDependencies": {
40
40
  "tsup": "^8.3.0",
@@ -67,8 +67,8 @@
67
67
  "url": "https://github.com/ever-works/ever-works/issues"
68
68
  },
69
69
  "everworksRelease": {
70
- "contentHash": "sha256:bcd2bb90ca704f4da638999ea74347e37b89f8960ce43f2f611e2b6601bf1e44",
71
- "commit": "6628882fbf102716a412f7d9a66d8387bd6a784c",
72
- "source": "https://github.com/ever-works/ever-works/tree/6628882fbf102716a412f7d9a66d8387bd6a784c/packages/plugins/everworks-playbooks"
70
+ "contentHash": "sha256:6e403b98f451f1d10ca298c701f544145f1c5a512aa798f491e88c6d3803dac9",
71
+ "commit": "5afea18479322951b23246dd492a05dc332e90ca",
72
+ "source": "https://github.com/ever-works/ever-works/tree/5afea18479322951b23246dd492a05dc332e90ca/packages/plugins/everworks-playbooks"
73
73
  }
74
74
  }