nudge-canvas 0.0.1 → 0.4.0

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 (41) hide show
  1. package/LICENSE.md +51 -0
  2. package/README.md +51 -3
  3. package/THIRD_PARTY_NOTICES.md +2373 -0
  4. package/data/icon-catalog.json +1 -0
  5. package/data/licenses/Apache-2.0.txt +73 -0
  6. package/data/licenses/CC-BY-3.0.txt +319 -0
  7. package/data/licenses/CC-BY-4.0.txt +156 -0
  8. package/data/licenses/CC0-1.0.txt +121 -0
  9. package/data/licenses/ISC.txt +7 -0
  10. package/data/licenses/MIT.txt +18 -0
  11. package/data/licenses/OFL-1.1.txt +43 -0
  12. package/dist/chunk-D6z-TZJJ.js +1 -0
  13. package/dist/chunk-D_nbgLii.js +14 -0
  14. package/dist/chunk-DuSDpWhn.js +550 -0
  15. package/dist/chunk-Sq5RPyiX.js +1 -0
  16. package/dist/init.js +2 -0
  17. package/dist/mcp.js +151 -0
  18. package/editor/apple-touch-icon-180.png +0 -0
  19. package/editor/assets/main-Cmp_J2OR.js +45 -0
  20. package/editor/assets/main-D0fYiDhO.css +1 -0
  21. package/editor/assets/proto-q6SnqtFF.js +1 -0
  22. package/editor/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  23. package/editor/assets/src-C4_CxgrI.js +415 -0
  24. package/editor/favicon-16.png +0 -0
  25. package/editor/favicon-32.png +0 -0
  26. package/editor/favicon.svg +1 -0
  27. package/editor/fonts/pretendard/LICENSE.txt +94 -0
  28. package/editor/fonts/pretendard/PretendardVariable.woff2 +0 -0
  29. package/editor/fonts/pretendard.css +8 -0
  30. package/editor/index.html +20 -0
  31. package/editor/proto.html +15 -0
  32. package/icons/cib.LICENSE.txt +124 -0
  33. package/icons/cib.json.gz +0 -0
  34. package/icons/logos.LICENSE.txt +124 -0
  35. package/icons/logos.json.gz +0 -0
  36. package/icons/lucide.LICENSE.txt +46 -0
  37. package/icons/lucide.json.gz +0 -0
  38. package/icons/simple-icons.LICENSE.txt +86 -0
  39. package/icons/simple-icons.json.gz +0 -0
  40. package/package.json +55 -5
  41. package/not-yet.js +0 -3
package/LICENSE.md ADDED
@@ -0,0 +1,51 @@
1
+ # Nudge Terms of Use
2
+
3
+ Last updated: 2026-11-08
4
+
5
+ These terms are an agreement between you and Alteritas ("we", "us") for the Nudge software (the npm package `nudge-canvas`) and the websites nudgecanvas.com and docs.nudgecanvas.com. By installing or using Nudge, you agree to them. If you do not agree, do not install or use Nudge.
6
+
7
+ ## 1. License
8
+
9
+ Nudge is free to use. We grant you a personal, worldwide, non-exclusive, non-transferable, revocable license to install and run Nudge on computers you own or control, for personal or commercial work.
10
+
11
+ You may not:
12
+ - sell, rent, sublicense or redistribute Nudge, or offer it as a hosted service to others;
13
+ - copy, modify or create derivative works of Nudge, except as the law allows;
14
+ - reverse engineer, decompile or disassemble Nudge, except to the extent the law expressly permits it despite this limit;
15
+ - remove or change any notices of ownership or license in Nudge.
16
+
17
+ Nudge is licensed, not sold. We and our licensors keep all rights not expressly granted here.
18
+
19
+ Nudge includes third-party components, such as fonts, icons and UI kits, under their own licenses. They are listed in `THIRD_PARTY_NOTICES.md` in the package, and their licenses apply to those components. The open source packages npm installs with Nudge, and the Chromium browser Nudge may download, are also separate third-party components under their own licenses. Nothing in these terms limits your rights under those licenses.
20
+
21
+ ## 2. Your work
22
+
23
+ Everything you make with Nudge (designs, files, code and other output) belongs to you. We claim no rights in it. Nudge runs on your computer and stores your work in your project folder; we do not receive a copy.
24
+
25
+ ## 3. Your agent and other services
26
+
27
+ Nudge works with AI agents and other tools you choose and run yourself, such as Claude Code, Codex or Cursor. Your use of those tools is governed by their own terms, and what you send them is between you and their providers. Nudge may download fonts and icon sets you choose from public sources (Google Fonts, the npm registry); those are provided under their own licenses, which Nudge records in your project.
28
+
29
+ ## 4. Updates and changes
30
+
31
+ We may update Nudge, or change or stop offering it, at any time. We may change these terms; the date above shows the latest version. Continuing to use Nudge after a change means you accept the new terms.
32
+
33
+ ## 5. No warranty
34
+
35
+ Nudge is provided "as is" and "as available", without warranties of any kind, express or implied, including merchantability, fitness for a particular purpose and non-infringement. Keep backups of your work; we do not guarantee that Nudge will be error-free or that it will not lose data.
36
+
37
+ ## 6. Limitation of liability
38
+
39
+ To the fullest extent the law allows, we are not liable for any indirect, incidental, special, consequential or punitive damages, or for lost profits, data or goodwill, arising from your use of Nudge or the websites. Because Nudge is free, our total liability for any claim is limited to USD 100. Nothing in these terms limits liability that cannot be limited by law, such as liability for intentional misconduct or gross negligence.
40
+
41
+ ## 7. Ending this agreement
42
+
43
+ You may stop using Nudge at any time and remove it with `nudge-canvas init --remove` and `npm uninstall -g nudge-canvas`. Your license ends automatically if you break these terms. Sections 2, 5, 6 and 8 survive.
44
+
45
+ ## 8. Governing law
46
+
47
+ These terms are governed by the laws of the Republic of Korea. Disputes will be resolved in the Seoul Central District Court, unless the law of your country gives you the right to bring a claim where you live.
48
+
49
+ ## 9. Contact
50
+
51
+ hello@nudgecanvas.com
package/README.md CHANGED
@@ -1,5 +1,53 @@
1
- # nudge-canvas
1
+ # Nudge
2
2
 
3
- Nudge: design with the coding agent you already have.
3
+ A design canvas your coding agent works on with you. Your agent designs on the canvas over MCP; you adjust
4
+ by hand; it builds the result into your project and checks it against the design.
4
5
 
5
- Not released yet. This name is held for it.
6
+ macOS or Windows. Node 22, 24 or 26+.
7
+
8
+ ## Install
9
+
10
+ Install from your coding agent's chat or from a terminal. Both install Nudge and connect it to your agents.
11
+
12
+ **From your agent's chat**: paste this into a chat with your coding agent (Claude Code, Codex, Cursor or any agent that can run commands).
13
+
14
+ ```
15
+ Install Nudge and connect it: run `npm install -g nudge-canvas`, then `nudge-canvas init --yes`.
16
+ ```
17
+
18
+ If your agent asks before it runs a command, allow it. If it can't, run `nudge-canvas init` yourself
19
+ in a terminal: it asks before it changes anything.
20
+
21
+ When it's done, start a new session of your agent and ask: "Open the Nudge canvas". Agents load Nudge's tools when a session starts.
22
+
23
+ **From a terminal**: run these two commands.
24
+
25
+ ```
26
+ npm install -g nudge-canvas
27
+ nudge-canvas init
28
+ ```
29
+
30
+ `init` finds the coding agents on this computer (Claude Code, Codex, Cursor, Gemini CLI, VS Code), shows
31
+ what it will register and where, and asks before it writes. Each settings file it changes is kept as
32
+ `<file>.nudge-backup` first.
33
+
34
+ ## Then
35
+
36
+ 1. Start a new session of your agent in your project's folder, so it picks up Nudge.
37
+ 2. Ask: "Open the Nudge canvas". The canvas for that folder opens in your browser, and the agent's
38
+ reply has its link too (http://localhost:…). Naming Nudge keeps another design tool from taking
39
+ the request.
40
+ 3. Design by hand, or ask your agent for a screen. Your agent draws on the canvas, you adjust by
41
+ hand, and it reads your changes on its next call.
42
+
43
+ The design lives in your project, in `design/`, next to the code. Commit it with git like any other file.
44
+
45
+ ## Help
46
+
47
+ Help pages: https://docs.nudgecanvas.com
48
+
49
+ Updating and uninstalling: https://docs.nudgecanvas.com/update
50
+
51
+ When something doesn't work: https://docs.nudgecanvas.com/troubleshooting
52
+
53
+ Questions or problems: hello@nudgecanvas.com