个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A TurboWarp extension for waiting on custom notifications or key presses with optional timeouts.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A TurboWarp extension for waiting on custom notifications or key presses with optional timeouts.
The extension provides a small, reusable synchronization mechanism for TurboWarp projects. Input-specific logic such as pose recognition, speech recognition, or sprite click detection remains in controller sprites, which emit named extended notifications.
Download dist/extended-notification.js, then open TurboWarp Desktop and load it as a local custom extension. Enable Run extension without sandbox when prompted.查看完整 README ↗English | 日本語
A TurboWarp extension for waiting on custom notifications or key presses with optional timeouts.
Open the demo in TurboWarp Editor · Download the SB3
Select Run without sandbox, then Allow, and click the green flag. A second script sends sample-ready; the waiting block returns true.
Editable sources and expected results: samples/README.md.
Run pnpm run samples:build after source/bundle changes and pnpm run samples:check before committing.
The extension provides a small, reusable synchronization mechanism for TurboWarp projects. Input-specific logic such as pose recognition, speech recognition, or sprite click detection remains in controller sprites, which emit named extended notifications.
Download dist/extended-notification.js, then open TurboWarp Desktop and load it as a local custom extension. Enable Run extension without sandbox when prompted.
The built JavaScript file is committed to this repository so that users do not need to install Node.js or run the build process.
Alternatively, install the npm package:
npm install --save-exact @kubohiroya/[email protected]
The extension bundle is then available at:
node_modules/@kubohiroya/turbowarp-extended-notification/dist/extended-notification.js
send extended notification [MESSAGE]Sends a named notification to every script currently waiting for that name.
| Property | Value |
|---|---|
| Type | Command |
| Opcode | sendNotification |
MESSAGE | String, default: next |
wait until extended notification [MESSAGE] is receivedPauses the current script until the named notification is received.
| Property | Value |
|---|---|
| Type | Command |
| Opcode | waitForNotification |
MESSAGE | String, default: next |
extended notification [MESSAGE] received before [SECONDS] secondsReturns true when the named notification arrives before the timeout, otherwise false.
| Property | Value |
|---|---|
| Type | Boolean |
| Opcode | waitForNotificationOrTimeout |
MESSAGE | String, default: next |
SECONDS | Number, default: 5 |
wait until [KEY] key is pressedPauses the current script until the selected key is pressed.
| Property | Value |
|---|---|
| Type | Command |
| Opcode | waitForKey |
KEY | String, default: space, menu: keyMenu |
[KEY] key pressed before [SECONDS] secondsReturns true when the selected key is pressed before the timeout, otherwise false.
| Property | Value |
|---|---|
| Type | Boolean |
| Opcode | waitForKeyOrTimeout |
KEY | String, default: space, menu: keyMenu |
SECONDS | Number, default: 5 |
The timeout-enabled Boolean blocks return true when the notification or key press occurs first and false when the timeout occurs first.
npm install --global corepack@latest
corepack enable
pnpm install --frozen-lockfile
pnpm run check
Regenerate block documentation after changing src/block-definitions.json:
pnpm run docs
For continuous rebuilding:
pnpm run dev
The Vite build creates:
dist/extended-notification.js
Commit the rebuilt file whenever the extension source changes.
The GitHub Pages workflow publishes docs/ after documentation changes reach
main. Maintainers should follow RELEASING.md when publishing a
new npm version and matching GitHub Release.
This repository uses Node.js 24 or later and pnpm through Corepack. The package homepage points
to the Pages user guide because that is the end-user entrypoint; GitHub remains the source and issue
tracker through repository and bugs metadata.
Notifications are not retained. An emitted notification resumes every script that is currently waiting for the same name. See docs/specification.md for the complete behavior.
SPDX-License-Identifier: MPL-2.0
With a compatible TurboWarp GUI, enable fixed-input forms to edit only standard literal fields. Numbers use complete finite JSON number tokens; menu fields use existing choices. Connected reporters and unavailable fields stay read-only and are never evaluated. Saving an unchanged form preserves exact existing raw values, including legacy spellings and unknown choices. Invalid drafts stay in the same editing session; cancel, project/target replacement, or block removal discards them. Disabling the GUI feature flag restores native field editing. This form does not run blocks, open network/audio/key/QR sessions, resolve names, or edit Schema arguments.
Canonical contracts: schemas/block-editor-fixed-inputs.schema.json; codecs and optional registration: src/fixed-input-editors.ts. These contracts describe new fixed-field candidates; they do not redefine all runtime data. The GUI integration is optional and existing standalone/composition APIs stay available.
waitForNotificationOrTimeout: SECONDS — block documentation.waitForKeyOrTimeout: SECONDS — block documentation.