@vibesdotdev/integrations-miro 0.0.0-stage → 1.0.0-rc.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/LICENSE +126 -0
- package/README.md +52 -2
- package/dist/client/helper.d.ts +5 -0
- package/dist/client/helper.d.ts.map +1 -0
- package/dist/client/helper.js +6 -0
- package/dist/client/helper.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/runtime-client.d.ts +36 -0
- package/dist/client/runtime-client.d.ts.map +1 -0
- package/dist/client/runtime-client.js +108 -0
- package/dist/client/runtime-client.js.map +1 -0
- package/dist/docs/integrations-miro.docs.descriptor.d.ts +19 -0
- package/dist/docs/integrations-miro.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/integrations-miro.docs.descriptor.js +47 -0
- package/dist/docs/integrations-miro.docs.descriptor.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations-miro.plugin.d.ts +4 -0
- package/dist/integrations-miro.plugin.d.ts.map +1 -0
- package/dist/integrations-miro.plugin.js +22 -0
- package/dist/integrations-miro.plugin.js.map +1 -0
- package/dist/miro/errors.d.ts +10 -0
- package/dist/miro/errors.d.ts.map +1 -0
- package/dist/miro/errors.js +23 -0
- package/dist/miro/errors.js.map +1 -0
- package/dist/miro/index.d.ts +7 -0
- package/dist/miro/index.d.ts.map +1 -0
- package/dist/miro/index.js +5 -0
- package/dist/miro/index.js.map +1 -0
- package/dist/miro/miro-client.d.ts +22 -0
- package/dist/miro/miro-client.d.ts.map +1 -0
- package/dist/miro/miro-client.js +225 -0
- package/dist/miro/miro-client.js.map +1 -0
- package/dist/miro/miro-implementation.d.ts +17 -0
- package/dist/miro/miro-implementation.d.ts.map +1 -0
- package/dist/miro/miro-implementation.js +108 -0
- package/dist/miro/miro-implementation.js.map +1 -0
- package/dist/miro/miro-schemas.d.ts +2 -0
- package/dist/miro/miro-schemas.d.ts.map +1 -0
- package/dist/miro/miro-schemas.js +2 -0
- package/dist/miro/miro-schemas.js.map +1 -0
- package/dist/miro/system.integration.miro.descriptor.d.ts +69 -0
- package/dist/miro/system.integration.miro.descriptor.d.ts.map +1 -0
- package/dist/miro/system.integration.miro.descriptor.js +109 -0
- package/dist/miro/system.integration.miro.descriptor.js.map +1 -0
- package/dist/miro.catalog.plugin.d.ts +78 -0
- package/dist/miro.catalog.plugin.d.ts.map +1 -0
- package/dist/miro.catalog.plugin.js +21 -0
- package/dist/miro.catalog.plugin.js.map +1 -0
- package/dist/miro.client.plugin.d.ts +9 -0
- package/dist/miro.client.plugin.d.ts.map +1 -0
- package/dist/miro.client.plugin.js +38 -0
- package/dist/miro.client.plugin.js.map +1 -0
- package/dist/schemas/http.d.ts +42 -0
- package/dist/schemas/http.d.ts.map +1 -0
- package/dist/schemas/http.js +33 -0
- package/dist/schemas/http.js.map +1 -0
- package/dist/schemas/miro.d.ts +445 -0
- package/dist/schemas/miro.d.ts.map +1 -0
- package/dist/schemas/miro.js +171 -0
- package/dist/schemas/miro.js.map +1 -0
- package/dist/schemas/oauth.d.ts +136 -0
- package/dist/schemas/oauth.d.ts.map +1 -0
- package/dist/schemas/oauth.js +42 -0
- package/dist/schemas/oauth.js.map +1 -0
- package/dist/schemas/operations.d.ts +540 -0
- package/dist/schemas/operations.d.ts.map +1 -0
- package/dist/schemas/operations.js +58 -0
- package/dist/schemas/operations.js.map +1 -0
- package/dist/schemas/sync.d.ts +340 -0
- package/dist/schemas/sync.d.ts.map +1 -0
- package/dist/schemas/sync.js +40 -0
- package/dist/schemas/sync.js.map +1 -0
- package/dist/schemas/tools.d.ts +533 -0
- package/dist/schemas/tools.d.ts.map +1 -0
- package/dist/schemas/tools.js +58 -0
- package/dist/schemas/tools.js.map +1 -0
- package/dist/server/oauth.d.ts +17 -0
- package/dist/server/oauth.d.ts.map +1 -0
- package/dist/server/oauth.js +74 -0
- package/dist/server/oauth.js.map +1 -0
- package/dist/sync/miro.sync-endpoint.descriptor.d.ts +14 -0
- package/dist/sync/miro.sync-endpoint.descriptor.d.ts.map +1 -0
- package/dist/sync/miro.sync-endpoint.descriptor.js +10 -0
- package/dist/sync/miro.sync-endpoint.descriptor.js.map +1 -0
- package/dist/sync/miro.sync-endpoint.impl.d.ts +31 -0
- package/dist/sync/miro.sync-endpoint.impl.d.ts.map +1 -0
- package/dist/sync/miro.sync-endpoint.impl.js +353 -0
- package/dist/sync/miro.sync-endpoint.impl.js.map +1 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.d.ts +15 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.d.ts.map +1 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.js +15 -0
- package/dist/sync/miro.title.sync-mapping.descriptor.js.map +1 -0
- package/dist/sync/miro.title.sync-mapping.impl.d.ts +17 -0
- package/dist/sync/miro.title.sync-mapping.impl.d.ts.map +1 -0
- package/dist/sync/miro.title.sync-mapping.impl.js +20 -0
- package/dist/sync/miro.title.sync-mapping.impl.js.map +1 -0
- package/dist/tools/descriptors.d.ts +1049 -0
- package/dist/tools/descriptors.d.ts.map +1 -0
- package/dist/tools/descriptors.js +152 -0
- package/dist/tools/descriptors.js.map +1 -0
- package/dist/tools/impl.d.ts +13 -0
- package/dist/tools/impl.d.ts.map +1 -0
- package/dist/tools/impl.js +60 -0
- package/dist/tools/impl.js.map +1 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +3 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/schemas.d.ts +2 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +2 -0
- package/dist/tools/schemas.js.map +1 -0
- package/package.json +104 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptors.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { MiroToolIdSchema } from "../schemas/tools.js";
|
|
2
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel/factory';
|
|
3
|
+
import { MiroBoardToolOutputSchema, MiroBoardUpdateToolOutputSchema, MiroBoardsCreateToolInputSchema, MiroBoardsGetToolInputSchema, MiroBoardsListToolInputSchema, MiroBoardsListToolOutputSchema, MiroBoardsUpdateToolInputSchema, MiroItemToolOutputSchema, MiroItemsCreateToolInputSchema, MiroItemsListToolInputSchema, MiroItemsListToolOutputSchema, MiroItemsUpdateToolInputSchema } from "./schemas.js";
|
|
4
|
+
export const MIRO_TOOL_IDS = [
|
|
5
|
+
'miro.boards.list',
|
|
6
|
+
'miro.boards.get',
|
|
7
|
+
'miro.boards.create',
|
|
8
|
+
'miro.boards.update',
|
|
9
|
+
'miro.items.list',
|
|
10
|
+
'miro.items.create',
|
|
11
|
+
'miro.items.update'
|
|
12
|
+
];
|
|
13
|
+
export function isMiroToolId(value) {
|
|
14
|
+
return MiroToolIdSchema.safeParse(value).success;
|
|
15
|
+
}
|
|
16
|
+
const common = {
|
|
17
|
+
kind: 'tools/tool',
|
|
18
|
+
hardware: ['consumer', 'cloud'],
|
|
19
|
+
purpose: ['agent', 'direct', 'worker'],
|
|
20
|
+
category: 'integrations',
|
|
21
|
+
subcategory: 'miro',
|
|
22
|
+
tags: ['miro', 'integration', 'boards']
|
|
23
|
+
};
|
|
24
|
+
export const miroBoardsListToolDescriptor = createRuntimeAsset({
|
|
25
|
+
...common,
|
|
26
|
+
id: 'miro.boards.list',
|
|
27
|
+
name: 'List Miro Boards',
|
|
28
|
+
description: 'List one bounded offset page of boards from the connected Miro workspace.',
|
|
29
|
+
mcpDescription: 'List one bounded page of Miro boards.',
|
|
30
|
+
safety: 'read',
|
|
31
|
+
requiresApproval: false,
|
|
32
|
+
schemas: { input: MiroBoardsListToolInputSchema, output: MiroBoardsListToolOutputSchema },
|
|
33
|
+
usageGuidance: {
|
|
34
|
+
when: 'Use to discover a board id before reading or extending its items.',
|
|
35
|
+
commonPatterns: [
|
|
36
|
+
'Use query to narrow the workspace instead of paging broadly.',
|
|
37
|
+
'Continue with the returned offset only when another page is needed.'
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export const miroBoardsGetToolDescriptor = createRuntimeAsset({
|
|
42
|
+
...common,
|
|
43
|
+
id: 'miro.boards.get',
|
|
44
|
+
name: 'Get Miro Board',
|
|
45
|
+
description: 'Read one Miro board, including its current team and Space identity.',
|
|
46
|
+
mcpDescription: 'Read one Miro board and its team and Space identity.',
|
|
47
|
+
safety: 'read',
|
|
48
|
+
requiresApproval: false,
|
|
49
|
+
schemas: { input: MiroBoardsGetToolInputSchema, output: MiroBoardToolOutputSchema },
|
|
50
|
+
usageGuidance: {
|
|
51
|
+
when: 'Use to verify a board and its current Space before or after an approved move.',
|
|
52
|
+
commonPatterns: [
|
|
53
|
+
'Read project.id as the Miro Space id; Miro still names this field project.',
|
|
54
|
+
'Use items.list separately to inspect the board content.'
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export const miroBoardsCreateToolDescriptor = createRuntimeAsset({
|
|
59
|
+
...common,
|
|
60
|
+
id: 'miro.boards.create',
|
|
61
|
+
name: 'Create Miro Board',
|
|
62
|
+
description: 'Create one named board, optionally in an explicitly identified team and Space.',
|
|
63
|
+
mcpDescription: 'Create one Miro board in an explicit team and Space.',
|
|
64
|
+
safety: 'write',
|
|
65
|
+
requiresApproval: true,
|
|
66
|
+
schemas: { input: MiroBoardsCreateToolInputSchema, output: MiroBoardToolOutputSchema },
|
|
67
|
+
usageGuidance: {
|
|
68
|
+
when: 'Use when the user explicitly asks for a new Miro board.',
|
|
69
|
+
commonPatterns: [
|
|
70
|
+
'Pass projectId to place the new board in a known Space.',
|
|
71
|
+
'Preserve the returned board id, then read it back before adding items.'
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export const miroBoardsUpdateToolDescriptor = createRuntimeAsset({
|
|
76
|
+
...common,
|
|
77
|
+
id: 'miro.boards.update',
|
|
78
|
+
name: 'Update Miro Board',
|
|
79
|
+
description: 'Update one board or move it to an explicitly identified team and Space.',
|
|
80
|
+
mcpDescription: 'Update or move one Miro board to an explicit Space.',
|
|
81
|
+
safety: 'write',
|
|
82
|
+
requiresApproval: true,
|
|
83
|
+
schemas: { input: MiroBoardsUpdateToolInputSchema, output: MiroBoardUpdateToolOutputSchema },
|
|
84
|
+
usageGuidance: {
|
|
85
|
+
when: 'Use when the user explicitly asks to rename, describe, or move a known board.',
|
|
86
|
+
commonPatterns: [
|
|
87
|
+
'Use projectId to move the board to a known Space; do not infer a Space from its name.',
|
|
88
|
+
"Treat state 'accepted' as pending and read the board again; never repeat the PATCH merely because it is pending."
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
export const miroItemsListToolDescriptor = createRuntimeAsset({
|
|
93
|
+
...common,
|
|
94
|
+
id: 'miro.items.list',
|
|
95
|
+
name: 'List Miro Board Items',
|
|
96
|
+
description: 'Read one bounded cursor page of items from a specific Miro board.',
|
|
97
|
+
mcpDescription: 'Read one bounded cursor page of Miro board items.',
|
|
98
|
+
safety: 'read',
|
|
99
|
+
requiresApproval: false,
|
|
100
|
+
schemas: { input: MiroItemsListToolInputSchema, output: MiroItemsListToolOutputSchema },
|
|
101
|
+
usageGuidance: {
|
|
102
|
+
when: 'Use after selecting a board to understand or extend its existing content.',
|
|
103
|
+
commonPatterns: [
|
|
104
|
+
'Pass nextCursor only when hasMore is true.',
|
|
105
|
+
'Absence from one page is never evidence that an item was deleted.'
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
export const miroItemsCreateToolDescriptor = createRuntimeAsset({
|
|
110
|
+
...common,
|
|
111
|
+
id: 'miro.items.create',
|
|
112
|
+
name: 'Create Miro Board Item',
|
|
113
|
+
description: 'Create one card, sticky note, shape, or text item on an explicitly named board.',
|
|
114
|
+
mcpDescription: 'Create one supported item on a Miro board.',
|
|
115
|
+
safety: 'write',
|
|
116
|
+
requiresApproval: true,
|
|
117
|
+
schemas: { input: MiroItemsCreateToolInputSchema, output: MiroItemToolOutputSchema },
|
|
118
|
+
usageGuidance: {
|
|
119
|
+
when: 'Use when the user explicitly asks to add a concept or artifact to a board.',
|
|
120
|
+
commonPatterns: [
|
|
121
|
+
'Read the board first so the new item complements its existing structure.',
|
|
122
|
+
'Create one item per call and preserve the returned provider id.'
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export const miroItemsUpdateToolDescriptor = createRuntimeAsset({
|
|
127
|
+
...common,
|
|
128
|
+
id: 'miro.items.update',
|
|
129
|
+
name: 'Update Miro Board Item',
|
|
130
|
+
description: 'Update mutable fields of one explicitly identified Miro board item.',
|
|
131
|
+
mcpDescription: 'Update one identified Miro board item.',
|
|
132
|
+
safety: 'write',
|
|
133
|
+
requiresApproval: true,
|
|
134
|
+
schemas: { input: MiroItemsUpdateToolInputSchema, output: MiroItemToolOutputSchema },
|
|
135
|
+
usageGuidance: {
|
|
136
|
+
when: 'Use when the user asks to revise an existing board item and its id is known.',
|
|
137
|
+
commonPatterns: [
|
|
138
|
+
'Read the item page first and preserve fields that are not being changed.',
|
|
139
|
+
'This tool never deletes an item; absence is not a delete instruction.'
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
export const miroToolDescriptors = [
|
|
144
|
+
miroBoardsListToolDescriptor,
|
|
145
|
+
miroBoardsGetToolDescriptor,
|
|
146
|
+
miroBoardsCreateToolDescriptor,
|
|
147
|
+
miroBoardsUpdateToolDescriptor,
|
|
148
|
+
miroItemsListToolDescriptor,
|
|
149
|
+
miroItemsCreateToolDescriptor,
|
|
150
|
+
miroItemsUpdateToolDescriptor
|
|
151
|
+
];
|
|
152
|
+
//# sourceMappingURL=descriptors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptors.js","sourceRoot":"","sources":["../../src/tools/descriptors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AAExE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EACN,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,MAAM,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B,kBAAkB;IAClB,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,iBAAiB;IACjB,mBAAmB;IACnB,mBAAmB;CACV,CAAC;AAGX,MAAM,UAAU,YAAY,CAAC,KAAa;IACzC,OAAO,gBAAgB,C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AAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;IAC/D,GAAG,MAAM;IACT,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,iFAAiF;IAC9F,cAAc,EAAE,4CAA4C;IAC5D,MAAM,EAAE,OAAgB;IACxB,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,MAAM,EAAE,wBAAwB,EAAE;IACpF,aAAa,EAAE;QACd,IAAI,EAAE,4EAA4E;QAClF,cAAc,EAAE;YACf,0EAA0E;YAC1E,iEAAiE;SACjE;KACD;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;IAC/D,GAAG,MAAM;IACT,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,qEAAqE;IAClF,cAAc,EAAE,wCAAwC;IACxD,MAAM,EAAE,OAAgB;IACxB,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,MAAM,EAAE,wBAAwB,EAAE;IACpF,aAAa,EAAE;QACd,IAAI,EAAE,8EAA8E;QACpF,cAAc,EAAE;YACf,0EAA0E;YAC1E,uEAAuE;SACvE;KACD;CACD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,4BAA4B;IAC5B,2BAA2B;IAC3B,8BAA8B;IAC9B,8BAA8B;IAC9B,2BAA2B;IAC3B,6BAA6B;IAC7B,6BAA6B;CACpB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type MiroJsonValue } from '../schemas/miro.ts';
|
|
2
|
+
import type { MiroToolOutput } from '../schemas/tools.ts';
|
|
3
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
4
|
+
import type { ToolCallContext } from '@vibesdotdev/kernel/schemas/tool-call';
|
|
5
|
+
import type { MiroClient } from '../client/runtime-client.ts';
|
|
6
|
+
import { type MiroToolId } from './descriptors.ts';
|
|
7
|
+
export interface MiroToolImplementation {
|
|
8
|
+
execute(input: MiroJsonValue, runtime: VibesRuntime, ctx: ToolCallContext): Promise<MiroToolOutput>;
|
|
9
|
+
}
|
|
10
|
+
type ClientResolver = (runtime: VibesRuntime) => Promise<MiroClient>;
|
|
11
|
+
export declare function createMiroTool(toolId: MiroToolId, resolveClient?: ClientResolver): MiroToolImplementation;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"impl.d.ts","sourceRoot":"","sources":["../../src/tools/impl.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAgBjE,MAAM,WAAW,sBAAsB;IACtC,OAAO,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;CACpG;AAMD,KAAK,cAAc,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC;AAErE,wBAAgB,cAAc,CAC7B,MAAM,EAAE,UAAU,EAClB,aAAa,GAAE,cAAmC,GAChD,sBAAsB,CAiDxB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { MiroToolIdentitySchema, parseMiroBoundary } from "../schemas/operations.js";
|
|
2
|
+
import { MiroJsonValueSchema } from "../schemas/miro.js";
|
|
3
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
4
|
+
import { getVibesMiroClient } from "../client/helper.js";
|
|
5
|
+
import { isMiroToolId } from "./descriptors.js";
|
|
6
|
+
import { MiroBoardToolOutputSchema, MiroBoardUpdateToolOutputSchema, MiroBoardsCreateToolInputSchema, MiroBoardsGetToolInputSchema, MiroBoardsListToolInputSchema, MiroBoardsListToolOutputSchema, MiroBoardsUpdateToolInputSchema, MiroItemToolOutputSchema, MiroItemsCreateToolInputSchema, MiroItemsListToolInputSchema, MiroItemsListToolOutputSchema, MiroItemsUpdateToolInputSchema } from "./schemas.js";
|
|
7
|
+
function readIdentity(ctx) {
|
|
8
|
+
return parseMiroBoundary(MiroToolIdentitySchema, ctx.metadata ?? {});
|
|
9
|
+
}
|
|
10
|
+
export function createMiroTool(toolId, resolveClient = getVibesMiroClient) {
|
|
11
|
+
return {
|
|
12
|
+
async execute(input, runtime, ctx) {
|
|
13
|
+
const payload = parseMiroBoundary(MiroJsonValueSchema, input);
|
|
14
|
+
if (!isMiroToolId(toolId))
|
|
15
|
+
throw new CapabilityError('Unknown Miro tool.', 'INVALID_INPUT', { reason: 'miro-tool-unknown' });
|
|
16
|
+
const identity = readIdentity(ctx);
|
|
17
|
+
const client = await resolveClient(runtime);
|
|
18
|
+
switch (toolId) {
|
|
19
|
+
case 'miro.boards.list': {
|
|
20
|
+
const parsed = parseMiroBoundary(MiroBoardsListToolInputSchema, payload);
|
|
21
|
+
return parseMiroBoundary(MiroBoardsListToolOutputSchema, await client.boards.list(parsed, identity));
|
|
22
|
+
}
|
|
23
|
+
case 'miro.boards.get': {
|
|
24
|
+
const parsed = parseMiroBoundary(MiroBoardsGetToolInputSchema, payload);
|
|
25
|
+
const board = await client.boards.get(parsed.boardId, identity);
|
|
26
|
+
if (!board)
|
|
27
|
+
throw new CapabilityError('Miro board was not found.', 'NOT_FOUND', { reason: 'miro-board-absent' });
|
|
28
|
+
return parseMiroBoundary(MiroBoardToolOutputSchema, { board });
|
|
29
|
+
}
|
|
30
|
+
case 'miro.boards.create': {
|
|
31
|
+
const parsed = parseMiroBoundary(MiroBoardsCreateToolInputSchema, payload);
|
|
32
|
+
return parseMiroBoundary(MiroBoardToolOutputSchema, {
|
|
33
|
+
board: await client.boards.create(parsed, identity)
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
case 'miro.boards.update': {
|
|
37
|
+
const parsed = parseMiroBoundary(MiroBoardsUpdateToolInputSchema, payload);
|
|
38
|
+
return parseMiroBoundary(MiroBoardUpdateToolOutputSchema, await client.boards.update(parsed, identity));
|
|
39
|
+
}
|
|
40
|
+
case 'miro.items.list': {
|
|
41
|
+
const parsed = parseMiroBoundary(MiroItemsListToolInputSchema, payload);
|
|
42
|
+
return parseMiroBoundary(MiroItemsListToolOutputSchema, await client.items.list(parsed, identity));
|
|
43
|
+
}
|
|
44
|
+
case 'miro.items.create': {
|
|
45
|
+
const parsed = parseMiroBoundary(MiroItemsCreateToolInputSchema, payload);
|
|
46
|
+
return parseMiroBoundary(MiroItemToolOutputSchema, {
|
|
47
|
+
item: await client.items.create(parsed, identity)
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
case 'miro.items.update': {
|
|
51
|
+
const parsed = parseMiroBoundary(MiroItemsUpdateToolInputSchema, payload);
|
|
52
|
+
return parseMiroBoundary(MiroItemToolOutputSchema, {
|
|
53
|
+
item: await client.items.update(parsed, identity)
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"impl.js","sourceRoot":"","sources":["../../src/tools/impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACrF,OAAO,EAAE,mB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AC,CAAC,CAAC;gBACpG,CAAC;gBACD,KAAK,mBAAmB,CAAC,CAAC,CAAC;oBAC1B,MAAM,MAAM,GAAG,iBAAiB,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;oBAC1E,OAAO,iBAAiB,CAAC,wBAAwB,EAAE;wBAClD,IAAI,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;qBACjD,CAAC,CAAC;gBACJ,CAAC;gBACD,KAAK,mBAAmB,CAAC,CAAC,CAAC;oBAC1B,MAAM,MAAM,GAAG,iBAAiB,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;oBAC1E,OAAO,iBAAiB,CAAC,wBAAwB,EAAE;wBAClD,IAAI,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;qBACjD,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC;QACF,CAAC;KACD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { MIRO_TOOL_IDS, isMiroToolId, miroBoardsCreateToolDescriptor, miroBoardsGetToolDescriptor, miroBoardsListToolDescriptor, miroBoardsUpdateToolDescriptor, miroItemsListToolDescriptor, miroItemsCreateToolDescriptor, miroItemsUpdateToolDescriptor, miroToolDescriptors, type MiroToolId } from './descriptors.ts';
|
|
2
|
+
export * from './schemas.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,YAAY,EACZ,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,mBAAmB,EACnB,KAAK,UAAU,EACf,MAAM,kBAAkB,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { MIRO_TOOL_IDS, isMiroToolId, miroBoardsCreateToolDescriptor, miroBoardsGetToolDescriptor, miroBoardsListToolDescriptor, miroBoardsUpdateToolDescriptor, miroItemsListToolDescriptor, miroItemsCreateToolDescriptor, miroItemsUpdateToolDescriptor, miroToolDescriptors } from "./descriptors.js";
|
|
2
|
+
export * from "./schemas.js";
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,aAAa,EACb,YAAY,EACZ,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,mBAAmB,EAEnB,MAAM,kBAAkB,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,106 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/integrations-miro",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-rc.0",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@vibesdotdev/integrations": "^1.0.0-rc.2",
|
|
6
|
+
"@vibesdotdev/platform": "^1.0.0-rc.0",
|
|
7
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.5",
|
|
8
|
+
"zod": "^4.6.7"
|
|
9
|
+
},
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"@vibesdotdev/sync": "^1.0.0-rc.2"
|
|
12
|
+
},
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"bun": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./plugin": {
|
|
22
|
+
"bun": "./dist/integrations-miro.plugin.js",
|
|
23
|
+
"types": "./dist/integrations-miro.plugin.d.ts",
|
|
24
|
+
"import": "./dist/integrations-miro.plugin.js",
|
|
25
|
+
"default": "./dist/integrations-miro.plugin.js"
|
|
26
|
+
},
|
|
27
|
+
"./client-plugin": {
|
|
28
|
+
"bun": "./dist/miro.client.plugin.js",
|
|
29
|
+
"types": "./dist/miro.client.plugin.d.ts",
|
|
30
|
+
"import": "./dist/miro.client.plugin.js",
|
|
31
|
+
"default": "./dist/miro.client.plugin.js"
|
|
32
|
+
},
|
|
33
|
+
"./catalog-plugin": {
|
|
34
|
+
"bun": "./dist/miro.catalog.plugin.js",
|
|
35
|
+
"types": "./dist/miro.catalog.plugin.d.ts",
|
|
36
|
+
"import": "./dist/miro.catalog.plugin.js",
|
|
37
|
+
"default": "./dist/miro.catalog.plugin.js"
|
|
38
|
+
},
|
|
39
|
+
"./client": {
|
|
40
|
+
"bun": "./dist/client/index.js",
|
|
41
|
+
"types": "./dist/client/index.d.ts",
|
|
42
|
+
"import": "./dist/client/index.js",
|
|
43
|
+
"default": "./dist/client/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./miro": {
|
|
46
|
+
"bun": "./dist/miro/index.js",
|
|
47
|
+
"types": "./dist/miro/index.d.ts",
|
|
48
|
+
"import": "./dist/miro/index.js",
|
|
49
|
+
"default": "./dist/miro/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./miro/descriptor": {
|
|
52
|
+
"bun": "./dist/miro/system.integration.miro.descriptor.js",
|
|
53
|
+
"types": "./dist/miro/system.integration.miro.descriptor.d.ts",
|
|
54
|
+
"import": "./dist/miro/system.integration.miro.descriptor.js",
|
|
55
|
+
"default": "./dist/miro/system.integration.miro.descriptor.js"
|
|
56
|
+
},
|
|
57
|
+
"./tools": {
|
|
58
|
+
"bun": "./dist/tools/index.js",
|
|
59
|
+
"types": "./dist/tools/index.d.ts",
|
|
60
|
+
"import": "./dist/tools/index.js",
|
|
61
|
+
"default": "./dist/tools/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./server/oauth": {
|
|
64
|
+
"bun": "./dist/server/oauth.js",
|
|
65
|
+
"types": "./dist/server/oauth.d.ts",
|
|
66
|
+
"import": "./dist/server/oauth.js",
|
|
67
|
+
"default": "./dist/server/oauth.js"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"lint": "node ../../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
72
|
+
"test": "${BUN:-bun} test",
|
|
73
|
+
"check": "${BUN:-bun} --bun tsc -p tsconfig.json --noEmit",
|
|
74
|
+
"build": "tsc -p tsconfig.build.json"
|
|
75
|
+
},
|
|
76
|
+
"repository": {
|
|
77
|
+
"type": "git",
|
|
78
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/integrations.git",
|
|
79
|
+
"directory": "integrations/miro"
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"registry": "https://packages.vibes.dev",
|
|
83
|
+
"access": "public"
|
|
84
|
+
},
|
|
85
|
+
"vibes": {
|
|
86
|
+
"visibility": "public",
|
|
87
|
+
"registry": {
|
|
88
|
+
"repositoryId": "70be51c9-5ab7-4d7e-9f47-801cb17720d8",
|
|
89
|
+
"directory": "integrations/miro"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"type": "module",
|
|
93
|
+
"types": "./dist/index.d.ts",
|
|
94
|
+
"license": "BUSL-1.1",
|
|
95
|
+
"files": [
|
|
96
|
+
"dist",
|
|
97
|
+
"README.md",
|
|
98
|
+
"LICENSE"
|
|
99
|
+
],
|
|
100
|
+
"gitHead": "494ddfcab4c073eef61acb182042223d7e4da2e5",
|
|
101
|
+
"_vibes_source": {
|
|
102
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/integrations.git",
|
|
103
|
+
"sha": "494ddfcab4c073eef61acb182042223d7e4da2e5",
|
|
104
|
+
"workspaceDigest": "sha256:0a999a3cfaa74d84703d31be338d2d5fc5ee874c35ed151ba88eee17e1715b46"
|
|
105
|
+
}
|
|
106
|
+
}
|