@oharness/server 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/i18n.js +32 -0
- package/dist/i18n.js.map +1 -1
- package/dist/page.js +485 -57
- package/dist/page.js.map +1 -1
- package/dist/server.js +83 -3
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/dist/page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.js","sourceRoot":"","sources":["../src/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;;;;;;;;;;;GAcG;AAEH,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AI,CAAC,SAAS,CAAC,OAAO,CAAC;EAC1C,aAAa;EACb,UAAU;EACV,gBAAgB;;;QAGV,CAAC"}
|
package/dist/server.js
CHANGED
|
@@ -12,7 +12,8 @@ import { PERMISSION_MODES } from "@oharness/engine/agent/permissions.ts";
|
|
|
12
12
|
import { isReadable } from "@oharness/engine/agent/workspace.ts";
|
|
13
13
|
import { messageText } from "@oharness/engine/core/types.ts";
|
|
14
14
|
import { errorMessage } from "@oharness/engine/core/errors.ts";
|
|
15
|
-
import { officialBaseUrl } from "@oharness/engine/auth/providers/official.ts";
|
|
15
|
+
import { officialBaseUrl, officialTeam } from "@oharness/engine/auth/providers/official.ts";
|
|
16
|
+
import { updateUserConfig } from "@oharness/engine/config.ts";
|
|
16
17
|
import { accountsConfigured, browserKeyUrl, browserSignInUrl, exchangeHandoff, siteUrl, } from "@oharness/engine/auth/providers/account.ts";
|
|
17
18
|
import { ChangeLedger } from "./changes.js";
|
|
18
19
|
import { addProject, ensureProject, listProjects, removeProject } from "./projects.js";
|
|
@@ -1121,17 +1122,52 @@ export async function startWebServer(opts) {
|
|
|
1121
1122
|
// The site as well as the account: the row's menu leads to the
|
|
1122
1123
|
// dashboard, and where that lives is this process's setting rather
|
|
1123
1124
|
// than something a page should carry a copy of.
|
|
1125
|
+
//
|
|
1126
|
+
// And the teams, with which one this machine bills to. The menu
|
|
1127
|
+
// offers the switch; a team named in the config that the account
|
|
1128
|
+
// is no longer on is still reported as chosen, because the gateway
|
|
1129
|
+
// will refuse it and the menu is where that gets undone.
|
|
1130
|
+
const teams = await accountTeams({ accountToken: await current.harness.accountToken() });
|
|
1131
|
+
const team = officialTeam();
|
|
1124
1132
|
return send(res, 200, {
|
|
1125
1133
|
signedIn: true,
|
|
1126
1134
|
provider: "official",
|
|
1127
1135
|
site: siteUrl(),
|
|
1128
1136
|
...accountIdentity(credential.access),
|
|
1137
|
+
teams,
|
|
1138
|
+
...(team ? { team } : {}),
|
|
1129
1139
|
});
|
|
1130
1140
|
}
|
|
1131
1141
|
// Named even when signed out, so the button knows which sign-in to
|
|
1132
1142
|
// start without the page hard-coding a provider id of its own.
|
|
1133
1143
|
return send(res, 200, { signedIn: false, provider: "official" });
|
|
1134
1144
|
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Whose credits this machine spends: a team's, or the account's own.
|
|
1147
|
+
*
|
|
1148
|
+
* Written to the user's config, the same file `OHARNESS_TEAM` stands in
|
|
1149
|
+
* for, and read back per request by the official provider — so the
|
|
1150
|
+
* next call is on the new balance without a restart. `null` is "my own
|
|
1151
|
+
* plan". Not checked against the account's teams here: the gateway
|
|
1152
|
+
* checks on every call and refuses a team the account is not on, and a
|
|
1153
|
+
* second copy of that rule would be a second place for it to drift.
|
|
1154
|
+
*/
|
|
1155
|
+
case "POST /team": {
|
|
1156
|
+
const body = await readJson(req);
|
|
1157
|
+
const asked = body.team;
|
|
1158
|
+
const team = typeof asked === "string" && /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(asked.trim())
|
|
1159
|
+
? asked.trim()
|
|
1160
|
+
: asked === null || asked === undefined || asked === ""
|
|
1161
|
+
? undefined
|
|
1162
|
+
: false;
|
|
1163
|
+
if (team === false)
|
|
1164
|
+
return send(res, 400, { error: "team must be a team id, or null" });
|
|
1165
|
+
await updateUserConfig((config) => {
|
|
1166
|
+
const { team: _was, ...rest } = config;
|
|
1167
|
+
return team ? { ...rest, team } : rest;
|
|
1168
|
+
});
|
|
1169
|
+
return send(res, 200, { team: team ?? null });
|
|
1170
|
+
}
|
|
1135
1171
|
/**
|
|
1136
1172
|
* What the account has left, and what it could buy.
|
|
1137
1173
|
*
|
|
@@ -1149,9 +1185,17 @@ export async function startWebServer(opts) {
|
|
|
1149
1185
|
const token = await current.harness.accountToken();
|
|
1150
1186
|
if (!token)
|
|
1151
1187
|
return send(res, 200, { signedIn: false, provider: "official" });
|
|
1152
|
-
|
|
1188
|
+
// The team's balance beside the account's, when a team is chosen.
|
|
1189
|
+
// Asked separately rather than instead: the account menu still says
|
|
1190
|
+
// what the person has, and the paywall needs both to say which one
|
|
1191
|
+
// just ran out.
|
|
1192
|
+
const team = officialTeam();
|
|
1193
|
+
const [state, catalogue, pooled] = await Promise.all([
|
|
1153
1194
|
gatewayJson("/api/v1/billing/balance", { token }),
|
|
1154
1195
|
gatewayJson("/api/v1/billing/plans"),
|
|
1196
|
+
team
|
|
1197
|
+
? gatewayJson(`/api/v1/billing/balance?team=${encodeURIComponent(team)}`, { token })
|
|
1198
|
+
: Promise.resolve(undefined),
|
|
1155
1199
|
]);
|
|
1156
1200
|
if (!state.ok) {
|
|
1157
1201
|
// 501 is a deployment that sells nothing — self-hosted, or a gateway
|
|
@@ -1169,6 +1213,26 @@ export async function startWebServer(opts) {
|
|
|
1169
1213
|
balanceMicro: state.value["balanceMicro"] ?? 0,
|
|
1170
1214
|
credits: state.value["credits"] ?? 0,
|
|
1171
1215
|
...(state.value["subscription"] ? { subscription: state.value["subscription"] } : {}),
|
|
1216
|
+
// The chosen team and what it has. A refusal — not on the team any
|
|
1217
|
+
// more, or a gateway that predates teams — is carried as the id
|
|
1218
|
+
// alone with `refused`, so the menu can offer the way back to the
|
|
1219
|
+
// account's own plan rather than a balance it cannot read.
|
|
1220
|
+
...(team
|
|
1221
|
+
? {
|
|
1222
|
+
team: pooled?.ok
|
|
1223
|
+
? {
|
|
1224
|
+
id: team,
|
|
1225
|
+
role: pooled.value["role"] ?? "member",
|
|
1226
|
+
// Who may pay for the team, which decides what the
|
|
1227
|
+
// paywall offers: the team page, or asking someone.
|
|
1228
|
+
billing: pooled.value["billing"] === true,
|
|
1229
|
+
balanceMicro: pooled.value["balanceMicro"] ?? 0,
|
|
1230
|
+
...(pooled.value["members"] !== undefined ? { members: pooled.value["members"] } : {}),
|
|
1231
|
+
...(pooled.value["subscription"] ? { subscription: pooled.value["subscription"] } : {}),
|
|
1232
|
+
}
|
|
1233
|
+
: { id: team, refused: pooled?.error ?? "unreachable" },
|
|
1234
|
+
}
|
|
1235
|
+
: {}),
|
|
1172
1236
|
// An empty list is the honest answer when the price list cannot be
|
|
1173
1237
|
// read; the paywall falls back to sending people to the site, which
|
|
1174
1238
|
// is where buying works without this app at all.
|
|
@@ -2127,6 +2191,9 @@ export async function startWebServer(opts) {
|
|
|
2127
2191
|
}));
|
|
2128
2192
|
const runtime = (harness.runtimePluginStatus?.() ?? []).map((plugin) => ({
|
|
2129
2193
|
name: plugin.id,
|
|
2194
|
+
// The name stays the id: it is what @ chips and references resolve by.
|
|
2195
|
+
// The title is only ever painted.
|
|
2196
|
+
...(plugin.title ? { title: plugin.title } : {}),
|
|
2130
2197
|
// The state only. Where it came from is the row's tag now, and saying it
|
|
2131
2198
|
// twice in two places is how they drift.
|
|
2132
2199
|
description: `${plugin.description ?? "Runtime plugin"} [${plugin.state}]${plugin.error ? ` — ${plugin.error}` : ""}`,
|
|
@@ -2149,7 +2216,20 @@ export async function startWebServer(opts) {
|
|
|
2149
2216
|
// harness; the rest name where on disk they were found.
|
|
2150
2217
|
builtin: skill.source === "builtin",
|
|
2151
2218
|
}));
|
|
2152
|
-
|
|
2219
|
+
/**
|
|
2220
|
+
* What shipped here first, then what this machine added.
|
|
2221
|
+
*
|
|
2222
|
+
* Every list that reads this — the panel, the + menu, the @ mention —
|
|
2223
|
+
* paints the rows in the order given, and a reader scanning for memory
|
|
2224
|
+
* or the media tools expects them at the top, not under eighty installed
|
|
2225
|
+
* skills. Stable within each half, so the order the harness reported
|
|
2226
|
+
* survives the split.
|
|
2227
|
+
*/
|
|
2228
|
+
const builtinFirst = (list) => [
|
|
2229
|
+
...list.filter((one) => one.source === "builtin"),
|
|
2230
|
+
...list.filter((one) => one.source !== "builtin"),
|
|
2231
|
+
];
|
|
2232
|
+
return { connectors, plugins: builtinFirst([...plugins, ...runtime]), skills: builtinFirst(skills) };
|
|
2153
2233
|
}
|
|
2154
2234
|
/**
|
|
2155
2235
|
* What the composer attached to one message, as a block above the prompt.
|