@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.
package/dist/index.js CHANGED
@@ -9834,6 +9834,21 @@ function handleDecideApproval(getToken, baseUrl, args) {
9834
9834
  )
9835
9835
  );
9836
9836
  }
9837
+ var OPEN_ASKS_DESCRIPTION = [
9838
+ "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.",
9839
+ "USE WHEN: the person asks what to work on, what is open for them, or what colleagues are waiting for.",
9840
+ "NOT FOR: answering a request (send the answer with talonic_thread_send); drafts waiting for approval (talonic_thread_list_drafts).",
9841
+ "",
9842
+ "ARGS: optional `limit` (1-100, default 50).",
9843
+ "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."
9844
+ ].join("\n");
9845
+ var openAsksInputSchema = {
9846
+ limit: z.number().int().min(1).max(100).optional().describe("Most requests to return (1-100, default 50).")
9847
+ };
9848
+ function handleOpenAsks(getToken, baseUrl, args = {}) {
9849
+ const q = args.limit ? `?limit=${args.limit}` : "";
9850
+ return runTool(() => apiJson(getToken, baseUrl, "GET", `/v1/thread/asks${q}`));
9851
+ }
9837
9852
  var DRAFTS_DESCRIPTION = [
9838
9853
  "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.",
9839
9854
  "USE WHEN: before talonic_thread_decide_draft, to show the person exactly what would happen.",
@@ -10010,6 +10025,14 @@ function registerThreadTools(server, getToken, baseUrl) {
10010
10025
  write13(false, false, true),
10011
10026
  (a) => handleDecideApproval(getToken, baseUrl, a)
10012
10027
  ],
10028
+ [
10029
+ "talonic_thread_open_asks",
10030
+ "List requests waiting for you",
10031
+ OPEN_ASKS_DESCRIPTION,
10032
+ openAsksInputSchema,
10033
+ readOnly13,
10034
+ (a) => handleOpenAsks(getToken, baseUrl, a)
10035
+ ],
10013
10036
  [
10014
10037
  "talonic_thread_list_drafts",
10015
10038
  "List prepared drafts",
@@ -18094,7 +18117,7 @@ function registerOperationsTools(server, getToken, baseUrl, families) {
18094
18117
 
18095
18118
  // package.json
18096
18119
  var package_default = {
18097
- version: "0.1.110"};
18120
+ version: "0.1.111"};
18098
18121
 
18099
18122
  // src/version.ts
18100
18123
  var VERSION = package_default.version;