konoha-mcp 2.1.12 → 2.1.14
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/.agents/skills/konoha/SKILL.md +25 -0
- package/.agents/skills/tokubetsu-jonin-skill/SKILL.md +48 -23
- package/.agents/skills/tokubetsu-jonin-skill/references/docx.md +25 -4
- package/.agents/skills/tokubetsu-jonin-skill/references/elite-powerpoint-designer.md +48 -23
- package/.agents/skills/tokubetsu-jonin-skill/references/pdf.md +78 -46
- package/.agents/skills/tokubetsu-jonin-skill/references/pptx-assets/scripts/office/soffice.py +15 -10
- package/.agents/skills/tokubetsu-jonin-skill/references/pptx.md +25 -3
- package/.agents/skills/tokubetsu-jonin-skill/references/xlsx-assets/scripts/office/soffice.py +15 -10
- package/.agents/skills/tokubetsu-jonin-skill/references/xlsx.md +60 -33
- package/.agents/skills/tokubetsu-jonin-skill/references/zero-ai-human-writing.md +34 -11
- package/.agents/skills.fingerprint +1 -1
- package/README.md +18 -6
- package/apps/web/build/adapter-node.js +1 -1
- package/apps/web/build/client/_app/version.json +1 -1
- package/apps/web/build/client/_app/version.json.br +0 -0
- package/apps/web/build/client/_app/version.json.gz +0 -0
- package/apps/web/build/server/chunks/instance.js +3 -3
- package/apps/web/build/server/chunks/internal.js +1 -1
- package/apps/web/package.json +1 -1
- package/bin/cli.js +11 -10
- package/docs/ALL-WORKFLOW-DIAGRAMS.md +642 -0
- package/docs/ARCHITECTURE.md +15 -5
- package/docs/SETUP-CLI.md +1 -1
- package/docs/SecurityCompliance/security_compliance_report_google_policy_2.1.13_2026-10-07.md +95 -0
- package/docs/SecurityCompliance/security_compliance_report_google_policy_2.1.14_2026-10-08.md +88 -0
- package/docs/diagrams/README.md +1 -1
- package/package.json +3 -2
- package/src/agent_manager.js +20 -4
- package/src/canonical_skills.js +381 -0
- package/src/cursor_manager.js +7 -11
- package/src/deploy_utils.js +3 -1
- package/src/file_tools_router.js +3 -1
- package/src/mcp/anti_slop.js +281 -0
- package/src/mcp/memory_reporting.js +21 -0
- package/src/mcp/skills.js +278 -0
- package/src/mcp/tool_dispatch.js +14 -1
- package/src/mcp/workflow.js +1 -1
- package/src/mcp_tool_manifest.json +59 -0
- package/src/migrate.js +23 -0
- package/src/templates/agents.yaml +21 -0
- package/src/templates/skills/konoha/SKILL.md +25 -0
- package/src/templates/skills/tokubetsu-jonin-skill/SKILL.md +48 -23
- package/src/templates/skills/tokubetsu-jonin-skill/references/docx.md +25 -4
- package/src/templates/skills/tokubetsu-jonin-skill/references/elite-powerpoint-designer.md +48 -23
- package/src/templates/skills/tokubetsu-jonin-skill/references/pdf.md +78 -46
- package/src/templates/skills/tokubetsu-jonin-skill/references/pptx-assets/scripts/office/soffice.py +15 -10
- package/src/templates/skills/tokubetsu-jonin-skill/references/pptx.md +25 -3
- package/src/templates/skills/tokubetsu-jonin-skill/references/xlsx-assets/scripts/office/soffice.py +15 -10
- package/src/templates/skills/tokubetsu-jonin-skill/references/xlsx.md +60 -33
- package/src/templates/skills/tokubetsu-jonin-skill/references/zero-ai-human-writing.md +34 -11
- package/src/vector_search.js +11 -6
- package/.agents/skills/helm-chart-scaffolding/SKILL.md +0 -71
- package/.agents/skills/helm-chart-scaffolding/assets/Chart.yaml.template +0 -42
- package/.agents/skills/helm-chart-scaffolding/assets/values.yaml.template +0 -185
- package/.agents/skills/helm-chart-scaffolding/references/chart-structure.md +0 -509
- package/.agents/skills/helm-chart-scaffolding/references/details.md +0 -497
- package/.agents/skills/helm-chart-scaffolding/scripts/validate-chart.sh +0 -244
- package/src/templates/skills/helm-chart-scaffolding/SKILL.md +0 -71
- package/src/templates/skills/helm-chart-scaffolding/references/chart-structure.md +0 -509
- package/src/templates/skills/helm-chart-scaffolding/references/details.md +0 -497
|
@@ -21,8 +21,29 @@ Use this reference whenever building, modifying, or styling presentations and sl
|
|
|
21
21
|
## 1. Zero-AI Slide Design Invariants
|
|
22
22
|
|
|
23
23
|
When creating slide presentations:
|
|
24
|
-
- **Strict Light Mode
|
|
25
|
-
- **
|
|
24
|
+
- **Strict Light Mode & Zero Black/Dark Invariant**: Under NO circumstances generate, style, or refine slides with black, dark gray, or dark blue anywhere (text, fills, lines, backgrounds). Strictly forbidden: `#000000`, `#000`, dark navy, dark slate (`#0F172A`, `#1E293B`, `#1E3A8A`), or dark blocks. All slides must use pure white (`#FFFFFF`) or pearl (`#F8FAFC`), with text strictly in **medium slate `#64748B`**.
|
|
25
|
+
- **20 Canonical 4-Base-Color Themes**: When decorative color or visual emphasis is needed for title covers, headers, footers, card accent strips, or divider rules, ALWAYS apply a smooth **4-base-color gradient**, randomly selecting ONE of the 20 canonical themes (T01–T20) per deck and keeping it consistent throughout:
|
|
26
|
+
- **T01**: `linear-gradient(90deg,#8A4FD0,#E8453C,#F08A24,#F7C948)`
|
|
27
|
+
- **T02**: `linear-gradient(90deg,#17B3A3,#3A8DDE,#8A4FD0,#E85DA0)`
|
|
28
|
+
- **T03**: `linear-gradient(90deg,#34B38A,#F7C948,#F08A24,#E85DA0)`
|
|
29
|
+
- **T04**: `linear-gradient(90deg,#3A8DDE,#17B3A3,#6FCF7A,#F7C948)`
|
|
30
|
+
- **T05**: `linear-gradient(90deg,#8A4FD0,#D6459E,#E8453C,#F5A04A)`
|
|
31
|
+
- **T06**: `linear-gradient(90deg,#5CC46A,#F7C948,#F08A24,#E8453C)`
|
|
32
|
+
- **T07**: `linear-gradient(90deg,#4F8DF0,#8A4FD0,#E85DA0,#F5A04A)`
|
|
33
|
+
- **T08**: `linear-gradient(90deg,#17B3A3,#6FCF7A,#F7C948,#F2705F)`
|
|
34
|
+
- **T09**: `linear-gradient(90deg,#3AA6C9,#8A4FD0,#E85DA0,#F7C948)`
|
|
35
|
+
- **T10**: `linear-gradient(90deg,#3A8DDE,#52D1BC,#8BCB4A,#F5A623)`
|
|
36
|
+
- **T11**: `linear-gradient(90deg,#8A4FD0,#E85DA0,#F2705F,#F7C948)`
|
|
37
|
+
- **T12**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#E85D75)`
|
|
38
|
+
- **T13**: `linear-gradient(90deg,#4F8DF0,#D6459E,#E85D75,#F5A04A)`
|
|
39
|
+
- **T14**: `linear-gradient(90deg,#8A4FD0,#3A8DDE,#17B3A3,#8BCB4A)`
|
|
40
|
+
- **T15**: `linear-gradient(90deg,#E85DA0,#E8453C,#F08A24,#8BCB4A)`
|
|
41
|
+
- **T16**: `linear-gradient(90deg,#7C5CE0,#3A8DDE,#52D1BC,#6FCF7A)`
|
|
42
|
+
- **T17**: `linear-gradient(90deg,#E8453C,#F08A24,#F7C948,#8BCB4A)`
|
|
43
|
+
- **T18**: `linear-gradient(90deg,#3A8DDE,#8A4FD0,#D6459E,#F2705F)`
|
|
44
|
+
- **T19**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#F08A24)`
|
|
45
|
+
- **T20**: `linear-gradient(90deg,#E85DA0,#F08A24,#F7C948,#17B3A3)`
|
|
46
|
+
- **Strict Typography Contract**: PowerPoint strictly uses **Segoe UI Semibold or Georgia (headings) + Segoe UI or Calibri (body)** with consistent spacing, alignment, and visual hierarchy.
|
|
26
47
|
- **The "Rule of One"**: Exactly 1 central thesis or key takeaway per slide.
|
|
27
48
|
- **Strict Ban on AI Bullet Walls**: Never write slides with 4–6 generic bullet points of identical sentence length.
|
|
28
49
|
- *Bad (AI)*: 5 bullets each starting with "Ensures that...", "Facilitates...", "Helps to optimize..."
|
|
@@ -30,8 +51,9 @@ When creating slide presentations:
|
|
|
30
51
|
- **Stat Callouts as Visuals**: When presenting performance, savings, or metrics, render the number in massive 44–60pt bold font with a concise 12pt label below it.
|
|
31
52
|
- **Asymmetric 2-Column Layouts**: Use 60/40 or 70/30 split layouts (e.g. left side big takeaway and key metrics, right side data table or architectural diagram).
|
|
32
53
|
- **16:9 Widescreen Standard**: Always format for 16:9 widescreen (`layout: 'LAYOUT_16x9'` in pptxgenjs; `slide_width = Inches(13.333)`, `slide_height = Inches(7.5)` in python-pptx).
|
|
33
|
-
- **Strict Zero Watermark Invariant**: Under NO circumstances should presentation slide decks contain watermarks, translucent
|
|
54
|
+
- **Strict Zero Watermark Invariant**: Under NO circumstances should presentation slide decks contain watermarks, translucent stamps, or background evaluation watermarks.
|
|
34
55
|
- **Metadata Scrubbing**: Set core presentation properties (`creator`, `lastModifiedBy`, `title`) to the human author or project name; remove `python-pptx` and `pptxgenjs` tags.
|
|
56
|
+
- **Mandatory Kage Review Gate**: Always use Kage review on every generated PPTX presentation.
|
|
35
57
|
|
|
36
58
|
---
|
|
37
59
|
|
package/.agents/skills/tokubetsu-jonin-skill/references/xlsx-assets/scripts/office/soffice.py
CHANGED
|
@@ -47,10 +47,9 @@ def run_soffice(args: Iterable[str], **kwargs) -> subprocess.CompletedProcess:
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
_SHIM_SO = Path(tempfile.gettempdir()) / "lo_socket_shim.so"
|
|
51
|
-
|
|
52
|
-
|
|
53
50
|
def _needs_shim() -> bool:
|
|
51
|
+
if os.environ.get("ENABLE_SOFFICE_SOCKET_SHIM") != "1":
|
|
52
|
+
return False
|
|
54
53
|
try:
|
|
55
54
|
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
56
55
|
s.close()
|
|
@@ -60,18 +59,24 @@ def _needs_shim() -> bool:
|
|
|
60
59
|
|
|
61
60
|
|
|
62
61
|
def _ensure_shim() -> Path:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
# Use a secure, user-private directory (mode 0700) to avoid shared temp attacks
|
|
63
|
+
uid = getattr(os, "getuid", lambda: "safe")()
|
|
64
|
+
shim_dir = Path(tempfile.gettempdir()) / f"lo_shim_uid_{uid}"
|
|
65
|
+
shim_dir.mkdir(mode=0o700, parents=True, exist_ok=True)
|
|
66
|
+
shim_so = shim_dir / "lo_socket_shim.so"
|
|
67
|
+
if shim_so.exists():
|
|
68
|
+
return shim_so
|
|
69
|
+
|
|
70
|
+
src = shim_dir / "lo_socket_shim.c"
|
|
67
71
|
src.write_text(_SHIM_SOURCE)
|
|
68
72
|
subprocess.run(
|
|
69
|
-
["gcc", "-shared", "-fPIC", "-o", str(
|
|
73
|
+
["gcc", "-shared", "-fPIC", "-o", str(shim_so), str(src), "-ldl"],
|
|
70
74
|
check=True,
|
|
71
75
|
capture_output=True,
|
|
72
76
|
)
|
|
73
|
-
src.
|
|
74
|
-
|
|
77
|
+
if src.exists():
|
|
78
|
+
src.unlink()
|
|
79
|
+
return shim_so
|
|
75
80
|
|
|
76
81
|
|
|
77
82
|
|
|
@@ -20,8 +20,29 @@ Use this reference whenever generating, editing, or auditing Microsoft Excel (.x
|
|
|
20
20
|
## 1. Zero-AI Human Data Presentation Invariants
|
|
21
21
|
|
|
22
22
|
When creating spreadsheets:
|
|
23
|
-
- **Strict Light Mode
|
|
24
|
-
- **
|
|
23
|
+
- **Strict Light Mode & Zero Black/Dark Invariant**: Under NO circumstances create, generate, or style Excel workbooks with black, dark gray, or dark blue anywhere (text, fills, lines, backgrounds). Strictly forbidden: `#000000`, `#000`, dark navy, dark slate (`#0F172A`, `#1E293B`, `#1E3A8A`), or dark blocks. All sheet backgrounds must be pure white (`#FFFFFF`) or pearl (`#F8FAFC`), with text strictly in **medium slate `#64748B`**.
|
|
24
|
+
- **20 Canonical 4-Base-Color Themes**: When decorative accent styling is applied (such as top accent ribbons on table headers, summary cards, or KPI divider rows), ALWAYS apply a smooth **4-base-color gradient**, randomly selecting ONE of the 20 canonical themes (T01–T20) per document and keeping it consistent throughout:
|
|
25
|
+
- **T01**: `linear-gradient(90deg,#8A4FD0,#E8453C,#F08A24,#F7C948)`
|
|
26
|
+
- **T02**: `linear-gradient(90deg,#17B3A3,#3A8DDE,#8A4FD0,#E85DA0)`
|
|
27
|
+
- **T03**: `linear-gradient(90deg,#34B38A,#F7C948,#F08A24,#E85DA0)`
|
|
28
|
+
- **T04**: `linear-gradient(90deg,#3A8DDE,#17B3A3,#6FCF7A,#F7C948)`
|
|
29
|
+
- **T05**: `linear-gradient(90deg,#8A4FD0,#D6459E,#E8453C,#F5A04A)`
|
|
30
|
+
- **T06**: `linear-gradient(90deg,#5CC46A,#F7C948,#F08A24,#E8453C)`
|
|
31
|
+
- **T07**: `linear-gradient(90deg,#4F8DF0,#8A4FD0,#E85DA0,#F5A04A)`
|
|
32
|
+
- **T08**: `linear-gradient(90deg,#17B3A3,#6FCF7A,#F7C948,#F2705F)`
|
|
33
|
+
- **T09**: `linear-gradient(90deg,#3AA6C9,#8A4FD0,#E85DA0,#F7C948)`
|
|
34
|
+
- **T10**: `linear-gradient(90deg,#3A8DDE,#52D1BC,#8BCB4A,#F5A623)`
|
|
35
|
+
- **T11**: `linear-gradient(90deg,#8A4FD0,#E85DA0,#F2705F,#F7C948)`
|
|
36
|
+
- **T12**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#E85D75)`
|
|
37
|
+
- **T13**: `linear-gradient(90deg,#4F8DF0,#D6459E,#E85D75,#F5A04A)`
|
|
38
|
+
- **T14**: `linear-gradient(90deg,#8A4FD0,#3A8DDE,#17B3A3,#8BCB4A)`
|
|
39
|
+
- **T15**: `linear-gradient(90deg,#E85DA0,#E8453C,#F08A24,#8BCB4A)`
|
|
40
|
+
- **T16**: `linear-gradient(90deg,#7C5CE0,#3A8DDE,#52D1BC,#6FCF7A)`
|
|
41
|
+
- **T17**: `linear-gradient(90deg,#E8453C,#F08A24,#F7C948,#8BCB4A)`
|
|
42
|
+
- **T18**: `linear-gradient(90deg,#3A8DDE,#8A4FD0,#D6459E,#F2705F)`
|
|
43
|
+
- **T19**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#F08A24)`
|
|
44
|
+
- **T20**: `linear-gradient(90deg,#E85DA0,#F08A24,#F7C948,#17B3A3)`
|
|
45
|
+
- **Strict Typography Contract**: Excel spreadsheets strictly use **Calibri for both headings and body**, with crisp point sizing (Title: 16pt, Subtitle: 10pt, Headers/Data: 11pt, Totals: 11pt bold).
|
|
25
46
|
- **Zero Raw Numbers**: Never leave bare floats (`0.3333333333`). Format currency as `$#,##0` or `$#,##0.00`, percentages as `0.0%` or `0%`, counts as `#,##0`.
|
|
26
47
|
- **Formulas Over Hardcoded Values**: If a number is derived from other cells, calculate it via an Excel formula (`=SUM(C4:C12)`, `=C13-D13`), never paste pre-calculated static values into summary rows.
|
|
27
48
|
- **Formula Casing**: Always write formula names in ALL CAPS (`SUM`, `AVERAGE`, `IF`, `XLOOKUP`, `INDEX`, `MATCH`). Lowercase formula names (`=sum(...)`) signal hasty robotic generation.
|
|
@@ -29,21 +50,23 @@ When creating spreadsheets:
|
|
|
29
50
|
- **Visual Grid & Freeze Panes**: Explicitly enable `ws.views.sheetView[0].showGridLines = True` and freeze header rows (`ws.freeze_panes = 'A5'`).
|
|
30
51
|
- **Strict Zero Watermark Invariant**: Under NO circumstances should generated, styled, or edited Excel workbooks contain watermarks, diagonal background stamps, sheet header watermark graphics, or evaluation marks.
|
|
31
52
|
- **Metadata Scrubbing**: Set workbook author and properties to the human analyst / organization; remove `openpyxl` / `pandas` application tags.
|
|
53
|
+
- **Mandatory Kage Review Gate**: Every generated Excel workbook must undergo Kage review before completion.
|
|
32
54
|
|
|
33
55
|
---
|
|
34
56
|
|
|
35
57
|
## 2. Professional Enterprise Color Palettes (Pure Light Mode)
|
|
36
58
|
|
|
37
|
-
Never use dark
|
|
59
|
+
Never use black, dark gray, dark blue, or dark theme fills. Use refined business-class light palettes with text in medium slate `#64748B`:
|
|
38
60
|
|
|
39
|
-
| Element |
|
|
40
|
-
|
|
41
|
-
| **
|
|
42
|
-
| **
|
|
43
|
-
| **Header
|
|
44
|
-
| **
|
|
45
|
-
| **
|
|
46
|
-
| **
|
|
61
|
+
| Element | Specification & Values |
|
|
62
|
+
|---|---|
|
|
63
|
+
| **Sheet Background** | Pure White `#FFFFFF` or Pearl `#F8FAFC` |
|
|
64
|
+
| **Typography (Headings & Body)** | Medium Slate `#64748B` (Calibri font exclusively) |
|
|
65
|
+
| **Header Background** | Executive Slate Tint `#F1F5F9` |
|
|
66
|
+
| **Header Accent Ribbon** | 4-base-color gradient ribbon matching the chosen theme (T01–T20) |
|
|
67
|
+
| **Zebra Row Shading** | Pearl `#F8FAFC` |
|
|
68
|
+
| **Total / Summary Row** | Top thin border `#CBD5E1`, double bottom `#64748B`, text in `#64748B` (bold) |
|
|
69
|
+
| **Cell Borders** | Subtle light slate `#E2E8F0` / `#CBD5E1` |
|
|
47
70
|
|
|
48
71
|
---
|
|
49
72
|
|
|
@@ -63,20 +86,21 @@ ws.title = "Q3 Infrastructure ROI"
|
|
|
63
86
|
# Enforce explicit gridlines
|
|
64
87
|
ws.views.sheetView[0].showGridLines = True
|
|
65
88
|
|
|
66
|
-
# Styling definitions (Pure Light Executive Class)
|
|
67
|
-
font_title = Font(name="Calibri", size=16, bold=True, color="
|
|
89
|
+
# Styling definitions (Pure Light Executive Class - Text strictly in #64748B, Zero dark colors)
|
|
90
|
+
font_title = Font(name="Calibri", size=16, bold=True, color="64748B")
|
|
68
91
|
font_subtitle = Font(name="Calibri", size=10, italic=True, color="64748B")
|
|
69
|
-
font_header = Font(name="Calibri", size=11, bold=True, color="
|
|
70
|
-
font_body = Font(name="Calibri", size=11, color="
|
|
71
|
-
font_total = Font(name="Calibri", size=11, bold=True, color="
|
|
92
|
+
font_header = Font(name="Calibri", size=11, bold=True, color="64748B")
|
|
93
|
+
font_body = Font(name="Calibri", size=11, color="64748B")
|
|
94
|
+
font_total = Font(name="Calibri", size=11, bold=True, color="64748B")
|
|
72
95
|
|
|
73
96
|
fill_header = PatternFill(start_color="F1F5F9", end_color="F1F5F9", fill_type="solid")
|
|
74
97
|
fill_zebra = PatternFill(start_color="F8FAFC", end_color="F8FAFC", fill_type="solid")
|
|
75
98
|
|
|
76
|
-
#
|
|
77
|
-
fill_accent_1 = PatternFill(start_color="
|
|
78
|
-
fill_accent_2 = PatternFill(start_color="
|
|
79
|
-
fill_accent_3 = PatternFill(start_color="
|
|
99
|
+
# 4-Base-Color Gradient Accent Ribbon (Theme T01 example: #8A4FD0, #E8453C, #F08A24, #F7C948)
|
|
100
|
+
fill_accent_1 = PatternFill(start_color="8A4FD0", end_color="8A4FD0", fill_type="solid")
|
|
101
|
+
fill_accent_2 = PatternFill(start_color="E8453C", end_color="E8453C", fill_type="solid")
|
|
102
|
+
fill_accent_3 = PatternFill(start_color="F08A24", end_color="F08A24", fill_type="solid")
|
|
103
|
+
fill_accent_4 = PatternFill(start_color="F7C948", end_color="F7C948", fill_type="solid")
|
|
80
104
|
|
|
81
105
|
align_left = Alignment(horizontal="left", vertical="center")
|
|
82
106
|
align_right = Alignment(horizontal="right", vertical="center")
|
|
@@ -84,7 +108,7 @@ align_center = Alignment(horizontal="center", vertical="center")
|
|
|
84
108
|
|
|
85
109
|
border_thin = Side(style="thin", color="E2E8F0")
|
|
86
110
|
border_header = Side(style="medium", color="CBD5E1")
|
|
87
|
-
border_double = Side(style="double", color="
|
|
111
|
+
border_double = Side(style="double", color="64748B")
|
|
88
112
|
border_total = Border(top=border_thin, bottom=border_double)
|
|
89
113
|
border_cell = Border(left=border_thin, right=border_thin, top=border_thin, bottom=border_thin)
|
|
90
114
|
|
|
@@ -94,14 +118,14 @@ ws["A1"].font = font_title
|
|
|
94
118
|
ws["A2"] = "Prepared by Infrastructure SRE Team | Target Savings: $450,000/yr"
|
|
95
119
|
ws["A2"].font = font_subtitle
|
|
96
120
|
|
|
97
|
-
#
|
|
121
|
+
# 4-Color Gradient Accent Ribbon above table header (Theme T01)
|
|
98
122
|
ws.row_dimensions[3].height = 4
|
|
99
123
|
ws["A3"].fill = fill_accent_1
|
|
100
124
|
ws["B3"].fill = fill_accent_1
|
|
101
125
|
ws["C3"].fill = fill_accent_2
|
|
102
|
-
ws["D3"].fill =
|
|
103
|
-
ws["E3"].fill =
|
|
104
|
-
ws["F3"].fill =
|
|
126
|
+
ws["D3"].fill = fill_accent_3
|
|
127
|
+
ws["E3"].fill = fill_accent_4
|
|
128
|
+
ws["F3"].fill = fill_accent_4
|
|
105
129
|
|
|
106
130
|
# Table Headers (Light Executive Tint)
|
|
107
131
|
headers = ["Service Component", "Cluster Tier", "Old Monthly Cost", "New Monthly Cost", "Net Savings", "Delta %"]
|
|
@@ -206,11 +230,14 @@ wb.save("infrastructure_roi.xlsx")
|
|
|
206
230
|
## 4. Delivery & Verification Checklist
|
|
207
231
|
|
|
208
232
|
Before shipping any spreadsheet:
|
|
209
|
-
1. **Zero Dark
|
|
210
|
-
2. **
|
|
211
|
-
3. **
|
|
212
|
-
4. **
|
|
213
|
-
5. **
|
|
214
|
-
6. **
|
|
215
|
-
7. **
|
|
216
|
-
8. **
|
|
233
|
+
1. **Strict Light Mode & Zero Black/Dark Invariant**: Pure light mode strictly enforced. Background is pure white (`#FFFFFF`) or soft pearl (`#F8FAFC`). Zero dark headers, black cells, dark blue, or dark gray anywhere.
|
|
234
|
+
2. **Medium Slate `#64748B` Typography**: All text (titles, headers, body, numbers, totals) strictly set in `#64748B`.
|
|
235
|
+
3. **Calibri Typography Contract**: Calibri font strictly used for both headings and body text.
|
|
236
|
+
4. **4-Base-Color Theme Gradient**: Decorative accent ribbons or KPI highlights strictly use a smooth 4-base-color gradient matching one of the 20 canonical themes (T01–T20) consistently.
|
|
237
|
+
5. **Table Header Fills**: Executive light tint (`#F1F5F9`) with bold `#64748B` typography and subtle `#CBD5E1` borders.
|
|
238
|
+
6. **Formula Accuracy**: Verify workbook opens in Excel/LibreOffice with 0 formula repair warnings (`#NAME?`, `#VALUE!`, `#REF!`). Formulas use UPPERCASE names (`SUM`, `AVERAGE`).
|
|
239
|
+
7. **Formatting**: Verify all numbers have explicit number formatting (`$#,##0`, `0.0%`, `#,##0`).
|
|
240
|
+
8. **Freeze Panes & Gridlines**: Confirm freeze panes are set on the header row and gridlines are explicitly turned on (`showGridLines = True`).
|
|
241
|
+
9. **Auto-Fit**: Check column widths: no text is clipped and no numbers appear as `###`.
|
|
242
|
+
10. **Metadata**: Confirm metadata properties have been sanitized.
|
|
243
|
+
11. **Mandatory Kage Review Gate**: Always run Kage review to verify zero-slop compliance, visual hierarchy, and 0% AI detection before delivery.
|
|
@@ -209,17 +209,40 @@ def sanitize_pdf(document, pdf):
|
|
|
209
209
|
Across all generated and refined documents (DOCX, PPTX, XLSX, PDF), adhere strictly to executive enterprise design standards:
|
|
210
210
|
|
|
211
211
|
### Global Visual Invariants
|
|
212
|
-
1. **Strict Zero Dark
|
|
213
|
-
- NEVER create, generate, or refine documents using dark
|
|
214
|
-
- Strictly forbidden: dark
|
|
215
|
-
- All
|
|
216
|
-
2. **
|
|
217
|
-
- Whenever color is
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
- **
|
|
221
|
-
- **
|
|
222
|
-
- **
|
|
212
|
+
1. **Strict Zero Black/Dark Invariant (Zero Dark Style)**:
|
|
213
|
+
- NEVER create, generate, or refine documents using black, dark gray, or dark blue anywhere (text, fills, lines, backgrounds).
|
|
214
|
+
- Strictly forbidden: `#000000`, `#000`, dark navy, dark slate (`#0F172A`, `#1E293B`, `#1E3A8A`), charcoal, dark fills, or dark borders.
|
|
215
|
+
- All canvases and backgrounds must be pure white (`#FFFFFF`) or soft pearl (`#F8FAFC`). Text must strictly be in **medium slate `#64748B`**.
|
|
216
|
+
2. **20 Canonical 4-Base-Color Gradient Themes**:
|
|
217
|
+
- Whenever color is applied to covers, headers, footers, accent ribbons, or dividing rules, use a smooth **4-base-color gradient**.
|
|
218
|
+
- Randomly pick ONE of these 20 themes per document and keep it consistent throughout:
|
|
219
|
+
- **T01**: `linear-gradient(90deg,#8A4FD0,#E8453C,#F08A24,#F7C948)`
|
|
220
|
+
- **T02**: `linear-gradient(90deg,#17B3A3,#3A8DDE,#8A4FD0,#E85DA0)`
|
|
221
|
+
- **T03**: `linear-gradient(90deg,#34B38A,#F7C948,#F08A24,#E85DA0)`
|
|
222
|
+
- **T04**: `linear-gradient(90deg,#3A8DDE,#17B3A3,#6FCF7A,#F7C948)`
|
|
223
|
+
- **T05**: `linear-gradient(90deg,#8A4FD0,#D6459E,#E8453C,#F5A04A)`
|
|
224
|
+
- **T06**: `linear-gradient(90deg,#5CC46A,#F7C948,#F08A24,#E8453C)`
|
|
225
|
+
- **T07**: `linear-gradient(90deg,#4F8DF0,#8A4FD0,#E85DA0,#F5A04A)`
|
|
226
|
+
- **T08**: `linear-gradient(90deg,#17B3A3,#6FCF7A,#F7C948,#F2705F)`
|
|
227
|
+
- **T09**: `linear-gradient(90deg,#3AA6C9,#8A4FD0,#E85DA0,#F7C948)`
|
|
228
|
+
- **T10**: `linear-gradient(90deg,#3A8DDE,#52D1BC,#8BCB4A,#F5A623)`
|
|
229
|
+
- **T11**: `linear-gradient(90deg,#8A4FD0,#E85DA0,#F2705F,#F7C948)`
|
|
230
|
+
- **T12**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#E85D75)`
|
|
231
|
+
- **T13**: `linear-gradient(90deg,#4F8DF0,#D6459E,#E85D75,#F5A04A)`
|
|
232
|
+
- **T14**: `linear-gradient(90deg,#8A4FD0,#3A8DDE,#17B3A3,#8BCB4A)`
|
|
233
|
+
- **T15**: `linear-gradient(90deg,#E85DA0,#E8453C,#F08A24,#8BCB4A)`
|
|
234
|
+
- **T16**: `linear-gradient(90deg,#7C5CE0,#3A8DDE,#52D1BC,#6FCF7A)`
|
|
235
|
+
- **T17**: `linear-gradient(90deg,#E8453C,#F08A24,#F7C948,#8BCB4A)`
|
|
236
|
+
- **T18**: `linear-gradient(90deg,#3A8DDE,#8A4FD0,#D6459E,#F2705F)`
|
|
237
|
+
- **T19**: `linear-gradient(90deg,#17B3A3,#8BCB4A,#F7C948,#F08A24)`
|
|
238
|
+
- **T20**: `linear-gradient(90deg,#E85DA0,#F08A24,#F7C948,#17B3A3)`
|
|
239
|
+
3. **Typography Contract**:
|
|
240
|
+
- **Word/reports (DOCX)**: Georgia (headings) + Calibri (body)
|
|
241
|
+
- **PowerPoint (PPTX)**: Segoe UI Semibold or Georgia (headings) + Segoe UI or Calibri (body)
|
|
242
|
+
- **Excel (XLSX)**: Calibri (headings and body)
|
|
243
|
+
- **PDF/digital (PDF)**: Inter (headings and body)
|
|
244
|
+
4. **Mandatory Kage Review Gate**:
|
|
245
|
+
- Every generated document (DOCX, PPTX, XLSX, PDF) must be verified by Kage review before completion.
|
|
223
246
|
|
|
224
247
|
---
|
|
225
248
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1791393142498:4207:26490682
|
package/README.md
CHANGED
|
@@ -38,8 +38,8 @@ If you find Konoha helpful and want to support ongoing development, maintenance,
|
|
|
38
38
|
|
|
39
39
|
## 📸 Preview
|
|
40
40
|
|
|
41
|
-
* **Latest Release:** [v2.1.
|
|
42
|
-
* **Latest Security Compliance:** [Google Policy Compliance v2.1.
|
|
41
|
+
* **Latest Release:** [v2.1.14 (2026-10-08)](CHANGELOG.md) — Deterministic skill resolution via `use_skills`, rule-based `anti_slop` verification pre-gate, canonical skill registry consolidation, mandatory agent anti-slop matrix, and Tokubetsu-Jonin human document design layer.
|
|
42
|
+
* **Latest Security Compliance:** [Google Policy Compliance v2.1.14 — Konoha v2.1.14 (2026-10-08)](docs/SecurityCompliance/security_compliance_report_google_policy_2.1.14_2026-10-08.md)
|
|
43
43
|
|
|
44
44
|
<details open>
|
|
45
45
|
<summary><b>🎬 Flagship TUI Demo: All Commands in Action (<code>demo.gif</code>)</b></summary>
|
|
@@ -358,7 +358,7 @@ All non-trivial work on a Konoha-configured host **MUST** flow through the Konoh
|
|
|
358
358
|
|
|
359
359
|
Konoha uses an **MCP Tools Orchestrator Model** (Single-Thread Persona Adoption via MCP Tools), specifically engineered to deliver maximum performance, complete cross-IDE portability, and **83–98% token savings**.
|
|
360
360
|
|
|
361
|
-
> **Canonical editable diagram:** [08 Orchestrator Task Artifact Flow](docs/diagrams/konoha-architecture.drawio) · [Diagram manifest](docs/diagrams/README.md).
|
|
361
|
+
> **Canonical editable diagram:** [08 Orchestrator Task Artifact Flow](docs/diagrams/konoha-architecture.drawio) · [Complete Workflow Architecture](docs/ALL-WORKFLOW-DIAGRAMS.md) · [Diagram manifest](docs/diagrams/README.md).
|
|
362
362
|
|
|
363
363
|
<p align="center">
|
|
364
364
|
<img src="assets/konoha-orchestration-flow.gif" alt="Konoha MCP Orchestration & Execution Flow" width="100%" />
|
|
@@ -393,12 +393,12 @@ config:
|
|
|
393
393
|
flowchart TB
|
|
394
394
|
Prompt["User Prompt / Resume"] --> Orchestrator["Primary Orchestrator<br/>(Main Agent)"]
|
|
395
395
|
Orchestrator --> Context["1. Project Memory & Context<br/>(Detect stack & auto-inject invariants)"]
|
|
396
|
-
Orchestrator --> Discover["2. Discover
|
|
396
|
+
Orchestrator --> Discover["2. Discover & Resolve Skills<br/>(konoha.find_skill · konoha.use_skills · semble.search)"]
|
|
397
397
|
Context --> Delegate["3. Structured MCP Delegation<br/>(delegate_to_jonin / anbu / kage)"]
|
|
398
398
|
Discover --> Delegate
|
|
399
399
|
Delegate --> Agent["4. Specialist Ninja Agent<br/>(genin · kage · jonin · anbu · chunin · tokubetsu)"]
|
|
400
400
|
Agent --> Report["5. Structured Result & Checkpoint<br/>(report_from_agent)"]
|
|
401
|
-
Report --> Review["6. Kage Review Gate<br/>(Zero-AI-slop pre-gate + 100%
|
|
401
|
+
Report --> Review["6. Kage Review Gate<br/>(Zero-AI-slop pre-gate: aislop_scan + anti_slop + 100% verification)"]
|
|
402
402
|
Review --> Synthesize["7. Sannin Synthesizes Report<br/>(Final report & response)"]
|
|
403
403
|
Synthesize --> Response["Synthesized Response"]
|
|
404
404
|
|
|
@@ -528,7 +528,7 @@ Once installed, the following CLI commands are available:
|
|
|
528
528
|
| `konoha embed` | Rebuild neural vector embeddings for all skill chunks (IBM Granite Multilingual + MS MARCO MiniLM Reranker) |
|
|
529
529
|
| `konoha test` | Test MCP server with sample searches |
|
|
530
530
|
| `konoha status` | Show installation status and DB stats |
|
|
531
|
-
| `konoha version` | Display current local version (2.1.
|
|
531
|
+
| `konoha version` | Display current local version (2.1.14) and check for updates from npm registry |
|
|
532
532
|
| `konoha upgrade` | Upgrade Konoha CLI to latest release with interactive real-time Progress Bar (`--yes` for headless); also re-reconciles the global `konoha` command shim |
|
|
533
533
|
| `konoha bridge status` | Show bridge router status and Antigravity session liveness (sidecar-gated bridges show `AWAITING SIDECAR` when IDE is closed) |
|
|
534
534
|
| `konoha bridge list` | List all configured bridges with port/provider/enabled state |
|
|
@@ -836,6 +836,13 @@ get_skill("tokubetsu-jonin-skill/elite-powerpoint-designer")
|
|
|
836
836
|
get_skill("genin-skill/i-have-adhd")
|
|
837
837
|
```
|
|
838
838
|
|
|
839
|
+
#### `use_skills(skills)`
|
|
840
|
+
Accurately resolve and load skills directly by exact name or array of names from SQLite FTS5 database (`konoha.db`) with automatic fallback warning to local mirror directories (`.agents/skills/` / `~/.agents/skills/`). Ensures skill resolution accuracy and prevents skill misattribution.
|
|
841
|
+
|
|
842
|
+
```javascript
|
|
843
|
+
use_skills({ skills: ["jonin-skill", "antislop-ui"] })
|
|
844
|
+
```
|
|
845
|
+
|
|
839
846
|
#### `list_skills()`
|
|
840
847
|
List all indexed skills and references with metadata.
|
|
841
848
|
|
|
@@ -867,6 +874,11 @@ Return a validated, side-effect-free premium specification for Next.js, Nuxt 3,
|
|
|
867
874
|
| `qa_codify` | `(flow_path, target_spec_path?, base_url?)` | Compiles declarative flow JSON (`tests/e2e/flows/*.json`) to Playwright `.spec.js`. Rejects `@e` element refs, generates semantic locators, pre-verifies against target app, and runs syntax linting before writing. Accessible exclusively to `anbu`. |
|
|
868
875
|
| `qa_e2e_run` | `(test_file?, test_filter?, project_dir?, timeout_ms?)` | Headless Playwright test runner with hard output cap strictly under 2,000 characters. Strips ANSI color codes, extracts failure traces, assigns unique `run_id`, and returns clean structured JSON summary. Prevents LLM context blowup. Accessible exclusively to `anbu`. |
|
|
869
876
|
|
|
877
|
+
#### Quality & Governance Tools
|
|
878
|
+
| Tool | Signature | Purpose & Token Guard |
|
|
879
|
+
|------|-----------|------------------------|
|
|
880
|
+
| `anti_slop` | `(target_dir?, file_paths?)` | Deterministic rule-based anti-slop verification engine executed during Kage pre-delivery review after `aislop_scan`. Audits changed files for lazy placeholders, generic syntax comments, speculative code, and conversational fluff. Returns 0-100 score and issue breakdown. |
|
|
881
|
+
|
|
870
882
|
> [!IMPORTANT]
|
|
871
883
|
> **All agents must use konoha** for skill lookups, file reads, and line grep — not Cursor `Read`/`Grep`/`Glob`, Antigravity `view_file`, or shell `cat`/`head`/`grep`. Workflow: **semble** (semantic code search) → **konoha** (skills & file operations).
|
|
872
884
|
|
|
@@ -7,5 +7,5 @@ export const app_path = "_app";
|
|
|
7
7
|
export const origin = undefined;
|
|
8
8
|
export const env_prefix = "";
|
|
9
9
|
export const mime_types = {".png":"image/png",".ico":"image/x-icon",".webmanifest":"application/manifest+json",".json":"application/json",".css":"text/css",".js":"text/javascript"};
|
|
10
|
-
export const assets = JSON.parse("{\"entries\":[[\"/_app/immutable/assets/0.CASgEURp.css\",{\"file\":\"_app/immutable/assets/0.CASgEURp.css\",\"size\":66476,\"etag\":\"iXUvu94fP1Z3rBtXlY0mbT7_aJHFihYp3e5_CfT_zo0\",\"gz\":11902,\"br\":9813}],[\"/_app/immutable/chunks/7LmsTWIo.js\",{\"file\":\"_app/immutable/chunks/7LmsTWIo.js\",\"size\":1089,\"etag\":\"SgpevTA1-q9RTk0WKbbM2N-BN99t96sWUrv-9-v5EFg\",\"gz\":569,\"br\":489}],[\"/_app/immutable/chunks/BH86Md_X.js\",{\"file\":\"_app/immutable/chunks/BH86Md_X.js\",\"size\":22,\"etag\":\"sTyqdIpUraUAvbji2xE1jteOaeNQ2oBzT-N7rri9uIE\",\"gz\":42,\"br\":26}],[\"/_app/immutable/chunks/BaNbYf_w.js\",{\"file\":\"_app/immutable/chunks/BaNbYf_w.js\",\"size\":1398,\"etag\":\"SeMbugghlpNXgqwUu-28Ko58Qin5GLwIarXdCMoBUDQ\",\"gz\":749,\"br\":630}],[\"/_app/immutable/chunks/Bjy-W4x2.js\",{\"file\":\"_app/immutable/chunks/Bjy-W4x2.js\",\"size\":1365,\"etag\":\"8HQkdYMY3WtfMrD-jenS_7jZehfIQXWGJtGLoPqgRWo\",\"gz\":654,\"br\":499}],[\"/_app/immutable/chunks/C3-t9btS.js\",{\"file\":\"_app/immutable/chunks/C3-t9btS.js\",\"size\":38,\"etag\":\"BQdVv4QVDco5OiAyMSLpWUd26P5z2jMnXBroERXVmlc\",\"gz\":58,\"br\":42}],[\"/_app/immutable/chunks/CBY268r4.js\",{\"file\":\"_app/immutable/chunks/CBY268r4.js\",\"size\":433,\"etag\":\"sdR4NNw_VNHY6PjAGE7k7vE3WezFCPxWMPJa3jmX7E4\",\"gz\":290,\"br\":247}],[\"/_app/immutable/chunks/Cg3pm-K7.js\",{\"file\":\"_app/immutable/chunks/Cg3pm-K7.js\",\"size\":1384,\"etag\":\"K3xJUBLBnElsZCxSp6ePpRPtKCfYKD358Wmdhf-DfLE\",\"gz\":737,\"br\":618}],[\"/_app/immutable/chunks/D-Kujhko.js\",{\"file\":\"_app/immutable/chunks/D-Kujhko.js\",\"size\":3665,\"etag\":\"MCQJcDarOOTeR6JGF7def1qarXtXFZWFTcZ1_vEumGM\",\"gz\":1718,\"br\":1527}],[\"/_app/immutable/chunks/DK3Fl9T5.js\",{\"file\":\"_app/immutable/chunks/DK3Fl9T5.js\",\"size\":158,\"etag\":\"pSbRuzKI7wTQAQKIQyIKJLCGek7fjGhbaVBtZSWvNv8\",\"gz\":154,\"br\":116}],[\"/_app/immutable/chunks/Dek69VGa.js\",{\"file\":\"_app/immutable/chunks/Dek69VGa.js\",\"size\":1390,\"etag\":\"DY5OQzdaI2R3aPM7KFYrBEalecGLjRAPjlCGOoXOsjo\",\"gz\":440,\"br\":360}],[\"/_app/immutable/chunks/Dzm74gVd.js\",{\"file\":\"_app/immutable/chunks/Dzm74gVd.js\",\"size\":1032,\"etag\":\"DfH7BxLEtyfdDOQqpgYCWkNWON8njSfuW2DZp3-2HXw\",\"gz\":486,\"br\":423}],[\"/_app/immutable/chunks/Lb3VuXoN.js\",{\"file\":\"_app/immutable/chunks/Lb3VuXoN.js\",\"size\":40910,\"etag\":\"MchW6SgtNbot5aaxCVyw5wX--escMF8w4ihqPNgMCYY\",\"gz\":15099,\"br\":13732}],[\"/_app/immutable/chunks/PrdhfbrQ.js\",{\"file\":\"_app/immutable/chunks/PrdhfbrQ.js\",\"size\":45072,\"etag\":\"ZuczyrU7kC5MKSplQUvEkA5An6-N8RmrKj5jECR54gc\",\"gz\":17188,\"br\":15665}],[\"/_app/immutable/chunks/fbrtLByB.js\",{\"file\":\"_app/immutable/chunks/fbrtLByB.js\",\"size\":214,\"etag\":\"wruS8U50HXve41EIeYhzeHgIAXHchpxCyHugwYFhAO4\",\"gz\":156,\"br\":114}],[\"/_app/immutable/entry/app.BDzkoHRK.js\",{\"file\":\"_app/immutable/entry/app.BDzkoHRK.js\",\"size\":3208,\"etag\":\"qQnu0Wzvs3XjHhKkbZOSVS154t7zgCRr0ORkCVzFq_c\",\"gz\":1057,\"br\":971}],[\"/_app/immutable/entry/payload.DSmR2FwN.js\",{\"file\":\"_app/immutable/entry/payload.DSmR2FwN.js\",\"size\":65,\"etag\":\"t8untEsjl8fSj320o07HNKmF5k_yfXTd-NlkXPgU8J8\",\"gz\":77,\"br\":60}],[\"/_app/immutable/entry/start.CNV5BTCO.js\",{\"file\":\"_app/immutable/entry/start.CNV5BTCO.js\",\"size\":574,\"etag\":\"FJn3ohMneJ6YSY54IeFE4d9uXFM50gTkhNEAbqkY0YY\",\"gz\":331,\"br\":307}],[\"/_app/immutable/nodes/0.u4hg-Zwy.js\",{\"file\":\"_app/immutable/nodes/0.u4hg-Zwy.js\",\"size\":29611,\"etag\":\"1huFiLY9kIqLQ1RKcPakxiZurQH1PPjQig-t8E9Z_2M\",\"gz\":8879,\"br\":7713}],[\"/_app/immutable/nodes/1.BZu6jsAH.js\",{\"file\":\"_app/immutable/nodes/1.BZu6jsAH.js\",\"size\":352,\"etag\":\"dke_rrbtZceUXOMZwNy27mWhyS4ywR8pMMX3aYnajeA\",\"gz\":259,\"br\":215}],[\"/_app/immutable/nodes/10.CZKScTFN.js\",{\"file\":\"_app/immutable/nodes/10.CZKScTFN.js\",\"size\":6761,\"etag\":\"W-OI1cbZ2_CGnCOyXlTyKqG0weFTJuNwq03U0gUUFIo\",\"gz\":2775,\"br\":2384}],[\"/_app/immutable/nodes/11.DFglFW_i.js\",{\"file\":\"_app/immutable/nodes/11.DFglFW_i.js\",\"size\":14727,\"etag\":\"sX1SggB-cMUGWmagkMiRTVd0uNoqg-ka0y0SPWMOu18\",\"gz\":4938,\"br\":4221}],[\"/_app/immutable/nodes/12.CSShcv5z.js\",{\"file\":\"_app/immutable/nodes/12.CSShcv5z.js\",\"size\":28283,\"etag\":\"yHIVij-uIQjkYgu4YF2VB7cXW1uR8kWnP8w0DYMJ-ms\",\"gz\":7005,\"br\":5908}],[\"/_app/immutable/nodes/13.jWUWoBcs.js\",{\"file\":\"_app/immutable/nodes/13.jWUWoBcs.js\",\"size\":17392,\"etag\":\"8mLpu3SyobTSBdMAc-JMhvYkO_A74KT5Hq8x8oEgjZo\",\"gz\":5224,\"br\":4481}],[\"/_app/immutable/nodes/14.H-jSqqen.js\",{\"file\":\"_app/immutable/nodes/14.H-jSqqen.js\",\"size\":9537,\"etag\":\"nBWUWLMUMdEsG8STdVX468oLqTi7qP_T3tXCGjWDhx8\",\"gz\":3283,\"br\":2806}],[\"/_app/immutable/nodes/15.CpAoyhzV.js\",{\"file\":\"_app/immutable/nodes/15.CpAoyhzV.js\",\"size\":48144,\"etag\":\"IX9h0sp2EVQgFG9rczo2eX6OCpxMvQrOlRbrlSAfOzA\",\"gz\":11344,\"br\":9765}],[\"/_app/immutable/nodes/16.DT_-MxCT.js\",{\"file\":\"_app/immutable/nodes/16.DT_-MxCT.js\",\"size\":20066,\"etag\":\"xGxDcdApwFhdHWe6LAooQ4xMR-bGxOjLoWvU2GMBy_g\",\"gz\":5704,\"br\":4866}],[\"/_app/immutable/nodes/2.Dr646Vs5.js\",{\"file\":\"_app/immutable/nodes/2.Dr646Vs5.js\",\"size\":879,\"etag\":\"CfjZHAMSS0MPjOhKO5eG5ksoGFiHOk9KKgiLH36Lpt8\",\"gz\":502,\"br\":437}],[\"/_app/immutable/nodes/3.Cgc-xN3x.js\",{\"file\":\"_app/immutable/nodes/3.Cgc-xN3x.js\",\"size\":10158,\"etag\":\"c5ALuOfw6FXWCx2yk4V8DUyEmQD-H03OH8s6Mm_vFFU\",\"gz\":4069,\"br\":3493}],[\"/_app/immutable/nodes/4.CYJQ4bWz.js\",{\"file\":\"_app/immutable/nodes/4.CYJQ4bWz.js\",\"size\":24340,\"etag\":\"YhyLPfWFvR1moVSwrtBw98mot4LnnafQThjzsd-Tnkc\",\"gz\":6552,\"br\":5678}],[\"/_app/immutable/nodes/5.DbHL-3Es.js\",{\"file\":\"_app/immutable/nodes/5.DbHL-3Es.js\",\"size\":8050,\"etag\":\"zGK9wv2IDhwzp8EQvZmhAuQVqMzo3pVYTTTpuC9pNkU\",\"gz\":2762,\"br\":2390}],[\"/_app/immutable/nodes/6.BvWH2qas.js\",{\"file\":\"_app/immutable/nodes/6.BvWH2qas.js\",\"size\":22270,\"etag\":\"ftFc2xcrR-IwmubESsIds9XAFFN75ldcxQYAn5CWzlc\",\"gz\":6155,\"br\":5309}],[\"/_app/immutable/nodes/7.CmbiPMU3.js\",{\"file\":\"_app/immutable/nodes/7.CmbiPMU3.js\",\"size\":34230,\"etag\":\"j8bmk9Heh1Rvr1FH1VXosSHXenf3FVvqGhX-HxzdY7M\",\"gz\":7377,\"br\":6278}],[\"/_app/immutable/nodes/8.B9897Zm9.js\",{\"file\":\"_app/immutable/nodes/8.B9897Zm9.js\",\"size\":10188,\"etag\":\"sbkP7ghFtJkL3vFtzvLkOOQcdDMj6G_zAVK446m5bnY\",\"gz\":3804,\"br\":3312}],[\"/_app/immutable/nodes/9.CGMmeMVC.js\",{\"file\":\"_app/immutable/nodes/9.CGMmeMVC.js\",\"size\":22942,\"etag\":\"YLZs9YGT1RSzpkItjzzVmZNlMi3Sd7j-I0fh7DPjKqo\",\"gz\":6288,\"br\":5390}],[\"/_app/version.json\",{\"file\":\"_app/version.json\",\"size\":27,\"etag\":\"
|
|
10
|
+
export const assets = JSON.parse("{\"entries\":[[\"/_app/immutable/assets/0.CASgEURp.css\",{\"file\":\"_app/immutable/assets/0.CASgEURp.css\",\"size\":66476,\"etag\":\"iXUvu94fP1Z3rBtXlY0mbT7_aJHFihYp3e5_CfT_zo0\",\"gz\":11902,\"br\":9813}],[\"/_app/immutable/chunks/7LmsTWIo.js\",{\"file\":\"_app/immutable/chunks/7LmsTWIo.js\",\"size\":1089,\"etag\":\"SgpevTA1-q9RTk0WKbbM2N-BN99t96sWUrv-9-v5EFg\",\"gz\":569,\"br\":489}],[\"/_app/immutable/chunks/BH86Md_X.js\",{\"file\":\"_app/immutable/chunks/BH86Md_X.js\",\"size\":22,\"etag\":\"sTyqdIpUraUAvbji2xE1jteOaeNQ2oBzT-N7rri9uIE\",\"gz\":42,\"br\":26}],[\"/_app/immutable/chunks/BaNbYf_w.js\",{\"file\":\"_app/immutable/chunks/BaNbYf_w.js\",\"size\":1398,\"etag\":\"SeMbugghlpNXgqwUu-28Ko58Qin5GLwIarXdCMoBUDQ\",\"gz\":749,\"br\":630}],[\"/_app/immutable/chunks/Bjy-W4x2.js\",{\"file\":\"_app/immutable/chunks/Bjy-W4x2.js\",\"size\":1365,\"etag\":\"8HQkdYMY3WtfMrD-jenS_7jZehfIQXWGJtGLoPqgRWo\",\"gz\":654,\"br\":499}],[\"/_app/immutable/chunks/C3-t9btS.js\",{\"file\":\"_app/immutable/chunks/C3-t9btS.js\",\"size\":38,\"etag\":\"BQdVv4QVDco5OiAyMSLpWUd26P5z2jMnXBroERXVmlc\",\"gz\":58,\"br\":42}],[\"/_app/immutable/chunks/CBY268r4.js\",{\"file\":\"_app/immutable/chunks/CBY268r4.js\",\"size\":433,\"etag\":\"sdR4NNw_VNHY6PjAGE7k7vE3WezFCPxWMPJa3jmX7E4\",\"gz\":290,\"br\":247}],[\"/_app/immutable/chunks/Cg3pm-K7.js\",{\"file\":\"_app/immutable/chunks/Cg3pm-K7.js\",\"size\":1384,\"etag\":\"K3xJUBLBnElsZCxSp6ePpRPtKCfYKD358Wmdhf-DfLE\",\"gz\":737,\"br\":618}],[\"/_app/immutable/chunks/D-Kujhko.js\",{\"file\":\"_app/immutable/chunks/D-Kujhko.js\",\"size\":3665,\"etag\":\"MCQJcDarOOTeR6JGF7def1qarXtXFZWFTcZ1_vEumGM\",\"gz\":1718,\"br\":1527}],[\"/_app/immutable/chunks/DK3Fl9T5.js\",{\"file\":\"_app/immutable/chunks/DK3Fl9T5.js\",\"size\":158,\"etag\":\"pSbRuzKI7wTQAQKIQyIKJLCGek7fjGhbaVBtZSWvNv8\",\"gz\":154,\"br\":116}],[\"/_app/immutable/chunks/Dek69VGa.js\",{\"file\":\"_app/immutable/chunks/Dek69VGa.js\",\"size\":1390,\"etag\":\"DY5OQzdaI2R3aPM7KFYrBEalecGLjRAPjlCGOoXOsjo\",\"gz\":440,\"br\":360}],[\"/_app/immutable/chunks/Dzm74gVd.js\",{\"file\":\"_app/immutable/chunks/Dzm74gVd.js\",\"size\":1032,\"etag\":\"DfH7BxLEtyfdDOQqpgYCWkNWON8njSfuW2DZp3-2HXw\",\"gz\":486,\"br\":423}],[\"/_app/immutable/chunks/Lb3VuXoN.js\",{\"file\":\"_app/immutable/chunks/Lb3VuXoN.js\",\"size\":40910,\"etag\":\"MchW6SgtNbot5aaxCVyw5wX--escMF8w4ihqPNgMCYY\",\"gz\":15099,\"br\":13732}],[\"/_app/immutable/chunks/PrdhfbrQ.js\",{\"file\":\"_app/immutable/chunks/PrdhfbrQ.js\",\"size\":45072,\"etag\":\"ZuczyrU7kC5MKSplQUvEkA5An6-N8RmrKj5jECR54gc\",\"gz\":17188,\"br\":15665}],[\"/_app/immutable/chunks/fbrtLByB.js\",{\"file\":\"_app/immutable/chunks/fbrtLByB.js\",\"size\":214,\"etag\":\"wruS8U50HXve41EIeYhzeHgIAXHchpxCyHugwYFhAO4\",\"gz\":156,\"br\":114}],[\"/_app/immutable/entry/app.BDzkoHRK.js\",{\"file\":\"_app/immutable/entry/app.BDzkoHRK.js\",\"size\":3208,\"etag\":\"qQnu0Wzvs3XjHhKkbZOSVS154t7zgCRr0ORkCVzFq_c\",\"gz\":1057,\"br\":971}],[\"/_app/immutable/entry/payload.DSmR2FwN.js\",{\"file\":\"_app/immutable/entry/payload.DSmR2FwN.js\",\"size\":65,\"etag\":\"t8untEsjl8fSj320o07HNKmF5k_yfXTd-NlkXPgU8J8\",\"gz\":77,\"br\":60}],[\"/_app/immutable/entry/start.CNV5BTCO.js\",{\"file\":\"_app/immutable/entry/start.CNV5BTCO.js\",\"size\":574,\"etag\":\"FJn3ohMneJ6YSY54IeFE4d9uXFM50gTkhNEAbqkY0YY\",\"gz\":331,\"br\":307}],[\"/_app/immutable/nodes/0.u4hg-Zwy.js\",{\"file\":\"_app/immutable/nodes/0.u4hg-Zwy.js\",\"size\":29611,\"etag\":\"1huFiLY9kIqLQ1RKcPakxiZurQH1PPjQig-t8E9Z_2M\",\"gz\":8879,\"br\":7713}],[\"/_app/immutable/nodes/1.BZu6jsAH.js\",{\"file\":\"_app/immutable/nodes/1.BZu6jsAH.js\",\"size\":352,\"etag\":\"dke_rrbtZceUXOMZwNy27mWhyS4ywR8pMMX3aYnajeA\",\"gz\":259,\"br\":215}],[\"/_app/immutable/nodes/10.CZKScTFN.js\",{\"file\":\"_app/immutable/nodes/10.CZKScTFN.js\",\"size\":6761,\"etag\":\"W-OI1cbZ2_CGnCOyXlTyKqG0weFTJuNwq03U0gUUFIo\",\"gz\":2775,\"br\":2384}],[\"/_app/immutable/nodes/11.DFglFW_i.js\",{\"file\":\"_app/immutable/nodes/11.DFglFW_i.js\",\"size\":14727,\"etag\":\"sX1SggB-cMUGWmagkMiRTVd0uNoqg-ka0y0SPWMOu18\",\"gz\":4938,\"br\":4221}],[\"/_app/immutable/nodes/12.CSShcv5z.js\",{\"file\":\"_app/immutable/nodes/12.CSShcv5z.js\",\"size\":28283,\"etag\":\"yHIVij-uIQjkYgu4YF2VB7cXW1uR8kWnP8w0DYMJ-ms\",\"gz\":7005,\"br\":5908}],[\"/_app/immutable/nodes/13.jWUWoBcs.js\",{\"file\":\"_app/immutable/nodes/13.jWUWoBcs.js\",\"size\":17392,\"etag\":\"8mLpu3SyobTSBdMAc-JMhvYkO_A74KT5Hq8x8oEgjZo\",\"gz\":5224,\"br\":4481}],[\"/_app/immutable/nodes/14.H-jSqqen.js\",{\"file\":\"_app/immutable/nodes/14.H-jSqqen.js\",\"size\":9537,\"etag\":\"nBWUWLMUMdEsG8STdVX468oLqTi7qP_T3tXCGjWDhx8\",\"gz\":3283,\"br\":2806}],[\"/_app/immutable/nodes/15.CpAoyhzV.js\",{\"file\":\"_app/immutable/nodes/15.CpAoyhzV.js\",\"size\":48144,\"etag\":\"IX9h0sp2EVQgFG9rczo2eX6OCpxMvQrOlRbrlSAfOzA\",\"gz\":11344,\"br\":9765}],[\"/_app/immutable/nodes/16.DT_-MxCT.js\",{\"file\":\"_app/immutable/nodes/16.DT_-MxCT.js\",\"size\":20066,\"etag\":\"xGxDcdApwFhdHWe6LAooQ4xMR-bGxOjLoWvU2GMBy_g\",\"gz\":5704,\"br\":4866}],[\"/_app/immutable/nodes/2.Dr646Vs5.js\",{\"file\":\"_app/immutable/nodes/2.Dr646Vs5.js\",\"size\":879,\"etag\":\"CfjZHAMSS0MPjOhKO5eG5ksoGFiHOk9KKgiLH36Lpt8\",\"gz\":502,\"br\":437}],[\"/_app/immutable/nodes/3.Cgc-xN3x.js\",{\"file\":\"_app/immutable/nodes/3.Cgc-xN3x.js\",\"size\":10158,\"etag\":\"c5ALuOfw6FXWCx2yk4V8DUyEmQD-H03OH8s6Mm_vFFU\",\"gz\":4069,\"br\":3493}],[\"/_app/immutable/nodes/4.CYJQ4bWz.js\",{\"file\":\"_app/immutable/nodes/4.CYJQ4bWz.js\",\"size\":24340,\"etag\":\"YhyLPfWFvR1moVSwrtBw98mot4LnnafQThjzsd-Tnkc\",\"gz\":6552,\"br\":5678}],[\"/_app/immutable/nodes/5.DbHL-3Es.js\",{\"file\":\"_app/immutable/nodes/5.DbHL-3Es.js\",\"size\":8050,\"etag\":\"zGK9wv2IDhwzp8EQvZmhAuQVqMzo3pVYTTTpuC9pNkU\",\"gz\":2762,\"br\":2390}],[\"/_app/immutable/nodes/6.BvWH2qas.js\",{\"file\":\"_app/immutable/nodes/6.BvWH2qas.js\",\"size\":22270,\"etag\":\"ftFc2xcrR-IwmubESsIds9XAFFN75ldcxQYAn5CWzlc\",\"gz\":6155,\"br\":5309}],[\"/_app/immutable/nodes/7.CmbiPMU3.js\",{\"file\":\"_app/immutable/nodes/7.CmbiPMU3.js\",\"size\":34230,\"etag\":\"j8bmk9Heh1Rvr1FH1VXosSHXenf3FVvqGhX-HxzdY7M\",\"gz\":7377,\"br\":6278}],[\"/_app/immutable/nodes/8.B9897Zm9.js\",{\"file\":\"_app/immutable/nodes/8.B9897Zm9.js\",\"size\":10188,\"etag\":\"sbkP7ghFtJkL3vFtzvLkOOQcdDMj6G_zAVK446m5bnY\",\"gz\":3804,\"br\":3312}],[\"/_app/immutable/nodes/9.CGMmeMVC.js\",{\"file\":\"_app/immutable/nodes/9.CGMmeMVC.js\",\"size\":22942,\"etag\":\"YLZs9YGT1RSzpkItjzzVmZNlMi3Sd7j-I0fh7DPjKqo\",\"gz\":6288,\"br\":5390}],[\"/_app/version.json\",{\"file\":\"_app/version.json\",\"size\":27,\"etag\":\"D-nXI45eH5GB12H29d6HRlv8UaxQAVFRWPvmZFVghVo\",\"gz\":47,\"br\":31}],[\"/apple-touch-icon.png\",{\"file\":\"apple-touch-icon.png\",\"size\":43655,\"etag\":\"ss86PVPHFmO1UH15y8yuZ0mOAKMXLq1bGkfK-EmAKm8\"}],[\"/favicon.ico\",{\"file\":\"favicon.ico\",\"size\":172440,\"etag\":\"282MU90Q1L_oGq4VX4jk1Wd18nrWGcdmyyet5_SmDck\"}],[\"/fox_kyubi_192.png\",{\"file\":\"fox_kyubi_192.png\",\"size\":48793,\"etag\":\"ofifNQDDiC5qmLPwhWhrqBxWvn93D4CxizqYpbFO70M\"}],[\"/fox_kyubi_32.png\",{\"file\":\"fox_kyubi_32.png\",\"size\":6659,\"etag\":\"avz82ihJwIpnvcvHPWkrBiDuWjtuMHSselq4YgFnXb4\"}],[\"/fox_kyubi_512.png\",{\"file\":\"fox_kyubi_512.png\",\"size\":257309,\"etag\":\"thXQoyVDPt5Buh78B2RBjsHYNKZCfr-NYeVux8HDMnI\"}],[\"/fox_kyubi_64.png\",{\"file\":\"fox_kyubi_64.png\",\"size\":11110,\"etag\":\"b-xQ7K49N5mnVKXWvkfeMSJCLDbddoSVCZgBt851sn0\"}],[\"/manifest.webmanifest\",{\"file\":\"manifest.webmanifest\",\"size\":627,\"etag\":\"QguMHUOgot-MuR3USjtoKP9HDOpdzFslOdH5jqTlGGI\"}]],\"aliases\":[]}");
|
|
11
11
|
export const prerendered_assets = JSON.parse("{\"entries\":[],\"aliases\":[]}");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1791431223237"}
|
|
Binary file
|
|
Binary file
|
|
@@ -248,7 +248,7 @@ function server_data_serializer(event, state) {
|
|
|
248
248
|
let promise_id = 1;
|
|
249
249
|
let max_nodes = -1;
|
|
250
250
|
const iterator = create_async_iterator();
|
|
251
|
-
const global = "
|
|
251
|
+
const global = "__sveltekit_jy869k";
|
|
252
252
|
/** @param {number} index */
|
|
253
253
|
function get_replacer(index) {
|
|
254
254
|
/** @param {any} thing */
|
|
@@ -1498,7 +1498,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1498
1498
|
"crossorigin"
|
|
1499
1499
|
]);
|
|
1500
1500
|
}
|
|
1501
|
-
const global = "
|
|
1501
|
+
const global = "__sveltekit_jy869k";
|
|
1502
1502
|
const { data, chunks } = data_serializer.get_data(csp);
|
|
1503
1503
|
if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!(state.prerendering || state.prerender_default === true))).join("\n ")}`;
|
|
1504
1504
|
if (page_config.csr && client) {
|
|
@@ -1522,7 +1522,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
1524
|
const blocks = [];
|
|
1525
|
-
const properties = [`base: ${base_expression}`, `version: ${s("
|
|
1525
|
+
const properties = [`base: ${base_expression}`, `version: ${s("1791431223237")}`];
|
|
1526
1526
|
if (assets) properties.push(`assets: ${s(assets)}`);
|
|
1527
1527
|
if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval$1(rendered_env)}`);
|
|
1528
1528
|
if (chunks) {
|
|
@@ -2017,7 +2017,7 @@ function redirect_response(status, location) {
|
|
|
2017
2017
|
* @param {Response} response
|
|
2018
2018
|
*/
|
|
2019
2019
|
function with_version_header(response) {
|
|
2020
|
-
response.headers.set("x-sveltekit-version", "
|
|
2020
|
+
response.headers.set("x-sveltekit-version", "1791431223237");
|
|
2021
2021
|
return response;
|
|
2022
2022
|
}
|
|
2023
2023
|
/**
|
package/apps/web/package.json
CHANGED
package/bin/cli.js
CHANGED
|
@@ -1206,7 +1206,7 @@ function getCliVersion() {
|
|
|
1206
1206
|
} catch { /* intentional best-effort fallback: failure here must never crash the CLI/MCP runtime */ }
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
|
-
return '2.1.
|
|
1209
|
+
return '2.1.14';
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
1212
|
function drawLogo() {
|
|
@@ -1564,7 +1564,7 @@ async function cmdInit(args, options = {}) {
|
|
|
1564
1564
|
|
|
1565
1565
|
if (!args.includes('--force')) {
|
|
1566
1566
|
log(`\n${C.dim}Run with --force to reinstall.${C.reset}`);
|
|
1567
|
-
const refreshFiles = ['server.js', 'vector_search.js', 'db.js', 'migrate.js', 'db_stats.js', 'db_savings.js', 'db_bridges.js', 'agent_stats.js', 'tools_savings_logger.js', 'circuit_breaker.js', 'persona_memory.js', 'yaml_utils.js', 'prompt_hook.js', 'antigravity_subagent_hook.js', 'antigravity_tool_sanitize_hook.js', 'hook-base.js', 'guardrails.js', 'antigravity_manager.js', 'agent_contract.js', 'cursor_bootstrap.js', 'ai_detector.js', 'docs_ai_detector.js', 'web_server.js', 'sdlc_manager.js', 'mcp_tool_manifest.json'];
|
|
1567
|
+
const refreshFiles = ['server.js', 'vector_search.js', 'db.js', 'migrate.js', 'canonical_skills.js', 'db_stats.js', 'db_savings.js', 'db_bridges.js', 'agent_stats.js', 'tools_savings_logger.js', 'circuit_breaker.js', 'persona_memory.js', 'yaml_utils.js', 'prompt_hook.js', 'antigravity_subagent_hook.js', 'antigravity_tool_sanitize_hook.js', 'hook-base.js', 'guardrails.js', 'antigravity_manager.js', 'agent_contract.js', 'cursor_bootstrap.js', 'ai_detector.js', 'docs_ai_detector.js', 'web_server.js', 'sdlc_manager.js', 'mcp_tool_manifest.json'];
|
|
1568
1568
|
refreshFiles.forEach(f => {
|
|
1569
1569
|
const src = path.join(SRC_DIR, f);
|
|
1570
1570
|
const dest = path.join(SKILLS_DB_DIR, f);
|
|
@@ -1592,7 +1592,7 @@ async function cmdInit(args, options = {}) {
|
|
|
1592
1592
|
projectRoot: currentCwd,
|
|
1593
1593
|
deployProject: true,
|
|
1594
1594
|
silent: true,
|
|
1595
|
-
allowHooks:
|
|
1595
|
+
allowHooks: false,
|
|
1596
1596
|
ruleContent: null
|
|
1597
1597
|
});
|
|
1598
1598
|
cursorManager.registerCursorProjectMcp(currentCwd, python, SERVER_PATH, getUvxCommand(), true);
|
|
@@ -1728,7 +1728,7 @@ async function cmdInit(args, options = {}) {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
1730
|
for (const jsFile of [
|
|
1731
|
-
'db.js', 'vector_search.js', 'server.js', 'migrate.js',
|
|
1731
|
+
'db.js', 'vector_search.js', 'server.js', 'migrate.js', 'canonical_skills.js',
|
|
1732
1732
|
'db_stats.js', 'db_savings.js', 'db_bridges.js', 'agent_stats.js',
|
|
1733
1733
|
'tools_savings_logger.js', 'circuit_breaker.js', 'persona_memory.js', 'yaml_utils.js'
|
|
1734
1734
|
]) {
|
|
@@ -1922,7 +1922,7 @@ async function cmdInit(args, options = {}) {
|
|
|
1922
1922
|
if (options.onProgress) options.onProgress(4, 'MCP Clients', 'Configuring Cursor, Claude Code, OpenCode, Command Code, Codex');
|
|
1923
1923
|
if (allowCursor) {
|
|
1924
1924
|
header('🖱️ Configuring Cursor IDE/CLI');
|
|
1925
|
-
const spinner7 = startSpinner('Registering Cursor MCP, subagents, and
|
|
1925
|
+
const spinner7 = startSpinner('Registering Cursor MCP, subagents, and permissions...');
|
|
1926
1926
|
const uvxCmd = getUvxCommand();
|
|
1927
1927
|
const cursorSetup = cursorManager.ensureCursorSetup({
|
|
1928
1928
|
pythonCmd: python,
|
|
@@ -1932,7 +1932,7 @@ async function cmdInit(args, options = {}) {
|
|
|
1932
1932
|
projectRoot: currentCwd,
|
|
1933
1933
|
deployProject: true,
|
|
1934
1934
|
silent: true,
|
|
1935
|
-
allowHooks:
|
|
1935
|
+
allowHooks: false,
|
|
1936
1936
|
ruleContent: null
|
|
1937
1937
|
});
|
|
1938
1938
|
cursorManager.registerCursorProjectMcp(currentCwd, python, SERVER_PATH, uvxCmd, true);
|
|
@@ -2967,7 +2967,7 @@ function installCliRuntime() {
|
|
|
2967
2967
|
const destWebDir = path.join(SKILLS_DB_DIR, 'apps', 'web');
|
|
2968
2968
|
const destWebPkg = path.join(destWebDir, 'package.json');
|
|
2969
2969
|
if (!fileExists(destWebPkg)) {
|
|
2970
|
-
fs.writeFileSync(destWebPkg, JSON.stringify({ name: 'konoha-web', version: '2.1.
|
|
2970
|
+
fs.writeFileSync(destWebPkg, JSON.stringify({ name: 'konoha-web', version: '2.1.14', type: 'module', private: true }, null, 2) + '\n');
|
|
2971
2971
|
}
|
|
2972
2972
|
fs.writeFileSync(path.join(webBuildDest, 'package.json'), '{\n "type": "module"\n}\n');
|
|
2973
2973
|
info(`Pre-built Web UI installed to ${webBuildDest}`);
|
|
@@ -2991,7 +2991,7 @@ function installCliRuntime() {
|
|
|
2991
2991
|
const destWebDir = path.join(SKILLS_DB_DIR, 'apps', 'web');
|
|
2992
2992
|
const destWebPkg = path.join(destWebDir, 'package.json');
|
|
2993
2993
|
if (!fileExists(destWebPkg)) {
|
|
2994
|
-
fs.writeFileSync(destWebPkg, JSON.stringify({ name: 'konoha-web', version: '2.1.
|
|
2994
|
+
fs.writeFileSync(destWebPkg, JSON.stringify({ name: 'konoha-web', version: '2.1.14', type: 'module', private: true }, null, 2) + '\n');
|
|
2995
2995
|
}
|
|
2996
2996
|
fs.writeFileSync(path.join(webBuildDest, 'package.json'), '{\n "type": "module"\n}\n');
|
|
2997
2997
|
info(`Pre-built Web UI installed to ${webBuildDest}`);
|
|
@@ -3217,7 +3217,7 @@ function copySkillsDirFast(srcRoot, destRoot) {
|
|
|
3217
3217
|
walk(srcRoot);
|
|
3218
3218
|
|
|
3219
3219
|
// Old skills protection: strictly NEVER prune or remove entries from destRoot.
|
|
3220
|
-
// Pre-existing user skills and client skills are preserved across installs and upgrades.
|
|
3220
|
+
// Pre-existing user skills, global skills, and client skills are preserved across installs and upgrades.
|
|
3221
3221
|
|
|
3222
3222
|
try { fs.writeFileSync(fpMarker, srcFp); } catch { /* intentional best-effort fallback: failure here must never crash the CLI/MCP runtime */ }
|
|
3223
3223
|
}
|
|
@@ -3315,7 +3315,7 @@ function ensureAutoSetup(force = false) {
|
|
|
3315
3315
|
|
|
3316
3316
|
// 2. Copy the Node.js server and runtime files if missing or outdated
|
|
3317
3317
|
const filesToCopy = [
|
|
3318
|
-
'server.js', 'vector_search.js', 'db.js', 'migrate.js',
|
|
3318
|
+
'server.js', 'vector_search.js', 'db.js', 'migrate.js', 'canonical_skills.js',
|
|
3319
3319
|
'file_tools_router.js', 'file_tools_launcher.js', 'tools_savings_logger.js',
|
|
3320
3320
|
'persona_memory.js', 'circuit_breaker.js', 'search_policy.js',
|
|
3321
3321
|
'platform_utils.js', 'deploy_utils.js', 'mcp_tool_manifest.json',
|
|
@@ -4435,6 +4435,7 @@ async function cmdDoctor(args = []) {
|
|
|
4435
4435
|
|
|
4436
4436
|
// 3. Migration Script
|
|
4437
4437
|
checkAndRepairFile('migrate.js', MIGRATE_PATH, 'Migration Script (migrate.js)');
|
|
4438
|
+
checkAndRepairFile('canonical_skills.js', path.join(SKILLS_DB_DIR, 'canonical_skills.js'), 'Canonical Skills (canonical_skills.js)');
|
|
4438
4439
|
|
|
4439
4440
|
// 4. Stats Helper
|
|
4440
4441
|
const statsScriptDest = path.join(SKILLS_DB_DIR, 'db_stats.js');
|