Changelog for apps
What changed in the Convex component and the HTTP server, release by release.
What changed in wakectl itself is in its own changelog.
The Convex component
0.4.0Latest
Added
- The component serves wake/v1's calls for devices that watch. An agent's owner adds a phone or a browser with a code
issueWatchCodemakes in your own interface, and the device lists the agent's runs and answers asks.exposeWatchApinameswake:runs,wake:answer,wake:places,wake:watching,wake:pushandwake:activity, andregisterRoutesaddsPOST /wake/v1/watch. A place key opens none of these calls, and a watch key none of Wake's. plansays what an agent's plan includes.exposeWatchApireads it from your own tables at each call. On a plan without devices, every watch call butwake:watchingthrowsConvexError("not-in-plan"); withoutplan, everything is included.wake:waiting: Wake can say a run waits on its owner. It's optional, inexposeApi. The owner's devices see it, andforSubjectandforOwneranswerwaiting: true.summontakesaskerName. The owner's devices show who asks.devices,forgetDeviceandalertTargets. An agent's devices for its owner to see and remove, and which of them want an alert, and how to reach each.
Changed
- Pairing takes control characters out of a machine's name. A device shows the name as it reads.
0.3.0
Added
forOwnerlists a person's runs, outside the comments. Their agents' summonses across subjects, newest change first, each with its target and run, in one scope when given: for a runs list in your app's top bar.
0.2.0
Added
started: Wake says a run has started, under a two-word name. The component keeps the run on its summons andforSubjectreturns it, so your app can show the run's name, tool and how to get back into it in place of the agent's "on it" comment. It's optional: a Wake that doesn't call it still works.
0.1.0
Added
- The first release: wake/v1 as a Convex component. Pairing, summonses, and the calls Wake makes (
pending,claim,finish), given their public names byexposeApi. deleteScopedeletes everything the component keeps for a workspace.
The HTTP server
0.5.0Latest
Added
- The server serves wake/v1's calls for devices that watch. An agent's owner adds a phone or a browser with a code
issueWatchCodemakes in your own interface, and the device lists the agent's runs and answers asks.wakeHandlerservesPOST /wake/v1/watchand the watch routes (runs, as server-sent events likepending,answer,places,watching,push,activity), with CORS for a browser. A place key opens none of them, and a watch key none of Wake's. plansays what an agent's plan includes. It is asked at each watch call. On a plan without devices, every watch route butwatchinganswers402 not-in-plan; withoutplan, everything is included.POST /wake/v1/waiting: Wake can say a run waits on its owner. The owner's devices see it, andforSubject,forOwnerandforScopeanswerwaiting: true.summontakesaskerName. The owner's devices show who asks.devices,forgetDeviceandalertTargets. An agent's devices for its owner to see and remove, and which of them want an alert, and how to reach each.
Changed
- New tables and columns: migrate before you deploy.
wake_watch_codesandwake_devicesare new, andwake_places.last_claim_at,wake_summonses.asker_nameandwake_summonses.waitingare added. drizzle-kit finds them,WAKE_TABLES_SQLrun again adds them, and on SQLiteWAKE_SQLITE_DEVICES_UPGRADEdoes, once. - A
WakeStoreof your own needs the device methods.insertWatchCode,useWatchCode,insertDevice,deviceByKeyHash,devicesOf,patchDeviceandlatestOf. - Pairing takes control characters out of a machine's name. A device shows the name as it reads.
0.4.0
Added
forScopelists the runs in a scope, newest change first. For an organisation's audit of its runs.
0.3.0
Added
- SQLite and Cloudflare D1.
@abyssinia-labs/wake-server/sqlitehas the tables for SQLite and a store over any async Drizzle SQLite driver, D1 and libSQL among them. Each change of state is one conditional update, as on Postgres, so two claims can't both win. On a Worker, a summons reaches an open stream on its next read, withinpollMs.
0.2.0
Added
- Run hooks:
startedandfinished. Passhooksto hear when a run starts and ends, to update a status of your own as it goes.
0.1.0
Added
- The first release: wake/v1 over HTTP, for any TypeScript app. Fetch-API handlers (
wakeHandler), storage behind a small interface, and Postgres through Drizzle. The thirty-minute notice is worked out on read, so no scheduler is needed, and the pending stream sends a change made in its process at once.