@intuned/runtime 1.3.20 → 1.3.22

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 (102) hide show
  1. package/.claude/settings.local.json +1 -3
  2. package/bin/intuned +20 -2
  3. package/dist/commands/common/browserUtils.js +10 -1
  4. package/dist/common/launchBrowser.js +14 -2
  5. package/dist/vendor/runtime-interface.js +8 -9
  6. package/package.json +3 -3
  7. package/dist/commands/intuned-cli/commands/attempt.command.d.ts +0 -1
  8. package/dist/commands/intuned-cli/commands/attempt.command.js +0 -8
  9. package/dist/commands/intuned-cli/commands/attempt_api.command.d.ts +0 -1
  10. package/dist/commands/intuned-cli/commands/attempt_api.command.js +0 -30
  11. package/dist/commands/intuned-cli/commands/attempt_authsession.command.d.ts +0 -1
  12. package/dist/commands/intuned-cli/commands/attempt_authsession.command.js +0 -8
  13. package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.d.ts +0 -1
  14. package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.js +0 -19
  15. package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.d.ts +0 -1
  16. package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.js +0 -24
  17. package/dist/commands/intuned-cli/commands/authsession.command.d.ts +0 -1
  18. package/dist/commands/intuned-cli/commands/authsession.command.js +0 -8
  19. package/dist/commands/intuned-cli/commands/authsession_record.command.d.ts +0 -1
  20. package/dist/commands/intuned-cli/commands/authsession_record.command.js +0 -32
  21. package/dist/commands/intuned-cli/commands/authsession_scaffold.command.d.ts +0 -1
  22. package/dist/commands/intuned-cli/commands/authsession_scaffold.command.js +0 -16
  23. package/dist/commands/intuned-cli/commands/build.command.d.ts +0 -1
  24. package/dist/commands/intuned-cli/commands/build.command.js +0 -12
  25. package/dist/commands/intuned-cli/commands/command.d.ts +0 -2
  26. package/dist/commands/intuned-cli/commands/command.js +0 -9
  27. package/dist/commands/intuned-cli/commands/deploy.command.d.ts +0 -1
  28. package/dist/commands/intuned-cli/commands/deploy.command.js +0 -42
  29. package/dist/commands/intuned-cli/commands/index.d.ts +0 -18
  30. package/dist/commands/intuned-cli/commands/index.js +0 -203
  31. package/dist/commands/intuned-cli/commands/provision.command.d.ts +0 -13
  32. package/dist/commands/intuned-cli/commands/provision.command.js +0 -50
  33. package/dist/commands/intuned-cli/commands/run.command.d.ts +0 -1
  34. package/dist/commands/intuned-cli/commands/run.command.js +0 -8
  35. package/dist/commands/intuned-cli/commands/run_api.command.d.ts +0 -1
  36. package/dist/commands/intuned-cli/commands/run_api.command.js +0 -46
  37. package/dist/commands/intuned-cli/commands/run_authsession.command.d.ts +0 -35
  38. package/dist/commands/intuned-cli/commands/run_authsession.command.js +0 -17
  39. package/dist/commands/intuned-cli/commands/run_authsession_create.command.d.ts +0 -1
  40. package/dist/commands/intuned-cli/commands/run_authsession_create.command.js +0 -35
  41. package/dist/commands/intuned-cli/commands/run_authsession_update.command.d.ts +0 -1
  42. package/dist/commands/intuned-cli/commands/run_authsession_update.command.js +0 -35
  43. package/dist/commands/intuned-cli/commands/run_authsession_validate.command.d.ts +0 -1
  44. package/dist/commands/intuned-cli/commands/run_authsession_validate.command.js +0 -33
  45. package/dist/commands/intuned-cli/commands/types.d.ts +0 -39
  46. package/dist/commands/intuned-cli/commands/types.js +0 -33
  47. package/dist/commands/intuned-cli/constants/index.d.ts +0 -17
  48. package/dist/commands/intuned-cli/constants/index.js +0 -25
  49. package/dist/commands/intuned-cli/controller/__test__/api.test.js +0 -399
  50. package/dist/commands/intuned-cli/controller/__test__/authSession.test.js +0 -1061
  51. package/dist/commands/intuned-cli/controller/api.d.ts +0 -42
  52. package/dist/commands/intuned-cli/controller/api.js +0 -194
  53. package/dist/commands/intuned-cli/controller/authSession.d.ts +0 -209
  54. package/dist/commands/intuned-cli/controller/authSession.js +0 -425
  55. package/dist/commands/intuned-cli/controller/build.d.ts +0 -1
  56. package/dist/commands/intuned-cli/controller/build.js +0 -35
  57. package/dist/commands/intuned-cli/controller/deploy.d.ts +0 -5
  58. package/dist/commands/intuned-cli/controller/deploy.js +0 -317
  59. package/dist/commands/intuned-cli/controller/index.d.ts +0 -1
  60. package/dist/commands/intuned-cli/controller/index.js +0 -45
  61. package/dist/commands/intuned-cli/controller/provision.d.ts +0 -21
  62. package/dist/commands/intuned-cli/controller/provision.js +0 -299
  63. package/dist/commands/intuned-cli/controller/scaffold.d.ts +0 -1
  64. package/dist/commands/intuned-cli/controller/scaffold.js +0 -77
  65. package/dist/commands/intuned-cli/helpers/__test__/browser.test.js +0 -152
  66. package/dist/commands/intuned-cli/helpers/__test__/tracing.test.js +0 -41
  67. package/dist/commands/intuned-cli/helpers/api.d.ts +0 -3
  68. package/dist/commands/intuned-cli/helpers/api.js +0 -16
  69. package/dist/commands/intuned-cli/helpers/auth.d.ts +0 -46
  70. package/dist/commands/intuned-cli/helpers/auth.js +0 -147
  71. package/dist/commands/intuned-cli/helpers/backend.d.ts +0 -8
  72. package/dist/commands/intuned-cli/helpers/backend.js +0 -35
  73. package/dist/commands/intuned-cli/helpers/browser.d.ts +0 -14
  74. package/dist/commands/intuned-cli/helpers/browser.js +0 -93
  75. package/dist/commands/intuned-cli/helpers/context.d.ts +0 -3
  76. package/dist/commands/intuned-cli/helpers/context.js +0 -33
  77. package/dist/commands/intuned-cli/helpers/errors.d.ts +0 -16
  78. package/dist/commands/intuned-cli/helpers/errors.js +0 -44
  79. package/dist/commands/intuned-cli/helpers/index.d.ts +0 -12
  80. package/dist/commands/intuned-cli/helpers/index.js +0 -137
  81. package/dist/commands/intuned-cli/helpers/intunedJson.d.ts +0 -40
  82. package/dist/commands/intuned-cli/helpers/intunedJson.js +0 -20
  83. package/dist/commands/intuned-cli/helpers/prompts.d.ts +0 -3
  84. package/dist/commands/intuned-cli/helpers/prompts.js +0 -71
  85. package/dist/commands/intuned-cli/helpers/proxy.d.ts +0 -5
  86. package/dist/commands/intuned-cli/helpers/proxy.js +0 -23
  87. package/dist/commands/intuned-cli/helpers/terminal.d.ts +0 -5
  88. package/dist/commands/intuned-cli/helpers/terminal.js +0 -13
  89. package/dist/commands/intuned-cli/helpers/timeout.d.ts +0 -1
  90. package/dist/commands/intuned-cli/helpers/timeout.js +0 -23
  91. package/dist/commands/intuned-cli/helpers/traces.d.ts +0 -2
  92. package/dist/commands/intuned-cli/helpers/traces.js +0 -32
  93. package/dist/commands/intuned-cli/helpers/validation.d.ts +0 -2
  94. package/dist/commands/intuned-cli/helpers/validation.js +0 -14
  95. package/dist/commands/intuned-cli/helpers/wrapper.d.ts +0 -2
  96. package/dist/commands/intuned-cli/helpers/wrapper.js +0 -76
  97. package/dist/commands/intuned-cli/index.d.ts +0 -1
  98. package/dist/commands/intuned-cli/index.js +0 -16
  99. package/dist/commands/intuned-cli/main.d.ts +0 -1
  100. package/dist/commands/intuned-cli/main.js +0 -35
  101. package/dist/commands/intuned-cli/types.d.ts +0 -70
  102. package/dist/commands/intuned-cli/types.js +0 -22
@@ -1,70 +0,0 @@
1
- import { z } from "zod";
2
- declare const fileNodeSchema: z.ZodObject<{
3
- file: z.ZodObject<{
4
- contents: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
5
- }, "strip", z.ZodTypeAny, {
6
- contents: string | Uint8Array;
7
- }, {
8
- contents: string | Uint8Array;
9
- }>;
10
- }, "strip", z.ZodTypeAny, {
11
- file: {
12
- contents: string | Uint8Array;
13
- };
14
- }, {
15
- file: {
16
- contents: string | Uint8Array;
17
- };
18
- }>;
19
- export type FileNode = z.infer<typeof fileNodeSchema>;
20
- export type DirectoryNode = {
21
- directory: {
22
- [key: string]: FileNode | DirectoryNode;
23
- };
24
- };
25
- export declare const fileSystemTreeSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodType<DirectoryNode, z.ZodTypeDef, DirectoryNode>, z.ZodObject<{
26
- file: z.ZodObject<{
27
- contents: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
28
- }, "strip", z.ZodTypeAny, {
29
- contents: string | Uint8Array;
30
- }, {
31
- contents: string | Uint8Array;
32
- }>;
33
- }, "strip", z.ZodTypeAny, {
34
- file: {
35
- contents: string | Uint8Array;
36
- };
37
- }, {
38
- file: {
39
- contents: string | Uint8Array;
40
- };
41
- }>]>>;
42
- export type FileSystemTree = z.infer<typeof fileSystemTreeSchema>;
43
- export interface AuthCredentials {
44
- workspaceId: string;
45
- apiKey: string;
46
- }
47
- export declare enum ApiAuthSessionBehavior {
48
- PERFORM_CHECK_AND_REFRESH = "PERFORM_CHECK_AND_REFRESH",
49
- SKIP_CHECK_AND_REFRESH = "SKIP_CHECK_AND_REFRESH"
50
- }
51
- export declare const CHECK_FAILED_ERROR_MESSAGE = "AuthSession check failed";
52
- export type AuthSessionType = "API" | "MANUAL";
53
- export type AuthSessionMetadata = {
54
- createdAt: string;
55
- updatedAt: string;
56
- authSessionId: string;
57
- authSessionType: AuthSessionType;
58
- authSessionInput?: Record<string, any>;
59
- authSessionProxy?: string;
60
- recorderStartUrl?: string;
61
- recorderEndUrl?: string;
62
- };
63
- export interface SessionStorageState {
64
- origin: string;
65
- sessionStorage: {
66
- name: string;
67
- value: string;
68
- }[];
69
- }
70
- export {};
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.fileSystemTreeSchema = exports.CHECK_FAILED_ERROR_MESSAGE = exports.ApiAuthSessionBehavior = void 0;
7
- var _zod = require("zod");
8
- const fileNodeSchema = _zod.z.object({
9
- file: _zod.z.object({
10
- contents: _zod.z.union([_zod.z.string(), _zod.z.instanceof(Uint8Array)])
11
- })
12
- });
13
- const directoryNodeSchema = _zod.z.lazy(() => _zod.z.object({
14
- directory: fileSystemTreeSchema
15
- }));
16
- const fileSystemTreeSchema = exports.fileSystemTreeSchema = _zod.z.record(_zod.z.union([directoryNodeSchema, fileNodeSchema]));
17
- let ApiAuthSessionBehavior = exports.ApiAuthSessionBehavior = function (ApiAuthSessionBehavior) {
18
- ApiAuthSessionBehavior["PERFORM_CHECK_AND_REFRESH"] = "PERFORM_CHECK_AND_REFRESH";
19
- ApiAuthSessionBehavior["SKIP_CHECK_AND_REFRESH"] = "SKIP_CHECK_AND_REFRESH";
20
- return ApiAuthSessionBehavior;
21
- }({});
22
- const CHECK_FAILED_ERROR_MESSAGE = exports.CHECK_FAILED_ERROR_MESSAGE = "AuthSession check failed";