exponential-mcp 0.16.0 → 0.17.1
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/domains/decisions.js +14 -5
- package/dist/domains/tickets.js +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ const DECISION_SOURCES = ['MEETING', 'MANUAL', 'AGENT'];
|
|
|
5
5
|
const decisionId = id('Decision');
|
|
6
6
|
const meetingId = id('Meeting (transcription session)');
|
|
7
7
|
const clearable = (what) => z.string().nullable().optional().describe(`${what} (null to clear)`);
|
|
8
|
+
const TITLE_DESCRIPTION = 'The outcome in six words or fewer, e.g. "Text place beats Dataminr location" — state the outcome, not the topic. The row text in every decision list, with the statement under it. Optional; six words is advice, not enforced';
|
|
8
9
|
/** Scope links shared by create and update; all nullable to clear. */
|
|
9
10
|
const scopeFields = {
|
|
10
11
|
productId: clearable('Product ID'),
|
|
@@ -14,7 +15,7 @@ const scopeFields = {
|
|
|
14
15
|
};
|
|
15
16
|
export const decisions = {
|
|
16
17
|
name: 'decisions',
|
|
17
|
-
description: 'The Decision Log: decisions and open questions (an open question is a decision with status OPEN — there is no separate model), optionally sourced from a meeting with transcript evidence. Meetings are in `meetings`; decisions can be linked to `tickets` and `
|
|
18
|
+
description: 'The Decision Log: decisions and open questions (an open question is a decision with status OPEN — there is no separate model), optionally sourced from a meeting with transcript evidence. Meetings are in `meetings`; decisions can be linked to `tickets`, `features` and a feature’s scopes (`scopes`) as "implemented by". A decision has a short `title` (the outcome in six words or fewer) beside its full `statement`. Decisions are filed under Pillars and labels: set them through `labels` set_for_entity with entityType "decision" (create takes no tags, get returns none — read them with `labels` list_for_entity); list rows carry `tags` and list filters by tagIds.',
|
|
18
19
|
operations: {
|
|
19
20
|
list: op({
|
|
20
21
|
effect: 'read',
|
|
@@ -29,7 +30,7 @@ export const decisions = {
|
|
|
29
30
|
.optional()
|
|
30
31
|
.describe('With a real productId: also include decisions that have no product'),
|
|
31
32
|
projectId: id('Project').optional(),
|
|
32
|
-
search: z.string().max(200).optional().describe('Free text over statement and body'),
|
|
33
|
+
search: z.string().max(200).optional().describe('Free text over title, statement and body'),
|
|
33
34
|
number: z.number().int().min(1).optional().describe('One decision by its workspace sequence number — D-0003 is 3'),
|
|
34
35
|
tagIds: z
|
|
35
36
|
.array(id('Tag'))
|
|
@@ -66,9 +67,10 @@ export const decisions = {
|
|
|
66
67
|
}),
|
|
67
68
|
create: op({
|
|
68
69
|
effect: 'write',
|
|
69
|
-
summary: 'Log a decision (status defaults to PROPOSED). Pass status "OPEN" for an open question and transcriptionSessionId to attach it to a meeting. Takes no Pillars or labels: file it afterwards with `labels` set_for_entity (entityType "decision", entityId = the returned id).',
|
|
70
|
+
summary: 'Log a decision (status defaults to PROPOSED). Give it a title: the outcome in six words or fewer. Pass status "OPEN" for an open question and transcriptionSessionId to attach it to a meeting. Takes no Pillars or labels: file it afterwards with `labels` set_for_entity (entityType "decision", entityId = the returned id).',
|
|
70
71
|
params: z.object({
|
|
71
72
|
workspaceId,
|
|
73
|
+
title: z.string().max(120).nullable().optional().describe(TITLE_DESCRIPTION),
|
|
72
74
|
statement: z.string().max(500).describe('The decision itself, or the open question'),
|
|
73
75
|
body: z.string().max(20000).nullable().optional().describe('Markdown detail — context, alternatives, consequences'),
|
|
74
76
|
status: z
|
|
@@ -112,6 +114,7 @@ export const decisions = {
|
|
|
112
114
|
params: z.object({
|
|
113
115
|
workspaceId,
|
|
114
116
|
decisionId,
|
|
117
|
+
title: z.string().max(120).nullable().optional().describe(`${TITLE_DESCRIPTION}. null clears it. Like statement and body, an agent may set it on a draft but not change it on a confirmed decision (FORBIDDEN): propose the change as a new draft instead`),
|
|
115
118
|
statement: z.string().max(500).optional(),
|
|
116
119
|
body: clearable('Markdown body'),
|
|
117
120
|
decidedAt: date('When it was decided').nullable().optional(),
|
|
@@ -148,12 +151,18 @@ export const decisions = {
|
|
|
148
151
|
params: z.object({ workspaceId, decisionId, featureId: id('Feature') }),
|
|
149
152
|
run: (client, { workspaceId, decisionId, featureId }) => client.decisions.linkFeature(workspaceId, decisionId, featureId),
|
|
150
153
|
}),
|
|
154
|
+
link_scope: op({
|
|
155
|
+
effect: 'write',
|
|
156
|
+
summary: 'Mark a decision as "implemented by" one of a feature’s scopes (V1, V2, ...) — narrower than link_feature. The decision also shows on the feature’s Decisions block with the scope’s version, and groups under the scope on a Pillar page. Idempotent: an existing link is returned. Find scope IDs with `scopes`.',
|
|
157
|
+
params: z.object({ workspaceId, decisionId, scopeId: id('Feature scope') }),
|
|
158
|
+
run: (client, { workspaceId, decisionId, scopeId }) => client.decisions.linkScope(workspaceId, decisionId, scopeId),
|
|
159
|
+
}),
|
|
151
160
|
unlink: op({
|
|
152
161
|
effect: 'write',
|
|
153
|
-
summary: 'Remove one ticket
|
|
162
|
+
summary: 'Remove one ticket, feature or scope link.',
|
|
154
163
|
params: z.object({
|
|
155
164
|
workspaceId,
|
|
156
|
-
linkId: z.string().describe('DecisionLink ID from the decision’s links — not the ticket or
|
|
165
|
+
linkId: z.string().describe('DecisionLink ID from the decision’s links — not the ticket, feature or scope ID'),
|
|
157
166
|
}),
|
|
158
167
|
run: (client, { workspaceId, linkId }) => client.decisions.unlink(workspaceId, linkId),
|
|
159
168
|
}),
|
package/dist/domains/tickets.js
CHANGED
|
@@ -38,7 +38,7 @@ export const tickets = {
|
|
|
38
38
|
}),
|
|
39
39
|
get: op({
|
|
40
40
|
effect: 'read',
|
|
41
|
-
summary: 'Get one ticket in full: body, product, dependencies (dependsOn / requiredFor), linked actions and comments (newest first).',
|
|
41
|
+
summary: 'Get one ticket in full: body, product, dependencies (dependsOn / requiredFor), linked decisions (id, label, statement, status, decidedAt, linkId; OPEN = a question raised on the ticket; drafts excluded), linked actions and comments (newest first).',
|
|
42
42
|
params: z.object({ id: ticketId }),
|
|
43
43
|
run: (client, { id }) => client.tickets.get(id),
|
|
44
44
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exponential-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "MCP server for Exponential - connect Claude to your projects, actions, goals, CRM, tickets and more",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
49
49
|
"commander": "^12.0.0",
|
|
50
|
-
"exponential-sdk": "^1.
|
|
50
|
+
"exponential-sdk": "^1.36.0",
|
|
51
51
|
"zod": "^3.22.0",
|
|
52
52
|
"zod-to-json-schema": "^3.25.2"
|
|
53
53
|
},
|