{"file":"client/src/main.ts","version":318,"total":1194,"from":1,"to":1194,"lines":[{"n":1,"text":"// The command table and the dispatcher. main() returns what to print and the","atom":"a0","author":"init","version":0},{"n":2,"text":"// exit code instead of printing, so tests can call it directly.","atom":"a0","author":"init","version":0},{"n":3,"text":"","atom":"a0","author":"init","version":0},{"n":4,"text":"import { existsSync, readFileSync } from \"node:fs\";","atom":"a2771","author":"pinch","version":281},{"n":5,"text":"import { join, resolve } from \"node:path\";","atom":"a2771","author":"pinch","version":281},{"n":6,"text":"import { runAnnounce, runNews, runStart } from \"./announce.ts\";","atom":"a0","author":"init","version":0},{"n":7,"text":"import { ApiError } from \"./api.ts\";","atom":"a0","author":"init","version":0},{"n":8,"text":"import { bool, type FlagSpec, type Parsed, parseArgs, str, UsageError } from \"./args.ts\";","atom":"a0","author":"init","version":0},{"n":9,"text":"import { runAutosettle } from \"./autosettle-commands.ts\";","atom":"a2394","author":"autosettle","version":220},{"n":10,"text":"import { bodyFilesHelp, readBodyFiles, withBodyFiles } from \"./body-files.ts\";","atom":"a0","author":"init","version":0},{"n":11,"text":"import { boxName, boxPublic, boxText, login, loginRequest, logout, originOf, readBox } from \"./box.ts\";","atom":"a2638","author":"approvals-page","version":259},{"n":12,"text":"import { runDiff, runFiles, runLog, runRestore, runShow } from \"./changes.ts\";","atom":"a0","author":"init","version":0},{"n":13,"text":"import { runCheckIgnore } from \"./check-ignore.ts\";","atom":"a0","author":"init","version":0},{"n":14,"text":"import { runCi } from \"./ci.ts\";","atom":"a0","author":"init","version":0},{"n":15,"text":"import { clientVersion } from \"./client-version.ts\";","atom":"a743","author":"pinch","version":79},{"n":16,"text":"import {","atom":"a0","author":"init","version":0},{"n":17,"text":"\ttype Env,","atom":"a0","author":"init","version":0},{"n":18,"text":"\tEXIT,","atom":"a0","author":"init","version":0},{"n":19,"text":"\ttype Output,","atom":"a0","author":"init","version":0},{"n":20,"text":"\trunBisect,","atom":"a0","author":"init","version":0},{"n":21,"text":"\trunFetch,","atom":"a0","author":"init","version":0},{"n":22,"text":"\trunFixEol,","atom":"a0","author":"init","version":0},{"n":23,"text":"\trunInit,","atom":"a0","author":"init","version":0},{"n":24,"text":"\trunJoin,","atom":"a0","author":"init","version":0},{"n":25,"text":"\trunLogs,","atom":"a0","author":"init","version":0},{"n":26,"text":"\trunMv,","atom":"a0","author":"init","version":0},{"n":27,"text":"\trunPause,","atom":"a0","author":"init","version":0},{"n":28,"text":"\trunPrep,","atom":"a0","author":"init","version":0},{"n":29,"text":"\trunPublish,","atom":"a0","author":"init","version":0},{"n":30,"text":"\trunReader,","atom":"a0","author":"init","version":0},{"n":31,"text":"\trunRecord,","atom":"a0","author":"init","version":0},{"n":32,"text":"\trunResume,","atom":"a0","author":"init","version":0},{"n":33,"text":"\trunRun,","atom":"a0","author":"init","version":0},{"n":34,"text":"\trunServe,","atom":"a0","author":"init","version":0},{"n":35,"text":"\trunSettle,","atom":"a0","author":"init","version":0},{"n":36,"text":"\trunShot,","atom":"a0","author":"init","version":0},{"n":37,"text":"\trunStatus,","atom":"a0","author":"init","version":0},{"n":38,"text":"\trunSync,","atom":"a0","author":"init","version":0},{"n":39,"text":"\ttakeNews,","atom":"a0","author":"init","version":0},{"n":40,"text":"} from \"./commands.ts\";","atom":"a0","author":"init","version":0},{"n":41,"text":"import { configPath, findRoot, installKey, isVisitor, readConfig, runKey, tokenFile } from \"./config.ts\";","atom":"a2771","author":"pinch","version":281},{"n":42,"text":"import { newsBlockLines, newsShown } from \"./core.ts\";","atom":"a1568","author":"speed","version":156},{"n":43,"text":"import { doctor, doctorText, plainError, realProbe, whoami } from \"./doctor.ts\";","atom":"a1568","author":"speed","version":156},{"n":44,"text":"import { runDraftSync, runLand, runSwitch } from \"./drafts.ts\";","atom":"a0","author":"init","version":0},{"n":45,"text":"import { fromEnv } from \"./env-names.ts\";","atom":"a2705","author":"readspeed","version":271},{"n":46,"text":"import { runExport } from \"./export.ts\";","atom":"a0","author":"init","version":0},{"n":47,"text":"import { runFlag } from \"./flag-commands.ts\";","atom":"a2651","author":"readspeed","version":261},{"n":48,"text":"import { runGroup, runGroups } from \"./group-commands.ts\";","atom":"a2621","author":"groups","version":256},{"n":49,"text":"import { runBlame, runWhere, runWho, runWhy } from \"./history.ts\";","atom":"a0","author":"init","version":0},{"n":50,"text":"import {","atom":"a2638","author":"approvals-page","version":259},{"n":51,"text":"\topenIssues,","atom":"a2638","author":"approvals-page","version":259},{"n":52,"text":"\trunAck,","atom":"a2638","author":"approvals-page","version":259},{"n":53,"text":"\trunAnswer,","atom":"a2638","author":"approvals-page","version":259},{"n":54,"text":"\trunAsk,","atom":"a2638","author":"approvals-page","version":259},{"n":55,"text":"\trunIssue,","atom":"a2638","author":"approvals-page","version":259},{"n":56,"text":"\trunIssues,","atom":"a2638","author":"approvals-page","version":259},{"n":57,"text":"\trunReply,","atom":"a2638","author":"approvals-page","version":259},{"n":58,"text":"\trunSearch,","atom":"a2638","author":"approvals-page","version":259},{"n":59,"text":"\trunWaiting,","atom":"a2638","author":"approvals-page","version":259},{"n":60,"text":"} from \"./issues.ts\";","atom":"a2638","author":"approvals-page","version":259},{"n":61,"text":"import { adminToken, adminTokenWords, issuedPublic, keyList, keyListText, keyNew, keyRevoke } from \"./key-admin.ts\";","atom":"a2705","author":"readspeed","version":271},{"n":62,"text":"import { closeLocalStores } from \"./local-store.ts\";","atom":"a2825","author":"pinch","version":287},{"n":63,"text":"import { browserSkip, openInBrowser } from \"./open-browser.ts\";","atom":"a607","author":"speed","version":60},{"n":64,"text":"import { runOrg, runOrgs } from \"./orgs.ts\";","atom":"a2078","author":"box-grants","version":185},{"n":65,"text":"import { runUnqueue } from \"./queue.ts\";","atom":"a0","author":"init","version":0},{"n":66,"text":"import { runNote, runNotes, runReview } from \"./review.ts\";","atom":"a0","author":"init","version":0},{"n":67,"text":"import {","atom":"a1568","author":"speed","version":156},{"n":68,"text":"\tcheckFolderServer,","atom":"a1568","author":"speed","version":156},{"n":69,"text":"\tchooseServer,","atom":"a1568","author":"speed","version":156},{"n":70,"text":"\tlocalRefusal,","atom":"a1568","author":"speed","version":156},{"n":71,"text":"\tSERVER_ORDER,","atom":"a1568","author":"speed","version":156},{"n":72,"text":"\tserverFlag,","atom":"a1568","author":"speed","version":156},{"n":73,"text":"\tserverHelp,","atom":"a1568","author":"speed","version":156},{"n":74,"text":"\tserverUse,","atom":"a1568","author":"speed","version":156},{"n":75,"text":"} from \"./server-choice.ts\";","atom":"a1568","author":"speed","version":156},{"n":76,"text":"import { installSkill, SKILL, skillPath } from \"./skill.ts\";","atom":"a154","author":"pinch","version":22},{"n":77,"text":"import { stateDir } from \"./state-dir.ts\";","atom":"a2771","author":"pinch","version":281},{"n":78,"text":"import { colorsPass, terminalText } from \"./terminal-text.ts\";","atom":"a670","author":"pinch","version":74},{"n":79,"text":"import { runAmend, runDrop, runFollow, runLabel, runLabels, runPluck } from \"./versions.ts\";","atom":"a0","author":"init","version":0},{"n":80,"text":"import { runVisibility } from \"./visibility-commands.ts\";","atom":"a0","author":"init","version":0},{"n":81,"text":"import { checkVisitor } from \"./visitor.ts\";","atom":"a769","author":"pinch","version":86},{"n":82,"text":"import { handoffText, patFromFile, webLogin } from \"./web-session.ts\";","atom":"a2949","author":"box-grants","version":306},{"n":83,"text":"","atom":"a0","author":"init","version":0},{"n":84,"text":"interface CommandDef {","atom":"a0","author":"init","version":0},{"n":85,"text":"\treadonly flags: FlagSpec;","atom":"a0","author":"init","version":0},{"n":86,"text":"\treadonly usage: string;","atom":"a0","author":"init","version":0},{"n":87,"text":"\treadonly about: string;","atom":"a0","author":"init","version":0},{"n":88,"text":"\t/** Stop reading options at the first word (for `run <command...>`). */","atom":"a0","author":"init","version":0},{"n":89,"text":"\treadonly rest?: boolean;","atom":"a0","author":"init","version":0},{"n":90,"text":"\treadonly run: (args: Parsed, env: Env) => Promise<Output>;","atom":"a0","author":"init","version":0},{"n":91,"text":"}","atom":"a0","author":"init","version":0},{"n":92,"text":"","atom":"a0","author":"init","version":0},{"n":93,"text":"/** The server login, box, logout, orgs, org, whoami and doctor act on, in the order every command picks one (server-choice.ts). */","atom":"a1568","author":"speed","version":156},{"n":94,"text":"export function boxServer(args: Parsed, env: Pick<Env, \"cwd\" | \"env\">): string {","atom":"a1568","author":"speed","version":156},{"n":95,"text":"\treturn chooseServer(serverFlag(args), env.cwd, env.env);","atom":"a1568","author":"speed","version":156},{"n":96,"text":"}","atom":"a0","author":"init","version":0},{"n":97,"text":"","atom":"a0","author":"init","version":0},{"n":98,"text":"async function runKeyInstall(args: Parsed, env: Env): Promise<Output> {","atom":"a0","author":"init","version":0},{"n":99,"text":"\t// With --server, the folder is the one named (or here), before it is joined: findRoot","atom":"a0","author":"init","version":0},{"n":100,"text":"\t// could find a parent agent's folder and pin the key there.","atom":"a0","author":"init","version":0},{"n":101,"text":"\tconst server = str(args, \"server\");","atom":"a0","author":"init","version":0},{"n":102,"text":"\tconst root = server ? resolve(env.cwd, str(args, \"dir\") ?? \".\") : findRoot(env.cwd);","atom":"a0","author":"init","version":0},{"n":103,"text":"\tif (!root)","atom":"a0","author":"init","version":0},{"n":104,"text":"\t\tthrow new UsageError(\"abso key install runs inside an agent's folder, or takes --server <url> before abso join\");","atom":"a0","author":"init","version":0},{"n":105,"text":"\tconst stdin = await new Promise<string>((done, reject) => {","atom":"a0","author":"init","version":0},{"n":106,"text":"\t\tconst chunks: Buffer[] = [];","atom":"a0","author":"init","version":0},{"n":107,"text":"\t\tprocess.stdin.on(\"data\", (c) => chunks.push(c as Buffer));","atom":"a0","author":"init","version":0},{"n":108,"text":"\t\tprocess.stdin.on(\"end\", () => done(Buffer.concat(chunks).toString(\"utf8\")));","atom":"a0","author":"init","version":0},{"n":109,"text":"\t\tprocess.stdin.on(\"error\", reject);","atom":"a0","author":"init","version":0},{"n":110,"text":"\t});","atom":"a0","author":"init","version":0},{"n":111,"text":"\tconst { id } = installKey(root, stdin, server);","atom":"a0","author":"init","version":0},{"n":112,"text":"\treturn { text: `Installed agent key ${id}.`, json: { installed: id } };","atom":"a0","author":"init","version":0},{"n":113,"text":"}","atom":"a0","author":"init","version":0},{"n":114,"text":"","atom":"a0","author":"init","version":0},{"n":115,"text":"const COMMANDS: Readonly<Record<string, CommandDef>> = {","atom":"a0","author":"init","version":0},{"n":116,"text":"\tinit: {","atom":"a0","author":"init","version":0},{"n":117,"text":"\t\tflags: {","atom":"a2078","author":"box-grants","version":185},{"n":118,"text":"\t\t\tserver: \"string\",","atom":"a2078","author":"box-grants","version":185},{"n":119,"text":"\t\t\tproject: \"string\",","atom":"a2078","author":"box-grants","version":185},{"n":120,"text":"\t\t\tagent: \"string\",","atom":"a2078","author":"box-grants","version":185},{"n":121,"text":"\t\t\t\"as-is\": \"boolean\",","atom":"a2078","author":"box-grants","version":185},{"n":122,"text":"\t\t\torg: \"string\",","atom":"a2078","author":"box-grants","version":185},{"n":123,"text":"\t\t\tpublic: \"boolean\",","atom":"a2078","author":"box-grants","version":185},{"n":124,"text":"\t\t\tprivate: \"boolean\",","atom":"a2078","author":"box-grants","version":185},{"n":125,"text":"\t\t\t\"token-file\": \"boolean\",","atom":"a2686","author":"readspeed","version":268},{"n":126,"text":"\t\t\tlocal: \"boolean\",","atom":"a2825","author":"pinch","version":287},{"n":127,"text":"\t\t\tstore: \"string\",","atom":"a2825","author":"pinch","version":287},{"n":128,"text":"\t\t},","atom":"a290","author":"pinch","version":34},{"n":129,"text":"\t\tusage:","atom":"a2686","author":"readspeed","version":268},{"n":130,"text":"\t\t\t\"abso init [folder] --project <name> [--agent <name>] [--as-is] [--org <org>] [--public|--private] [--token-file] | abso init [folder] --local --project <name> [--agent <name>] [--store <folder>] [--as-is]\",","atom":"a2825","author":"pinch","version":287},{"n":131,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":132,"text":"\t\t\t\"Create a project on the server from a folder's text files. The folder becomes that agent's folder. It writes a starting .absoignore, and, when the folder has no abso.json and package.json gives a check or a build to guess, an abso.json (setup, check, build and out): what the server's CI runs on each new version of shared. Without one, CI runs what it can guess itself, or nothing. --as-is writes neither: the folder goes up exactly as it is (an import). On a server this box is signed in to (abso login, approving all your projects), the project is made as you, the way the website's New project makes it: you own it, it's private unless you say --public, and the folder joins it at once with its own key (--agent names it; else the box's name). --org <org> makes it that organization's project. Elsewhere it needs --agent and a token: ABSO_TOKEN, or with --token-file this machine's ~/.abso/token, which is never used unasked. Before it makes anything, it says what it signs in with. --local makes a local project instead: its history is kept on this machine, in a store folder, and no server, sign-in or network is needed (Node 22.13 or later). The store is --store <folder> (kept in the folder's settings; inside the folder, .absoignore leaves it out), else ABSO_STORE, else this user's data folder (%LOCALAPPDATA%\\\\abso\\\\store, ~/Library/Application Support/abso/store, or $XDG_DATA_HOME/abso/store). The agent is --agent, else this computer's name.\",","atom":"a2825","author":"pinch","version":287},{"n":133,"text":"\t\trun: (args, env) => runInit(args, env),","atom":"a2078","author":"box-grants","version":185},{"n":134,"text":"\t},","atom":"a0","author":"init","version":0},{"n":135,"text":"\tkey: {","atom":"a0","author":"init","version":0},{"n":136,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":137,"text":"\t\t\tserver: \"string\",","atom":"a0","author":"init","version":0},{"n":138,"text":"\t\t\tdir: \"string\",","atom":"a0","author":"init","version":0},{"n":139,"text":"\t\t\tproject: \"string\",","atom":"a0","author":"init","version":0},{"n":140,"text":"\t\t\tagent: \"string\",","atom":"a0","author":"init","version":0},{"n":141,"text":"\t\t\texpires: \"string\",","atom":"a0","author":"init","version":0},{"n":142,"text":"\t\t\trole: \"string\",","atom":"a0","author":"init","version":0},{"n":143,"text":"\t\t\tprint: \"boolean\",","atom":"a0","author":"init","version":0},{"n":144,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":145,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":146,"text":"\t\t\t\"abso key install [--server <url> [--dir <folder>]] | abso key new <agent> [--server <url> [--dir <folder>]] [--project <name>] [--expires <Nd>] [--role owner|writer|reader] [--print] | abso key list [--agent <name>] [--project <name>] | abso key revoke <id> [--project <name>]\",","atom":"a0","author":"init","version":0},{"n":147,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":148,"text":"\t\t\t\"install reads {key, id} from stdin into .abso/key. With --server, it writes it into a folder not joined yet, so abso join there signs in with the key. new writes the key into that folder and prints only the id; its role is writer unless --role says otherwise (a reader only reads; a writer writes on its own agent's routes; an owner also skips or revokes CI, resumes the queue, syncs git and exports); --print writes the key to stdout instead. list and revoke never print a key. These three read the admin token from ABSO_ADMIN_TOKEN or ~/.abso/admin-token and send it only to a server named in ABSO_ADMIN_SERVERS. An agent does not run them unless a person on the project says so.\",","atom":"a2771","author":"pinch","version":281},{"n":149,"text":"\t\trun: async (args, env) => {","atom":"a0","author":"init","version":0},{"n":150,"text":"\t\t\tconst sub = args.positionals[0];","atom":"a0","author":"init","version":0},{"n":151,"text":"\t\t\tif (sub === \"install\" && args.positionals.length === 1) return runKeyInstall(args, env);","atom":"a0","author":"init","version":0},{"n":152,"text":"\t\t\tconst serverFlag = str(args, \"server\");","atom":"a0","author":"init","version":0},{"n":153,"text":"\t\t\tconst root = serverFlag ? resolve(env.cwd, str(args, \"dir\") ?? \".\") : findRoot(env.cwd);","atom":"a0","author":"init","version":0},{"n":154,"text":"\t\t\tif (!root) throw new UsageError(\"abso key runs inside an agent's folder, or takes --server <url>\");","atom":"a0","author":"init","version":0},{"n":155,"text":"\t\t\tlet config: ReturnType<typeof readConfig>;","atom":"a0","author":"init","version":0},{"n":156,"text":"\t\t\ttry {","atom":"a0","author":"init","version":0},{"n":157,"text":"\t\t\t\tconfig = readConfig(root, env.env, env.tokenFile === true);","atom":"a2705","author":"readspeed","version":271},{"n":158,"text":"\t\t\t} catch {","atom":"a0","author":"init","version":0},{"n":159,"text":"\t\t\t\tconfig = {","atom":"a0","author":"init","version":0},{"n":160,"text":"\t\t\t\t\tserver: serverFlag ?? \"\",","atom":"a0","author":"init","version":0},{"n":161,"text":"\t\t\t\t\tproject: str(args, \"project\") ?? \"\",","atom":"a0","author":"init","version":0},{"n":162,"text":"\t\t\t\t\tagent: \"admin\",","atom":"a0","author":"init","version":0},{"n":163,"text":"\t\t\t\t\ttoken: fromEnv(env.env, \"TOKEN\")?.trim() || (env.tokenFile ? tokenFile() : undefined),","atom":"a2705","author":"readspeed","version":271},{"n":164,"text":"\t\t\t\t};","atom":"a0","author":"init","version":0},{"n":165,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":166,"text":"\t\t\tif (serverFlag) config = { ...config, server: serverFlag };","atom":"a0","author":"init","version":0},{"n":167,"text":"\t\t\tconst admin = adminToken(env.env);","atom":"a0","author":"init","version":0},{"n":168,"text":"\t\t\t(env.writeErr ?? env.write)(`${adminTokenWords(env.env)}\\n`);","atom":"a2705","author":"readspeed","version":271},{"n":169,"text":"\t\t\tif (sub === \"new\" && args.positionals.length === 2) {","atom":"a0","author":"init","version":0},{"n":170,"text":"\t\t\t\tconst server = str(args, \"server\") ?? config.server;","atom":"a0","author":"init","version":0},{"n":171,"text":"\t\t\t\tconst project = str(args, \"project\") ?? config.project;","atom":"a0","author":"init","version":0},{"n":172,"text":"\t\t\t\tconst expires = str(args, \"expires\");","atom":"a0","author":"init","version":0},{"n":173,"text":"\t\t\t\tconst role = str(args, \"role\");","atom":"a0","author":"init","version":0},{"n":174,"text":"\t\t\t\tif (role !== undefined && role !== \"owner\" && role !== \"writer\" && role !== \"reader\")","atom":"a0","author":"init","version":0},{"n":175,"text":"\t\t\t\t\tthrow new UsageError(\"--role is owner, writer or reader\");","atom":"a0","author":"init","version":0},{"n":176,"text":"\t\t\t\tconst issued = await keyNew({ ...config, server }, admin, args.positionals[1]!, project, expires, role);","atom":"a0","author":"init","version":0},{"n":177,"text":"\t\t\t\tconst print = bool(args, \"print\");","atom":"a0","author":"init","version":0},{"n":178,"text":"\t\t\t\tconst shown = issuedPublic(issued, print);","atom":"a0","author":"init","version":0},{"n":179,"text":"\t\t\t\tif (!print) {","atom":"a0","author":"init","version":0},{"n":180,"text":"\t\t\t\t\tconst dir = str(args, \"server\") ? resolve(env.cwd, str(args, \"dir\") ?? \".\") : root;","atom":"a0","author":"init","version":0},{"n":181,"text":"\t\t\t\t\tinstallKey(dir, JSON.stringify({ key: issued.key, id: issued.id }), server);","atom":"a0","author":"init","version":0},{"n":182,"text":"\t\t\t\t}","atom":"a0","author":"init","version":0},{"n":183,"text":"\t\t\t\treturn {","atom":"a0","author":"init","version":0},{"n":184,"text":"\t\t\t\t\ttext: print ? `${JSON.stringify({ key: issued.key, id: issued.id })}\\n` : `Made ${issued.id}.\\n`,","atom":"a0","author":"init","version":0},{"n":185,"text":"\t\t\t\t\tjson: shown,","atom":"a0","author":"init","version":0},{"n":186,"text":"\t\t\t\t};","atom":"a0","author":"init","version":0},{"n":187,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":188,"text":"\t\t\tif (sub === \"list\" && args.positionals.length === 1) {","atom":"a0","author":"init","version":0},{"n":189,"text":"\t\t\t\tconst agent = str(args, \"agent\");","atom":"a0","author":"init","version":0},{"n":190,"text":"\t\t\t\tconst project = str(args, \"project\") ?? config.project;","atom":"a0","author":"init","version":0},{"n":191,"text":"\t\t\t\tconst keys = await keyList({ ...config, server: str(args, \"server\") ?? config.server }, admin, agent, project);","atom":"a0","author":"init","version":0},{"n":192,"text":"\t\t\t\treturn { text: `${keyListText(keys)}\\n`, json: { keys } };","atom":"a0","author":"init","version":0},{"n":193,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":194,"text":"\t\t\tif (sub === \"revoke\" && args.positionals.length === 2) {","atom":"a0","author":"init","version":0},{"n":195,"text":"\t\t\t\tconst project = str(args, \"project\") ?? config.project;","atom":"a0","author":"init","version":0},{"n":196,"text":"\t\t\t\tconst id = args.positionals[1]!;","atom":"a0","author":"init","version":0},{"n":197,"text":"\t\t\t\tconst revoked = await keyRevoke(","atom":"a0","author":"init","version":0},{"n":198,"text":"\t\t\t\t\t{ ...config, server: str(args, \"server\") ?? config.server },","atom":"a0","author":"init","version":0},{"n":199,"text":"\t\t\t\t\tadmin,","atom":"a0","author":"init","version":0},{"n":200,"text":"\t\t\t\t\tid,","atom":"a0","author":"init","version":0},{"n":201,"text":"\t\t\t\t\tproject,","atom":"a0","author":"init","version":0},{"n":202,"text":"\t\t\t\t);","atom":"a0","author":"init","version":0},{"n":203,"text":"\t\t\t\treturn { text: revoked ? `Revoked ${id}.\\n` : `No key ${id}.\\n`, json: { id, revoked } };","atom":"a0","author":"init","version":0},{"n":204,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":205,"text":"\t\t\tthrow new UsageError(\"abso key install | abso key new <agent> | abso key list | abso key revoke <id>\");","atom":"a0","author":"init","version":0},{"n":206,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":207,"text":"\t},","atom":"a0","author":"init","version":0},{"n":208,"text":"\tlogin: {","atom":"a0","author":"init","version":0},{"n":209,"text":"\t\tflags: {","atom":"a921","author":"codex-mac-1","version":102},{"n":210,"text":"\t\t\tserver: \"string\",","atom":"a921","author":"codex-mac-1","version":102},{"n":211,"text":"\t\t\t\"no-browser\": \"boolean\",","atom":"a921","author":"codex-mac-1","version":102},{"n":212,"text":"\t\t\t\"no-ask\": \"boolean\",","atom":"a2638","author":"approvals-page","version":259},{"n":213,"text":"\t\t\tprojects: \"string\",","atom":"a921","author":"codex-mac-1","version":102},{"n":214,"text":"\t\t\trole: \"string\",","atom":"a921","author":"codex-mac-1","version":102},{"n":215,"text":"\t\t\tdays: \"string\",","atom":"a921","author":"codex-mac-1","version":102},{"n":216,"text":"\t\t\tweb: \"boolean\",","atom":"a2927","author":"box-grants","version":302},{"n":217,"text":"\t\t\tsite: \"string\",","atom":"a2927","author":"box-grants","version":302},{"n":218,"text":"\t\t\t\"pat-file\": \"string\",","atom":"a2927","author":"box-grants","version":302},{"n":219,"text":"\t\t},","atom":"a921","author":"codex-mac-1","version":102},{"n":220,"text":"\t\tusage:","atom":"a2638","author":"approvals-page","version":259},{"n":221,"text":"\t\t\t\"abso login [--no-browser] [--no-ask] [--projects <name,name>] [--role <reader|writer|owner>] [--days <1-90>] | abso login --web [--pat-file <file> [--site http://localhost:<port>]]\",","atom":"a2952","author":"box-grants","version":306},{"n":222,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":223,"text":"\t\t\t\"Sign this box in once: it opens the approve page in your browser with the code filled in, prints the link and the code too, and waits while a person approves the code on the website, choosing the projects, the highest role and how long. Then abso join in any of those projects gives each agent its own key, with no approval. The box's sign-in is kept in your user folder, never in a project folder, and is never printed. No browser opens with --no-browser or ABSO_NO_BROWSER, over SSH, under CI, or on Linux without a display. In an agent's folder on the same server, it also asks a person in that project to approve it (the person who approved the agent's box, else the project's owners), as an abso ask, so nobody has to relay the code; the box can then be granted that project at no more than the agent's own role. --no-ask shows the code only. --web, on staging only, signs a browser in to the website instead: it prints a link that works once, within a minute, and signs whichever browser opens it in as the person who approved this box, but only to the projects the box was granted and at most as a writer, until the box is revoked or ends (or, with --pat-file, as the test account whose PAT that file holds, at most as a writer). It writes issues, replies, answers, groups and announcements, and changes no members, roles, visibility, keys, boxes or settings. The box's sign-in, the PAT and the session never appear. It goes only to the staging website beside this folder's staging server; any other server, prod included, is refused and nothing is sent. --site, with --pat-file only, points it at a website on this machine (http://localhost or 127.0.0.1).\",","atom":"a2952","author":"box-grants","version":306},{"n":224,"text":"\t\trun: async (args, env) => {","atom":"a0","author":"init","version":0},{"n":225,"text":"\t\t\tconst server = boxServer(args, env);","atom":"a0","author":"init","version":0},{"n":226,"text":"\t\t\tif (bool(args, \"web\")) {","atom":"a2927","author":"box-grants","version":302},{"n":227,"text":"\t\t\t\tconst patFile = str(args, \"pat-file\");","atom":"a2927","author":"box-grants","version":302},{"n":228,"text":"\t\t\t\tconst { handoff, site } = await webLogin({","atom":"a2943","author":"box-grants","version":306},{"n":229,"text":"\t\t\t\t\tserver,","atom":"a2943","author":"box-grants","version":306},{"n":230,"text":"\t\t\t\t\tsite: str(args, \"site\"),","atom":"a2943","author":"box-grants","version":306},{"n":231,"text":"\t\t\t\t\tkind: patFile === undefined ? \"box\" : \"pat\",","atom":"a2949","author":"box-grants","version":306},{"n":232,"text":"\t\t\t\t\tcredential: () => {","atom":"a2943","author":"box-grants","version":306},{"n":233,"text":"\t\t\t\t\t\tif (patFile !== undefined) return patFromFile(patFile);","atom":"a2949","author":"box-grants","version":306},{"n":234,"text":"\t\t\t\t\t\tconst record = readBox(server);","atom":"a2943","author":"box-grants","version":306},{"n":235,"text":"\t\t\t\t\t\tif (record === undefined || record.expiresAt <= Date.now())","atom":"a2943","author":"box-grants","version":306},{"n":236,"text":"\t\t\t\t\t\t\tthrow new UsageError(`this box isn't signed in to ${server}: abso login first, or --pat-file <file>`);","atom":"a2943","author":"box-grants","version":306},{"n":237,"text":"\t\t\t\t\t\treturn record.credential;","atom":"a2949","author":"box-grants","version":306},{"n":238,"text":"\t\t\t\t\t},","atom":"a2943","author":"box-grants","version":306},{"n":239,"text":"\t\t\t\t});","atom":"a2943","author":"box-grants","version":306},{"n":240,"text":"\t\t\t\treturn { text: handoffText(handoff, site, patFile === undefined), json: { ...handoff } };","atom":"a2936","author":"box-grants","version":304},{"n":241,"text":"\t\t\t}","atom":"a2927","author":"box-grants","version":302},{"n":242,"text":"\t\t\tconst open =","atom":"a607","author":"speed","version":60},{"n":243,"text":"\t\t\t\tbool(args, \"no-browser\") || browserSkip(env.env, process.platform) !== null","atom":"a607","author":"speed","version":60},{"n":244,"text":"\t\t\t\t\t? undefined","atom":"a607","author":"speed","version":60},{"n":245,"text":"\t\t\t\t\t: (url: string) => openInBrowser(url);","atom":"a607","author":"speed","version":60},{"n":246,"text":"\t\t\tconst record = await login(server, {","atom":"a670","author":"pinch","version":74},{"n":247,"text":"\t\t\t\task: bool(args, \"no-ask\") ? undefined : loginAsk(server, env),","atom":"a2638","author":"approvals-page","version":259},{"n":248,"text":"\t\t\t\trequest: loginRequest(args),","atom":"a921","author":"codex-mac-1","version":102},{"n":249,"text":"\t\t\t\tsay: (line) => process.stderr.write(terminalText(`${line}\\n`, colorsPass(process.stderr, env.env))),","atom":"a670","author":"pinch","version":74},{"n":250,"text":"\t\t\t\topen,","atom":"a670","author":"pinch","version":74},{"n":251,"text":"\t\t\t});","atom":"a670","author":"pinch","version":74},{"n":252,"text":"\t\t\treturn {","atom":"a0","author":"init","version":0},{"n":253,"text":"\t\t\t\ttext: `This box is signed in. ${boxText(record, server).split(\"\\n\").slice(1).join(\" \")}`,","atom":"a0","author":"init","version":0},{"n":254,"text":"\t\t\t\tjson: { box: boxPublic(record) },","atom":"a0","author":"init","version":0},{"n":255,"text":"\t\t\t};","atom":"a0","author":"init","version":0},{"n":256,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":257,"text":"\t},","atom":"a0","author":"init","version":0},{"n":258,"text":"\tbox: {","atom":"a0","author":"init","version":0},{"n":259,"text":"\t\tflags: { server: \"string\" },","atom":"a0","author":"init","version":0},{"n":260,"text":"\t\tusage: \"abso box\",","atom":"a1542","author":"speed","version":155},{"n":261,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":262,"text":"\t\t\t\"What this box's sign-in allows: its projects, the highest role its agents may have, how many agents it has made and may make, and when it expires. Never the credential.\",","atom":"a0","author":"init","version":0},{"n":263,"text":"\t\trun: async (args, env) => {","atom":"a0","author":"init","version":0},{"n":264,"text":"\t\t\tconst server = boxServer(args, env);","atom":"a0","author":"init","version":0},{"n":265,"text":"\t\t\tconst record = readBox(server);","atom":"a0","author":"init","version":0},{"n":266,"text":"\t\t\treturn { text: boxText(record, server), json: { box: boxPublic(record) } };","atom":"a0","author":"init","version":0},{"n":267,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":268,"text":"\t},","atom":"a0","author":"init","version":0},{"n":269,"text":"\twhoami: {","atom":"a681","author":"speed","version":76},{"n":270,"text":"\t\tflags: { server: \"string\" },","atom":"a681","author":"speed","version":76},{"n":271,"text":"\t\tusage: \"abso whoami\",","atom":"a1543","author":"speed","version":155},{"n":272,"text":"\t\tabout:","atom":"a681","author":"speed","version":76},{"n":273,"text":"\t\t\t\"Who and where you're signed in: this box's sign-in, as the server sees it (so a revoked one shows), its projects, roles and expiry, and this folder's project, agent and kind of key. Never a credential.\",","atom":"a1568","author":"speed","version":156},{"n":274,"text":"\t\trun: async (args, env) => {","atom":"a681","author":"speed","version":76},{"n":275,"text":"\t\t\tconst out = await whoami(boxServer(args, env), env.cwd, env.env, realProbe());","atom":"a1568","author":"speed","version":156},{"n":276,"text":"\t\t\treturn { text: out.text, json: out.json };","atom":"a681","author":"speed","version":76},{"n":277,"text":"\t\t},","atom":"a681","author":"speed","version":76},{"n":278,"text":"\t},","atom":"a681","author":"speed","version":76},{"n":279,"text":"\tdoctor: {","atom":"a681","author":"speed","version":76},{"n":280,"text":"\t\tflags: { server: \"string\" },","atom":"a681","author":"speed","version":76},{"n":281,"text":"\t\tusage: \"abso doctor\",","atom":"a1544","author":"speed","version":155},{"n":282,"text":"\t\tabout:","atom":"a681","author":"speed","version":76},{"n":283,"text":"\t\t\t\"Checks what commands need, one line each: Node's version, that the server answers, this box's sign-in (present, unexpired, accepted), and this folder's key against its project. A failed check says what to do next, and the exit is 1. Never prints a credential.\",","atom":"a1568","author":"speed","version":156},{"n":284,"text":"\t\trun: async (args, env) => {","atom":"a681","author":"speed","version":76},{"n":285,"text":"\t\t\tconst checks = await doctor(boxServer(args, env), env.cwd, env.env, realProbe());","atom":"a1568","author":"speed","version":156},{"n":286,"text":"\t\t\tconst failed = checks.some((c) => c.result === \"fail\");","atom":"a681","author":"speed","version":76},{"n":287,"text":"\t\t\treturn { text: doctorText(checks), json: { checks }, ...(failed ? { exit: EXIT.error } : {}) };","atom":"a681","author":"speed","version":76},{"n":288,"text":"\t\t},","atom":"a681","author":"speed","version":76},{"n":289,"text":"\t},","atom":"a681","author":"speed","version":76},{"n":290,"text":"\tlogout: {","atom":"a0","author":"init","version":0},{"n":291,"text":"\t\tflags: { server: \"string\" },","atom":"a0","author":"init","version":0},{"n":292,"text":"\t\tusage: \"abso logout\",","atom":"a1545","author":"speed","version":155},{"n":293,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":294,"text":"\t\t\t\"End this box's sign-in on the server and forget it here. Keys its agents already have stop working with it.\",","atom":"a0","author":"init","version":0},{"n":295,"text":"\t\trun: async (args, env) => {","atom":"a0","author":"init","version":0},{"n":296,"text":"\t\t\tconst server = boxServer(args, env);","atom":"a0","author":"init","version":0},{"n":297,"text":"\t\t\tconst record = readBox(server);","atom":"a0","author":"init","version":0},{"n":298,"text":"\t\t\tif (!record) return { text: `This box isn't signed in to ${server}.`, json: { loggedOut: false } };","atom":"a0","author":"init","version":0},{"n":299,"text":"\t\t\tconst ended = await logout(record);","atom":"a0","author":"init","version":0},{"n":300,"text":"\t\t\treturn {","atom":"a0","author":"init","version":0},{"n":301,"text":"\t\t\t\ttext: ended","atom":"a0","author":"init","version":0},{"n":302,"text":"\t\t\t\t\t? `Signed this box out of ${record.server}.`","atom":"a0","author":"init","version":0},{"n":303,"text":"\t\t\t\t\t: `Forgot this box's sign-in here, but ${record.server} couldn't be reached to end it. Revoke the box on the website.`,","atom":"a0","author":"init","version":0},{"n":304,"text":"\t\t\t\tjson: { loggedOut: true, ended },","atom":"a0","author":"init","version":0},{"n":305,"text":"\t\t\t};","atom":"a154","author":"pinch","version":22},{"n":306,"text":"\t\t},","atom":"a154","author":"pinch","version":22},{"n":307,"text":"\t},","atom":"a290","author":"pinch","version":34},{"n":308,"text":"\torgs: {","atom":"a290","author":"pinch","version":34},{"n":309,"text":"\t\tflags: { server: \"string\" },","atom":"a290","author":"pinch","version":34},{"n":310,"text":"\t\tusage: \"abso orgs\",","atom":"a1546","author":"speed","version":155},{"n":311,"text":"\t\tabout:","atom":"a290","author":"pinch","version":34},{"n":312,"text":"\t\t\t\"Your organizations and your role in each, and invitations waiting for you. It reads as the person who approved this box's sign-in (abso login).\",","atom":"a290","author":"pinch","version":34},{"n":313,"text":"\t\trun: (args, env) => runOrgs(boxServer(args, env)),","atom":"a290","author":"pinch","version":34},{"n":314,"text":"\t},","atom":"a290","author":"pinch","version":34},{"n":315,"text":"\torg: {","atom":"a290","author":"pinch","version":34},{"n":316,"text":"\t\tflags: {","atom":"a290","author":"pinch","version":34},{"n":317,"text":"\t\t\tserver: \"string\",","atom":"a290","author":"pinch","version":34},{"n":318,"text":"\t\t\tname: \"string\",","atom":"a290","author":"pinch","version":34},{"n":319,"text":"\t\t\tinvite: \"string\",","atom":"a290","author":"pinch","version":34},{"n":320,"text":"\t\t\tas: \"string\",","atom":"a290","author":"pinch","version":34},{"n":321,"text":"\t\t\trole: \"string\",","atom":"a290","author":"pinch","version":34},{"n":322,"text":"\t\t\tremove: \"string\",","atom":"a290","author":"pinch","version":34},{"n":323,"text":"\t\t\tleave: \"boolean\",","atom":"a290","author":"pinch","version":34},{"n":324,"text":"\t\t\tmembers: \"string\",","atom":"a290","author":"pinch","version":34},{"n":325,"text":"\t\t\t\"projects-by\": \"string\",","atom":"a290","author":"pinch","version":34},{"n":326,"text":"\t\t},","atom":"a290","author":"pinch","version":34},{"n":327,"text":"\t\tusage:","atom":"a290","author":"pinch","version":34},{"n":328,"text":"\t\t\t\"abso org <name> [--invite <person>|link [--as owner] | --role <person>=owner|member | --remove <person> | --leave | --members read|write | --projects-by members|owners] | abso org new <name> [--name <shown name>]\",","atom":"a290","author":"pinch","version":34},{"n":329,"text":"\t\tabout:","atom":"a290","author":"pinch","version":34},{"n":330,"text":"\t\t\t\"An organization: its projects, people, open invites and settings, as the person who approved this box's sign-in sees them (people and settings only to members). One change at a time. abso org new makes one as that person, from a box approved for all their projects; other changes are made on the website, and abso says where.\",","atom":"a2078","author":"box-grants","version":185},{"n":331,"text":"\t\trun: (args, env) => runOrg(args, boxServer(args, env)),","atom":"a290","author":"pinch","version":34},{"n":332,"text":"\t},","atom":"a154","author":"pinch","version":22},{"n":333,"text":"\tskill: {","atom":"a154","author":"pinch","version":22},{"n":334,"text":"\t\tflags: { dir: \"string\" },","atom":"a154","author":"pinch","version":22},{"n":335,"text":"\t\tusage: \"abso skill install [--dir <skills folder>] | abso skill show\",","atom":"a154","author":"pinch","version":22},{"n":336,"text":"\t\tabout:","atom":"a154","author":"pinch","version":22},{"n":337,"text":"\t\t\t\"The abso skill for Claude Code: how to work in an abso folder, and what never to share. install writes it to ~/.claude/skills/abso/SKILL.md (--dir names another skills folder) and changes no settings; run it again after updating abso. show prints it.\",","atom":"a154","author":"pinch","version":22},{"n":338,"text":"\t\trun: async (args, env) => {","atom":"a154","author":"pinch","version":22},{"n":339,"text":"\t\t\tconst [verb, ...more] = args.positionals;","atom":"a154","author":"pinch","version":22},{"n":340,"text":"\t\t\tif (verb === \"show\" && more.length === 0) return { text: SKILL, json: { skill: SKILL } };","atom":"a154","author":"pinch","version":22},{"n":341,"text":"\t\t\tif (verb !== \"install\" || more.length > 0)","atom":"a154","author":"pinch","version":22},{"n":342,"text":"\t\t\t\tthrow new UsageError(\"abso skill install [--dir <skills folder>] | abso skill show\");","atom":"a154","author":"pinch","version":22},{"n":343,"text":"\t\t\tconst path = skillPath(str(args, \"dir\"), env.cwd);","atom":"a154","author":"pinch","version":22},{"n":344,"text":"\t\t\tconst done = installSkill(path);","atom":"a154","author":"pinch","version":22},{"n":345,"text":"\t\t\tconst said = { installed: \"Installed\", updated: \"Updated\", current: \"Already current:\" }[done];","atom":"a154","author":"pinch","version":22},{"n":346,"text":"\t\t\treturn {","atom":"a154","author":"pinch","version":22},{"n":347,"text":"\t\t\t\ttext: `${said} the abso skill at ${path}. New Claude Code sessions load it.`,","atom":"a154","author":"pinch","version":22},{"n":348,"text":"\t\t\t\tjson: { path, done },","atom":"a154","author":"pinch","version":22},{"n":349,"text":"\t\t\t};","atom":"a0","author":"init","version":0},{"n":350,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":351,"text":"\t},","atom":"a0","author":"init","version":0},{"n":352,"text":"\tjoin: {","atom":"a0","author":"init","version":0},{"n":353,"text":"\t\tflags: {","atom":"a2825","author":"pinch","version":287},{"n":354,"text":"\t\t\tserver: \"string\",","atom":"a2825","author":"pinch","version":287},{"n":355,"text":"\t\t\tagent: \"string\",","atom":"a2825","author":"pinch","version":287},{"n":356,"text":"\t\t\tdir: \"string\",","atom":"a2825","author":"pinch","version":287},{"n":357,"text":"\t\t\treader: \"boolean\",","atom":"a2825","author":"pinch","version":287},{"n":358,"text":"\t\t\t\"token-file\": \"boolean\",","atom":"a2825","author":"pinch","version":287},{"n":359,"text":"\t\t\tlocal: \"boolean\",","atom":"a2825","author":"pinch","version":287},{"n":360,"text":"\t\t\tstore: \"string\",","atom":"a2825","author":"pinch","version":287},{"n":361,"text":"\t\t},","atom":"a2825","author":"pinch","version":287},{"n":362,"text":"\t\tusage:","atom":"a2825","author":"pinch","version":287},{"n":363,"text":"\t\t\t\"abso join <project> [--agent <name>] [--dir <folder>] [--reader] [--token-file] | abso join <project> --local [--agent <name>] [--store <folder>] [--dir <folder>]\",","atom":"a2825","author":"pinch","version":287},{"n":364,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":365,"text":"\t\t\t\"Join a project as a new agent and write its shared files into a folder: --dir, else here when this folder is empty, else ./<project> (which has to be new or empty). Without --agent the agent is named after this box (the name abso login gave it, lower-cased), or the next free <name>-2, <name>-3; that needs the box signed in with abso login. --reader joins as a reader: it reads everything and records nothing, and the server refuses its edits, records and pushes. With --reader and no sign-in, a public project is joined to read signed out: the folder holds only its settings, sends no sign-in, and runs status, log, show, files, blame, why, where, issues, issue and search; every other command is refused. It says what it signs in with: a new key from this box's sign-in, the folder's key, or ABSO_TOKEN; this machine's ~/.abso/token only with --token-file, never unasked. --local joins a local project (abso init --local) from the same store: --store, else ABSO_STORE, else this user's data folder; the agent is --agent, else this computer's name.\",","atom":"a2825","author":"pinch","version":287},{"n":366,"text":"\t\trun: runJoin,","atom":"a0","author":"init","version":0},{"n":367,"text":"\t},","atom":"a0","author":"init","version":0},{"n":368,"text":"\trecord: {","atom":"a0","author":"init","version":0},{"n":369,"text":"\t\tflags: { all: \"boolean\", binary: \"string\" },","atom":"a0","author":"init","version":0},{"n":370,"text":"\t\tusage: \"abso record [--all]\",","atom":"a0","author":"init","version":0},{"n":371,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":372,"text":"\t\t\t\"Send every file that changed since the server last heard about it (--all: every file). For edits the hook did not see.\",","atom":"a0","author":"init","version":0},{"n":373,"text":"\t\trun: runRecord,","atom":"a0","author":"init","version":0},{"n":374,"text":"\t},","atom":"a0","author":"init","version":0},{"n":375,"text":"\tpush: {","atom":"a826","author":"rename","version":100},{"n":376,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":377,"text":"\t\t\tmessage: \"string\",","atom":"a0","author":"init","version":0},{"n":378,"text":"\t\t\tbinary: \"string\",","atom":"a0","author":"init","version":0},{"n":379,"text":"\t\t\t\"as-is\": \"boolean\",","atom":"a0","author":"init","version":0},{"n":380,"text":"\t\t\tcheck: \"optional\",","atom":"a0","author":"init","version":0},{"n":381,"text":"\t\t\tbox: \"string\",","atom":"a0","author":"init","version":0},{"n":382,"text":"\t\t\twait: \"string\",","atom":"a0","author":"init","version":0},{"n":383,"text":"\t\t\t\"no-wait\": \"boolean\",","atom":"a0","author":"init","version":0},{"n":384,"text":"\t\t\tdone: \"boolean\",","atom":"a0","author":"init","version":0},{"n":385,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":386,"text":"\t\tusage: 'abso push -m \"<why>\" [--as-is] [--check [\"<command>\"]] [--wait <seconds> | --no-wait] [--done]',","atom":"a826","author":"rename","version":100},{"n":387,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":388,"text":"\t\t\t'Record, then add your draft to shared. Refused when it collides with work pushed since your last pull, or when lines a pull showed changed on both sides are still untouched (--as-is pushes both sides\\' lines anyway). --check \"<command>\" (e.g. --check \"npm run typecheck\") first pulls, then runs the command in your box on your draft with newest shared, and pushes only if it exits 0, so two changes that each pass alone can\\'t turn shared red. --check alone runs the \"build\" and then the \"check\" in the project\\'s abso.json (your draft\\'s copy), as the server does on each new version. With the merge queue on (\"queue\": true in abso.json), a push to shared is queued and lands only once the project\\'s check passes on shared with it on top: push waits up to 100 s for that (--wait <seconds> changes it, --no-wait returns at once), then says it landed (exit 0), was turned back with the check\\'s output (exit 2, its changes still in your draft), or is still queued (exit 3; the outcome comes as news). --check alone is skipped then, since the queue runs the check. --done takes your start note back once it\\'s pushed: this push finishes that work.',","atom":"a2771","author":"pinch","version":281},{"n":389,"text":"\t\trun: runPublish,","atom":"a0","author":"init","version":0},{"n":390,"text":"\t},","atom":"a0","author":"init","version":0},{"n":391,"text":"\tbisect: {","atom":"a0","author":"init","version":0},{"n":392,"text":"\t\tflags: { good: \"string\", bad: \"string\", box: \"string\" },","atom":"a0","author":"init","version":0},{"n":393,"text":"\t\tusage: \"abso bisect [--good <version>] [--bad <version>] -- <program> <arg...>\",","atom":"a0","author":"init","version":0},{"n":394,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":395,"text":"\t\t\t\"The first version where a check fails: runs it in your box at versions of your folder's space (as abso run --at does) and prints that version, its author and message. --bad is the newest by default; without --good it steps back in doubling steps until one passes, then halves the gap. A run that exits 0 passes; exit 125 means it can't be tested (as in git bisect run), so that version is skipped, and if skips leave the answer open it names the range. About log2(versions) runs; your folder is never touched.\",","atom":"a0","author":"init","version":0},{"n":396,"text":"\t\trest: true,","atom":"a0","author":"init","version":0},{"n":397,"text":"\t\trun: runBisect,","atom":"a0","author":"init","version":0},{"n":398,"text":"\t},","atom":"a0","author":"init","version":0},{"n":399,"text":"\treader: {","atom":"a0","author":"init","version":0},{"n":400,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":401,"text":"\t\tusage: \"abso reader on|off\",","atom":"a0","author":"init","version":0},{"n":402,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":403,"text":"\t\t\t\"Make this folder's agent a reader, which reads everything and records nothing (the server refuses its edits, records and pushes), or a writer again. Refused while it has unpushed or parked work.\",","atom":"a826","author":"rename","version":100},{"n":404,"text":"\t\trun: runReader,","atom":"a0","author":"init","version":0},{"n":405,"text":"\t},","atom":"a0","author":"init","version":0},{"n":406,"text":"\tsettle: {","atom":"a0","author":"init","version":0},{"n":407,"text":"\t\tflags: { yours: \"boolean\", theirs: \"boolean\", both: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":408,"text":"\t\tusage: \"abso settle <file...> --yours|--theirs|--both\",","atom":"a0","author":"init","version":0},{"n":409,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":410,"text":"\t\t\t\"Settle the collisions a pull marked in these files: each marker block becomes your lines, theirs, or both (yours first), then it records. abso status lists the files with markers.\",","atom":"a826","author":"rename","version":100},{"n":411,"text":"\t\trun: runSettle,","atom":"a0","author":"init","version":0},{"n":412,"text":"\t},","atom":"a0","author":"init","version":0},{"n":413,"text":"\tpull: {","atom":"a826","author":"rename","version":100},{"n":414,"text":"\t\tflags: { verbose: \"boolean\", full: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":415,"text":"\t\tusage: \"abso pull [--full]\",","atom":"a826","author":"rename","version":100},{"n":416,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":417,"text":"\t\t\t\"Record, then bring shared's new work into the folder. Lines changed on both sides are listed as collisions to settle. --full writes any file of yours the folder is missing, not only what changed since your last pull.\",","atom":"a826","author":"rename","version":100},{"n":418,"text":"\t\trun: runSync,","atom":"a0","author":"init","version":0},{"n":419,"text":"\t},","atom":"a0","author":"init","version":0},{"n":420,"text":"\trun: {","atom":"a0","author":"init","version":0},{"n":421,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":422,"text":"\t\t\tdetach: \"boolean\",","atom":"a0","author":"init","version":0},{"n":423,"text":"\t\t\treplace: \"boolean\",","atom":"a0","author":"init","version":0},{"n":424,"text":"\t\t\tfresh: \"boolean\",","atom":"a0","author":"init","version":0},{"n":425,"text":"\t\t\tparallel: \"boolean\",","atom":"a0","author":"init","version":0},{"n":426,"text":"\t\t\tat: \"string\",","atom":"a0","author":"init","version":0},{"n":427,"text":"\t\t\tfiles: \"string\",","atom":"a0","author":"init","version":0},{"n":428,"text":"\t\t\tfetch: \"string\",","atom":"a0","author":"init","version":0},{"n":429,"text":"\t\t\tbox: \"string\",","atom":"a0","author":"init","version":0},{"n":430,"text":"\t\t\twith: \"string\",","atom":"a0","author":"init","version":0},{"n":431,"text":"\t\t\tquiet: \"boolean\",","atom":"a0","author":"init","version":0},{"n":432,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":433,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":434,"text":"\t\t\t'abso run [--detach] [--replace] [--fresh] [--box <name>] [--at <version> [--files <glob>]] <command...> | abso run ... -- <program> <arg...> | abso run --parallel \"<command>\" \"<command>\"...',","atom":"a0","author":"init","version":0},{"n":435,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":436,"text":"\t\t\t\"Send the folder to this agent's box, run the command there, and stream its output back. Exits with the command's code. After --, each word goes to the program exactly as typed (quotes, backslashes, regex text); without --, the words are one shell command. The box's stderr comes out on stderr. --detach starts it and prints its id without waiting. While a run is still going in the box, a new one is refused (409, naming it), since it would replace the files under it; --replace stops the old one first. --parallel runs each quoted command at once in the box (one upload), labels each line [1], [2], ..., ends with each one's exit code, and exits with the worst. --at <version> runs that version of the folder's space instead of the folder (for bisecting); with --files <glob>, only the matching files are taken from that version. The folder is never touched. --fetch <glob>[,<glob>...] brings matching files from the box's /w back after the run (see abso fetch); several globs go in one argument, comma-separated (--fetch 'shots/*.png,out/*.json'), as for --files and --with. The box's /w is replaced by your folder on every run; the rest of the box (/tmp, ~/.cache, /w/node_modules) lasts between runs until the box stops (idle 30 minutes, or restarted). abso's own notices go to stderr, apart from the command's output; --quiet drops them (the command's own stderr still comes through). --with <box path>=<local path>[,...] adds files (or a folder's files) for this run only: they go to the box and are never written to your folder or recorded, for an A/B run that leaves the project alone. --box <name> (or ABSO_BOX=<name>) runs in another box of yours, with its own /w and state, so a subagent's runs and yours don't wait on each other; logs and fetch take --box too. After abso prep, a fresh box starts from the prep; --fresh starts this run from the plain image instead.\",","atom":"a2771","author":"pinch","version":281},{"n":437,"text":"\t\trest: true,","atom":"a0","author":"init","version":0},{"n":438,"text":"\t\trun: runRun,","atom":"a0","author":"init","version":0},{"n":439,"text":"\t},","atom":"a0","author":"init","version":0},{"n":440,"text":"\tserve: {","atom":"a0","author":"init","version":0},{"n":441,"text":"\t\tflags: { version: \"string\", build: \"string\", out: \"string\" },","atom":"a0","author":"init","version":0},{"n":442,"text":"\t\tusage: 'abso serve [--version <n>] [--build \"<command>\"] [--out <folder>]',","atom":"a0","author":"init","version":0},{"n":443,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":444,"text":"\t\t\t\"A preview of one version of shared (the newest by default) at a stable URL that needs no token, for playing a fixed build in a browser with no local server and no sound on this machine. The server builds it once per version (npm ci, then vite build --base ./ into dist; --build and --out change that) and keeps the newest 10 builds. Asking again for a built version answers at once.\",","atom":"a0","author":"init","version":0},{"n":445,"text":"\t\trun: runServe,","atom":"a0","author":"init","version":0},{"n":446,"text":"\t},","atom":"a0","author":"init","version":0},{"n":447,"text":"\tmv: {","atom":"a0","author":"init","version":0},{"n":448,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":449,"text":"\t\tusage: \"abso mv <from> <to>\",","atom":"a0","author":"init","version":0},{"n":450,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":451,"text":"\t\t\t\"Move a file in your draft, its lines keeping their history (as git mv), recorded as a move rather than guessed from the folder. The way to change a file's case: README.md and readme.md are one file in abso, and a write under another spelling goes to the existing one, with a warning that names abso mv. It reaches shared with your next push.\",","atom":"a826","author":"rename","version":100},{"n":452,"text":"\t\trun: runMv,","atom":"a0","author":"init","version":0},{"n":453,"text":"\t},","atom":"a0","author":"init","version":0},{"n":454,"text":"\treview: {","atom":"a0","author":"init","version":0},{"n":455,"text":"\t\tflags: { since: \"string\" },","atom":"a0","author":"init","version":0},{"n":456,"text":"\t\tusage: \"abso review [<id> | v<version> | <agent>] [--since <position|2h>]\",","atom":"a0","author":"init","version":0},{"n":457,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":458,"text":"\t\t\t\"Review is reading what landed. With no change: the changes with anything new since you last looked, newest first (a change is one start note's work, a named draft's, or a lone push), and the mark moves on; --since 2h (or a log position) looks further back without moving it. With a change id, v<version> (the change holding that version of shared) or an agent (its newest change): that change's page, with what it set out to do, its versions, what it settled, its reviewers and its notes.\",","atom":"a826","author":"rename","version":100},{"n":459,"text":"\t\trun: runReview,","atom":"a0","author":"init","version":0},{"n":460,"text":"\t},","atom":"a0","author":"init","version":0},{"n":461,"text":"\tnote: {","atom":"a0","author":"init","version":0},{"n":462,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":463,"text":"\t\t\tobject: \"boolean\",","atom":"a0","author":"init","version":0},{"n":464,"text":"\t\t\tread: \"boolean\",","atom":"a0","author":"init","version":0},{"n":465,"text":"\t\t\tdraft: \"string\",","atom":"a0","author":"init","version":0},{"n":466,"text":"\t\t\tat: \"string\",","atom":"a0","author":"init","version":0},{"n":467,"text":"\t\t\treply: \"string\",","atom":"a0","author":"init","version":0},{"n":468,"text":"\t\t\tclose: \"string\",","atom":"a0","author":"init","version":0},{"n":469,"text":"\t\t\tresolved: \"boolean\",","atom":"a0","author":"init","version":0},{"n":470,"text":"\t\t\twithdrawn: \"boolean\",","atom":"a0","author":"init","version":0},{"n":471,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":472,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":473,"text":"\t\t\t'abso note <file>:<line>[-<line>] \"<text>\" [--object | --read] [--draft <agent> | --at <version>] | abso note --reply <id> \"<text>\" | abso note --close <id> --resolved|--withdrawn',","atom":"a0","author":"init","version":0},{"n":474,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":475,"text":"\t\t\t\"A note on lines: it sits on those lines and follows them as the file changes. The lines' authors and the change's agent hear it as news. The line numbers are as your folder shows the file (it records first); --draft <agent> notes their unpushed work as their draft shows it, --at <version> a version of shared. --object asks for a fix (it shows as addressed once all its lines change); --read says you read it, telling nobody. --reply answers a note; --close closes one of yours.\",","atom":"a826","author":"rename","version":100},{"n":476,"text":"\t\trun: runNote,","atom":"a0","author":"init","version":0},{"n":477,"text":"\t},","atom":"a0","author":"init","version":0},{"n":478,"text":"\tnotes: {","atom":"a0","author":"init","version":0},{"n":479,"text":"\t\tflags: { change: \"string\", all: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":480,"text":"\t\tusage: \"abso notes [file] [--change <id>] [--all]\",","atom":"a0","author":"init","version":0},{"n":481,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":482,"text":"\t\t\t\"The open notes, on a file or a change, with their replies and where their lines are now. --all includes closed, addressed and outdated ones.\",","atom":"a0","author":"init","version":0},{"n":483,"text":"\t\trun: runNotes,","atom":"a0","author":"init","version":0},{"n":484,"text":"\t},","atom":"a0","author":"init","version":0},{"n":485,"text":"\tissues: {","atom":"a0","author":"init","version":0},{"n":486,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":487,"text":"\t\t\topen: \"boolean\",","atom":"a0","author":"init","version":0},{"n":488,"text":"\t\t\tstatus: \"string\",","atom":"a0","author":"init","version":0},{"n":489,"text":"\t\t\tagent: \"string\",","atom":"a0","author":"init","version":0},{"n":490,"text":"\t\t\tparent: \"string\",","atom":"a0","author":"init","version":0},{"n":491,"text":"\t\t\tlabel: \"string\",","atom":"a0","author":"init","version":0},{"n":492,"text":"\t\t\tlabels: \"boolean\",","atom":"a0","author":"init","version":0},{"n":493,"text":"\t\t\tdrafts: \"boolean\",","atom":"a0","author":"init","version":0},{"n":494,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":495,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":496,"text":"\t\t\t\"abso issues [--open] [--status <status>] [--agent <agent>] [--parent <N>] [--label <l,l>] | abso issues --labels\",","atom":"a81","author":"review","version":16},{"n":497,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":498,"text":"\t\t\t\"The project's issues, most recently updated first, each with its status, agents, labels, versions and who it waits on. --label keeps the issues with every label named (friction, say); --labels lists the labels in use, with how many issues are open under each; --drafts lists your drafts. A status comes from the work: abso start --issue N puts an issue In progress, an open ask makes it Blocked (or In review, for a review), and push --done closes it.\",","atom":"a826","author":"rename","version":100},{"n":499,"text":"\t\trun: runIssues,","atom":"a0","author":"init","version":0},{"n":500,"text":"\t},","atom":"a0","author":"init","version":0},{"n":501,"text":"\tissue: {","atom":"a0","author":"init","version":0},{"n":502,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":503,"text":"\t\t\tcomment: \"string\",","atom":"a0","author":"init","version":0},{"n":504,"text":"\t\t\tobject: \"string\",","atom":"a0","author":"init","version":0},{"n":505,"text":"\t\t\tdrop: \"boolean\",","atom":"a0","author":"init","version":0},{"n":506,"text":"\t\t\treopen: \"boolean\",","atom":"a0","author":"init","version":0},{"n":507,"text":"\t\t\tdone: \"boolean\",","atom":"a0","author":"init","version":0},{"n":508,"text":"\t\t\t\"done-by\": \"string\",","atom":"a0","author":"init","version":0},{"n":509,"text":"\t\t\ttitle: \"string\",","atom":"a0","author":"init","version":0},{"n":510,"text":"\t\t\tdescription: \"string\",","atom":"a0","author":"init","version":0},{"n":511,"text":"\t\t\tparent: \"string\",","atom":"a0","author":"init","version":0},{"n":512,"text":"\t\t\tlines: \"string\",","atom":"a0","author":"init","version":0},{"n":513,"text":"\t\t\tagent: \"string\",","atom":"a0","author":"init","version":0},{"n":514,"text":"\t\t\t\"blocked-by\": \"string\",","atom":"a0","author":"init","version":0},{"n":515,"text":"\t\t\tnotify: \"string\",","atom":"a0","author":"init","version":0},{"n":516,"text":"\t\t\tquiet: \"boolean\",","atom":"a0","author":"init","version":0},{"n":517,"text":"\t\t\tlabel: \"string\",","atom":"a0","author":"init","version":0},{"n":518,"text":"\t\t\tunlabel: \"string\",","atom":"a0","author":"init","version":0},{"n":519,"text":"\t\t\topen: \"boolean\",","atom":"a0","author":"init","version":0},{"n":520,"text":"\t\t\tdelete: \"boolean\",","atom":"a0","author":"init","version":0},{"n":521,"text":"\t\t\tattach: \"string\",","atom":"a27","author":"pinch","version":5},{"n":522,"text":"\t\t\t\"copy-to\": \"string\",","atom":"a165","author":"pinch","version":23},{"n":523,"text":"\t\t\tclean: \"string\",","atom":"a165","author":"pinch","version":23},{"n":524,"text":"\t\t\t\"dry-run\": \"boolean\",","atom":"a165","author":"pinch","version":23},{"n":525,"text":"\t\t\t\"save-attachments\": \"string\",","atom":"a248","author":"pinch","version":29},{"n":526,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":527,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":528,"text":"\t\t\t'abso issue <N> --save-attachments <folder> | abso issue <N> --copy-to <project> [--clean <file>] [--dry-run] | abso issue <N> [--comment \"...\" [--attach <file,file>] | --object \"...\" | --drop | --reopen | --done [--done-by <version>]] | abso issue <N> [--title \"...\"] [--description \"...\"] [--parent <N|none>] [--agent <agent|none>] [--blocked-by <N,N|none>] [--label <l,l>] [--unlabel <l,l>] [--notify <who,who> | --quiet] | abso issue new \"<title>\" [--description \"...\"] [--parent <N>] [--lines <file>:<from>-<to>@<version>] [--agent <agent>] [--blocked-by <N,N>] [--notify <who,who>] [--label <l,l>] [--attach <file,file>]',","atom":"a248","author":"pinch","version":29},{"n":529,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":530,"text":"\t\t\t\"One issue: its description, Agent, Blocked by, labels, asks, comments, edits, sub-issues and watchers. --comment comments on it and --object objects; its agents hear either. A comment holds up to 4000 characters: a longer --comment (or --comment-file) goes up in parts, split at paragraph breaks and each starting (1/3), (2/3) and so on, and a longer --object is refused before anything is sent. --drop drops it. --reopen opens a dropped issue again. --done marks it done by hand, and --done-by <version> names the pushed version that did it. push --done still marks it done too. --title, --description, --parent, --agent and --blocked-by edit it, and the edit tells its watchers (who opened it, its Agent and agents, its Reviewer, whoever was named in Notify, and whoever commented); --notify tells more people, --quiet tells nobody. --label adds labels and --unlabel takes them off (friction, area:client: lower-case letters, digits and - _ . :); a label-only edit tells nobody unless --notify names people. An issue is Blocked until each issue it's blocked by is Done. abso issue new opens one; --lines ties it to lines at a version of shared, --agent says who it's for, --notify tells people now, and --label labels it. --attach shot.png,after.png puts images on a new issue or a comment (png, jpeg, gif or webp, 10 MB each; the server checks the type by the bytes and takes out metadata such as where a photo was taken. An svg, up to 1 MB, is drawn as a png, and its own file is kept as a download, on servers that take svg), and prints each one's id for the text to point at; the issue's page lists them with a link, and --save-attachments <folder> saves every one on the issue and its comments there as <id>-<name> (an svg's own file too), outside the abso folder or where abso leaves files out. --copy-to <project> copies the issue into another project, with its comments, answered asks and labels, each keeping its author and time; --dry-run shows what would go and writes nothing, and --clean <file> gives cleaned texts by source id as JSON ({title, description, comments: [{id, text}], asks: [{id, question, answer}]}; a comment left out of a given list isn't copied). Copying out of a project on a live server takes an owner of that project. abso issue draft \\\"<title>\\\" [the same fields] saves a draft instead: yours alone, with no number and no news; abso issue draft <D> [fields] changes it, --open opens it as an issue, --delete deletes it.\",","atom":"a826","author":"rename","version":100},{"n":531,"text":"\t\trun: runIssue,","atom":"a0","author":"init","version":0},{"n":532,"text":"\t},","atom":"a0","author":"init","version":0},{"n":533,"text":"\task: {","atom":"a0","author":"init","version":0},{"n":534,"text":"\t\tflags: {","atom":"a67","author":"infra-split","version":14},{"n":535,"text":"\t\t\tissue: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":536,"text":"\t\t\treview: \"boolean\",","atom":"a67","author":"infra-split","version":14},{"n":537,"text":"\t\t\ttask: \"boolean\",","atom":"a67","author":"infra-split","version":14},{"n":538,"text":"\t\t\tdue: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":539,"text":"\t\t\tblocks: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":540,"text":"\t\t\toptions: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":541,"text":"\t\t\twithdraw: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":542,"text":"\t\t\tnote: \"string\",","atom":"a67","author":"infra-split","version":14},{"n":543,"text":"\t\t\tattach: \"string\",","atom":"a300","author":"pinch","version":35},{"n":544,"text":"\t\t},","atom":"a67","author":"infra-split","version":14},{"n":545,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":546,"text":"\t\t\t'abso ask <who> \"<question>\" [--issue <N>] [--review | --task] [--due <YYYY-MM-DD>] [--blocks <N,N>] [--options \"A|B|C\"] [--attach <file,file>] | abso ask <N> | abso ask --withdraw <ask> [--note \"why\"]',","atom":"a661","author":"pinch","version":72},{"n":547,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":548,"text":"\t\t\t\"Ask an agent, or a person (person:<id>), something; they hear it. Who must be one of the project's agents or members; a name that isn't is refused, with the closest one suggested. abso ask <N> shows ask N, open or closed, with its whole thread, its answer and whose turn it is. On an issue, it holds the issue at Blocked (In review for --review) until answered. --task asks for something done instead of an answer; --options gives the choices; --blocks names the issues waiting on it. --attach sends files with the question, as on an issue. --withdraw takes back an ask you made that no longer needs an answer: it leaves their waiting list, stops holding the issue, keeps your --note as why, and they hear it.\",","atom":"a661","author":"pinch","version":72},{"n":549,"text":"\t\trun: runAsk,","atom":"a0","author":"init","version":0},{"n":550,"text":"\t},","atom":"a145","author":"devops","version":20},{"n":551,"text":"\tsearch: {","atom":"a145","author":"devops","version":20},{"n":552,"text":"\t\tflags: { limit: \"string\" },","atom":"a145","author":"devops","version":20},{"n":553,"text":"\t\tusage: 'abso search \"<words>\" [--limit <N>]',","atom":"a145","author":"devops","version":20},{"n":554,"text":"\t\tabout:","atom":"a145","author":"devops","version":20},{"n":555,"text":"\t\t\t\"The project's issues that match, best first: by their words, and by what they mean where the server has meaning search on, so an issue worded differently from your search still turns up. #N or N puts issue N first. Each hit says where it matched; one only meaning search found says by meaning.\",","atom":"a145","author":"devops","version":20},{"n":556,"text":"\t\trun: runSearch,","atom":"a145","author":"devops","version":20},{"n":557,"text":"\t},","atom":"a0","author":"init","version":0},{"n":558,"text":"\twaiting: {","atom":"a0","author":"init","version":0},{"n":559,"text":"\t\tflags: { of: \"string\", mine: \"boolean\", asked: \"boolean\" },","atom":"a661","author":"pinch","version":72},{"n":560,"text":"\t\tusage: \"abso waiting [--of <agent or person:id>] [--mine] [--asked]\",","atom":"a661","author":"pinch","version":72},{"n":561,"text":"\t\tabout:","atom":"a306","author":"pinch","version":36},{"n":562,"text":"\t\t\t\"The open asks, soonest due first: every one, those waiting on someone (--of), or those waiting on you (--mine), each with its newest reply. An ask waits on the one asked until they answer, or on the asker after a reply with --question, until the asker replies. --mine also lists your pushes still in the merge queue and where each stands; the outcome comes as news. --asked lists the asks you sent instead, open ones first, then the latest answered.\",","atom":"a826","author":"rename","version":100},{"n":563,"text":"\t\trun: runWaiting,","atom":"a0","author":"init","version":0},{"n":564,"text":"\t},","atom":"a0","author":"init","version":0},{"n":565,"text":"\tanswer: {","atom":"a0","author":"init","version":0},{"n":566,"text":"\t\tflags: { option: \"string\", note: \"string\", done: \"boolean\", attach: \"string\" },","atom":"a300","author":"pinch","version":35},{"n":567,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":568,"text":"\t\t\t'abso answer <ask> \"<words>\" | abso answer <ask> --option <N> [--note \"...\"] | abso answer <ask> --done [--note \"...\"], each with [--attach <file,file>]',","atom":"a300","author":"pinch","version":35},{"n":569,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":570,"text":"\t\t\t\"Answer an ask of you, in your own words, by picking an option (by number or text), or, for a task, with --done. --attach sends files with the answer. The asker hears it.\",","atom":"a300","author":"pinch","version":35},{"n":571,"text":"\t\trun: runAnswer,","atom":"a0","author":"init","version":0},{"n":572,"text":"\t},","atom":"a482","author":"pinch","version":53},{"n":573,"text":"\tack: {","atom":"a482","author":"pinch","version":53},{"n":574,"text":"\t\tflags: {},","atom":"a482","author":"pinch","version":53},{"n":575,"text":"\t\tusage: 'abso ack <ask> [\"<note>\"]',","atom":"a482","author":"pinch","version":53},{"n":576,"text":"\t\tabout:","atom":"a482","author":"pinch","version":53},{"n":577,"text":"\t\t\t\"Acknowledge an ask of you without answering it yet: it's the first reply in its thread. The asker hears it, with your note, and the ask stays open. abso reply adds more; abso answer closes it later.\",","atom":"a661","author":"pinch","version":72},{"n":578,"text":"\t\trun: runAck,","atom":"a482","author":"pinch","version":53},{"n":579,"text":"\t},","atom":"a661","author":"pinch","version":72},{"n":580,"text":"\treply: {","atom":"a661","author":"pinch","version":72},{"n":581,"text":"\t\tflags: { question: \"boolean\" },","atom":"a661","author":"pinch","version":72},{"n":582,"text":"\t\tusage: 'abso reply <ask> \"<words>\" [--question]',","atom":"a661","author":"pinch","version":72},{"n":583,"text":"\t\tabout:","atom":"a661","author":"pinch","version":72},{"n":584,"text":"\t\t\t'Add to an ask\\'s thread, as its asker or the one asked, open or closed: \"ok, let me check\", what you found, a follow-up. The other side hears it, and the ask stays as it is; abso answer still closes it. --question, from the one asked, asks the asker something back: the ask waits on them until they reply. On a public project, anyone can read the thread.',","atom":"a661","author":"pinch","version":72},{"n":585,"text":"\t\trun: runReply,","atom":"a661","author":"pinch","version":72},{"n":586,"text":"\t},","atom":"a2621","author":"groups","version":256},{"n":587,"text":"\tgroups: {","atom":"a2621","author":"groups","version":256},{"n":588,"text":"\t\tflags: {},","atom":"a2621","author":"groups","version":256},{"n":589,"text":"\t\tusage: \"abso groups\",","atom":"a2621","author":"groups","version":256},{"n":590,"text":"\t\tabout:","atom":"a2621","author":"groups","version":256},{"n":591,"text":"\t\t\t\"The project's groups you can see: named sets of agents and people, each with one shared history. A private group shows only to its members and the project's owners. abso group <name> reads one.\",","atom":"a2621","author":"groups","version":256},{"n":592,"text":"\t\trun: runGroups,","atom":"a2621","author":"groups","version":256},{"n":593,"text":"\t},","atom":"a2621","author":"groups","version":256},{"n":594,"text":"\tgroup: {","atom":"a2621","author":"groups","version":256},{"n":595,"text":"\t\tflags: {","atom":"a2621","author":"groups","version":256},{"n":596,"text":"\t\t\tpost: \"string\",","atom":"a2621","author":"groups","version":256},{"n":597,"text":"\t\t\treply: \"string\",","atom":"a2621","author":"groups","version":256},{"n":598,"text":"\t\t\tnews: \"string\",","atom":"a2621","author":"groups","version":256},{"n":599,"text":"\t\t\texcept: \"string\",","atom":"a2621","author":"groups","version":256},{"n":600,"text":"\t\t\tjoin: \"boolean\",","atom":"a2621","author":"groups","version":256},{"n":601,"text":"\t\t\tleave: \"boolean\",","atom":"a2621","author":"groups","version":256},{"n":602,"text":"\t\t\tadd: \"string\",","atom":"a2621","author":"groups","version":256},{"n":603,"text":"\t\t\tremove: \"string\",","atom":"a2621","author":"groups","version":256},{"n":604,"text":"\t\t\trename: \"string\",","atom":"a2621","author":"groups","version":256},{"n":605,"text":"\t\t\tprivate: \"optional\",","atom":"a2621","author":"groups","version":256},{"n":606,"text":"\t\t\tjoinable: \"string\",","atom":"a2621","author":"groups","version":256},{"n":607,"text":"\t\t\tclosed: \"boolean\",","atom":"a2621","author":"groups","version":256},{"n":608,"text":"\t\t\tbefore: \"string\",","atom":"a2621","author":"groups","version":256},{"n":609,"text":"\t\t\tlimit: \"string\",","atom":"a2621","author":"groups","version":256},{"n":610,"text":"\t\t\tkind: \"string\",","atom":"a2621","author":"groups","version":256},{"n":611,"text":"\t\t},","atom":"a2621","author":"groups","version":256},{"n":612,"text":"\t\tusage:","atom":"a2621","author":"groups","version":256},{"n":613,"text":"\t\t\t'abso group <name> [--post \"<words>\" [--reply <N>] [--news all|none|<names> | --except <names>]] [--join | --leave | --add <who> | --remove <who> | --rename <name> | --private on|off | --joinable on|off] [--before <N>] [--limit <N>] [--kind message|member|settings] | abso group new <name> [--private] [--closed] [--add <names>]',","atom":"a2621","author":"groups","version":256},{"n":614,"text":"\t\tabout:","atom":"a2621","author":"groups","version":256},{"n":615,"text":"\t\t\t\"A group: its settings, members and history, newest first (--before reads further back, --kind filters). --post adds a message, with news for every other member unless --news names some, --except leaves some out, or --news none keeps it in the history only. A retry never posts twice. --join and --leave are yours to do any time, for a joinable group; a private one is joined only by its exact name. Its maker and the project's owners add, remove, rename and switch private and joinable. abso group new makes one, with you in it; --closed means members are added rather than joining. A reader may make, join and post in groups too.\",","atom":"a2621","author":"groups","version":256},{"n":616,"text":"\t\trun: runGroup,","atom":"a2621","author":"groups","version":256},{"n":617,"text":"\t},","atom":"a0","author":"init","version":0},{"n":618,"text":"\tunqueue: {","atom":"a0","author":"init","version":0},{"n":619,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":620,"text":"\t\tusage: \"abso unqueue\",","atom":"a0","author":"init","version":0},{"n":621,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":622,"text":"\t\t\t\"Take back your pushes still waiting in the merge queue: their changes stay in your draft, unpushed. Refused while one is being checked; it lands or is turned back within a few minutes (abso drop takes it back after it lands).\",","atom":"a826","author":"rename","version":100},{"n":623,"text":"\t\trun: runUnqueue,","atom":"a0","author":"init","version":0},{"n":624,"text":"\t},","atom":"a0","author":"init","version":0},{"n":625,"text":"\tvisibility: {","atom":"a0","author":"init","version":0},{"n":626,"text":"\t\tflags: { yes: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":627,"text":"\t\tusage: \"abso visibility [public|private] [--yes]\",","atom":"a0","author":"init","version":0},{"n":628,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":629,"text":"\t\t\t\"Whether the project is public. With no word, says which. public, with --yes, lets anyone read it, signed in or not: files, versions, drafts, notes, Issues, people's names, CI as pass or fail; never keys, CI logs, preview links or boxes. private makes it members-only again. Switching takes the project owner's key (on staging, the shared token works too).\",","atom":"a655","author":"speed","version":71},{"n":630,"text":"\t\trun: runVisibility,","atom":"a0","author":"init","version":0},{"n":631,"text":"\t},","atom":"a2394","author":"autosettle","version":220},{"n":632,"text":"\tautosettle: {","atom":"a2394","author":"autosettle","version":220},{"n":633,"text":"\t\tflags: { at: \"string\" },","atom":"a2394","author":"autosettle","version":220},{"n":634,"text":"\t\tusage: \"abso autosettle [off|advise|settle] [--at 0.3-0.95] | abso autosettle history [<id>]\",","atom":"a2409","author":"autosettle","version":223},{"n":635,"text":"\t\tabout:","atom":"a2394","author":"autosettle","version":220},{"n":636,"text":"\t\t\t\"What the server does with a held push (abso-core 23). With no word, says which. advise: each collision comes back with a model's pick (keep yours, keep theirs, keep both, or leave it to an agent), how sure it is, and why; the agent still settles. settle: when the model is at least --at sure about every collision, your abso settles it and pushes again by itself, saying so in the message; anything less sure stays held, with the advice. off: held pushes come back as they always have. New projects start on advise. Changing it takes the project owner's key (on staging, the shared token works too). ABSO_AUTOSETTLE=off on a machine makes its abso settle nothing by itself. abso autosettle history lists the held pushes the model advised on, newest first, with what it said and what was then kept; history <id> shows one, with its calls to the model (--json has each request and answer).\",","atom":"a2409","author":"autosettle","version":223},{"n":637,"text":"\t\trun: runAutosettle,","atom":"a2394","author":"autosettle","version":220},{"n":638,"text":"\t},","atom":"a2651","author":"readspeed","version":261},{"n":639,"text":"\tflag: {","atom":"a2651","author":"readspeed","version":261},{"n":640,"text":"\t\tflags: { why: \"string\", project: \"string\", person: \"string\", limit: \"string\" },","atom":"a2651","author":"readspeed","version":261},{"n":641,"text":"\t\tusage:","atom":"a2651","author":"readspeed","version":261},{"n":642,"text":"\t\t\t'abso flag [list] | abso flag log [--limit N] | abso flag set <flag> <value> --why \"...\" [--project <name> | --person person:<id>] | abso flag unset <flag> --why \"...\" [--project <name> | --person person:<id>]',","atom":"a2651","author":"readspeed","version":261},{"n":643,"text":"\t\tabout:","atom":"a2651","author":"readspeed","version":261},{"n":644,"text":"\t\t\t\"The server's feature flags: switches flipped while it runs, with no deploy. list shows each flag, the values it takes, its safe default, what it gates, and where it's set. set gives it a value for the whole server, or for one --project or --person; unset takes that value away. Each change says --why, and the server keeps who, when, the old and new value, and why; log shows those changes, newest first. A read takes the person's value, then the project's, then the whole server's, then the safe one. The server decides who may: its admin token, read from ABSO_ADMIN_TOKEN or ~/.abso/admin-token and sent only to a server ABSO_ADMIN_SERVERS names, and an owner's key where the server takes one. An agent does not flip a flag unless a person on the project says so.\",","atom":"a2651","author":"readspeed","version":261},{"n":645,"text":"\t\trun: runFlag,","atom":"a2651","author":"readspeed","version":261},{"n":646,"text":"\t},","atom":"a0","author":"init","version":0},{"n":647,"text":"\tci: {","atom":"a0","author":"init","version":0},{"n":648,"text":"\t\tflags: { version: \"string\", revoke: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":649,"text":"\t\tusage: \"abso ci [<version>] | abso ci --revoke\",","atom":"a0","author":"init","version":0},{"n":650,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":651,"text":"\t\t\t\"The project's CI: the server runs abso.json's setup, build and check on each new version of shared, one job at a time on the newest. abso ci says whether shared is green or red (and since which version, by whom, once a bisect finds it), what is being checked, and the preview link of the newest passing build, which needs no token. abso ci <version> shows that version's job: which step failed, its exit code, and the end of its output. status says the same in a line, and log marks each version of shared. --revoke ends every preview link handed out so far and makes a new one.\",","atom":"a2771","author":"pinch","version":281},{"n":652,"text":"\t\trun: runCi,","atom":"a0","author":"init","version":0},{"n":653,"text":"\t},","atom":"a0","author":"init","version":0},{"n":654,"text":"\tshot: {","atom":"a0","author":"init","version":0},{"n":655,"text":"\t\tflags: {","atom":"a0","author":"init","version":0},{"n":656,"text":"\t\t\tout: \"string\",","atom":"a0","author":"init","version":0},{"n":657,"text":"\t\t\twait: \"string\",","atom":"a0","author":"init","version":0},{"n":658,"text":"\t\t\tsize: \"string\",","atom":"a0","author":"init","version":0},{"n":659,"text":"\t\t\tbox: \"string\",","atom":"a0","author":"init","version":0},{"n":660,"text":"\t\t\teval: \"string\",","atom":"a0","author":"init","version":0},{"n":661,"text":"\t\t\tclick: \"string\",","atom":"a0","author":"init","version":0},{"n":662,"text":"\t\t\tmouse: \"string\",","atom":"a0","author":"init","version":0},{"n":663,"text":"\t\t\tat: \"string\",","atom":"a0","author":"init","version":0},{"n":664,"text":"\t\t\tscale: \"string\",","atom":"a0","author":"init","version":0},{"n":665,"text":"\t\t\tregion: \"string\",","atom":"a0","author":"init","version":0},{"n":666,"text":"\t\t\ttext: \"boolean\",","atom":"a0","author":"init","version":0},{"n":667,"text":"\t\t\ttree: \"boolean\",","atom":"a0","author":"init","version":0},{"n":668,"text":"\t\t\tinteractive: \"boolean\",","atom":"a0","author":"init","version":0},{"n":669,"text":"\t\t\tdepth: \"string\",","atom":"a0","author":"init","version":0},{"n":670,"text":"\t\t\tfind: \"string\",","atom":"a0","author":"init","version":0},{"n":671,"text":"\t\t\t\"max-chars\": \"string\",","atom":"a0","author":"init","version":0},{"n":672,"text":"\t\t\timage: \"boolean\",","atom":"a0","author":"init","version":0},{"n":673,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":674,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":675,"text":"\t\t\t'abso shot [\"/<path>?<query>\"] [--scale 0.1-1] [--region x0,y0,x1,y1] [--text] [--tree [--interactive] [--depth N]] [--find \"<text>\"] [--max-chars N] [--image] [--at <version>] [--eval \"<js>\"] [--click \"x,y[@ms];ref_N[@ms]\"] [--mouse x,y|ref_N] [--out <file.png>] [--wait <ms>] [--size <w>x<h>]',","atom":"a0","author":"init","version":0},{"n":676,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":677,"text":"\t\t\t\"A look at your folder's game, taken in your box: it runs the project's vite dev server and Playwright on that page (default /, a 1280x720 page). Images cost tokens, so read without one when you can: --text prints the page's visible text, --tree its elements (role, name, a ref like ref_12, and its box in page pixels; --interactive only what can be clicked or typed in; --depth N levels), and --find \\\"<text>\\\" the elements matching some text; each is capped at --max-chars (default 5000). With none of those, or with --image, it writes a PNG to .abso/shots/ (never recorded) or --out, and prints its pixel size and about how many tokens reading it costs (width x height / 750). --scale 0.5 halves the width and height (a quarter of the tokens); --region x0,y0,x1,y1 takes part of the page at full detail; they combine. Coordinates are always the page's, whatever the scale or region. To set up a state first, --eval runs JavaScript in the page and --click clicks points (x,y or ref_N; several separated by ;; @ms waits first), in that order, a second after load and two frames after the eval; --mouse x,y or ref_N leaves the pointer there (for hover cards); then it waits --wait ms (default 3000) and looks. It prints --eval's result, page errors and the first 30 console messages. Refs come from --tree or --find on the same page in the same state. --at <version> looks at that version of your folder's space instead of the folder (as abso run --at). Needs vite and playwright in the project's devDependencies; abso prep with npx --no-install playwright install chromium makes it fast.\",","atom":"a2771","author":"pinch","version":281},{"n":678,"text":"\t\trun: runShot,","atom":"a0","author":"init","version":0},{"n":679,"text":"\t},","atom":"a0","author":"init","version":0},{"n":680,"text":"\tprep: {","atom":"a0","author":"init","version":0},{"n":681,"text":"\t\tflags: { forget: \"boolean\", box: \"string\" },","atom":"a0","author":"init","version":0},{"n":682,"text":"\t\tusage: 'abso prep [--box <name>] \"<setup command>\" | abso prep --forget',","atom":"a0","author":"init","version":0},{"n":683,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":684,"text":"\t\t\t\"Set up your box once and keep it: sends the folder, runs the setup command (npm ci, npx playwright install chromium, a build) in a fresh box of the current image, and saves the box. From then on every fresh box (after a deploy, 30 idle minutes, or a new run's restart) starts from it, with node_modules, ~/.cache and /tmp as the setup left them; /w is still replaced by your folder on each run, apart from node_modules. abso run says when the prep is set aside (a newer box image) or out of date (package-lock.json changed): run abso prep again then. --forget drops it.\",","atom":"a0","author":"init","version":0},{"n":685,"text":"\t\trest: true,","atom":"a0","author":"init","version":0},{"n":686,"text":"\t\trun: runPrep,","atom":"a0","author":"init","version":0},{"n":687,"text":"\t},","atom":"a0","author":"init","version":0},{"n":688,"text":"\tfetch: {","atom":"a0","author":"init","version":0},{"n":689,"text":"\t\tflags: { box: \"string\" },","atom":"a0","author":"init","version":0},{"n":690,"text":"\t\tusage: \"abso fetch [--box <name>] <glob...>\",","atom":"a0","author":"init","version":0},{"n":691,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":692,"text":"\t\t\t\"Files the last run left in the box's /w (bash globs: out/*.png, **/*.log), written into the folder, but only where abso ignores them, so a fetched file never becomes an edit; the rest are named and left alone. /w is replaced on the next run, and everything goes when the box stops.\",","atom":"a0","author":"init","version":0},{"n":693,"text":"\t\trun: runFetch,","atom":"a0","author":"init","version":0},{"n":694,"text":"\t},","atom":"a0","author":"init","version":0},{"n":695,"text":"\tpause: {","atom":"a0","author":"init","version":0},{"n":696,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":697,"text":"\t\tusage: \"abso pause\",","atom":"a0","author":"init","version":0},{"n":698,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":699,"text":"\t\t\t\"Send nothing from this folder until abso resume: the edit hook skips, abso record refuses, other commands don't record first. For swapping files in by hand (abso run --at usually does it better).\",","atom":"a0","author":"init","version":0},{"n":700,"text":"\t\trun: runPause,","atom":"a0","author":"init","version":0},{"n":701,"text":"\t},","atom":"a0","author":"init","version":0},{"n":702,"text":"\tresume: {","atom":"a0","author":"init","version":0},{"n":703,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":704,"text":"\t\tusage: \"abso resume\",","atom":"a0","author":"init","version":0},{"n":705,"text":"\t\tabout: \"End abso pause. Changes made while paused go at the next record.\",","atom":"a0","author":"init","version":0},{"n":706,"text":"\t\trun: runResume,","atom":"a0","author":"init","version":0},{"n":707,"text":"\t},","atom":"a0","author":"init","version":0},{"n":708,"text":"\tlogs: {","atom":"a0","author":"init","version":0},{"n":709,"text":"\t\tflags: { box: \"string\" },","atom":"a0","author":"init","version":0},{"n":710,"text":"\t\tusage: \"abso logs [--box <name>] <run id>\",","atom":"a0","author":"init","version":0},{"n":711,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":712,"text":"\t\t\t\"A run's output from its start (stdout and stderr apart), for as long as the box keeps it, waiting until it ends. Exits with its code. For abso run --detach, or a run whose connection was lost.\",","atom":"a0","author":"init","version":0},{"n":713,"text":"\t\trun: runLogs,","atom":"a0","author":"init","version":0},{"n":714,"text":"\t},","atom":"a0","author":"init","version":0},{"n":715,"text":"\tstatus: {","atom":"a0","author":"init","version":0},{"n":716,"text":"\t\tflags: { short: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":717,"text":"\t\tusage: \"abso status [--short]\",","atom":"a0","author":"init","version":0},{"n":718,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":719,"text":"\t\t\t\"The shared version, whether shared is green or red by the project's CI (abso ci has more), who waits in the merge queue, every agent's base and draft, and what in this folder is not yet recorded. --short prints one word for stamping a build: the version this folder is on (214), with the named draft (coast@3), +unpushed when it holds changes not yet pushed, and +queued when a push of yours waits in the merge queue.\",","atom":"a826","author":"rename","version":100},{"n":720,"text":"\t\trun: runStatus,","atom":"a0","author":"init","version":0},{"n":721,"text":"\t},","atom":"a0","author":"init","version":0},{"n":722,"text":"\tswitch: {","atom":"a0","author":"init","version":0},{"n":723,"text":"\t\tflags: { carry: \"boolean\", verbose: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":724,"text":"\t\tusage: \"abso switch <draft> | abso switch -c <new draft> | abso switch shared\",","atom":"a0","author":"init","version":0},{"n":725,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":726,"text":"\t\t\t\"Move this folder to a named draft, or back to shared. Your unpushed changes are parked where you leave and come back when you return; -c carries them into a new draft instead.\",","atom":"a826","author":"rename","version":100},{"n":727,"text":"\t\trun: runSwitch,","atom":"a0","author":"init","version":0},{"n":728,"text":"\t},","atom":"a0","author":"init","version":0},{"n":729,"text":"\tland: {","atom":"a0","author":"init","version":0},{"n":730,"text":"\t\tflags: { message: \"string\" },","atom":"a0","author":"init","version":0},{"n":731,"text":"\t\tusage: 'abso land -m \"<why>\"',","atom":"a0","author":"init","version":0},{"n":732,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":733,"text":"\t\t\t\"Land your named draft in shared, as one unit. Refused only on a collision with work that landed in shared since the draft began.\",","atom":"a0","author":"init","version":0},{"n":734,"text":"\t\trun: runLand,","atom":"a0","author":"init","version":0},{"n":735,"text":"\t},","atom":"a0","author":"init","version":0},{"n":736,"text":"\t\"draft-pull\": {","atom":"a826","author":"rename","version":100},{"n":737,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":738,"text":"\t\tusage: \"abso draft-pull\",","atom":"a826","author":"rename","version":100},{"n":739,"text":"\t\tabout: \"Move your named draft onto shared's newest version, then bring that into this folder.\",","atom":"a0","author":"init","version":0},{"n":740,"text":"\t\trun: runDraftSync,","atom":"a0","author":"init","version":0},{"n":741,"text":"\t},","atom":"a0","author":"init","version":0},{"n":742,"text":"\tdiff: {","atom":"a0","author":"init","version":0},{"n":743,"text":"\t\tflags: { draft: \"string\", agent: \"string\" },","atom":"a470","author":"pinch","version":52},{"n":744,"text":"\t\tusage: \"abso diff [file...] [--agent <name>] | abso diff <from> <to> [file...] [--draft <name>]\",","atom":"a470","author":"pinch","version":52},{"n":745,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":746,"text":"\t\t\t\"Your unpushed changes, line by line, as git prints them (records first). --agent <name>: that agent's recorded, unpushed changes instead, to review them; it changes nothing. With two versions: what changed between them in this space.\",","atom":"a826","author":"rename","version":100},{"n":747,"text":"\t\trun: runDiff,","atom":"a0","author":"init","version":0},{"n":748,"text":"\t},","atom":"a0","author":"init","version":0},{"n":749,"text":"\trestore: {","atom":"a0","author":"init","version":0},{"n":750,"text":"\t\tflags: { all: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":751,"text":"\t\tusage: \"abso restore <file...> | abso restore <file>:<line>[-<line>] | abso restore --all\",","atom":"a0","author":"init","version":0},{"n":752,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":753,"text":"\t\t\t\"Discard your unpushed changes to those files (--all: to every file), like git restore. The files go back to how your space has them. <file>:<lines> puts back only the changes that touch those lines (numbered as abso diff shows the file now) and keeps your other changes to it.\",","atom":"a826","author":"rename","version":100},{"n":754,"text":"\t\trun: runRestore,","atom":"a0","author":"init","version":0},{"n":755,"text":"\t},","atom":"a0","author":"init","version":0},{"n":756,"text":"\texport: {","atom":"a0","author":"init","version":0},{"n":757,"text":"\t\tflags: { version: \"string\", keep: \"string\", without: \"string\" },","atom":"a2095","author":"candidates","version":186},{"n":758,"text":"\t\tusage: \"abso export <dir> [--version <N>] [--without <version,...>] [--keep <glob>]\",","atom":"a2095","author":"candidates","version":186},{"n":759,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":760,"text":"\t\t\t\"Write one pushed version of this folder's space (the newest unless --version) into a folder of its own, for a build that doesn't move. The folder must be empty, an earlier export (which it replaces, keeping node_modules and what --keep names), or one .absoignore leaves out; .avcs-export.json there names the version. --without 37,38 writes the version of shared with those earlier versions left out, and names them there too; shared doesn't change, and it is refused, naming the chain, when a version it keeps builds on one left out.\",","atom":"a2095","author":"candidates","version":186},{"n":761,"text":"\t\trun: runExport,","atom":"a0","author":"init","version":0},{"n":762,"text":"\t},","atom":"a0","author":"init","version":0},{"n":763,"text":"\tfiles: {","atom":"a0","author":"init","version":0},{"n":764,"text":"\t\tflags: { draft: \"string\", version: \"string\" },","atom":"a0","author":"init","version":0},{"n":765,"text":"\t\tusage: \"abso files [glob...] [--draft <name>] [--version <N>]\",","atom":"a0","author":"init","version":0},{"n":766,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":767,"text":"\t\t\t\"The files your folder should hold (your view), marking any it's missing. With --draft or --version: that space's files at that version (--draft shared for shared).\",","atom":"a0","author":"init","version":0},{"n":768,"text":"\t\trun: runFiles,","atom":"a0","author":"init","version":0},{"n":769,"text":"\t},","atom":"a0","author":"init","version":0},{"n":770,"text":"\tlog: {","atom":"a0","author":"init","version":0},{"n":771,"text":"\t\tflags: { limit: \"string\", before: \"string\", draft: \"string\", since: \"string\", by: \"string\", count: \"boolean\" },","atom":"a192","author":"pinch","version":26},{"n":772,"text":"\t\tusage:","atom":"a0","author":"init","version":0},{"n":773,"text":"\t\t\t\"abso log [file] [-n <count>] [--before <version>] [--draft <name>] [--since <version|30m|2h|1d|date>] [--by <agent,...>] [--count]\",","atom":"a192","author":"pinch","version":26},{"n":774,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":775,"text":"\t\t\t\"The pushed versions of this folder's space (shared or a named draft), newest first: who, when, why and which files, and for shared, whether the version passed CI's check (abso ci). With a file: only the versions that changed it. --before <version> starts below that version, so any stretch of history can be listed; the end of the list names the --before for the next older ones. --since takes a version (the versions after it), a span back from now (30m, 2h, 1d), a clock time today (20:00) or a date and time; --by keeps one agent's versions (or several, comma-separated); --count prints versions and files per agent instead of the list.\",","atom":"a826","author":"rename","version":100},{"n":776,"text":"\t\trun: runLog,","atom":"a0","author":"init","version":0},{"n":777,"text":"\t},","atom":"a0","author":"init","version":0},{"n":778,"text":"\tshow: {","atom":"a0","author":"init","version":0},{"n":779,"text":"\t\tflags: { draft: \"string\", without: \"string\" },","atom":"a2095","author":"candidates","version":186},{"n":780,"text":"\t\tusage: \"abso show <version> | abso show <version>:<file> [--draft <name>] [--without <version,...>]\",","atom":"a2095","author":"candidates","version":186},{"n":781,"text":"\t\tabout:","atom":"a2095","author":"candidates","version":186},{"n":782,"text":"\t\t\t\"One version: who pushed it, why, and its diff. With :<file>, that file's text as it was then. --without 37,38 shows the version of shared with those earlier versions left out: what differs, and with :<file> that file. Shared doesn't change. Refused, naming the chain, when a version it keeps builds on one left out.\",","atom":"a2095","author":"candidates","version":186},{"n":783,"text":"\t\trun: runShow,","atom":"a0","author":"init","version":0},{"n":784,"text":"\t},","atom":"a0","author":"init","version":0},{"n":785,"text":"\tannounce: {","atom":"a0","author":"init","version":0},{"n":786,"text":"\t\tflags: { to: \"string\" },","atom":"a0","author":"init","version":0},{"n":787,"text":"\t\tusage: \"abso announce [--to <agent,agent>] <text>\",","atom":"a0","author":"init","version":0},{"n":788,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":789,"text":"\t\t\t\"Tell the project's other agents (or those named) something. Each gets it once, as news on their next edit or the mod's next check.\",","atom":"a0","author":"init","version":0},{"n":790,"text":"\t\trun: runAnnounce,","atom":"a0","author":"init","version":0},{"n":791,"text":"\t},","atom":"a0","author":"init","version":0},{"n":792,"text":"\tstart: {","atom":"a0","author":"init","version":0},{"n":793,"text":"\t\tflags: { done: \"boolean\", issue: \"string\" },","atom":"a0","author":"init","version":0},{"n":794,"text":"\t\tusage: 'abso start \"<what>\" [files...] [--issue <n>] | abso start --done',","atom":"a0","author":"init","version":0},{"n":795,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":796,"text":"\t\t\t\"Say what you are starting on, before your first edit, so abso where shows it to everyone. Names who already has unpushed changes in those files, and tells them. Nothing is locked; pushing ends the note.\",","atom":"a826","author":"rename","version":100},{"n":797,"text":"\t\trun: runStart,","atom":"a0","author":"init","version":0},{"n":798,"text":"\t},","atom":"a0","author":"init","version":0},{"n":799,"text":"\tnews: {","atom":"a0","author":"init","version":0},{"n":800,"text":"\t\tflags: { stream: \"boolean\", follow: \"boolean\" },","atom":"a2693","author":"box-grants","version":269},{"n":801,"text":"\t\tusage: \"abso news [--stream | --follow]\",","atom":"a2693","author":"box-grants","version":269},{"n":802,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":803,"text":"\t\t\t\"The news waiting for you: collisions, changed definitions, moved lines and announcements. Each item comes once. --stream prints a Monitor call that wakes a Claude Code chat the moment news arrives (a ticket that opens the stream once, within a minute); --follow holds the stream itself and prints a line per item until stopped.\",","atom":"a2693","author":"box-grants","version":269},{"n":804,"text":"\t\trun: runNews,","atom":"a0","author":"init","version":0},{"n":805,"text":"\t},","atom":"a0","author":"init","version":0},{"n":806,"text":"\t\"fix-eol\": {","atom":"a0","author":"init","version":0},{"n":807,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":808,"text":"\t\tusage: \"abso fix-eol\",","atom":"a0","author":"init","version":0},{"n":809,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":810,"text":"\t\t\t\"Rewrite the files that differ from what abso recorded only in line endings (CRLF here) with LF, as recorded. Their text is unchanged, so nothing is recorded; abso status stops listing them.\",","atom":"a0","author":"init","version":0},{"n":811,"text":"\t\trun: runFixEol,","atom":"a0","author":"init","version":0},{"n":812,"text":"\t},","atom":"a0","author":"init","version":0},{"n":813,"text":"\twho: {","atom":"a0","author":"init","version":0},{"n":814,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":815,"text":"\t\tusage: \"abso who <file...>\",","atom":"a0","author":"init","version":0},{"n":816,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":817,"text":"\t\t\t\"For each file: who last changed it, who has unpushed changes in it (and where), and whose abso start note names it. Ask before you start in someone's file.\",","atom":"a826","author":"rename","version":100},{"n":818,"text":"\t\trun: runWho,","atom":"a0","author":"init","version":0},{"n":819,"text":"\t},","atom":"a0","author":"init","version":0},{"n":820,"text":"\twhere: {","atom":"a0","author":"init","version":0},{"n":821,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":822,"text":"\t\tusage: \"abso where\",","atom":"a0","author":"init","version":0},{"n":823,"text":"\t\tabout: \"Who is working where: each file with unpushed changes, whose they are, and which lines.\",","atom":"a826","author":"rename","version":100},{"n":824,"text":"\t\trun: runWhere,","atom":"a0","author":"init","version":0},{"n":825,"text":"\t},","atom":"a0","author":"init","version":0},{"n":826,"text":"\tblame: {","atom":"a0","author":"init","version":0},{"n":827,"text":"\t\tflags: { from: \"string\", to: \"string\", version: \"string\", draft: \"string\", mine: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":828,"text":"\t\tusage: \"abso blame <file> [--from <n>] [--to <n>] [--version <n>] [--draft <name> | --mine]\",","atom":"a0","author":"init","version":0},{"n":829,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":830,"text":"\t\t\t\"Who wrote each line of the file as shared has it (or had it at --version), and the push that brought it in. --draft reads a named draft; --mine reads your own view, marking your unpushed lines with *.\",","atom":"a826","author":"rename","version":100},{"n":831,"text":"\t\trun: runBlame,","atom":"a0","author":"init","version":0},{"n":832,"text":"\t},","atom":"a0","author":"init","version":0},{"n":833,"text":"\twhy: {","atom":"a0","author":"init","version":0},{"n":834,"text":"\t\tflags: { draft: \"string\", mine: \"boolean\", at: \"string\", all: \"boolean\" },","atom":"a2170","author":"whytrail","version":193},{"n":835,"text":"\t\tusage: \"abso why <file>:<line> [--at <version>] [--all] [--draft <name> | --mine]\",","atom":"a2170","author":"whytrail","version":193},{"n":836,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":837,"text":"\t\t\t\"Why one line of shared (or of a named draft, or your own view) is the way it is: the newest change to what it does, its push, its reasons, any collision it settled, and the line's earlier changes, newest first. Changes that only touched formatting (whitespace, line wrapping, quotes, trailing commas) are skipped, and why says which; --all shows them too. A line imported from git names its commit, and #N in it names the old repository's issue when abso.json's \\\"gitIssues\\\" says where those are. --at <version> reads the line as shared (or the draft) had it then, as blame --version does.\",","atom":"a2170","author":"whytrail","version":193},{"n":838,"text":"\t\trun: runWhy,","atom":"a0","author":"init","version":0},{"n":839,"text":"\t},","atom":"a0","author":"init","version":0},{"n":840,"text":"\tdrop: {","atom":"a0","author":"init","version":0},{"n":841,"text":"\t\tflags: { message: \"string\", \"with-dependents\": \"boolean\" },","atom":"a0","author":"init","version":0},{"n":842,"text":"\t\tusage: 'abso drop <version...> -m \"<why>\" [--with-dependents]',","atom":"a0","author":"init","version":0},{"n":843,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":844,"text":"\t\t\t\"Take pushed versions back out of shared, as a new version: like git revert. History keeps them. Refused when later versions build on them, unless --with-dependents drops those too.\",","atom":"a826","author":"rename","version":100},{"n":845,"text":"\t\trun: runDrop,","atom":"a0","author":"init","version":0},{"n":846,"text":"\t},","atom":"a0","author":"init","version":0},{"n":847,"text":"\tpluck: {","atom":"a0","author":"init","version":0},{"n":848,"text":"\t\tflags: { message: \"string\", \"with-dependencies\": \"boolean\" },","atom":"a0","author":"init","version":0},{"n":849,"text":"\t\tusage: 'abso pluck <draft> <version...> -m \"<why>\" [--with-dependencies]',","atom":"a0","author":"init","version":0},{"n":850,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":851,"text":"\t\t\t\"Take some versions of a named draft into shared, as one version, leaving the draft as it is: like git cherry-pick. Refused when they build on other versions of the draft, unless --with-dependencies takes those too.\",","atom":"a0","author":"init","version":0},{"n":852,"text":"\t\trun: runPluck,","atom":"a0","author":"init","version":0},{"n":853,"text":"\t},","atom":"a0","author":"init","version":0},{"n":854,"text":"\tamend: {","atom":"a0","author":"init","version":0},{"n":855,"text":"\t\tflags: { message: \"string\" },","atom":"a0","author":"init","version":0},{"n":856,"text":"\t\tusage: 'abso amend -m \"<new message>\"',","atom":"a0","author":"init","version":0},{"n":857,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":858,"text":"\t\t\t\"Correct the message of your newest push in this space. Only the message changes; the log keeps the original.\",","atom":"a826","author":"rename","version":100},{"n":859,"text":"\t\trun: runAmend,","atom":"a0","author":"init","version":0},{"n":860,"text":"\t},","atom":"a0","author":"init","version":0},{"n":861,"text":"\tlabel: {","atom":"a0","author":"init","version":0},{"n":862,"text":"\t\tflags: { version: \"string\", remove: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":863,"text":"\t\tusage: \"abso label <name> [--version <n>] [--remove]\",","atom":"a0","author":"init","version":0},{"n":864,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":865,"text":"\t\t\t\"Put a label on a version of shared (the newest by default), or take it off: like a git tag. A label can mark more than one version.\",","atom":"a0","author":"init","version":0},{"n":866,"text":"\t\trun: runLabel,","atom":"a0","author":"init","version":0},{"n":867,"text":"\t},","atom":"a0","author":"init","version":0},{"n":868,"text":"\tlabels: {","atom":"a0","author":"init","version":0},{"n":869,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":870,"text":"\t\tusage: \"abso labels\",","atom":"a0","author":"init","version":0},{"n":871,"text":"\t\tabout: \"Every label and the versions it marks.\",","atom":"a0","author":"init","version":0},{"n":872,"text":"\t\trun: runLabels,","atom":"a0","author":"init","version":0},{"n":873,"text":"\t},","atom":"a0","author":"init","version":0},{"n":874,"text":"\tfollow: {","atom":"a0","author":"init","version":0},{"n":875,"text":"\t\tflags: { none: \"boolean\" },","atom":"a0","author":"init","version":0},{"n":876,"text":"\t\tusage: \"abso follow <label> | abso follow --none\",","atom":"a0","author":"init","version":0},{"n":877,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":878,"text":"\t\t\t\"Make this folder follow a label: every pull takes it to the newest version of shared with that label, not the newest version. --none goes back to following shared.\",","atom":"a826","author":"rename","version":100},{"n":879,"text":"\t\trun: runFollow,","atom":"a0","author":"init","version":0},{"n":880,"text":"\t},","atom":"a0","author":"init","version":0},{"n":881,"text":"\t\"check-ignore\": {","atom":"a0","author":"init","version":0},{"n":882,"text":"\t\tflags: {},","atom":"a0","author":"init","version":0},{"n":883,"text":"\t\tusage: \"abso check-ignore <path...>\",","atom":"a0","author":"init","version":0},{"n":884,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":885,"text":"\t\t\t\"Whether abso leaves each path out, and which line of which ignore file decided (git's rules, for .gitignore and .absoignore).\",","atom":"a212","author":"review","version":27},{"n":886,"text":"\t\trun: runCheckIgnore,","atom":"a0","author":"init","version":0},{"n":887,"text":"\t},","atom":"a0","author":"init","version":0},{"n":888,"text":"\tpipeline: {","atom":"a0","author":"init","version":0},{"n":889,"text":"\t\tflags: { on: \"string\", space: \"string\", pipeline: \"string\", every: \"string\", log: \"string\" },","atom":"a760","author":"infra-pipeline","version":85},{"n":890,"text":"\t\tusage:","atom":"a3","author":"infra-split","version":1},{"n":891,"text":"\t\t\t\"abso pipeline check [file] [--on push|draft|green|land|hand|schedule [--space <name>] [--pipeline <name>] [--every <when>]] | abso pipeline runs [<run>] [--log <pipeline.job>]\",","atom":"a911","author":"rename","version":101},{"n":892,"text":"\t\tabout:","atom":"a0","author":"init","version":0},{"n":893,"text":"\t\t\t\"Read the folder's pipeline file (abso.yml, abso.yaml or abso.json, or the file named) and say what's wrong with it, place by place: a cycle in needs, a job that doesn't exist, secrets a draft could reach, a key it doesn't know. Exits 1 when it has problems. With --on, it says which pipelines that event starts (in shared, or --space), with their jobs in waves that can run side by side, and why each other pipeline doesn't start. It reads only the file. abso pipeline runs asks the server what the project's pipelines did: the runs, newest first; with a run's number, its jobs (state, why, exit, time, an npm or deploy job's phase); with --log <pipeline.job>, that job's output.\",","atom":"a2771","author":"pinch","version":281},{"n":894,"text":"\t\t// Loaded only here, so the yaml package it needs can't stop every other command","atom":"a0","author":"init","version":0},{"n":895,"text":"\t\t// when a checkout lacks it (abso issue 168).","atom":"a0","author":"init","version":0},{"n":896,"text":"\t\trun: async (args, env) => {","atom":"a0","author":"init","version":0},{"n":897,"text":"\t\t\tlet mod: typeof import(\"./pipeline-commands.ts\");","atom":"a0","author":"init","version":0},{"n":898,"text":"\t\t\ttry {","atom":"a0","author":"init","version":0},{"n":899,"text":"\t\t\t\tmod = await import(\"./pipeline-commands.ts\");","atom":"a0","author":"init","version":0},{"n":900,"text":"\t\t\t} catch (e) {","atom":"a0","author":"init","version":0},{"n":901,"text":"\t\t\t\tif ((e as { code?: string }).code === \"ERR_MODULE_NOT_FOUND\")","atom":"a0","author":"init","version":0},{"n":902,"text":"\t\t\t\t\tthrow new UsageError(","atom":"a0","author":"init","version":0},{"n":903,"text":"\t\t\t\t\t\t`abso pipeline needs a package this copy of abso doesn't have installed (${(e as Error).message.split(\"\\n\")[0]}); run npm install where abso is installed`,","atom":"a0","author":"init","version":0},{"n":904,"text":"\t\t\t\t\t);","atom":"a0","author":"init","version":0},{"n":905,"text":"\t\t\t\tthrow e;","atom":"a0","author":"init","version":0},{"n":906,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":907,"text":"\t\t\treturn mod.runPipeline(args, env);","atom":"a0","author":"init","version":0},{"n":908,"text":"\t\t},","atom":"a0","author":"init","version":0},{"n":909,"text":"\t},","atom":"a0","author":"init","version":0},{"n":910,"text":"};","atom":"a0","author":"init","version":0},{"n":911,"text":"","atom":"a0","author":"init","version":0},{"n":912,"text":"const HELP_INTRO = \"abso: version control for agents. This is its command-line client.\";","atom":"a743","author":"pinch","version":79},{"n":913,"text":"const HELP_NOTE =","atom":"a743","author":"pinch","version":79},{"n":914,"text":"\t\"Every command takes --json. Settings live in .abso/config.json (.avcs/config.json in a folder from before the rename). A folder with a key signs in with that key and nothing else. Without one, the token comes from ABSO_TOKEN; this machine's ~/.abso/token (or ~/.avcs/token from before) is used only by a command given --token-file. \" +","atom":"a2707","author":"readspeed","version":271},{"n":915,"text":"\t\"Every command that talks to a server takes --server <url>; one that works only on this machine (skill, check-ignore, pause, resume, fix-eol) doesn't. In a joined folder --server must be the folder's own server: another is refused, never swapped in. An explicit --server is used as given, and no setting redirects it. The server is \" +","atom":"a1568","author":"speed","version":156},{"n":916,"text":"\tSERVER_ORDER +","atom":"a1568","author":"speed","version":156},{"n":917,"text":"\t\": which servers this box is signed in to plays no part.\";","atom":"a1568","author":"speed","version":156},{"n":918,"text":"","atom":"a743","author":"pinch","version":79},{"n":919,"text":"/** A command's flags: its own, and --server and --token-file for every command that talks to a server (server-choice.ts). */","atom":"a2708","author":"readspeed","version":271},{"n":920,"text":"function flagsOf(name: string, def: CommandDef): FlagSpec {","atom":"a1548","author":"speed","version":155},{"n":921,"text":"\treturn serverUse(name) === \"local\" ? def.flags : { ...def.flags, server: \"string\", \"token-file\": \"boolean\" };","atom":"a2705","author":"readspeed","version":271},{"n":922,"text":"}","atom":"a1548","author":"speed","version":155},{"n":923,"text":"","atom":"a1548","author":"speed","version":155},{"n":924,"text":"/** Every command as help shows it, in order: the table's, then the three it doesn't hold. */","atom":"a743","author":"pinch","version":79},{"n":925,"text":"function helpEntries(): { name: string; usage: string; about: string; flags: FlagSpec; server?: string }[] {","atom":"a1548","author":"speed","version":155},{"n":926,"text":"\treturn [","atom":"a0","author":"init","version":0},{"n":927,"text":"\t\t...Object.entries(COMMANDS).map(([name, c]) => {","atom":"a1548","author":"speed","version":155},{"n":928,"text":"\t\t\tconst server = serverHelp(name);","atom":"a1548","author":"speed","version":155},{"n":929,"text":"\t\t\treturn { name, usage: c.usage, about: c.about, flags: flagsOf(name, c), ...(server ? { server } : {}) };","atom":"a1548","author":"speed","version":155},{"n":930,"text":"\t\t}),","atom":"a1548","author":"speed","version":155},{"n":931,"text":"\t\t{","atom":"a743","author":"pinch","version":79},{"n":932,"text":"\t\t\tname: \"hook\",","atom":"a743","author":"pinch","version":79},{"n":933,"text":"\t\t\tusage: \"abso hook\",","atom":"a743","author":"pinch","version":79},{"n":934,"text":"\t\t\tabout: \"The Claude Code PostToolUse hook. Reads the hook JSON on stdin; never fails.\",","atom":"a743","author":"pinch","version":79},{"n":935,"text":"\t\t\tflags: {},","atom":"a743","author":"pinch","version":79},{"n":936,"text":"\t\t},","atom":"a743","author":"pinch","version":79},{"n":937,"text":"\t\t{","atom":"a743","author":"pinch","version":79},{"n":938,"text":"\t\t\tname: \"mcp\",","atom":"a743","author":"pinch","version":79},{"n":939,"text":"\t\t\tusage: \"abso mcp\",","atom":"a743","author":"pinch","version":79},{"n":940,"text":"\t\t\tabout:","atom":"a743","author":"pinch","version":79},{"n":941,"text":"\t\t\t\t\"An MCP server on stdin and stdout: the reading commands and the everyday writing ones as tools, answering with the same text as here. Add it with claude mcp add abso -- abso mcp (on Windows, claude mcp add abso -- cmd /c abso mcp).\",","atom":"a743","author":"pinch","version":79},{"n":942,"text":"\t\t\tflags: {},","atom":"a743","author":"pinch","version":79},{"n":943,"text":"\t\t},","atom":"a743","author":"pinch","version":79},{"n":944,"text":"\t\t{","atom":"a743","author":"pinch","version":79},{"n":945,"text":"\t\t\tname: \"--version\",","atom":"a743","author":"pinch","version":79},{"n":946,"text":"\t\t\tusage: \"abso --version\",","atom":"a743","author":"pinch","version":79},{"n":947,"text":"\t\t\tabout: \"This client's version and commit, and the abso mods installed on this machine.\",","atom":"a743","author":"pinch","version":79},{"n":948,"text":"\t\t\tflags: {},","atom":"a743","author":"pinch","version":79},{"n":949,"text":"\t\t},","atom":"a743","author":"pinch","version":79},{"n":950,"text":"\t];","atom":"a743","author":"pinch","version":79},{"n":951,"text":"}","atom":"a743","author":"pinch","version":79},{"n":952,"text":"","atom":"a743","author":"pinch","version":79},{"n":953,"text":"function help(): string {","atom":"a0","author":"init","version":0},{"n":954,"text":"\tconst entries = helpEntries().flatMap((c) => [","atom":"a1549","author":"speed","version":155},{"n":955,"text":"\t\t`  ${c.usage}`,","atom":"a1549","author":"speed","version":155},{"n":956,"text":"\t\t`      ${c.about}`,","atom":"a1549","author":"speed","version":155},{"n":957,"text":"\t\t...(c.server ? [`      ${c.server}`] : []),","atom":"a1549","author":"speed","version":155},{"n":958,"text":"\t]);","atom":"a1549","author":"speed","version":155},{"n":959,"text":"\treturn [HELP_INTRO, \"\", ...entries, \"\", HELP_NOTE].join(\"\\n\");","atom":"a743","author":"pinch","version":79},{"n":960,"text":"}","atom":"a743","author":"pinch","version":79},{"n":961,"text":"","atom":"a743","author":"pinch","version":79},{"n":962,"text":"/**","atom":"a743","author":"pinch","version":79},{"n":963,"text":" * help --json: the same entries as data, for a command reference built from the client itself. A flag is","atom":"a743","author":"pinch","version":79},{"n":964,"text":" * \"string\" (takes a value), \"boolean\" (stands alone) or \"optional\" (a value that may be left off); every","atom":"a743","author":"pinch","version":79},{"n":965,"text":" * command also takes --json and --help.","atom":"a743","author":"pinch","version":79},{"n":966,"text":" */","atom":"a743","author":"pinch","version":79},{"n":967,"text":"function helpJson(): Record<string, unknown> {","atom":"a743","author":"pinch","version":79},{"n":968,"text":"\treturn {","atom":"a743","author":"pinch","version":79},{"n":969,"text":"\t\tok: true,","atom":"a743","author":"pinch","version":79},{"n":970,"text":"\t\tcommand: \"help\",","atom":"a743","author":"pinch","version":79},{"n":971,"text":"\t\tversion: clientVersion(),","atom":"a743","author":"pinch","version":79},{"n":972,"text":"\t\tintro: HELP_INTRO,","atom":"a743","author":"pinch","version":79},{"n":973,"text":"\t\tnote: HELP_NOTE,","atom":"a743","author":"pinch","version":79},{"n":974,"text":"\t\tcommands: helpEntries(),","atom":"a743","author":"pinch","version":79},{"n":975,"text":"\t};","atom":"a743","author":"pinch","version":79},{"n":976,"text":"}","atom":"a0","author":"init","version":0},{"n":977,"text":"","atom":"a0","author":"init","version":0},{"n":978,"text":"export interface MainResult {","atom":"a0","author":"init","version":0},{"n":979,"text":"\treadonly stdout: string;","atom":"a0","author":"init","version":0},{"n":980,"text":"\treadonly stderr: string;","atom":"a0","author":"init","version":0},{"n":981,"text":"\treadonly exit: number;","atom":"a0","author":"init","version":0},{"n":982,"text":"\t/** What --json prints, whether or not it was asked for (abso mcp answers with both). */","atom":"a0","author":"init","version":0},{"n":983,"text":"\treadonly data?: Record<string, unknown>;","atom":"a0","author":"init","version":0},{"n":984,"text":"}","atom":"a0","author":"init","version":0},{"n":985,"text":"","atom":"a0","author":"init","version":0},{"n":986,"text":"/** The commands, for abso mcp: each tool is one of them. */","atom":"a0","author":"init","version":0},{"n":987,"text":"export function commandTable(): Readonly<","atom":"a0","author":"init","version":0},{"n":988,"text":"\tRecord<string, { readonly flags: FlagSpec; readonly usage: string; readonly about: string }>","atom":"a0","author":"init","version":0},{"n":989,"text":"> {","atom":"a0","author":"init","version":0},{"n":990,"text":"\treturn Object.fromEntries(Object.entries(COMMANDS).map(([name, c]) => [name, { ...c, flags: flagsOf(name, c) }]));","atom":"a1550","author":"speed","version":155},{"n":991,"text":"}","atom":"a0","author":"init","version":0},{"n":992,"text":"","atom":"a0","author":"init","version":0},{"n":993,"text":"function newsBlock(news: readonly string[]): string[] {","atom":"a0","author":"init","version":0},{"n":994,"text":"\treturn newsBlockLines(news.map((n) => newsShown(n)));","atom":"a278","author":"pinch","version":33},{"n":995,"text":"}","atom":"a681","author":"speed","version":76},{"n":996,"text":"","atom":"a681","author":"speed","version":76},{"n":997,"text":"/** Whether this folder's calls carry a key or token, for how a refusal is worded. False when that can't be told. */","atom":"a681","author":"speed","version":76},{"n":998,"text":"function credentialSent(env: Env, tokenFileAsked: boolean): string | undefined {","atom":"a2771","author":"pinch","version":281},{"n":999,"text":"\ttry {","atom":"a681","author":"speed","version":76},{"n":1000,"text":"\t\tconst root = findRoot(env.cwd);","atom":"a681","author":"speed","version":76},{"n":1001,"text":"\t\tif (root && readConfig(root, env.env, tokenFileAsked).token === undefined) return undefined;","atom":"a2771","author":"pinch","version":281},{"n":1002,"text":"\t\tif (root && existsSync(join(stateDir(root), \"key\"))) return \"this folder's key\";","atom":"a2771","author":"pinch","version":281},{"n":1003,"text":"\t\tif (fromEnv(env.env, \"TOKEN\")?.trim()) return \"ABSO_TOKEN\";","atom":"a2771","author":"pinch","version":281},{"n":1004,"text":"\t\tif (root && runKey(env.env)) return \"this pipeline run's key\";","atom":"a2771","author":"pinch","version":281},{"n":1005,"text":"\t\treturn tokenFileAsked && tokenFile() !== undefined ? \"the token file, ~/.abso/token\" : undefined;","atom":"a2771","author":"pinch","version":281},{"n":1006,"text":"\t} catch {","atom":"a681","author":"speed","version":76},{"n":1007,"text":"\t\treturn undefined;","atom":"a2771","author":"pinch","version":281},{"n":1008,"text":"\t}","atom":"a681","author":"speed","version":76},{"n":1009,"text":"}","atom":"a0","author":"init","version":0},{"n":1010,"text":"","atom":"a0","author":"init","version":0},{"n":1011,"text":"/** git's forms of push and pull that abso doesn't have (#427): one plain line naming the abso way. */","atom":"a827","author":"rename","version":100},{"n":1012,"text":"function gitOnlyForm(command: string, words: readonly string[]): string | undefined {","atom":"a827","author":"rename","version":100},{"n":1013,"text":"\tconst has = (...forms: string[]) => words.some((w) => forms.some((f) => w === f || w.startsWith(`${f}=`)));","atom":"a827","author":"rename","version":100},{"n":1014,"text":"\tif (command === \"push\" && has(\"-f\", \"--force\", \"--force-with-lease\", \"--force-if-includes\"))","atom":"a827","author":"rename","version":100},{"n":1015,"text":"\t\treturn \"abso push has no --force: nothing overwrites shared. When a push is refused, abso pull brings in the other side and abso settle keeps yours, theirs or both.\";","atom":"a827","author":"rename","version":100},{"n":1016,"text":"\tif (command === \"push\" && has(\"-u\", \"--set-upstream\", \"--all\", \"--tags\"))","atom":"a827","author":"rename","version":100},{"n":1017,"text":"\t\treturn \"abso push has no upstreams, branches or tags: it adds your draft to shared. A named draft is abso switch <name>; a label is abso label.\";","atom":"a827","author":"rename","version":100},{"n":1018,"text":"\tif (command === \"pull\" && has(\"--rebase\", \"-r\", \"--no-rebase\", \"--ff-only\", \"--ff\", \"--no-ff\", \"--squash\"))","atom":"a827","author":"rename","version":100},{"n":1019,"text":"\t\treturn \"abso pull has no --rebase or merge modes: it always brings shared under your draft, and lines changed on both sides are listed for abso settle.\";","atom":"a827","author":"rename","version":100},{"n":1020,"text":"\treturn undefined;","atom":"a827","author":"rename","version":100},{"n":1021,"text":"}","atom":"a827","author":"rename","version":100},{"n":1022,"text":"","atom":"a827","author":"rename","version":100},{"n":1023,"text":"export async function main(argv: readonly string[], env: Env): Promise<MainResult> {","atom":"a0","author":"init","version":0},{"n":1024,"text":"\ttry {","atom":"a2825","author":"pinch","version":287},{"n":1025,"text":"\t\treturn await runMain(argv, env);","atom":"a2825","author":"pinch","version":287},{"n":1026,"text":"\t} finally {","atom":"a2825","author":"pinch","version":287},{"n":1027,"text":"\t\t// A local project's store stays open only while its command runs.","atom":"a2825","author":"pinch","version":287},{"n":1028,"text":"\t\tcloseLocalStores();","atom":"a2825","author":"pinch","version":287},{"n":1029,"text":"\t}","atom":"a2825","author":"pinch","version":287},{"n":1030,"text":"}","atom":"a2825","author":"pinch","version":287},{"n":1031,"text":"","atom":"a2825","author":"pinch","version":287},{"n":1032,"text":"async function runMain(argv: readonly string[], env: Env): Promise<MainResult> {","atom":"a2825","author":"pinch","version":287},{"n":1033,"text":"\tconst command = argv[0];","atom":"a0","author":"init","version":0},{"n":1034,"text":"\tconst json = argv.includes(\"--json\") && command !== \"run\" && command !== \"logs\";","atom":"a0","author":"init","version":0},{"n":1035,"text":"\tconst asked = argv.includes(\"--token-file\");","atom":"a2705","author":"readspeed","version":271},{"n":1036,"text":"\tif (command === undefined || command === \"help\" || command === \"--help\" || command === \"-h\") {","atom":"a0","author":"init","version":0},{"n":1037,"text":"\t\tif (json) {","atom":"a743","author":"pinch","version":79},{"n":1038,"text":"\t\t\tconst data = helpJson();","atom":"a743","author":"pinch","version":79},{"n":1039,"text":"\t\t\treturn { stdout: `${JSON.stringify(data, null, 2)}\\n`, stderr: \"\", exit: EXIT.ok, data };","atom":"a743","author":"pinch","version":79},{"n":1040,"text":"\t\t}","atom":"a743","author":"pinch","version":79},{"n":1041,"text":"\t\treturn { stdout: `${help()}\\n`, stderr: \"\", exit: EXIT.ok };","atom":"a0","author":"init","version":0},{"n":1042,"text":"\t}","atom":"a0","author":"init","version":0},{"n":1043,"text":"\ttry {","atom":"a0","author":"init","version":0},{"n":1044,"text":"\t\tif (command === \"--version\") {","atom":"a0","author":"init","version":0},{"n":1045,"text":"\t\t\t// Loaded only here: it runs git, and no other command needs it.","atom":"a0","author":"init","version":0},{"n":1046,"text":"\t\t\tconst { versionReport } = await import(\"./install.ts\");","atom":"a0","author":"init","version":0},{"n":1047,"text":"\t\t\tconst { newerClientNote } = await import(\"./client-version.ts\");","atom":"a641","author":"pinch","version":68},{"n":1048,"text":"\t\t\tconst report = versionReport(env.env);","atom":"a0","author":"init","version":0},{"n":1049,"text":"\t\t\tconst root = findRoot(env.cwd);","atom":"a0","author":"init","version":0},{"n":1050,"text":"\t\t\tlet behind: string | undefined;","atom":"a0","author":"init","version":0},{"n":1051,"text":"\t\t\tif (root) {","atom":"a0","author":"init","version":0},{"n":1052,"text":"\t\t\t\ttry {","atom":"a0","author":"init","version":0},{"n":1053,"text":"\t\t\t\t\tconst server = (JSON.parse(readFileSync(configPath(root), \"utf8\")) as { server?: string }).server;","atom":"a0","author":"init","version":0},{"n":1054,"text":"\t\t\t\t\tif (server) behind = await newerClientNote(server);","atom":"a641","author":"pinch","version":68},{"n":1055,"text":"\t\t\t\t} catch {}","atom":"a0","author":"init","version":0},{"n":1056,"text":"\t\t\t}","atom":"a0","author":"init","version":0},{"n":1057,"text":"\t\t\treturn {","atom":"a0","author":"init","version":0},{"n":1058,"text":"\t\t\t\tstdout: json","atom":"a0","author":"init","version":0},{"n":1059,"text":"\t\t\t\t\t? `${JSON.stringify({ ok: true, command: \"version\", ...report.json, ...(behind ? { serverBehind: behind } : {}) }, null, 2)}\\n`","atom":"a0","author":"init","version":0},{"n":1060,"text":"\t\t\t\t\t: `${report.text}${behind ? `\\n${behind}` : \"\"}\\n`,","atom":"a0","author":"init","version":0},{"n":1061,"text":"\t\t\t\tstderr: \"\",","atom":"a0","author":"init","version":0},{"n":1062,"text":"\t\t\t\texit: EXIT.ok,","atom":"a0","author":"init","version":0},{"n":1063,"text":"\t\t\t};","atom":"a0","author":"init","version":0},{"n":1064,"text":"\t\t}","atom":"a0","author":"init","version":0},{"n":1065,"text":"\t\tconst def = COMMANDS[command];","atom":"a0","author":"init","version":0},{"n":1066,"text":"\t\tif (!def)","atom":"a0","author":"init","version":0},{"n":1067,"text":"\t\t\tthrow new UsageError(","atom":"a0","author":"init","version":0},{"n":1068,"text":"\t\t\t\t`unknown command ${JSON.stringify(command)}; the commands are ${Object.keys(COMMANDS).join(\", \")}, hook, mcp`,","atom":"a655","author":"speed","version":71},{"n":1069,"text":"\t\t\t);","atom":"a0","author":"init","version":0},{"n":1070,"text":"\t\tconst gitOnly = gitOnlyForm(command, argv.slice(1));","atom":"a826","author":"rename","version":100},{"n":1071,"text":"\t\tif (gitOnly) throw new UsageError(gitOnly);","atom":"a826","author":"rename","version":100},{"n":1072,"text":"\t\tconst use = serverUse(command);","atom":"a1552","author":"speed","version":155},{"n":1073,"text":"\t\tconst words = argv.includes(\"--\") ? argv.slice(1, argv.indexOf(\"--\")) : argv.slice(1);","atom":"a1560","author":"speed","version":155},{"n":1074,"text":"\t\tif (use === \"local\" && words.some((w) => w === \"--server\" || w.startsWith(\"--server=\")))","atom":"a1552","author":"speed","version":155},{"n":1075,"text":"\t\t\tthrow new UsageError(localRefusal(command));","atom":"a1552","author":"speed","version":155},{"n":1076,"text":"\t\tconst parsed = parseArgs(command, argv.slice(1), withBodyFiles(command, flagsOf(command, def)), def.rest);","atom":"a1552","author":"speed","version":155},{"n":1077,"text":"\t\tif ((command === \"push\" || command === \"pull\") && parsed.positionals.length > 0)","atom":"a826","author":"rename","version":100},{"n":1078,"text":"\t\t\tthrow new UsageError(","atom":"a826","author":"rename","version":100},{"n":1079,"text":"\t\t\t\t`abso ${command} takes no remote or branch: it ${command === \"push\" ? \"adds your draft to shared\" : \"brings shared into this folder\"}. A named draft is abso switch <name>.`,","atom":"a826","author":"rename","version":100},{"n":1080,"text":"\t\t\t);","atom":"a826","author":"rename","version":100},{"n":1081,"text":"\t\tif (bool(parsed, \"help\")) {","atom":"a0","author":"init","version":0},{"n":1082,"text":"\t\t\tconst files = bodyFilesHelp(command, def.flags);","atom":"a0","author":"init","version":0},{"n":1083,"text":"\t\t\tconst server = serverHelp(command);","atom":"a1551","author":"speed","version":155},{"n":1084,"text":"\t\t\treturn {","atom":"a1551","author":"speed","version":155},{"n":1085,"text":"\t\t\t\tstdout: `${def.usage}\\n  ${def.about}\\n${server ? `  ${server}\\n` : \"\"}${files ? `  ${files}\\n` : \"\"}`,","atom":"a1551","author":"speed","version":155},{"n":1086,"text":"\t\t\t\tstderr: \"\",","atom":"a1551","author":"speed","version":155},{"n":1087,"text":"\t\t\t\texit: EXIT.ok,","atom":"a1551","author":"speed","version":155},{"n":1088,"text":"\t\t\t};","atom":"a1551","author":"speed","version":155},{"n":1089,"text":"\t\t}","atom":"a0","author":"init","version":0},{"n":1090,"text":"\t\t// --server is checked before anything is read or sent: a bad value, or (for a command on a joined folder)","atom":"a1551","author":"speed","version":155},{"n":1091,"text":"\t\t// a server that isn't the folder's own, is refused here.","atom":"a1551","author":"speed","version":155},{"n":1092,"text":"\t\tconst named = use === \"local\" ? undefined : serverFlag(parsed);","atom":"a1551","author":"speed","version":155},{"n":1093,"text":"\t\tif (named !== undefined && use === \"folder\") checkFolderServer(command, named, env.cwd);","atom":"a1551","author":"speed","version":155},{"n":1094,"text":"\t\t// A folder that reads signed out runs its reads and nothing else, refused before any call.","atom":"a769","author":"pinch","version":86},{"n":1095,"text":"\t\tconst root = findRoot(env.cwd);","atom":"a769","author":"pinch","version":86},{"n":1096,"text":"\t\tif (root !== undefined && isVisitor(root)) checkVisitor(command, parsed, readConfig(root, env.env).project);","atom":"a769","author":"pinch","version":86},{"n":1097,"text":"\t\tconst args = readBodyFiles(command, parsed, env.cwd, env.readStdin);","atom":"a0","author":"init","version":0},{"n":1098,"text":"\t\ttakeNews(); // what an earlier call in this process left (tests run many)","atom":"a0","author":"init","version":0},{"n":1099,"text":"\t\tconst runEnv: Env = {","atom":"a2705","author":"readspeed","version":271},{"n":1100,"text":"\t\t\t...env,","atom":"a2705","author":"readspeed","version":271},{"n":1101,"text":"\t\t\t...(named === undefined ? {} : { server: named }),","atom":"a2705","author":"readspeed","version":271},{"n":1102,"text":"\t\t\t...(bool(parsed, \"token-file\") ? { tokenFile: true } : {}),","atom":"a2705","author":"readspeed","version":271},{"n":1103,"text":"\t\t};","atom":"a2705","author":"readspeed","version":271},{"n":1104,"text":"\t\tconst out = await def.run(args, runEnv);","atom":"a2705","author":"readspeed","version":271},{"n":1105,"text":"\t\tconst exit = out.exit ?? EXIT.ok;","atom":"a0","author":"init","version":0},{"n":1106,"text":"\t\t// Every command that took news while recording prints it (#37, News Report).","atom":"a0","author":"init","version":0},{"n":1107,"text":"\t\tconst news = takeNews();","atom":"a0","author":"init","version":0},{"n":1108,"text":"\t\tconst data = {","atom":"a0","author":"init","version":0},{"n":1109,"text":"\t\t\tok: exit === EXIT.ok,","atom":"a0","author":"init","version":0},{"n":1110,"text":"\t\t\tcommand,","atom":"a0","author":"init","version":0},{"n":1111,"text":"\t\t\t...out.json,","atom":"a0","author":"init","version":0},{"n":1112,"text":"\t\t\t...(news.length > 0 && !(\"news\" in out.json) ? { news } : {}),","atom":"a0","author":"init","version":0},{"n":1113,"text":"\t\t};","atom":"a0","author":"init","version":0},{"n":1114,"text":"\t\tif (json || bool(args, \"json\")) return { stdout: `${JSON.stringify(data, null, 2)}\\n`, stderr: \"\", exit, data };","atom":"a0","author":"init","version":0},{"n":1115,"text":"\t\t// run, logs and bisect: stdout is the box command's, and may be piped; news goes to stderr there (#37).","atom":"a348","author":"infra-split","version":37},{"n":1116,"text":"\t\tconst boxOut = command === \"run\" || command === \"logs\" || command === \"bisect\";","atom":"a0","author":"init","version":0},{"n":1117,"text":"\t\tconst text = [...(out.text === \"\" ? [] : [out.text.replace(/\\n$/, \"\")]), ...(boxOut ? [] : newsBlock(news))].join(","atom":"a0","author":"init","version":0},{"n":1118,"text":"\t\t\t\"\\n\",","atom":"a0","author":"init","version":0},{"n":1119,"text":"\t\t);","atom":"a0","author":"init","version":0},{"n":1120,"text":"\t\tconst errText = boxOut && news.length > 0 ? `${newsBlock(news).join(\"\\n\")}\\n` : \"\";","atom":"a0","author":"init","version":0},{"n":1121,"text":"\t\treturn { stdout: text === \"\" ? \"\" : `${text}\\n`, stderr: errText, exit, data };","atom":"a0","author":"init","version":0},{"n":1122,"text":"\t} catch (err) {","atom":"a0","author":"init","version":0},{"n":1123,"text":"\t\tconst e = err as Error;","atom":"a0","author":"init","version":0},{"n":1124,"text":"\t\tconst code = err instanceof UsageError ? \"usage\" : err instanceof ApiError ? \"server\" : \"error\";","atom":"a0","author":"init","version":0},{"n":1125,"text":"\t\tconst message =","atom":"a0","author":"init","version":0},{"n":1126,"text":"\t\t\tplainError(err, credentialSent(env, asked), !asked && tokenFile() !== undefined) ??","atom":"a2771","author":"pinch","version":281},{"n":1127,"text":"\t\t\t(err instanceof UsageError || err instanceof ApiError","atom":"a681","author":"speed","version":76},{"n":1128,"text":"\t\t\t\t? e.message","atom":"a681","author":"speed","version":76},{"n":1129,"text":"\t\t\t\t: `${e.message}${e.stack ? `\\n${e.stack}` : \"\"}`);","atom":"a681","author":"speed","version":76},{"n":1130,"text":"\t\t// The server refusing (409) is like a collision: exit 2, not a failure.","atom":"a0","author":"init","version":0},{"n":1131,"text":"\t\tconst exit = err instanceof ApiError && err.status === 409 ? EXIT.refused : EXIT.error;","atom":"a0","author":"init","version":0},{"n":1132,"text":"\t\t// News taken before the failure still shows.","atom":"a0","author":"init","version":0},{"n":1133,"text":"\t\tconst news = takeNews();","atom":"a0","author":"init","version":0},{"n":1134,"text":"\t\tconst data = { ok: false, command, error: { code, message }, ...(news.length > 0 ? { news } : {}) };","atom":"a0","author":"init","version":0},{"n":1135,"text":"\t\tif (json) return { stdout: `${JSON.stringify(data, null, 2)}\\n`, stderr: \"\", exit, data };","atom":"a0","author":"init","version":0},{"n":1136,"text":"\t\treturn {","atom":"a0","author":"init","version":0},{"n":1137,"text":"\t\t\tstdout: news.length > 0 ? `${newsBlock(news).join(\"\\n\")}\\n` : \"\",","atom":"a0","author":"init","version":0},{"n":1138,"text":"\t\t\tstderr: `abso ${command}: ${message}\\n`,","atom":"a0","author":"init","version":0},{"n":1139,"text":"\t\t\texit,","atom":"a0","author":"init","version":0},{"n":1140,"text":"\t\t\tdata,","atom":"a0","author":"init","version":0},{"n":1141,"text":"\t\t};","atom":"a0","author":"init","version":0},{"n":1142,"text":"\t}","atom":"a0","author":"init","version":0},{"n":1143,"text":"}","atom":"a2638","author":"approvals-page","version":259},{"n":1144,"text":"","atom":"a2638","author":"approvals-page","version":259},{"n":1145,"text":"/**","atom":"a2638","author":"approvals-page","version":259},{"n":1146,"text":" * abso 684: in an agent's folder on this same server, the ask `abso login` makes of a person in that project, so nobody","atom":"a2638","author":"approvals-page","version":259},{"n":1147,"text":" * relays the code. The folder's agent key proves the agent; the device code proves the sign-in is this client's own.","atom":"a2638","author":"approvals-page","version":259},{"n":1148,"text":" * Null outside such a folder, or when nobody could be asked: login then shows the code alone.","atom":"a2638","author":"approvals-page","version":259},{"n":1149,"text":" */","atom":"a2638","author":"approvals-page","version":259},{"n":1150,"text":"function loginAsk(server: string, env: Env): NonNullable<Parameters<typeof login>[1][\"ask\"]> | undefined {","atom":"a2638","author":"approvals-page","version":259},{"n":1151,"text":"\tconst root = findRoot(env.cwd);","atom":"a2638","author":"approvals-page","version":259},{"n":1152,"text":"\tif (root === undefined || isVisitor(root)) return undefined;","atom":"a2638","author":"approvals-page","version":259},{"n":1153,"text":"\tconst config = readConfig(root, env.env);","atom":"a2638","author":"approvals-page","version":259},{"n":1154,"text":"\tif (config.token === undefined || originOf(config.server) !== originOf(server)) return undefined;","atom":"a2638","author":"approvals-page","version":259},{"n":1155,"text":"\treturn async ({ device, user }) => {","atom":"a2638","author":"approvals-page","version":259},{"n":1156,"text":"\t\tconst asked = await fetch(`${originOf(server)}/login/ask`, {","atom":"a2638","author":"approvals-page","version":259},{"n":1157,"text":"\t\t\tmethod: \"POST\",","atom":"a2638","author":"approvals-page","version":259},{"n":1158,"text":"\t\t\theaders: { \"content-type\": \"application/json\", authorization: `Bearer ${config.token}` },","atom":"a2638","author":"approvals-page","version":259},{"n":1159,"text":"\t\t\tbody: JSON.stringify({ project: config.project, agent: config.agent, device_code: device, user_code: user }),","atom":"a2638","author":"approvals-page","version":259},{"n":1160,"text":"\t\t});","atom":"a2638","author":"approvals-page","version":259},{"n":1161,"text":"\t\tconst body = (await asked.json().catch(() => ({}))) as {","atom":"a2638","author":"approvals-page","version":259},{"n":1162,"text":"\t\t\terror?: string;","atom":"a2638","author":"approvals-page","version":259},{"n":1163,"text":"\t\t\tpeople?: string[];","atom":"a2638","author":"approvals-page","version":259},{"n":1164,"text":"\t\t\texpires_at?: string;","atom":"a2638","author":"approvals-page","version":259},{"n":1165,"text":"\t\t\trequest_url?: string;","atom":"a2638","author":"approvals-page","version":259},{"n":1166,"text":"\t\t\trole?: string;","atom":"a2638","author":"approvals-page","version":259},{"n":1167,"text":"\t\t};","atom":"a2638","author":"approvals-page","version":259},{"n":1168,"text":"\t\tif (!asked.ok || !Array.isArray(body.people) || typeof body.request_url !== \"string\")","atom":"a2664","author":"approvals-page","version":264},{"n":1169,"text":"\t\t\tthrow new Error(body.error ?? `the server answered ${asked.status}`);","atom":"a2664","author":"approvals-page","version":264},{"n":1170,"text":"\t\tconst expiresAt = Date.parse(body.expires_at ?? \"\");","atom":"a2638","author":"approvals-page","version":259},{"n":1171,"text":"\t\tconst { api } = openIssues(env);","atom":"a2638","author":"approvals-page","version":259},{"n":1172,"text":"\t\tconst when = new Intl.DateTimeFormat(\"en-US\", { timeZone: \"America/Chicago\", hour: \"numeric\", minute: \"2-digit\" });","atom":"a2638","author":"approvals-page","version":259},{"n":1173,"text":"\t\tconst question = `Please sign in my box \"${boxName()}\" for ${config.project}, as at most ${body.role}. It expires at ${when.format(new Date(expiresAt))} CT. Approve or deny: ${body.request_url}`;","atom":"a2638","author":"approvals-page","version":259},{"n":1174,"text":"\t\tconst asks: number[] = [];","atom":"a2638","author":"approvals-page","version":259},{"n":1175,"text":"\t\tfor (const of of body.people) asks.push((await api.ask({ of, question })).id);","atom":"a2638","author":"approvals-page","version":259},{"n":1176,"text":"\t\tconst first = asks[0];","atom":"a2638","author":"approvals-page","version":259},{"n":1177,"text":"\t\tif (first !== undefined)","atom":"a2638","author":"approvals-page","version":259},{"n":1178,"text":"\t\t\tawait fetch(`${originOf(server)}/login/ask/link`, {","atom":"a2638","author":"approvals-page","version":259},{"n":1179,"text":"\t\t\t\tmethod: \"POST\",","atom":"a2638","author":"approvals-page","version":259},{"n":1180,"text":"\t\t\t\theaders: { \"content-type\": \"application/json\" },","atom":"a2638","author":"approvals-page","version":259},{"n":1181,"text":"\t\t\t\tbody: JSON.stringify({ device_code: device, ask: first }),","atom":"a2638","author":"approvals-page","version":259},{"n":1182,"text":"\t\t\t});","atom":"a2638","author":"approvals-page","version":259},{"n":1183,"text":"\t\treturn {","atom":"a2638","author":"approvals-page","version":259},{"n":1184,"text":"\t\t\tproject: config.project,","atom":"a2638","author":"approvals-page","version":259},{"n":1185,"text":"\t\t\twho: body.people.length === 1 ? \"the person who approved this agent's box\" : `the owners of ${config.project}`,","atom":"a2638","author":"approvals-page","version":259},{"n":1186,"text":"\t\t\tasks,","atom":"a2638","author":"approvals-page","version":259},{"n":1187,"text":"\t\t\texpiresAt,","atom":"a2638","author":"approvals-page","version":259},{"n":1188,"text":"\t\t\trole: body.role ?? \"writer\",","atom":"a2638","author":"approvals-page","version":259},{"n":1189,"text":"\t\t\twithdraw: async () => {","atom":"a2638","author":"approvals-page","version":259},{"n":1190,"text":"\t\t\t\tfor (const id of asks) await api.withdraw(id, { note: \"The sign-in ran out; nothing was granted.\" });","atom":"a2638","author":"approvals-page","version":259},{"n":1191,"text":"\t\t\t},","atom":"a2638","author":"approvals-page","version":259},{"n":1192,"text":"\t\t};","atom":"a2638","author":"approvals-page","version":259},{"n":1193,"text":"\t};","atom":"a2638","author":"approvals-page","version":259},{"n":1194,"text":"}","atom":"a0","author":"init","version":0}],"atoms":[{"atom":"a0","author":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z","publish":{"draft":null,"version":0,"agent":"init","message":"Start the project","time":1791506895507,"timeIso":"2026-10-09T00:48:15.507Z"}},{"atom":"a3","author":"infra-split","message":"","time":1791507661191,"timeIso":"2026-10-09T01:01:01.191Z","publish":{"draft":null,"version":1,"agent":"infra-split","message":"The tool as of abso 612: https-only token, and the pipeline plan (abso 161)\n\nabso-core's version 0 is the tool cut from abso 609. This is the difference to abso 612, reviewed by Agent VCS before the cut, so abso's pin can switch to an exact match.\n\n- abso 611 (Pinch, Security's fix): off this machine, the client sends the token only over https. localhost, 127.0.0.1 and [::1] are still allowed. That's in client/src/core.ts and the view mod's copy (client/view/hooks/register.tsx), with tests and the README.\n- abso 612 (infra-pipeline): src/pipeline/plan.ts answers which pipelines an event starts, and their jobs in waves. `abso pipeline check --on <event>` shows the plan. Tests are in src/pipeline/test/plan.test.ts and client/test/pipeline-commands.test.ts.\n\nChecked here: npm ci, npx biome ci . and npm run check all exit 0 (693 pass, 1 skipped).","time":1791507661723,"timeIso":"2026-10-09T01:01:01.723Z"}},{"atom":"a27","author":"pinch","message":"","time":1791510162333,"timeIso":"2026-10-09T01:42:42.333Z","publish":{"draft":null,"version":5,"agent":"pinch","message":"abso issue new and abso issue N --comment take --attach <file,file> (abso issue 171). Each file goes up to the Issues Worker first (POST /p/:project/a/:agent/attachments, the bytes as the body and the name URI-encoded in X-Avcs-Name), and the write carries the ids the uploads answered. Nothing is sent if a file is missing or over 10 MB. --attach anywhere else is refused. The issue's page lists each attachment under the issue or comment carrying it: id, name, size and its link. The wire types gain Attachment and attachments?. MCP's issue tool takes attach too, since its parameters come from the flags. The server side is abso 621 (off until Cloud binds the bucket). Tests: client/test/attach.test.ts, against a stand-in Issues server. Checked: biome ci, npm run check (698 pass).","time":1791510167765,"timeIso":"2026-10-09T01:42:47.765Z"}},{"atom":"a67","author":"infra-split","message":"","time":1791514758825,"timeIso":"2026-10-09T02:59:18.825Z","publish":{"draft":null,"version":14,"agent":"infra-split","message":"An asker can take back an ask: abso ask --withdraw <ask> [--note \"why\"]\n\nAn ask that later decisions have overtaken used to sit in the asked person's waiting list for good. Only they could answer it, and \"none of these\" wasn't an option. Now the one who asked can withdraw it.\n\n- `abso ask --withdraw <ask> [--note \"why\"]` sends one call to the server's withdraw route. It's refused before any call when mixed with a question or the other ask flags. `--note-file` reads the note from a file or stdin, like every text flag.\n- A withdrawn ask closes the way an answered one does: it leaves the waiting list, and it stops holding its issue at Blocked. The ask keeps its question. The asker's note is kept as why, and the one asked hears it.\n- Ask gains `outcome?: \"withdrawn\"`. Older servers leave it out. The asks list and an issue's page show \"withdrawn by <asker>\" and the note, instead of \"answered by\".\n- The server side of the route comes with the hosted Issues service. Until it's there, the call answers with that server's error.\n\nTests: the new usage mistakes, and the single POST to the asker's own route. Checked: npx biome ci . and npm run check exit 0 (704 pass, 1 skipped).","time":1791514878707,"timeIso":"2026-10-09T03:01:18.707Z"}},{"atom":"a81","author":"review","message":"","time":1791520995119,"timeIso":"2026-10-09T04:43:15.119Z","publish":{"draft":null,"version":16,"agent":"review","message":"The client says abso, not avcs, in everything a person reads: the hints after an issue view and abso issue new, the help for issue, issues, ask, answer and waiting, the 'abso:' prefix on notices from run, publish --check, the queue and serve, the 'News from abso' header, the MCP server's name and the claude mcp add example, and the view mod's status line. Only printed words changed: file and folder names (avcs.json, .avcs/, ~/.avcs/token), environment variables and wire headers are as they were, and the tests were updated to the new words (704 pass, biome ci clean).","time":1791521002669,"timeIso":"2026-10-09T04:43:22.669Z"}},{"atom":"a145","author":"devops","message":"","time":1791528389952,"timeIso":"2026-10-09T06:46:29.952Z","publish":{"draft":null,"version":20,"agent":"devops","message":"Add abso search: find a project's issues by words or meaning\n\n`abso search \"<words>\" [--limit <N>]` lists the project's issues that\nmatch, best first, and is served as an MCP tool as well.\n\n- Each hit shows the issue, then where it matched: the title, the\n  description, a comment, or \"by meaning\".\n- \"#N\" or \"N\" puts issue N first.\n- Where the server also searches by meaning, an issue worded unlike\n  the search still turns up; the hit says so.","time":1791528391686,"timeIso":"2026-10-09T06:46:31.686Z"}},{"atom":"a154","author":"pinch","message":"","time":1791528779455,"timeIso":"2026-10-09T06:52:59.455Z","publish":{"draft":null,"version":22,"agent":"pinch","message":"abso skill install: the abso skill for Claude Code now comes with the client. It writes ~/.claude/skills/abso/SKILL.md (--dir names another skills folder), says when the copy there is already current, and touches nothing else in the folder. abso skill show prints it.\n\nThe skill tells an agent how to work in an abso folder (sync, start, publish, settle, issues and asks) and what never to share. It's instructions only: it names no tools to allow, and installing it changes no settings. Its source is client/skills/abso/SKILL.md; the client carries the same text, and a test keeps the two equal, so the one-file client includes it. The client README gains a section on it, and its MCP section now says a tool call stays inside the folder the server started in.","time":1791528783181,"timeIso":"2026-10-09T06:53:03.181Z"}},{"atom":"a165","author":"pinch","message":"","time":1791529997817,"timeIso":"2026-10-09T07:13:17.817Z","publish":{"draft":null,"version":23,"agent":"pinch","message":"abso issue <N> --copy-to <project>: copy an issue into another project, with its comments, answered asks and labels, each keeping its author and time. The Issues server reads the source issue itself; the client sends only which issue, and any cleaned texts.\n\n- --dry-run shows what the copy would make (title, how many comments and asks, which were edited, labels) and what's left behind. It writes nothing.\n- --clean <file> gives cleaned texts by source id, as JSON: {title, description, comments: [{id, text}], asks: [{id, question, answer}]}. A comment left out of a given list isn't copied.\n- --copy-to goes alone, so a copy is never half an edit. Copying into the project the issue is already in is refused before any call.\n- When a live server refuses the copy (copying out of a project there takes an owner of it), the message says --dry-run still works.\n- The MCP issue tool's clean input is a file too, so it's confined to the server's start folder like attach.\n\nTests: client/test/issues.test.ts, against a stand-in Issues server. The run --parallel test that sometimes times out under a full run passed when rerun.","time":1791530025571,"timeIso":"2026-10-09T07:13:45.571Z"}},{"atom":"a192","author":"pinch","message":"","time":1791532995488,"timeIso":"2026-10-09T08:03:15.488Z","publish":{"draft":null,"version":26,"agent":"pinch","message":"Publish and log fixes, and a flaky test removed.\n\n- A publish or a land now waits up to 150 s for the server's answer, not 30 s. The server may work on one request for up to 2 minutes, so a slow merge was reported as failed and then landed.\n- abso log reads any length of history. The server sends at most 200 versions a page, and the client now follows its pages: -n 2000 gives 2000, and --since or a folder reads up to 1000. abso log --before <version> starts below that version. The end of the list names the --before for the next older ones, and a filtered read says when it stopped short.\n- The test 'sends one run, and takes each command as one quoted word' is removed: it failed on Windows about half the time. The stand-in server the client tests use no longer closes idle kept-alive connections, which other tests also tripped on under load (ECONNRESET).\n\nCheck: 722 pass, 0 fail.","time":1791533012122,"timeIso":"2026-10-09T08:03:32.122Z"}},{"atom":"a212","author":"review","message":"","time":1791533506483,"timeIso":"2026-10-09T08:11:46.483Z","publish":{"draft":null,"version":27,"agent":"review","message":"Client: ABSO_ environment names (AVCS_ still read), .absoignore (.avcsignore still read), .abso-export.json, shot files; READMEs say abso (abso 224)","time":1791533840174,"timeIso":"2026-10-09T08:17:20.174Z"}},{"atom":"a248","author":"pinch","message":"","time":1791539259589,"timeIso":"2026-10-09T09:47:39.589Z","publish":{"draft":null,"version":29,"agent":"pinch","message":"Client: abso issue N --save-attachments <dir> saves each attachment on an issue and its comments once (an SVG's own file beside its drawing), outside the abso folder unless the place is ignored; MCP confines the folder like attach. abso export now stamps its folder with .abso-export, one line of JSON in a file with no extension, so the exported project's own formatter and linter pass it by; a folder stamped .abso-export.json or .avcs-export.json still counts as an export.","time":1791540340754,"timeIso":"2026-10-09T10:05:40.754Z"}},{"atom":"a278","author":"pinch","message":"","time":1791542609123,"timeIso":"2026-10-09T10:43:29.123Z","publish":{"draft":null,"version":33,"agent":"pinch","message":"Client: a tell reads as who told you and how sure that is, with what was said on the lines below: \"ann (as claimed) told you:\", \"Robin (a person) told you:\", \"ann (checked) told you:\" for an agent with a key of its own. A person's words are unquoted and their id is left out (news.log keeps the sentence whole). Tells are never cut in an agent's context, and later lines are indented everywhere news is printed (news, the News: block, the edit hook). What the server stores is unchanged. Client tests 273/273, tsc and biome clean.","time":1791542703308,"timeIso":"2026-10-09T10:45:03.308Z"}},{"atom":"a290","author":"pinch","message":"","time":1791543389649,"timeIso":"2026-10-09T10:56:29.649Z","publish":{"draft":null,"version":34,"agent":"pinch","message":"Client: abso orgs and abso org <name>, reading as the person who approved this box's sign-in (abso login): your organizations and roles, invitations waiting for you, and an org's projects, people (by name, never id), settings and open invites. Changes (--invite, --role, --remove, --leave, --members, --projects-by), abso org new and abso init --org are made on the website for now; each says where and sends nothing. One change at a time. MCP serves orgs and org. Client tests 283/283, tsc and biome clean.","time":1791543392927,"timeIso":"2026-10-09T10:56:32.927Z"}},{"atom":"a300","author":"pinch","message":"","time":1791544558067,"timeIso":"2026-10-09T11:15:58.067Z","publish":{"draft":null,"version":35,"agent":"pinch","message":"Client: files on asks and answers. abso ask and abso answer take --attach (uploaded first, as on issues; not with --withdraw); an ask lists its question's files under it and its answer's under the answer; abso issue N --save-attachments takes them too. An Issues server from before asks carried files keeps the words and drops the files: abso says so (notKept in --json) instead of losing them quietly. Wire: Ask.attachments and answer.attachments, optional. Client tests 286/286, tsc and biome clean.","time":1791544592629,"timeIso":"2026-10-09T11:16:32.629Z"}},{"atom":"a306","author":"pinch","message":"","time":1791545326429,"timeIso":"2026-10-09T11:28:46.429Z","publish":{"draft":null,"version":36,"agent":"pinch","message":"waiting --mine lists your publishes still in the merge queue: where each stands (being checked, or how many wait ahead of it), whether the queue is paused, and that the outcome comes as news; --json carries them as queued. A server without a queue, or one that can't be read, leaves them out rather than failing the asks.","time":1791545326646,"timeIso":"2026-10-09T11:28:46.646Z"}},{"atom":"a348","author":"infra-split","message":"","time":1791546892033,"timeIso":"2026-10-09T11:54:52.033Z","publish":{"draft":null,"version":37,"agent":"infra-split","message":"Comments and test names give each reason in plain words, without naming who raised it\n\nNotes like \"(#37, Builder 5)\" or \"(AVCS - Security)\" become \"(#37)\" or go, and a private commit hash after a name goes with it. Issue numbers and references such as git's CVE-2019-1353 stay. Only comments and test names change; no behavior changes.","time":1791547035956,"timeIso":"2026-10-09T11:57:15.956Z"}},{"atom":"a470","author":"pinch","message":"","time":1791581019555,"timeIso":"2026-10-09T21:23:39.555Z","publish":{"draft":null,"version":52,"agent":"pinch","message":"abso diff --agent <name>: review another agent's unpublished changes\n\nReviewing a teammate's work before it's published had no command: abso diff showed only your own draft, and abso status names files but not lines. Reviewers read the other agent's folder on disk, which only works on a shared machine and shows their disk, not what they recorded.\n\nabso diff --agent alice now prints alice's recorded, unpublished changes line by line, the way abso diff prints yours: \"alice's recorded, unpublished changes in shared (on version 12): 2 files, 5 lines added, 1 removed.\" Paths narrow it as usual. It reads what the server holds, the same route the website's drafts use, so it records nothing and changes nothing. An agent with no changes says so; a name the project doesn't know is refused by the server. --agent doesn't go with two versions or --draft.\n\nThe test server answers GET /p/:project/diff?agent= as the Worker does. Tested in client.test.ts.","time":1791581673467,"timeIso":"2026-10-09T21:34:33.467Z"}},{"atom":"a482","author":"pinch","message":"","time":1791583010910,"timeIso":"2026-10-09T21:56:50.910Z","publish":{"draft":null,"version":53,"agent":"pinch","message":"abso ack <ask> [\"note\"]: the one asked says they have an ask and will answer later. The ask stays open and keeps blocking; abso issue shows it as acknowledged with the note, and the asker hears it. The Ask wire type gains ack, the API client gains ack(), and the skill mentions the command.","time":1791583024285,"timeIso":"2026-10-09T21:57:04.285Z"}},{"atom":"a607","author":"speed","message":"","time":1791600855389,"timeIso":"2026-10-10T02:54:15.389Z","publish":{"draft":null,"version":60,"agent":"speed","message":"abso login opens the approve page in the browser\n\nLike gh auth login and wrangler login: abso login opens the approve page in the default browser with the code already in it, so nobody copies a link by hand. It still prints the link and the code, which stand when the open fails or is skipped.\n\n- Windows opens with rundll32 url.dll,FileProtocolHandler, macOS with open, Linux with xdg-open. There's no shell, so a link with & in it arrives whole (cmd's start would cut it).\n- No browser with --no-browser or ABSO_NO_BROWSER, over SSH (SSH_CONNECTION or SSH_TTY), under CI, or on Linux and other Unixes with neither DISPLAY nor WAYLAND_DISPLAY.\n- Only http and https links are opened, so a link from a server is never handed to the desktop as a file or a program.\n- The opener starts detached and isn't waited on; a failure is silent.\n\nTests: open-browser.test.ts (each skip, each platform's command, web links only, a failing opener is silent), and two login tests with an injected opener.","time":1791600855763,"timeIso":"2026-10-10T02:54:15.763Z"}},{"atom":"a641","author":"pinch","message":"","time":1791605781239,"timeIso":"2026-10-10T04:16:21.239Z","publish":{"draft":null,"version":68,"agent":"pinch","message":"An npm install of abso says when npm has a later version: status and --version add 'abso X is out and this is Y: npm install -g @abso-cli/abso updates it.' npm is asked at most once a day, and its answer is kept in ~/.abso/npm-latest.json. A copy bundled for a server still compares commits with that server. newerCommitNote is now newerClientNote.","time":1791606091384,"timeIso":"2026-10-10T04:21:31.384Z"}},{"atom":"a655","author":"speed","message":"","time":1791608390071,"timeIso":"2026-10-10T04:59:50.071Z","publish":{"draft":null,"version":71,"agent":"speed","message":"Help text: abso mcp's line gives the install command for an npm install (claude mcp add abso -- abso mcp, or cmd /c abso mcp on Windows), the unknown-command answer lists mcp, and the help no longer cites internal tracker numbers.","time":1791608390305,"timeIso":"2026-10-10T04:59:50.305Z"}},{"atom":"a661","author":"pinch","message":"","time":1791609963115,"timeIso":"2026-10-10T05:26:03.115Z","publish":{"draft":null,"version":72,"agent":"pinch","message":"Asks become threads: abso reply <ask> \"...\" adds to an ask from either side, open or answered, and --question hands the turn to the asker until they reply. abso ask <N> shows one ask with its whole thread and whose turn it is; abso waiting --asked lists the asks you sent. An ack's note is the thread's first reply. reply is an MCP tool too. Needs an Issues server with the reply, ask and asked routes.","time":1791609984916,"timeIso":"2026-10-10T05:26:24.916Z"}},{"atom":"a670","author":"pinch","message":"","time":1791610917967,"timeIso":"2026-10-10T05:41:57.967Z","publish":{"draft":null,"version":74,"agent":"pinch","message":"Server text can't drive the terminal: everything the client prints goes through one filter. Tabs, newlines and colors (SGR) pass, colors only to a terminal with NO_COLOR unset. Every other control character, and so every other escape sequence (OSC clipboard writes and links, cursor moves, DCS), prints as visible text such as \\x1b, so nothing vanishes silently. It covers news, version messages, CI logs, file paths and agent names, from any server.","time":1791610945827,"timeIso":"2026-10-10T05:42:25.827Z"}},{"atom":"a681","author":"speed","message":"","time":1791611187006,"timeIso":"2026-10-10T05:46:27.006Z","publish":{"draft":null,"version":76,"agent":"speed","message":"abso whoami and abso doctor, and plainer errors.\n\n- abso whoami: this box's sign-in as the server sees it (a revoked one shows as revoked), its projects, roles and expiry, and this folder's project, agent and kind of key. It names who approved the box when the server says.\n- abso doctor: one line per check, ok, fail or skip: Node's version (20 or later for the npm package, 24 for a checkout), that the server answers, this box's sign-in (present, unexpired, accepted), and this folder's key against its project (a GET of the project's head, which the server answers only after checking the key). A failed check gives the next step, and the exit is 1.\n- Neither prints a credential. Both are MCP tools too.\n- The commonest failures now say what to do: a 401 with no credential reads 'You're not signed in. Run abso login, then abso join <project>.'; a refused key points to abso doctor; a server that can't be reached reads 'Can't reach <server>...' with the next step, unless the message already gives one; and outside a folder, 'You're not in an abso folder' says how to make one.","time":1791611187590,"timeIso":"2026-10-10T05:46:27.590Z"}},{"atom":"a743","author":"pinch","message":"","time":1791613624472,"timeIso":"2026-10-10T06:27:04.472Z","publish":{"draft":null,"version":79,"agent":"pinch","message":"abso help --json: every command help shows, with its usage, about and flags, as data, so a command reference can be built from the client itself. And the terminal filter drops SGR 8 (conceal), which could hide text, keeping 8 where it's a color (38;5;8).","time":1791613624472,"timeIso":"2026-10-10T06:27:04.472Z"}},{"atom":"a760","author":"infra-pipeline","message":"","time":1791615855440,"timeIso":"2026-10-10T07:04:15.440Z","publish":{"draft":null,"version":85,"agent":"infra-pipeline","message":"abso pipeline runs: list a project's pipeline runs, show one run's jobs (state, why each stopped, exit, time, an npm or deploy job's phase), and print a job's log with --log <pipeline.job>","time":1791615856832,"timeIso":"2026-10-10T07:04:16.832Z"}},{"atom":"a769","author":"pinch","message":"","time":1791616755509,"timeIso":"2026-10-10T07:19:15.509Z","publish":{"draft":null,"version":86,"agent":"pinch","message":"Read a public project signed out: abso join <project> --reader with no sign-in makes a folder that reads it. The folder holds only its settings (server, project, visitor), sends no sign-in whatever the environment or the box holds, follows no redirect, and runs status, log, show, files, blame, why, where, issues, issue and search; every other command is refused before any call, from an allow-list a new command has to join. join answers a private project and a missing one alike, by the status answer's code alone. Tests in client/test/visitor.test.ts.","time":1791616980022,"timeIso":"2026-10-10T07:23:00.022Z"}},{"atom":"a826","author":"rename","message":"","time":1791657255219,"timeIso":"2026-10-10T18:34:15.219Z","publish":{"draft":null,"version":100,"agent":"rename","message":"abso publish is now abso push, abso sync is now abso pull (abso 427)\n\nCommands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; \"shared\" stays the noun (\"Pushed version N\"). No aliases, no notices. A queued push that was \"pulled\" is now \"turned back\", so pull means one thing.\n\npush -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch.\n\nKept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.","time":1791659833853,"timeIso":"2026-10-10T19:17:13.853Z"}},{"atom":"a827","author":"rename","message":"","time":1791657258003,"timeIso":"2026-10-10T18:34:18.003Z","publish":{"draft":null,"version":100,"agent":"rename","message":"abso publish is now abso push, abso sync is now abso pull (abso 427)\n\nCommands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; \"shared\" stays the noun (\"Pushed version N\"). No aliases, no notices. A queued push that was \"pulled\" is now \"turned back\", so pull means one thing.\n\npush -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch.\n\nKept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.","time":1791659833853,"timeIso":"2026-10-10T19:17:13.853Z"}},{"atom":"a911","author":"rename","message":"","time":1791672698194,"timeIso":"2026-10-10T22:51:38.194Z","publish":{"draft":null,"version":101,"agent":"rename","message":"Pipeline trigger: on: [push] replaces on: [publish] (abso 427)\n\nA pipeline file writes on: [push] (abso.yml, abso.yaml, avcs.json). The word publish is no longer accepted, with no alias. The check messages, \"doesn't run on push\", `abso pipeline check --on push` and its --json say push. The stored event kind stays \"publish\" underneath.","time":1791672702051,"timeIso":"2026-10-10T22:51:42.051Z"}},{"atom":"a921","author":"codex-mac-1","message":"","time":1791680677633,"timeIso":"2026-10-11T01:04:37.633Z","publish":{"draft":null,"version":102,"agent":"codex-mac-1","message":"Let login request projects, roles, agent limits and duration","time":1791680699999,"timeIso":"2026-10-11T01:04:59.999Z"}},{"atom":"a1542","author":"speed","message":"","time":1791913209433,"timeIso":"2026-10-13T17:40:09.433Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1543","author":"speed","message":"","time":1791913210118,"timeIso":"2026-10-13T17:40:10.118Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1544","author":"speed","message":"","time":1791913210853,"timeIso":"2026-10-13T17:40:10.853Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1545","author":"speed","message":"","time":1791913211593,"timeIso":"2026-10-13T17:40:11.593Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1546","author":"speed","message":"","time":1791913212184,"timeIso":"2026-10-13T17:40:12.184Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1548","author":"speed","message":"","time":1791913214739,"timeIso":"2026-10-13T17:40:14.739Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1549","author":"speed","message":"","time":1791913215321,"timeIso":"2026-10-13T17:40:15.321Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1550","author":"speed","message":"","time":1791913215812,"timeIso":"2026-10-13T17:40:15.812Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1551","author":"speed","message":"","time":1791913223661,"timeIso":"2026-10-13T17:40:23.661Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1552","author":"speed","message":"","time":1791913230502,"timeIso":"2026-10-13T17:40:30.502Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1560","author":"speed","message":"","time":1791913488241,"timeIso":"2026-10-13T17:44:48.241Z","publish":{"draft":null,"version":155,"agent":"speed","message":"Every command that talks to a server now takes --server <url>, parsed and checked in one place (client/src/server-choice.ts). A missing, empty or malformed value is refused before anything is sent. In a joined folder, --server must be the folder's own server: another one is refused rather than swapped in, so a folder's work and key go only to the server it was joined on. Commands that pick their own server (join, init, login, whoami, doctor, box, logout, orgs, org, key) use the named one as given; doctor no longer swaps in the folder's server over an explicit one, and an explicit --server takes issues to that server's own Issues Worker instead of ABSO_ISSUES_SERVER. The five local-only commands refuse --server and say why. Help shows the same --server line for every command of a kind. For abso-core issue 10.","time":1791913490940,"timeIso":"2026-10-13T17:44:50.940Z"}},{"atom":"a1568","author":"speed","message":"","time":1791913878674,"timeIso":"2026-10-13T17:51:18.674Z","publish":{"draft":null,"version":156,"agent":"speed","message":"With nothing naming a server, the client now uses prod (https://api.abso.dev). Every command picks its server in one order: --server, else the joined folder's own server, else ABSO_SERVER, else prod. Which servers this box is signed in to no longer picks one, so a box signed in to staging and prod both, or to staging alone, goes to prod instead of refusing or quietly using staging; staging is a deliberate --server, a joined staging folder, or ABSO_SERVER. An explicit choice is used as given. A malformed ABSO_SERVER is refused like a malformed --server. When this box isn't signed in to the chosen server but is to others, whoami and join name them and how to pick one. Help states the order for every command that picks its server. For abso-core issue 9.","time":1791913882665,"timeIso":"2026-10-13T17:51:22.665Z"}},{"atom":"a2078","author":"box-grants","message":"","time":1791994804231,"timeIso":"2026-10-14T16:20:04.231Z","publish":{"draft":null,"version":185,"agent":"box-grants","message":"abso init, init --org and org new from a signed-in box (abso 663). On a server this box is signed in to and with no token for it, abso init makes the project as the person who approved the box, through the server's POST /box/projects (the website's own create): its folder (up to 24 MB) is the first version, --public or --private picks visibility (private by default), --org makes it an organization's project, and one Idempotency-Key per folder (kept in .abso/init-key until it finishes) makes a retry the same project. The folder then joins at once with its own key from the box (--agent, else the box's name). abso org new <name> [--name] makes an organization through POST /box/orgs. abso box and login say 'all of yours, now and later' for a member-all grant. Without a box, init and init --org say to abso login. Tests: orgs, box, help; full suite passes.","time":1791994804231,"timeIso":"2026-10-14T16:20:04.231Z"}},{"atom":"a2095","author":"candidates","message":"","time":1792003615465,"timeIso":"2026-10-14T18:46:55.465Z","publish":{"draft":null,"version":186,"agent":"candidates","message":"Read a version of shared without some earlier versions: abso show <N> --without A,B shows what differs and abso export <dir> --version N --without A,B writes the files. The server's GET without?version=&versions= checks the set left exactly as asked: when a version it keeps builds on one left out, it refuses with that chain, the files and the wider set that works, and never widens it. Atoms keep their ids and authors; shared and its log don't change; the same ask gives the same tree hash.","time":1792004002371,"timeIso":"2026-10-14T18:53:22.371Z"}},{"atom":"a2170","author":"whytrail","message":"","time":1792019576836,"timeIso":"2026-10-14T23:12:56.836Z","publish":{"draft":null,"version":193,"agent":"whytrail","message":"abso why follows a line back past formatting to its reason, and names git commits\n\nwhy now lists a line's earlier changes, newest first, with what the line read before each. A change that rewrote a line left the line it replaced in the file's history; why pairs the two (same code formatted differently, the same code rewrapped, or the most similar line) and follows the pairs back. A change that only touched formatting (whitespace, line wrapping, quotes, trailing commas, line-end semicolons, parentheses around a lone arrow parameter) is skipped by default, and why names it: 'Skipped 1 formatting change since: version 366'. --all shows those too. --at <version> reads the line as it was at that version.\n\nA push imported from git (client/scripts/import-git.ts, or a plain git push) names its commit and author in why and blame. import-git.ts now also records where the repository's issues are, from origin on GitHub or GitLab or --issues, and why says which issue #N in an imported message or line means. A project imported before this can say it once in abso.json: \"gitIssues\": \"https://github.com/owner/repo/issues\".\n\nCloses issues 20 and 21's tool side.","time":1792019638939,"timeIso":"2026-10-14T23:13:58.939Z"}},{"atom":"a2394","author":"autosettle","message":"","time":1792048145950,"timeIso":"2026-10-15T07:09:05.950Z","publish":{"draft":null,"version":220,"agent":"autosettle","message":"abso autosettle: see or change what the server does with a held push (abso-core 23)\n\nabso autosettle says the project's choice: Off, Advise, or Settle at a confidence. It also says when the gate is stopped and who changed it last. abso autosettle off|advise|settle [--at 0.3-0.95] changes it, which takes the owner's key (on staging, the shared token too); without --at the server keeps its own. On a server with no choice per project (the open server), it says the operator's AUTOSETTLE decides. A visitor folder refuses it.\n\nTried on project abso's Worker run locally (read, settle --at 0.7, advise, a bad word, --at 2) and on the open server. Tests: autosettle-command (words), visitor (the allow-list), typecheck clean.","time":1792048146388,"timeIso":"2026-10-15T07:09:06.388Z"}},{"atom":"a2409","author":"autosettle","message":"","time":1792051756544,"timeIso":"2026-10-15T08:09:16.544Z","publish":{"draft":null,"version":223,"agent":"autosettle","message":"abso autosettle history: the held pushes the model advised on, and what was then kept (abso-core 23)\n\nabso autosettle history lists a project's held pushes that got advice, newest first. Each collision gets one line: what the model said (a side or leave it to an agent, by a check in code or the model with its confidence), whether abso was told to settle it, and what the agent then kept, automatically or by hand, in which version. abso autosettle history <id> shows one, naming its calls to the model; --json has each exact request and raw answer. It reads the platform's /autosettle/history routes (project abso 1249).\n\nTests: autosettle-command (words, history lines), visitor (the allow-list); typecheck clean.","time":1792051943717,"timeIso":"2026-10-15T08:12:23.717Z"}},{"atom":"a2621","author":"groups","message":"","time":1792091364906,"timeIso":"2026-10-15T19:09:24.906Z","publish":{"draft":null,"version":256,"agent":"groups","message":"groups: abso groups and abso group, for a project's named groups of agents and people with one shared history. abso group <name> reads its settings, members and history (newest first; --before, --limit, --kind). --post adds a message, with news for every other member unless --news names some, --except leaves some out, or --news none keeps it in the history only. --join, --leave, --add, --remove, --rename, --private on|off and --joinable on|off change it; abso group new makes one. A retried post never posts twice (the Idempotency-Key every POST sends). Both are MCP tools; a visitor folder refuses them. Tests: client/test/group-commands.test.ts, visitor.test.ts.","time":1792091364906,"timeIso":"2026-10-15T19:09:24.906Z"}},{"atom":"a2638","author":"approvals-page","message":"","time":1792092902455,"timeIso":"2026-10-15T19:35:02.455Z","publish":{"draft":null,"version":259,"agent":"approvals-page","message":"Box sign-ins asked of a person (abso 684, client; Security's yes with changes on ask 2097). In an agent's folder on the same server, abso login also asks a person in that project to approve it, through POST /login/ask with the folder's agent key and this client's own device code, then an ordinary abso ask (to person:<id>) with the request link, linked with /login/ask/link. It says who it asked and until when, keeps the code link as a fallback, says who turned it down on a deny, and withdraws its ask when nobody answers in time. --no-ask shows the code only. Tests: client/test/box.test.ts, three new (abso 684).","time":1792093041064,"timeIso":"2026-10-15T19:37:21.064Z"}},{"atom":"a2651","author":"readspeed","message":"","time":1792093797415,"timeIso":"2026-10-15T19:49:57.415Z","publish":{"draft":null,"version":261,"agent":"readspeed","message":"abso flag: list, flip and audit a server's feature flags\n\nA server can keep feature flags: switches it reads while it runs, so a gate changes with no deploy. abso flag is the command for them.\n\n- abso flag [list]: each flag, the values it takes, its safe default, what it gates, and where it's set (the whole server, a project, or a person).\n- abso flag set <flag> <value> --why \"...\" [--project <name> | --person person:<id>]: sets a value; abso flag unset takes it away. A change without --why, or for a project and a person both, is refused before anything is sent.\n- abso flag log [--limit N]: the server's record of changes, newest first: when, who, which flag where, old to new, and why.\n\nThe server decides who may. The folder's own key goes with every call. The admin token is read from ABSO_ADMIN_TOKEN or ~/.abso/admin-token, sent only to a server ABSO_ADMIN_SERVERS names, and never printed; credentials are scrubbed from any error.\n\nTests: client/test/flag-command.test.ts. Visitor folders refuse flag (visitor.test.ts).","time":1792093797980,"timeIso":"2026-10-15T19:49:57.980Z"}},{"atom":"a2664","author":"approvals-page","message":"","time":1792095519694,"timeIso":"2026-10-15T20:18:39.694Z","publish":{"draft":null,"version":264,"agent":"approvals-page","message":"abso login says why it couldn't ask a person (abso 684): when the ask step fails (the server refuses, a limit, Issues unreachable), it prints 'Couldn't ask a person to approve this (<reason>), so here is the code.' and falls back to the code, instead of falling back silently. Found trying 684 on staging. Tests: client/test/box.test.ts, 16 pass.","time":1792097612529,"timeIso":"2026-10-15T20:53:32.529Z"}},{"atom":"a2686","author":"readspeed","message":"","time":1792100173165,"timeIso":"2026-10-15T21:36:13.165Z","publish":{"draft":null,"version":268,"agent":"readspeed","message":"abso init and join sign in with the box sign-in; ~/.abso/token only with --token-file\n\nBefore, abso init used ~/.abso/token whenever the file existed, ahead of the box sign-in. So a project could be made with whatever credential happened to be in that file, without the agent knowing. abso join with --agent fell back to the same file.\n\n- init signs in with the box sign-in when there is one. A token named in the environment (ABSO_TOKEN, or a pipeline run's ABSO_KEY_FILE) is used as given.\n- ~/.abso/token is used only with the new --token-file flag, on init and on join, and never by itself. Without the flag and with nothing else to sign in with, init refuses before it makes anything (\"~/.abso/token is used only with --token-file\"), and so does join's sign-in error.\n- --token-file is refused in a folder that already has a key.\n- Both say what they sign in with before they make or join anything: \"this box's sign-in, b_...\", \"a new key from this box's sign-in\", \"this folder's key\", \"ABSO_TOKEN\", or \"the token file, ~/.abso/token, as --token-file asks\".\n- config.ts: trustedToken and tokenFile are exported, and readConfig takes tokenFileOk (default true, so other commands are unchanged).\n\nTests: client/test/init-credential.test.ts (4). With a token file and a box sign-in, init sends only the box's credential. With only a token file, init is refused and no project is made. With --token-file, init and join use the file and say so. All client tests pass (440).\n\nCloses issue 25.","time":1792100173679,"timeIso":"2026-10-15T21:36:13.679Z"}},{"atom":"a2693","author":"box-grants","message":"","time":1792101552634,"timeIso":"2026-10-15T21:59:12.634Z","publish":{"draft":null,"version":269,"agent":"box-grants","message":"abso news --stream and --follow (abso 690, news wakes agents): --stream mints a ticket and prints the Monitor call (ws URL plus subprotocols, 30-minute timeout) so a Claude Code chat wakes the moment news arrives, with no polling. --follow holds the seat's stream itself, a line per item, a new ticket per socket, a ping every 45 s, waits 1 s doubling to a minute between sockets, and stops on a refused key or a server without the stream (404). The key never goes in a URL or a Monitor call. Needs the server's news/ticket and news/stream routes (Read Speed, next). Tests: client/test/news-stream.test.ts.","time":1792101553240,"timeIso":"2026-10-15T21:59:13.240Z"}},{"atom":"a2705","author":"readspeed","message":"","time":1792101742296,"timeIso":"2026-10-15T22:02:22.296Z","publish":{"draft":null,"version":271,"agent":"readspeed","message":"No command picks up a credential from a file nobody asked for\n\nFollows \"abso init signs in with the box sign-in\" (issue 25), and applies it to every command.\n\n- A folder with a key signs in with that key and nothing else: not ABSO_TOKEN, not ~/.abso/token, even when the server refuses the key. A key file that can't be read is now an error (\"abso key install puts a key back\") instead of a quiet fall back to another credential.\n- With no key, a command signs in with ABSO_TOKEN (or a pipeline run's ABSO_KEY_FILE). This machine's ~/.abso/token is used only by a command given --token-file, which every command that talks to a server now takes. Without it, a refused call says \"You're not signed in. Run abso login, then abso join <project>. ~/.abso/token is used only with --token-file.\" abso doctor says the same about a token file it finds unused. The edit hook and MCP tools never read it.\n- The admin token (ABSO_ADMIN_TOKEN, or ~/.abso/admin-token) is read only by abso key and abso flag. Each says \"Using the admin token, from ...\" every time it uses it. A test holds that no other module reads the file.\n\nWhat changes for you: a folder with no key that relied on ~/.abso/token needs --token-file on each command, or ABSO_TOKEN, or a key (abso login, then abso join).\n\nTests: client/test/token-file.test.ts (3, new); client/test/client.test.ts's MCP check covers --token-file. All client tests pass (443).","time":1792101955290,"timeIso":"2026-10-15T22:05:55.290Z"}},{"atom":"a2707","author":"readspeed","message":"","time":1792101852654,"timeIso":"2026-10-15T22:04:12.654Z","publish":{"draft":null,"version":271,"agent":"readspeed","message":"No command picks up a credential from a file nobody asked for\n\nFollows \"abso init signs in with the box sign-in\" (issue 25), and applies it to every command.\n\n- A folder with a key signs in with that key and nothing else: not ABSO_TOKEN, not ~/.abso/token, even when the server refuses the key. A key file that can't be read is now an error (\"abso key install puts a key back\") instead of a quiet fall back to another credential.\n- With no key, a command signs in with ABSO_TOKEN (or a pipeline run's ABSO_KEY_FILE). This machine's ~/.abso/token is used only by a command given --token-file, which every command that talks to a server now takes. Without it, a refused call says \"You're not signed in. Run abso login, then abso join <project>. ~/.abso/token is used only with --token-file.\" abso doctor says the same about a token file it finds unused. The edit hook and MCP tools never read it.\n- The admin token (ABSO_ADMIN_TOKEN, or ~/.abso/admin-token) is read only by abso key and abso flag. Each says \"Using the admin token, from ...\" every time it uses it. A test holds that no other module reads the file.\n\nWhat changes for you: a folder with no key that relied on ~/.abso/token needs --token-file on each command, or ABSO_TOKEN, or a key (abso login, then abso join).\n\nTests: client/test/token-file.test.ts (3, new); client/test/client.test.ts's MCP check covers --token-file. All client tests pass (443).","time":1792101955290,"timeIso":"2026-10-15T22:05:55.290Z"}},{"atom":"a2708","author":"readspeed","message":"","time":1792101852947,"timeIso":"2026-10-15T22:04:12.947Z","publish":{"draft":null,"version":271,"agent":"readspeed","message":"No command picks up a credential from a file nobody asked for\n\nFollows \"abso init signs in with the box sign-in\" (issue 25), and applies it to every command.\n\n- A folder with a key signs in with that key and nothing else: not ABSO_TOKEN, not ~/.abso/token, even when the server refuses the key. A key file that can't be read is now an error (\"abso key install puts a key back\") instead of a quiet fall back to another credential.\n- With no key, a command signs in with ABSO_TOKEN (or a pipeline run's ABSO_KEY_FILE). This machine's ~/.abso/token is used only by a command given --token-file, which every command that talks to a server now takes. Without it, a refused call says \"You're not signed in. Run abso login, then abso join <project>. ~/.abso/token is used only with --token-file.\" abso doctor says the same about a token file it finds unused. The edit hook and MCP tools never read it.\n- The admin token (ABSO_ADMIN_TOKEN, or ~/.abso/admin-token) is read only by abso key and abso flag. Each says \"Using the admin token, from ...\" every time it uses it. A test holds that no other module reads the file.\n\nWhat changes for you: a folder with no key that relied on ~/.abso/token needs --token-file on each command, or ABSO_TOKEN, or a key (abso login, then abso join).\n\nTests: client/test/token-file.test.ts (3, new); client/test/client.test.ts's MCP check covers --token-file. All client tests pass (443).","time":1792101955290,"timeIso":"2026-10-15T22:05:55.290Z"}},{"atom":"a2771","author":"pinch","message":"","time":1792114303447,"timeIso":"2026-10-16T01:31:43.447Z","publish":{"draft":null,"version":281,"agent":"pinch","message":"Client fixes from the judge dry run: help with today's names, a mod installer hint that runs, a failed init or join takes back what it wrote, a refused 401 names the credential that went, and reply --file\n\n- help: abso.json, ABSO_ADMIN_TOKEN, ABSO_ADMIN_SERVERS, ABSO_BOX and .abso/shots/ in place of the old names, and the missing full stop. abso shot saves under .abso/shots/ as help says.\n- --version, init, join and status name the mod installer by its full path, and on a Node that can't run .ts files say it needs Node 22.18 or later. A built copy, which has no installer, says abso record sends the edits.\n- A failed init removes the .absoignore and abso.json it wrote. A failed join removes its .abso/ folder; a key already there, or one made for this join, stays.\n- A 401 names what was sent (this folder's key, ABSO_TOKEN, a pipeline run's key, the token file) instead of always a folder key.\n- reply takes --file <path> or --file - (stdin), like ask and answer.\n- The mod-behind tests no longer depend on which mods the machine has.\n\nTests: install, body-files, failed-start (new), doctor, help, lost-pull pass; tsc clean.","time":1792114518416,"timeIso":"2026-10-16T01:35:18.416Z"}},{"atom":"a2825","author":"pinch","message":"","time":1792119773277,"timeIso":"2026-10-16T03:02:53.277Z","publish":{"draft":null,"version":287,"agent":"pinch","message":"Local projects: abso init --local keeps a project's history on this machine, with no server, sign-in or network\n\nA local folder's calls never leave the process. The client runs the open server's own router and project object (server/src) in-process, over Node's built-in SQLite. It's the same engine with the same answers, so what the commands print matches a server.\n\n- abso init --local [--project <name>] [--agent <name>] [--store <folder>] makes the project, and abso join <project> --local adds a folder. After that, record, push, pull, log, blame and the held collisions work as usual. The folder's config says \"server\": \"local\".\n- Where the store lives: --store (kept in the folder's config; a store inside the folder is left out of its files through .absoignore), else ABSO_STORE, else this user's data folder: %LOCALAPPDATA%\\abso\\store, ~/Library/Application Support/abso/store, or $XDG_DATA_HOME/abso/store. Nothing needs a writable home folder when ABSO_STORE or --store is set.\n- Each project is <store>/<project>/project.sqlite. Every call runs in one SQLite write transaction, which is the store's lock: other processes wait for it, and a process that dies mid-call keeps nothing half-written. A process reloads the project only when SQLite's data_version shows another process wrote.\n- No credential goes with a local folder's calls. The edit mod leaves local folders alone, so abso record sends their edits. Issues, asks and news aren't in local projects yet.\n- Needs Node 22.13 or later (node:sqlite); its experimental warning is kept out of the output. Run as .ts, a module hook supplies the Durable Object base class (client/src/durable-object-stand-in.ts); the build aliases cloudflare:workers to the same file. client/src/local-server.mjs, with its .d.mts, keeps the client's typecheck out of server/src, which has its own.\n- Each command closes the store files it opened.\n\nTests: local (8, with fetch replaced by one that throws: init, record, push, join, pull, log, blame, a held collision, --store inside the folder, refusals), plus failed-start, install, caller, doctor, lost-pull, help, body-files: 60 pass; tsc clean. The bundle built with the alias runs init, push and log locally.","time":1792119778236,"timeIso":"2026-10-16T03:02:58.236Z"}},{"atom":"a2927","author":"box-grants","message":"","time":1792172641491,"timeIso":"2026-10-16T17:44:01.491Z","publish":{"draft":null,"version":302,"agent":"box-grants","message":"abso login --web: a staging website session in an agent's own browser with no secret in its hands. It sends this box's sign-in (or, with --pat-file, a test account's PAT read from that file) to the staging website's /login/handoff and prints only the one-use link it answers, which signs whichever browser opens it in as that person, within a minute. Prod has no website for it: agents never sign in there. Tests: client/test/web-session.test.ts.","time":1792172641933,"timeIso":"2026-10-16T17:44:01.933Z"}},{"atom":"a2936","author":"box-grants","message":"","time":1792174936266,"timeIso":"2026-10-16T18:22:16.266Z","publish":{"draft":null,"version":304,"agent":"box-grants","message":"abso login --web says what the link reaches: a box's only the projects the box was granted, at most as a writer, until the box is revoked or ends (abso 1464, website 1125, Security); a PAT's at most as a writer. The help says the same, and that it writes issues, replies, answers, groups and announcements and changes no members, roles, visibility, keys, boxes or settings. Tests: client/test/web-session.test.ts (4).","time":1792174936899,"timeIso":"2026-10-16T18:22:16.899Z"}},{"atom":"a2943","author":"box-grants","message":"","time":1792178491391,"timeIso":"2026-10-16T19:21:31.391Z","publish":{"draft":null,"version":306,"agent":"box-grants","message":"abso login --web sends a credential only to the staging website beside the folder's own staging server (Security condition 6, Code Review's Medium on 302). The pairing is the fixed list in web-session.ts; any other server, prod included, is refused and nothing is sent. A box's sign-in takes no --site at all. --site is only for --pat-file, and only http://localhost or 127.0.0.1. webLogin settles the website before it reads the credential, so a refusal reads and sends nothing. Tests: client/test/web-session.test.ts (5), including that every refused case reads no credential and sends no request; tsc exits 0.","time":1792178581623,"timeIso":"2026-10-16T19:23:01.623Z"}},{"atom":"a2949","author":"box-grants","message":"","time":1792178548427,"timeIso":"2026-10-16T19:22:28.427Z","publish":{"draft":null,"version":306,"agent":"box-grants","message":"abso login --web sends a credential only to the staging website beside the folder's own staging server (Security condition 6, Code Review's Medium on 302). The pairing is the fixed list in web-session.ts; any other server, prod included, is refused and nothing is sent. A box's sign-in takes no --site at all. --site is only for --pat-file, and only http://localhost or 127.0.0.1. webLogin settles the website before it reads the credential, so a refusal reads and sends nothing. Tests: client/test/web-session.test.ts (5), including that every refused case reads no credential and sends no request; tsc exits 0.","time":1792178581623,"timeIso":"2026-10-16T19:23:01.623Z"}},{"atom":"a2952","author":"box-grants","message":"","time":1792178581121,"timeIso":"2026-10-16T19:23:01.121Z","publish":{"draft":null,"version":306,"agent":"box-grants","message":"abso login --web sends a credential only to the staging website beside the folder's own staging server (Security condition 6, Code Review's Medium on 302). The pairing is the fixed list in web-session.ts; any other server, prod included, is refused and nothing is sent. A box's sign-in takes no --site at all. --site is only for --pat-file, and only http://localhost or 127.0.0.1. webLogin settles the website before it reads the credential, so a refusal reads and sends nothing. Tests: client/test/web-session.test.ts (5), including that every refused case reads no credential and sends no request; tsc exits 0.","time":1792178581623,"timeIso":"2026-10-16T19:23:01.623Z"}}]}