snow-flow 10.0.1-dev.361 → 10.0.1
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 +18 -16
- package/package.json +1 -1
- package/src/cli/cmd/tui/component/dialog-servicenow-llm.tsx +184 -1079
- package/src/cli/cmd/tui/component/prompt/index.tsx +1 -1
- package/src/cli/cmd/tui/component/tips.tsx +30 -30
- package/src/provider/provider.ts +39 -188
- package/src/servicenow/servicenow-mcp-unified/tools/deployment/snow_artifact_manage.ts +73 -202
- package/src/servicenow/servicenow-mcp-unified/tools/platform/snow_create_script_include.ts +7 -81
package/README.md
CHANGED
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
17
|
<a href="https://www.npmjs.com/package/snow-flow"><img alt="npm" src="https://img.shields.io/npm/v/snow-flow?style=for-the-badge&logo=npm&logoColor=white&color=CB3837" /></a>
|
|
18
|
-
<a href="https://github.com/groeimetai/snow-flow/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/groeimetai/snow-flow?style=for-the-badge&color=blue" /></a
|
|
18
|
+
<a href="https://github.com/groeimetai/snow-flow/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/groeimetai/snow-flow?style=for-the-badge&color=blue" /></a>
|
|
19
|
+
<a href="https://snow-flow.dev/discord"><img alt="Discord" src="https://img.shields.io/discord/1391832426048651334?style=for-the-badge&logo=discord&logoColor=white&label=discord&color=5865F2" /></a>
|
|
19
20
|
</p>
|
|
20
21
|
|
|
21
22
|
---
|
|
@@ -35,8 +36,8 @@ bun i -g snow-flow@latest # Bun
|
|
|
35
36
|
pnpm i -g snow-flow@latest # pnpm
|
|
36
37
|
yarn global add snow-flow@latest # Yarn
|
|
37
38
|
curl -fsSL https://snow-flow.dev/install | bash # Install script
|
|
38
|
-
brew install groeimetai/tap/snow-
|
|
39
|
-
scoop install snow-
|
|
39
|
+
brew install groeimetai/tap/snow-code # macOS / Linux
|
|
40
|
+
scoop install snow-code # Windows
|
|
40
41
|
```
|
|
41
42
|
|
|
42
43
|
</details>
|
|
@@ -44,12 +45,12 @@ scoop install snow-flow # Windows
|
|
|
44
45
|
## Quick Start
|
|
45
46
|
|
|
46
47
|
```bash
|
|
47
|
-
snow-
|
|
48
|
+
snow-code
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
That's it. Snow-Flow will prompt you to configure an AI provider on first launch.
|
|
51
52
|
|
|
52
|
-
Or pre-configure in `snow-
|
|
53
|
+
Or pre-configure in `snow-code.jsonc`:
|
|
53
54
|
|
|
54
55
|
```jsonc
|
|
55
56
|
{
|
|
@@ -182,15 +183,15 @@ Connect to your ServiceNow instance and access **200+ tools**:
|
|
|
182
183
|
## CLI
|
|
183
184
|
|
|
184
185
|
```bash
|
|
185
|
-
snow-
|
|
186
|
-
snow-
|
|
187
|
-
snow-
|
|
188
|
-
snow-
|
|
189
|
-
snow-
|
|
190
|
-
snow-
|
|
191
|
-
snow-
|
|
192
|
-
snow-
|
|
193
|
-
snow-
|
|
186
|
+
snow-code # Start TUI
|
|
187
|
+
snow-code serve # Headless API server (port 4096)
|
|
188
|
+
snow-code web # Server + web interface
|
|
189
|
+
snow-code attach <url> # Attach to remote server
|
|
190
|
+
snow-code auth # Configure authentication
|
|
191
|
+
snow-code models # List available models
|
|
192
|
+
snow-code stats # Usage statistics
|
|
193
|
+
snow-code export # Export session data
|
|
194
|
+
snow-code pr # Pull request automation
|
|
194
195
|
```
|
|
195
196
|
|
|
196
197
|
## Configuration
|
|
@@ -200,9 +201,9 @@ Config is loaded from (in priority order):
|
|
|
200
201
|
| Priority | Source |
|
|
201
202
|
|:---------|:-------|
|
|
202
203
|
| 1 | Remote/well-known organization configs |
|
|
203
|
-
| 2 | Global config (`~/.snow-
|
|
204
|
+
| 2 | Global config (`~/.snow-code/`) |
|
|
204
205
|
| 3 | `SNOW_FLOW_CONFIG` env variable |
|
|
205
|
-
| 4 | Project config (`snow-
|
|
206
|
+
| 4 | Project config (`snow-code.jsonc`) |
|
|
206
207
|
| 5 | `SNOW_FLOW_CONFIG_CONTENT` inline |
|
|
207
208
|
|
|
208
209
|
<details>
|
|
@@ -257,6 +258,7 @@ Glob patterns, per-agent rulesets, and env file protection included.
|
|
|
257
258
|
|
|
258
259
|
- [Documentation](https://snow-flow.dev/docs) — Full configuration reference and guides
|
|
259
260
|
- [GitHub](https://github.com/groeimetai/snow-flow) — Source code and issues
|
|
261
|
+
- [Discord](https://snow-flow.dev/discord) — Community and support
|
|
260
262
|
- [Contributing](https://github.com/groeimetai/snow-flow/blob/main/CONTRIBUTING.md) — How to contribute
|
|
261
263
|
|
|
262
264
|
## License
|
package/package.json
CHANGED