UNPKG

@deep-assistant/agent

Version:

A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.

13 lines (12 loc) 202 B
export function signal() { let resolve: any const promise = new Promise((r) => (resolve = r)) return { trigger() { return resolve() }, wait() { return promise }, } }