@mutagent/sdk 0.8.3 → 0.8.5

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.
Files changed (31) hide show
  1. package/dist/commonjs/funcs/integrations-start-integration-source-pull.d.ts +1 -1
  2. package/dist/commonjs/funcs/integrations-start-integration-source-pull.js +1 -1
  3. package/dist/commonjs/funcs/reports-upload-report.d.ts +1 -1
  4. package/dist/commonjs/funcs/reports-upload-report.js +1 -1
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/models/upload-report-request.d.ts +1 -1
  8. package/dist/commonjs/sdk/integrations.d.ts +1 -1
  9. package/dist/commonjs/sdk/integrations.js +1 -1
  10. package/dist/commonjs/sdk/reports.d.ts +1 -1
  11. package/dist/commonjs/sdk/reports.js +1 -1
  12. package/dist/commonjs/types/primitives.d.ts +2 -2
  13. package/dist/commonjs/types/primitives.d.ts.map +1 -1
  14. package/dist/commonjs/types/primitives.js +28 -11
  15. package/dist/commonjs/types/primitives.js.map +1 -1
  16. package/dist/esm/funcs/integrations-start-integration-source-pull.d.ts +1 -1
  17. package/dist/esm/funcs/integrations-start-integration-source-pull.js +1 -1
  18. package/dist/esm/funcs/reports-upload-report.d.ts +1 -1
  19. package/dist/esm/funcs/reports-upload-report.js +1 -1
  20. package/dist/esm/lib/config.d.ts +2 -2
  21. package/dist/esm/lib/config.js +2 -2
  22. package/dist/esm/models/upload-report-request.d.ts +1 -1
  23. package/dist/esm/sdk/integrations.d.ts +1 -1
  24. package/dist/esm/sdk/integrations.js +1 -1
  25. package/dist/esm/sdk/reports.d.ts +1 -1
  26. package/dist/esm/sdk/reports.js +1 -1
  27. package/dist/esm/types/primitives.d.ts +2 -2
  28. package/dist/esm/types/primitives.d.ts.map +1 -1
  29. package/dist/esm/types/primitives.js +28 -11
  30. package/dist/esm/types/primitives.js.map +1 -1
  31. package/package.json +1 -1
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Pull a trace source into UniTF
14
14
  *
15
15
  * @remarks
16
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
16
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -53,7 +53,7 @@ const async_js_1 = require("../types/async.js");
53
53
  * Pull a trace source into UniTF
54
54
  *
55
55
  * @remarks
56
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
56
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
57
57
  *
58
58
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
59
59
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Upload a published run report
13
13
  *
14
14
  * @remarks
15
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
15
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
52
52
  * Upload a published run report
53
53
  *
54
54
  * @remarks
55
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
55
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
56
56
  *
57
57
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
58
58
  */
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "2.0.0";
38
- readonly sdkVersion: "0.8.3";
38
+ readonly sdkVersion: "0.8.5";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.3 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.5 2.938.0 2.0.0 @mutagent/sdk";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
35
35
  exports.SDK_METADATA = {
36
36
  language: "typescript",
37
37
  openapiDocVersion: "2.0.0",
38
- sdkVersion: "0.8.3",
38
+ sdkVersion: "0.8.5",
39
39
  genVersion: "2.938.0",
40
- userAgent: "speakeasy-sdk/typescript 0.8.3 2.938.0 2.0.0 @mutagent/sdk",
40
+ userAgent: "speakeasy-sdk/typescript 0.8.5 2.938.0 2.0.0 @mutagent/sdk",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -29,7 +29,7 @@ export type UploadReportRequest = {
29
29
  */
30
30
  title: string;
31
31
  /**
32
- * The client-safe HTML produced by `helix-cli report publish`. It must carry exactly one <meta name="mutagent-report-published" content="redacted|assume-sanitized"> marker (publish stamps it); without it the upload answers 422 REPORT_NOT_PUBLISHED. Stored as-is and served only from GET /reports/{id}/html under Content-Security-Policy: sandbox.
32
+ * The client-safe HTML of a report produced by a Helix run. It must carry exactly one <meta name="mutagent-report-published" content="redacted|assume-sanitized"> marker (Helix stamps it when it publishes the report); without it the upload answers 422 REPORT_NOT_PUBLISHED. Stored as-is and served only from GET /reports/{id}/html under Content-Security-Policy: sandbox.
33
33
  */
34
34
  html: string;
35
35
  /**
@@ -41,7 +41,7 @@ export declare class Integrations extends ClientSDK {
41
41
  * Pull a trace source into UniTF
42
42
  *
43
43
  * @remarks
44
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
44
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
45
45
  */
46
46
  startIntegrationSourcePull(request: operations.StartIntegrationSourcePullRequest, options?: RequestOptions): Promise<models.IntegrationSourcePull>;
47
47
  /**
@@ -66,7 +66,7 @@ class Integrations extends sdks_js_1.ClientSDK {
66
66
  * Pull a trace source into UniTF
67
67
  *
68
68
  * @remarks
69
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
69
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
70
70
  */
71
71
  async startIntegrationSourcePull(request, options) {
72
72
  return (0, fp_js_1.unwrapAsync)((0, integrations_start_integration_source_pull_js_1.integrationsStartIntegrationSourcePull)(this, request, options));
@@ -6,7 +6,7 @@ export declare class Reports extends ClientSDK {
6
6
  * Upload a published run report
7
7
  *
8
8
  * @remarks
9
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
9
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
10
10
  */
11
11
  uploadReport(request: models.UploadReportRequest, options?: RequestOptions): Promise<models.UploadReportResponse>;
12
12
  /**
@@ -23,7 +23,7 @@ class Reports extends sdks_js_1.ClientSDK {
23
23
  * Upload a published run report
24
24
  *
25
25
  * @remarks
26
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
26
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
27
27
  */
28
28
  async uploadReport(request, options) {
29
29
  return (0, fp_js_1.unwrapAsync)((0, reports_upload_report_js_1.reportsUploadReport)(this, request, options));
@@ -4,6 +4,6 @@ export declare function boolean(): z.ZodMiniType<boolean>;
4
4
  export declare function number(): z.ZodMiniType<number>;
5
5
  export declare function date(): z.ZodMiniType<Date>;
6
6
  export declare function literal<T extends string | number | boolean>(value: T): z.ZodMiniType<T>;
7
- export declare function optional<T extends z.ZodMiniType>(t: T): z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<never, null>>, T]>>;
8
- export declare function nullable<T extends z.ZodMiniType>(t: T): z.ZodMiniUnion<readonly [z.ZodMiniNull, z.ZodMiniPipe<z.ZodMiniUndefined, z.ZodMiniTransform<never, undefined>>, T]>;
7
+ export declare function optional<T extends z.ZodMiniType>(t: T): z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniUndefined, z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<never, null>>, T]>>;
8
+ export declare function nullable<T extends z.ZodMiniType>(t: T): z.ZodMiniDefault<z.ZodMiniUnion<readonly [z.ZodMiniNull, z.ZodMiniPipe<z.ZodMiniUndefined, z.ZodMiniTransform<never, undefined>>, T]>>;
9
9
  //# sourceMappingURL=primitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAU9C;AAED,wBAAgB,OAAO,IAAI,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAuBhD;AAED,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAyB9C;AAED,wBAAgB,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CA0B1C;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,EACzD,KAAK,EAAE,CAAC,GACP,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAElB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,kHAMrD;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,wHAQrD"}
1
+ {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAsBjC,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAU9C;AAED,wBAAgB,OAAO,IAAI,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAuBhD;AAED,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAyB9C;AAED,wBAAgB,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CA0B1C;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,EACzD,KAAK,EAAE,CAAC,GACP,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAElB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,sIAUrD;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,0IAQrD"}
@@ -46,17 +46,31 @@ exports.nullable = nullable;
46
46
  const z = __importStar(require("zod/v4-mini"));
47
47
  const default_to_zero_value_js_1 = require("./default-to-zero-value.js");
48
48
  const unrecognized_js_1 = require("./unrecognized.js");
49
+ /**
50
+ * Added by mutagent-sdk/scripts/post-generate.ts (B048), not by Speakeasy.
51
+ *
52
+ * A lax field the server leaves out reads as its zero value. The unions below
53
+ * already map `undefined` to it, but from zod 4.4 an object never runs a
54
+ * field's schema for an absent key unless that schema accepts absence; it
55
+ * reports `nonoptional` instead. `z._default` marks the field as accepting
56
+ * absence, and its getter calls defaultToZeroValue, as the union branch does,
57
+ * so union scoring counts the substitution exactly as before. Present values
58
+ * still go through the union unchanged.
59
+ */
60
+ function absentAsZero(schema, zero) {
61
+ return z._default(schema, zero);
62
+ }
49
63
  function string() {
50
- return z.union([
64
+ return absentAsZero(z.union([
51
65
  z.string(),
52
66
  // Null or undefined -> ""
53
67
  zodDefaultToZeroValue(""),
54
68
  // Any other value -> String(x)
55
69
  z.pipe(z.any(), z.transform((x) => (0, unrecognized_js_1.unrecognized)(JSON.stringify(x)))),
56
- ]);
70
+ ]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(""));
57
71
  }
58
72
  function boolean() {
59
- return z.union([
73
+ return absentAsZero(z.union([
60
74
  z.boolean(),
61
75
  // String "true" (case insensitive) -> true, "false" -> false
62
76
  z.pipe(z.string(), z.transform((x, ctx) => {
@@ -74,10 +88,10 @@ function boolean() {
74
88
  return z.NEVER;
75
89
  })),
76
90
  zodDefaultToZeroValue(false),
77
- ]);
91
+ ]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(false));
78
92
  }
79
93
  function number() {
80
- return z.union([
94
+ return absentAsZero(z.union([
81
95
  z.number(),
82
96
  // String -> Number
83
97
  z.pipe(z.string(), z.transform((x, ctx) => {
@@ -95,10 +109,10 @@ function number() {
95
109
  })),
96
110
  // Null or undefined -> 0
97
111
  zodDefaultToZeroValue(0),
98
- ]);
112
+ ]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(0));
99
113
  }
100
114
  function date() {
101
- return z.union([
115
+ return absentAsZero(z.union([
102
116
  z.pipe(z.pipe(z.union([z.string(), zodDefaultToZeroValue(0)]), z.transform((x) => new Date(x))), z.date()),
103
117
  z.pipe(z.number(), z.transform((x, ctx) => {
104
118
  const date = new Date(x);
@@ -113,25 +127,28 @@ function date() {
113
127
  }
114
128
  return (0, unrecognized_js_1.unrecognized)(date);
115
129
  })),
116
- ]);
130
+ ]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(new Date(0)));
117
131
  }
118
132
  function literal(value) {
119
- return z.union([z.literal(value), zodDefaultToZeroValue(value)]);
133
+ return absentAsZero(z.union([z.literal(value), zodDefaultToZeroValue(value)]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(value));
120
134
  }
121
135
  function optional(t) {
122
136
  return z.optional(z.union([
137
+ // Absent or undefined stays undefined (B048, added by post-generate):
138
+ // without this, z.optional would run t, which turns absence into t's zero value.
139
+ z.undefined(),
123
140
  // Null -> undefined
124
141
  z.pipe(z.null(), z.transform(() => (0, unrecognized_js_1.unrecognized)(undefined))),
125
142
  t,
126
143
  ]));
127
144
  }
128
145
  function nullable(t) {
129
- return z.union([
146
+ return absentAsZero(z.union([
130
147
  z.null(),
131
148
  // Undefined -> null
132
149
  z.pipe(z.undefined(), z.transform(() => (0, default_to_zero_value_js_1.defaultToZeroValue)(null))),
133
150
  t,
134
- ]);
151
+ ]), () => (0, default_to_zero_value_js_1.defaultToZeroValue)(null));
135
152
  }
136
153
  function zodDefaultToZeroValue(value) {
137
154
  return z.pipe(z.any(), z.transform((input, ctx) => {
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.js","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,wBAUC;AAED,0BAuBC;AAED,wBAyBC;AAED,oBA0BC;AAED,0BAIC;AAED,4BAMC;AAED,4BAQC;AAtHD,+CAAiC;AACjC,yEAAgE;AAChE,uDAAiD;AAEjD,SAAgB,MAAM;IACpB,OAAO,CAAC,CAAC,KAAK,CAAC;QACb,CAAC,CAAC,MAAM,EAAE;QAEV,0BAA0B;QAC1B,qBAAqB,CAAC,EAAE,CAAC;QAEzB,+BAA+B;QAC/B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,8BAAY,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACrE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,OAAO;IAC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* Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
16
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * Pull a trace source into UniTF
18
18
  *
19
19
  * @remarks
20
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
20
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
21
21
  *
22
22
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Upload a published run report
13
13
  *
14
14
  * @remarks
15
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
15
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
16
16
  * Upload a published run report
17
17
  *
18
18
  * @remarks
19
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
19
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
20
20
  *
21
21
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
22
22
  */
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "2.0.0";
38
- readonly sdkVersion: "0.8.3";
38
+ readonly sdkVersion: "0.8.5";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.3 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.5 2.938.0 2.0.0 @mutagent/sdk";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
31
31
  export const SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "2.0.0",
34
- sdkVersion: "0.8.3",
34
+ sdkVersion: "0.8.5",
35
35
  genVersion: "2.938.0",
36
- userAgent: "speakeasy-sdk/typescript 0.8.3 2.938.0 2.0.0 @mutagent/sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.8.5 2.938.0 2.0.0 @mutagent/sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -29,7 +29,7 @@ export type UploadReportRequest = {
29
29
  */
30
30
  title: string;
31
31
  /**
32
- * The client-safe HTML produced by `helix-cli report publish`. It must carry exactly one <meta name="mutagent-report-published" content="redacted|assume-sanitized"> marker (publish stamps it); without it the upload answers 422 REPORT_NOT_PUBLISHED. Stored as-is and served only from GET /reports/{id}/html under Content-Security-Policy: sandbox.
32
+ * The client-safe HTML of a report produced by a Helix run. It must carry exactly one <meta name="mutagent-report-published" content="redacted|assume-sanitized"> marker (Helix stamps it when it publishes the report); without it the upload answers 422 REPORT_NOT_PUBLISHED. Stored as-is and served only from GET /reports/{id}/html under Content-Security-Policy: sandbox.
33
33
  */
34
34
  html: string;
35
35
  /**
@@ -41,7 +41,7 @@ export declare class Integrations extends ClientSDK {
41
41
  * Pull a trace source into UniTF
42
42
  *
43
43
  * @remarks
44
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
44
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
45
45
  */
46
46
  startIntegrationSourcePull(request: operations.StartIntegrationSourcePullRequest, options?: RequestOptions): Promise<models.IntegrationSourcePull>;
47
47
  /**
@@ -63,7 +63,7 @@ export class Integrations extends ClientSDK {
63
63
  * Pull a trace source into UniTF
64
64
  *
65
65
  * @remarks
66
- * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files helix-cli trace fetch --export would write. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
66
+ * Starts a pull (202, running) of the window into UniTF JSONL plus a unitf@0.1 manifest, the files a Helix /discover export writes. Poll the pull; once it has succeeded, read its traces and manifest. A throttled or failing source still succeeds, marked truncated with the cause and complete: false. One running pull per source (409).
67
67
  */
68
68
  async startIntegrationSourcePull(request, options) {
69
69
  return unwrapAsync(integrationsStartIntegrationSourcePull(this, request, options));
@@ -6,7 +6,7 @@ export declare class Reports extends ClientSDK {
6
6
  * Upload a published run report
7
7
  *
8
8
  * @remarks
9
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
9
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
10
10
  */
11
11
  uploadReport(request: models.UploadReportRequest, options?: RequestOptions): Promise<models.UploadReportResponse>;
12
12
  /**
@@ -20,7 +20,7 @@ export class Reports extends ClientSDK {
20
20
  * Upload a published run report
21
21
  *
22
22
  * @remarks
23
- * Stores a report produced by `helix-cli report publish`. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
23
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box.
24
24
  */
25
25
  async uploadReport(request, options) {
26
26
  return unwrapAsync(reportsUploadReport(this, request, options));
@@ -4,6 +4,6 @@ export declare function boolean(): z.ZodMiniType<boolean>;
4
4
  export declare function number(): z.ZodMiniType<number>;
5
5
  export declare function date(): z.ZodMiniType<Date>;
6
6
  export declare function literal<T extends string | number | boolean>(value: T): z.ZodMiniType<T>;
7
- export declare function optional<T extends z.ZodMiniType>(t: T): z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<never, null>>, T]>>;
8
- export declare function nullable<T extends z.ZodMiniType>(t: T): z.ZodMiniUnion<readonly [z.ZodMiniNull, z.ZodMiniPipe<z.ZodMiniUndefined, z.ZodMiniTransform<never, undefined>>, T]>;
7
+ export declare function optional<T extends z.ZodMiniType>(t: T): z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniUndefined, z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<never, null>>, T]>>;
8
+ export declare function nullable<T extends z.ZodMiniType>(t: T): z.ZodMiniDefault<z.ZodMiniUnion<readonly [z.ZodMiniNull, z.ZodMiniPipe<z.ZodMiniUndefined, z.ZodMiniTransform<never, undefined>>, T]>>;
9
9
  //# sourceMappingURL=primitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAU9C;AAED,wBAAgB,OAAO,IAAI,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAuBhD;AAED,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAyB9C;AAED,wBAAgB,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CA0B1C;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,EACzD,KAAK,EAAE,CAAC,GACP,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAElB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,kHAMrD;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,wHAQrD"}
1
+ {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAsBjC,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAU9C;AAED,wBAAgB,OAAO,IAAI,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAuBhD;AAED,wBAAgB,MAAM,IAAI,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAyB9C;AAED,wBAAgB,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CA0B1C;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,EACzD,KAAK,EAAE,CAAC,GACP,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAElB;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,sIAUrD;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,0IAQrD"}
@@ -4,17 +4,31 @@
4
4
  import * as z from "zod/v4-mini";
5
5
  import { defaultToZeroValue } from "./default-to-zero-value.js";
6
6
  import { unrecognized } from "./unrecognized.js";
7
+ /**
8
+ * Added by mutagent-sdk/scripts/post-generate.ts (B048), not by Speakeasy.
9
+ *
10
+ * A lax field the server leaves out reads as its zero value. The unions below
11
+ * already map `undefined` to it, but from zod 4.4 an object never runs a
12
+ * field's schema for an absent key unless that schema accepts absence; it
13
+ * reports `nonoptional` instead. `z._default` marks the field as accepting
14
+ * absence, and its getter calls defaultToZeroValue, as the union branch does,
15
+ * so union scoring counts the substitution exactly as before. Present values
16
+ * still go through the union unchanged.
17
+ */
18
+ function absentAsZero(schema, zero) {
19
+ return z._default(schema, zero);
20
+ }
7
21
  export function string() {
8
- return z.union([
22
+ return absentAsZero(z.union([
9
23
  z.string(),
10
24
  // Null or undefined -> ""
11
25
  zodDefaultToZeroValue(""),
12
26
  // Any other value -> String(x)
13
27
  z.pipe(z.any(), z.transform((x) => unrecognized(JSON.stringify(x)))),
14
- ]);
28
+ ]), () => defaultToZeroValue(""));
15
29
  }
16
30
  export function boolean() {
17
- return z.union([
31
+ return absentAsZero(z.union([
18
32
  z.boolean(),
19
33
  // String "true" (case insensitive) -> true, "false" -> false
20
34
  z.pipe(z.string(), z.transform((x, ctx) => {
@@ -32,10 +46,10 @@ export function boolean() {
32
46
  return z.NEVER;
33
47
  })),
34
48
  zodDefaultToZeroValue(false),
35
- ]);
49
+ ]), () => defaultToZeroValue(false));
36
50
  }
37
51
  export function number() {
38
- return z.union([
52
+ return absentAsZero(z.union([
39
53
  z.number(),
40
54
  // String -> Number
41
55
  z.pipe(z.string(), z.transform((x, ctx) => {
@@ -53,10 +67,10 @@ export function number() {
53
67
  })),
54
68
  // Null or undefined -> 0
55
69
  zodDefaultToZeroValue(0),
56
- ]);
70
+ ]), () => defaultToZeroValue(0));
57
71
  }
58
72
  export function date() {
59
- return z.union([
73
+ return absentAsZero(z.union([
60
74
  z.pipe(z.pipe(z.union([z.string(), zodDefaultToZeroValue(0)]), z.transform((x) => new Date(x))), z.date()),
61
75
  z.pipe(z.number(), z.transform((x, ctx) => {
62
76
  const date = new Date(x);
@@ -71,25 +85,28 @@ export function date() {
71
85
  }
72
86
  return unrecognized(date);
73
87
  })),
74
- ]);
88
+ ]), () => defaultToZeroValue(new Date(0)));
75
89
  }
76
90
  export function literal(value) {
77
- return z.union([z.literal(value), zodDefaultToZeroValue(value)]);
91
+ return absentAsZero(z.union([z.literal(value), zodDefaultToZeroValue(value)]), () => defaultToZeroValue(value));
78
92
  }
79
93
  export function optional(t) {
80
94
  return z.optional(z.union([
95
+ // Absent or undefined stays undefined (B048, added by post-generate):
96
+ // without this, z.optional would run t, which turns absence into t's zero value.
97
+ z.undefined(),
81
98
  // Null -> undefined
82
99
  z.pipe(z.null(), z.transform(() => unrecognized(undefined))),
83
100
  t,
84
101
  ]));
85
102
  }
86
103
  export function nullable(t) {
87
- return z.union([
104
+ return absentAsZero(z.union([
88
105
  z.null(),
89
106
  // Undefined -> null
90
107
  z.pipe(z.undefined(), z.transform(() => defaultToZeroValue(null))),
91
108
  t,
92
- ]);
109
+ ]), () => defaultToZeroValue(null));
93
110
  }
94
111
  function zodDefaultToZeroValue(value) {
95
112
  return z.pipe(z.any(), z.transform((input, ctx) => {
@@ -1 +1 @@
1
- {"version":3,"file":"primitives.js","sourceRoot":"","sources":["../../../src/types/primitives.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,UAAU,MAAM;IACpB,OAAO,CAAC,CAAC,KAAK,CAAC;QACb,CAAC,CAAC,MAAM,EAAE;QAEV,0BAA0B;QAC1B,qBAAqB,CAAC,EAAE,CAAC;QAEzB,+BAA+B;QAC/B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACrE,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,OAAO;IACrB,OAAO,CAAC,CAAC,KAAK,CAAC;QACb,CAAC,CAAC,OAAO,EAAE;QAEX,6DAA6D;QAC7D,CAAC,CAAC,IAAI,CACJ,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;YACrB,MAAM,KAAK,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;YAC9B,IAAI,KAAK,KAAK,MAAM;gBAAE,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;YAChD,IAAI,KAAK,KAAK,OAAO;gBAAE,OAAO,YAAY,CAAC,KAAK,CAAC,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