unoverse 0.1.141 → 0.1.142

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.
@@ -7,11 +7,16 @@ import { spawnSync } from "node:child_process";
7
7
  export const STARTER_TARBALL =
8
8
  "https://codeload.github.com/unoverse-platform/starter/tar.gz/refs/heads/main";
9
9
 
10
- export function download(dir, stripComponents = 1, filter = "") {
10
+ // The CLIENT STARTER has its own public repo. It used to be a folder inside the starter,
11
+ // which meant handing someone the whole operator kit to give them one web page.
12
+ export const CLIENT_TARBALL =
13
+ "https://codeload.github.com/unoverse-platform/client/tar.gz/refs/heads/main";
14
+
15
+ export function download(dir, stripComponents = 1, filter = "", tarball = STARTER_TARBALL) {
11
16
  mkdirSync(dir, { recursive: true });
12
17
  const r = spawnSync(
13
18
  "sh",
14
- ["-c", `curl -fsSL '${STARTER_TARBALL}' | tar -xz --strip-components=${stripComponents} -C '${dir}' ${filter}`],
19
+ ["-c", `curl -fsSL '${tarball}' | tar -xz --strip-components=${stripComponents} -C '${dir}' ${filter}`],
15
20
  { stdio: ["ignore", "inherit", "inherit"] },
16
21
  );
17
22
  if (r.status !== 0) throw new Error("download failed");
@@ -15,7 +15,7 @@ import { spawnSync } from "node:child_process";
15
15
  import { cyan, dim, ok, fail, ask, select } from "../ui.mjs";
16
16
  import { parseCredential, validateRegistryToken, dockerUp, dockerLogin } from "./credential.mjs";
17
17
  import { resolveTarget, label } from "./target.mjs";
18
- import { download } from "./download.mjs";
18
+ import { download, CLIENT_TARBALL } from "./download.mjs";
19
19
 
20
20
  export async function create(nameArg) {
21
21
  console.log(`\n ${cyan("⬡ What are you building?")}\n`);
@@ -137,10 +137,21 @@ export async function create(nameArg) {
137
137
 
138
138
  if (choice === "3") {
139
139
  const name = resolveTarget(nameArg);
140
- // The reference client ships inside the starter take just that folder.
141
- download(name, 3, "'*/packages/client'");
142
- ok(`client app scaffolded in ${label(name)}`);
143
- console.log(`\n Next:${name === "." ? "" : `\n cd ${name}`}\n npm install && npm run dev\n\n ${cyan("Build with Claude:")} open this folder in Claude Code and describe what you want, in plain words.\n`);
140
+ // Its own public repo, so the whole tree IS the project: one strip level, no filter.
141
+ download(name, 1, "", CLIENT_TARBALL);
142
+ ok(`client scaffolded in ${label(name)}`);
143
+ console.log(`
144
+ Next:${name === "." ? "" : `
145
+ cd ${name}`}
146
+ npm install
147
+ cp .env.example .env ${dim("# your universe, and which app to load")}
148
+ npm run dev
149
+
150
+ The README documents every option: the script tag's attributes, how to hand it
151
+ your login, and how to open it from your own buttons.
152
+
153
+ ${cyan("Docs:")} https://docs.unoverse.ai
154
+ `);
144
155
  return;
145
156
  }
146
157
 
@@ -96,7 +96,18 @@ cmd_db_verify() {
96
96
  dictionary_clusters: [
97
97
  "cluster_id", "workflow_id", "parent_id", "depth", "name", "description",
98
98
  "name_embedding", "medoid_id", "terms", "member_count", "umap_x", "umap_y",
99
- "umap_z", "radius", "created_at", "updated_at"
99
+ "umap_z", "radius", "created_at", "updated_at",
100
+ "region_id", "carried_overlap", "derived_from", "name_locked", "locked_at",
101
+ "locked_by", "member_ids"
102
+ ],
103
+ user_region_events: [
104
+ "id", "workflow_id", "user_id", "region_id", "region_name", "stage",
105
+ "source", "evidence", "occurred_at"
106
+ ],
107
+ dictionary_regions: [
108
+ "region_id", "workflow_id", "depth", "name", "description", "name_locked",
109
+ "locked_at", "locked_by", "stage", "stage_set_by", "needs_review",
110
+ "derived_from", "first_seen", "last_seen", "closed_at"
100
111
  ],
101
112
  dictionary_content_chunks: [
102
113
  "chunk_id", "text", "source_url", "source_type", "metadata",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.141",
3
+ "version": "0.1.142",
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",