@databricks/appkit 0.71.0 → 0.72.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 (117) hide show
  1. package/CLAUDE.md +46 -0
  2. package/NOTICE.md +2 -2
  3. package/dist/appkit/package.js +1 -1
  4. package/dist/beta.d.ts +13 -1
  5. package/dist/beta.js +13 -1
  6. package/dist/cli/commands/agent/eval.js +112 -0
  7. package/dist/cli/commands/agent/eval.js.map +1 -0
  8. package/dist/cli/commands/agent/index.js +18 -0
  9. package/dist/cli/commands/agent/index.js.map +1 -0
  10. package/dist/cli/index.js +2 -0
  11. package/dist/cli/index.js.map +1 -1
  12. package/dist/connectors/index.js +2 -0
  13. package/dist/connectors/mlflow/auth.d.ts +18 -0
  14. package/dist/connectors/mlflow/auth.d.ts.map +1 -0
  15. package/dist/connectors/mlflow/auth.js +50 -0
  16. package/dist/connectors/mlflow/auth.js.map +1 -0
  17. package/dist/connectors/mlflow/client.d.ts +51 -0
  18. package/dist/connectors/mlflow/client.d.ts.map +1 -0
  19. package/dist/connectors/mlflow/client.js +93 -0
  20. package/dist/connectors/mlflow/client.js.map +1 -0
  21. package/dist/evals/define-eval.d.ts +26 -0
  22. package/dist/evals/define-eval.d.ts.map +1 -0
  23. package/dist/evals/define-eval.js +28 -0
  24. package/dist/evals/define-eval.js.map +1 -0
  25. package/dist/evals/discover.d.ts +20 -0
  26. package/dist/evals/discover.d.ts.map +1 -0
  27. package/dist/evals/discover.js +49 -0
  28. package/dist/evals/discover.js.map +1 -0
  29. package/dist/evals/http-driver.d.ts +33 -0
  30. package/dist/evals/http-driver.d.ts.map +1 -0
  31. package/dist/evals/http-driver.js +118 -0
  32. package/dist/evals/http-driver.js.map +1 -0
  33. package/dist/evals/index.js +13 -0
  34. package/dist/evals/judge.d.ts +26 -0
  35. package/dist/evals/judge.d.ts.map +1 -0
  36. package/dist/evals/judge.js +77 -0
  37. package/dist/evals/judge.js.map +1 -0
  38. package/dist/evals/matchers.d.ts +12 -0
  39. package/dist/evals/matchers.d.ts.map +1 -0
  40. package/dist/evals/matchers.js +26 -0
  41. package/dist/evals/matchers.js.map +1 -0
  42. package/dist/evals/mlflow-report.d.ts +36 -0
  43. package/dist/evals/mlflow-report.d.ts.map +1 -0
  44. package/dist/evals/mlflow-report.js +161 -0
  45. package/dist/evals/mlflow-report.js.map +1 -0
  46. package/dist/evals/mlflow-run.d.ts +11 -0
  47. package/dist/evals/mlflow-run.d.ts.map +1 -0
  48. package/dist/evals/mlflow-run.js +101 -0
  49. package/dist/evals/mlflow-run.js.map +1 -0
  50. package/dist/evals/pool.js +24 -0
  51. package/dist/evals/pool.js.map +1 -0
  52. package/dist/evals/report.d.ts +25 -0
  53. package/dist/evals/report.d.ts.map +1 -0
  54. package/dist/evals/report.js +57 -0
  55. package/dist/evals/report.js.map +1 -0
  56. package/dist/evals/run-eval.d.ts +20 -0
  57. package/dist/evals/run-eval.d.ts.map +1 -0
  58. package/dist/evals/run-eval.js +144 -0
  59. package/dist/evals/run-eval.js.map +1 -0
  60. package/dist/evals/run-evals.d.ts +85 -0
  61. package/dist/evals/run-evals.d.ts.map +1 -0
  62. package/dist/evals/run-evals.js +178 -0
  63. package/dist/evals/run-evals.js.map +1 -0
  64. package/dist/evals/types.d.ts +127 -0
  65. package/dist/evals/types.d.ts.map +1 -0
  66. package/dist/plugins/agents/agents.js +1 -1
  67. package/dist/shared/src/schemas/manifest.d.ts +33 -33
  68. package/docs/api/appkit/Class.MlflowClient.md +103 -0
  69. package/docs/api/appkit/Function.buildAssessments.md +16 -0
  70. package/docs/api/appkit/Function.configureJudge.md +18 -0
  71. package/docs/api/appkit/Function.createHttpDriver.md +18 -0
  72. package/docs/api/appkit/Function.defineEval.md +35 -0
  73. package/docs/api/appkit/Function.discoverEvalFiles.md +18 -0
  74. package/docs/api/appkit/Function.equals.md +18 -0
  75. package/docs/api/appkit/Function.evalGlyph.md +18 -0
  76. package/docs/api/appkit/Function.formatEvalDetail.md +18 -0
  77. package/docs/api/appkit/Function.formatEvalHeadline.md +18 -0
  78. package/docs/api/appkit/Function.formatEvalResults.md +18 -0
  79. package/docs/api/appkit/Function.formatSummaryLine.md +18 -0
  80. package/docs/api/appkit/Function.includes.md +18 -0
  81. package/docs/api/appkit/Function.isJudgeConfigured.md +10 -0
  82. package/docs/api/appkit/Function.matches.md +18 -0
  83. package/docs/api/appkit/Function.normalizeHost.md +18 -0
  84. package/docs/api/appkit/Function.reportToMlflow.md +23 -0
  85. package/docs/api/appkit/Function.resolveDatabricksAuth.md +16 -0
  86. package/docs/api/appkit/Function.runEval.md +19 -0
  87. package/docs/api/appkit/Function.runEvalsInDir.md +18 -0
  88. package/docs/api/appkit/Function.summarize.md +16 -0
  89. package/docs/api/appkit/Interface.AssertionHandle.md +54 -0
  90. package/docs/api/appkit/Interface.AssertionResult.md +48 -0
  91. package/docs/api/appkit/Interface.Assessment.md +83 -0
  92. package/docs/api/appkit/Interface.CustomJudgeSpec.md +30 -0
  93. package/docs/api/appkit/Interface.DatabricksAuth.md +21 -0
  94. package/docs/api/appkit/Interface.DiscoveredEval.md +36 -0
  95. package/docs/api/appkit/Interface.DriveResult.md +58 -0
  96. package/docs/api/appkit/Interface.EvalDefinition.md +46 -0
  97. package/docs/api/appkit/Interface.EvalDriver.md +22 -0
  98. package/docs/api/appkit/Interface.EvalResult.md +83 -0
  99. package/docs/api/appkit/Interface.EvalRunSummary.md +46 -0
  100. package/docs/api/appkit/Interface.EvalSummary.md +48 -0
  101. package/docs/api/appkit/Interface.HttpDriverOptions.md +67 -0
  102. package/docs/api/appkit/Interface.JudgeConfig.md +34 -0
  103. package/docs/api/appkit/Interface.JudgeScore.md +21 -0
  104. package/docs/api/appkit/Interface.MatchResult.md +34 -0
  105. package/docs/api/appkit/Interface.PostResult.md +30 -0
  106. package/docs/api/appkit/Interface.ReportOutcome.md +53 -0
  107. package/docs/api/appkit/Interface.ResolveDatabricksAuthOptions.md +34 -0
  108. package/docs/api/appkit/Interface.RunEvalOptions.md +34 -0
  109. package/docs/api/appkit/Interface.RunEvalsOptions.md +192 -0
  110. package/docs/api/appkit/Interface.TestContext.md +208 -0
  111. package/docs/api/appkit/TypeAlias.EvalProgress.md +26 -0
  112. package/docs/api/appkit/TypeAlias.Matcher.md +18 -0
  113. package/docs/api/appkit/TypeAlias.Severity.md +8 -0
  114. package/docs/api/appkit.md +63 -17
  115. package/llms.txt +46 -0
  116. package/package.json +2 -1
  117. package/sbom.cdx.json +1 -1
package/llms.txt CHANGED
@@ -71,6 +71,7 @@ npx @databricks/appkit docs <query>
71
71
  - [Class: DatabricksAdapter](./docs/api/appkit/Class.DatabricksAdapter.md): Adapter that talks directly to Databricks Model Serving /invocations endpoint.
72
72
  - [Class: ExecutionError](./docs/api/appkit/Class.ExecutionError.md): Error thrown when an operation execution fails.
73
73
  - [Class: InitializationError](./docs/api/appkit/Class.InitializationError.md): Error thrown when a service or component is not properly initialized.
74
+ - [Class: MlflowClient](./docs/api/appkit/Class.MlflowClient.md): A thin client over the Databricks workspace REST API, owning the host + bearer
74
75
  - [Abstract Class: Plugin<TConfig>](./docs/api/appkit/Class.Plugin.md): Base abstract class for creating AppKit plugins.
75
76
  - [Class: PolicyDeniedError](./docs/api/appkit/Class.PolicyDeniedError.md): Thrown when a policy denies an action.
76
77
  - [Class: ResourceRegistry](./docs/api/appkit/Class.ResourceRegistry.md): Central registry for tracking plugin resource requirements.
@@ -86,20 +87,31 @@ npx @databricks/appkit docs <query>
86
87
  - [Function: bigid()](./docs/api/appkit/Function.bigid.md): Returns
87
88
  - [Function: bigint()](./docs/api/appkit/Function.bigint.md): Returns
88
89
  - [Function: boolean()](./docs/api/appkit/Function.boolean.md): Returns
90
+ - [Function: buildAssessments()](./docs/api/appkit/Function.buildAssessments.md): Parameters
91
+ - [Function: configureJudge()](./docs/api/appkit/Function.configureJudge.md): Configure the judge once. Sets the OpenAI-compatible client env autoevals
89
92
  - [Function: createAgent()](./docs/api/appkit/Function.createAgent.md): Pure factory for agent definitions: cycle-detects the sub-agent graph and
90
93
  - [Function: createApp()](./docs/api/appkit/Function.createApp.md): Bootstraps AppKit with the provided configuration.
94
+ - [Function: createHttpDriver()](./docs/api/appkit/Function.createHttpDriver.md): Drives an agent by POSTing to a running app's chat endpoint and parsing the
91
95
  - [Function: createLakebasePool()](./docs/api/appkit/Function.createLakebasePool.md): Create a Lakebase pool with appkit's logger integration.
92
96
  - [Function: createLakebasePoolManager()](./docs/api/appkit/Function.createLakebasePoolManager.md): Create a pool manager that maintains per-key Lakebase connection pools.
93
97
  - [Function: createWorkspaceClient()](./docs/api/appkit/Function.createWorkspaceClient.md): Construct an AppKit workspace client.
94
98
  - [Function: database()](./docs/api/appkit/Function.database.md): Create a typed database plugin registration for a finalized schema.
99
+ - [Function: defineEval()](./docs/api/appkit/Function.defineEval.md): Define an agent eval. Default-export the result from a
95
100
  - [Function: defineManifest()](./docs/api/appkit/Function.defineManifest.md): Validates a raw manifest (typically a manifest.json import) against the
96
101
  - [Function: defineSchema()](./docs/api/appkit/Function.defineSchema.md): Compile one declared schema. The returned type keeps the table names the
97
102
  - [Function: defineTool()](./docs/api/appkit/Function.defineTool.md): Defines a single tool entry for a plugin's internal registry.
103
+ - [Function: discoverEvalFiles()](./docs/api/appkit/Function.discoverEvalFiles.md): Discover evals under /server/agents//evals/ — co-located
98
104
  - [Function: enumColumn()](./docs/api/appkit/Function.enumColumn.md): Parameters
105
+ - [Function: equals()](./docs/api/appkit/Function.equals.md): Passes when the value equals expected exactly.
106
+ - [Function: evalGlyph()](./docs/api/appkit/Function.evalGlyph.md): Status glyph for a single eval result.
99
107
  - [Function: executeFromRegistry()](./docs/api/appkit/Function.executeFromRegistry.md): Validates tool-call arguments against the entry's schema and invokes its
100
108
  - [Function: extractServingEndpoints()](./docs/api/appkit/Function.extractServingEndpoints.md): Extract serving endpoint config from a server file by AST-parsing it.
101
109
  - [Function: findServerFile()](./docs/api/appkit/Function.findServerFile.md): Find the server entry file by checking candidate paths in order.
102
110
  - [Function: fk()](./docs/api/appkit/Function.fk.md): Declare foreign-key to another column.
111
+ - [Function: formatEvalDetail()](./docs/api/appkit/Function.formatEvalDetail.md): Indented detail lines for a failing eval (error + failing assertions).
112
+ - [Function: formatEvalHeadline()](./docs/api/appkit/Function.formatEvalHeadline.md): The one-line header for a single eval result (no failure detail).
113
+ - [Function: formatEvalResults()](./docs/api/appkit/Function.formatEvalResults.md): Render all results as a human-readable console report (non-streaming).
114
+ - [Function: formatSummaryLine()](./docs/api/appkit/Function.formatSummaryLine.md): The final PASS/FAIL summary line.
103
115
  - [Function: fromSupervisorApi()](./docs/api/appkit/Function.fromSupervisorApi.md): Creates an AgentAdapter backed by the Databricks AI Gateway
104
116
  - [Function: functionToolToDefinition()](./docs/api/appkit/Function.functionToolToDefinition.md): Parameters
105
117
  - [Function: generateDatabaseCredential()](./docs/api/appkit/Function.generateDatabaseCredential.md): Generate OAuth credentials for Postgres database connection using the proper Postgres API.
@@ -111,19 +123,28 @@ npx @databricks/appkit docs <query>
111
123
  - [Function: getUsernameWithApiLookup()](./docs/api/appkit/Function.getUsernameWithApiLookup.md): Resolves the PostgreSQL username for a Lakebase connection.
112
124
  - [Function: getWorkspaceClient()](./docs/api/appkit/Function.getWorkspaceClient.md): Get workspace client from config or SDK default auth chain
113
125
  - [Function: id()](./docs/api/appkit/Function.id.md): Returns
126
+ - [Function: includes()](./docs/api/appkit/Function.includes.md): Passes when the value contains substring.
114
127
  - [Function: integer()](./docs/api/appkit/Function.integer.md): Returns
115
128
  - [Function: isFunctionTool()](./docs/api/appkit/Function.isFunctionTool.md): Parameters
116
129
  - [Function: isHostedTool()](./docs/api/appkit/Function.isHostedTool.md): Parameters
130
+ - [Function: isJudgeConfigured()](./docs/api/appkit/Function.isJudgeConfigured.md): Returns
117
131
  - [Function: isSQLTypeMarker()](./docs/api/appkit/Function.isSQLTypeMarker.md): Type guard to check if a value is a SQL type marker
118
132
  - [Function: isSupervisorTool()](./docs/api/appkit/Function.isSupervisorTool.md): Type guard for HostedSupervisorTool. Used by the agents plugin
119
133
  - [Function: isToolkitEntry()](./docs/api/appkit/Function.isToolkitEntry.md): Type guard for ToolkitEntry — used by the agents plugin to differentiate
120
134
  - [Function: jsonb()](./docs/api/appkit/Function.jsonb.md): Returns
121
135
  - [Function: loadAgentFromFile()](./docs/api/appkit/Function.loadAgentFromFile.md): Loads a single markdown agent file and resolves its frontmatter against
122
136
  - [Function: loadAgentsFromDir()](./docs/api/appkit/Function.loadAgentsFromDir.md): Scans a directory for one subdirectory per agent, each containing
137
+ - [Function: matches()](./docs/api/appkit/Function.matches.md): Passes when the value matches pattern.
123
138
  - [Function: mcpServer()](./docs/api/appkit/Function.mcpServer.md): Factory for declaring a custom MCP server tool.
139
+ - [Function: normalizeHost()](./docs/api/appkit/Function.normalizeHost.md): Ensure the host has a scheme (Databricks env often lacks https://).
124
140
  - [Function: parseTextToolCalls()](./docs/api/appkit/Function.parseTextToolCalls.md): Parses text-based tool calls from model output.
141
+ - [Function: reportToMlflow()](./docs/api/appkit/Function.reportToMlflow.md): Write one pass/fail assessment per eval result to the Databricks MLflow REST
142
+ - [Function: resolveDatabricksAuth()](./docs/api/appkit/Function.resolveDatabricksAuth.md): Parameters
125
143
  - [Function: resolveHostedTools()](./docs/api/appkit/Function.resolveHostedTools.md): Parameters
126
144
  - [Function: runAgent()](./docs/api/appkit/Function.runAgent.md): Standalone agent execution without createApp. Resolves the adapter, binds
145
+ - [Function: runEval()](./docs/api/appkit/Function.runEval.md): Run a single eval against a driver. Never throws for assertion or agent
146
+ - [Function: runEvalsInDir()](./docs/api/appkit/Function.runEvalsInDir.md): Discover, load, and run every eval under each agent's evals/ dir, driving
147
+ - [Function: summarize()](./docs/api/appkit/Function.summarize.md): Parameters
127
148
  - [Function: text()](./docs/api/appkit/Function.text.md): Returns
128
149
  - [Function: timestamp()](./docs/api/appkit/Function.timestamp.md): Parameters
129
150
  - [Function: tool()](./docs/api/appkit/Function.tool.md): Factory for defining function tools with Zod schemas.
@@ -136,18 +157,31 @@ npx @databricks/appkit docs <query>
136
157
  - [Interface: AgentRunContext](./docs/api/appkit/Interface.AgentRunContext.md): Properties
137
158
  - [Interface: AgentsPluginConfig](./docs/api/appkit/Interface.AgentsPluginConfig.md): Base configuration interface for AppKit plugins
138
159
  - [Interface: AgentToolDefinition](./docs/api/appkit/Interface.AgentToolDefinition.md): Properties
160
+ - [Interface: AssertionHandle](./docs/api/appkit/Interface.AssertionHandle.md): Chainable handle returned by every assertion to control its severity.
161
+ - [Interface: AssertionResult](./docs/api/appkit/Interface.AssertionResult.md): A single recorded assertion outcome.
162
+ - [Interface: Assessment](./docs/api/appkit/Interface.Assessment.md): A Feedback assessment in the MLflow REST proto-JSON shape.
139
163
  - [Interface: AutoInheritToolsConfig](./docs/api/appkit/Interface.AutoInheritToolsConfig.md): Auto-inherit configuration. When enabled for a given agent origin, agents
140
164
  - [Interface: BasePluginConfig](./docs/api/appkit/Interface.BasePluginConfig.md): Base configuration interface for AppKit plugins
141
165
  - [Interface: CacheConfig](./docs/api/appkit/Interface.CacheConfig.md): Configuration for the CacheInterceptor. Controls TTL, size limits, storage backend, and probabilistic cleanup.
166
+ - [Interface: CustomJudgeSpec](./docs/api/appkit/Interface.CustomJudgeSpec.md): A custom LLM-judge definition: a prompt template and choice→score mapping.
142
167
  - [Interface: DatabaseCredential](./docs/api/appkit/Interface.DatabaseCredential.md): Database credentials with OAuth token for Postgres connection
143
168
  - [Interface: DatabaseRegistry](./docs/api/appkit/Interface.DatabaseRegistry.md): CANONICAL augmentation target. Empty by default; the generated database.d.ts
169
+ - [Interface: DatabricksAuth](./docs/api/appkit/Interface.DatabricksAuth.md): Resolved Databricks host + bearer token for the eval runner's REST calls.
170
+ - [Interface: DiscoveredEval](./docs/api/appkit/Interface.DiscoveredEval.md): An eval file found under server/agents//evals/.
171
+ - [Interface: DriveResult](./docs/api/appkit/Interface.DriveResult.md): What a driver returns for a single t.send.
144
172
  - [Interface: EndpointConfig](./docs/api/appkit/Interface.EndpointConfig.md): Properties
173
+ - [Interface: EvalDefinition](./docs/api/appkit/Interface.EvalDefinition.md): A single eval, default-exported from a *.eval.ts file.
174
+ - [Interface: EvalDriver](./docs/api/appkit/Interface.EvalDriver.md): Abstraction over how the agent is driven. The HTTP driver posts to a running
175
+ - [Interface: EvalResult](./docs/api/appkit/Interface.EvalResult.md): The outcome of running one eval.
176
+ - [Interface: EvalRunSummary](./docs/api/appkit/Interface.EvalRunSummary.md): Properties
177
+ - [Interface: EvalSummary](./docs/api/appkit/Interface.EvalSummary.md): Properties
145
178
  - [Interface: FilePolicyUser](./docs/api/appkit/Interface.FilePolicyUser.md): Minimal user identity passed to the policy function.
146
179
  - [Interface: FileResource](./docs/api/appkit/Interface.FileResource.md): Describes the file or directory being acted upon.
147
180
  - [Interface: FunctionTool](./docs/api/appkit/Interface.FunctionTool.md): Properties
148
181
  - [Interface: GenerateDatabaseCredentialRequest](./docs/api/appkit/Interface.GenerateDatabaseCredentialRequest.md): Request parameters for generating database OAuth credentials
149
182
  - [Interface: GenerationParams](./docs/api/appkit/Interface.GenerationParams.md): Optional generation parameters forwarded to the OpenAI-compatible serving
150
183
  - [Interface: HostedSupervisorTool](./docs/api/appkit/Interface.HostedSupervisorTool.md): Tagged record returned by every supervisorTools factory. The
184
+ - [Interface: HttpDriverOptions](./docs/api/appkit/Interface.HttpDriverOptions.md): Properties
151
185
  - [Interface: IAiSearchConfig](./docs/api/appkit/Interface.IAiSearchConfig.md): Base configuration interface for AppKit plugins
152
186
  - [Interface: IJobsConfig](./docs/api/appkit/Interface.IJobsConfig.md): Configuration for the Jobs plugin.
153
187
  - [Interface: IndexConfig](./docs/api/appkit/Interface.IndexConfig.md): Properties
@@ -155,22 +189,30 @@ npx @databricks/appkit docs <query>
155
189
  - [Interface: JobAPI](./docs/api/appkit/Interface.JobAPI.md): User-facing API for a single configured job.
156
190
  - [Interface: JobConfig](./docs/api/appkit/Interface.JobConfig.md): Per-job configuration options.
157
191
  - [Interface: JobsConnectorConfig](./docs/api/appkit/Interface.JobsConnectorConfig.md): Properties
192
+ - [Interface: JudgeConfig](./docs/api/appkit/Interface.JudgeConfig.md): Properties
193
+ - [Interface: JudgeScore](./docs/api/appkit/Interface.JudgeScore.md): A normalized judge result. score is 0..1.
158
194
  - [Interface: LakebasePool](./docs/api/appkit/Interface.LakebasePool.md): Subset of pg.Pool exposed by the Lakebase plugin.
159
195
  - [Interface: LakebasePoolConfig](./docs/api/appkit/Interface.LakebasePoolConfig.md): Configuration for creating a Lakebase connection pool
160
196
  - [Interface: LakebasePoolManager](./docs/api/appkit/Interface.LakebasePoolManager.md): Manages multiple Lakebase connection pools keyed by an identifier (e.g. userId).
197
+ - [Interface: MatchResult](./docs/api/appkit/Interface.MatchResult.md): Result of a deterministic matcher run against a value.
161
198
  - [Interface: McpConnectAllResult](./docs/api/appkit/Interface.McpConnectAllResult.md): Per-endpoint outcome of AppKitMcpClient.connectAll. Callers (the
162
199
  - [Interface: Message](./docs/api/appkit/Interface.Message.md): Properties
163
200
  - [Interface: PluginManifest<TName>](./docs/api/appkit/Interface.PluginManifest.md): Plugin manifest that declares metadata and resource requirements.
164
201
  - [Interface: PluginToolkitProvider](./docs/api/appkit/Interface.PluginToolkitProvider.md): Minimum shape every entry in the Plugins map must expose. Core
202
+ - [Interface: PostResult](./docs/api/appkit/Interface.PostResult.md): Structured result for a best-effort POST that must not throw.
165
203
  - [Interface: PromptContext](./docs/api/appkit/Interface.PromptContext.md): Context passed to baseSystemPrompt callbacks.
166
204
  - [Interface: RegisteredAgent](./docs/api/appkit/Interface.RegisteredAgent.md): Properties
205
+ - [Interface: ReportOutcome](./docs/api/appkit/Interface.ReportOutcome.md): Properties
167
206
  - [Interface: RequestedClaims](./docs/api/appkit/Interface.RequestedClaims.md): Optional claims for fine-grained Unity Catalog table permissions
168
207
  - [Interface: RequestedResource](./docs/api/appkit/Interface.RequestedResource.md): Resource to request permissions for in Unity Catalog
169
208
  - [Interface: RerankerConfig](./docs/api/appkit/Interface.RerankerConfig.md): Properties
209
+ - [Interface: ResolveDatabricksAuthOptions](./docs/api/appkit/Interface.ResolveDatabricksAuthOptions.md): Properties
170
210
  - [Interface: ResourceEntry](./docs/api/appkit/Interface.ResourceEntry.md): Internal representation of a resource in the registry.
171
211
  - [Interface: ResourceRequirement](./docs/api/appkit/Interface.ResourceRequirement.md): Declares a resource requirement for a plugin.
172
212
  - [Interface: RunAgentInput](./docs/api/appkit/Interface.RunAgentInput.md): Properties
173
213
  - [Interface: RunAgentResult](./docs/api/appkit/Interface.RunAgentResult.md): Properties
214
+ - [Interface: RunEvalOptions](./docs/api/appkit/Interface.RunEvalOptions.md): Properties
215
+ - [Interface: RunEvalsOptions](./docs/api/appkit/Interface.RunEvalsOptions.md): Properties
174
216
  - [Interface: Schema<TTableName>](./docs/api/appkit/Interface.Schema.md): One finalized schema. TTableName keeps the declared names in the type, so
175
217
  - [Interface: SearchRequest](./docs/api/appkit/Interface.SearchRequest.md): Properties
176
218
  - [Interface: SearchResponse<T>](./docs/api/appkit/Interface.SearchResponse.md): Type Parameters
@@ -181,6 +223,7 @@ npx @databricks/appkit docs <query>
181
223
  - [Interface: SupervisorApiAdapterOptions](./docs/api/appkit/Interface.SupervisorApiAdapterOptions.md): Properties
182
224
  - [Interface: SupervisorExtension](./docs/api/appkit/Interface.SupervisorExtension.md): Shape of the value at AgentInput.extensions[SUPERVISOREXTENSIONKEY].
183
225
  - [Interface: TelemetryConfig](./docs/api/appkit/Interface.TelemetryConfig.md): OpenTelemetry configuration for AppKit applications
226
+ - [Interface: TestContext](./docs/api/appkit/Interface.TestContext.md): The t context passed to an eval's test function.
184
227
  - [Interface: Thread](./docs/api/appkit/Interface.Thread.md): Properties
185
228
  - [Interface: ThreadStore](./docs/api/appkit/Interface.ThreadStore.md): Methods
186
229
  - [Interface: ToolAnnotations](./docs/api/appkit/Interface.ToolAnnotations.md): Properties
@@ -200,6 +243,7 @@ npx @databricks/appkit docs <query>
200
243
  - [Type Alias: BaseSystemPromptOption](./docs/api/appkit/TypeAlias.BaseSystemPromptOption.md)
201
244
  - [Type Alias: ConfigSchema](./docs/api/appkit/TypeAlias.ConfigSchema.md): Configuration schema definition for plugin config.
202
245
  - [Type Alias: DatabaseExports](./docs/api/appkit/TypeAlias.DatabaseExports.md): Typed database API published by the plugin.
246
+ - [Type Alias: EvalProgress](./docs/api/appkit/TypeAlias.EvalProgress.md)
203
247
  - [Type Alias: ExecutionResult<T>](./docs/api/appkit/TypeAlias.ExecutionResult.md): Discriminated union for plugin execution results.
204
248
  - [Type Alias: FileAction](./docs/api/appkit/TypeAlias.FileAction.md): Every action the files plugin can perform.
205
249
  - [Type Alias: FilePolicy()](./docs/api/appkit/TypeAlias.FilePolicy.md): A policy function that decides whether user may perform action on
@@ -207,6 +251,7 @@ npx @databricks/appkit docs <query>
207
251
  - [Type Alias: IAppRouter](./docs/api/appkit/TypeAlias.IAppRouter.md): Express router type for plugin route registration
208
252
  - [Type Alias: IDatabaseConfig<TSchema>](./docs/api/appkit/TypeAlias.IDatabaseConfig.md): Configuration for one schema-bound DatabasePlugin instance.
209
253
  - [Type Alias: JobsExport()](./docs/api/appkit/TypeAlias.JobsExport.md): Public API shape of the jobs plugin.
254
+ - [Type Alias: Matcher()](./docs/api/appkit/TypeAlias.Matcher.md): A deterministic matcher: inspects a string value and returns a result.
210
255
  - [Type Alias: PluginData<T, U, N>](./docs/api/appkit/TypeAlias.PluginData.md): Tuple of plugin class, config, and name. Created by toPlugin() and passed to createApp().
211
256
  - [Type Alias: Plugins](./docs/api/appkit/TypeAlias.Plugins.md): Plugin map passed to the function form of AgentDefinition.tools.
212
257
  - [Type Alias: ResolvedToolEntry](./docs/api/appkit/TypeAlias.ResolvedToolEntry.md): Internal tool-index entry after a tool record has been resolved to a dispatchable form.
@@ -214,6 +259,7 @@ npx @databricks/appkit docs <query>
214
259
  - [Type Alias: ResourcePermission](./docs/api/appkit/TypeAlias.ResourcePermission.md): Union of all possible permission levels across all resource types.
215
260
  - [Type Alias: SearchFilters](./docs/api/appkit/TypeAlias.SearchFilters.md)
216
261
  - [Type Alias: ServingFactory](./docs/api/appkit/TypeAlias.ServingFactory.md): Factory function returned by AppKit.serving.
262
+ - [Type Alias: Severity](./docs/api/appkit/TypeAlias.Severity.md): Whether an assertion fails the eval (gate) or is tracked only (soft).
217
263
  - [Type Alias: SupervisorTool](./docs/api/appkit/TypeAlias.SupervisorTool.md): Tools supported by the Databricks AI Gateway Responses API. The shapes match
218
264
  - [Type Alias: ToolRegistry](./docs/api/appkit/TypeAlias.ToolRegistry.md)
219
265
  - [Type Alias: ToPlugin()<T, U, N>](./docs/api/appkit/TypeAlias.ToPlugin.md): Factory function type returned by toPlugin(). Accepts optional config and returns a PluginData tuple.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@databricks/appkit",
3
3
  "type": "module",
4
- "version": "0.71.0",
4
+ "version": "0.72.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "bin": {
@@ -76,6 +76,7 @@
76
76
  "@opentelemetry/semantic-conventions": "1.38.0",
77
77
  "@types/semver": "7.7.1",
78
78
  "apache-arrow": "21.1.0",
79
+ "autoevals": "0.3.0",
79
80
  "dotenv": "16.6.1",
80
81
  "drizzle-orm": "0.45.2",
81
82
  "express": "4.22.2",