unoverse 0.1.181 → 0.1.183

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.181",
3
+ "version": "0.1.183",
4
4
  "description": "The Unoverse front door — create a Studio project, a universe, or a client app, and launch Studio.",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "type": "module",
@@ -95,7 +95,7 @@ export function collectProject(designRoot, project) {
95
95
  // A prompt block is NEVER qualified this way — see the blocks/ walk below for why.
96
96
  // Templates keep their bare ids: those are org-qualified by convention
97
97
  // (`<org>-chat-layout`). docs/unoverse/UNOVERSE_COMPONENT_ORGS.md.
98
- const QUALIFIED_KINDS = new Set(["component", "skill"]);
98
+ const QUALIFIED_KINDS = new Set(["component", "skill", "design-template"]);
99
99
  const add = (kind, name, definition) => items.push({
100
100
  kind,
101
101
  name: QUALIFIED_KINDS.has(kind) ? `${project}/${name}` : name,
@@ -115,7 +115,11 @@ export function collectProject(designRoot, project) {
115
115
  //
116
116
  // Both become the same shape, a map of relative path to contents, so nothing downstream
117
117
  // has to care which it was. A single file is simply a map with one entry.
118
- for (const [dir, kind] of [["components", "component"], ["apps", "template"], ["atoms", "atom"]]) {
118
+ // `templates/` (the Template Model kind, 2026-08-28) stores as `design-template`:
119
+ // the natural word `template` is FROZEN as the apps' stored kind (migration-free
120
+ // legacy), and overloading it would make hydrate guess. Forgetting this dir here
121
+ // shipped design deploys that silently dropped every authored template.
122
+ for (const [dir, kind] of [["components", "component"], ["apps", "template"], ["templates", "design-template"], ["atoms", "atom"]]) {
119
123
  const home = join(root, dir);
120
124
  if (!existsSync(home))
121
125
  continue;