Tool to send cross-session opencode messages, including as request-response pattern
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

eliminate all barrel index.ts files

rektide 70d2e8d7 f68ff181

+4 -16
+2 -1
cli.ts
··· 1 1 #!/usr/bin/env node 2 2 import { cli, define } from "gunshi"; 3 - import { list, zeroconf } from "./src/commands/index.ts"; 3 + import { list } from "./src/commands/list.ts"; 4 + import { zeroconf } from "./src/commands/zeroconf.ts"; 4 5 5 6 const main = define({ 6 7 name: "opencode-call-response",
-2
src/commands/index.ts
··· 1 - export { list } from "./list.ts"; 2 - export { zeroconf } from "./zeroconf.ts";
+2 -1
src/commands/list.ts
··· 1 1 import { define } from "gunshi"; 2 - import { listSessions, displaySessions } from "../session/index.ts"; 2 + import { listSessions } from "../session/store.ts"; 3 + import { displaySessions } from "../session/types.ts"; 3 4 4 5 export const list = define({ 5 6 name: "list",
-4
src/sensor/index.ts
··· 1 - export { Instance, Sensor } from "./types.ts"; 2 - export { MdnsSensor } from "./mdns.ts"; 3 - export { ProcSensor } from "./proc.ts"; 4 - export { CacheSensor, type CacheOptions } from "./cache.ts";
-7
src/session/index.ts
··· 1 - export type { Session } from "./types.ts"; 2 - export type { ActiveSession } from "./active.ts"; 3 - export { getOpenCodeStoragePath, listSessions } from "./store.ts"; 4 - export { getActiveSessions } from "./active.ts"; 5 - export type { SessionFilter } from "./filter.ts"; 6 - export { filterSessions } from "./filter.ts"; 7 - export { displaySessions, matchesPattern } from "./types.ts";
-1
src/util/index.ts
··· 1 - export { mergeGenerators } from "./generator.ts";