Patrick Wozniak
63dd92da09
Merge remote-tracking branch 'origin/main' into review/pr-52
...
# Conflicts:
# CHANGELOG.md
2026-08-25 13:33:55 +02:00
Patrick Wozniak and GitHub
dc515e85b6
Merge pull request #55 from ThomasByr/main
...
feat(models): add GLM-5.3 pricing and reasoning levels
2026-08-25 13:06:59 +02:00
Patrick Wozniak and GitHub
fdd614c62b
Merge branch 'main' into main
2026-08-25 13:04:06 +02:00
Patrick Wozniak and GitHub
fd82875df2
Merge pull request #53 from omariqbalnaru/fix/omp-custom-api-registration
...
fix(core): register custom api under non-reserved name for omp 17.4.0
2026-08-25 13:02:32 +02:00
Patrick Wozniak and GitHub
6de4626349
Merge pull request #49 from patlux/rebuild/issue-5-provider-api
...
feat(account): Official CommandCode API
2026-08-20 00:16:41 +02:00
Patrick Wozniak
f07ece7731
docs(api): document provider follow-up fixes
2026-08-20 00:13:56 +02:00
Patrick Wozniak
f6f0ab274d
fix(models): refresh DeepSeek V4 pricing
2026-08-20 00:13:56 +02:00
Patrick Wozniak
ed29c59f31
fix(models): use adaptive thinking for Claude
2026-08-20 00:13:56 +02:00
Patrick Wozniak
4f91a9b00b
fix(stream): isolate transport state by credential
2026-08-20 00:13:56 +02:00
Patrick Wozniak
9e9149ff14
test(e2e): merge live account profiles
2026-08-18 17:24:51 +02:00
Patrick Wozniak
33c405c060
docs(tests): document live account credentials
2026-08-18 17:20:51 +02:00
Patrick Wozniak
75552ef4b9
test(e2e): add live account profiles
2026-08-18 17:20:44 +02:00
Patrick Wozniak
9103272217
docs(api): explain automatic transport selection
2026-08-18 12:11:47 +02:00
Patrick Wozniak
89dc21bed2
feat(api): fall back for go plan accounts
2026-08-18 12:11:47 +02:00
Patrick Wozniak
864538e146
fix(ci): satisfy provider audit checks
2026-08-18 11:01:12 +02:00
Patrick Wozniak
c04f3907b5
docs(api): document provider api migration
2026-08-18 10:56:12 +02:00
Patrick Wozniak
7af77ddf58
fix(models): refresh expired display pricing
2026-08-18 10:56:11 +02:00
Patrick Wozniak
84a802d91d
feat(api): use official provider endpoints
2026-08-18 10:56:06 +02:00
Patrick Wozniak
0603291396
feat(auth): support direct api key login
2026-08-18 10:55:58 +02:00
Patrick Wozniak and GitHub
c4d25d1db1
chore(release): publish 0.5.1 ( #44 )
2026-08-11 00:31:51 +02:00
Patrick Wozniak and GitHub
a367aed63c
feat(models): add vision input capabilities ( #43 )
2026-08-11 00:28:03 +02:00
Patrick Wozniak and GitHub
4b6e1cd85a
chore(release): publish 0.5.0 ( #41 )
2026-08-07 17:23:47 +02:00
Patrick Wozniak and GitHub
f3466f816f
Merge pull request #40 from patlux/fix/reasoning-history
...
fix(stream): omit prior reasoning from request history
2026-08-07 17:13:36 +02:00
Patrick Wozniak
ea55ead662
fix(stream): omit prior reasoning from request history
2026-08-07 16:39:18 +02:00
Patrick Wozniak and GitHub
7d02d345f1
Merge pull request #39 from patlux/test/provider-hardening-e2e
...
test(tests): add provider hardening end-to-end coverage
2026-08-07 15:20:20 +02:00
Patrick Wozniak
ff1e23b1b9
Merge remote-tracking branch 'origin/main' into test/provider-hardening-e2e
2026-08-07 15:18:49 +02:00
Patrick Wozniak and GitHub
db49f5a95b
Merge pull request #38 from patlux/feat/request-fidelity
...
fix(core): preserve request fidelity and provider errors
2026-08-07 15:18:29 +02:00
Patrick Wozniak
ba142930b2
Merge remote-tracking branch 'origin/main' into feat/request-fidelity
2026-08-07 15:17:05 +02:00
Patrick Wozniak and GitHub
83a228ac26
Merge pull request #37 from patlux/feat/model-catalog-runtime
...
feat(models): add model-aware runtime metadata
2026-08-07 15:16:54 +02:00
Patrick Wozniak
024a79dc44
Merge branch 'feat/request-fidelity' into test/provider-hardening-e2e
2026-08-07 14:37:42 +02:00
Patrick Wozniak
8541fe109a
Merge branch 'feat/model-catalog-runtime' into feat/request-fidelity
2026-08-07 14:37:19 +02:00
Patrick Wozniak
c0d126cb73
fix(models): sync reasoning efforts with command code cli
2026-08-07 14:37:04 +02:00
Patrick Wozniak
af2a4d1759
test(tests): add provider hardening end-to-end coverage
2026-08-07 14:06:36 +02:00
Patrick Wozniak
7efca20d16
fix(core): preserve request fidelity and provider errors
2026-08-07 14:05:03 +02:00
Patrick Wozniak
7e9ecc563a
feat(models): add model-aware runtime metadata
2026-08-07 14:03:24 +02:00
Patrick Wozniak and GitHub
8562009202
Merge pull request #36 from patlux/feat/isolated-pi-launcher
...
feat(tests): add isolated pi launchers
2026-08-07 10:04:52 +02:00
Patrick Wozniak
62e51ee9f5
Merge main into feat/isolated-pi-launcher
2026-08-07 10:02:22 +02:00
Patrick Wozniak and GitHub
59d133e4f5
Merge pull request #34 from patlux/fix/refresh-model-pricing
...
fix(models): refresh model pricing
2026-08-07 09:59:38 +02:00
Patrick Wozniak
4c8e49906c
docs(contributing): align launcher instructions
2026-08-07 09:59:08 +02:00
Patrick Wozniak
b100d553c1
feat(tests): add isolated pi launchers
2026-08-07 09:55:02 +02:00
Patrick Wozniak
947915df55
fix(models): refresh model pricing
2026-08-04 13:46:26 +02:00
Patrick Wozniak and GitHub
690c640d5b
Merge pull request #33 from patlux/docs/refresh-readme
...
docs: refresh setup and usage guide
2026-08-04 11:12:58 +02:00
Patrick Wozniak
2028322a22
docs(readme): refresh setup and usage guide
2026-08-04 11:09:14 +02:00
Patrick Wozniak and GitHub
46dea06816
Merge pull request #32 from patlux/fix/use-host-pi-core-packages
...
perf: reduce pi extension RAM usage by using host core packages
2026-08-04 10:40:41 +02:00
Patrick Wozniak
8d35530bd3
docs(readme): add workflow status badges
2026-08-04 10:31:29 +02:00
Patrick Wozniak
cfcf114497
ci(memory): harden benchmark reporting
2026-08-04 09:35:14 +02:00
Patrick Wozniak
eb6c18bba2
ci(memory): report pull request memory changes
2026-08-04 09:29:59 +02:00
Patrick Wozniak
0e91395d7f
test(deps): forbid pi core development copies
2026-08-04 02:13:06 +02:00
Patrick Wozniak
877a3003b1
perf(deps): remove local pi-ai runtime copy
2026-08-04 02:13:06 +02:00
Patrick Wozniak
fb864f3d8e
test(deps): prevent bundled pi core runtimes
2026-08-04 02:13:06 +02:00
Patrick Wozniak
1579bfd4be
fix(deps): use host-provided pi core packages
2026-08-04 02:13:06 +02:00
Patrick Wozniak and GitHub
b151aaa9fe
Merge pull request #31 from IfkumRfnl/fix/cache-accounting
...
fix(stream): correct cached input accounting
2026-08-04 01:43:35 +02:00
Patrick Wozniak
9cff90340c
test(stream): cover cached input fallbacks
2026-08-04 01:41:22 +02:00
Patrick Wozniak and GitHub
3f734bc280
chore(release): publish 0.4.3 ( #29 )
...
Ship the offline model-catalog cache so pi can start when Command Code
model discovery is unavailable.
2026-08-02 13:20:15 +02:00
Patrick Wozniak and GitHub
c8c85a84f3
Merge pull request #27 from k3-2o/fix/offline-startup
...
fix: allow extension to load when offline
2026-08-02 10:49:35 +02:00
Patrick Wozniak
e20953d890
test(models): cover recovery after empty offline start
...
Assert the empty catalog path recovers live models and writes a cache once discovery is available again, including the real pi extension entrypoint used by /reload.
2026-08-02 10:42:31 +02:00
Patrick Wozniak
634beb8378
fix(deps): bump protobufjs to 7.6.5
...
Resolve GHSA-j3f2-48v5-ccww so npm audit --audit-level=moderate passes in CI.
2026-08-02 10:31:24 +02:00
Patrick Wozniak
b1a60da6b4
fix(models): store cache in agent directory
...
Resolve the Command Code model cache through the host's getAgentDir helper so pi, OMP, and PI_CODING_AGENT_DIR use their own agent state directory instead of the official Command Code client directory.
2026-08-02 01:37:34 +02:00
Patrick Wozniak
070ef3c07a
fix(models): cache catalog for offline startup
...
Persist the last valid Command Code model catalog and use it when live model discovery fails. Keep first-time offline startup non-fatal, surface clear warnings, and cover cached model selection with unit and pi integration regression tests.
2026-08-02 01:16:39 +02:00
Patrick Wozniak and GitHub
64d538a910
chore(release): publish 0.4.2
...
Release pi-commandcode-provider 0.4.2.
2026-07-05 03:13:30 +02:00
Patrick Wozniak and GitHub
e123e84116
fix(omp): avoid unsupported calculateCost import
...
Fix OMP installation by removing the unsupported calculateCost runtime import from pi-ai.
2026-07-05 03:10:02 +02:00
Patrick Wozniak and GitHub
0f6fc17816
docs(release): document deployment process
...
Add a release/deployment skill and record contributors in the 0.4.1 changelog.
2026-06-16 16:35:25 +02:00
Patrick Wozniak and GitHub
c602e00da5
chore(release): publish 0.4.1
...
Bump package version to 0.4.1 and update the changelog.
2026-06-16 16:19:35 +02:00
Patrick Wozniak and GitHub
f06982fc94
fix(deps): resolve npm audit findings
...
Update tsx and refresh the protobufjs lockfile entry to clear npm audit findings.
2026-06-16 14:02:46 +02:00
Patrick Wozniak and GitHub
a35c2b1e83
ci(release): remove publish workflow
2026-06-02 10:59:56 +02:00
Patrick Wozniak and GitHub
6aac2bdbcf
chore(release): publish 0.4.0
2026-06-02 10:44:39 +02:00
Patrick Wozniak and GitHub
6b05595cf3
feat(core): add retry for transient HTTP and stream-level errors
2026-06-02 10:33:46 +02:00
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