@owlmeans/route 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
@@ -77,10 +77,9 @@ enum RouteProtocols { WEB = 'http', SOCKET = 'ws' }
77
77
  <!-- owlmeans:agent-guidance:start -->
78
78
  ## Agent guidance
79
79
 
80
- This package ships embedded Claude Code skills and GitHub Copilot instructions under
81
- `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
82
- agent-skills installer to place them into your project's native locations
83
- (`.claude/skills/` and `.github/instructions/`):
80
+ This package ships embedded agent skills under `agent-meta/`. After installing your
81
+ `@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
82
+ your project's skill store (`.agents/skills/`):
84
83
 
85
84
  ```sh
86
85
  npx @owlmeans/agent-skills
@@ -1,8 +1,8 @@
1
1
  {
2
- "schemaVersion": 1,
2
+ "schemaVersion": 2,
3
3
  "package": "@owlmeans/route",
4
- "version": "0.1.15",
5
- "generatedAt": "2026-08-07T17:06:32.910Z",
4
+ "version": "0.1.16",
5
+ "generatedAt": "2026-08-14T10:14:48.857Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -10,14 +10,7 @@
10
10
  "name": "route",
11
11
  "category": "package-specific",
12
12
  "file": "skills/route/SKILL.md",
13
- "canonicalPath": ".claude/skills/route/SKILL.md"
14
- },
15
- {
16
- "kind": "instruction",
17
- "name": "route",
18
- "category": "package-specific",
19
- "file": "instructions/route.instructions.md",
20
- "canonicalPath": ".github/instructions/route.instructions.md"
13
+ "canonicalPath": ".agents/skills/route/SKILL.md"
21
14
  }
22
15
  ]
23
16
  }
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/route
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/route": "^0.1.15"` in `dependencies`
11
+ **Install:** `"@owlmeans/route": "^0.1.16"` in `dependencies`
12
12
 
13
13
  ## Key Exports
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/route",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@owlmeans/context": "^0.1.15"
31
+ "@owlmeans/context": "^0.1.16"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@owlmeans/dep-config": "workspace:*",
@@ -1,41 +0,0 @@
1
- ---
2
- description: "How to use @owlmeans/route — route() helper for declaring URL paths, frontend() marker for React routes, RouteMethod enum. Use when defining a module's URL path."
3
- applyTo: "**/*.ts, **/*.tsx"
4
- ---
5
- <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
-
7
- # @owlmeans/route
8
-
9
- **Layer:** Core
10
- **Install:** `"@owlmeans/route": "^0.1.15"` in `dependencies`
11
-
12
- ## Key Exports
13
-
14
- | Export | Description |
15
- |--------|-------------|
16
- | `route(alias, path, options?)` | Define a route — path relative to `parent` |
17
- | `frontend(options?)` | Mark a route as a React page |
18
- | `RouteMethod` | enum: GET, POST, PUT, DELETE, PATCH |
19
- | `Route` types | Resolved route shape |
20
- | Constants | Default route aliases |
21
-
22
- ## Subpath Exports
23
-
24
- - `./utils` — path manipulation helpers
25
-
26
- ## Usage
27
-
28
- ```typescript
29
- import { route, frontend, RouteMethod } from '@owlmeans/route'
30
-
31
- route(manager.back.project.create, '/create', {
32
- parent: manager.back.project.base,
33
- method: RouteMethod.POST,
34
- })
35
-
36
- route(HOME, '/', frontend({ default: true, parent: BASE }))
37
- ```
38
-
39
- ## Depends On
40
-
41
- - `@owlmeans/error`, `@owlmeans/i18n`