@codewithdan/zingit 0.17.3 → 0.17.5
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/AGENTS.md +17 -14
- package/CHANGELOG.md +23 -1
- package/README.md +10 -18
- package/client/dist/zingit-client.js +207 -11
- package/package.json +21 -20
- package/server/dist/agents/core-adapter.d.ts +16 -0
- package/server/dist/agents/core-adapter.js +152 -0
- package/server/dist/handlers/messageHandlers.js +1 -0
- package/server/dist/index.js +106 -62
package/AGENTS.md
CHANGED
|
@@ -140,28 +140,31 @@ The server uses a pluggable agent architecture:
|
|
|
140
140
|
|
|
141
141
|
## Development Commands
|
|
142
142
|
|
|
143
|
+
This project uses [npm workspaces](https://docs.npmjs.com/cli/using-npm/workspaces). A single `npm install` at the root installs all dependencies for both client and server.
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
npm install # Install all dependencies (run from root)
|
|
147
|
+
npm run dev # Start both server and client concurrently
|
|
148
|
+
npm run build # Build both client and server
|
|
149
|
+
npm run test # Run client unit tests
|
|
150
|
+
```
|
|
151
|
+
|
|
143
152
|
### Client
|
|
144
153
|
```bash
|
|
145
|
-
|
|
146
|
-
npm
|
|
147
|
-
npm run
|
|
148
|
-
npm run
|
|
149
|
-
npm run deploy # Prepare and deploy to GitHub Pages
|
|
150
|
-
npm run typecheck # Type check without emitting
|
|
151
|
-
npm run typecheck:watch # Watch mode type checking
|
|
154
|
+
npm run dev -w client # Start Vite dev server (http://localhost:5200)
|
|
155
|
+
npm run build -w client # Build for production
|
|
156
|
+
npm run deploy -w client # Prepare and deploy to GitHub Pages
|
|
157
|
+
npm run typecheck -w client # Type check without emitting
|
|
152
158
|
```
|
|
153
159
|
|
|
154
160
|
**Note**: The deploy script (`npm run deploy`) runs `prepare-deploy.js` which copies files to the `deploy/` folder, then uses `gh-pages` to publish to GitHub Pages.
|
|
155
161
|
|
|
156
162
|
### Server
|
|
157
163
|
```bash
|
|
158
|
-
|
|
159
|
-
npm
|
|
160
|
-
npx cross-env AGENT=
|
|
161
|
-
|
|
162
|
-
npx cross-env AGENT=codex npm run dev # Start with OpenAI Codex agent
|
|
163
|
-
npm run typecheck # Type check
|
|
164
|
-
npm run typecheck:watch # Watch mode type checking
|
|
164
|
+
npx cross-env AGENT=claude npm run dev -w server # Start with Claude Code agent
|
|
165
|
+
npx cross-env AGENT=copilot npm run dev -w server # Start with GitHub Copilot agent
|
|
166
|
+
npx cross-env AGENT=codex npm run dev -w server # Start with OpenAI Codex agent
|
|
167
|
+
npm run typecheck -w server # Type check
|
|
165
168
|
```
|
|
166
169
|
|
|
167
170
|
### Running the Published Package
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file. See [
|
|
3
|
+
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## 0.17.5 (2026-02-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* integrate @codewithdan/agent-sdk-core for all AI agent providers ([a49229f](https://github.com/danwahlin/zingit/commit/a49229f390f00578539ea5bb3671565f01efbaee))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* default PROJECT_DIR to npm invocation directory ([bd21484](https://github.com/danwahlin/zingit/commit/bd21484ea02b6a8e139fc850726c2e9f8597ee14))
|
|
16
|
+
* replace deprecated standard-version with commit-and-tag-version ([3e0646c](https://github.com/danwahlin/zingit/commit/3e0646c03d1cf3451dd334a15dfe95bb106b8744))
|
|
17
|
+
* update vulnerable devDependencies and harden querySelector ([c6a88e4](https://github.com/danwahlin/zingit/commit/c6a88e473a081dcee8887bbb7dae5390044e6102))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Documentation
|
|
21
|
+
|
|
22
|
+
* update demo site setup steps for npm workspaces ([e53859c](https://github.com/danwahlin/zingit/commit/e53859cfb84a17b772e4570b378c95cf4c7b7f5b))
|
|
23
|
+
* update README and AGENTS.md for npm workspaces setup ([bf9a6ab](https://github.com/danwahlin/zingit/commit/bf9a6ab37ac0da8e2d41e283a9c185380d64803c))
|
|
24
|
+
|
|
25
|
+
### [0.17.4](https://github.com/danwahlin/zingit/compare/v0.17.3...v0.17.4) (2026-01-30)
|
|
4
26
|
|
|
5
27
|
### [0.17.3](https://github.com/danwahlin/zingit/compare/v0.17.2...v0.17.3) (2026-01-29)
|
|
6
28
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="client/images/zingit-readme.
|
|
2
|
+
<img src="client/images/zingit-readme.webp" alt="ZingIt" width="200">
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# ZingIt
|
|
@@ -21,17 +21,17 @@ Tired of describing what element to change in the UI, taking screenshots, and co
|
|
|
21
21
|
### Visual Markers
|
|
22
22
|
Click any element on your page to add notes about changes you want. Smart CSS selectors are automatically generated to target the exact element.
|
|
23
23
|
|
|
24
|
-
<img src="client/images/select-it.
|
|
24
|
+
<img src="client/images/select-it.webp" alt="Visual Markers" width="600">
|
|
25
25
|
|
|
26
26
|
### Screenshot Capture
|
|
27
27
|
Automatically captures screenshots of marked elements to provide visual context to AI agents. No more manual screenshot taking!
|
|
28
28
|
|
|
29
|
-
<img src="client/images/screen-shots.
|
|
29
|
+
<img src="client/images/screen-shots.webp" alt="Screenshot Capture" width="600">
|
|
30
30
|
|
|
31
31
|
### Multi-Agent Support
|
|
32
32
|
Works with Claude Code, GitHub Copilot CLI, and OpenAI Codex. Choose your preferred AI assistant and watch it work in real-time.
|
|
33
33
|
|
|
34
|
-
<img src="client/images/multi-agents.
|
|
34
|
+
<img src="client/images/multi-agents.webp" alt="Multi-Agent Support" width="600">
|
|
35
35
|
|
|
36
36
|
### Send Changes with a Click
|
|
37
37
|
Once you've marked your changes, simply click the sparkle icon (✨) in the ZingIt toolbar to send everything to your AI agent. Watch as it generates code updates live!
|
|
@@ -58,29 +58,21 @@ Once you've marked your changes, simply click the sparkle icon (✨) in the Zing
|
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
git clone https://github.com/danwahlin/zingit.git
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
3. **Start the ZingIt server** (in one terminal):
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
cd zingit/server
|
|
61
|
+
cd zingit
|
|
67
62
|
npm install
|
|
68
|
-
npx cross-env PROJECT_DIR=../client npm run dev
|
|
69
63
|
```
|
|
70
64
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
4. **Run the demo site** (in another terminal):
|
|
65
|
+
3. **Start the ZingIt server and demo site**:
|
|
74
66
|
|
|
75
67
|
```bash
|
|
76
|
-
cd zingit/client
|
|
77
|
-
npm install
|
|
78
68
|
npm run dev
|
|
79
69
|
```
|
|
80
70
|
|
|
81
|
-
|
|
71
|
+
This starts both the server (`ws://localhost:3000`) and the client dev server concurrently.
|
|
72
|
+
|
|
73
|
+
4. Visit [http://localhost:5200/?zingit](http://localhost:5200/?zingit) to see ZingIt in action!
|
|
82
74
|
|
|
83
|
-
|
|
75
|
+
5. You'll be prompted to select an AI agent. Start marking!
|
|
84
76
|
|
|
85
77
|
### Option 2: Add to Your Website
|
|
86
78
|
|