Versions 184 to 185
Lines 1–20 at 185 (were 1–11 at 184)
22
3−import { existsSync, mkdirSync, readdirSync, rmSync, statSync, writeFileSync } from "node:fs";
4+import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
8−import { defaultAgentName, mintFreeName, mintKey, readBox } from "./box.ts";
Lines 25–31 at 185 (were 16–22 at 184)
19−import { siteOf } from "./orgs.ts";
2029import { projectFileName, readProjectFile, startingProjectFileText, writeStartingProjectFile } from "./project-file.ts";
Lines 57–71 at 185 (were 48–53 at 184)
60+ if (bool(args, "public") && bool(args, "private")) throw new UsageError("--public or --private, not both");
61+ // A box signed in here, and no token for this server: the project is made as the person who approved the box,
Lines 117–223 at 185 (were 99–105 at 184)
101119
120+/** The most a new project's folder may be from a box: the server takes a body up to 25 MB, base64 and JSON included. */
122+/** The Idempotency-Key of an abso init that didn't finish, so running it again makes the same project (abso 663). */
124+
126+ * abso init from a signed-in box (abso 663): the server makes the project as the person who approved the box, the way the
127+ * website's New project does (owner, visibility, address), with the folder as its first version. This folder then
128+ * joins it like abso join, with its own key from the box, so it works at once with no new approval.
140+ `project names are letters, digits, dot, dash and underscore (got ${JSON.stringify(project)})`,
146+ const wroteIgnore = !asIs && !existsSync(absoignore) && !existsSync(join(root, ".avcsignore"));
167+ `${root} is over 24 MB to send. Make ${project} with abso init on a smaller folder (or on the website), then copy the rest in and push.`,
169+ // One key per folder until it finishes: running the same abso init again is the same project, never a second.
192+ `Created project ${project} (${visibility}, owned by ${owner}) at version ${synced.version} from ${plural(listed.length, "file")} in ${root}.`,
195+ ? ["Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore."]
198+ `This folder is agent ${minted.agent}, with its own key, ${minted.id}, made from this box's sign-in. Settings are in .abso/config.json.`,
200+ ...(synced.written.length > 0 ? [`Wrote ${plural(synced.written.length, "file")} from shared.`] : []),
219+
103221 * Where abso join writes: --dir, else here when --agent is given (as before, so a folder prepared with
104222 * abso key install --server is joined where its key is). With no --agent: here when this folder is empty, else
105223 * ./<project>, which has to be new or empty so nobody's files are written over. A folder holding only abso's own
- MCP
- compare on this site's /mcp
- CLI
- abso diff 184 185 client/src/join-commands.ts --json
- JSON
- /christopher/abso-core/compare/184..185?file=client%2Fsrc%2Fjoin-commands.ts&format=json