10x-chat 0.10.13 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README-zh.md +279 -0
- package/README.md +72 -2
- package/dist/bin/cli.js +1 -1
- package/dist/bin/cli.js.map +1 -1
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +12 -2
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/login.d.ts.map +1 -1
- package/dist/cli/login.js +1 -1
- package/dist/cli/login.js.map +1 -1
- package/dist/cli/migrate.js +10 -1
- package/dist/cli/migrate.js.map +1 -1
- package/dist/cli/status.d.ts.map +1 -1
- package/dist/cli/status.js +4 -0
- package/dist/cli/status.js.map +1 -1
- package/dist/cli/video.d.ts.map +1 -1
- package/dist/cli/video.js +159 -75
- package/dist/cli/video.js.map +1 -1
- package/dist/core/bundle.d.ts.map +1 -1
- package/dist/core/bundle.js +14 -2
- package/dist/core/bundle.js.map +1 -1
- package/dist/core/dreamina-video-orchestrator.d.ts +19 -0
- package/dist/core/dreamina-video-orchestrator.d.ts.map +1 -0
- package/dist/core/dreamina-video-orchestrator.js +125 -0
- package/dist/core/dreamina-video-orchestrator.js.map +1 -0
- package/dist/core/image-orchestrator.d.ts.map +1 -1
- package/dist/core/image-orchestrator.js +10 -0
- package/dist/core/image-orchestrator.js.map +1 -1
- package/dist/core/orchestrator.d.ts.map +1 -1
- package/dist/core/orchestrator.js +4 -1
- package/dist/core/orchestrator.js.map +1 -1
- package/dist/core/video-download.d.ts +12 -0
- package/dist/core/video-download.d.ts.map +1 -0
- package/dist/core/video-download.js +102 -0
- package/dist/core/video-download.js.map +1 -0
- package/dist/core/video-orchestrator.d.ts.map +1 -1
- package/dist/core/video-orchestrator.js +1 -0
- package/dist/core/video-orchestrator.js.map +1 -1
- package/dist/providers/dreamina-video.d.ts +118 -0
- package/dist/providers/dreamina-video.d.ts.map +1 -0
- package/dist/providers/dreamina-video.js +450 -0
- package/dist/providers/dreamina-video.js.map +1 -0
- package/dist/providers/dreamina.d.ts +33 -0
- package/dist/providers/dreamina.d.ts.map +1 -0
- package/dist/providers/dreamina.js +125 -0
- package/dist/providers/dreamina.js.map +1 -0
- package/dist/providers/flow.d.ts +5 -0
- package/dist/providers/flow.d.ts.map +1 -1
- package/dist/providers/flow.js +25 -9
- package/dist/providers/flow.js.map +1 -1
- package/dist/providers/gemini.d.ts.map +1 -1
- package/dist/providers/gemini.js +116 -34
- package/dist/providers/gemini.js.map +1 -1
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +1 -0
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/registry.d.ts.map +1 -1
- package/dist/providers/registry.js +2 -0
- package/dist/providers/registry.js.map +1 -1
- package/dist/types.d.ts +3 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +11 -5
- package/skills/10x-chat/SKILL.md +21 -9
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AA2HA,MAAM,CAAC,MAAM,cAAc,GAAc;IACvC,eAAe,EAAE,SAAS;IAC1B,gBAAgB,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,EAAE,YAAY;IAC7C,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,QAAQ;CACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "10x-chat",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "CLI to chat with web AI agents (ChatGPT, Gemini, Claude) via browser automation",
|
|
3
|
+
"version": "0.11.2",
|
|
4
|
+
"description": "CLI to chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) and generate video (Flow/Veo, Dreamina/Seedance) via browser automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"dist",
|
|
19
19
|
"skills",
|
|
20
20
|
"README.md",
|
|
21
|
+
"README-zh.md",
|
|
21
22
|
"LICENSE"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
@@ -40,11 +41,16 @@
|
|
|
40
41
|
"chatgpt",
|
|
41
42
|
"gemini",
|
|
42
43
|
"claude",
|
|
44
|
+
"grok",
|
|
45
|
+
"perplexity",
|
|
46
|
+
"notebooklm",
|
|
47
|
+
"video-generation",
|
|
43
48
|
"cli",
|
|
44
49
|
"browser-automation",
|
|
45
50
|
"playwright"
|
|
46
51
|
],
|
|
47
52
|
"license": "MIT",
|
|
53
|
+
"author": "Mike Chong",
|
|
48
54
|
"repository": {
|
|
49
55
|
"type": "git",
|
|
50
56
|
"url": "https://github.com/MikeChongCan/10x-chat.git"
|
|
@@ -62,8 +68,8 @@
|
|
|
62
68
|
"commander": "^14.0.0",
|
|
63
69
|
"fast-glob": "^3.3.3",
|
|
64
70
|
"json5": "^2.2.3",
|
|
65
|
-
"patchright": "^1.
|
|
66
|
-
"playwright": "^1.
|
|
71
|
+
"patchright": "^1.59.4",
|
|
72
|
+
"playwright": "^1.58.2"
|
|
67
73
|
},
|
|
68
74
|
"devDependencies": {
|
|
69
75
|
"@biomejs/biome": "^2.0.0",
|
|
@@ -72,5 +78,5 @@
|
|
|
72
78
|
"typescript": "^5.8.0",
|
|
73
79
|
"vitest": "^3.0.0"
|
|
74
80
|
},
|
|
75
|
-
"packageManager": "
|
|
81
|
+
"packageManager": "bun@1.3.14"
|
|
76
82
|
}
|
package/skills/10x-chat/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 10x-chat
|
|
3
|
-
description: Chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) via browser automation. Use when stuck, need cross-validation, want a second-model review, need image generation,
|
|
3
|
+
description: Chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) via browser automation. Use when stuck, need cross-validation, want a second-model review, need image generation, want deep research, or want to generate video (Google Flow/Veo, Dreamina/Seedance) from web AI tools.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 10x-chat — AI Agent Skill
|
|
@@ -35,17 +35,20 @@ Use `npx` (not `bunx` — symlink conflicts in parallel).
|
|
|
35
35
|
- **Knowledge gaps**: leverage a model with different training data
|
|
36
36
|
- **Image generation**: DALL-E via ChatGPT or Imagen via Gemini
|
|
37
37
|
- **Deep research**: long-form analysis via Perplexity, ChatGPT, or Gemini
|
|
38
|
+
- **Video generation**: text/image-to-video via Google Flow (Veo) or Dreamina (Seedance)
|
|
38
39
|
|
|
39
40
|
## Providers
|
|
40
41
|
|
|
41
|
-
| Provider | Chat | Image | Research | Models | Notes |
|
|
42
|
-
|
|
43
|
-
| chatgpt | ✅ | ✅ (DALL-E) | ✅ | — | Runs headed by default (anti-bot) |
|
|
44
|
-
| gemini | ✅ | ✅ (Imagen) | ✅ | Fast, **Thinking** (default), Deep Think (Ultra tool), Pro | `--model` switches mode |
|
|
45
|
-
| claude | ✅ | ❌ | ❌ | — | Runs headed by default |
|
|
46
|
-
| grok | ✅ | ❌ | ❌ | UI changes often, use `@latest` |
|
|
47
|
-
| perplexity | ✅ | ❌ | ✅ | Best for research with citations |
|
|
48
|
-
| notebooklm | ✅ | ❌ | ❌ | Add sources first, then chat |
|
|
42
|
+
| Provider | Chat | Image | Research | Video | Models | Notes |
|
|
43
|
+
|----------|------|-------|----------|-------|--------|-------|
|
|
44
|
+
| chatgpt | ✅ | ✅ (DALL-E) | ✅ | ❌ | — | Runs headed by default (anti-bot) |
|
|
45
|
+
| gemini | ✅ | ✅ (Imagen) | ✅ | ❌ | Fast, **Thinking** (default), Deep Think (Ultra tool), Pro | `--model` switches mode |
|
|
46
|
+
| claude | ✅ | ❌ | ❌ | ❌ | — | Runs headed by default |
|
|
47
|
+
| grok | ✅ | ✅ | ❌ | ❌ | — | UI changes often, use `@latest` |
|
|
48
|
+
| perplexity | ✅ | ❌ | ✅ | ❌ | — | Best for research with citations |
|
|
49
|
+
| notebooklm | ✅ | ❌ | ❌ | ❌ | — | Add sources first, then chat |
|
|
50
|
+
| flow | ❌ | ❌ | ❌ | ✅ (Veo) | Veo 3.1 Fast/Quality, Veo 2 Fast/Quality | Google login (shared with Gemini) |
|
|
51
|
+
| dreamina | ❌ | ❌ | ❌ | ✅ (Seedance) | Seedance 2.0 Fast (default)/2.0; 1.x often plan-locked | `login dreamina` (CapCut); text + image-to-video |
|
|
49
52
|
|
|
50
53
|
## Commands
|
|
51
54
|
|
|
@@ -73,6 +76,13 @@ npx 10x-chat@latest research -p "Latest breakthroughs in quantum computing" --pr
|
|
|
73
76
|
npx 10x-chat@latest research -p "Hard technical research" --provider gemini --model "Deep Think"
|
|
74
77
|
npx 10x-chat@latest research -p "Market analysis of EVs" --provider chatgpt --timeout 600000
|
|
75
78
|
|
|
79
|
+
# Video generation (Flow / Veo default, or Dreamina / Seedance)
|
|
80
|
+
npx 10x-chat@latest video -p "Drone shot over snowy peaks at sunrise" --provider flow
|
|
81
|
+
npx 10x-chat@latest video -p "Neon street, rain" --provider flow --model "Veo 3.1 - Quality" --orientation portrait
|
|
82
|
+
npx 10x-chat@latest login dreamina # one-time CapCut login for Dreamina
|
|
83
|
+
npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --duration 4
|
|
84
|
+
npx 10x-chat@latest video -p "The glowing orb floats up" --provider dreamina --image ref.png --ref-mode omni
|
|
85
|
+
|
|
76
86
|
# Dry run / clipboard
|
|
77
87
|
npx 10x-chat@latest chat --dry-run -p "Debug this error" --file src/
|
|
78
88
|
npx 10x-chat@latest chat --copy -p "Explain this" --file "src/**"
|
|
@@ -150,6 +160,8 @@ kill $(cat ~/.10x-chat/browser-daemon.json | python3 -c "import sys,json; print(
|
|
|
150
160
|
- **Keep file sets small**: fewer files + focused prompt = better answers
|
|
151
161
|
- **Research needs longer timeouts**: `--timeout 600000` for 10-min research jobs
|
|
152
162
|
- **Image gen can take 1-2 min**: use `--timeout 120000` when needed
|
|
163
|
+
- **Video gen can take 1-5 min**: Dreamina queues generations; keep the default 10-min timeout. For image-to-video, pass `--image` (Dreamina) or `--start-frame`/`--end-frame` with `--mode frames` (Flow)
|
|
164
|
+
- **Dreamina models are plan-gated**: `Seedance 2.0 Fast` (cheapest) and `2.0` are generally available; the CLI errors clearly if a requested model is locked
|
|
153
165
|
- **Use `--dry-run`** to preview what will be sent
|
|
154
166
|
|
|
155
167
|
## Known issues
|