@ever-works/everworks-skills-plugin 1.0.3 → 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
  ];
@@ -102,10 +108,14 @@ var USER_SELECTABLE_WORK_KINDS = [
102
108
  "repo",
103
109
  "app"
104
110
  ];
105
- var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
111
+ var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "project", "default"];
106
112
  new Set(WORK_KINDS);
107
113
  var GOAL_KINDS = ["metric", "delivery"];
108
114
  new Set(GOAL_KINDS);
115
+ var RECORD_VISIBILITIES = ["private", "team", "organization"];
116
+ new Set(RECORD_VISIBILITIES);
117
+ var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
118
+ new Set(RECORD_LIST_VIEWS);
109
119
  var VERSION = "1.0.0";
110
120
  var GTM_SKILLS = [
111
121
  // ── research ────────────────────────────────────────────────────────
@@ -669,6 +679,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
669
679
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
670
680
  (family) => family.envNames
671
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();
672
725
  var EMAIL_INBOX_CAP_FIELDS = [
673
726
  "inboxDailySends",
674
727
  "inboxBurstSends",
@@ -811,6 +864,115 @@ var ACTION_CATEGORIES = Object.freeze([
811
864
  Object.freeze(
812
865
  ACTION_CATEGORIES.filter((c) => c !== "read.internal")
813
866
  );
867
+ var DOMAIN_EVENT_CATALOG = [
868
+ // EW-P2-6 — `org:write` (and the app) create Organizations.
869
+ { type: "organization.created", domain: "organization", aggregateType: "organization", phase: "P2" },
870
+ { type: "organization.updated", domain: "organization", aggregateType: "organization", phase: "P1" },
871
+ {
872
+ type: "organization.member.added",
873
+ domain: "organization",
874
+ aggregateType: "organization",
875
+ phase: "P1",
876
+ child: "member"
877
+ },
878
+ {
879
+ type: "organization.member.updated",
880
+ domain: "organization",
881
+ aggregateType: "organization",
882
+ phase: "P1",
883
+ child: "member"
884
+ },
885
+ {
886
+ type: "organization.member.removed",
887
+ domain: "organization",
888
+ aggregateType: "organization",
889
+ phase: "P1",
890
+ child: "member"
891
+ },
892
+ { type: "agent.created", domain: "agents", aggregateType: "agent", phase: "P1" },
893
+ { type: "agent.updated", domain: "agents", aggregateType: "agent", phase: "P1" },
894
+ { type: "agent.status_changed", domain: "agents", aggregateType: "agent", phase: "P1" },
895
+ { type: "agent.archived", domain: "agents", aggregateType: "agent", phase: "P1" },
896
+ { type: "agent.deleted", domain: "agents", aggregateType: "agent", phase: "P1" },
897
+ { type: "team.created", domain: "teams", aggregateType: "team", phase: "P1" },
898
+ { type: "team.updated", domain: "teams", aggregateType: "team", phase: "P1" },
899
+ { type: "team.deleted", domain: "teams", aggregateType: "team", phase: "P1" },
900
+ { type: "team.member.added", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
901
+ { type: "team.member.updated", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
902
+ { type: "team.member.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
903
+ { type: "team.resource.added", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
904
+ { type: "team.resource.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
905
+ { type: "work.created", domain: "works", aggregateType: "work", phase: "P1" },
906
+ { type: "work.updated", domain: "works", aggregateType: "work", phase: "P1" },
907
+ { type: "work.archived", domain: "works", aggregateType: "work", phase: "P1" },
908
+ { type: "work.deleted", domain: "works", aggregateType: "work", phase: "P1" },
909
+ { type: "work.member.added", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
910
+ { type: "work.member.updated", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
911
+ { type: "work.member.removed", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
912
+ { type: "mission.created", domain: "missions", aggregateType: "mission", phase: "P2" },
913
+ { type: "mission.updated", domain: "missions", aggregateType: "mission", phase: "P2" },
914
+ { type: "mission.status_changed", domain: "missions", aggregateType: "mission", phase: "P2" },
915
+ { type: "mission.deleted", domain: "missions", aggregateType: "mission", phase: "P2" },
916
+ { type: "mission.goal.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
917
+ { type: "mission.goal.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
918
+ { type: "mission.work.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
919
+ { type: "mission.work.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
920
+ { type: "goal.created", domain: "goals", aggregateType: "goal", phase: "P2" },
921
+ { type: "goal.updated", domain: "goals", aggregateType: "goal", phase: "P2" },
922
+ { type: "goal.status_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
923
+ { type: "goal.archived", domain: "goals", aggregateType: "goal", phase: "P2" },
924
+ { type: "goal.unarchived", domain: "goals", aggregateType: "goal", phase: "P2" },
925
+ { type: "goal.deleted", domain: "goals", aggregateType: "goal", phase: "P2" },
926
+ { type: "goal.progress_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
927
+ { type: "idea.created", domain: "ideas", aggregateType: "idea", phase: "P2" },
928
+ { type: "idea.updated", domain: "ideas", aggregateType: "idea", phase: "P2" },
929
+ { type: "idea.status_changed", domain: "ideas", aggregateType: "idea", phase: "P2" },
930
+ { type: "idea.deleted", domain: "ideas", aggregateType: "idea", phase: "P2" },
931
+ { type: "task.created", domain: "tasks", aggregateType: "task", phase: "P1" },
932
+ { type: "task.updated", domain: "tasks", aggregateType: "task", phase: "P1" },
933
+ { type: "task.transitioned", domain: "tasks", aggregateType: "task", phase: "P1" },
934
+ { type: "task.deleted", domain: "tasks", aggregateType: "task", phase: "P1" },
935
+ { type: "task.assignee.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
936
+ { type: "task.assignee.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
937
+ { type: "task.watcher.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
938
+ { type: "task.watcher.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
939
+ { type: "task.block.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
940
+ { type: "task.block.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
941
+ { type: "task.relation.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
942
+ { type: "task.relation.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
943
+ { type: "task.comment.created", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
944
+ { type: "task.comment.updated", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
945
+ { type: "task.comment.deleted", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
946
+ { type: "task.attachment.added", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
947
+ { type: "task.attachment.removed", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
948
+ { type: "task.runtime_updated", domain: "tasks", aggregateType: "task", phase: "P1", optIn: true },
949
+ { type: "inbox.item.created", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
950
+ { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
951
+ { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
952
+ { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
953
+ { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
954
+ { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
955
+ { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
956
+ { type: "kb.document.archived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
957
+ { type: "kb.document.unarchived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
958
+ { type: "kb.document.deleted", domain: "kb", aggregateType: "kb_document", phase: "P3" },
959
+ { type: "kb.document.review_changed", domain: "kb", aggregateType: "kb_document", phase: "P3" },
960
+ { type: "kb.folder.created", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
961
+ { type: "kb.folder.updated", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
962
+ { type: "kb.folder.deleted", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
963
+ { type: "email.message.received", domain: "email", aggregateType: "email_message", phase: "P4" },
964
+ { type: "email.message.sent", domain: "email", aggregateType: "email_message", phase: "P4" },
965
+ { type: "email.message.status_changed", domain: "email", aggregateType: "email_message", phase: "P4" },
966
+ { type: "task.visibility_changed", domain: "visibility", aggregateType: "task", phase: "P1" },
967
+ { type: "agent.visibility_changed", domain: "visibility", aggregateType: "agent", phase: "P1" },
968
+ { type: "goal.visibility_changed", domain: "visibility", aggregateType: "goal", phase: "P2" },
969
+ { type: "mission.visibility_changed", domain: "visibility", aggregateType: "mission", phase: "P2" },
970
+ { type: "idea.visibility_changed", domain: "visibility", aggregateType: "idea", phase: "P2" }
971
+ ];
972
+ DOMAIN_EVENT_CATALOG.map((entry) => entry.type);
973
+ new Map(
974
+ DOMAIN_EVENT_CATALOG.map((entry) => [entry.type, entry])
975
+ );
814
976
 
815
977
  // src/gtm-catalog.ts
816
978
  function ioTable(heading, rows) {
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
  ];
@@ -94,10 +100,14 @@ var USER_SELECTABLE_WORK_KINDS = [
94
100
  "repo",
95
101
  "app"
96
102
  ];
97
- var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
103
+ var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "project", "default"];
98
104
  new Set(WORK_KINDS);
99
105
  var GOAL_KINDS = ["metric", "delivery"];
100
106
  new Set(GOAL_KINDS);
107
+ var RECORD_VISIBILITIES = ["private", "team", "organization"];
108
+ new Set(RECORD_VISIBILITIES);
109
+ var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
110
+ new Set(RECORD_LIST_VIEWS);
101
111
  var VERSION = "1.0.0";
102
112
  var GTM_SKILLS = [
103
113
  // ── research ────────────────────────────────────────────────────────
@@ -661,6 +671,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
661
671
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
662
672
  (family) => family.envNames
663
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();
664
717
  var EMAIL_INBOX_CAP_FIELDS = [
665
718
  "inboxDailySends",
666
719
  "inboxBurstSends",
@@ -803,6 +856,115 @@ var ACTION_CATEGORIES = Object.freeze([
803
856
  Object.freeze(
804
857
  ACTION_CATEGORIES.filter((c) => c !== "read.internal")
805
858
  );
859
+ var DOMAIN_EVENT_CATALOG = [
860
+ // EW-P2-6 — `org:write` (and the app) create Organizations.
861
+ { type: "organization.created", domain: "organization", aggregateType: "organization", phase: "P2" },
862
+ { type: "organization.updated", domain: "organization", aggregateType: "organization", phase: "P1" },
863
+ {
864
+ type: "organization.member.added",
865
+ domain: "organization",
866
+ aggregateType: "organization",
867
+ phase: "P1",
868
+ child: "member"
869
+ },
870
+ {
871
+ type: "organization.member.updated",
872
+ domain: "organization",
873
+ aggregateType: "organization",
874
+ phase: "P1",
875
+ child: "member"
876
+ },
877
+ {
878
+ type: "organization.member.removed",
879
+ domain: "organization",
880
+ aggregateType: "organization",
881
+ phase: "P1",
882
+ child: "member"
883
+ },
884
+ { type: "agent.created", domain: "agents", aggregateType: "agent", phase: "P1" },
885
+ { type: "agent.updated", domain: "agents", aggregateType: "agent", phase: "P1" },
886
+ { type: "agent.status_changed", domain: "agents", aggregateType: "agent", phase: "P1" },
887
+ { type: "agent.archived", domain: "agents", aggregateType: "agent", phase: "P1" },
888
+ { type: "agent.deleted", domain: "agents", aggregateType: "agent", phase: "P1" },
889
+ { type: "team.created", domain: "teams", aggregateType: "team", phase: "P1" },
890
+ { type: "team.updated", domain: "teams", aggregateType: "team", phase: "P1" },
891
+ { type: "team.deleted", domain: "teams", aggregateType: "team", phase: "P1" },
892
+ { type: "team.member.added", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
893
+ { type: "team.member.updated", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
894
+ { type: "team.member.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
895
+ { type: "team.resource.added", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
896
+ { type: "team.resource.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
897
+ { type: "work.created", domain: "works", aggregateType: "work", phase: "P1" },
898
+ { type: "work.updated", domain: "works", aggregateType: "work", phase: "P1" },
899
+ { type: "work.archived", domain: "works", aggregateType: "work", phase: "P1" },
900
+ { type: "work.deleted", domain: "works", aggregateType: "work", phase: "P1" },
901
+ { type: "work.member.added", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
902
+ { type: "work.member.updated", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
903
+ { type: "work.member.removed", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
904
+ { type: "mission.created", domain: "missions", aggregateType: "mission", phase: "P2" },
905
+ { type: "mission.updated", domain: "missions", aggregateType: "mission", phase: "P2" },
906
+ { type: "mission.status_changed", domain: "missions", aggregateType: "mission", phase: "P2" },
907
+ { type: "mission.deleted", domain: "missions", aggregateType: "mission", phase: "P2" },
908
+ { type: "mission.goal.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
909
+ { type: "mission.goal.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
910
+ { type: "mission.work.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
911
+ { type: "mission.work.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
912
+ { type: "goal.created", domain: "goals", aggregateType: "goal", phase: "P2" },
913
+ { type: "goal.updated", domain: "goals", aggregateType: "goal", phase: "P2" },
914
+ { type: "goal.status_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
915
+ { type: "goal.archived", domain: "goals", aggregateType: "goal", phase: "P2" },
916
+ { type: "goal.unarchived", domain: "goals", aggregateType: "goal", phase: "P2" },
917
+ { type: "goal.deleted", domain: "goals", aggregateType: "goal", phase: "P2" },
918
+ { type: "goal.progress_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
919
+ { type: "idea.created", domain: "ideas", aggregateType: "idea", phase: "P2" },
920
+ { type: "idea.updated", domain: "ideas", aggregateType: "idea", phase: "P2" },
921
+ { type: "idea.status_changed", domain: "ideas", aggregateType: "idea", phase: "P2" },
922
+ { type: "idea.deleted", domain: "ideas", aggregateType: "idea", phase: "P2" },
923
+ { type: "task.created", domain: "tasks", aggregateType: "task", phase: "P1" },
924
+ { type: "task.updated", domain: "tasks", aggregateType: "task", phase: "P1" },
925
+ { type: "task.transitioned", domain: "tasks", aggregateType: "task", phase: "P1" },
926
+ { type: "task.deleted", domain: "tasks", aggregateType: "task", phase: "P1" },
927
+ { type: "task.assignee.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
928
+ { type: "task.assignee.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
929
+ { type: "task.watcher.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
930
+ { type: "task.watcher.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
931
+ { type: "task.block.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
932
+ { type: "task.block.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
933
+ { type: "task.relation.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
934
+ { type: "task.relation.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
935
+ { type: "task.comment.created", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
936
+ { type: "task.comment.updated", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
937
+ { type: "task.comment.deleted", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
938
+ { type: "task.attachment.added", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
939
+ { type: "task.attachment.removed", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
940
+ { type: "task.runtime_updated", domain: "tasks", aggregateType: "task", phase: "P1", optIn: true },
941
+ { type: "inbox.item.created", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
942
+ { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
943
+ { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
944
+ { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
945
+ { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
946
+ { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
947
+ { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
948
+ { type: "kb.document.archived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
949
+ { type: "kb.document.unarchived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
950
+ { type: "kb.document.deleted", domain: "kb", aggregateType: "kb_document", phase: "P3" },
951
+ { type: "kb.document.review_changed", domain: "kb", aggregateType: "kb_document", phase: "P3" },
952
+ { type: "kb.folder.created", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
953
+ { type: "kb.folder.updated", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
954
+ { type: "kb.folder.deleted", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
955
+ { type: "email.message.received", domain: "email", aggregateType: "email_message", phase: "P4" },
956
+ { type: "email.message.sent", domain: "email", aggregateType: "email_message", phase: "P4" },
957
+ { type: "email.message.status_changed", domain: "email", aggregateType: "email_message", phase: "P4" },
958
+ { type: "task.visibility_changed", domain: "visibility", aggregateType: "task", phase: "P1" },
959
+ { type: "agent.visibility_changed", domain: "visibility", aggregateType: "agent", phase: "P1" },
960
+ { type: "goal.visibility_changed", domain: "visibility", aggregateType: "goal", phase: "P2" },
961
+ { type: "mission.visibility_changed", domain: "visibility", aggregateType: "mission", phase: "P2" },
962
+ { type: "idea.visibility_changed", domain: "visibility", aggregateType: "idea", phase: "P2" }
963
+ ];
964
+ DOMAIN_EVENT_CATALOG.map((entry) => entry.type);
965
+ new Map(
966
+ DOMAIN_EVENT_CATALOG.map((entry) => [entry.type, entry])
967
+ );
806
968
 
807
969
  // src/gtm-catalog.ts
808
970
  function ioTable(heading, rows) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/everworks-skills-plugin",
3
- "version": "1.0.3",
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,14 +33,14 @@
33
33
  "test:coverage": "vitest run --coverage"
34
34
  },
35
35
  "dependencies": {
36
- "@ever-works/contracts": "^1.0.5",
37
- "@ever-works/plugin": "^1.2.4",
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": {
41
41
  "tsup": "^8.3.0",
42
42
  "typescript": "^5.9.3",
43
- "vitest": "^4.1.0"
43
+ "vitest": "^5.0.5"
44
44
  },
45
45
  "everworks": {
46
46
  "plugin": {
@@ -68,8 +68,8 @@
68
68
  "url": "https://github.com/ever-works/ever-works/issues"
69
69
  },
70
70
  "everworksRelease": {
71
- "contentHash": "sha256:1026b3b8b5ba76594fb011944c3d81648bd49ccbdd75c85ace3d0808824f9ff9",
72
- "commit": "61b8320b4ad7d30bf5161acf7ee13b250a6172b9",
73
- "source": "https://github.com/ever-works/ever-works/tree/61b8320b4ad7d30bf5161acf7ee13b250a6172b9/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
  }