@ever-works/novu-channel-plugin 1.0.5 → 1.0.6
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 +5 -5
package/dist/index.cjs
CHANGED
|
@@ -667,6 +667,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
|
|
|
667
667
|
FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
|
|
668
668
|
(family) => family.envNames
|
|
669
669
|
);
|
|
670
|
+
var FLEET_LINK_FRAME_KINDS = {
|
|
671
|
+
/** Raw bytes: terminal output/input, log lines, file chunks. */
|
|
672
|
+
DATA: 1,
|
|
673
|
+
/** `[cols u16][rows u16]`. */
|
|
674
|
+
RESIZE: 2,
|
|
675
|
+
/** `[code i32]`. */
|
|
676
|
+
EXIT: 3,
|
|
677
|
+
/** UTF-8 JSON control message. */
|
|
678
|
+
JSON: 10,
|
|
679
|
+
/** UTF-8 reason code. */
|
|
680
|
+
CLOSE: 11,
|
|
681
|
+
/** A full picture (the existing computer-frame encoding). */
|
|
682
|
+
FRAME: 20,
|
|
683
|
+
/** A pointer / key / text event (the existing computer input encoding). */
|
|
684
|
+
INPUT: 21,
|
|
685
|
+
/** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
|
|
686
|
+
TILES: 23,
|
|
687
|
+
/** `[bytes u32]` credit. */
|
|
688
|
+
ACK: 30,
|
|
689
|
+
/** End of a stream. */
|
|
690
|
+
END: 31,
|
|
691
|
+
/** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
|
|
692
|
+
CLIP: 40
|
|
693
|
+
};
|
|
694
|
+
new Set(Object.values(FLEET_LINK_FRAME_KINDS));
|
|
695
|
+
var FLEET_LINK_CONTROL_TYPES = [
|
|
696
|
+
"link.hello",
|
|
697
|
+
"link.ready",
|
|
698
|
+
"link.ping",
|
|
699
|
+
"link.pong",
|
|
700
|
+
"link.pause",
|
|
701
|
+
"link.resume",
|
|
702
|
+
"link.drain",
|
|
703
|
+
"channel.open",
|
|
704
|
+
"channel.ready",
|
|
705
|
+
"channel.refused",
|
|
706
|
+
"channel.close",
|
|
707
|
+
"operation.progress",
|
|
708
|
+
"operation.done",
|
|
709
|
+
"operation.cancel"
|
|
710
|
+
];
|
|
711
|
+
new Set(FLEET_LINK_CONTROL_TYPES);
|
|
712
|
+
new TextEncoder();
|
|
670
713
|
var EMAIL_INBOX_CAP_FIELDS = [
|
|
671
714
|
"inboxDailySends",
|
|
672
715
|
"inboxBurstSends",
|
package/dist/index.js
CHANGED
|
@@ -665,6 +665,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
|
|
|
665
665
|
FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
|
|
666
666
|
(family) => family.envNames
|
|
667
667
|
);
|
|
668
|
+
var FLEET_LINK_FRAME_KINDS = {
|
|
669
|
+
/** Raw bytes: terminal output/input, log lines, file chunks. */
|
|
670
|
+
DATA: 1,
|
|
671
|
+
/** `[cols u16][rows u16]`. */
|
|
672
|
+
RESIZE: 2,
|
|
673
|
+
/** `[code i32]`. */
|
|
674
|
+
EXIT: 3,
|
|
675
|
+
/** UTF-8 JSON control message. */
|
|
676
|
+
JSON: 10,
|
|
677
|
+
/** UTF-8 reason code. */
|
|
678
|
+
CLOSE: 11,
|
|
679
|
+
/** A full picture (the existing computer-frame encoding). */
|
|
680
|
+
FRAME: 20,
|
|
681
|
+
/** A pointer / key / text event (the existing computer input encoding). */
|
|
682
|
+
INPUT: 21,
|
|
683
|
+
/** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
|
|
684
|
+
TILES: 23,
|
|
685
|
+
/** `[bytes u32]` credit. */
|
|
686
|
+
ACK: 30,
|
|
687
|
+
/** End of a stream. */
|
|
688
|
+
END: 31,
|
|
689
|
+
/** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
|
|
690
|
+
CLIP: 40
|
|
691
|
+
};
|
|
692
|
+
new Set(Object.values(FLEET_LINK_FRAME_KINDS));
|
|
693
|
+
var FLEET_LINK_CONTROL_TYPES = [
|
|
694
|
+
"link.hello",
|
|
695
|
+
"link.ready",
|
|
696
|
+
"link.ping",
|
|
697
|
+
"link.pong",
|
|
698
|
+
"link.pause",
|
|
699
|
+
"link.resume",
|
|
700
|
+
"link.drain",
|
|
701
|
+
"channel.open",
|
|
702
|
+
"channel.ready",
|
|
703
|
+
"channel.refused",
|
|
704
|
+
"channel.close",
|
|
705
|
+
"operation.progress",
|
|
706
|
+
"operation.done",
|
|
707
|
+
"operation.cancel"
|
|
708
|
+
];
|
|
709
|
+
new Set(FLEET_LINK_CONTROL_TYPES);
|
|
710
|
+
new TextEncoder();
|
|
668
711
|
var EMAIL_INBOX_CAP_FIELDS = [
|
|
669
712
|
"inboxDailySends",
|
|
670
713
|
"inboxBurstSends",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/novu-channel-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Novu notification-channel plugin (workflow meta-router) for Ever Works platform",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:watch": "vitest"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ever-works/plugin": "^1.2.
|
|
35
|
+
"@ever-works/plugin": "^1.2.6"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^26.6.4",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"url": "https://github.com/ever-works/ever-works/issues"
|
|
74
74
|
},
|
|
75
75
|
"everworksRelease": {
|
|
76
|
-
"contentHash": "sha256:
|
|
77
|
-
"commit": "
|
|
78
|
-
"source": "https://github.com/ever-works/ever-works/tree/
|
|
76
|
+
"contentHash": "sha256:b89babf212ffb7ef7cbbe7034ef7ab1e6dcff133d049fd9f80e0ccee1fd0d8f7",
|
|
77
|
+
"commit": "54552a4d2dcb0e2d5213b0a47fd3ffcbd432f73c",
|
|
78
|
+
"source": "https://github.com/ever-works/ever-works/tree/54552a4d2dcb0e2d5213b0a47fd3ffcbd432f73c/packages/plugins/novu-channel"
|
|
79
79
|
}
|
|
80
80
|
}
|