@intangle/mcp-server 2.6.17 → 2.6.19

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.
@@ -159,11 +159,20 @@ const BASE_TOOLS = [
159
159
  {
160
160
  name: "get_items",
161
161
  title: "Get Items",
162
- description: "Read complete Items by exact IDs or browse below one Space/Item using authoritative parent_id hierarchy. Every Item is a Room; Spaces remain typed scopes. Legacy IDs are accepted with alias provenance preserved. Use include=comments for canonical Item-owned comments and body revision. Use include=assignees for typed User/Agent principals.",
162
+ description: "For whole-Space organisation, use mode=structure. It returns complete authorised structural aggregates plus compact paged Item details; aggregates cover the full scope. Omit ids and depth, and omit under to inspect the whole authorised Space. Use coverage.snapshot, a structural SHA-256 checksum over authoritative inventory, to compare pages; it does not make page hydration transactional. Read complete Items by exact IDs or browse below one Space/Item using authoritative parent_id hierarchy. Every Item is a Room; Spaces remain typed scopes. Legacy IDs are accepted with alias provenance preserved. Use include=comments for canonical Item-owned comments and body revision. Use include=assignees for typed User/Agent principals.",
163
163
  inputSchema: {
164
164
  type: "object",
165
165
  additionalProperties: false,
166
166
  properties: {
167
+ mode: {
168
+ type: "string",
169
+ enum: [
170
+ "items",
171
+ "structure"
172
+ ],
173
+ default: "items",
174
+ description: "items (default) returns bounded Item reads. structure returns complete authorised structural aggregates plus compact paged Item details; omit ids and depth. Omit under to inspect the whole authorised Space."
175
+ },
167
176
  space_id: {
168
177
  type: "string",
169
178
  description: "REQUIRED: Exact Space containing the Items."
@@ -188,17 +197,20 @@ const BASE_TOOLS = [
188
197
  depth: {
189
198
  type: "integer",
190
199
  minimum: 0,
191
- maximum: 20
200
+ maximum: 20,
201
+ description: "Maximum hierarchy depth. Defaults to 0 for current Space roots and 1 for explicit selectors. Omit in structure mode, which inspects all depths."
192
202
  },
193
203
  limit: {
194
204
  type: "integer",
195
205
  minimum: 1,
196
- maximum: 200
206
+ maximum: 200,
207
+ default: 50,
208
+ description: "Maximum Items in this page."
197
209
  },
198
210
  offset: {
199
211
  type: "integer",
200
212
  minimum: 0,
201
- maximum: 5000
213
+ description: "Items to skip in stable breadth-first order. items mode supports up to 5000; structure has no offset cap."
202
214
  },
203
215
  include: {
204
216
  type: "array",
@@ -216,7 +228,8 @@ const BASE_TOOLS = [
216
228
  "metadata",
217
229
  "all"
218
230
  ]
219
- }
231
+ },
232
+ description: "Optional payload fields for the returned page. structure defaults to []; items defaults to content, attributes, assignee, artifact, and metadata. Explicit include hydrates only selected page details, never aggregate content coverage."
220
233
  }
221
234
  },
222
235
  required: [
@@ -539,9 +552,6 @@ const BASE_TOOLS = [
539
552
  type: "string",
540
553
  description: "Direct-parent alias for source_parent_id. The current Space ID selects Space-root Items."
541
554
  },
542
- ungrouped: {
543
- type: "boolean"
544
- },
545
555
  type: {
546
556
  type: [
547
557
  "string",
@@ -814,7 +824,7 @@ const BASE_TOOLS = [
814
824
  {
815
825
  name: "message",
816
826
  title: "Message Assistant",
817
- description: "Primary way to use Intangle for memory, communicating and collaborating with Tan agent in a shared thread. Send a request and either wait for one assistant turn to complete or submit asynchronously for later polling. Intangle derives the durable participant identity from the authenticated runner rather than caller-supplied fields. Conversations are backed by `summary_*` IDs; reuse the returned `conversation_id` and reuse the returned `session_id` so callers can continue the same thread reliably across turns. For shared coordination channels, pass a stable `channel_id`; channel and project/group coordinates scope context, while the stable idempotency key anchors retries to one durable turn and the returned conversation_id remains the durable thread anchor.",
827
+ description: "Primary way to use Intangle for memory, communicating and collaborating with Tan agent in a shared thread. Send a request and either wait for one assistant turn to complete or submit asynchronously for later polling. Intangle derives the durable participant identity from the authenticated runner rather than caller-supplied fields. Conversations are backed by `summary_*` IDs; reuse the returned `conversation_id` and reuse the returned `session_id` so callers can continue the same thread reliably across turns. For shared Item coordination, pass the stable Item Room identity as `channel_id` using `item|<item_id>`; this Item room/channel coordinate is preferred. `project_id`, `group_id`, and legacy `project|...` or `group|...` channel values remain accepted only as compatibility coordinates for older stored calls and integrations. The stable idempotency key anchors retries to one durable turn, and the returned `conversation_id` remains the durable thread anchor.",
818
828
  inputSchema: {
819
829
  type: "object",
820
830
  properties: {
@@ -844,15 +854,15 @@ const BASE_TOOLS = [
844
854
  },
845
855
  project_id: {
846
856
  type: "string",
847
- description: "Optional project scope for the assistant turn."
857
+ description: "Optional legacy Project compatibility coordinate for older stored calls. Prefer channel_id with the target Item Room identity."
848
858
  },
849
859
  group_id: {
850
860
  type: "string",
851
- description: "Optional group scope for the assistant turn. Use this with channel_id for group-scoped coordination."
861
+ description: "Optional legacy Group compatibility coordinate for older stored calls. Prefer channel_id with the target Item Room identity."
852
862
  },
853
863
  channel_id: {
854
864
  type: "string",
855
- description: "Optional route/channel scope for the assistant turn. Defaults to root when omitted. Examples: root, group|legal, project|work/launch."
865
+ description: "Optional Item room/channel coordinate for the assistant turn. Prefer `item|<item_id>` for a nested Item Room; defaults to `root` for Space-level context. Legacy `project|...` and `group|...` values remain accepted for compatibility."
856
866
  },
857
867
  organization_id: {
858
868
  type: "string",
@@ -868,7 +878,7 @@ const BASE_TOOLS = [
868
878
  },
869
879
  client_turn_id: {
870
880
  type: "string",
871
- description: "Optional caller correlation value. Phoenix derives the durable turn identity from idempotency_key and scopes it by the verified user, graph, space, channel, project/group, and stable retry key."
881
+ description: "Optional caller correlation value. Phoenix derives the durable turn identity from idempotency_key and scopes it by the verified user, graph, Space, preferred Item room/channel, any legacy Project/Group compatibility coordinates, and the stable retry key."
872
882
  },
873
883
  idempotency_key: {
874
884
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.6.17",
3
+ "version": "2.6.19",
4
4
  "description": "Model Context Protocol server for Intangle - AI context that persists across conversations",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -55,5 +55,5 @@
55
55
  "tsx": "^4.0.0",
56
56
  "typescript": "^5.0.0"
57
57
  },
58
- "intangleSourceHash": "d1f5d50cf190e68920b3717fe3450192a3832435172f87b5fb2200ea1086ff9a"
58
+ "intangleSourceHash": "125c1c3327e41998085eb9151a0bfe2a66e8b80d27c78d6849e8348b0ee4c22e"
59
59
  }