@databricks/appkit 0.51.0 → 0.53.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/CLAUDE.md +3 -0
- package/dist/agents/databricks.d.ts +2 -3
- package/dist/agents/databricks.d.ts.map +1 -1
- package/dist/agents/databricks.js +5 -4
- package/dist/agents/databricks.js.map +1 -1
- package/dist/agents/supervisor-api.d.ts.map +1 -1
- package/dist/agents/supervisor-api.js +3 -1
- package/dist/agents/supervisor-api.js.map +1 -1
- package/dist/appkit/package.js +1 -1
- package/dist/cache/index.d.ts.map +1 -1
- package/dist/cache/index.js +4 -2
- package/dist/cache/index.js.map +1 -1
- package/dist/connectors/files/client.js +2 -1
- package/dist/connectors/files/client.js.map +1 -1
- package/dist/connectors/genie/client.d.ts +2 -4
- package/dist/connectors/genie/client.js +2 -3
- package/dist/connectors/genie/client.js.map +1 -1
- package/dist/connectors/jobs/client.d.ts +2 -2
- package/dist/connectors/jobs/client.js +2 -1
- package/dist/connectors/jobs/client.js.map +1 -1
- package/dist/connectors/serving/client.d.ts +1 -1
- package/dist/connectors/serving/client.js +2 -1
- package/dist/connectors/serving/client.js.map +1 -1
- package/dist/connectors/sql-warehouse/client.js +2 -1
- package/dist/connectors/sql-warehouse/client.js.map +1 -1
- package/dist/connectors/sql-warehouse/defaults.js.map +1 -1
- package/dist/connectors/sql-warehouse/warehouse-status-emitter.js.map +1 -1
- package/dist/connectors/vector-search/client.js.map +1 -1
- package/dist/context/client-options.js.map +1 -1
- package/dist/context/execution-context.d.ts +1 -1
- package/dist/context/service-context.d.ts +2 -1
- package/dist/context/service-context.d.ts.map +1 -1
- package/dist/context/service-context.js +8 -5
- package/dist/context/service-context.js.map +1 -1
- package/dist/core/appkit.d.ts +2 -1
- package/dist/core/appkit.d.ts.map +1 -1
- package/dist/core/appkit.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +4 -1
- package/dist/internal-telemetry/reporter.js.map +1 -1
- package/dist/plugins/analytics/analytics.d.ts.map +1 -1
- package/dist/plugins/analytics/analytics.js.map +1 -1
- package/dist/plugins/analytics/query.js.map +1 -1
- package/dist/plugins/analytics/result-delivery.js.map +1 -1
- package/dist/plugins/files/plugin.js +4 -3
- package/dist/plugins/files/plugin.js.map +1 -1
- package/dist/plugins/files/types.d.ts +2 -1
- package/dist/plugins/files/types.d.ts.map +1 -1
- package/dist/plugins/jobs/plugin.js.map +1 -1
- package/dist/plugins/jobs/types.d.ts +2 -1
- package/dist/plugins/jobs/types.d.ts.map +1 -1
- package/dist/plugins/lakebase/lakebase.d.ts.map +1 -1
- package/dist/plugins/lakebase/lakebase.js +5 -4
- package/dist/plugins/lakebase/lakebase.js.map +1 -1
- package/dist/shared/src/schemas/manifest.d.ts +2 -2
- package/dist/stream/arrow-stream-processor.js.map +1 -1
- package/dist/type-generator/errors.js +59 -1
- package/dist/type-generator/errors.js.map +1 -1
- package/dist/type-generator/index.js +105 -22
- package/dist/type-generator/index.js.map +1 -1
- package/dist/type-generator/mv-registry/describe.js.map +1 -1
- package/dist/type-generator/query-registry.js +60 -21
- package/dist/type-generator/query-registry.js.map +1 -1
- package/dist/type-generator/serving/fetcher.js +2 -1
- package/dist/type-generator/serving/fetcher.js.map +1 -1
- package/dist/type-generator/serving/generator.js +3 -2
- package/dist/type-generator/serving/generator.js.map +1 -1
- package/dist/type-generator/statement-result.js.map +1 -1
- package/dist/type-generator/types.js.map +1 -1
- package/dist/type-generator/vite-plugin.d.ts.map +1 -1
- package/dist/type-generator/vite-plugin.js +3 -2
- package/dist/type-generator/vite-plugin.js.map +1 -1
- package/dist/type-generator/warehouse-status.js.map +1 -1
- package/dist/workspace-client/client.js +57 -0
- package/dist/workspace-client/client.js.map +1 -0
- package/dist/workspace-client/errors.d.ts +2 -0
- package/dist/workspace-client/errors.js +3 -0
- package/dist/workspace-client/factory.d.ts +19 -0
- package/dist/workspace-client/factory.d.ts.map +1 -0
- package/dist/workspace-client/factory.js +24 -0
- package/dist/workspace-client/factory.js.map +1 -0
- package/dist/workspace-client/index.d.ts +4 -0
- package/dist/workspace-client/index.js +5 -0
- package/dist/workspace-client/legacy.d.ts +29 -0
- package/dist/workspace-client/legacy.d.ts.map +1 -0
- package/dist/workspace-client/legacy.js +23 -0
- package/dist/workspace-client/legacy.js.map +1 -0
- package/dist/workspace-client/types.d.ts +49 -0
- package/dist/workspace-client/types.d.ts.map +1 -0
- package/docs/api/appkit/Class.DatabricksAdapter.md +2 -3
- package/docs/api/appkit/Function.createApp.md +9 -9
- package/docs/api/appkit/Function.createWorkspaceClient.md +28 -0
- package/docs/api/appkit/Interface.WorkspaceClient.md +119 -0
- package/docs/api/appkit/Interface.WorkspaceClientOptions.md +47 -0
- package/docs/api/appkit.md +3 -0
- package/docs/development/type-generation.md +17 -2
- package/llms.txt +3 -0
- package/package.json +1 -1
- package/sbom.cdx.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Function: createWorkspaceClient()
|
|
2
|
+
|
|
3
|
+
```ts
|
|
4
|
+
function createWorkspaceClient(opts: WorkspaceClientOptions): WorkspaceClient;
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Construct an AppKit workspace client.
|
|
9
|
+
|
|
10
|
+
Auth resolution:
|
|
11
|
+
|
|
12
|
+
* If `opts.token` is set, uses PAT credentials.
|
|
13
|
+
* Otherwise walks the SDK default auth chain (env vars + \~/.databrickscfg).
|
|
14
|
+
|
|
15
|
+
Host resolution:
|
|
16
|
+
|
|
17
|
+
* Explicit `opts.host` → use it.
|
|
18
|
+
* Otherwise resolved by the SDK from `DATABRICKS_HOST` / profile.
|
|
19
|
+
|
|
20
|
+
## Parameters[](#parameters "Direct link to Parameters")
|
|
21
|
+
|
|
22
|
+
| Parameter | Type |
|
|
23
|
+
| --------- | --------------------------------------------------------------------------------------- |
|
|
24
|
+
| `opts` | [`WorkspaceClientOptions`](./docs/api/appkit/Interface.WorkspaceClientOptions.md) |
|
|
25
|
+
|
|
26
|
+
## Returns[](#returns "Direct link to Returns")
|
|
27
|
+
|
|
28
|
+
[`WorkspaceClient`](./docs/api/appkit/Interface.WorkspaceClient.md)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Interface: WorkspaceClient
|
|
2
|
+
|
|
3
|
+
AppKit's workspace client facade. Mirrors the multi-client shape of the modular Databricks SDK: each service is its own accessor, so services can be migrated one at a time behind this stable interface.
|
|
4
|
+
|
|
5
|
+
Accessors are legacy-typed for now (delegated to the underlying legacy SDK client); see the module docblock.
|
|
6
|
+
|
|
7
|
+
## Properties[](#properties "Direct link to Properties")
|
|
8
|
+
|
|
9
|
+
### apiClient[](#apiclient "Direct link to apiClient")
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
readonly apiClient: ApiClient;
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Low-level HTTP transport (`apiClient.request(...)`). Used for endpoints without a typed service method: SCIM header probe, warehouse listing, serving SSE streaming, vector search, internal telemetry.
|
|
17
|
+
|
|
18
|
+
***
|
|
19
|
+
|
|
20
|
+
### config[](#config "Direct link to config")
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
readonly config: Config;
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
SDK `Config` — exposes `host` and `authenticate(headers)`. Used by the files-upload path and agents auth-header stamping, which bypass the typed services.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### currentUser[](#currentuser "Direct link to currentUser")
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
readonly currentUser: CurrentUserService;
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Current user.
|
|
39
|
+
|
|
40
|
+
***
|
|
41
|
+
|
|
42
|
+
### files[](#files "Direct link to files")
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
readonly files: FilesService;
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
UC Volumes / Files API.
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### genie[](#genie "Direct link to genie")
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
readonly genie: GenieService;
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Genie / dashboards.
|
|
61
|
+
|
|
62
|
+
***
|
|
63
|
+
|
|
64
|
+
### jobs[](#jobs "Direct link to jobs")
|
|
65
|
+
|
|
66
|
+
```ts
|
|
67
|
+
readonly jobs: JobsService;
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Jobs.
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### servingEndpoints[](#servingendpoints "Direct link to servingEndpoints")
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
readonly servingEndpoints: ServingEndpointsService;
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Serving Endpoints.
|
|
83
|
+
|
|
84
|
+
***
|
|
85
|
+
|
|
86
|
+
### statementExecution[](#statementexecution "Direct link to statementExecution")
|
|
87
|
+
|
|
88
|
+
```ts
|
|
89
|
+
readonly statementExecution: StatementExecutionService;
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Statement Execution.
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### warehouses[](#warehouses "Direct link to warehouses")
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
readonly warehouses: WarehousesService;
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
SQL Warehouses.
|
|
105
|
+
|
|
106
|
+
## Methods[](#methods "Direct link to Methods")
|
|
107
|
+
|
|
108
|
+
### toLegacyWorkspaceClient()[](#tolegacyworkspaceclient "Direct link to toLegacyWorkspaceClient()")
|
|
109
|
+
|
|
110
|
+
```ts
|
|
111
|
+
toLegacyWorkspaceClient(): WorkspaceClient;
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Returns the underlying legacy `@databricks/sdk-experimental` `WorkspaceClient`, for handoff to code still typed against the old SDK (`@databricks/lakebase`). Transitional.
|
|
116
|
+
|
|
117
|
+
#### Returns[](#returns "Direct link to Returns")
|
|
118
|
+
|
|
119
|
+
`WorkspaceClient`
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Interface: WorkspaceClientOptions
|
|
2
|
+
|
|
3
|
+
Options used to construct the wrapper. Mirrors the subset of the old SDK's `Config` + `ClientOptions` that AppKit relies on today; we deliberately do NOT re-expose every old-SDK config knob.
|
|
4
|
+
|
|
5
|
+
## Properties[](#properties "Direct link to Properties")
|
|
6
|
+
|
|
7
|
+
### authType?[](#authtype "Direct link to authType?")
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
optional authType: "pat";
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Authentication strategy passed to the legacy client.
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
### clientOptions?[](#clientoptions "Direct link to clientOptions?")
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
optional clientOptions: ClientOptions;
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
SDK client options (product / productVersion / userAgentExtra) used to stamp the outbound User-Agent. Produced by `getClientOptions()`; omitted by build-time callers that don't stamp a User-Agent.
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### host?[](#host "Direct link to host?")
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
optional host: string;
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Databricks host, e.g. <https://my-workspace.cloud.databricks.com>. Defaults to DATABRICKS\_HOST / profile resolution.
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### token?[](#token "Direct link to token?")
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
optional token: string;
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Bearer token. When set, `authType` defaults to "pat".
|
package/docs/api/appkit.md
CHANGED
|
@@ -85,7 +85,9 @@ Documentation merge entry for Typedoc — combines the stable `@databricks/appki
|
|
|
85
85
|
| [ToolkitOptions](./docs/api/appkit/Interface.ToolkitOptions.md) | - |
|
|
86
86
|
| [ToolProvider](./docs/api/appkit/Interface.ToolProvider.md) | - |
|
|
87
87
|
| [ValidationResult](./docs/api/appkit/Interface.ValidationResult.md) | Result of validating all registered resources against the environment. |
|
|
88
|
+
| [WorkspaceClient](./docs/api/appkit/Interface.WorkspaceClient.md) | AppKit's workspace client facade. Mirrors the multi-client shape of the modular Databricks SDK: each service is its own accessor, so services can be migrated one at a time behind this stable interface. |
|
|
88
89
|
| [WorkspaceClientLike](./docs/api/appkit/Interface.WorkspaceClientLike.md) | Structural shape of a Databricks SDK client used by [fromSupervisorApi](./docs/api/appkit/Function.fromSupervisorApi.md). Only what we need: `apiClient.request` for streaming and `config.ensureResolved` to materialise the host/credentials. |
|
|
90
|
+
| [WorkspaceClientOptions](./docs/api/appkit/Interface.WorkspaceClientOptions.md) | Options used to construct the wrapper. Mirrors the subset of the old SDK's `Config` + `ClientOptions` that AppKit relies on today; we deliberately do NOT re-expose every old-SDK config knob. |
|
|
89
91
|
|
|
90
92
|
## Type Aliases[](#type-aliases "Direct link to Type Aliases")
|
|
91
93
|
|
|
@@ -136,6 +138,7 @@ Documentation merge entry for Typedoc — combines the stable `@databricks/appki
|
|
|
136
138
|
| [createApp](./docs/api/appkit/Function.createApp.md) | Bootstraps AppKit with the provided configuration. |
|
|
137
139
|
| [createLakebasePool](./docs/api/appkit/Function.createLakebasePool.md) | Create a Lakebase pool with appkit's logger integration. Telemetry automatically uses appkit's OpenTelemetry configuration via global registry. |
|
|
138
140
|
| [createLakebasePoolManager](./docs/api/appkit/Function.createLakebasePoolManager.md) | Create a pool manager that maintains per-key Lakebase connection pools. |
|
|
141
|
+
| [createWorkspaceClient](./docs/api/appkit/Function.createWorkspaceClient.md) | Construct an AppKit workspace client. |
|
|
139
142
|
| [defineTool](./docs/api/appkit/Function.defineTool.md) | Defines a single tool entry for a plugin's internal registry. |
|
|
140
143
|
| [executeFromRegistry](./docs/api/appkit/Function.executeFromRegistry.md) | Validates tool-call arguments against the entry's schema and invokes its handler. On validation failure, returns an LLM-friendly error string (matching the behavior of `tool()`) rather than throwing, so the model can self-correct on its next turn. |
|
|
141
144
|
| [extractServingEndpoints](./docs/api/appkit/Function.extractServingEndpoints.md) | Extract serving endpoint config from a server file by AST-parsing it. Looks for `serving({ endpoints: { alias: { env: "..." }, ... } })` calls and extracts the endpoint alias names and their environment variable mappings. |
|
|
@@ -84,7 +84,22 @@ npx @databricks/appkit generate-types --wait
|
|
|
84
84
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
#### CI resilience: committed types as fallback[](#ci-resilience-committed-types-as-fallback "Direct link to CI resilience: committed types as fallback")
|
|
88
|
+
|
|
89
|
+
In blocking mode (`--wait`), the generator attempts to fetch real types from your warehouse, but delegates to **committed `.d.ts` files** (`shared/appkit-types/analytics.d.ts`, `metric-views.d.ts`) as the fallback when the warehouse is unreachable. These committed files should be part of your repository. On a fresh CI checkout, every build attempts to DESCRIBE against the warehouse; the committed types are used only when that cannot complete.
|
|
90
|
+
|
|
91
|
+
The generator **never overwrites committed types with degraded (`result: unknown`) types** — it writes real types, or it does not write at all.
|
|
92
|
+
|
|
93
|
+
A **two-bucket failure taxonomy** determines whether the build crashes or falls back to committed types:
|
|
94
|
+
|
|
95
|
+
* **Deterministic failures (always crash):** SQL syntax errors in your queries (genuine DESCRIBE failure against a reachable warehouse), HTTP 404 (bad or unknown warehouse ID), HTTP 400 (malformed request). These are developer or configuration errors that committed types must not hide.
|
|
96
|
+
* **Environmental failures (gate on committed types):** Authentication failures (401/403), network unreachability, warehouse unavailability (cold, deleting, or deleted), wait timeout on `RUNNING`, or any unrecognized failure. If committed types exist, the build **keeps them, emits a loud warning to stderr, and succeeds (exit 0)**. If no committed types exist, the build **crashes** with a message instructing you to run `npx @databricks/appkit generate-types --wait` locally (against a reachable warehouse) and commit the `.d.ts` files.
|
|
97
|
+
|
|
98
|
+
The loud warning is a single greppable stderr line naming the coarse cause (auth blocked / warehouse unreachable / warehouse unavailable) and the warehouse ID, so CI logs surface that the build fell back to committed types.
|
|
99
|
+
|
|
100
|
+
**Note:** If your app declares only metric views and no `config/queries/`, the first build still writes an empty `analytics.d.ts`, which counts as "committed types present" for the gate. An environmental failure will then fall back and warn rather than crash, even on a first build — an accepted v1 simplification.
|
|
101
|
+
|
|
102
|
+
The app template wires this up for you: `postinstall` and `predev` run the non-blocking default, while `prebuild` runs `--wait`.
|
|
88
103
|
|
|
89
104
|
## Metric-view types[](#metric-view-types "Direct link to Metric-view types")
|
|
90
105
|
|
|
@@ -92,7 +107,7 @@ In blocking mode the generator starts a stopped warehouse, waits (bounded) for i
|
|
|
92
107
|
|
|
93
108
|
* `metric-views.d.ts` — augments the `MetricRegistry` interface so `useMetricView('<key>', …)` is autocompleted and type-checked. Each view's measures, dimensions, and their semantic metadata (SQL type, display name, format, time grains) are encoded at the type level.
|
|
94
109
|
|
|
95
|
-
If `config/metric-views/definitions.json` is absent the metric path stays dormant (nothing is emitted). When present it follows the **same** warehouse-readiness contract as query types: in the default non-blocking run a view that can't be described yet — a cold warehouse, or a bad/unreachable source — is written with permissive types and a warning, while under `--wait`
|
|
110
|
+
If `config/metric-views/definitions.json` is absent the metric path stays dormant (nothing is emitted). When present it follows the **same** warehouse-readiness contract as query types: in the default non-blocking run a view that can't be described yet — a cold warehouse, or a bad/unreachable source — is written with permissive types and a warning, while under `--wait` metric views obey the [two-bucket taxonomy](#ci-resilience-committed-types-as-fallback) (environmental failures gate to committed `metric-views.d.ts` + warn; deterministic failures like malformed definitions crash the build). A malformed `definitions.json` (invalid JSON, or a source that isn't a three-part UC FQN) fails fast in every mode.
|
|
96
111
|
|
|
97
112
|
`definitions.json` is keyed by metric key; each entry names the three-part UC FQN of the view and, optionally, the executor it runs as (`app_service_principal`, the default, or `user`):
|
|
98
113
|
|
package/llms.txt
CHANGED
|
@@ -86,6 +86,7 @@ npx @databricks/appkit docs <query>
|
|
|
86
86
|
- [Function: createApp()](./docs/api/appkit/Function.createApp.md): Bootstraps AppKit with the provided configuration.
|
|
87
87
|
- [Function: createLakebasePool()](./docs/api/appkit/Function.createLakebasePool.md): Create a Lakebase pool with appkit's logger integration.
|
|
88
88
|
- [Function: createLakebasePoolManager()](./docs/api/appkit/Function.createLakebasePoolManager.md): Create a pool manager that maintains per-key Lakebase connection pools.
|
|
89
|
+
- [Function: createWorkspaceClient()](./docs/api/appkit/Function.createWorkspaceClient.md): Construct an AppKit workspace client.
|
|
89
90
|
- [Function: defineTool()](./docs/api/appkit/Function.defineTool.md): Defines a single tool entry for a plugin's internal registry.
|
|
90
91
|
- [Function: executeFromRegistry()](./docs/api/appkit/Function.executeFromRegistry.md): Validates tool-call arguments against the entry's schema and invokes its
|
|
91
92
|
- [Function: extractServingEndpoints()](./docs/api/appkit/Function.extractServingEndpoints.md): Extract serving endpoint config from a server file by AST-parsing it.
|
|
@@ -165,7 +166,9 @@ npx @databricks/appkit docs <query>
|
|
|
165
166
|
- [Interface: ToolkitOptions](./docs/api/appkit/Interface.ToolkitOptions.md): Properties
|
|
166
167
|
- [Interface: ToolProvider](./docs/api/appkit/Interface.ToolProvider.md): Methods
|
|
167
168
|
- [Interface: ValidationResult](./docs/api/appkit/Interface.ValidationResult.md): Result of validating all registered resources against the environment.
|
|
169
|
+
- [Interface: WorkspaceClient](./docs/api/appkit/Interface.WorkspaceClient.md): AppKit's workspace client facade. Mirrors the multi-client shape of the
|
|
168
170
|
- [Interface: WorkspaceClientLike](./docs/api/appkit/Interface.WorkspaceClientLike.md): Structural shape of a Databricks SDK client used by fromSupervisorApi.
|
|
171
|
+
- [Interface: WorkspaceClientOptions](./docs/api/appkit/Interface.WorkspaceClientOptions.md): Options used to construct the wrapper. Mirrors the subset of the old SDK's
|
|
169
172
|
- [Type Alias: AgentEvent](./docs/api/appkit/TypeAlias.AgentEvent.md): Type Declaration
|
|
170
173
|
- [Type Alias: AgentTool](./docs/api/appkit/TypeAlias.AgentTool.md): Any tool an agent can invoke: inline function tools (tool()), hosted MCP
|
|
171
174
|
- [Type Alias: AgentTools](./docs/api/appkit/TypeAlias.AgentTools.md): Per-agent tool record. String keys map to inline tools, toolkit entries,
|