@boboddy/sdk 0.2.4-alpha → 0.2.7-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.js +2 -2
- package/dist/definitions/pipelines/index.js +2 -2
- package/dist/definitions/steps/index.js +2 -2
- package/dist/generated/types.gen.d.ts +16 -0
- package/dist/index.js +2 -2
- package/dist/opencode-mcp.js +2 -2
- package/dist/opencode-plugin.js +2 -2
- package/dist/push/index.js +2 -2
- package/dist/step-execution-plane-client.d.ts +3 -0
- package/package.json +1 -1
|
@@ -11478,7 +11478,7 @@ function finalize(ctx, schema) {
|
|
|
11478
11478
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11479
11479
|
} else if (ctx.target === "draft-04") {
|
|
11480
11480
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11481
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11481
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11482
11482
|
if (ctx.external?.uri) {
|
|
11483
11483
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11484
11484
|
if (!id)
|
|
@@ -11722,7 +11722,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11722
11722
|
if (val === undefined) {
|
|
11723
11723
|
if (ctx.unrepresentable === "throw") {
|
|
11724
11724
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11725
|
-
}
|
|
11725
|
+
}
|
|
11726
11726
|
} else if (typeof val === "bigint") {
|
|
11727
11727
|
if (ctx.unrepresentable === "throw") {
|
|
11728
11728
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -11478,7 +11478,7 @@ function finalize(ctx, schema) {
|
|
|
11478
11478
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11479
11479
|
} else if (ctx.target === "draft-04") {
|
|
11480
11480
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11481
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11481
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11482
11482
|
if (ctx.external?.uri) {
|
|
11483
11483
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11484
11484
|
if (!id)
|
|
@@ -11722,7 +11722,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11722
11722
|
if (val === undefined) {
|
|
11723
11723
|
if (ctx.unrepresentable === "throw") {
|
|
11724
11724
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11725
|
-
}
|
|
11725
|
+
}
|
|
11726
11726
|
} else if (typeof val === "bigint") {
|
|
11727
11727
|
if (ctx.unrepresentable === "throw") {
|
|
11728
11728
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -11235,7 +11235,7 @@ function finalize(ctx, schema) {
|
|
|
11235
11235
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11236
11236
|
} else if (ctx.target === "draft-04") {
|
|
11237
11237
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11238
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11238
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11239
11239
|
if (ctx.external?.uri) {
|
|
11240
11240
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11241
11241
|
if (!id)
|
|
@@ -11479,7 +11479,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11479
11479
|
if (val === undefined) {
|
|
11480
11480
|
if (ctx.unrepresentable === "throw") {
|
|
11481
11481
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11482
|
-
}
|
|
11482
|
+
}
|
|
11483
11483
|
} else if (typeof val === "bigint") {
|
|
11484
11484
|
if (ctx.unrepresentable === "throw") {
|
|
11485
11485
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -3124,6 +3124,7 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
3124
3124
|
projectId: string;
|
|
3125
3125
|
gitUrl: string;
|
|
3126
3126
|
requestedBranch: string | unknown;
|
|
3127
|
+
baseWorkBranch: string | unknown;
|
|
3127
3128
|
projectOpencodeConfig: {
|
|
3128
3129
|
relativePath: string;
|
|
3129
3130
|
present: boolean;
|
|
@@ -3208,6 +3209,8 @@ export type PostApiStepExecutionsByStepExecutionIdCompletionsData = {
|
|
|
3208
3209
|
status: 'succeeded' | 'failed';
|
|
3209
3210
|
resultJson: unknown;
|
|
3210
3211
|
errorJson: unknown;
|
|
3212
|
+
workBranch?: string | unknown;
|
|
3213
|
+
createdFromBranch?: string | unknown;
|
|
3211
3214
|
};
|
|
3212
3215
|
path: {
|
|
3213
3216
|
stepExecutionId: string;
|
|
@@ -6825,6 +6828,7 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
6825
6828
|
acceptedByUserId: string | unknown;
|
|
6826
6829
|
acceptedAt: string | unknown;
|
|
6827
6830
|
acceptanceReason: string | unknown;
|
|
6831
|
+
workBranch: string | unknown;
|
|
6828
6832
|
outputJson: unknown;
|
|
6829
6833
|
evaluation: {
|
|
6830
6834
|
id: string;
|
|
@@ -7029,6 +7033,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7029
7033
|
acceptedByUserId: string | unknown;
|
|
7030
7034
|
acceptedAt: string | unknown;
|
|
7031
7035
|
acceptanceReason: string | unknown;
|
|
7036
|
+
workBranch: string | unknown;
|
|
7032
7037
|
outputJson: unknown;
|
|
7033
7038
|
evaluation: {
|
|
7034
7039
|
id: string;
|
|
@@ -7198,6 +7203,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7198
7203
|
acceptedByUserId: string | unknown;
|
|
7199
7204
|
acceptedAt: string | unknown;
|
|
7200
7205
|
acceptanceReason: string | unknown;
|
|
7206
|
+
workBranch: string | unknown;
|
|
7201
7207
|
outputJson: unknown;
|
|
7202
7208
|
evaluation: {
|
|
7203
7209
|
id: string;
|
|
@@ -7367,6 +7373,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7367
7373
|
acceptedByUserId: string | unknown;
|
|
7368
7374
|
acceptedAt: string | unknown;
|
|
7369
7375
|
acceptanceReason: string | unknown;
|
|
7376
|
+
workBranch: string | unknown;
|
|
7370
7377
|
outputJson: unknown;
|
|
7371
7378
|
evaluation: {
|
|
7372
7379
|
id: string;
|
|
@@ -7537,6 +7544,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7537
7544
|
acceptedByUserId: string | unknown;
|
|
7538
7545
|
acceptedAt: string | unknown;
|
|
7539
7546
|
acceptanceReason: string | unknown;
|
|
7547
|
+
workBranch: string | unknown;
|
|
7540
7548
|
outputJson: unknown;
|
|
7541
7549
|
evaluation: {
|
|
7542
7550
|
id: string;
|
|
@@ -7582,6 +7590,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7582
7590
|
status: 'succeeded' | 'failed';
|
|
7583
7591
|
resultJson: unknown;
|
|
7584
7592
|
errorJson: unknown;
|
|
7593
|
+
workBranch?: string | unknown;
|
|
7594
|
+
createdFromBranch?: string | unknown;
|
|
7585
7595
|
};
|
|
7586
7596
|
path: {
|
|
7587
7597
|
linearPipelineExecutionId: string;
|
|
@@ -7711,6 +7721,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7711
7721
|
acceptedByUserId: string | unknown;
|
|
7712
7722
|
acceptedAt: string | unknown;
|
|
7713
7723
|
acceptanceReason: string | unknown;
|
|
7724
|
+
workBranch: string | unknown;
|
|
7714
7725
|
outputJson: unknown;
|
|
7715
7726
|
evaluation: {
|
|
7716
7727
|
id: string;
|
|
@@ -7887,6 +7898,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7887
7898
|
acceptedByUserId: string | unknown;
|
|
7888
7899
|
acceptedAt: string | unknown;
|
|
7889
7900
|
acceptanceReason: string | unknown;
|
|
7901
|
+
workBranch: string | unknown;
|
|
7890
7902
|
outputJson: unknown;
|
|
7891
7903
|
evaluation: {
|
|
7892
7904
|
id: string;
|
|
@@ -8059,6 +8071,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8059
8071
|
acceptedByUserId: string | unknown;
|
|
8060
8072
|
acceptedAt: string | unknown;
|
|
8061
8073
|
acceptanceReason: string | unknown;
|
|
8074
|
+
workBranch: string | unknown;
|
|
8062
8075
|
outputJson: unknown;
|
|
8063
8076
|
evaluation: {
|
|
8064
8077
|
id: string;
|
|
@@ -8228,6 +8241,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8228
8241
|
acceptedByUserId: string | unknown;
|
|
8229
8242
|
acceptedAt: string | unknown;
|
|
8230
8243
|
acceptanceReason: string | unknown;
|
|
8244
|
+
workBranch: string | unknown;
|
|
8231
8245
|
outputJson: unknown;
|
|
8232
8246
|
evaluation: {
|
|
8233
8247
|
id: string;
|
|
@@ -8397,6 +8411,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8397
8411
|
acceptedByUserId: string | unknown;
|
|
8398
8412
|
acceptedAt: string | unknown;
|
|
8399
8413
|
acceptanceReason: string | unknown;
|
|
8414
|
+
workBranch: string | unknown;
|
|
8400
8415
|
outputJson: unknown;
|
|
8401
8416
|
evaluation: {
|
|
8402
8417
|
id: string;
|
|
@@ -8566,6 +8581,7 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8566
8581
|
acceptedByUserId: string | unknown;
|
|
8567
8582
|
acceptedAt: string | unknown;
|
|
8568
8583
|
acceptanceReason: string | unknown;
|
|
8584
|
+
workBranch: string | unknown;
|
|
8569
8585
|
outputJson: unknown;
|
|
8570
8586
|
evaluation: {
|
|
8571
8587
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -13045,7 +13045,7 @@ function finalize(ctx, schema) {
|
|
|
13045
13045
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
13046
13046
|
} else if (ctx.target === "draft-04") {
|
|
13047
13047
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
13048
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
13048
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
13049
13049
|
if (ctx.external?.uri) {
|
|
13050
13050
|
const id = ctx.external.registry.get(schema)?.id;
|
|
13051
13051
|
if (!id)
|
|
@@ -13289,7 +13289,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
13289
13289
|
if (val === undefined) {
|
|
13290
13290
|
if (ctx.unrepresentable === "throw") {
|
|
13291
13291
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
13292
|
-
}
|
|
13292
|
+
}
|
|
13293
13293
|
} else if (typeof val === "bigint") {
|
|
13294
13294
|
if (ctx.unrepresentable === "throw") {
|
|
13295
13295
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/dist/opencode-mcp.js
CHANGED
|
@@ -11478,7 +11478,7 @@ function finalize(ctx, schema) {
|
|
|
11478
11478
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11479
11479
|
} else if (ctx.target === "draft-04") {
|
|
11480
11480
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11481
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11481
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11482
11482
|
if (ctx.external?.uri) {
|
|
11483
11483
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11484
11484
|
if (!id)
|
|
@@ -11722,7 +11722,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11722
11722
|
if (val === undefined) {
|
|
11723
11723
|
if (ctx.unrepresentable === "throw") {
|
|
11724
11724
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11725
|
-
}
|
|
11725
|
+
}
|
|
11726
11726
|
} else if (typeof val === "bigint") {
|
|
11727
11727
|
if (ctx.unrepresentable === "throw") {
|
|
11728
11728
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/dist/opencode-plugin.js
CHANGED
|
@@ -11478,7 +11478,7 @@ function finalize(ctx, schema) {
|
|
|
11478
11478
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11479
11479
|
} else if (ctx.target === "draft-04") {
|
|
11480
11480
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11481
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11481
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11482
11482
|
if (ctx.external?.uri) {
|
|
11483
11483
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11484
11484
|
if (!id)
|
|
@@ -11722,7 +11722,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11722
11722
|
if (val === undefined) {
|
|
11723
11723
|
if (ctx.unrepresentable === "throw") {
|
|
11724
11724
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11725
|
-
}
|
|
11725
|
+
}
|
|
11726
11726
|
} else if (typeof val === "bigint") {
|
|
11727
11727
|
if (ctx.unrepresentable === "throw") {
|
|
11728
11728
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
package/dist/push/index.js
CHANGED
|
@@ -11235,7 +11235,7 @@ function finalize(ctx, schema) {
|
|
|
11235
11235
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11236
11236
|
} else if (ctx.target === "draft-04") {
|
|
11237
11237
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11238
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11238
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11239
11239
|
if (ctx.external?.uri) {
|
|
11240
11240
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11241
11241
|
if (!id)
|
|
@@ -11479,7 +11479,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
11479
11479
|
if (val === undefined) {
|
|
11480
11480
|
if (ctx.unrepresentable === "throw") {
|
|
11481
11481
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11482
|
-
}
|
|
11482
|
+
}
|
|
11483
11483
|
} else if (typeof val === "bigint") {
|
|
11484
11484
|
if (ctx.unrepresentable === "throw") {
|
|
11485
11485
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -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;
|
|
@@ -184,6 +185,8 @@ declare const buildStepExecutionPlaneClient: (stepExecutions: StepExecutions) =>
|
|
|
184
185
|
status: "succeeded" | "failed";
|
|
185
186
|
resultJson: JsonValue;
|
|
186
187
|
errorJson: JsonValue;
|
|
188
|
+
workBranch?: string | null;
|
|
189
|
+
createdFromBranch?: string | null;
|
|
187
190
|
}, options?: RequestOptions) => Promise<void>;
|
|
188
191
|
failStepExecution: (stepExecutionId: string, body: {
|
|
189
192
|
claimToken: string;
|