@owlmeans/api-config-client 0.1.7 → 0.1.8
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
|
@@ -36,3 +36,20 @@ A context initialization middleware. Calls `API_CONFIG` module, receives `ApiCon
|
|
|
36
36
|
|
|
37
37
|
- [`@owlmeans/api-config`](../api-config) — `API_CONFIG` alias and `ApiConfig` type
|
|
38
38
|
- [`@owlmeans/api-config-server`](../api-config-server) — server that serves the config endpoint
|
|
39
|
+
|
|
40
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
41
|
+
## Agent guidance
|
|
42
|
+
|
|
43
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
44
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
45
|
+
agent-skills installer to place them into your project's native locations
|
|
46
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
npx @owlmeans/agent-skills
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
53
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
54
|
+
open a PR against the source monorepo.
|
|
55
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/api-config-client — client-side middleware and modules for fetching the API config served by api-config-server."
|
|
3
|
+
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/api-config-client
|
|
8
|
+
|
|
9
|
+
**Layer:** Client
|
|
10
|
+
**Install:** `"@owlmeans/api-config-client": "^0.1.8"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| `apiConfigMiddleware` | Middleware to fetch remote API config at startup |
|
|
17
|
+
| `modules` | Client api-config module declarations |
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { modules as apiConfigClientModules } from '@owlmeans/api-config-client'
|
|
23
|
+
context.registerEntrypoints([...apiConfigClientModules, ...appModules])
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Depends On
|
|
27
|
+
|
|
28
|
+
- `@owlmeans/api-config`, `@owlmeans/client-entrypoint`, `@owlmeans/client-context`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/api-config-client",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"generatedAt": "2026-06-11T16:30:27.172Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "api-config-client",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/api-config-client/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/api-config-client/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "api-config-client",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/api-config-client.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/api-config-client.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-config-client
|
|
3
|
+
description: How to use @owlmeans/api-config-client — client-side middleware and modules for fetching the API config served by api-config-server. Auto-invoked when wiring runtime API config into a client app.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/api-config-client
|
|
9
|
+
|
|
10
|
+
**Layer:** Client
|
|
11
|
+
**Install:** `"@owlmeans/api-config-client": "^0.1.8"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| `apiConfigMiddleware` | Middleware to fetch and apply remote API config at startup |
|
|
18
|
+
| `modules` | Client-side api-config module declarations |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { modules as apiConfigClientModules } from '@owlmeans/api-config-client'
|
|
24
|
+
context.registerEntrypoints([...apiConfigClientModules, ...appModules])
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Depends On
|
|
28
|
+
|
|
29
|
+
- `@owlmeans/api-config`, `@owlmeans/client-entrypoint`, `@owlmeans/client-context`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/api-config-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
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.
|
|
25
|
-
"@owlmeans/client-context": "^0.1.
|
|
26
|
-
"@owlmeans/client-entrypoint": "^0.1.
|
|
27
|
-
"@owlmeans/context": "^0.1.
|
|
24
|
+
"@owlmeans/api-config": "^0.1.8",
|
|
25
|
+
"@owlmeans/client-context": "^0.1.8",
|
|
26
|
+
"@owlmeans/client-entrypoint": "^0.1.8",
|
|
27
|
+
"@owlmeans/context": "^0.1.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@owlmeans/dep-config": "workspace:*",
|