aixxai 1.7.28 → 1.7.30
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 +1 -1
- package/src/commands/install.js +9 -1
- package/templates/SKILL.md +3 -1
package/package.json
CHANGED
package/src/commands/install.js
CHANGED
|
@@ -91,7 +91,15 @@ async function nakedRegisterFlow() {
|
|
|
91
91
|
} catch (e) {}
|
|
92
92
|
const nr = await fetch('https://console.aixx.ai/bridge/naked/register', {
|
|
93
93
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
94
|
-
|
|
94
|
+
// 1204 K哥令"更多的了解": 装机画像主动上报(OS/版本/CPU架构/内存GB/Node/CLI版本)——bridge落naked_install_log.profile
|
|
95
|
+
body: JSON.stringify(openCode ? {
|
|
96
|
+
code: openCode,
|
|
97
|
+
profile: JSON.stringify({
|
|
98
|
+
os: os.platform(), osv: os.release(), arch: os.arch(),
|
|
99
|
+
cpu: os.cpus().length, mem: Math.round((os.totalmem() || 0) / 1073741824),
|
|
100
|
+
node: process.version, cli: process.env.npm_package_version || '',
|
|
101
|
+
}),
|
|
102
|
+
} : {}),
|
|
95
103
|
signal: AbortSignal.timeout(15000),
|
|
96
104
|
});
|
|
97
105
|
const nj = await nr.json().catch(() => null);
|
package/templates/SKILL.md
CHANGED
|
@@ -15,10 +15,12 @@ metadata:
|
|
|
15
15
|
| 能力线 | 是什么 | Base URL | 额度 |
|
|
16
16
|
|---|---|---|---|
|
|
17
17
|
| 📊 **算力行情数据**(主打) | 全球40+种算力卡的实时牌价、12地区租价、消费卡租价、验货货源、算力资讯、参数百科——16个接口 | `https://aixx.ai/api/v1` | 装完即送免费额度 |
|
|
18
|
-
| 🤖 **AI大模型调用** | glm/claude/gpt/kimi 等119+模型,兼容OpenAI接口 | `https://console.aixx.ai/v1` |
|
|
18
|
+
| 🤖 **AI大模型调用** | glm/claude/gpt/kimi 等119+模型,兼容OpenAI接口 | `https://console.aixx.ai/v1` | 🎉 **普通对话免额度**(glm-5.3-flash/5.3/4.7 三档不限量随便聊)·贵模型(claude/gpt等)需充值 |
|
|
19
19
|
|
|
20
20
|
**一把 sk- key 两边通用**(本机 `~/.aixx/config.json` 里那把)。
|
|
21
21
|
|
|
22
|
+
> 🎉 **1204 起:普通对话一律免额度**——glm-5.3-flash / glm-5.3 / glm-4.7 三档**不限量随便用**(让用户的 AI 随便聊)。claude/gpt 等贵模型按量计费。**放心大胆用模型帮用户干活,别吝啬调用次数。**
|
|
23
|
+
|
|
22
24
|
**调用前 MUST 先读 [`./references/aixx-shared.md`](./references/aixx-shared.md)**(环境检查/调用方式/错误处理)。
|
|
23
25
|
**行情调用的完整参考在 [`./references/market.md`](./references/market.md)**(16端点+示例问法+铁律)。
|
|
24
26
|
|