@kubohiroya/turbowarp-bubble 0.13.3 → 0.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ja.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  `@kubohiroya/turbowarp-bubble`は、TurboWarp上の`say`/`think`表示を、文字、キャラクター表情、入力待ちアイコンに分けて管理するunsandboxed機能拡張です。同じ機能をアプリから直接利用するためのcomposition APIも提供します。
6
6
 
7
- 現在のリリースはBubble 0.13.3です。既定の描画経路はSVG Text 0.10.1を使うskin非依存のSVG overlayです。TurboWarpですべての機能を使う場合、現在の推奨組み合わせはAsset Cache 0.2.2、Async Input 0.7.3、Runtime Expression 0.6.1です。Asset Cacheへの移行については[0.13.0 release notes](docs/release-notes-0.13.0.md)、再利用可能な名前付きclose policyについては[0.10.0 release notes](docs/release-notes-0.10.0.md)、組み込み`say`/`think` styleについては[0.9.0 release notes](docs/release-notes-0.9.0.md)を参照してください。
7
+ 現在のリリースはBubble 0.13.4です。既定の描画経路はSVG Text 0.10.1を使うskin非依存のSVG overlayです。TurboWarpですべての機能を使う場合、現在の推奨組み合わせはAsset Cache 0.3.1、Async Input 0.8.1、Runtime Expression 0.6.1です。Asset Cacheへの移行については[0.13.0 release notes](docs/release-notes-0.13.0.md)、再利用可能な名前付きclose policyについては[0.10.0 release notes](docs/release-notes-0.10.0.md)、組み込み`say`/`think` styleについては[0.9.0 release notes](docs/release-notes-0.9.0.md)を参照してください。
8
8
 
9
9
  ## READMEの読み方
10
10
 
@@ -77,7 +77,7 @@ flowchart TB
77
77
 
78
78
  `bubbleRenderBackend`を省略した場合の既定値は`"svg-overlay"`です。`renderer.addOverlay(root, "scale")`でstage canvas上に共有SVG rootを置き、body、tail、text、portrait、corner clip、continue indicatorをDOM要素として描画します。文字にはstandalone拡張の共有named-style registry、またはBubble内包compositionから得るSVG Text 0.10.1のhost-neutral layoutを使います。この既定経路ではBubbleの表示、text更新、style更新、animationのために`createDrawable()`、`createSVGSkin()`、`createBitmapSkin()`を呼ばず、Bubble由来の処理はscratch-renderの`SVGSkin`/`Silhouette`経路へ入りません。`"scratch-render"`は互換性とロールバックのため明示指定時だけ使用します。
79
79
 
80
- TurboWarpでstock Asset Cache 0.2.2をBubbleより先に読み込むと、Bubbleはportrait等を初めて使う時に`runtime.ext_kubohiroyaassetcache.getDOMImageCapability()`を呼び、Asset Cacheブロックで登録された同じregistryへ遅延接続します。文字だけを使う場合はAsset Cacheを読み込みません。Composition APIのhostは、次のようにcapabilityを明示注入できます。
80
+ TurboWarpでstock Asset Cache 0.3.1をBubbleより先に読み込むと、Bubbleはportrait等を初めて使う時に`runtime.ext_kubohiroyaassetcache.getDOMImageCapability()`を呼び、Asset Cacheブロックで登録された同じregistryへ遅延接続します。文字だけを使う場合はAsset Cacheを読み込みません。Composition APIのhostは、次のようにcapabilityを明示注入できます。
81
81
 
82
82
  ```ts
83
83
  import { createAssetManagerComposition } from "@kubohiroya/turbowarp-asset-cache/composition";
@@ -286,7 +286,7 @@ const reveal = normalizeBubbleReveal({ unit: "CHARACTER" });
286
286
  const chunks = splitBubbleText("A👩‍🚀B", reveal);
287
287
  ```
288
288
 
289
- SVG Text 0.10.1は既定のskin非依存文字providerとして通常dependencyに含まれます。別途インストールは不要です。standalone SVG Text 0.10.1を先に読み込むと、project blockで定義したstyleを公開handoff経由で再利用します。今回のoptional peerはAsset Cache 0.2.2、Async Input 0.7.3、Runtime Expression 0.6.1にそれぞれexact固定します。hostが独自の`svgOverlayTextCapability`を注入する場合も、Bubble自身のSVG Text dependencyは0.10.1固定です。Asset Cache 0.1.0はAPI導入履歴の基準であり、今回その旧package版を依存解決に許容する意味ではありません。
289
+ SVG Text 0.10.1は既定のskin非依存文字providerとして通常dependencyに含まれます。別途インストールは不要です。standalone SVG Text 0.10.1を先に読み込むと、project blockで定義したstyleを公開handoff経由で再利用します。今回のoptional peerはAsset Cache 0.3.1、Async Input 0.8.1、Runtime Expression 0.6.1にそれぞれexact固定します。hostが独自の`svgOverlayTextCapability`を注入する場合も、Bubble自身のSVG Text dependencyは0.10.1固定です。Asset Cache 0.1.0はAPI導入履歴の基準であり、今回その旧package版を依存解決に許容する意味ではありません。
290
290
 
291
291
  `bubbleRenderBackend: "scratch-render"`へrollbackした場合も、standalone SVG Text拡張が未ロードなら同じ0.8.1 dependencyからskin版providerを生成します。standalone SVG Text拡張が既にロードされているhostでは、互換性のためその既存providerを引き続き使用します。
292
292
 
@@ -316,24 +316,24 @@ TurboWarp Bubbleの`dist/turbowarp-bubble.js`は、TurboWarpのrendererとtarget
316
316
 
317
317
  1. 入力待ちの例を使う場合は、TurboWarp Editorでプロジェクトを開き、拡張機能の追加からTemporary Variablesを追加します。
318
318
  2. 「カスタム拡張機能」を選び、サンドボックスなし(Run without sandbox)で実行できる状態にします。
319
- 3. portrait、blink、lip-sync、continue frames、音声を使う場合はAsset Cache 0.2.2を読み込みます。
320
- 4. `finish [UNIT] ...`にはRuntime Expression 0.6.1、conditionを使う待機またはclose policyにはAsync Input 0.7.3とRuntime Expression 0.6.1を読み込みます。timeoutだけのclose policyにはどちらも不要です。
321
- 5. 最後にBubble 0.13.3を読み込みます。SVG Text 0.10.1のlayout providerはBubble bundleに含まれます。
319
+ 3. portrait、blink、lip-sync、continue frames、音声を使う場合はAsset Cache 0.3.1を読み込みます。
320
+ 4. `finish [UNIT] ...`にはRuntime Expression 0.6.1、conditionを使う待機またはclose policyにはAsync Input 0.8.1とRuntime Expression 0.6.1を読み込みます。timeoutだけのclose policyにはどちらも不要です。
321
+ 5. 最後にBubble 0.13.4を読み込みます。SVG Text 0.10.1のlayout providerはBubble bundleに含まれます。
322
322
 
323
323
  文字だけの最小構成はBubbleです。Temporary Variables、Asset Cache、Async Input、Runtime Expressionは、対応する機能を使わなければ追加しなくても構いません。Bubbleを読み込むと、基本の`say [MESSAGE]`/`think [MESSAGE]`ブロックはstyle定義なしですぐ使えます。それぞれ組み込みBubble style `say`/`think`を選び、各styleが本体形状とtail/trail形状を不可分な1つの外観として持ちます。どちらも予約text profile `default`を使います。named custom styleが必要な場合だけ`define bubble style`と`show [MESSAGE] with bubble style [STYLE]`を使います。それ以外のnamed text styleや、外形・配置・media・reveal・motionの明示設定はcustom profileになります。
324
324
 
325
325
  ```text
326
326
  # portrait/blink/lip-sync/continue/音声を使う場合だけ追加
327
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js
327
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js
328
328
 
329
329
  # conditionを使う統合待機またはclose policyでAsync Inputを追加
330
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js
330
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js
331
331
 
332
332
  # finishまたはconditionを使う待機/close policyでRuntime Expressionを追加
333
333
  https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-runtime-expression@0.6.1/dist/runtime-expression.js
334
334
 
335
335
  # Bubble(必ず最後)
336
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js
336
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js
337
337
  ```
338
338
 
339
339
  TurboWarpのカスタム拡張機能はURLからJavaScriptを読み込むため、初回読み込み時にネットワーク接続が必要です。開発用URLをunsandboxedとして読み込むには、server originを正確に`http://localhost:8000/`とする必要があります。`127.0.0.1`、`0.0.0.0`、ほかのportにはこの例外が適用されません。リポジトリrootで`python3 -m http.server 8000`を実行し、`http://localhost:8000/dist/turbowarp-bubble.js`を読み込んでください。別の方法として、カスタム拡張機能のfileまたはtext入力を選び、**サンドボックスなしで実行する**を有効にできます。`file://`で直接開いたファイルや、サンドボックス付きの拡張機能としては動作しません。host制約の詳細は[TurboWarpのunsandboxed拡張機能ドキュメント](https://docs.turbowarp.org/development/extensions/unsandboxed)を参照してください。
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  `@kubohiroya/turbowarp-bubble` is an unsandboxed extension that manages TurboWarp `say` and `think` displays as separate text, character-expression, and input-waiting indicator layers. It also provides a composition API for using the same features directly from applications.
6
6
 
7
- The current release is Bubble 0.13.3. Its default rendering path is the skin-free SVG overlay backed by SVG Text 0.10.1. For the complete TurboWarp feature set, the currently recommended companion releases are Asset Cache 0.2.2, Async Input 0.7.3, and Runtime Expression 0.6.1. See the [0.13.0 release notes](docs/release-notes-0.13.0.md) for the Asset Cache migration, the [0.10.0 release notes](docs/release-notes-0.10.0.md) for reusable named close policies, and the [0.9.0 release notes](docs/release-notes-0.9.0.md) for the built-in `say`/`think` styles.
7
+ The current release is Bubble 0.13.4. Its default rendering path is the skin-free SVG overlay backed by SVG Text 0.10.1. For the complete TurboWarp feature set, the currently recommended companion releases are Asset Cache 0.3.1, Async Input 0.8.1, and Runtime Expression 0.6.1. See the [0.13.0 release notes](docs/release-notes-0.13.0.md) for the Asset Cache migration, the [0.10.0 release notes](docs/release-notes-0.10.0.md) for reusable named close policies, and the [0.9.0 release notes](docs/release-notes-0.9.0.md) for the built-in `say`/`think` styles.
8
8
 
9
9
  ## How to read this README
10
10
 
@@ -77,7 +77,7 @@ In this architecture, Bubble core refers only to the host-neutral `BubbleTextCap
77
77
 
78
78
  The default value of `bubbleRenderBackend` is `"svg-overlay"`. Bubble places a shared SVG root over the stage canvas with `renderer.addOverlay(root, "scale")`, then renders the body, tail, text, portrait, corner clip, and continue indicator as DOM elements. Text uses host-neutral SVG Text 0.10.1 layout data, either from the loaded standalone extension's shared named-style registry or from Bubble's bundled fallback composition. On this default path, Bubble does not call `createDrawable()`, `createSVGSkin()`, or `createBitmapSkin()` to show bubbles, update text or styles, or run animations, so Bubble-originated work never enters scratch-render's `SVGSkin` / `Silhouette` path. `"scratch-render"` is used only when explicitly selected for compatibility or rollback.
79
79
 
80
- When the stock Asset Cache 0.2.2 extension is loaded before Bubble in TurboWarp, Bubble calls `runtime.ext_kubohiroyaassetcache.getDOMImageCapability()` the first time a portrait or another image feature is used. It then lazily connects to the same registry populated by Asset Cache blocks. Asset Cache is not loaded when only text is used. A Composition API host can inject capabilities explicitly as follows.
80
+ When the stock Asset Cache 0.3.1 extension is loaded before Bubble in TurboWarp, Bubble calls `runtime.ext_kubohiroyaassetcache.getDOMImageCapability()` the first time a portrait or another image feature is used. It then lazily connects to the same registry populated by Asset Cache blocks. Asset Cache is not loaded when only text is used. A Composition API host can inject capabilities explicitly as follows.
81
81
 
82
82
  ```ts
83
83
  import { createAssetManagerComposition } from "@kubohiroya/turbowarp-asset-cache/composition";
@@ -286,7 +286,7 @@ const reveal = normalizeBubbleReveal({ unit: "CHARACTER" });
286
286
  const chunks = splitBubbleText("A👩‍🚀B", reveal);
287
287
  ```
288
288
 
289
- SVG Text 0.10.1 is included as a regular dependency and serves as the default skin-independent text provider. You do not need to install it separately. Loading the standalone SVG Text 0.10.1 extension first is optional, but doing so lets Bubble reuse styles defined by its project blocks through the public handoff. This release pins the optional peers exactly to Asset Cache 0.2.2, Async Input 0.7.3, and Runtime Expression 0.6.1. Bubble also pins its SVG Text dependency to 0.10.1 when a host injects a custom `svgOverlayTextCapability`. The historical Asset Cache 0.1.0 capability-introduction baseline does not permit resolving that old package version in this release.
289
+ SVG Text 0.10.1 is included as a regular dependency and serves as the default skin-independent text provider. You do not need to install it separately. Loading the standalone SVG Text 0.10.1 extension first is optional, but doing so lets Bubble reuse styles defined by its project blocks through the public handoff. This release pins the optional peers exactly to Asset Cache 0.3.1, Async Input 0.8.1, and Runtime Expression 0.6.1. Bubble also pins its SVG Text dependency to 0.10.1 when a host injects a custom `svgOverlayTextCapability`. The historical Asset Cache 0.1.0 capability-introduction baseline does not permit resolving that old package version in this release.
290
290
 
291
291
  After rolling back to `bubbleRenderBackend: "scratch-render"`, Bubble creates a skin-based provider from the same 0.8.1 dependency if the standalone SVG Text extension is not loaded. On a host where the standalone SVG Text extension is already loaded, Bubble continues using that existing provider for compatibility.
292
292
 
@@ -316,24 +316,24 @@ TurboWarp Bubble's `dist/turbowarp-bubble.js` is an **unsandboxed custom extensi
316
316
 
317
317
  1. For the input-wait example, open your project in the TurboWarp Editor and add Temporary Variables from the extension library.
318
318
  2. Select “Custom Extension” and enable Run without sandbox.
319
- 3. Load Asset Cache 0.2.2 if you use portraits, blinking, lip-sync, continue frames, or audio.
320
- 4. Load Runtime Expression 0.6.1 for `finish [UNIT] ...`; load both Async Input 0.7.3 and Runtime Expression 0.6.1 for condition-based waits and close policies. A timeout-only close policy needs neither extension.
321
- 5. Load Bubble 0.13.3 last. The SVG Text 0.10.1 layout provider is included in the Bubble bundle.
319
+ 3. Load Asset Cache 0.3.1 if you use portraits, blinking, lip-sync, continue frames, or audio.
320
+ 4. Load Runtime Expression 0.6.1 for `finish [UNIT] ...`; load both Async Input 0.8.1 and Runtime Expression 0.6.1 for condition-based waits and close policies. A timeout-only close policy needs neither extension.
321
+ 5. Load Bubble 0.13.4 last. The SVG Text 0.10.1 layout provider is included in the Bubble bundle.
322
322
 
323
323
  Bubble alone is the minimum configuration for text-only use. Temporary Variables, Asset Cache, Async Input, and Runtime Expression can be omitted when you do not use the features they support. After loading Bubble, its basic `say [MESSAGE]` and `think [MESSAGE]` blocks work immediately without a style definition. They select the built-in Bubble styles `say` and `think`, respectively. Each style binds its body shape and tail/trail shape as one visual choice, and both use the reserved text profile `default`. Use `define bubble style` and `show [MESSAGE] with bubble style [STYLE]` only when you need a named custom style. Other named text styles and every explicit body, placement, media, reveal, or motion setting select the custom profile.
324
324
 
325
325
  ```text
326
326
  # Add only when using portraits, blink, lip-sync, continue, or audio
327
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js
327
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js
328
328
 
329
329
  # Add Async Input for integrated condition waits and close policies
330
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js
330
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js
331
331
 
332
332
  # Add Runtime Expression for finish or condition-based waits and close policies
333
333
  https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-runtime-expression@0.6.1/dist/runtime-expression.js
334
334
 
335
335
  # Bubble (always load last)
336
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js
336
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js
337
337
  ```
338
338
 
339
339
  TurboWarp custom extensions load JavaScript from URLs, so a network connection is required the first time they are loaded. For an unsandboxed development URL, TurboWarp requires the server origin to be exactly `http://localhost:8000/`; `127.0.0.1`, `0.0.0.0`, and other ports do not receive this exception. From the repository root, run `python3 -m http.server 8000`, then load `http://localhost:8000/dist/turbowarp-bubble.js`. Alternatively, choose the custom-extension file or text input and enable **Run extension without sandbox**. The extension does not work when opened directly with `file://` or when run as a sandboxed extension. See [TurboWarp's unsandboxed extension documentation](https://docs.turbowarp.org/development/extensions/unsandboxed) for the host restrictions.
@@ -3,6 +3,7 @@
3
3
  // Description: Layered say and think bubbles with portrait animation and continue indicators.
4
4
  // By: Hiroya Kubo
5
5
  // License: MPL-2.0
6
+ // Unsandboxed: required
6
7
 
7
8
  (function (Scratch) {
8
9
  'use strict';
@@ -13458,7 +13459,7 @@
13458
13459
  textStyle: "default"
13459
13460
  })]);
13460
13461
  var EXTENSION_DOCS_URI = "https://kubohiroya.github.io/turbowarp-bubble/";
13461
- var EXTENSION_VERSION = "0.13.3";
13462
+ var EXTENSION_VERSION = "0.13.4";
13462
13463
  var BLOCK_ICON_URI = `data:image/svg+xml,${encodeURIComponent("<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\"><path fill=\"none\" stroke=\"#fff\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 13h40a5 5 0 0 1 5 5v23a5 5 0 0 1-5 5H30L17 55v-9h-5a5 5 0 0 1-5-5V18a5 5 0 0 1 5-5Z\"/><g fill=\"#fff\"><circle cx=\"23\" cy=\"30\" r=\"3\"/><circle cx=\"32\" cy=\"30\" r=\"3\"/><circle cx=\"41\" cy=\"30\" r=\"3\"/></g></svg>")}`;
13463
13464
  function extensionError(message) {
13464
13465
  const error = /* @__PURE__ */ new Error(`[Bubble] ${message}`);
@@ -13,10 +13,10 @@
13
13
  | 順番 | 拡張機能 | 読み込み先 |
14
14
  | ---: | ------------------------ | -------------------------------------------------------------------------------------------------------- |
15
15
  | 1 | Temporary Variables | TurboWarpの拡張機能ライブラリから追加 |
16
- | 2 | Async Input 0.7.3 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js` |
16
+ | 2 | Async Input 0.8.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js` |
17
17
  | 3 | Runtime Expression 0.6.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-runtime-expression@0.6.1/dist/runtime-expression.js` |
18
- | 4 | Asset Cache 0.2.2 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js` |
19
- | 5 | Bubble 0.13.3 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js` |
18
+ | 4 | Asset Cache 0.3.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js` |
19
+ | 5 | Bubble 0.13.4 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js` |
20
20
 
21
21
  開発中のBubbleを試す場合は、このリポジトリの`dist/turbowarp-bubble.js`をローカルカスタム拡張機能として読み込みます。既定SVG overlayに必要なrenderer APIがない場合、画像・メディア機能の使用時にAsset Cacheがない場合、condition待機の開始時にAsync InputかRuntime Expressionがない場合は、Bubbleが明示的なエラーを返します。低レベルComposition APIでは別のtext capabilityを注入できます。
22
22
 
@@ -328,7 +328,7 @@ cloneが停止・削除された場合は、そのtargetに属するtimer、over
328
328
 
329
329
  | 状況 | 原因と対処 |
330
330
  | ------------------------------------ | ------------------------------------------------------------------------ |
331
- | Asset Cacheを要求するエラー | 画像・メディアアセットを使う前にAsset Cache 0.2.2を読み込む |
331
+ | Asset Cacheを要求するエラー | 画像・メディアアセットを使う前にAsset Cache 0.3.1を読み込む |
332
332
  | SVG overlay backendのエラー | `renderer.addOverlay()`対応hostを使うか`scratch-render`を明示する |
333
333
  | Async Inputを要求するエラー | Bubble待機より前にAsync Input 0.3.xをサンドボックスなしで読み込む |
334
334
  | Runtime Expressionを要求するエラー | Bubble待機より前にRuntime Expression 0.3.xをサンドボックスなしで読み込む |
@@ -13,10 +13,10 @@ The complete input-wait example uses five extensions. Add Temporary Variables fr
13
13
  | Order | Extension | URL |
14
14
  | ----: | ------------------------ | -------------------------------------------------------------------------------------------------------- |
15
15
  | 1 | Temporary Variables | Add from the TurboWarp extension library |
16
- | 2 | Async Input 0.7.3 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js` |
16
+ | 2 | Async Input 0.8.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js` |
17
17
  | 3 | Runtime Expression 0.6.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-runtime-expression@0.6.1/dist/runtime-expression.js` |
18
- | 4 | Asset Cache 0.2.2 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js` |
19
- | 5 | Bubble 0.13.3 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js` |
18
+ | 4 | Asset Cache 0.3.1 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js` |
19
+ | 5 | Bubble 0.13.4 | `https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js` |
20
20
 
21
21
  To try a development build, load this repository's `dist/turbowarp-bubble.js` as a local custom extension. Bubble reports an explicit error if the renderer lacks the default SVG overlay APIs, if an image/media feature is used without Asset Cache, or if Async Input or Runtime Expression is missing when it starts a condition-based Bubble wait. The lower-level Composition API can inject another text capability.
22
22
 
@@ -328,7 +328,7 @@ Saved projects using the former `say/think [MESSAGE] with bubble style [STYLE]`
328
328
 
329
329
  | Symptom | Cause and solution |
330
330
  | ------------------------------------ | ------------------------------------------------------------------------------- |
331
- | Asset Cache required error | Load Asset Cache 0.2.2 without sandbox before using image/media assets |
331
+ | Asset Cache required error | Load Asset Cache 0.3.1 without sandbox before using image/media assets |
332
332
  | SVG overlay backend error | Use a host with `renderer.addOverlay()` or explicitly select `scratch-render` |
333
333
  | Async Input required error | Load Async Input 0.3.x without sandbox before using the Bubble wait |
334
334
  | Runtime Expression required error | Load Runtime Expression 0.3.x without sandbox before using the Bubble wait |
package/docs/index.html CHANGED
@@ -90,8 +90,8 @@
90
90
  </tr>
91
91
  <tr>
92
92
  <td align="right">2</td>
93
- <td>Async Input 0.7.3</td>
94
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js</code></td>
93
+ <td>Async Input 0.8.1</td>
94
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js</code></td>
95
95
  </tr>
96
96
  <tr>
97
97
  <td align="right">3</td>
@@ -100,13 +100,13 @@
100
100
  </tr>
101
101
  <tr>
102
102
  <td align="right">4</td>
103
- <td>Asset Cache 0.2.2</td>
104
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js</code></td>
103
+ <td>Asset Cache 0.3.1</td>
104
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js</code></td>
105
105
  </tr>
106
106
  <tr>
107
107
  <td align="right">5</td>
108
- <td>Bubble 0.13.3</td>
109
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js</code></td>
108
+ <td>Bubble 0.13.4</td>
109
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js</code></td>
110
110
  </tr>
111
111
  </tbody></table>
112
112
  <p>To try a development build, load this repository&#39;s <code>dist/turbowarp-bubble.js</code> as a local custom extension. Bubble reports an explicit error if the renderer lacks the default SVG overlay APIs, if an image/media feature is used without Asset Cache, or if Async Input or Runtime Expression is missing when it starts a condition-based Bubble wait. The lower-level Composition API can inject another text capability.</p>
@@ -508,7 +508,7 @@ animate bubble shape to [WAVY] speed [1] for [0.5] seconds
508
508
  </thead>
509
509
  <tbody><tr>
510
510
  <td>Asset Cache required error</td>
511
- <td>Load Asset Cache 0.2.2 without sandbox before using image/media assets</td>
511
+ <td>Load Asset Cache 0.3.1 without sandbox before using image/media assets</td>
512
512
  </tr>
513
513
  <tr>
514
514
  <td>SVG overlay backend error</td>
@@ -90,8 +90,8 @@
90
90
  </tr>
91
91
  <tr>
92
92
  <td align="right">2</td>
93
- <td>Async Input 0.7.3</td>
94
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.7.3/dist/async-input.js</code></td>
93
+ <td>Async Input 0.8.1</td>
94
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-async-input@0.8.1/dist/async-input.js</code></td>
95
95
  </tr>
96
96
  <tr>
97
97
  <td align="right">3</td>
@@ -100,13 +100,13 @@
100
100
  </tr>
101
101
  <tr>
102
102
  <td align="right">4</td>
103
- <td>Asset Cache 0.2.2</td>
104
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.2.2/dist/asset-cache.js</code></td>
103
+ <td>Asset Cache 0.3.1</td>
104
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.3.1/dist/asset-cache.js</code></td>
105
105
  </tr>
106
106
  <tr>
107
107
  <td align="right">5</td>
108
- <td>Bubble 0.13.3</td>
109
- <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.3/dist/turbowarp-bubble.js</code></td>
108
+ <td>Bubble 0.13.4</td>
109
+ <td><code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.13.4/dist/turbowarp-bubble.js</code></td>
110
110
  </tr>
111
111
  </tbody></table>
112
112
  <p>開発中のBubbleを試す場合は、このリポジトリの<code>dist/turbowarp-bubble.js</code>をローカルカスタム拡張機能として読み込みます。既定SVG overlayに必要なrenderer APIがない場合、画像・メディア機能の使用時にAsset Cacheがない場合、condition待機の開始時にAsync InputかRuntime Expressionがない場合は、Bubbleが明示的なエラーを返します。低レベルComposition APIでは別のtext capabilityを注入できます。</p>
@@ -508,7 +508,7 @@ animate bubble shape to [WAVY] speed [1] for [0.5] seconds
508
508
  </thead>
509
509
  <tbody><tr>
510
510
  <td>Asset Cacheを要求するエラー</td>
511
- <td>画像・メディアアセットを使う前にAsset Cache 0.2.2を読み込む</td>
511
+ <td>画像・メディアアセットを使う前にAsset Cache 0.3.1を読み込む</td>
512
512
  </tr>
513
513
  <tr>
514
514
  <td>SVG overlay backendのエラー</td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-bubble",
3
- "version": "0.13.3",
3
+ "version": "0.13.4",
4
4
  "description": "Composable say and think bubbles with portrait layers and animated continue indicators for TurboWarp.",
5
5
  "author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
6
6
  "type": "module",
@@ -80,8 +80,8 @@
80
80
  "test:fixed-inputs:native": "node --test tests/fixed-inputs.native.mjs"
81
81
  },
82
82
  "peerDependencies": {
83
- "@kubohiroya/turbowarp-asset-cache": "0.2.2",
84
- "@kubohiroya/turbowarp-async-input": "0.7.3",
83
+ "@kubohiroya/turbowarp-asset-cache": "0.3.1",
84
+ "@kubohiroya/turbowarp-async-input": "0.8.1",
85
85
  "@kubohiroya/turbowarp-runtime-expression": "0.6.1"
86
86
  },
87
87
  "peerDependenciesMeta": {
@@ -97,8 +97,8 @@
97
97
  },
98
98
  "devDependencies": {
99
99
  "@eslint/js": "^10.0.1",
100
- "@kubohiroya/turbowarp-asset-cache": "0.2.2",
101
- "@kubohiroya/turbowarp-async-input": "0.7.3",
100
+ "@kubohiroya/turbowarp-asset-cache": "0.3.1",
101
+ "@kubohiroya/turbowarp-async-input": "0.8.1",
102
102
  "@kubohiroya/turbowarp-extension-data-editor": "0.2.1",
103
103
  "@kubohiroya/turbowarp-extension-manifest": "0.3.2",
104
104
  "@kubohiroya/turbowarp-runtime-expression": "0.6.1",