{"name":"clock.after","slug":"clock-after","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugins can now request keyboard focus and control scrolling in UI regions they drew","description_source":"entry","described_by":{"version":"2.1.271","anchor":"new-plugin-ui-focusscroll-api-uifocus-uiscroll"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.322","builds":0,"mined_builds":161,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.310","anchor":"workflowcode-runtime-gains-clockafter-and-envget-calls","heading":"Workflow scripts can now read environment variables and wait on a timer","line":"The script runtime now allows two more calls, clock.after and env.get, for timed delays and reading environment variables","released_at":"2026-10-23 21:20:46","reason":"found in this entry's text"},{"version":"2.1.286","anchor":"plugin-test-sandbox-allows-more-hooks-and-calls","heading":"Plugin test scans cover SubagentStop hooks, MCP connections and toasts","line":"The plugin test scan list now includes the `SubagentStop` hook and calls to connect to MCP servers and show toasts, and drops two calls","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.271","anchor":"new-plugin-ui-focusscroll-api-uifocus-uiscroll","heading":"New plugin UI focus\/scroll API (ui.focus, ui.scroll)","line":"Plugins can now request keyboard focus and control scrolling in UI regions they drew","released_at":"2026-09-14 19:45:19","reason":"found in this entry's text"},{"version":"2.1.271","anchor":"new-bun-vm-plugin-sandbox-capabilities-clock","heading":"New Bun-VM plugin sandbox capabilities: clock.*","line":"Plugin sandbox now allows clock.now, clock.sleep, clock.after, and clock.every alongside store and http.fetch","released_at":"2026-09-14 19:45:19","reason":"named in this entry, found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"plugins\/mods\/api","title":"Use the mods API","documented":false},{"source":"claude-code","path":"plugins\/mods\/test","title":"Test a mod","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"clock.every","slug":"clock-every","description":"Plugins can now request keyboard focus and control scrolling in UI regions they drew"},{"name":"clock.now","slug":"clock-now","description":"Plugins can now request keyboard focus and control scrolling in UI regions they drew"},{"name":"clock.sleep","slug":"clock-sleep","description":"Plugins can now request keyboard focus and control scrolling in UI regions they drew"},{"name":"clock_skew_ms","slug":"clock-skew-ms","description":null},{"name":"clock_skew_seconds","slug":"clock-skew-seconds","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/clock-after","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}