@botiverse/porthole 0.3.3 → 0.3.5
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 +2 -0
- package/dist/bridge/types.d.ts +3 -2
- package/dist/check/page-source.js +1 -1
- package/dist/conformance/harness-source.js +1 -1
- package/dist/guide/guide.js +18 -11
- package/dist/host/types.d.ts +5 -1
- package/dist/react/frame.d.ts +4 -1
- package/dist/react/view.d.ts +4 -1
- package/dist/react/view.js +1 -1
- package/docs/ADOPTING.md +42 -2
- package/docs/DECISIONS.md +18 -0
- package/docs/DESIGN.md +5 -2
- package/package.json +1 -1
- package/src/bridge/types.ts +3 -2
- package/src/guide/guide.ts +21 -12
- package/src/host/types.ts +5 -1
- package/src/react/frame.tsx +4 -1
- package/src/react/view.tsx +5 -2
package/README.md
CHANGED
|
@@ -69,6 +69,8 @@ width, light and dark, before anyone sees it, and tells the agent what broke in
|
|
|
69
69
|
|
|
70
70
|
- [docs/ADOPTING.md](docs/ADOPTING.md): getting started, step by step: the server, the page, its
|
|
71
71
|
CSP, Workers, local development, the agent's tools, conformance, troubleshooting.
|
|
72
|
+
- [Choosing egress](docs/ADOPTING.md#choosing-egress): what content may load (closed, library
|
|
73
|
+
CDNs, passive media from any https site), what each level opens and the risk it re-opens.
|
|
72
74
|
- [docs/DESIGN.md](docs/DESIGN.md): how it works. [docs/DECISIONS.md](docs/DECISIONS.md): why,
|
|
73
75
|
by P-number (the code cites them).
|
|
74
76
|
|
package/dist/bridge/types.d.ts
CHANGED
|
@@ -19,8 +19,9 @@ export type CapabilityHandlers = {
|
|
|
19
19
|
readonly [N in HandledCapability]?: CapabilityHandler<N>;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* The display a confirmation is for, as the host named it: its id and title, and the instance
|
|
23
|
-
*
|
|
22
|
+
* The display a confirmation is for, as the host named it: its id and title, and the instance the
|
|
23
|
+
* host gave it, served or opaque (P076, P077), so a host can word its dialog from its own records.
|
|
24
|
+
* Host-side only: none of it is the content's word, and an opaque frame never gets the instance.
|
|
24
25
|
*/
|
|
25
26
|
export interface ConfirmDisplay {
|
|
26
27
|
readonly id: string;
|