oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1-- Where each person's Base operations live, and the token Base minted for
2-- them, sealed with the instance key.
3CREATE TABLE chat_assistant_hosts (person text PRIMARY KEY, origin text, token text, revision integer, updated_at datetime);
4-- An Assistant call to a provider waits outside the tool call's
5-- transaction: pending (being made), waiting (on an earlier call with the
6-- same ledger key) or done. Rows from before have none, and are done.
7-- args holds a pending call's arguments until it is done, so the next
8-- process can make it after a restart.
9ALTER TABLE chat_tool_calls ADD COLUMN state text;
10ALTER TABLE chat_tool_calls ADD COLUMN operation text;
11ALTER TABLE chat_tool_calls ADD COLUMN ledger_key text;
12ALTER TABLE chat_tool_calls ADD COLUMN args text;
13CREATE INDEX chat_tool_call_state ON chat_tool_calls(state);
14