snow-flow 8.4.42 โ†’ 8.4.44

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.
Files changed (35) hide show
  1. package/dist/cli/auth.d.ts.map +1 -1
  2. package/dist/cli/auth.js +56 -60
  3. package/dist/cli/auth.js.map +1 -1
  4. package/dist/utils/snow-oauth.d.ts +10 -5
  5. package/dist/utils/snow-oauth.d.ts.map +1 -1
  6. package/dist/utils/snow-oauth.js +223 -86
  7. package/dist/utils/snow-oauth.js.map +1 -1
  8. package/package.json +1 -1
  9. package/THEMES.md +0 -223
  10. package/dist/mcp/servicenow-mcp-unified/config/tool-definitions.json +0 -3935
  11. package/dist/mcp/servicenow-mcp-unified/tools/automation/snow_automation_discover.js +0 -164
  12. package/dist/mcp/servicenow-mcp-unified/tools/deployment/snow_artifact_transfer.js +0 -282
  13. package/dist/mcp/servicenow-mcp-unified/tools/filters/snow_build_filter.js +0 -171
  14. package/dist/mcp/servicenow-mcp-unified/tools/formatters/snow_format_value.js +0 -164
  15. package/dist/mcp/servicenow-mcp-unified/tools/knowledge/index.js.bak +0 -45
  16. package/dist/mcp/servicenow-mcp-unified/tools/local-sync/snow_artifact_sync.js +0 -172
  17. package/dist/mcp/servicenow-mcp-unified/tools/system-properties/index.js +0 -36
  18. package/dist/mcp/servicenow-mcp-unified/tools/ui-builder/snow_discover_uib.js +0 -296
  19. package/dist/mcp/servicenow-mcp-unified/tools/workspace/snow_create_ux_component.js +0 -292
  20. package/dist/memory/session-memory.d.ts +0 -80
  21. package/dist/memory/session-memory.d.ts.map +0 -1
  22. package/dist/memory/session-memory.js +0 -468
  23. package/dist/memory/session-memory.js.map +0 -1
  24. package/dist/templates/opencode-agents-template.d.ts +0 -2
  25. package/dist/templates/opencode-agents-template.d.ts.map +0 -1
  26. package/dist/templates/opencode-agents-template.js +0 -469
  27. package/dist/templates/opencode-agents-template.js.map +0 -1
  28. package/dist/utils/opencode-output-interceptor.d.ts +0 -40
  29. package/dist/utils/opencode-output-interceptor.d.ts.map +0 -1
  30. package/dist/utils/opencode-output-interceptor.js +0 -258
  31. package/dist/utils/opencode-output-interceptor.js.map +0 -1
  32. package/scripts/bulk-optimize-tools.js +0 -486
  33. package/scripts/optimize-mcp-tools.ts +0 -410
  34. package/themes/README.md +0 -83
  35. package/themes/servicenow.json +0 -117
package/THEMES.md DELETED
@@ -1,223 +0,0 @@
1
- # Snow-Flow OpenCode Themes
2
-
3
- ## ๐ŸŽจ ServiceNow Theme System
4
-
5
- Snow-Flow includes a custom ServiceNow theme for OpenCode that provides an authentic Now Platform visual experience.
6
-
7
- ## ๐Ÿ“ฆ Distribution
8
-
9
- The ServiceNow theme is **automatically included** with every Snow-Flow installation and is **automatically activated** when you run `snow-flow init`.
10
-
11
- ### What Gets Installed
12
-
13
- When you install Snow-Flow globally (`npm install -g snow-flow`) or locally, the following theme files are included:
14
-
15
- ```
16
- snow-flow/
17
- โ””โ”€โ”€ themes/
18
- โ”œโ”€โ”€ servicenow.json # ServiceNow theme definition
19
- โ””โ”€โ”€ README.md # Theme documentation
20
- ```
21
-
22
- When you run `snow-flow init`, these files are copied to:
23
-
24
- ```
25
- your-project/
26
- โ””โ”€โ”€ .opencode/
27
- โ”œโ”€โ”€ config.json # Automatically configured with "theme": "servicenow"
28
- โ””โ”€โ”€ themes/
29
- โ”œโ”€โ”€ servicenow.json
30
- โ””โ”€โ”€ README.md
31
- ```
32
-
33
- ## ๐Ÿš€ Usage
34
-
35
- ### Automatic Activation
36
-
37
- The ServiceNow theme is **automatically activated** for all new Snow-Flow projects:
38
-
39
- ```bash
40
- npm install -g snow-flow
41
- cd my-project
42
- snow-flow init
43
- # ServiceNow theme is now active!
44
- ```
45
-
46
- ### Manual Activation
47
-
48
- To manually activate or switch themes:
49
-
50
- ```bash
51
- # Via OpenCode CLI
52
- opencode --theme servicenow
53
-
54
- # Or edit .opencode/config.json
55
- {
56
- "theme": "servicenow"
57
- }
58
- ```
59
-
60
- ## ๐ŸŽจ Color Palette
61
-
62
- The ServiceNow theme uses official ServiceNow Now Platform colors:
63
-
64
- | Color | Hex | Usage |
65
- |-------|-----|-------|
66
- | **ServiceNow Blue** | `#0073CF` | Primary actions, links, focus states |
67
- | **Teal** | `#00B0B9` | Secondary actions, info messages |
68
- | **Green** | `#5BB85C` | Success states, additions |
69
- | **Orange** | `#FF8C2B` | Warnings, modifications |
70
- | **Red** | `#E53935` | Errors, deletions |
71
- | **Purple** | `#7E57C2` | Keywords, operators |
72
-
73
- ## ๐Ÿ”ง Customization
74
-
75
- ### Modifying the Theme
76
-
77
- To customize the ServiceNow theme, edit `.opencode/themes/servicenow.json`:
78
-
79
- ```json
80
- {
81
- "$schema": "https://opencode.ai/theme.json",
82
- "defs": {
83
- "my_custom_blue": "#0073CF" // Add your custom colors
84
- },
85
- "theme": {
86
- "primary": "my_custom_blue" // Use them in the theme
87
- }
88
- }
89
- ```
90
-
91
- ### Creating New Themes
92
-
93
- To create additional themes:
94
-
95
- 1. Create a new JSON file in `.opencode/themes/`
96
- 2. Copy the structure from `servicenow.json`
97
- 3. Customize the colors in `defs` and `theme` sections
98
- 4. Update `.opencode/config.json` with your theme name
99
-
100
- Example new theme:
101
-
102
- ```json
103
- {
104
- "$schema": "https://opencode.ai/theme.json",
105
- "name": "ServiceNow Dark",
106
- "description": "Pure dark mode ServiceNow theme",
107
- "defs": {
108
- "snow_blue": "#0073CF"
109
- },
110
- "theme": {
111
- "primary": "snow_blue",
112
- "background": "#1A1A1A"
113
- }
114
- }
115
- ```
116
-
117
- Then activate it:
118
-
119
- ```json
120
- // .opencode/config.json
121
- {
122
- "theme": "servicenow-dark"
123
- }
124
- ```
125
-
126
- ## ๐ŸŒ“ Dark & Light Mode
127
-
128
- The ServiceNow theme **automatically adapts** to your system's dark/light mode preference:
129
-
130
- ```json
131
- {
132
- "theme": {
133
- "background": {
134
- "dark": "#2B2F33", // Dark mode color
135
- "light": "#FFFFFF" // Light mode color
136
- }
137
- }
138
- }
139
- ```
140
-
141
- ## ๐Ÿ“š Theme Development
142
-
143
- ### Adding Themes to Snow-Flow Distribution
144
-
145
- To add a new theme to the Snow-Flow package distribution:
146
-
147
- 1. **Create the theme** in `themes/` directory:
148
- ```bash
149
- cd /path/to/snow-flow
150
- vim themes/my-new-theme.json
151
- ```
152
-
153
- 2. **Test the theme** locally:
154
- ```bash
155
- npm run build
156
- cd test-project
157
- snow-flow init
158
- ```
159
-
160
- 3. **Verify distribution**:
161
- ```bash
162
- npm pack --dry-run | grep themes
163
- ```
164
-
165
- 4. **Publish** with next Snow-Flow release
166
-
167
- ### Theme File Structure
168
-
169
- ```
170
- snow-flow/
171
- โ”œโ”€โ”€ themes/ # Source themes (distributed via npm)
172
- โ”‚ โ”œโ”€โ”€ servicenow.json
173
- โ”‚ โ”œโ”€โ”€ servicenow-dark.json # Future themes
174
- โ”‚ โ””โ”€โ”€ README.md
175
- โ”œโ”€โ”€ src/cli.ts # Theme installation logic
176
- โ””โ”€โ”€ package.json # Lists themes/ in "files" array
177
- ```
178
-
179
- ## ๐ŸŽฏ Suggested Future Themes
180
-
181
- Potential themes to add:
182
-
183
- - **servicenow-dark** - Pure dark mode variant
184
- - **servicenow-light** - Pure light mode variant
185
- - **servicenow-high-contrast** - Accessibility-focused
186
- - **servicenow-retro** - Classic ServiceNow colors (pre-2020)
187
- - **servicenow-minimal** - Minimalist variant
188
- - **servicenow-tokyo** - Tokyo release theme
189
- - **servicenow-utah** - Utah release theme
190
-
191
- ## ๐Ÿ“– Resources
192
-
193
- - [OpenCode Theme Documentation](https://opencode.ai/docs/themes/)
194
- - [OpenCode Theme Schema](https://opencode.ai/theme.json)
195
- - [ServiceNow Design System](https://developer.servicenow.com/design)
196
- - [ServiceNow Brand Guidelines](https://www.servicenow.com/brand)
197
-
198
- ## ๐Ÿค Contributing
199
-
200
- To contribute new themes:
201
-
202
- 1. Fork Snow-Flow repository
203
- 2. Create theme in `themes/` directory
204
- 3. Test with `snow-flow init`
205
- 4. Submit PR with theme + documentation
206
- 5. Include screenshots of theme in action
207
-
208
- ## ๐Ÿ“ Version History
209
-
210
- - **v8.1.7** - Initial ServiceNow theme release
211
- - ServiceNow Blue primary color
212
- - Dark & light mode support
213
- - Automatic activation on init
214
-
215
- ## ๐Ÿ” License
216
-
217
- The ServiceNow theme uses official ServiceNow brand colors. ServiceNowยฎ is a registered trademark of ServiceNow, Inc. This theme is provided as-is for development purposes.
218
-
219
- Snow-Flow is licensed under the Elastic License 2.0.
220
-
221
- ---
222
-
223
- **Ready to customize your OpenCode experience?** Edit `.opencode/themes/servicenow.json` and make it your own! ๐ŸŽจ