negotium 0.2.17 → 0.2.18
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/agent-helpers.js +41 -32
- package/dist/agent-helpers.js.map +9 -9
- package/dist/{chunk-5cpdbbeh.js → chunk-fc58cqry.js} +3 -1
- package/dist/{chunk-5cpdbbeh.js.map → chunk-fc58cqry.js.map} +3 -3
- package/dist/hosted-agent.js +4 -2
- package/dist/hosted-agent.js.map +4 -4
- package/dist/main.js +662 -93
- package/dist/main.js.map +11 -11
- package/dist/mcp-factories.js +659 -91
- package/dist/mcp-factories.js.map +10 -10
- package/dist/prompts.js +8 -8
- package/dist/prompts.js.map +3 -3
- package/dist/registry.js +3 -3
- package/dist/registry.js.map +2 -2
- package/dist/rollout.js +1 -1
- package/dist/runtime/src/agents/idle-archiver.ts +3 -2
- package/dist/runtime/src/mcp/canonical-proxy-server.ts +18 -1
- package/dist/runtime/src/mcp/wiki-server.ts +801 -59
- package/dist/runtime/src/platform/mcp-config.ts +1 -0
- package/dist/runtime/src/prompts/agents/wiki-archiver.md +16 -6
- package/dist/runtime/src/prompts/builders.ts +17 -34
- package/dist/runtime/src/runtime/turn-runner.ts +14 -17
- package/dist/runtime/src/storage/api-topics.ts +13 -4
- package/dist/runtime/src/topics/lifecycle.ts +3 -2
- package/dist/runtime/src/types/api.ts +6 -0
- package/dist/runtime/src/version.ts +1 -1
- package/dist/storage.js +12 -6
- package/dist/storage.js.map +3 -3
- package/dist/types/packages/core/src/mcp/wiki-server.d.ts +4 -0
- package/dist/types/packages/core/src/prompts/builders.d.ts +2 -4
- package/dist/types/packages/core/src/storage/api-topics.d.ts +1 -0
- package/dist/types/packages/core/src/types/api.d.ts +6 -0
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -91,10 +91,27 @@ const wikiTools: Tool[] = [
|
|
|
91
91
|
description: "Search the canonical workspace wiki.",
|
|
92
92
|
inputSchema: {
|
|
93
93
|
type: "object",
|
|
94
|
-
properties: {
|
|
94
|
+
properties: {
|
|
95
|
+
question: { type: "string" },
|
|
96
|
+
kind: { type: "string", enum: ["all", "topic", "article", "summary"] },
|
|
97
|
+
limit: { type: "number", minimum: 1, maximum: 20 },
|
|
98
|
+
},
|
|
95
99
|
required: ["question"],
|
|
96
100
|
},
|
|
97
101
|
},
|
|
102
|
+
{
|
|
103
|
+
name: "wiki_read",
|
|
104
|
+
description: "Read a canonical wiki result and optionally adopt a topic memory.",
|
|
105
|
+
inputSchema: {
|
|
106
|
+
type: "object",
|
|
107
|
+
properties: {
|
|
108
|
+
kind: { type: "string", enum: ["topic", "article", "summary"] },
|
|
109
|
+
key: { type: "string" },
|
|
110
|
+
adopt: { type: "boolean" },
|
|
111
|
+
},
|
|
112
|
+
required: ["kind", "key"],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
98
115
|
{
|
|
99
116
|
name: "wiki_topic_brief",
|
|
100
117
|
description: "Read this canonical topic's brief.",
|