Skip to content

Commit a34a681

Browse files
howardpen9claude
andcommitted
chore: add LICENSE, publish workflow, fix changelog
- LICENSE: MIT license file (was declared in package.json but missing) - .github/workflows/publish.yml: auto-publish to npm on GitHub Release - CHANGELOG.md: fix duplicate [Unreleased] section, add v0.2.0 entry Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1ce424a commit a34a681

3 files changed

Lines changed: 61 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Publish to npm
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
registry-url: 'https://registry.npmjs.org'
20+
cache: npm
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Typecheck
26+
run: npm run typecheck
27+
28+
- name: Test
29+
run: npm test
30+
31+
- name: Build
32+
run: npm run build
33+
34+
- name: Publish
35+
run: npm publish --access public --provenance
36+
env:
37+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
- **Token cost reduction**: Subsequent queries reuse cached context
4040
- **Session reuse**: Up to 256K tokens of context retained between calls
4141

42-
## [Unreleased]
42+
## [0.2.0] - 2026-03-03
4343

4444
### Added
4545
- `detail_level` parameter for `kimi_analyze` and `kimi_resume` (summary/normal/detailed)
@@ -70,5 +70,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7070
- CONTRIBUTING.md with development workflow guide
7171

7272
[Unreleased]: https://github.com/howardpen9/kimi-code-mcp/compare/v0.3.0...HEAD
73-
[0.3.0]: https://github.com/howardpen9/kimi-code-mcp/releases/tag/v0.3.0
73+
[0.3.0]: https://github.com/howardpen9/kimi-code-mcp/compare/v0.2.0...v0.3.0
74+
[0.2.0]: https://github.com/howardpen9/kimi-code-mcp/compare/v0.1.0...v0.2.0
7475
[0.1.0]: https://github.com/howardpen9/kimi-code-mcp/releases/tag/v0.1.0

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 howardpen9
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)