Skip to content

feat(integrations): wave-4 tool-depth (Slack/Asana/Jira/Google Docs/Trello/Monday) + context.dev validation#5289

Merged
waleedlatif1 merged 7 commits into
stagingfrom
feat/integration-tool-depth-wave4
Jun 30, 2026
Merged

feat(integrations): wave-4 tool-depth (Slack/Asana/Jira/Google Docs/Trello/Monday) + context.dev validation#5289
waleedlatif1 merged 7 commits into
stagingfrom
feat/integration-tool-depth-wave4

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Wave-4 of the integration tool-depth program: deepen six popular existing blocks with 38 new tools, plus a comprehensive validation pass on context.dev. No new OAuth scopes anywhere — every new op falls under already-granted scopes. All changes are additive / backwards-compatible (no existing operation, subBlock, condition, default, output, or routing changed).

Deepenings (38 tools)

  • Slack (7): schedule / list / delete scheduled messages; archive / rename / set-topic / set-purpose conversation — under chat:write + channels:manage/groups:write
  • Asana (8): create/get project, list workspaces, create subtask, delete task, add followers, create/list sections — internal routes + contracts, under default
  • Jira (5): list/get project, get transitions, list issue types, get fields — under read:jira-work
  • Google Docs (6): delete content range, create/delete named range, create/delete paragraph bullets, update paragraph style (documents.batchUpdate) — under drive
  • Trello (7): create board/list, get board/card, add checklist/label/member — under read/write
  • Monday (5): change column value, create board/column, get groups, duplicate item — under boards:* (no users:read)

context.dev validation

Comprehensive /validate-integration across all 22 tools vs the live API docs — found clean (no correctness bugs). Applied: search numResults/country inputs (was capped at 10 results), 3 output-description accuracy fixes, and appendParam trimming.

Verification

  • tsc clean, biome clean, 83/83 block tests, check:api-validation pass (route baseline 873→881 for the 8 new Asana routes)
  • Docs + integrations.json regenerated
  • Each integration built by a dedicated subagent that self-ran /validate-integration against live API docs; canonical-pair conditions verified consistent

Redundant ops intentionally skipped (already covered): Trello move_card/archive_card (→ update_card), Asana complete_task (→ update_task), Monday change_multiple_column_values (→ update_item).

…curacy fixes

Comprehensive /validate-integration of all 22 context.dev tools against the live API docs found the integration clean (no correctness bugs). Applied the actionable items:
- search: expose numResults (10-100) + country inputs (API supported them; users were silently capped at 10 results)
- accuracy: scrape_html type description (+doc/docx), map meta description (+sitemapsSkipped), brand links description (+contact)
- robustness: trim string query values in appendParam
…cs, Trello, Monday

Deepen six existing blocks with 38 new tools, no new OAuth scopes (all under already-granted scopes), additive/backwards-compatible:
- Slack (7): schedule/list/delete scheduled messages; archive/rename/set-topic/set-purpose conversation
- Asana (8): create/get project, list workspaces, create subtask, delete task, add followers, create/list sections (via internal routes + contracts)
- Jira (5): list/get project, get transitions, list issue types, get fields
- Google Docs (6): delete content range, named ranges, paragraph bullets, update paragraph style (documents.batchUpdate)
- Trello (7): create board/list, get board/card, add checklist/label/member
- Monday (5): change column value, create board/column, get groups, duplicate item

Route baseline 873->881 for the 8 new Asana internal routes.
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jun 30, 2026 6:29pm

Request Review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor

cursor Bot commented Jun 30, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Large additive surface across many third-party APIs including destructive actions (e.g. delete task/content), but changes follow existing auth/contract patterns and stay within current OAuth scopes; main risk is integration regressions or permission gaps in production workspaces.

Overview
Wave-4 tool depth expands six existing integration blocks with 38 new operations end-to-end: tool configs, block UI/routing, API handlers where needed (notably 8 new Asana routes with Zod contracts), registry wiring, integrations.json, and English integration docs.

Slack (+7) adds scheduled messaging (schedule, list, delete), channel lifecycle (archive, rename, topic, purpose), DM scheduling support, and richer webhook trigger payloads (view, message, state). OAuth scope labels now document channels:manage, groups:write, and reactions:read.

Asana (+8) adds subtasks, task delete, followers, projects (create/get), workspaces, and sections (create/list), plus opt_fields on create-task and a fix so completed is only sent when the checkbox is explicitly set (avoids accidental un-complete / wrong search filters).

Jira (+5), Google Docs (+6) (paragraph styles, bullets, content delete, named ranges; clarified index docs), Trello (+7), and Monday (+5) each gain the discovery/mutation ops described in the PR (projects, transitions, fields, boards/lists/cards, column/board tooling).

context.dev docs gain search numResults / country, scrape type and sitemap meta tweaks, and contact on brand link outputs.

Reviewed by Cursor Bugbot for commit 199540f. Configure here.

Comment thread apps/sim/blocks/blocks/slack.ts
@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR deepens several existing integration blocks and refreshes validation details. The main changes are:

  • New Slack, Asana, Jira, Google Docs, Trello, and Monday tools.
  • Updated Context.dev search options and output descriptions.
  • Regenerated integration docs and registry metadata.
  • Added Asana tool routes and shared API contracts.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
apps/sim/tools/google_docs/utils.ts Shared Google Docs insert and range helpers keep the documented body-index behavior.
apps/sim/tools/context_dev/search.ts Context.dev search now clamps result counts and validates country codes before building the request.
apps/sim/blocks/blocks/google_docs.ts Google Docs block routing now includes the new range, bullet, and paragraph-style operations.
apps/sim/blocks/blocks/context_dev.ts Context.dev block inputs now expose result count and country options for search.

Reviews (7): Last reviewed commit: "fix(slack): expose Destination toggle fo..." | Re-trigger Greptile

Comment thread apps/sim/tools/google_docs/delete-content-range.ts
@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR expands several existing integration blocks with new tools and docs. The main changes are:

  • New Slack, Asana, Jira, Google Docs, Trello, and Monday actions.
  • New Asana internal API routes and contracts.
  • Context.dev search and output-description updates.
  • Registry, generated integration metadata, and validation baseline updates.

Confidence Score: 4/5

The Google Docs range path can edit the wrong document text and should be fixed before merging.

  • Google Docs range inputs are documented one way and sent to the API another way.
  • Context.dev search can forward out-of-contract parameter values.
  • The new integration registrations and Asana route pattern otherwise look consistent with the changed code reviewed.

apps/sim/tools/google_docs/utils.ts, apps/sim/tools/context_dev/search.ts

Important Files Changed

Filename Overview
apps/sim/tools/google_docs/utils.ts Adds shared Google Docs helpers; range validation preserves the caller index without reconciling the documented 1-based contract with the Docs API range shape.
apps/sim/tools/context_dev/search.ts Adds numResults and country request fields, but does not enforce the documented value constraints before forwarding them.
apps/sim/app/api/tools/asana/delete-task/route.ts Adds a contract-bound, internally authenticated Asana delete route following the existing Asana route pattern.
apps/sim/tools/registry.ts Registers the new integration tool definitions across the expanded services.

Reviews (2): Last reviewed commit: "feat(integrations): wave-4 tool-depth — ..." | Re-trigger Greptile

Comment thread apps/sim/tools/google_docs/utils.ts
Comment thread apps/sim/tools/context_dev/search.ts Outdated
…QL input-object, scope/UI gaps

Comprehensive /validate-integration of all 6 modified integrations (existing + new tools) vs live API docs. Fixes:
- google_docs: CRITICAL alignment enum LEFT/RIGHT/JUSTIFY -> API enum START/END/JUSTIFIED (mapped); namedStyleType 'unchanged' option; 'zero-based' index wording
- monday: CRITICAL search_items columns now emits GraphQL input-object with unquoted keys (was always failing the non-cursor branch)
- slack: schedule_message DMs via user-id-as-channel; add channels:manage/groups:write/reactions:read scope descriptions; nextCursor optional
- jira: list_projects expand=lead so lead outputs populate (was always null)
- trello: get_actions limit now applies to the card path too
- asana: add missing 'completed' + 'projects' subBlocks (were unsettable in UI); request permalink_url via opt_fields on create routes
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit ad1bb6b. Configure here.

Comment thread apps/sim/tools/context_dev/search.ts Outdated
Comment thread apps/sim/tools/google_docs/insert-text.ts Outdated
…cs index wording

- context_dev/search: clamp numResults to the documented 10-100 range; normalize country to trimmed uppercase
- google_docs: replace ambiguous '1-based'/'zero-based' index wording with the concrete fact (the document body starts at index 1), matching buildInsertLocation (index<1 appends) and buildContentRange
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/docs/content/docs/en/integrations/google_docs.mdx Outdated
Comment thread apps/sim/tools/context_dev/search.ts Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 80a36f4. Configure here.

…oogle_docs docs

- context_dev/search: reject non-2-letter country values with a clear error instead of forwarding them
- docs: regenerate google_docs.mdx so the public index-contract wording matches the updated tool descriptions (body starts at index 1)
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/blocks/blocks/asana.ts
… unchecked)

The new completion checkbox mapped an unchecked/untouched state to completed:false, which made update_task silently un-complete tasks and search_tasks filter to incomplete. Now only sends completed when the box is checked (undefined otherwise).
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/blocks/blocks/slack.ts
…duling is reachable

The mapper already routes schedule_message DMs (user-id-as-channel); add schedule_message to the destinationType condition so users can deliberately choose Channel vs DM instead of it only triggering via leftover state.
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 199540f. Configure here.

@waleedlatif1 waleedlatif1 merged commit d0aed14 into staging Jun 30, 2026
16 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/integration-tool-depth-wave4 branch June 30, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant