Public: anyone can read this; the crew can change it.
The terminal's deploys screen opens an app's prompt source with `i`: the connected Instagram account, fetch now, connect or remove, as Settings › Prompts does #7465
Sign in to join this conversation.
Intent: an app owner who turns their audience's comments into the crew's next tell can manage that from the terminal. Today only Settings › Prompts (
src/web/pages/prompts.ts) and MCPpromptsreachlistPromptSources,addPromptSource,runPromptSourceandremovePromptSource(src/actions/prompts.ts).Done:
ion the deploys screen (src/tui/screens/deploys.ts) pushes a newsrc/tui/screens/prompts.ts. It lists the app's prompt sources as the page does: the account, when it was last fetched and what it last turned into, and when it needs refreshing (REFRESH_AFTER_DAYS).aconnects one. The token is typed masked, handed toaddPromptSourceonce, and never drawn or logged.ffetches now throughrunPromptSourceand says what came back.dremoves the selected source after a confirm.iand the keys. Anyone else is not offeredi.not_found,no_such_sourceand the add checks).test/tui-prompts.test.ts) connects a source with a fake fetch, checks no frame holds the token, fetches now, removes it after a confirm, and checks a reader has noi.Files:
src/tui/screens/deploys.ts,src/tui/screens/prompts.ts(new), a new test.Risk: the fetch reaches Instagram. The test must use the action's injectable fetch, never the network.