{"draft":null,"from":26,"to":27,"files":[{"path":"client/src/issues.ts","added":5,"removed":4,"diff":"--- a/client/src/issues.ts\n+++ b/client/src/issues.ts\n@@ -1,6 +1,6 @@\n // Issues (#54): abso issues, abso issue, abso ask, abso waiting and avcs\n // answer. The Issues Worker keeps them (avcs-issues beside avcs, or\n-// AVCS_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming\n+// ABSO_ISSUES_SERVER), and takes the same token. Statuses come from the work: a start note naming\n // an issue (abso start --issue N) puts it In progress, an open ask Blocked or\n // In review, and publish --done closes it. Other agents' and people's words\n // are quoted as JSON, so none can print as another line (#30).\n@@ -24,6 +24,7 @@\n import { type Env, type Output, open, plural } from \"./commands.ts\";\n import { type Config, readMachineServers, trustedServers } from \"./config.ts\";\n import { issuesServerFor, tokenGoesTo } from \"./core.ts\";\n+import { fromEnv } from \"./env-names.ts\";\n import { seenText, shortWhen } from \"./times.ts\";\n \n const q = (s: string): string => JSON.stringify(s);\n@@ -31,14 +32,14 @@\n /** The folder, with its Api pointed at the Issues Worker: the token goes only where tokenGoesTo allows, as for the avcs server. */\n function openIssues(env: Env): { config: Config; api: Api } {\n \tconst { config, api } = open(env);\n-\tconst server = env.env.AVCS_ISSUES_SERVER || issuesServerFor(config.server, readMachineServers(env.env));\n+\tconst server = fromEnv(env.env, \"ISSUES_SERVER\") || issuesServerFor(config.server, readMachineServers(env.env));\n \tif (server === undefined)\n \t\tthrow new UsageError(\n-\t\t\t`${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or AVCS_ISSUES_SERVER names one`,\n+\t\t\t`${config.server} has no Issues Worker beside it that abso knows; ~/.abso/servers.json or ABSO_ISSUES_SERVER names one`,\n \t\t);\n \tif (config.token !== undefined && !tokenGoesTo(server, trustedServers(env.env))) {\n \t\tthrow new UsageError(\n-\t\t\t`the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or AVCS_TRUSTED_SERVERS.`,\n+\t\t\t`the Issues Worker is ${server}, and abso sends your token only to its own servers and this machine. If ${server} is yours, name it in ~/.abso/servers.json or ABSO_TRUSTED_SERVERS.`,\n \t\t);\n \t}\n \tapi.issuesServer = server;"}],"unmatched":[]}