@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.
- package/dist/deliverable-spec/lib/schema.d.ts.map +1 -1
- package/dist/deliverable-spec/lib/schema.js.map +1 -1
- package/dist/payload-codec/index.d.ts +1 -0
- package/dist/payload-codec/index.d.ts.map +1 -1
- package/dist/payload-codec/index.js.map +1 -1
- package/dist/payload-codec/lib/codec.d.ts +1 -1
- package/dist/payload-codec/lib/codec.d.ts.map +1 -1
- package/dist/payload-codec/lib/codec.js +12 -1
- package/dist/payload-codec/lib/codec.js.map +1 -1
- package/dist/payload-codec/lib/payload.d.ts +9 -0
- package/dist/payload-codec/lib/payload.d.ts.map +1 -0
- package/dist/payload-codec/lib/payload.js +3 -0
- package/dist/payload-codec/lib/payload.js.map +1 -0
- package/dist/payload-codec/temporal/index.d.ts +5 -0
- package/dist/payload-codec/temporal/index.d.ts.map +1 -0
- package/dist/payload-codec/temporal/index.js +7 -0
- package/dist/payload-codec/temporal/index.js.map +1 -0
- package/dist/schema/workflow.schema.json +29 -2
- package/dist/workflow/index.d.ts +2 -2
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +3 -1
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/lib/compiler/canonical-json.js +15 -4
- package/dist/workflow/lib/compiler/canonical-json.js.map +1 -1
- package/dist/workflow/lib/compiler/compile.d.ts.map +1 -1
- package/dist/workflow/lib/compiler/compile.js +3 -1
- package/dist/workflow/lib/compiler/compile.js.map +1 -1
- package/dist/workflow/lib/compiler/gate-defaults.d.ts +5 -0
- package/dist/workflow/lib/compiler/gate-defaults.d.ts.map +1 -0
- package/dist/workflow/lib/compiler/gate-defaults.js +76 -0
- package/dist/workflow/lib/compiler/gate-defaults.js.map +1 -0
- package/dist/workflow/lib/compiler/index.d.ts +1 -0
- package/dist/workflow/lib/compiler/index.d.ts.map +1 -1
- package/dist/workflow/lib/compiler/index.js +4 -1
- package/dist/workflow/lib/compiler/index.js.map +1 -1
- package/dist/workflow/lib/duration.d.ts.map +1 -1
- package/dist/workflow/lib/duration.js +3 -9
- package/dist/workflow/lib/duration.js.map +1 -1
- package/dist/workflow/lib/types.d.ts +12 -3
- package/dist/workflow/lib/types.d.ts.map +1 -1
- package/dist/workspace-manifest/lib/compile.js.map +1 -1
- package/dist/workspace-manifest/lib/interpolate.js +26 -4
- package/dist/workspace-manifest/lib/interpolate.js.map +1 -1
- package/package.json +28 -5
- package/schema/workflow.schema.json +29 -2
- package/src/deliverable-spec/index.ts +1 -1
- package/src/deliverable-spec/lib/schema.ts +1 -2
- package/src/payload-codec/index.ts +8 -4
- package/src/payload-codec/lib/codec.ts +14 -2
- package/src/payload-codec/lib/payload.ts +26 -0
- package/src/payload-codec/temporal/index.ts +36 -0
- package/src/workflow/index.ts +3 -0
- package/src/workflow/lib/compiler/canonical-json.ts +17 -4
- package/src/workflow/lib/compiler/compile.ts +14 -7
- package/src/workflow/lib/compiler/gate-defaults.ts +153 -0
- package/src/workflow/lib/compiler/index.ts +1 -0
- package/src/workflow/lib/compiler/inputs.ts +1 -1
- package/src/workflow/lib/compiler/payload-reach-in.ts +6 -6
- package/src/workflow/lib/compiler/review-step.ts +3 -3
- package/src/workflow/lib/duration.ts +5 -10
- package/src/workflow/lib/expression/context.ts +2 -2
- package/src/workflow/lib/expression/evaluator.ts +2 -2
- package/src/workflow/lib/expression/walk-artifact-refs.ts +2 -2
- package/src/workflow/lib/installation-resource-kind.ts +1 -1
- package/src/workflow/lib/serializer.ts +1 -1
- package/src/workflow/lib/types.ts +33 -7
- package/src/workflow/lib/validate.ts +2 -2
- package/src/workspace-manifest/lib/compile.ts +1 -2
- package/src/workspace-manifest/lib/interpolate.ts +29 -3
- package/src/workspace-manifest/lib/resolve-extends.ts +3 -3
- package/src/workspace-manifest/lib/schema.ts +2 -2
- 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` (
|
|
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 —
|
|
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
|
|
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
|
|
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
|
|
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`.
|