MCPcopy Create free account
hub / github.com/anomalyco/opencode / sessionTitles

Function sessionTitles

packages/opencode/test/server/httpapi-sdk.test.ts:182–187  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

180}
181
182function sessionTitles(value: unknown) {
183 return array(value)
184 .map((item) => record(item).title)
185 .filter((title): title is string => typeof title === "string")
186 .sort()
187}
188
189function resetState() {
190 return Effect.promise(async () => {

Callers 1

Calls 2

arrayFunction · 0.70
recordFunction · 0.70

Tested by

no test coverage detected