@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 +2 -2
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/api-config-client/SKILL.md +2 -2
- package/build/entrypoints.d.ts +2 -1
- package/build/entrypoints.d.ts.map +1 -1
- package/build/entrypoints.js +4 -4
- package/build/entrypoints.js.map +1 -1
- package/package.json +5 -5
- package/src/entrypoints.ts +4 -5
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
|
-
-
|
|
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.
|
|
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
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/api-config-client",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
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.
|
|
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`
|
|
21
|
+
| `entrypoints` | The `API_CONFIG` protocol bound for client use, so the middleware can call it |
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
package/build/entrypoints.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
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":"
|
|
1
|
+
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,uEAAuE;AACvE,eAAO,MAAM,WAAW,2MAAoB,CAAA"}
|
package/build/entrypoints.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export const entrypoints =
|
|
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
|
package/build/entrypoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
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.
|
|
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.
|
|
25
|
-
"@owlmeans/client-context": "^0.1.18-rc.
|
|
26
|
-
"@owlmeans/client-entrypoint": "^0.1.18-rc.
|
|
27
|
-
"@owlmeans/context": "^0.1.18-rc.
|
|
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:*",
|
package/src/entrypoints.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { advertise } from '@owlmeans/api-config'
|
|
3
|
+
import { bind } from '@owlmeans/client-entrypoint'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export const entrypoints = config
|
|
5
|
+
/** The browser-local binding of the shared runtime-config protocol. */
|
|
6
|
+
export const entrypoints = [bind(advertise)]
|