Skip to content

feat(youcom): add You.com integration - #8584

Merged
waleedlatif1 merged 5 commits into
stagingfrom
feat/you-integration
Oct 2, 2026
Merged

waleedlatif1 merged 5 commits into
stagingfrom
feat/you-integration

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Add You.com integration with 8 operations covering every endpoint in their current API reference: Search, Get Contents, Answer, Research, Get Research Task, Finance Research, Search Images, Get Account Balance
  • Search supports snippets, query-relevant highlights, or full page content (markdown/html, blend/cache/fetch), plus knowledge results, freshness, country, language, safesearch, and include/exclude/boost domains
  • Research supports all effort levels, structured output via JSON Schema, source control, and background mode; Frontier always runs in the background and Get Research Task fetches the result
  • Answer, Research, and Finance Research project their model-consumed inputs through request.modelInput
  • Answer gets its own language list (it rejects ZH/JA/PT, which Search accepts), so a hidden Search language never leaks into Answer requests
  • Synchronous Exhaustive research gets a 6 min request deadline since You.com documents it at up to 300s, the default outbound cap
  • Skipped on purpose: deprecated livecrawl/livecrawl_formats (superseded by extraction) and the research SSE stream endpoint
  • Add the You.com icon (hexagon mark only, not the wordmark), block meta with templates and skills, and the docs page intro

Type of Change

  • New feature

Testing

  • Validated every tool's URL, method, auth header, request fields, and response paths against You.com's published API reference (re-fetched and diffed before shipping, unchanged)
  • bun run test (34,645 passed), bun run lint, bun run type-check, bun run check:audits (58/58), docs-manifest:check, check-block-registry.ts origin/staging, check-canvas-sentences.ts --block=youcom (8/8)
  • Not exercised against the live API (no key available)

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 2, 2026 9:35pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 27 files

Re-trigger cubic

Comment thread apps/sim/tools/youcom/answer.ts Outdated
Comment thread apps/sim/tools/youcom/get_research_task.ts Outdated
Comment thread apps/sim/tools/youcom/finance_research.ts
Comment thread apps/sim/tools/youcom/search_images.ts Outdated
Comment thread apps/sim/tools/youcom/search.ts Outdated
Comment thread apps/sim/tools/youcom/get_contents.ts Outdated
Comment thread apps/sim/tools/youcom/research.ts Outdated
@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds You.com integration with eight new tools.

The PR appears safe to merge based on the changes since the previous review and the resolved prior threads.

Summary

The PR adds a You.com block with eight tools for search, page retrieval, answers, research, images, and account balance, together with catalog metadata, icons, and documentation. Since the previous review, it normalizes country and language codes before constructing provider requests. No actionable new issue was established.

Reviews (5) · Last reviewed commit: "fix(youcom): normalize country and langu..."

Comment thread apps/sim/blocks/blocks/youcom.ts
Comment thread apps/sim/tools/youcom/search.ts
Comment thread apps/sim/tools/youcom/get_contents.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 27 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

Comment thread apps/sim/blocks/blocks/youcom.ts Outdated
Comment thread apps/sim/blocks/blocks/youcom.ts
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 27 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

Comment thread apps/sim/blocks/blocks/youcom.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 27 files

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/tools/youcom/answer.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 27 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.

Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 78c371e into staging Oct 2, 2026
33 checks passed
@waleedlatif1
waleedlatif1 deleted the feat/you-integration branch October 2, 2026 22:04

This branch was previously deployed

1 inactive deployment
Preview — c4713cf2 Deployed Oct 2, 2026 by vercel[bot]
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