exponential-mcp 0.13.0 → 0.14.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/README.md +122 -41
- package/dist/agentGuidance.js +3 -0
- package/dist/annotations.d.ts +11 -0
- package/dist/annotations.js +4 -0
- package/dist/cli.js +50 -52
- package/dist/clientConfig.d.ts +53 -0
- package/dist/clientConfig.js +103 -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 +899 -0
- package/package.json +13 -1
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),
|