apps 0.0.1-beta.144 → 0.0.1-beta.148

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 (48) hide show
  1. package/README.md +14 -0
  2. package/framework-reference.json +1 -1
  3. package/js/{chunk-IWLFLMIL.js → chunk-4XXHO5UG.js} +3966 -1760
  4. package/js/{chunk-6OWHQINS.js → chunk-63BS5GBH.js} +2 -2
  5. package/js/{chunk-6NRWFVK2.js → chunk-ALZDZ3ZT.js} +3 -3
  6. package/js/{chunk-T4MICYGT.js → chunk-CQCY3OZS.js} +2 -2
  7. package/js/{chunk-QDF7PQAD.js → chunk-CWAPV2TN.js} +2 -2
  8. package/js/{chunk-5MEOL2SG.js → chunk-DX5DD6Z2.js} +6 -6
  9. package/js/{chunk-455CCO6Q.js → chunk-E2PVLAGK.js} +1 -1
  10. package/js/{chunk-AFEMXP3F.js → chunk-FWK2WTJB.js} +2 -2
  11. package/js/{chunk-2OGVSUNI.js → chunk-GWFQCQB5.js} +2 -2
  12. package/js/chunk-HEFJFDU4.js +87 -0
  13. package/js/{chunk-B2PSDMZP.js → chunk-I7MYW7IK.js} +2 -2
  14. package/js/{chunk-B4JN2A6F.js → chunk-MXFPSMNM.js} +1 -1
  15. package/js/{chunk-INQON4A2.js → chunk-OA4UYCJ4.js} +2 -2
  16. package/js/{chunk-OFSXKKD6.js → chunk-PUMGAWHB.js} +7 -7
  17. package/js/{chunk-W6V5OIHB.js → chunk-SEJXUMGT.js} +267 -1
  18. package/js/{chunk-BU3UOD2T.js → chunk-SXYFFXHM.js} +1 -1
  19. package/js/{chunk-BHSWVS3Q.js → chunk-UT2CBMW3.js} +4 -1
  20. package/js/{chunk-TMYRAFMC.js → chunk-ZWFMEH2Y.js} +18 -1
  21. package/js/client.js +30 -8
  22. package/js/contracts.js +1 -2
  23. package/js/effect.js +10 -11
  24. package/js/graphql.js +12 -13
  25. package/js/host.js +10 -11
  26. package/js/index.js +6 -7
  27. package/js/mcp/effect.js +11 -12
  28. package/js/mcp.js +13 -14
  29. package/js/openapi.js +8 -9
  30. package/js/react.js +122 -3
  31. package/js/skills/effect.js +1 -2
  32. package/js/skills.js +7 -8
  33. package/js/ui/auth/contracts.js +5 -1
  34. package/js/ui/auth.js +7 -4
  35. package/js/ui/contracts.js +52 -5
  36. package/js/ui/serving.js +55 -17
  37. package/package.json +1 -1
  38. package/runtime.json +1 -1
  39. package/types/apps/src/client.d.ts +3 -0
  40. package/types/apps/src/contracts/desktop-errors.d.ts +46 -0
  41. package/types/apps/src/contracts/desktop.d.ts +228 -0
  42. package/types/apps/src/contracts/ui-auth.d.ts +4 -1
  43. package/types/apps/src/contracts/ui.d.ts +43 -1
  44. package/types/apps/src/implementation/desktop.d.ts +85 -0
  45. package/types/apps/src/implementation/ui-serving.d.ts +13 -1
  46. package/types/apps/src/react.d.ts +29 -0
  47. package/types/apps/src/ui-serving.d.ts +1 -1
  48. package/js/chunk-QLUWYCOT.js +0 -2325
package/README.md CHANGED
@@ -194,6 +194,20 @@ The product host supplies authentication and binds the browser to one configured
194
194
  app. No app ID, account token or Executor API key belongs in UI code. New
195
195
  activations reload open app pages. The `live-inbox` example in `framework-reference.json` is a complete app with a UI.
196
196
 
197
+ When the app is installed in the Executor desktop app, `ui/icon.svg` is its
198
+ icon (one well-formed XML `<svg xmlns="http://www.w3.org/2000/svg">` element,
199
+ at most 64 KiB, with no DOCTYPE, script, `<foreignObject>`, event attribute or
200
+ link outside the icon)
201
+ and `ui/menubar.html` is a menu-bar popover page, its own small entry served at
202
+ `/_executor/menubar` that shares code by importing modules; size it with
203
+ `<meta name="executor:menubar" content="width=320, height=360">`. `desktop` from
204
+ `apps/client` sets the menu-bar title, holds global shortcuts and floats the
205
+ window; `useDesktopShortcut` from `apps/react` holds a shortcut while mounted.
206
+ Each capability asks the person once per app. Outside an installed window
207
+ `desktop.available` is false, `desktop.permission` resolves `"unavailable"` and
208
+ other calls reject with `DesktopUnavailable`. Notifications use the standard
209
+ web `Notification` API.
210
+
197
211
  ## Webhooks
198
212
 
199
213
  Expose `webhooks: { issueOpened }` beside `tools`. Each definition