@tagma/sdk 0.4.8 → 0.4.9
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/LICENSE +21 -21
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +12 -38
- package/dist/engine.js.map +1 -1
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +0 -5
- package/dist/runner.js.map +1 -1
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +0 -2
- package/dist/schema.js.map +1 -1
- package/dist/templates.d.ts +20 -0
- package/dist/templates.d.ts.map +1 -0
- package/dist/templates.js +93 -0
- package/dist/templates.js.map +1 -0
- package/package.json +1 -1
- package/src/dag.ts +17 -17
- package/src/engine.ts +12 -39
- package/src/hooks.ts +0 -1
- package/src/registry.ts +214 -214
- package/src/runner.ts +0 -5
- package/src/schema.test.ts +97 -97
- package/src/schema.ts +0 -2
- package/src/sdk.ts +2 -2
- package/src/utils.ts +1 -1
package/src/schema.ts
CHANGED
|
@@ -99,7 +99,6 @@ export function resolveConfig(raw: RawPipelineConfig, workDir: string): Pipeline
|
|
|
99
99
|
continue_from: rawTask.continue_from
|
|
100
100
|
? qualifyContinueFrom(rawTask.continue_from, rawTrack.id)
|
|
101
101
|
: undefined,
|
|
102
|
-
output: rawTask.output,
|
|
103
102
|
// Inheritance: Task > Track > Pipeline
|
|
104
103
|
model: rawTask.model ?? rawTrack.model ?? raw.model,
|
|
105
104
|
reasoning_effort: rawTask.reasoning_effort ?? rawTrack.reasoning_effort ?? raw.reasoning_effort,
|
|
@@ -224,7 +223,6 @@ export function deresolvePipeline(config: PipelineConfig, workDir: string): RawP
|
|
|
224
223
|
...(task.depends_on?.length ? { depends_on: task.depends_on } : {}),
|
|
225
224
|
...(task.trigger ? { trigger: task.trigger } : {}),
|
|
226
225
|
...(task.continue_from ? { continue_from: task.continue_from } : {}),
|
|
227
|
-
...(task.output ? { output: task.output } : {}),
|
|
228
226
|
...(taskCwdRel ? { cwd: taskCwdRel } : {}),
|
|
229
227
|
...(task.model && task.model !== effectiveTrackModel ? { model: task.model } : {}),
|
|
230
228
|
...(task.reasoning_effort && task.reasoning_effort !== effectiveTrackReasoning
|
package/src/sdk.ts
CHANGED
|
@@ -29,8 +29,8 @@ export {
|
|
|
29
29
|
export { validateRaw } from './validate-raw';
|
|
30
30
|
export type { ValidationError } from './validate-raw';
|
|
31
31
|
|
|
32
|
-
// ── Schema: parse / resolve / load / serialize / validate ──
|
|
33
|
-
export { parseYaml, resolveConfig, loadPipeline, serializePipeline, deresolvePipeline, validateConfig } from './schema';
|
|
32
|
+
// ── Schema: parse / resolve / load / serialize / validate ──
|
|
33
|
+
export { parseYaml, resolveConfig, loadPipeline, serializePipeline, deresolvePipeline, validateConfig } from './schema';
|
|
34
34
|
|
|
35
35
|
// ── DAG ──
|
|
36
36
|
export { buildDag, buildRawDag } from './dag';
|
package/src/utils.ts
CHANGED