@boboddy/sdk 0.4.3 → 0.5.1
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/boboddy-config-parser.js +2 -2
- package/dist/client.js +20 -43
- package/dist/contracts/artifacts.js +948 -948
- package/dist/defaults/index.js +11 -11
- package/dist/definitions/advancement-policies/define-advancement-policy.d.ts +30 -5
- package/dist/definitions/advancement-policies/index.js +21 -11
- package/dist/definitions/pipelines/bindings.d.ts +62 -0
- package/dist/definitions/pipelines/builder-helpers.d.ts +19 -106
- package/dist/definitions/pipelines/chain-graph.d.ts +15 -14
- package/dist/definitions/pipelines/compile-node-definitions.d.ts +27 -0
- package/dist/definitions/pipelines/define-pipeline.d.ts +101 -154
- package/dist/definitions/pipelines/index.d.ts +0 -2
- package/dist/definitions/pipelines/index.js +1457 -1602
- package/dist/definitions/pipelines/node-input-ctx.d.ts +31 -0
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +18 -4
- package/dist/definitions/pipelines/pipeline-states.d.ts +104 -0
- package/dist/definitions/steps/define-code-step.d.ts +50 -0
- package/dist/definitions/steps/define-step.d.ts +22 -1
- package/dist/definitions/steps/index.d.ts +1 -0
- package/dist/definitions/steps/index.js +13782 -13765
- package/dist/definitions/steps/step-definitions-client.d.ts +29 -5
- package/dist/definitions/validation/index.js +15152 -98
- package/dist/definitions/validation/validate-definition-specs.d.ts +19 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +1 -4
- package/dist/generated/types.gen.d.ts +296 -878
- package/dist/health-checks.js +950 -950
- package/dist/index.js +1624 -1729
- package/dist/jsonc.js +2 -2
- package/dist/opencode-mcp.js +946 -946
- package/dist/opencode-plugin.js +950 -950
- package/dist/push/collect-definitions.d.ts +40 -1
- package/dist/push/index.d.ts +2 -2
- package/dist/push/index.js +14595 -14545
- package/dist/step-execution-plane-client.d.ts +9 -4
- package/package.json +2 -2
- package/dist/definitions/pipelines/builder.d.ts +0 -80
- package/dist/definitions/pipelines/fan-out-builder.d.ts +0 -66
- package/dist/definitions/pipelines/input-accessor.d.ts +0 -25
|
@@ -16,7 +16,11 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
16
16
|
description: string | unknown;
|
|
17
17
|
prompt: string | unknown;
|
|
18
18
|
version: number;
|
|
19
|
-
kind: "built_in" | "user_defined";
|
|
19
|
+
kind: "built_in" | "user_defined" | "code";
|
|
20
|
+
entrypointJson: {
|
|
21
|
+
sourceFile: string;
|
|
22
|
+
exportName: string;
|
|
23
|
+
} | unknown;
|
|
20
24
|
executionMode: "workspace" | "no_workspace";
|
|
21
25
|
inputSchemaJson: {
|
|
22
26
|
[key: string]: unknown;
|
|
@@ -84,7 +88,11 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
84
88
|
description: string | unknown;
|
|
85
89
|
prompt: string | unknown;
|
|
86
90
|
version: number;
|
|
87
|
-
kind: "built_in" | "user_defined";
|
|
91
|
+
kind: "built_in" | "user_defined" | "code";
|
|
92
|
+
entrypointJson: {
|
|
93
|
+
sourceFile: string;
|
|
94
|
+
exportName: string;
|
|
95
|
+
} | unknown;
|
|
88
96
|
executionMode: "workspace" | "no_workspace";
|
|
89
97
|
inputSchemaJson: {
|
|
90
98
|
[key: string]: unknown;
|
|
@@ -146,8 +154,20 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
146
154
|
}>;
|
|
147
155
|
/**
|
|
148
156
|
* Upserts a step definition keyed by (projectId, key, version). Accepts the
|
|
149
|
-
* `StepDefinitionSpec` produced by `defineStep()` directly —
|
|
150
|
-
* fetch-existing/branch-on-id step needed.
|
|
157
|
+
* `StepDefinitionSpec` produced by `defineStep()`/`codeStep()` directly —
|
|
158
|
+
* no separate fetch-existing/branch-on-id step needed.
|
|
159
|
+
*
|
|
160
|
+
* `entrypointJson` (a `kind: "code"` step's resolved entrypoint — see
|
|
161
|
+
* `collect-definitions.ts`) and the widened `kind` union
|
|
162
|
+
* (`"user_defined" | "code"`) are not yet reflected in the
|
|
163
|
+
* OpenAPI-generated `UpsertStepDefinitionInput` type, so the request
|
|
164
|
+
* body is built explicitly and cast at the boundary rather than spread
|
|
165
|
+
* + `satisfies`-checked, mirroring the same pattern
|
|
166
|
+
* `pipeline-definitions-client.ts`'s `upsertFromSpec` already uses for
|
|
167
|
+
* its own wire-format-ahead-of-codegen gap. The spec's transient
|
|
168
|
+
* `entrypoint.fn` (a live, unserializable function reference —
|
|
169
|
+
* present only if a caller bypasses `collect-definitions.ts`'s own
|
|
170
|
+
* strip step) is never included here.
|
|
151
171
|
*/
|
|
152
172
|
upsertFromSpec: (projectId: string, spec: StepDefinitionSpec, options?: RequestOptions) => Promise<{
|
|
153
173
|
id: string;
|
|
@@ -157,7 +177,11 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
157
177
|
description: string | unknown;
|
|
158
178
|
prompt: string | unknown;
|
|
159
179
|
version: number;
|
|
160
|
-
kind: "built_in" | "user_defined";
|
|
180
|
+
kind: "built_in" | "user_defined" | "code";
|
|
181
|
+
entrypointJson: {
|
|
182
|
+
sourceFile: string;
|
|
183
|
+
exportName: string;
|
|
184
|
+
} | unknown;
|
|
161
185
|
executionMode: "workspace" | "no_workspace";
|
|
162
186
|
inputSchemaJson: {
|
|
163
187
|
[key: string]: unknown;
|