Patrick Wozniak
221677b5ba
fix(core): report retry timeouts clearly
2026-06-02 10:30:32 +02:00
Patrick Wozniak
e760a760fe
ci(gitleaks): allow test fixture files
2026-06-02 10:23:54 +02:00
Patrick Wozniak and GitHub
f48291f252
chore(release): publish 0.3.1 ( #11 )
...
* chore(release): publish 0.3.1
* docs(release): document branch-protected PR workflow
2026-05-29 00:20:16 +02:00
Patrick Wozniak and GitHub
21d712a1cc
ci: harden PR security pipeline ( #10 )
...
Add comprehensive security scanning to CI/CD pipeline including CodeQL, Gitleaks, Semgrep custom rules, dependency review, and lifecycle script checks
2026-05-28 23:58:50 +02:00
Patrick Wozniak
17175abd28
Bump CLI version header to 0.29.0 for API parity
2026-05-28 22:50:54 +02:00
Patrick Wozniak
41fb9486af
Release 0.3.0
2026-05-28 22:31:09 +02:00
Patrick Wozniak and GitHub
f31f763f35
Merge pull request #7 from skyscribe-yf/main
...
feat(stream,models): incremental reasoning streaming + live display pricing
2026-05-28 22:29:12 +02:00
Patrick Wozniak
fe49146892
Merge remote-tracking branch 'origin/main' into fix/pr-7-review
...
# Conflicts:
# index.ts
# package.json
# tests/test-pi-local.mjs
2026-05-28 22:07:51 +02:00
Patrick Wozniak
27abe72faa
docs(readme): fix pricing test file reference
...
README pointed to tests/test-models.ts but pricing assertions live in
tests/test-pricing.ts.
2026-05-28 22:05:25 +02:00
Patrick Wozniak
5a62f60049
fix(models): correct DeepSeek V4 Flash cache rate, add xiaomi models
...
DeepSeek V4 Flash cache-read rate was /bin/bash.01/1M but docs list ~/bin/bash.028.
Added xiaomi/mimo-v2.5-pro and xiaomi/mimo-v2.5 to MODEL_COSTS so they
don't display as zero-cost models (pricing TBD, currently set to 0).
2026-05-28 22:05:20 +02:00
Patrick Wozniak
3caa4111e1
fix(models): correct DeepSeek V4 Pro discount as permanent
...
The Command Code docs state the 4x usage deal for DeepSeek V4 Pro is
permanent with no expiry date, not time-limited through May 31, 2026.
2026-05-28 22:05:08 +02:00
Patrick Wozniak
3fba807abf
fix(stream): close thinking block before text or tool output
...
If upstream omits reasoning-end and starts emitting text-delta or
tool-call events, the thinking block remained open causing
thinking_start -> thinking_delta -> text_start -> ... -> thinking_end
ordering. Now endThinking() is called at the start of text-delta and
tool-call handlers so thinking_end always precedes text_start or
toolcall_start.
Adds 2 regression tests for the missing reasoning-end edge case.
2026-05-28 22:05:01 +02:00
Patrick Wozniak and GitHub
98ee522fe6
Merge pull request #9 from AlexVagrant/main
...
feat: add OMP (Oh My Pi) provider compatibility
2026-05-28 22:00:28 +02:00
Patrick Wozniak
b850558199
docs(contributing): add contribution and release guides
2026-05-26 23:26:52 +02:00
Patrick Wozniak
cc05faa526
Release 0.1.1
2026-05-26 23:05:21 +02:00
Patrick Wozniak and GitHub
5d4277876b
Merge pull request #4 from ninehills/main
...
Update Command Code model discovery.
Closes #3 .
2026-05-26 21:52:58 +02:00
Patrick Wozniak
5714e3863a
Test dynamic Command Code model discovery
2026-05-26 21:51:54 +02:00
Patrick Wozniak
418f4c925b
Fetch Command Code models at startup
2026-05-26 21:51:41 +02:00
Patrick Wozniak and GitHub
b5b109c63c
Update README.md
2026-05-05 14:58:48 +02:00
Patrick Wozniak
b8853ab0d6
Add Command Code browser login fallback
2026-05-05 14:48:06 +02:00
Patrick Wozniak
af2b316d84
style: configure prettier (no semicolons, trailing commas)
2026-05-05 14:02:41 +02:00
Patrick Wozniak
e9853eb4a4
chore: add CI workflow (typecheck + prettier format check), tsconfig, and prettier formatting
2026-05-05 13:56:41 +02:00
Patrick Wozniak
be6d17ea56
docs: add disclaimer, 4x DeepSeek V4 offer, and DeepSeek V4 model
2026-05-05 13:40:04 +02:00
Patrick Wozniak
66c695bfff
fix: include src/ in npm publish files
2026-05-05 13:31:06 +02:00
Patrick Wozniak
e283cd0677
chore: add README, LICENSE, publish workflow, and npm metadata for pi.dev/packages
2026-05-05 13:29:46 +02:00
Patrick Wozniak
3630b85298
Add pi CLI coverage with DeepSeek
2026-05-05 13:22:15 +02:00
Patrick Wozniak
145e2678b6
Test real Command Code core behavior
2026-05-05 13:22:05 +02:00
Patrick Wozniak
ebf638e9fb
Extract Command Code stream core
2026-05-05 13:22:00 +02:00
Patrick Wozniak
b8b0a9894e
chore: add npm test scripts and finalize package metadata
2025-05-05 11:50:00 +02:00
Patrick Wozniak
4407ab5b37
fix: add onResponse hook for response metadata inspection before streaming
2025-05-05 11:20:00 +02:00
Patrick Wozniak
29f4565a53
fix: flush remaining thinking blocks after stream ends
2025-05-05 10:45:00 +02:00
Patrick Wozniak
38deb03c6c
test: add comprehensive stream integration tests (35+ cases)
2025-05-05 10:05:00 +02:00
Patrick Wozniak
a4f7d5fda0
chore: add smoke test script for print + RPC mode validation
2025-05-04 20:00:00 +02:00
Patrick Wozniak
b13da480fa
test: add abort integration tests with mock HTTP server
2025-05-04 19:45:00 +02:00
Patrick Wozniak
2af822e79f
test: add pure function unit tests (toJsonSchema, messagesToCC, toolsToJson, textContent)
2025-05-04 19:10:00 +02:00
Patrick Wozniak
103b6e6fff
feat: add abort handling with raceAbort helper
2025-05-04 18:40:00 +02:00
Patrick Wozniak
0cb34f54d7
feat: add API key resolution from env var + auth.json files
2025-05-04 18:15:00 +02:00
Patrick Wozniak
28ccca9a0c
feat: implement streamCommandCode with SSE parsing
2025-05-04 17:50:00 +02:00
Patrick Wozniak
ad3479f68c
feat: add model definitions and helpers (toJsonSchema, toolsToJson, messagesToCC)
2025-05-04 17:22:00 +02:00
Patrick Wozniak
d18dd3e77b
feat: scaffold pi package with provider skeleton
2025-05-04 17:05:00 +02:00