@owlmeans/client-entrypoint 0.1.18-rc.37 → 0.1.18-rc.38

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 CHANGED
@@ -10,7 +10,7 @@ re-exports of `@owlmeans/web-client` or `@owlmeans/web-panel`. Protocols are dec
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- bun add @owlmeans/client-entrypoint@^0.1.18-rc.37
13
+ bun add @owlmeans/client-entrypoint@^0.1.18-rc.38
14
14
  ```
15
15
 
16
16
  ## Concepts
@@ -204,7 +204,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
204
204
  your project's skill store (`.agents/skills/`):
205
205
 
206
206
  ```sh
207
- npx @owlmeans/agent-skills@^0.1.18-rc.38
207
+ npx @owlmeans/agent-skills@^0.1.18-rc.39
208
208
  ```
209
209
 
210
210
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/client-entrypoint",
4
- "version": "0.1.18-rc.37",
5
- "generatedAt": "2026-09-23T19:57:40.676Z",
4
+ "version": "0.1.18-rc.38",
5
+ "generatedAt": "2026-09-24T14:00:35.022Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -7,7 +7,7 @@ user-invocable: false
7
7
 
8
8
  # @owlmeans/client-entrypoint
9
9
 
10
- **Install:** `bun add @owlmeans/client-entrypoint@^0.1.18-rc.37`
10
+ **Install:** `bun add @owlmeans/client-entrypoint@^0.1.18-rc.38`
11
11
 
12
12
  Bind a declaration from `@owlmeans/entrypoint`; never construct or replace a contextual
13
13
  entrypoint by alias.
@@ -29,6 +29,15 @@ types. `bind(protocol)` is appropriate where one protocol must use a distinct cl
29
29
  `bindScreen` is for a frontend route and renderer; screens are addressed by `url` and reject
30
30
  `call`/`invoke`.
31
31
 
32
+ `bindScreen` takes a `lazyHandler(...)` result (`@owlmeans/client`) directly, the same as
33
+ `handler(Component)`: both return a `RefedEntrypointHandler`, the lazy one also carrying
34
+ `.preload()`, so no different wiring is needed. Create it at module scope, never in a render.
35
+
36
+ ```ts
37
+ const reports = lazyHandler(() => import('./reports.js'), 'Reports', { fallback: <Spinner /> })
38
+ context.registerEntrypoint(bindScreen(projectProtocols.reports, reports))
39
+ ```
40
+
32
41
  `context.entrypoint(protocol)` derives `ClientProtocolEntrypoint<Protocol>` from the protocol. Do
33
42
  not add an explicit result generic. `entrypointRef<Request, Response>(alias)` is reserved for a
34
43
  dynamic remote declaration that cannot be imported.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/client-entrypoint",
3
- "version": "0.1.18-rc.37",
3
+ "version": "0.1.18-rc.38",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -28,14 +28,14 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@owlmeans/api": "^0.1.18-rc.37",
32
- "@owlmeans/client-config": "^0.1.18-rc.37",
33
- "@owlmeans/client-context": "^0.1.18-rc.38",
34
- "@owlmeans/client-route": "^0.1.18-rc.38",
35
- "@owlmeans/config": "^0.1.18-rc.37",
31
+ "@owlmeans/api": "^0.1.18-rc.38",
32
+ "@owlmeans/client-config": "^0.1.18-rc.38",
33
+ "@owlmeans/client-context": "^0.1.18-rc.39",
34
+ "@owlmeans/client-route": "^0.1.18-rc.39",
35
+ "@owlmeans/config": "^0.1.18-rc.38",
36
36
  "@owlmeans/context": "^0.1.18-rc.32",
37
- "@owlmeans/entrypoint": "^0.1.18-rc.36",
38
- "@owlmeans/error": "^0.1.18-rc.35",
37
+ "@owlmeans/entrypoint": "^0.1.18-rc.37",
38
+ "@owlmeans/error": "^0.1.18-rc.36",
39
39
  "@owlmeans/route": "^0.1.18-rc.33",
40
40
  "ajv-formats": "^3.0.1",
41
41
  "qs": "^6.13.0"