@owlmeans/api-config-client 0.1.18-rc.15 → 0.1.18-rc.16

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
@@ -5,7 +5,7 @@ Client-side middleware that fetches server config from `GET /assets/config.json`
5
5
  ## Overview
6
6
 
7
7
  - `apiConfigMiddleware` — context middleware that calls the config endpoint on startup
8
- - Elevates `@owlmeans/api-config` entrypoints into the client entrypoint system
8
+ - Binds `@owlmeans/api-config` protocols into the client entrypoint system
9
9
  - Merges the server `ApiConfig` into the client's `CommonConfig` at initialization time
10
10
 
11
11
  ## Installation
@@ -45,7 +45,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
45
45
  your project's skill store (`.agents/skills/`):
46
46
 
47
47
  ```sh
48
- npx @owlmeans/agent-skills@^0.1.18-rc.14
48
+ npx @owlmeans/agent-skills@^0.1.18-rc.15
49
49
  ```
50
50
 
51
51
  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/api-config-client",
4
- "version": "0.1.18-rc.15",
5
- "generatedAt": "2026-09-10T23:12:07.513Z",
4
+ "version": "0.1.18-rc.16",
5
+ "generatedAt": "2026-09-12T08:39:52.729Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/api-config-client
9
9
 
10
10
  **Layer:** Client
11
- **Install:** `"@owlmeans/api-config-client": "^0.1.18-rc.15"` in `dependencies`
11
+ **Install:** `"@owlmeans/api-config-client": "^0.1.18-rc.16"` in `dependencies`
12
12
 
13
13
  Consumes the declaration shared by `@owlmeans/api-config` and answered by
14
14
  `@owlmeans/api-config-server`.
@@ -18,7 +18,7 @@ Consumes the declaration shared by `@owlmeans/api-config` and answered by
18
18
  | Export | Description |
19
19
  |--------|-------------|
20
20
  | `apiConfigMiddleware` | Context middleware, `Loading` stage — fetches the advertised config and merges it into `context.cfg` |
21
- | `entrypoints` | The `API_CONFIG` declaration elevated for client use, so the middleware can call it |
21
+ | `entrypoints` | The `API_CONFIG` protocol bound for client use, so the middleware can call it |
22
22
 
23
23
  ## Usage
24
24
 
@@ -1,2 +1,3 @@
1
- export declare const entrypoints: import("@owlmeans/entrypoint").CommonEntrypoint[];
1
+ /** The browser-local binding of the shared runtime-config protocol. */
2
+ export declare const entrypoints: import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>>[];
2
3
  //# sourceMappingURL=entrypoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,mDAAS,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,uEAAuE;AACvE,eAAO,MAAM,WAAW,2MAAoB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { entrypoints as config, API_CONFIG } from '@owlmeans/api-config';
2
- import { elevate } from '@owlmeans/client-entrypoint';
3
- elevate(config, API_CONFIG);
4
- export const entrypoints = config;
1
+ import { advertise } from '@owlmeans/api-config';
2
+ import { bind } from '@owlmeans/client-entrypoint';
3
+ /** The browser-local binding of the shared runtime-config protocol. */
4
+ export const entrypoints = [bind(advertise)];
5
5
  //# sourceMappingURL=entrypoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAErD,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAA"}
1
+ {"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAElD,uEAAuE;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/api-config-client",
3
- "version": "0.1.18-rc.15",
3
+ "version": "0.1.18-rc.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,10 +21,10 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/api-config": "^0.1.18-rc.14",
25
- "@owlmeans/client-context": "^0.1.18-rc.15",
26
- "@owlmeans/client-entrypoint": "^0.1.18-rc.15",
27
- "@owlmeans/context": "^0.1.18-rc.10"
24
+ "@owlmeans/api-config": "^0.1.18-rc.15",
25
+ "@owlmeans/client-context": "^0.1.18-rc.16",
26
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.16",
27
+ "@owlmeans/context": "^0.1.18-rc.11"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@owlmeans/dep-config": "workspace:*",
@@ -1,7 +1,6 @@
1
1
 
2
- import { entrypoints as config, API_CONFIG } from '@owlmeans/api-config'
3
- import { elevate } from '@owlmeans/client-entrypoint'
2
+ import { advertise } from '@owlmeans/api-config'
3
+ import { bind } from '@owlmeans/client-entrypoint'
4
4
 
5
- elevate(config, API_CONFIG)
6
-
7
- export const entrypoints = config
5
+ /** The browser-local binding of the shared runtime-config protocol. */
6
+ export const entrypoints = [bind(advertise)]