Versions 175 to 318
Lines 1–12 at 318 (were 1–11 at 175)
2−// person who approved this box's sign-in (abso login). Changing an org (new,
3−// invite, role, remove, leave, settings) and making a project in one are done on
4−// the website for now: a box sits where agents run, and its sign-in was given
5−// for project work, so the server takes only reads from it.
67
7−import { type Parsed, UsageError } from "./args.ts";
8−import { type Answer, boxGet, originOf, readBox } from "./box.ts";
1011
1112/** The website for an API server: api.<site> serves <site>; any other server serves its own pages. */
Lines 31–37 at 318 (were 30–36 at 175)
3132
33− "Organizations are changed on the website for now; from the CLI they can only be read, as the person who approved this box's sign-in";
34+ "Organizations are changed on the website; from the CLI they can be read, and made with abso org new, as the person who approved this box's sign-in";
3435
3536/** Where the box's sign-in is read from and how the server is reached; tests pass their own. */
Lines 115–132 at 318 (were 114–120 at 175)
116117 if (second === undefined || more.length > 0) throw new UsageError('abso org new <name> [--name "<shown name>"]');
117− throw new UsageError(`${WEBSITE_ONLY}. Make ${second} at ${siteOf(server)}/orgs/new.`);
122+ `this box isn't signed in to ${originOf(server)}. abso login signs it in; approve all your projects to make organizations from here`,
127+ text: `Made the organization ${name}; you own it. Its page: ${siteOf(server)}/${name}. abso init --org ${name} --project <name> makes a project in it.`,
Lines 178–186 at 318 (were 166–174 at 175)
168180
169−/** abso init --org: making a project in an org is a website step for now. */
181+/** abso init --org with no box signed in to the server: an org's project is made as the person who approved one (abso 663). */
172− `projects in an organization are made on the website for now: New project at ${siteOf(server)}, with ${org} as its owner.`,
184+ `this box isn't signed in to ${originOf(server)}, and a project in ${org} is made as a signed-in person. abso login, approving all your projects, then abso init --org ${org} again; or New project at ${siteOf(server)}.`,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 175 318 client/src/orgs.ts --json
- JSON
- /christopher/abso-core/compare/175..318?file=client%2Fsrc%2Forgs.ts&format=json