Skip to content

Commit ab48675

Browse files
committed
Mark bundled plugin rows with ASCII instead of emoji
AGENTS.md bans emoji in code, and wide-glyph width tables disagree across terminals on U+26F0, so rows use [bundled] like the other origin labels.
1 parent c8e4145 commit ab48675

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎src/plugins/origin-marker.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "./origin-marker";
88

99
describe("pluginOriginMarker", () => {
10-
test("bundled repo plugins get the mountain marker", () => {
10+
test("bundled repo plugins get the bundled marker", () => {
1111
expect(pluginOriginMarker("repo")).toBe(BUNDLED_PLUGIN_MARKER);
1212
});
1313

‎src/plugins/origin-marker.ts‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import type { PluginOrigin } from "../trust/project-trust.js";
22

33
/**
4-
* Inline marker for a bundled (origin "repo") Corbits plugin row. The brand
5-
* mark itself is a multi-cell canvas silhouette (`tui/mark-shape.ts`), not a
6-
* single text glyph, and `●` already means live work in chrome state — so
7-
* rows use the mountain the issue asks for.
4+
* Inline marker for a bundled (origin "repo") Corbits plugin row. ASCII only:
5+
* AGENTS.md bans emoji in code, and wide-glyph width tables disagree across
6+
* terminals, so rows use the same `[origin]` label shape as every other
7+
* origin. (The brand mark itself is a multi-cell canvas silhouette
8+
* (`tui/mark-shape.ts`), not a single text glyph, and `●` already means live
9+
* work in chrome state.)
810
*/
9-
export const BUNDLED_PLUGIN_MARKER = "⛰";
11+
export const BUNDLED_PLUGIN_MARKER = "[bundled]";
1012

1113
/** Short marker naming a plugin row's discovery origin for list display. */
1214
export function pluginOriginMarker(origin: PluginOrigin | undefined): string {

‎src/tui/command-catalog.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe("paletteLabels", () => {
8383
});
8484

8585
describe("command origin markers", () => {
86-
test("bundled repo rows carry the mountain, other origins their label", () => {
86+
test("bundled repo rows carry the bundled marker, other origins their label", () => {
8787
const items = commandItemsFromRegistry([
8888
{ name: "implement", description: "Bundled command", origin: "repo" },
8989
{ name: "mine", description: "Marketplace command", origin: "user" },

‎src/tui/command-catalog.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function commandItemsFromRegistry(
3838
// Name-only rows keep the slash popup scannable; description is a
3939
// dedicated field for the overlay zone and stays in keywords so typed
4040
// filter still finds prose matches. Plugin rows carry their origin
41-
// marker (mountain for bundled, origin label otherwise).
41+
// marker ([bundled] for bundled, origin label otherwise).
4242
label: withOriginMarker(`/${c.name}`, c.origin),
4343
description: c.description,
4444
keywords: [c.name, c.description, "slash", "command"],

‎src/tui/command-surfaces.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ describe("plugins surface", () => {
432432
});
433433
});
434434

435-
test("marks bundled rows with the mountain and other origins by label", async () => {
435+
test("marks bundled rows with the bundled marker and other origins by label", async () => {
436436
await withShell(async (shell) => {
437437
const deps: CommandSurfaceDeps = {
438438
notify: () => undefined,

‎src/tui/palette-paint.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe("palette filters as you type", () => {
227227
);
228228
});
229229

230-
test("bundled plugin rows paint the mountain; other origins their label", async () => {
230+
test("bundled plugin rows paint the bundled marker; other origins their label", async () => {
231231
const catalog = commandItemsFromRegistry([
232232
{ name: "bundled-cmd", description: "Bundled command", origin: "repo" },
233233
{

0 commit comments

Comments
 (0)