Skip to content

Commit 8bc676f

Browse files
Ace AutonomousAce Autonomous
authored andcommitted
cleanup: remove unused compose import, fix comment
- analyze.ts: compose was imported but never called - notify-format.ts: accurate comment on NotifyChannel export
1 parent 150ca66 commit 8bc676f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/notify-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const FORMAT_MAP: Record<string, FormatType> = {
4141
log: "plain",
4242
};
4343

44-
// Legacy compat: re-export channel type for any consumers
44+
// Channel type — exported for type consumers. Formatting primitives use FormatType internally.
4545
export type NotifyChannel = "telegram" | "slack" | "discord" | "log" | "plain";
4646

4747
let _format: FormatType | null = null;

src/pattern/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import * as fsSync from "fs";
1818
import * as path from "path";
1919
import { appendJsonl } from "./store.js";
20-
import { bold, mono, compose } from "../notify-format.js";
20+
import { bold, mono } from "../notify-format.js";
2121
import { notify, flushDigest } from "../notify.js";
2222
import { generateSkillFromCandidate, writeProposal } from "../skill/generator.js";
2323
import { validateSkillMd } from "../skill/validator.js";

0 commit comments

Comments
 (0)