@agentmesh-md/mcp-server 0.2.2 → 0.3.3

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.
Files changed (45) hide show
  1. package/README.md +127 -0
  2. package/dist/client.js +16 -5
  3. package/dist/codex-hooks.js +142 -0
  4. package/dist/connect.js +77 -205
  5. package/dist/context.js +7 -0
  6. package/dist/contract.js +5 -1
  7. package/dist/errors.js +0 -55
  8. package/dist/index.js +33 -7
  9. package/dist/legacy.js +2 -66
  10. package/dist/oauth-client.js +128 -26
  11. package/dist/plugin-install.js +97 -0
  12. package/dist/plugin-monitor.js +292 -0
  13. package/dist/plugin-permissions.js +212 -0
  14. package/dist/plugin-proxy.js +75 -0
  15. package/dist/plugin-session.js +381 -0
  16. package/dist/plugin-storage.js +94 -0
  17. package/dist/plugin-target.js +16 -0
  18. package/dist/schemas.js +8 -2
  19. package/dist/server.js +31 -5
  20. package/dist/session.js +118 -14
  21. package/dist/terminal-diagnostic.js +1 -1
  22. package/dist/terminal-runtime.js +149 -151
  23. package/dist/tool-annotations.js +57 -0
  24. package/dist/tools.js +36 -55
  25. package/dist/wake-storage.js +33 -49
  26. package/package.json +5 -4
  27. package/plugin-marketplace/.claude-plugin/marketplace.json +11 -0
  28. package/plugin-marketplace/plugins/agentmesh/.claude-plugin/plugin.json +23 -0
  29. package/plugin-marketplace/plugins/agentmesh/README.md +31 -0
  30. package/plugin-marketplace/plugins/agentmesh/hooks/codex.json +44 -0
  31. package/plugin-marketplace/plugins/agentmesh/hooks/hooks.json +44 -0
  32. package/plugin-marketplace/plugins/agentmesh/mcp.json +15 -0
  33. package/plugin-marketplace/plugins/agentmesh/monitors/monitors.json +7 -0
  34. package/plugin-marketplace/plugins/agentmesh/plugin.json +6 -0
  35. package/plugin-marketplace/plugins/agentmesh/release.json +1 -0
  36. package/plugin-marketplace/plugins/agentmesh/server/lib/agent-operating-contract.txt +120 -0
  37. package/plugin-marketplace/plugins/agentmesh/server/lib/agentmesh-mcp.js +39413 -0
  38. package/plugin-marketplace/plugins/agentmesh/server/package.json +4 -0
  39. package/plugin-marketplace/plugins/agentmesh/server/schemas/defs.json +121 -0
  40. package/plugin-marketplace/plugins/agentmesh/server/schemas/tools.json +1934 -0
  41. package/schemas/tools.json +591 -1
  42. package/dist/connect-bridge.js +0 -62
  43. package/dist/mentions.cjs +0 -22
  44. package/dist/wake-monitor.js +0 -117
  45. package/dist/wake.js +0 -521
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "private": true
4
+ }
@@ -0,0 +1,121 @@
1
+ {
2
+ "card": {
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {"type": "string", "format": "uuid"},
6
+ "column_id": {"type": "string", "format": "uuid"},
7
+ "title": {"type": "string"},
8
+ "body_md": {"anyOf": [{"type": "string"}, {"type": "null"}]},
9
+ "status": {"type": "string", "enum": ["open", "claimed", "done"]},
10
+ "claimed_by": {"anyOf": [{"type": "string"}, {"type": "null"}]},
11
+ "claimed_by_kind": {
12
+ "anyOf": [
13
+ {"type": "string", "enum": ["human", "agent"]},
14
+ {"type": "null"}
15
+ ]
16
+ },
17
+ "position": {"type": "integer"},
18
+ "updated_by": {"type": "string"},
19
+ "updated_at": {"type": "string", "format": "date-time"}
20
+ },
21
+ "required": [
22
+ "id", "column_id", "title", "body_md", "status", "claimed_by",
23
+ "claimed_by_kind", "position", "updated_by", "updated_at"
24
+ ],
25
+ "additionalProperties": false
26
+ },
27
+ "message": {
28
+ "type": "object",
29
+ "properties": {
30
+ "id": {"type": "string", "format": "uuid"},
31
+ "channel": {"type": "string"},
32
+ "author_kind": {"type": "string", "enum": ["human", "agent"]},
33
+ "author_id": {"type": "string"},
34
+ "body_md": {"type": "string"},
35
+ "created_at": {"type": "string", "format": "date-time"}
36
+ },
37
+ "required": ["id", "channel", "author_kind", "author_id", "body_md", "created_at"],
38
+ "additionalProperties": false
39
+ },
40
+ "conversation": {
41
+ "type": "object",
42
+ "properties": {
43
+ "id": {"type": "string", "format": "uuid"},
44
+ "participants": {"type": "array", "items": {"type": "object", "properties": {"kind": {"type": "string", "enum": ["human", "agent"]}, "id": {"type": "string", "minLength": 1}}, "required": ["kind", "id"], "additionalProperties": false}},
45
+ "created_at": {"type": "string", "format": "date-time"}
46
+ },
47
+ "required": ["id", "participants", "created_at"],
48
+ "additionalProperties": false
49
+ },
50
+ "conversation_message": {
51
+ "type": "object",
52
+ "properties": {
53
+ "id": {"type": "string", "format": "uuid"},
54
+ "conversation_id": {"type": "string", "format": "uuid"},
55
+ "author_kind": {"type": "string", "enum": ["human", "agent"]},
56
+ "author_id": {"type": "string", "minLength": 1},
57
+ "body_md": {"type": "string"},
58
+ "created_at": {"type": "string", "format": "date-time"}
59
+ },
60
+ "required": ["id", "conversation_id", "author_kind", "author_id", "body_md", "created_at"],
61
+ "additionalProperties": false
62
+ },
63
+ "channel": {
64
+ "type": "object",
65
+ "properties": {
66
+ "id": {"type": "string", "format": "uuid"},
67
+ "name": {"type": "string"},
68
+ "created_at": {"type": "string", "format": "date-time"},
69
+ "archived_at": {
70
+ "anyOf": [
71
+ {"type": "string", "format": "date-time"},
72
+ {"type": "null"}
73
+ ]
74
+ }
75
+ },
76
+ "required": ["id", "name", "created_at", "archived_at"],
77
+ "additionalProperties": false
78
+ },
79
+ "ask": {
80
+ "type": "object",
81
+ "properties": {
82
+ "id": {"type": "string", "format": "uuid"},
83
+ "text": {"type": "string"},
84
+ "state": {"type": "string", "enum": ["open", "claimed", "resolved", "expired"]},
85
+ "ttl_minutes": {
86
+ "anyOf": [
87
+ {"type": "integer", "minimum": 1, "maximum": 10080},
88
+ {"type": "null"}
89
+ ]
90
+ },
91
+ "created_by_kind": {"type": "string", "enum": ["human", "agent"]},
92
+ "created_by_id": {"type": "string"},
93
+ "claimed_by_kind": {
94
+ "anyOf": [
95
+ {"type": "string", "enum": ["human", "agent"]},
96
+ {"type": "null"}
97
+ ]
98
+ },
99
+ "claimed_by_id": {"anyOf": [{"type": "string"}, {"type": "null"}]},
100
+ "claimed_at": {
101
+ "anyOf": [
102
+ {"type": "string", "format": "date-time"},
103
+ {"type": "null"}
104
+ ]
105
+ },
106
+ "resolved_note": {"anyOf": [{"type": "string"}, {"type": "null"}]},
107
+ "resolved_at": {
108
+ "anyOf": [
109
+ {"type": "string", "format": "date-time"},
110
+ {"type": "null"}
111
+ ]
112
+ },
113
+ "created_at": {"type": "string", "format": "date-time"}
114
+ },
115
+ "required": [
116
+ "id", "text", "state", "ttl_minutes", "created_by_kind", "created_by_id",
117
+ "claimed_by_kind", "claimed_by_id", "claimed_at", "resolved_note", "resolved_at", "created_at"
118
+ ],
119
+ "additionalProperties": false
120
+ }
121
+ }