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.
Files changed (142) hide show
  1. {euron_code-1.5.0 → euron_code-1.5.2}/CHANGELOG.md +42 -12
  2. {euron_code-1.5.0 → euron_code-1.5.2}/PKG-INFO +25 -22
  3. {euron_code-1.5.0 → euron_code-1.5.2}/README.md +24 -21
  4. {euron_code-1.5.0 → euron_code-1.5.2}/pyproject.toml +1 -1
  5. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/__init__.py +1 -1
  6. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/agent.py +2941 -2797
  7. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/cli.py +14 -11
  8. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/config.py +2 -1
  9. euron_code-1.5.2/src/euron_code/dotnet.py +134 -0
  10. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/__init__.py +39 -9
  11. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/setup.py +4 -2
  12. euron_code-1.5.2/src/euron_code/migration.py +474 -0
  13. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/permissions.py +40 -1
  14. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/progress.py +277 -277
  15. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/prompts.py +1 -1
  16. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/repl.py +13 -8
  17. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/repomap.py +202 -197
  18. {euron_code-1.5.0 → euron_code-1.5.2}/tests/mock_gateway.py +8 -0
  19. euron_code-1.5.2/tests/test_v152_migration.py +414 -0
  20. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v15_hosted_models.py +82 -6
  21. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v5.py +5 -3
  22. {euron_code-1.5.0 → euron_code-1.5.2}/.gitignore +0 -0
  23. {euron_code-1.5.0 → euron_code-1.5.2}/LICENSE +0 -0
  24. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/__main__.py +0 -0
  25. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/activity.py +0 -0
  26. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/api.py +0 -0
  27. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/attachments.py +0 -0
  28. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/auth.py +0 -0
  29. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/build-from-reference/SKILL.md +0 -0
  30. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/explain-codebase/SKILL.md +0 -0
  31. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/review/SKILL.md +0 -0
  32. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/builtin_skills/test-writer/SKILL.md +0 -0
  33. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/cache.py +0 -0
  34. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/checkpoints.py +0 -0
  35. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/context.py +0 -0
  36. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/LICENSE +0 -0
  37. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/__init__.py +0 -0
  38. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/text.py +0 -0
  39. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/contextforge/toolout.py +0 -0
  40. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/credentials.py +0 -0
  41. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/doctor.py +0 -0
  42. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/documents.py +0 -0
  43. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/error_hints.py +0 -0
  44. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/errorlog.py +0 -0
  45. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/frontmatter.py +0 -0
  46. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/hooks.py +0 -0
  47. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/keys.py +0 -0
  48. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/knowledge.py +0 -0
  49. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/licensing.py +0 -0
  50. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/anthropic.py +0 -0
  51. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/base.py +0 -0
  52. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/llm/openai_compat.py +0 -0
  53. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/logo.py +0 -0
  54. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/markdown_view.py +0 -0
  55. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/memory.py +0 -0
  56. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/osscache.py +0 -0
  57. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/ossgithub.py +0 -0
  58. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/pathfix.py +0 -0
  59. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/project_setup.py +0 -0
  60. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/rules.py +0 -0
  61. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/security_scan.py +0 -0
  62. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/sessions.py +0 -0
  63. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/skills.py +0 -0
  64. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/textsafe.py +0 -0
  65. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/__init__.py +0 -0
  66. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/background.py +0 -0
  67. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/base.py +0 -0
  68. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/db.py +0 -0
  69. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/document.py +0 -0
  70. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/erie.py +0 -0
  71. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/fs.py +0 -0
  72. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/ignore.py +0 -0
  73. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/normalize.py +0 -0
  74. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/oss.py +0 -0
  75. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/pathfind.py +0 -0
  76. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/reuse.py +0 -0
  77. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/search.py +0 -0
  78. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/shell.py +0 -0
  79. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/skill.py +0 -0
  80. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/symbols.py +0 -0
  81. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/task.py +0 -0
  82. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/todo.py +0 -0
  83. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/tools/web.py +0 -0
  84. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/transcript.py +0 -0
  85. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/trust.py +0 -0
  86. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/ui.py +0 -0
  87. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/update_check.py +0 -0
  88. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/usage_view.py +0 -0
  89. {euron_code-1.5.0 → euron_code-1.5.2}/src/euron_code/version_info.py +0 -0
  90. {euron_code-1.5.0 → euron_code-1.5.2}/tests/conftest.py +0 -0
  91. {euron_code-1.5.0 → euron_code-1.5.2}/tests/fake_providers.py +0 -0
  92. {euron_code-1.5.0 → euron_code-1.5.2}/tests/helpers.py +0 -0
  93. {euron_code-1.5.0 → euron_code-1.5.2}/tests/measure_floor.py +0 -0
  94. {euron_code-1.5.0 → euron_code-1.5.2}/tests/serve_helper.py +0 -0
  95. {euron_code-1.5.0 → euron_code-1.5.2}/tests/sim_long_session.py +0 -0
  96. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_agent_mock.py +0 -0
  97. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_api_shell.py +0 -0
  98. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_bench.py +0 -0
  99. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_bench_harness.py +0 -0
  100. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_cli_e2e.py +0 -0
  101. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_context_memory_sessions.py +0 -0
  102. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_dashboard_fixes.py +0 -0
  103. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_dashboard_fixes_102.py +0 -0
  104. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_db.py +0 -0
  105. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_erie.py +0 -0
  106. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_knowledge_security.py +0 -0
  107. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_markdown_view.py +0 -0
  108. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_oss_local.py +0 -0
  109. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_permissions.py +0 -0
  110. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_powershell_exit_codes.py +0 -0
  111. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_attach_secrets.py +0 -0
  112. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_long_task.py +0 -0
  113. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_print_output.py +0 -0
  114. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_reuse_unrelated.py +0 -0
  115. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_qa_yolo_outside.py +0 -0
  116. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_repl.py +0 -0
  117. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_reuse_honesty.py +0 -0
  118. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_search.py +0 -0
  119. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_textsafe.py +0 -0
  120. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_tools_fs.py +0 -0
  121. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_transcript_ui.py +0 -0
  122. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_update_check.py +0 -0
  123. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v111_user_reports.py +0 -0
  124. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v113_fix_path.py +0 -0
  125. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_byo.py +0 -0
  126. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_speed.py +0 -0
  127. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v11_tool_fixes.py +0 -0
  128. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v130_cut_writes.py +0 -0
  129. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v130_reliability.py +0 -0
  130. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v140_parity.py +0 -0
  131. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v15_reuse_off_subagent_hooks.py +0 -0
  132. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_rules_skills_hooks.py +0 -0
  133. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_tokens_shortcuts.py +0 -0
  134. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v2_usage_headers.py +0 -0
  135. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v31_security.py +0 -0
  136. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_accounts_value_setup.py +0 -0
  137. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_activity.py +0 -0
  138. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_attachments.py +0 -0
  139. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_context.py +0 -0
  140. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_live_repl.py +0 -0
  141. {euron_code-1.5.0 → euron_code-1.5.2}/tests/test_v3_single_login.py +0 -0
  142. {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
- Three Euron models, and the default is now a hosted model.
6
-
7
- - Euron default is Claude Sonnet 5.5 (Anthropic), run by Euron. In our benchmark of student-style tasks it
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.0
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 Plus and Super 30 include three Euron models. Euron runs them; you only need your Euron login.
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
- | Model | What it is | Pick it with |
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 also connect its
214
- own model: OpenAI, Claude (Anthropic), Ollama on your computer, Google Gemini, OpenRouter, Groq, or any
215
- OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own server). Everything else works the
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. Your own model is billed by
220
- its provider and does not use your Euron tokens.
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 fast`, `/model open`, `/model default`, `/model <provider:model>`, `/model remove <provider>` |
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: the Euron model's name
279
- (for example "Euron default (Claude Sonnet 5.5)"), or your own model's name. Your own model's context window is taken from its known size (or the `contextWindow` you
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 Plus and Super 30 include three Euron models. Euron runs them; you only need your Euron login.
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
- | Model | What it is | Pick it with |
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 also connect its
148
- own model: OpenAI, Claude (Anthropic), Ollama on your computer, Google Gemini, OpenRouter, Groq, or any
149
- OpenAI-compatible endpoint (LM Studio, Together, the EURI API, your own server). Everything else works the
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. Your own model is billed by
154
- its provider and does not use your Euron tokens.
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 fast`, `/model open`, `/model default`, `/model <provider:model>`, `/model remove <provider>` |
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: the Euron model's name
213
- (for example "Euron default (Claude Sonnet 5.5)"), or your own model's name. Your own model's context window is taken from its known size (or the `contextWindow` you
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.0"
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"
@@ -1,3 +1,3 @@
1
1
  """Euron Code: an agentic coding assistant for the terminal."""
2
2
 
3
- __version__ = "1.5.0"
3
+ __version__ = "1.5.2"