@naumu/mcp 0.16.0 → 0.17.0
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 +7 -3
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ function parseRetryAfterSeconds(retryAfter) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// ../mcp-core/src/version.ts
|
|
44
|
-
var NAUMU_MCP_VERSION = "0.
|
|
44
|
+
var NAUMU_MCP_VERSION = "0.17.0";
|
|
45
45
|
|
|
46
46
|
// ../mcp-core/src/client.ts
|
|
47
47
|
var HEADER_VALUE_MAX_LENGTH = 100;
|
|
@@ -1706,7 +1706,7 @@ function registerCreateTopic(server2, client2) {
|
|
|
1706
1706
|
{
|
|
1707
1707
|
title: "Create Topic",
|
|
1708
1708
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
1709
|
-
description: 'Create a new topic (filing destination) in a space; use when the topic a thread or note should be filed into does not exist yet. Check `naumu_list_topics` first so you reuse an existing topic instead of creating a near-duplicate. Returns the created topic `{id, name, color, visibilityMode, archived, openToWeb, webParticipation, createdAt, createdBy, memberIds, isMember}` - pass the returned `id` to the `topicIds` param of naumu_delegate, naumu_ask or naumu_create_note to file work into it. Name rules (validated before the call): lowercase letters, numbers and "-" only (channel-slug style, e.g. "core-team"), at most 50 characters, and never one of the reserved names all, everyone, naumu, here, misc, hidden, space, shared-with-you. Names are unique per space, case-insensitively. Requires admin rights on the space: editors and bot identities always get a 403, so do not attempt this on behalf of a bot. `visibilityMode` defaults to "open"; the caller is always added as a member, and `openToWeb` cannot be combined with a "closed" topic. Resolve `graphId` via naumu_list_graphs first.',
|
|
1709
|
+
description: 'Create a new topic (filing destination) in a space; use when the topic a thread or note should be filed into does not exist yet. Check `naumu_list_topics` first so you reuse an existing topic instead of creating a near-duplicate. Returns the created topic `{id, name, color, visibilityMode, archived, openToWeb, webParticipation, createdAt, createdBy, memberIds, isMember}` - pass the returned `id` to the `topicIds` param of naumu_delegate, naumu_ask or naumu_create_note to file work into it. Name rules (validated before the call): lowercase letters, numbers and "-" only (channel-slug style, e.g. "core-team"), at most 50 characters, and never one of the reserved names all, everyone, naumu, here, misc, hidden, space, shared-with-you. Names are unique per space, case-insensitively. Requires admin rights on the space: editors and bot identities always get a 403, so do not attempt this on behalf of a bot. `visibilityMode` defaults to "open"; the caller is always added as a member, and `openToWeb` cannot be combined with a "closed" topic. Pass `notifyOn: "people"` for topics that will mostly hold automated posts - work logs, alerts, imports, scheduled digests - so members are not notified on every API/MCP or agent message; a person writing in a thread there, or tagging someone, still notifies. Resolve `graphId` via naumu_list_graphs first.',
|
|
1710
1710
|
inputSchema: z28.object({
|
|
1711
1711
|
graphId: z28.string().describe("The space (graph) id to create the topic in."),
|
|
1712
1712
|
name: z28.string().min(1).describe(
|
|
@@ -1718,12 +1718,15 @@ function registerCreateTopic(server2, client2) {
|
|
|
1718
1718
|
),
|
|
1719
1719
|
openToWeb: z28.boolean().optional().describe('Expose the topic publicly on the web. Invalid together with visibilityMode "closed".'),
|
|
1720
1720
|
webParticipation: z28.enum(["participate", "view-only"]).optional().describe('What public web visitors may do when openToWeb is true. Defaults to "view-only".'),
|
|
1721
|
+
notifyOn: z28.enum(["everyone", "people"]).optional().describe(
|
|
1722
|
+
`Who the topic notifies. "everyone" (the default) notifies members on every message. "people" keeps automated posts silent: a thread with no human-typed message that is filed only in people-only topics never notifies, badges or enters anyone's Focus until a person writes in it or someone is tagged. Use "people" for work-log, alert, import and digest topics.`
|
|
1723
|
+
),
|
|
1721
1724
|
memberIds: z28.array(z28.string()).optional().describe(
|
|
1722
1725
|
"User ids to add as topic members (get them from naumu_list_members). Ids that are not current space members are silently dropped. The caller is always added regardless."
|
|
1723
1726
|
)
|
|
1724
1727
|
})
|
|
1725
1728
|
},
|
|
1726
|
-
async ({ graphId, name, color, visibilityMode, openToWeb, webParticipation, memberIds }) => {
|
|
1729
|
+
async ({ graphId, name, color, visibilityMode, openToWeb, webParticipation, notifyOn, memberIds }) => {
|
|
1727
1730
|
const nameError = validateTopicName(name);
|
|
1728
1731
|
if (nameError) {
|
|
1729
1732
|
return {
|
|
@@ -1754,6 +1757,7 @@ function registerCreateTopic(server2, client2) {
|
|
|
1754
1757
|
visibilityMode,
|
|
1755
1758
|
openToWeb,
|
|
1756
1759
|
webParticipation,
|
|
1760
|
+
notifyOn,
|
|
1757
1761
|
memberIds
|
|
1758
1762
|
});
|
|
1759
1763
|
return {
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "ai.naumu/mcp",
|
|
4
4
|
"title": "Naumu",
|
|
5
5
|
"description": "Search, extend, and act on your team's Naumu knowledge graph: notes, threads, and nodes.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.17.0",
|
|
7
7
|
"websiteUrl": "https://naumu.ai",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/naumu-ai/mcp",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"registryType": "npm",
|
|
28
28
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
29
29
|
"identifier": "@naumu/mcp",
|
|
30
|
-
"version": "0.
|
|
30
|
+
"version": "0.17.0",
|
|
31
31
|
"runtimeHint": "npx",
|
|
32
32
|
"transport": { "type": "stdio" },
|
|
33
33
|
"environmentVariables": [
|