@runeya/runeya 2.0.156 → 2.0.157
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/{chat-7V3FN2PU.js → chat-X6GWKPKG.js} +4 -4
- package/{chunk-LUFAT2NW.js → chunk-6L273MQO.js} +5 -4
- package/chunk-6L273MQO.js.map +1 -0
- package/{chunk-S5M6KX5K.js → chunk-I4FSX522.js} +3 -3
- package/{chunk-NJDF4CDG.js → chunk-IYL545N3.js} +3 -3
- package/{companion-AF7G2FNC.js → companion-V6ITOFSU.js} +2 -2
- package/{external-DHD7PLKK.js → external-WZQUS7LY.js} +2 -2
- package/index.js +8 -8
- package/{install-gate-L27RKPNM.js → install-gate-3ZDX3AUO.js} +2 -2
- package/mcp-server/external.js +4 -3
- package/mcp-server/external.js.map +1 -1
- package/mcp-server/index.js +4 -3
- package/mcp-server/index.js.map +1 -1
- package/package.json +1 -1
- package/{src-YFOQ4ZCE.js → src-YR5RF76Z.js} +5 -5
- package/chunk-LUFAT2NW.js.map +0 -1
- /package/{chat-7V3FN2PU.js.map → chat-X6GWKPKG.js.map} +0 -0
- /package/{chunk-S5M6KX5K.js.map → chunk-I4FSX522.js.map} +0 -0
- /package/{chunk-NJDF4CDG.js.map → chunk-IYL545N3.js.map} +0 -0
- /package/{companion-AF7G2FNC.js.map → companion-V6ITOFSU.js.map} +0 -0
- /package/{external-DHD7PLKK.js.map → external-WZQUS7LY.js.map} +0 -0
- /package/{install-gate-L27RKPNM.js.map → install-gate-3ZDX3AUO.js.map} +0 -0
- /package/{src-YFOQ4ZCE.js.map → src-YR5RF76Z.js.map} +0 -0
package/mcp-server/index.js
CHANGED
|
@@ -1875,6 +1875,7 @@ function readPageAnswer(result, input) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
+
var KNOWLEDGE_MARKDOWN_NOTE = "Markdown tables are kept. Pages hold no images or HTML, and links only to web, mailto: or kb:<pageId> addresses: when the Markdown you sent lost something, the answer says what in conversion.";
|
|
1878
1879
|
var KNOWLEDGE_LOCK_NOTE = "A page locked by a person cannot be changed by you: the call is refused, tell the user what you would change instead.";
|
|
1879
1880
|
var KNOWLEDGE_CAPABILITIES = [
|
|
1880
1881
|
{
|
|
@@ -2053,7 +2054,7 @@ var KNOWLEDGE_CAPABILITIES = [
|
|
|
2053
2054
|
},
|
|
2054
2055
|
{
|
|
2055
2056
|
name: "knowledge_create_page",
|
|
2056
|
-
description: `Create a knowledge page. Search first: update an existing page rather than creating a duplicate. The answer lists pages with an almost identical title (similar): if one is the same subject, mark the new page obsolete and complete the existing one. Give a precise title, a one or two sentence summary (it is what searches show), aliases (other names people use), themes and links. Sections default to those of the type; give your own as [{"heading","markdown"}]. Cite other pages in Markdown as [title](kb:<pageId>). Types: ${KNOWLEDGE_TYPES_DOC}`,
|
|
2057
|
+
description: `Create a knowledge page. Search first: update an existing page rather than creating a duplicate. The answer lists pages with an almost identical title (similar): if one is the same subject, mark the new page obsolete and complete the existing one. Give a precise title, a one or two sentence summary (it is what searches show), aliases (other names people use), themes and links. Sections default to those of the type; give your own as [{"heading","markdown"}]. Cite other pages in Markdown as [title](kb:<pageId>). ${KNOWLEDGE_MARKDOWN_NOTE} Types: ${KNOWLEDGE_TYPES_DOC}`,
|
|
2057
2058
|
route: "knowledge.createPage",
|
|
2058
2059
|
method: "POST",
|
|
2059
2060
|
params: [
|
|
@@ -2112,7 +2113,7 @@ var KNOWLEDGE_CAPABILITIES = [
|
|
|
2112
2113
|
},
|
|
2113
2114
|
{
|
|
2114
2115
|
name: "knowledge_update_section",
|
|
2115
|
-
description: `Write one section of a page body, named by its heading (case and accents ignored): replace its content, append to it, or remove it. A heading that does not exist is an error listing the sections (often a typo); set create to true to add it at the end. An empty heading is the text before the first section. Inside the markdown, use ### or deeper for subheadings: a # or ## line is refused. Other sections are left untouched, including what a person is typing in them. ${KNOWLEDGE_LOCK_NOTE}`,
|
|
2116
|
+
description: `Write one section of a page body, named by its heading (case and accents ignored): replace its content, append to it, or remove it. A heading that does not exist is an error listing the sections (often a typo); set create to true to add it at the end. An empty heading is the text before the first section. Inside the markdown, use ### or deeper for subheadings: a # or ## line is refused. Other sections are left untouched, including what a person is typing in them. ${KNOWLEDGE_MARKDOWN_NOTE} ${KNOWLEDGE_LOCK_NOTE}`,
|
|
2116
2117
|
route: "knowledge.editSection",
|
|
2117
2118
|
method: "POST",
|
|
2118
2119
|
params: [
|
|
@@ -2146,7 +2147,7 @@ var KNOWLEDGE_CAPABILITIES = [
|
|
|
2146
2147
|
},
|
|
2147
2148
|
{
|
|
2148
2149
|
name: "knowledge_edit_text",
|
|
2149
|
-
description: `Replace an exact passage of a page body, like a text editor: send only the old text and the new one, not the whole section. The passage is matched against the Markdown returned by knowledge_get_page (so bold is **\u2026**, a page link is [title](kb:id)) and must appear exactly once, in the given section or in the whole body; otherwise nothing is written and the error says whether it is missing or ambiguous. The answer gives the page id, title, status, lock and last update and, for each edited section, only the paragraphs that are new or changed, their previous version and how many were deleted without replacement (editedSections); the other sections are listed by heading, and the rest of the sheet (themes, fields, links) is left out: read it with knowledge_get_page. Prefer it to knowledge_update_section for a change inside a long section. To insert text, anchor on the words around the insertion point: to complete "We chose Mongo." send find "We chose Mongo." and replace "We chose Mongo for its flexibility.". ${KNOWLEDGE_LOCK_NOTE}`,
|
|
2150
|
+
description: `Replace an exact passage of a page body, like a text editor: send only the old text and the new one, not the whole section. The passage is matched against the Markdown returned by knowledge_get_page (so bold is **\u2026**, a page link is [title](kb:id)) and must appear exactly once, in the given section or in the whole body; otherwise nothing is written and the error says whether it is missing or ambiguous. The answer gives the page id, title, status, lock and last update and, for each edited section, only the paragraphs that are new or changed, their previous version and how many were deleted without replacement (editedSections); the other sections are listed by heading, and the rest of the sheet (themes, fields, links) is left out: read it with knowledge_get_page. Prefer it to knowledge_update_section for a change inside a long section. To insert text, anchor on the words around the insertion point: to complete "We chose Mongo." send find "We chose Mongo." and replace "We chose Mongo for its flexibility.". ${KNOWLEDGE_MARKDOWN_NOTE} ${KNOWLEDGE_LOCK_NOTE}`,
|
|
2150
2151
|
route: "knowledge.editText",
|
|
2151
2152
|
method: "POST",
|
|
2152
2153
|
params: [
|