@tasqmate/mcp 0.3.1 → 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.
@@ -22891,6 +22891,28 @@ var TasqmateClient = class _TasqmateClient {
22891
22891
  `/workspaces/${encodeURIComponent(slug)}/agents/me/chats/${encodeURIComponent(chatId)}/reply`,
22892
22892
  { method: "POST", body: JSON.stringify(reply) }
22893
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
+ ),
22894
22916
  /** The bridge unpairs itself: its record and this key are revoked. */
22895
22917
  unpairBridge: (slug) => this.#request(
22896
22918
  `/workspaces/${encodeURIComponent(slug)}/agents/me/bridge`,
@@ -31044,7 +31066,7 @@ var EMPTY_COMPLETION_RESULT = {
31044
31066
  // package.json
31045
31067
  var package_default = {
31046
31068
  name: "@tasqmate/mcp",
31047
- version: "0.3.1",
31069
+ version: "0.4.0",
31048
31070
  description: "MCP stdio server for Tasqmate: tasks, threads, comments and mentions for MCP-capable agents",
31049
31071
  keywords: [
31050
31072
  "tasqmate",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tasqmate/mcp",
3
- "version": "0.3.1",
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.3.1",
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"