@owlmeans/api-config-server 0.1.18-rc.25 → 0.1.18-rc.27
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
|
@@ -6,28 +6,28 @@ Server-side entrypoint that serves safe configuration values at `GET /assets/con
|
|
|
6
6
|
|
|
7
7
|
- Registers the `API_CONFIG` handler that returns non-sensitive config fields to clients
|
|
8
8
|
- Used alongside `@owlmeans/api-config-client` to push runtime config from server to browser
|
|
9
|
-
- Include
|
|
9
|
+
- Include this package's local bindings in your server entrypoint registration
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
bun add @owlmeans/api-config-server@^0.1.18-rc.
|
|
14
|
+
bun add @owlmeans/api-config-server@^0.1.18-rc.26
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
19
19
|
```typescript
|
|
20
|
-
import { entrypoints as
|
|
20
|
+
import { entrypoints as apiConfigBindings } from '@owlmeans/api-config-server'
|
|
21
21
|
|
|
22
|
-
// In your server context setup
|
|
23
|
-
context.registerEntrypoints([...
|
|
22
|
+
// In your server context setup: this is a local binding list, not a shared declaration tree.
|
|
23
|
+
context.registerEntrypoints([...serverBindings, ...apiConfigBindings])
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## API
|
|
27
27
|
|
|
28
28
|
### `entrypoints`
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Local server bindings for the shared `advertise` protocol (`GET /assets/config.json`).
|
|
31
31
|
|
|
32
32
|
## Related Packages
|
|
33
33
|
|
|
@@ -42,7 +42,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
42
42
|
your project's skill store (`.agents/skills/`):
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
45
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.22
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
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-server",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "0.1.18-rc.27",
|
|
5
|
+
"generatedAt": "2026-09-15T12:38:15.176Z",
|
|
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-server
|
|
9
9
|
|
|
10
10
|
**Layer:** Server
|
|
11
|
-
**Install:** `"@owlmeans/api-config-server": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/api-config-server": "^0.1.18-rc.27"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
Answers the declaration shared by `@owlmeans/api-config`; the browser side that consumes it is
|
|
14
14
|
`@owlmeans/api-config-client`.
|
|
@@ -22,8 +22,8 @@ Answers the declaration shared by `@owlmeans/api-config`; the browser side that
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
24
24
|
```typescript
|
|
25
|
-
import { entrypoints as
|
|
26
|
-
export const
|
|
25
|
+
import { entrypoints as apiConfigBindings } from '@owlmeans/api-config-server'
|
|
26
|
+
export const serverBindings = [...apiConfigBindings, ...myServerBindings]
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
An app built on `@owlmeans/server-app` already has it: the `entrypoints` that package exports
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/api-config-server",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.27",
|
|
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/server-api": "^0.1.18-rc.
|
|
26
|
-
"@owlmeans/server-context": "^0.1.18-rc.
|
|
27
|
-
"@owlmeans/server-entrypoint": "^0.1.18-rc.
|
|
24
|
+
"@owlmeans/api-config": "^0.1.18-rc.22",
|
|
25
|
+
"@owlmeans/server-api": "^0.1.18-rc.27",
|
|
26
|
+
"@owlmeans/server-context": "^0.1.18-rc.22",
|
|
27
|
+
"@owlmeans/server-entrypoint": "^0.1.18-rc.21"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@owlmeans/dep-config": "workspace:*",
|