@onetaskgraph/sdk 0.12.7 → 0.12.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/README.md +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,7 +24,9 @@ The executable is resolved in this order: the constructor's explicit `binaryPath
|
|
|
24
24
|
Every invocation requests JSON. The SDK parses stdout and validates it against runtime
|
|
25
25
|
schemas generated from `onetaskgraph schema` before returning it. Query responses retain
|
|
26
26
|
their `plan` and typed `errors`; exit code 4 therefore resolves to the validated partial
|
|
27
|
-
response instead of discarding the successful sources.
|
|
27
|
+
response instead of discarding the successful sources. Any other failure rejects with an
|
|
28
|
+
`OnetaskgraphExecutionError` carrying the exit code, standard error and — when the binary wrote
|
|
29
|
+
one — its failure document as `failure`, so a caller branches on `failure.kind`.
|
|
28
30
|
|
|
29
31
|
Every invocation also passes `--no-interactive`, so no call ever waits on a prompt: a
|
|
30
32
|
template variable nothing answers takes its default, and a required one left unanswered is
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onetaskgraph/sdk",
|
|
3
3
|
"//": "llmlint: ignore-file[projects_stay_in_one_js_workspace] This package IS the JS workspace's one member; what the rule reads as a second is the optionalDependency below, which is the published launcher an end user installs beside the SDK and resolves from the registry at their own install. `workspace:*` names nothing there, and npm/cli is not a workspace member for the reason its own manifest records. scripts/set-version.sh writes this number and `--check` refuses any other, under distribution-check. JSON has no comment to scope this to the one line.",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.9",
|
|
5
5
|
"description": "The TypeScript SDK for onetaskgraph, generated from the binary's own JSON Schema bundle.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"generate:check": "bun scripts/generate.ts --check"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@onetaskgraph/cli": "0.12.
|
|
31
|
+
"@onetaskgraph/cli": "0.12.9"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"ajv": "8.17.1",
|