@mutagent/sdk 0.8.2 → 0.8.4
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/commonjs/funcs/integrations-start-integration-source-pull.d.ts +1 -1
- package/dist/commonjs/funcs/integrations-start-integration-source-pull.js +1 -1
- package/dist/commonjs/funcs/reports-upload-report.d.ts +1 -1
- package/dist/commonjs/funcs/reports-upload-report.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/upload-report-request.d.ts +1 -1
- package/dist/commonjs/sdk/integrations.d.ts +1 -1
- package/dist/commonjs/sdk/integrations.js +1 -1
- package/dist/commonjs/sdk/reports.d.ts +1 -1
- package/dist/commonjs/sdk/reports.js +1 -1
- package/dist/esm/funcs/integrations-start-integration-source-pull.d.ts +1 -1
- package/dist/esm/funcs/integrations-start-integration-source-pull.js +1 -1
- package/dist/esm/funcs/reports-upload-report.d.ts +1 -1
- package/dist/esm/funcs/reports-upload-report.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/upload-report-request.d.ts +1 -1
- package/dist/esm/sdk/integrations.d.ts +1 -1
- package/dist/esm/sdk/integrations.js +1 -1
- package/dist/esm/sdk/reports.d.ts +1 -1
- package/dist/esm/sdk/reports.js +1 -1
- 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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
38
|
+
readonly sdkVersion: "0.8.4";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.8.4 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.
|
|
38
|
+
sdkVersion: "0.8.4",
|
|
39
39
|
genVersion: "2.938.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.8.4 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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));
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -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.
|
|
38
|
+
readonly sdkVersion: "0.8.4";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.8.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.8.4 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -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.
|
|
34
|
+
sdkVersion: "0.8.4",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.8.4 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
|
|
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
|
|
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
|
|
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
|
|
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
|
/**
|
package/dist/esm/sdk/reports.js
CHANGED
|
@@ -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
|
|
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));
|