@anna-ai/app-runtime 0.16.0 → 0.16.1

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,10 @@
1
1
  /**
2
- * Anna App Runtime SDK — v0.16.0
2
+ * Anna App Runtime SDK — v0.16.1
3
+ *
4
+ * v0.16.1 — invokeAsyncAwait's wait_timeout message no longer embeds a
5
+ * call-shaped literal (`anna.tools.getJob({jobId})`): naïve source
6
+ * scanners (grep-class) treated the diagnostic string as a real host
7
+ * API call (forum #296). Wording only — no behavior change.
3
8
  *
4
9
  * v0.16.0 — Adds the `anna.mobile.*` native-bridge namespace (design
5
10
  * anna-app-mobile-runtime-phase3.md P1): `anna.mobile.share({title?,
@@ -426,8 +431,8 @@
426
431
  wallTimer = setTimeout(() => {
427
432
  const err = new Error(
428
433
  `invokeAsyncAwait wall clock elapsed after ${wallMs}ms; ` +
429
- `job ${jobId} may still be running — recover via ` +
430
- `anna.tools.getJob({jobId})`
434
+ `job ${jobId} may still be running — recover it with the ` +
435
+ `tools.getJob host method using this jobId`
431
436
  );
432
437
  err.code = "wait_timeout";
433
438
  settleErr(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anna-ai/app-runtime",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Anna App browser runtime SDK. Loaded by every Anna App iframe; provides typed proxy over the postMessage RPC bridge to the host (Anna dashboard / `anna-app dev` harness).",
5
5
  "license": "MIT",
6
6
  "type": "module",