@theronap/agnoclast-mcp 0.9.192 → 0.9.193
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/lib/red_link_triage.mjs +8 -1
- package/package.json +1 -1
package/lib/red_link_triage.mjs
CHANGED
|
@@ -36,7 +36,14 @@ export function renderTriage(t, name) {
|
|
|
36
36
|
// their manager's pages as stubs, reported the manager had done "no work at all", and recommended
|
|
37
37
|
// authoring them: duplicates of pages someone else runs. Additive flag, checked after `demoted` and
|
|
38
38
|
// before `category`, so an older server that omits it gets the old wording.
|
|
39
|
-
|
|
39
|
+
// 2026-10-01 — WHO TO ASK. The server names the hidden page's owner when that is someone this
|
|
40
|
+
// reader can already see (Theron, 2026-09-30: a hidden page met through a link should say who to
|
|
41
|
+
// ask, not just stop you). Additive: an older server omits `askOwners` and the generic line stands.
|
|
42
|
+
const who = Array.isArray(t.askOwners) ? t.askOwners.filter((n) => typeof n === 'string' && n.trim()) : []
|
|
43
|
+
const ask = who.length
|
|
44
|
+
? `${who.length === 1 ? `${who[0]} is` : `${who.slice(0, -1).join(', ')} and ${who[who.length - 1]} are`} responsible for it. If you need what is on it, ask ${who.length === 1 ? 'them' : 'one of them'} to share it with you (\`grant_page_access\`).`
|
|
45
|
+
: 'If you need what is on it, ask the person responsible for that work to share it with you (`grant_page_access`).'
|
|
46
|
+
return `\n\n[[${name}]] EXISTS, but it has not been shared with you — it is authored, you just cannot read it. It is NOT missing, and it does not mean nobody has worked on it.${refs} Do NOT author it: that would create a duplicate of a page someone else is responsible for. ${ask}`
|
|
40
47
|
}
|
|
41
48
|
if (t.category === 'node') {
|
|
42
49
|
return `\n\n[[${name}]] is a wanted page — a ${t.isPerson ? 'person' : 'node'} exists but has no page yet.${refs} Either author it now with \`author\`, or ${aliasHint}.`
|
package/package.json
CHANGED