@mandujs/core 0.40.0 → 0.40.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandujs/core",
3
- "version": "0.40.0",
3
+ "version": "0.40.1",
4
4
  "description": "Mandu Framework Core - Spec, Generator, Guard, Runtime",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -43,7 +43,7 @@ function seedToken(): StoredToken {
43
43
  }
44
44
 
45
45
  describe("OpenAIOAuthAdapter — shape + defaults", () => {
46
- it("reports default model gpt-4o-mini and adapter name openai-oauth", async () => {
46
+ it("reports default model gpt-5.4 and adapter name openai-oauth", async () => {
47
47
  const store = makeMemoryStore({ openai: seedToken() });
48
48
  const adapter = new OpenAIOAuthAdapter({
49
49
  credentialStore: store,
@@ -75,10 +75,14 @@ export const OPENAI_OAUTH_CLIENT_ID = "mandu-brain-cli";
75
75
  export const OPENAI_OAUTH_SCOPE = "openai.chat";
76
76
 
77
77
  /**
78
- * Default model — gpt-4o-mini balances cost and quality for brain
79
- * doctor triage. Override via `ManduConfig.brain.openai.model`.
78
+ * Default model — GPT-5.4 (current-generation OpenAI flagship as of
79
+ * 2026-04). Gives brain doctor triage the quality it needs to produce
80
+ * actionable patches, which was the whole motivation for moving off
81
+ * the local ministral-3:3b adapter. Override via
82
+ * `ManduConfig.brain.openai.model` (e.g. set to a cheaper tier for
83
+ * low-stakes automated runs).
80
84
  */
81
- export const OPENAI_DEFAULT_MODEL = "gpt-4o-mini";
85
+ export const OPENAI_DEFAULT_MODEL = "gpt-5.4";
82
86
  export const OPENAI_API_BASE = "https://api.openai.com/v1";
83
87
 
84
88
  export const DEFAULT_OPENAI_CONFIG: AdapterConfig = {