@owlmeans/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
|
@@ -87,3 +87,20 @@ Simple boolean toggle hook.
|
|
|
87
87
|
- [`@owlmeans/state`](../state) — `StateModel`, `StateResource` used by `useStoreModel`
|
|
88
88
|
- [`@owlmeans/client-module`](../client-module) — `ClientModule` used by `useNavigate`
|
|
89
89
|
- [`@owlmeans/client-context`](../client-context) — `ClientContext` returned by `useContext`
|
|
90
|
+
|
|
91
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
92
|
+
## Agent guidance
|
|
93
|
+
|
|
94
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
95
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
96
|
+
agent-skills installer to place them into your project's native locations
|
|
97
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
npx @owlmeans/agent-skills
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
104
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
105
|
+
open a PR against the source monorepo.
|
|
106
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/client — platform-agnostic React client framework (works with web and React Native) providing context, components, services, navigate, store."
|
|
3
|
+
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/client
|
|
8
|
+
|
|
9
|
+
**Layer:** Client
|
|
10
|
+
**Install:** `"@owlmeans/client": "^0.1.8"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| `App` / context helpers | Mount the React app, provide context |
|
|
17
|
+
| `navigate` helpers | Programmatic navigation |
|
|
18
|
+
| `module` helpers | Resolve modules by alias |
|
|
19
|
+
| `store` helpers | Client store integration |
|
|
20
|
+
| `components` | Cross-platform components |
|
|
21
|
+
| Errors | Client-side typed errors |
|
|
22
|
+
| Constants | Default aliases |
|
|
23
|
+
|
|
24
|
+
## Subpath Exports
|
|
25
|
+
|
|
26
|
+
- `./utils`
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
import { navigate } from '@owlmeans/client'
|
|
32
|
+
const navigateTo = navigate(context)
|
|
33
|
+
navigateTo('/projects')
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For browser apps prefer `@owlmeans/web-client`.
|
|
37
|
+
|
|
38
|
+
## Depends On
|
|
39
|
+
|
|
40
|
+
- `@owlmeans/client-context`, `@owlmeans/client-entrypoint`, `@owlmeans/client-route`, `@owlmeans/router`, `@owlmeans/auth-common`, `react`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/client",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"generatedAt": "2026-06-11T16:30:27.167Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "client",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/client/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/client/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "client",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/client.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/client.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: client
|
|
3
|
+
description: How to use @owlmeans/client — platform-agnostic React client framework (works with web and React Native) providing context, components, services, navigate, store. Auto-invoked when importing client framework primitives.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/client
|
|
9
|
+
|
|
10
|
+
**Layer:** Client
|
|
11
|
+
**Install:** `"@owlmeans/client": "^0.1.8"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| `App` / context helpers | Mount the React app, provide context |
|
|
18
|
+
| `navigate` helpers | Programmatic navigation via the router service |
|
|
19
|
+
| `module` helpers | Resolve modules by alias |
|
|
20
|
+
| `store` helpers | Client store integration |
|
|
21
|
+
| `components` | Cross-platform components (e.g. error boundaries) |
|
|
22
|
+
| `value`, `debug` | Render-time helpers |
|
|
23
|
+
| Errors | Client-side typed errors |
|
|
24
|
+
| Constants | Default aliases |
|
|
25
|
+
|
|
26
|
+
## Subpath Exports
|
|
27
|
+
|
|
28
|
+
- `./utils` — generic client utilities
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
This is the platform-agnostic substrate that `@owlmeans/web-client` (browser) and the native equivalent build on. Most apps import from `@owlmeans/web-client` directly; use `@owlmeans/client` only for cross-platform code.
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { navigate } from '@owlmeans/client'
|
|
36
|
+
const navigateTo = navigate(context)
|
|
37
|
+
navigateTo('/projects')
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Depends On
|
|
41
|
+
|
|
42
|
+
- `@owlmeans/client-context`, `@owlmeans/client-entrypoint`, `@owlmeans/client-route`
|
|
43
|
+
- `@owlmeans/router`, `@owlmeans/auth-common`
|
|
44
|
+
- `react` (peer)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@owlmeans/auth": "^0.1.
|
|
32
|
-
"@owlmeans/client-context": "^0.1.
|
|
33
|
-
"@owlmeans/client-entrypoint": "^0.1.
|
|
34
|
-
"@owlmeans/client-resource": "^0.1.
|
|
35
|
-
"@owlmeans/config": "^0.1.
|
|
36
|
-
"@owlmeans/context": "^0.1.
|
|
37
|
-
"@owlmeans/error": "^0.1.
|
|
38
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
39
|
-
"@owlmeans/resource": "^0.1.
|
|
40
|
-
"@owlmeans/router": "^0.1.
|
|
41
|
-
"@owlmeans/state": "^0.1.
|
|
31
|
+
"@owlmeans/auth": "^0.1.8",
|
|
32
|
+
"@owlmeans/client-context": "^0.1.8",
|
|
33
|
+
"@owlmeans/client-entrypoint": "^0.1.8",
|
|
34
|
+
"@owlmeans/client-resource": "^0.1.8",
|
|
35
|
+
"@owlmeans/config": "^0.1.8",
|
|
36
|
+
"@owlmeans/context": "^0.1.8",
|
|
37
|
+
"@owlmeans/error": "^0.1.8",
|
|
38
|
+
"@owlmeans/entrypoint": "^0.1.8",
|
|
39
|
+
"@owlmeans/resource": "^0.1.8",
|
|
40
|
+
"@owlmeans/router": "^0.1.8",
|
|
41
|
+
"@owlmeans/state": "^0.1.8"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@remix-run/router": "*",
|