@ever-works/everworks-skills-plugin 1.0.4 → 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 CHANGED
@@ -62,6 +62,7 @@ var PROBLEM_CODES = [
62
62
  "already_connected",
63
63
  "already_linked",
64
64
  "already_claimed",
65
+ "claim_locked",
65
66
  "invalid_client",
66
67
  "public_jwk_invalid",
67
68
  "identifier_claimed",
@@ -87,6 +88,11 @@ var PROBLEM_CODES = [
87
88
  "database_absent",
88
89
  "database_unreachable",
89
90
  "topic_private",
91
+ "realtime_disabled",
92
+ "topic_forbidden",
93
+ "topic_invalid",
94
+ "realtime_busy",
95
+ "too_many_streams",
90
96
  "keys_unavailable",
91
97
  "internal_error"
92
98
  ];
@@ -673,6 +679,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
673
679
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
674
680
  (family) => family.envNames
675
681
  );
682
+ var FLEET_LINK_FRAME_KINDS = {
683
+ /** Raw bytes: terminal output/input, log lines, file chunks. */
684
+ DATA: 1,
685
+ /** `[cols u16][rows u16]`. */
686
+ RESIZE: 2,
687
+ /** `[code i32]`. */
688
+ EXIT: 3,
689
+ /** UTF-8 JSON control message. */
690
+ JSON: 10,
691
+ /** UTF-8 reason code. */
692
+ CLOSE: 11,
693
+ /** A full picture (the existing computer-frame encoding). */
694
+ FRAME: 20,
695
+ /** A pointer / key / text event (the existing computer input encoding). */
696
+ INPUT: 21,
697
+ /** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
698
+ TILES: 23,
699
+ /** `[bytes u32]` credit. */
700
+ ACK: 30,
701
+ /** End of a stream. */
702
+ END: 31,
703
+ /** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
704
+ CLIP: 40
705
+ };
706
+ new Set(Object.values(FLEET_LINK_FRAME_KINDS));
707
+ var FLEET_LINK_CONTROL_TYPES = [
708
+ "link.hello",
709
+ "link.ready",
710
+ "link.ping",
711
+ "link.pong",
712
+ "link.pause",
713
+ "link.resume",
714
+ "link.drain",
715
+ "channel.open",
716
+ "channel.ready",
717
+ "channel.refused",
718
+ "channel.close",
719
+ "operation.progress",
720
+ "operation.done",
721
+ "operation.cancel"
722
+ ];
723
+ new Set(FLEET_LINK_CONTROL_TYPES);
724
+ new TextEncoder();
676
725
  var EMAIL_INBOX_CAP_FIELDS = [
677
726
  "inboxDailySends",
678
727
  "inboxBurstSends",
package/dist/index.js CHANGED
@@ -54,6 +54,7 @@ var PROBLEM_CODES = [
54
54
  "already_connected",
55
55
  "already_linked",
56
56
  "already_claimed",
57
+ "claim_locked",
57
58
  "invalid_client",
58
59
  "public_jwk_invalid",
59
60
  "identifier_claimed",
@@ -79,6 +80,11 @@ var PROBLEM_CODES = [
79
80
  "database_absent",
80
81
  "database_unreachable",
81
82
  "topic_private",
83
+ "realtime_disabled",
84
+ "topic_forbidden",
85
+ "topic_invalid",
86
+ "realtime_busy",
87
+ "too_many_streams",
82
88
  "keys_unavailable",
83
89
  "internal_error"
84
90
  ];
@@ -665,6 +671,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
665
671
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
666
672
  (family) => family.envNames
667
673
  );
674
+ var FLEET_LINK_FRAME_KINDS = {
675
+ /** Raw bytes: terminal output/input, log lines, file chunks. */
676
+ DATA: 1,
677
+ /** `[cols u16][rows u16]`. */
678
+ RESIZE: 2,
679
+ /** `[code i32]`. */
680
+ EXIT: 3,
681
+ /** UTF-8 JSON control message. */
682
+ JSON: 10,
683
+ /** UTF-8 reason code. */
684
+ CLOSE: 11,
685
+ /** A full picture (the existing computer-frame encoding). */
686
+ FRAME: 20,
687
+ /** A pointer / key / text event (the existing computer input encoding). */
688
+ INPUT: 21,
689
+ /** Changed tiles `[w][h][count]{x,y,w,h,len,jpeg}`. */
690
+ TILES: 23,
691
+ /** `[bytes u32]` credit. */
692
+ ACK: 30,
693
+ /** End of a stream. */
694
+ END: 31,
695
+ /** UTF-8 text ≤ 256 KiB, pasted into a desktop. */
696
+ CLIP: 40
697
+ };
698
+ new Set(Object.values(FLEET_LINK_FRAME_KINDS));
699
+ var FLEET_LINK_CONTROL_TYPES = [
700
+ "link.hello",
701
+ "link.ready",
702
+ "link.ping",
703
+ "link.pong",
704
+ "link.pause",
705
+ "link.resume",
706
+ "link.drain",
707
+ "channel.open",
708
+ "channel.ready",
709
+ "channel.refused",
710
+ "channel.close",
711
+ "operation.progress",
712
+ "operation.done",
713
+ "operation.cancel"
714
+ ];
715
+ new Set(FLEET_LINK_CONTROL_TYPES);
716
+ new TextEncoder();
668
717
  var EMAIL_INBOX_CAP_FIELDS = [
669
718
  "inboxDailySends",
670
719
  "inboxBurstSends",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/everworks-skills-plugin",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Ever Works Skills — first-party skills-provider plugin sourcing the curated catalog from the ever-works/skills GitHub repo.",
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.6",
37
- "@ever-works/plugin": "^1.2.5",
36
+ "@ever-works/contracts": "^1.0.11",
37
+ "@ever-works/plugin": "^1.2.6",
38
38
  "gray-matter": "^4.0.3"
39
39
  },
40
40
  "devDependencies": {
@@ -68,8 +68,8 @@
68
68
  "url": "https://github.com/ever-works/ever-works/issues"
69
69
  },
70
70
  "everworksRelease": {
71
- "contentHash": "sha256:464fe9669450cf738fe56a6556bf068c4c93c009c016025bffedd042b77743f0",
72
- "commit": "19905c70cf05be3bc523db030597046067cd322a",
73
- "source": "https://github.com/ever-works/ever-works/tree/19905c70cf05be3bc523db030597046067cd322a/packages/plugins/everworks-skills"
71
+ "contentHash": "sha256:a21c3f620f05c0fd31116999f77edfc1e9ba4e6ceb9f6d0f2457c59195beaf44",
72
+ "commit": "eff002871bfd7f9f8e0f984907f45265ae8b01e0",
73
+ "source": "https://github.com/ever-works/ever-works/tree/eff002871bfd7f9f8e0f984907f45265ae8b01e0/packages/plugins/everworks-skills"
74
74
  }
75
75
  }