@boboddy/sdk 0.2.3-alpha → 0.2.4-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.
@@ -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") {} else {}
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
+ } else {}
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") {} else {}
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
+ } else {}
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") {} else {}
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
+ } else {}
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");
@@ -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,
@@ -140,6 +140,7 @@ declare const buildStepExecutionPlaneClient: (stepExecutions: StepExecutions) =>
140
140
  key: string;
141
141
  name: string;
142
142
  prompt: string;
143
+ executionMode: "workspace" | "no_workspace";
143
144
  resultSchemaJson: {
144
145
  [key: string]: unknown;
145
146
  } | unknown;
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": "0.2.3-alpha",
4
+ "version": "0.2.4-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"