@mutagent/sdk 0.8.33 → 0.8.35

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 (29) hide show
  1. package/dist/commonjs/funcs/helix-record-helix-install.d.ts +1 -1
  2. package/dist/commonjs/funcs/helix-record-helix-install.js +1 -1
  3. package/dist/commonjs/funcs/helix-sessions-restore-helix-session.d.ts +1 -1
  4. package/dist/commonjs/funcs/helix-sessions-restore-helix-session.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/operations/record-helix-install.d.ts +10 -0
  8. package/dist/commonjs/models/operations/record-helix-install.d.ts.map +1 -1
  9. package/dist/commonjs/models/operations/record-helix-install.js +2 -0
  10. package/dist/commonjs/models/operations/record-helix-install.js.map +1 -1
  11. package/dist/commonjs/sdk/helix-sessions.d.ts +1 -1
  12. package/dist/commonjs/sdk/helix-sessions.js +1 -1
  13. package/dist/commonjs/sdk/helix.d.ts +1 -1
  14. package/dist/commonjs/sdk/helix.js +1 -1
  15. package/dist/esm/funcs/helix-record-helix-install.d.ts +1 -1
  16. package/dist/esm/funcs/helix-record-helix-install.js +1 -1
  17. package/dist/esm/funcs/helix-sessions-restore-helix-session.d.ts +1 -1
  18. package/dist/esm/funcs/helix-sessions-restore-helix-session.js +1 -1
  19. package/dist/esm/lib/config.d.ts +2 -2
  20. package/dist/esm/lib/config.js +2 -2
  21. package/dist/esm/models/operations/record-helix-install.d.ts +10 -0
  22. package/dist/esm/models/operations/record-helix-install.d.ts.map +1 -1
  23. package/dist/esm/models/operations/record-helix-install.js +2 -0
  24. package/dist/esm/models/operations/record-helix-install.js.map +1 -1
  25. package/dist/esm/sdk/helix-sessions.d.ts +1 -1
  26. package/dist/esm/sdk/helix-sessions.js +1 -1
  27. package/dist/esm/sdk/helix.d.ts +1 -1
  28. package/dist/esm/sdk/helix.js +1 -1
  29. package/package.json +1 -1
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Record a package install (telemetry)
13
13
  *
14
14
  * @remarks
15
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
15
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
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
  * Record a package install (telemetry)
53
53
  *
54
54
  * @remarks
55
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
55
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
56
56
  *
57
57
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
58
58
  */
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Restore a session from a checkpoint
14
14
  *
15
15
  * @remarks
16
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
16
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
17
17
  *
18
18
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -53,7 +53,7 @@ const async_js_1 = require("../types/async.js");
53
53
  * Restore a session from a checkpoint
54
54
  *
55
55
  * @remarks
56
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
56
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
57
57
  *
58
58
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
59
59
  */
@@ -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.33";
38
+ readonly sdkVersion: "0.8.35";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.33 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.35 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.33",
38
+ sdkVersion: "0.8.35",
39
39
  genVersion: "2.938.0",
40
- userAgent: "speakeasy-sdk/typescript 0.8.33 2.938.0 2.0.0 @mutagent/sdk",
40
+ userAgent: "speakeasy-sdk/typescript 0.8.35 2.938.0 2.0.0 @mutagent/sdk",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -29,6 +29,14 @@ export type RecordHelixInstallRequest = {
29
29
  * Version of the CLI that performed the install
30
30
  */
31
31
  cliVersion?: string | undefined;
32
+ /**
33
+ * True when the install ran in CI
34
+ */
35
+ ci?: boolean | undefined;
36
+ /**
37
+ * True when the install came from the MutagenT team
38
+ */
39
+ internal?: boolean | undefined;
32
40
  };
33
41
  /**
34
42
  * Install telemetry acknowledgement
@@ -47,6 +55,8 @@ export type RecordHelixInstallRequest$Outbound = {
47
55
  channel?: string | undefined;
48
56
  platform?: string | undefined;
49
57
  cliVersion?: string | undefined;
58
+ ci?: boolean | undefined;
59
+ internal?: boolean | undefined;
50
60
  };
51
61
  /** @internal */
52
62
  export declare const RecordHelixInstallRequest$outboundSchema: z.ZodMiniType<RecordHelixInstallRequest$Outbound, RecordHelixInstallRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"record-helix-install.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAQzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAGP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
1
+ {"version":3,"file":"record-helix-install.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCA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eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAGP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -50,6 +50,8 @@ exports.RecordHelixInstallRequest$outboundSchema = z.object({
50
50
  channel: z.optional(z.string()),
51
51
  platform: z.optional(z.string()),
52
52
  cliVersion: z.optional(z.string()),
53
+ ci: z.optional(z.boolean()),
54
+ internal: z.optional(z.boolean()),
53
55
  });
54
56
  function recordHelixInstallRequestToJSON(recordHelixInstallRequest) {
55
57
  return JSON.stringify(exports.RecordHelixInstallRequest$outboundSchema.parse(recordHelixInstallRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"record-helix-install.js","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,0EAMC;AAUD,gFAQC;AA7FD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAqDnD,gBAAgB;AACH,QAAA,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACnC,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAA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C,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -55,7 +55,7 @@ export declare class HelixSessions extends ClientSDK {
55
55
  * Restore a session from a checkpoint
56
56
  *
57
57
  * @remarks
58
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
58
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
59
59
  */
60
60
  restoreHelixSession(request: operations.RestoreHelixSessionRequest, options?: RequestOptions): Promise<models.HelixSessionRestoreResult>;
61
61
  /**
@@ -85,7 +85,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
85
85
  * Restore a session from a checkpoint
86
86
  *
87
87
  * @remarks
88
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
88
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
89
89
  */
90
90
  async restoreHelixSession(request, options) {
91
91
  return (0, fp_js_1.unwrapAsync)((0, helix_sessions_restore_helix_session_js_1.helixSessionsRestoreHelixSession)(this, request, options));
@@ -5,7 +5,7 @@ export declare class Helix extends ClientSDK {
5
5
  * Record a package install (telemetry)
6
6
  *
7
7
  * @remarks
8
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
8
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
9
9
  */
10
10
  recordHelixInstall(request: operations.RecordHelixInstallRequest, options?: RequestOptions): Promise<operations.RecordHelixInstallResponse>;
11
11
  /**
@@ -13,7 +13,7 @@ class Helix extends sdks_js_1.ClientSDK {
13
13
  * Record a package install (telemetry)
14
14
  *
15
15
  * @remarks
16
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
16
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
17
17
  */
18
18
  async recordHelixInstall(request, options) {
19
19
  return (0, fp_js_1.unwrapAsync)((0, helix_record_helix_install_js_1.helixRecordHelixInstall)(this, request, options));
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Record a package install (telemetry)
13
13
  *
14
14
  * @remarks
15
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
15
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
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
  * Record a package install (telemetry)
17
17
  *
18
18
  * @remarks
19
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
19
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
20
20
  *
21
21
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
22
22
  */
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Restore a session from a checkpoint
14
14
  *
15
15
  * @remarks
16
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
16
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
17
17
  *
18
18
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * Restore a session from a checkpoint
18
18
  *
19
19
  * @remarks
20
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
20
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
21
21
  *
22
22
  * If set, this operation will use {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -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.33";
38
+ readonly sdkVersion: "0.8.35";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.33 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.35 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.33",
34
+ sdkVersion: "0.8.35",
35
35
  genVersion: "2.938.0",
36
- userAgent: "speakeasy-sdk/typescript 0.8.33 2.938.0 2.0.0 @mutagent/sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.8.35 2.938.0 2.0.0 @mutagent/sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -29,6 +29,14 @@ export type RecordHelixInstallRequest = {
29
29
  * Version of the CLI that performed the install
30
30
  */
31
31
  cliVersion?: string | undefined;
32
+ /**
33
+ * True when the install ran in CI
34
+ */
35
+ ci?: boolean | undefined;
36
+ /**
37
+ * True when the install came from the MutagenT team
38
+ */
39
+ internal?: boolean | undefined;
32
40
  };
33
41
  /**
34
42
  * Install telemetry acknowledgement
@@ -47,6 +55,8 @@ export type RecordHelixInstallRequest$Outbound = {
47
55
  channel?: string | undefined;
48
56
  platform?: string | undefined;
49
57
  cliVersion?: string | undefined;
58
+ ci?: boolean | undefined;
59
+ internal?: boolean | undefined;
50
60
  };
51
61
  /** @internal */
52
62
  export declare const RecordHelixInstallRequest$outboundSchema: z.ZodMiniType<RecordHelixInstallRequest$Outbound, RecordHelixInstallRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"record-helix-install.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9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MjE"}
1
+ {"version":3,"file":"record-helix-install.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,EAAE,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAUzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAGP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -12,6 +12,8 @@ export const RecordHelixInstallRequest$outboundSchema = z.object({
12
12
  channel: z.optional(z.string()),
13
13
  platform: z.optional(z.string()),
14
14
  cliVersion: z.optional(z.string()),
15
+ ci: z.optional(z.boolean()),
16
+ internal: z.optional(z.boolean()),
15
17
  });
16
18
  export function recordHelixInstallRequestToJSON(recordHelixInstallRequest) {
17
19
  return JSON.stringify(RecordHelixInstallRequest$outboundSchema.parse(recordHelixInstallRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"record-helix-install.js","sourceRoot":"","sources":["../../../../src/models/operations/record-helix-install.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAqDnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,OAAO,EAAE,CAAC,CAAC,Q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,MAAM,EAAE,CAAC;IAC/B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,KAAK,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -55,7 +55,7 @@ export declare class HelixSessions extends ClientSDK {
55
55
  * Restore a session from a checkpoint
56
56
  *
57
57
  * @remarks
58
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
58
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
59
59
  */
60
60
  restoreHelixSession(request: operations.RestoreHelixSessionRequest, options?: RequestOptions): Promise<models.HelixSessionRestoreResult>;
61
61
  /**
@@ -82,7 +82,7 @@ export class HelixSessions extends ClientSDK {
82
82
  * Restore a session from a checkpoint
83
83
  *
84
84
  * @remarks
85
- * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent is refused with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED`.
85
+ * Rebuilds the session's sandbox from a checkpoint and starts a new session; the response carries the new session reference. The old sandbox does not need to exist. Same body as `POST /api/sandbox/{id}/restore`. A session that ran a managed agent restores with the same revision re-staged and its environment rebuilt. It is refused with 409 `MANAGED_AGENT_REVISION_UNAVAILABLE`, `MANAGED_AGENT_SLOT_UNAVAILABLE`, `MANAGED_AGENT_SLOT_RETIRED` or `MANAGED_AGENT_ARCHIVED`, or 404 `AGENT_NOT_FOUND`, when the revision, the slot or the agent is gone, retired or archived, and with 409 `MANAGED_AGENT_RESTORE_UNSUPPORTED` when its checkpoint predates the agent record.
86
86
  */
87
87
  async restoreHelixSession(request, options) {
88
88
  return unwrapAsync(helixSessionsRestoreHelixSession(this, request, options));
@@ -5,7 +5,7 @@ export declare class Helix extends ClientSDK {
5
5
  * Record a package install (telemetry)
6
6
  *
7
7
  * @remarks
8
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
8
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
9
9
  */
10
10
  recordHelixInstall(request: operations.RecordHelixInstallRequest, options?: RequestOptions): Promise<operations.RecordHelixInstallResponse>;
11
11
  /**
@@ -10,7 +10,7 @@ export class Helix extends ClientSDK {
10
10
  * Record a package install (telemetry)
11
11
  *
12
12
  * @remarks
13
- * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion for an authenticated user and emits the package.install activation event.
13
+ * Best-effort install telemetry for any MutagenT package (helix, diagnostics, evaluator). Records pkg/version/harness/channel/platform/cliVersion and the optional ci/internal flags for an authenticated user and emits the package.install activation event.
14
14
  */
15
15
  async recordHelixInstall(request, options) {
16
16
  return unwrapAsync(helixRecordHelixInstall(this, request, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutagent/sdk",
3
- "version": "0.8.33",
3
+ "version": "0.8.35",
4
4
  "author": "Speakeasy",
5
5
  "tshy": {
6
6
  "sourceDialects": [