egaki 0.4.1 → 0.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egaki",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "main": "./dist/cli.js",
6
6
  "types": "./dist/cli.d.ts",
@@ -47,15 +47,16 @@
47
47
  ],
48
48
  "license": "MIT",
49
49
  "dependencies": {
50
- "@ai-sdk/fal": "2.0.21",
50
+ "@ai-sdk/fal": "2.0.34",
51
51
  "@ai-sdk/google": "3.0.33",
52
- "@ai-sdk/google-vertex": "^4.0.95",
52
+ "@ai-sdk/google-vertex": "^4.0.134",
53
53
  "@ai-sdk/openai": "3.0.36",
54
54
  "@ai-sdk/replicate": "2.0.20",
55
+ "@ai-sdk/xai": "^3.0.91",
55
56
  "@clack/prompts": "^1.0.1",
56
57
  "ai": "6.0.103",
57
58
  "eventsource-parser": "^3.0.6",
58
- "goke": "^6.6.1",
59
+ "goke": "^6.12.1",
59
60
  "js-yaml": "^4.1.1",
60
61
  "picocolors": "^1.1.1",
61
62
  "string-dedent": "^3.0.2",
@@ -45,6 +45,15 @@ the key with `egaki login --provider egaki --key egaki_...`.
45
45
  When login requires a URL flow, run login in the background and send the login URL
46
46
  to the user so they can complete auth interactively.
47
47
 
48
+ ## Model selection
49
+
50
+ The `--model` / `-m` flag is **optional** on both `egaki image` and `egaki video`.
51
+
52
+ - **Interactive (TTY):** omitting `--model` shows a picker with popular models
53
+ - **Non-interactive (piped/scripted):** omitting `--model` uses a sensible default
54
+
55
+ Agents should always pass `-m` explicitly to avoid the interactive picker.
56
+
48
57
  ## Example commands
49
58
 
50
59
  ```bash
@@ -60,7 +69,7 @@ egaki subscribe
60
69
  # check subscription usage
61
70
  egaki usage
62
71
 
63
- # generate an image
72
+ # generate an image (interactive model picker if TTY)
64
73
  egaki image "a watercolor fox reading a map" -o fox.png
65
74
 
66
75
  # select a model explicitly