Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

feat: tell the package route that the scaffold exists

rpone9f4808078288
diff --git a/.agents/skills/hypit/references/local-author-package.md b/.agents/skills/hypit/references/local-author-package.md
index 58ebd4ff..dfdb27ab 100644
--- a/.agents/skills/hypit/references/local-author-package.md
+++ b/.agents/skills/hypit/references/local-author-package.md
@@ -4,9 +4,28 @@ Use this workflow only after proving that no legal composition of installed pack
required behavior. A similar-looking tag is insufficient when its declared Types, timing or output
behavior differs. Never write an unknown tag before its package exists.
+## Start from the scaffold
+
+Do not write the package from nothing. One command generates it:
+
+```bash
+hypit new-package @hypit/local-<slug> --to <project>/packages/local-<slug>
+```
+
+It writes `package.json`, the Manifest with a complete vocabulary skeleton, Types, Surface,
+Producers, activation, index, README, `assets/`, `preview/`, and — for a component that draws — a
+still-render entry that produces the preview image its Surface owes. The result compiles and is
+importable with no edits, so run `pnpm install` and `pnpm check` once and start from something that
+already works.
+
+Writing those files by hand costs roughly four hundred lines of boilerplate identical in every
+package, and puts the `package.json` last, which means discovering only at the end that nothing is
+linked. Add `--no-visual` when the component draws nothing.
+
## Required reading
-Read all of these completely before editing:
+Read all of these completely before editing what the scaffold produced. Reading them after
+generating means reading about files that exist.
1. `docs/guide/author-packages.md`
2. `docs/guide/packages.md`
@@ -29,9 +48,9 @@ a worse outcome than understanding its structure.
## Package boundary
-Create a new package at `<project>/packages/local-<slug>/` named `@hypit/local-<slug>`. Use physical
-version `0.0.0-dev` and logical Module version `1`. Only create a new package: do not edit, extend,
-delete or overwrite an existing Hypit package to fill the gap.
+The scaffold places the package at `<project>/packages/local-<slug>/` named `@hypit/local-<slug>`,
+with physical version `0.0.0-dev` and logical Module version `1`. Only create a new package: do not
+edit, extend, delete or overwrite an existing Hypit package to fill the gap.
The package is project-local even when the project is the Hypit checkout. Do not move it into an
official package automatically. After the result is accepted, offer promotion as a separate
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 09656ab1..efb4683a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -225,8 +225,11 @@ importers:
specifier: ^1.6.4
- examples/ranking-typewriter-reverse/packages/local-paper-list:
+ examples/ranking-typewriter-reverse/packages/local-notebook-list:
dependencies:
+ '@hypit/artifact':
+ specifier: workspace:*
+ version: link:../../../../packages/artifact
'@hypit/component-kit':
specifier: workspace:*
version: link:../../../../packages/component-kit
@@ -270,6 +273,21 @@ importers:
'@hypit/core':
specifier: workspace:*
version: link:../../../../packages/core
+ '@hypit/fonts-open':
+ specifier: workspace:*
+ version: link:../../../../packages/fonts-open
+ '@hypit/hyperframes':
+ specifier: workspace:*
+ version: link:../../../../packages/hyperframes
+ '@hypit/provider-hyperframes-local':
+ specifier: workspace:*
+ version: link:../../../../packages/provider-hyperframes-local
+ '@types/node':
+ specifier: 24.10.1
+ version: 24.10.1
+ tsx:
+ specifier: 4.21.0
+ version: 4.21.0
packages/artifact:
dependencies: