@gengjiawen/os-init 1.26.1 → 1.26.2

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.26.2](https://github.com/gengjiawen/os-init/compare/v1.26.1...v1.26.2) (2026-06-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * set codex reasoning effort to high ([0211fab](https://github.com/gengjiawen/os-init/commit/0211fab79a984ba7b12ead089ce80aa3cf1116d8))
9
+
3
10
  ## [1.26.1](https://github.com/gengjiawen/os-init/compare/v1.26.0...v1.26.1) (2026-06-05)
4
11
 
5
12
 
package/build/codex.js CHANGED
@@ -15,8 +15,8 @@ function getCodexConfigDir() {
15
15
  function getCodexConfigTomlTemplate() {
16
16
  return `model_provider = "jw"
17
17
  model = "gpt-5.5"
18
- model_reasoning_effort = "xhigh"
19
- plan_mode_reasoning_effort = "xhigh"
18
+ model_reasoning_effort = "high"
19
+ plan_mode_reasoning_effort = "high"
20
20
  model_auto_compact_token_limit = 131072
21
21
  disable_response_storage = true
22
22
  preferred_auth_method = "apikey"
@@ -34,6 +34,17 @@ describe('writeCodexConfig', () => {
34
34
  expect(fs.existsSync(result.authPath)).toBe(true)
35
35
  })
36
36
 
37
+ test('writes codex reasoning efforts as high', () => {
38
+ const result = writeCodexConfig('test-api-key')
39
+ const config = TOML.parse(fs.readFileSync(result.configPath, 'utf8')) as {
40
+ model_reasoning_effort: string
41
+ plan_mode_reasoning_effort: string
42
+ }
43
+
44
+ expect(config.model_reasoning_effort).toBe('high')
45
+ expect(config.plan_mode_reasoning_effort).toBe('high')
46
+ })
47
+
37
48
  test('merges template keys and keeps custom config', () => {
38
49
  const configDir = path.join(tempHome, '.codex')
39
50
  fs.mkdirSync(configDir, { recursive: true })
package/libs/codex.ts CHANGED
@@ -17,8 +17,8 @@ function getCodexConfigDir(): string {
17
17
  function getCodexConfigTomlTemplate(): string {
18
18
  return `model_provider = "jw"
19
19
  model = "gpt-5.5"
20
- model_reasoning_effort = "xhigh"
21
- plan_mode_reasoning_effort = "xhigh"
20
+ model_reasoning_effort = "high"
21
+ plan_mode_reasoning_effort = "high"
22
22
  model_auto_compact_token_limit = 131072
23
23
  disable_response_storage = true
24
24
  preferred_auth_method = "apikey"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gengjiawen/os-init",
3
3
  "private": false,
4
- "version": "1.26.1",
4
+ "version": "1.26.2",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "bin": {