@contractspec/example.learning-patterns 3.2.0 → 3.4.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/.turbo/turbo-build.log +48 -44
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +25 -0
- package/dist/browser/index.js +20 -0
- package/dist/browser/learning-patterns.feature.js +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20 -0
- package/dist/learning-patterns.feature.d.ts +1 -0
- package/dist/learning-patterns.feature.js +23 -0
- package/dist/node/index.js +20 -0
- package/dist/node/learning-patterns.feature.js +22 -0
- package/package.json +19 -5
- package/src/index.ts +1 -0
- package/src/learning-patterns.feature.ts +22 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,44 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
[
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
./
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
./
|
|
30
|
-
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
./
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=10
|
|
7
|
+
[32mBundled 10 modules in 13ms[0m
|
|
8
|
+
|
|
9
|
+
[34mdocs/index.js[0m 1.15 KB [2m(entry point)[0m
|
|
10
|
+
[34m./index.js[0m 6.53 KB [2m(entry point)[0m
|
|
11
|
+
[34mtracks/index.js[0m 3.78 KB [2m(entry point)[0m
|
|
12
|
+
[34mtracks/quests.js[0m 1.53 KB [2m(entry point)[0m
|
|
13
|
+
[34mdocs/learning-patterns.docblock.js[0m 1.15 KB [2m(entry point)[0m
|
|
14
|
+
[34m./example.js[0m 0.89 KB [2m(entry point)[0m
|
|
15
|
+
[34m./learning-patterns.feature.js[0m 0.73 KB [2m(entry point)[0m
|
|
16
|
+
[34mtracks/ambient-coach.js[0m 1.51 KB [2m(entry point)[0m
|
|
17
|
+
[34mtracks/drills.js[0m 1.70 KB [2m(entry point)[0m
|
|
18
|
+
[34m./events.js[0m 496 bytes [2m(entry point)[0m
|
|
19
|
+
|
|
20
|
+
[contractspec-bun-build] transpile target=node root=src entries=10
|
|
21
|
+
[32mBundled 10 modules in 14ms[0m
|
|
22
|
+
|
|
23
|
+
[34mdocs/index.js[0m 1.14 KB [2m(entry point)[0m
|
|
24
|
+
[34m./index.js[0m 6.52 KB [2m(entry point)[0m
|
|
25
|
+
[34mtracks/index.js[0m 3.78 KB [2m(entry point)[0m
|
|
26
|
+
[34mtracks/quests.js[0m 1.53 KB [2m(entry point)[0m
|
|
27
|
+
[34mdocs/learning-patterns.docblock.js[0m 1.14 KB [2m(entry point)[0m
|
|
28
|
+
[34m./example.js[0m 0.88 KB [2m(entry point)[0m
|
|
29
|
+
[34m./learning-patterns.feature.js[0m 0.72 KB [2m(entry point)[0m
|
|
30
|
+
[34mtracks/ambient-coach.js[0m 1.50 KB [2m(entry point)[0m
|
|
31
|
+
[34mtracks/drills.js[0m 1.69 KB [2m(entry point)[0m
|
|
32
|
+
[34m./events.js[0m 488 bytes [2m(entry point)[0m
|
|
33
|
+
|
|
34
|
+
[contractspec-bun-build] transpile target=browser root=src entries=10
|
|
35
|
+
[32mBundled 10 modules in 11ms[0m
|
|
36
|
+
|
|
37
|
+
[34mdocs/index.js[0m 1.14 KB [2m(entry point)[0m
|
|
38
|
+
[34m./index.js[0m 6.52 KB [2m(entry point)[0m
|
|
39
|
+
[34mtracks/index.js[0m 3.78 KB [2m(entry point)[0m
|
|
40
|
+
[34mtracks/quests.js[0m 1.53 KB [2m(entry point)[0m
|
|
41
|
+
[34mdocs/learning-patterns.docblock.js[0m 1.14 KB [2m(entry point)[0m
|
|
42
|
+
[34m./example.js[0m 0.88 KB [2m(entry point)[0m
|
|
43
|
+
[34m./learning-patterns.feature.js[0m 0.72 KB [2m(entry point)[0m
|
|
44
|
+
[34mtracks/ambient-coach.js[0m 1.50 KB [2m(entry point)[0m
|
|
45
|
+
[34mtracks/drills.js[0m 1.69 KB [2m(entry point)[0m
|
|
46
|
+
[34m./events.js[0m 488 bytes [2m(entry point)[0m
|
|
47
|
+
|
|
48
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @contractspec/example.learning-patterns
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ee467a: feat: improve ai and customization
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0ee467a]
|
|
12
|
+
- Updated dependencies [56ee8e6]
|
|
13
|
+
- @contractspec/module.learning-journey@3.4.0
|
|
14
|
+
- @contractspec/lib.contracts-spec@3.4.0
|
|
15
|
+
|
|
16
|
+
## 3.3.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 890a0da: fix: stability improvements
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [890a0da]
|
|
25
|
+
- @contractspec/module.learning-journey@3.3.0
|
|
26
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
27
|
+
|
|
3
28
|
## 3.2.0
|
|
4
29
|
|
|
5
30
|
### Minor Changes
|
package/dist/browser/index.js
CHANGED
|
@@ -209,6 +209,25 @@ var questTrack = {
|
|
|
209
209
|
]
|
|
210
210
|
};
|
|
211
211
|
var questTracks = [questTrack];
|
|
212
|
+
// src/learning-patterns.feature.ts
|
|
213
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
214
|
+
var LearningPatternsFeature = defineFeature({
|
|
215
|
+
meta: {
|
|
216
|
+
key: "learning-patterns",
|
|
217
|
+
version: "1.0.0",
|
|
218
|
+
title: "Learning Patterns",
|
|
219
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
220
|
+
domain: "learning-journey",
|
|
221
|
+
owners: ["@examples"],
|
|
222
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
223
|
+
stability: "experimental"
|
|
224
|
+
},
|
|
225
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
226
|
+
docs: [
|
|
227
|
+
"docs.examples.learning-patterns.goal",
|
|
228
|
+
"docs.examples.learning-patterns.reference"
|
|
229
|
+
]
|
|
230
|
+
});
|
|
212
231
|
export {
|
|
213
232
|
questTracks,
|
|
214
233
|
questTrack,
|
|
@@ -217,5 +236,6 @@ export {
|
|
|
217
236
|
drillTracks,
|
|
218
237
|
ambientCoachTracks,
|
|
219
238
|
ambientCoachTrack,
|
|
239
|
+
LearningPatternsFeature,
|
|
220
240
|
LEARNING_EVENTS
|
|
221
241
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/learning-patterns.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var LearningPatternsFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "learning-patterns",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Learning Patterns",
|
|
8
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
9
|
+
domain: "learning-journey",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.learning-patterns.goal",
|
|
17
|
+
"docs.examples.learning-patterns.reference"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
LearningPatternsFeature
|
|
22
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -210,6 +210,25 @@ var questTrack = {
|
|
|
210
210
|
]
|
|
211
211
|
};
|
|
212
212
|
var questTracks = [questTrack];
|
|
213
|
+
// src/learning-patterns.feature.ts
|
|
214
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
215
|
+
var LearningPatternsFeature = defineFeature({
|
|
216
|
+
meta: {
|
|
217
|
+
key: "learning-patterns",
|
|
218
|
+
version: "1.0.0",
|
|
219
|
+
title: "Learning Patterns",
|
|
220
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
221
|
+
domain: "learning-journey",
|
|
222
|
+
owners: ["@examples"],
|
|
223
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
224
|
+
stability: "experimental"
|
|
225
|
+
},
|
|
226
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
227
|
+
docs: [
|
|
228
|
+
"docs.examples.learning-patterns.goal",
|
|
229
|
+
"docs.examples.learning-patterns.reference"
|
|
230
|
+
]
|
|
231
|
+
});
|
|
213
232
|
export {
|
|
214
233
|
questTracks,
|
|
215
234
|
questTrack,
|
|
@@ -218,5 +237,6 @@ export {
|
|
|
218
237
|
drillTracks,
|
|
219
238
|
ambientCoachTracks,
|
|
220
239
|
ambientCoachTrack,
|
|
240
|
+
LearningPatternsFeature,
|
|
221
241
|
LEARNING_EVENTS
|
|
222
242
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LearningPatternsFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/learning-patterns.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var LearningPatternsFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "learning-patterns",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Learning Patterns",
|
|
9
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
10
|
+
domain: "learning-journey",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
16
|
+
docs: [
|
|
17
|
+
"docs.examples.learning-patterns.goal",
|
|
18
|
+
"docs.examples.learning-patterns.reference"
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
LearningPatternsFeature
|
|
23
|
+
};
|
package/dist/node/index.js
CHANGED
|
@@ -209,6 +209,25 @@ var questTrack = {
|
|
|
209
209
|
]
|
|
210
210
|
};
|
|
211
211
|
var questTracks = [questTrack];
|
|
212
|
+
// src/learning-patterns.feature.ts
|
|
213
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
214
|
+
var LearningPatternsFeature = defineFeature({
|
|
215
|
+
meta: {
|
|
216
|
+
key: "learning-patterns",
|
|
217
|
+
version: "1.0.0",
|
|
218
|
+
title: "Learning Patterns",
|
|
219
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
220
|
+
domain: "learning-journey",
|
|
221
|
+
owners: ["@examples"],
|
|
222
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
223
|
+
stability: "experimental"
|
|
224
|
+
},
|
|
225
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
226
|
+
docs: [
|
|
227
|
+
"docs.examples.learning-patterns.goal",
|
|
228
|
+
"docs.examples.learning-patterns.reference"
|
|
229
|
+
]
|
|
230
|
+
});
|
|
212
231
|
export {
|
|
213
232
|
questTracks,
|
|
214
233
|
questTrack,
|
|
@@ -217,5 +236,6 @@ export {
|
|
|
217
236
|
drillTracks,
|
|
218
237
|
ambientCoachTracks,
|
|
219
238
|
ambientCoachTrack,
|
|
239
|
+
LearningPatternsFeature,
|
|
220
240
|
LEARNING_EVENTS
|
|
221
241
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/learning-patterns.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var LearningPatternsFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "learning-patterns",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Learning Patterns",
|
|
8
|
+
description: "Learning archetypes (drills, ambient-coach, quests) via event-driven track specs",
|
|
9
|
+
domain: "learning-journey",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["learning", "patterns", "archetypes", "tracks"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
telemetry: [{ key: "learning-patterns.telemetry", version: "1.0.0" }],
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.learning-patterns.goal",
|
|
17
|
+
"docs.examples.learning-patterns.reference"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
LearningPatternsFeature
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.learning-patterns",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Example: drills + ambient coach + quests learning patterns, powered by Learning Journey (event-driven, deterministic).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -47,6 +47,13 @@
|
|
|
47
47
|
"browser": "./dist/browser/example.js",
|
|
48
48
|
"default": "./dist/example.js"
|
|
49
49
|
},
|
|
50
|
+
"./learning-patterns.feature": {
|
|
51
|
+
"types": "./dist/learning-patterns.feature.d.ts",
|
|
52
|
+
"bun": "./dist/learning-patterns.feature.js",
|
|
53
|
+
"node": "./dist/node/learning-patterns.feature.js",
|
|
54
|
+
"browser": "./dist/browser/learning-patterns.feature.js",
|
|
55
|
+
"default": "./dist/learning-patterns.feature.js"
|
|
56
|
+
},
|
|
50
57
|
"./tracks": {
|
|
51
58
|
"types": "./dist/tracks/index.d.ts",
|
|
52
59
|
"bun": "./dist/tracks/index.js",
|
|
@@ -99,13 +106,13 @@
|
|
|
99
106
|
"typecheck": "tsc --noEmit"
|
|
100
107
|
},
|
|
101
108
|
"dependencies": {
|
|
102
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
103
|
-
"@contractspec/module.learning-journey": "3.
|
|
109
|
+
"@contractspec/lib.contracts-spec": "3.4.0",
|
|
110
|
+
"@contractspec/module.learning-journey": "3.4.0"
|
|
104
111
|
},
|
|
105
112
|
"devDependencies": {
|
|
106
|
-
"@contractspec/tool.typescript": "3.
|
|
113
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
107
114
|
"typescript": "^5.9.3",
|
|
108
|
-
"@contractspec/tool.bun": "3.
|
|
115
|
+
"@contractspec/tool.bun": "3.4.0"
|
|
109
116
|
},
|
|
110
117
|
"publishConfig": {
|
|
111
118
|
"access": "public",
|
|
@@ -152,6 +159,13 @@
|
|
|
152
159
|
"browser": "./dist/browser/example.js",
|
|
153
160
|
"default": "./dist/example.js"
|
|
154
161
|
},
|
|
162
|
+
"./learning-patterns.feature": {
|
|
163
|
+
"types": "./dist/learning-patterns.feature.d.ts",
|
|
164
|
+
"bun": "./dist/learning-patterns.feature.js",
|
|
165
|
+
"node": "./dist/node/learning-patterns.feature.js",
|
|
166
|
+
"browser": "./dist/browser/learning-patterns.feature.js",
|
|
167
|
+
"default": "./dist/learning-patterns.feature.js"
|
|
168
|
+
},
|
|
155
169
|
"./tracks": {
|
|
156
170
|
"types": "./dist/tracks/index.d.ts",
|
|
157
171
|
"bun": "./dist/tracks/index.js",
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineFeature } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
|
|
3
|
+
export const LearningPatternsFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'learning-patterns',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'Learning Patterns',
|
|
8
|
+
description:
|
|
9
|
+
'Learning archetypes (drills, ambient-coach, quests) via event-driven track specs',
|
|
10
|
+
domain: 'learning-journey',
|
|
11
|
+
owners: ['@examples'],
|
|
12
|
+
tags: ['learning', 'patterns', 'archetypes', 'tracks'],
|
|
13
|
+
stability: 'experimental',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
telemetry: [{ key: 'learning-patterns.telemetry', version: '1.0.0' }],
|
|
17
|
+
|
|
18
|
+
docs: [
|
|
19
|
+
'docs.examples.learning-patterns.goal',
|
|
20
|
+
'docs.examples.learning-patterns.reference',
|
|
21
|
+
],
|
|
22
|
+
});
|