@tagma/sdk 0.7.27 → 0.7.31
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/README.md +15 -12
- package/dist/pipeline-runner.d.ts.map +1 -1
- package/dist/pipeline-runner.js +6 -2
- package/dist/pipeline-runner.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -248,6 +248,9 @@ Every task can consume inputs and publish outputs:
|
|
|
248
248
|
- Prompt tasks receive inputs as context and produce outputs as structured JSON.
|
|
249
249
|
- When names match, Tagma connects them automatically.
|
|
250
250
|
- Use `from` only when you need to disambiguate, rename, or read raw streams.
|
|
251
|
+
- Command placeholders are verbatim by default. Use `| shellquote` for string
|
|
252
|
+
inputs in shell commands; otherwise a value containing shell syntax can change
|
|
253
|
+
the command that runs.
|
|
251
254
|
|
|
252
255
|
There is no public `ports:` key. Use `inputs` and `outputs` directly.
|
|
253
256
|
|
|
@@ -261,7 +264,7 @@ There is no public `ports:` key. Use `inputs` and `outputs` directly.
|
|
|
261
264
|
|
|
262
265
|
- id: test
|
|
263
266
|
depends_on: [build]
|
|
264
|
-
command: 'bun test
|
|
267
|
+
command: 'bun test {{inputs.bundlePath | shellquote}}'
|
|
265
268
|
inputs:
|
|
266
269
|
bundlePath:
|
|
267
270
|
required: true
|
|
@@ -287,7 +290,7 @@ Tasks can declare named, typed `inputs` / `outputs`. Inputs flow in from upstrea
|
|
|
287
290
|
- id: lookup-weather
|
|
288
291
|
name: Lookup weather
|
|
289
292
|
depends_on: [choose-city]
|
|
290
|
-
command: weather.sh --city
|
|
293
|
+
command: weather.sh --city {{inputs.city | shellquote}}
|
|
291
294
|
inputs:
|
|
292
295
|
city:
|
|
293
296
|
type: string
|
|
@@ -328,7 +331,7 @@ Tasks can declare named, typed `inputs` / `outputs`. Inputs flow in from upstrea
|
|
|
328
331
|
|
|
329
332
|
#### Substitution and AI prompt blocks
|
|
330
333
|
|
|
331
|
-
- `{{inputs.<name>}}` is expanded verbatim in `command` and `prompt` strings before execution.
|
|
334
|
+
- `{{inputs.<name>}}` is expanded verbatim in `command` and `prompt` strings before execution. Use `{{inputs.<name> | shellquote}}` for string values interpolated into shell command strings; the unfiltered placeholder is intentionally not shell-escaped.
|
|
332
335
|
- AI tasks get `[Output Format]` and `[Inputs]` blocks from inferred and explicit typed bindings.
|
|
333
336
|
- Output extraction strategy: prefer `normalizedOutput` (AI tasks), fall back to stdout (command tasks). Find the last non-empty line that parses as a JSON object, then read each declared output key. Failures append a diagnostic to stderr; the binding is absent from `outputs` and downstream tasks see it as missing.
|
|
334
337
|
|
|
@@ -537,7 +540,7 @@ Properties:
|
|
|
537
540
|
|
|
538
541
|
- `instanceId` — stable ID assigned at construction, safe to use as a Map key before `start()`
|
|
539
542
|
- `runId` — engine-assigned run ID, available after the first `run_start` event (`null` until then)
|
|
540
|
-
- `status` — `'idle' | 'running' | 'done' | 'aborted' | 'failed'` (see `PipelineRunnerStatus`). `aborted` covers caller-initiated `abort()`; `failed` covers engine errors
|
|
543
|
+
- `status` — `'idle' | 'running' | 'done' | 'aborted' | 'failed'` (see `PipelineRunnerStatus`). `aborted` covers caller-initiated `abort()`; `failed` covers thrown engine errors and completed runs whose `EngineResult.success` is `false`.
|
|
541
544
|
|
|
542
545
|
### `TriggerBlockedError` / `TriggerTimeoutError`
|
|
543
546
|
|
|
@@ -725,14 +728,14 @@ Use `validateRaw` for editing raw configs in a UI; pass `workDir` to `validateCo
|
|
|
725
728
|
|
|
726
729
|
Pure helpers backing typed task bindings and internal prompt-contract inference. Safe to use in editors, simulators, and custom drivers — no I/O, no side effects. Imported from `@tagma/sdk/dataflow`:
|
|
727
730
|
|
|
728
|
-
| Function | Description
|
|
729
|
-
| ---------------------------------------------------------------------- |
|
|
730
|
-
| `substituteInputs(text, inputs)` | Expand `{{inputs.<name>}}` placeholders in `text`. Returns `{ text, unresolved }`. Strings pass through, numbers/booleans coerce via `String(...)`, objects/arrays via `JSON.stringify`.
|
|
731
|
-
| `extractInputReferences(text)` | Return the set of input port names referenced by `{{inputs.<name>}}` placeholders in `text`. Use at edit time to flag undeclared references
|
|
732
|
-
| `resolveTaskBindingInputs(task, upstreamData, dependsOn)` | Resolve lightweight task-level `inputs` from literal values, upstream outputs, stdout/stderr, normalized output, defaults, and required flags
|
|
733
|
-
| `resolveTaskInputs(task, upstreamOutputs, dependsOn)` | Gather the input values a task will consume from its direct upstreams. Applies `from` bindings, defaults, and type coercion. Returns `{ kind: 'ready', inputs, missingOptional }` or `{ kind: 'blocked', missingRequired, ambiguous, typeErrors, reason }`
|
|
734
|
-
| `extractTaskBindingOutputs(outputs, stdout, stderr, normalizedOutput)` | Publish lightweight task-level `outputs` from final-line JSON, stdout/stderr, normalized output, literal values, or defaults
|
|
735
|
-
| `extractTaskOutputs(ports, stdout, normalizedOutput)` | Internal helper for inferred prompt contracts. Strategy: prefer `normalizedOutput`; find the last non-empty line that parses as a JSON object; coerce each declared key. Returns `{ outputs, diagnostic }`
|
|
731
|
+
| Function | Description |
|
|
732
|
+
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
733
|
+
| `substituteInputs(text, inputs)` | Expand `{{inputs.<name>}}` placeholders in `text`. Returns `{ text, unresolved, unknownFilters }`. Strings pass through, numbers/booleans coerce via `String(...)`, objects/arrays via `JSON.stringify`. Use the `shellquote` filter when interpolating command-line string arguments |
|
|
734
|
+
| `extractInputReferences(text)` | Return the set of input port names referenced by `{{inputs.<name>}}` placeholders in `text`. Use at edit time to flag undeclared references |
|
|
735
|
+
| `resolveTaskBindingInputs(task, upstreamData, dependsOn)` | Resolve lightweight task-level `inputs` from literal values, upstream outputs, stdout/stderr, normalized output, defaults, and required flags |
|
|
736
|
+
| `resolveTaskInputs(task, upstreamOutputs, dependsOn)` | Gather the input values a task will consume from its direct upstreams. Applies `from` bindings, defaults, and type coercion. Returns `{ kind: 'ready', inputs, missingOptional }` or `{ kind: 'blocked', missingRequired, ambiguous, typeErrors, reason }` |
|
|
737
|
+
| `extractTaskBindingOutputs(outputs, stdout, stderr, normalizedOutput)` | Publish lightweight task-level `outputs` from final-line JSON, stdout/stderr, normalized output, literal values, or defaults |
|
|
738
|
+
| `extractTaskOutputs(ports, stdout, normalizedOutput)` | Internal helper for inferred prompt contracts. Strategy: prefer `normalizedOutput`; find the last non-empty line that parses as a JSON object; coerce each declared key. Returns `{ outputs, diagnostic }` |
|
|
736
739
|
|
|
737
740
|
Prompt-document helpers (`prependContext`, `renderInputsBlock`, `renderOutputSchemaBlock`) live in `@tagma/core` and are not re-exported through any `@tagma/sdk` subpath. Custom drivers / engines that need them should `import { prependContext, renderInputsBlock, renderOutputSchemaBlock } from '@tagma/core'` directly.
|
|
738
741
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-runner.d.ts","sourceRoot":"","sources":["../src/pipeline-runner.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAe,KAAK,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtF,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAGtB,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AACtF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,kBAAkB,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;AAEnF,qBAAa,cAAc;IAyBvB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,IAAI;IA1BvB;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,C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CAAC,SAAS,CAA+C;IAChE;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAmC;gBAG9B,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,qBAAqB;IAK9C,IAAI,KAAK,IAAI,MAAM,GAAG,IAAI,CAEzB;IACD,IAAI,MAAM,IAAI,oBAAoB,CAEjC;IAED;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC;IAuC9B,OAAO,CAAC,WAAW;IAwFnB;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAM5B;;;OAGG;IACH,QAAQ,IAAI,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC;IAM7C;;;;OAIG;IACH,SAAS,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,GAAG,MAAM,IAAI;CAIjE"}
|
package/dist/pipeline-runner.js
CHANGED
|
@@ -92,7 +92,7 @@ export class PipelineRunner {
|
|
|
92
92
|
})
|
|
93
93
|
.then((result) => {
|
|
94
94
|
if (this._status === 'running')
|
|
95
|
-
this._status = 'done';
|
|
95
|
+
this._status = result.success ? 'done' : 'failed';
|
|
96
96
|
return result;
|
|
97
97
|
})
|
|
98
98
|
.catch((err) => {
|
|
@@ -173,7 +173,11 @@ export class PipelineRunner {
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
case 'run_end':
|
|
176
|
-
this._status = this._abortController.signal.aborted
|
|
176
|
+
this._status = this._abortController.signal.aborted
|
|
177
|
+
? 'aborted'
|
|
178
|
+
: event.success
|
|
179
|
+
? 'done'
|
|
180
|
+
: 'failed';
|
|
177
181
|
return;
|
|
178
182
|
case 'run_error':
|
|
179
183
|
if (this._status !== 'aborted')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-runner.js","sourceRoot":"","sources":["../src/pipeline-runner.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,EAAE;A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e;QACnB,IAAI,IAAI,CAAC,OAAO,KAAK,MAAM,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ;YAAE,OAAO;QAC/F,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,MAAM,IAAI,GAAG,IAAI,GAAG,EAAwB,CAAC;QAC7C,KAAK,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM;YAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;QAC1D,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,OAAyC;QACjD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tagma/sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.31",
|
|
4
4
|
"description": "Local AI task orchestration SDK for Tagma pipelines",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"test": "bun test"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@tagma/core": "0.1.
|
|
78
|
-
"@tagma/runtime-bun": "0.1.
|
|
79
|
-
"@tagma/types": "0.4.
|
|
77
|
+
"@tagma/core": "0.1.29",
|
|
78
|
+
"@tagma/runtime-bun": "0.1.21",
|
|
79
|
+
"@tagma/types": "0.4.36",
|
|
80
80
|
"js-yaml": "^4.1.0"
|
|
81
81
|
}
|
|
82
82
|
}
|