@oh-my-pi/pi-coding-agent 12.10.1 → 12.11.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 CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [12.11.0] - 2026-02-19
6
+
7
+ ### Added
8
+
9
+ - Support for Synthetic model provider in web search command
10
+ - Model sorting by priority field and version number in model selector for improved model ranking
11
+ - Support for Synthetic model provider with API key authentication
12
+ - Support for Hugging Face model provider with API key authentication
13
+ - Support for NVIDIA model provider with API key authentication
14
+ - Support for Ollama model provider with optional API key authentication
15
+ - Support for Cloudflare AI Gateway model provider with API key authentication
16
+ - Support for Qwen Portal model provider with API key authentication
17
+ - Support for LiteLLM model provider with API key authentication
18
+ - Support for Moonshot model provider with API key authentication
19
+ - Support for Qianfan model provider with API key authentication
20
+ - Support for Together model provider with API key authentication
21
+ - Support for Venice model provider with API key authentication
22
+ - Support for vLLM model provider with API key authentication
23
+ - Support for Xiaomi model provider with API key authentication
24
+
25
+ ### Changed
26
+
27
+ - Refactored custom model building logic into reusable `buildCustomModel` function for consistency across provider configurations
28
+ - Replaced generic error with AgentBusyError when attempting to send messages while agent is processing
29
+ - Added automatic retry logic with idle waiting when agent is busy during prompt operations, with 30-second timeout
30
+
31
+ ### Fixed
32
+
33
+ - Fixed model discovery to use default refresh mode instead of explicit 'online' parameter
34
+
5
35
  ## [12.10.1] - 2026-02-18
6
36
 
7
37
  ### Added
@@ -22,6 +52,7 @@
22
52
  - Added `rules` option to CreateAgentSessionOptions for explicit rule configuration
23
53
  - Added `sessionDir` option to RpcClientOptions for specifying agent session directory
24
54
  - Added `Symbol.dispose` method to RpcClient for resource cleanup support
55
+ - Added `autocompleteMaxVisible` setting to configure the number of items shown in the autocomplete dropdown (3-20, default 5) ([#98](https://github.com/can1357/oh-my-pi/pull/98) by [@masonc15](https://github.com/masonc15))
25
56
  - Added `condition` and `scope` fields to rule frontmatter for advanced TTSR matching and stream filtering
26
57
  - Added `ttsr.interruptMode` setting to control when TTSR rules interrupt mid-stream vs inject warnings after completion
27
58
  - Added support for loading rules, prompts, commands, context files (AGENTS.md), and system prompts (SYSTEM.md) from ~/.agent/ directory (with fallback to ~/.agents/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-coding-agent",
3
- "version": "12.10.1",
3
+ "version": "12.11.1",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -84,12 +84,12 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@mozilla/readability": "0.6.0",
87
- "@oh-my-pi/omp-stats": "12.10.1",
88
- "@oh-my-pi/pi-agent-core": "12.10.1",
89
- "@oh-my-pi/pi-ai": "12.10.1",
90
- "@oh-my-pi/pi-natives": "12.10.1",
91
- "@oh-my-pi/pi-tui": "12.10.1",
92
- "@oh-my-pi/pi-utils": "12.10.1",
87
+ "@oh-my-pi/omp-stats": "12.11.1",
88
+ "@oh-my-pi/pi-agent-core": "12.11.1",
89
+ "@oh-my-pi/pi-ai": "12.11.1",
90
+ "@oh-my-pi/pi-natives": "12.11.1",
91
+ "@oh-my-pi/pi-tui": "12.11.1",
92
+ "@oh-my-pi/pi-utils": "12.11.1",
93
93
  "@sinclair/typebox": "^0.34.48",
94
94
  "@xterm/headless": "^6.0.0",
95
95
  "ajv": "^8.18.0",
@@ -29,6 +29,7 @@ const PROVIDERS: Array<SearchProviderId | "auto"> = [
29
29
  "zai",
30
30
  "gemini",
31
31
  "codex",
32
+ "synthetic",
32
33
  ];
33
34
 
34
35
  const RECENCY_OPTIONS: SearchCommandArgs["recency"][] = ["day", "week", "month", "year"];
@@ -15,6 +15,7 @@ const PROVIDERS: Array<SearchProviderId | "auto"> = [
15
15
  "zai",
16
16
  "gemini",
17
17
  "codex",
18
+ "synthetic",
18
19
  ];
19
20
 
20
21
  const RECENCY: NonNullable<SearchCommandArgs["recency"]>[] = ["day", "week", "month", "year"];
@@ -5,9 +5,9 @@ import {
5
5
  parseModelPattern,
6
6
  resolveModelFromSettings,
7
7
  resolveModelFromString,
8
- SMOL_MODEL_PRIORITY,
9
8
  } from "../config/model-resolver";
10
9
  import type { Settings } from "../config/settings";
10
+ import MODEL_PRIO from "../priority.json" with { type: "json" };
11
11
 
12
12
  export async function resolvePrimaryModel(
13
13
  override: string | undefined,
@@ -58,7 +58,7 @@ export async function resolveSmolModel(
58
58
  if (apiKey) return { model: roleModel, apiKey };
59
59
  }
60
60
 
61
- for (const pattern of SMOL_MODEL_PRIORITY) {
61
+ for (const pattern of MODEL_PRIO.smol) {
62
62
  const candidate = parseModelPattern(pattern, available, matchPreferences).model;
63
63
  if (!candidate) continue;
64
64
  const apiKey = await modelRegistry.getApiKey(candidate);