aihezu 2.8.13 → 2.8.14

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/INSTALL_USAGE.md CHANGED
@@ -71,8 +71,8 @@ npx aihezu install --provider codex --api hk.aihezu.dev
71
71
  请输入 API 地址(直接回车使用默认地址):
72
72
 
73
73
  请选择模型:
74
- [1] gpt-5-codex (默认)
75
- [2] claude-sonnet-4.5
74
+ [1] gpt-5.5 (默认)
75
+ [2] gpt-5.4
76
76
  [3] 自定义模型名称
77
77
  请选择 [1/2/3]:
78
78
  ```
@@ -112,8 +112,8 @@ API Key: sk-ant-123...xyz
112
112
  ## 模型选择(Codex)
113
113
 
114
114
  Codex 用户可以选择:
115
- 1. `gpt-5-codex`(默认)
116
- 2. `claude-sonnet-4.5`
115
+ 1. `gpt-5.5`(默认)
116
+ 2. `gpt-5.4`
117
117
  3. 自定义模型名称
118
118
 
119
119
  ## 完整示例
@@ -106,29 +106,23 @@ async function configCommand(service, args = []) {
106
106
  // 3. Extra Options (Service specific)
107
107
  const options = {};
108
108
  if (service.name === 'codex') {
109
- const knownModels = ['gpt-5-codex', 'gpt-5.2', 'gpt-5.2-codex', 'gpt-5.3-codex'];
110
- let defaultModel = cliModel || 'gpt-5-codex';
109
+ const knownModels = ['gpt-5.4', 'gpt-5.5'];
110
+ let defaultModel = cliModel || 'gpt-5.5';
111
111
 
112
112
  console.log('请选择模型:');
113
- console.log(' [1] gpt-5-codex' + (defaultModel === 'gpt-5-codex' ? ' (默认)' : ''));
114
- console.log(' [2] gpt-5.2' + (defaultModel === 'gpt-5.2' ? ' (默认)' : ''));
115
- console.log(' [3] gpt-5.2-codex' + (defaultModel === 'gpt-5.2-codex' ? ' (默认)' : ''));
116
- console.log(' [4] gpt-5.3-codex' + (defaultModel === 'gpt-5.3-codex' ? ' (默认)' : ''));
117
- console.log(' [5] 自定义模型名称' + (!knownModels.includes(defaultModel) ? ' (默认: ' + defaultModel + ')' : ''));
113
+ console.log(' [1] gpt-5.5' + (defaultModel === 'gpt-5.5' ? ' (默认)' : ''));
114
+ console.log(' [2] gpt-5.4' + (defaultModel === 'gpt-5.4' ? ' (默认)' : ''));
115
+ console.log(' [3] 自定义模型名称' + (!knownModels.includes(defaultModel) ? ' (默认: ' + defaultModel + ')' : ''));
118
116
 
119
- const choice = await askQuestion(rl, '请选择 [1/2/3/4/5]: ');
117
+ const choice = await askQuestion(rl, '请选择 [1/2/3]: ');
120
118
 
121
119
  if (choice === '2') {
122
- options.modelName = 'gpt-5.2';
120
+ options.modelName = 'gpt-5.4';
123
121
  } else if (choice === '3') {
124
- options.modelName = 'gpt-5.2-codex';
125
- } else if (choice === '4') {
126
- options.modelName = 'gpt-5.3-codex';
127
- } else if (choice === '5') {
128
122
  const customModel = await askQuestion(rl, '请输入自定义模型名称: ');
129
123
  options.modelName = customModel || defaultModel;
130
124
  } else if (choice === '1' || choice === '') {
131
- options.modelName = (choice === '') ? defaultModel : 'gpt-5-codex';
125
+ options.modelName = (choice === '') ? defaultModel : 'gpt-5.5';
132
126
  }
133
127
 
134
128
  // Reasoning effort selection
@@ -107,29 +107,23 @@ async function installCommand(service, args = []) {
107
107
  // 3. Extra Options (Service specific)
108
108
  const options = {};
109
109
  if (service.name === 'codex') {
110
- const knownModels = ['gpt-5-codex', 'gpt-5.2', 'gpt-5.2-codex', 'gpt-5.3-codex'];
111
- let defaultModel = cliModel || 'gpt-5-codex';
110
+ const knownModels = ['gpt-5.4', 'gpt-5.5'];
111
+ let defaultModel = cliModel || 'gpt-5.5';
112
112
 
113
113
  console.log('请选择模型:');
114
- console.log(' [1] gpt-5-codex' + (defaultModel === 'gpt-5-codex' ? ' (默认)' : ''));
115
- console.log(' [2] gpt-5.2' + (defaultModel === 'gpt-5.2' ? ' (默认)' : ''));
116
- console.log(' [3] gpt-5.2-codex' + (defaultModel === 'gpt-5.2-codex' ? ' (默认)' : ''));
117
- console.log(' [4] gpt-5.3-codex' + (defaultModel === 'gpt-5.3-codex' ? ' (默认)' : ''));
118
- console.log(' [5] 自定义模型名称' + (!knownModels.includes(defaultModel) ? ' (默认: ' + defaultModel + ')' : ''));
114
+ console.log(' [1] gpt-5.5' + (defaultModel === 'gpt-5.5' ? ' (默认)' : ''));
115
+ console.log(' [2] gpt-5.4' + (defaultModel === 'gpt-5.4' ? ' (默认)' : ''));
116
+ console.log(' [3] 自定义模型名称' + (!knownModels.includes(defaultModel) ? ' (默认: ' + defaultModel + ')' : ''));
119
117
 
120
- const choice = await askQuestion(rl, '请选择 [1/2/3/4/5]: ');
118
+ const choice = await askQuestion(rl, '请选择 [1/2/3]: ');
121
119
 
122
120
  if (choice === '2') {
123
- options.modelName = 'gpt-5.2';
121
+ options.modelName = 'gpt-5.4';
124
122
  } else if (choice === '3') {
125
- options.modelName = 'gpt-5.2-codex';
126
- } else if (choice === '4') {
127
- options.modelName = 'gpt-5.3-codex';
128
- } else if (choice === '5') {
129
123
  const customModel = await askQuestion(rl, '请输入自定义模型名称: ');
130
124
  options.modelName = customModel || defaultModel;
131
125
  } else if (choice === '1' || choice === '') {
132
- options.modelName = (choice === '') ? defaultModel : 'gpt-5-codex';
126
+ options.modelName = (choice === '') ? defaultModel : 'gpt-5.5';
133
127
  }
134
128
 
135
129
  // Reasoning effort selection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aihezu",
3
- "version": "2.8.13",
3
+ "version": "2.8.14",
4
4
  "description": "AI 开发环境配置工具 - 支持 Claude Code, Codex, Google Gemini 的本地化配置、代理设置与缓存清理",
5
5
  "main": "bin/aihezu.js",
6
6
  "bin": {
package/services/codex.js CHANGED
@@ -24,7 +24,7 @@ module.exports = {
24
24
 
25
25
  // Configuration setup logic
26
26
  setupConfig: async (apiKey, apiUrl, options = {}) => {
27
- const { modelName = 'gpt-5-codex', reasoningEffort = 'high' } = options;
27
+ const { modelName = 'gpt-5.5', reasoningEffort = 'high' } = options;
28
28
 
29
29
  if (!fs.existsSync(configDir)) {
30
30
  console.log('📁 创建 ~/.codex 目录...');