@ever-works/pty-local-plugin 1.0.2 → 1.0.3
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 +82 -0
- package/dist/index.js +82 -0
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -10,6 +10,88 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
10
10
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
11
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
12
|
});
|
|
13
|
+
var PROBLEM_CODES = [
|
|
14
|
+
"validation_failed",
|
|
15
|
+
"not_found",
|
|
16
|
+
"unauthorized",
|
|
17
|
+
"forbidden_role",
|
|
18
|
+
"forbidden_scope",
|
|
19
|
+
"ambiguous_credentials",
|
|
20
|
+
"credential_revoked",
|
|
21
|
+
"instance_disconnected",
|
|
22
|
+
"instance_pending_approval",
|
|
23
|
+
"not_connection_owner",
|
|
24
|
+
"integration_disabled",
|
|
25
|
+
"integration_revoked",
|
|
26
|
+
"denied_by_policy",
|
|
27
|
+
"integration_not_available",
|
|
28
|
+
"entitlement_required",
|
|
29
|
+
"tier_required",
|
|
30
|
+
"limit_exceeded",
|
|
31
|
+
"rate_limited",
|
|
32
|
+
"idempotency_mismatch",
|
|
33
|
+
"idempotency_in_progress",
|
|
34
|
+
"stale_version",
|
|
35
|
+
"module_disabled",
|
|
36
|
+
"handle_taken",
|
|
37
|
+
"handle_reserved",
|
|
38
|
+
"handle_retired",
|
|
39
|
+
"handle_invalid",
|
|
40
|
+
"handle_held",
|
|
41
|
+
"handle_held_by_you",
|
|
42
|
+
"code_invalid",
|
|
43
|
+
"code_expired",
|
|
44
|
+
"product_mismatch",
|
|
45
|
+
"product_not_supported",
|
|
46
|
+
"key_mismatch",
|
|
47
|
+
"signature_invalid",
|
|
48
|
+
"unlinked_org",
|
|
49
|
+
"schema_violation",
|
|
50
|
+
"mirror_owned_field",
|
|
51
|
+
"illegal_transition",
|
|
52
|
+
"already_exists",
|
|
53
|
+
"already_completed",
|
|
54
|
+
"billing_active",
|
|
55
|
+
"sso_required",
|
|
56
|
+
"reauth_required",
|
|
57
|
+
"session_required",
|
|
58
|
+
"step_up_required",
|
|
59
|
+
"session_bound",
|
|
60
|
+
"authorization_pending",
|
|
61
|
+
"slow_down",
|
|
62
|
+
"expired_token",
|
|
63
|
+
"already_connected",
|
|
64
|
+
"already_linked",
|
|
65
|
+
"already_claimed",
|
|
66
|
+
"invalid_client",
|
|
67
|
+
"public_jwk_invalid",
|
|
68
|
+
"identifier_claimed",
|
|
69
|
+
"salt_version_unknown",
|
|
70
|
+
"salt_version_retired",
|
|
71
|
+
"hashes_invalid",
|
|
72
|
+
"lookup_key_required",
|
|
73
|
+
"required_component",
|
|
74
|
+
"resync_required",
|
|
75
|
+
"last_owner",
|
|
76
|
+
"last_auth_method",
|
|
77
|
+
"instances_linked",
|
|
78
|
+
"install_in_progress",
|
|
79
|
+
"slug_reserved",
|
|
80
|
+
"checklist_incomplete",
|
|
81
|
+
"scope_version_outdated",
|
|
82
|
+
"method_not_allowed",
|
|
83
|
+
"payload_too_large",
|
|
84
|
+
"unsupported_media_type",
|
|
85
|
+
"gone",
|
|
86
|
+
"unavailable",
|
|
87
|
+
"upstream",
|
|
88
|
+
"database_absent",
|
|
89
|
+
"database_unreachable",
|
|
90
|
+
"topic_private",
|
|
91
|
+
"keys_unavailable",
|
|
92
|
+
"internal_error"
|
|
93
|
+
];
|
|
94
|
+
new Set(PROBLEM_CODES);
|
|
13
95
|
|
|
14
96
|
// ../../contracts/dist/index.js
|
|
15
97
|
var USER_SELECTABLE_WORK_KINDS = [
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,88 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
6
6
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
|
+
var PROBLEM_CODES = [
|
|
10
|
+
"validation_failed",
|
|
11
|
+
"not_found",
|
|
12
|
+
"unauthorized",
|
|
13
|
+
"forbidden_role",
|
|
14
|
+
"forbidden_scope",
|
|
15
|
+
"ambiguous_credentials",
|
|
16
|
+
"credential_revoked",
|
|
17
|
+
"instance_disconnected",
|
|
18
|
+
"instance_pending_approval",
|
|
19
|
+
"not_connection_owner",
|
|
20
|
+
"integration_disabled",
|
|
21
|
+
"integration_revoked",
|
|
22
|
+
"denied_by_policy",
|
|
23
|
+
"integration_not_available",
|
|
24
|
+
"entitlement_required",
|
|
25
|
+
"tier_required",
|
|
26
|
+
"limit_exceeded",
|
|
27
|
+
"rate_limited",
|
|
28
|
+
"idempotency_mismatch",
|
|
29
|
+
"idempotency_in_progress",
|
|
30
|
+
"stale_version",
|
|
31
|
+
"module_disabled",
|
|
32
|
+
"handle_taken",
|
|
33
|
+
"handle_reserved",
|
|
34
|
+
"handle_retired",
|
|
35
|
+
"handle_invalid",
|
|
36
|
+
"handle_held",
|
|
37
|
+
"handle_held_by_you",
|
|
38
|
+
"code_invalid",
|
|
39
|
+
"code_expired",
|
|
40
|
+
"product_mismatch",
|
|
41
|
+
"product_not_supported",
|
|
42
|
+
"key_mismatch",
|
|
43
|
+
"signature_invalid",
|
|
44
|
+
"unlinked_org",
|
|
45
|
+
"schema_violation",
|
|
46
|
+
"mirror_owned_field",
|
|
47
|
+
"illegal_transition",
|
|
48
|
+
"already_exists",
|
|
49
|
+
"already_completed",
|
|
50
|
+
"billing_active",
|
|
51
|
+
"sso_required",
|
|
52
|
+
"reauth_required",
|
|
53
|
+
"session_required",
|
|
54
|
+
"step_up_required",
|
|
55
|
+
"session_bound",
|
|
56
|
+
"authorization_pending",
|
|
57
|
+
"slow_down",
|
|
58
|
+
"expired_token",
|
|
59
|
+
"already_connected",
|
|
60
|
+
"already_linked",
|
|
61
|
+
"already_claimed",
|
|
62
|
+
"invalid_client",
|
|
63
|
+
"public_jwk_invalid",
|
|
64
|
+
"identifier_claimed",
|
|
65
|
+
"salt_version_unknown",
|
|
66
|
+
"salt_version_retired",
|
|
67
|
+
"hashes_invalid",
|
|
68
|
+
"lookup_key_required",
|
|
69
|
+
"required_component",
|
|
70
|
+
"resync_required",
|
|
71
|
+
"last_owner",
|
|
72
|
+
"last_auth_method",
|
|
73
|
+
"instances_linked",
|
|
74
|
+
"install_in_progress",
|
|
75
|
+
"slug_reserved",
|
|
76
|
+
"checklist_incomplete",
|
|
77
|
+
"scope_version_outdated",
|
|
78
|
+
"method_not_allowed",
|
|
79
|
+
"payload_too_large",
|
|
80
|
+
"unsupported_media_type",
|
|
81
|
+
"gone",
|
|
82
|
+
"unavailable",
|
|
83
|
+
"upstream",
|
|
84
|
+
"database_absent",
|
|
85
|
+
"database_unreachable",
|
|
86
|
+
"topic_private",
|
|
87
|
+
"keys_unavailable",
|
|
88
|
+
"internal_error"
|
|
89
|
+
];
|
|
90
|
+
new Set(PROBLEM_CODES);
|
|
9
91
|
|
|
10
92
|
// ../../contracts/dist/index.js
|
|
11
93
|
var USER_SELECTABLE_WORK_KINDS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/pty-local-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Streaming-terminal session host for Ever Works — spawns the agent CLI under a real PTY inside the executing job-runtime worker (node-pty prebuilt), degrading to a child_process pipe floor when the native addon is unavailable.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"test:coverage": "vitest run --coverage"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@ever-works/plugin": "^1.2.
|
|
35
|
+
"@ever-works/plugin": "^1.2.4"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
38
|
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@ever-works/contracts": "^1.0.
|
|
42
|
-
"@ever-works/plugin": "^1.2.
|
|
41
|
+
"@ever-works/contracts": "^1.0.4",
|
|
42
|
+
"@ever-works/plugin": "^1.2.4",
|
|
43
43
|
"@types/node": "^26.6.4",
|
|
44
44
|
"tsup": "^8.4.0",
|
|
45
45
|
"typescript": "^5.7.3",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"url": "https://github.com/ever-works/ever-works/issues"
|
|
71
71
|
},
|
|
72
72
|
"everworksRelease": {
|
|
73
|
-
"contentHash": "sha256:
|
|
74
|
-
"commit": "
|
|
75
|
-
"source": "https://github.com/ever-works/ever-works/tree/
|
|
73
|
+
"contentHash": "sha256:27899d8a86f0a79e2bc53180a48bdf80a619df264d75cab79e5f7f7e1c35bf77",
|
|
74
|
+
"commit": "5afea18479322951b23246dd492a05dc332e90ca",
|
|
75
|
+
"source": "https://github.com/ever-works/ever-works/tree/5afea18479322951b23246dd492a05dc332e90ca/packages/plugins/pty-local"
|
|
76
76
|
}
|
|
77
77
|
}
|