@fabric-harness/databricks 7.0.0 → 7.0.2
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/agent.js +8 -9
- package/dist/agent.js.map +1 -1
- package/dist/certify.js +8 -9
- package/dist/certify.js.map +1 -1
- package/dist/compatibility.d.ts +1 -1
- package/dist/index.js +9 -10
- package/dist/index.js.map +1 -1
- package/dist/serving-admin.d.ts +1 -1
- package/dist/serving-admin.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/compatibility.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const DATABRICKS_API_VERSIONS: {
|
|
|
22
22
|
export declare const DATABRICKS_PACKAGE_COMPATIBILITY: {
|
|
23
23
|
readonly node: ">=22.0.0";
|
|
24
24
|
readonly package: "@fabric-harness/databricks";
|
|
25
|
-
readonly packageRange: ">=
|
|
25
|
+
readonly packageRange: ">=7.0.0 <8";
|
|
26
26
|
readonly pg: "^8.11.0 (only for Lakebase)";
|
|
27
27
|
};
|
|
28
28
|
export declare const DATABRICKS_AUTH_MODES: readonly [{
|
package/dist/index.js
CHANGED
|
@@ -60064,7 +60064,9 @@ var DatabricksServingAdmin = class {
|
|
|
60064
60064
|
return this.client.putProvisionedThroughputInferenceEndpointConfig({
|
|
60065
60065
|
name,
|
|
60066
60066
|
config: {
|
|
60067
|
-
servedEntities: servedEntities.map(
|
|
60067
|
+
servedEntities: servedEntities.map(
|
|
60068
|
+
serializePtEntity
|
|
60069
|
+
)
|
|
60068
60070
|
}
|
|
60069
60071
|
});
|
|
60070
60072
|
return this.client.putInferenceEndpointConfig({
|
|
@@ -60093,7 +60095,7 @@ var DatabricksServingAdmin = class {
|
|
|
60093
60095
|
return this.client.deleteInferenceEndpoint({ name });
|
|
60094
60096
|
}
|
|
60095
60097
|
async waitForEndpoint(name, options = {}) {
|
|
60096
|
-
const deadline = Date.now() + (options.timeoutMs ??
|
|
60098
|
+
const deadline = Date.now() + (options.timeoutMs ?? 27e5);
|
|
60097
60099
|
while (true) {
|
|
60098
60100
|
if (options.signal?.aborted)
|
|
60099
60101
|
throw options.signal.reason ?? new DOMException("Aborted", "AbortError");
|
|
@@ -60217,7 +60219,9 @@ function serializePtEntity(entity) {
|
|
|
60217
60219
|
};
|
|
60218
60220
|
}
|
|
60219
60221
|
function plainRecord3(value) {
|
|
60220
|
-
return JSON.parse(
|
|
60222
|
+
return JSON.parse(
|
|
60223
|
+
JSON.stringify(value, (_2, item) => typeof item === "bigint" ? Number(item) : item)
|
|
60224
|
+
);
|
|
60221
60225
|
}
|
|
60222
60226
|
function tool4(name, effect, inputSchema, resources, execute2) {
|
|
60223
60227
|
return {
|
|
@@ -60264,12 +60268,7 @@ function entitySchema() {
|
|
|
60264
60268
|
provisionedModelUnits: { type: "number", minimum: 1 },
|
|
60265
60269
|
burstScalingEnabled: { type: "boolean" }
|
|
60266
60270
|
},
|
|
60267
|
-
required: [
|
|
60268
|
-
"name",
|
|
60269
|
-
"entityName",
|
|
60270
|
-
"entityVersion",
|
|
60271
|
-
"provisionedModelUnits"
|
|
60272
|
-
]
|
|
60271
|
+
required: ["name", "entityName", "entityVersion", "provisionedModelUnits"]
|
|
60273
60272
|
},
|
|
60274
60273
|
{
|
|
60275
60274
|
type: "object",
|
|
@@ -64235,7 +64234,7 @@ var DATABRICKS_API_VERSIONS = {
|
|
|
64235
64234
|
var DATABRICKS_PACKAGE_COMPATIBILITY = {
|
|
64236
64235
|
node: ">=22.0.0",
|
|
64237
64236
|
package: "@fabric-harness/databricks",
|
|
64238
|
-
packageRange: ">=
|
|
64237
|
+
packageRange: ">=7.0.0 <8",
|
|
64239
64238
|
pg: "^8.11.0 (only for Lakebase)"
|
|
64240
64239
|
};
|
|
64241
64240
|
var DATABRICKS_AUTH_MODES = [
|