@xemahq/dsl 0.5.6 → 0.5.8

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 (72) hide show
  1. package/dist/deliverable-spec/lib/schema.d.ts.map +1 -1
  2. package/dist/deliverable-spec/lib/schema.js.map +1 -1
  3. package/dist/payload-codec/index.d.ts +1 -0
  4. package/dist/payload-codec/index.d.ts.map +1 -1
  5. package/dist/payload-codec/index.js.map +1 -1
  6. package/dist/payload-codec/lib/codec.d.ts +1 -1
  7. package/dist/payload-codec/lib/codec.d.ts.map +1 -1
  8. package/dist/payload-codec/lib/codec.js +12 -1
  9. package/dist/payload-codec/lib/codec.js.map +1 -1
  10. package/dist/payload-codec/lib/payload.d.ts +9 -0
  11. package/dist/payload-codec/lib/payload.d.ts.map +1 -0
  12. package/dist/payload-codec/lib/payload.js +3 -0
  13. package/dist/payload-codec/lib/payload.js.map +1 -0
  14. package/dist/payload-codec/temporal/index.d.ts +5 -0
  15. package/dist/payload-codec/temporal/index.d.ts.map +1 -0
  16. package/dist/payload-codec/temporal/index.js +7 -0
  17. package/dist/payload-codec/temporal/index.js.map +1 -0
  18. package/dist/schema/workflow.schema.json +29 -2
  19. package/dist/workflow/index.d.ts +2 -2
  20. package/dist/workflow/index.d.ts.map +1 -1
  21. package/dist/workflow/index.js +3 -1
  22. package/dist/workflow/index.js.map +1 -1
  23. package/dist/workflow/lib/compiler/canonical-json.js +15 -4
  24. package/dist/workflow/lib/compiler/canonical-json.js.map +1 -1
  25. package/dist/workflow/lib/compiler/compile.d.ts.map +1 -1
  26. package/dist/workflow/lib/compiler/compile.js +3 -1
  27. package/dist/workflow/lib/compiler/compile.js.map +1 -1
  28. package/dist/workflow/lib/compiler/gate-defaults.d.ts +5 -0
  29. package/dist/workflow/lib/compiler/gate-defaults.d.ts.map +1 -0
  30. package/dist/workflow/lib/compiler/gate-defaults.js +76 -0
  31. package/dist/workflow/lib/compiler/gate-defaults.js.map +1 -0
  32. package/dist/workflow/lib/compiler/index.d.ts +1 -0
  33. package/dist/workflow/lib/compiler/index.d.ts.map +1 -1
  34. package/dist/workflow/lib/compiler/index.js +4 -1
  35. package/dist/workflow/lib/compiler/index.js.map +1 -1
  36. package/dist/workflow/lib/duration.d.ts.map +1 -1
  37. package/dist/workflow/lib/duration.js +3 -9
  38. package/dist/workflow/lib/duration.js.map +1 -1
  39. package/dist/workflow/lib/types.d.ts +12 -3
  40. package/dist/workflow/lib/types.d.ts.map +1 -1
  41. package/dist/workspace-manifest/lib/compile.js.map +1 -1
  42. package/dist/workspace-manifest/lib/interpolate.js +26 -4
  43. package/dist/workspace-manifest/lib/interpolate.js.map +1 -1
  44. package/package.json +28 -5
  45. package/schema/workflow.schema.json +29 -2
  46. package/src/deliverable-spec/index.ts +1 -1
  47. package/src/deliverable-spec/lib/schema.ts +1 -2
  48. package/src/payload-codec/index.ts +8 -4
  49. package/src/payload-codec/lib/codec.ts +14 -2
  50. package/src/payload-codec/lib/payload.ts +26 -0
  51. package/src/payload-codec/temporal/index.ts +36 -0
  52. package/src/workflow/index.ts +3 -0
  53. package/src/workflow/lib/compiler/canonical-json.ts +17 -4
  54. package/src/workflow/lib/compiler/compile.ts +14 -7
  55. package/src/workflow/lib/compiler/gate-defaults.ts +153 -0
  56. package/src/workflow/lib/compiler/index.ts +1 -0
  57. package/src/workflow/lib/compiler/inputs.ts +1 -1
  58. package/src/workflow/lib/compiler/payload-reach-in.ts +6 -6
  59. package/src/workflow/lib/compiler/review-step.ts +3 -3
  60. package/src/workflow/lib/duration.ts +5 -10
  61. package/src/workflow/lib/expression/context.ts +2 -2
  62. package/src/workflow/lib/expression/evaluator.ts +2 -2
  63. package/src/workflow/lib/expression/walk-artifact-refs.ts +2 -2
  64. package/src/workflow/lib/installation-resource-kind.ts +1 -1
  65. package/src/workflow/lib/serializer.ts +1 -1
  66. package/src/workflow/lib/types.ts +33 -7
  67. package/src/workflow/lib/validate.ts +2 -2
  68. package/src/workspace-manifest/lib/compile.ts +1 -2
  69. package/src/workspace-manifest/lib/interpolate.ts +29 -3
  70. package/src/workspace-manifest/lib/resolve-extends.ts +3 -3
  71. package/src/workspace-manifest/lib/schema.ts +2 -2
  72. package/src/workspace-manifest/lib/types.ts +3 -3
@@ -31,7 +31,7 @@ const SlugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/;
31
31
  const VersionRegex = /^\d+\.\d+\.\d+$/;
32
32
 
33
33
  /**
34
- * Upper bound on authored node-level `instructions` (WS5 Phase B: author a
34
+ * Upper bound on authored node-level `instructions` (author a
35
35
  * migrated agent as `base agent slug + instructions`). A prompt fragment
36
36
  * layered onto the referenced agent definition's intrinsic system prompt —
37
37
  * the same lever as `AgentNode.instructions`. The cap is a sanity
@@ -652,7 +652,7 @@ export const WorkspaceManifestMetadataSchema = z.object({
652
652
  * Optional in the YAML for additive rollout; the compiler defaults
653
653
  * absent values to `[workflow, agent-session]` so existing
654
654
  * manifests keep compiling. New biome/org manifests SHOULD declare
655
- * this explicitly — Phase 9 sweeps the shipped manifests.
655
+ * this explicitly — a later step sweeps the shipped manifests.
656
656
  */
657
657
  surfaceCompat: z
658
658
  .array(ManifestSurfaceEnumSchema)
@@ -319,7 +319,7 @@ export interface ManifestAgentBlock {
319
319
  */
320
320
  readonly defaultModel?: ManifestModelRef;
321
321
  /**
322
- * Optional node-level instructions (WS5 Phase B authoring path). A prompt
322
+ * Optional node-level instructions. A prompt
323
323
  * fragment layered ONTO the referenced base agent's intrinsic system
324
324
  * prompt — the same lever as `AgentNode.instructions`, exposed here
325
325
  * so a WorkspaceManifest can author a migrated agent as
@@ -336,7 +336,7 @@ export interface ManifestAgentBlock {
336
336
  */
337
337
  readonly promptMode?: PromptMergeMode;
338
338
  /**
339
- * Optional per-agent permission override (WS5 kernel extension). A partial
339
+ * Optional per-agent permission override. A partial
340
340
  * OpenCode-style `PermissionMap` deep-merged (per top-level key) over the
341
341
  * referenced base agent's authored permission before the system tiers run.
342
342
  * Lets a generic base agent be specialized into a bounded role (read-only
@@ -372,7 +372,7 @@ export interface ManifestSubAgent {
372
372
  readonly alias?: string;
373
373
  readonly defaultModel?: ManifestModelRef;
374
374
  /**
375
- * Optional node-level instructions for this delegate (WS5 Phase B). Same
375
+ * Optional node-level instructions for this delegate. Same
376
376
  * `base agent slug + instructions` lever as the primary agent block;
377
377
  * layered onto the referenced agent's intrinsic system prompt. May
378
378
  * reference `${input.x}`. Bounded by `MAX_AGENT_INSTRUCTIONS_LENGTH`.