@intuned/runtime 1.3.10 → 1.3.12

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 (230) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bin/intuned-get-headless-user-agent +4 -0
  3. package/dist/commands/get-headless-user-agent.js +18 -0
  4. package/dist/commands/intuned-cli/commands/attempt_api.command.js +1 -1
  5. package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.js +1 -1
  6. package/dist/commands/intuned-cli/commands/run_api.command.js +1 -1
  7. package/dist/commands/intuned-cli/controller/authSession.d.ts +12 -12
  8. package/dist/commands/intuned-cli/controller/deploy.d.ts +1 -0
  9. package/dist/commands/intuned-cli/controller/deploy.js +143 -6
  10. package/dist/commands/intuned-cli/controller/save.d.ts +4 -1
  11. package/dist/commands/intuned-cli/controller/save.js +8 -2
  12. package/dist/commands/intuned-cli/helpers/auth.d.ts +2 -2
  13. package/dist/commands/intuned-cli/helpers/backend.js +1 -1
  14. package/dist/commands/intuned-cli/helpers/errors.d.ts +4 -1
  15. package/dist/commands/intuned-cli/helpers/errors.js +10 -3
  16. package/dist/commands/intuned-cli/helpers/intunedJson.d.ts +23 -53
  17. package/dist/commands/intuned-cli/helpers/intunedJson.js +12 -63
  18. package/dist/commands/intuned-cli/helpers/wrapper.js +5 -0
  19. package/dist/common/binStartupScript.js +8 -5
  20. package/dist/common/intunedJson.d.ts +229 -0
  21. package/{package/dist/commands/intuned-cli/helpers → dist/common}/intunedJson.js +74 -12
  22. package/dist/common/launchBrowser.d.ts +6 -0
  23. package/dist/common/launchBrowser.js +39 -16
  24. package/dist/common/runApi/index.js +5 -1
  25. package/dist/common/runApi/types.d.ts +40 -40
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +6 -0
  28. package/dist/runtime/attemptStore.d.ts +2 -2
  29. package/dist/runtime/export.d.ts +69 -13
  30. package/dist/runtime/index.d.ts +1 -0
  31. package/dist/runtime/index.js +7 -0
  32. package/dist/runtime/persistentStore.d.ts +2 -0
  33. package/dist/runtime/persistentStore.js +37 -0
  34. package/dist/runtime/persistentStore.test.js +101 -0
  35. package/package.json +15 -12
  36. package/package/dist/commands/api/run.d.ts +0 -6
  37. package/package/dist/commands/api/run.js +0 -123
  38. package/package/dist/commands/auth-sessions/load.d.ts +0 -2
  39. package/package/dist/commands/auth-sessions/load.js +0 -35
  40. package/package/dist/commands/auth-sessions/run-check.d.ts +0 -2
  41. package/package/dist/commands/auth-sessions/run-check.js +0 -74
  42. package/package/dist/commands/auth-sessions/run-create.d.ts +0 -2
  43. package/package/dist/commands/auth-sessions/run-create.js +0 -78
  44. package/package/dist/commands/browser/save-state.d.ts +0 -2
  45. package/package/dist/commands/browser/save-state.js +0 -17
  46. package/package/dist/commands/browser/start-browser.d.ts +0 -2
  47. package/package/dist/commands/browser/start-browser.js +0 -14
  48. package/package/dist/commands/build.js +0 -84
  49. package/package/dist/commands/common/browserUtils.d.ts +0 -14
  50. package/package/dist/commands/common/browserUtils.js +0 -58
  51. package/package/dist/commands/common/getFirstLineNumber.d.ts +0 -9
  52. package/package/dist/commands/common/getFirstLineNumber.js +0 -101
  53. package/package/dist/commands/common/getFirstLineNumber.test.js +0 -228
  54. package/package/dist/commands/common/projectExclusions.d.ts +0 -2
  55. package/package/dist/commands/common/projectExclusions.js +0 -8
  56. package/package/dist/commands/common/sendMessageToClient.d.ts +0 -1
  57. package/package/dist/commands/common/sendMessageToClient.js +0 -10
  58. package/package/dist/commands/common/tsNodeImport.d.ts +0 -2
  59. package/package/dist/commands/common/tsNodeImport.js +0 -34
  60. package/package/dist/commands/common/utils/fileUtils.d.ts +0 -6
  61. package/package/dist/commands/common/utils/fileUtils.js +0 -33
  62. package/package/dist/commands/common/utils/settings.d.ts +0 -2
  63. package/package/dist/commands/common/utils/settings.js +0 -31
  64. package/package/dist/commands/common/utils/template.d.ts +0 -2
  65. package/package/dist/commands/common/utils/template.js +0 -31
  66. package/package/dist/commands/common/utils/unixSocket.d.ts +0 -9
  67. package/package/dist/commands/common/utils/unixSocket.js +0 -44
  68. package/package/dist/commands/interface/run.d.ts +0 -1
  69. package/package/dist/commands/interface/run.js +0 -216
  70. package/package/dist/commands/intuned-cli/commands/attempt.command.d.ts +0 -1
  71. package/package/dist/commands/intuned-cli/commands/attempt.command.js +0 -8
  72. package/package/dist/commands/intuned-cli/commands/attempt_api.command.d.ts +0 -1
  73. package/package/dist/commands/intuned-cli/commands/attempt_api.command.js +0 -30
  74. package/package/dist/commands/intuned-cli/commands/attempt_authsession.command.d.ts +0 -1
  75. package/package/dist/commands/intuned-cli/commands/attempt_authsession.command.js +0 -8
  76. package/package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.d.ts +0 -1
  77. package/package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.js +0 -19
  78. package/package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.d.ts +0 -1
  79. package/package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.js +0 -24
  80. package/package/dist/commands/intuned-cli/commands/authsession.command.d.ts +0 -1
  81. package/package/dist/commands/intuned-cli/commands/authsession.command.js +0 -8
  82. package/package/dist/commands/intuned-cli/commands/authsession_record.command.d.ts +0 -1
  83. package/package/dist/commands/intuned-cli/commands/authsession_record.command.js +0 -31
  84. package/package/dist/commands/intuned-cli/commands/build.command.d.ts +0 -1
  85. package/package/dist/commands/intuned-cli/commands/build.command.js +0 -12
  86. package/package/dist/commands/intuned-cli/commands/command.d.ts +0 -2
  87. package/package/dist/commands/intuned-cli/commands/command.js +0 -9
  88. package/package/dist/commands/intuned-cli/commands/deploy.command.d.ts +0 -1
  89. package/package/dist/commands/intuned-cli/commands/deploy.command.js +0 -38
  90. package/package/dist/commands/intuned-cli/commands/index.d.ts +0 -18
  91. package/package/dist/commands/intuned-cli/commands/index.js +0 -203
  92. package/package/dist/commands/intuned-cli/commands/init.command.d.ts +0 -1
  93. package/package/dist/commands/intuned-cli/commands/init.command.js +0 -13
  94. package/package/dist/commands/intuned-cli/commands/run.command.d.ts +0 -1
  95. package/package/dist/commands/intuned-cli/commands/run.command.js +0 -8
  96. package/package/dist/commands/intuned-cli/commands/run_api.command.d.ts +0 -1
  97. package/package/dist/commands/intuned-cli/commands/run_api.command.js +0 -46
  98. package/package/dist/commands/intuned-cli/commands/run_authsession.command.d.ts +0 -28
  99. package/package/dist/commands/intuned-cli/commands/run_authsession.command.js +0 -17
  100. package/package/dist/commands/intuned-cli/commands/run_authsession_create.command.d.ts +0 -1
  101. package/package/dist/commands/intuned-cli/commands/run_authsession_create.command.js +0 -35
  102. package/package/dist/commands/intuned-cli/commands/run_authsession_update.command.d.ts +0 -1
  103. package/package/dist/commands/intuned-cli/commands/run_authsession_update.command.js +0 -35
  104. package/package/dist/commands/intuned-cli/commands/run_authsession_validate.command.d.ts +0 -1
  105. package/package/dist/commands/intuned-cli/commands/run_authsession_validate.command.js +0 -33
  106. package/package/dist/commands/intuned-cli/commands/save.command.d.ts +0 -13
  107. package/package/dist/commands/intuned-cli/commands/save.command.js +0 -42
  108. package/package/dist/commands/intuned-cli/commands/types.d.ts +0 -31
  109. package/package/dist/commands/intuned-cli/commands/types.js +0 -29
  110. package/package/dist/commands/intuned-cli/constants/index.d.ts +0 -17
  111. package/package/dist/commands/intuned-cli/constants/index.js +0 -25
  112. package/package/dist/commands/intuned-cli/controller/__test__/api.test.js +0 -397
  113. package/package/dist/commands/intuned-cli/controller/__test__/authSession.test.js +0 -1059
  114. package/package/dist/commands/intuned-cli/controller/api.d.ts +0 -42
  115. package/package/dist/commands/intuned-cli/controller/api.js +0 -189
  116. package/package/dist/commands/intuned-cli/controller/authSession.d.ts +0 -209
  117. package/package/dist/commands/intuned-cli/controller/authSession.js +0 -420
  118. package/package/dist/commands/intuned-cli/controller/build.d.ts +0 -1
  119. package/package/dist/commands/intuned-cli/controller/build.js +0 -36
  120. package/package/dist/commands/intuned-cli/controller/deploy.d.ts +0 -4
  121. package/package/dist/commands/intuned-cli/controller/deploy.js +0 -139
  122. package/package/dist/commands/intuned-cli/controller/index.d.ts +0 -1
  123. package/package/dist/commands/intuned-cli/controller/index.js +0 -46
  124. package/package/dist/commands/intuned-cli/controller/save.d.ts +0 -14
  125. package/package/dist/commands/intuned-cli/controller/save.js +0 -345
  126. package/package/dist/commands/intuned-cli/helpers/__test__/browser.test.js +0 -103
  127. package/package/dist/commands/intuned-cli/helpers/__test__/tracing.test.js +0 -40
  128. package/package/dist/commands/intuned-cli/helpers/api.d.ts +0 -3
  129. package/package/dist/commands/intuned-cli/helpers/api.js +0 -19
  130. package/package/dist/commands/intuned-cli/helpers/auth.d.ts +0 -46
  131. package/package/dist/commands/intuned-cli/helpers/auth.js +0 -144
  132. package/package/dist/commands/intuned-cli/helpers/backend.d.ts +0 -8
  133. package/package/dist/commands/intuned-cli/helpers/backend.js +0 -27
  134. package/package/dist/commands/intuned-cli/helpers/browser.d.ts +0 -14
  135. package/package/dist/commands/intuned-cli/helpers/browser.js +0 -57
  136. package/package/dist/commands/intuned-cli/helpers/context.d.ts +0 -3
  137. package/package/dist/commands/intuned-cli/helpers/context.js +0 -33
  138. package/package/dist/commands/intuned-cli/helpers/errors.d.ts +0 -13
  139. package/package/dist/commands/intuned-cli/helpers/errors.js +0 -37
  140. package/package/dist/commands/intuned-cli/helpers/index.d.ts +0 -12
  141. package/package/dist/commands/intuned-cli/helpers/index.js +0 -137
  142. package/package/dist/commands/intuned-cli/helpers/intunedJson.d.ts +0 -69
  143. package/package/dist/commands/intuned-cli/helpers/proxy.d.ts +0 -5
  144. package/package/dist/commands/intuned-cli/helpers/proxy.js +0 -23
  145. package/package/dist/commands/intuned-cli/helpers/terminal.d.ts +0 -5
  146. package/package/dist/commands/intuned-cli/helpers/terminal.js +0 -13
  147. package/package/dist/commands/intuned-cli/helpers/timeout.d.ts +0 -1
  148. package/package/dist/commands/intuned-cli/helpers/timeout.js +0 -23
  149. package/package/dist/commands/intuned-cli/helpers/traces.d.ts +0 -2
  150. package/package/dist/commands/intuned-cli/helpers/traces.js +0 -32
  151. package/package/dist/commands/intuned-cli/helpers/validation.d.ts +0 -2
  152. package/package/dist/commands/intuned-cli/helpers/validation.js +0 -14
  153. package/package/dist/commands/intuned-cli/helpers/wrapper.d.ts +0 -2
  154. package/package/dist/commands/intuned-cli/helpers/wrapper.js +0 -60
  155. package/package/dist/commands/intuned-cli/index.d.ts +0 -1
  156. package/package/dist/commands/intuned-cli/index.js +0 -16
  157. package/package/dist/commands/intuned-cli/main.d.ts +0 -1
  158. package/package/dist/commands/intuned-cli/main.js +0 -22
  159. package/package/dist/commands/intuned-cli/types.d.ts +0 -41
  160. package/package/dist/commands/intuned-cli/types.js +0 -12
  161. package/package/dist/commands/ts-check.d.ts +0 -2
  162. package/package/dist/commands/ts-check.js +0 -56
  163. package/package/dist/common/Logger/Logger/index.d.ts +0 -12
  164. package/package/dist/common/Logger/Logger/index.js +0 -60
  165. package/package/dist/common/Logger/Logger/types.d.ts +0 -8
  166. package/package/dist/common/Logger/Logger/types.js +0 -5
  167. package/package/dist/common/Logger/index.d.ts +0 -12
  168. package/package/dist/common/Logger/index.js +0 -60
  169. package/package/dist/common/Logger/types.d.ts +0 -8
  170. package/package/dist/common/Logger/types.js +0 -5
  171. package/package/dist/common/assets/browser_scripts.js +0 -2580
  172. package/package/dist/common/asyncLocalStorage/index.d.ts +0 -16
  173. package/package/dist/common/asyncLocalStorage/index.js +0 -17
  174. package/package/dist/common/backendFunctions/getAuthSessionParameters.d.ts +0 -1
  175. package/package/dist/common/backendFunctions/getAuthSessionParameters.js +0 -38
  176. package/package/dist/common/cleanEnvironmentVariables.d.ts +0 -1
  177. package/package/dist/common/cleanEnvironmentVariables.js +0 -16
  178. package/package/dist/common/constants.d.ts +0 -10
  179. package/package/dist/common/constants.js +0 -16
  180. package/package/dist/common/contextStorageStateHelpers.d.ts +0 -21
  181. package/package/dist/common/contextStorageStateHelpers.js +0 -81
  182. package/package/dist/common/extensionsHelpers.d.ts +0 -8
  183. package/package/dist/common/extensionsHelpers.js +0 -80
  184. package/package/dist/common/formatZodError.d.ts +0 -2
  185. package/package/dist/common/formatZodError.js +0 -18
  186. package/package/dist/common/jwtTokenManager.d.ts +0 -17
  187. package/package/dist/common/jwtTokenManager.js +0 -109
  188. package/package/dist/common/launchBrowser.d.ts +0 -25
  189. package/package/dist/common/launchBrowser.js +0 -172
  190. package/package/dist/common/playwrightContext.d.ts +0 -31
  191. package/package/dist/common/playwrightContext.js +0 -144
  192. package/package/dist/common/runApi/errors.d.ts +0 -72
  193. package/package/dist/common/runApi/errors.js +0 -169
  194. package/package/dist/common/runApi/importUsingImportFunction.d.ts +0 -9
  195. package/package/dist/common/runApi/importUsingImportFunction.js +0 -46
  196. package/package/dist/common/runApi/index.d.ts +0 -11
  197. package/package/dist/common/runApi/index.js +0 -199
  198. package/package/dist/common/runApi/types.d.ts +0 -830
  199. package/package/dist/common/runApi/types.js +0 -73
  200. package/package/dist/common/settingsSchema.d.ts +0 -518
  201. package/package/dist/common/settingsSchema.js +0 -57
  202. package/package/dist/common/setupContextHook.d.ts +0 -17
  203. package/package/dist/common/setupContextHook.js +0 -22
  204. package/package/dist/common/telemetry.d.ts +0 -3
  205. package/package/dist/common/telemetry.js +0 -32
  206. package/package/dist/index.d.ts +0 -4
  207. package/package/dist/index.js +0 -69
  208. package/package/dist/runtime/RunError.d.ts +0 -5
  209. package/package/dist/runtime/RunError.js +0 -19
  210. package/package/dist/runtime/attemptStore.d.ts +0 -2
  211. package/package/dist/runtime/attemptStore.js +0 -23
  212. package/package/dist/runtime/downloadDirectory.d.ts +0 -1
  213. package/package/dist/runtime/downloadDirectory.js +0 -19
  214. package/package/dist/runtime/enums.d.js +0 -5
  215. package/package/dist/runtime/enums.d.ts +0 -11
  216. package/package/dist/runtime/enums.js +0 -18
  217. package/package/dist/runtime/executionHelpers.test.js +0 -52
  218. package/package/dist/runtime/export.d.js +0 -5
  219. package/package/dist/runtime/export.d.ts +0 -228
  220. package/package/dist/runtime/extendPayload.d.ts +0 -2
  221. package/package/dist/runtime/extendPayload.js +0 -21
  222. package/package/dist/runtime/extendTimeout.d.ts +0 -1
  223. package/package/dist/runtime/extendTimeout.js +0 -23
  224. package/package/dist/runtime/getAuthSessionParameters.d.ts +0 -1
  225. package/package/dist/runtime/getAuthSessionParameters.js +0 -20
  226. package/package/dist/runtime/index.d.ts +0 -7
  227. package/package/dist/runtime/index.js +0 -54
  228. package/package/dist/runtime/runInfo.d.ts +0 -2
  229. package/package/dist/runtime/runInfo.js +0 -21
  230. /package/{package/dist/commands/build.d.ts → dist/commands/get-headless-user-agent.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # UNRELEASED
2
2
 
3
+ -
4
+
5
+ # 1.3.11
6
+
7
+ - Deployment flow enhancements
8
+
9
+ <!----------------------------------------------------------->
10
+
3
11
  # 1.3.0
12
+
4
13
  - Limit Automation response size to 2MB at MAX.
5
14
 
6
15
  # 1.2.0
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ require("../dist/common/binStartupScript.js");
4
+ require("../dist/commands/get-headless-user-agent.js");
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ var _commander = require("commander");
4
+ var _dotenv = _interopRequireDefault(require("dotenv"));
5
+ var _launchBrowser = require("../common/launchBrowser");
6
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7
+ _dotenv.default.config();
8
+ _commander.program.description("get headless user agent").action(async () => {
9
+ try {
10
+ console.log(await (0, _launchBrowser.getHeadlessUserAgent)({
11
+ executablePath: await (0, _launchBrowser.getBrowserExecutablePath)()
12
+ }));
13
+ } catch (error) {
14
+ console.error("Error getting headless user agent:", error);
15
+ process.exit(1);
16
+ }
17
+ });
18
+ _commander.program.parse(process.argv);
@@ -15,7 +15,7 @@ const optionsSchema = _types.baseCommandOptionsSchema.extend({
15
15
  authSession: _zod.z.string().optional(),
16
16
  outputFile: _zod.z.string().optional()
17
17
  });
18
- const attemptApiCommand = exports.attemptApiCommand = (0, _types.withBaseOptions)(_attempt.attemptCommand.command("api").description("Execute an Intuned API attempt with parameters").argument("<api-name>", "Name of the API to run").argument("<parameters>", "Path to the JSON file containing API parameters OR the parameters as a JSON string").option("-a, --auth-session <id>", "ID of the auth session to use for the API. This is expected to be in ./auth-session-instances/<id>.json").option("-o, --output-file <path>", "output file path")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([apiName, parameters], {
18
+ const attemptApiCommand = exports.attemptApiCommand = (0, _types.withBaseOptions)(_attempt.attemptCommand.command("api").description("Execute an Intuned API attempt with parameters").argument("<api-name>", "Name of the API to run").argument("<parameters>", "Path to the JSON file containing API parameters OR the parameters as a JSON string").option("-a, --auth-session <id>", "ID of the auth session to use for the API. This is expected to be in ./auth-sessions-instances/<id>.json").option("-o, --output-file <path>", "output file path")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([apiName, parameters], {
19
19
  authSession,
20
20
  ...rest
21
21
  }) => {
@@ -14,7 +14,7 @@ const argsSchema = _zod.z.tuple([_zod.z.string().min(1, "Parameters are required
14
14
  const optionsSchema = _types.baseCommandOptionsSchema.extend({
15
15
  id: _zod.z.string().optional()
16
16
  });
17
- const attemptAuthSessionCreateCommand = exports.attemptAuthSessionCreateCommand = (0, _types.withBaseOptions)(_attempt_authsession.attemptAuthSessionCommand.command("create").description("Create a new auth session").argument("<parameters>", "Parameters for the auth session command").option("--id <id>", "ID of the auth session to use for the command. Defaults to ./auth-session-instances/[current timestamp].json")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([parameters], options) => {
17
+ const attemptAuthSessionCreateCommand = exports.attemptAuthSessionCreateCommand = (0, _types.withBaseOptions)(_attempt_authsession.attemptAuthSessionCommand.command("create").description("Create a new auth session").argument("<parameters>", "Parameters for the auth session command").option("--id <id>", "ID of the auth session to use for the command. Defaults to ./auth-sessions-instances/[current timestamp].json")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([parameters], options) => {
18
18
  await (0, _helpers.assertAuthEnabled)();
19
19
  const authSessionInput = (await (0, _controller.loadParameters)(parameters)) ?? {};
20
20
  await (0, _authSession.executeAttemptCreateAuthSessionCLI)({
@@ -19,7 +19,7 @@ const optionsSchema = _types.baseCommandOptionsSchema.extend({
19
19
  authSessionCheckAttempts: _types.authSessionCheckAttemptsSchema,
20
20
  authSessionCreateAttempts: _types.authSessionCreateAttemptsSchema
21
21
  });
22
- const runApiCommand = exports.runApiCommand = (0, _types.withBaseOptions)(_run.runCommand.command("api").description("Execute an Intuned API run with parameters").argument("<api-name>", "Name of the API to run").argument("<parameters>", "Path to the JSON file containing API parameters OR the parameters as a JSON string").option("-a, --auth-session <id>", "ID of the auth session to use for the API. This is expected to be in ./auth-session-instances/<id>").option("--retries <number>", "Number of retries for the API call", "1").option("--no-auth-session-auto-recreate", "disable auto recreate for auth session").option("--auth-session-check-attempts <number>", "auth session check attempts", "1").option("--auth-session-create-attempts <number>", "auth session create attempts", "1").option("-o, --output-file <path>", "output file path")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([apiName, parameters], {
22
+ const runApiCommand = exports.runApiCommand = (0, _types.withBaseOptions)(_run.runCommand.command("api").description("Execute an Intuned API run with parameters").argument("<api-name>", "Name of the API to run").argument("<parameters>", "Path to the JSON file containing API parameters OR the parameters as a JSON string").option("-a, --auth-session <id>", "ID of the auth session to use for the API. This is expected to be in ./auth-sessions-instances/<id>").option("--retries <number>", "Number of retries for the API call", "1").option("--no-auth-session-auto-recreate", "disable auto recreate for auth session").option("--auth-session-check-attempts <number>", "auth session check attempts", "1").option("--auth-session-create-attempts <number>", "auth session create attempts", "1").option("-o, --output-file <path>", "output file path")).action((0, _helpers.cliCommandWrapper)(argsSchema, optionsSchema, async ([apiName, parameters], {
23
23
  retries,
24
24
  outputFile,
25
25
  authSession,
@@ -16,9 +16,9 @@ export declare function executeRunCreateAuthSessionCLI({ id, input, checkRetries
16
16
  metadata?: AuthSessionMetadata;
17
17
  } & BaseCommandOptions): Promise<{
18
18
  cookies: {
19
+ path: string;
19
20
  value: string;
20
21
  name: string;
21
- path: string;
22
22
  domain: string;
23
23
  expires: number;
24
24
  httpOnly: boolean;
@@ -33,11 +33,11 @@ export declare function executeRunCreateAuthSessionCLI({ id, input, checkRetries
33
33
  }[];
34
34
  }[];
35
35
  sessionStorage?: {
36
+ origin: string;
36
37
  sessionStorage: {
37
38
  value: string;
38
39
  name: string;
39
40
  }[];
40
- origin: string;
41
41
  }[] | undefined;
42
42
  }>;
43
43
  export declare function executeRunUpdateAuthSessionCLI({ id, input, checkRetries, createRetries, ...rest }: {
@@ -47,9 +47,9 @@ export declare function executeRunUpdateAuthSessionCLI({ id, input, checkRetries
47
47
  createRetries: number;
48
48
  } & BaseCommandOptions): Promise<{
49
49
  cookies: {
50
+ path: string;
50
51
  value: string;
51
52
  name: string;
52
- path: string;
53
53
  domain: string;
54
54
  expires: number;
55
55
  httpOnly: boolean;
@@ -64,11 +64,11 @@ export declare function executeRunUpdateAuthSessionCLI({ id, input, checkRetries
64
64
  }[];
65
65
  }[];
66
66
  sessionStorage?: {
67
+ origin: string;
67
68
  sessionStorage: {
68
69
  value: string;
69
70
  name: string;
70
71
  }[];
71
- origin: string;
72
72
  }[] | undefined;
73
73
  }>;
74
74
  export declare function executeAttemptCreateAuthSessionCLI({ id, input, ...rest }: {
@@ -76,9 +76,9 @@ export declare function executeAttemptCreateAuthSessionCLI({ id, input, ...rest
76
76
  input: any;
77
77
  } & BaseCommandOptions): Promise<{
78
78
  cookies: {
79
+ path: string;
79
80
  value: string;
80
81
  name: string;
81
- path: string;
82
82
  domain: string;
83
83
  expires: number;
84
84
  httpOnly: boolean;
@@ -93,20 +93,20 @@ export declare function executeAttemptCreateAuthSessionCLI({ id, input, ...rest
93
93
  }[];
94
94
  }[];
95
95
  sessionStorage?: {
96
+ origin: string;
96
97
  sessionStorage: {
97
98
  value: string;
98
99
  name: string;
99
100
  }[];
100
- origin: string;
101
101
  }[] | undefined;
102
102
  }>;
103
103
  export declare function executeAttemptCheckAuthSessionCLI({ id, ...rest }: {
104
104
  id: string;
105
105
  } & BaseCommandOptions): Promise<{
106
106
  cookies: {
107
+ path: string;
107
108
  value: string;
108
109
  name: string;
109
- path: string;
110
110
  domain: string;
111
111
  expires: number;
112
112
  httpOnly: boolean;
@@ -121,11 +121,11 @@ export declare function executeAttemptCheckAuthSessionCLI({ id, ...rest }: {
121
121
  }[];
122
122
  }[];
123
123
  sessionStorage?: {
124
+ origin: string;
124
125
  sessionStorage: {
125
126
  value: string;
126
127
  name: string;
127
128
  }[];
128
- origin: string;
129
129
  }[] | undefined;
130
130
  }>;
131
131
  declare function runCheck({ auth, proxy, headless, timeout, traceId, keepBrowserOpen, cdpUrl, }: {
@@ -138,9 +138,9 @@ declare function runCreate({ authSessionInput, proxy, headless, timeout, traceId
138
138
  traceId?: string;
139
139
  } & Omit<BaseCommandOptions, "trace">): Promise<{
140
140
  cookies: {
141
+ path: string;
141
142
  value: string;
142
143
  name: string;
143
- path: string;
144
144
  domain: string;
145
145
  expires: number;
146
146
  httpOnly: boolean;
@@ -155,11 +155,11 @@ declare function runCreate({ authSessionInput, proxy, headless, timeout, traceId
155
155
  }[];
156
156
  }[];
157
157
  sessionStorage?: {
158
+ origin: string;
158
159
  sessionStorage: {
159
160
  value: string;
160
161
  name: string;
161
162
  }[];
162
- origin: string;
163
163
  }[] | undefined;
164
164
  }>;
165
165
  export declare const _runCreate: typeof runCreate;
@@ -175,9 +175,9 @@ declare function runCreateWithRetries({ authSessionId, authSessionInput, retries
175
175
  metadata?: AuthSessionMetadata;
176
176
  } & BaseCommandOptions): Promise<{
177
177
  cookies: {
178
+ path: string;
178
179
  value: string;
179
180
  name: string;
180
- path: string;
181
181
  domain: string;
182
182
  expires: number;
183
183
  httpOnly: boolean;
@@ -192,11 +192,11 @@ declare function runCreateWithRetries({ authSessionId, authSessionInput, retries
192
192
  }[];
193
193
  }[];
194
194
  sessionStorage?: {
195
+ origin: string;
195
196
  sessionStorage: {
196
197
  value: string;
197
198
  name: string;
198
199
  }[];
199
- origin: string;
200
200
  }[] | undefined;
201
201
  }>;
202
202
  export declare const _runCreateWithRetries: typeof runCreateWithRetries;
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import type { AuthCredentials } from "../types";
3
+ export declare const START_RUN_INPUT_QUERY_PARAM_KEY = "startRunInput";
3
4
  export declare function runDeployProject(projectName: string, auth: AuthCredentials): Promise<void>;
4
5
  export declare const projectNameSchema: z.ZodEffects<z.ZodString, string, string>;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.projectNameSchema = void 0;
6
+ exports.projectNameSchema = exports.START_RUN_INPUT_QUERY_PARAM_KEY = void 0;
7
7
  exports.runDeployProject = runDeployProject;
8
8
  var _zod = require("zod");
9
9
  var _constants = require("../constants");
@@ -13,9 +13,22 @@ var _promises = require("timers/promises");
13
13
  var _ms = _interopRequireDefault(require("ms"));
14
14
  var _save = require("./save");
15
15
  var _constants2 = require("../../../common/constants");
16
+ var _path = _interopRequireDefault(require("path"));
17
+ var fs = _interopRequireWildcard(require("fs-extra"));
18
+ var _prompts = _interopRequireDefault(require("prompts"));
19
+ var _terminalLink = _interopRequireDefault(require("terminal-link"));
20
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
22
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
23
+ const START_RUN_INPUT_QUERY_PARAM_KEY = exports.START_RUN_INPUT_QUERY_PARAM_KEY = "startRunInput";
17
24
  async function runDeployProject(projectName, auth) {
18
- await (0, _save.runSaveProject)(projectName, auth);
25
+ const result = await (0, _save.runSaveProject)(projectName, auth);
26
+ const enableFirstRunExperience = result?.enableFirstRunExperience ?? false;
27
+ let firstRunExperienceInput = undefined;
28
+ const settings = await (0, _helpers.loadIntunedJson)();
29
+ if (enableFirstRunExperience) {
30
+ firstRunExperienceInput = await promptFirstRunExperience(settings);
31
+ }
19
32
  const {
20
33
  workspaceId,
21
34
  apiKey
@@ -28,7 +41,10 @@ async function runDeployProject(projectName, auth) {
28
41
  };
29
42
  const response = await fetch(url, {
30
43
  headers,
31
- method: "POST"
44
+ method: "POST",
45
+ body: JSON.stringify({
46
+ firstRunExperienceInput
47
+ })
32
48
  });
33
49
  if (!response.ok) {
34
50
  if (response.status === 401) {
@@ -85,8 +101,40 @@ async function runDeployProject(projectName, auth) {
85
101
  }
86
102
  if (status === "completed") {
87
103
  const url = (0, _helpers.getBaseUrl)();
88
- (0, _terminal.terminal)(`\n^g^+Project deployed successfully!^:\n`);
89
- (0, _terminal.terminal)(`^+You can check your project on the platform:^s ^c^_${url}/projects/${projectId}/details^:\n`);
104
+ (0, _terminal.terminal)(`\n^g^+Project deployed successfully!^:\n\n`);
105
+ const projectUrl = `${url}/projects/${projectId}`;
106
+ const runsUrl = `${projectUrl}/runs`;
107
+ const jobsUrl = `${projectUrl}/jobs`;
108
+ const runsPlaygroundUrl = `${runsUrl}?${buildRunsPlaygroundQueryParams({
109
+ enableFirstRunExperience,
110
+ settings,
111
+ testAuthSessionId: rest.testAuthSessionId
112
+ })}`;
113
+ const defaultJobTriggerUrl = rest.defaultJobId ? `${jobsUrl}/${rest.defaultJobId}?action=trigger` : undefined;
114
+ const actions = [{
115
+ label: "View Project",
116
+ url: runsUrl
117
+ }, ...(settings.apiAccess.enabled ? [{
118
+ label: "Run Playground",
119
+ url: runsPlaygroundUrl
120
+ }] : []), {
121
+ label: "Manage Jobs",
122
+ url: jobsUrl
123
+ }, ...(defaultJobTriggerUrl !== undefined ? [{
124
+ label: "Trigger Default Job",
125
+ url: defaultJobTriggerUrl
126
+ }] : [])];
127
+ if (_terminalLink.default.isSupported) {
128
+ for (const action of actions) {
129
+ const link = (0, _terminalLink.default)(`[ ${action.label} ]`, action.url);
130
+ (0, _terminal.terminal)(`^+${link.replaceAll("%", "%%")}^ `);
131
+ }
132
+ (0, _terminal.terminal)("\n");
133
+ } else {
134
+ for (const action of actions) {
135
+ (0, _terminal.terminal)(`^+${action.label}:^ ^c^_${action.url}^:\n`);
136
+ }
137
+ }
90
138
  return;
91
139
  }
92
140
  let errorMessage = `^r^+An error occurred while deploying project:^:\n^R${message}^:\n`;
@@ -136,4 +184,93 @@ const checkIntunedProjectDeployStatus = async (workspaceId, projectName, apiKey)
136
184
  status: "failed",
137
185
  message: `Deployment failed, please try again: ${data.message}`
138
186
  };
139
- };
187
+ };
188
+ async function promptFirstRunExperience(settings) {
189
+ let testAuthSessionInput = undefined;
190
+ const shouldPromptForTestAuthSession = settings.authSessions.enabled && settings.authSessions.type === "API";
191
+ const defaultJobInput = settings.metadata?.defaultJobInput;
192
+ const shouldPromptForDefaultJob = defaultJobInput !== undefined;
193
+ if (shouldPromptForTestAuthSession) {
194
+ testAuthSessionInput = await promptFirstRunExperienceTestAuthSessionParameters({
195
+ shouldPromptForDefaultJob
196
+ });
197
+ if (!testAuthSessionInput) {
198
+ return {};
199
+ }
200
+ }
201
+ return {
202
+ testAuthSessionInput,
203
+ defaultJobInput: shouldPromptForDefaultJob ? await promptFirstRunExperienceDefaultJobParameters({
204
+ defaultJobInput
205
+ }) : undefined
206
+ };
207
+ }
208
+ async function promptFirstRunExperienceTestAuthSessionParameters({
209
+ shouldPromptForDefaultJob
210
+ }) {
211
+ const authSessionInstancesDirectory = _path.default.join(process.cwd(), _constants2.AUTH_SESSIONS_INSTANCES_FOLDER_NAME);
212
+ if (!(await fs.exists(authSessionInstancesDirectory))) {
213
+ return;
214
+ }
215
+ const authSessionId = (await fs.readdir(authSessionInstancesDirectory)).shift();
216
+ if (!authSessionId) {
217
+ return;
218
+ }
219
+ const {
220
+ metadata
221
+ } = await (0, _helpers.loadAuthSessionInstance)(authSessionId);
222
+ if (!metadata.authSessionId) {
223
+ return;
224
+ }
225
+ const message = shouldPromptForDefaultJob ? `^:^+Create a test auth session using^ ^c${authSessionId}^:^+ parameters?^ ^/(required for creating default job)^:` : `^:^+Create a test auth session using^ ^c${authSessionId}^:^+ parameters?^:`;
226
+ const {
227
+ value
228
+ } = await (0, _prompts.default)({
229
+ type: "confirm",
230
+ name: "value",
231
+ message: _terminal.terminal.str(message).toString(),
232
+ initial: true
233
+ });
234
+ if (value === undefined) {
235
+ throw new _helpers.AbortedCLIError();
236
+ }
237
+ if (value) {
238
+ return metadata.authSessionInput;
239
+ }
240
+ }
241
+ async function promptFirstRunExperienceDefaultJobParameters({
242
+ defaultJobInput
243
+ }) {
244
+ const {
245
+ value
246
+ } = await (0, _prompts.default)({
247
+ type: "confirm",
248
+ name: "value",
249
+ message: _terminal.terminal.str(`^:^+Create a default job with sample parameters?^:`).toString(),
250
+ initial: true
251
+ });
252
+ if (value === undefined) {
253
+ throw new _helpers.AbortedCLIError();
254
+ }
255
+ if (value) {
256
+ return defaultJobInput;
257
+ }
258
+ }
259
+ function buildRunsPlaygroundQueryParams({
260
+ enableFirstRunExperience,
261
+ settings,
262
+ testAuthSessionId
263
+ }) {
264
+ const params = new URLSearchParams();
265
+ if (!enableFirstRunExperience) return params.toString();
266
+ params.set(START_RUN_INPUT_QUERY_PARAM_KEY, JSON.stringify({}));
267
+ const input = settings.metadata?.defaultRunPlaygroundInput;
268
+ if (!input) return params.toString();
269
+ if (testAuthSessionId) {
270
+ input.authSessionId = testAuthSessionId;
271
+ }
272
+ params.set(START_RUN_INPUT_QUERY_PARAM_KEY, JSON.stringify({
273
+ ...input
274
+ }));
275
+ return params.toString();
276
+ }
@@ -1,6 +1,9 @@
1
1
  import { z } from "zod";
2
2
  import type { AuthCredentials } from "../types";
3
- export declare function runSaveProject(projectName: string, auth: AuthCredentials): Promise<void>;
3
+ export declare function runSaveProject(projectName: string, auth: AuthCredentials): Promise<{
4
+ projectId: string;
5
+ enableFirstRunExperience: boolean | undefined;
6
+ } | undefined>;
4
7
  export declare const projectNameSchema: z.ZodEffects<z.ZodString, string, string>;
5
8
  export declare const validateProjectName: (projectName: string) => {
6
9
  isValid: true;
@@ -33,7 +33,8 @@ const saveProjectApiResponseSchema = _zod.z.string().transform((val, ctx) => {
33
33
  return _zod.z.NEVER;
34
34
  }
35
35
  }).pipe(_zod.z.object({
36
- id: _zod.z.string().uuid()
36
+ id: _zod.z.string().uuid(),
37
+ enableFirstRunExperience: _zod.z.boolean().optional()
37
38
  }));
38
39
  async function runSaveProject(projectName, auth) {
39
40
  const {
@@ -86,7 +87,8 @@ async function runSaveProject(projectName, auth) {
86
87
  return;
87
88
  }
88
89
  const {
89
- id: projectId
90
+ id: projectId,
91
+ enableFirstRunExperience
90
92
  } = parseResult.data;
91
93
  const dotEnvPath = path.join(projectPath, ".env");
92
94
  if (!(await fs.exists(dotEnvPath))) {
@@ -111,6 +113,10 @@ ${_constants2.API_KEY_ENV_VAR_KEY}=${apiKey}`);
111
113
  await fs.appendFile(dotEnvPath, contentToAppend + "\n");
112
114
  (0, _terminal.terminal)(`^g^+Updated .env file with project credentials.^:\n`);
113
115
  }
116
+ return {
117
+ projectId,
118
+ enableFirstRunExperience
119
+ };
114
120
  }
115
121
  const projectNameSchema = exports.projectNameSchema = _zod.z.string().min(1, "Project Name is required").max(200, "Name must be 200 characters or less").regex(/^[a-z0-9]+(?:[-_][a-z0-9]+)*$/, "Name can only contain lowercase letters, numbers, hyphens, and underscores in between").refine(value => !_zod.z.string().uuid().safeParse(value).success, {
116
122
  message: "Name cannot be a UUID"
@@ -6,9 +6,9 @@ export declare function assertAuthConsistent(authSession: string | undefined): P
6
6
  export declare function loadAuthSessionInstance(authSessionId: string): Promise<{
7
7
  storageState: {
8
8
  cookies: {
9
+ path: string;
9
10
  value: string;
10
11
  name: string;
11
- path: string;
12
12
  domain: string;
13
13
  expires: number;
14
14
  httpOnly: boolean;
@@ -23,11 +23,11 @@ export declare function loadAuthSessionInstance(authSessionId: string): Promise<
23
23
  }[];
24
24
  }[];
25
25
  sessionStorage?: {
26
+ origin: string;
26
27
  sessionStorage: {
27
28
  value: string;
28
29
  name: string;
29
30
  }[];
30
- origin: string;
31
31
  }[] | undefined;
32
32
  };
33
33
  metadata: AuthSessionMetadata;
@@ -23,5 +23,5 @@ async function getAuthCredentials(options) {
23
23
  };
24
24
  }
25
25
  function getBaseUrl() {
26
- return process.env[_constants.API_BASE_URL_ENV_VAR_KEY] || process.env.INTUNED_API_DOMAIN || `https://app.intuned.io`;
26
+ return new URL(process.env[_constants.API_BASE_URL_ENV_VAR_KEY] || process.env.INTUNED_API_DOMAIN || `https://app.intuned.io`).origin;
27
27
  }
@@ -1,10 +1,13 @@
1
- import { RunAutomationError } from "../../../common/runApi";
1
+ import { RunAutomationError } from "../../../common/runApi/errors";
2
2
  export declare class CLIError extends Error {
3
3
  autoColor: boolean;
4
4
  constructor(message: string, options?: {
5
5
  autoColor?: boolean;
6
6
  });
7
7
  }
8
+ export declare class AbortedCLIError extends CLIError {
9
+ constructor();
10
+ }
8
11
  export declare class CLIAssertionError extends CLIError {
9
12
  constructor(message: string, options?: {
10
13
  autoColor?: boolean;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CLIError = exports.CLIAssertionError = void 0;
6
+ exports.CLIError = exports.CLIAssertionError = exports.AbortedCLIError = void 0;
7
7
  exports.logAutomationError = logAutomationError;
8
- var _runApi = require("../../../common/runApi");
8
+ var _errors = require("../../../common/runApi/errors");
9
9
  var _terminal = require("./terminal");
10
10
  class CLIError extends Error {
11
11
  constructor(message, options) {
@@ -15,6 +15,13 @@ class CLIError extends Error {
15
15
  }
16
16
  }
17
17
  exports.CLIError = CLIError;
18
+ class AbortedCLIError extends CLIError {
19
+ constructor() {
20
+ super("Aborted");
21
+ this.name = "AbortedCLIError";
22
+ }
23
+ }
24
+ exports.AbortedCLIError = AbortedCLIError;
18
25
  class CLIAssertionError extends CLIError {
19
26
  constructor(message, options) {
20
27
  super(message, options);
@@ -24,7 +31,7 @@ class CLIAssertionError extends CLIError {
24
31
  exports.CLIAssertionError = CLIAssertionError;
25
32
  function logAutomationError(error) {
26
33
  (0, _terminal.terminal)(`^r^+An error occurred while running the API:^:\n`);
27
- if (error instanceof _runApi.AutomationError) {
34
+ if (error instanceof _errors.AutomationError) {
28
35
  if (error.error.stack) {
29
36
  const stackLines = error.error.stack.split("\n").filter(line => !line.includes("@intuned/runtime") && !line.includes("node:"));
30
37
  (0, _terminal.terminal)(`^r${stackLines.join("\n")}^:\n`);
@@ -1,55 +1,24 @@
1
- import { z } from "zod";
2
- export declare const intunedJsonSchema: z.ZodObject<{
3
- authSessions: z.ZodUnion<[z.ZodObject<{
4
- enabled: z.ZodLiteral<false>;
5
- }, "strip", z.ZodTypeAny, {
6
- enabled: false;
7
- }, {
8
- enabled: false;
9
- }>, z.ZodObject<{
10
- enabled: z.ZodLiteral<true>;
11
- type: z.ZodEnum<["MANUAL", "API"]>;
12
- startUrl: z.ZodOptional<z.ZodString>;
13
- finishUrl: z.ZodOptional<z.ZodString>;
14
- }, "strip", z.ZodTypeAny, {
15
- type: "API" | "MANUAL";
16
- enabled: true;
17
- startUrl?: string | undefined;
18
- finishUrl?: string | undefined;
19
- }, {
20
- type: "API" | "MANUAL";
21
- enabled: true;
22
- startUrl?: string | undefined;
23
- finishUrl?: string | undefined;
24
- }>]>;
25
- projectName: z.ZodOptional<z.ZodString>;
26
- workspaceId: z.ZodOptional<z.ZodString>;
27
- }, "strip", z.ZodTypeAny, {
28
- authSessions: {
29
- enabled: false;
30
- } | {
31
- type: "API" | "MANUAL";
32
- enabled: true;
33
- startUrl?: string | undefined;
34
- finishUrl?: string | undefined;
35
- };
1
+ export declare const loadIntunedJson: () => Promise<{
36
2
  projectName?: string | undefined;
37
3
  workspaceId?: string | undefined;
38
- }, {
4
+ metadata?: {
5
+ defaultJobInput?: Record<string, any> | undefined;
6
+ defaultRunPlaygroundInput?: Record<string, any> | undefined;
7
+ testAuthSessionInput?: Record<string, any> | undefined;
8
+ } | undefined;
9
+ stealthMode?: {
10
+ enabled: boolean;
11
+ } | undefined;
12
+ } & {
13
+ [k: string]: unknown;
14
+ } & ({
39
15
  authSessions: {
40
16
  enabled: false;
41
- } | {
42
- type: "API" | "MANUAL";
43
- enabled: true;
44
- startUrl?: string | undefined;
45
- finishUrl?: string | undefined;
46
17
  };
47
- projectName?: string | undefined;
48
- workspaceId?: string | undefined;
49
- }>;
50
- export type IntunedJson = z.infer<typeof intunedJsonSchema>;
51
- export declare const intunedSettingsFileNames: readonly ["Intuned.json", "Intuned.jsonc", "Intuned.yaml", "Intuned.yml", "Intuned.toml"];
52
- export declare function loadIntunedJson(): Promise<{
18
+ apiAccess: {
19
+ enabled: false;
20
+ };
21
+ } | {
53
22
  authSessions: {
54
23
  enabled: false;
55
24
  } | {
@@ -58,12 +27,13 @@ export declare function loadIntunedJson(): Promise<{
58
27
  startUrl?: string | undefined;
59
28
  finishUrl?: string | undefined;
60
29
  };
61
- projectName?: string | undefined;
62
- workspaceId?: string | undefined;
63
- }>;
64
- export declare function getIntunedSettingsFile(): Promise<{
65
- name: typeof intunedSettingsFileNames[number];
30
+ apiAccess: {
31
+ enabled: true;
32
+ };
33
+ })>;
34
+ export declare const getIntunedSettingsFile: () => Promise<{
35
+ name: "Intuned.json" | "Intuned.jsonc" | "Intuned.yaml" | "Intuned.yml" | "Intuned.toml";
66
36
  path: string;
67
37
  parse: (content: string) => any;
68
38
  }>;
69
- export declare function getIntunedSettingsFileName(): Promise<string>;
39
+ export declare const getIntunedSettingsFileName: () => Promise<"Intuned.json" | "Intuned.jsonc" | "Intuned.yaml" | "Intuned.yml" | "Intuned.toml">;