@owlmeans/server-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
|
@@ -70,10 +70,9 @@ A handler factory: `(ref: { ref?: { ctx?: Context } }) => EntrypointHandler`.
|
|
|
70
70
|
<!-- owlmeans:agent-guidance:start -->
|
|
71
71
|
## Agent guidance
|
|
72
72
|
|
|
73
|
-
This package ships embedded
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
73
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
74
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
75
|
+
your project's skill store (`.agents/skills/`):
|
|
77
76
|
|
|
78
77
|
```sh
|
|
79
78
|
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/server-entrypoint",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.854Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "server-entrypoint",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/server-entrypoint/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "server-entrypoint",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/server-entrypoint.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/server-entrypoint.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/server-entrypoint/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/server-entrypoint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.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/context": "^0.1.
|
|
25
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
26
|
-
"@owlmeans/route": "^0.1.
|
|
27
|
-
"@owlmeans/server-route": "^0.1.
|
|
24
|
+
"@owlmeans/context": "^0.1.16",
|
|
25
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
26
|
+
"@owlmeans/route": "^0.1.16",
|
|
27
|
+
"@owlmeans/server-route": "^0.1.16"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@owlmeans/dep-config": "workspace:*",
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/server-entrypoint — server-side entrypoint helpers extending @owlmeans/entrypoint with handler attachment and request lifecycle hooks. Also covers the deprecated @owlmeans/server-module reexport shim."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/server-entrypoint
|
|
8
|
-
|
|
9
|
-
**Layer:** Server
|
|
10
|
-
**Install:** `"@owlmeans/server-entrypoint": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `ServerEntrypoint` types | Server entrypoint interface |
|
|
17
|
-
| `EntrypointOptions` | Elevation options (handler, fixer, intermediate) |
|
|
18
|
-
| Helpers | Attach handlers, hook lifecycle |
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import type { ServerEntrypoint } from '@owlmeans/server-entrypoint'
|
|
24
|
-
// Most code uses elevate() from @owlmeans/server-app instead
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Cross-Service URL Generation
|
|
28
|
-
|
|
29
|
-
Server entrypoints that need to produce URLs for other services (e.g., OAuth redirect URIs, callback URLs) should use `makeSecurityHelper` from `@owlmeans/config`:
|
|
30
|
-
|
|
31
|
-
```typescript
|
|
32
|
-
import { makeSecurityHelper } from '@owlmeans/config'
|
|
33
|
-
const helper = makeSecurityHelper<Config, Context>(ctx)
|
|
34
|
-
const callbackUrl = helper.makeUrl(route, '/callback')
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Depends On
|
|
38
|
-
|
|
39
|
-
- `@owlmeans/entrypoint`, `@owlmeans/server-route`, `@owlmeans/server-context`
|