sanook-cli 0.5.5 → 0.5.8

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,10 +1,11 @@
1
1
  {
2
2
  "name": "sanook-cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.8",
4
4
  "description": "A terminal AI coding agent — BYOK, 9 providers, MCP, cron gateway, skills, and git awareness. Built from scratch in TypeScript.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "sanook": "dist/bin.js"
7
+ "sanook": "dist/bin.js",
8
+ "sanookai": "dist/bin.js"
8
9
  },
9
10
  "files": [
10
11
  "dist",
@@ -55,6 +56,10 @@
55
56
  "url": "https://github.com/Sir-chawakorn/sanook-cli/issues"
56
57
  },
57
58
  "homepage": "https://github.com/Sir-chawakorn/sanook-cli#readme",
59
+ "publishConfig": {
60
+ "access": "public",
61
+ "registry": "https://registry.npmjs.org/"
62
+ },
58
63
  "dependencies": {
59
64
  "@ai-sdk/anthropic": "^3.0.84",
60
65
  "@ai-sdk/google": "^3.0.82",
@@ -79,5 +84,9 @@
79
84
  "tsx": "^4.22.4",
80
85
  "typescript": "^6.0.3",
81
86
  "vitest": "^4.1.8"
87
+ },
88
+ "optionalDependencies": {
89
+ "node-pty": "^1.0.0",
90
+ "ws": "^8.18.0"
82
91
  }
83
92
  }
@@ -20,11 +20,11 @@ try {
20
20
  const bold = (s) => paint('1', s);
21
21
 
22
22
  if (isGlobal) {
23
- console.log(`\n${bold('✅ sanook-cli พร้อมใช้')} — พิมพ์ ${cyan('sanook')} เพื่อเริ่ม`);
24
- console.log(dim(' ยังพิมพ์ "sanook" ไม่เจอ? ปิด-เปิด terminal ใหม่ · ตรวจ: ') + cyan('npx sanook doctor') + '\n');
23
+ console.log(`\n${bold('✅ sanook-cli พร้อมใช้')} — พิมพ์ ${cyan('sanook')} หรือ ${cyan('sanookai')} เพื่อเริ่ม`);
24
+ console.log(dim(' Command installed: sanook (alias: sanookai) · ปิด-เปิด terminal ถ้ายังไม่เจอ · ') + cyan('sanook doctor') + '\n');
25
25
  } else {
26
- console.log(`\n${bold('sanook-cli ลงแบบ local แล้ว')} — คำสั่ง ${cyan('sanook')} ยัง${bold('ไม่')}อยู่ใน PATH`);
27
- console.log(` ${dim('• รันเลยตอนนี้:')} ${cyan('npx sanook')}`);
26
+ console.log(`\n${bold('sanook-cli ลงแบบ local แล้ว')} — ${cyan('sanook')} / ${cyan('sanookai')} ยัง${bold('ไม่')}อยู่ใน PATH`);
27
+ console.log(` ${dim('• รันเลยตอนนี้:')} ${cyan('npx sanook')} ${dim('(or')} ${cyan('npx sanookai')}${dim(')')}`);
28
28
  console.log(` ${dim('• ลงให้พิมพ์ sanook ตรงๆ:')} ${cyan('npm install -g sanook-cli')}`);
29
29
  console.log(` ${dim('• ตรวจ/แก้ PATH:')} ${cyan('npx sanook doctor')}\n`);
30
30
  }