Skip to content
15 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

The phone app: Chat in full with phone notifications, plus Code and Customize (#4)1import assert from "node:assert/strict";
2import { test } from "node:test";
3
4import { CUSTOMIZE, CUSTOMIZE_SECTIONS, customizePath, sectionOfListing } from "./customize.ts";
5
6test("every Marketplace listing has a place in Customize", () => {
7 assert.equal(sectionOfListing("integration"), "connectors");
8 assert.equal(sectionOfListing("extension"), "plugins");
9 for (const section of CUSTOMIZE_SECTIONS) assert.equal(CUSTOMIZE[section].id, section);
10});
11
12test("a section's site path names its workspace", () => {
13 assert.equal(customizePath("connectors", "acme"), "/acme/-/marketplace/integrations");
14 assert.equal(customizePath("skills", "a b"), "/a%20b/-/agents/skills");
15});

This file's history is long; its oldest lines are credited to the oldest commit read.