@ever-works/pty-local-plugin 1.0.3 → 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 CHANGED
@@ -103,10 +103,14 @@ var USER_SELECTABLE_WORK_KINDS = [
103
103
  "repo",
104
104
  "app"
105
105
  ];
106
- var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
106
+ var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "project", "default"];
107
107
  new Set(WORK_KINDS);
108
108
  var GOAL_KINDS = ["metric", "delivery"];
109
109
  new Set(GOAL_KINDS);
110
+ var RECORD_VISIBILITIES = ["private", "team", "organization"];
111
+ new Set(RECORD_VISIBILITIES);
112
+ var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
113
+ new Set(RECORD_LIST_VIEWS);
110
114
  var VERSION = "1.0.0";
111
115
  var GTM_SKILLS = [
112
116
  // ── research ────────────────────────────────────────────────────────
@@ -670,6 +674,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
670
674
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
671
675
  (family) => family.envNames
672
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();
673
720
  var EMAIL_INBOX_CAP_FIELDS = [
674
721
  "inboxDailySends",
675
722
  "inboxBurstSends",
@@ -812,6 +859,115 @@ var ACTION_CATEGORIES = Object.freeze([
812
859
  Object.freeze(
813
860
  ACTION_CATEGORIES.filter((c) => c !== "read.internal")
814
861
  );
862
+ var DOMAIN_EVENT_CATALOG = [
863
+ // EW-P2-6 — `org:write` (and the app) create Organizations.
864
+ { type: "organization.created", domain: "organization", aggregateType: "organization", phase: "P2" },
865
+ { type: "organization.updated", domain: "organization", aggregateType: "organization", phase: "P1" },
866
+ {
867
+ type: "organization.member.added",
868
+ domain: "organization",
869
+ aggregateType: "organization",
870
+ phase: "P1",
871
+ child: "member"
872
+ },
873
+ {
874
+ type: "organization.member.updated",
875
+ domain: "organization",
876
+ aggregateType: "organization",
877
+ phase: "P1",
878
+ child: "member"
879
+ },
880
+ {
881
+ type: "organization.member.removed",
882
+ domain: "organization",
883
+ aggregateType: "organization",
884
+ phase: "P1",
885
+ child: "member"
886
+ },
887
+ { type: "agent.created", domain: "agents", aggregateType: "agent", phase: "P1" },
888
+ { type: "agent.updated", domain: "agents", aggregateType: "agent", phase: "P1" },
889
+ { type: "agent.status_changed", domain: "agents", aggregateType: "agent", phase: "P1" },
890
+ { type: "agent.archived", domain: "agents", aggregateType: "agent", phase: "P1" },
891
+ { type: "agent.deleted", domain: "agents", aggregateType: "agent", phase: "P1" },
892
+ { type: "team.created", domain: "teams", aggregateType: "team", phase: "P1" },
893
+ { type: "team.updated", domain: "teams", aggregateType: "team", phase: "P1" },
894
+ { type: "team.deleted", domain: "teams", aggregateType: "team", phase: "P1" },
895
+ { type: "team.member.added", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
896
+ { type: "team.member.updated", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
897
+ { type: "team.member.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
898
+ { type: "team.resource.added", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
899
+ { type: "team.resource.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
900
+ { type: "work.created", domain: "works", aggregateType: "work", phase: "P1" },
901
+ { type: "work.updated", domain: "works", aggregateType: "work", phase: "P1" },
902
+ { type: "work.archived", domain: "works", aggregateType: "work", phase: "P1" },
903
+ { type: "work.deleted", domain: "works", aggregateType: "work", phase: "P1" },
904
+ { type: "work.member.added", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
905
+ { type: "work.member.updated", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
906
+ { type: "work.member.removed", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
907
+ { type: "mission.created", domain: "missions", aggregateType: "mission", phase: "P2" },
908
+ { type: "mission.updated", domain: "missions", aggregateType: "mission", phase: "P2" },
909
+ { type: "mission.status_changed", domain: "missions", aggregateType: "mission", phase: "P2" },
910
+ { type: "mission.deleted", domain: "missions", aggregateType: "mission", phase: "P2" },
911
+ { type: "mission.goal.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
912
+ { type: "mission.goal.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
913
+ { type: "mission.work.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
914
+ { type: "mission.work.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
915
+ { type: "goal.created", domain: "goals", aggregateType: "goal", phase: "P2" },
916
+ { type: "goal.updated", domain: "goals", aggregateType: "goal", phase: "P2" },
917
+ { type: "goal.status_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
918
+ { type: "goal.archived", domain: "goals", aggregateType: "goal", phase: "P2" },
919
+ { type: "goal.unarchived", domain: "goals", aggregateType: "goal", phase: "P2" },
920
+ { type: "goal.deleted", domain: "goals", aggregateType: "goal", phase: "P2" },
921
+ { type: "goal.progress_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
922
+ { type: "idea.created", domain: "ideas", aggregateType: "idea", phase: "P2" },
923
+ { type: "idea.updated", domain: "ideas", aggregateType: "idea", phase: "P2" },
924
+ { type: "idea.status_changed", domain: "ideas", aggregateType: "idea", phase: "P2" },
925
+ { type: "idea.deleted", domain: "ideas", aggregateType: "idea", phase: "P2" },
926
+ { type: "task.created", domain: "tasks", aggregateType: "task", phase: "P1" },
927
+ { type: "task.updated", domain: "tasks", aggregateType: "task", phase: "P1" },
928
+ { type: "task.transitioned", domain: "tasks", aggregateType: "task", phase: "P1" },
929
+ { type: "task.deleted", domain: "tasks", aggregateType: "task", phase: "P1" },
930
+ { type: "task.assignee.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
931
+ { type: "task.assignee.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
932
+ { type: "task.watcher.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
933
+ { type: "task.watcher.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
934
+ { type: "task.block.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
935
+ { type: "task.block.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
936
+ { type: "task.relation.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
937
+ { type: "task.relation.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
938
+ { type: "task.comment.created", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
939
+ { type: "task.comment.updated", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
940
+ { type: "task.comment.deleted", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
941
+ { type: "task.attachment.added", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
942
+ { type: "task.attachment.removed", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
943
+ { type: "task.runtime_updated", domain: "tasks", aggregateType: "task", phase: "P1", optIn: true },
944
+ { type: "inbox.item.created", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
945
+ { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
946
+ { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
947
+ { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
948
+ { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
949
+ { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
950
+ { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
951
+ { type: "kb.document.archived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
952
+ { type: "kb.document.unarchived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
953
+ { type: "kb.document.deleted", domain: "kb", aggregateType: "kb_document", phase: "P3" },
954
+ { type: "kb.document.review_changed", domain: "kb", aggregateType: "kb_document", phase: "P3" },
955
+ { type: "kb.folder.created", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
956
+ { type: "kb.folder.updated", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
957
+ { type: "kb.folder.deleted", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
958
+ { type: "email.message.received", domain: "email", aggregateType: "email_message", phase: "P4" },
959
+ { type: "email.message.sent", domain: "email", aggregateType: "email_message", phase: "P4" },
960
+ { type: "email.message.status_changed", domain: "email", aggregateType: "email_message", phase: "P4" },
961
+ { type: "task.visibility_changed", domain: "visibility", aggregateType: "task", phase: "P1" },
962
+ { type: "agent.visibility_changed", domain: "visibility", aggregateType: "agent", phase: "P1" },
963
+ { type: "goal.visibility_changed", domain: "visibility", aggregateType: "goal", phase: "P2" },
964
+ { type: "mission.visibility_changed", domain: "visibility", aggregateType: "mission", phase: "P2" },
965
+ { type: "idea.visibility_changed", domain: "visibility", aggregateType: "idea", phase: "P2" }
966
+ ];
967
+ DOMAIN_EVENT_CATALOG.map((entry) => entry.type);
968
+ new Map(
969
+ DOMAIN_EVENT_CATALOG.map((entry) => [entry.type, entry])
970
+ );
815
971
  var TerminalNotProvisionedError = class extends Error {
816
972
  constructor(message) {
817
973
  super(message ?? "Terminal session host is not provisioned in this runtime.");
package/dist/index.js CHANGED
@@ -99,10 +99,14 @@ var USER_SELECTABLE_WORK_KINDS = [
99
99
  "repo",
100
100
  "app"
101
101
  ];
102
- var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "default"];
102
+ var WORK_KINDS = [...USER_SELECTABLE_WORK_KINDS, "company", "campaign", "project", "default"];
103
103
  new Set(WORK_KINDS);
104
104
  var GOAL_KINDS = ["metric", "delivery"];
105
105
  new Set(GOAL_KINDS);
106
+ var RECORD_VISIBILITIES = ["private", "team", "organization"];
107
+ new Set(RECORD_VISIBILITIES);
108
+ var RECORD_LIST_VIEWS = ["mine", "shared", "organization"];
109
+ new Set(RECORD_LIST_VIEWS);
106
110
  var VERSION = "1.0.0";
107
111
  var GTM_SKILLS = [
108
112
  // ── research ────────────────────────────────────────────────────────
@@ -666,6 +670,49 @@ var FLEET_AGENT_CREDENTIAL_FAMILIES = [
666
670
  FLEET_AGENT_CREDENTIAL_FAMILIES.flatMap(
667
671
  (family) => family.envNames
668
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();
669
716
  var EMAIL_INBOX_CAP_FIELDS = [
670
717
  "inboxDailySends",
671
718
  "inboxBurstSends",
@@ -808,6 +855,115 @@ var ACTION_CATEGORIES = Object.freeze([
808
855
  Object.freeze(
809
856
  ACTION_CATEGORIES.filter((c) => c !== "read.internal")
810
857
  );
858
+ var DOMAIN_EVENT_CATALOG = [
859
+ // EW-P2-6 — `org:write` (and the app) create Organizations.
860
+ { type: "organization.created", domain: "organization", aggregateType: "organization", phase: "P2" },
861
+ { type: "organization.updated", domain: "organization", aggregateType: "organization", phase: "P1" },
862
+ {
863
+ type: "organization.member.added",
864
+ domain: "organization",
865
+ aggregateType: "organization",
866
+ phase: "P1",
867
+ child: "member"
868
+ },
869
+ {
870
+ type: "organization.member.updated",
871
+ domain: "organization",
872
+ aggregateType: "organization",
873
+ phase: "P1",
874
+ child: "member"
875
+ },
876
+ {
877
+ type: "organization.member.removed",
878
+ domain: "organization",
879
+ aggregateType: "organization",
880
+ phase: "P1",
881
+ child: "member"
882
+ },
883
+ { type: "agent.created", domain: "agents", aggregateType: "agent", phase: "P1" },
884
+ { type: "agent.updated", domain: "agents", aggregateType: "agent", phase: "P1" },
885
+ { type: "agent.status_changed", domain: "agents", aggregateType: "agent", phase: "P1" },
886
+ { type: "agent.archived", domain: "agents", aggregateType: "agent", phase: "P1" },
887
+ { type: "agent.deleted", domain: "agents", aggregateType: "agent", phase: "P1" },
888
+ { type: "team.created", domain: "teams", aggregateType: "team", phase: "P1" },
889
+ { type: "team.updated", domain: "teams", aggregateType: "team", phase: "P1" },
890
+ { type: "team.deleted", domain: "teams", aggregateType: "team", phase: "P1" },
891
+ { type: "team.member.added", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
892
+ { type: "team.member.updated", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
893
+ { type: "team.member.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "member" },
894
+ { type: "team.resource.added", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
895
+ { type: "team.resource.removed", domain: "teams", aggregateType: "team", phase: "P1", child: "resource" },
896
+ { type: "work.created", domain: "works", aggregateType: "work", phase: "P1" },
897
+ { type: "work.updated", domain: "works", aggregateType: "work", phase: "P1" },
898
+ { type: "work.archived", domain: "works", aggregateType: "work", phase: "P1" },
899
+ { type: "work.deleted", domain: "works", aggregateType: "work", phase: "P1" },
900
+ { type: "work.member.added", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
901
+ { type: "work.member.updated", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
902
+ { type: "work.member.removed", domain: "works", aggregateType: "work", phase: "P1", child: "member" },
903
+ { type: "mission.created", domain: "missions", aggregateType: "mission", phase: "P2" },
904
+ { type: "mission.updated", domain: "missions", aggregateType: "mission", phase: "P2" },
905
+ { type: "mission.status_changed", domain: "missions", aggregateType: "mission", phase: "P2" },
906
+ { type: "mission.deleted", domain: "missions", aggregateType: "mission", phase: "P2" },
907
+ { type: "mission.goal.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
908
+ { type: "mission.goal.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "goal" },
909
+ { type: "mission.work.linked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
910
+ { type: "mission.work.unlinked", domain: "missions", aggregateType: "mission", phase: "P2", child: "work" },
911
+ { type: "goal.created", domain: "goals", aggregateType: "goal", phase: "P2" },
912
+ { type: "goal.updated", domain: "goals", aggregateType: "goal", phase: "P2" },
913
+ { type: "goal.status_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
914
+ { type: "goal.archived", domain: "goals", aggregateType: "goal", phase: "P2" },
915
+ { type: "goal.unarchived", domain: "goals", aggregateType: "goal", phase: "P2" },
916
+ { type: "goal.deleted", domain: "goals", aggregateType: "goal", phase: "P2" },
917
+ { type: "goal.progress_changed", domain: "goals", aggregateType: "goal", phase: "P2" },
918
+ { type: "idea.created", domain: "ideas", aggregateType: "idea", phase: "P2" },
919
+ { type: "idea.updated", domain: "ideas", aggregateType: "idea", phase: "P2" },
920
+ { type: "idea.status_changed", domain: "ideas", aggregateType: "idea", phase: "P2" },
921
+ { type: "idea.deleted", domain: "ideas", aggregateType: "idea", phase: "P2" },
922
+ { type: "task.created", domain: "tasks", aggregateType: "task", phase: "P1" },
923
+ { type: "task.updated", domain: "tasks", aggregateType: "task", phase: "P1" },
924
+ { type: "task.transitioned", domain: "tasks", aggregateType: "task", phase: "P1" },
925
+ { type: "task.deleted", domain: "tasks", aggregateType: "task", phase: "P1" },
926
+ { type: "task.assignee.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
927
+ { type: "task.assignee.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "assignee" },
928
+ { type: "task.watcher.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
929
+ { type: "task.watcher.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "watcher" },
930
+ { type: "task.block.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
931
+ { type: "task.block.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "block" },
932
+ { type: "task.relation.added", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
933
+ { type: "task.relation.removed", domain: "tasks", aggregateType: "task", phase: "P1", child: "relation" },
934
+ { type: "task.comment.created", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
935
+ { type: "task.comment.updated", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
936
+ { type: "task.comment.deleted", domain: "tasks", aggregateType: "task", phase: "P1", child: "comment" },
937
+ { type: "task.attachment.added", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
938
+ { type: "task.attachment.removed", domain: "tasks", aggregateType: "task", phase: "P3", child: "attachment" },
939
+ { type: "task.runtime_updated", domain: "tasks", aggregateType: "task", phase: "P1", optIn: true },
940
+ { type: "inbox.item.created", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
941
+ { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
942
+ { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
943
+ { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
944
+ { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
945
+ { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
946
+ { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
947
+ { type: "kb.document.archived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
948
+ { type: "kb.document.unarchived", domain: "kb", aggregateType: "kb_document", phase: "P3" },
949
+ { type: "kb.document.deleted", domain: "kb", aggregateType: "kb_document", phase: "P3" },
950
+ { type: "kb.document.review_changed", domain: "kb", aggregateType: "kb_document", phase: "P3" },
951
+ { type: "kb.folder.created", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
952
+ { type: "kb.folder.updated", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
953
+ { type: "kb.folder.deleted", domain: "kb", aggregateType: "kb_folder", phase: "P3" },
954
+ { type: "email.message.received", domain: "email", aggregateType: "email_message", phase: "P4" },
955
+ { type: "email.message.sent", domain: "email", aggregateType: "email_message", phase: "P4" },
956
+ { type: "email.message.status_changed", domain: "email", aggregateType: "email_message", phase: "P4" },
957
+ { type: "task.visibility_changed", domain: "visibility", aggregateType: "task", phase: "P1" },
958
+ { type: "agent.visibility_changed", domain: "visibility", aggregateType: "agent", phase: "P1" },
959
+ { type: "goal.visibility_changed", domain: "visibility", aggregateType: "goal", phase: "P2" },
960
+ { type: "mission.visibility_changed", domain: "visibility", aggregateType: "mission", phase: "P2" },
961
+ { type: "idea.visibility_changed", domain: "visibility", aggregateType: "idea", phase: "P2" }
962
+ ];
963
+ DOMAIN_EVENT_CATALOG.map((entry) => entry.type);
964
+ new Map(
965
+ DOMAIN_EVENT_CATALOG.map((entry) => [entry.type, entry])
966
+ );
811
967
  var TerminalNotProvisionedError = class extends Error {
812
968
  constructor(message) {
813
969
  super(message ?? "Terminal session host is not provisioned in this runtime.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/pty-local-plugin",
3
- "version": "1.0.3",
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,18 +32,18 @@
32
32
  "test:coverage": "vitest run --coverage"
33
33
  },
34
34
  "peerDependencies": {
35
- "@ever-works/plugin": "^1.2.4"
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.4",
42
- "@ever-works/plugin": "^1.2.4",
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",
46
- "vitest": "^4.1.0"
46
+ "vitest": "^5.0.5"
47
47
  },
48
48
  "everworks": {
49
49
  "plugin": {
@@ -70,8 +70,8 @@
70
70
  "url": "https://github.com/ever-works/ever-works/issues"
71
71
  },
72
72
  "everworksRelease": {
73
- "contentHash": "sha256:27899d8a86f0a79e2bc53180a48bdf80a619df264d75cab79e5f7f7e1c35bf77",
74
- "commit": "5afea18479322951b23246dd492a05dc332e90ca",
75
- "source": "https://github.com/ever-works/ever-works/tree/5afea18479322951b23246dd492a05dc332e90ca/packages/plugins/pty-local"
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
  }