@intuned/runtime-dev 1.3.21-fix.0 → 1.3.22-dev.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 (108) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/bin/intuned +20 -2
  3. package/dist/commands/api/run.js +1 -1
  4. package/dist/commands/common/browserUtils.js +10 -1
  5. package/dist/common/launchBrowser.d.ts +7 -0
  6. package/dist/common/launchBrowser.js +34 -2
  7. package/dist/common/playwrightContext.d.ts +2 -0
  8. package/dist/common/playwrightContext.js +10 -4
  9. package/dist/common/runApi/index.js +2 -0
  10. package/dist/vendor/runtime-interface.js +4 -2
  11. package/package.json +3 -3
  12. package/.claude/settings.local.json +0 -7
  13. package/dist/commands/intuned-cli/commands/attempt.command.d.ts +0 -1
  14. package/dist/commands/intuned-cli/commands/attempt.command.js +0 -8
  15. package/dist/commands/intuned-cli/commands/attempt_api.command.d.ts +0 -1
  16. package/dist/commands/intuned-cli/commands/attempt_api.command.js +0 -30
  17. package/dist/commands/intuned-cli/commands/attempt_authsession.command.d.ts +0 -1
  18. package/dist/commands/intuned-cli/commands/attempt_authsession.command.js +0 -8
  19. package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.d.ts +0 -1
  20. package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.js +0 -19
  21. package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.d.ts +0 -1
  22. package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.js +0 -24
  23. package/dist/commands/intuned-cli/commands/authsession.command.d.ts +0 -1
  24. package/dist/commands/intuned-cli/commands/authsession.command.js +0 -8
  25. package/dist/commands/intuned-cli/commands/authsession_record.command.d.ts +0 -1
  26. package/dist/commands/intuned-cli/commands/authsession_record.command.js +0 -32
  27. package/dist/commands/intuned-cli/commands/authsession_scaffold.command.d.ts +0 -1
  28. package/dist/commands/intuned-cli/commands/authsession_scaffold.command.js +0 -16
  29. package/dist/commands/intuned-cli/commands/build.command.d.ts +0 -1
  30. package/dist/commands/intuned-cli/commands/build.command.js +0 -12
  31. package/dist/commands/intuned-cli/commands/command.d.ts +0 -2
  32. package/dist/commands/intuned-cli/commands/command.js +0 -9
  33. package/dist/commands/intuned-cli/commands/deploy.command.d.ts +0 -1
  34. package/dist/commands/intuned-cli/commands/deploy.command.js +0 -42
  35. package/dist/commands/intuned-cli/commands/index.d.ts +0 -18
  36. package/dist/commands/intuned-cli/commands/index.js +0 -203
  37. package/dist/commands/intuned-cli/commands/provision.command.d.ts +0 -13
  38. package/dist/commands/intuned-cli/commands/provision.command.js +0 -50
  39. package/dist/commands/intuned-cli/commands/run.command.d.ts +0 -1
  40. package/dist/commands/intuned-cli/commands/run.command.js +0 -8
  41. package/dist/commands/intuned-cli/commands/run_api.command.d.ts +0 -1
  42. package/dist/commands/intuned-cli/commands/run_api.command.js +0 -46
  43. package/dist/commands/intuned-cli/commands/run_authsession.command.d.ts +0 -35
  44. package/dist/commands/intuned-cli/commands/run_authsession.command.js +0 -17
  45. package/dist/commands/intuned-cli/commands/run_authsession_create.command.d.ts +0 -1
  46. package/dist/commands/intuned-cli/commands/run_authsession_create.command.js +0 -35
  47. package/dist/commands/intuned-cli/commands/run_authsession_update.command.d.ts +0 -1
  48. package/dist/commands/intuned-cli/commands/run_authsession_update.command.js +0 -35
  49. package/dist/commands/intuned-cli/commands/run_authsession_validate.command.d.ts +0 -1
  50. package/dist/commands/intuned-cli/commands/run_authsession_validate.command.js +0 -33
  51. package/dist/commands/intuned-cli/commands/types.d.ts +0 -39
  52. package/dist/commands/intuned-cli/commands/types.js +0 -33
  53. package/dist/commands/intuned-cli/constants/index.d.ts +0 -17
  54. package/dist/commands/intuned-cli/constants/index.js +0 -25
  55. package/dist/commands/intuned-cli/controller/__test__/api.test.js +0 -399
  56. package/dist/commands/intuned-cli/controller/__test__/authSession.test.js +0 -1061
  57. package/dist/commands/intuned-cli/controller/api.d.ts +0 -42
  58. package/dist/commands/intuned-cli/controller/api.js +0 -194
  59. package/dist/commands/intuned-cli/controller/authSession.d.ts +0 -209
  60. package/dist/commands/intuned-cli/controller/authSession.js +0 -425
  61. package/dist/commands/intuned-cli/controller/build.d.ts +0 -1
  62. package/dist/commands/intuned-cli/controller/build.js +0 -35
  63. package/dist/commands/intuned-cli/controller/deploy.d.ts +0 -5
  64. package/dist/commands/intuned-cli/controller/deploy.js +0 -317
  65. package/dist/commands/intuned-cli/controller/index.d.ts +0 -1
  66. package/dist/commands/intuned-cli/controller/index.js +0 -45
  67. package/dist/commands/intuned-cli/controller/provision.d.ts +0 -21
  68. package/dist/commands/intuned-cli/controller/provision.js +0 -299
  69. package/dist/commands/intuned-cli/controller/scaffold.d.ts +0 -1
  70. package/dist/commands/intuned-cli/controller/scaffold.js +0 -77
  71. package/dist/commands/intuned-cli/helpers/__test__/browser.test.js +0 -152
  72. package/dist/commands/intuned-cli/helpers/__test__/tracing.test.js +0 -41
  73. package/dist/commands/intuned-cli/helpers/api.d.ts +0 -3
  74. package/dist/commands/intuned-cli/helpers/api.js +0 -16
  75. package/dist/commands/intuned-cli/helpers/auth.d.ts +0 -46
  76. package/dist/commands/intuned-cli/helpers/auth.js +0 -147
  77. package/dist/commands/intuned-cli/helpers/backend.d.ts +0 -8
  78. package/dist/commands/intuned-cli/helpers/backend.js +0 -35
  79. package/dist/commands/intuned-cli/helpers/browser.d.ts +0 -14
  80. package/dist/commands/intuned-cli/helpers/browser.js +0 -93
  81. package/dist/commands/intuned-cli/helpers/context.d.ts +0 -3
  82. package/dist/commands/intuned-cli/helpers/context.js +0 -33
  83. package/dist/commands/intuned-cli/helpers/errors.d.ts +0 -16
  84. package/dist/commands/intuned-cli/helpers/errors.js +0 -44
  85. package/dist/commands/intuned-cli/helpers/index.d.ts +0 -12
  86. package/dist/commands/intuned-cli/helpers/index.js +0 -137
  87. package/dist/commands/intuned-cli/helpers/intunedJson.d.ts +0 -40
  88. package/dist/commands/intuned-cli/helpers/intunedJson.js +0 -20
  89. package/dist/commands/intuned-cli/helpers/prompts.d.ts +0 -3
  90. package/dist/commands/intuned-cli/helpers/prompts.js +0 -71
  91. package/dist/commands/intuned-cli/helpers/proxy.d.ts +0 -5
  92. package/dist/commands/intuned-cli/helpers/proxy.js +0 -23
  93. package/dist/commands/intuned-cli/helpers/terminal.d.ts +0 -5
  94. package/dist/commands/intuned-cli/helpers/terminal.js +0 -13
  95. package/dist/commands/intuned-cli/helpers/timeout.d.ts +0 -1
  96. package/dist/commands/intuned-cli/helpers/timeout.js +0 -23
  97. package/dist/commands/intuned-cli/helpers/traces.d.ts +0 -2
  98. package/dist/commands/intuned-cli/helpers/traces.js +0 -32
  99. package/dist/commands/intuned-cli/helpers/validation.d.ts +0 -2
  100. package/dist/commands/intuned-cli/helpers/validation.js +0 -14
  101. package/dist/commands/intuned-cli/helpers/wrapper.d.ts +0 -2
  102. package/dist/commands/intuned-cli/helpers/wrapper.js +0 -76
  103. package/dist/commands/intuned-cli/index.d.ts +0 -1
  104. package/dist/commands/intuned-cli/index.js +0 -16
  105. package/dist/commands/intuned-cli/main.d.ts +0 -1
  106. package/dist/commands/intuned-cli/main.js +0 -35
  107. package/dist/commands/intuned-cli/types.d.ts +0 -70
  108. 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";