You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(dagster): expand integration with 9 new tools and full GraphQL validation
- Add 9 new tools: delete_run, get_run_logs, reexecute_run, list_schedules,
start_schedule, stop_schedule, list_sensors, start_sensor, stop_sensor
- Fix GraphQL union type handling across all tools (replace invalid `... on Error`
with concrete union member fragments per Dagster schema)
- Fix TerminateRunFailure, InvalidStepError, InvalidOutputError handling in existing tools
- Rename graphql.ts → utils.ts for clarity
- Wire all 14 operations into the Dagster block with proper conditions and param remapping
- Update icon to dagster logo SVG and set bgColor to white
- Add block wiring guidance to the add-tools skill
After registering in `tools/registry.ts`, you MUST also update the block definition at `apps/sim/blocks/blocks/{service}.ts`. This is not optional — tools are only usable from the UI if they are wired into the block.
284
+
285
+
### 1. Add to `tools.access`
286
+
287
+
```typescript
288
+
tools: {
289
+
access: [
290
+
// existing tools...
291
+
'service_new_action', // Add every new tool ID here
292
+
],
293
+
config: { ... }
294
+
}
295
+
```
296
+
297
+
### 2. Add operation dropdown options
298
+
299
+
If the block uses an operation dropdown, add an option for each new tool:
300
+
301
+
```typescript
302
+
{
303
+
id: 'operation',
304
+
type: 'dropdown',
305
+
options: [
306
+
// existing options...
307
+
{ label: 'New Action', id: 'new_action' }, // id maps to what tools.config.tool returns
308
+
],
309
+
}
310
+
```
311
+
312
+
### 3. Add subBlocks for new tool params
313
+
314
+
For each new tool, add subBlocks covering all its required params (and optional ones where useful). Apply `condition` to show them only for the right operation, and mark required params with `required`:
0 commit comments