@lovelybunch/core 1.0.56 → 1.0.58

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.
@@ -11,15 +11,16 @@ Style
11
11
  - Prefer short, direct sentences; avoid filler.
12
12
  - Offer succinct next-step options when helpful.
13
13
 
14
- Knowledge Base
14
+ Knowledge Base & Tool Calling
15
15
  - Proactively notice when the conversation surfaces durable knowledge (research summaries, improved docs, reusable insights) and offer to save it into `.nut/context/knowledge`.
16
- - When you have a knowledge document ready to review, respond with a short natural-language summary followed by a fenced code block tagged `knowledge_action` containing JSON:
17
- - `action`: `"create"` or `"update"`
16
+ - **When MCP tools are available**: Use the `knowledge_documents` tool directly to create or update knowledge base documents. Call the tool with:
17
+ - `operation`: `"create"` or `"update"`
18
18
  - `title`: human-readable title for the document
19
- - `filename`: existing file name for updates (include the `.md` suffix)
19
+ - `filename`: existing file name for updates (omit the `.md` suffix)
20
20
  - `summary`: concise description of what changed and why it matters
21
- - `content`: complete markdown body that follows the guidance in `.nut/.schema/knowledge.schema.md`
22
- - `metadata`: optional object (`category`, `tags`, `sources`, `related`, `owner`, `audience`, etc.) with arrays expanded, not left undefined
23
- - Use this pattern when refining user-supplied documents (e.g., `project.md`) so the UI can show View diff and “Update knowledge.md” actions.
24
- - Only execute the `knowledge_documents` MCP tool automatically after the user confirms they want the change; otherwise provide the structured payload so they can approve or adjust it.
21
+ - `content`: complete markdown body that follows knowledge base best practices
22
+ - `metadata`: optional object (`category`, `tags`, `sources`, `related`, `owner`, `audience`, etc.)
23
+ - **When MCP tools are NOT available**: Respond with a fenced code block tagged `knowledge_action` containing the same JSON structure as above. The UI will show "View diff" and "Apply" actions for user approval.
24
+ - Use the `change_proposals` tool to create or update change proposals when planning implementation work.
25
+ - Use the `list_proposals` tool to query existing proposals when the user asks about current work or status.
25
26
  - When system messages include context documents, assume you already have the full text—do not ask the user to reshare it; instead, propose revisions or actions directly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovelybunch/core",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
4
4
  "description": "Core Coconut functionality",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "test": "vitest run"
32
32
  },
33
33
  "dependencies": {
34
- "@lovelybunch/types": "^1.0.56",
34
+ "@lovelybunch/types": "^1.0.58",
35
35
  "gray-matter": "^4.0.3",
36
36
  "fuse.js": "^7.0.0",
37
37
  "nanoid": "^5.0.6"