euron-code 1.5.0__tar.gz → 1.5.2__tar.gz
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.
- {euron_code-1.5.0 → euron_code-1.5.2}/CHANGELOG.md +42 -12
- {euron_code-1.5.0 → euron_code-1.5.2}/PKG-INFO +25 -22
- {euron_code-1.5.0 → euron_code-1.5.2}/README.md +24 -21
- {euron_code-1.5.0 → euron_code-1.5.2}/pyproject.toml +1 -1
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/__init__.py +1 -1
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/agent.py +2941 -2797
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/cli.py +14 -11
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/config.py +2 -1
- euron_code-1.5.2/src/euron_code/dotnet.py +134 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/__init__.py +39 -9
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/setup.py +4 -2
- euron_code-1.5.2/src/euron_code/migration.py +474 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/permissions.py +40 -1
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/progress.py +277 -277
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/prompts.py +1 -1
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/repl.py +13 -8
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/repomap.py +202 -197
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/mock_gateway.py +8 -0
- euron_code-1.5.2/tests/test_v152_migration.py +414 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v15_hosted_models.py +82 -6
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v5.py +5 -3
- {euron_code-1.5.0 → euron_code-1.5.2}/.gitignore +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/LICENSE +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/__main__.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/activity.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/api.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/attachments.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/auth.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/build-from-reference/SKILL.md +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/explain-codebase/SKILL.md +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/review/SKILL.md +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/test-writer/SKILL.md +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/cache.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/checkpoints.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/context.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/LICENSE +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/__init__.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/text.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/toolout.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/credentials.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/doctor.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/documents.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/error_hints.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/errorlog.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/frontmatter.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/hooks.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/keys.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/knowledge.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/licensing.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/anthropic.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/base.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/openai_compat.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/logo.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/markdown_view.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/memory.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/osscache.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/ossgithub.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/pathfix.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/project_setup.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/rules.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/security_scan.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/sessions.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/skills.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/textsafe.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/__init__.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/background.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/base.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/db.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/document.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/erie.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/fs.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/ignore.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/normalize.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/oss.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/pathfind.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/reuse.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/search.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/shell.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/skill.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/symbols.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/task.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/todo.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/web.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/transcript.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/trust.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/ui.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/update_check.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/usage_view.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/version_info.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/conftest.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/fake_providers.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/helpers.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/measure_floor.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/serve_helper.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/sim_long_session.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_agent_mock.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_api_shell.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_bench.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_bench_harness.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_cli_e2e.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_context_memory_sessions.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_dashboard_fixes.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_dashboard_fixes_102.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_db.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_erie.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_knowledge_security.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_markdown_view.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_oss_local.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_permissions.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_powershell_exit_codes.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_attach_secrets.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_long_task.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_print_output.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_reuse_unrelated.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_yolo_outside.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_repl.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_reuse_honesty.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_search.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_textsafe.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_tools_fs.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_transcript_ui.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_update_check.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v111_user_reports.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v113_fix_path.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_byo.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_speed.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_tool_fixes.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v130_cut_writes.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v130_reliability.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v140_parity.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v15_reuse_off_subagent_hooks.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_rules_skills_hooks.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_tokens_shortcuts.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_usage_headers.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v31_security.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_accounts_value_setup.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_activity.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_attachments.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_context.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_live_repl.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_single_login.py +0 -0
- {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v4.py +0 -0
|
@@ -1,19 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.2 (2026-11-10)
|
|
4
|
+
|
|
5
|
+
Converting a project to another framework (for example ASP.NET Web Forms to MVC) carries every page over.
|
|
6
|
+
|
|
7
|
+
- Ask Euron Code to convert, migrate or port an existing project and it first makes an inventory of every legacy
|
|
8
|
+
file (pages are paired with their code-behind), on your computer, before anything changes. The list is in
|
|
9
|
+
`MIGRATION_CHECKLIST.md`, which Euron Code keeps up to date as pages are carried over.
|
|
10
|
+
- The model converts one page at a time and reads each legacy page right before it writes the new one. It is told
|
|
11
|
+
never to write a page from memory or invent sample pages, and conversions are not handed to sub-agents that
|
|
12
|
+
never saw the legacy files.
|
|
13
|
+
- Euron Code checks the new files for each legacy page's text (headings, sentences, table rows, phone numbers,
|
|
14
|
+
messages). When a new view is written without its page's content, it says so at once and hands the legacy
|
|
15
|
+
page over (two pages per step at most), so the view is redone from the page. Before it may call the job done,
|
|
16
|
+
it lists the pages that are not carried over yet. After the conversation is summarised, the list of what is
|
|
17
|
+
left comes back too, and "continue" picks up from it.
|
|
18
|
+
- .NET: an old-style .NET Framework project (MVC 5, Web Forms) is built with Visual Studio's MSBuild (found
|
|
19
|
+
automatically) with NuGet restore, not with `dotnet build` (which cannot build it). `dotnet test` is only
|
|
20
|
+
suggested when there is a test project.
|
|
21
|
+
- Bypass mode on Windows no longer refuses build commands as "outside the project": tool switches such as
|
|
22
|
+
`/t:Rebuild` or `/p:Configuration=Debug` are not paths, and running an installed program by its full path
|
|
23
|
+
(for example Visual Studio's MSBuild.exe) is allowed. Shells and interpreters run that way still ask.
|
|
24
|
+
- Turn it off with `euron config set migrationMode false` or `EURON_NO_MIGRATION=1`.
|
|
25
|
+
|
|
26
|
+
## 1.5.1 (2026-11-10)
|
|
27
|
+
|
|
28
|
+
Default is the Euron model on Euron's own GPUs; bring your own Anthropic/OpenAI/any key, billed by your provider.
|
|
29
|
+
|
|
30
|
+
- The default, and the only model Euron runs for you, is the Euron model: Euron's own model on Euron's own GPUs,
|
|
31
|
+
included with Euron Plus and Super 30. Your prompts and code go to Euron's own servers.
|
|
32
|
+
- Want Claude, GPT or another model? `euron models add anthropic` (or `openai`, `openrouter`, `custom` for any
|
|
33
|
+
OpenAI-compatible endpoint), or `euron --model provider:model`, or `/model add` in a session. It uses your key,
|
|
34
|
+
your provider bills you, and Euron charges nothing for it.
|
|
35
|
+
- `/model` and `euron models` list the Euron model first, as the default; your own models are marked as using your
|
|
36
|
+
key and billed by your provider.
|
|
37
|
+
- Asked which model it is, Euron Code on the Euron model says it runs on the Euron model and never claims another
|
|
38
|
+
company's model. With your own model it names that model.
|
|
39
|
+
- The 1.5.0 notes below described hosted provider models as the default. Those were never switched on and are not
|
|
40
|
+
offered.
|
|
41
|
+
|
|
3
42
|
## 1.5.0 (2026-11-10)
|
|
4
43
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
passed 25 of 25 at a median of 13.7 s per task, and 3 of 3 SWE-bench Verified tasks. Euron fast is GPT-6 Luna (OpenAI): quicker and lighter.
|
|
9
|
-
Euron open is the model Euron Code used until now, run on Euron's own servers. Pick with `/model` (arrow keys),
|
|
10
|
-
`/model fast`, `/model open`, `/model default`, or `euron models use fast`. Your own models work as before.
|
|
11
|
-
- Euron's provider keys stay on Euron's servers: Euron Code still talks only to Euron with your Euron key. Your
|
|
12
|
-
code and prompts for a hosted model are processed by that model's provider (Anthropic or OpenAI).
|
|
13
|
-
- The status line and `/model` name the real model, and Euron Code answers honestly when you ask which model it
|
|
14
|
-
is, including after a switch.
|
|
15
|
-
- Hosted models have a daily allowance per account. When it is used up, Euron Code tells you once and
|
|
16
|
-
continues on Euron open until midnight IST; nothing stops. Your usual token allowance still applies.
|
|
44
|
+
- The status line and `/model` say which model answers, and Euron Code answers honestly when you ask which model
|
|
45
|
+
it is, including after a switch.
|
|
46
|
+
- Notes from Euron about the model that answered are shown once per kind.
|
|
17
47
|
- With `reuse.enabled` set to false, every open-source and Euron reuse tool is off, and no GitHub repository is
|
|
18
48
|
downloaded.
|
|
19
49
|
- Read-only and parallel sub-agents run your hooks (PreToolUse, PostToolUse) and permission rules, like the main
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: euron-code
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.2
|
|
4
4
|
Summary: Euron Code: an agentic coding assistant in your terminal for Euron Plus and Super 30 students.
|
|
5
5
|
Project-URL: Homepage, https://euron.one/code-agent
|
|
6
6
|
Author-email: Euron <contact@euron.one>
|
|
@@ -190,34 +190,28 @@ https://euron.one/code-agent/usage.
|
|
|
190
190
|
|
|
191
191
|
## Euron models
|
|
192
192
|
|
|
193
|
-
Euron
|
|
193
|
+
Euron Code's default is the **Euron model**: Euron's own model, run by Euron on Euron's own GPUs. It is
|
|
194
|
+
included with Euron Plus and Super 30; you only need your Euron login. Your prompts and the code Euron Code
|
|
195
|
+
sends go to Euron's own servers and nowhere else. Your daily token allowance applies to it.
|
|
194
196
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
| Euron default | Claude Sonnet 5.5 by Anthropic. The strongest choice for real coding work. | `/model default` |
|
|
198
|
-
| Euron fast | GPT-6 Luna by OpenAI. Quick and light, good for small tasks. | `/model fast` |
|
|
199
|
-
| Euron open | An open model that Euron runs on its own servers. | `/model open` |
|
|
200
|
-
|
|
201
|
-
`euron models` lists them; `euron models use fast` makes one your default. Euron's provider keys stay on Euron's
|
|
202
|
-
servers. When you use Euron default or Euron fast, your prompts and the code Euron Code sends are processed by
|
|
203
|
-
that model's provider (Anthropic or OpenAI). Euron open keeps everything on Euron's own servers.
|
|
204
|
-
|
|
205
|
-
Euron default and Euron fast have a daily allowance per account. When it is used up, Euron Code says so once and
|
|
206
|
-
continues on Euron open until midnight IST. Your daily token allowance applies to every Euron model.
|
|
197
|
+
If you would rather use Claude, GPT or any other model, bring your own key (next section). That model is
|
|
198
|
+
billed by its provider, on your account, not by Euron.
|
|
207
199
|
|
|
208
200
|
## Use your own model
|
|
209
201
|
|
|
210
202
|
> Available from **Euron Code 1.1.0**. Check yours with `euron version` (or `euron --version`, or `/version`
|
|
211
203
|
> inside a session) and update with `pip install -U euron-code`.
|
|
212
204
|
|
|
213
|
-
The Euron model is included with Euron Plus and Super 30. Any signed-in Euron account can
|
|
214
|
-
own model: OpenAI, Claude (Anthropic),
|
|
215
|
-
OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own
|
|
205
|
+
The Euron model is the default and is included with Euron Plus and Super 30. Any signed-in Euron account can
|
|
206
|
+
also use its own model with its own API key: OpenAI, Claude (Anthropic), OpenRouter, Google Gemini, Groq,
|
|
207
|
+
Ollama on your computer, or any OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own
|
|
208
|
+
server). Everything else works the
|
|
216
209
|
same: tools, plan mode, permissions, hooks, rewind and automatic context management.
|
|
217
210
|
|
|
218
211
|
Your API key stays on your computer (system keychain, or `~/.euron/credentials.json` readable only by you),
|
|
219
|
-
is sent only to that provider, and is never printed, logged or sent to Euron.
|
|
220
|
-
|
|
212
|
+
is sent only to that provider, and is never printed, logged or sent to Euron. With your own model, your
|
|
213
|
+
prompts and code go to that provider, it bills you for them, and Euron pays nothing and charges nothing. It
|
|
214
|
+
does not use your Euron tokens.
|
|
221
215
|
|
|
222
216
|
The quickest way is the guided setup. It asks for the provider, the key (hidden as you type), and the model,
|
|
223
217
|
then checks that the model answers and can call tools:
|
|
@@ -237,6 +231,8 @@ euron --model openai:<model-id> # or use a model id directly for o
|
|
|
237
231
|
**Claude (Anthropic)**
|
|
238
232
|
|
|
239
233
|
```bash
|
|
234
|
+
euron models add anthropic # asks for the key (hidden), lists your models, checks one answers
|
|
235
|
+
# or, with the key in the environment:
|
|
240
236
|
export ANTHROPIC_API_KEY=sk-ant-... # PowerShell: $env:ANTHROPIC_API_KEY = "sk-ant-..."
|
|
241
237
|
euron --model anthropic:claude-sonnet-5-5
|
|
242
238
|
```
|
|
@@ -255,6 +251,13 @@ euron --model ollama:llama3.1
|
|
|
255
251
|
Pick a local model that supports tool calling. Ollama on another machine: `euron models add ollama` and
|
|
256
252
|
give its address (or set `OLLAMA_HOST`).
|
|
257
253
|
|
|
254
|
+
**OpenRouter (hundreds of models with one key)**
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
euron models add openrouter # or: export OPENROUTER_API_KEY=sk-or-...
|
|
258
|
+
euron --model openrouter:<vendor>/<model-id> # e.g. the id shown on openrouter.ai/models
|
|
259
|
+
```
|
|
260
|
+
|
|
258
261
|
**Any OpenAI-compatible endpoint**
|
|
259
262
|
|
|
260
263
|
```bash
|
|
@@ -270,13 +273,13 @@ Built-in names that only need their key in the environment: `gemini` (`GEMINI_AP
|
|
|
270
273
|
|
|
271
274
|
| Where | Command |
|
|
272
275
|
|---|---|
|
|
273
|
-
| in a session | `/model` (pick with the arrow keys), `/model
|
|
276
|
+
| in a session | `/model` (pick with the arrow keys), `/model euron` (back to the Euron model), `/model add`, `/model <provider:model>`, `/model remove <provider>` |
|
|
274
277
|
| default for every run | `euron models use <provider:model>`, back with `euron models use euron` |
|
|
275
278
|
| one run | `euron --model <provider:model>` (also with `-p`) |
|
|
276
279
|
| see what is set up | `euron models` |
|
|
277
280
|
|
|
278
|
-
The conversation is kept when you switch. The status line shows which model answers:
|
|
279
|
-
|
|
281
|
+
The conversation is kept when you switch. The status line shows which model answers: "Euron model", or your
|
|
282
|
+
own model's name; asked which model it is, Euron Code says the same. Your own model's context window is taken from its known size (or the `contextWindow` you
|
|
280
283
|
gave in `euron models add`), up to `byoMaxContext` (128,000 tokens by default, because every step resends the
|
|
281
284
|
conversation on your bill). A model that cannot call tools is refused with a clear message.
|
|
282
285
|
|
|
@@ -124,34 +124,28 @@ https://euron.one/code-agent/usage.
|
|
|
124
124
|
|
|
125
125
|
## Euron models
|
|
126
126
|
|
|
127
|
-
Euron
|
|
127
|
+
Euron Code's default is the **Euron model**: Euron's own model, run by Euron on Euron's own GPUs. It is
|
|
128
|
+
included with Euron Plus and Super 30; you only need your Euron login. Your prompts and the code Euron Code
|
|
129
|
+
sends go to Euron's own servers and nowhere else. Your daily token allowance applies to it.
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
| Euron default | Claude Sonnet 5.5 by Anthropic. The strongest choice for real coding work. | `/model default` |
|
|
132
|
-
| Euron fast | GPT-6 Luna by OpenAI. Quick and light, good for small tasks. | `/model fast` |
|
|
133
|
-
| Euron open | An open model that Euron runs on its own servers. | `/model open` |
|
|
134
|
-
|
|
135
|
-
`euron models` lists them; `euron models use fast` makes one your default. Euron's provider keys stay on Euron's
|
|
136
|
-
servers. When you use Euron default or Euron fast, your prompts and the code Euron Code sends are processed by
|
|
137
|
-
that model's provider (Anthropic or OpenAI). Euron open keeps everything on Euron's own servers.
|
|
138
|
-
|
|
139
|
-
Euron default and Euron fast have a daily allowance per account. When it is used up, Euron Code says so once and
|
|
140
|
-
continues on Euron open until midnight IST. Your daily token allowance applies to every Euron model.
|
|
131
|
+
If you would rather use Claude, GPT or any other model, bring your own key (next section). That model is
|
|
132
|
+
billed by its provider, on your account, not by Euron.
|
|
141
133
|
|
|
142
134
|
## Use your own model
|
|
143
135
|
|
|
144
136
|
> Available from **Euron Code 1.1.0**. Check yours with `euron version` (or `euron --version`, or `/version`
|
|
145
137
|
> inside a session) and update with `pip install -U euron-code`.
|
|
146
138
|
|
|
147
|
-
The Euron model is included with Euron Plus and Super 30. Any signed-in Euron account can
|
|
148
|
-
own model: OpenAI, Claude (Anthropic),
|
|
149
|
-
OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own
|
|
139
|
+
The Euron model is the default and is included with Euron Plus and Super 30. Any signed-in Euron account can
|
|
140
|
+
also use its own model with its own API key: OpenAI, Claude (Anthropic), OpenRouter, Google Gemini, Groq,
|
|
141
|
+
Ollama on your computer, or any OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own
|
|
142
|
+
server). Everything else works the
|
|
150
143
|
same: tools, plan mode, permissions, hooks, rewind and automatic context management.
|
|
151
144
|
|
|
152
145
|
Your API key stays on your computer (system keychain, or `~/.euron/credentials.json` readable only by you),
|
|
153
|
-
is sent only to that provider, and is never printed, logged or sent to Euron.
|
|
154
|
-
|
|
146
|
+
is sent only to that provider, and is never printed, logged or sent to Euron. With your own model, your
|
|
147
|
+
prompts and code go to that provider, it bills you for them, and Euron pays nothing and charges nothing. It
|
|
148
|
+
does not use your Euron tokens.
|
|
155
149
|
|
|
156
150
|
The quickest way is the guided setup. It asks for the provider, the key (hidden as you type), and the model,
|
|
157
151
|
then checks that the model answers and can call tools:
|
|
@@ -171,6 +165,8 @@ euron --model openai:<model-id> # or use a model id directly for o
|
|
|
171
165
|
**Claude (Anthropic)**
|
|
172
166
|
|
|
173
167
|
```bash
|
|
168
|
+
euron models add anthropic # asks for the key (hidden), lists your models, checks one answers
|
|
169
|
+
# or, with the key in the environment:
|
|
174
170
|
export ANTHROPIC_API_KEY=sk-ant-... # PowerShell: $env:ANTHROPIC_API_KEY = "sk-ant-..."
|
|
175
171
|
euron --model anthropic:claude-sonnet-5-5
|
|
176
172
|
```
|
|
@@ -189,6 +185,13 @@ euron --model ollama:llama3.1
|
|
|
189
185
|
Pick a local model that supports tool calling. Ollama on another machine: `euron models add ollama` and
|
|
190
186
|
give its address (or set `OLLAMA_HOST`).
|
|
191
187
|
|
|
188
|
+
**OpenRouter (hundreds of models with one key)**
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
euron models add openrouter # or: export OPENROUTER_API_KEY=sk-or-...
|
|
192
|
+
euron --model openrouter:<vendor>/<model-id> # e.g. the id shown on openrouter.ai/models
|
|
193
|
+
```
|
|
194
|
+
|
|
192
195
|
**Any OpenAI-compatible endpoint**
|
|
193
196
|
|
|
194
197
|
```bash
|
|
@@ -204,13 +207,13 @@ Built-in names that only need their key in the environment: `gemini` (`GEMINI_AP
|
|
|
204
207
|
|
|
205
208
|
| Where | Command |
|
|
206
209
|
|---|---|
|
|
207
|
-
| in a session | `/model` (pick with the arrow keys), `/model
|
|
210
|
+
| in a session | `/model` (pick with the arrow keys), `/model euron` (back to the Euron model), `/model add`, `/model <provider:model>`, `/model remove <provider>` |
|
|
208
211
|
| default for every run | `euron models use <provider:model>`, back with `euron models use euron` |
|
|
209
212
|
| one run | `euron --model <provider:model>` (also with `-p`) |
|
|
210
213
|
| see what is set up | `euron models` |
|
|
211
214
|
|
|
212
|
-
The conversation is kept when you switch. The status line shows which model answers:
|
|
213
|
-
|
|
215
|
+
The conversation is kept when you switch. The status line shows which model answers: "Euron model", or your
|
|
216
|
+
own model's name; asked which model it is, Euron Code says the same. Your own model's context window is taken from its known size (or the `contextWindow` you
|
|
214
217
|
gave in `euron models add`), up to `byoMaxContext` (128,000 tokens by default, because every step resends the
|
|
215
218
|
conversation on your bill). A model that cannot call tools is refused with a clear message.
|
|
216
219
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "euron-code"
|
|
7
|
-
version = "1.5.
|
|
7
|
+
version = "1.5.2"
|
|
8
8
|
description = "Euron Code: an agentic coding assistant in your terminal for Euron Plus and Super 30 students."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|