@boboddy/sdk 0.2.3-alpha → 0.2.6-alpha
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/contracts/artifacts.d.ts +6 -0
- package/dist/contracts/artifacts.js +14297 -0
- package/dist/definitions/steps/define-step.d.ts +2 -0
- package/dist/definitions/steps/index.js +1 -0
- package/dist/definitions/steps/step-definitions-client.d.ts +3 -0
- package/dist/generated/types.gen.d.ts +25 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +420 -415
- package/dist/push/index.js +1 -0
- package/dist/step-execution-plane-client.d.ts +4 -0
- package/package.json +5 -1
package/dist/push/index.js
CHANGED
|
@@ -12054,6 +12054,7 @@ ${feature._promptAddition}` : feature._promptAddition;
|
|
|
12054
12054
|
version: config2.version ?? 1,
|
|
12055
12055
|
kind: "user_defined",
|
|
12056
12056
|
status: config2.status ?? "active",
|
|
12057
|
+
executionMode: config2.executionMode,
|
|
12057
12058
|
prompt: effectivePrompt,
|
|
12058
12059
|
inputSchemaJson: config2.additionalInput ? toJSONSchema(config2.additionalInput) : null,
|
|
12059
12060
|
resultSchemaJson: effectiveResult ? toJSONSchema(effectiveResult) : null,
|
|
@@ -103,6 +103,7 @@ declare const buildStepExecutionPlaneClient: (stepExecutions: StepExecutions) =>
|
|
|
103
103
|
projectId: string;
|
|
104
104
|
gitUrl: string;
|
|
105
105
|
requestedBranch: string | unknown;
|
|
106
|
+
baseWorkBranch: string | unknown;
|
|
106
107
|
projectOpencodeConfig: {
|
|
107
108
|
relativePath: string;
|
|
108
109
|
present: boolean;
|
|
@@ -140,6 +141,7 @@ declare const buildStepExecutionPlaneClient: (stepExecutions: StepExecutions) =>
|
|
|
140
141
|
key: string;
|
|
141
142
|
name: string;
|
|
142
143
|
prompt: string;
|
|
144
|
+
executionMode: "workspace" | "no_workspace";
|
|
143
145
|
resultSchemaJson: {
|
|
144
146
|
[key: string]: unknown;
|
|
145
147
|
} | unknown;
|
|
@@ -183,6 +185,8 @@ declare const buildStepExecutionPlaneClient: (stepExecutions: StepExecutions) =>
|
|
|
183
185
|
status: "succeeded" | "failed";
|
|
184
186
|
resultJson: JsonValue;
|
|
185
187
|
errorJson: JsonValue;
|
|
188
|
+
workBranch?: string | null;
|
|
189
|
+
createdFromBranch?: string | null;
|
|
186
190
|
}, options?: RequestOptions) => Promise<void>;
|
|
187
191
|
failStepExecution: (stepExecutionId: string, body: {
|
|
188
192
|
claimToken: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@boboddy/sdk",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "v0.2.6-alpha",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"import": "./dist/client.js",
|
|
13
13
|
"types": "./dist/client.d.ts"
|
|
14
14
|
},
|
|
15
|
+
"./contracts/artifacts": {
|
|
16
|
+
"import": "./dist/contracts/artifacts.js",
|
|
17
|
+
"types": "./dist/contracts/artifacts.d.ts"
|
|
18
|
+
},
|
|
15
19
|
"./definitions/steps": {
|
|
16
20
|
"import": "./dist/definitions/steps/index.js",
|
|
17
21
|
"types": "./dist/definitions/steps/index.d.ts"
|