@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/CHANGELOG.md +6 -0
- package/dist/content.js +29 -0
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +24 -1
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +24 -1
- package/dist/index.js.map +1 -1
- package/dist/server.js +24 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -9981,6 +9981,21 @@ function handleDecideApproval(getToken, baseUrl, args) {
|
|
|
9981
9981
|
)
|
|
9982
9982
|
);
|
|
9983
9983
|
}
|
|
9984
|
+
var OPEN_ASKS_DESCRIPTION = [
|
|
9985
|
+
"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.",
|
|
9986
|
+
"USE WHEN: the person asks what to work on, what is open for them, or what colleagues are waiting for.",
|
|
9987
|
+
"NOT FOR: answering a request (send the answer with talonic_thread_send); drafts waiting for approval (talonic_thread_list_drafts).",
|
|
9988
|
+
"",
|
|
9989
|
+
"ARGS: optional `limit` (1-100, default 50).",
|
|
9990
|
+
"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."
|
|
9991
|
+
].join("\n");
|
|
9992
|
+
var openAsksInputSchema = {
|
|
9993
|
+
limit: z.number().int().min(1).max(100).optional().describe("Most requests to return (1-100, default 50).")
|
|
9994
|
+
};
|
|
9995
|
+
function handleOpenAsks(getToken, baseUrl, args = {}) {
|
|
9996
|
+
const q = args.limit ? `?limit=${args.limit}` : "";
|
|
9997
|
+
return runTool(() => apiJson(getToken, baseUrl, "GET", `/v1/thread/asks${q}`));
|
|
9998
|
+
}
|
|
9984
9999
|
var DRAFTS_DESCRIPTION = [
|
|
9985
10000
|
"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.",
|
|
9986
10001
|
"USE WHEN: before talonic_thread_decide_draft, to show the person exactly what would happen.",
|
|
@@ -10168,6 +10183,14 @@ function registerThreadTools(server, getToken, baseUrl) {
|
|
|
10168
10183
|
write13(false, false, true),
|
|
10169
10184
|
(a) => handleDecideApproval(getToken, baseUrl, a)
|
|
10170
10185
|
],
|
|
10186
|
+
[
|
|
10187
|
+
"talonic_thread_open_asks",
|
|
10188
|
+
"List requests waiting for you",
|
|
10189
|
+
OPEN_ASKS_DESCRIPTION,
|
|
10190
|
+
openAsksInputSchema,
|
|
10191
|
+
readOnly13,
|
|
10192
|
+
(a) => handleOpenAsks(getToken, baseUrl, a)
|
|
10193
|
+
],
|
|
10171
10194
|
[
|
|
10172
10195
|
"talonic_thread_list_drafts",
|
|
10173
10196
|
"List prepared drafts",
|
|
@@ -18357,7 +18380,7 @@ function registerOperationsTools(server, getToken, baseUrl, families) {
|
|
|
18357
18380
|
|
|
18358
18381
|
// package.json
|
|
18359
18382
|
var package_default = {
|
|
18360
|
-
version: "0.1.
|
|
18383
|
+
version: "0.1.111"};
|
|
18361
18384
|
|
|
18362
18385
|
// src/version.ts
|
|
18363
18386
|
var VERSION = package_default.version;
|