@walkeros/source-demo 4.1.0-next-1778668930820 → 4.1.0
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/CHANGELOG.md +264 -0
- package/README.md +30 -86
- package/dist/walkerOS.json +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# @walkeros/source-demo
|
|
2
|
+
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e155ff8]
|
|
8
|
+
- Updated dependencies [e800974]
|
|
9
|
+
- Updated dependencies [e155ff8]
|
|
10
|
+
- Updated dependencies [1a8f2d7]
|
|
11
|
+
- Updated dependencies [1a8f2d7]
|
|
12
|
+
- Updated dependencies [b276173]
|
|
13
|
+
- Updated dependencies [dd9f5ad]
|
|
14
|
+
- Updated dependencies [c60ef35]
|
|
15
|
+
- Updated dependencies [adeebea]
|
|
16
|
+
- Updated dependencies [13aaeaa]
|
|
17
|
+
- Updated dependencies [e800974]
|
|
18
|
+
- Updated dependencies [adeebea]
|
|
19
|
+
- Updated dependencies [e800974]
|
|
20
|
+
- Updated dependencies [e800974]
|
|
21
|
+
- Updated dependencies [058f7ed]
|
|
22
|
+
- Updated dependencies [28a8ac2]
|
|
23
|
+
- Updated dependencies [fd6076e]
|
|
24
|
+
- @walkeros/core@4.1.0
|
|
25
|
+
|
|
26
|
+
## 4.0.2
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [a6a0ea7]
|
|
31
|
+
- @walkeros/core@4.0.2
|
|
32
|
+
|
|
33
|
+
## 4.0.1
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [381dfe7]
|
|
38
|
+
- Updated dependencies [1524275]
|
|
39
|
+
- Updated dependencies [03d7055]
|
|
40
|
+
- @walkeros/core@4.0.1
|
|
41
|
+
|
|
42
|
+
## 4.0.0
|
|
43
|
+
|
|
44
|
+
### Major Changes
|
|
45
|
+
|
|
46
|
+
- 93ea9c4: Event model v4: breaking changes to the `Event`, `Source`, and
|
|
47
|
+
`Entity` shapes.
|
|
48
|
+
- `event.id` is now a W3C span_id (16 lowercase hex chars), generated by the
|
|
49
|
+
collector. Reference: W3C Trace Context (W3C Recommendation, January 2020).
|
|
50
|
+
- `event.version`, `event.group`, `event.count` are removed.
|
|
51
|
+
- `source.type` is now the source kind (e.g. `browser`, `gtag`, `mcp`, `cli`).
|
|
52
|
+
New `source.platform` holds the runtime (`web` | `server` | `app` | ...).
|
|
53
|
+
- `source.id` and `source.previous_id` are removed.
|
|
54
|
+
- Browser source now sets `source.url` and `source.referrer`.
|
|
55
|
+
- MCP source sets `source.tool` per emission. CLI source sets
|
|
56
|
+
`source.command`.
|
|
57
|
+
- `Entity.nested` and `Entity.context` are now optional. Root `event.nested`
|
|
58
|
+
and `event.context` remain required.
|
|
59
|
+
- Each source self-registers via TypeScript module augmentation of `SourceMap`
|
|
60
|
+
in `@walkeros/core`.
|
|
61
|
+
- App-side coordination (`/workspaces/developer/app`) is a follow-up plan, not
|
|
62
|
+
part of this release. Telemetry from v4 CLI/MCP will not validate against
|
|
63
|
+
the existing app schema until that follow-up ships.
|
|
64
|
+
- `Mapping.Rule.skip` is renamed to `Mapping.Rule.silent`. Customer flow.json
|
|
65
|
+
configs using `skip: true` in mapping rules must rename to `silent: true`.
|
|
66
|
+
Hard cut: no legacy alias, the field is gone.
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Updated dependencies [93ea9c4]
|
|
71
|
+
- Updated dependencies [465775c]
|
|
72
|
+
- Updated dependencies [942a7fe]
|
|
73
|
+
- Updated dependencies [cfc7469]
|
|
74
|
+
- Updated dependencies [8e06b1f]
|
|
75
|
+
- Updated dependencies [3d50dd6]
|
|
76
|
+
- Updated dependencies [1ef33d9]
|
|
77
|
+
- @walkeros/core@4.0.0
|
|
78
|
+
|
|
79
|
+
## 3.4.2
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- @walkeros/core@3.4.2
|
|
84
|
+
|
|
85
|
+
## 3.4.1
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Updated dependencies [12adf24]
|
|
90
|
+
- Updated dependencies [75aa26b]
|
|
91
|
+
- @walkeros/core@3.4.1
|
|
92
|
+
|
|
93
|
+
## 3.4.0
|
|
94
|
+
|
|
95
|
+
### Minor Changes
|
|
96
|
+
|
|
97
|
+
- 724f97e: Migrate every step example in every walkerOS package to the
|
|
98
|
+
standardized `[callable, ...args][]` shape introduced in `@walkeros/core`.
|
|
99
|
+
Every step example's `out` is now an array of effect tuples whose first
|
|
100
|
+
element is the callable's public SDK name (`'gtag'`, `'analytics.track'`,
|
|
101
|
+
`'fbq'`, `'dataLayer.push'`, `'sendServer'`, `'fetch'`, `'trackClient.track'`,
|
|
102
|
+
`'amplitude.track'`, `'fs.writeFile'`, `'producer.send'`, `'client.xadd'`,
|
|
103
|
+
`'client.send'`, `'dataset.table.insert'`, etc.). Source examples use `'elb'`
|
|
104
|
+
as the callable; transformer examples use the reserved `'return'` keyword;
|
|
105
|
+
store examples use store-operation callables (`'get'`, `'set'`). Tests capture
|
|
106
|
+
real calls on each component's spy and assert against `example.out` directly —
|
|
107
|
+
the hardcoded `PACKAGE_CALLS` registry in the app is no longer consulted
|
|
108
|
+
(emptied; plan #3 removes it structurally).
|
|
109
|
+
|
|
110
|
+
### Patch Changes
|
|
111
|
+
|
|
112
|
+
- Updated dependencies [74940cc]
|
|
113
|
+
- Updated dependencies [525f5d9]
|
|
114
|
+
- @walkeros/core@3.4.0
|
|
115
|
+
|
|
116
|
+
## 3.3.1
|
|
117
|
+
|
|
118
|
+
### Patch Changes
|
|
119
|
+
|
|
120
|
+
- @walkeros/core@3.3.1
|
|
121
|
+
|
|
122
|
+
## 3.3.0
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- Updated dependencies [2849acb]
|
|
127
|
+
- Updated dependencies [08c365a]
|
|
128
|
+
- Updated dependencies [08c365a]
|
|
129
|
+
- Updated dependencies [08c365a]
|
|
130
|
+
- Updated dependencies [08c365a]
|
|
131
|
+
- @walkeros/core@3.3.0
|
|
132
|
+
|
|
133
|
+
## 3.2.0
|
|
134
|
+
|
|
135
|
+
### Patch Changes
|
|
136
|
+
|
|
137
|
+
- Updated dependencies [eb865e1]
|
|
138
|
+
- Updated dependencies [c0a53f9]
|
|
139
|
+
- Updated dependencies [f007c9f]
|
|
140
|
+
- Updated dependencies [bf2dc5b]
|
|
141
|
+
- Updated dependencies [da0b640]
|
|
142
|
+
- @walkeros/core@3.2.0
|
|
143
|
+
|
|
144
|
+
## 3.1.1
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- @walkeros/core@3.1.1
|
|
149
|
+
|
|
150
|
+
## 3.1.0
|
|
151
|
+
|
|
152
|
+
### Patch Changes
|
|
153
|
+
|
|
154
|
+
- Updated dependencies [dfc6738]
|
|
155
|
+
- Updated dependencies [966342b]
|
|
156
|
+
- Updated dependencies [bee8ba7]
|
|
157
|
+
- Updated dependencies [966342b]
|
|
158
|
+
- Updated dependencies [df990d4]
|
|
159
|
+
- @walkeros/core@3.1.0
|
|
160
|
+
|
|
161
|
+
## 3.0.2
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- @walkeros/core@3.0.2
|
|
166
|
+
|
|
167
|
+
## 3.0.1
|
|
168
|
+
|
|
169
|
+
### Patch Changes
|
|
170
|
+
|
|
171
|
+
- @walkeros/core@3.0.1
|
|
172
|
+
|
|
173
|
+
## 3.0.0
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- 499e27a: Add sideEffects declarations to all packages for bundler tree-shaking
|
|
178
|
+
support.
|
|
179
|
+
- Updated dependencies [2b259b6]
|
|
180
|
+
- Updated dependencies [2614014]
|
|
181
|
+
- Updated dependencies [6ae0ee3]
|
|
182
|
+
- Updated dependencies [37299a9]
|
|
183
|
+
- Updated dependencies [499e27a]
|
|
184
|
+
- Updated dependencies [0e5eede]
|
|
185
|
+
- Updated dependencies [d11f574]
|
|
186
|
+
- Updated dependencies [d11f574]
|
|
187
|
+
- Updated dependencies [1fe337a]
|
|
188
|
+
- Updated dependencies [5cb84c1]
|
|
189
|
+
- Updated dependencies [23f218a]
|
|
190
|
+
- Updated dependencies [499e27a]
|
|
191
|
+
- Updated dependencies [c83d909]
|
|
192
|
+
- Updated dependencies [b6c8fa8]
|
|
193
|
+
- @walkeros/core@3.0.0
|
|
194
|
+
|
|
195
|
+
## 2.1.0
|
|
196
|
+
|
|
197
|
+
### Minor Changes
|
|
198
|
+
|
|
199
|
+
- 08a60c7: Add walkerOS.json with schemas and step examples for MCP discovery
|
|
200
|
+
|
|
201
|
+
### Patch Changes
|
|
202
|
+
|
|
203
|
+
- Updated dependencies [7fc4cee]
|
|
204
|
+
- Updated dependencies [7fc4cee]
|
|
205
|
+
- Updated dependencies [cb2da05]
|
|
206
|
+
- Updated dependencies [2bbe8c8]
|
|
207
|
+
- Updated dependencies [3eb6416]
|
|
208
|
+
- Updated dependencies [02a7958]
|
|
209
|
+
- Updated dependencies [97df0b2]
|
|
210
|
+
- Updated dependencies [97df0b2]
|
|
211
|
+
- Updated dependencies [026c412]
|
|
212
|
+
- Updated dependencies [7d38d9d]
|
|
213
|
+
- @walkeros/core@2.1.0
|
|
214
|
+
|
|
215
|
+
## 1.0.5
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Updated dependencies [a4cc1ea]
|
|
220
|
+
- @walkeros/core@1.3.0
|
|
221
|
+
|
|
222
|
+
## 1.0.4
|
|
223
|
+
|
|
224
|
+
### Patch Changes
|
|
225
|
+
|
|
226
|
+
- Updated dependencies [7ad6cfb]
|
|
227
|
+
- @walkeros/core@1.2.2
|
|
228
|
+
|
|
229
|
+
## 1.0.3
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- Updated dependencies [6256c12]
|
|
234
|
+
- @walkeros/core@1.2.1
|
|
235
|
+
|
|
236
|
+
## 1.0.2
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- Updated dependencies [f39d9fb]
|
|
241
|
+
- Updated dependencies [888bbdf]
|
|
242
|
+
- @walkeros/core@1.2.0
|
|
243
|
+
|
|
244
|
+
## 1.0.1
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- Updated dependencies [b65b773]
|
|
249
|
+
- Updated dependencies [20eca6e]
|
|
250
|
+
- @walkeros/core@1.1.0
|
|
251
|
+
|
|
252
|
+
## 1.0.0
|
|
253
|
+
|
|
254
|
+
### Major Changes
|
|
255
|
+
|
|
256
|
+
- 67c9e1d: Hello World! walkerOS v1.0.0
|
|
257
|
+
|
|
258
|
+
Open-source event data collection. Collect event data for digital analytics in
|
|
259
|
+
a unified and privacy-centric way.
|
|
260
|
+
|
|
261
|
+
### Patch Changes
|
|
262
|
+
|
|
263
|
+
- Updated dependencies [67c9e1d]
|
|
264
|
+
- @walkeros/core@1.0.0
|
package/README.md
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
<
|
|
1
|
+
<p align="left">
|
|
2
2
|
<a href="https://www.walkeros.io">
|
|
3
|
-
<img alt="
|
|
3
|
+
<img alt="walkerOS" title="walkerOS" src="https://www.walkeros.io/img/walkerOS_logo.svg" width="256px"/>
|
|
4
4
|
</a>
|
|
5
|
-
</
|
|
5
|
+
</p>
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# @walkeros/source-demo
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Generates walkerOS events from a configuration array for testing,
|
|
10
|
+
demonstrations, and examples. Zero external dependencies.
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- Generates walkerOS events from a configuration array
|
|
17
|
-
- Supports delayed event execution for testing scenarios
|
|
18
|
-
- Zero external dependencies - ideal for demos and testing
|
|
19
|
-
- Simple push interface compatible with walkerOS architecture
|
|
12
|
+
[Documentation](https://www.walkeros.io/docs) •
|
|
13
|
+
[NPM Package](https://www.npmjs.com/package/@walkeros/source-demo) •
|
|
14
|
+
[Source Code](https://github.com/elbwalker/walkerOS/tree/main/packages/web/sources/demo)
|
|
20
15
|
|
|
21
16
|
## Installation
|
|
22
17
|
|
|
@@ -24,84 +19,33 @@ testing, demonstrations, and examples.
|
|
|
24
19
|
npm install @walkeros/source-demo
|
|
25
20
|
```
|
|
26
21
|
|
|
27
|
-
## Quick
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{ name: 'product view', data: { id: 'P123' }, delay: 1000 },
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
});
|
|
22
|
+
## Quick start
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"version": 4,
|
|
27
|
+
"flows": {
|
|
28
|
+
"default": {
|
|
29
|
+
"config": { "platform": "web" },
|
|
30
|
+
"sources": {
|
|
31
|
+
"demo": { "package": "@walkeros/source-demo", "config": {} }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
48
36
|
```
|
|
49
37
|
|
|
50
|
-
##
|
|
51
|
-
|
|
52
|
-
| Name | Type | Description | Required |
|
|
53
|
-
| ------ | --------------------- | ------------------------------ | -------- |
|
|
54
|
-
| events | `Array<PartialEvent>` | Array of events to generate | Yes |
|
|
55
|
-
| delay | `number` (per event) | Optional delay in milliseconds | No |
|
|
38
|
+
## Documentation
|
|
56
39
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
Complete example showing the demo source with a destination:
|
|
60
|
-
|
|
61
|
-
```typescript
|
|
62
|
-
import { startFlow } from '@walkeros/collector';
|
|
63
|
-
import { sourceDemo } from '@walkeros/source-demo';
|
|
64
|
-
import { destinationDemo } from '@walkeros/destination-demo';
|
|
65
|
-
|
|
66
|
-
const { collector } = await startFlow({
|
|
67
|
-
sources: {
|
|
68
|
-
demo: {
|
|
69
|
-
code: sourceDemo,
|
|
70
|
-
config: {
|
|
71
|
-
settings: {
|
|
72
|
-
events: [
|
|
73
|
-
{
|
|
74
|
-
name: 'page view',
|
|
75
|
-
data: { title: 'Home Page', path: '/' },
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'product view',
|
|
79
|
-
data: { id: 'P123', name: 'Laptop', price: 999 },
|
|
80
|
-
delay: 1000, // Wait 1 second before firing
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
name: 'order complete',
|
|
84
|
-
data: { id: 'O456', value: 999 },
|
|
85
|
-
delay: 2000, // Wait 2 seconds before firing
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
destinations: {
|
|
93
|
-
demo: destinationDemo,
|
|
94
|
-
},
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
// Events will be generated automatically with specified delays
|
|
98
|
-
```
|
|
40
|
+
Full configuration, mapping, and examples live in the docs:
|
|
41
|
+
**https://www.walkeros.io/docs**
|
|
99
42
|
|
|
100
43
|
## Contribute
|
|
101
44
|
|
|
102
|
-
|
|
103
|
-
[
|
|
104
|
-
|
|
45
|
+
Feel free to contribute by submitting an
|
|
46
|
+
[issue](https://github.com/elbwalker/walkerOS/issues), starting a
|
|
47
|
+
[discussion](https://github.com/elbwalker/walkerOS/discussions), or getting in
|
|
48
|
+
[contact](https://calendly.com/elb-alexander/30min).
|
|
105
49
|
|
|
106
50
|
## License
|
|
107
51
|
|
package/dist/walkerOS.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/source-demo",
|
|
3
3
|
"description": "Demo source for walkerOS - generates events from config",
|
|
4
|
-
"version": "4.1.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"./walkerOS.json": "./dist/walkerOS.json"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
|
-
"dist/**"
|
|
30
|
+
"dist/**",
|
|
31
|
+
"CHANGELOG.md"
|
|
31
32
|
],
|
|
32
33
|
"scripts": {
|
|
33
34
|
"build": "tsup --silent",
|
|
@@ -38,10 +39,10 @@
|
|
|
38
39
|
"test": "jest"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@walkeros/core": "4.1.0
|
|
42
|
+
"@walkeros/core": "4.1.0"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@walkeros/collector": "4.1.0
|
|
45
|
+
"@walkeros/collector": "4.1.0"
|
|
45
46
|
},
|
|
46
47
|
"repository": {
|
|
47
48
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|