@intangle/mcp-server 2.6.18 → 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: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.6.18",
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": "b0f174c2303048a64be3fb5fcfa162856d98b5f34a05ddbcf7813263f6820fbe"
58
+ "intangleSourceHash": "125c1c3327e41998085eb9151a0bfe2a66e8b80d27c78d6849e8348b0ee4c22e"
59
59
  }