@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
|
@@ -64,6 +64,7 @@ export type DefineStepInput<TInput extends ZodType = ZodType, TResult extends Zo
|
|
|
64
64
|
mcpServers?: OpenCodeMcpServers | null;
|
|
65
65
|
plugins?: OpenCodePlugins | null;
|
|
66
66
|
status?: "draft" | "active";
|
|
67
|
+
executionMode?: "workspace" | "no_workspace";
|
|
67
68
|
};
|
|
68
69
|
export type AdditionalStepInputLiteralBinding = {
|
|
69
70
|
source: "literal";
|
|
@@ -80,6 +81,7 @@ export type StepDefinitionSpec = {
|
|
|
80
81
|
version: number;
|
|
81
82
|
kind: "user_defined";
|
|
82
83
|
status: "draft" | "active" | "archived";
|
|
84
|
+
executionMode?: "workspace" | "no_workspace";
|
|
83
85
|
prompt: string | null;
|
|
84
86
|
inputSchemaJson: Record<string, unknown> | null;
|
|
85
87
|
resultSchemaJson: Record<string, unknown> | null;
|
|
@@ -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,
|
|
@@ -17,6 +17,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
17
17
|
prompt: string | unknown;
|
|
18
18
|
version: number;
|
|
19
19
|
kind: "built_in" | "user_defined";
|
|
20
|
+
executionMode: "workspace" | "no_workspace";
|
|
20
21
|
inputSchemaJson: unknown;
|
|
21
22
|
resultSchemaJson: unknown;
|
|
22
23
|
opencodeMcpJson: {
|
|
@@ -70,6 +71,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
70
71
|
prompt: string | unknown;
|
|
71
72
|
version: number;
|
|
72
73
|
kind: "built_in" | "user_defined";
|
|
74
|
+
executionMode: "workspace" | "no_workspace";
|
|
73
75
|
inputSchemaJson: unknown;
|
|
74
76
|
resultSchemaJson: unknown;
|
|
75
77
|
opencodeMcpJson: {
|
|
@@ -128,6 +130,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
128
130
|
prompt: string | unknown;
|
|
129
131
|
version: number;
|
|
130
132
|
kind: "built_in" | "user_defined";
|
|
133
|
+
executionMode: "workspace" | "no_workspace";
|
|
131
134
|
inputSchemaJson: unknown;
|
|
132
135
|
resultSchemaJson: unknown;
|
|
133
136
|
opencodeMcpJson: {
|
|
@@ -1169,6 +1169,7 @@ export type GetApiStepDefinitionsResponses = {
|
|
|
1169
1169
|
prompt: string | unknown;
|
|
1170
1170
|
version: number;
|
|
1171
1171
|
kind: 'built_in' | 'user_defined';
|
|
1172
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1172
1173
|
inputSchemaJson: unknown;
|
|
1173
1174
|
resultSchemaJson: unknown;
|
|
1174
1175
|
opencodeMcpJson: {
|
|
@@ -1224,6 +1225,7 @@ export type PostApiStepDefinitionsData = {
|
|
|
1224
1225
|
prompt: string;
|
|
1225
1226
|
version: number;
|
|
1226
1227
|
kind: 'built_in' | 'user_defined';
|
|
1228
|
+
executionMode?: 'workspace' | 'no_workspace';
|
|
1227
1229
|
inputSchemaJson: unknown;
|
|
1228
1230
|
resultSchemaJson: unknown;
|
|
1229
1231
|
opencodeMcpJson?: {
|
|
@@ -1395,6 +1397,7 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
1395
1397
|
prompt: string | unknown;
|
|
1396
1398
|
version: number;
|
|
1397
1399
|
kind: 'built_in' | 'user_defined';
|
|
1400
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1398
1401
|
inputSchemaJson: unknown;
|
|
1399
1402
|
resultSchemaJson: unknown;
|
|
1400
1403
|
opencodeMcpJson: {
|
|
@@ -1450,6 +1453,7 @@ export type PutApiStepDefinitionsData = {
|
|
|
1450
1453
|
prompt: string;
|
|
1451
1454
|
version: number;
|
|
1452
1455
|
kind: 'built_in' | 'user_defined';
|
|
1456
|
+
executionMode?: 'workspace' | 'no_workspace';
|
|
1453
1457
|
inputSchemaJson: unknown;
|
|
1454
1458
|
resultSchemaJson: unknown;
|
|
1455
1459
|
opencodeMcpJson?: {
|
|
@@ -1589,6 +1593,7 @@ export type PutApiStepDefinitionsResponses = {
|
|
|
1589
1593
|
prompt: string | unknown;
|
|
1590
1594
|
version: number;
|
|
1591
1595
|
kind: 'built_in' | 'user_defined';
|
|
1596
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1592
1597
|
inputSchemaJson: unknown;
|
|
1593
1598
|
resultSchemaJson: unknown;
|
|
1594
1599
|
opencodeMcpJson: {
|
|
@@ -1739,6 +1744,7 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
1739
1744
|
prompt: string | unknown;
|
|
1740
1745
|
version: number;
|
|
1741
1746
|
kind: 'built_in' | 'user_defined';
|
|
1747
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1742
1748
|
inputSchemaJson: unknown;
|
|
1743
1749
|
resultSchemaJson: unknown;
|
|
1744
1750
|
opencodeMcpJson: {
|
|
@@ -1889,6 +1895,7 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
1889
1895
|
prompt: string | unknown;
|
|
1890
1896
|
version: number;
|
|
1891
1897
|
kind: 'built_in' | 'user_defined';
|
|
1898
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
1892
1899
|
inputSchemaJson: unknown;
|
|
1893
1900
|
resultSchemaJson: unknown;
|
|
1894
1901
|
opencodeMcpJson: {
|
|
@@ -3117,6 +3124,7 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
3117
3124
|
projectId: string;
|
|
3118
3125
|
gitUrl: string;
|
|
3119
3126
|
requestedBranch: string | unknown;
|
|
3127
|
+
baseWorkBranch: string | unknown;
|
|
3120
3128
|
projectOpencodeConfig: {
|
|
3121
3129
|
relativePath: string;
|
|
3122
3130
|
present: boolean;
|
|
@@ -3154,6 +3162,7 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
|
3154
3162
|
key: string;
|
|
3155
3163
|
name: string;
|
|
3156
3164
|
prompt: string;
|
|
3165
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
3157
3166
|
resultSchemaJson: {
|
|
3158
3167
|
[key: string]: unknown;
|
|
3159
3168
|
} | unknown;
|
|
@@ -3200,6 +3209,8 @@ export type PostApiStepExecutionsByStepExecutionIdCompletionsData = {
|
|
|
3200
3209
|
status: 'succeeded' | 'failed';
|
|
3201
3210
|
resultJson: unknown;
|
|
3202
3211
|
errorJson: unknown;
|
|
3212
|
+
workBranch?: string | unknown;
|
|
3213
|
+
createdFromBranch?: string | unknown;
|
|
3203
3214
|
};
|
|
3204
3215
|
path: {
|
|
3205
3216
|
stepExecutionId: string;
|
|
@@ -6817,6 +6828,7 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
6817
6828
|
acceptedByUserId: string | unknown;
|
|
6818
6829
|
acceptedAt: string | unknown;
|
|
6819
6830
|
acceptanceReason: string | unknown;
|
|
6831
|
+
workBranch: string | unknown;
|
|
6820
6832
|
outputJson: unknown;
|
|
6821
6833
|
evaluation: {
|
|
6822
6834
|
id: string;
|
|
@@ -7021,6 +7033,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7021
7033
|
acceptedByUserId: string | unknown;
|
|
7022
7034
|
acceptedAt: string | unknown;
|
|
7023
7035
|
acceptanceReason: string | unknown;
|
|
7036
|
+
workBranch: string | unknown;
|
|
7024
7037
|
outputJson: unknown;
|
|
7025
7038
|
evaluation: {
|
|
7026
7039
|
id: string;
|
|
@@ -7190,6 +7203,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7190
7203
|
acceptedByUserId: string | unknown;
|
|
7191
7204
|
acceptedAt: string | unknown;
|
|
7192
7205
|
acceptanceReason: string | unknown;
|
|
7206
|
+
workBranch: string | unknown;
|
|
7193
7207
|
outputJson: unknown;
|
|
7194
7208
|
evaluation: {
|
|
7195
7209
|
id: string;
|
|
@@ -7359,6 +7373,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7359
7373
|
acceptedByUserId: string | unknown;
|
|
7360
7374
|
acceptedAt: string | unknown;
|
|
7361
7375
|
acceptanceReason: string | unknown;
|
|
7376
|
+
workBranch: string | unknown;
|
|
7362
7377
|
outputJson: unknown;
|
|
7363
7378
|
evaluation: {
|
|
7364
7379
|
id: string;
|
|
@@ -7529,6 +7544,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7529
7544
|
acceptedByUserId: string | unknown;
|
|
7530
7545
|
acceptedAt: string | unknown;
|
|
7531
7546
|
acceptanceReason: string | unknown;
|
|
7547
|
+
workBranch: string | unknown;
|
|
7532
7548
|
outputJson: unknown;
|
|
7533
7549
|
evaluation: {
|
|
7534
7550
|
id: string;
|
|
@@ -7574,6 +7590,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7574
7590
|
status: 'succeeded' | 'failed';
|
|
7575
7591
|
resultJson: unknown;
|
|
7576
7592
|
errorJson: unknown;
|
|
7593
|
+
workBranch?: string | unknown;
|
|
7594
|
+
createdFromBranch?: string | unknown;
|
|
7577
7595
|
};
|
|
7578
7596
|
path: {
|
|
7579
7597
|
linearPipelineExecutionId: string;
|
|
@@ -7703,6 +7721,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7703
7721
|
acceptedByUserId: string | unknown;
|
|
7704
7722
|
acceptedAt: string | unknown;
|
|
7705
7723
|
acceptanceReason: string | unknown;
|
|
7724
|
+
workBranch: string | unknown;
|
|
7706
7725
|
outputJson: unknown;
|
|
7707
7726
|
evaluation: {
|
|
7708
7727
|
id: string;
|
|
@@ -7879,6 +7898,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7879
7898
|
acceptedByUserId: string | unknown;
|
|
7880
7899
|
acceptedAt: string | unknown;
|
|
7881
7900
|
acceptanceReason: string | unknown;
|
|
7901
|
+
workBranch: string | unknown;
|
|
7882
7902
|
outputJson: unknown;
|
|
7883
7903
|
evaluation: {
|
|
7884
7904
|
id: string;
|
|
@@ -8051,6 +8071,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8051
8071
|
acceptedByUserId: string | unknown;
|
|
8052
8072
|
acceptedAt: string | unknown;
|
|
8053
8073
|
acceptanceReason: string | unknown;
|
|
8074
|
+
workBranch: string | unknown;
|
|
8054
8075
|
outputJson: unknown;
|
|
8055
8076
|
evaluation: {
|
|
8056
8077
|
id: string;
|
|
@@ -8220,6 +8241,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8220
8241
|
acceptedByUserId: string | unknown;
|
|
8221
8242
|
acceptedAt: string | unknown;
|
|
8222
8243
|
acceptanceReason: string | unknown;
|
|
8244
|
+
workBranch: string | unknown;
|
|
8223
8245
|
outputJson: unknown;
|
|
8224
8246
|
evaluation: {
|
|
8225
8247
|
id: string;
|
|
@@ -8389,6 +8411,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8389
8411
|
acceptedByUserId: string | unknown;
|
|
8390
8412
|
acceptedAt: string | unknown;
|
|
8391
8413
|
acceptanceReason: string | unknown;
|
|
8414
|
+
workBranch: string | unknown;
|
|
8392
8415
|
outputJson: unknown;
|
|
8393
8416
|
evaluation: {
|
|
8394
8417
|
id: string;
|
|
@@ -8558,6 +8581,7 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
8558
8581
|
acceptedByUserId: string | unknown;
|
|
8559
8582
|
acceptedAt: string | unknown;
|
|
8560
8583
|
acceptanceReason: string | unknown;
|
|
8584
|
+
workBranch: string | unknown;
|
|
8561
8585
|
outputJson: unknown;
|
|
8562
8586
|
evaluation: {
|
|
8563
8587
|
id: string;
|
|
@@ -10992,6 +11016,7 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateR
|
|
|
10992
11016
|
prompt: string | unknown;
|
|
10993
11017
|
version: number;
|
|
10994
11018
|
kind: 'built_in' | 'user_defined';
|
|
11019
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
10995
11020
|
inputSchemaJson: unknown;
|
|
10996
11021
|
resultSchemaJson: unknown;
|
|
10997
11022
|
opencodeMcpJson: {
|