@stateflowx/runtime 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +46 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -33,6 +33,52 @@ const runtime = createRuntime({
33
33
 
34
34
  ```
35
35
 
36
+ ## Demo Application
37
+
38
+ Example Angular client implementation:
39
+
40
+ https://github.com/bws9000/stateflowx-client-demo
41
+
42
+ ## Example Runtime Configuration
43
+
44
+ ```ts
45
+ const config = defineConfig({
46
+ protocol: jsonRpc(),
47
+
48
+ transport: websocket({
49
+ url: 'ws://localhost:3000',
50
+ }),
51
+
52
+ providers: [
53
+ gemini({
54
+ priority: 1,
55
+ }),
56
+
57
+ mockProvider({
58
+ priority: 2,
59
+ }),
60
+ ],
61
+
62
+ services: [
63
+ {
64
+ name: 'weather',
65
+ type: 'http',
66
+ method: 'GET',
67
+ url: 'https://api.open-meteo.com/v1/forecast?...',
68
+ },
69
+ ],
70
+
71
+ workflows: [
72
+ {
73
+ route: 'weather.execute',
74
+ service: 'weather',
75
+ provider: 'default',
76
+ prompt: 'Format weather data into structured JSON',
77
+ },
78
+ ],
79
+ });
80
+ ```
81
+
36
82
  ## Current Status
37
83
 
38
84
  StateFlowX Runtime is currently experimental and under active development.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stateflowx/runtime",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Realtime orchestration runtime framework for AI workflows and distributed systems.",
5
5
  "author": "Burt Snyder <snyder.burt@gmail.com>",
6
6
  "repository": {