@nomad-e/bluma-cli 0.1.30 → 0.1.32
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/README.md +435 -49
- package/dist/config/native_tools.json +12 -8
- package/dist/main.js +1459 -664
- package/package.json +2 -1
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"type": "function",
|
|
41
41
|
"function": {
|
|
42
42
|
"name": "edit_tool",
|
|
43
|
-
"description": "
|
|
43
|
+
"description": "Replaces exact text in a file or creates a new file. Prefer **one** well-scoped edit over many tiny edits.\n\n**Critical — avoid line-by-line surgery:**\n- Do **not** change the same file in a dozen sequential calls with one line each; that drifts, breaks whitespace, and often fails.\n- After `read_file_lines`, copy a **single contiguous block** (whole function, whole component, or 5–20 lines with unique context) into `old_string`, then replace with your revised block in `new_string`.\n- If the tool reports no match or ambiguous match, **widen** `old_string` (more surrounding lines) or fix indentation to match the file **exactly** — do not blindly retry a one-line fragment.\n\n**CLI note:** The user may press Ctrl+O to see more lines of a **truncated** read/shell preview in the terminal. That view is UI-only and may still omit lines; always trust `read_file_lines` for exact text and whitespace before calling `edit_tool`.\n\n**Checklist:**\n1. Read the file first; use literal newlines in `old_string`/`new_string` (not the two-character sequence backslash-n).\n2. `expected_replacements` must match how many times `old_string` appears (default 1).\n3. New file: `old_string` empty, `new_string` full content.",
|
|
44
44
|
"parameters": {
|
|
45
45
|
"type": "object",
|
|
46
46
|
"properties": {
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
"properties": {
|
|
561
561
|
"skill_name": {
|
|
562
562
|
"type": "string",
|
|
563
|
-
"description": "
|
|
563
|
+
"description": "Exact skill name from the <available_skills> list in the system prompt (e.g. git-commit, git-pr, pdf). Do not invent names — use only names listed there."
|
|
564
564
|
}
|
|
565
565
|
},
|
|
566
566
|
"required": [
|
|
@@ -573,29 +573,33 @@
|
|
|
573
573
|
"type": "function",
|
|
574
574
|
"function": {
|
|
575
575
|
"name": "coding_memory",
|
|
576
|
-
"description": "
|
|
576
|
+
"description": "CRUD for durable coding notes on disk (~/.bluma/coding_memory.json), separate from chat. There is **no** action to wipe all entries: delete only one id at a time with `remove`.",
|
|
577
577
|
"parameters": {
|
|
578
578
|
"type": "object",
|
|
579
579
|
"properties": {
|
|
580
580
|
"action": {
|
|
581
581
|
"type": "string",
|
|
582
|
-
"description": "
|
|
583
|
-
"enum": ["add", "list", "search", "
|
|
582
|
+
"description": "add=new note | list=all entries with ids | search=filter by query | remove=delete one entry by id | update=change note and/or tags for one id",
|
|
583
|
+
"enum": ["add", "list", "search", "remove", "update"]
|
|
584
|
+
},
|
|
585
|
+
"id": {
|
|
586
|
+
"type": "integer",
|
|
587
|
+
"description": "Required for remove and update. Obtain from list, search, or the id shown in the system prompt snapshot."
|
|
584
588
|
},
|
|
585
589
|
"note": {
|
|
586
590
|
"type": "string",
|
|
587
|
-
"description": "
|
|
591
|
+
"description": "For add: full note text. For update: new note text (non-empty); omit if only changing tags."
|
|
588
592
|
},
|
|
589
593
|
"tags": {
|
|
590
594
|
"type": "array",
|
|
591
595
|
"items": {
|
|
592
596
|
"type": "string"
|
|
593
597
|
},
|
|
594
|
-
"description": "
|
|
598
|
+
"description": "For add: optional tags. For update: optional new tag list (replaces tags when provided)."
|
|
595
599
|
},
|
|
596
600
|
"query": {
|
|
597
601
|
"type": "string",
|
|
598
|
-
"description": "
|
|
602
|
+
"description": "Required for search. Matches note text and tags."
|
|
599
603
|
}
|
|
600
604
|
},
|
|
601
605
|
"required": ["action"]
|