@owlmeans/flow 0.1.16-rc.0 → 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
|
@@ -71,10 +71,9 @@ Config record type key for registering flows in the application config.
|
|
|
71
71
|
<!-- owlmeans:agent-guidance:start -->
|
|
72
72
|
## Agent guidance
|
|
73
73
|
|
|
74
|
-
This package ships embedded
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
74
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
75
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
76
|
+
your project's skill store (`.agents/skills/`):
|
|
78
77
|
|
|
79
78
|
```sh
|
|
80
79
|
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/flow",
|
|
4
|
-
"version": "0.1.16
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.859Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "flow",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/flow/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "flow",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/flow.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/flow.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/flow/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/flow",
|
|
3
|
-
"version": "0.1.16
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@owlmeans/auth": "^0.1.16
|
|
25
|
-
"@owlmeans/config": "^0.1.16
|
|
26
|
-
"@owlmeans/error": "^0.1.16
|
|
27
|
-
"@owlmeans/i18n": "^0.1.16
|
|
28
|
-
"@owlmeans/resource": "^0.1.16
|
|
24
|
+
"@owlmeans/auth": "^0.1.16",
|
|
25
|
+
"@owlmeans/config": "^0.1.16",
|
|
26
|
+
"@owlmeans/error": "^0.1.16",
|
|
27
|
+
"@owlmeans/i18n": "^0.1.16",
|
|
28
|
+
"@owlmeans/resource": "^0.1.16",
|
|
29
29
|
"@scure/base": "^1.1.9"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/flow — state-machine / workflow execution framework with typed state, transitions, and flow definitions. Use when implementing multi-step workflows."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/flow
|
|
8
|
-
|
|
9
|
-
**Layer:** Core
|
|
10
|
-
**Install:** `"@owlmeans/flow": "^0.1.16-rc.0"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `Flow` types | Flow definition shape (states, transitions, payload) |
|
|
17
|
-
| `FlowState` | State management primitives |
|
|
18
|
-
| Errors | Flow execution errors |
|
|
19
|
-
| Constants | Built-in state names, transition types |
|
|
20
|
-
| Helpers | Flow construction and validation |
|
|
21
|
-
| `flows` submodule | Built-in flow definitions |
|
|
22
|
-
| i18n | Translatable error messages |
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { Flow } from '@owlmeans/flow'
|
|
28
|
-
|
|
29
|
-
const onboardingFlow: Flow = {
|
|
30
|
-
alias: 'onboarding',
|
|
31
|
-
initial: 'welcome',
|
|
32
|
-
states: {
|
|
33
|
-
welcome: { on: { NEXT: 'profile' } },
|
|
34
|
-
profile: { on: { NEXT: 'done', BACK: 'welcome' } },
|
|
35
|
-
done: { type: 'final' }
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Depends On
|
|
41
|
-
|
|
42
|
-
- `@owlmeans/error`, `@owlmeans/i18n`
|