@bastani/pi-ai 0.9.85-alpha.1 → 0.9.86-alpha.1
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 +10 -0
- package/README.md +1 -1
- package/dist/providers/data/.manifest.json +1 -1
- package/dist/providers/data/openrouter.json +1 -1
- package/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/utils/version.d.ts +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/utils/version.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ This package is a Bastani fork of `@earendil-works/pi-ai`. Upstream history at t
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.9.85] - 2026-11-13
|
|
8
|
+
|
|
9
|
+
Dropped connections are retried automatically.
|
|
10
|
+
|
|
11
|
+
- **Retries on bare socket errors.** Provider errors that report only a socket code such as `ECONNRESET`, `EPIPE`, or `ETIMEDOUT` now count as retryable, so a dropped connection no longer ends the request (upstream [#12128](https://github.com/earendil-works/pi/issues/12128), [#4740](https://github.com/bastani-inc/atomic/pull/4740)).
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Fixed provider errors that report only a Node socket error code, such as `read ECONNRESET`, `write EPIPE`, `connect ETIMEDOUT`, `connect ECONNREFUSED`, or `ECONNABORTED` (or `"Connection reset by peer"`), not being classified as retryable, without matching those codes inside longer identifiers (upstream [#12128](https://github.com/earendil-works/pi/issues/12128), [#12136](https://github.com/earendil-works/pi/pull/12136))
|
|
16
|
+
|
|
7
17
|
## [0.9.85-alpha.1] - 2026-11-13
|
|
8
18
|
|
|
9
19
|
### Fixed
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @bastani/pi-ai
|
|
2
2
|
|
|
3
|
-
Bastani-branded fork of [`@earendil-works/pi-ai`](https://www.npmjs.com/package/@earendil-works/pi-ai) from [earendil-works/pi](https://github.com/earendil-works/pi). Originally forked at **v0.84.2** (`914cf1472e715297caa30db4b9535d534a9eb718`); applicable upstream Pi AI fixes and the unified model catalog are synced through [`
|
|
3
|
+
Bastani-branded fork of [`@earendil-works/pi-ai`](https://www.npmjs.com/package/@earendil-works/pi-ai) from [earendil-works/pi](https://github.com/earendil-works/pi). Originally forked at **v0.84.2** (`914cf1472e715297caa30db4b9535d534a9eb718`); applicable upstream Pi AI fixes and the unified model catalog are synced through [`3533c4e253a0fce39ee80da95b89612505b7f7b2`](https://github.com/earendil-works/pi/commit/3533c4e253a0fce39ee80da95b89612505b7f7b2). `@bastani/pi-ai` publishes at the same version as Atomic. `npm run build` refreshes the models.dev catalog, same as upstream.
|
|
4
4
|
|
|
5
5
|
The public API is a drop-in replacement: install `@bastani/pi-ai` and import from `@bastani/pi-ai` instead of `@earendil-works/pi-ai`. See [NOTICE.md](NOTICE.md). This package lives in the Atomic monorepo and publishes from `.github/workflows/publish.yml`. The first npm version must be published by hand so trusted publishing can be attached.
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":6,"generatedAt":"2026-11-
|
|
1
|
+
{"schemaVersion":6,"generatedAt":"2026-11-14T02:10:48.560Z","structureHash":"2844f7e2a80675b8195cc91f29127bcb26cd5a77d54bac7a075a046ccdd3c12d","files":{"amazon-bedrock.json":"fa1097acc81fe1c04d10b69ff2f7982b5b24e9565348836c393262a884a46f2e","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"bcb41bae2d7b1f499903851cdadf3119cb58bf9c9fd434203a89f458746b2d06","azure.json":"3857360054d41814cf9623db124dcb3d784c244c9720a890c39d9fe4731cbae7","baseten.json":"47d10c8050601eb88757def4fc957cdba769dacec4aeb3b0c3f39c41e442330e","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","cloudflare-ai-gateway.json":"476a7f2284062f3a0cc0c933781e2cca6b181b44fbb6ca8deaf22fa9cdc23148","cloudflare-workers-ai.json":"2ef8c6ccb217a574efcd562da45f59966b07a52d7f0ce92de01523513e92753b","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"8a5b946e0fbfd1889570591f50a8e38bd01b19fe83135b23dca66138c3ad8f8c","github-copilot.json":"0d8c77798b69a19fa28ebab73c61f68e1bd6bad3c7185a6be7f6eae5702223f1","google-vertex.json":"25a1cdc497aacb70be85ee50888c688d436ccec6fe31fac74d63ee7049e68e94","google.json":"77aad410bfbfbd2de791e4e267a9c1a895ec7955f227f898ef59bd34344080a4","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"209cdcf205961ef2ff203486da614232a86a069ebe0e98266189a14a235fac8f","kimi-coding.json":"e6d5bce9045cf533ca9e0d563a7d30a6a1ed48c89a0f539ed4c9d3ac53d4ac8b","meta.json":"6ccc391fc86586638b4a2f26420f0e4763fccce04d746665cbd55f477124bb3b","minimax-cn.json":"fa15d1f67a07046d38e191af9bd97ed922ba45a99a11af4ad281151cc6b762aa","minimax.json":"1e0459dda3858ea24151182106fc4179b95f43a0a8dffc1c3d2e7db4c2d9206e","mistral.json":"a629c8f79b4a07bae1ce015ee62052707fba64becdf291feff8e28f406800020","moonshotai-cn.json":"1a15468b1edf9205956e4c5ea41fc4cacc14eabf00523b9143e23a38264f57f7","moonshotai.json":"f31cdf2e6c81a403c4cb0e6b7e759ceff2820f966b08dbec80cfafa3f80dfc63","nvidia.json":"33afb8395f93eb07e88d4026775d471a6457b77134fd45cdb09b822b80cfae08","openai-codex.json":"79856e655a4cdf5ad32f178dd001cbfda5d13e68006ad8aade0bc3636f5faabb","openai-decisions.json":"0c7d54fcbac5e7388872a85c0db7f336c5a57c82d403266e9ae04f87561daf4f","openai-images.json":"95e906730507ae8adcd49afa81fc21f7cee13c12842a71ba04ab62c59637bdb6","openai.json":"c51bffed14b4bdfb15fbffef068a9c07e973d36dd7490397d5bb7d00483752b3","opencode-go.json":"c324bb5babb5e7a5ddfedc1c2d63ae6f2fb0b0966decee6a102f5f6d22319074","opencode.json":"395383a87d334883cda7bf507083e00a4f6df0bc6f8f189b7ba762c29db73415","openrouter.json":"fb2d4e1d77662609091d5abd680d61be0038198567bef3b1d010ea752bb3a7b9","qwen-token-plan-cn.json":"acdcd16ff61cb48856c60f3190e32574546ffb5a7f1fd7fe4c759ad83f217082","qwen-token-plan-individual-cn.json":"50e4cc19f732a3f57813af5da0b908ebf26ff907f09f0f32f64d6c102866fc66","qwen-token-plan-individual.json":"d48740c24107d42b952dd1c4fbbc09cb9d85c5f439ded3e92b7b462e97f8e38f","qwen-token-plan.json":"4018b952fae26a99eb296e2846c74ee4e919d4cd50ef0c564655b95dccffa203","radius.json":"067dbec07d4ae9f853232d0d13ec88aced00ea666d8d3fe23865de2417d22b5b","together.json":"cd63c051ea61bdb210c6e826e5fc892e4c1f9c9c0ab6eb91933a0620701d17e1","typesafe.json":"938c89dfb6f636dce1483ec6acc739af4b881f61003d007807a74414eb2bf357","vercel-ai-gateway.json":"af6066e3131aa649a448e3bb3ce2cdae7902190eb4968ba9267e6b62b29ac541","xai.json":"59f8a7bdf14e79ba1b0d0a37e56251bbf100420bdac7d6af5942508fdb990f11","xiaomi-token-plan-ams.json":"bfd33741da693bdb8e8ebd4e7b90c3e90820aa18432ad081a5a98db13c6bd296","xiaomi-token-plan-cn.json":"4b61d78feae3a926fda918c3fd3a9afaf2ca60c1bba0af8270a5398fb50a983e","xiaomi-token-plan-sgp.json":"b05a197ce24fd69fc9440f4ba929984ac7a0fefbe8083268734b422e721987ec","xiaomi.json":"495b5fddf3c3ec8904fecc15c4c19536f4961dce7b51512b6909d2df2e739824","zai-coding-cn.json":"cc9e0768e726ef55d2b7af853ac5f3585dc72575932cb38840a3877d18736b78","zai.json":"58e6642fdfb736f0b9a4a277c760c536a3cea66a030abbfb2615f7b2851d5c6f"}}
|