feat: add app-owned Copilot and Grok subscription connections

This commit is contained in:
amosblomqvist
2026-10-25 00:27:52 +03:00
parent e8c81faad9
commit d6e317c6fe
49 changed files with 1709 additions and 248 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ test("known zero, mixed priced/unknown, and subscription headline semantics stay
assert.ok(mixed.totalDollars > 0);
assert.match(headline([priced, historical]), new RegExp(`>\\$${mixed.totalDollars.toFixed(2).replace(".", "\\.")}<\\/button>`));
const plan = run([usage()], "chatgpt:fixture");
assert.match(headline([plan]), />ChatGPT plan<\/button>/);
assert.match(headline([plan, zero]), />\$0\.00 API \+ ChatGPT plan<\/button>/);
assert.match(headline([plan]), />ChatGPT<\/button>/);
assert.match(headline([plan, zero]), />\$0\.00 \+ ChatGPT<\/button>/);
});
test("graph stage and recent-run aggregates preserve known one-hour cache writes", () => {