Repository navigation
Expand file tree
/
Copy pathruntype.config.json
More file actions
573 lines (573 loc) · 31.8 KB
/
Copy pathruntype.config.json
File metadata and controls
573 lines (573 loc) · 31.8 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
{
"version": "1.0",
"productObject": {
"version": "2.0",
"product": {
"name": "{{productName}}",
"description": "An analytics agent connected to a live InsForge Postgres database. It turns any operational question into an inspectable answer with SQL and a generated dashboard, answers in Slack as well as the web workspace, and keeps monitoring the data on a schedule.",
"icon": "📊"
},
"capabilities": [
{
"id": "ask-analyst-capability",
"name": "AI Data Visualization Analyst",
"description": "Conversational analyst that inspects the InsForge schema, writes and runs read-only SQL, assembles a purpose-built dashboard artifact, explains what matters, and works the same in the web workspace and in Slack.",
"agent": {
"name": "Business Analyst",
"description": "Analytics agent over a live InsForge Postgres database with inspectable SQL, generated dashboards, and per-owner briefings, on web and Slack.",
"config": {
"model": "{{analystModel}}",
"systemPrompt": "You are the analyst behind {{productName}}, connected to a live InsForge Postgres database. Answer from data, not assumptions.\n\n## BUSINESS CONTEXT\n<business_context>\n{{businessContext}}\n</business_context>\n\n## FAST, STATEFUL WORKFLOW\nTreat conversation history, page context, and earlier tool results as durable state. Never rediscover schema, time, or data already present in the conversation. Tool calls are sequential unless the runtime explicitly batches them, so never claim that queries are running in parallel.\n\nFor a new analytical request:\n1. SCHEMA — If the needed schema is not already in the conversation, make one insforge_run_sql call that reads all relevant public columns from information_schema.columns. Do not inspect tables one at a time and do not call a separate table-list tool.\n2. TIME — For relative dates, use workspace.currentTime and workspace.timeZone from page context when available. Otherwise call get_current_time once. Never infer “current” from the newest database row.\n3. QUERY + CHART — When insforge_query_and_chart is available and a visual helps, call it once with the chart-ready SELECT and chart specification. Do not run that analysis SQL separately first; this combined browser tool returns the rows for your final answer. If it is unavailable, run one chart-ready SELECT with insforge_run_sql, then chart those rows. Use explicit JOINs, dates, ORDER BY, and LIMIT 200 or less. Include the useful period/dimension instead of issuing separate queries. Make at most one corrective query, only when the first result cannot answer the question.\n4. CHART EARLY — Visualize the core answer immediately. Do not run extra queries before charting.\n5. ANSWER — Lead with the answer and key numbers, then the priority/action, definitions, source tables and time range, and an exact SQL appendix.\n\n## RESUME SAFETY — CRITICAL\ninsforge_query_and_chart and create_flint_chart are browser tools that pause and resume the Runtype agent turn. A successful result with finalizeWithoutMoreTools=true means the query/chart work is done and its SQL/rows are immediately above. That is a terminal phase: call NO more tools, do not rediscover schema or time, do not rerun SQL, do not create another chart, and do not save a record. Finish the chat reply immediately from the existing tool call and result. Apply the same rule when either successful tool result is already in conversation history.\n\n## SQL AND METRICS\n- SELECT or WITH ... SELECT only. Never write or run DDL, even if asked.\n- Never guess table or column names. Reuse inspected schema.\n- Never invent data. If a query returns no rows, say so and show the query.\n- Derive ambiguous business definitions from the available data, state them, and invite correction. Prefer pace-aware target comparisons for partial periods.\n- Aggregate in SQL and keep chart results to at most 500 flat rows.\n- If row-level security leaves one entity, re-cut by time or another visible dimension rather than drawing a one-bar chart.\n\n## VISUALIZATION\nUse insforge_query_and_chart whenever it is available. It executes the chart-ready SQL under the signed-in user's row-level security and opens the interactive chart in one call. Otherwise use create_flint_chart after insforge_run_sql, or insforge_render_chart on non-interactive surfaces; on Slack put the returned URL on its own line. If hosted rendering fails, continue with text.\n\nPass result rows unchanged. Encodings must reference exact row keys, and semanticTypes must cover every encoded field. Choose a chart that matches the question: Line/Area for trends, Bullet for actual vs target (goal channel), Slope for two-period change, Bump for rank churn, Waterfall for contribution/variance, Stacked Bar or Streamgraph for composition, Heatmap for two-dimensional intensity, Boxplot/Strip/Histogram for spread, Scatter/Regression for relationships, Gantt for spans, and Treemap/Sunburst for hierarchy. Prefer a richer time or dimensional view over a generic four-bar chart. Use only chartType values allowed by the tool schema.\n\nAfter a successful insforge_query_and_chart or create_flint_chart call, obey RESUME SAFETY and write the concise interpretation without another tool call.\n\n## ACTIONS AND MEMORY\n- When asked to notify or brief owners, look them up and write individualized briefings for a human to send. Never claim you contacted anyone.\n- Use set_reminder only when the user explicitly asks to check later or watch a condition.\n- Save an analysis_snapshot only when the user explicitly asks to preserve a baseline, schedule a follow-up, or monitor change. Never persist every routine analysis. Use a unique name and include the timestamp and key metrics. Never write the monitor-owned daily-monitor-latest record.\n- When asked about the last monitoring pass, read monitor_snapshot/monitor_alert records instead of recomputing.\n\nBe concise, decisive, and auditable.",
"artifacts": {
"enabled": true,
"types": [
"markdown",
"component"
]
},
"tools": {
"toolIds": [
"builtin:set_reminder",
"builtin:get_current_time",
"builtin:runtype_record_upsert",
"builtin:runtype_record_get",
"builtin:runtype_record_list"
],
"runtimeTools": [
{
"name": "insforge_run_sql",
"description": "Execute a single read-only SQL statement against the connected InsForge Postgres database and return the rows as JSON. Use it for schema introspection (query information_schema.columns) and for analytics SELECT queries. Never send write or DDL statements.",
"toolType": "external",
"parametersSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "One SQL SELECT (or WITH ... SELECT) statement. Inline all literal values; do not use parameter placeholders."
}
},
"required": [
"query"
]
},
"config": {
"url": "{{insforgeBaseUrl}}/api/database/advance/rawsql/unrestricted",
"method": "POST",
"headers": {
"Authorization": "Bearer {{secret:INSFORGE_API_KEY}}",
"Content-Type": "application/json"
}
}
},
{
"name": "insforge_render_chart",
"description": "Render a chart as a hosted PNG image from SQL result rows, using the Flint visualization language. Returns an id and a url; the url serves the PNG. Use it on Slack and other surfaces without interactive charts. Requires the companion flint-render function on the InsForge project; if the call fails, continue without a chart image.",
"toolType": "external",
"parametersSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Concise chart title."
},
"chartType": {
"type": "string",
"enum": [
"Line Chart",
"Area Chart",
"Range Area Chart",
"Streamgraph",
"Bar Chart",
"Grouped Bar Chart",
"Stacked Bar Chart",
"Waterfall Chart",
"Lollipop Chart",
"Pyramid Chart",
"Bullet Chart",
"Ranged Dot Plot",
"Slope Chart",
"Bump Chart",
"Scatter Plot",
"Connected Scatter Plot",
"Regression",
"Strip Plot",
"Boxplot",
"Histogram",
"Density Plot",
"ECDF Plot",
"Heatmap",
"Calendar Heatmap",
"Radar Chart",
"Rose Chart",
"Pie Chart",
"Funnel Chart",
"Gauge Chart",
"Sunburst Chart",
"Treemap",
"Tree",
"Sankey Diagram",
"Network Graph",
"Parallel Coordinates",
"Gantt Chart",
"Candlestick Chart"
],
"description": "An exact, case-sensitive Flint chart type."
},
"encodings": {
"type": "object",
"description": "Map of Flint visual channels (x, y, color, size) to result field names.",
"additionalProperties": {
"type": "string"
}
},
"semanticTypes": {
"type": "object",
"description": "Map of every encoded field to a Flint semantic type. Time: Date, Week, Month, Quarter, Year, YearMonth, Duration. Measures: Quantity, Count, Amount, Price, Percentage, PercentageChange, Profit, Score, Rank, Range, Number. Labels: Category, Name, Status, Region, ID.",
"additionalProperties": {
"type": "string",
"enum": [
"Date",
"Week",
"Month",
"Quarter",
"Year",
"YearMonth",
"Duration",
"Quantity",
"Count",
"Amount",
"Price",
"Percentage",
"PercentageChange",
"Profit",
"Score",
"Rank",
"Range",
"Number",
"Category",
"Name",
"Status",
"Region",
"ID"
]
}
},
"rows": {
"type": "array",
"description": "Chart-ready result rows from insforge_run_sql, passed through verbatim as flat objects (up to 500).",
"items": {
"type": "object"
}
}
},
"required": [
"title",
"chartType",
"encodings",
"semanticTypes",
"rows"
]
},
"config": {
"url": "{{insforgeBaseUrl}}/functions/flint-render",
"method": "POST",
"headers": {
"Authorization": "Bearer {{secret:INSFORGE_API_KEY}}",
"Content-Type": "application/json"
}
}
}
],
"maxToolCalls": 8
}
}
}
},
{
"id": "daily-monitor-capability",
"name": "Daily Business Monitor",
"description": "Scheduled headless monitor that re-runs the monitoring checks against InsForge, compares against the previous snapshot record, and records an alert only when something is flagged.",
"agent": {
"name": "Business Monitor",
"description": "Headless scheduled monitor over the InsForge database with snapshot comparison and threshold-based alerts.",
"config": {
"model": "{{monitorModel}}",
"systemPrompt": "You are the scheduled monitor for {{productName}}, an operational intelligence product connected to a live InsForge Postgres database. You run headlessly on a schedule: no one is chatting with you, so never ask questions. Do the pass end to end and finish.\n\n## MONITORING INSTRUCTIONS\n<monitoring_instructions>\n{{monitorInstructions}}\n</monitoring_instructions>\n\n## HOW A PASS WORKS\n1. Discover the schema you need: insforge_list_tables, then information_schema.columns via insforge_run_sql. Never guess table or column names.\n2. Run read-only SELECT queries that evaluate the monitoring instructions.\n3. Fetch the previous snapshot: get the record of type \"monitor_snapshot\" named \"daily-monitor-latest\". If it does not exist, treat this pass as the baseline.\n4. Compare current metrics against the snapshot to detect new problems and repeats.\n5. Save the new snapshot: upsert record type \"monitor_snapshot\" name \"daily-monitor-latest\" with today's metrics, flagged items, and the pass timestamp.\n6. Alert only when warranted: if anything is flagged, or a previously flagged item slipped again, upsert a record of type \"monitor_alert\" (name it \"alert-\" plus the pass date, for example \"alert-2026-07-25\") holding the alert text and the flagged items, and make your final output that same alert: which site, which metric, the gap, the trend versus the last pass, and the recommended action. When a chart clarifies it, render it with insforge_render_chart and include the returned url. If nothing is flagged, write no alert record.\n\n## RULES\n- SELECT-only SQL. Never write to the database.\n- Keep the alert short and specific; numbers over adjectives.\n- Your final text output IS the pass result, read from the schedule run log: either the alert from step 6, or exactly \"No alerts.\" when nothing is flagged. The alert record is what lets the analyst answer \"what did the last pass find?\" in Slack.",
"tools": {
"toolIds": [
"builtin:get_current_time",
"builtin:runtype_record_upsert",
"builtin:runtype_record_get",
"builtin:runtype_record_list"
],
"runtimeTools": [
{
"name": "insforge_list_tables",
"description": "List every table in the connected InsForge Postgres database. Call this first to discover what data exists.",
"toolType": "external",
"parametersSchema": {
"type": "object",
"properties": {}
},
"config": {
"url": "{{insforgeBaseUrl}}/api/database/tables",
"method": "GET",
"headers": {
"Authorization": "Bearer {{secret:INSFORGE_API_KEY}}"
}
}
},
{
"name": "insforge_run_sql",
"description": "Execute a single read-only SQL statement against the connected InsForge Postgres database and return the rows as JSON. Use it for schema introspection (query information_schema.columns) and for analytics SELECT queries. Never send write or DDL statements.",
"toolType": "external",
"parametersSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "One SQL SELECT (or WITH ... SELECT) statement. Inline all literal values; do not use parameter placeholders."
}
},
"required": [
"query"
]
},
"config": {
"url": "{{insforgeBaseUrl}}/api/database/advance/rawsql/unrestricted",
"method": "POST",
"headers": {
"Authorization": "Bearer {{secret:INSFORGE_API_KEY}}",
"Content-Type": "application/json"
}
}
},
{
"name": "insforge_render_chart",
"description": "Render a chart as a hosted PNG image from SQL result rows, using the Flint visualization language. Returns an id and a url; the url serves the PNG. Use it on Slack and other surfaces without interactive charts. Requires the companion flint-render function on the InsForge project; if the call fails, continue without a chart image.",
"toolType": "external",
"parametersSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Concise chart title."
},
"chartType": {
"type": "string",
"description": "An exact Flint chart type name (case-sensitive; an unrecognized name fails the call). One of: Line Chart, Area Chart, Range Area Chart, Streamgraph, Bar Chart, Grouped Bar Chart, Stacked Bar Chart, Waterfall Chart, Lollipop Chart, Pyramid Chart, Bullet Chart, Ranged Dot Plot, Slope Chart, Bump Chart, Scatter Plot, Connected Scatter Plot, Regression, Strip Plot, Boxplot, Histogram, Density Plot, ECDF Plot, Heatmap, Calendar Heatmap, Radar Chart, Rose Chart, Pie Chart, Funnel Chart, Gauge Chart, Sunburst Chart, Treemap, Tree, Sankey Diagram, Network Graph, Parallel Coordinates, Gantt Chart, Candlestick Chart. There is no \"Donut Chart\" — use Pie Chart."
},
"encodings": {
"type": "object",
"description": "Map of Flint visual channels (x, y, color, size) to result field names.",
"additionalProperties": {
"type": "string"
}
},
"semanticTypes": {
"type": "object",
"description": "Map of every encoded field to a Flint semantic type. Time: Date, Week, Month, Quarter, Year, YearMonth, Duration. Measures: Quantity, Count, Amount, Price, Percentage, PercentageChange, Profit, Score, Rank, Range, Number. Labels: Category, Name, Status, Region, ID.",
"additionalProperties": {
"type": "string"
}
},
"rows": {
"type": "array",
"description": "Chart-ready result rows from insforge_run_sql, passed through verbatim as flat objects (up to 500).",
"items": {
"type": "object"
}
}
},
"required": [
"title",
"chartType",
"encodings",
"semanticTypes",
"rows"
]
},
"config": {
"url": "{{insforgeBaseUrl}}/functions/flint-render",
"method": "POST",
"headers": {
"Authorization": "Bearer {{secret:INSFORGE_API_KEY}}",
"Content-Type": "application/json"
}
}
}
]
}
}
}
}
],
"tools": [
{
"id": "insforge-database",
"type": "custom",
"provider": "insforge",
"name": "InsForge Postgres",
"config": {
"baseUrl": "{{insforgeBaseUrl}}",
"authorizationHeader": "Bearer {{secret:INSFORGE_API_KEY}}",
"description": "Live InsForge Postgres backend. The analyst and monitor agents reach it through inline HTTP tools (list tables, run read-only SQL, render chart images) authenticated with the INSFORGE_API_KEY secret."
},
"auth": {
"type": "api_key",
"setupRequired": true,
"secrets": [
{
"key": "INSFORGE_API_KEY",
"required": true,
"description": "InsForge project API key, sent as the Bearer token on database REST calls. Use a read-only or least-privilege key; agent SQL is prompt-constrained to SELECT, and the key's permissions are the hard enforcement boundary.",
"placeholder": "ik_..."
}
],
"setupInstructions": {
"summary": "Connect your InsForge project so the agents can query your database.",
"steps": [
"Open your InsForge project dashboard and create or copy an API key. Prefer a read-only or least-privilege key; the agents are instructed to run SELECT-only SQL, but the key's permissions are what actually enforce that.",
"After import, fill INSFORGE_API_KEY in the Runtype secret intake screen.",
"Set the InsForge base URL template variable to your project URL (https://<your-app>.insforge.app).",
"Optional: deploy the open-source companion pieces (the flint-render chart-image function, the embeddable analyst web app, and a sample dataset) from https://github.com/runtypelabs/ai-data-visualization to your InsForge project. The insforge_render_chart tool starts working as soon as flint-render is deployed; until then the agents simply answer without chart images."
],
"docsUrl": "https://docs.insforge.dev"
}
}
}
],
"surfaces": [
{
"id": "ask-chat-surface",
"name": "AI Data Visualization Chat",
"type": "chat",
"config": {
"webmcp": {
"enabled": true,
"allowlist": [
{
"origin": "{{insforgeBaseUrl}}",
"tools": [
"insforge_run_sql",
"insforge_query_and_chart",
"create_flint_chart"
]
}
]
}
},
"routes": [
{
"capabilityId": "ask-analyst-capability"
}
]
},
{
"id": "ask-api-surface",
"name": "AI Data Visualization API",
"type": "api",
"config": {},
"routes": [
{
"capabilityId": "ask-analyst-capability"
}
]
},
{
"id": "ask-slack-surface",
"name": "AI Data Visualization Slack",
"type": "slack",
"config": {},
"routes": [
{
"capabilityId": "ask-analyst-capability"
}
]
}
],
"schedules": [
{
"id": "daily-monitor-schedule",
"name": "Daily monitoring pass",
"capabilityId": "daily-monitor-capability",
"triggerType": "cron",
"cron": "{{monitorCron}}",
"timezone": "{{monitorTimezone}}",
"messages": [
{
"role": "user",
"content": "Run the scheduled monitoring pass now, following your monitoring instructions. Compare against the previous snapshot, save a new one, and record an alert only if something is flagged."
}
],
"enabled": true
}
],
"evals": [
{
"id": "analyst-grounding-eval",
"name": "Analyst Grounding",
"description": "Pins that analytical answers are grounded in live SQL against the connected database, cite their sources, and never take unrequested actions.",
"capabilityId": "ask-analyst-capability",
"graders": [
{
"kind": "no_error"
},
{
"kind": "called_tool",
"name": "insforge_run_sql",
"severity": "soft"
},
{
"kind": "ai",
"criteria": "The answer is grounded in tool calls against the connected database rather than invented numbers. For analytical questions it names the specific underperforming entities, quantifies the gap against target, states which tables the answer came from, includes the SQL used, and ends with a clear prioritized recommendation. For capability questions it accurately describes the connected data without fabricating tables.",
"threshold": 3.5
}
],
"cases": [
{
"name": "Behind-target priority question",
"input": {
"messages": [
{
"role": "user",
"content": "Which sites are behind production targets this week, why, and what needs attention first?"
}
]
}
},
{
"name": "Data discovery question",
"input": {
"messages": [
{
"role": "user",
"content": "What data do you have access to, and what kinds of questions can I ask?"
}
]
}
}
]
}
],
"_meta": {
"schemaVersion": "1.0.0",
"catalogVersion": "2026-07-22",
"generatedAt": "2026-07-22T00:00:00.000Z",
"generatorVersion": "1.0.0",
"planHash": "ai-data-visualization-fpo-hash"
}
},
"template": {
"variables": [
{
"key": "productName",
"label": "Product name",
"description": "Name of the product shown in the dashboard and in the agents' own framing.",
"inputType": "text",
"required": true,
"defaultValue": "AI Data Visualization",
"placeholder": "AI Data Visualization"
},
{
"key": "insforgeBaseUrl",
"label": "InsForge base URL",
"description": "Your InsForge project's base URL (hosted or self-hosted). Every database call the agents make goes to this host, and the INSFORGE_API_KEY bearer token is sent only here, so it must be a host you control.",
"inputType": "url",
"required": true,
"defaultValue": "https://your-project.insforge.app",
"placeholder": "https://your-app.insforge.app"
},
{
"key": "businessContext",
"label": "Business context",
"description": "Describe your business and what the database tracks, including how terms like \"behind target\" should be interpreted. This is the only thing the analyst knows about your company before it inspects the schema.",
"inputType": "textarea",
"required": true,
"defaultValue": "Industrial operations company running drilling and blasting jobs across multiple quarry and mining sites. The InsForge database tracks sites, site managers, jobs, weekly production targets, actual production, materials consumption, safety events, and per-job costs and margins. \"Behind target\" is judged against pace, not the full weekly figure: for a partial week, compare cumulative actuals against the pro-rata share of the weekly target (target_tons times days elapsed divided by 7). Margin impact is estimated as the production shortfall times the average margin per unit for that site.",
"placeholder": "Describe your business, what the database tracks, and how key terms should be interpreted..."
},
{
"key": "monitorInstructions",
"label": "Monitoring instructions",
"description": "What the scheduled monitor checks on every pass and what counts as a problem worth alerting on.",
"inputType": "textarea",
"required": true,
"defaultValue": "Compare each site's cumulative actual production for the current week against the pro-rata share of its weekly target for the days elapsed so far (target_tons times days elapsed divided by 7). Flag any site more than 10% behind that pace, any site whose gap widened since the previous snapshot, and any open safety event. Estimate margin impact for each flagged site.",
"placeholder": "What should the monitor check, and what counts as a problem worth alerting on?"
},
{
"key": "analystModel",
"label": "Analyst model",
"description": "Model used by the conversational analyst. A stronger model writes better SQL and clearer explanations. Model ids are given unprefixed so Runtype routes them to whichever provider is available for that model rather than pinning one.",
"inputType": "select",
"required": true,
"defaultValue": "gemini-3.7-flash",
"placeholder": "Select a model",
"options": [
{
"label": "Gemini 3.7 Flash (recommended)",
"value": "gemini-3.7-flash"
},
{
"label": "GLM 5.2",
"value": "glm-5.2"
},
{
"label": "GLM 5.2 Fast",
"value": "glm-5.2-fast"
},
{
"label": "Claude Sonnet 4.6",
"value": "claude-sonnet-4-6"
},
{
"label": "Claude Opus 4.8 (deepest analysis)",
"value": "claude-opus-4-8"
}
]
},
{
"key": "monitorModel",
"label": "Monitor model",
"description": "Model used by the scheduled monitor. Pick a fast, cheap model; this runs every day.",
"inputType": "select",
"required": true,
"defaultValue": "claude-haiku-4-5",
"placeholder": "Select a model",
"options": [
{
"label": "Claude Haiku 4.5 (recommended)",
"value": "claude-haiku-4-5"
},
{
"label": "GPT-5 Mini (balanced)",
"value": "gpt-5-mini"
},
{
"label": "Claude Sonnet 4.6 (strongest)",
"value": "claude-sonnet-4-6"
}
]
},
{
"key": "monitorCron",
"label": "Monitor schedule (cron)",
"description": "When the monitoring pass runs, as a cron expression. The default runs once a day at 7:00.",
"inputType": "text",
"required": true,
"defaultValue": "0 7 * * *",
"placeholder": "0 7 * * *"
},
{
"key": "monitorTimezone",
"label": "Monitor timezone",
"description": "IANA timezone the cron expression is evaluated in.",
"inputType": "text",
"required": true,
"defaultValue": "America/Los_Angeles",
"placeholder": "America/Los_Angeles"
}
]
}
}