@wcstack/devtools 2.2.0 → 2.4.0

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/dist/index.d.ts CHANGED
@@ -159,7 +159,7 @@ type DevtoolsEventLike = {
159
159
  readonly stateElement?: unknown;
160
160
  } | {
161
161
  readonly type: "state:watch-error";
162
- readonly phase: "prime" | "evaluate" | "handler";
162
+ readonly phase: "prime" | "evaluate" | "handler" | "fold" | "write";
163
163
  readonly path: string;
164
164
  readonly error: unknown;
165
165
  } | {
@@ -178,7 +178,7 @@ type DevtoolsEventLike = {
178
178
  readonly stateElement?: unknown;
179
179
  } | {
180
180
  readonly type: "state:path-unresolved";
181
- readonly source: "binding" | "watch";
181
+ readonly source: "binding" | "watch" | "scan";
182
182
  readonly path: string;
183
183
  readonly missingSegment: string;
184
184
  } | {
package/dist/index.esm.js CHANGED
@@ -1933,7 +1933,7 @@ class WcsDevtools extends HTMLElement {
1933
1933
  if (entry.kind === "watch-error" || entry.kind === "watch-chain-limit") {
1934
1934
  kind.classList.add("warn");
1935
1935
  kind.title = entry.kind === "watch-error"
1936
- ? "a $watch threw; the runtime isolated it (console.error only)"
1936
+ ? "a $watch or $scan failure (read, handler, fold or write — see the phase in the detail); the runtime isolated it (console.error only)"
1937
1937
  : "a $watch write chain hit the depth limit and was cut off";
1938
1938
  }
1939
1939
  // 配線の死(解決しないパス)と隔離された適用失敗も、ランタイムが console に