knowns 0.1.1 → 0.1.3
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 +46 -0
- package/dist/index.js +552 -247
- package/dist/ui/index.css +1 -0
- package/dist/ui/index.html +12 -0
- package/dist/ui/main.css +1 -0
- package/dist/ui/main.js +431 -0
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file.
|
|
|
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.1.3] - 2024-12-26
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Browser Command**: Fixed UI path detection when running from installed package
|
|
12
|
+
- Server now correctly finds pre-built UI files in `dist/ui`
|
|
13
|
+
- Works in both development mode (build on-the-fly) and production (serve pre-built)
|
|
14
|
+
- Fixed package root detection for bundled code
|
|
15
|
+
- **GitHub Actions**: Fixed release creation permissions error
|
|
16
|
+
- Updated permissions from `contents: read` to `contents: write`
|
|
17
|
+
- Switched from deprecated `actions/create-release@v1` to `softprops/action-gh-release@v1`
|
|
18
|
+
- Enhanced release notes with installation instructions
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **Build Process**: UI files now built and included in npm package
|
|
22
|
+
- `dist/ui/index.html` - Main HTML file
|
|
23
|
+
- `dist/ui/main.js` - Minified React application (533KB)
|
|
24
|
+
- `dist/ui/main.css` - Compiled styles
|
|
25
|
+
- `dist/ui/index.css` - Additional styles
|
|
26
|
+
- Separate build scripts for CLI and UI (`build:cli`, `build:ui`, `build:copy-html`)
|
|
27
|
+
- Production vs development mode for browser server
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- Browser command now serves pre-built UI instead of building on user's machine
|
|
31
|
+
- Improved error messages when UI files are not found
|
|
32
|
+
- Server logs now indicate whether using pre-built UI or development mode
|
|
33
|
+
|
|
34
|
+
## [0.1.2] - 2024-12-26
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
- New `src/constants/knowns-guidelines.ts` file containing system prompt as TypeScript constant
|
|
38
|
+
- Auto-sync of Knowns guidelines to AI instruction files during `knowns init`
|
|
39
|
+
- Third step in "Next steps" output: "Update AI instructions: knowns agents --update-instructions"
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- Refactored `agents` command to use bundled constant instead of reading from CLAUDE.md
|
|
43
|
+
- CLAUDE.md is now a target file (not source) - gets updated like other AI instruction files
|
|
44
|
+
- Exported `updateInstructionFile()` and `INSTRUCTION_FILES` from agents.ts for reusability
|
|
45
|
+
- System prompt now bundled into binary, eliminating file I/O during sync
|
|
46
|
+
|
|
47
|
+
### Improved
|
|
48
|
+
- Faster agent instruction updates (no file reads required)
|
|
49
|
+
- More reliable init process - new projects get AI instructions automatically
|
|
50
|
+
- Simplified architecture: single source of truth for guidelines in codebase
|
|
51
|
+
|
|
8
52
|
## [0.1.1] - 2024-12-26
|
|
9
53
|
|
|
10
54
|
### Added
|
|
@@ -51,5 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
51
95
|
- CLAUDE.md with complete guidelines for AI agents
|
|
52
96
|
- Example workflows and patterns
|
|
53
97
|
|
|
98
|
+
[0.1.3]: https://github.com/knowns-dev/knowns/compare/v0.1.2...v0.1.3
|
|
99
|
+
[0.1.2]: https://github.com/knowns-dev/knowns/compare/v0.1.1...v0.1.2
|
|
54
100
|
[0.1.1]: https://github.com/knowns-dev/knowns/compare/v0.1.0...v0.1.1
|
|
55
101
|
[0.1.0]: https://github.com/knowns-dev/knowns/releases/tag/v0.1.0
|