{"draft":null,"from":71,"to":72,"files":[{"path":"client/src/api.ts","added":15,"removed":0,"diff":"--- a/client/src/api.ts\n+++ b/client/src/api.ts\n@@ -450,6 +450,16 @@\n \t\treturn this.#issues(\"GET\", `/issue/${id}`);\n \t}\n \n+\t/** The asks this agent sent: the open ones, then the latest answered, each with its thread. */\n+\tasked(): Promise<{ asks: readonly (Ask & { title: string | null })[] }> {\n+\t\treturn this.#issues(\"GET\", this.agentPath(\"asked\"));\n+\t}\n+\n+\t/** One ask, open or closed, with its thread and who it waits on. */\n+\taskThread(id: number): Promise<{ ask: Ask & { title: string | null } }> {\n+\t\treturn this.#issues(\"GET\", `/ask/${id}`);\n+\t}\n+\n \t/** Open asks of someone (an agent, or person:<id>), soonest due first; every open ask without `of`. */\n \twaiting(of?: string): Promise<{ asks: readonly (Ask & { title: string | null })[] }> {\n \t\treturn this.#issues(\"GET\", `/waiting?${query({ of })}`);\n@@ -630,6 +640,11 @@\n \t\treturn this.#issues(\"POST\", this.agentPath(`ack/${id}`), body);\n \t}\n \n+\t/** Adds to an ask's thread, as its asker or the one asked; the other side hears it, and the ask stays as it is. */\n+\treply(id: number, body: { text: string; question?: boolean }): Promise<{ ask: Ask; news?: IssueNews }> {\n+\t\treturn this.#issues(\"POST\", this.agentPath(`reply/${id}`), body);\n+\t}\n+\n \t/** Takes back an ask this agent made, with a note on why; the one asked hears it. */\n \twithdraw(id: number, body: { note?: string }): Promise<{ ask: Ask; news?: IssueNews }> {\n \t\treturn this.#issues(\"POST\", this.agentPath(`withdraw/${id}`), body);"}],"unmatched":[]}