@codewithdan/zingit 0.17.4 → 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 +21 -1
- package/README.md +6 -14
- 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,26 @@
|
|
|
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))
|
|
4
24
|
|
|
5
25
|
### [0.17.4](https://github.com/danwahlin/zingit/compare/v0.17.3...v0.17.4) (2026-01-30)
|
|
6
26
|
|
package/README.md
CHANGED
|
@@ -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
|
|