@auto-engineer/narrative 1.5.5 → 1.7.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 +1 -1
- package/.turbo/turbo-test.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +48 -0
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/schema.d.ts +799 -36
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +15 -2
- package/dist/src/schema.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/index.ts +6 -0
- package/src/schema.specs.ts +26 -6
- package/src/schema.ts +17 -2
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/narrative@1.
|
|
2
|
+
> @auto-engineer/narrative@1.7.0 test /home/runner/work/auto-engineer/auto-engineer/packages/narrative
|
|
3
3
|
> vitest run --reporter=dot
|
|
4
4
|
|
|
5
5
|
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
[2m Test Files [22m [1m[32m16 passed[39m[22m[90m (16)[39m
|
|
11
11
|
[2m Tests [22m [1m[32m226 passed[39m[22m[90m (226)[39m
|
|
12
|
-
[2m Start at [22m
|
|
13
|
-
[2m Duration [22m
|
|
12
|
+
[2m Start at [22m 16:25:23
|
|
13
|
+
[2m Duration [22m 14.46s[2m (transform 4.42s, setup 0ms, collect 19.52s, tests 12.26s, environment 15ms, prepare 4.28s)[22m
|
|
14
14
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @auto-engineer/flow
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`876f240`](https://github.com/BeOnAuto/auto-engineer/commit/876f24011aa2b97fcfdd226de4c33756ce10dc13) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **narrative**: add MappingEntrySchema, update slice schemas to use structured mappings
|
|
8
|
+
- **narrative**: add MappingFieldRefSchema for structured mapping references
|
|
9
|
+
- **global**: version packages
|
|
10
|
+
|
|
11
|
+
- [`22da0bb`](https://github.com/BeOnAuto/auto-engineer/commit/22da0bba412bdc78ef7aded96a4d6acafdd6aafc) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Changed file sync default directory to "narratives" for better organization of synchronized content
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`86e9bc9`](https://github.com/BeOnAuto/auto-engineer/commit/86e9bc95d163bb6ea8861cb4db2fa39905e9afc2) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed an issue where the changeset generator could cause failures in strict shell environments by properly handling non-zero exit codes
|
|
16
|
+
|
|
17
|
+
- [`b0ca671`](https://github.com/BeOnAuto/auto-engineer/commit/b0ca6714c090f5ce3b0831353efc2a94f4ad0321) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added Ketchup configuration for the project
|
|
18
|
+
|
|
19
|
+
- [`1783963`](https://github.com/BeOnAuto/auto-engineer/commit/17839632724eaae84bfbbe8f0b90cc6b777c0eff) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Excluded .ketchup directory from code formatting and linting checks
|
|
20
|
+
|
|
21
|
+
- [`6eb8e24`](https://github.com/BeOnAuto/auto-engineer/commit/6eb8e242410b7c396472aa720c137400f694ec9b) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Here's the changelog based on the actual changes:
|
|
22
|
+
- Added structured mapping schemas to narrative slices, enabling field-level mapping references between commands and queries
|
|
23
|
+
- Fixed changeset generator failures in strict shell environments by properly handling non-zero exit codes
|
|
24
|
+
- Added Ketchup configuration for project automation, validation rules, and development workflow hooks
|
|
25
|
+
|
|
26
|
+
- [`1ebdd34`](https://github.com/BeOnAuto/auto-engineer/commit/1ebdd3475f00e20a6e47e5306d0e2abd743b6067) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed an issue where the changeset generator could fail in strict shell environments due to non-zero exit codes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`86e9bc9`](https://github.com/BeOnAuto/auto-engineer/commit/86e9bc95d163bb6ea8861cb4db2fa39905e9afc2), [`b0ca671`](https://github.com/BeOnAuto/auto-engineer/commit/b0ca6714c090f5ce3b0831353efc2a94f4ad0321), [`1783963`](https://github.com/BeOnAuto/auto-engineer/commit/17839632724eaae84bfbbe8f0b90cc6b777c0eff), [`876f240`](https://github.com/BeOnAuto/auto-engineer/commit/876f24011aa2b97fcfdd226de4c33756ce10dc13), [`6eb8e24`](https://github.com/BeOnAuto/auto-engineer/commit/6eb8e242410b7c396472aa720c137400f694ec9b), [`22da0bb`](https://github.com/BeOnAuto/auto-engineer/commit/22da0bba412bdc78ef7aded96a4d6acafdd6aafc), [`1ebdd34`](https://github.com/BeOnAuto/auto-engineer/commit/1ebdd3475f00e20a6e47e5306d0e2abd743b6067)]:
|
|
29
|
+
- @auto-engineer/file-store@1.7.0
|
|
30
|
+
- @auto-engineer/id@1.7.0
|
|
31
|
+
- @auto-engineer/message-bus@1.7.0
|
|
32
|
+
|
|
33
|
+
## 1.6.0
|
|
34
|
+
|
|
35
|
+
### Minor Changes
|
|
36
|
+
|
|
37
|
+
- [`c47d7b7`](https://github.com/BeOnAuto/auto-engineer/commit/c47d7b7b5de04a4da7d5f2ce62211cbe64e23603) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **narrative**: add optional mappings field to CommandSliceSchema and QuerySliceSchema
|
|
38
|
+
- **global**: version packages
|
|
39
|
+
|
|
40
|
+
- [`f6aa673`](https://github.com/BeOnAuto/auto-engineer/commit/f6aa673198b9e46b12004a046560df90f31677cf) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Add MappingEntrySchema and update slice schemas to use structured mappings
|
|
41
|
+
|
|
42
|
+
- [`a1a2a71`](https://github.com/BeOnAuto/auto-engineer/commit/a1a2a715dca04209b82bf548b52c8a6ce1e0b611) Thanks [@SamHatoum](https://github.com/SamHatoum)! - Add MappingFieldRefSchema for structured mapping references
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [[`c47d7b7`](https://github.com/BeOnAuto/auto-engineer/commit/c47d7b7b5de04a4da7d5f2ce62211cbe64e23603)]:
|
|
47
|
+
- @auto-engineer/file-store@1.6.0
|
|
48
|
+
- @auto-engineer/id@1.6.0
|
|
49
|
+
- @auto-engineer/message-bus@1.6.0
|
|
50
|
+
|
|
3
51
|
## 1.5.5
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
package/dist/src/index.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ export { command, decide, evolve, experience, query, react } from './fluent-buil
|
|
|
12
12
|
export { getNarratives } from './getNarratives';
|
|
13
13
|
export type { ExampleBuilder, GivenBuilder, SliceTypeValueInterface, ThenBuilder, WhenBuilder } from './narrative';
|
|
14
14
|
export { client, data, describe, example, it, narrative, narrative as flow, request, rule, SliceType, server, should, specs, thenError, } from './narrative';
|
|
15
|
-
export { ClientServerNamesSchema as ClientServerNamesSystemSchema, CommandSchema, CommandSliceSchema, EventSchema, ExampleSchema, ExperienceSliceSchema, IntegrationSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema as SpecsSystemSchema, modelSchema, NarrativeNamesSchema as NarrativeNamesSystemSchema, NarrativeSchema, QuerySchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceNamesSchema as SliceNamesSystemSchema, SliceSchema, SpecSchema, StateSchema, StepErrorSchema, StepSchema, StepWithDocStringSchema, StepWithErrorSchema, } from './schema';
|
|
15
|
+
export { ClientServerNamesSchema as ClientServerNamesSystemSchema, CommandSchema, CommandSliceSchema, EventSchema, ExampleSchema, ExperienceSliceSchema, IntegrationSchema, MappingEntrySchema, MappingFieldRefSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema as SpecsSystemSchema, modelSchema, NarrativeNamesSchema as NarrativeNamesSystemSchema, NarrativeSchema, QuerySchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceNamesSchema as SliceNamesSystemSchema, SliceSchema, SpecSchema, StateSchema, StepErrorSchema, StepSchema, StepWithDocStringSchema, StepWithErrorSchema, } from './schema';
|
|
16
16
|
export { createNarrativeSpec, given as testGiven, when as testWhen } from './testing';
|
|
17
17
|
export type { GeneratedNarratives } from './transformers/model-to-narrative';
|
|
18
18
|
export { modelToNarrative } from './transformers/model-to-narrative';
|
|
19
|
-
import type { CommandSliceSchema, ExampleSchema, ExperienceSliceSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema, NarrativeSchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceSchema, SpecSchema, StepSchema } from './schema';
|
|
19
|
+
import type { CommandSliceSchema, ExampleSchema, ExperienceSliceSchema, MappingEntrySchema, MappingFieldRefSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema, NarrativeSchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceSchema, SpecSchema, StepSchema } from './schema';
|
|
20
20
|
export type Model = z.infer<typeof modelSchema>;
|
|
21
21
|
export type Narrative = z.infer<typeof NarrativeSchema>;
|
|
22
22
|
export type Slice = z.infer<typeof SliceSchema>;
|
|
@@ -32,6 +32,8 @@ export type Spec = z.infer<typeof SpecSchema>;
|
|
|
32
32
|
export type Step = z.infer<typeof StepSchema>;
|
|
33
33
|
export type Module = z.infer<typeof ModuleSchema>;
|
|
34
34
|
export type MessageRef = z.infer<typeof MessageRefSchema>;
|
|
35
|
+
export type MappingFieldRef = z.infer<typeof MappingFieldRefSchema>;
|
|
36
|
+
export type MappingEntry = z.infer<typeof MappingEntrySchema>;
|
|
35
37
|
export { addAutoIds, hasAllIds } from './id';
|
|
36
38
|
export type { ClientSpecNode } from './schema';
|
|
37
39
|
export { detectQueryAction, extractQueryNameFromRequest } from './transformers/narrative-to-model/spec-processors';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAK7B,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE7F,YAAY,EACV,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,cAAc,EACd,WAAW,EACX,KAAK,EACL,WAAW,EACX,aAAa,EACb,MAAM,EACN,KAAK,EACL,KAAK,GACN,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,eAAO,MAAM,GAAG,GAAI,SAAS,oBAAoB,EAAE,GAAG,QAAQ,OAAO,EAAE,WAKtE,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAEzD,YAAY,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAErF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY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/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { getNarratives } from './getNarratives.js';
|
|
|
18
18
|
// Narrative language functions
|
|
19
19
|
export { client, data, describe, example, it, narrative, narrative as flow, request, rule, SliceType, server, should, specs, thenError, } from './narrative.js';
|
|
20
20
|
// Schema definitions for progressive narrative creation
|
|
21
|
-
export { ClientServerNamesSchema as ClientServerNamesSystemSchema, CommandSchema, CommandSliceSchema, EventSchema, ExampleSchema, ExperienceSliceSchema, IntegrationSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema as SpecsSystemSchema, modelSchema, NarrativeNamesSchema as NarrativeNamesSystemSchema, NarrativeSchema, QuerySchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceNamesSchema as SliceNamesSystemSchema, SliceSchema, SpecSchema, StateSchema, StepErrorSchema, StepSchema, StepWithDocStringSchema, StepWithErrorSchema, } from './schema.js';
|
|
21
|
+
export { ClientServerNamesSchema as ClientServerNamesSystemSchema, CommandSchema, CommandSliceSchema, EventSchema, ExampleSchema, ExperienceSliceSchema, IntegrationSchema, MappingEntrySchema, MappingFieldRefSchema, MessageFieldSchema, MessageRefSchema, MessageSchema, ModuleSchema, modelSchema as SpecsSystemSchema, modelSchema, NarrativeNamesSchema as NarrativeNamesSystemSchema, NarrativeSchema, QuerySchema, QuerySliceSchema, ReactSliceSchema, RuleSchema, SliceNamesSchema as SliceNamesSystemSchema, SliceSchema, SpecSchema, StateSchema, StepErrorSchema, StepSchema, StepWithDocStringSchema, StepWithErrorSchema, } from './schema.js';
|
|
22
22
|
// Testing helpers
|
|
23
23
|
export { createNarrativeSpec, given as testGiven, when as testWhen } from './testing.js';
|
|
24
24
|
export { modelToNarrative } from './transformers/model-to-narrative/index.js';
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAEhE,iBAAiB;AACjB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