liagent 0.9.0 → 0.9.1

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/agent.py +6 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Terminal AI agent for Raspberry Pi cyberdecks. Runs on **every Pi** (Zero … 5, 32/64-bit) with Raspberry Pi OS, Kali or any Debian: one Python file,
6
6
  two pure-Python dependencies (~12 MB with theirs). Also runs on Windows for testing.
7
7
 
8
- > **Zero-dependency edition:** the same agent with its own terminal UI on the standard library, about 330 KB
8
+ > **Zero-dependency edition:** the same agent with its own terminal UI on the standard library, about 370 KB
9
9
  > installed in total: `liagent-zero_all.deb` from the releases, `npx liagent@zero`, or the
10
10
  > [`zero-deps`](https://github.com/Kuloka/liagent/tree/zero-deps) branch.
11
11
 
@@ -13,7 +13,7 @@ two pure-Python dependencies (~12 MB with theirs). Also runs on Windows for test
13
13
  status · opens apps, files and URLs · GPIO · Wi-Fi · voice in and out · remembers facts about your deck ·
14
14
  saves every command it runs into a cheatsheet and quizzes you on it · a web UI for your phone and a Discord bot.
15
15
 
16
- **Brain:** any OpenAI-compatible provider: Groq (default, free key), Cerebras, Gemini, OpenRouter, Mistral,
16
+ **Brain:** any OpenAI-compatible provider: Groq (default, free key), Cerebras, Gemini, OpenRouter, Pollinations, CoArena, Mistral,
17
17
  OpenAI, DeepSeek, a custom URL, or Ollama offline.
18
18
 
19
19
  ## Install
package/agent.py CHANGED
@@ -59,7 +59,7 @@ from rich.table import Table
59
59
  from rich.text import Text
60
60
 
61
61
  NAME = "liagent"
62
- VERSION = "0.9"
62
+ VERSION = "0.9.1"
63
63
  APP = "deck-agent" # config folder name — kept stable so the saved key survives renames
64
64
  IS_WIN = sys.platform == "win32"
65
65
  if IS_WIN:
@@ -89,6 +89,10 @@ PROVIDERS = {
89
89
  "https://aistudio.google.com/apikey", "free tier, Google"),
90
90
  "openrouter": _p("https://openrouter.ai/api/v1", "openai/gpt-oss-120b", "OPENROUTER_API_KEY",
91
91
  "https://openrouter.ai/keys", "hundreds of models, some free"),
92
+ "pollinations": _p("https://gen.pollinations.ai/v1", "openai", "POLLINATIONS_API_KEY",
93
+ "https://enter.pollinations.ai/keys", "many models behind one key"),
94
+ "coarena": _p("https://coarena.ai/api/v1", "ergo-1-0", "COARENA_API_KEY",
95
+ "https://coarena.ai/account/api/keys", "free key, no card · stores prompts"),
92
96
  "mistral": _p("https://api.mistral.ai/v1", "mistral-small-latest", "MISTRAL_API_KEY",
93
97
  "https://console.mistral.ai/api-keys", "free tier, EU"),
94
98
  "openai": _p("https://api.openai.com/v1", "gpt-5-mini", "OPENAI_API_KEY",
@@ -2507,7 +2511,7 @@ class Agent:
2507
2511
  """Provider → (base URL) → key → model, all inside the terminal."""
2508
2512
  names = list(PROVIDERS)
2509
2513
  if name not in PROVIDERS:
2510
- opts = [f"{n:<11} {PROVIDERS[n]['about']}" + (" ✓ key" if PROVIDERS[n]["env_key"] and self.key_for(n)
2514
+ opts = [f"{n:<13} {PROVIDERS[n]['about']}" + (" ✓ key" if PROVIDERS[n]["env_key"] and self.key_for(n)
2511
2515
  else "") for n in names]
2512
2516
  c = choose(opts, title="Provider", start=names.index(self.provider))
2513
2517
  if c is None:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liagent",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Tiny terminal AI agent for Raspberry Pi cyberdecks: shell, files, GPIO, voice, web UI, Discord bot, calculators/LoRa/SMS. One Python file, ~240 KB.",
5
5
  "bin": {
6
6
  "liagent": "bin/liagent.js"