@talonic/mcp 0.1.110 → 0.1.111

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.
@@ -9874,6 +9874,21 @@ function handleDecideApproval(getToken, baseUrl, args) {
9874
9874
  )
9875
9875
  );
9876
9876
  }
9877
+ var OPEN_ASKS_DESCRIPTION = [
9878
+ "List what colleagues sent the person through their agents that still waits for them: requests, tasks and messages from the last 30 days, soonest due first. Read straight from the workspace, no agent turn and no credits.",
9879
+ "USE WHEN: the person asks what to work on, what is open for them, or what colleagues are waiting for.",
9880
+ "NOT FOR: answering a request (send the answer with talonic_thread_send); drafts waiting for approval (talonic_thread_list_drafts).",
9881
+ "",
9882
+ "ARGS: optional `limit` (1-100, default 50).",
9883
+ "RETURNS: { asks[] { id, kind message|task|request, from, text, answer_shape, choices[], due, sent_at, still_open[] } }. still_open: steps that tick off by themselves once done."
9884
+ ].join("\n");
9885
+ var openAsksInputSchema = {
9886
+ limit: z.number().int().min(1).max(100).optional().describe("Most requests to return (1-100, default 50).")
9887
+ };
9888
+ function handleOpenAsks(getToken, baseUrl, args = {}) {
9889
+ const q = args.limit ? `?limit=${args.limit}` : "";
9890
+ return runTool(() => apiJson(getToken, baseUrl, "GET", `/v1/thread/asks${q}`));
9891
+ }
9877
9892
  var DRAFTS_DESCRIPTION = [
9878
9893
  "List the drafts the thread prepared and is waiting for the person to approve: an email, a start of one of their processes, or sharing one of their documents. Each names what a decision must quote back.",
9879
9894
  "USE WHEN: before talonic_thread_decide_draft, to show the person exactly what would happen.",
@@ -10050,6 +10065,14 @@ function registerThreadTools(server, getToken, baseUrl) {
10050
10065
  write13(false, false, true),
10051
10066
  (a) => handleDecideApproval(getToken, baseUrl, a)
10052
10067
  ],
10068
+ [
10069
+ "talonic_thread_open_asks",
10070
+ "List requests waiting for you",
10071
+ OPEN_ASKS_DESCRIPTION,
10072
+ openAsksInputSchema,
10073
+ readOnly13,
10074
+ (a) => handleOpenAsks(getToken, baseUrl, a)
10075
+ ],
10053
10076
  [
10054
10077
  "talonic_thread_list_drafts",
10055
10078
  "List prepared drafts",
@@ -18179,7 +18202,7 @@ function registerOperationsTools(server, getToken, baseUrl, families) {
18179
18202
 
18180
18203
  // package.json
18181
18204
  var package_default = {
18182
- version: "0.1.110"};
18205
+ version: "0.1.111"};
18183
18206
 
18184
18207
  // src/version.ts
18185
18208
  var VERSION = package_default.version;