ltcraft-ai-auto 1.7.0 → 1.8.0

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
@@ -36,4 +36,4 @@ ltcraft-ai-auto
36
36
 
37
37
  ## API 地址
38
38
 
39
- 所有工具统一使用: `https://ai.ltcraft.cn:12000`
39
+ 所有工具统一使用: `https://ai.ltcraft.cn`
package/bin/index.js CHANGED
@@ -5,7 +5,7 @@ import fs from 'fs';
5
5
  import path from 'path';
6
6
  import os from 'os';
7
7
 
8
- const API_BASE_URL = 'https://ai.ltcraft.cn:12000';
8
+ const API_BASE_URL = 'https://ai.ltcraft.cn';
9
9
 
10
10
  const colors = {
11
11
  reset: '\x1b[0m',
@@ -680,7 +680,7 @@ async function runCheck() {
680
680
  async function main() {
681
681
  console.log('╔════════════════════════════════════════╗');
682
682
  console.log('║ LTCraft AI 配置工具 ║');
683
- console.log('║ API: https://ai.ltcraft.cn:12000 ║');
683
+ console.log('║ API: https://ai.ltcraft.cn ║');
684
684
  console.log('╚════════════════════════════════════════╝\n');
685
685
 
686
686
  const tool = await select({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ltcraft-ai-auto",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "一键配置 Claude Code / OpenCode / OpenClaw 的 API 密钥工具",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -21,7 +21,7 @@ Claude Code 会按以下优先级读取配置(文件名通常为 settings.json
21
21
  JSON
22
22
  {
23
23
  "env": {
24
- "ANTHROPIC_BASE_URL": "https://ai.ltcraft.cn:12000",
24
+ "ANTHROPIC_BASE_URL": "https://ai.ltcraft.cn",
25
25
  "API_TIMEOUT_MS": 3000000,
26
26
  "ANTHROPIC_AUTH_TOKEN": "sk-xxxxxxxxxxxxxxxxxxxxxxxx"
27
27
  }
@@ -49,7 +49,7 @@ C:\Users<用户名>.config\opencode\opencode.json
49
49
  "provider": {
50
50
  "anthropic": {
51
51
  "options": {
52
- "baseURL": "https://ai.ltcraft.cn:12000/v1"
52
+ "baseURL": "https://ai.ltcraft.cn/v1"
53
53
  }
54
54
  }
55
55
  }
@@ -77,7 +77,7 @@ OpenClaw 配置文件教程(仅配置文件)
77
77
  "models": {
78
78
  "providers": {
79
79
  "LTCraft-Anthropic": {
80
- "baseUrl": "https://ai.ltcraft.cn:12000",
80
+ "baseUrl": "https://ai.ltcraft.cn",
81
81
  "apiKey": "${你的apikey}",
82
82
  "api": "anthropic-messages",
83
83
  "models": [
@@ -86,7 +86,7 @@ OpenClaw 配置文件教程(仅配置文件)
86
86
  ]
87
87
  },
88
88
  "LTCraft-Openai": {
89
- "baseUrl": "https://ai.ltcraft.cn:12000/v1",
89
+ "baseUrl": "https://ai.ltcraft.cn/v1",
90
90
  "apiKey": "${你的apikey}",
91
91
  "api": "openai-completions",
92
92
  "models": [