velloo 0.0.0 → 0.2.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.
- package/BUN-LICENSE.md +91 -0
- package/LICENSE +202 -0
- package/NOTICE +9 -0
- package/README.md +288 -2
- package/THIRD-PARTY-NOTICES.md +467 -0
- package/assets/elsewhere-alps-9fqhv029.jpg +0 -0
- package/assets/elsewhere-bali-vp60g115.jpg +0 -0
- package/assets/elsewhere-forest-xgn23zrj.jpg +0 -0
- package/assets/elsewhere-japan-qs7qkbr2.jpg +0 -0
- package/assets/elsewhere-kyoto-map-n2bvkrya.svg +1 -0
- package/assets/elsewhere-kyoto-qemtn6nk.jpg +0 -0
- package/assets/elsewhere-room-g1gaw7cs.jpg +0 -0
- package/canvas/apple-touch-icon.png +0 -0
- package/canvas/assets/index-BCvDZiBo.css +2 -0
- package/canvas/assets/index-ClaBqcaS.js +28 -0
- package/canvas/assets/lucide-all-iIF-pmzN.js +1 -0
- package/canvas/assets/radix-C3HaOB-d.js +41 -0
- package/canvas/assets/react-D0Ec-185.js +9 -0
- package/canvas/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/canvas/assets/vendor-CKmQ-Zst.js +53 -0
- package/canvas/favicon.ico +0 -0
- package/canvas/favicon.svg +12 -0
- package/canvas/fonts/OFL-1.1.txt +93 -0
- package/canvas/fonts/poppins-700.woff2 +0 -0
- package/canvas/icon-192.png +0 -0
- package/canvas/icon-512.png +0 -0
- package/canvas/index.html +22 -0
- package/canvas/site.webmanifest +11 -0
- package/chunk-08sv3k41.js +4 -0
- package/chunk-0fe83yzt.js +2 -0
- package/chunk-0t68szgr.js +3 -0
- package/chunk-1h55s5he.js +2 -0
- package/chunk-2c7jbx46.js +2 -0
- package/chunk-2smsg2ct.js +7 -0
- package/chunk-308ynsxd.js +2 -0
- package/chunk-3e8vez4d.js +1229 -0
- package/chunk-40xgcth8.js +63 -0
- package/chunk-4dn75m6t.js +3 -0
- package/chunk-4fj5tahv.js +3 -0
- package/chunk-6nqghjda.js +3 -0
- package/chunk-6tx68d90.js +3 -0
- package/chunk-6w6ch4ce.js +2 -0
- package/chunk-735ezz23.js +86 -0
- package/chunk-7eq7nx37.js +7 -0
- package/chunk-7eyb8yrf.js +6 -0
- package/chunk-80fjfyha.js +86 -0
- package/chunk-80r93t2e.js +4 -0
- package/chunk-94vx1yb0.js +3 -0
- package/chunk-9vg3yafz.js +3 -0
- package/chunk-a84n72m2.js +4 -0
- package/chunk-ampmdzz4.js +10 -0
- package/chunk-avns4dbf.js +2 -0
- package/chunk-ayrb3qnm.js +3 -0
- package/chunk-bwnvcncx.js +3 -0
- package/chunk-ccszg02q.js +5 -0
- package/chunk-cvn689d5.js +3 -0
- package/chunk-cxe6jjwj.js +3 -0
- package/chunk-dg6z4vdd.js +3 -0
- package/chunk-dgwjpbp9.js +3 -0
- package/chunk-dy41n60j.js +52 -0
- package/chunk-ek71z2fv.js +226 -0
- package/chunk-er1fxb7d.js +2 -0
- package/chunk-eyr8hrzf.js +2 -0
- package/chunk-fjbzk4sw.js +3 -0
- package/chunk-fsbsksga.js +3 -0
- package/chunk-h6gchare.js +3 -0
- package/chunk-hcb68zt7.js +85 -0
- package/chunk-hggap8fq.js +3 -0
- package/chunk-j11fyeqh.js +2 -0
- package/chunk-jb21jkp1.js +8 -0
- package/chunk-jfx9xjmr.js +18 -0
- package/chunk-jr0ss0mm.js +303 -0
- package/chunk-jrsknzjt.js +3 -0
- package/chunk-jv0xggh0.js +2 -0
- package/chunk-k17gfwq3.js +2 -0
- package/chunk-mh2pr7cq.js +5 -0
- package/chunk-mnapdp1y.js +2 -0
- package/chunk-mzhdrawd.js +3 -0
- package/chunk-n9gs6yx9.js +2 -0
- package/chunk-ngnymg2q.js +3 -0
- package/chunk-nwx5700b.js +3 -0
- package/chunk-pjtg3wnm.js +4 -0
- package/chunk-pp86v6m6.js +3 -0
- package/chunk-r22epxz2.js +3 -0
- package/chunk-rgasy862.js +5 -0
- package/chunk-rpwpeph5.js +3 -0
- package/chunk-s23gtejf.js +3 -0
- package/chunk-sjgqnykd.js +6 -0
- package/chunk-sn3x2m0m.js +6 -0
- package/chunk-t448rrfr.js +2 -0
- package/chunk-tdsk5wxa.js +451 -0
- package/chunk-v40fn08f.js +442 -0
- package/chunk-vbk1qhdz.js +3 -0
- package/chunk-vdkrbzh1.js +2 -0
- package/chunk-vgmr98cv.js +40 -0
- package/chunk-vsv8z729.js +6 -0
- package/chunk-x4f4k9pp.js +26 -0
- package/chunk-xt5ayg7g.js +4 -0
- package/chunk-ydhwv29b.js +244 -0
- package/chunk-zb6hc1y0.js +2 -0
- package/cli.js +3 -0
- package/launcher.cjs +97 -0
- package/package.json +58 -5
- package/pkgs/helpers/src/box.tsx +21 -0
- package/pkgs/helpers/src/cn.ts +32 -0
- package/pkgs/helpers/src/descriptors.ts +270 -0
- package/pkgs/helpers/src/divider.tsx +123 -0
- package/pkgs/helpers/src/gradient.tsx +90 -0
- package/pkgs/helpers/src/heading.tsx +20 -0
- package/pkgs/helpers/src/icon-data.ts +8009 -0
- package/pkgs/helpers/src/icon.tsx +53 -0
- package/pkgs/helpers/src/image.tsx +111 -0
- package/pkgs/helpers/src/index.ts +29 -0
- package/pkgs/helpers/src/layer.tsx +61 -0
- package/pkgs/helpers/src/lowering.ts +53 -0
- package/pkgs/helpers/src/paths.ts +47 -0
- package/pkgs/helpers/src/placeholder.tsx +88 -0
- package/pkgs/helpers/src/prose.tsx +42 -0
- package/pkgs/helpers/src/registry.ts +41 -0
- package/pkgs/helpers/src/svg.tsx +62 -0
- package/pkgs/helpers/src/text.tsx +16 -0
- package/pkgs/provider-antd/src/index.ts +78 -0
- package/pkgs/provider-antd/src/intro.ts +14 -0
- package/pkgs/provider-antd/src/manifest.ts +439 -0
- package/pkgs/provider-antd/src/overlays.ts +176 -0
- package/pkgs/provider-antd/src/registry.ts +104 -0
- package/pkgs/provider-antd/src/render-pass.ts +43 -0
- package/pkgs/provider-antd/src/tailwind-entry.css +21 -0
- package/pkgs/provider-antd/src/theme.ts +132 -0
- package/pkgs/provider-antd/src/version.ts +8 -0
- package/pkgs/provider-chakra/src/index.ts +80 -0
- package/pkgs/provider-chakra/src/intro.ts +14 -0
- package/pkgs/provider-chakra/src/manifest.ts +421 -0
- package/pkgs/provider-chakra/src/overlays.ts +246 -0
- package/pkgs/provider-chakra/src/registry.ts +227 -0
- package/pkgs/provider-chakra/src/render-pass.ts +55 -0
- package/pkgs/provider-chakra/src/tailwind-entry.css +21 -0
- package/pkgs/provider-chakra/src/theme.ts +180 -0
- package/pkgs/provider-chakra/src/version.ts +8 -0
- package/pkgs/provider-mui/src/index.ts +117 -0
- package/pkgs/provider-mui/src/intro.ts +12 -0
- package/pkgs/provider-mui/src/manifest.ts +263 -0
- package/pkgs/provider-mui/src/overlays.ts +124 -0
- package/pkgs/provider-mui/src/registry.ts +120 -0
- package/pkgs/provider-mui/src/render-pass.ts +36 -0
- package/pkgs/provider-mui/src/tailwind-entry.css +21 -0
- package/pkgs/provider-mui/src/theme.ts +129 -0
- package/pkgs/provider-mui/src/version.ts +8 -0
- package/pkgs/provider-none/src/components-inline.tsx +204 -0
- package/pkgs/provider-none/src/components.tsx +155 -0
- package/pkgs/provider-none/src/index.ts +57 -0
- package/pkgs/provider-none/src/intro.ts +18 -0
- package/pkgs/provider-none/src/manifest.ts +163 -0
- package/pkgs/provider-none/src/registry-inline.ts +36 -0
- package/pkgs/provider-none/src/registry.ts +39 -0
- package/pkgs/provider-none/src/tailwind-entry.css +57 -0
- package/pkgs/provider-none/src/version.ts +10 -0
- package/pkgs/schema/src/annotation.ts +120 -0
- package/pkgs/schema/src/asset.ts +66 -0
- package/pkgs/schema/src/board.ts +71 -0
- package/pkgs/schema/src/comment.ts +107 -0
- package/pkgs/schema/src/config.ts +185 -0
- package/pkgs/schema/src/css-sanitize.ts +56 -0
- package/pkgs/schema/src/extension.ts +105 -0
- package/pkgs/schema/src/fonts.ts +690 -0
- package/pkgs/schema/src/frame.ts +40 -0
- package/pkgs/schema/src/icon-name.ts +21 -0
- package/pkgs/schema/src/ids.ts +14 -0
- package/pkgs/schema/src/index.ts +169 -0
- package/pkgs/schema/src/migrate.ts +297 -0
- package/pkgs/schema/src/node.ts +229 -0
- package/pkgs/schema/src/paths.ts +28 -0
- package/pkgs/schema/src/repo.ts +134 -0
- package/pkgs/schema/src/screen.ts +30 -0
- package/pkgs/schema/src/snippet-resolve.ts +193 -0
- package/pkgs/schema/src/snippet.ts +104 -0
- package/pkgs/schema/src/svg-sanitize.ts +487 -0
- package/pkgs/schema/src/theme.ts +218 -0
- package/pkgs/schema/src/typeset.ts +693 -0
- package/pkgs/schema/src/validate-ids.ts +46 -0
- package/pkgs/schema/src/viewport.ts +8 -0
- package/pkgs/shadcn-snapshot/dist/manifest.json +8109 -0
- package/pkgs/shadcn-snapshot/src/components/canvas-portal.tsx +55 -0
- package/pkgs/shadcn-snapshot/src/components/ui/accordion.tsx +122 -0
- package/pkgs/shadcn-snapshot/src/components/ui/alert-dialog.tsx +164 -0
- package/pkgs/shadcn-snapshot/src/components/ui/alert.tsx +74 -0
- package/pkgs/shadcn-snapshot/src/components/ui/aspect-ratio.tsx +13 -0
- package/pkgs/shadcn-snapshot/src/components/ui/attachment.tsx +197 -0
- package/pkgs/shadcn-snapshot/src/components/ui/avatar.tsx +100 -0
- package/pkgs/shadcn-snapshot/src/components/ui/badge.tsx +50 -0
- package/pkgs/shadcn-snapshot/src/components/ui/breadcrumb.tsx +109 -0
- package/pkgs/shadcn-snapshot/src/components/ui/bubble.tsx +130 -0
- package/pkgs/shadcn-snapshot/src/components/ui/button-group.tsx +82 -0
- package/pkgs/shadcn-snapshot/src/components/ui/button.tsx +72 -0
- package/pkgs/shadcn-snapshot/src/components/ui/calendar.tsx +229 -0
- package/pkgs/shadcn-snapshot/src/components/ui/card.tsx +92 -0
- package/pkgs/shadcn-snapshot/src/components/ui/carousel.tsx +235 -0
- package/pkgs/shadcn-snapshot/src/components/ui/chart-option.ts +250 -0
- package/pkgs/shadcn-snapshot/src/components/ui/chart.tsx +177 -0
- package/pkgs/shadcn-snapshot/src/components/ui/checkbox.tsx +41 -0
- package/pkgs/shadcn-snapshot/src/components/ui/collapsible.tsx +32 -0
- package/pkgs/shadcn-snapshot/src/components/ui/combobox.tsx +196 -0
- package/pkgs/shadcn-snapshot/src/components/ui/context-menu.tsx +227 -0
- package/pkgs/shadcn-snapshot/src/components/ui/dialog.tsx +131 -0
- package/pkgs/shadcn-snapshot/src/components/ui/direction.tsx +24 -0
- package/pkgs/shadcn-snapshot/src/components/ui/drawer.tsx +112 -0
- package/pkgs/shadcn-snapshot/src/components/ui/dropdown-menu.tsx +205 -0
- package/pkgs/shadcn-snapshot/src/components/ui/empty.tsx +98 -0
- package/pkgs/shadcn-snapshot/src/components/ui/field.tsx +228 -0
- package/pkgs/shadcn-snapshot/src/components/ui/hover-card.tsx +51 -0
- package/pkgs/shadcn-snapshot/src/components/ui/input-group.tsx +148 -0
- package/pkgs/shadcn-snapshot/src/components/ui/input.tsx +43 -0
- package/pkgs/shadcn-snapshot/src/components/ui/item.tsx +187 -0
- package/pkgs/shadcn-snapshot/src/components/ui/kbd.tsx +30 -0
- package/pkgs/shadcn-snapshot/src/components/ui/label.tsx +25 -0
- package/pkgs/shadcn-snapshot/src/components/ui/marker.tsx +71 -0
- package/pkgs/shadcn-snapshot/src/components/ui/menubar.tsx +243 -0
- package/pkgs/shadcn-snapshot/src/components/ui/message.tsx +89 -0
- package/pkgs/shadcn-snapshot/src/components/ui/native-select.tsx +60 -0
- package/pkgs/shadcn-snapshot/src/components/ui/navigation-menu.tsx +165 -0
- package/pkgs/shadcn-snapshot/src/components/ui/pagination.tsx +117 -0
- package/pkgs/shadcn-snapshot/src/components/ui/popover.tsx +66 -0
- package/pkgs/shadcn-snapshot/src/components/ui/progress.tsx +35 -0
- package/pkgs/shadcn-snapshot/src/components/ui/radio-group.tsx +48 -0
- package/pkgs/shadcn-snapshot/src/components/ui/scroll-area.tsx +59 -0
- package/pkgs/shadcn-snapshot/src/components/ui/select.tsx +180 -0
- package/pkgs/shadcn-snapshot/src/components/ui/separator.tsx +32 -0
- package/pkgs/shadcn-snapshot/src/components/ui/sheet.tsx +107 -0
- package/pkgs/shadcn-snapshot/src/components/ui/skeleton.tsx +17 -0
- package/pkgs/shadcn-snapshot/src/components/ui/slider.tsx +68 -0
- package/pkgs/shadcn-snapshot/src/components/ui/sonner.tsx +91 -0
- package/pkgs/shadcn-snapshot/src/components/ui/spinner.tsx +21 -0
- package/pkgs/shadcn-snapshot/src/components/ui/switch.tsx +41 -0
- package/pkgs/shadcn-snapshot/src/components/ui/table.tsx +93 -0
- package/pkgs/shadcn-snapshot/src/components/ui/tabs.tsx +84 -0
- package/pkgs/shadcn-snapshot/src/components/ui/textarea.tsx +24 -0
- package/pkgs/shadcn-snapshot/src/components/ui/toggle-group.tsx +94 -0
- package/pkgs/shadcn-snapshot/src/components/ui/toggle.tsx +50 -0
- package/pkgs/shadcn-snapshot/src/components/ui/tooltip.tsx +47 -0
- package/pkgs/shadcn-snapshot/src/examples.ts +36 -0
- package/pkgs/shadcn-snapshot/src/groups.ts +87 -0
- package/pkgs/shadcn-snapshot/src/index.ts +43 -0
- package/pkgs/shadcn-snapshot/src/lib/utils.ts +4 -0
- package/pkgs/shadcn-snapshot/src/manifest.ts +12 -0
- package/pkgs/shadcn-snapshot/src/notes.ts +97 -0
- package/pkgs/shadcn-snapshot/src/paths.ts +47 -0
- package/pkgs/shadcn-snapshot/src/registry-files.ts +293 -0
- package/pkgs/shadcn-snapshot/src/registry.ts +631 -0
- package/pkgs/shadcn-snapshot/src/shadcn-tailwind.css +632 -0
- package/pkgs/shadcn-snapshot/src/tailwind-entry.css +159 -0
- package/pkgs/shadcn-snapshot/src/version.ts +8 -0
- package/plugins/claude/velloo/.claude-plugin/plugin.json +6 -0
- package/plugins/claude/velloo/agents/velloo-design-reviewer.md +33 -0
- package/plugins/claude/velloo/agents/velloo-designer.md +39 -0
- package/plugins/claude/velloo/commands/design.md +11 -0
- package/plugins/claude/velloo/commands/implement.md +10 -0
- package/plugins/claude/velloo/commands/review.md +8 -0
- package/plugins/gemini/GEMINI.md +31 -0
- package/plugins/gemini/commands/velloo/design.toml +10 -0
- package/plugins/gemini/commands/velloo/implement.toml +9 -0
- package/plugins/gemini/gemini-extension.json +9 -0
- package/skills/velloo-brand/SKILL.md +124 -0
- package/skills/velloo-design/SKILL.md +144 -0
- package/skills/velloo-design-system/SKILL.md +90 -0
- package/skills/velloo-implement/SKILL.md +101 -0
- package/skills/velloo-logo/SKILL.md +93 -0
- package/skills/velloo-setup/SKILL.md +156 -0
package/BUN-LICENSE.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Bun 1.4.2 license and linked-library notices
|
|
2
|
+
|
|
3
|
+
The upstream notice below is vendored from the signed Bun 1.4.2 release:
|
|
4
|
+
<https://github.com/oven-sh/bun/blob/bun-v1.4.2/LICENSE.md>.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Bun itself is MIT-licensed.
|
|
9
|
+
|
|
10
|
+
## JavaScriptCore
|
|
11
|
+
|
|
12
|
+
Bun statically links JavaScriptCore (and WebKit) which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL2. Per LGPL2:
|
|
13
|
+
|
|
14
|
+
> (1) If you statically link against an LGPL’d library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application.
|
|
15
|
+
|
|
16
|
+
You can find the patched version of WebKit used by Bun here: <https://github.com/oven-sh/webkit>. If you would like to relink Bun with changes:
|
|
17
|
+
|
|
18
|
+
- `git clone https://github.com/oven-sh/WebKit vendor/WebKit`
|
|
19
|
+
- `bun sync-webkit-source` (checks out the version pinned in `WEBKIT_VERSION` in `scripts/build/deps/webkit.ts`)
|
|
20
|
+
- `bun run build:local`
|
|
21
|
+
|
|
22
|
+
This compiles JavaScriptCore, compiles Bun’s `.cpp` bindings for JavaScriptCore (which are the object files using JavaScriptCore) and outputs a new `bun` binary with your changes.
|
|
23
|
+
|
|
24
|
+
## Linked libraries
|
|
25
|
+
|
|
26
|
+
Bun statically links these libraries:
|
|
27
|
+
|
|
28
|
+
| Library | License |
|
|
29
|
+
|---------|---------|
|
|
30
|
+
| [`boringssl`](https://boringssl.googlesource.com/boringssl/) | [several licenses](https://boringssl.googlesource.com/boringssl/+/refs/heads/master/LICENSE) |
|
|
31
|
+
| [`brotli`](https://github.com/google/brotli) | MIT |
|
|
32
|
+
| [`libarchive`](https://github.com/libarchive/libarchive) | [several licenses](https://github.com/libarchive/libarchive/blob/master/COPYING) |
|
|
33
|
+
| [`lol-html`](https://github.com/cloudflare/lol-html/tree/master/c-api) | BSD 3-Clause |
|
|
34
|
+
| [`ls-hpack`](https://github.com/litespeedtech/ls-hpack) | MIT |
|
|
35
|
+
| [`ls-qpack`](https://github.com/litespeedtech/ls-qpack) | MIT |
|
|
36
|
+
| [`lsquic`](https://github.com/litespeedtech/lsquic) | MIT (portions derived from [Chromium proto-quic](https://github.com/litespeedtech/lsquic/blob/master/LICENSE.chrome), BSD 3-Clause) |
|
|
37
|
+
| [`mimalloc`](https://github.com/microsoft/mimalloc) | MIT |
|
|
38
|
+
| [`picohttp`](https://github.com/h2o/picohttpparser) | dual-licensed under the Perl License or the MIT License |
|
|
39
|
+
| [`zstd`](https://github.com/facebook/zstd) | dual-licensed under the BSD License or GPLv2 license |
|
|
40
|
+
| [`simdutf`](https://github.com/simdutf/simdutf) | Apache 2.0 |
|
|
41
|
+
| [`tinycc`](https://github.com/tinycc/tinycc) | LGPL v2.1 |
|
|
42
|
+
| [`uSockets`](https://github.com/uNetworking/uSockets) | Apache 2.0 |
|
|
43
|
+
| [`zlib-ng`](https://github.com/zlib-ng/zlib-ng) | zlib |
|
|
44
|
+
| [`c-ares`](https://github.com/c-ares/c-ares) | MIT licensed |
|
|
45
|
+
| [`libicu`](https://github.com/unicode-org/icu) 78 | [license here](https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE) |
|
|
46
|
+
| [`libbase64`](https://github.com/aklomp/base64/blob/master/LICENSE) | BSD 2-Clause |
|
|
47
|
+
| [`libuv`](https://github.com/libuv/libuv) (on Windows) | MIT |
|
|
48
|
+
| [`libdeflate`](https://github.com/ebiggers/libdeflate) | MIT |
|
|
49
|
+
| [`libjpeg-turbo`](https://github.com/libjpeg-turbo/libjpeg-turbo) | [BSD 3-Clause / IJG / zlib](https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/LICENSE.md) |
|
|
50
|
+
| [`libspng`](https://github.com/randy408/libspng) | BSD 2-Clause |
|
|
51
|
+
| [`libwebp`](https://github.com/webmproject/libwebp) | BSD 3-Clause |
|
|
52
|
+
| [`highway`](https://github.com/google/highway) | Apache 2.0 |
|
|
53
|
+
| [`uucode`](https://github.com/jacobsandlund/uucode) | MIT |
|
|
54
|
+
| A fork of [`uWebsockets`](https://github.com/jarred-sumner/uwebsockets) | Apache 2.0 licensed |
|
|
55
|
+
| Parts of [Tigerbeetle's IO code](https://github.com/tigerbeetle/tigerbeetle/blob/532c8b70b9142c17e07737ab6d3da68d7500cbca/src/io/windows.zig#L1) | Apache 2.0 licensed |
|
|
56
|
+
| `__cxa_thread_atexit` fallback from [LLVM libc++abi](https://github.com/llvm/llvm-project/blob/llvmorg-19.1.0/libcxxabi/src/cxa_thread_atexit.cpp) | Apache 2.0 with LLVM exception |
|
|
57
|
+
|
|
58
|
+
## Polyfills
|
|
59
|
+
|
|
60
|
+
For compatibility reasons, the following packages are embedded into Bun's binary and injected if imported.
|
|
61
|
+
|
|
62
|
+
| Package | License |
|
|
63
|
+
|---------|---------|
|
|
64
|
+
| [`acorn`](https://github.com/acornjs/acorn) | MIT |
|
|
65
|
+
| [`acorn-walk`](https://github.com/acornjs/acorn) | MIT |
|
|
66
|
+
| [`assert`](https://npmjs.com/package/assert) | MIT |
|
|
67
|
+
| [`browserify-zlib`](https://npmjs.com/package/browserify-zlib) | MIT |
|
|
68
|
+
| [`buffer`](https://npmjs.com/package/buffer) | MIT |
|
|
69
|
+
| [`constants-browserify`](https://npmjs.com/package/constants-browserify) | MIT |
|
|
70
|
+
| [`crypto-browserify`](https://npmjs.com/package/crypto-browserify) | MIT |
|
|
71
|
+
| [`domain-browser`](https://npmjs.com/package/domain-browser) | MIT |
|
|
72
|
+
| [`events`](https://npmjs.com/package/events) | MIT |
|
|
73
|
+
| [`https-browserify`](https://npmjs.com/package/https-browserify) | MIT |
|
|
74
|
+
| [`os-browserify`](https://npmjs.com/package/os-browserify) | MIT |
|
|
75
|
+
| [`path-browserify`](https://npmjs.com/package/path-browserify) | MIT |
|
|
76
|
+
| [`process`](https://npmjs.com/package/process) | MIT |
|
|
77
|
+
| [`punycode`](https://npmjs.com/package/punycode) | MIT |
|
|
78
|
+
| [`querystring-es3`](https://npmjs.com/package/querystring-es3) | MIT |
|
|
79
|
+
| [`stream-browserify`](https://npmjs.com/package/stream-browserify) | MIT |
|
|
80
|
+
| [`stream-http`](https://npmjs.com/package/stream-http) | MIT |
|
|
81
|
+
| [`string_decoder`](https://npmjs.com/package/string_decoder) | MIT |
|
|
82
|
+
| [`timers-browserify`](https://npmjs.com/package/timers-browserify) | MIT |
|
|
83
|
+
| [`tty-browserify`](https://npmjs.com/package/tty-browserify) | MIT |
|
|
84
|
+
| [`url`](https://npmjs.com/package/url) | MIT |
|
|
85
|
+
| [`util`](https://npmjs.com/package/util) | MIT |
|
|
86
|
+
| [`vm-browserify`](https://npmjs.com/package/vm-browserify) | MIT |
|
|
87
|
+
|
|
88
|
+
## Additional credits
|
|
89
|
+
|
|
90
|
+
- Bun's JS transpiler, CSS lexer, and Node.js module resolver source code is a port of [@evanw](https://github.com/evanw)’s [esbuild](https://github.com/evanw/esbuild) project.
|
|
91
|
+
- Credit to [@kipply](https://github.com/kipply) for the name "Bun"!
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Velloo
|
|
2
|
+
Copyright 2026 Prumo Works Ltd
|
|
3
|
+
|
|
4
|
+
This product includes software developed at Prumo Works Ltd (https://velloo.design).
|
|
5
|
+
|
|
6
|
+
This product also bundles and redistributes third-party open-source
|
|
7
|
+
software. Those components remain under their own licenses; their copyright
|
|
8
|
+
notices and license texts are collected in THIRD-PARTY-NOTICES.md, which
|
|
9
|
+
accompanies this distribution.
|
package/README.md
CHANGED
|
@@ -1,3 +1,289 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<h1>
|
|
4
|
+
<picture>
|
|
5
|
+
<source media="(prefers-color-scheme: dark)" srcset="./.github/assets/velloo-lockup-dark.png">
|
|
6
|
+
<img src="./.github/assets/velloo-lockup.png" alt="Velloo" width="205">
|
|
7
|
+
</picture>
|
|
8
|
+
</h1>
|
|
9
|
+
|
|
10
|
+
**Design like a developer. Build like a designer.**
|
|
11
|
+
|
|
12
|
+
Velloo is an open-source, local-first canvas for agent-driven design. It gives
|
|
13
|
+
your coding agent a structured understanding of your app — its routes,
|
|
14
|
+
components, theme, and conventions — so it can compose real screens, inspect the
|
|
15
|
+
rendered result, and write the chosen design back into your app while you keep
|
|
16
|
+
the taste and direction.
|
|
17
|
+
|
|
18
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
19
|
+
[](https://www.npmjs.com/package/velloo)
|
|
20
|
+
[](https://github.com/velloo-design/velloo/actions/workflows/ci.yml)
|
|
21
|
+
[](https://github.com/velloo-design/velloo/discussions)
|
|
22
|
+
|
|
23
|
+
[Quickstart](#quickstart) · [Documentation](./docs) · [Contributing](./CONTRIBUTING.md) · [Discussions](https://github.com/velloo-design/velloo/discussions) · [velloo.design](https://velloo.design)
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<picture>
|
|
29
|
+
<source media="(prefers-color-scheme: dark)" srcset="./.github/assets/walkthrough-dark.gif">
|
|
30
|
+
<img src="./.github/assets/walkthrough.gif" alt="A coding agent designs an approval inbox in Velloo: three directions, a refinement, canvas and Velloo Cloud comments it resolves, and the implemented screen" width="100%">
|
|
31
|
+
</picture>
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## What is Velloo?
|
|
37
|
+
|
|
38
|
+
Velloo adds a visual design loop to your coding agent. The agent works with your
|
|
39
|
+
actual component system, explores and verifies directions on the canvas, and
|
|
40
|
+
implements the direction you choose using your application's conventions.
|
|
41
|
+
|
|
42
|
+
Designs are readable JSON that can live in your repo or outside it. The complete
|
|
43
|
+
solo workflow is local and account-free; Velloo Cloud is optional when you want
|
|
44
|
+
published boards, review links, and comments that return to the canvas.
|
|
45
|
+
|
|
46
|
+
**No Figma seats. No paste-ready JSX you babysit. No translation tax.**
|
|
47
|
+
|
|
48
|
+
> **Status:** early and moving fast. The design-folder format is versioned and
|
|
49
|
+
> migrated by `velloo upgrade`, but expect rough edges and breaking changes
|
|
50
|
+
> before 1.0. Bug reports and design feedback are very welcome.
|
|
51
|
+
|
|
52
|
+
## Quickstart
|
|
53
|
+
|
|
54
|
+
Install the CLI. The npm package pulls an exact official Bun platform binary
|
|
55
|
+
with no install scripts — you don't install or manage Bun yourself:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm install -g velloo # or: pnpm add -g velloo
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Prefer a standalone install (macOS and Linux)?
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
curl -fsSL https://get.velloo.design/install.sh | bash
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Then, from inside your app:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
cd ~/code/my-shadcn-app
|
|
71
|
+
velloo init # interactive wizard
|
|
72
|
+
velloo run velloo # the design folder it just created
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
- **Canvas** → http://localhost:7300 (the next free port if that one is busy)
|
|
76
|
+
- **MCP server** → your agent starts `velloo mcp` over stdio; `init` already
|
|
77
|
+
wrote that into its config. HTTP-only clients can run `velloo mcp --http`,
|
|
78
|
+
which prints the URL to use.
|
|
79
|
+
|
|
80
|
+
Restart your agent so it picks up the new MCP config, then point it at a real
|
|
81
|
+
screen:
|
|
82
|
+
|
|
83
|
+
> "Use `velloo` to recreate the design for the billing page,
|
|
84
|
+
> then show me three takes on the plan-comparison section."
|
|
85
|
+
|
|
86
|
+
That's the loop. The agent builds on the canvas, screenshots its own work, and
|
|
87
|
+
you react to pixels instead of to a diff.
|
|
88
|
+
|
|
89
|
+
### What `init` does
|
|
90
|
+
|
|
91
|
+
The wizard creates a design folder (default `velloo/`), detects your routes,
|
|
92
|
+
component library, and theme, and connects supported coding agents through their
|
|
93
|
+
native MCP configuration and guidance format. It never changes your app source;
|
|
94
|
+
it only creates the design folder and agent configuration.
|
|
95
|
+
|
|
96
|
+
### Ways to use Velloo
|
|
97
|
+
|
|
98
|
+
- **Redesign an existing screen.** Recreate a route as a faithful baseline,
|
|
99
|
+
explore alternatives beside it, and compare the result with the running app.
|
|
100
|
+
- **Start from scratch.** Choose your component library, then begin with the
|
|
101
|
+
sample board or a blank canvas for a new screen or product idea.
|
|
102
|
+
- **Work from a live page.** Capture a public or authenticated page when the
|
|
103
|
+
useful starting point is a browser rather than a route in the current app.
|
|
104
|
+
|
|
105
|
+
For better results, give the agent a concrete outcome and review bar: name the
|
|
106
|
+
screen, ask for genuinely different directions, say which components or tokens
|
|
107
|
+
must be preserved, and ask to see the canvas before application code changes.
|
|
108
|
+
|
|
109
|
+
### Velloo Cloud and `velloo publish`
|
|
110
|
+
|
|
111
|
+
Velloo Cloud is the optional collaboration layer; the local design remains the
|
|
112
|
+
source of truth. When you want feedback from someone else, sign in and publish a
|
|
113
|
+
board from the canvas or the CLI:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
velloo login
|
|
117
|
+
velloo publish velloo
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Choose the boards, destination, and access level when prompted. Velloo uploads
|
|
121
|
+
the material needed to render the review and prints a share link; comments on
|
|
122
|
+
that link sync back to the local canvas for you or your agent to resolve. A later
|
|
123
|
+
publish can update the same link and preserve its review context.
|
|
124
|
+
|
|
125
|
+
Use `velloo publish list` to see existing publications and
|
|
126
|
+
`velloo publish remove <share-url>` to take one down. Velloo Cloud is not
|
|
127
|
+
required to design, export, or implement a screen.
|
|
128
|
+
|
|
129
|
+
## Features
|
|
130
|
+
|
|
131
|
+
- **Existing-screen redesign.** Start from a React route or a captured
|
|
132
|
+
authenticated page, recreate a faithful baseline, explore alternatives, and
|
|
133
|
+
compare against the running product at the same viewport.
|
|
134
|
+
- **Real components, not approximations.** Components come from a
|
|
135
|
+
`ComponentProvider`, so the design folder stays pure data. For shadcn,
|
|
136
|
+
client-safe files from your app mount directly in the canvas; portal- and
|
|
137
|
+
state-heavy families are explicitly adapted; compile failures fall back per
|
|
138
|
+
component with diagnostics.
|
|
139
|
+
- **Five React adapters.** shadcn + Tailwind, Material UI, Ant Design, Chakra
|
|
140
|
+
UI, and no-library React each render and emit through their own adapter.
|
|
141
|
+
- **Visual verification.** The agent inspects rendered nodes, takes screenshots,
|
|
142
|
+
diffs against a live URL, and fixes what it sees instead of guessing from code.
|
|
143
|
+
- **Board → Screen → Frame.** One design folder holds many boards; frames that
|
|
144
|
+
share a screen stay in sync, so a mobile and a desktop frame are one edit.
|
|
145
|
+
- **A real MCP surface.** Discovery, focused tree mutations, themes, screenshots,
|
|
146
|
+
comparison, comments, and agent-consumed implementation IR — plus bundled
|
|
147
|
+
skills for brand, design systems, logos, and design-to-code.
|
|
148
|
+
- **Optional collaboration.** Create a team, publish a board, share externally,
|
|
149
|
+
and pull review comments back into the local canvas.
|
|
150
|
+
|
|
151
|
+
## Requirements
|
|
152
|
+
|
|
153
|
+
| | |
|
|
154
|
+
|---|---|
|
|
155
|
+
| **OS** | macOS (arm64, x64) and Linux (arm64, x64; glibc and musl). Windows via WSL. |
|
|
156
|
+
| **Your app** | React. shadcn + Tailwind, MUI, Ant Design, Chakra, and no-library folders are supported. |
|
|
157
|
+
| **Screenshots** | Optional headless Chromium, one command away (below). |
|
|
158
|
+
|
|
159
|
+
### Screenshots — the one optional extra
|
|
160
|
+
|
|
161
|
+
A headless Chromium is used for exactly two things: your agent's `screenshot`
|
|
162
|
+
tool (so it can *see* a design) and `velloo render <screen> --to=out.png`. The
|
|
163
|
+
canvas, editing, `publish`, `emit`, and everything else work without it. Install
|
|
164
|
+
it anytime (one-time, ~150 MB):
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
velloo browser install
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
If a screenshot ever fails, run exactly that command and retry.
|
|
171
|
+
|
|
172
|
+
## CLI essentials
|
|
173
|
+
|
|
174
|
+
A **design** is a folder with a `.design/config.json`, which holds its name. A
|
|
175
|
+
repo-root **`velloo.json`** lists where the repo's designs are (several can
|
|
176
|
+
coexist in a monorepo). Every design-taking command accepts a design name or a
|
|
177
|
+
path, and resolves through `velloo.json` when you pass nothing. With several
|
|
178
|
+
designs, a connected agent is told which one it is on and can switch between them.
|
|
179
|
+
Commands that take something else as their argument, like `emit <screen>`, take
|
|
180
|
+
the design as `--design`.
|
|
181
|
+
|
|
182
|
+
| Command | What it does |
|
|
183
|
+
|---|---|
|
|
184
|
+
| `velloo init` | Create a design folder and wire up your agent |
|
|
185
|
+
| `velloo run [design]` | Start the canvas + MCP daemon (`--port` to pick the canvas port) |
|
|
186
|
+
| `velloo design list\|add\|remove\|move\|rename\|upgrade` | Manage the repo's designs |
|
|
187
|
+
| `velloo emit` / `velloo render` | Implementation IR for your agent / a PNG of a screen |
|
|
188
|
+
| `velloo publish [design]` | Publish a board for review (`publish list\|remove` manage what you've published) |
|
|
189
|
+
| `velloo upgrade` | Update the install *and* migrate the design format (`--check` to preview) |
|
|
190
|
+
|
|
191
|
+
`Ctrl-C` stops the server.
|
|
192
|
+
|
|
193
|
+
**Keeping designs out of the app repo** is a first-class option — pick "Default
|
|
194
|
+
out of repo" in the wizard, give a path outside the repo, or run
|
|
195
|
+
`velloo init --external --name web`. The design is recorded
|
|
196
|
+
only on your machine: nothing is written into the repo, the files live under
|
|
197
|
+
`~/.velloo/designs/` (or where you chose) outside version control, and agents are
|
|
198
|
+
wired through global configs. See
|
|
199
|
+
[Local designs outside the repository](./docs/external-local-design-folders.md).
|
|
200
|
+
|
|
201
|
+
**Choosing an MCP surface.** Velloo defaults to a compact progressive-disclosure
|
|
202
|
+
surface: the agent sees `call_velloo`, `run_velloo_plan`, and `operation_schema`
|
|
203
|
+
and pays for a native schema only when it needs one. Clients that do better with
|
|
204
|
+
conventional function schemas can use `velloo mcp --surface full`. Both surfaces
|
|
205
|
+
carry the whole operation catalogue. See [docs/mcp.md](./docs/mcp.md).
|
|
206
|
+
|
|
207
|
+
## Local-first by default
|
|
208
|
+
|
|
209
|
+
The local tool is free, complete, account-free, and telemetry-free.
|
|
210
|
+
|
|
211
|
+
The CLI makes exactly one anonymous request outside the solo loop: at most daily,
|
|
212
|
+
a detached check reads the public npm release version and caches it locally. It
|
|
213
|
+
sends no project or account data, and `VELLOO_DISABLE_UPDATE_CHECK=1` turns it
|
|
214
|
+
off. Everything else that touches the network is opt-in and gated behind an
|
|
215
|
+
explicit `velloo login`:
|
|
216
|
+
|
|
217
|
+
- `velloo login` / `velloo publish` — publish boards to a personal or team
|
|
218
|
+
workspace and create external review links
|
|
219
|
+
- comment tools — read and resolve team and external-review feedback
|
|
220
|
+
- `generate_asset` — hosted image/SVG generation, metered against your credits
|
|
221
|
+
- `send_feedback` — agent-side product feedback, only when enabled in the folder
|
|
222
|
+
config
|
|
223
|
+
|
|
224
|
+
You choose when — and whether — to use any of them.
|
|
225
|
+
|
|
226
|
+
## Documentation
|
|
227
|
+
|
|
228
|
+
| | |
|
|
229
|
+
|---|---|
|
|
230
|
+
| [docs/architecture.md](./docs/architecture.md) | Design-folder format, providers, renderer, codegen, canvas daemon |
|
|
231
|
+
| [docs/mcp.md](./docs/mcp.md) | The MCP tool surface agents talk to |
|
|
232
|
+
| [docs/providers.md](./docs/providers.md) | Adding a framework adapter |
|
|
233
|
+
| [docs/css-class-channel.md](./docs/css-class-channel.md) | How styling is routed per framework |
|
|
234
|
+
| [docs/external-local-design-folders.md](./docs/external-local-design-folders.md) | Local designs outside the repo: storage, agents, relocation, binding |
|
|
235
|
+
|
|
236
|
+
## Contributing
|
|
237
|
+
|
|
238
|
+
Contributions are welcome — bug reports, adapters, docs, and design feedback
|
|
239
|
+
alike. [`CONTRIBUTING.md`](./CONTRIBUTING.md) covers setup and the checks we
|
|
240
|
+
expect to be green; [`CLAUDE.md`](./CLAUDE.md) explains the repo's architecture
|
|
241
|
+
invariants before you change anything load-bearing.
|
|
242
|
+
|
|
243
|
+
The short version:
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
bun install # also builds the snapshot manifest
|
|
247
|
+
bun run --cwd packages/canvas build # build the canvas SPA
|
|
248
|
+
bun run velloo init /tmp/velloo-smoke
|
|
249
|
+
bun run velloo run /tmp/velloo-smoke # canvas on :7300
|
|
250
|
+
bun run verify # typecheck + lint + knip + tests
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
Good first issues are labelled
|
|
254
|
+
[`good first issue`](https://github.com/velloo-design/velloo/labels/good%20first%20issue).
|
|
255
|
+
|
|
256
|
+
### Repo layout
|
|
257
|
+
|
|
258
|
+
Velloo is a Bun-workspaces monorepo with one-way dependencies:
|
|
259
|
+
|
|
260
|
+
| Package | Responsibility |
|
|
261
|
+
|---|---|
|
|
262
|
+
| `packages/schema` | Zod schemas + TS types for the on-disk design-folder format |
|
|
263
|
+
| `packages/protocol` | The wire contract: mutation arguments, typed errors, watch events |
|
|
264
|
+
| `packages/provider` | The `ComponentProvider` / `FrameworkAdapter` interface |
|
|
265
|
+
| `packages/provider-*` | shadcn, MUI, Ant Design, Chakra, and no-library adapters |
|
|
266
|
+
| `packages/shadcn-snapshot` | Pinned canvas-safe shadcn fallback, embedded in the binary |
|
|
267
|
+
| `packages/renderer` | Design JSON → HTML (and PNG via Playwright) |
|
|
268
|
+
| `packages/codegen` | Agent-consumed IR + theme emitters |
|
|
269
|
+
| `packages/server` | HTTP + MCP + mutations + theme + watcher |
|
|
270
|
+
| `packages/canvas` | Vite/React canvas UI |
|
|
271
|
+
| `packages/cli` | The `velloo` binary |
|
|
272
|
+
|
|
273
|
+
## Community and support
|
|
274
|
+
|
|
275
|
+
- **Questions, ideas, show-and-tell** →
|
|
276
|
+
[Discussions](https://github.com/velloo-design/velloo/discussions)
|
|
277
|
+
- **Bugs and feature requests** →
|
|
278
|
+
[open an issue](https://github.com/velloo-design/velloo/issues/new/choose)
|
|
279
|
+
- **Security issues** → [`SECURITY.md`](./SECURITY.md) — please don't file a
|
|
280
|
+
public issue
|
|
281
|
+
- **Ground rules** → [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md)
|
|
282
|
+
|
|
283
|
+
## License
|
|
284
|
+
|
|
285
|
+
Velloo is open source under the [Apache License 2.0](./LICENSE).
|
|
286
|
+
|
|
287
|
+
The **Velloo** name and the interlinked-frames mark are trademarks and are not
|
|
288
|
+
covered by the code license — fork the code freely, but don't ship a derivative
|
|
289
|
+
under the Velloo name or logo. See [`TRADEMARK.md`](./TRADEMARK.md).
|