pi-openmodel-provider 0.2.5 → 0.2.6

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.
@@ -0,0 +1,36 @@
1
+ # OpenModel Provider for pi
2
+
3
+ This skill describes the pi-openmodel-provider package installed in this environment.
4
+
5
+ ## What is it?
6
+
7
+ pi-openmodel-provider is a custom provider that connects pi to [OpenModel.ai](https://www.openmodel.ai) — a unified AI API gateway.
8
+
9
+ ## What it provides
10
+
11
+ - Access to **41 models** from 9+ providers: OpenAI, Anthropic, DeepSeek, Google Gemini, Alibaba Qwen, Xiaomi (MiMo), Moonshot (Kimi), MiniMax, ZAI (GLM)
12
+ - **DeepSeek-V4-Flash** with 1M context window
13
+ - **NOT** OpenRouter — this is a different service called OpenModel.ai
14
+
15
+ ## Available commands
16
+
17
+ - `/openmodel` — Show provider status
18
+ - `/openmodel-stability` — Show health metrics for all models
19
+ - `/openmodel-stability <model>` — Show detailed metrics for a specific model
20
+
21
+ ## Installation
22
+
23
+ Installed via: `pi install npm:pi-openmodel-provider`
24
+
25
+ ## Authentication
26
+
27
+ Users authenticate via `/login` → "Use a subscription" → OpenModel → paste their API key.
28
+
29
+ ## Stability metrics
30
+
31
+ The `/openmodel-stability` command shows real-time data from OpenModel's public API:
32
+ - ✅ Operational (≥99.9% success)
33
+ - 🟢 Healthy (≥99%)
34
+ - 🟡 Degraded (≥95%)
35
+ - 🔴 Unstable (<95%)
36
+ - ⚪ No Data (<10 requests)
package/AGENTS.md ADDED
@@ -0,0 +1,7 @@
1
+ # Agent Instructions
2
+
3
+ - This package is **pi-openmodel-provider** for OpenModel.ai, **NOT** OpenRouter.
4
+ - OpenModel is a multi-model AI gateway, similar to OpenRouter but a different service.
5
+ - See `.agents/skills/pi-openmodel-info/SKILL.md` for full documentation.
6
+ - Follow [CONTRIBUTING.md](CONTRIBUTING.md) before changing code.
7
+ - Use [RELEASE.md](RELEASE.md) for release process.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.6] - 2026-06-20
9
+
10
+ ### Fixed
11
+ - Added .agents/ and AGENTS.md to package.json files field so they appear in npm
12
+
13
+ ## [0.2.5] - 2026-06-20
14
+
15
+ ### Changed
16
+ - Fixed README display on npm main page
17
+
18
+ ## [0.2.4] - 2026-06-20
19
+
20
+ ### Changed
21
+ - Internal version bump
22
+
8
23
  ## [0.2.3] - 2026-06-20
9
24
 
10
25
  ### Changed
@@ -71,6 +86,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
71
86
  - Import path extensions (.ts → .js)
72
87
  - Process import in models.ts
73
88
 
89
+ [0.2.6]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.6
90
+ [0.2.5]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.5
91
+ [0.2.4]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.4
74
92
  [0.2.3]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.3
75
93
  [0.2.2]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.2
76
94
  [0.2.1]: https://github.com/IvanGabrielYarupaitanRivera/pi-openmodel-provider/releases/tag/v0.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-openmodel-provider",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "pi custom provider for OpenModel.ai - Multi-model AI gateway",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -20,6 +20,8 @@
20
20
  "index.ts",
21
21
  "src/",
22
22
  "src/stub.d.ts",
23
+ "AGENTS.md",
24
+ ".agents/",
23
25
  "README.md",
24
26
  "CHANGELOG.md",
25
27
  "LICENSE"