exponential-mcp 0.13.1 → 0.14.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/README.md +35 -0
- package/dist/agentGuidance.js +3 -0
- package/dist/annotations.d.ts +11 -0
- package/dist/annotations.js +4 -0
- package/dist/domains/actions.js +12 -0
- package/dist/domains/areas.js +2 -0
- package/dist/domains/comments.js +7 -0
- package/dist/domains/contacts.js +7 -0
- package/dist/domains/databases.js +13 -0
- package/dist/domains/deals.js +8 -0
- package/dist/domains/decisions.js +14 -0
- package/dist/domains/epics.js +5 -0
- package/dist/domains/features.js +7 -0
- package/dist/domains/framework.d.ts +11 -0
- package/dist/domains/framework.js +18 -0
- package/dist/domains/goals.js +11 -0
- package/dist/domains/keyResults.js +11 -0
- package/dist/domains/labels.js +4 -0
- package/dist/domains/meetings.js +9 -0
- package/dist/domains/organizations.js +3 -0
- package/dist/domains/pages.js +10 -0
- package/dist/domains/positions.js +7 -0
- package/dist/domains/products.js +5 -0
- package/dist/domains/projects.js +4 -0
- package/dist/domains/requirements.js +4 -0
- package/dist/domains/scopes.js +4 -0
- package/dist/domains/stories.js +4 -0
- package/dist/domains/tickets.js +10 -0
- package/dist/domains/time.js +5 -0
- package/dist/domains/workspaces.js +2 -0
- package/dist/index.js +5 -855
- package/dist/runTools.js +5 -0
- package/dist/tools.d.ts +27 -0
- package/dist/tools.js +903 -0
- package/package.json +13 -1
package/dist/domains/tickets.js
CHANGED
|
@@ -21,6 +21,7 @@ export const tickets = {
|
|
|
21
21
|
description: 'Tickets: the unit of work in a product backlog, with blocking dependencies and linked actions. Always product-scoped (see `products`); they can point at a feature (`features`), scope (`scopes`), epic (`epics`) and cycle. Ticket comments are in the `comments` tool and labels in `labels`.',
|
|
22
22
|
operations: {
|
|
23
23
|
list: op({
|
|
24
|
+
effect: 'read',
|
|
24
25
|
summary: 'List every ticket in one product with full fields (body included), optionally filtered. No workspace-wide query — call once per product. prUrl/branchName are exact-match filters applied after the fetch.',
|
|
25
26
|
params: z.object({
|
|
26
27
|
productId: id('Product'),
|
|
@@ -36,11 +37,13 @@ export const tickets = {
|
|
|
36
37
|
run: (client, params) => client.tickets.list(params),
|
|
37
38
|
}),
|
|
38
39
|
get: op({
|
|
40
|
+
effect: 'read',
|
|
39
41
|
summary: 'Get one ticket in full: body, product, dependencies (dependsOn / requiredFor), linked actions and comments (newest first).',
|
|
40
42
|
params: z.object({ id: ticketId }),
|
|
41
43
|
run: (client, { id }) => client.tickets.get(id),
|
|
42
44
|
}),
|
|
43
45
|
create: op({
|
|
46
|
+
effect: 'write',
|
|
44
47
|
summary: 'Create a ticket in a product. Number and shortId are assigned server-side.',
|
|
45
48
|
params: z.object({
|
|
46
49
|
productId: id('Product'),
|
|
@@ -65,6 +68,7 @@ export const tickets = {
|
|
|
65
68
|
run: (client, params) => client.tickets.create(params),
|
|
66
69
|
}),
|
|
67
70
|
update: op({
|
|
71
|
+
effect: 'write',
|
|
68
72
|
summary: 'Update a ticket. Only the fields you pass change.',
|
|
69
73
|
params: z.object({
|
|
70
74
|
id: ticketId,
|
|
@@ -88,11 +92,13 @@ export const tickets = {
|
|
|
88
92
|
run: (client, params) => client.tickets.update(params),
|
|
89
93
|
}),
|
|
90
94
|
delete: op({
|
|
95
|
+
effect: 'delete',
|
|
91
96
|
summary: 'Delete a ticket permanently, with its comments and dependency edges. Linked actions are kept but unlinked.',
|
|
92
97
|
params: z.object({ id: ticketId }),
|
|
93
98
|
run: (client, { id }) => client.tickets.delete(id),
|
|
94
99
|
}),
|
|
95
100
|
search: op({
|
|
101
|
+
effect: 'read',
|
|
96
102
|
summary: 'Quick picker search within one product: matches title, shortId or ticket number and returns slim rows (id, number, shortId, title, status, priority, assignee), most recently updated first. Use `list` for full tickets or field filters.',
|
|
97
103
|
params: z.object({
|
|
98
104
|
productId: id('Product'),
|
|
@@ -103,6 +109,7 @@ export const tickets = {
|
|
|
103
109
|
run: (client, params) => client.tickets.search(params),
|
|
104
110
|
}),
|
|
105
111
|
add_dependency: op({
|
|
112
|
+
effect: 'write',
|
|
106
113
|
summary: 'Mark ticketId as blocked by dependsOnId. Both must be in the same product; rejects self-dependencies and cycles. Idempotent.',
|
|
107
114
|
params: z.object({
|
|
108
115
|
ticketId: id('Blocked ticket'),
|
|
@@ -111,6 +118,7 @@ export const tickets = {
|
|
|
111
118
|
run: (client, { ticketId, dependsOnId }) => client.tickets.addDependency(ticketId, dependsOnId),
|
|
112
119
|
}),
|
|
113
120
|
remove_dependency: op({
|
|
121
|
+
effect: 'write',
|
|
114
122
|
summary: 'Remove a "ticketId is blocked by dependsOnId" edge. Succeeds even if no such edge exists.',
|
|
115
123
|
params: z.object({
|
|
116
124
|
ticketId: id('Blocked ticket'),
|
|
@@ -119,6 +127,7 @@ export const tickets = {
|
|
|
119
127
|
run: (client, { ticketId, dependsOnId }) => client.tickets.removeDependency(ticketId, dependsOnId),
|
|
120
128
|
}),
|
|
121
129
|
link_action: op({
|
|
130
|
+
effect: 'write',
|
|
122
131
|
summary: 'Attach one of your own actions to a ticket (an action belongs to at most one ticket, so this moves it if already linked).',
|
|
123
132
|
params: z.object({
|
|
124
133
|
ticketId: id('Ticket'),
|
|
@@ -127,6 +136,7 @@ export const tickets = {
|
|
|
127
136
|
run: (client, { ticketId, actionId }) => client.tickets.linkAction(ticketId, actionId),
|
|
128
137
|
}),
|
|
129
138
|
unlink_action: op({
|
|
139
|
+
effect: 'write',
|
|
130
140
|
summary: 'Detach one of your own actions from whatever ticket it is linked to.',
|
|
131
141
|
params: z.object({ actionId: id('Action') }),
|
|
132
142
|
run: (client, { actionId }) => client.tickets.unlinkAction(actionId),
|
package/dist/domains/time.js
CHANGED
|
@@ -33,11 +33,13 @@ export const time = {
|
|
|
33
33
|
description: 'Time entries logged against actions (the Daily worklog write path). An entry always belongs to the person whose time it was: under an agent key it is owned by the agent’s owner and forced to PROPOSED until they confirm the day. Actions live in the `actions` tool.',
|
|
34
34
|
operations: {
|
|
35
35
|
log: op({
|
|
36
|
+
effect: 'write',
|
|
36
37
|
summary: 'Log one completed entry with explicit bounds; never touches the running Timer. With sourceRef it upserts per owner (updates a PROPOSED entry, leaves a CONFIRMED one); without, every call creates a row. Outcome: created / updated / left / merged / dropped.',
|
|
37
38
|
params: z.object(entryFields),
|
|
38
39
|
run: (client, params) => client.time.log(params),
|
|
39
40
|
}),
|
|
40
41
|
log_batch: op({
|
|
42
|
+
effect: 'write',
|
|
41
43
|
summary: 'Log many entries in order, one call each; a failure is reported per entry ({ index, success, error }) instead of failing the batch. `defaults` fill fields an entry omits.',
|
|
42
44
|
params: z.object({
|
|
43
45
|
entries: z.array(partialEntry).describe('Entries; each needs actionId, startedAt, endedAt after defaults apply'),
|
|
@@ -46,16 +48,19 @@ export const time = {
|
|
|
46
48
|
run: (client, { entries, defaults }) => client.time.logBatch(entries, defaults),
|
|
47
49
|
}),
|
|
48
50
|
confirm_day: op({
|
|
51
|
+
effect: 'write',
|
|
49
52
|
summary: 'Flip every PROPOSED entry of yours starting on that day to CONFIRMED, moving the actions’ spent time. Human only — agent keys are FORBIDDEN. Returns { confirmed }.',
|
|
50
53
|
params: z.object({ date: day, workspaceId: optionalWorkspaceId }),
|
|
51
54
|
run: (client, { date, workspaceId }) => client.time.confirmDay(date, workspaceId),
|
|
52
55
|
}),
|
|
53
56
|
day_report: op({
|
|
57
|
+
effect: 'read',
|
|
54
58
|
summary: 'One day’s time as the /time Day tab shows it: entries joined to action/ticket/project/product, attention vs session vs agent-run minutes, per-product and per-action roll-ups. Under an agent key it is the owner’s day.',
|
|
55
59
|
params: z.object({ date: day, workspaceId: optionalWorkspaceId }),
|
|
56
60
|
run: (client, { date, workspaceId }) => client.time.dayReport(date, workspaceId),
|
|
57
61
|
}),
|
|
58
62
|
list: op({
|
|
63
|
+
effect: 'read',
|
|
59
64
|
summary: 'Your raw time entries touching one day, oldest first, each with its status.',
|
|
60
65
|
params: z.object({ date: day, workspaceId: optionalWorkspaceId }),
|
|
61
66
|
run: (client, { date, workspaceId }) => client.time.list(date, workspaceId),
|
|
@@ -5,11 +5,13 @@ export const workspaces = {
|
|
|
5
5
|
description: 'Workspaces the user belongs to, and their members. Most other tools take a workspaceId from here; use list_members to resolve people for mentions and assignment.',
|
|
6
6
|
operations: {
|
|
7
7
|
list: op({
|
|
8
|
+
effect: 'read',
|
|
8
9
|
summary: 'List the workspaces you belong to.',
|
|
9
10
|
params: z.object({}),
|
|
10
11
|
run: (client) => client.workspaces.list(),
|
|
11
12
|
}),
|
|
12
13
|
list_members: op({
|
|
14
|
+
effect: 'read',
|
|
13
15
|
summary: 'Everyone in a workspace — direct members plus those with access via a linked team. Each row carries `mentionSyntax` to paste into a comment body.',
|
|
14
16
|
params: z.object({ workspaceId }),
|
|
15
17
|
run: (client, { workspaceId }) => client.workspaces.listMembers(workspaceId),
|