Commit 22806db
committed
refactor: integrate wokwi-client-js and enhance wokwi-cli functionality
- Introduced a new package, wokwi-client-js, to encapsulate API client functionality and transport mechanisms.
- Updated wokwi-cli to utilize the new wokwi-client-js for API interactions, improving modularity and maintainability.
- Refactored various components in wokwi-cli to support the new client structure, including changes to file uploads and command handling.
- Enhanced error handling and connection management in the WebSocket transport layer.
- Added new bundling script for the CLI and improved project structure for better organization.
- Updated package.json and lock files to reflect new dependencies and scripts.1 parent 357f613 commit 22806db
File tree
27 files changed
+682
-412
lines changed- packages
- wokwi-client-js
- src
- transport
- wokwi-cli
- src
- mcp
- project
- scenario
- tools
27 files changed
+682
-412
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 22 | | |
34 | 23 | | |
35 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | | - | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments