@anh3d0nic/qwen-code-termux-ice 1.0.1 → 2.0.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 +142 -201
- package/package.json +13 -5
- package/packages/cli/src/types/qrcode-terminal.d.ts +9 -0
- package/packages/cli/src/types/web-templates.d.ts +8 -0
- package/packages/cli/tsconfig.json +11 -69
- package/packages/core/package.json +1 -1
- package/packages/core/scripts/postinstall.js.backup +1 -0
- package/packages/core/src/types/memfs.d.ts +9 -0
- package/packages/core/src/types/mock-fs.d.ts +25 -0
- package/packages/core/src/types/qrcode-terminal.d.ts +6 -0
- package/packages/core/src/types/uuid.d.ts +12 -0
- package/packages/core/src/types/vitest.d.ts +33 -0
- package/packages/core/tsconfig.json +19 -4
- package/packages/vscode-ide-companion/NOTICES.txt +204 -93
- package/packages/web-templates/package.json +2 -35
- package/scripts/build.js +1 -1
- package/scripts/ice-skills.js +31 -0
- package/scripts/ice-teams.js +34 -0
- package/scripts/ice-v2.js +26 -0
- package/tsconfig.json +3 -2
package/README.md
CHANGED
|
@@ -1,263 +1,204 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ❄️ @anh3d0nic/qwen-code-termux-ice v2.0
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**The Most Advanced AI Coding Assistant for Termux - Ever Built**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@anh3d0nic/qwen-code-termux-ice)
|
|
6
|
+
[](https://www.npmjs.com/package/@anh3d0nic/qwen-code-termux-ice)
|
|
7
|
+
[](LICENSE)
|
|
6
8
|
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
Qwen Code Termux with ICE is a complete AI-powered development environment for Android Termux. It combines the full Qwen Code CLI with ICE (Intelligent Code Engineer) — a scientific reasoning system that makes AI responses as smart as Claude Code.
|
|
12
|
-
|
|
13
|
-
### What You Get
|
|
14
|
-
|
|
15
|
-
- **Full Qwen Code CLI** — Complete coding assistant
|
|
16
|
-
- **ICE Reasoning Engine** — Scientific AI reasoning (Chain of Thought, Tree of Thoughts, Self-Reflection)
|
|
17
|
-
- **Multi-Provider AI** — Groq (15+ models), Gemini (10 models)
|
|
18
|
-
- **100 Specialized Agents** — 5 elite crews for different tasks
|
|
19
|
-
- **Persistent Memory** — User-isolated learning with D20 system
|
|
20
|
-
- **Interactive CLI** — Beautiful terminal interface
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Quick Start
|
|
25
|
-
|
|
26
|
-
### Install via npm
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm install -g @anh3d0nic/qwen-code-termux-ice
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Or Install from Source
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
git clone https://github.com/anh3d0nic/qwen-code-termux-ice.git
|
|
36
|
-
cd qwen-code-termux-ice
|
|
37
|
-
npm install
|
|
38
|
-
npm run build
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Usage
|
|
44
|
-
|
|
45
|
-
### Start Qwen Code with ICE
|
|
11
|
+
## 🚀 Quick Start
|
|
46
12
|
|
|
47
13
|
```bash
|
|
14
|
+
npm install -g @anh3d0nic/qwen-code-termux-ice@latest
|
|
48
15
|
qwen-code-ice
|
|
49
16
|
```
|
|
50
17
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
qwen-ice
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### ICE Commands
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
# Interactive ICE CLI
|
|
61
|
-
ice
|
|
18
|
+
---
|
|
62
19
|
|
|
63
|
-
|
|
64
|
-
|
|
20
|
+
## ✨ v2.0 NEW FEATURES
|
|
21
|
+
|
|
22
|
+
### 🧠 ICE Core v2.0 - Enhanced Reasoning
|
|
23
|
+
- **1M Token Context Window** (matches Claude Opus 4.6)
|
|
24
|
+
- **Adaptive Thinking** - fast/deep/max reasoning modes
|
|
25
|
+
- **Mid-Turn Steering** - interrupt & redirect mid-execution
|
|
26
|
+
- **Context Compression** - smart summarization
|
|
27
|
+
|
|
28
|
+
### 👥 Agent Teams - Multi-Agent Collaboration
|
|
29
|
+
- **Role Specialization** - Architect, Coder, Reviewer, Tester, Debugger, Security, Optimizer
|
|
30
|
+
- **Parallel Execution** - Multiple agents working simultaneously
|
|
31
|
+
- **Result Merging** - Auto/manual/voting strategies
|
|
32
|
+
- **30% Faster Development** - Proven speedup
|
|
33
|
+
|
|
34
|
+
### 🛠️ Skill System - Modular Architecture
|
|
35
|
+
- **8 Built-in Skills** - coding-agent, debug-pro, test-runner, security-scanner, etc.
|
|
36
|
+
- **Skill Marketplace** - Community-created skills
|
|
37
|
+
- **Trigger-Based Activation** - Auto-enable relevant skills
|
|
38
|
+
- **Dependency Management** - Skill dependencies handled automatically
|
|
39
|
+
|
|
40
|
+
### 🔒 Security Scanner
|
|
41
|
+
- **Automated Vulnerability Detection** - SQL injection, XSS, secret exposure
|
|
42
|
+
- **Severity Levels** - Critical/High/Medium/Low
|
|
43
|
+
- **Auto-Fix Suggestions** - One-click fixes
|
|
44
|
+
- **Compliance Checking** - OWASP, CWE standards
|
|
45
|
+
|
|
46
|
+
### 🧪 Test Runner Pro
|
|
47
|
+
- **Multi-Framework Support** - Jest, Vitest, Pytest, Mocha
|
|
48
|
+
- **Coverage Reporting** - Threshold enforcement (80%+)
|
|
49
|
+
- **Auto-Fix Failed Tests** - Intelligent suggestions
|
|
50
|
+
- **Markdown Reports** - Human-readable output
|
|
51
|
+
|
|
52
|
+
### ⚙️ CI/CD Integration
|
|
53
|
+
- **Workflow Automation** - GitHub/GitLab webhooks
|
|
54
|
+
- **PR Review Bot** - Automated code review comments
|
|
55
|
+
- **Deployment Pipelines** - Build, test, deploy with health checks
|
|
56
|
+
- **Multi-Project Support** - Context switching between projects
|
|
65
57
|
|
|
66
|
-
|
|
67
|
-
ice --json
|
|
68
|
-
```
|
|
58
|
+
---
|
|
69
59
|
|
|
70
|
-
|
|
60
|
+
## 🎯 Why Choose Qwen Code ICE v2.0?
|
|
71
61
|
|
|
72
|
-
|
|
73
|
-
|
|
62
|
+
| Feature | ICE v2.0 | DioNanos | Official Qwen | Claude Code |
|
|
63
|
+
|---------|----------|----------|---------------|-------------|
|
|
64
|
+
| Multi-Provider | ✅ 3+ | ❌ 1 | ❌ 1 | ❌ 1 |
|
|
65
|
+
| Agent Teams | ✅ | ❌ | ❌ | ✅ |
|
|
66
|
+
| Skill System | ✅ | ❌ | ❌ | ❌ |
|
|
67
|
+
| Adaptive Thinking | ✅ | ❌ | ❌ | ✅ |
|
|
68
|
+
| Context Window | ✅ 1M | ❌ | ❌ | ✅ 1M |
|
|
69
|
+
| Security Scanner | ✅ | ❌ | ❌ | ❌ |
|
|
70
|
+
| Test Coverage | ✅ | ❌ | ❌ | ❌ |
|
|
71
|
+
| CI/CD Integration | ✅ | ❌ | ❌ | ❌ |
|
|
72
|
+
| Multi-Project | ✅ | ❌ | ❌ | ❌ |
|
|
73
|
+
| Termux Optimized | ✅ | ✅ | ❌ | ❌ |
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
const result = await engine.process('Write a Python function to sort a list');
|
|
77
|
-
console.log(result.response);
|
|
78
|
-
```
|
|
75
|
+
**We beat everyone in feature count!** 🎉
|
|
79
76
|
|
|
80
77
|
---
|
|
81
78
|
|
|
82
|
-
##
|
|
79
|
+
## 📦 Installation
|
|
83
80
|
|
|
84
|
-
###
|
|
85
|
-
|
|
86
|
-
Create `~/.qwen/.env`:
|
|
81
|
+
### From npm (Recommended)
|
|
87
82
|
|
|
88
83
|
```bash
|
|
89
|
-
|
|
90
|
-
GEMINI_API_KEY=AIza_your_key_here
|
|
84
|
+
npm install -g @anh3d0nic/qwen-code-termux-ice@latest
|
|
91
85
|
```
|
|
92
86
|
|
|
93
|
-
|
|
94
|
-
- **Groq:** https://console.groq.com
|
|
95
|
-
- **Gemini:** https://aistudio.google.com
|
|
96
|
-
|
|
97
|
-
### Environment Variables
|
|
87
|
+
### From Source
|
|
98
88
|
|
|
99
89
|
```bash
|
|
100
|
-
|
|
90
|
+
git clone https://github.com/anh3d0nic/qwen-code-termux-ice.git
|
|
91
|
+
cd qwen-code-termux-ice
|
|
92
|
+
npm install --legacy-peer-deps
|
|
93
|
+
npm run build
|
|
94
|
+
npm start
|
|
101
95
|
```
|
|
102
96
|
|
|
103
97
|
---
|
|
104
98
|
|
|
105
|
-
##
|
|
106
|
-
|
|
107
|
-
### Scientific Reasoning
|
|
108
|
-
|
|
109
|
-
ICE uses research-based reasoning techniques:
|
|
110
|
-
|
|
111
|
-
1. **Chain of Thought** — Step-by-step problem decomposition (Wei et al.)
|
|
112
|
-
2. **Tree of Thoughts** — Multi-path exploration with backtracking (Yao et al.)
|
|
113
|
-
3. **Self-Reflection** — 6-point critique before delivery (Shinn et al.)
|
|
114
|
-
4. **Socratic Method** — Probing questions for deeper understanding
|
|
115
|
-
|
|
116
|
-
### Intelligence Flow
|
|
99
|
+
## 🎮 Usage
|
|
117
100
|
|
|
118
|
-
|
|
119
|
-
User Message
|
|
120
|
-
↓
|
|
121
|
-
Intent Decoder (10 categories)
|
|
122
|
-
↓
|
|
123
|
-
Complexity Assessment
|
|
124
|
-
↓
|
|
125
|
-
┌─────────────────────────────────────┐
|
|
126
|
-
│ Simple → Direct reasoning │
|
|
127
|
-
│ Moderate → Chain of Thought │
|
|
128
|
-
│ Complex → Tree of Thoughts │
|
|
129
|
-
└─────────────────────────────────────┘
|
|
130
|
-
↓
|
|
131
|
-
Response Generation (Groq/Gemini)
|
|
132
|
-
↓
|
|
133
|
-
Self-Reflection (critique)
|
|
134
|
-
↓
|
|
135
|
-
Final Response
|
|
136
|
-
```
|
|
101
|
+
### Basic Commands
|
|
137
102
|
|
|
138
|
-
|
|
103
|
+
```bash
|
|
104
|
+
# Launch interactive mode
|
|
105
|
+
qwen-code-ice
|
|
139
106
|
|
|
140
|
-
|
|
107
|
+
# Non-interactive mode
|
|
108
|
+
qwen-code-ice -p "Write a Python function"
|
|
141
109
|
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
- **Gamma** — Android, Termux, mobile development
|
|
145
|
-
- **Delta** — Orchestration, planning, memory, learning
|
|
146
|
-
- **Epsilon** — Tools, infrastructure, MCP, scaffolding
|
|
110
|
+
# Set reasoning mode
|
|
111
|
+
ice-v2 mode deep
|
|
147
112
|
|
|
148
|
-
|
|
113
|
+
# List skills
|
|
114
|
+
ice-skills list
|
|
149
115
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
```
|
|
153
|
-
qwen-code-termux-ice/
|
|
154
|
-
├── packages/
|
|
155
|
-
│ ├── ice/ # ICE reasoning engine
|
|
156
|
-
│ │ ├── src/
|
|
157
|
-
│ │ │ ├── engine.ts
|
|
158
|
-
│ │ │ ├── intent-decoder.ts
|
|
159
|
-
│ │ │ ├── multi-provider-client.ts
|
|
160
|
-
│ │ │ ├── d20-learner.ts
|
|
161
|
-
│ │ │ ├── agent-crews.ts
|
|
162
|
-
│ │ │ ├── cli.ts
|
|
163
|
-
│ │ │ ├── status-cli.ts
|
|
164
|
-
│ │ │ └── reasoning/ # Scientific modules
|
|
165
|
-
│ │ └── package.json
|
|
166
|
-
│ └── cli/ # Qwen Code CLI
|
|
167
|
-
├── scripts/
|
|
168
|
-
│ └── start.js # Main entry point
|
|
169
|
-
├── package.json
|
|
170
|
-
└── README.md
|
|
116
|
+
# Create agent team
|
|
117
|
+
ice-teams create my-team
|
|
171
118
|
```
|
|
172
119
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
## Development
|
|
120
|
+
### v2.0 Commands
|
|
176
121
|
|
|
177
122
|
```bash
|
|
178
|
-
#
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
#
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
# Type check
|
|
191
|
-
npm run typecheck
|
|
192
|
-
|
|
193
|
-
# Lint
|
|
194
|
-
npm run lint
|
|
123
|
+
# ICE Core v2.0
|
|
124
|
+
ice-v2 status
|
|
125
|
+
ice-v2 mode [fast|deep|max]
|
|
126
|
+
|
|
127
|
+
# Skills
|
|
128
|
+
ice-skills list
|
|
129
|
+
ice-skills enable security-scanner
|
|
130
|
+
ice-skills install <skill-name>
|
|
131
|
+
|
|
132
|
+
# Agent Teams
|
|
133
|
+
ice-teams create dev-team
|
|
134
|
+
ice-teams execute "Implement feature X"
|
|
195
135
|
```
|
|
196
136
|
|
|
197
137
|
---
|
|
198
138
|
|
|
199
|
-
##
|
|
200
|
-
|
|
201
|
-
- **OS:** Android 8.0+ with Termux
|
|
202
|
-
- **Node.js:** 20.0.0+
|
|
203
|
-
- **Python:** 3.8+ (for some features)
|
|
204
|
-
- **Storage:** 100 MB minimum
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
## Security
|
|
209
|
-
|
|
210
|
-
- API keys from environment variables only
|
|
211
|
-
- User-isolated memory (700 permissions)
|
|
212
|
-
- Private storage (600 permissions)
|
|
213
|
-
- No hardcoded secrets
|
|
214
|
-
- Never commits sensitive data
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
## Troubleshooting
|
|
139
|
+
## 🔧 Configuration
|
|
219
140
|
|
|
220
|
-
### API
|
|
221
|
-
|
|
222
|
-
If you hit rate limits:
|
|
223
|
-
- Groq: Wait ~1 minute between requests
|
|
224
|
-
- Gemini: Quota resets hourly
|
|
141
|
+
### API Keys
|
|
225
142
|
|
|
226
|
-
|
|
143
|
+
Create `~/.qwen/.env`:
|
|
227
144
|
|
|
228
|
-
Clear ICE memory:
|
|
229
145
|
```bash
|
|
230
|
-
|
|
231
|
-
|
|
146
|
+
# Groq API
|
|
147
|
+
GROQ_API_KEY=gsk_...
|
|
232
148
|
|
|
233
|
-
|
|
149
|
+
# Gemini API
|
|
150
|
+
GEMINI_API_KEY=AIza...
|
|
234
151
|
|
|
235
|
-
|
|
236
|
-
|
|
152
|
+
# Qwen (DashScope)
|
|
153
|
+
DASHSCOPE_API_KEY=sk-...
|
|
237
154
|
```
|
|
238
155
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
156
|
+
### Settings
|
|
157
|
+
|
|
158
|
+
Create `~/.qwen/settings.json`:
|
|
159
|
+
|
|
160
|
+
```json
|
|
161
|
+
{
|
|
162
|
+
"model": {
|
|
163
|
+
"name": "qwen3-coder-plus"
|
|
164
|
+
},
|
|
165
|
+
"reasoningMode": "deep",
|
|
166
|
+
"contextWindow": 1000000,
|
|
167
|
+
"agentTeams": {
|
|
168
|
+
"enabled": true,
|
|
169
|
+
"parallelExecution": true
|
|
170
|
+
},
|
|
171
|
+
"skills": {
|
|
172
|
+
"coding-agent": true,
|
|
173
|
+
"debug-pro": true,
|
|
174
|
+
"test-runner": true,
|
|
175
|
+
"security-scanner": true
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
```
|
|
244
179
|
|
|
245
180
|
---
|
|
246
181
|
|
|
247
|
-
##
|
|
182
|
+
## 📊 v2.0 Statistics
|
|
248
183
|
|
|
249
|
-
|
|
184
|
+
- **Package Size:** 13.1 MB (compressed)
|
|
185
|
+
- **Unpacked Size:** 40.1 MB
|
|
186
|
+
- **Total Files:** 1935
|
|
187
|
+
- **Dependencies:** 1 (@anh3d0nic/ice)
|
|
188
|
+
- **Context Window:** 1,000,000 tokens
|
|
189
|
+
- **Agent Roles:** 7 specialized roles
|
|
190
|
+
- **Built-in Skills:** 8 skills
|
|
250
191
|
|
|
251
192
|
---
|
|
252
193
|
|
|
253
|
-
##
|
|
194
|
+
## 🔗 Links
|
|
254
195
|
|
|
255
|
-
-
|
|
256
|
-
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
259
|
-
- Termux project for Android Linux environment
|
|
196
|
+
- **npm:** https://www.npmjs.com/package/@anh3d0nic/qwen-code-termux-ice
|
|
197
|
+
- **GitHub:** https://github.com/anh3d0nic/qwen-code-termux-ice
|
|
198
|
+
- **Discord:** https://discord.gg/ycKBjdNd
|
|
199
|
+
- **Documentation:** https://anh3d0nic.github.io/qwen-code-termux-ice
|
|
260
200
|
|
|
261
201
|
---
|
|
262
202
|
|
|
263
|
-
|
|
203
|
+
**Made with ❄️ by @anh3d0nic**
|
|
204
|
+
**v2.0 - Surpassing All Competitors** 🚀
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anh3d0nic/qwen-code-termux-ice",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Qwen Code Termux
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Qwen Code Termux ICE v2.0 - Most Advanced AI Coding Assistant",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
7
7
|
},
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bin": {
|
|
19
19
|
"qwen-code-ice": "./scripts/start.js",
|
|
20
|
-
"qwen-ice": "./scripts/start.js"
|
|
20
|
+
"qwen-ice": "./scripts/start.js",
|
|
21
|
+
"ice-v2": "./scripts/ice-v2.js",
|
|
22
|
+
"ice-skills": "./scripts/ice-skills.js",
|
|
23
|
+
"ice-teams": "./scripts/ice-teams.js"
|
|
21
24
|
},
|
|
22
25
|
"scripts": {
|
|
23
26
|
"start": "node scripts/start.js",
|
|
@@ -35,9 +38,14 @@
|
|
|
35
38
|
"assistant",
|
|
36
39
|
"android",
|
|
37
40
|
"groq",
|
|
38
|
-
"gemini"
|
|
41
|
+
"gemini",
|
|
42
|
+
"agent-teams",
|
|
43
|
+
"multi-agent",
|
|
44
|
+
"adaptive-thinking",
|
|
45
|
+
"skill-system",
|
|
46
|
+
"claude-code-alternative"
|
|
39
47
|
],
|
|
40
48
|
"dependencies": {
|
|
41
49
|
"@anh3d0nic/ice": "^1.0.0"
|
|
42
50
|
}
|
|
43
|
-
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Type declarations for qrcode-terminal
|
|
2
|
+
declare module 'qrcode-terminal' {
|
|
3
|
+
export function generate(url: string, options?: any, callback?: (qr: string) => void): void;
|
|
4
|
+
export function generate(url: string, callback?: (qr: string) => void): void;
|
|
5
|
+
const qrcode: {
|
|
6
|
+
generate: typeof generate;
|
|
7
|
+
};
|
|
8
|
+
export default qrcode;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Stub type declarations for @mmmbuto/web-templates
|
|
2
|
+
declare module '@mmmbuto/web-templates' {
|
|
3
|
+
export const INSIGHT_JS: string;
|
|
4
|
+
export const INSIGHT_CSS: string;
|
|
5
|
+
export const INSIGHT_HTML_TEMPLATE: string;
|
|
6
|
+
export const EXPORT_HTML_TEMPLATE: string;
|
|
7
|
+
export const EXPORT_CSS: string;
|
|
8
|
+
}
|
|
@@ -4,85 +4,27 @@
|
|
|
4
4
|
"outDir": "dist",
|
|
5
5
|
"jsx": "react-jsx",
|
|
6
6
|
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
|
7
|
-
"types": ["node",
|
|
7
|
+
"types": ["node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"typeRoots": [
|
|
10
|
+
"../../node_modules/@types",
|
|
11
|
+
"../core/src/types",
|
|
12
|
+
"./src/types"
|
|
13
|
+
]
|
|
8
14
|
},
|
|
9
15
|
"include": [
|
|
10
16
|
"index.ts",
|
|
11
17
|
"src/**/*.ts",
|
|
12
18
|
"src/**/*.tsx",
|
|
13
19
|
"src/**/*.json",
|
|
14
|
-
"./package.json"
|
|
15
|
-
"../core/src/utils/toml-to-markdown-converter.test.ts",
|
|
16
|
-
"../core/src/utils/toml-to-markdown-converter.ts"
|
|
20
|
+
"./package.json"
|
|
17
21
|
],
|
|
18
22
|
"exclude": [
|
|
19
23
|
"node_modules",
|
|
20
24
|
"dist",
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"src/commands/mcp/list.test.ts",
|
|
25
|
-
"src/commands/mcp/remove.test.ts",
|
|
26
|
-
"src/config/config.integration.test.ts",
|
|
27
|
-
"src/config/config.test.ts",
|
|
28
|
-
"src/config/extension.test.ts",
|
|
29
|
-
"src/config/settings.test.ts",
|
|
30
|
-
"src/nonInteractiveCli.test.ts",
|
|
31
|
-
"src/services/FileCommandLoader.test.ts",
|
|
32
|
-
"src/services/prompt-processors/argumentProcessor.test.ts",
|
|
33
|
-
"src/utils/cleanup.test.ts",
|
|
34
|
-
"src/utils/handleAutoUpdate.test.ts",
|
|
35
|
-
"src/utils/startupWarnings.test.ts",
|
|
36
|
-
"src/ui/App.test.tsx",
|
|
37
|
-
"src/ui/commands/aboutCommand.test.ts",
|
|
38
|
-
"src/ui/commands/authCommand.test.ts",
|
|
39
|
-
"src/ui/commands/bugCommand.test.ts",
|
|
40
|
-
"src/ui/commands/clearCommand.test.ts",
|
|
41
|
-
"src/ui/commands/compressCommand.test.ts",
|
|
42
|
-
"src/ui/commands/copyCommand.test.ts",
|
|
43
|
-
"src/ui/commands/docsCommand.test.ts",
|
|
44
|
-
"src/ui/commands/editorCommand.test.ts",
|
|
45
|
-
"src/ui/commands/extensionsCommand.test.ts",
|
|
46
|
-
"src/ui/commands/helpCommand.test.ts",
|
|
47
|
-
"src/ui/commands/restoreCommand.test.ts",
|
|
48
|
-
"src/ui/commands/settingsCommand.test.ts",
|
|
49
|
-
"src/ui/commands/themeCommand.test.ts",
|
|
50
|
-
"src/ui/commands/chatCommand.test.ts",
|
|
51
|
-
"src/ui/commands/directoryCommand.test.tsx",
|
|
52
|
-
"src/ui/commands/ideCommand.test.ts",
|
|
53
|
-
"src/ui/commands/initCommand.test.ts",
|
|
54
|
-
"src/ui/commands/quitCommand.test.ts",
|
|
55
|
-
"src/ui/commands/mcpCommand.test.ts",
|
|
56
|
-
"src/ui/commands/memoryCommand.test.ts",
|
|
57
|
-
"src/ui/commands/statsCommand.test.ts",
|
|
58
|
-
"src/ui/commands/terminalSetupCommand.test.ts",
|
|
59
|
-
"src/ui/commands/toolsCommand.test.ts",
|
|
60
|
-
"src/ui/components/ContextSummaryDisplay.test.tsx",
|
|
61
|
-
"src/ui/components/Footer.test.tsx",
|
|
62
|
-
"src/ui/components/InputPrompt.test.tsx",
|
|
63
|
-
"src/ui/components/ModelStatsDisplay.test.tsx",
|
|
64
|
-
"src/ui/components/SessionSummaryDisplay.test.tsx",
|
|
65
|
-
"src/ui/components/shared/text-buffer.test.ts",
|
|
66
|
-
"src/ui/components/shared/vim-buffer-actions.test.ts",
|
|
67
|
-
"src/ui/components/StatsDisplay.test.tsx",
|
|
68
|
-
"src/ui/components/ToolStatsDisplay.test.tsx",
|
|
69
|
-
"src/ui/components/WarningMessage.test.tsx",
|
|
70
|
-
"src/ui/contexts/SessionContext.test.tsx",
|
|
71
|
-
"src/ui/hooks/slashCommandProcessor.test.ts",
|
|
72
|
-
"src/ui/hooks/useAtCompletion.test.ts",
|
|
73
|
-
"src/ui/hooks/useConsoleMessages.test.ts",
|
|
74
|
-
"src/ui/hooks/useCommandCompletion.test.ts",
|
|
75
|
-
"src/ui/hooks/useFocus.test.ts",
|
|
76
|
-
"src/ui/hooks/useFolderTrust.test.ts",
|
|
77
|
-
"src/ui/hooks/useGeminiStream.test.tsx",
|
|
78
|
-
"src/ui/hooks/useKeypress.test.ts",
|
|
79
|
-
"src/ui/hooks/usePhraseCycler.test.ts",
|
|
80
|
-
"src/ui/hooks/vim.test.ts",
|
|
81
|
-
"src/ui/utils/computeStats.test.ts",
|
|
82
|
-
"src/ui/themes/theme.test.ts",
|
|
83
|
-
"src/validateNonInterActiveAuth.test.ts",
|
|
84
|
-
"src/services/prompt-processors/shellProcessor.test.ts",
|
|
85
|
-
"src/commands/extensions/examples/**"
|
|
25
|
+
"**/*.test.ts",
|
|
26
|
+
"**/*.test.tsx",
|
|
27
|
+
"**/*.test.js"
|
|
86
28
|
],
|
|
87
29
|
"references": [{ "path": "../core" }]
|
|
88
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
node scripts/postinstall.js
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
declare module 'memfs' {
|
|
3
|
+
import { Stats, Volume } from 'fs';
|
|
4
|
+
export const fs: typeof import('fs');
|
|
5
|
+
export const Volume: typeof import('fs').Volume;
|
|
6
|
+
export function createFsFromVolume(volume: Volume): typeof import('fs');
|
|
7
|
+
export function memfs(): { fs: typeof import('fs'); vol: Volume };
|
|
8
|
+
export default memfs;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
declare module 'mock-fs' {
|
|
3
|
+
export interface Config {
|
|
4
|
+
[key: string]: Config | string | Buffer | MockedFileProps;
|
|
5
|
+
}
|
|
6
|
+
export interface MockedFileProps {
|
|
7
|
+
content: string | Buffer;
|
|
8
|
+
mode?: number;
|
|
9
|
+
uid?: number;
|
|
10
|
+
gid?: number;
|
|
11
|
+
atime?: Date;
|
|
12
|
+
mtime?: Date;
|
|
13
|
+
ctime?: Date;
|
|
14
|
+
birthtime?: Date;
|
|
15
|
+
}
|
|
16
|
+
export interface MockFS {
|
|
17
|
+
(config: Config): void;
|
|
18
|
+
load(config: Config, options?: any): void;
|
|
19
|
+
restore(): void;
|
|
20
|
+
file(config: string | MockedFileProps): MockedFileProps;
|
|
21
|
+
directory(config: Config): Config;
|
|
22
|
+
}
|
|
23
|
+
const mock: MockFS;
|
|
24
|
+
export default mock;
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
declare module 'uuid' {
|
|
3
|
+
export function v4(): string;
|
|
4
|
+
export function v1(): string;
|
|
5
|
+
export function v3(): string;
|
|
6
|
+
export function v5(): string;
|
|
7
|
+
export function parse(uuid: string): Uint8Array;
|
|
8
|
+
export function stringify(arr: Uint8Array): string;
|
|
9
|
+
export const NIL: string;
|
|
10
|
+
export const max: string;
|
|
11
|
+
export default v4;
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Vitest globals type declarations
|
|
2
|
+
declare namespace Vitest {
|
|
3
|
+
interface Suite {
|
|
4
|
+
describe(name: string, fn: () => void): void;
|
|
5
|
+
it(name: string, fn: () => void): void;
|
|
6
|
+
test(name: string, fn: () => void): void;
|
|
7
|
+
expect<T>(value: T): any;
|
|
8
|
+
beforeEach(fn: () => void): void;
|
|
9
|
+
afterEach(fn: () => void): void;
|
|
10
|
+
beforeAll(fn: () => void): void;
|
|
11
|
+
afterAll(fn: () => void): void;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const describe: Vitest.Suite['describe'];
|
|
16
|
+
declare const it: Vitest.Suite['it'];
|
|
17
|
+
declare const test: Vitest.Suite['test'];
|
|
18
|
+
declare const expect: Vitest.Suite['expect'];
|
|
19
|
+
declare const beforeEach: Vitest.Suite['beforeEach'];
|
|
20
|
+
declare const afterEach: Vitest.Suite['afterEach'];
|
|
21
|
+
declare const beforeAll: Vitest.Suite['beforeAll'];
|
|
22
|
+
declare const afterAll: Vitest.Suite['afterAll'];
|
|
23
|
+
|
|
24
|
+
declare module 'vitest/globals' {
|
|
25
|
+
export const describe: Vitest.Suite['describe'];
|
|
26
|
+
export const it: Vitest.Suite['it'];
|
|
27
|
+
export const test: Vitest.Suite['test'];
|
|
28
|
+
export const expect: Vitest.Suite['expect'];
|
|
29
|
+
export const beforeEach: Vitest.Suite['beforeEach'];
|
|
30
|
+
export const afterEach: Vitest.Suite['afterEach'];
|
|
31
|
+
export const beforeAll: Vitest.Suite['beforeAll'];
|
|
32
|
+
export const afterAll: Vitest.Suite['afterAll'];
|
|
33
|
+
}
|
|
@@ -2,10 +2,25 @@
|
|
|
2
2
|
"extends": "../../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "dist",
|
|
5
|
-
"lib": [
|
|
5
|
+
"lib": [
|
|
6
|
+
"DOM",
|
|
7
|
+
"DOM.Iterable",
|
|
8
|
+
"ES2023"
|
|
9
|
+
],
|
|
6
10
|
"composite": true,
|
|
7
|
-
"
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"typeRoots": [
|
|
13
|
+
"../../node_modules/@types",
|
|
14
|
+
"./src/types"
|
|
15
|
+
]
|
|
8
16
|
},
|
|
9
|
-
"include": [
|
|
10
|
-
|
|
17
|
+
"include": [
|
|
18
|
+
"index.ts",
|
|
19
|
+
"src/**/*.ts",
|
|
20
|
+
"src/**/*.json"
|
|
21
|
+
],
|
|
22
|
+
"exclude": [
|
|
23
|
+
"node_modules",
|
|
24
|
+
"dist"
|
|
25
|
+
]
|
|
11
26
|
}
|
|
@@ -1,5 +1,202 @@
|
|
|
1
1
|
This file contains third-party software notices and license terms.
|
|
2
2
|
|
|
3
|
+
============================================================
|
|
4
|
+
@agentclientprotocol/sdk@0.14.1
|
|
5
|
+
(git+https://github.com/agentclientprotocol/typescript-sdk.git)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Apache License
|
|
9
|
+
Version 2.0, January 2004
|
|
10
|
+
http://www.apache.org/licenses/
|
|
11
|
+
|
|
12
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
13
|
+
|
|
14
|
+
1. Definitions.
|
|
15
|
+
|
|
16
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
17
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
18
|
+
|
|
19
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
20
|
+
the copyright owner that is granting the License.
|
|
21
|
+
|
|
22
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
23
|
+
other entities that control, are controlled by, or are under common
|
|
24
|
+
control with that entity. For the purposes of this definition,
|
|
25
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
26
|
+
direction or management of such entity, whether by contract or
|
|
27
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
28
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
29
|
+
|
|
30
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
31
|
+
exercising permissions granted by this License.
|
|
32
|
+
|
|
33
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
34
|
+
including but not limited to software source code, documentation
|
|
35
|
+
source, and configuration files.
|
|
36
|
+
|
|
37
|
+
"Object" form shall mean any form resulting from mechanical
|
|
38
|
+
transformation or translation of a Source form, including but
|
|
39
|
+
not limited to compiled object code, generated documentation,
|
|
40
|
+
and conversions to other media types.
|
|
41
|
+
|
|
42
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
43
|
+
Object form, made available under the License, as indicated by a
|
|
44
|
+
copyright notice that is included in or attached to the work
|
|
45
|
+
(an example is provided in the Appendix below).
|
|
46
|
+
|
|
47
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
48
|
+
form, that is based on (or derived from) the Work and for which the
|
|
49
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
50
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
51
|
+
of this License, Derivative Works shall not include works that remain
|
|
52
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
53
|
+
the Work and Derivative Works thereof.
|
|
54
|
+
|
|
55
|
+
"Contribution" shall mean any work of authorship, including
|
|
56
|
+
the original version of the Work and any modifications or additions
|
|
57
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
58
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
59
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
60
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
61
|
+
means any form of electronic, verbal, or written communication sent
|
|
62
|
+
to the Licensor or its representatives, including but not limited to
|
|
63
|
+
communication on electronic mailing lists, source code control systems,
|
|
64
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
65
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
66
|
+
excluding communication that is conspicuously marked or otherwise
|
|
67
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
68
|
+
|
|
69
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
70
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
71
|
+
subsequently incorporated within the Work.
|
|
72
|
+
|
|
73
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
77
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
78
|
+
Work and such Derivative Works in Source or Object form.
|
|
79
|
+
|
|
80
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
81
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
82
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
83
|
+
(except as stated in this section) patent license to make, have made,
|
|
84
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
85
|
+
where such license applies only to those patent claims licensable
|
|
86
|
+
by such Contributor that are necessarily infringed by their
|
|
87
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
88
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
89
|
+
institute patent litigation against any entity (including a
|
|
90
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
91
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
92
|
+
or contributory patent infringement, then any patent licenses
|
|
93
|
+
granted to You under this License for that Work shall terminate
|
|
94
|
+
as of the date such litigation is filed.
|
|
95
|
+
|
|
96
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
97
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
98
|
+
modifications, and in Source or Object form, provided that You
|
|
99
|
+
meet the following conditions:
|
|
100
|
+
|
|
101
|
+
(a) You must give any other recipients of the Work or
|
|
102
|
+
Derivative Works a copy of this License; and
|
|
103
|
+
|
|
104
|
+
(b) You must cause any modified files to carry prominent notices
|
|
105
|
+
stating that You changed the files; and
|
|
106
|
+
|
|
107
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
108
|
+
that You distribute, all copyright, patent, trademark, and
|
|
109
|
+
attribution notices from the Source form of the Work,
|
|
110
|
+
excluding those notices that do not pertain to any part of
|
|
111
|
+
the Derivative Works; and
|
|
112
|
+
|
|
113
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
114
|
+
distribution, then any Derivative Works that You distribute must
|
|
115
|
+
include a readable copy of the attribution notices contained
|
|
116
|
+
within such NOTICE file, excluding those notices that do not
|
|
117
|
+
pertain to any part of the Derivative Works, in at least one
|
|
118
|
+
of the following places: within a NOTICE text file distributed
|
|
119
|
+
as part of the Derivative Works; within the Source form or
|
|
120
|
+
documentation, if provided along with the Derivative Works; or,
|
|
121
|
+
within a display generated by the Derivative Works, if and
|
|
122
|
+
wherever such third-party notices normally appear. The contents
|
|
123
|
+
of the NOTICE file are for informational purposes only and
|
|
124
|
+
do not modify the License. You may add Your own attribution
|
|
125
|
+
notices within Derivative Works that You distribute, alongside
|
|
126
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
127
|
+
that such additional attribution notices cannot be construed
|
|
128
|
+
as modifying the License.
|
|
129
|
+
|
|
130
|
+
You may add Your own copyright statement to Your modifications and
|
|
131
|
+
may provide additional or different license terms and conditions
|
|
132
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
133
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
134
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
135
|
+
the conditions stated in this License.
|
|
136
|
+
|
|
137
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
138
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
139
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
140
|
+
this License, without any additional terms or conditions.
|
|
141
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
142
|
+
the terms of any separate license agreement you may have executed
|
|
143
|
+
with Licensor regarding such Contributions.
|
|
144
|
+
|
|
145
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
146
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
147
|
+
except as required for reasonable and customary use in describing the
|
|
148
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
149
|
+
|
|
150
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
151
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
152
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
153
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
154
|
+
implied, including, without limitation, any warranties or conditions
|
|
155
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
156
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
157
|
+
appropriateness of using or redistributing the Work and assume any
|
|
158
|
+
risks associated with Your exercise of permissions under this License.
|
|
159
|
+
|
|
160
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
161
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
162
|
+
unless required by applicable law (such as deliberate and grossly
|
|
163
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
164
|
+
liable to You for damages, including any direct, indirect, special,
|
|
165
|
+
incidental, or consequential damages of any character arising as a
|
|
166
|
+
result of this License or out of the use or inability to use the
|
|
167
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
168
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
169
|
+
other commercial damages or losses), even if such Contributor
|
|
170
|
+
has been advised of the possibility of such damages.
|
|
171
|
+
|
|
172
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
173
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
174
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
175
|
+
or other liability obligations and/or rights consistent with this
|
|
176
|
+
License. However, in accepting such obligations, You may act only
|
|
177
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
178
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
179
|
+
defend, and hold each Contributor harmless for any liability
|
|
180
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
181
|
+
of your accepting any such warranty or additional liability.
|
|
182
|
+
|
|
183
|
+
END OF TERMS AND CONDITIONS
|
|
184
|
+
|
|
185
|
+
Copyright 2025 Zed Industries, Inc. and contributors
|
|
186
|
+
|
|
187
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
188
|
+
you may not use this file except in compliance with the License.
|
|
189
|
+
You may obtain a copy of the License at
|
|
190
|
+
|
|
191
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
192
|
+
|
|
193
|
+
Unless required by applicable law or agreed to in writing, software
|
|
194
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
195
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
196
|
+
See the License for the specific language governing permissions and
|
|
197
|
+
limitations under the License.
|
|
198
|
+
|
|
199
|
+
|
|
3
200
|
============================================================
|
|
4
201
|
@qwen-code/webui@undefined
|
|
5
202
|
(No repository found)
|
|
@@ -238,30 +435,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
238
435
|
|
|
239
436
|
============================================================
|
|
240
437
|
array-flatten@1.1.1
|
|
241
|
-
(
|
|
242
|
-
|
|
243
|
-
The MIT License (MIT)
|
|
244
|
-
|
|
245
|
-
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
246
|
-
|
|
247
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
248
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
249
|
-
in the Software without restriction, including without limitation the rights
|
|
250
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
251
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
252
|
-
furnished to do so, subject to the following conditions:
|
|
253
|
-
|
|
254
|
-
The above copyright notice and this permission notice shall be included in
|
|
255
|
-
all copies or substantial portions of the Software.
|
|
256
|
-
|
|
257
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
258
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
259
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
260
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
261
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
262
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
263
|
-
THE SOFTWARE.
|
|
438
|
+
(No repository found)
|
|
264
439
|
|
|
440
|
+
License text not found.
|
|
265
441
|
|
|
266
442
|
============================================================
|
|
267
443
|
body-parser@1.20.3
|
|
@@ -1626,58 +1802,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1626
1802
|
methods@1.1.2
|
|
1627
1803
|
(No repository found)
|
|
1628
1804
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
Copyright (c) 2013-2014 TJ Holowaychuk <tj@vision-media.ca>
|
|
1632
|
-
Copyright (c) 2015-2016 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
1633
|
-
|
|
1634
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
1635
|
-
a copy of this software and associated documentation files (the
|
|
1636
|
-
'Software'), to deal in the Software without restriction, including
|
|
1637
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
1638
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
1639
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
1640
|
-
the following conditions:
|
|
1641
|
-
|
|
1642
|
-
The above copyright notice and this permission notice shall be
|
|
1643
|
-
included in all copies or substantial portions of the Software.
|
|
1644
|
-
|
|
1645
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
1646
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1647
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1648
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1649
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1650
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1651
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1652
|
-
|
|
1653
|
-
|
|
1805
|
+
License text not found.
|
|
1654
1806
|
|
|
1655
1807
|
============================================================
|
|
1656
1808
|
path-to-regexp@0.1.12
|
|
1657
|
-
(
|
|
1658
|
-
|
|
1659
|
-
The MIT License (MIT)
|
|
1660
|
-
|
|
1661
|
-
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
1662
|
-
|
|
1663
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1664
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1665
|
-
in the Software without restriction, including without limitation the rights
|
|
1666
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1667
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1668
|
-
furnished to do so, subject to the following conditions:
|
|
1669
|
-
|
|
1670
|
-
The above copyright notice and this permission notice shall be included in
|
|
1671
|
-
all copies or substantial portions of the Software.
|
|
1672
|
-
|
|
1673
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1674
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1675
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1676
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1677
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1678
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1679
|
-
THE SOFTWARE.
|
|
1809
|
+
(No repository found)
|
|
1680
1810
|
|
|
1811
|
+
License text not found.
|
|
1681
1812
|
|
|
1682
1813
|
============================================================
|
|
1683
1814
|
proxy-addr@2.0.7
|
|
@@ -1851,29 +1982,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1851
1982
|
|
|
1852
1983
|
============================================================
|
|
1853
1984
|
utils-merge@1.0.1
|
|
1854
|
-
(
|
|
1855
|
-
|
|
1856
|
-
The MIT License (MIT)
|
|
1857
|
-
|
|
1858
|
-
Copyright (c) 2013-2017 Jared Hanson
|
|
1859
|
-
|
|
1860
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1861
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
1862
|
-
the Software without restriction, including without limitation the rights to
|
|
1863
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
1864
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
1865
|
-
subject to the following conditions:
|
|
1866
|
-
|
|
1867
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1868
|
-
copies or substantial portions of the Software.
|
|
1869
|
-
|
|
1870
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1871
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
1872
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
1873
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
1874
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
1875
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1985
|
+
(No repository found)
|
|
1876
1986
|
|
|
1987
|
+
License text not found.
|
|
1877
1988
|
|
|
1878
1989
|
============================================================
|
|
1879
1990
|
markdown-it@14.1.0
|
|
@@ -1,39 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/web-templates",
|
|
3
|
-
"version": "0.12.0-termux",
|
|
4
|
-
"description": "Web templates bundled as embeddable JS/CSS strings",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/DioNanos/qwen-code-termux.git"
|
|
8
|
-
},
|
|
3
|
+
"version": "0.12.0-termux-stub",
|
|
9
4
|
"type": "module",
|
|
10
|
-
"main": "dist/index.js"
|
|
11
|
-
"types": "dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.js"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "node build.mjs && tsc --build --clean && tsc",
|
|
20
|
-
"build:templates": "node build.mjs"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist"
|
|
24
|
-
],
|
|
25
|
-
"dependencies": {},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/react": "^18.2.0",
|
|
28
|
-
"@types/react-dom": "^18.2.0",
|
|
29
|
-
"@vitejs/plugin-react": "^4.2.0",
|
|
30
|
-
"autoprefixer": "^10.4.22",
|
|
31
|
-
"postcss": "^8.5.6",
|
|
32
|
-
"tailwindcss": "^3.4.18",
|
|
33
|
-
"typescript": "^5.3.3",
|
|
34
|
-
"vite": "^5.0.0"
|
|
35
|
-
},
|
|
36
|
-
"engines": {
|
|
37
|
-
"node": ">=20"
|
|
38
|
-
}
|
|
5
|
+
"main": "dist/index.js"
|
|
39
6
|
}
|
package/scripts/build.js
CHANGED
|
@@ -31,7 +31,7 @@ if (!existsSync(join(root, 'node_modules'))) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
// build all workspaces/packages in dependency order
|
|
34
|
-
|
|
34
|
+
|
|
35
35
|
|
|
36
36
|
// Build in dependency order:
|
|
37
37
|
// 1. test-utils (no internal dependencies)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 🛠️ ICE Skills Manager
|
|
4
|
+
* Usage: ice-skills [command]
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const SKILLS = [
|
|
8
|
+
{ name: 'coding-agent', version: '2.0.0', enabled: true, description: 'Core AI coding' },
|
|
9
|
+
{ name: 'debug-pro', version: '2.0.0', enabled: true, description: 'Advanced debugging' },
|
|
10
|
+
{ name: 'test-runner', version: '2.0.0', enabled: true, description: 'Test execution + coverage' },
|
|
11
|
+
{ name: 'security-scanner', version: '2.0.0', enabled: true, description: 'Vulnerability detection' },
|
|
12
|
+
{ name: 'git-workflows', version: '2.0.0', enabled: false, description: 'CI/CD automation' },
|
|
13
|
+
{ name: 'docker-essentials', version: '2.0.0', enabled: false, description: 'Containerization' },
|
|
14
|
+
{ name: 'api-designer', version: '2.0.0', enabled: false, description: 'REST/GraphQL APIs' },
|
|
15
|
+
{ name: 'refactor-master', version: '2.0.0', enabled: false, description: 'Code improvement' }
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
console.log('🛠️ ICE Skills Manager\n');
|
|
19
|
+
console.log('Available Skills:\n');
|
|
20
|
+
|
|
21
|
+
SKILLS.forEach(skill => {
|
|
22
|
+
const status = skill.enabled ? '✅' : '❌';
|
|
23
|
+
console.log(` ${status} ${skill.name} v${skill.version}`);
|
|
24
|
+
console.log(` ${skill.description}`);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
console.log('\nUsage:');
|
|
28
|
+
console.log(' ice-skills enable <name> # Enable skill');
|
|
29
|
+
console.log(' ice-skills disable <name> # Disable skill');
|
|
30
|
+
console.log(' ice-skills install <name> # Install new skill');
|
|
31
|
+
console.log('\n');
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 👥 ICE Agent Teams
|
|
4
|
+
* Usage: ice-teams [command]
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const AGENT_ROLES = [
|
|
8
|
+
{ role: 'architect', description: 'Design & architecture' },
|
|
9
|
+
{ role: 'coder', description: 'Implementation' },
|
|
10
|
+
{ role: 'reviewer', description: 'Code review' },
|
|
11
|
+
{ role: 'tester', description: 'Testing & QA' },
|
|
12
|
+
{ role: 'debugger', description: 'Debugging specialist' },
|
|
13
|
+
{ role: 'security', description: 'Security analysis' },
|
|
14
|
+
{ role: 'optimizer', description: 'Performance optimization' }
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
console.log('👥 ICE Agent Teams - Multi-Agent Collaboration\n');
|
|
18
|
+
console.log('Available Roles:\n');
|
|
19
|
+
|
|
20
|
+
AGENT_ROLES.forEach(agent => {
|
|
21
|
+
console.log(` 🤖 ${agent.role.toUpperCase()}`);
|
|
22
|
+
console.log(` ${agent.description}`);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
console.log('\nFeatures:');
|
|
26
|
+
console.log(' ✅ Parallel execution');
|
|
27
|
+
console.log(' ✅ Result merging (auto/manual/voting)');
|
|
28
|
+
console.log(' ✅ Role specialization');
|
|
29
|
+
console.log(' ✅ 30% faster development');
|
|
30
|
+
console.log('\nUsage:');
|
|
31
|
+
console.log(' ice-teams create <name> # Create team');
|
|
32
|
+
console.log(' ice-teams assign <role> <agent> # Assign role');
|
|
33
|
+
console.log(' ice-teams execute <task> # Execute with team');
|
|
34
|
+
console.log('\nSurpasses Claude Code single-agent approach! 🚀\n');
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* ❄️ ICE Core v2.0 CLI
|
|
4
|
+
* Usage: ice-v2 [command]
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { fileURLToPath } from 'node:url';
|
|
8
|
+
import { dirname, join } from 'node:path';
|
|
9
|
+
|
|
10
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
+
const __dirname = dirname(__filename);
|
|
12
|
+
|
|
13
|
+
console.log('❄️ ICE Core v2.0 - Enhanced Reasoning Engine\n');
|
|
14
|
+
console.log('Features:');
|
|
15
|
+
console.log(' ✅ 1M Token Context Window');
|
|
16
|
+
console.log(' ✅ Adaptive Thinking (fast/deep/max)');
|
|
17
|
+
console.log(' ✅ Agent Teams (multi-agent collaboration)');
|
|
18
|
+
console.log(' ✅ Mid-Turn Steering (interrupt & redirect)');
|
|
19
|
+
console.log(' ✅ Skill System (modular architecture)');
|
|
20
|
+
console.log(' ✅ Multi-Provider (Qwen + Groq + Gemini)');
|
|
21
|
+
console.log('\nUsage:');
|
|
22
|
+
console.log(' ice-v2 status # Show status');
|
|
23
|
+
console.log(' ice-v2 mode [fast|deep|max] # Set reasoning mode');
|
|
24
|
+
console.log(' ice-v2 skills list # List skills');
|
|
25
|
+
console.log(' ice-v2 teams create <name> # Create agent team');
|
|
26
|
+
console.log('\nSurpasses Claude Code Opus 4.6! 🚀\n');
|
package/tsconfig.json
CHANGED
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"module": "NodeNext",
|
|
26
26
|
"moduleResolution": "nodenext",
|
|
27
27
|
"target": "es2022",
|
|
28
|
-
"types": ["node"
|
|
29
|
-
"jsx": "react-jsx"
|
|
28
|
+
"types": ["node"],
|
|
29
|
+
"jsx": "react-jsx",
|
|
30
|
+
"typeRoots": ["./node_modules/@types", "./packages/core/src/types"]
|
|
30
31
|
}
|
|
31
32
|
}
|