@agentshouse/app-bridge 0.1.0-c3ebb08f5de71 → 0.1.0-c3ee7fcd01608

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 (123) hide show
  1. package/README.md +7 -7
  2. package/dist/index.d.ts +669 -26
  3. package/dist/mdmodel/body.d.ts +84 -0
  4. package/dist/mdmodel/built-in.d.ts +3 -0
  5. package/dist/mdmodel/definition.d.ts +24 -11
  6. package/dist/mdmodel/document.d.ts +15 -8
  7. package/dist/mdmodel/event.d.ts +76 -0
  8. package/dist/mdmodel/facts.d.ts +14 -0
  9. package/dist/mdmodel/fields.d.ts +1 -1
  10. package/dist/mdmodel/house-model.d.ts +869 -0
  11. package/dist/mdmodel/house-references/crockford.d.ts +3 -0
  12. package/dist/mdmodel/house-references/patterns.d.ts +8 -0
  13. package/dist/mdmodel/index.d.ts +44 -15
  14. package/dist/mdmodel/indexed.d.ts +8 -0
  15. package/dist/mdmodel/kinds.d.ts +20 -0
  16. package/dist/mdmodel/markdown.d.ts +74 -0
  17. package/dist/mdmodel/media-type.d.ts +71 -0
  18. package/dist/mdmodel/moment.d.ts +6 -0
  19. package/dist/mdmodel/not-ready.d.ts +1 -0
  20. package/dist/mdmodel/paths.d.ts +15 -1
  21. package/dist/mdmodel/pattern.d.ts +9 -0
  22. package/dist/mdmodel/query/language.d.ts +254 -0
  23. package/dist/mdmodel/query/match.d.ts +13 -0
  24. package/dist/mdmodel/query/rows.d.ts +31 -0
  25. package/dist/mdmodel/query/sql.d.ts +42 -0
  26. package/dist/mdmodel/query/walk.d.ts +62 -0
  27. package/dist/mdmodel/references.d.ts +2 -2
  28. package/dist/mdmodel/reserved.d.ts +5 -0
  29. package/dist/mdmodel/room-types.d.ts +6 -0
  30. package/dist/mdmodel/types.d.ts +22 -17
  31. package/dist/mdmodel/validate.d.ts +12 -6
  32. package/dist/mdmodel/yaml.d.ts +4 -4
  33. package/dist/mdruntime/actions.d.ts +25 -0
  34. package/dist/mdruntime/adapter.d.ts +211 -112
  35. package/dist/mdruntime/attached-model.d.ts +6 -0
  36. package/dist/mdruntime/authored.d.ts +87 -0
  37. package/dist/mdruntime/bootstrap.d.ts +43 -0
  38. package/dist/mdruntime/cell.d.ts +5 -0
  39. package/dist/mdruntime/chain.d.ts +2 -1
  40. package/dist/mdruntime/change-set.d.ts +4 -0
  41. package/dist/mdruntime/change.d.ts +5 -0
  42. package/dist/mdruntime/client.d.ts +39 -26
  43. package/dist/mdruntime/collection.d.ts +32 -7
  44. package/dist/mdruntime/compile.d.ts +8 -6
  45. package/dist/mdruntime/conversation-live.d.ts +151 -0
  46. package/dist/mdruntime/conversation-row.d.ts +39 -0
  47. package/dist/mdruntime/conversation.d.ts +72 -51
  48. package/dist/mdruntime/declaration.d.ts +9 -0
  49. package/dist/mdruntime/durability.d.ts +20 -1
  50. package/dist/mdruntime/failure.d.ts +3 -0
  51. package/dist/mdruntime/figures.d.ts +48 -0
  52. package/dist/mdruntime/holdings.d.ts +28 -0
  53. package/dist/mdruntime/house-query.d.ts +14 -0
  54. package/dist/mdruntime/identity.d.ts +0 -1
  55. package/dist/mdruntime/install.d.ts +59 -0
  56. package/dist/mdruntime/listing.d.ts +59 -0
  57. package/dist/mdruntime/live.d.ts +24 -0
  58. package/dist/mdruntime/media.d.ts +24 -0
  59. package/dist/mdruntime/messages.d.ts +35 -5
  60. package/dist/mdruntime/modal.d.ts +1 -0
  61. package/dist/mdruntime/model.d.ts +12 -13
  62. package/dist/mdruntime/observation.d.ts +31 -13
  63. package/dist/mdruntime/opened.d.ts +1 -1
  64. package/dist/mdruntime/outcome.d.ts +30 -7
  65. package/dist/mdruntime/overlay.d.ts +7 -2
  66. package/dist/mdruntime/preparation.d.ts +45 -0
  67. package/dist/mdruntime/presence.d.ts +57 -0
  68. package/dist/mdruntime/query.d.ts +14 -210
  69. package/dist/mdruntime/reach.d.ts +26 -14
  70. package/dist/mdruntime/readiness.d.ts +23 -22
  71. package/dist/mdruntime/reads.d.ts +38 -0
  72. package/dist/mdruntime/recovery.d.ts +4 -0
  73. package/dist/mdruntime/refresh.d.ts +26 -0
  74. package/dist/mdruntime/replica.d.ts +13 -19
  75. package/dist/mdruntime/retried.d.ts +29 -0
  76. package/dist/mdruntime/room-draft.d.ts +51 -12
  77. package/dist/mdruntime/room-drafts.d.ts +23 -0
  78. package/dist/mdruntime/runtime.d.ts +34 -0
  79. package/dist/mdruntime/save.d.ts +42 -84
  80. package/dist/mdruntime/saves.d.ts +33 -0
  81. package/dist/mdruntime/search.d.ts +12 -63
  82. package/dist/mdruntime/seed.d.ts +11 -2
  83. package/dist/mdruntime/socket/admission.d.ts +6 -0
  84. package/dist/mdruntime/socket/answers.d.ts +5 -0
  85. package/dist/mdruntime/socket/lanes.d.ts +27 -0
  86. package/dist/mdruntime/socket/session.d.ts +40 -0
  87. package/dist/mdruntime/socket.d.ts +67 -0
  88. package/dist/mdruntime/source.d.ts +58 -0
  89. package/dist/mdruntime/status.d.ts +4 -5
  90. package/dist/mdruntime/store/installs.d.ts +29 -0
  91. package/dist/mdruntime/store/readiness.d.ts +10 -0
  92. package/dist/mdruntime/store/records.d.ts +226 -0
  93. package/dist/mdruntime/store/room-held.d.ts +7 -0
  94. package/dist/mdruntime/store/rooms-shown.d.ts +7 -0
  95. package/dist/mdruntime/store/space.d.ts +10 -0
  96. package/dist/mdruntime/store/watchers.d.ts +16 -0
  97. package/dist/mdruntime/store/writes.d.ts +23 -0
  98. package/dist/mdruntime/store.d.ts +114 -156
  99. package/dist/mdruntime/stored.d.ts +87 -58
  100. package/dist/mdruntime/surface.d.ts +93 -0
  101. package/dist/mdruntime/tables.d.ts +129 -107
  102. package/dist/mdruntime/tallies.d.ts +17 -0
  103. package/dist/mdruntime/transfer.d.ts +0 -5
  104. package/dist/mdruntime/wire.d.ts +88 -13
  105. package/dist/session-content/check.d.ts +17 -0
  106. package/dist/session-content/index.d.ts +6 -0
  107. package/dist/session-content/parts.d.ts +30 -0
  108. package/dist/session-content/state.d.ts +59 -0
  109. package/dist/session-content/turn.d.ts +137 -0
  110. package/dist/test-host.d.ts +8 -4
  111. package/dist/test-host.js +46 -29
  112. package/docs/families.md +108 -84
  113. package/package.json +2 -2
  114. package/dist/calls.d.ts +0 -1007
  115. package/dist/calls.js +0 -1
  116. package/dist/mdmodel/blocks.d.ts +0 -10
  117. package/dist/mdmodel/condition.d.ts +0 -160
  118. package/dist/mdmodel/links.d.ts +0 -28
  119. package/dist/mdmodel/profile.d.ts +0 -5
  120. package/dist/mdruntime/connection.d.ts +0 -151
  121. package/dist/mdruntime/file.d.ts +0 -11
  122. package/dist/mdruntime/fulltext.d.ts +0 -26
  123. package/dist/mdruntime/shared.d.ts +0 -15
package/docs/families.md CHANGED
@@ -2,38 +2,62 @@
2
2
 
3
3
  - **Navigation** - the part of the shell's URL below the App's path, with its
4
4
  query and fragment. The shell delivers it when the App starts and whenever the
5
- User navigates; the App asks the shell to push or replace it. The App also
6
- sets its tab's title and icon with `setTab({ title, icon })`, either or both:
7
- a title of at most 200 characters and an icon given as a base64 `data:` URL
8
- of an SVG, PNG, GIF or WebP image of at most 1,048,576 characters. The shell
9
- shows them over the App's display name, or a Site's title, and its tab icon
10
- until the next load, and ignores a request outside those bounds.
5
+ User navigates, and `cameFrom()` answers the address the shell's page pushed
6
+ the shown one from, or `null`; the App asks the shell to push or replace it,
7
+ and a replace with that address steps back to it. The App also
8
+ sets its tab's title, icon and scheme with `setTab({ title, icon, scheme })`,
9
+ any of them: a title of at most 200 characters, an icon given as a base64
10
+ `data:` URL of an SVG, PNG, GIF or WebP image of at most 1,048,576
11
+ characters, and `'light'` or `'dark'` while the page shows that scheme over
12
+ the device's setting, or `null` once it follows the device. The shell shows
13
+ the title and icon over the App's display name, or a Site's title, and its
14
+ tab icon, and takes the scheme's top colour for the window's top, until the
15
+ next load, and ignores a request outside those bounds.
11
16
  - **Ceremony** - the App asks the shell to leave for one of House's own
12
17
  purpose-bound authenticated pages. The shell navigates only to a same-origin
13
18
  absolute path, carries its current address as the return target, and the page
14
19
  returns there when it completes. An App names an address House gave it in a
15
20
  reading and composes one only for `/bind/<app_ref>`, where the User binds
16
- its Rooms and connects its account slots, with `?slot=<name>` to open at one
17
- slot.
18
- - **Installation** - `install()` offers the page as a Home-screen app. Where the
19
- browser has an install prompt ready the shell shows it and the call resolves
20
- `'accepted'` or `'dismissed'` with the User's choice, spending that prompt;
21
- otherwise, as on every iPhone and iPad, it resolves `'manual'` and the App
22
- shows its own instructions. A prompt the browser refuses to show, as for a
23
- call made without a click, rejects with an error named and coded by the
24
- browser's own error name, with `retryable` false, and stays ready. Call it from a click. The standard
25
- `display-mode: standalone` media query tells the App it runs installed.
21
+ its Rooms, with `?slot=<name>` to open at one slot, and `/sign-out`, which
22
+ signs the User out and opens sign-in. A decision House asks over the App, a
23
+ prepared act's approval at `/approve/<ref>` and a secret or a CLI's sign-in
24
+ at `/secret-input/<id>`, stays in the App: the shell draws House's page as
25
+ its own dialog over the App, which the App cannot reach, and `ceremony()`
26
+ resolves once it closes, with `said`, what the page said it ended with, or
27
+ `null` when it closed with nothing said, and `done`, whether the decision was
28
+ carried out.
29
+ - **Title bar** - `onTitleBar(listener)` tells the listener the box of the
30
+ window's title bar in the page, `{ x, y, width, height }`, once the shell
31
+ knows it and at each change, or `null` while the window draws its own;
32
+ only House's own panel asks an installed window to let it draw the row, so
33
+ an App's and a Site's listener hears `null`; an App shown in the installed
34
+ House's window with the overlay on starts below a bar of its top colour
35
+ that drags the window. `setTitleBar({ height,
36
+ controls })` names the page's top row, its height from the top and the box
37
+ of each control in it; the shell lets the person drag the window by the
38
+ rest of the row, and `setTitleBar(null)` ends that.
26
39
  - **Notifications** - House's own panel alone; an App's or a Site's call
27
40
  rejects with an error named `HouseCeremonyRefused`, carrying `code` and `retryable`. `notifications()` answers this browser
28
41
  storage's push state: `'on'`, `'off'`, `'blocked'` where the browser refuses
29
42
  notifications, or `'unavailable'` where it has no push, as on an iPhone or
30
43
  iPad outside a Home-screen app. `notifications(true)` asks the browser's
31
44
  permission and subscribes, `notifications(false)` unsubscribes, and each
32
- answers the state it leaves; a failure of the browser's push service, and
33
- of `setBadge`, rejects the same way. Call `notifications(true)` from a
34
- click. `setBadge(unread)` takes the identifiers of the Human Notifications
35
- unread in this storage and sets the icon's badge to their number, or clears
36
- it at none, where the browser shows one.
45
+ answers the state it leaves; a failure of the browser's push service
46
+ rejects the same way. Call `notifications(true)` from a click. House's
47
+ service worker counts the icon's badge itself, as pushes arrive and as
48
+ read marks reach this storage.
49
+ - **Telegram** - House's own panel alone, refused to an App or a Site the same
50
+ way. `telegram()` answers `{ state, name, username }`: `state` is
51
+ `'available'` where the page runs inside a House bot's Mini App that gave it
52
+ Telegram's launch data naming an account, with that account's `name` and its
53
+ `username` or `null`, and `'unavailable'` with both `null` elsewhere.
54
+ `telegram(true)` links the signed-in User to that account and answers
55
+ `'linked'` with it; where the User's sign-in is
56
+ not recent, the page goes to sign in again, and nothing links until a later
57
+ `telegram(true)`.
58
+ Telegram's refusal rejects with an error coded `linked_elsewhere`,
59
+ `rate_limited` or `refused`, and a failed request with the browser's own
60
+ error name.
37
61
  - **Status** - the App reference the runtime client is attached under,
38
62
  `preferences`: the `roomRef` and Path of the App's own preferences document,
39
63
  or `null` until the runtime holds that Room, sync
@@ -45,20 +69,21 @@
45
69
  `onAddress(listener)` hand a listener the status and the address the bridge
46
70
  already holds, then each change.
47
71
  The App reports the visitor's choice with `analyticsConsent('accept')` or
48
- `analyticsConsent('decline')`; the shell hands it to House's analytics loader, and
49
- the choice never reaches House.
50
- - **Handoff** - when House hands its runtime over to a newer build, the App keeps
51
- running, its `runtime` client and observations included: a call it makes
52
- meanwhile waits for the newer runtime, however long that takes, and is
53
- answered once, by it; each observation goes on with the newer runtime's
54
- values; and the status and the address arrive again. A runtime that ended
55
- before answering has its reads answered by the next one; since it may have
56
- applied any other call, an act on House is answered the outcome
57
- `transport-uncertainty`, and every other call, a Save or a draft write among
58
- them, fails with the retryable code `transport-uncertainty`.
59
- - **Site image read** - given a Published Room and the Path of one of its
60
- binary entries, it answers the web copy's path and metadata, or `null` when no
61
- copy exists. The original bytes never cross this bridge at a Site.
72
+ `analyticsConsent('decline')`; a Site's shell that measures hands it to House's
73
+ analytics loader, every other shell drops it, and the choice never reaches House.
74
+ - **Releases and builds** - an open App keeps the release it loaded: a newer
75
+ release, or a newer House build, takes effect at the App's next load, offline
76
+ too once the browser stored it. When one tab loads a newer House build, the
77
+ other House tabs reload into it; Room Drafts, chat drafts and unsent changes
78
+ survive the reload.
79
+ - **A runtime that ends** - when the browser ends House's runtime under an open
80
+ App, the App keeps running, its `runtime` client and observations included:
81
+ each observation goes on with the next runtime's values, and the status and
82
+ the address arrive again. A runtime that ended before answering has its reads
83
+ answered by the next one; since it may have applied any other call, an act on
84
+ House is answered the outcome `transport-uncertainty`, and every other call,
85
+ a Save or a draft write among them, fails with the retryable code
86
+ `transport-uncertainty`.
62
87
  - **App release code** - `sourceTop(app, release)` answers the top level of
63
88
  the latest successful release of an App the User may use: its folders, its
64
89
  files with their sizes and its root README's text, or `null` for none;
@@ -66,24 +91,23 @@
66
91
  path, its size and its `text`, or its bytes as `base64`. The browser keeps
67
92
  each answer per App and release: a read naming a release it holds answers
68
93
  without asking House, and keeping a newer release drops the earlier one. A
69
- refusal is House's `{ error: { code, retryable } }`, `app_release_not_found` for an
94
+ refusal is House's `{ error: { code, retryable } }`, `not_found` for an
70
95
  App with no release; a read House does not answer, or one that outlived
71
96
  the browser's signed-in User, is `null`.
72
- - **External calls** - `callExternal({ url, method, headers, body, slot, room_ref })`
97
+ - **External calls** - `callExternal({ url, method, headers, body, room_ref })`
73
98
  has House's server send an HTTPS request to one of the release's declared
74
99
  external origins and resolves with the service's `status`, `headers` and its
75
100
  body as `body` text or `body_base64`, or a refusal as House's
76
101
  `{ error: { code, retryable } }`, or `null` when House does not answer. House fills in the
77
- App and its running release; naming an account slot and one of the App's
78
- bound Rooms places the key of the account that Room connects to the slot,
79
- when the User holds one of the account's roles there, which the App never
80
- sees, and naming neither sends no key. A Site's call names no slot, and the House panel names an
81
- `account` instead. `body_base64` replaces `body` for bytes.
102
+ App and its running release. A `room_ref` names a Room the signed-in User binds to the App
103
+ in a `write` slot, and House adds that Room's Service key for the URL's origin, which App
104
+ code never sees; a call naming no Room carries no key, and a Site's call names no Room.
105
+ `body_base64` replaces `body` for bytes.
82
106
  - **App messages** - `messages(listener)` hands the listener each message
83
107
  another holder of this App sends to this User's running copies, as `from`,
84
108
  the sender's User id, and `body`, the JSON value they sent, until the
85
109
  function it returns is called. App code sends one through the Runtime's
86
- `call('message.send', { to, body })` with the recipient's User id and
110
+ `call('apps/messages/send', { to, body })` with the recipient's User id and
87
111
  a body of at most 32 kB of JSON; House fills in the App and relays it only
88
112
  to copies running now, storing nothing. The panel sends none.
89
113
  - **App screenshot read** - given an App reference, `readScreenshot(app)`
@@ -101,40 +125,36 @@
101
125
  `runtime` client, and resolves to a handle: `update(options)` replaces its
102
126
  options and `unmount()` removes it. House serves the Chat with the page and
103
127
  keeps it current, so the App installs and bundles nothing for it. The
104
- options: `conversation` opens one, `null` for a new chat, `agent` is the
105
- Agent a new chat goes to, `showChats` adds its conversation list, `width` is
106
- `full`, the element, or `3/4`, `1/2` or `1/3` of the window docked at its
107
- right edge, `onOpen` hears each conversation it opens as
108
- `{ conversation, agent }`, and `onLink` takes a link without a scheme in
109
- place of the browser. CSS custom properties named `--chat-*` on the element
110
- or an ancestor set its look. It shows conversations only to a release that
111
- declares them. A Site and the House panel have none: their call rejects with
128
+ options: the Chat fills the element and lays itself out by its width, the
129
+ list of the User's chats or one chat, the list beside the chat, or the list,
130
+ the chat and its details, `conversation` opens one, `null` for a new chat with
131
+ `agent`, the Agent it goes to, or the list with neither, `onOpen` hears
132
+ each conversation it opens as `{ conversation, agent }` and both `null` on
133
+ the way back to the list, and `onLink` takes
134
+ a link without a scheme in place of the browser. CSS custom properties named `--chat-*` on the element
135
+ or an ancestor set its look, and no other rule of the page's stylesheets reaches it. It shows conversations only to a release that
136
+ declares them. `chat.mountButton(options)` places the Chat as the Chat button
137
+ instead, with no element: House's dot at the window's bottom-right corner, which
138
+ counts what asks the User or, while nothing does, the chats that replied since the User
139
+ opened them, breathes while a turn runs and opens and hides the Chat in a sheet the User
140
+ moves, resizes and fills the window with, over a page that never changes under it. It
141
+ resolves to a handle: `open(target)` shows the sheet, on `target.conversation` or a new
142
+ chat with `target.agent` when it names one, docked at full height when `target.docked` is
143
+ `true`, `hide()` hides it, keeping its chat, scroll and typed text, and `update(options)` and
144
+ `unmount()` work as above, with `onOpen` and `onLink`. `agent` among the mount's options
145
+ names the Agent the dot first opens the sheet on, a new chat with it in place of the chat the
146
+ sheet kept, and leaves the sheet hidden. The page's Presentation State
147
+ keeps the sheet's size, place, list and open chat. A Site and the House panel have none: both calls reject with
112
148
  an error named and coded `NotSupportedError`, with `retryable` false.
113
149
 
114
- - **Cooperation** - `cooperate({ checkpoint, persist, capture, restore,
115
- ready, settle })` lets House activate a newer release of the App while it
116
- runs, keeping the User's task; the function it returns withdraws it.
117
- Register it in the entry script, before the first draw, or House treats the
118
- page as not cooperating and the newer release waits for the App's next
119
- open. When a newer release is stored, House calls `checkpoint()`, which
120
- resolves at the App's next safe checkpoint and may never resolve, then
121
- `persist()`, which makes authored work durable, then `capture()`, which
122
- answers the meaningful task the App owns, such as the selected record,
123
- filters, cursor, selection and scroll position, as JSON of at most 65,536
124
- characters; House keeps the address itself. In the newer release House
125
- calls `restore(task)` once its document has drawn, so the scroll position
126
- and focus it sets hold, or `restore(null)` when it opens the release without
127
- a task, then `ready()`, the App's own check that its local data and
128
- capabilities work, and finally `settle('committed')` once the release is
129
- active or `settle('abandoned')` when House returns to the release before
130
- it, restoring the same task there. A release House opens already active is
131
- settled `'committed'` at once, after `restore(task)` when House hands it a
132
- task, and a cooperation registered after House settled is settled at its
133
- registration. Until `settle('committed')` House fails the release's outside
134
- calls at once, as offline, those of the workers it starts included, and
135
- refuses its Saves, write acts and external calls with the retryable code
136
- `house_trial_withheld`, so a start-up effect is not repeated; run start-up
137
- effects after `settle('committed')`.
150
+ - **First place** - `cooperate({ placed })` tells House when the page has
151
+ drawn the place it opened on; the function it returns withdraws it. Register
152
+ it in the entry script, before the first draw. `placed()` resolves once the
153
+ page has drawn that place with what it shows: House keeps its
154
+ first-preparation surface over a page registered by its first draw until
155
+ then, and lifts it at the first draw of a page that registered none, so the
156
+ User goes from the surface to a drawn place in one change. House asks the
157
+ page for nothing else.
138
158
 
139
159
  ## The test host
140
160
 
@@ -143,7 +163,9 @@ bridge object that `houseBridge()` returns, until the next host replaces it.
143
163
  It delivers the address the App starts at and each address `open` plays as
144
164
  Back or Forward, admitting nothing, so it delivers `//notes` exactly as a
145
165
  browser at `/apps/<app>//notes` does. It records every push and replace and
146
- answers each with the address the shell would then show, records an admitted
166
+ answers each with the address the shell would then show, its `cameFrom()` the
167
+ address each push left until a replace with that address steps back, and none
168
+ for an address `open` plays, records an admitted
147
169
  ceremony, and refuses a push, replace or ceremony that is not a same-origin
148
170
  absolute path of at most 1,000 characters with an error named
149
171
  `HouseNavigationRefused` or `HouseCeremonyRefused`. It publishes a status,
@@ -154,13 +176,15 @@ records in `tabs` each `setTab`, answers a release code read from the
154
176
  `external` function it was given, or `null`, and records the request in
155
177
  `externalCalls`, answers `readScreenshot` from the `screenshots` it was given
156
178
  by App reference and `readSiteScreenshot` from the `siteScreenshots` it was
157
- given by Site identifier, answers every `install()` `'manual'`, as a browser
158
- with no install prompt does, answers every `notifications()` `'unavailable'`,
159
- as a browser without push does, settles every `setBadge`, records in `chats`
179
+ given by Site identifier, tells every `onTitleBar` listener
180
+ `null`, as a window that draws its own title bar does, and takes every `setTitleBar` as such a
181
+ window does, answers every `notifications()` `'unavailable'`,
182
+ as a browser without push does, records in `chats`
160
183
  each Chat `chat.mount` places, with its `element`, the `options` it was last
161
- given and whether it is still `mounted`, drawing nothing, delivers each App
184
+ given and whether it is still `mounted`, and in `chatButtons` each Chat button
185
+ `chat.mountButton` places, with the `options` it was last given, whether its
186
+ sheet is `shown`, the `target` its last `open` named or `null`, and whether it is
187
+ still `mounted`, drawing nothing, delivers each App
162
188
  message `message({ from, body })` plays, and hands `bridge.runtime` the MD
163
- Runtime client `attachRuntime(client)` gives it. `checkpoint()` runs the
164
- registered cooperation's checkpoint, persist and capture and answers the task,
165
- `restore(task)` runs its restore and answers its readiness check, and
166
- `settle(activation)` hands it the outcome.
189
+ Runtime client `attachRuntime(client)` gives it. It takes a `cooperate` and
190
+ never calls `placed()`.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agentshouse/app-bridge",
3
- "version": "0.1.0-c3ebb08f5de71",
4
- "description": "Types of the agents.house App bridge House hands every App: navigation, the tab title and icon, ceremonies, installation, notifications and the icon badge, status, Site image reads, App release code, App and Site screenshot reads, App messages and the Chat, with an accessor and an in-page test host.",
3
+ "version": "0.1.0-c3ee7fcd01608",
4
+ "description": "Types of the agents.house App bridge House hands every App: navigation, the tab title and icon, ceremonies, notifications, status, App release code, App and Site screenshot reads, App messages and the Chat, with an accessor and an in-page test host.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,