-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmanifest.json
More file actions
57 lines (57 loc) · 1.78 KB
/
manifest.json
File metadata and controls
57 lines (57 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "https://databricks.github.io/appkit/schemas/plugin-manifest.schema.json",
"name": "analytics",
"displayName": "Analytics Plugin",
"description": "SQL query execution against Databricks SQL Warehouses",
"agentHint": "Run 'databricks warehouses list' to find your SQL Warehouse ID.",
"resources": {
"required": [
{
"type": "sql_warehouse",
"alias": "SQL Warehouse",
"resourceKey": "sql-warehouse",
"description": "SQL Warehouse for executing analytics queries",
"permission": "CAN_USE",
"fields": {
"id": {
"env": "DATABRICKS_WAREHOUSE_ID",
"description": "SQL Warehouse ID",
"resolution": "user-provided",
"discovery": {
"cliCommand": "databricks warehouses list --profile <PROFILE> -o json",
"selectField": ".id",
"displayField": ".name",
"shortcut": "databricks experimental aitools tools get-default-warehouse --profile <PROFILE>"
}
}
}
}
],
"optional": []
},
"config": {
"schema": {
"type": "object",
"properties": {
"timeout": {
"type": "number",
"default": 30000,
"description": "Query execution timeout in milliseconds"
}
}
}
},
"postScaffold": [
{ "step": 1, "instruction": "Create SQL query files in config/queries/" },
{ "step": 2, "instruction": "Run: npm run typegen", "blocking": true },
{
"step": 3,
"instruction": "Read client/src/appKitTypes.d.ts for generated types"
},
{ "step": 4, "instruction": "Write UI code using the generated types" },
{
"step": 5,
"instruction": "Update tests/smoke.spec.ts selectors for your app"
}
]
}