@ever-works/pty-local-plugin 1.0.4 → 1.0.5
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 +43 -0
- package/dist/index.js +43 -0
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -674,6 +674,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
|
|
|
674
674
|
FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
|
|
675
675
|
(family) => family.envNames
|
|
676
676
|
);
|
|
677
|
+
var FLEET_LINK_FRAME_KINDS = {
|
|
678
|
+
/** Raw bytes: terminal output/input, log lines, file chunks. */
|
|
679
|
+
DATA: 1,
|
|
680
|
+
/** `[cols u16][rows u16]`. */
|
|
681
|
+
RESIZE: 2,
|
|
682
|
+
/** `[code i32]`. */
|
|
683
|
+
EXIT: 3,
|
|
684
|
+
/** UTF-8 JSON control message. */
|
|
685
|
+
JSON: 10,
|
|
686
|
+
/** UTF-8 reason code. */
|
|
687
|
+
CLOSE: 11,
|
|
688
|
+
/** A full picture (the existing computer-frame encoding). */
|
|
689
|
+
FRAME: 20,
|
|
690
|
+
/** A pointer / key / text event (the existing computer input encoding). */
|
|
691
|
+
INPUT: 21,
|
|
692
|
+
/** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
|
|
693
|
+
TILES: 23,
|
|
694
|
+
/** `[bytes u32]` credit. */
|
|
695
|
+
ACK: 30,
|
|
696
|
+
/** End of a stream. */
|
|
697
|
+
END: 31,
|
|
698
|
+
/** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
|
|
699
|
+
CLIP: 40
|
|
700
|
+
};
|
|
701
|
+
new Set(Object.values(FLEET_LINK_FRAME_KINDS));
|
|
702
|
+
var FLEET_LINK_CONTROL_TYPES = [
|
|
703
|
+
"link.hello",
|
|
704
|
+
"link.ready",
|
|
705
|
+
"link.ping",
|
|
706
|
+
"link.pong",
|
|
707
|
+
"link.pause",
|
|
708
|
+
"link.resume",
|
|
709
|
+
"link.drain",
|
|
710
|
+
"channel.open",
|
|
711
|
+
"channel.ready",
|
|
712
|
+
"channel.refused",
|
|
713
|
+
"channel.close",
|
|
714
|
+
"operation.progress",
|
|
715
|
+
"operation.done",
|
|
716
|
+
"operation.cancel"
|
|
717
|
+
];
|
|
718
|
+
new Set(FLEET_LINK_CONTROL_TYPES);
|
|
719
|
+
new TextEncoder();
|
|
677
720
|
var EMAIL_INBOX_CAP_FIELDS = [
|
|
678
721
|
"inboxDailySends",
|
|
679
722
|
"inboxBurstSends",
|
package/dist/index.js
CHANGED
|
@@ -670,6 +670,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
|
|
|
670
670
|
FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
|
|
671
671
|
(family) => family.envNames
|
|
672
672
|
);
|
|
673
|
+
var FLEET_LINK_FRAME_KINDS = {
|
|
674
|
+
/** Raw bytes: terminal output/input, log lines, file chunks. */
|
|
675
|
+
DATA: 1,
|
|
676
|
+
/** `[cols u16][rows u16]`. */
|
|
677
|
+
RESIZE: 2,
|
|
678
|
+
/** `[code i32]`. */
|
|
679
|
+
EXIT: 3,
|
|
680
|
+
/** UTF-8 JSON control message. */
|
|
681
|
+
JSON: 10,
|
|
682
|
+
/** UTF-8 reason code. */
|
|
683
|
+
CLOSE: 11,
|
|
684
|
+
/** A full picture (the existing computer-frame encoding). */
|
|
685
|
+
FRAME: 20,
|
|
686
|
+
/** A pointer / key / text event (the existing computer input encoding). */
|
|
687
|
+
INPUT: 21,
|
|
688
|
+
/** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
|
|
689
|
+
TILES: 23,
|
|
690
|
+
/** `[bytes u32]` credit. */
|
|
691
|
+
ACK: 30,
|
|
692
|
+
/** End of a stream. */
|
|
693
|
+
END: 31,
|
|
694
|
+
/** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
|
|
695
|
+
CLIP: 40
|
|
696
|
+
};
|
|
697
|
+
new Set(Object.values(FLEET_LINK_FRAME_KINDS));
|
|
698
|
+
var FLEET_LINK_CONTROL_TYPES = [
|
|
699
|
+
"link.hello",
|
|
700
|
+
"link.ready",
|
|
701
|
+
"link.ping",
|
|
702
|
+
"link.pong",
|
|
703
|
+
"link.pause",
|
|
704
|
+
"link.resume",
|
|
705
|
+
"link.drain",
|
|
706
|
+
"channel.open",
|
|
707
|
+
"channel.ready",
|
|
708
|
+
"channel.refused",
|
|
709
|
+
"channel.close",
|
|
710
|
+
"operation.progress",
|
|
711
|
+
"operation.done",
|
|
712
|
+
"operation.cancel"
|
|
713
|
+
];
|
|
714
|
+
new Set(FLEET_LINK_CONTROL_TYPES);
|
|
715
|
+
new TextEncoder();
|
|
673
716
|
var EMAIL_INBOX_CAP_FIELDS = [
|
|
674
717
|
"inboxDailySends",
|
|
675
718
|
"inboxBurstSends",
|
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.5",
|
|
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.6"
|
|
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.10",
|
|
42
|
+
"@ever-works/plugin": "^1.2.6",
|
|
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:d8d2c2afb01c06a4e437a5c55df20d70f13026f18f3b797171d3f1ef7d529979",
|
|
74
|
+
"commit": "54552a4d2dcb0e2d5213b0a47fd3ffcbd432f73c",
|
|
75
|
+
"source": "https://github.com/ever-works/ever-works/tree/54552a4d2dcb0e2d5213b0a47fd3ffcbd432f73c/packages/plugins/pty-local"
|
|
76
76
|
}
|
|
77
77
|
}
|