jackwener
93f4753d1c
fix: critical MCP result parsing + V2EX strategy + extension tab cleanup
...
- browser.ts: strip '### Ran Playwright code' suffix from MCP evaluate results
to correctly parse JSON data (was causing all evaluate-based commands to fail)
- browser.ts: auto-close chrome-extension:// tabs on session close
- pipeline.ts: add JSON string auto-parse fallback for evaluate step
- v2ex: add strategy:public + browser:false (public API, no browser needed)
- v2ex: simplify to use fetch step instead of evaluate
Tested: bilibili hot/search ✅ , zhihu hot ✅ , v2ex hot ✅ ,
hackernews top ✅ , github search ✅
2026-03-15 07:14:07 +08:00
jackwener
36c4a3a480
feat: Deep Explore + Strategy Cascade + adapter migration
...
- Rewrite explore.ts: network interception, response body analysis,
endpoint scoring, capability inference, framework detection
- Rewrite synthesize.ts: evaluate-based YAML generation,
buildTemplatedUrl, volatile param stripping
- Add cascade.ts: automatic strategy probe (PUBLIC→COOKIE→HEADER)
- Upgrade zhihu/hot.yaml: better API with heat/answers
- Add zhihu/search.yaml, zhihu/question.ts, reddit/hot.yaml
- Migrate bilibili adapters: favorite, feed, history, user-videos
- 22 commands across 12 sites
2026-03-15 06:58:58 +08:00
jackwener
c019f8c6f2
feat: add cascade strategy probe, intercept pipeline step, buildTemplatedUrl
2026-03-15 06:45:05 +08:00
jackwener
932ab9097f
fix: MCP extension mode, network output parsing, URL template generation
...
- Add --extension flag when spawning Playwright MCP server
- Fix findMcpServerPath to find @playwright/mcp/cli.js locally
- Fix parseNetworkOutput regex to handle [GET] url => [200] format
- Add buildTemplatedUrl: strips volatile params (w_rid/wts), templates
search/limit/pagination params without URL encoding artifacts
- Add fileURLToPath import
2026-03-15 06:41:01 +08:00
jackwener
668421db3d
fix: rename to @jackwener/opencli (npm name conflict with open-cli)
2026-03-15 06:38:16 +08:00
jackwener
5e01125dec
feat: deep explore + enhanced synthesize + generate pipeline
...
- Rewrite explore.ts: network interception, response body schema analysis,
framework detection, auto capability inference, endpoint scoring
- Rewrite synthesize.ts: generate YAML pipelines from capabilities with
field mappings, templated URLs, and proper arg definitions
- Enhance generate.ts: goal normalization (with Chinese aliases),
smart candidate selection, richer summary output
- Add Page.networkRequests(), consoleMessages(), scroll() to browser.ts
2026-03-15 06:34:09 +08:00
jackwener
6b7299edd4
feat(browser): add networkRequests, consoleMessages, scroll
2026-03-15 06:32:01 +08:00
jackwener
e05146efce
feat(browser): add networkRequests, consoleMessages, scroll methods
2026-03-15 06:30:24 +08:00
jackwener
d4133f955b
feat: opencli TypeScript rewrite with 20 commands across 11 sites
2026-03-15 06:23:17 +08:00