@link-assistant/agent 0.8.10 → 0.8.11
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 +39 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ This is an MVP implementation of an OpenCode-compatible CLI agent, focused on ma
|
|
|
24
24
|
|
|
25
25
|
- ✅ **JSON Input/Output**: Compatible with `opencode run --format json --model opencode/grok-code`
|
|
26
26
|
- ✅ **Plain Text Input**: Also accepts plain text messages (auto-converted to JSON format)
|
|
27
|
-
- ✅ **Flexible Model Selection**: Defaults to free OpenCode Zen Grok Code Fast 1, supports [OpenCode Zen](https://opencode.ai/docs/zen/), [Claude OAuth](../docs/claude-oauth.md),
|
|
27
|
+
- ✅ **Flexible Model Selection**: Defaults to free OpenCode Zen Grok Code Fast 1, supports [OpenCode Zen](https://opencode.ai/docs/zen/), [Claude OAuth](../docs/claude-oauth.md), [Groq](../docs/groq.md), and [OpenRouter](../docs/openrouter.md) providers
|
|
28
28
|
- ✅ **No Restrictions**: Fully unrestricted file system and command execution access (no sandbox)
|
|
29
29
|
- ✅ **Minimal Footprint**: Built with Bun.sh for maximum efficiency
|
|
30
30
|
- ✅ **Full Tool Support**: 13 tools including websearch, codesearch, batch - all enabled by default
|
|
@@ -59,6 +59,38 @@ bun add @link-assistant/agent
|
|
|
59
59
|
|
|
60
60
|
After installation, the `agent` command will be available globally.
|
|
61
61
|
|
|
62
|
+
## Uninstallation
|
|
63
|
+
|
|
64
|
+
### Uninstalling the Agent
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Remove the globally installed package
|
|
68
|
+
bun remove -g @link-assistant/agent
|
|
69
|
+
|
|
70
|
+
# Or if installed locally in your project
|
|
71
|
+
bun remove @link-assistant/agent
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Uninstalling Bun
|
|
75
|
+
|
|
76
|
+
If you need to completely remove Bun from your system:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Remove the Bun binary and installation directory
|
|
80
|
+
rm -rf ~/.bun
|
|
81
|
+
|
|
82
|
+
# Remove the Bun cache (optional)
|
|
83
|
+
rm -rf ~/.bun/install/cache
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
After removing the `~/.bun` directory, you may also need to remove Bun from your shell configuration. Check and remove lines referencing `~/.bun/bin` from:
|
|
87
|
+
|
|
88
|
+
- `~/.bashrc`
|
|
89
|
+
- `~/.zshrc`
|
|
90
|
+
- `~/.config/fish/config.fish`
|
|
91
|
+
|
|
92
|
+
Or the corresponding configuration file for your shell.
|
|
93
|
+
|
|
62
94
|
## Usage
|
|
63
95
|
|
|
64
96
|
### Simplest Examples
|
|
@@ -116,6 +148,11 @@ echo "hi" | agent --model opencode/gemini-3-pro # Gemini 3 Pro
|
|
|
116
148
|
echo "hi" | agent --model groq/llama-3.3-70b-versatile # Llama 3.3 70B
|
|
117
149
|
echo "hi" | agent --model groq/llama-3.1-8b-instant # Llama 3.1 8B (fast)
|
|
118
150
|
|
|
151
|
+
# OpenRouter models (requires OPENROUTER_API_KEY)
|
|
152
|
+
echo "hi" | agent --model openrouter/anthropic/claude-sonnet-4 # Claude via OpenRouter
|
|
153
|
+
echo "hi" | agent --model openrouter/openai/gpt-4o # GPT-4o via OpenRouter
|
|
154
|
+
echo "hi" | agent --model openrouter/meta-llama/llama-3.3-70b # Llama via OpenRouter
|
|
155
|
+
|
|
119
156
|
# Anthropic direct (requires ANTHROPIC_API_KEY)
|
|
120
157
|
echo "hi" | agent --model anthropic/claude-sonnet-4-5 # Claude Sonnet 4.5
|
|
121
158
|
echo "hi" | agent --model anthropic/claude-opus-4-1 # Claude Opus 4.1
|
|
@@ -138,6 +175,7 @@ echo "hi" | agent --model github-copilot/gpt-4o # Uses Copilot
|
|
|
138
175
|
|
|
139
176
|
See [MODELS.md](../MODELS.md) for complete list of available models and pricing.
|
|
140
177
|
See [docs/groq.md](../docs/groq.md) for Groq provider documentation.
|
|
178
|
+
See [docs/openrouter.md](../docs/openrouter.md) for OpenRouter provider documentation.
|
|
141
179
|
See [docs/claude-oauth.md](../docs/claude-oauth.md) for Claude OAuth provider documentation.
|
|
142
180
|
|
|
143
181
|
### Direct Prompt Mode
|
package/package.json
CHANGED