pi-codebuddy-sdk 0.4.26 → 0.4.28

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/README.md CHANGED
@@ -55,14 +55,14 @@ export CODEBUDDY_API_KEY="your-api-key"
55
55
 
56
56
  Obtain the key from your CodeBuddy account. Do not commit it or store it in repo files.
57
57
 
58
- ### 3. Tencent iOA (internal network)
58
+ ### 3. Managed network environment
59
59
 
60
60
  ```bash
61
- export CODEBUDDY_INTERNET_ENVIRONMENT=ioa
61
+ export CODEBUDDY_INTERNET_ENVIRONMENT=<environment>
62
62
  codebuddy login
63
63
  ```
64
64
 
65
- Use this when CodeBuddy must run on the iOA network. Add `CODEBUDDY_API_KEY` as well if your environment requires it.
65
+ Set `<environment>` to the value your CodeBuddy deployment uses. Ask your CodeBuddy administrator if the value is not documented in your deployment's own README, and add `CODEBUDDY_API_KEY` as well if your environment requires it.
66
66
 
67
67
  ## Usage
68
68
 
@@ -71,7 +71,7 @@ pi
71
71
  /model
72
72
  ```
73
73
 
74
- Pick any entry prefixed with `codebuddy/` (for example `codebuddy/hy3-preview-agent-ioa`).
74
+ Pick any entry prefixed with `codebuddy/` (for example `codebuddy/deepseek-v4.1-flash`).
75
75
 
76
76
  Tools, skills, extensions, `/compact`, and steer behave the same as with other Pi providers.
77
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-codebuddy-sdk",
3
- "version": "0.4.26",
3
+ "version": "0.4.28",
4
4
  "description": "Pi extension that uses CodeBuddy (via Agent SDK) as a model provider and adds an AskCodebuddy tool.",
5
5
  "author": "RealAlexandreAI",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  "@earendil-works/pi-tui": "^1.1.0",
49
49
  "@types/node": "^26.6.5",
50
50
  "tsx": "^4.23.15",
51
- "typebox": "1.3.36",
51
+ "typebox": "1.3.37",
52
52
  "typescript": "^7.0.2"
53
53
  },
54
54
  "pi": {
package/src/models.ts CHANGED
@@ -71,7 +71,7 @@ export function rawModelsFromSdk(supported: Array<ModelInfo & SdkModelMeta>): Pi
71
71
  }
72
72
 
73
73
  export const FALLBACK_MODELS: PiModel[] = [
74
- { id: "hy3-preview-agent-ioa", name: "Hunyuan 3 Preview", reasoning: true, input: ["text"], contextWindow: DEFAULT_CONTEXT, maxTokens: DEFAULT_MAX_TOKENS, cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 } },
74
+ { id: "deepseek-v4.1-flash", name: "DeepSeek V4.1 Flash", reasoning: true, input: ["text"], contextWindow: 1_000_000, maxTokens: 128_000, cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 } },
75
75
  ];
76
76
 
77
77
  export type ModelOverrides = {