@link-assistant/agent 0.0.17 → 0.1.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/README.md CHANGED
@@ -168,6 +168,10 @@ echo "hi" | agent --model anthropic/claude-sonnet-4-5 # Uses OAuth credentials
168
168
  # Use existing Claude Code CLI credentials
169
169
  echo "hi" | agent --use-existing-claude-oauth # Reads from ~/.claude/.credentials.json
170
170
 
171
+ # Google Gemini (requires GOOGLE_API_KEY)
172
+ echo "hi" | agent --model google/gemini-3-pro # Gemini 3 Pro
173
+ echo "hi" | agent --model google/gemini-2.5-flash # Gemini 2.5 Flash
174
+
171
175
  # GitHub Copilot (requires Copilot subscription)
172
176
  agent auth login # Select GitHub Copilot
173
177
  echo "hi" | agent --model github-copilot/gpt-4o # Uses Copilot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/agent",
3
- "version": "0.0.17",
3
+ "version": "0.1.0",
4
4
  "description": "A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -515,6 +515,19 @@ export namespace Provider {
515
515
  };
516
516
  }
517
517
 
518
+ // Add gemini-3-pro alias for google provider
519
+ // The actual model in Google's API is gemini-3-pro-preview, but we add gemini-3-pro as an alias for convenience
520
+ if (database['google']?.models['gemini-3-pro-preview']) {
521
+ const gemini3ProPreview =
522
+ database['google'].models['gemini-3-pro-preview'];
523
+ database['google'].models['gemini-3-pro'] = {
524
+ ...gemini3ProPreview,
525
+ id: 'gemini-3-pro-preview',
526
+ name: 'Gemini 3 Pro',
527
+ };
528
+ realIdByKey.set('google/gemini-3-pro', 'gemini-3-pro-preview');
529
+ }
530
+
518
531
  for (const [providerID, provider] of configProviders) {
519
532
  const existing = database[providerID];
520
533
  const parsed: ModelsDev.Provider = {