@fabric-harness/databricks 5.0.1 → 5.2.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.
package/dist/index.js CHANGED
@@ -2653,9 +2653,12 @@ function canonicalJson(value) {
2653
2653
  // src/asset-bundles.ts
2654
2654
  var BUNDLE_RESOURCE_TYPE = "databricks-bundle";
2655
2655
  var FINGERPRINT_EXCLUDED_DIRS = /* @__PURE__ */ new Set([".databricks", "node_modules", "dist"]);
2656
+ var BUNDLE_NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
2656
2657
  var DatabricksAssetBundleLifecycle = class {
2657
2658
  /** Resolved bundle directory; also the governed resource identity on the tools. */
2658
2659
  bundleDir;
2660
+ /** Logical name of this bundle within a named `assetBundles` map; unset in the single-bundle form. */
2661
+ instanceName;
2659
2662
  target;
2660
2663
  profile;
2661
2664
  executable;
@@ -2675,6 +2678,7 @@ var DatabricksAssetBundleLifecycle = class {
2675
2678
  this.principalLabel = options.principalLabel ?? "unknown";
2676
2679
  if (options.target !== void 0) this.target = options.target;
2677
2680
  if (options.profile !== void 0) this.profile = options.profile;
2681
+ if (options.instanceName !== void 0) this.instanceName = options.instanceName;
2678
2682
  }
2679
2683
  /** Run `databricks bundle validate` without mutating the workspace. */
2680
2684
  async validate() {
@@ -2752,6 +2756,10 @@ var DatabricksAssetBundleLifecycle = class {
2752
2756
  key,
2753
2757
  "--no-wait",
2754
2758
  ...options.restart === true ? ["--restart"] : [],
2759
+ "--output",
2760
+ "json",
2761
+ "--progress-format",
2762
+ "json",
2755
2763
  ...this.targetArgs(),
2756
2764
  ...this.profileArgs()
2757
2765
  ];
@@ -2760,7 +2768,7 @@ var DatabricksAssetBundleLifecycle = class {
2760
2768
  env: this.env
2761
2769
  });
2762
2770
  requireSuccess2("Databricks bundle run submission", result);
2763
- return { submitted: true, output: lastNonEmptyLine2(result.stdout) };
2771
+ return parseBundleRunResult(key, result);
2764
2772
  }
2765
2773
  /** Destroy a Harness-recorded bundle deployment and delete its managed record. */
2766
2774
  async destroy(options = {}) {
@@ -2796,14 +2804,20 @@ var DatabricksAssetBundleLifecycle = class {
2796
2804
  await this.store.delete(BUNDLE_RESOURCE_TYPE, resourceId);
2797
2805
  return { destroyed: true, output: lastNonEmptyLine2(result.stdout) };
2798
2806
  }
2799
- /** Bundle `name:` parsed from `databricks.yml`, falling back to the directory basename. */
2807
+ /**
2808
+ * Bundle `name:` parsed from `databricks.yml`, falling back to the directory basename. Named
2809
+ * bundles append `#instanceName` (and `#target` when set) so two lifecycles over the same manifest
2810
+ * cannot collide in a shared managed-resource store; the single-bundle form keeps the bare name so
2811
+ * existing records stay addressable.
2812
+ */
2800
2813
  async resourceId() {
2801
2814
  if (this.bundleName === void 0) {
2802
2815
  const manifest = await readFile(path2.join(this.bundleDir, "databricks.yml"), "utf8");
2803
2816
  const match = /^\s*name:\s*["']?([^\s"']+)["']?\s*$/m.exec(manifest);
2804
2817
  this.bundleName = match?.[1] ?? path2.basename(this.bundleDir);
2805
2818
  }
2806
- return this.bundleName;
2819
+ if (this.instanceName === void 0) return this.bundleName;
2820
+ return `${this.bundleName}#${this.instanceName}${this.target ? `#${this.target}` : ""}`;
2807
2821
  }
2808
2822
  async requireManifest() {
2809
2823
  const manifest = path2.join(this.bundleDir, "databricks.yml");
@@ -2823,7 +2837,65 @@ var DatabricksAssetBundleLifecycle = class {
2823
2837
  function databricksAssetBundleLifecycle(options) {
2824
2838
  return new DatabricksAssetBundleLifecycle(options);
2825
2839
  }
2840
+ function isDatabricksAssetBundleEntry(value) {
2841
+ if (value instanceof DatabricksAssetBundleLifecycle) return true;
2842
+ return isPlainObject(value) && Object.hasOwn(value, "bundleDir") && typeof value.bundleDir === "string";
2843
+ }
2844
+ function requireDatabricksAssetBundleMap(value) {
2845
+ if (!isPlainObject(value))
2846
+ throw new Error(
2847
+ "databricks asset bundles: named bundles must be an object keyed by bundle name."
2848
+ );
2849
+ }
2850
+ function databricksAssetBundleLifecycles(options, defaults = {}) {
2851
+ requireDatabricksAssetBundleMap(options);
2852
+ const lifecycles = /* @__PURE__ */ new Map();
2853
+ for (const name of Object.keys(options).sort()) {
2854
+ requireBundleName(name);
2855
+ const entry = options[name];
2856
+ if (!isPlainObject(entry) || typeof entry.bundleDir !== "string" || !entry.bundleDir.trim())
2857
+ throw new Error(
2858
+ `databricks asset bundles: bundle "${name}" requires a non-empty bundleDir string.`
2859
+ );
2860
+ lifecycles.set(
2861
+ name,
2862
+ new DatabricksAssetBundleLifecycle({ ...defaults, ...entry, instanceName: name })
2863
+ );
2864
+ }
2865
+ requireNamedBundles(lifecycles);
2866
+ return lifecycles;
2867
+ }
2826
2868
  function databricksAssetBundleTools(options) {
2869
+ if (isDatabricksAssetBundleEntry(options)) return singleBundleTools(options);
2870
+ return namedBundleTools(
2871
+ options instanceof Map ? checkedLifecycles(options) : databricksAssetBundleLifecycles(options)
2872
+ );
2873
+ }
2874
+ function checkedLifecycles(lifecycles) {
2875
+ const checked = /* @__PURE__ */ new Map();
2876
+ for (const [name, lifecycle] of lifecycles) {
2877
+ requireBundleName(name);
2878
+ if (!(lifecycle instanceof DatabricksAssetBundleLifecycle))
2879
+ throw new Error(
2880
+ `databricks asset bundles: bundle "${name}" must be a DatabricksAssetBundleLifecycle.`
2881
+ );
2882
+ if (lifecycle.instanceName !== name)
2883
+ throw new Error(
2884
+ `databricks asset bundles: bundle "${name}" must be built with instanceName "${name}"${lifecycle.instanceName === void 0 ? "" : `, not "${lifecycle.instanceName}"`}.`
2885
+ );
2886
+ checked.set(name, lifecycle);
2887
+ }
2888
+ return checked;
2889
+ }
2890
+ function requireBundleName(name) {
2891
+ if (typeof name !== "string")
2892
+ throw new Error(`databricks asset bundles: bundle names must be strings, not ${typeof name}.`);
2893
+ if (!BUNDLE_NAME_PATTERN.test(name))
2894
+ throw new Error(
2895
+ `databricks asset bundles: bundle name "${name}" must match ${BUNDLE_NAME_PATTERN.source}.`
2896
+ );
2897
+ }
2898
+ function singleBundleTools(options) {
2827
2899
  const lifecycle = options instanceof DatabricksAssetBundleLifecycle ? options : new DatabricksAssetBundleLifecycle(options);
2828
2900
  const resources = [{ kind: "bundle", value: lifecycle.bundleDir }];
2829
2901
  return [
@@ -2880,6 +2952,94 @@ function databricksAssetBundleTools(options) {
2880
2952
  )
2881
2953
  ];
2882
2954
  }
2955
+ function namedBundleTools(lifecycles) {
2956
+ requireNamedBundles(lifecycles);
2957
+ const names = [...lifecycles.keys()].sort();
2958
+ const selector = { bundle: { type: "string", enum: names } };
2959
+ const resources = [{ kind: "bundle", path: "/bundle" }];
2960
+ const select = (input) => selectBundle(lifecycles, names, input);
2961
+ return [
2962
+ bundleTool(
2963
+ "databricks_bundle_validate",
2964
+ "Validate one checked-in Databricks Asset Bundle, selected by name with `bundle`, without deploying it.",
2965
+ "read",
2966
+ {
2967
+ type: "object",
2968
+ additionalProperties: false,
2969
+ properties: { ...selector },
2970
+ required: ["bundle"]
2971
+ },
2972
+ [],
2973
+ async (input) => select(input).validate()
2974
+ ),
2975
+ bundleTool(
2976
+ "databricks_bundle_deploy",
2977
+ "Validate and deploy one checked-in Databricks Asset Bundle, selected by name with `bundle`, recording its source fingerprint.",
2978
+ "write",
2979
+ {
2980
+ type: "object",
2981
+ additionalProperties: false,
2982
+ properties: { ...selector, expectedFingerprint: { type: "string" } },
2983
+ required: ["bundle"]
2984
+ },
2985
+ resources,
2986
+ async (input) => {
2987
+ const lifecycle = select(input);
2988
+ const expectedFingerprint = input.expectedFingerprint;
2989
+ return lifecycle.deploy(expectedFingerprint !== void 0 ? { expectedFingerprint } : {});
2990
+ }
2991
+ ),
2992
+ bundleTool(
2993
+ "databricks_bundle_run",
2994
+ "Submit (without waiting) a run of a job or pipeline defined by one Databricks Asset Bundle, selected by name with `bundle`, using its databricks.yml resource key.",
2995
+ "execute",
2996
+ {
2997
+ type: "object",
2998
+ additionalProperties: false,
2999
+ properties: { ...selector, key: { type: "string" }, restart: { type: "boolean" } },
3000
+ required: ["bundle", "key"]
3001
+ },
3002
+ resources,
3003
+ async (input) => select(input).run({
3004
+ key: input.key,
3005
+ restart: input.restart === true
3006
+ })
3007
+ ),
3008
+ bundleTool(
3009
+ "databricks_bundle_destroy",
3010
+ "Destroy a Harness-recorded deployment of one Databricks Asset Bundle, selected by name with `bundle`.",
3011
+ "write",
3012
+ {
3013
+ type: "object",
3014
+ additionalProperties: false,
3015
+ properties: { ...selector, force: { type: "boolean" } },
3016
+ required: ["bundle"]
3017
+ },
3018
+ resources,
3019
+ async (input) => select(input).destroy({ force: input.force === true })
3020
+ )
3021
+ ];
3022
+ }
3023
+ function selectBundle(lifecycles, names, input) {
3024
+ const bundle = input.bundle;
3025
+ if (typeof bundle !== "string" || !bundle)
3026
+ throw new Error(
3027
+ `databricks asset bundles: bundle is required; configured bundles: ${names.join(", ")}.`
3028
+ );
3029
+ const lifecycle = lifecycles.get(bundle);
3030
+ if (!lifecycle)
3031
+ throw new Error(
3032
+ `databricks asset bundles: unknown bundle "${bundle}"; configured bundles: ${names.join(", ")}.`
3033
+ );
3034
+ return lifecycle;
3035
+ }
3036
+ function requireNamedBundles(lifecycles) {
3037
+ if (lifecycles.size === 0)
3038
+ throw new Error("databricks asset bundles: at least one named bundle is required.");
3039
+ }
3040
+ function isPlainObject(value) {
3041
+ return typeof value === "object" && value !== null && !Array.isArray(value);
3042
+ }
2883
3043
  function bundleTool(name, description, effect, inputSchema, resources, execute2) {
2884
3044
  return {
2885
3045
  name,
@@ -2918,6 +3078,79 @@ function requireSuccess2(label, result) {
2918
3078
  function lastNonEmptyLine2(value) {
2919
3079
  return value.split("\n").map((line) => line.trim()).filter(Boolean).at(-1) ?? "";
2920
3080
  }
3081
+ function parseBundleRunResult(resourceKey2, result) {
3082
+ const records = [...jsonRecords(result.stdout), ...jsonRecords(result.stderr)];
3083
+ const jobEvent = records.find((record2) => record2.type === "job_run_url");
3084
+ const pipelineEvent = records.find((record2) => record2.type === "pipeline_update_url");
3085
+ const runUrl = stringField(jobEvent, "url") ?? stringField(pipelineEvent, "url") ?? firstUrl(result.stdout) ?? firstUrl(result.stderr);
3086
+ const explicitRunId = numberField(jobEvent, "run_id") ?? numberField(jobEvent, "runId") ?? records.map((record2) => numberField(record2, "run_id") ?? numberField(record2, "runId")).find(
3087
+ (value) => value !== void 0
3088
+ );
3089
+ const runId = explicitRunId ?? runIdFromUrl(runUrl);
3090
+ const pipelineId = stringField(pipelineEvent, "pipeline_id") ?? stringField(pipelineEvent, "pipelineId") ?? pipelineIdentityFromUrl(runUrl)?.pipelineId;
3091
+ const updateId = stringField(pipelineEvent, "update_id") ?? stringField(pipelineEvent, "updateId") ?? records.map((record2) => stringField(record2, "update_id") ?? stringField(record2, "updateId")).find((value) => value !== void 0) ?? pipelineIdentityFromUrl(runUrl)?.updateId;
3092
+ const output = lastNonEmptyLine2(result.stdout) || lastNonEmptyLine2(result.stderr);
3093
+ return {
3094
+ submitted: true,
3095
+ resourceKey: resourceKey2,
3096
+ ...runId !== void 0 ? { runKind: "job", runId } : {},
3097
+ ...pipelineId !== void 0 || updateId !== void 0 ? {
3098
+ runKind: "pipeline",
3099
+ ...pipelineId !== void 0 ? { pipelineId } : {},
3100
+ ...updateId !== void 0 ? { updateId } : {}
3101
+ } : {},
3102
+ ...runUrl !== void 0 ? { runUrl } : {},
3103
+ output
3104
+ };
3105
+ }
3106
+ function jsonRecords(value) {
3107
+ const records = [];
3108
+ for (const candidate of [value.trim(), ...value.split("\n").map((line) => line.trim())]) {
3109
+ if (!(candidate.startsWith("{") && candidate.endsWith("}"))) continue;
3110
+ try {
3111
+ const parsed = JSON.parse(candidate);
3112
+ if (typeof parsed === "object" && parsed !== null && !Array.isArray(parsed))
3113
+ records.push(parsed);
3114
+ } catch {
3115
+ }
3116
+ }
3117
+ return records;
3118
+ }
3119
+ function stringField(record2, key) {
3120
+ const value = record2?.[key];
3121
+ return typeof value === "string" && value.trim() ? value : void 0;
3122
+ }
3123
+ function numberField(record2, key) {
3124
+ const value = record2?.[key];
3125
+ const parsed = typeof value === "number" ? value : typeof value === "string" && /^\d+$/.test(value) ? Number(value) : void 0;
3126
+ return parsed !== void 0 && Number.isSafeInteger(parsed) && parsed > 0 ? parsed : void 0;
3127
+ }
3128
+ function firstUrl(value) {
3129
+ const match = /https?:\/\/[^\s"']+/u.exec(value);
3130
+ return match?.[0]?.replace(/[),.;]+$/u, "");
3131
+ }
3132
+ function runIdFromUrl(value) {
3133
+ if (!value) return void 0;
3134
+ try {
3135
+ const url2 = new URL(value);
3136
+ const raw = /\/jobs\/\d+\/runs\/(\d+)/u.exec(url2.pathname)?.[1] ?? /(?:^|\/)job\/\d+\/run\/(\d+)(?:\/|$)/u.exec(url2.hash.replace(/^#/, ""))?.[1];
3137
+ return raw ? numberField({ value: raw }, "value") : void 0;
3138
+ } catch {
3139
+ return void 0;
3140
+ }
3141
+ }
3142
+ function pipelineIdentityFromUrl(value) {
3143
+ if (!value) return void 0;
3144
+ try {
3145
+ const url2 = new URL(value);
3146
+ const match = /(?:^|\/)pipelines\/([^/]+)\/updates\/([^/?#]+)/u.exec(
3147
+ `${url2.pathname}/${url2.hash.replace(/^#/, "")}`
3148
+ );
3149
+ return match?.[1] && match[2] ? { pipelineId: match[1], updateId: match[2] } : void 0;
3150
+ } catch {
3151
+ return void 0;
3152
+ }
3153
+ }
2921
3154
 
2922
3155
  // src/consumption.ts
2923
3156
  var GROUP_COLUMNS = {
@@ -6464,7 +6697,7 @@ __export(util_exports, {
6464
6697
  getSizableOrigin: () => getSizableOrigin,
6465
6698
  hexToUint8Array: () => hexToUint8Array,
6466
6699
  isObject: () => isObject,
6467
- isPlainObject: () => isPlainObject,
6700
+ isPlainObject: () => isPlainObject2,
6468
6701
  issue: () => issue,
6469
6702
  joinValues: () => joinValues,
6470
6703
  jsonStringifyReplacer: () => jsonStringifyReplacer,
@@ -6644,7 +6877,7 @@ var allowsEval = /* @__PURE__ */ cached(() => {
6644
6877
  return false;
6645
6878
  }
6646
6879
  });
6647
- function isPlainObject(o2) {
6880
+ function isPlainObject2(o2) {
6648
6881
  if (isObject(o2) === false)
6649
6882
  return false;
6650
6883
  const ctor = o2.constructor;
@@ -6661,7 +6894,7 @@ function isPlainObject(o2) {
6661
6894
  return true;
6662
6895
  }
6663
6896
  function shallowClone(o2) {
6664
- if (isPlainObject(o2))
6897
+ if (isPlainObject2(o2))
6665
6898
  return { ...o2 };
6666
6899
  if (Array.isArray(o2))
6667
6900
  return [...o2];
@@ -6865,7 +7098,7 @@ function omit(schema, mask) {
6865
7098
  return clone(schema, def);
6866
7099
  }
6867
7100
  function extend(schema, shape) {
6868
- if (!isPlainObject(shape)) {
7101
+ if (!isPlainObject2(shape)) {
6869
7102
  throw new Error("Invalid input to extend: expected a plain object");
6870
7103
  }
6871
7104
  const checks = schema._zod.def.checks;
@@ -6888,7 +7121,7 @@ function extend(schema, shape) {
6888
7121
  return clone(schema, def);
6889
7122
  }
6890
7123
  function safeExtend(schema, shape) {
6891
- if (!isPlainObject(shape)) {
7124
+ if (!isPlainObject2(shape)) {
6892
7125
  throw new Error("Invalid input to safeExtend: expected a plain object");
6893
7126
  }
6894
7127
  const def = mergeDefs(schema._zod.def, {
@@ -9235,7 +9468,7 @@ function mergeValues(a2, b2) {
9235
9468
  if (a2 instanceof Date && b2 instanceof Date && +a2 === +b2) {
9236
9469
  return { valid: true, data: a2 };
9237
9470
  }
9238
- if (isPlainObject(a2) && isPlainObject(b2)) {
9471
+ if (isPlainObject2(a2) && isPlainObject2(b2)) {
9239
9472
  const bKeys = Object.keys(b2);
9240
9473
  const sharedKeys = Object.keys(a2).filter((key) => bKeys.indexOf(key) !== -1);
9241
9474
  const newObj = { ...a2, ...b2 };
@@ -9421,7 +9654,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
9421
9654
  $ZodType.init(inst, def);
9422
9655
  inst._zod.parse = (payload, ctx) => {
9423
9656
  const input = payload.value;
9424
- if (!isPlainObject(input)) {
9657
+ if (!isPlainObject2(input)) {
9425
9658
  payload.issues.push({
9426
9659
  expected: "record",
9427
9660
  code: "invalid_type",
@@ -64283,6 +64516,7 @@ async function databricksWithManagedMcp(config2, scope) {
64283
64516
  }
64284
64517
  function buildDatabricksBundle(config2, scope) {
64285
64518
  registerDatabricksModelProvider();
64519
+ const assetBundles = buildAssetBundleLifecycles(config2);
64286
64520
  const genie = normalizeGenieConfig(config2);
64287
64521
  validateAuthoringConfig(config2, genie);
64288
64522
  const identity = scope?.identity ?? databricksIdentity(config2.principal);
@@ -64296,12 +64530,8 @@ function buildDatabricksBundle(config2, scope) {
64296
64530
  const client = native.rawProtocol;
64297
64531
  const genieAgentModeClient = genie.agentMode ? databricksGenieAgentMode(client, genie.agentMode) : void 0;
64298
64532
  const agentServicesClient = config2.agentServices ? databricksAgentServices(client, config2.agentServices) : void 0;
64299
- const assetBundle = config2.assetBundles ? databricksAssetBundleLifecycle({
64300
- bundleDir: config2.assetBundles.bundleDir,
64301
- ...config2.assetBundles.target ? { target: config2.assetBundles.target } : {},
64302
- ...config2.assetBundles.store ? { store: config2.assetBundles.store } : {},
64303
- principalLabel: config2.governance?.principalLabel ?? principalLabel(config2.principal)
64304
- }) : void 0;
64533
+ const namedAssetBundles = assetBundles instanceof Map ? Object.freeze(Object.fromEntries(assetBundles)) : void 0;
64534
+ const assetBundle = assetBundles instanceof Map ? assetBundles.size === 1 ? [...assetBundles.values()][0] : void 0 : assetBundles;
64305
64535
  let embeddings;
64306
64536
  let retriever;
64307
64537
  let searchTool;
@@ -64383,7 +64613,7 @@ function buildDatabricksBundle(config2, scope) {
64383
64613
  ...config2.lakeflowAuthoring ? databricksLakeflowAuthoringTools(native.pipelines, {
64384
64614
  ...config2.lakeflowEvents && config2.warehouseId ? { warehouseId: config2.warehouseId, statements: native.statements } : {}
64385
64615
  }) : [],
64386
- ...assetBundle ? databricksAssetBundleTools(assetBundle) : [],
64616
+ ...assetBundles ? databricksAssetBundleTools(assetBundles) : [],
64387
64617
  ...config2.aiSearchAdmin ? databricksAiSearchAdminTools(native.vectorSearch) : [],
64388
64618
  ...config2.servingAdmin ? databricksServingAdminTools(native.modelServing) : [],
64389
64619
  ...config2.ucAdmin ? databricksUnityCatalogAdminTools(
@@ -64463,6 +64693,7 @@ function buildDatabricksBundle(config2, scope) {
64463
64693
  ...genieAgentModeClient ? { genieAgentMode: genieAgentModeClient } : {},
64464
64694
  ...agentServicesClient ? { agentServices: agentServicesClient } : {},
64465
64695
  ...assetBundle ? { assetBundle } : {},
64696
+ ...namedAssetBundles ? { assetBundles: namedAssetBundles } : {},
64466
64697
  aiGateway: {
64467
64698
  ensure: () => ensureDatabricksAiGateway(client),
64468
64699
  listModelServices: (options) => listDatabricksModelServices(client, options),
@@ -64491,6 +64722,36 @@ function buildDatabricksBundle(config2, scope) {
64491
64722
  }
64492
64723
  return bundle;
64493
64724
  }
64725
+ function buildAssetBundleLifecycles(config2) {
64726
+ const assetBundles = config2.assetBundles;
64727
+ if (assetBundles === void 0) return void 0;
64728
+ const label = config2.governance?.principalLabel ?? principalLabel(config2.principal);
64729
+ if (isDatabricksAssetBundleEntry(assetBundles))
64730
+ return databricksAssetBundleLifecycle({
64731
+ bundleDir: assetBundles.bundleDir,
64732
+ ...assetBundles.target !== void 0 ? { target: assetBundles.target } : {},
64733
+ ...assetBundles.store !== void 0 ? { store: assetBundles.store } : {},
64734
+ principalLabel: label
64735
+ });
64736
+ requireDatabricksAssetBundleMap(assetBundles);
64737
+ return databricksAssetBundleLifecycles(
64738
+ // Cast at the boundary into the validating helper: these are unvalidated config candidates, and
64739
+ // each entry's `bundleDir` is enforced there rather than trusted here.
64740
+ Object.fromEntries(
64741
+ Object.entries(assetBundles).map(([name, entry]) => [name, assetBundleEntryOptions(entry)])
64742
+ ),
64743
+ { principalLabel: label }
64744
+ );
64745
+ }
64746
+ function assetBundleEntryOptions(entry) {
64747
+ if (entry === null || typeof entry !== "object") return {};
64748
+ const { bundleDir, target, store } = entry;
64749
+ return {
64750
+ ...bundleDir !== void 0 ? { bundleDir } : {},
64751
+ ...target !== void 0 ? { target } : {},
64752
+ ...store !== void 0 ? { store } : {}
64753
+ };
64754
+ }
64494
64755
  function enabledAuthoringServices(config2, genie = normalizeGenieConfig(config2)) {
64495
64756
  return [
64496
64757
  .../* @__PURE__ */ new Set([
@@ -64635,6 +64896,7 @@ export {
64635
64896
  databricksApp,
64636
64897
  databricksApprovalRules,
64637
64898
  databricksAssetBundleLifecycle,
64899
+ databricksAssetBundleLifecycles,
64638
64900
  databricksAssetBundleTools,
64639
64901
  databricksCertificationTier,
64640
64902
  databricksCompatibilityRecord,