@tailor-platform/sdk 1.58.0 → 1.60.0

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 (80) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/{application-B59TaTk_.mjs → application-FnWOxBk7.mjs} +46 -27
  3. package/dist/application-FnWOxBk7.mjs.map +1 -0
  4. package/dist/application-VOdgMtOD.mjs +4 -0
  5. package/dist/{authconnection-TsdLYaLs.d.mts → authconnection-BIYzEh2p.d.mts} +2 -2
  6. package/dist/authconnection-D8SJGMpj.mjs.map +1 -1
  7. package/dist/cli/erd-viewer-assets/app.js +4 -4
  8. package/dist/cli/index.mjs +57 -13
  9. package/dist/cli/index.mjs.map +1 -1
  10. package/dist/cli/lib.mjs +4 -3
  11. package/dist/cli/lib.mjs.map +1 -1
  12. package/dist/client-B-jRdlC_.mjs +4 -0
  13. package/dist/{client-62B-r3MN.mjs → client-W5P4NYYX.mjs} +117 -4
  14. package/dist/{client-62B-r3MN.mjs.map → client-W5P4NYYX.mjs.map} +1 -1
  15. package/dist/configure/index.d.mts +1 -1
  16. package/dist/configure/index.mjs +8 -8
  17. package/dist/configure/index.mjs.map +1 -1
  18. package/dist/{crashreport-CCGpLUlP.mjs → crashreport-D3DvAzdg.mjs} +3 -3
  19. package/dist/crashreport-D3DvAzdg.mjs.map +1 -0
  20. package/dist/{crashreport-CXD_Kjk-.mjs → crashreport-lnVTnbB5.mjs} +1 -1
  21. package/dist/file-B58Dm-2P.mjs.map +1 -1
  22. package/dist/{file-VTJbbOL3.d.mts → file-BzK8z3X-.d.mts} +2 -2
  23. package/dist/globals-ByrCoDip.mjs +109 -0
  24. package/dist/globals-ByrCoDip.mjs.map +1 -0
  25. package/dist/iconv-DreIffeM.mjs.map +1 -1
  26. package/dist/{iconv-Chu6Hit2.d.mts → iconv-kwrmd1U_.d.mts} +2 -2
  27. package/dist/{idp-Di9N4FSJ.d.mts → idp-BlBPtXJ-.d.mts} +2 -2
  28. package/dist/idp-Ch95ag8h.mjs.map +1 -1
  29. package/dist/{index-BWoHfE-i.d.mts → index-Cr6ufjZ5.d.mts} +10 -8
  30. package/dist/{index-DTSQthwF.d.mts → index-DRhMpdnA.d.mts} +7 -7
  31. package/dist/{job-CEAJLiGp.mjs → job-BpsFXPbi.mjs} +8 -17
  32. package/dist/job-BpsFXPbi.mjs.map +1 -0
  33. package/dist/mock-Dpu__UeJ.mjs +805 -0
  34. package/dist/mock-Dpu__UeJ.mjs.map +1 -0
  35. package/dist/registry-D0uB0OrK.mjs +178 -0
  36. package/dist/registry-D0uB0OrK.mjs.map +1 -0
  37. package/dist/{repl-editor-ihh8koiR.mjs → repl-editor-Y9QJDL0K.mjs} +3 -9
  38. package/dist/{repl-editor-ihh8koiR.mjs.map → repl-editor-Y9QJDL0K.mjs.map} +1 -1
  39. package/dist/runtime/authconnection.d.mts +1 -1
  40. package/dist/runtime/file.d.mts +1 -1
  41. package/dist/runtime/globals.d.mts +5 -5
  42. package/dist/runtime/iconv.d.mts +1 -1
  43. package/dist/runtime/idp.d.mts +1 -1
  44. package/dist/runtime/index.d.mts +7 -7
  45. package/dist/runtime/secretmanager.d.mts +1 -1
  46. package/dist/runtime/workflow.d.mts +1 -1
  47. package/dist/{runtime-BC-FbQkg.mjs → runtime-CrUa8Z2k.mjs} +238 -273
  48. package/dist/runtime-CrUa8Z2k.mjs.map +1 -0
  49. package/dist/secretmanager-B9h-U_8U.mjs.map +1 -1
  50. package/dist/{secretmanager-BhpDmxwT.d.mts → secretmanager-CKLB3wAQ.d.mts} +2 -2
  51. package/dist/utils/test/index.d.mts +5 -5
  52. package/dist/utils/test/index.mjs +7 -7
  53. package/dist/utils/test/index.mjs.map +1 -1
  54. package/dist/vitest/environment.mjs +3 -4
  55. package/dist/vitest/environment.mjs.map +1 -1
  56. package/dist/vitest/index.d.mts +167 -120
  57. package/dist/vitest/index.mjs +6 -6
  58. package/dist/vitest/index.mjs.map +1 -1
  59. package/dist/vitest/setup.d.mts +1 -1
  60. package/dist/vitest/setup.mjs +4 -3
  61. package/dist/vitest/setup.mjs.map +1 -1
  62. package/dist/workflow--aPbA8Uq.mjs.map +1 -1
  63. package/dist/{workflow-dYYH7QFa.d.mts → workflow-CMamswkK.d.mts} +2 -2
  64. package/docs/cli/auth.md +40 -0
  65. package/docs/cli-reference.md +1 -0
  66. package/docs/configuration.md +1 -1
  67. package/docs/runtime.md +9 -12
  68. package/docs/services/auth.md +19 -1
  69. package/docs/testing.md +92 -85
  70. package/package.json +5 -5
  71. package/dist/application-B59TaTk_.mjs.map +0 -1
  72. package/dist/application-gO_pa5BO.mjs +0 -4
  73. package/dist/client-BWl3f1XS.mjs +0 -4
  74. package/dist/crashreport-CCGpLUlP.mjs.map +0 -1
  75. package/dist/job-CEAJLiGp.mjs.map +0 -1
  76. package/dist/mock-B6PI49C_.mjs +0 -844
  77. package/dist/mock-B6PI49C_.mjs.map +0 -1
  78. package/dist/runtime-BC-FbQkg.mjs.map +0 -1
  79. package/dist/test-env-key-CSnK4W1Y.mjs +0 -30
  80. package/dist/test-env-key-CSnK4W1Y.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.60.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1370](https://github.com/tailor-platform/sdk/pull/1370) [`ca4e049`](https://github.com/tailor-platform/sdk/commit/ca4e0494d8f3069e91e55c0b8ccc15ed1e6b567b) Thanks [@toiroakr](https://github.com/toiroakr)! - Add `authconnection open` command to open the auth connections page in the Tailor Platform Console. The `authconnection authorize` command now also points to this Console flow when the local callback server cannot be started, and the auth connection docs note that managing connections via `tailor.config.ts` is unreliable for shared and CI deploys (a deploy without the local `.tailor-sdk/` secret state recreates the connection and discards its token) — create connections and tokens from the Console instead.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#1386](https://github.com/tailor-platform/sdk/pull/1386) [`34aba6c`](https://github.com/tailor-platform/sdk/commit/34aba6c66fd60a2614fe37a4eee07b0252592894) Thanks [@toiroakr](https://github.com/toiroakr)! - Stabilize the `withBundleConcurrency` unit tests by driving their worker delays with fake timers instead of real `setTimeout`, so they no longer flake with a 5s timeout when a CI runner is under load. No runtime behavior changes.
12
+
13
+ ## 1.59.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#1282](https://github.com/tailor-platform/sdk/pull/1282) [`4660bc8`](https://github.com/tailor-platform/sdk/commit/4660bc8a0c31e52ef7e32f4c325b8aa1c2a2af3a) Thanks [@toiroakr](https://github.com/toiroakr)! - feat(vitest)!: rename mock controllers to verb-style `mockX()` factories (Beta)
18
+
19
+ The `@tailor-platform/sdk/vitest` mock controllers are renamed from noun-style
20
+ singleton objects (`tailordbMock`, `workflowMock`, …) to verb-style **factory
21
+ functions** (`mockTailordb`, `mockWorkflow`, `mockSecretmanager`,
22
+ `mockAuthconnection`, `mockIdp`, `mockFile`, `mockIconv`). Acquire one with a
23
+ `using` declaration and its state is reset automatically when the test scope
24
+ exits — no more `beforeEach(() => mock.reset())`.
25
+
26
+ ```diff
27
+ -import { tailordbMock } from "@tailor-platform/sdk/vitest";
28
+ -
29
+ -beforeEach(() => tailordbMock.reset());
30
+ -
31
+ test("...", () => {
32
+ - tailordbMock.enqueueResult({ age: 30 });
33
+ - expect(tailordbMock.executedQueries).toHaveLength(1);
34
+ + using db = mockTailordb();
35
+ + db.enqueueResult({ age: 30 });
36
+ + expect(db.executedQueries).toHaveLength(1);
37
+ });
38
+ ```
39
+
40
+ This is a breaking change to the **Beta** `tailor-runtime` testing API. `using`
41
+ requires TypeScript ≥ 5.2 and a runtime that provides `Symbol.dispose`
42
+ (Node ≥ 20.4; the SDK already targets Node ≥ 22, and Vitest's transformer
43
+ downlevels the syntax).
44
+
45
+ ### Patch Changes
46
+
47
+ - [#1384](https://github.com/tailor-platform/sdk/pull/1384) [`b5ddf76`](https://github.com/tailor-platform/sdk/commit/b5ddf762bbdbaf22f879aeabbaddb85fa0a57da6) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix flaky `already_exists` failures during `deploy`/`apply` on busy or fresh workspaces. When a resource create succeeds on the platform but its response is lost as `Unavailable`/`ResourceExhausted` under load, the SDK's automatic retry now treats the follow-up `already_exists` as success for the affected apply resource creates instead of failing the deploy. Retry backoff also starts with a longer initial delay so a retry is less likely to race an in-flight request, and the retry path now emits `debug` traces (retries and swallowed `already_exists`) to help diagnose such failures.
48
+
49
+ - [#1372](https://github.com/tailor-platform/sdk/pull/1372) [`9fdb857`](https://github.com/tailor-platform/sdk/commit/9fdb85746dfb3734014056b57fb95ce1ae21d585) Thanks [@dqn](https://github.com/dqn)! - Fix TailorDB types with a `serial` field inside a nested object being reported as a change on every deploy.
50
+
51
+ - [#1382](https://github.com/tailor-platform/sdk/pull/1382) [`99e1d79`](https://github.com/tailor-platform/sdk/commit/99e1d791976528d4fec9742cd473ece33a136cb0) Thanks [@toiroakr](https://github.com/toiroakr)! - Treat `console.log` as a DEBUG-level call when bundling deployment functions, matching the platform's OpenTelemetry severity mapping. With `logLevel: "INFO"` or higher, `console.log` calls are now dropped alongside `console.debug`. The default `"DEBUG"` level still keeps all console calls.
52
+
53
+ - [#1380](https://github.com/tailor-platform/sdk/pull/1380) [`2ed1344`](https://github.com/tailor-platform/sdk/commit/2ed1344e5ffff6e78d74ef3a0297fcff4a6201e7) Thanks [@dqn](https://github.com/dqn)! - Internal refactoring: replace mutating array methods (`sort`/`reverse`/`splice`) with non-mutating ES2023 equivalents (`toSorted`/`toReversed`/`toSpliced`). No user-facing behavior change.
54
+
55
+ - [#1379](https://github.com/tailor-platform/sdk/pull/1379) [`5299c0c`](https://github.com/tailor-platform/sdk/commit/5299c0c17c6b7ab2febddd84faae39054a234165) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency undici to v8.4.0
56
+
57
+ - [#1308](https://github.com/tailor-platform/sdk/pull/1308) [`74015e4`](https://github.com/tailor-platform/sdk/commit/74015e47858ad7c8d7ec5d59c06a9fc1ece6504d) Thanks [@toiroakr](https://github.com/toiroakr)! - feat(vitest): run a full workflow locally through `.trigger()` (Beta)
58
+
59
+ Calling `workflow.mainJob.trigger()` (or any job's `.trigger()`) now runs the
60
+ real job bodies of the whole chain — no `mockWorkflow()` needed — so you can
61
+ exercise end-to-end orchestration in a unit test without a deployment. Trigger
62
+ inputs and outputs cross the same JSON boundary the platform uses, so a
63
+ non-serializable payload fails the test exactly as it would in production.
64
+ Acquire `mockWorkflow()` only to override individual dependent jobs with
65
+ `wf.setJobHandler(...)` / `wf.enqueueResult(...)` (the rest still run their real
66
+ bodies), set the env via `wf.setEnv(...)`, or assert on `wf.triggeredJobs`.
67
+
3
68
  ## 1.58.0
4
69
 
5
70
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { n as isSdkBranded } from "./brand-DlnJ375c.mjs";
3
- import { u as initOAuth2Client } from "./client-62B-r3MN.mjs";
3
+ import { d as initOAuth2Client } from "./client-W5P4NYYX.mjs";
4
4
  import { a as parseBoolean, n as logger, r as styles } from "./logger-DpJyJvNz.mjs";
5
5
  import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-C7DaWeQo.mjs";
6
6
  import { t as multiline } from "./multiline-Cf9ODpr1.mjs";
@@ -703,7 +703,7 @@ function hashFile(filePath) {
703
703
  * @returns Hex-encoded SHA-256 hash representing all files
704
704
  */
705
705
  function hashFiles(filePaths) {
706
- return hashContent([...filePaths].sort().map((fp) => hashFile(fp)).join(""));
706
+ return hashContent(filePaths.toSorted().map((fp) => hashFile(fp)).join(""));
707
707
  }
708
708
 
709
709
  //#endregion
@@ -739,7 +739,7 @@ function createDepCollectorPlugin() {
739
739
  }
740
740
  };
741
741
  function getResult() {
742
- return Array.from(collectedPaths).sort();
742
+ return Array.from(collectedPaths).toSorted();
743
743
  }
744
744
  return {
745
745
  plugin,
@@ -1389,7 +1389,6 @@ async function removeStaleEntryFiles(outputDir) {
1389
1389
  //#endregion
1390
1390
  //#region src/cli/shared/bundle-log-level.ts
1391
1391
  const INFO_LEVEL_CONSOLE_METHODS = [
1392
- "console.log",
1393
1392
  "console.info",
1394
1393
  "console.table",
1395
1394
  "console.dir",
@@ -1404,7 +1403,11 @@ const INFO_LEVEL_CONSOLE_METHODS = [
1404
1403
  "console.groupEnd",
1405
1404
  "console.clear"
1406
1405
  ];
1407
- const DEBUG_LEVEL_CONSOLE_METHODS = ["console.debug", "console.trace"];
1406
+ const DEBUG_LEVEL_CONSOLE_METHODS = [
1407
+ "console.debug",
1408
+ "console.log",
1409
+ "console.trace"
1410
+ ];
1408
1411
  const WARN_LEVEL_CONSOLE_METHODS = ["console.warn"];
1409
1412
  const ERROR_LEVEL_CONSOLE_METHODS = ["console.error"];
1410
1413
  const MANUAL_PURE_FUNCTIONS_BY_LOG_LEVEL = {
@@ -1463,6 +1466,17 @@ function composeFunctionTreeshakeOptions(fragments = []) {
1463
1466
  return mergeFunctionTreeshakeOptions([BASE_FUNCTION_TREESHAKE_OPTIONS, ...fragments]);
1464
1467
  }
1465
1468
 
1469
+ //#endregion
1470
+ //#region src/cli/shared/platform-bundle-plugin.ts
1471
+ const GATE = /(?<![\w$.])process\.env\.TAILOR_PLATFORM_BUNDLE\b/g;
1472
+ const platformBundleDefinePlugin = {
1473
+ name: "tailor-platform-bundle-define",
1474
+ transform(code) {
1475
+ if (!code.includes("process.env.TAILOR_PLATFORM_BUNDLE")) return null;
1476
+ return { code: code.replace(GATE, "true") };
1477
+ }
1478
+ };
1479
+
1466
1480
  //#endregion
1467
1481
  //#region src/cli/services/file-loader.ts
1468
1482
  const DEFAULT_IGNORE_PATTERNS = ["**/*.test.ts", "**/*.spec.ts"];
@@ -1577,7 +1591,7 @@ function findProperty(properties, name) {
1577
1591
  * @returns Transformed source code
1578
1592
  */
1579
1593
  function applyReplacements(source, replacements) {
1580
- const sorted = [...replacements].sort((a, b) => b.start - a.start);
1594
+ const sorted = replacements.toSorted((a, b) => b.start - a.start);
1581
1595
  let result = source;
1582
1596
  for (const r of sorted) result = result.slice(0, r.start) + r.text + result.slice(r.end);
1583
1597
  return result;
@@ -2253,7 +2267,7 @@ async function buildTriggerContext(workflowConfig, authNamespace) {
2253
2267
  };
2254
2268
  }
2255
2269
  function sortedMapToJson(m) {
2256
- return JSON.stringify([...m.entries()].sort(([a], [b]) => a.localeCompare(b)));
2270
+ return JSON.stringify([...m.entries()].toSorted(([a], [b]) => a.localeCompare(b)));
2257
2271
  }
2258
2272
  /**
2259
2273
  * Serialize trigger context to a deterministic string for cache hashing.
@@ -2312,7 +2326,7 @@ async function bundleAuthHooks(options) {
2312
2326
  const functionName = `auth-hook--${authName}--before-login`;
2313
2327
  const absoluteConfigPath = path.resolve(configPath);
2314
2328
  const serializedTriggerContext = serializeTriggerContext(triggerContext);
2315
- const sortedEnvPrefix = JSON.stringify(Object.fromEntries(Object.entries(env).sort(([a], [b]) => a.localeCompare(b))));
2329
+ const sortedEnvPrefix = JSON.stringify(Object.fromEntries(Object.entries(env).toSorted(([a], [b]) => a.localeCompare(b))));
2316
2330
  const code = await withCache({
2317
2331
  cache,
2318
2332
  kind: "auth-hook",
@@ -2339,7 +2353,7 @@ async function bundleAuthHooks(options) {
2339
2353
  fs$1.writeFileSync(entryPath, entryContent);
2340
2354
  const triggerPlugin = createTriggerTransformPlugin(triggerContext);
2341
2355
  const plugins = triggerPlugin ? [triggerPlugin] : [];
2342
- plugins.push(...cachePlugins);
2356
+ plugins.push(platformBundleDefinePlugin, ...cachePlugins);
2343
2357
  return (await rolldown.build({
2344
2358
  input: entryPath,
2345
2359
  write: false,
@@ -3385,6 +3399,7 @@ async function bundleScriptTarget(args) {
3385
3399
  const entryPath = join(tempDir, `tailordb-script-${targetIndex}.entry.ts`);
3386
3400
  writeFileSync(entryPath, entryContent);
3387
3401
  const bundledCode = (await rolldown.build({
3402
+ plugins: [platformBundleDefinePlugin],
3388
3403
  input: entryPath,
3389
3404
  write: false,
3390
3405
  output: {
@@ -4200,7 +4215,7 @@ async function bundleSingleExecutor(executor, outputDir, tsconfig, triggerContex
4200
4215
  fs$1.writeFileSync(entryPath, entryContent);
4201
4216
  const triggerPlugin = createTriggerTransformPlugin(triggerContext);
4202
4217
  const plugins = triggerPlugin ? [triggerPlugin] : [];
4203
- plugins.push(...cachePlugins);
4218
+ plugins.push(platformBundleDefinePlugin, ...cachePlugins);
4204
4219
  return (await rolldown.build({
4205
4220
  input: entryPath,
4206
4221
  write: false,
@@ -4718,7 +4733,7 @@ async function bundleSingleResolver(resolver, outputDir, tsconfig, triggerContex
4718
4733
  fs$1.writeFileSync(entryPath, entryContent);
4719
4734
  const triggerPlugin = createTriggerTransformPlugin(triggerContext);
4720
4735
  const plugins = triggerPlugin ? [triggerPlugin] : [];
4721
- plugins.push(...cachePlugins);
4736
+ plugins.push(platformBundleDefinePlugin, ...cachePlugins);
4722
4737
  return (await rolldown.build({
4723
4738
  input: entryPath,
4724
4739
  write: false,
@@ -5072,7 +5087,7 @@ async function filterUsedJobs(allJobs, mainJobNames) {
5072
5087
  }
5073
5088
  async function bundleSingleJob(job, allJobs, outputDir, tsconfig, env, triggerContext, cache, inlineSourcemap, bundleLogLevel = "DEBUG") {
5074
5089
  const serializedTriggerContext = serializeTriggerContext(triggerContext);
5075
- const sortedEnvPrefix = JSON.stringify(Object.fromEntries(Object.entries(env).sort(([a], [b]) => a.localeCompare(b))));
5090
+ const sortedEnvPrefix = JSON.stringify(Object.fromEntries(Object.entries(env).toSorted(([a], [b]) => a.localeCompare(b))));
5076
5091
  const contextHash = computeBundlerContextHash({
5077
5092
  sourceFile: job.sourceFile,
5078
5093
  serializedTriggerContext,
@@ -5104,20 +5119,24 @@ async function bundleSingleJob(job, allJobs, outputDir, tsconfig, env, triggerCo
5104
5119
  const allJobsMap = /* @__PURE__ */ new Map();
5105
5120
  for (const j of allJobs) allJobsMap.set(j.exportName, j.name);
5106
5121
  const resolvedSourceFile = safeRealpath(job.sourceFile);
5107
- const plugins = [{
5108
- name: "workflow-transform",
5109
- transform: {
5110
- filter: { id: { include: [/\.(ts|mts|cts|js|mjs|cjs)$/] } },
5111
- handler(code, id) {
5112
- if (!code.includes("createWorkflowJob") && !code.includes("createWorkflow") && !code.includes(".trigger(")) return null;
5113
- let transformed = code;
5114
- if (safeRealpath(id) === resolvedSourceFile) transformed = transformWorkflowSource(code, job.name, job.exportName, otherJobExportNames, allJobsMap);
5115
- if (triggerContext && transformed.includes(".trigger(")) transformed = transformFunctionTriggers(transformed, triggerContext.workflowNameMap, triggerContext.jobNameMap, triggerContext.workflowFileMap, id, triggerContext.authNamespace);
5116
- if (transformed === code) return null;
5117
- return { code: transformed };
5122
+ const plugins = [
5123
+ {
5124
+ name: "workflow-transform",
5125
+ transform: {
5126
+ filter: { id: { include: [/\.(ts|mts|cts|js|mjs|cjs)$/] } },
5127
+ handler(code, id) {
5128
+ if (!code.includes("createWorkflowJob") && !code.includes("createWorkflow") && !code.includes(".trigger(")) return null;
5129
+ let transformed = code;
5130
+ if (safeRealpath(id) === resolvedSourceFile) transformed = transformWorkflowSource(code, job.name, job.exportName, otherJobExportNames, allJobsMap);
5131
+ if (triggerContext && transformed.includes(".trigger(")) transformed = transformFunctionTriggers(transformed, triggerContext.workflowNameMap, triggerContext.jobNameMap, triggerContext.workflowFileMap, id, triggerContext.authNamespace);
5132
+ if (transformed === code) return null;
5133
+ return { code: transformed };
5134
+ }
5118
5135
  }
5119
- }
5120
- }, ...cachePlugins];
5136
+ },
5137
+ platformBundleDefinePlugin,
5138
+ ...cachePlugins
5139
+ ];
5121
5140
  return (await rolldown.build({
5122
5141
  input: entryPath,
5123
5142
  write: false,
@@ -5839,5 +5858,5 @@ async function loadApplication(params) {
5839
5858
  }
5840
5859
 
5841
5860
  //#endregion
5842
- export { resolveTokens as A, loadConfig as C, loadConfigPath as D, loadAccessToken as E, writePlatformConfig as M, loadWorkspaceId as O, hashFile as S, fetchLatestToken as T, createLogLevelTreeshakeOptions as _, WorkflowJobSchema as a, getDistDir as b, createExecutorService as c, buildExecutorArgsExpr as d, buildResolverOperationHookExpr as f, composeFunctionTreeshakeOptions as g, loadFilesWithIgnores as h, resolveInlineSourcemap as i, saveUserTokens as j, readPlatformConfig as k, ExecutorSchema as l, stringifyFunction as m, generatePluginFilesIfNeeded as n, ResolverSchema as o, TailorDBTypeSchema as p, loadApplication as r, HTTP_METHODS as s, defineApplication as t, INVOKER_EXPR as u, resolveBundleLogLevel as v, deleteUserTokens as w, hashContent as x, createBundleCache as y };
5843
- //# sourceMappingURL=application-B59TaTk_.mjs.map
5861
+ export { readPlatformConfig as A, hashFile as C, loadAccessToken as D, fetchLatestToken as E, saveUserTokens as M, writePlatformConfig as N, loadConfigPath as O, hashContent as S, deleteUserTokens as T, composeFunctionTreeshakeOptions as _, WorkflowJobSchema as a, createBundleCache as b, createExecutorService as c, buildExecutorArgsExpr as d, buildResolverOperationHookExpr as f, platformBundleDefinePlugin as g, loadFilesWithIgnores as h, resolveInlineSourcemap as i, resolveTokens as j, loadWorkspaceId as k, ExecutorSchema as l, stringifyFunction as m, generatePluginFilesIfNeeded as n, ResolverSchema as o, TailorDBTypeSchema as p, loadApplication as r, HTTP_METHODS as s, defineApplication as t, INVOKER_EXPR as u, createLogLevelTreeshakeOptions as v, loadConfig as w, getDistDir as x, resolveBundleLogLevel as y };
5862
+ //# sourceMappingURL=application-FnWOxBk7.mjs.map