@loopable/mcp 0.2.1 → 0.3.0
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/lib/tools.mjs +14 -14
- package/package.json +1 -1
package/lib/tools.mjs
CHANGED
|
@@ -165,11 +165,11 @@ export const TOOLS = [
|
|
|
165
165
|
`/agent/projects/${encodeURIComponent(project_id)}/items${qs ? `?${qs}` : ''}`,
|
|
166
166
|
);
|
|
167
167
|
/*
|
|
168
|
-
* THE
|
|
169
|
-
* order changes, and only here: titles_only is the read an agent
|
|
170
|
-
* to decide what to ask for next, and the first thing on the row
|
|
171
|
-
* be the name it will use to ask. The full read keeps the
|
|
172
|
-
* because there the body is what somebody came for.
|
|
168
|
+
* THE NUMBER LEADS ON THE ORIENTING READ. Same rows, same fields — only
|
|
169
|
+
* the order changes, and only here: titles_only is the read an agent
|
|
170
|
+
* makes to decide what to ask for next, and the first thing on the row
|
|
171
|
+
* should be the name it will use to ask. The full read keeps the
|
|
172
|
+
* server's order, because there the body is what somebody came for.
|
|
173
173
|
*/
|
|
174
174
|
if (!titles_only || !Array.isArray(out?.items)) return out;
|
|
175
175
|
return { ...out, items: out.items.map(({ ref, ...rest }) => ({ ref, ...rest })) };
|
|
@@ -192,7 +192,7 @@ export const TOOLS = [
|
|
|
192
192
|
project_id: { type: 'string', description: 'From whoami.' },
|
|
193
193
|
item_id: {
|
|
194
194
|
type: 'string',
|
|
195
|
-
description: 'The item, by its id or by its ref — the short name, like
|
|
195
|
+
description: 'The item, by its id or by its ref — the short name, a plain number like 41. Refs are on every row list_backlog returns.',
|
|
196
196
|
},
|
|
197
197
|
},
|
|
198
198
|
required: ['project_id', 'item_id'],
|
|
@@ -243,7 +243,7 @@ export const TOOLS = [
|
|
|
243
243
|
type: 'object',
|
|
244
244
|
properties: {
|
|
245
245
|
project_id: { type: 'string', description: 'From whoami.' },
|
|
246
|
-
item_id: { type: 'string', description: 'The item to be briefed on, by id or ref (
|
|
246
|
+
item_id: { type: 'string', description: 'The item to be briefed on, by id or ref (41).' },
|
|
247
247
|
},
|
|
248
248
|
required: ['project_id', 'item_id'],
|
|
249
249
|
additionalProperties: false,
|
|
@@ -580,12 +580,12 @@ export const TOOLS = [
|
|
|
580
580
|
kind: { type: 'string', enum: ['epic', 'story', 'task', 'bug'] },
|
|
581
581
|
parent_id: {
|
|
582
582
|
type: 'string',
|
|
583
|
-
description: 'An existing item of a broader kind than this one, by id or ref (
|
|
583
|
+
description: 'An existing item of a broader kind than this one, by id or ref (12) — epic > story > task, and levels may be skipped. Omit for a root; a bug never has one.',
|
|
584
584
|
},
|
|
585
585
|
feature_ids: {
|
|
586
586
|
type: 'array',
|
|
587
587
|
items: { type: 'string' },
|
|
588
|
-
description: 'The features (surfaces) this work touches — ids from list_backlog (their refs,
|
|
588
|
+
description: 'The features (surfaces) this work touches — ids from list_backlog (their refs, plain numbers like 7, are for people; this list takes ids). One is usual, several is legal, none is fine.',
|
|
589
589
|
},
|
|
590
590
|
},
|
|
591
591
|
required: ['project_id', 'title'],
|
|
@@ -644,7 +644,7 @@ export const TOOLS = [
|
|
|
644
644
|
project_id: { type: 'string' },
|
|
645
645
|
item_id: {
|
|
646
646
|
type: 'string',
|
|
647
|
-
description: 'The item, by its id or by its ref — the short name, like
|
|
647
|
+
description: 'The item, by its id or by its ref — the short name, a plain number like 41. Refs are on every row list_backlog returns.',
|
|
648
648
|
},
|
|
649
649
|
title: { type: 'string' },
|
|
650
650
|
body: { type: 'string' },
|
|
@@ -748,7 +748,7 @@ export const TOOLS = [
|
|
|
748
748
|
project_id: { type: 'string' },
|
|
749
749
|
item_id: {
|
|
750
750
|
type: 'string',
|
|
751
|
-
description: 'The item, by its id or by its ref — the short name, like
|
|
751
|
+
description: 'The item, by its id or by its ref — the short name, a plain number like 41. Refs are on every row list_backlog returns.',
|
|
752
752
|
},
|
|
753
753
|
status: {
|
|
754
754
|
type: 'string',
|
|
@@ -758,7 +758,7 @@ export const TOOLS = [
|
|
|
758
758
|
type: 'string',
|
|
759
759
|
description:
|
|
760
760
|
'One sentence about this move, for the studio. Cite other work by ' +
|
|
761
|
-
'its ref — "waiting on
|
|
761
|
+
'its ref — "waiting on 44" — the way a person would. Replaced by ' +
|
|
762
762
|
'the next status change; clients never see it raw.',
|
|
763
763
|
},
|
|
764
764
|
},
|
|
@@ -794,7 +794,7 @@ export const TOOLS = [
|
|
|
794
794
|
project_id: { type: 'string', description: 'From whoami.' },
|
|
795
795
|
item_id: {
|
|
796
796
|
type: 'string',
|
|
797
|
-
description: 'The story, task or bug this is the spec of, by id or ref (
|
|
797
|
+
description: 'The story, task or bug this is the spec of, by id or ref (41).',
|
|
798
798
|
},
|
|
799
799
|
title: {
|
|
800
800
|
type: 'string',
|
|
@@ -883,7 +883,7 @@ export const TOOLS = [
|
|
|
883
883
|
project_id: { type: 'string', description: 'From whoami.' },
|
|
884
884
|
item_id: {
|
|
885
885
|
type: 'string',
|
|
886
|
-
description: 'The work item you are starting on, by id or ref (
|
|
886
|
+
description: 'The work item you are starting on, by id or ref (41).',
|
|
887
887
|
},
|
|
888
888
|
harness: { type: 'string', description: 'What you are — "claude-code", say.' },
|
|
889
889
|
repo: { type: 'string', description: 'The repository, as a person would name it.' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopable/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The Loopable MCP server: an agent reads the backlog it is meant to build, proposes work, asks the studio a question, and says when it is done.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://loopable.ai",
|