feat(gemini): add deep-research workflow and docs export result#778
Merged
jackwener merged 5 commits intojackwener:mainfrom Apr 4, 2026
Merged
Conversation
added 5 commits
April 5, 2026 03:09
468e7a5 to
d32aa4a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gemini deep-researchcommand to start Gemini Deep Research from a prompt and return the started conversation URLgemini deep-research-resultcommand to export Deep Research output via Share & Export -> Export to Docs and return the Google Docs URLdeep-researchsubmission reliability by verifying prompt submission after send, retrying once when submission is not detected, and returningsubmit-not-foundwhen both attempts failGenerate research plan/生成研究计划)deep-research-resultbehavior for in-progress sessions: when export URL is not yet available and research is still running, return a waiting message instead of a misleading no-docs errorBehavior Changes
opencli gemini deep-research "<prompt>" -f jsonstartedtool-not-foundsubmit-not-foundconfirm-not-foundopencli gemini deep-research-result "<conversation-url>" -f jsonDeep Research is still running. Please wait and retry later.when the research job is still in progressVerification
npx tsc --noEmitnpx vitest run --project adapter src/clis/gemininpm run buildnode dist/main.js gemini deep-research "今日10条AI相关新闻" -f jsonnode dist/main.js gemini deep-research-result "https://gemini.google.com/app/<conversation-id>" -f json