@cychien/ezdesign 0.0.0-stage → 0.9.1
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/LICENSE +21 -0
- package/README.md +615 -2
- package/dist/announcements/template-ERNKAKI5.svg +33 -0
- package/dist/cli.mjs +10095 -0
- package/dist/constants.d.ts +73 -0
- package/dist/events-worker.js +77 -0
- package/dist/extension/g/0.9.1-16d05e759b/dialog.css +1 -0
- package/dist/extension/g/0.9.1-16d05e759b/dialog.html +13 -0
- package/dist/extension/g/0.9.1-16d05e759b/dialog.js +1 -0
- package/dist/extension/g/0.9.1-16d05e759b/icon-128.png +0 -0
- package/dist/extension/g/0.9.1-16d05e759b/icon-16.png +0 -0
- package/dist/extension/g/0.9.1-16d05e759b/icon-32.png +0 -0
- package/dist/extension/g/0.9.1-16d05e759b/icon-48.png +0 -0
- package/dist/extension/g/0.9.1-16d05e759b/media.html +9 -0
- package/dist/extension/g/0.9.1-16d05e759b/media.js +1 -0
- package/dist/extension/g/0.9.1-16d05e759b/page.js +39 -0
- package/dist/extension/g/0.9.1-16d05e759b/setup.css +1 -0
- package/dist/extension/g/0.9.1-16d05e759b/setup.html +17 -0
- package/dist/extension/g/0.9.1-16d05e759b/setup.js +1 -0
- package/dist/extension/g/0.9.1-16d05e759b/worker.js +57 -0
- package/dist/extension/manifest.json +57 -0
- package/dist/native-host.mjs +20594 -0
- package/dist/overlay.css +422 -0
- package/dist/overlay.js +2642 -0
- package/dist/project-root.d.ts +10 -0
- package/dist/shell.css +4060 -0
- package/dist/shell.js +8284 -0
- package/dist/vite.d.ts +26 -0
- package/dist/vite.mjs +105 -0
- package/package.json +82 -4
- package/skills/ezdesign/SKILL.md +35 -0
- package/skills/ezdesign/reference/baseline.md +131 -0
- package/skills/ezdesign/reference/components.md +102 -0
- package/skills/ezdesign/reference/critique.md +129 -0
- package/skills/ezdesign/reference/design.md +247 -0
- package/skills/ezdesign/reference/inspiration.md +125 -0
- package/skills/ezdesign/reference/make.md +331 -0
- package/skills/ezdesign/reference/principles.md +130 -0
- package/skills/ezdesign/reference/product.md +127 -0
- package/skills/ezdesign/reference/stack.md +123 -0
- package/skills/ezdesign/reference/start.md +78 -0
- package/skills/ezdesign/scripts/page.d.mts +61 -0
- package/skills/ezdesign/scripts/page.mjs +908 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** The project a path belongs to: the nearest directory at or above it holding
|
|
2
|
+
* a `.git` or a `package.json`, or the path itself when nothing above it does.
|
|
3
|
+
*
|
|
4
|
+
* One rule, because two sides have to agree on it. The CLI scopes a session by
|
|
5
|
+
* the project it was run from, and the agent works from that directory; the
|
|
6
|
+
* build plugin stamps `file:line` on elements for that same agent to open. A
|
|
7
|
+
* Vite root nested inside the project - a fixture, an example site, one app of
|
|
8
|
+
* a monorepo run from the top - used to stamp paths relative to itself, which
|
|
9
|
+
* the agent then could not find from where it stood. */
|
|
10
|
+
export declare function projectRoot(from: string): string;
|