@owlmeans/state 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
@@ -84,10 +84,9 @@ const DEFAULT_ID = '_default' // conventional ID for single-item resources
84
84
  <!-- owlmeans:agent-guidance:start -->
85
85
  ## Agent guidance
86
86
 
87
- This package ships embedded Claude Code skills and GitHub Copilot instructions under
88
- `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
89
- agent-skills installer to place them into your project's native locations
90
- (`.claude/skills/` and `.github/instructions/`):
87
+ This package ships embedded agent skills under `agent-meta/`. After installing your
88
+ `@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
89
+ your project's skill store (`.agents/skills/`):
91
90
 
92
91
  ```sh
93
92
  npx @owlmeans/agent-skills
@@ -1,8 +1,8 @@
1
1
  {
2
- "schemaVersion": 1,
2
+ "schemaVersion": 2,
3
3
  "package": "@owlmeans/state",
4
- "version": "0.1.15",
5
- "generatedAt": "2026-08-07T17:06:32.901Z",
4
+ "version": "0.1.16",
5
+ "generatedAt": "2026-08-14T10:14:48.852Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -10,14 +10,7 @@
10
10
  "name": "state",
11
11
  "category": "package-specific",
12
12
  "file": "skills/state/SKILL.md",
13
- "canonicalPath": ".claude/skills/state/SKILL.md"
14
- },
15
- {
16
- "kind": "instruction",
17
- "name": "state",
18
- "category": "package-specific",
19
- "file": "instructions/state.instructions.md",
20
- "canonicalPath": ".github/instructions/state.instructions.md"
13
+ "canonicalPath": ".agents/skills/state/SKILL.md"
21
14
  }
22
15
  ]
23
16
  }
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/state
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/state": "^0.1.15"` in `dependencies`
11
+ **Install:** `"@owlmeans/state": "^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/state",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,8 +21,8 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/context": "^0.1.15",
25
- "@owlmeans/resource": "^0.1.15"
24
+ "@owlmeans/context": "^0.1.16",
25
+ "@owlmeans/resource": "^0.1.16"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@owlmeans/dep-config": "workspace:*",
@@ -1,33 +0,0 @@
1
- ---
2
- description: "How to use @owlmeans/state — appendStateResource() to register a state resource on a context, then ctx.getStateResource(alias) to read/write typed application state."
3
- applyTo: "**/*.ts, **/*.tsx"
4
- ---
5
- <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
-
7
- # @owlmeans/state
8
-
9
- **Layer:** Core
10
- **Install:** `"@owlmeans/state": "^0.1.15"` in `dependencies`
11
-
12
- ## Key Exports
13
-
14
- | Export | Description |
15
- |--------|-------------|
16
- | `appendStateResource<C, T>(context, alias)` | Register a state resource on the context |
17
- | `StateResource<T>` types | Typed state container interface |
18
- | Errors | Typed state errors |
19
- | Constants | Default state aliases |
20
-
21
- ## Usage
22
-
23
- ```typescript
24
- import { appendStateResource } from '@owlmeans/state'
25
-
26
- export const VIB_PROJECT_STATE = 'vib-project-state'
27
- appendStateResource<C, T>(context, VIB_PROJECT_STATE)
28
- context.projectStore = () => context.getStateResource(VIB_PROJECT_STATE)
29
- ```
30
-
31
- ## Depends On
32
-
33
- - `@owlmeans/resource`, `@owlmeans/context`, `@owlmeans/error`, `@owlmeans/i18n`