Simon Shi
e1cfff3ecf
fix: release 0.2.4 with Node 24
2026-07-20 22:27:15 +09:00
Simon Shi
ab34573e82
chore: bump version to 0.2.3
2026-07-20 20:56:14 +08:00
Simon Shi
c83fa0b8f3
test: add unit tests and remove dead code
...
- Add vitest with 98 tests across 6 test files covering:
- cosy.ts: URL builders, mode detection, model name mapping
- thinking-parser.ts: ThinkingTagParser with all tag variants and chunked streaming
- transform.ts: getContentText, transformTools, transformMessagesForQoder
- pat.ts: isPatRefresh, encodePatRefresh/decodePatRefresh roundtrip
- qoder-encoding.ts: custom encoding correctness and edge cases
- models.ts: static model definitions integrity checks
- Remove dead code:
- QODER_CN_DIRECT_BASE_URL (unused export in cosy.ts)
- THINKING_START_TAG / THINKING_END_TAG (unused constants in thinking-parser.ts)
- Add test/test:watch scripts to package.json
2026-06-27 20:03:05 +08:00
Simon Shi
2d6e1c660b
chore: bump dependencies for security fixes
2026-06-26 14:50:39 +08:00
dependabot[bot] and GitHub
00be927ed5
build(deps-dev): bump esbuild
...
Bumps the npm_and_yarn group with 1 update in the / directory: [esbuild](https://github.com/evanw/esbuild ).
Updates `esbuild` from 0.25.12 to 0.28.1
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2025.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.12...v0.28.1 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-version: 0.28.1
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-16 05:40:33 +00:00
Simon Shi
8fb093bac0
release: v0.2.0
2026-06-16 13:39:20 +08:00
Simon Shi
bcaa66091e
fix: route PAT login through pi LoginDialog callbacks
...
The custom ctx.ui.custom login menu stole focus from pi's built-in
LoginDialog, so onPrompt never received keystrokes and PAT login
silently failed with 'No API key found'. Drive login via the provided
onPrompt/onAuth/onProgress callbacks instead, and drop login-ui.ts and
the now-unused pi-tui dependency. Also clears remaining lint warnings
by removing any-casts in models/oauth/stream/transform.
2026-06-16 13:39:16 +08:00
Simon Shi
0a4a0ddd97
release: v0.1.2
2026-06-16 13:39:09 +08:00
Simon Shi
fdbc00fdcc
release: v0.1.1
2026-06-16 13:39:03 +08:00
Simon Shi
032cf51904
refactor: drop redundant credentials cache and unused deps
...
- stream: passively rebuild stale/missing models cache on request
- oauth: read identity from pi's auth.json instead of self-managed cache
- deps: remove unused js-tiktoken; move esbuild to devDependencies
2026-06-16 13:38:55 +08:00
Simon Shi
dd8c313984
feat: init pi-provider-qoder plugin with oauth, signature and WAF bypass
2026-06-16 13:38:48 +08:00