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.
- package/README.md +14 -0
- package/framework-reference.json +1 -1
- package/js/{chunk-IWLFLMIL.js → chunk-4XXHO5UG.js} +3966 -1760
- package/js/{chunk-6OWHQINS.js → chunk-63BS5GBH.js} +2 -2
- package/js/{chunk-6NRWFVK2.js → chunk-ALZDZ3ZT.js} +3 -3
- package/js/{chunk-T4MICYGT.js → chunk-CQCY3OZS.js} +2 -2
- package/js/{chunk-QDF7PQAD.js → chunk-CWAPV2TN.js} +2 -2
- package/js/{chunk-5MEOL2SG.js → chunk-DX5DD6Z2.js} +6 -6
- package/js/{chunk-455CCO6Q.js → chunk-E2PVLAGK.js} +1 -1
- package/js/{chunk-AFEMXP3F.js → chunk-FWK2WTJB.js} +2 -2
- package/js/{chunk-2OGVSUNI.js → chunk-GWFQCQB5.js} +2 -2
- package/js/chunk-HEFJFDU4.js +87 -0
- package/js/{chunk-B2PSDMZP.js → chunk-I7MYW7IK.js} +2 -2
- package/js/{chunk-B4JN2A6F.js → chunk-MXFPSMNM.js} +1 -1
- package/js/{chunk-INQON4A2.js → chunk-OA4UYCJ4.js} +2 -2
- package/js/{chunk-OFSXKKD6.js → chunk-PUMGAWHB.js} +7 -7
- package/js/{chunk-W6V5OIHB.js → chunk-SEJXUMGT.js} +267 -1
- package/js/{chunk-BU3UOD2T.js → chunk-SXYFFXHM.js} +1 -1
- package/js/{chunk-BHSWVS3Q.js → chunk-UT2CBMW3.js} +4 -1
- package/js/{chunk-TMYRAFMC.js → chunk-ZWFMEH2Y.js} +18 -1
- package/js/client.js +30 -8
- package/js/contracts.js +1 -2
- package/js/effect.js +10 -11
- package/js/graphql.js +12 -13
- package/js/host.js +10 -11
- package/js/index.js +6 -7
- package/js/mcp/effect.js +11 -12
- package/js/mcp.js +13 -14
- package/js/openapi.js +8 -9
- package/js/react.js +122 -3
- package/js/skills/effect.js +1 -2
- package/js/skills.js +7 -8
- package/js/ui/auth/contracts.js +5 -1
- package/js/ui/auth.js +7 -4
- package/js/ui/contracts.js +52 -5
- package/js/ui/serving.js +55 -17
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/client.d.ts +3 -0
- package/types/apps/src/contracts/desktop-errors.d.ts +46 -0
- package/types/apps/src/contracts/desktop.d.ts +228 -0
- package/types/apps/src/contracts/ui-auth.d.ts +4 -1
- package/types/apps/src/contracts/ui.d.ts +43 -1
- package/types/apps/src/implementation/desktop.d.ts +85 -0
- package/types/apps/src/implementation/ui-serving.d.ts +13 -1
- package/types/apps/src/react.d.ts +29 -0
- package/types/apps/src/ui-serving.d.ts +1 -1
- 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
|