aiquila-mcp 0.4.6 → 0.4.8
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.
|
@@ -110,7 +110,7 @@ export const createCoworkerTool = {
|
|
|
110
110
|
idempotentHint: false,
|
|
111
111
|
openWorldHint: false,
|
|
112
112
|
},
|
|
113
|
-
description: 'Create a coworker. Provide templateId to start from a built-in template (e.g. "classify-images-claude" or "classify-images-
|
|
113
|
+
description: 'Create a coworker. Provide templateId to start from a built-in template (e.g. "classify-images-claude" or "classify-images-mistral"), and/or explicit fields to configure a custom one. Fields override template defaults.',
|
|
114
114
|
inputSchema: z.object({
|
|
115
115
|
templateId: z
|
|
116
116
|
.string()
|
package/dist/tools/apps/talk.js
CHANGED
|
@@ -136,7 +136,7 @@ export const listMessagesTool = {
|
|
|
136
136
|
if (args.lastKnownMessageId) {
|
|
137
137
|
queryParams.lastKnownMessageId = String(args.lastKnownMessageId);
|
|
138
138
|
}
|
|
139
|
-
const data = await fetchOCS(`${
|
|
139
|
+
const data = await fetchOCS(`${API_V1}/chat/${args.token}`, { queryParams });
|
|
140
140
|
let messages = data.ocs.data ?? [];
|
|
141
141
|
if (!args.includeSystemMessages) {
|
|
142
142
|
messages = messages.filter((m) => !m.systemMessage);
|
|
@@ -184,7 +184,7 @@ export const sendMessageTool = {
|
|
|
184
184
|
body.replyTo = String(args.replyTo);
|
|
185
185
|
if (args.silent)
|
|
186
186
|
body.silent = 'true';
|
|
187
|
-
const data = await fetchOCS(`${
|
|
187
|
+
const data = await fetchOCS(`${API_V1}/chat/${args.token}`, {
|
|
188
188
|
method: 'POST',
|
|
189
189
|
body,
|
|
190
190
|
});
|
|
@@ -364,7 +364,7 @@ export const deleteMessageTool = {
|
|
|
364
364
|
}),
|
|
365
365
|
handler: async (args) => {
|
|
366
366
|
try {
|
|
367
|
-
await fetchOCS(`${
|
|
367
|
+
await fetchOCS(`${API_V1}/chat/${args.token}/${args.messageId}`, {
|
|
368
368
|
method: 'DELETE',
|
|
369
369
|
});
|
|
370
370
|
return text(`Message ${args.messageId} deleted from conversation ${args.token}.`);
|