@tasqmate/mcp 0.3.0 → 0.4.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/dist/tasqmate-mcp.js +41 -1
- package/package.json +2 -2
package/dist/tasqmate-mcp.js
CHANGED
|
@@ -22873,6 +22873,46 @@ var TasqmateClient = class _TasqmateClient {
|
|
|
22873
22873
|
`/workspaces/${encodeURIComponent(slug)}/agents/me/bridge/state`,
|
|
22874
22874
|
{ method: "POST", body: JSON.stringify(report) }
|
|
22875
22875
|
),
|
|
22876
|
+
/**
|
|
22877
|
+
* One chat turn's request and history, for the agent behind this key
|
|
22878
|
+
* (CHAT-1). `messageId` is the wake's message: `answered` says a reply
|
|
22879
|
+
* already came after it, so there is nothing to run.
|
|
22880
|
+
*/
|
|
22881
|
+
chatContext: (slug, chatId, query = {}) => this.#get(
|
|
22882
|
+
`/workspaces/${encodeURIComponent(slug)}/agents/me/chats/${encodeURIComponent(chatId)}/context`,
|
|
22883
|
+
{ message: query.messageId }
|
|
22884
|
+
),
|
|
22885
|
+
/**
|
|
22886
|
+
* Post the agent's reply in a chat (CHAT-1): the Bridge sends the
|
|
22887
|
+
* harness's final message. One reply per wake; posting again for the
|
|
22888
|
+
* same `eventId` returns the first.
|
|
22889
|
+
*/
|
|
22890
|
+
replyToChat: (slug, chatId, reply) => this.#request(
|
|
22891
|
+
`/workspaces/${encodeURIComponent(slug)}/agents/me/chats/${encodeURIComponent(chatId)}/reply`,
|
|
22892
|
+
{ method: "POST", body: JSON.stringify(reply) }
|
|
22893
|
+
),
|
|
22894
|
+
/**
|
|
22895
|
+
* Open a run for one of this agent's wakes (CHAT-2). Opening the same
|
|
22896
|
+
* wake again while its run is still going returns that run.
|
|
22897
|
+
*/
|
|
22898
|
+
openRun: (slug, input) => this.#request(
|
|
22899
|
+
`/workspaces/${encodeURIComponent(slug)}/agents/me/runs`,
|
|
22900
|
+
{ method: "POST", body: JSON.stringify(input) }
|
|
22901
|
+
),
|
|
22902
|
+
/**
|
|
22903
|
+
* Post a batch of a run's steps (at most 100). A `seq` already stored is
|
|
22904
|
+
* skipped, so a retried batch is harmless. The answer says whether
|
|
22905
|
+
* someone pressed Stop.
|
|
22906
|
+
*/
|
|
22907
|
+
postRunEvents: (slug, runId, events) => this.#request(
|
|
22908
|
+
`/workspaces/${encodeURIComponent(slug)}/agents/me/runs/${encodeURIComponent(runId)}/events`,
|
|
22909
|
+
{ method: "POST", body: JSON.stringify({ events }) }
|
|
22910
|
+
),
|
|
22911
|
+
/** End a run: `done`, `failed` or `stopped`, with one line on how it went. */
|
|
22912
|
+
finishRun: (slug, runId, finish) => this.#request(
|
|
22913
|
+
`/workspaces/${encodeURIComponent(slug)}/agents/me/runs/${encodeURIComponent(runId)}/finish`,
|
|
22914
|
+
{ method: "POST", body: JSON.stringify(finish) }
|
|
22915
|
+
),
|
|
22876
22916
|
/** The bridge unpairs itself: its record and this key are revoked. */
|
|
22877
22917
|
unpairBridge: (slug) => this.#request(
|
|
22878
22918
|
`/workspaces/${encodeURIComponent(slug)}/agents/me/bridge`,
|
|
@@ -31026,7 +31066,7 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
31026
31066
|
// package.json
|
|
31027
31067
|
var package_default = {
|
|
31028
31068
|
name: "@tasqmate/mcp",
|
|
31029
|
-
version: "0.
|
|
31069
|
+
version: "0.4.0",
|
|
31030
31070
|
description: "MCP stdio server for Tasqmate: tasks, threads, comments and mentions for MCP-capable agents",
|
|
31031
31071
|
keywords: [
|
|
31032
31072
|
"tasqmate",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tasqmate/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "MCP stdio server for Tasqmate: tasks, threads, comments and mentions for MCP-capable agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tasqmate",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"zod": "4.3.6"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@tasqmate/sdk": "0.
|
|
51
|
+
"@tasqmate/sdk": "0.4.0",
|
|
52
52
|
"@types/bun": "^1.3.12",
|
|
53
53
|
"tsup": "^8.5.0",
|
|
54
54
|
"typescript": "^5.7.2"
|