knowns 0.3.1 → 0.5.0
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/CHANGELOG.md +56 -313
- package/CLAUDE.md +22 -8
- package/README.md +8 -1
- package/dist/index.js +3368 -2033
- package/dist/mcp/server.js +1819 -1541
- package/dist/ui/assets/index-CE9TcfeR.css +1 -0
- package/dist/ui/assets/index-cRjSkI-I.js +313 -0
- package/dist/ui/assets/inter-v12-latin-100-46Mq0mOp.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-100-BQDzDElq.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-200-BxfrU12A.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-200-DXfqWPZg.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-300-DEbyFmpd.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-300-f7r92Nkj.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-500-BQ2gQN_M.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-500-DfX5FI9E.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-600-BvOeHRLc.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-600-D01NXWOK.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-700-B5TOIllR.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-700-Bj1B9WKG.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-800-Bdy4lAMa.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-800-DFVvDWwT.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-900-CMga-52B.woff2 +0 -0
- package/dist/ui/assets/inter-v12-latin-900-ORHAl5ZU.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-regular-CahmJf_6.woff +0 -0
- package/dist/ui/assets/inter-v12-latin-regular-YtgfLPRn.woff2 +0 -0
- package/dist/ui/assets/module-RjUF93sV.js +716 -0
- package/dist/ui/assets/native-48B9X9Wg.js +1 -0
- package/dist/ui/index.html +2 -2
- package/package.json +11 -1
- package/dist/ui/assets/index-BUsOx5xS.css +0 -1
- package/dist/ui/assets/index-BqJqFGQL.js +0 -171
package/CHANGELOG.md
CHANGED
|
@@ -1,358 +1,101 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to
|
|
3
|
+
All notable changes to Knowns will be documented in this file.
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [0.
|
|
9
|
-
|
|
10
|
-
### Fixed
|
|
11
|
-
- **Kanban Drag-Drop**: Fixed cards not being droppable into empty columns
|
|
12
|
-
- Implemented custom multi-strategy collision detection algorithm
|
|
13
|
-
- Strategy 1: Pointer position detection (most intuitive for users)
|
|
14
|
-
- Strategy 2: Rectangle intersection for overlapping elements
|
|
15
|
-
- Strategy 3: Extended bounds with 150px buffer for near-column detection
|
|
16
|
-
- Strategy 4: Closest corners fallback for edge cases
|
|
17
|
-
- Dragging is now much smoother and easier
|
|
18
|
-
|
|
19
|
-
### Changed
|
|
20
|
-
- **MCP Integration Docs**: Updated `docs/mcp-integration.md` with complete tool reference
|
|
21
|
-
- Added all 15 MCP tools with parameters
|
|
22
|
-
- Added time tracking and board tools
|
|
23
|
-
- Added troubleshooting section for `--verbose` and `--info` flags
|
|
24
|
-
- Added resources section with links to official docs
|
|
25
|
-
|
|
26
|
-
## [0.3.0] - 2025-12-29
|
|
8
|
+
## [0.5.0] - 2025-01-04
|
|
27
9
|
|
|
28
10
|
### Added
|
|
29
|
-
- **CLI Shorthand Commands**: New concise syntax for common operations
|
|
30
|
-
- `knowns task <id>` - Shorthand for `knowns task view <id>`
|
|
31
|
-
- `knowns doc <path>` - Shorthand for `knowns doc view <path>`
|
|
32
|
-
- Reduces typing while maintaining full command compatibility
|
|
33
|
-
|
|
34
|
-
- **New UI Components** (shadcn/ui):
|
|
35
|
-
- Badge, Card, Checkbox, Label, Progress, Select components
|
|
36
|
-
- Data Table with sorting, filtering, and pagination
|
|
37
|
-
- Dropdown Menu for context actions
|
|
38
|
-
- Kanban board components (Column, Card, Board)
|
|
39
|
-
- Sonner for toast notifications
|
|
40
|
-
- Table component for data display
|
|
41
|
-
|
|
42
|
-
- **New React Contexts**:
|
|
43
|
-
- `ConfigContext` - Global configuration state management
|
|
44
|
-
- `TimeTrackerContext` - Time tracking state across components
|
|
45
|
-
- `UIPreferencesContext` - User UI preferences persistence
|
|
46
|
-
|
|
47
|
-
- **Server Architecture**:
|
|
48
|
-
- `src/server/middleware/` - Request processing middleware
|
|
49
|
-
- `src/server/routes/` - Modular route handlers
|
|
50
|
-
- `src/server/utils/` - Server utility functions
|
|
51
|
-
- `src/server/types.ts` - TypeScript type definitions
|
|
52
|
-
|
|
53
|
-
- **Documentation**:
|
|
54
|
-
- `docs/developer-guide.md` - Developer setup and contribution guide
|
|
55
|
-
- `docs/user-guide.md` - End-user documentation
|
|
56
|
-
|
|
57
|
-
- **Utilities**:
|
|
58
|
-
- `src/ui/utils/colors.ts` - Color utility functions for UI
|
|
59
|
-
- `src/ui/utils/markdown-sections.ts` - Markdown section parsing
|
|
60
11
|
|
|
61
|
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
- **Server Refactoring**: Modularized monolithic server
|
|
70
|
-
- Split 567-line `server/index.ts` into focused modules
|
|
71
|
-
- Cleaner separation of concerns
|
|
72
|
-
- Easier testing and maintenance
|
|
73
|
-
|
|
74
|
-
- **Page Components**: Simplified and optimized
|
|
75
|
-
- `TasksPage` - Reduced from 700+ to ~300 lines
|
|
76
|
-
- `DocsPage` - Streamlined document management
|
|
77
|
-
- `KanbanPage` - Enhanced board functionality
|
|
78
|
-
- `ConfigPage` - Improved settings interface
|
|
79
|
-
|
|
80
|
-
- **API Client**: Enhanced `src/ui/api/client.ts`
|
|
81
|
-
- Better error handling
|
|
82
|
-
- Type-safe API calls
|
|
83
|
-
- Improved response parsing
|
|
84
|
-
|
|
85
|
-
- **Guidelines**: Updated AI agent guidelines
|
|
86
|
-
- Clearer reference format documentation
|
|
87
|
-
- Better examples for input vs output formats
|
|
88
|
-
- Improved workflow instructions
|
|
89
|
-
|
|
90
|
-
### Removed
|
|
91
|
-
- **Legacy Components**: Cleaned up old monolithic components
|
|
92
|
-
- `ActivityFeed.tsx`, `AppSidebar.tsx`, `AssigneeDropdown.tsx`
|
|
93
|
-
- `Avatar.tsx`, `Board.tsx`, `Column.tsx`
|
|
94
|
-
- `MarkdownRenderer.tsx`, `NotificationBell.tsx`
|
|
95
|
-
- `SearchBox.tsx`, `SearchCommandDialog.tsx`
|
|
96
|
-
- `TaskCard.tsx`, `TaskCreateForm.tsx`, `TaskDetailModal.tsx`
|
|
97
|
-
- `TaskHistoryPanel.tsx`, `TimeTracker.tsx`, `VersionDiffViewer.tsx`
|
|
98
|
-
- Functionality preserved in new Atomic Design components
|
|
12
|
+
- **BlockNote Rich Text Editor**: Replace markdown textarea with BlockNote WYSIWYG editor
|
|
13
|
+
- Task description, implementation plan, and notes now use rich text
|
|
14
|
+
- Docs page uses BlockNote for editing
|
|
15
|
+
- **Mentions System**: Reference tasks and docs with `@task-X` and `@doc/path`
|
|
16
|
+
- Autocomplete suggestions when typing `@`
|
|
17
|
+
- Clickable mention badges with live data (title, status)
|
|
18
|
+
- Works in both BlockNoteEditor and MDRender
|
|
19
|
+
- **Error Boundary**: Gracefully handle BlockNote rendering errors
|
|
99
20
|
|
|
100
21
|
### Fixed
|
|
101
|
-
- **Dialog/Sheet Components**: Fixed accessibility and styling issues
|
|
102
|
-
- **Mention Refs**: Improved reference parsing reliability
|
|
103
|
-
- **Server Notifications**: Better WebSocket notification handling
|
|
104
22
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
- Added `realpathSync` to resolve symlinks before computing paths
|
|
111
|
-
- Changed Express `sendFile` to use `root` option for reliable file serving
|
|
112
|
-
|
|
113
|
-
## [0.2.0] - 2025-12-27
|
|
114
|
-
|
|
115
|
-
### Added
|
|
116
|
-
- **Project Documentation**: Comprehensive project docs for contributors and users
|
|
117
|
-
- `PHILOSOPHY.md` - 10 core principles guiding Knowns design
|
|
118
|
-
- `ARCHITECTURE.md` - Technical overview, diagrams, data flow, sync logic
|
|
119
|
-
- `CONTRIBUTING.md` - Contribution guidelines aligned with philosophy
|
|
120
|
-
- `docs/` folder with detailed guides:
|
|
121
|
-
- `commands.md` - Full CLI command reference
|
|
122
|
-
- `workflow.md` - Task lifecycle guide
|
|
123
|
-
- `reference-system.md` - How `@doc/` and `@task-` linking works
|
|
124
|
-
- `web-ui.md` - Kanban board and document browser guide
|
|
125
|
-
- `mcp-integration.md` - Claude Desktop MCP setup
|
|
126
|
-
- `configuration.md` - Project structure and options
|
|
127
|
-
- `ai-workflow.md` - Guide for AI agents
|
|
128
|
-
|
|
129
|
-
- **README Improvements**:
|
|
130
|
-
- Added TL;DR section for quick understanding
|
|
131
|
-
- Added comparison table vs Notion/Jira/Obsidian
|
|
132
|
-
- Added "How it works" 3-step explanation
|
|
133
|
-
- Added Roadmap section with Self-Hosted Team Sync (planned)
|
|
134
|
-
- New badges: Node version, TypeScript, Platform, GitHub stars, PRs welcome
|
|
135
|
-
- Links to Philosophy, Architecture, and Contributing docs
|
|
136
|
-
|
|
137
|
-
- **Node.js Engine Requirement**: Added `engines.node >= 18.0.0` to package.json
|
|
23
|
+
- **Mention serialization**: Correctly save mentions as `@task-X` format instead of display text
|
|
24
|
+
- **Mentions in tables**: Delete/replace operations now work for mentions inside table cells
|
|
25
|
+
- **Mentions in code blocks**: Preserve raw `@task-X`, `@doc/path` in code blocks and inline code
|
|
26
|
+
- UI: BlockNoteEditor and MDRender skip mention rendering in code
|
|
27
|
+
- CLI: `--plain` output keeps mentions raw inside code blocks
|
|
138
28
|
|
|
139
29
|
### Changed
|
|
140
|
-
- **README Restructure**: Optimized for first impressions
|
|
141
|
-
- Moved detailed docs to `./docs/` folder
|
|
142
|
-
- Shortened main README from ~300 to ~175 lines
|
|
143
|
-
- Documentation table links to detailed guides
|
|
144
|
-
- **Tagline**: Updated to "CLI-first knowledge layer that gives AI persistent memory of your project"
|
|
145
|
-
- **Version Display**: Now reads directly from package.json (works with both npm and bun)
|
|
146
30
|
|
|
147
|
-
|
|
148
|
-
- **
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
- Changed regex from `/@doc\/([^\s]+\.md)/g` to `/@docs?\/([^\s)]+)/g`
|
|
152
|
-
- Added `normalizeDocPath()` to automatically add `.md` extension
|
|
31
|
+
- **Editor view mode**: Use MDRender for viewing, BlockNoteEditor for editing (better stability)
|
|
32
|
+
- **Mention badge styles**: Synchronized between MDRender and BlockNoteEditor
|
|
33
|
+
- Task badges: green theme
|
|
34
|
+
- Doc badges: blue theme
|
|
153
35
|
|
|
154
|
-
## [0.
|
|
36
|
+
## [0.4.0] - 2025-12-31
|
|
155
37
|
|
|
156
38
|
### Added
|
|
157
|
-
- **Node.js Runtime Support**: Browser command now works with both Bun and Node.js
|
|
158
|
-
- Migrated server from `Bun.serve()` to Express + ws
|
|
159
|
-
- Added `express`, `ws`, and `cors` dependencies
|
|
160
|
-
- WebSocket real-time sync works on both runtimes
|
|
161
|
-
- **Bun Compatibility Layer**: New `src/utils/bun-compat.ts` utility providing cross-runtime support
|
|
162
|
-
- `file()` - Bun.file() compatible wrapper for reading files
|
|
163
|
-
- `write()` - Bun.write() compatible wrapper for writing files
|
|
164
|
-
- `bunSpawn()` - Bun.spawn() compatible wrapper for process spawning
|
|
165
|
-
- CLI commands now work with both Bun and Node.js runtimes
|
|
166
|
-
- **Build Scripts**: Added `scripts/build-cli.js` using esbuild for Node.js-compatible builds
|
|
167
|
-
- CLI can now be built with `node scripts/build-cli.js` (no Bun required)
|
|
168
|
-
- Uses ESM format with `createRequire` shim for CommonJS compatibility
|
|
169
|
-
- Builds both main CLI and MCP server
|
|
170
|
-
- Properly strips old shebangs and adds Node.js-compatible shebang
|
|
171
|
-
- **CI/CD**: Updated GitHub Actions workflows to use only Node.js and npm
|
|
172
|
-
- Removed Bun dependency from CI/CD pipelines
|
|
173
|
-
- Both `ci.yml` and `publish.yml` now use `npm ci`, `npm test`, `npm run build`
|
|
174
|
-
- Added npm cache for faster builds
|
|
175
|
-
- **Testing**: Migrated from `bun test` to `vitest`
|
|
176
|
-
- Added `vitest.config.ts` with path aliases support
|
|
177
|
-
- All 76 tests passing with vitest
|
|
178
39
|
|
|
179
|
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
|
|
189
|
-
- Added `.npmrc` with `legacy-peer-deps=true` for React 19 compatibility
|
|
190
|
-
- **Web UI Doc Update**: Fixed "path must be string" error when updating docs
|
|
191
|
-
- Express 5 wildcard `{*path}` returns array, now properly joined to string
|
|
40
|
+
- **Template System**: 2x2 matrix of guidelines (type × variant)
|
|
41
|
+
- Types: `cli` (CLI commands) and `mcp` (MCP tools)
|
|
42
|
+
- Variants: `general` (full ~15KB) and `gemini` (compact ~3KB)
|
|
43
|
+
- **`--gemini` flag**: Use compact Gemini variant for smaller context windows
|
|
44
|
+
- `knowns agents sync --gemini`
|
|
45
|
+
- `knowns agents --update-instructions --gemini`
|
|
46
|
+
- **Doc list path filter**: Filter docs by folder
|
|
47
|
+
- `knowns doc list "guides/" --plain`
|
|
48
|
+
- `knowns doc list "patterns/" --plain`
|
|
49
|
+
- **Doc list tree format**: Token-efficient tree view with `--plain`
|
|
192
50
|
|
|
193
51
|
### Changed
|
|
194
|
-
- **Server Architecture**: Complete rewrite of `src/server/index.ts`
|
|
195
|
-
- Replaced `Bun.serve()` with Express HTTP server
|
|
196
|
-
- Replaced Bun WebSocket API with `ws` library
|
|
197
|
-
- All 15 API routes migrated to Express router pattern
|
|
198
|
-
- Static file serving now uses `express.static()`
|
|
199
|
-
- Refactored file operations across multiple modules to use the new compatibility layer:
|
|
200
|
-
- `src/commands/task.ts` - Archive/unarchive operations
|
|
201
|
-
- `src/commands/time.ts` - Time tracking data persistence
|
|
202
|
-
- `src/storage/file-store.ts` - Task and project storage
|
|
203
|
-
- `src/storage/version-store.ts` - Version history storage
|
|
204
|
-
- Simplified `src/utils/bun-compat.ts` - removed `serve()` function (now using Express)
|
|
205
|
-
|
|
206
|
-
## [0.1.7] - 2025-12-27
|
|
207
52
|
|
|
208
|
-
|
|
209
|
-
-
|
|
210
|
-
|
|
211
|
-
- Changed parent task display from button to div with proper accessibility attributes in TaskDetailModal
|
|
212
|
-
- Added `w-full` constraint to prevent buttons from expanding to 1200px width
|
|
213
|
-
- Implemented proper text truncation with `truncate`, `flex-1`, `min-w-0`, and `overflow-hidden` classes
|
|
214
|
-
- Added title attributes to show full text on hover for truncated titles
|
|
53
|
+
- Restructured templates folder: `src/templates/{cli,mcp}/{general,gemini}.md`
|
|
54
|
+
- Interactive `knowns agents` now prompts for type and variant
|
|
55
|
+
- `knowns agents sync` supports `--type`, `--gemini`, `--all` options
|
|
215
56
|
|
|
216
|
-
|
|
57
|
+
### Fixed
|
|
217
58
|
|
|
218
|
-
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
- Added `/api/notify` endpoint for CLI to notify server of changes
|
|
222
|
-
- Tasks and docs pages listen for WebSocket updates
|
|
223
|
-
- **Custom Server Port**: Server port is now saved to config when using `-p` option
|
|
224
|
-
- Example: `knowns browser -p 7000` saves port 7000 to config
|
|
225
|
-
- Notify functions automatically use the saved port for real-time sync
|
|
226
|
-
- **Doc CLI**: Added `--folder` option to `doc create` command for creating docs in nested folders
|
|
227
|
-
- Example: `knowns doc create "Guide" -f guides`
|
|
228
|
-
- **Doc CLI**: Added `--content` and `--append` options to `doc edit` command
|
|
229
|
-
- `-c, --content <text>` - Replace document content
|
|
230
|
-
- `-a, --append <text>` - Append to existing content
|
|
231
|
-
- **Web UI**: MDEditor now supports full-height mode for better editing experience
|
|
232
|
-
- **Web UI**: Create document modal is now larger (90vh) with full editor support
|
|
233
|
-
- **Documentation**: Added comprehensive CLI guide at `guides/knowns-cli-guide.md`
|
|
59
|
+
- **`--plain` flag not working**: Fixed Commander.js option inheritance for nested commands
|
|
60
|
+
- Added `.enablePositionalOptions()` and `.passThroughOptions()` to parent commands
|
|
61
|
+
- Affects: `knowns task list --plain`, `knowns doc list --plain`, `knowns agents sync --gemini`
|
|
234
62
|
|
|
235
|
-
|
|
236
|
-
- **Web UI**: Improved markdown editor layout with flex-based height management
|
|
237
|
-
- **Web UI**: Editor properly fills available space when editing docs
|
|
238
|
-
- **Reference System**: Doc mention regex now matches both `@doc/` and `@docs/` patterns
|
|
63
|
+
## [0.3.1] - 2025-12-31
|
|
239
64
|
|
|
240
65
|
### Fixed
|
|
241
|
-
- **Web UI**: Fixed Assignee dropdown not working inside modal (Portal container fix)
|
|
242
|
-
- **Web UI**: Fixed editor scroll issues in full-height mode
|
|
243
|
-
- **Web UI**: Fixed create modal form fields not properly sized
|
|
244
66
|
|
|
245
|
-
|
|
67
|
+
- Clear error message when server port is already in use
|
|
246
68
|
|
|
247
|
-
|
|
248
|
-
- **Kanban Board**: Fixed an issue where columns with many tasks were not scrollable. The entire board area is now vertically scrollable.
|
|
69
|
+
## [0.3.0] - 2025-12-29
|
|
249
70
|
|
|
250
71
|
### Added
|
|
251
|
-
- **Build Process**: The UI now dynamically displays the version from `package.json`.
|
|
252
|
-
- The version is injected at build time, so it's always up-to-date.
|
|
253
72
|
|
|
254
|
-
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
- **Browser Command**: Fixed UI path detection when running from installed package
|
|
261
|
-
- Server now correctly finds pre-built UI files in `dist/ui`
|
|
262
|
-
- Works in both development mode (build on-the-fly) and production (serve pre-built)
|
|
263
|
-
- Fixed package root detection for bundled code
|
|
264
|
-
- **GitHub Actions**: Fixed release creation permissions error
|
|
265
|
-
- Updated permissions from `contents: read` to `contents: write`
|
|
266
|
-
- Switched from deprecated `actions/create-release@v1` to `softprops/action-gh-release@v1`
|
|
267
|
-
- Enhanced release notes with installation instructions
|
|
268
|
-
|
|
269
|
-
### Added
|
|
270
|
-
- **Build Process**: UI files now built and included in npm package
|
|
271
|
-
- `dist/ui/index.html` - Main HTML file
|
|
272
|
-
- `dist/ui/main.js` - Minified React application (533KB)
|
|
273
|
-
- `dist/ui/main.css` - Compiled styles
|
|
274
|
-
- `dist/ui/index.css` - Additional styles
|
|
275
|
-
- Separate build scripts for CLI and UI (`build:cli`, `build:ui`, `build:copy-html`)
|
|
276
|
-
- Production vs development mode for browser server
|
|
73
|
+
- Atomic Design UI refactoring (atoms, molecules, organisms, templates)
|
|
74
|
+
- CLI enhancements for AI agents
|
|
75
|
+
- File-based content options (`--content-file`, `--append-file`)
|
|
76
|
+
- Text manipulation commands (`doc search-in`, `doc replace`, `doc replace-section`)
|
|
77
|
+
- Validate & repair commands for tasks and docs
|
|
78
|
+
- `knowns agents sync` command
|
|
277
79
|
|
|
278
80
|
### Changed
|
|
279
|
-
- Browser command now serves pre-built UI instead of building on user's machine
|
|
280
|
-
- Improved error messages when UI files are not found
|
|
281
|
-
- Server logs now indicate whether using pre-built UI or development mode
|
|
282
81
|
|
|
283
|
-
|
|
82
|
+
- UI components reorganized following Atomic Design principles
|
|
83
|
+
- Improved shadcn/ui integration
|
|
284
84
|
|
|
285
|
-
|
|
286
|
-
- New `src/constants/knowns-guidelines.ts` file containing system prompt as TypeScript constant
|
|
287
|
-
- Auto-sync of Knowns guidelines to AI instruction files during `knowns init`
|
|
288
|
-
- Third step in "Next steps" output: "Update AI instructions: knowns agents --update-instructions"
|
|
85
|
+
## [0.2.0] - 2025-12-28
|
|
289
86
|
|
|
290
|
-
###
|
|
291
|
-
- Refactored `agents` command to use bundled constant instead of reading from CLAUDE.md
|
|
292
|
-
- CLAUDE.md is now a target file (not source) - gets updated like other AI instruction files
|
|
293
|
-
- Exported `updateInstructionFile()` and `INSTRUCTION_FILES` from agents.ts for reusability
|
|
294
|
-
- System prompt now bundled into binary, eliminating file I/O during sync
|
|
87
|
+
### Added
|
|
295
88
|
|
|
296
|
-
|
|
297
|
-
-
|
|
298
|
-
- More reliable init process - new projects get AI instructions automatically
|
|
299
|
-
- Simplified architecture: single source of truth for guidelines in codebase
|
|
89
|
+
- Comprehensive documentation
|
|
90
|
+
- Improved README with quick start guide
|
|
300
91
|
|
|
301
|
-
## [0.1.
|
|
92
|
+
## [0.1.8] - 2025-12-27
|
|
302
93
|
|
|
303
94
|
### Added
|
|
304
|
-
- GitHub Actions CI workflow for automated testing and linting
|
|
305
|
-
- GitHub Actions publish workflow for automated npm publishing
|
|
306
|
-
- Comprehensive badges in README (npm version, downloads, CI status, license, bundle size)
|
|
307
|
-
- Publishing guide documentation (.github/PUBLISHING.md)
|
|
308
|
-
- CHANGELOG.md to track version history
|
|
309
95
|
|
|
310
|
-
|
|
311
|
-
-
|
|
312
|
-
- Enhanced README with more professional badges and links
|
|
96
|
+
- Bun compatibility layer
|
|
97
|
+
- Full Node.js support for server, build, and tests
|
|
313
98
|
|
|
314
99
|
### Fixed
|
|
315
|
-
- Repository and homepage URLs in package.json now point to correct GitHub organization
|
|
316
100
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
### Added
|
|
320
|
-
- Initial release of Knowns CLI
|
|
321
|
-
- Task management with acceptance criteria
|
|
322
|
-
- Documentation management with nested folder support
|
|
323
|
-
- Context linking between tasks and documentation
|
|
324
|
-
- Time tracking built into tasks
|
|
325
|
-
- Search functionality across tasks and docs
|
|
326
|
-
- Web UI with Kanban board and document browser
|
|
327
|
-
- MCP (Model Context Protocol) server for AI integration
|
|
328
|
-
- Agent instruction sync (Claude, Gemini, Copilot)
|
|
329
|
-
- `--plain` flag for AI-readable output
|
|
330
|
-
- Multi-line input support for descriptions, plans, and notes
|
|
331
|
-
- Task workflow with plan, implementation notes, and status tracking
|
|
332
|
-
- Commands:
|
|
333
|
-
- `knowns init` - Initialize project
|
|
334
|
-
- `knowns task` - Task management commands
|
|
335
|
-
- `knowns doc` - Documentation commands
|
|
336
|
-
- `knowns search` - Global search
|
|
337
|
-
- `knowns browser` - Web UI
|
|
338
|
-
- `knowns agents` - Agent instruction sync
|
|
339
|
-
- `knowns time` - Time tracking
|
|
340
|
-
- `knowns mcp` - MCP server
|
|
341
|
-
|
|
342
|
-
### Documentation
|
|
343
|
-
- Comprehensive README with usage examples
|
|
344
|
-
- CLAUDE.md with complete guidelines for AI agents
|
|
345
|
-
- Example workflows and patterns
|
|
346
|
-
|
|
347
|
-
[0.3.1]: https://github.com/knowns-dev/knowns/compare/v0.3.0...v0.3.1
|
|
348
|
-
[0.3.0]: https://github.com/knowns-dev/knowns/compare/v0.2.1...v0.3.0
|
|
349
|
-
[0.2.1]: https://github.com/knowns-dev/knowns/compare/v0.2.0...v0.2.1
|
|
350
|
-
[0.2.0]: https://github.com/knowns-dev/knowns/compare/v0.1.8...v0.2.0
|
|
351
|
-
[0.1.8]: https://github.com/knowns-dev/knowns/compare/v0.1.7...v0.1.8
|
|
352
|
-
[0.1.7]: https://github.com/knowns-dev/knowns/compare/v0.1.6...v0.1.7
|
|
353
|
-
[0.1.6]: https://github.com/knowns-dev/knowns/compare/v0.1.5...v0.1.6
|
|
354
|
-
[0.1.5]: https://github.com/knowns-dev/knowns/compare/v0.1.3...v0.1.5
|
|
355
|
-
[0.1.3]: https://github.com/knowns-dev/knowns/compare/v0.1.2...v0.1.3
|
|
356
|
-
[0.1.2]: https://github.com/knowns-dev/knowns/compare/v0.1.1...v0.1.2
|
|
357
|
-
[0.1.1]: https://github.com/knowns-dev/knowns/compare/v0.1.0...v0.1.1
|
|
358
|
-
[0.1.0]: https://github.com/knowns-dev/knowns/releases/tag/v0.1.0
|
|
101
|
+
- File deletion issues
|
package/CLAUDE.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/Users/howznguyen/Workspaces/Knowns/knowns/src/templates/knowns-guidelines-cli.md
|
|
2
|
+
|
|
1
3
|
<!-- KNOWNS GUIDELINES START -->
|
|
2
4
|
# Knowns CLI Guidelines
|
|
3
5
|
|
|
@@ -783,6 +785,26 @@ EOF
|
|
|
783
785
|
- **Unix/macOS**: Use forward slashes: `./docs/api.md`
|
|
784
786
|
- **Windows**: Both work, but prefer forward slashes for consistency
|
|
785
787
|
|
|
788
|
+
### Windows Command Line Limit
|
|
789
|
+
|
|
790
|
+
Windows has ~8191 character limit. For long content, append in chunks:
|
|
791
|
+
|
|
792
|
+
```bash
|
|
793
|
+
# 1. Create or reset with short content
|
|
794
|
+
knowns doc edit "doc-name" -c "## Overview\n\nShort intro."
|
|
795
|
+
|
|
796
|
+
# 2. Append each section separately
|
|
797
|
+
knowns doc edit "doc-name" -a "## Section 1\n\nContent..."
|
|
798
|
+
knowns doc edit "doc-name" -a "## Section 2\n\nMore content..."
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
Or use file-based options:
|
|
802
|
+
|
|
803
|
+
```bash
|
|
804
|
+
knowns doc edit "doc-name" --content-file ./content.md
|
|
805
|
+
knowns doc edit "doc-name" --append-file ./more.md
|
|
806
|
+
```
|
|
807
|
+
|
|
786
808
|
---
|
|
787
809
|
|
|
788
810
|
## Best Practices Checklist
|
|
@@ -888,11 +910,3 @@ knowns doc edit "doc-name" -a "Appended content"
|
|
|
888
910
|
|
|
889
911
|
|
|
890
912
|
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ knowns browser # Open Web UI
|
|
|
98
98
|
| **Documentation** | Nested folders with markdown support |
|
|
99
99
|
| **Time Tracking** | Built-in timers and reports |
|
|
100
100
|
| **Context Linking** | `@task-42` and `@doc/patterns/auth` references |
|
|
101
|
-
| **AI Integration** | MCP Server
|
|
101
|
+
| **AI Integration** | MCP Server, `--plain` output, guideline templates |
|
|
102
102
|
| **Web UI** | Kanban board, doc browser, dark mode |
|
|
103
103
|
|
|
104
104
|
---
|
|
@@ -119,6 +119,11 @@ knowns doc "doc-name" --plain # View doc (shorthand)
|
|
|
119
119
|
# Time & Search
|
|
120
120
|
knowns time start <id> && knowns time stop
|
|
121
121
|
knowns search "query" --plain
|
|
122
|
+
|
|
123
|
+
# AI Guidelines
|
|
124
|
+
knowns agents sync # Sync CLAUDE.md, AGENTS.md
|
|
125
|
+
knowns agents sync --gemini # Compact version for Gemini
|
|
126
|
+
knowns agents sync --type mcp # MCP tools format
|
|
122
127
|
```
|
|
123
128
|
|
|
124
129
|
---
|
|
@@ -134,6 +139,8 @@ knowns search "query" --plain
|
|
|
134
139
|
| [MCP Integration](./docs/mcp-integration.md) | Claude Desktop setup |
|
|
135
140
|
| [Configuration](./docs/configuration.md) | Project structure and options |
|
|
136
141
|
| [AI Workflow](./docs/ai-workflow.md) | Guide for AI agents |
|
|
142
|
+
| [Developer Guide](./docs/developer-guide.md) | Technical docs for contributors |
|
|
143
|
+
| [Changelog](./CHANGELOG.md) | Version history |
|
|
137
144
|
|
|
138
145
|
---
|
|
139
146
|
|