@databricks/appkit-ui 0.71.0 → 0.73.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 (79) hide show
  1. package/CLAUDE.md +63 -0
  2. package/NOTICE.md +3 -2
  3. package/dist/cli/commands/agent/eval.js +120 -0
  4. package/dist/cli/commands/agent/eval.js.map +1 -0
  5. package/dist/cli/commands/agent/index.js +18 -0
  6. package/dist/cli/commands/agent/index.js.map +1 -0
  7. package/dist/cli/index.js +2 -0
  8. package/dist/cli/index.js.map +1 -1
  9. package/docs/api/appkit/Class.AppKitError.md +1 -0
  10. package/docs/api/appkit/Class.DatabaseValidationError.md +191 -0
  11. package/docs/api/appkit/Class.MlflowClient.md +103 -0
  12. package/docs/api/appkit/Function.buildAssessments.md +16 -0
  13. package/docs/api/appkit/Function.configureJudge.md +18 -0
  14. package/docs/api/appkit/Function.createHttpDriver.md +18 -0
  15. package/docs/api/appkit/Function.defineEval.md +35 -0
  16. package/docs/api/appkit/Function.defineSchema.md +1 -1
  17. package/docs/api/appkit/Function.discoverEvalFiles.md +18 -0
  18. package/docs/api/appkit/Function.equals.md +18 -0
  19. package/docs/api/appkit/Function.evalGlyph.md +18 -0
  20. package/docs/api/appkit/Function.formatEvalDetail.md +18 -0
  21. package/docs/api/appkit/Function.formatEvalHeadline.md +18 -0
  22. package/docs/api/appkit/Function.formatEvalResults.md +18 -0
  23. package/docs/api/appkit/Function.formatSummaryLine.md +18 -0
  24. package/docs/api/appkit/Function.includes.md +18 -0
  25. package/docs/api/appkit/Function.isJudgeConfigured.md +10 -0
  26. package/docs/api/appkit/Function.matches.md +18 -0
  27. package/docs/api/appkit/Function.normalizeHost.md +18 -0
  28. package/docs/api/appkit/Function.readEvalDataset.md +21 -0
  29. package/docs/api/appkit/Function.reportToMlflow.md +23 -0
  30. package/docs/api/appkit/Function.resolveDatabricksAuth.md +16 -0
  31. package/docs/api/appkit/Function.resolveWorkspaceClient.md +18 -0
  32. package/docs/api/appkit/Function.runEval.md +19 -0
  33. package/docs/api/appkit/Function.runEvalsInDir.md +18 -0
  34. package/docs/api/appkit/Function.summarize.md +16 -0
  35. package/docs/api/appkit/Interface.AssertionHandle.md +54 -0
  36. package/docs/api/appkit/Interface.AssertionResult.md +48 -0
  37. package/docs/api/appkit/Interface.Assessment.md +83 -0
  38. package/docs/api/appkit/Interface.CustomJudgeSpec.md +30 -0
  39. package/docs/api/appkit/Interface.DatabaseValidationIssue.md +21 -0
  40. package/docs/api/appkit/Interface.DatabricksAuth.md +21 -0
  41. package/docs/api/appkit/Interface.DatasetRow.md +21 -0
  42. package/docs/api/appkit/Interface.DiscoveredEval.md +36 -0
  43. package/docs/api/appkit/Interface.DriveResult.md +58 -0
  44. package/docs/api/appkit/Interface.EntityMutationHooks.md +173 -0
  45. package/docs/api/appkit/Interface.EvalDefinition.md +74 -0
  46. package/docs/api/appkit/Interface.EvalDriver.md +37 -0
  47. package/docs/api/appkit/Interface.EvalResult.md +83 -0
  48. package/docs/api/appkit/Interface.EvalRunSummary.md +46 -0
  49. package/docs/api/appkit/Interface.EvalSummary.md +48 -0
  50. package/docs/api/appkit/Interface.HookApp.md +12 -0
  51. package/docs/api/appkit/Interface.HookContext.md +21 -0
  52. package/docs/api/appkit/Interface.HttpDriverOptions.md +67 -0
  53. package/docs/api/appkit/Interface.JudgeConfig.md +34 -0
  54. package/docs/api/appkit/Interface.JudgeScore.md +21 -0
  55. package/docs/api/appkit/Interface.MatchResult.md +34 -0
  56. package/docs/api/appkit/Interface.PostResult.md +30 -0
  57. package/docs/api/appkit/Interface.ReadEvalDatasetOptions.md +34 -0
  58. package/docs/api/appkit/Interface.ReadSerializerContext.md +21 -0
  59. package/docs/api/appkit/Interface.ReportOutcome.md +53 -0
  60. package/docs/api/appkit/Interface.ResolveDatabricksAuthOptions.md +34 -0
  61. package/docs/api/appkit/Interface.RunEvalOptions.md +45 -0
  62. package/docs/api/appkit/Interface.RunEvalsOptions.md +214 -0
  63. package/docs/api/appkit/Interface.TestContext.md +245 -0
  64. package/docs/api/appkit/TypeAlias.DatabaseApiConfig.md +53 -0
  65. package/docs/api/appkit/TypeAlias.DatabaseApiWriteOperation.md +8 -0
  66. package/docs/api/appkit/TypeAlias.DatabaseApiWritesConfig.md +49 -0
  67. package/docs/api/appkit/TypeAlias.DatabaseExports.md +3 -3
  68. package/docs/api/appkit/TypeAlias.EntityHooks.md +25 -0
  69. package/docs/api/appkit/TypeAlias.EvalProgress.md +26 -0
  70. package/docs/api/appkit/TypeAlias.IDatabaseConfig.md +16 -5
  71. package/docs/api/appkit/TypeAlias.Matcher.md +18 -0
  72. package/docs/api/appkit/TypeAlias.ReadSerializer.md +19 -0
  73. package/docs/api/appkit/TypeAlias.Severity.md +8 -0
  74. package/docs/api/appkit/TypeAlias.TransactionClient.md +19 -0
  75. package/docs/api/appkit.md +157 -95
  76. package/docs/plugins/database.md +144 -0
  77. package/llms.txt +63 -0
  78. package/package.json +1 -1
  79. package/sbom.cdx.json +1 -1
@@ -0,0 +1,19 @@
1
+ # Type Alias: ReadSerializer()
2
+
3
+ ```ts
4
+ type ReadSerializer = (row: Record<string, unknown>, context: ReadSerializerContext) => Record<string, unknown>;
5
+
6
+ ```
7
+
8
+ Shape one already private-safe row before it reaches the wire. A `Promise` is not assignable to the return type, so an async callback fails to compile: serializers run inside the response path and must not add latency there.
9
+
10
+ ## Parameters[​](#parameters "Direct link to Parameters")
11
+
12
+ | Parameter | Type |
13
+ | --------- | ------------------------------------------------------------------------------------- |
14
+ | `row` | `Record`<`string`, `unknown`> |
15
+ | `context` | [`ReadSerializerContext`](./docs/api/appkit/Interface.ReadSerializerContext.md) |
16
+
17
+ ## Returns[​](#returns "Direct link to Returns")
18
+
19
+ `Record`<`string`, `unknown`>
@@ -0,0 +1,8 @@
1
+ # Type Alias: Severity
2
+
3
+ ```ts
4
+ type Severity = "gate" | "soft";
5
+
6
+ ```
7
+
8
+ Whether an assertion fails the eval (`gate`) or is tracked only (`soft`).
@@ -0,0 +1,19 @@
1
+ # Type Alias: TransactionClient
2
+
3
+ ```ts
4
+ type TransactionClient = { readonly [K in EntityName]: TypedEntityClient<K> } & {
5
+ sql: SqlTag;
6
+ };
7
+
8
+ ```
9
+
10
+ Entity and SQL capabilities bound to one transaction.
11
+
12
+ ## Type Declaration[​](#type-declaration "Direct link to Type Declaration")
13
+
14
+ ### sql[​](#sql "Direct link to sql")
15
+
16
+ ```ts
17
+ readonly sql: SqlTag;
18
+
19
+ ```