knowns 0.10.6 → 0.11.1

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.
Files changed (78) hide show
  1. package/README.md +77 -5
  2. package/dist/index.js +2260 -447
  3. package/dist/mcp/server.js +791 -98
  4. package/dist/ui/assets/_baseUniq-mJ2qRgUw.js +1 -0
  5. package/dist/ui/assets/arc-Dia_mKvM.js +1 -0
  6. package/dist/ui/assets/architectureDiagram-VXUJARFQ-tBzV8kj9.js +36 -0
  7. package/dist/ui/assets/blockDiagram-VD42YOAC-C-HTQb5E.js +122 -0
  8. package/dist/ui/assets/c4Diagram-YG6GDRKO-C0yQiX5Y.js +10 -0
  9. package/dist/ui/assets/channel-DSb74Q1N.js +1 -0
  10. package/dist/ui/assets/chunk-4BX2VUAB-BwXHwcog.js +1 -0
  11. package/dist/ui/assets/chunk-55IACEB6-cm9ttYtM.js +1 -0
  12. package/dist/ui/assets/chunk-B4BG7PRW-DilkZd_Y.js +165 -0
  13. package/dist/ui/assets/chunk-DI55MBZ5-C3cNUHib.js +220 -0
  14. package/dist/ui/assets/chunk-FMBD7UC4-DvYrYhOD.js +15 -0
  15. package/dist/ui/assets/chunk-QN33PNHL-DOUvix3u.js +1 -0
  16. package/dist/ui/assets/chunk-QZHKN3VN-D0GHAIzM.js +1 -0
  17. package/dist/ui/assets/chunk-TZMSLE5B-PujADUvQ.js +1 -0
  18. package/dist/ui/assets/classDiagram-2ON5EDUG-C39LYU-P.js +1 -0
  19. package/dist/ui/assets/classDiagram-v2-WZHVMYZB-C39LYU-P.js +1 -0
  20. package/dist/ui/assets/clone-Bi044cuE.js +1 -0
  21. package/dist/ui/assets/cose-bilkent-S5V4N54A-C2qvR0p-.js +1 -0
  22. package/dist/ui/assets/cytoscape.esm-5J0xJHOV.js +321 -0
  23. package/dist/ui/assets/dagre-6UL2VRFP-BAYXsw0B.js +4 -0
  24. package/dist/ui/assets/defaultLocale-DX6XiGOO.js +1 -0
  25. package/dist/ui/assets/diagram-PSM6KHXK-eJdeVOA9.js +24 -0
  26. package/dist/ui/assets/diagram-QEK2KX5R-DqvEvV61.js +43 -0
  27. package/dist/ui/assets/diagram-S2PKOQOG-H0Nwhv8f.js +24 -0
  28. package/dist/ui/assets/erDiagram-Q2GNP2WA-CdRIwBp2.js +60 -0
  29. package/dist/ui/assets/flowDiagram-NV44I4VS-DrMp-xuY.js +162 -0
  30. package/dist/ui/assets/ganttDiagram-JELNMOA3-B3P27Q74.js +267 -0
  31. package/dist/ui/assets/gitGraphDiagram-NY62KEGX-BeGK8yY3.js +65 -0
  32. package/dist/ui/assets/graph-YBrzKSva.js +1 -0
  33. package/dist/ui/assets/index-BDuGtZOD.css +1 -0
  34. package/dist/ui/assets/index-X4K56byP.js +424 -0
  35. package/dist/ui/assets/infoDiagram-WHAUD3N6-D-rFqcXE.js +2 -0
  36. package/dist/ui/assets/init-Gi6I4Gst.js +1 -0
  37. package/dist/ui/assets/journeyDiagram-XKPGCS4Q-CzpxzUs2.js +139 -0
  38. package/dist/ui/assets/kanban-definition-3W4ZIXB7-BiT-hWWk.js +89 -0
  39. package/dist/ui/assets/katex-DhXJpUyf.js +261 -0
  40. package/dist/ui/assets/layout-B5nGL8xD.js +1 -0
  41. package/dist/ui/assets/linear-D88SP4Ga.js +1 -0
  42. package/dist/ui/assets/min-DU4xMGv6.js +1 -0
  43. package/dist/ui/assets/mindmap-definition-VGOIOE7T-BYzajDUY.js +68 -0
  44. package/dist/ui/assets/ordinal-Cboi1Yqb.js +1 -0
  45. package/dist/ui/assets/pieDiagram-ADFJNKIX-MoYd8ZeP.js +30 -0
  46. package/dist/ui/assets/quadrantDiagram-AYHSOK5B-Dowc2zPX.js +7 -0
  47. package/dist/ui/assets/requirementDiagram-UZGBJVZJ-ChakCqrl.js +64 -0
  48. package/dist/ui/assets/sankeyDiagram-TZEHDZUN-nfBLEnuL.js +10 -0
  49. package/dist/ui/assets/sequenceDiagram-WL72ISMW-DbGNDfBT.js +145 -0
  50. package/dist/ui/assets/stateDiagram-FKZM4ZOC-Co6MJLF8.js +1 -0
  51. package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-BlYIuESB.js +1 -0
  52. package/dist/ui/assets/timeline-definition-IT6M3QCI-D2BC1hGN.js +61 -0
  53. package/dist/ui/assets/treemap-KMMF4GRG-avt_9mO-.js +128 -0
  54. package/dist/ui/assets/xychartDiagram-PRI3JC2R-Dit5KUKK.js +7 -0
  55. package/dist/ui/index.html +2 -2
  56. package/package.json +2 -4
  57. package/dist/ui/assets/index-2CDomS1a.js +0 -317
  58. package/dist/ui/assets/index-B1mpVDN3.css +0 -1
  59. package/dist/ui/assets/inter-v12-latin-100-46Mq0mOp.woff +0 -0
  60. package/dist/ui/assets/inter-v12-latin-100-BQDzDElq.woff2 +0 -0
  61. package/dist/ui/assets/inter-v12-latin-200-BxfrU12A.woff2 +0 -0
  62. package/dist/ui/assets/inter-v12-latin-200-DXfqWPZg.woff +0 -0
  63. package/dist/ui/assets/inter-v12-latin-300-DEbyFmpd.woff2 +0 -0
  64. package/dist/ui/assets/inter-v12-latin-300-f7r92Nkj.woff +0 -0
  65. package/dist/ui/assets/inter-v12-latin-500-BQ2gQN_M.woff +0 -0
  66. package/dist/ui/assets/inter-v12-latin-500-DfX5FI9E.woff2 +0 -0
  67. package/dist/ui/assets/inter-v12-latin-600-BvOeHRLc.woff2 +0 -0
  68. package/dist/ui/assets/inter-v12-latin-600-D01NXWOK.woff +0 -0
  69. package/dist/ui/assets/inter-v12-latin-700-B5TOIllR.woff +0 -0
  70. package/dist/ui/assets/inter-v12-latin-700-Bj1B9WKG.woff2 +0 -0
  71. package/dist/ui/assets/inter-v12-latin-800-Bdy4lAMa.woff2 +0 -0
  72. package/dist/ui/assets/inter-v12-latin-800-DFVvDWwT.woff +0 -0
  73. package/dist/ui/assets/inter-v12-latin-900-CMga-52B.woff2 +0 -0
  74. package/dist/ui/assets/inter-v12-latin-900-ORHAl5ZU.woff +0 -0
  75. package/dist/ui/assets/inter-v12-latin-regular-CahmJf_6.woff +0 -0
  76. package/dist/ui/assets/inter-v12-latin-regular-YtgfLPRn.woff2 +0 -0
  77. package/dist/ui/assets/module-RjUF93sV.js +0 -716
  78. package/dist/ui/assets/native-48B9X9Wg.js +0 -1
package/README.md CHANGED
@@ -65,12 +65,18 @@ Knowns resolves `@doc/...` and `@task-...` into real files. AI reads them via [M
65
65
  ## Install
66
66
 
67
67
  ```bash
68
- # using npm
68
+ # Homebrew (macOS/Linux) - no Node.js required
69
+ brew install knowns-dev/tap/knowns
70
+
71
+ # npm
69
72
  npm install -g knowns
70
73
 
71
- # using bun
74
+ # bun
72
75
  bun install -g knowns
73
76
 
77
+ # npx (no install)
78
+ npx knowns
79
+
74
80
 
75
81
  knowns init
76
82
  knowns browser # Open Web UI
@@ -96,13 +102,14 @@ knowns browser # Open Web UI
96
102
  | Feature | Description |
97
103
  | -------------------- | -------------------------------------------------- |
98
104
  | **Task Management** | Create, track tasks with acceptance criteria |
99
- | **Documentation** | Nested folders with markdown support |
105
+ | **Documentation** | Nested folders with markdown + mermaid support |
100
106
  | **Time Tracking** | Built-in timers and reports |
101
107
  | **Context Linking** | `@task-42` and `@doc/patterns/auth` references |
108
+ | **Validation** | Check broken refs with `knowns validate` |
102
109
  | **Template System** | Code generation with Handlebars (`.hbs`) templates |
103
110
  | **Import System** | Import docs/templates from git, npm, or local |
104
111
  | **AI Integration** | Full MCP Server with AC/plan/notes operations |
105
- | **Web UI** | Kanban board, doc browser, templates page |
112
+ | **Web UI** | Kanban board, doc browser, mermaid diagrams |
106
113
 
107
114
  ---
108
115
 
@@ -132,9 +139,10 @@ knowns import add <name> <source> # Add import
132
139
  knowns import sync # Sync all imports
133
140
  knowns import list # List imports
134
141
 
135
- # Time & Search
142
+ # Time, Search & Validate
136
143
  knowns time start <id> && knowns time stop
137
144
  knowns search "query" --plain
145
+ knowns validate # Check broken refs
138
146
 
139
147
  # AI Guidelines
140
148
  knowns agents sync # Sync CLAUDE.md, AGENTS.md
@@ -143,6 +151,70 @@ knowns agents sync --type mcp # MCP tools format
143
151
 
144
152
  ---
145
153
 
154
+ ## Claude Code Skills Workflow
155
+
156
+ When using Claude Code with Knowns, use skills (slash commands) for a guided workflow:
157
+
158
+ ```
159
+ /kn-init → Read project docs, understand context
160
+ /kn-plan → Take task, gather context, create plan (wait for approval)
161
+ /kn-implement → Follow plan, check ACs, track progress
162
+ /kn-commit → Commit with conventional format
163
+ ```
164
+
165
+ ### Example Session
166
+
167
+ ```
168
+ You: /kn-init
169
+ Claude: [Reads README, ARCHITECTURE, checks task backlog]
170
+ "Project uses NestJS with CQRS pattern. 3 tasks in-progress..."
171
+
172
+ You: /kn-plan 42
173
+ Claude: [Takes task, reads refs, searches docs]
174
+ "Task #42: Add user authentication
175
+
176
+ ## Implementation Plan
177
+ 1. Review @doc/patterns/auth
178
+ 2. Create AuthModule with JWT strategy
179
+ 3. Add login/register endpoints
180
+ 4. Write unit tests
181
+
182
+ Approve this plan?"
183
+
184
+ You: Yes
185
+
186
+ You: /kn-implement 42
187
+ Claude: [Follows plan, generates code, checks ACs]
188
+ "✓ AC1: User can login - DONE
189
+ ✓ AC2: JWT token returned - DONE
190
+ ✓ AC3: Tests pass - DONE
191
+
192
+ All acceptance criteria complete. Ready to commit?"
193
+
194
+ You: /kn-commit
195
+ Claude: [Creates conventional commit]
196
+ "feat(auth): add JWT authentication
197
+
198
+ - Add AuthModule with passport JWT strategy
199
+ - Add login/register endpoints
200
+ - Add unit tests (94% coverage)"
201
+ ```
202
+
203
+ ### All Skills
204
+
205
+ | Skill | Description |
206
+ |-------|-------------|
207
+ | `/kn-init` | Initialize session - read docs, understand project |
208
+ | `/kn-plan <id>` | Take task, gather context, create implementation plan |
209
+ | `/kn-implement <id>` | Execute plan, track progress, check acceptance criteria |
210
+ | `/kn-research` | Search codebase, find patterns, explore before coding |
211
+ | `/kn-commit` | Create conventional commit with verification |
212
+ | `/kn-doc` | Create or update documentation |
213
+ | `/kn-extract` | Extract reusable patterns into docs/templates |
214
+ | `/kn-template` | List, run, or create code templates |
215
+
216
+ ---
217
+
146
218
  ## Documentation
147
219
 
148
220
  | Guide | Description |