snow-ai 0.7.0 → 0.7.2
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 +33 -24
- package/bundle/cli.mjs +1786 -1296
- package/bundle/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
**QQ Group**: 910298558
|
|
15
15
|
|
|
16
|
+
**LinuxDO AI Community**: [https://linux.do](https://linux.do)
|
|
17
|
+
|
|
16
18
|
_Agentic coding in your terminal_
|
|
17
19
|
|
|
18
20
|
</div>
|
|
@@ -62,6 +64,7 @@ _Agentic coding in your terminal_
|
|
|
62
64
|
- [LSP Configuration and Usage](docs/usage/en/19.LSP%20Configuration.md) - LSP config file, language server installation, ACE tool usage (definition/outline)
|
|
63
65
|
- [SSE Service Mode](docs/usage/en/20.SSE%20Service%20Mode.md) - SSE server startup, API endpoints explanation, tool confirmation flow, permission configuration, YOLO mode, client integration examples
|
|
64
66
|
- [Custom StatusLine Guide](docs/usage/en/21.Custom%20StatusLine%20Guide.md) - User-level StatusLine plugins, hook structure, override behavior, bilingual examples
|
|
67
|
+
- [Team Mode Guide](docs/usage/en/22.Team%20Mode%20Guide.md) - Multi-agent collaboration, parallel task execution, team management
|
|
65
68
|
|
|
66
69
|
### Recommended ROLE.md
|
|
67
70
|
|
|
@@ -75,7 +78,7 @@ _Agentic coding in your terminal_
|
|
|
75
78
|
|
|
76
79
|
### Prerequisites
|
|
77
80
|
|
|
78
|
-
- **Node.js >=
|
|
81
|
+
- **Node.js >= 18.x** (Requires ES2020 features support)
|
|
79
82
|
- npm >= 8.3.0
|
|
80
83
|
|
|
81
84
|
Check your Node.js version:
|
|
@@ -84,12 +87,12 @@ Check your Node.js version:
|
|
|
84
87
|
node --version
|
|
85
88
|
```
|
|
86
89
|
|
|
87
|
-
If your version is below
|
|
90
|
+
If your version is below 18.x, please upgrade first:
|
|
88
91
|
|
|
89
92
|
```bash
|
|
90
93
|
# Using nvm (recommended)
|
|
91
|
-
nvm install
|
|
92
|
-
nvm use
|
|
94
|
+
nvm install 18
|
|
95
|
+
nvm use 18
|
|
93
96
|
|
|
94
97
|
# Or download from official website
|
|
95
98
|
# https://nodejs.org/
|
|
@@ -120,33 +123,39 @@ npm run link # builds and globally links snow
|
|
|
120
123
|
### Project Structure
|
|
121
124
|
|
|
122
125
|
```
|
|
123
|
-
|
|
126
|
+
source/ # Source code
|
|
127
|
+
├── agents/ # AI agents implementation
|
|
128
|
+
├── api/ # LLM API adapters
|
|
129
|
+
├── hooks/ # React hooks for conversation
|
|
130
|
+
├── i18n/ # Internationalization
|
|
131
|
+
├── mcp/ # Model Context Protocol
|
|
132
|
+
├── prompt/ # System prompt templates
|
|
133
|
+
├── types/ # TypeScript type definitions
|
|
134
|
+
├── ui/ # UI components (Ink)
|
|
135
|
+
└── utils/ # Utility functions
|
|
136
|
+
|
|
137
|
+
bundle/ # Build output (single-file executable)
|
|
138
|
+
dist/ # TypeScript compilation output
|
|
139
|
+
docs/ # Documentation
|
|
140
|
+
JetBrains/ # JetBrains plugin source
|
|
141
|
+
scripts/ # Build and utility scripts
|
|
142
|
+
VSIX/ # VSCode extension source
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### User Configuration Directory
|
|
146
|
+
|
|
147
|
+
After running snow, `.snow/` directory is created in your home folder:
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
~/.snow/ # User configuration directory
|
|
124
151
|
├── log/ # Runtime logs (local, can be deleted)
|
|
125
152
|
├── profiles/ # Configuration profiles
|
|
126
153
|
├── sessions/ # Conversation history
|
|
127
|
-
├── snapshots/ # File snapshots
|
|
128
|
-
├── todos/ # TODO lists
|
|
129
154
|
├── tasks/ # Async tasks
|
|
130
|
-
├── task-logs/ # Async task logs
|
|
131
|
-
├── history/ # Command history
|
|
132
|
-
├── commands/ # Custom commands
|
|
133
155
|
├── hooks/ # Workflow hooks
|
|
134
|
-
├── sse-daemons/ # SSE daemon processes
|
|
135
|
-
├── sse-logs/ # SSE service logs
|
|
136
|
-
├── usage/ # Usage statistics
|
|
137
|
-
├── active-profile.json # Current active profile
|
|
138
156
|
├── config.json # API configuration
|
|
139
|
-
├── custom-headers.json # Custom request headers
|
|
140
157
|
├── mcp-config.json # MCP configuration
|
|
141
|
-
|
|
142
|
-
├── proxy-config.json # Proxy settings
|
|
143
|
-
├── codebase.json # Codebase index settings
|
|
144
|
-
├── sub-agents.json # Sub-agent configuration
|
|
145
|
-
├── sensitive-commands.json # Sensitive command rules
|
|
146
|
-
├── theme.json # Theme settings
|
|
147
|
-
├── language.json # Language settings
|
|
148
|
-
├── history.json # History settings
|
|
149
|
-
└── system-prompt.json # Custom system prompts
|
|
158
|
+
└── ... # Other config files
|
|
150
159
|
```
|
|
151
160
|
|
|
152
161
|
## Star History
|