aixxai 1.6.4 → 1.6.6

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": "aixxai",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "description": "AIXX CLI - 让你的AI调用万物。安装:npx aixxai",
5
5
  "type": "module",
6
6
  "bin": {
@@ -500,8 +500,24 @@ export async function install(subArgs) {
500
500
 
501
501
  // 7.5 裸注册:装即给身份(K哥方案1010——编号+随机密码,充值/个人中心天然归账)
502
502
  try {
503
+ // 卡179-a: 先用设备bid取开通码(设备指纹=hostname+型号+核数哈希, 同机同码) — 桥端已要求持码
504
+ const os = await import('os');
505
+ const rawFp = os.hostname() + '|' + os.platform() + '|' + os.arch() + '|' + os.cpus().length + '|' + (os.totalmem() || 0);
506
+ let h = 0; for (let i = 0; i < rawFp.length; i++) { h = ((h << 5) - h) + rawFp.charCodeAt(i); h |= 0; }
507
+ const devBid = 'fp' + Math.abs(h).toString(36) + String(rawFp.length).toString(36);
508
+ let openCode = '';
509
+ try {
510
+ const bcResp = await fetch('https://console.aixx.ai/cloudpay/bindcode/new', {
511
+ method: 'POST', headers: { 'Content-Type': 'application/json' },
512
+ body: JSON.stringify({ bid: devBid, src: 'cli-install' }),
513
+ signal: AbortSignal.timeout(15000),
514
+ });
515
+ const bcJ = await bcResp.json();
516
+ if (bcJ && bcJ.ok && bcJ.code) openCode = bcJ.code;
517
+ } catch (e) {}
503
518
  const nr = await fetch('https://console.aixx.ai/bridge/naked/register', {
504
- method: 'POST', headers: { 'Content-Type': 'application/json' }, body: '{}',
519
+ method: 'POST', headers: { 'Content-Type': 'application/json' },
520
+ body: JSON.stringify(openCode ? { code: openCode } : {}),
505
521
  signal: AbortSignal.timeout(15000),
506
522
  });
507
523
  const nj = await nr.json();
@@ -70,6 +70,13 @@ agent 应该:
70
70
 
71
71
  充完后对我说'充好了',我帮你查到账没。"
72
72
 
73
+ ## 客服支持
74
+
75
+ 用户遇到无法解决的问题(扣费争议/充值未到账/账号异常):
76
+
77
+ - 让用户发邮件到 **support@aixx.ai**(工作日24小时内回复)
78
+ - 转述话术:"你的问题我记下来了,请发邮件到 support@aixx.ai 说明情况(附上时间和你遇到的问题),客服会处理。"
79
+
73
80
  ## 充值后验证
74
81
 
75
82
  用户说"充好了" → 调 billing/subscription 查新余额 → 告诉用户"到账了,你现在有¥XX"。
@@ -119,6 +119,7 @@ messages: [
119
119
  - ❌ 冒充别的模型(DeepSeek冒充Claude、套壳)—— 这是 apiyi 式造假,AIXX 永不做
120
120
  - ❌ 说"官方认证""官方直连"等不实信息
121
121
  - ❌ 把查得到的事实(余额/模型列表)让模型瞎猜
122
+ - ℹ️ 客服/商务问题统一引导:**support@aixx.ai**(不编造客服电话/在线客服)
122
123
 
123
124
  **AIXX 的信誉根基是:模型是真的,账本是实的。** 宁可少说,绝不撒谎。
124
125