Commit 18b714e
authored
Ai parsing (#17)
* chore: update dependencies and remove unused tool configuration
- Updated @tanstack/react-router and related packages to version 1.124.0.
- Upgraded oxlint from version 1.4.0 to 1.5.0.
- Removed obsolete sample-tool.json file from tools collection.
- Added new yt-dlp.json configuration for video downloading tool.
- Refactored ToolCard component to enhance view transitions and improve accessibility.
- Simplified ParameterList component by removing unused selectedParameter state.
- Enhanced RuntimePreview component to display parameter flags alongside names.
- Updated ToolEditor to improve display name handling with view transitions.
- Configured router to enable default view transitions for smoother navigation.
- Adjusted tools index route to include tool descriptions and improve data handling.
- Disabled link crawling in Vite configuration for better performance.
* Refactor tool editor UI and import functionality
- Removed the generate.ts file and integrated its functionality into a new script for generating the JSON specification.
- Simplified the ImportDialog component by removing unnecessary tabs and states, focusing solely on JSON import.
- Consolidated dialog state management in tool-editor.store.ts to a single method for opening dialogs.
- Updated tool-editor types to clarify the distinction between new tool types.
- Enhanced the tools index page by cleaning up imports and removing unused components.
- Deleted the tailwind.config.js file as it is no longer needed.
- Adjusted tsconfig.json to include a specific file for type definitions.
- Configured Vite to clear the output directory before building.
- Added a new AIParsing component to handle AI-based help text parsing.
- Created a NewToolDialog component that integrates manual tool creation and AI parsing.
- Developed a prompt generation function for AI parsing to ensure structured output.
* Enhance AIParsing component with model selection and improve command tree rendering logic
* Refactor dialog state management to use a unified setDialogOpen action and remove unused subcommands from test data
* Refactor AIParsing component to accept onParseCompleted prop and handle parsed tool; update NewToolDialog to integrate AI parsing results; enhance CommandTree with improved subcommand handling and state management; adjust tests to reflect new state structure and dialog states.
* feat: add AI parsing and import functionality; refactor tool creation dialog and manual tool input; update dependencies
* feat: enhance tool editor with new properties and validation; refactor AI parsing and import components for improved state management
* feat: update README for enhanced AI parsing description; remove unused images; bump package dependencies; refactor tool editor types and utility functions; clean up test cases and setup
* refactor: streamline JSON schemas and improve formatting; enhance tool editor state management; update prompt generation; adjust test cases for consistency
* refactor: improve JSON schema formatting; enhance AIParsing component with API key handling and save option; update NewToolDialog for better navigation; adjust tool editor types for required fields; streamline tool route component interactions1 parent f8c5f21 commit 18b714e
File tree
44 files changed
+1607
-814
lines changed- docs
- public
- specification
- tools-collection
- scripts
- src
- components
- tool-editor-ui
- dialogs
- lib
- types
- utils
- routes
- tools
- $toolName
- tests
- components/tool-editor-ui
- dialogs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+1607
-814
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | 25 | | |
| |||
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| 33 | + | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
28 | | - | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
33 | | - | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
39 | | - | |
| 48 | + | |
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
| |||
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
53 | | - | |
54 | | - | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
53 | | - | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
Lines changed: 82 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
23 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
24 | 69 | | |
25 | 70 | | |
26 | 71 | | |
| |||
56 | 101 | | |
57 | 102 | | |
58 | 103 | | |
59 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
60 | 109 | | |
61 | 110 | | |
62 | 111 | | |
63 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
64 | 118 | | |
65 | 119 | | |
66 | 120 | | |
| |||
189 | 243 | | |
190 | 244 | | |
191 | 245 | | |
192 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
193 | 250 | | |
194 | 251 | | |
195 | 252 | | |
| |||
208 | 265 | | |
209 | 266 | | |
210 | 267 | | |
| 268 | + | |
211 | 269 | | |
212 | 270 | | |
213 | 271 | | |
| |||
236 | 294 | | |
237 | 295 | | |
238 | 296 | | |
239 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
240 | 301 | | |
241 | 302 | | |
242 | 303 | | |
| |||
245 | 306 | | |
246 | 307 | | |
247 | 308 | | |
248 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
249 | 314 | | |
250 | 315 | | |
251 | 316 | | |
252 | 317 | | |
253 | 318 | | |
254 | 319 | | |
255 | 320 | | |
256 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
257 | 325 | | |
258 | 326 | | |
259 | 327 | | |
260 | 328 | | |
261 | 329 | | |
262 | 330 | | |
263 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
264 | 336 | | |
265 | 337 | | |
266 | 338 | | |
| |||
273 | 345 | | |
274 | 346 | | |
275 | 347 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 348 | + | |
| 349 | + | |
This file was deleted.
0 commit comments