@nestr/mcp 0.1.103 → 0.1.105
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/build/api/client.d.ts +16 -0
- package/build/api/client.d.ts.map +1 -1
- package/build/api/client.js +13 -0
- package/build/api/client.js.map +1 -1
- package/build/api/readonly-bearer.d.ts +13 -0
- package/build/api/readonly-bearer.d.ts.map +1 -0
- package/build/api/readonly-bearer.js +18 -0
- package/build/api/readonly-bearer.js.map +1 -0
- package/build/help/articles.d.ts.map +1 -1
- package/build/help/articles.js +108 -9
- package/build/help/articles.js.map +1 -1
- package/build/help/cross-links.d.ts.map +1 -1
- package/build/help/cross-links.js +4 -1
- package/build/help/cross-links.js.map +1 -1
- package/build/help/topics.d.ts.map +1 -1
- package/build/help/topics.js +253 -21
- package/build/help/topics.js.map +1 -1
- package/build/http.d.ts.map +1 -1
- package/build/http.js +6 -1
- package/build/http.js.map +1 -1
- package/build/server.d.ts.map +1 -1
- package/build/server.js +2 -1
- package/build/server.js.map +1 -1
- package/build/skills/tension-processing.d.ts.map +1 -1
- package/build/skills/tension-processing.js +3 -2
- package/build/skills/tension-processing.js.map +1 -1
- package/build/tools/index.d.ts +97 -0
- package/build/tools/index.d.ts.map +1 -1
- package/build/tools/index.js +83 -8
- package/build/tools/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAmC,KAAK,WAAW,EAA6C,MAAM,kBAAkB,CAAC;AAIhI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAIhD,CAAC;AAKH,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AA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AWG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAuBxF;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,MAAM,gBAAgB,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,UAAU,CAAC,CAkBrB"}
|
package/build/tools/index.js
CHANGED
|
@@ -356,6 +356,7 @@ const HINT_ENDPOINT_TOOL_MAPPINGS = [
|
|
|
356
356
|
bodyParams: new Set([
|
|
357
357
|
"_id", "title", "labels", "description", "purpose",
|
|
358
358
|
"parentId", "users", "due", "accountabilities", "domains",
|
|
359
|
+
"role", // operational output: the role the work is asked of
|
|
359
360
|
"roleId", // election mode
|
|
360
361
|
]),
|
|
361
362
|
},
|
|
@@ -369,6 +370,7 @@ const HINT_ENDPOINT_TOOL_MAPPINGS = [
|
|
|
369
370
|
bodyParams: new Set([
|
|
370
371
|
"_id", "title", "labels", "description", "purpose",
|
|
371
372
|
"parentId", "users", "due", "accountabilities", "domains",
|
|
373
|
+
"role",
|
|
372
374
|
]),
|
|
373
375
|
},
|
|
374
376
|
// DELETE /parts (body has _id) — propose deletion of an existing item.
|
|
@@ -563,9 +565,78 @@ export function enrichHints(data) {
|
|
|
563
565
|
// `data` would discard both the enriched payload and the enriched envelope hints.
|
|
564
566
|
return subject;
|
|
565
567
|
}
|
|
566
|
-
|
|
568
|
+
// Which of the PARENT's tabs holds a child carrying this label, keyed by the
|
|
569
|
+
// API-facing label name (the API strips `circleplus-` and renames
|
|
570
|
+
// prepared-tension to tension, so these are the names that actually arrive).
|
|
571
|
+
//
|
|
572
|
+
// This is the reverse of the `labels: [...]` declarations the tab definitions
|
|
573
|
+
// already carry in slashme-online `packages/nestr_circleplus/lib/tabs.js`: the
|
|
574
|
+
// Projects tab declares it holds project / individual-action / sprint / epic,
|
|
575
|
+
// the Roles tab declares role / circle, and so on. A few tabs (Goals, Todos,
|
|
576
|
+
// Metrics on a circle) express the same containment as a `searchTerm` rather
|
|
577
|
+
// than a labels array, so those entries are read off the search and written
|
|
578
|
+
// here by hand.
|
|
579
|
+
//
|
|
580
|
+
// Why a static map rather than asking the server which tab contains this nest:
|
|
581
|
+
// the precise answer needs the PARENT's resolved tab set, and getTabs() on the
|
|
582
|
+
// server evaluates the circleplus tab callback (a walk through getWorkspace,
|
|
583
|
+
// getData and TAPi18n). translateNest runs per row on every search and children
|
|
584
|
+
// response, so that is a per-row cost on the hot path for a link most rows never
|
|
585
|
+
// need. A wrong guess costs nothing: listview_lists falls back to the nest's
|
|
586
|
+
// default tab when the hash names no available tab, which is exactly the
|
|
587
|
+
// hashless behaviour we have today.
|
|
588
|
+
const LABEL_CONTAINING_TAB = {
|
|
589
|
+
project: "projects",
|
|
590
|
+
"individual-action": "projects",
|
|
591
|
+
sprint: "projects",
|
|
592
|
+
epic: "projects",
|
|
593
|
+
task: "tasks",
|
|
594
|
+
role: "roles",
|
|
595
|
+
circle: "roles",
|
|
596
|
+
"anchor-circle": "roles",
|
|
597
|
+
domain: "policies",
|
|
598
|
+
policy: "policies",
|
|
599
|
+
meeting: "meetings",
|
|
600
|
+
governance: "meetings",
|
|
601
|
+
tactical: "meetings",
|
|
602
|
+
tension: "meetings",
|
|
603
|
+
metric: "metrics",
|
|
604
|
+
checklist: "checklists",
|
|
605
|
+
goal: "goals",
|
|
606
|
+
result: "goals",
|
|
607
|
+
skill: "skills",
|
|
608
|
+
feedback: "feedback",
|
|
609
|
+
note: "notes",
|
|
610
|
+
};
|
|
611
|
+
// The tab on the parent that a person opens to SEE this nest in its list.
|
|
612
|
+
// First label wins, so a scrum story labelled ["project", "userstory"] resolves
|
|
613
|
+
// through `project` and lands on Projects.
|
|
614
|
+
export function containingTabHash(labels) {
|
|
615
|
+
if (!Array.isArray(labels))
|
|
616
|
+
return undefined;
|
|
617
|
+
for (const label of labels) {
|
|
618
|
+
if (typeof label !== "string")
|
|
619
|
+
continue;
|
|
620
|
+
const tab = LABEL_CONTAINING_TAB[label];
|
|
621
|
+
if (tab)
|
|
622
|
+
return tab;
|
|
623
|
+
}
|
|
624
|
+
return undefined;
|
|
625
|
+
}
|
|
626
|
+
// A nest URL without a `#` is NOT a stable link. listview_lists reads the tab
|
|
627
|
+
// from localStorage `<nestId>_preferred_header`, so the same link opens whichever
|
|
628
|
+
// tab that particular person last used on that particular nest, and a first-time
|
|
629
|
+
// visitor gets the container's first tab — which for a circle is Structure >
|
|
630
|
+
// About, not the work they were sent to look at. Carrying the hash is what makes
|
|
631
|
+
// the link mean the same thing to everyone.
|
|
632
|
+
//
|
|
633
|
+
// The hash belongs to the LEFT pane, which in the two-id form is the parent, so
|
|
634
|
+
// it is only appended there. On the bare `/n/{id}` form the hash would select a
|
|
635
|
+
// tab on the nest ITSELF, and `#projects` on a project means nothing.
|
|
636
|
+
function buildNestUrl(id, parentId, labels) {
|
|
567
637
|
if (parentId && parentId.toLowerCase() !== "inbox") {
|
|
568
|
-
|
|
638
|
+
const tab = containingTabHash(labels);
|
|
639
|
+
return `${NESTR_WEB_BASE}/n/${parentId}/${id}${tab ? `#${tab}` : ""}`;
|
|
569
640
|
}
|
|
570
641
|
return `${NESTR_WEB_BASE}/n/${id}`;
|
|
571
642
|
}
|
|
@@ -597,7 +668,7 @@ export function addNestUrls(data) {
|
|
|
597
668
|
const record = data;
|
|
598
669
|
const out = { ...record };
|
|
599
670
|
if (looksLikeNest(record) && typeof out.url !== "string") {
|
|
600
|
-
out.url = buildNestUrl(record._id, record.parentId);
|
|
671
|
+
out.url = buildNestUrl(record._id, record.parentId, record.labels);
|
|
601
672
|
}
|
|
602
673
|
for (const [key, value] of Object.entries(out)) {
|
|
603
674
|
if (value && typeof value === "object") {
|
|
@@ -1018,6 +1089,7 @@ export const schemas = {
|
|
|
1018
1089
|
due: z.string().optional().describe("Due or re-election date, ISO. For an election, the term end; omit for no term."),
|
|
1019
1090
|
accountabilities: coerceFromJson(z.array(z.string())).optional().describe("Accountability titles on a role (replaces all; children tools for individual edits)"),
|
|
1020
1091
|
domains: coerceFromJson(z.array(z.string())).optional().describe("Domain titles on a role (replaces all; children tools for individual edits)"),
|
|
1092
|
+
role: z.string().optional().describe("The role this output belongs to, for an operational output (pathway 3/4). Pair with users: users is WHO does it, role is the role it is asked of, and the work request names both (\"Ada as Systems: ...\"). A role id, not a title. Distinct from roleId, which is election mode."),
|
|
1021
1093
|
roleId: z.string().optional().describe("Hold an ELECTION: the electable role to fill (Facilitator/Secretary/Rep Link or any electable role). Assigns or reconfirms the role's filler for a term WITHOUT changing its accountabilities/domains — provide users:[userId] (one person) and optional due (term). Do not combine with _id."),
|
|
1022
1094
|
removeNest: z.boolean().optional().describe("Set true with _id to propose deletion of the referenced governance item (when the proposal is accepted, the item is removed). Distinct from nestr_remove_tension_part, which undoes a proposal part you already added. Requires _id; other body fields are ignored."),
|
|
1023
1095
|
}).refine((data) => !data.removeNest || !!data._id, { message: "removeNest:true requires _id to identify which item to propose for deletion" }).refine((data) => !data.roleId || (Array.isArray(data.users) && data.users.length === 1), { message: "An election (roleId) requires exactly one user to elect — users: [userId]." }).refine((data) => !(data.roleId && data._id), { message: "Provide either roleId (to hold an election) or _id (to change/delete an existing item), not both." }),
|
|
@@ -1034,6 +1106,7 @@ export const schemas = {
|
|
|
1034
1106
|
due: z.string().optional().describe("Updated due date (ISO format)"),
|
|
1035
1107
|
accountabilities: coerceFromJson(z.array(z.string())).optional().describe("Updated accountabilities (replaces all; children tools for individual edits)"),
|
|
1036
1108
|
domains: coerceFromJson(z.array(z.string())).optional().describe("Updated domains (replaces all; children tools for individual edits)"),
|
|
1109
|
+
role: z.string().optional().describe("Updated role for an operational output. A role id; pass an empty string to clear it."),
|
|
1037
1110
|
}),
|
|
1038
1111
|
removeTensionPart: z.object({
|
|
1039
1112
|
nestId: z.string().describe("ID of the circle or role the tension belongs to"),
|
|
@@ -1206,7 +1279,7 @@ const destructive = { annotations: { readOnlyHint: false, destructiveHint: true
|
|
|
1206
1279
|
export const toolDefinitions = [
|
|
1207
1280
|
{
|
|
1208
1281
|
name: "nestr_help",
|
|
1209
|
-
description: "Nestr documentation, three modes. (1) Internal topic: `topic` with a curated key (search, labels, nest-model, inbox, daily-plan, notifications, insights, tension-processing, skills, mcp-apps, authentication, scrum, okr, ...); 'topics' lists them all. (2) Help article: `topic` with a slug from nestr.io/help/articles/<slug>; returns markdown plus a numbered list of its images. Images are never attached by default: includeImages:true takes the first maxImages screenshots, imageIndexes:[..] takes chosen ones. Attach when the user wants to see how something looks. (3) Search: `search` with free text; returns ranked matches, each a title and one-line summary, tolerant of typos and synonyms (kanban/sprint to scrum). A topic is tried internally first, then as an article. Every response opens with 'Resolved as:' naming the mode, and topics and articles cross-link. Call before unfamiliar operations. No auth.",
|
|
1282
|
+
description: "Nestr documentation, three modes. (1) Internal topic: `topic` with a curated key (search, labels, nest-model, inbox, daily-plan, notifications, insights, tension-processing, skills, mcp-apps, authentication, scrum, okr, ...); 'topics' lists them all. (2) Help article: `topic` with a slug from nestr.io/help/articles/<slug>; returns markdown plus a numbered list of its images. Images are never attached by default: includeImages:true takes the first maxImages screenshots, imageIndexes:[..] takes chosen ones. Attach when the user wants to see how something looks. (3) Search: `search` with free text, **in English whatever language the conversation is in** — the corpus is English and the index scores slugs and keywords, so a query in another language usually returns nothing; returns ranked matches, each a title and one-line summary, tolerant of typos and synonyms (kanban/sprint to scrum). A topic is tried internally first, then as an article. Every response opens with 'Resolved as:' naming the mode, and topics and articles cross-link. Call before unfamiliar operations. No auth.",
|
|
1210
1283
|
inputSchema: {
|
|
1211
1284
|
type: "object",
|
|
1212
1285
|
properties: {
|
|
@@ -1369,7 +1442,7 @@ export const toolDefinitions = [
|
|
|
1369
1442
|
},
|
|
1370
1443
|
{
|
|
1371
1444
|
name: "nestr_create_nest",
|
|
1372
|
-
description: `Create a nest under a parent. Labels define the type, e.g. ['project'], ['role']. ${PRIME_LABEL_RULE} Sprint/epic/milestone never pair; stories link to those via graph relations. In established workspaces prefer the tension flow for governance. See nestr_help('labels').`,
|
|
1445
|
+
description: `Create a nest under a parent. Labels define the type, e.g. ['project'], ['role']. ${PRIME_LABEL_RULE} Sprint/epic/milestone never pair; stories link to those via graph relations. In established workspaces prefer the tension flow for governance. Meetings attach to a circle that ALREADY exists — the workspace anchor circle counts, and is the right parent when no sub-circle fits. Never create a circle to hold a meeting. Use \`['meeting','circle-meeting']\` for a tactical meeting, \`['meeting','governance']\` for a governance meeting, and set \`due\` to the start time. See nestr_help('labels') and nestr_help('meetings').`,
|
|
1373
1446
|
inputSchema: {
|
|
1374
1447
|
type: "object",
|
|
1375
1448
|
properties: {
|
|
@@ -1905,7 +1978,7 @@ export const toolDefinitions = [
|
|
|
1905
1978
|
},
|
|
1906
1979
|
{
|
|
1907
1980
|
name: "nestr_get_workspace_apps",
|
|
1908
|
-
description: "List
|
|
1981
|
+
description: "List a workspace's apps/features. Returns the FULL catalogue, each entry `{ _id, title, enabled }` — a disabled app is present with `enabled: false`, never absent, so test `enabled` and not presence. Note the field is `_id`, not `id`. Check before using features that require specific apps (e.g., Insights, Scrum, Meetings).",
|
|
1909
1982
|
inputSchema: {
|
|
1910
1983
|
type: "object",
|
|
1911
1984
|
properties: {
|
|
@@ -2311,7 +2384,7 @@ export const toolDefinitions = [
|
|
|
2311
2384
|
},
|
|
2312
2385
|
{
|
|
2313
2386
|
name: "nestr_add_tension_part",
|
|
2314
|
-
description: "Add a
|
|
2387
|
+
description: "Add a part to a tension. A part is either the operational work the tension asks for or a governance change it proposes. Modes: OPERATIONAL OUTPUT (title, description, users, role, and no governance label) is what a work request is made of, and is the common case; new governance item (omit _id, give title plus a governance label such as ['role'] or ['policy']); change one (_id plus the changed fields; editing a role copies its accountabilities/domains in, so it reads as a full role edit); delete one (_id plus removeNest:true); election (roleId plus users:[userId], optional due, which assigns or reconfirms the filler and leaves accountabilities/domains untouched). The part you get back has its own _id and a sourceId, the output nest underneath it; nestr_modify_tension_part takes the part _id, not the sourceId. See nestr_help('tension-processing').",
|
|
2315
2388
|
inputSchema: {
|
|
2316
2389
|
type: "object",
|
|
2317
2390
|
properties: {
|
|
@@ -2327,6 +2400,7 @@ export const toolDefinitions = [
|
|
|
2327
2400
|
due: { type: "string", description: "Due or re-election date, ISO. For an election, the term end; omit for no term." },
|
|
2328
2401
|
accountabilities: { type: "array", items: { type: "string" }, description: "Accountability titles on a role (replaces all; children tools for individual edits)" },
|
|
2329
2402
|
domains: { type: "array", items: { type: "string" }, description: "Domain titles on a role (replaces all; children tools for individual edits)" },
|
|
2403
|
+
role: { type: "string", description: "The role this output belongs to, for an operational output (pathway 3/4). Pair with users: users is WHO does it, role is the role it is asked of, and the work request names both (\"Ada as Systems: ...\"). A role id, not a title. Distinct from roleId, which is election mode." },
|
|
2330
2404
|
roleId: { type: "string", description: "ELECTION mode: the electable role to fill (Facilitator, Secretary, Rep Link or any electable role). Pair with users:[oneUserId] and optional due. Never with _id." },
|
|
2331
2405
|
removeNest: { type: "boolean", description: "With _id, propose deleting that governance item; it goes when the proposal is accepted. Not nestr_remove_tension_part, which undoes a part you already added." },
|
|
2332
2406
|
},
|
|
@@ -2350,6 +2424,7 @@ export const toolDefinitions = [
|
|
|
2350
2424
|
parentId: { type: "string", description: "Updated parent ID" },
|
|
2351
2425
|
users: { type: "array", items: { type: "string" }, description: "Updated user assignments" },
|
|
2352
2426
|
due: { type: "string", description: "Updated due date (ISO format)" },
|
|
2427
|
+
role: { type: "string", description: "Updated role for an operational output. A role id; pass an empty string to clear it." },
|
|
2353
2428
|
accountabilities: { type: "array", items: { type: "string" }, description: "Updated accountabilities (replaces all; children tools for individual edits)" },
|
|
2354
2429
|
domains: { type: "array", items: { type: "string" }, description: "Updated domains (replaces all; children tools for individual edits)" },
|
|
2355
2430
|
},
|
|
@@ -2960,7 +3035,7 @@ async function _handleToolCall(client, name, args, context) {
|
|
|
2960
3035
|
const entries = await loadArticleIndex();
|
|
2961
3036
|
const hits = searchArticleIndex(entries, parsed.search, 8);
|
|
2962
3037
|
if (hits.length === 0) {
|
|
2963
|
-
return { content: [{ type: "text", text: `_Resolved as: help-article search._\n\nNo help articles matched "${parsed.search}". The index scores article slugs and curated keywords, not article bodies, so an exact feature, operator or field name often misses even when the docs cover it. Try broader terms or a synonym, or call nestr_help({ topic: "topics" }) for internal MCP topics. An empty result is not evidence the thing does not exist: say you could not find it documented, never that it is unsupported.` }] };
|
|
3038
|
+
return { content: [{ type: "text", text: `_Resolved as: help-article search._\n\nNo help articles matched "${parsed.search}". **The corpus and the index are English. If you searched in another language, translate the query and search again before concluding anything** — that is the single most common reason for an empty result, and one retry usually fixes it. Beyond that: the index scores article slugs and curated keywords, not article bodies, so an exact feature, operator or field name often misses even when the docs cover it. Try broader terms or a synonym, or call nestr_help({ topic: "topics" }) for internal MCP topics. An empty result is not evidence the thing does not exist: say you could not find it documented, never that it is unsupported. Never fill the gap from memory on anything a customer could check — prices, limits and plan names above all.` }] };
|
|
2964
3039
|
}
|
|
2965
3040
|
// Enrich the top hits with a title + one-line summary so the caller
|
|
2966
3041
|
// can pick the right article without a blind fetch. Best-effort:
|