jackwener
7bc670ee22
feat(xiaohongshu): add me + notifications, remove broken adapters
...
- me: personal profile info (navigate + evaluate from Pinia store)
- notifications: browse notifications by type (mentions/likes/connections)
uses tap pipeline to call getNotification store action
- removed note, comments, user-posts (store action names unverified)
2026-03-15 07:38:53 +08:00
jackwener
9124dcc018
chore: clean up duplicate adapters
...
- Remove xiaohongshu/search.yaml (keep .ts with XHR interception)
- Remove zhihu/search.ts (keep .yaml, self-contained)
- Clean ~/.opencli/clis/ generated candidates (5 dirs)
24 commands across 8 sites, no duplicates
2026-03-15 07:30:35 +08:00
jackwener
0988fcb334
feat(xiaohongshu): add me, note, comments, user-posts commands
...
All 4 commands use YAML tap pipeline with Pinia store interception:
- me: personal profile info
- note --id: note detail
- comments --id: note comments
- user-posts --uid: user's published notes
2026-03-15 07:29:42 +08:00
jackwener
7c88c603c8
docs: add CLI-CREATOR.md + fix MCP token config instructions
...
- CLI-CREATOR.md: comprehensive adapter development guide with
5-tier strategy decision tree, YAML/TS templates, XHR interception
pattern, common pitfalls, and AI Agent auto-generation workflow
- Fix all docs: MCP Bridge connects via PLAYWRIGHT_MCP_EXTENSION_TOKEN
in MCP config (not by clicking to approve)
2026-03-15 07:23:16 +08:00
jackwener
81c8ad522b
docs: add npm install, update guide, Chinese README
...
- README.md: npm install -g as primary, update instructions, release guide
- README.zh-CN.md: full Chinese version with same structure
- SKILL.md: updated install section with npm global install
- Both READMEs link to each other
2026-03-15 07:20:27 +08:00
jackwener
ba620f4498
feat: add tap pipeline step and probe command
...
- tap: declarative Store Action Bridge (Pinia/Vuex)
- fetch + XHR dual interception, auto-cleanup
- 4-line YAML replaces 30+ line JS monkey-patching
- probe: AI-powered site intelligence command
- auto-discovers Pinia/Vuex stores and actions
- correlates stores → API endpoints → capabilities
- outputs stores.json artifact
- synthesize: generates tap-based pipelines for store-action sites
- xiaohongshu: feed.yaml and search.yaml using tap
- build: copy YAML adapters to dist/
2026-03-15 07:20:00 +08:00
jackwener
d35d78d836
docs: polish README and SKILL for v0.1.0
...
README:
- Cleaner structure, accurate 25 commands / 13 sites
- Correct strategy labels (v2ex=public, not cookie)
- Explore artifacts documentation
- Better formatting and English/Chinese mix
SKILL:
- 5-tier authentication strategy table
- Public API YAML pattern example
- TS escape hatch guidance
- intercept pipeline step docs
- Troubleshooting section
2026-03-15 07:18:17 +08:00
jackwener
4b85ddd678
feat: add xiaohongshu search + v2ex topic + test fixes
...
- xiaohongshu/search.ts: Pinia store + XHR interception (from bb-sites)
- v2ex/topic.yaml: public API topic details
- Register xiaohongshu/search in index.ts
- 25 commands across 13 sites
Tested: bilibili hot/search ✅ , zhihu hot ✅ , v2ex hot/topic ✅ ,
hackernews top ✅ , github search ✅
2026-03-15 07:16:03 +08:00
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
1ee4919a24
docs: update README and SKILL with new features
...
- Fix directory path: ai-native-cli → opencli
- Add reddit, zhihu/question to command tables
- Add AI Agent workflow section with cascade command
- Add intercept pipeline step to reference
- Add reddit examples to SKILL.md
2026-03-15 07:01:01 +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
f1160be8bb
feat(synthesize): add buildTemplatedUrl with volatile param stripping
v0.1.0
2026-03-15 06:41:20 +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
f76b5c4150
chore: add package-lock.json for CI
2026-03-15 06:32:53 +08:00
jackwener
60c03d30be
0.1.0
2026-03-15 06:32:01 +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
9496080fdb
ci: add GitHub Actions for CI and auto-release on v* tags
2026-03-15 06:24:39 +08:00
jackwener
d4133f955b
feat: opencli TypeScript rewrite with 20 commands across 11 sites
2026-03-15 06:23:17 +08:00