@owlmeans/client-entrypoint 0.1.15 → 0.1.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
|
@@ -79,10 +79,9 @@ Extracts only the keys present in the AJV schema from `obj`.
|
|
|
79
79
|
<!-- owlmeans:agent-guidance:start -->
|
|
80
80
|
## Agent guidance
|
|
81
81
|
|
|
82
|
-
This package ships embedded
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
82
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
83
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
84
|
+
your project's skill store (`.agents/skills/`):
|
|
86
85
|
|
|
87
86
|
```sh
|
|
88
87
|
npx @owlmeans/agent-skills
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/client-entrypoint",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.848Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "client-entrypoint",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/client-entrypoint/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "client-entrypoint",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/client-entrypoint.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/client-entrypoint.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/client-entrypoint/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/client-entrypoint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@owlmeans/api": "^0.1.
|
|
32
|
-
"@owlmeans/client-config": "^0.1.
|
|
33
|
-
"@owlmeans/client-context": "^0.1.
|
|
34
|
-
"@owlmeans/client-route": "^0.1.
|
|
35
|
-
"@owlmeans/config": "^0.1.
|
|
36
|
-
"@owlmeans/context": "^0.1.
|
|
37
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
38
|
-
"@owlmeans/error": "^0.1.
|
|
39
|
-
"@owlmeans/route": "^0.1.
|
|
31
|
+
"@owlmeans/api": "^0.1.16",
|
|
32
|
+
"@owlmeans/client-config": "^0.1.16",
|
|
33
|
+
"@owlmeans/client-context": "^0.1.16",
|
|
34
|
+
"@owlmeans/client-route": "^0.1.16",
|
|
35
|
+
"@owlmeans/config": "^0.1.16",
|
|
36
|
+
"@owlmeans/context": "^0.1.16",
|
|
37
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
38
|
+
"@owlmeans/error": "^0.1.16",
|
|
39
|
+
"@owlmeans/route": "^0.1.16",
|
|
40
40
|
"ajv-formats": "^3.0.1",
|
|
41
41
|
"qs": "^6.13.0"
|
|
42
42
|
},
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/client-entrypoint — client-side entrypoint helpers extending @owlmeans/entrypoint with React component attachment and call helpers. Also covers the deprecated @owlmeans/client-module reexport shim."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/client-entrypoint
|
|
8
|
-
|
|
9
|
-
**Layer:** Client
|
|
10
|
-
**Install:** `"@owlmeans/client-entrypoint": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `ClientEntrypoint<T>` | Client entrypoint interface |
|
|
17
|
-
| `EntrypointCall` / `EntrypointFilter` | Typed call and validation helpers |
|
|
18
|
-
| Entrypoint helpers | Build client entrypoints; resolve callable references |
|
|
19
|
-
|
|
20
|
-
## Subpath Exports
|
|
21
|
-
|
|
22
|
-
- `./utils`
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import type { ClientEntrypoint } from '@owlmeans/client-entrypoint'
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## URL Generation via Entrypoint Call
|
|
31
|
-
|
|
32
|
-
Entrypoints with a `handler` (React component) use `urlCall` internally — calling `.call()` returns a URL string, not an API result. Use `{ full: true }` to get a fully-qualified URL with protocol and host via `makeSecurityHelper`:
|
|
33
|
-
|
|
34
|
-
```typescript
|
|
35
|
-
import type { ClientEntrypoint } from '@owlmeans/client-entrypoint'
|
|
36
|
-
import { HOME } from '@owlmeans/context'
|
|
37
|
-
|
|
38
|
-
// Get the full URL for the HOME entrypoint
|
|
39
|
-
const [url] = await context.entrypoint<ClientEntrypoint<string>>(HOME).call({ full: true }) ?? []
|
|
40
|
-
|
|
41
|
-
// With route params
|
|
42
|
-
const [authUrl] = await context.entrypoint<ClientEntrypoint<string>>(CAUTHEN_AUTHEN_TYPED).call({
|
|
43
|
-
full: true, params: { type: 'google' }
|
|
44
|
-
}) ?? []
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
This is the preferred pattern for building redirect URIs, OAuth callback URLs, and navigation targets instead of manual `window.location` concatenation.
|
|
48
|
-
|
|
49
|
-
## Depends On
|
|
50
|
-
|
|
51
|
-
- `@owlmeans/entrypoint`, `@owlmeans/client-route`, `@owlmeans/client-context`
|