StarPromptDeps
Defined in: src/star-prompt.ts:49
Properties
Section titled “Properties”gh: (
args) =>Promise<string>
Defined in: src/star-prompt.ts:54
Async gh runner — same shape index.ts already injects elsewhere. Throws on
a non-zero exit (e.g. gh not authed), which surfaces as a failed star.
Parameters
Section titled “Parameters”string[]
Returns
Section titled “Returns”Promise<string>
optionalnow?: () =>number
Defined in: src/star-prompt.ts:56
Clock injection for tests; defaults to Date.now.
Returns
Section titled “Returns”number
onChange?
Section titled “onChange?”
optionalonChange?: (status) =>void
Defined in: src/star-prompt.ts:59
Fired after any state mutation so the server can push the fresh status to every connected client (closing the prompt everywhere once it’s resolved).
Parameters
Section titled “Parameters”status
Section titled “status”Returns
Section titled “Returns”void
store:
Pick<SessionStore,"getSetting"|"setSetting">
Defined in: src/star-prompt.ts:51
Durable KV; only the two settings methods are used.