euron-code 1.5.4__tar.gz → 1.5.6__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 (152) hide show
  1. {euron_code-1.5.4 → euron_code-1.5.6}/CHANGELOG.md +739 -701
  2. {euron_code-1.5.4 → euron_code-1.5.6}/PKG-INFO +1 -1
  3. {euron_code-1.5.4 → euron_code-1.5.6}/pyproject.toml +1 -1
  4. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/__init__.py +1 -1
  5. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/agent.py +5 -0
  6. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/api.py +9 -1
  7. euron_code-1.5.6/src/euron_code/autoupdate.py +334 -0
  8. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/cli.py +76 -5
  9. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/context.py +19 -2
  10. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/doctor.py +3 -2
  11. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/llm/anthropic.py +3 -1
  12. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/llm/base.py +54 -1
  13. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/llm/openai_compat.py +6 -1
  14. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/llm/setup.py +4 -0
  15. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/migration.py +504 -504
  16. euron_code-1.5.6/src/euron_code/pasteinput.py +208 -0
  17. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/progress.py +277 -277
  18. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/prompts.py +2 -1
  19. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/repl.py +48 -2
  20. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/repomap.py +202 -202
  21. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/background.py +12 -4
  22. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/fs.py +24 -2
  23. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/ignore.py +75 -75
  24. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/port.py +70 -70
  25. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/shell.py +11 -2
  26. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/update_check.py +2 -2
  27. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_permissions.py +91 -91
  28. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_repl.py +10 -1
  29. euron_code-1.5.6/tests/test_v155_user_errors.py +113 -0
  30. euron_code-1.5.6/tests/test_v156_autoupdate.py +173 -0
  31. euron_code-1.5.6/tests/test_v156_paste_and_edits.py +249 -0
  32. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_live_repl.py +5 -1
  33. {euron_code-1.5.4 → euron_code-1.5.6}/.gitignore +0 -0
  34. {euron_code-1.5.4 → euron_code-1.5.6}/LICENSE +0 -0
  35. {euron_code-1.5.4 → euron_code-1.5.6}/README.md +0 -0
  36. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/__main__.py +0 -0
  37. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/activity.py +0 -0
  38. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/attachments.py +0 -0
  39. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/auth.py +0 -0
  40. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/builtin_skills/build-from-reference/SKILL.md +0 -0
  41. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/builtin_skills/explain-codebase/SKILL.md +0 -0
  42. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/builtin_skills/review/SKILL.md +0 -0
  43. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/builtin_skills/test-writer/SKILL.md +0 -0
  44. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/cache.py +0 -0
  45. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/checkpoints.py +0 -0
  46. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/config.py +0 -0
  47. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/contextforge/LICENSE +0 -0
  48. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/contextforge/__init__.py +0 -0
  49. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/contextforge/text.py +0 -0
  50. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/contextforge/toolout.py +0 -0
  51. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/credentials.py +0 -0
  52. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/documents.py +0 -0
  53. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/dotnet.py +0 -0
  54. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/error_hints.py +0 -0
  55. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/errorlog.py +0 -0
  56. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/friendly.py +0 -0
  57. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/frontmatter.py +0 -0
  58. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/hooks.py +0 -0
  59. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/keys.py +0 -0
  60. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/knowledge.py +0 -0
  61. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/licensing.py +0 -0
  62. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/llm/__init__.py +0 -0
  63. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/logo.py +0 -0
  64. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/markdown_view.py +0 -0
  65. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/memory.py +0 -0
  66. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/mvc5.py +0 -0
  67. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/osscache.py +0 -0
  68. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/ossgithub.py +0 -0
  69. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/pathfix.py +0 -0
  70. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/permissions.py +0 -0
  71. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/project_setup.py +0 -0
  72. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/rules.py +0 -0
  73. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/security_scan.py +0 -0
  74. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/sessions.py +0 -0
  75. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/skills.py +0 -0
  76. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/textsafe.py +0 -0
  77. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/__init__.py +0 -0
  78. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/base.py +0 -0
  79. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/db.py +0 -0
  80. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/document.py +0 -0
  81. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/erie.py +0 -0
  82. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/normalize.py +0 -0
  83. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/oss.py +0 -0
  84. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/pathfind.py +0 -0
  85. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/reuse.py +0 -0
  86. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/search.py +0 -0
  87. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/skill.py +0 -0
  88. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/symbols.py +0 -0
  89. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/task.py +0 -0
  90. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/todo.py +0 -0
  91. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/tools/web.py +0 -0
  92. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/transcript.py +0 -0
  93. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/trust.py +0 -0
  94. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/ui.py +0 -0
  95. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/usage_view.py +0 -0
  96. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/version_info.py +0 -0
  97. {euron_code-1.5.4 → euron_code-1.5.6}/src/euron_code/webforms.py +0 -0
  98. {euron_code-1.5.4 → euron_code-1.5.6}/tests/conftest.py +0 -0
  99. {euron_code-1.5.4 → euron_code-1.5.6}/tests/fake_providers.py +0 -0
  100. {euron_code-1.5.4 → euron_code-1.5.6}/tests/helpers.py +0 -0
  101. {euron_code-1.5.4 → euron_code-1.5.6}/tests/measure_floor.py +0 -0
  102. {euron_code-1.5.4 → euron_code-1.5.6}/tests/mock_gateway.py +0 -0
  103. {euron_code-1.5.4 → euron_code-1.5.6}/tests/serve_helper.py +0 -0
  104. {euron_code-1.5.4 → euron_code-1.5.6}/tests/sim_long_session.py +0 -0
  105. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_agent_mock.py +0 -0
  106. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_api_shell.py +0 -0
  107. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_bench.py +0 -0
  108. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_bench_harness.py +0 -0
  109. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_cli_e2e.py +0 -0
  110. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_context_memory_sessions.py +0 -0
  111. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_dashboard_fixes.py +0 -0
  112. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_dashboard_fixes_102.py +0 -0
  113. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_db.py +0 -0
  114. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_erie.py +0 -0
  115. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_knowledge_security.py +0 -0
  116. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_markdown_view.py +0 -0
  117. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_oss_local.py +0 -0
  118. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_powershell_exit_codes.py +0 -0
  119. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_qa_attach_secrets.py +0 -0
  120. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_qa_long_task.py +0 -0
  121. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_qa_print_output.py +0 -0
  122. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_qa_reuse_unrelated.py +0 -0
  123. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_qa_yolo_outside.py +0 -0
  124. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_reuse_honesty.py +0 -0
  125. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_search.py +0 -0
  126. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_textsafe.py +0 -0
  127. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_tools_fs.py +0 -0
  128. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_transcript_ui.py +0 -0
  129. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_update_check.py +0 -0
  130. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v111_user_reports.py +0 -0
  131. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v113_fix_path.py +0 -0
  132. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v11_byo.py +0 -0
  133. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v11_speed.py +0 -0
  134. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v11_tool_fixes.py +0 -0
  135. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v130_cut_writes.py +0 -0
  136. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v130_reliability.py +0 -0
  137. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v140_parity.py +0 -0
  138. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v152_migration.py +0 -0
  139. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v153_user_errors.py +0 -0
  140. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v15_hosted_models.py +0 -0
  141. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v15_reuse_off_subagent_hooks.py +0 -0
  142. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v2_rules_skills_hooks.py +0 -0
  143. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v2_tokens_shortcuts.py +0 -0
  144. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v2_usage_headers.py +0 -0
  145. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v31_security.py +0 -0
  146. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_accounts_value_setup.py +0 -0
  147. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_activity.py +0 -0
  148. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_attachments.py +0 -0
  149. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_context.py +0 -0
  150. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v3_single_login.py +0 -0
  151. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v4.py +0 -0
  152. {euron_code-1.5.4 → euron_code-1.5.6}/tests/test_v5.py +0 -0
@@ -1,701 +1,739 @@
1
- # Changelog
2
-
3
- ## 1.5.4 (2026-11-11)
4
-
5
- Web Forms pages are converted by Euron Code itself, so no page content is retyped (or made up) by the model.
6
-
7
- - In an ASP.NET Web Forms migration Euron Code offers `port_page`: it turns a `.aspx` page (or the `.master`
8
- page) into a Razor view on your computer, carrying every heading, sentence, table, link and form field over
9
- as it is, and converting the server controls (TextBox, DropDownList with its items, Button, Label, Literal,
10
- HyperLink, Image, validators). What it cannot convert stays in a `@* TODO *@` comment, never dropped. It then
11
- lists what is left for the model: the controller action, the model and the code-behind logic.
12
- - A view written by the model without its page's content is now sent back to `port_page`, and a later rewrite
13
- that would remove a carried-over page's content is undone (with the reason).
14
- - `create_mvc5_project` writes a known-good ASP.NET MVC 5 project for .NET Framework 4.x: solution, project
15
- file (new controllers and views are picked up without editing it), packages with versions that exist,
16
- Web.config (your old settings and connection strings carried over), Global.asax and App_Start. Checked with
17
- Visual Studio 2022 MSBuild and IIS Express.
18
- - Clear hints for common .NET Framework build errors: missing Microsoft.WebApplication.targets path, a NuGet
19
- version that does not exist, a missing System.Web.* package reference, a malformed .sln.
20
- - A small legacy project (a few files) is recognised as a migration too.
21
-
22
- ## 1.5.3 (2026-11-11)
23
-
24
- Fixes for the errors people ran into over the last two weeks.
25
-
26
- - Your own model: when a provider says your allowance or credit is used up (for example EURI's "daily token
27
- allowance is used up"), Euron Code now says exactly that, says your key is fine, and offers `/model euron` to
28
- carry on with the Euron model. It used to say the key was rejected and ask you to set it again.
29
- - A per-minute rate limit from a provider (Groq and others) is waited out and retried instead of being reported
30
- as "out of credit".
31
- - `euron models add` checks what you paste: a provider name, a command, or a short or spaced value is refused
32
- with a plain explanation instead of being saved as a key that fails on every request.
33
- - `euron models add` run inside a Euron Code session or a script (where nobody can answer its questions) now says
34
- so and shows how to set the key with an environment variable. `euron models add custom euri` works.
35
- - EURI API is in the `euron models add` list, and model names copied with the help text's brackets or quotes
36
- (`euri:<model-name>`) are read as the name inside them.
37
- - `/model` lists "Add your own model" as the last choice, so bringing your own key and model is one step away.
38
- - `/components` works again (it asked the server for a page that does not exist).
39
- - read_file on a file that does not exist shows what the folder really holds (or that the folder does not exist
40
- and what the nearest one holds), and after several wrong names in a row tells the model to stop guessing and
41
- search first. One task in production spent 45 minutes guessing file names.
42
- - grep accepts patterns written for other tools: `\p{L}` and other Unicode classes are translated, and a pattern
43
- that cannot be read as a regular expression is searched as plain text instead of failing.
44
- - web_fetch opens sites that still use an old, short certificate key (the certificate is still checked).
45
- - Internal problems are explained in plain words (for example "Euron Code was updated while this window was
46
- running; start it again"), without internal names. The details still go to the error report.
47
- - Saving project notes and settings waits out a file briefly held by antivirus or OneDrive on Windows
48
- ("Access is denied") instead of failing.
49
-
50
- ## 1.5.2 (2026-11-10)
51
-
52
- Converting a project to another framework (for example ASP.NET Web Forms to MVC) carries every page over.
53
-
54
- - Ask Euron Code to convert, migrate or port an existing project and it first makes an inventory of every legacy
55
- file (pages are paired with their code-behind), on your computer, before anything changes. The list is in
56
- `MIGRATION_CHECKLIST.md`, which Euron Code keeps up to date as pages are carried over.
57
- - The model converts one page at a time and reads each legacy page right before it writes the new one. It is told
58
- never to write a page from memory or invent sample pages, and conversions are not handed to sub-agents that
59
- never saw the legacy files.
60
- - Euron Code checks the new files for each legacy page's text (headings, sentences, table rows, phone numbers,
61
- messages). When a new view is written without its page's content, it says so at once and hands the legacy
62
- page over (two pages per step at most), so the view is redone from the page. Before it may call the job done,
63
- it lists the pages that are not carried over yet. After the conversation is summarised, the list of what is
64
- left comes back too, and "continue" picks up from it.
65
- - .NET: an old-style .NET Framework project (MVC 5, Web Forms) is built with Visual Studio's MSBuild (found
66
- automatically) with NuGet restore, not with `dotnet build` (which cannot build it). `dotnet test` is only
67
- suggested when there is a test project.
68
- - Bypass mode on Windows no longer refuses build commands as "outside the project": tool switches such as
69
- `/t:Rebuild` or `/p:Configuration=Debug` are not paths, and running an installed program by its full path
70
- (for example Visual Studio's MSBuild.exe) is allowed. Shells and interpreters run that way still ask.
71
- - Turn it off with `euron config set migrationMode false` or `EURON_NO_MIGRATION=1`.
72
-
73
- ## 1.5.1 (2026-11-10)
74
-
75
- Default is the Euron model on Euron's own GPUs; bring your own Anthropic/OpenAI/any key, billed by your provider.
76
-
77
- - The default, and the only model Euron runs for you, is the Euron model: Euron's own model on Euron's own GPUs,
78
- included with Euron Plus and Super 30. Your prompts and code go to Euron's own servers.
79
- - Want Claude, GPT or another model? `euron models add anthropic` (or `openai`, `openrouter`, `custom` for any
80
- OpenAI-compatible endpoint), or `euron --model provider:model`, or `/model add` in a session. It uses your key,
81
- your provider bills you, and Euron charges nothing for it.
82
- - `/model` and `euron models` list the Euron model first, as the default; your own models are marked as using your
83
- key and billed by your provider.
84
- - Asked which model it is, Euron Code on the Euron model says it runs on the Euron model and never claims another
85
- company's model. With your own model it names that model.
86
- - The 1.5.0 notes below described hosted provider models as the default. Those were never switched on and are not
87
- offered.
88
-
89
- ## 1.5.0 (2026-11-10)
90
-
91
- - The status line and `/model` say which model answers, and Euron Code answers honestly when you ask which model
92
- it is, including after a switch.
93
- - Notes from Euron about the model that answered are shown once per kind.
94
- - With `reuse.enabled` set to false, every open-source and Euron reuse tool is off, and no GitHub repository is
95
- downloaded.
96
- - Read-only and parallel sub-agents run your hooks (PreToolUse, PostToolUse) and permission rules, like the main
97
- agent.
98
-
99
- ## 1.4.0 (2026-11-09)
100
-
101
- Fewer wasted steps and fewer missed details, from a benchmark of real student-style tasks with hidden tests.
102
-
103
- - Checks you write are no longer blocked. In bypass mode (`--yolo`), test code passed inline (`python -c`,
104
- `node -e`, a heredoc or a PowerShell here-string) was refused as "outside the project" when it contained a URL
105
- route (`/products`), a `//` comment, a division or a `~~~` fence. Real paths outside the project (your home
106
- folder, another drive, `..\..`) still ask, as before.
107
- - Optional edge-case review before a detailed task is called done (`"specReview": true` in settings): Euron Code
108
- tests the request's formats, error cases, empty and boundary input once more and fixes what fails. Off by
109
- default, because on the Euron model it added steps without catching more.
110
- - Running a check script and deleting it afterwards counts as checked: Euron Code no longer redoes the check.
111
- `tsx` and `ts-node` script runs count as checks.
112
- - A folder with only a few config files (package.json, README) is shown in the first step, so a new build does
113
- not start by listing and reading them.
114
- - `edit_file` / `multi_edit` without a path uses the one file you have already seen that holds the text.
115
- - A step that only updates the task list gets a one-line hint to send todo updates with the next real step.
116
- - Your own models whose tools only work with reasoning turned off on chat completions now work: Euron Code
117
- learns that from the first error instead of dropping the tools.
118
-
119
- ## 1.3.1 (2026-11-09)
120
-
121
- - A new build in an empty folder no longer gets the "here is every file in this small project" note (it only held
122
- EURON.md and made the model answer with nothing). EURON.md is never repeated in it.
123
- - GitHub references must be about the product asked for (a FastAPI todo API was offered a WhatsApp bot repo).
124
-
125
- ## 1.3.0 (2026-11-09)
126
-
127
- Finishes coding jobs more reliably: no more loops, no cut-off files, no unrelated repositories.
128
-
129
- - Long files are written in parts. When a file write hits the model's output limit, the lines that arrived
130
- are kept and Euron Code continues the file from there (`write_file` with `append`), instead of writing the
131
- whole file again and getting cut off again. Files over about 300 lines are written in parts from the start.
132
- - Loop guard: the same error coming back, a file edited back and forth, or a long run of failing tool calls
133
- first makes Euron Code change approach, then stops with a short report (what works, the exact error that
134
- blocks it, what it tried, the next step) instead of using up the whole time budget.
135
- - Done means checked: after the last change a real check (build, tests or running the program) has to pass.
136
- Listing files or installing packages no longer counts. If the last check fails, Euron Code goes back and
137
- fixes it, or says exactly which check fails and why.
138
- - Fewer, bigger steps: a small project (up to 12 small files) is read whole into the first step, so Euron Code
139
- does not list and read the files one by one; the tests run once, and it stops as soon as they pass.
140
- - Reuse only when it fits: Euron repositories and GitHub references are suggested only when they are about
141
- the same product (a calculator is no longer pointed at an HR app), in the same language, small, and only
142
- in a new, empty project. HTML / CSS / JavaScript requests stay plain JavaScript. Adopted code that still does not
143
- build after 3 checks is removed again, with its licence notice, and that part is written from scratch.
144
- - `@` followed by punctuation ("exactly one @, a dot") is plain text, not a file to attach (it used to stop
145
- `euron -p` before it started).
146
- - `read_file` on a folder shows what is in it; editing a folder names the files in it; `multi_edit` with the
147
- file named inside each edit, and `read_file` past the end of a file, now work instead of failing.
148
-
149
- ## 1.2.0 (2026-11-09)
150
-
151
- Faster steps on the Euron model: more of every request reuses the prompt the model has already read.
152
-
153
- - Conversation summaries are asked at the end of the conversation the model already has, with the same
154
- instructions and tools, so the model reuses what it has already read instead of reading a re-written
155
- copy of the conversation from scratch. If the model answers with a tool call instead, the old
156
- summary request is used.
157
- - The wrap-up step at the time / step budget keeps the tool list (with tool calls switched off), so it
158
- reuses it too.
159
- - The system prompt is ordered from most to least stable: the project knowledge block (code map, recent
160
- work) now comes last, so a new session in the same project starts faster.
161
- - After an edit, Euron Code runs the tests closest to the change first and the full suite once at the end.
162
-
163
- ## 1.1.3 (2026-11-08)
164
-
165
- - "'euron' is not recognized" (Windows) or "euron: command not found" right after `pip install euron-code`:
166
- pip put the `euron` command in a Scripts folder that is not on your PATH. New `python -m euron_code fix-path`
167
- finds that folder and adds it to your user PATH (Windows; no admin, the system PATH is not touched, safe to
168
- run twice) or prints the line to add to your shell profile (macOS, Linux). Open a new terminal afterwards.
169
- - `python -m euron_code` (or `py -m euron_code` on Windows) does everything `euron` does, e.g.
170
- `python -m euron_code login`, and says once how to fix PATH when `euron` is not on it.
171
- - `euron doctor` has a PATH check.
172
-
173
- ## 1.1.2 (2026-11-07)
174
-
175
- - A connection that drops in the middle of an answer ("The response stopped part-way ... WinError 10054") now
176
- also switches Euron Code to IPv4, so the automatic retry of that step takes the working route.
177
-
178
- ## 1.1.1 (2026-11-07)
179
-
180
- Fixes from support tickets.
181
-
182
- - Word, Excel, PowerPoint and PDF files are read as text by `read_file` too, instead of "looks like a binary
183
- file; not reading it".
184
- - A connection the network resets (`[WinError 10054] An existing connection was forcibly closed`) is retried
185
- three times, and Euron Code switches to IPv4 (remembered in `~/.euron/network.json`; force it with
186
- `EURON_IPV4=1`). The final error says what to check.
187
- - `euron version`, `euron -V` and `/version`: the running version, the Python it runs from, whether PyPI has a
188
- newer one, and the update command for that exact Python. Before, `euron version` was sent to the model as a
189
- prompt.
190
-
191
- ## 1.1.0 (2026-11-07)
192
-
193
- Bring your own model, and fixes for the errors users hit most in the last week.
194
-
195
- **Use your own model**
196
- - Connect OpenAI, Claude (Anthropic, native API with tool use and prompt caching), Ollama on your computer,
197
- Google Gemini, OpenRouter, Groq, Together, DeepSeek, Mistral, LM Studio, the EURI API, or any
198
- OpenAI-compatible endpoint. Guided setup: `euron models add` or `/model add`; switch with `/model`,
199
- `euron --model provider:model` or `euron models use`. See "Use your own model" in the README.
200
- - Keys stay on your computer (keychain or a file only you can read), are typed hidden, and are sent only to
201
- that provider: never printed, logged or sent to Euron. Your own model's tokens do not count against your
202
- Euron tokens.
203
- - Any signed-in Euron account may use its own model. The Euron model stays included with Euron Plus and
204
- Super 30; without Plus, `euron login` still works and says how to add your own model.
205
- - The default model is always shown as "Euron model" (status line, /model, /status, JSON output, exports).
206
- - A model that cannot call tools is refused with a clear message. Context size is set per model.
207
-
208
- **Faster, and finishes the task**
209
- - No more summary loop: compaction thresholds now leave room for the fixed part of every request (system
210
- prompt and tools), a summary never runs on consecutive steps or before the conversation has grown again,
211
- and it is budgeted to land well under the trigger. A simulated 150-step session went from 60 summaries
212
- (one every 2 steps) to 5. Summaries no longer think and are shorter.
213
- - A lighter fixed prompt for models with a small context (like the Euron model): lean tool schemas and a capped project memory and
214
- code map (about 17% fewer tokens on every step).
215
- - Effort where it pays: full reasoning on the first step and after a failure, little or none on routine
216
- steps that just continue after successful edits.
217
- - A soft budget per request (40 minutes or 120 steps): then it wraps up with what is done, what is left and
218
- the next step. Repeated errors make it stop and re-plan. Plans first for big tasks.
219
- - Up to 3 sub-agents in parallel (several task calls in one step), and builder sub-agents that each own their
220
- files, so two parts of a build go at once without touching each other's files.
221
-
222
- **Fixes**
223
- - Paths: a doubled folder (`app/app/.env`), the project's own folder name in front, `<project>\...`, an
224
- absolute path that points into the project, or a path relative to the folder the shell moved to, now find
225
- the file; so does the only file with that name. The result says which file was used. Applies to read_file,
226
- edit_file, multi_edit, list_dir, grep, glob, find_symbol and read_document; write_file fixes a doubled
227
- folder.
228
- - Edits: a unique match that differs only in line endings, trailing spaces, indentation or blank lines is
229
- applied, also when the file was not read first (the text is verifiably there); the replacement is
230
- re-indented to the file. edit_file with an empty old_string on a missing or empty file creates it. When
231
- nothing matches, the current content comes back and counts as a read, so the retry works. "Matches N
232
- places" lists the lines.
233
- - write_file never refuses a file Euron Code created in this session, and a refusal (not read, or changed
234
- since) shows the content and lets the immediate retry through.
235
- - A file another program holds open (Windows "Access is denied") is retried and then written in place; if
236
- it still fails the model gets a clear message instead of a crash. Bad values become tool errors too.
237
- - todo_write accepts Python-style lists; oss_grep defaults to the repo used last; bash says what to send when
238
- the command is missing; background processes can be given a name (backend-dev) and found by it.
239
- - Busy servers: no capacity, queue timeouts, upstream timeouts (502/504) and a full queue are retried
240
- patiently (about four minutes, Esc stops) with a calm status line. An answer that fails part-way is asked
241
- again automatically, since nothing was applied yet. If it still fails, your message is kept: `/retry`.
242
- - Context: every request is checked before it is sent; when it would not fit, old tool output is cleared and
243
- the largest messages are shortened, so "context length exceeded" no longer reaches you. If a server still
244
- says it is too long, Euron Code learns the real size from its reply and fits the next request to it.
245
- Non-English text is counted correctly.
246
- - Error reports carry only the first line of a tool error (never file contents), and errors of your own
247
- model are reported without its endpoint.
248
-
249
- ## 1.0.2 (2026-11-06)
250
-
251
- Fixes for the tool errors still reported by 1.0.1 users.
252
-
253
- - Edits: an exact, unique match is applied even if the file was not read first or changed since (the
254
- text being replaced is verifiably there); anything looser shows the current file first. old_string
255
- sent with literal \n escapes, curly quotes or different spacing now matches. When nothing matches,
256
- the error quotes the closest lines of the file so the next try can copy them exactly.
257
- - Parameter names in any spelling (filePath, file-path, oldText, search_text, original_code ...) are
258
- understood. A parameter that is still missing is reported with what the call did contain.
259
- - todo_write accepts the shapes models send: plain text lines ("- [x] done"), {"items": [...]}, items as
260
- strings, and statuses like "done" or "in-progress".
261
- - stop_process with nothing running is not an error; "all" stops every background process.
262
- - A server or proxy error page (HTML) is never shown; a 5xx page is retried like "busy".
263
- - Error reports keep plain parameter and file names, so a failure says what was missing (code and
264
- values are still hidden).
265
-
266
- ## 1.0.1 (2026-11-06)
267
-
268
- - Euron Code tells you when a newer version is out, with the command to upgrade
269
- (`pip install -U euron-code`). It checks PyPI at most once a day, in the background of start-up, with a
270
- two-second limit, and says nothing when you are offline or up to date. Turn it off with
271
- `EURON_NO_UPDATE_CHECK=1`.
272
-
273
- ## 1.0.0 (2026-11-06)
274
-
275
- Fixes for every failure recorded on the Euron Code error dashboard since launch.
276
-
277
- - A dropped connection no longer loses your turn. When the connection breaks part-way through an
278
- answer (seen as "WinError 10054 ... forcibly closed by the remote host"), Euron Code asks again by
279
- itself, up to three times, because nothing had been applied yet. If the answer had already finished
280
- when the connection dropped, it is kept instead of thrown away.
281
- - Edits that differ only in whitespace now apply. When the exact text is not found, Euron Code matches
282
- it ignoring line numbers copied from read_file, trailing spaces, or indentation, and re-indents the
283
- new code to the file's style (2 to 4 spaces, tabs). It only does this when there is exactly one
284
- match, and the result says how it matched.
285
- - Tool calls with the parameter names other tools use (file_path, old_str, query, ...), lists sent as
286
- text, or numbers sent as strings are repaired before they run, instead of failing with "Missing
287
- required parameter".
288
- - A path that does not exist is resolved when it can mean only one file (app/page.tsx is
289
- src/app/page.tsx; css/style.css is style.css in a GitHub repo), and otherwise the error lists the
290
- closest real paths.
291
- - stop_process accepts "1", "P1", the process number or part of the command.
292
- - write_file on a file you had not read shows its current content right away, so the next call works.
293
- - A new terminal on the same computer is no longer told Euron Code "is running in another terminal".
294
- Euron Code sends an anonymous id for this computer (a random value kept in ~/.euron/device-id); a
295
- different computer still has to take over.
296
-
297
- ## 0.9.0 (2026-11-06)
298
-
299
- Every build starts from code that already exists, and the report says what was really reused.
300
-
301
- - Any "build / create / make a <thing>" is now a build request (a scientific calculator, a snake game, an
302
- expense splitter...), not only the product words Euron Code knew. Small units (a function, a test, a
303
- regex) are still written directly.
304
- - Every build request now searches GitHub from your computer for projects that already do it, keeps the
305
- permissively licensed ones (MIT, Apache-2.0, BSD...), and tells the AI to fetch the best one, read it,
306
- adopt or adapt it with its licence, and write only what is missing. If the AI still writes everything
307
- itself without opening any of them, it is asked once to look before it finishes.
308
- - Honest reuse report: a file only counts as reused when its code is in your project (adopted, credited
309
- in THIRD_PARTY_NOTICES.md, or a real share of its lines in the files that changed). Files that were
310
- only read are listed as "Read for reference". The report and the journal show about how many tokens
311
- of proven code were reused instead of written.
312
- - The journal (`.euron/knowledge/journal.md`) records what was reused, from where, and the tokens saved;
313
- "Reused: nothing (written from scratch)" when that is what happened. Asked about it, the AI now reads
314
- these files instead of saying `.euron` was not changed.
315
- - The Euron logo greets you when Euron Code starts.
316
-
317
- ## 0.8.0 (2026-11-06)
318
-
319
- Euron Code learns each project and keeps a security assessment, on your computer.
320
-
321
- - First run in a folder or a fresh clone: the project is set up automatically (no question), the code
322
- is analysed into `.euron/knowledge/codemap.md`, and a day-zero security scan writes
323
- `.euron/security/assessment.md`. Locally, no tokens.
324
- - After every task: a journal entry (`.euron/knowledge/journal.md`), the files it built
325
- (`built.json`), learned rules (`.euron/rules/learned.md`: test, lint and build commands that work,
326
- commands that keep failing, security lessons) and a rescan of the changed files. New findings are
327
- shown right away; resolved ones are marked resolved.
328
- - Every session starts with a compact summary of all this in the context (about 1.5k tokens), so the
329
- AI stops re-exploring the repository.
330
- - 23 security checks: secrets and API keys, SQL built from strings, eval / new Function, shell injection,
331
- unsafe deserialisation, yaml.load, TLS verification off, unverified JWTs, CORS `*`, debug mode,
332
- insecure cookies, XSS sinks, open redirects, path traversal, weak hashes, insecure randomness, and
333
- secrets files that git would commit. Secrets are never written to the report. Accept a line with
334
- `euron: ignore-security`.
335
- - A `.gitignore` for the stack when there is none; an existing one only gets the missing essentials.
336
- - New: `/security`, `/security-review`, `/knowledge`. `EURON_NO_AUTOSETUP=1` and `EURON_NO_KNOWLEDGE=1`
337
- opt out.
338
-
339
- ## 0.7.0 (2026-11-06)
340
-
341
- Answers are formatted, not raw Markdown.
342
-
343
- - Tables are drawn as boxed grids that fit the terminal: columns sized to their content, long cells
344
- wrapped, `:---:` alignment honoured, header in bold. Too narrow for a grid, each row is shown as
345
- `header: value` lines.
346
- - **Bold**, *italic*, `code`, ~~strike~~ and links show as styles instead of their markers.
347
- - Headings, bullet and numbered lists (nested, wrapped under their text), task lists, block quotes and
348
- horizontal rules are laid out for the terminal.
349
- - Fenced code is syntax-highlighted and keeps its indentation.
350
- - Works with `NO_COLOR` and ASCII terminals (`+-|` borders). `euron -p` output is unchanged.
351
-
352
- ## 0.6.0 (2026-11-06)
353
-
354
- A new look for the interactive session.
355
-
356
- - Each tool call is a block: `● Bash(npm test)` with its output indented under it. Long output shows
357
- its first lines and `… +58 lines (ctrl+o to expand)`; Ctrl+O (or `/expand [n]`) prints it in full.
358
- - Edits show as a numbered diff with added lines on green and removed lines on red.
359
- - Answers start with a `●` bullet; while Euron Code works, a status line above the input shows what it is
360
- doing, the time so far and the tokens received.
361
- - The input sits in a box with a footer: the permission mode on the left (`▸▸ auto-approve on`), with
362
- `esc to interrupt` while a task runs, and the model, context and today's tokens on the right.
363
- - `!command` output uses the same block. `euron -p` output is unchanged.
364
-
365
- Reuse from all of GitHub, on your own computer.
366
-
367
- - Open-source search now asks GitHub directly from your machine (your own allowance; code search too
368
- with `gh auth login` or `GITHUB_TOKEN`). The token goes only to GitHub, never to Euron, and is never
369
- printed. When GitHub is offline or rate limited, Euron's service answers as before.
370
- - New tools: `oss_fetch` downloads a reference once at a pinned commit into `~/.euron/cache/oss` and
371
- indexes it; `oss_grep` and `oss_read` then work from your disk; `oss_adopt` copies the files worth
372
- reusing with their licence header, copies LICENSE / NOTICE and updates `THIRD_PARTY_NOTICES.md`.
373
- - Licences are checked in code from GitHub's licence detection, and again in the downloaded licence text
374
- (Commons Clause and non-commercial riders are refused).
375
- - `euron cache` (list, size, clear). The cache keeps 2 GB by default, least recently used out first.
376
-
377
- ## 0.5.2 (2026-11-05)
378
-
379
- Security and reliability fixes from pre-launch testing.
380
-
381
- - Bypass mode (`--yolo`) now asks before any command that names a path outside your project, including
382
- quoted paths and paths in your home folder.
383
- - Files that usually hold secrets (such as `.env`) are never sent with your message without a yes.
384
- - An answer that comes back empty is asked for once more instead of ending silently; `-p` always prints a
385
- result, and JSON mode reports errors as JSON.
386
- - Hindi, emoji and other non-English text print correctly when output is piped on Windows.
387
- - Long tasks no longer stop early as a false "loop", or with an unfinished task list.
388
- - Reuse planning picks the right components and records every reused source.
389
-
390
- ## 0.5.1 (2026-11-05)
391
-
392
- - Running `euron` again right after a run finished no longer says Euron Code is already running for
393
- your account: the login is freed when Euron Code exits.
394
-
395
- ## 0.5.0 (2026-11-05)
396
-
397
- ### Build from references (V5 contract section 1)
398
- - New tools `oss_search` (repos or code), `oss_tree` and `oss_read` through Euron:
399
- every result shows its licence; only MIT, Apache-2.0, BSD, ISC, 0BSD, Unlicense, MPL-2.0, CC0 and Zlib.
400
- A `license_not_permitted` answer tells the model plainly it must not use that code, and the client drops
401
- any non-permitted result it might still receive. MPL-2.0 is flagged as file-level copyleft.
402
- - `add_third_party_notice` records each reused source in the project's `THIRD_PARTY_NOTICES.md`.
403
- - Reuse-first is the default for "build me X" and UI work (system prompt + built-in skill
404
- `build-from-reference`): Euron's index first (typescript for UI), then permissive open source, one or two
405
- references, read only the needed files, adapt with attribution, generate only what is missing; prefer the
406
- project's existing component system. Budget notes after 4 searches and 6 reads.
407
- - `/reference <what>` shows candidates from both sources with licences. The completion report and `-p` JSON
408
- list what was reused (`Reused: repo/path (MIT)`, `"reused": [...]`).
409
-
410
- ### Error log (V5 contract section 2)
411
- - Service and network errors, tool errors, crashes (fingerprint: type + top frame), hook failures and slash
412
- command failures are reported, scrubbed (no prompts, file contents, command text, env values or secrets;
413
- quoted text removed, home and project paths masked, key-like strings redacted), batched (20 per request,
414
- under 8 KB) and sent in the background with a 3 s timeout; never blocks or fails what you are doing.
415
- - Offline queue in `~/.euron/errors.jsonl` (at most 500), sent next time; `/bug` lists the last 10 with ids.
416
- - Off with `errorReporting: false` or `EURON_NO_ERROR_REPORTS=1`. Disclosed in the README.
417
- - An unexpected crash now prints a short message with an error id instead of a traceback.
418
-
419
- ### Reuse engine client (V6 contract section 6)
420
- - `find_reusable(requirement, components, allow_external)`: the first step for build-type requests (a
421
- heuristic adds a short note to the request; bug fixes, small edits and questions skip it). The model
422
- splits the request into 1-8 components; Euron decides REUSE / ADAPT / GENERATE per component and
423
- the CLI shows the table (component, decision, repository@sha, licence, confidence). The client re-checks
424
- every decision: a non-permitted licence or a failed security scan always becomes GENERATE, unverified
425
- security turns REUSE into ADAPT.
426
- - The activity line shows the engine's states (searching, found, checking licence, validating security,
427
- reusing, adapting, generating, running tests, integration completed), driven by the real tool calls.
428
- - After tests pass on reused or adapted code, its metadata (never code) goes to the student's private
429
- component library (`POST /v1/components`); `/components` lists it.
430
- - Settings `reuse.enabled` and `reuse.external` (both default true), `--no-reuse`. A reuse engine or GitHub
431
- failure never fails the turn: it generates instead, with a dim note.
432
- - `-p --output-format json` gains `reuse` and `task_id`; the completion report adds "Reuse plan: ...".
433
-
434
- ### From the first live build test
435
- - Reuse no longer depends on the model choosing it: for a build request the CLI splits the request into
436
- components locally (no model call) and calls `/v1/reuse/plan` before the first model call, then puts
437
- the decisions, files and licences into that first message and shows the table. Websites and UI ask for
438
- Euron's TypeScript / TSX components. `find_reusable` stays available for more.
439
- - The details the user gives are used: a system-prompt rule, an attached local photo is copied into
440
- `assets/` (or `public/`) and referenced, and once per prompt the changed files are checked for
441
- "Your Name", "Lorem ipsum", "example@example.com" and "TODO: replace", with one nudge to fix them.
442
- - "Context was N% full ..." is printed only when it freed at least 2,000 tokens or the context was
443
- 60% full or more.
444
- - The error-report note moved from the privacy section to Settings.
445
-
446
- ### Branding
447
- - README top: the official Euron Code definition, the 3-step start, "Everything you need to build" and
448
- the daily allowance with its fair-use note; usage at `euron usage`, `/usage` and euron.one.
449
- - No vendor or model names, and no internal service details, anywhere a student can see. The `/usage`
450
- value line reads "at reference market API prices". `/status`, `/cost`, `/context` and `euron doctor` show
451
- percentages and plain words instead of internal sizes and addresses.
452
-
453
- ### Fewer tokens per request
454
- - Tool descriptions shortened (about 730 fewer tokens on every request).
455
-
456
- ## 0.4.2 (2026-11-05)
457
-
458
- ### Changed
459
- - Documentation and messages describe what Euron Code does for you, without internal service details.
460
-
461
- ## 0.4.1 (2026-11-05)
462
-
463
- ### Fixed
464
- - Pasting text with emoji into a Windows terminal crashed the prompt ("surrogates not allowed") and
465
- then failed every request. Text is now repaired before it is saved or sent.
466
-
467
- ### Changed
468
- - Clearer privacy wording; the limits section shows the daily allowance and where to track usage.
469
-
470
- ## 0.4.0 (2026-11-05)
471
-
472
- ### Run the app, not just the tests
473
- - `start_background_process` (waits for a port or a ready line), `read_process_output`, `stop_process`:
474
- at most 3, 64 KB output each, whole process trees stopped on exit, `/clear` and `/rewind`; `/ps`.
475
- - `check_app`: local URLs only; status, timing, title, `contains`, `wait_seconds`; `browser: true` uses
476
- Playwright when installed (new extra `euron-code[browser]`) for console errors, failed requests and a
477
- screenshot.
478
- - The system prompt now says to use these for servers instead of `bash`.
479
-
480
- ### Reuse Euron's open-source code (V4 contract section 3)
481
- - `euron_reuse_search` and `euron_reuse_read` over Euron's public MIT repos; the
482
- system prompt asks to search before writing a substantial common component and to keep the licence
483
- notice; `/reuse <query>`.
484
-
485
- ### Context optimisation with Euron Open ContextForge (MIT, vendored in `euron_code/contextforge/`)
486
- - Before any model-written summary: older duplicate tool results are dropped, bulky logs, test runs and
487
- JSON are condensed to their verbatim signal lines (errors, failures, stack frames, head and tail), and
488
- stubs keep the facts they drop. Often that is enough and no model call is spent.
489
- - Every summary now carries a verbatim fact ledger (ids, paths, versions, env names, URLs, ports, dates,
490
- error classes) and the user's stated constraints, plus permission grants, git branch and state, and the
491
- last command with its exit code.
492
-
493
- ### More tools and gaps closed (audit increment 6)
494
- - `find_symbol` (definitions and references), `delete_file` and `move_file` (both undone by `/rewind`).
495
- - `AGENTS.md` and other agents' instruction files are read alongside `EURON.md` (trust-gated like it).
496
- - Inline `<tool_call>` JSON is repaired (trailing commas, single quotes, Python literals); garbage
497
- becomes an error result for the model, never a crash.
498
- - `/rewind` works after `euron --resume`: checkpoints are kept in `~/.euron/checkpoints/<session>/`
499
- (user-only, at most 50 MB per session).
500
- - The context window and output cap come from `/v1/models` unless you set them.
501
- - `/export` warns that the file contains tool output.
502
-
503
- ### Euron-only client and privacy (V4 contract section 1, audit increment 3)
504
- - A 403 `client_not_supported` explains that Euron Code works through the euron app only.
505
-
506
- ### CI
507
- - `.github/workflows/ci.yml`: pytest on ubuntu, windows and macos x Python 3.9 and 3.12 (ripgrep on one
508
- job), then build the wheel and sdist and check the wheel contents.
509
-
510
- ## 0.3.0 (2026-11-05)
511
-
512
- ### Never stuck at the output limit
513
- - An answer cut by the output limit (`finish_reason: length`) is continued automatically (up to 3 times)
514
- and joined into one answer. A tool call cut mid-arguments (typically a huge `write_file`) is never run;
515
- the model is asked to make the change in smaller steps. When reasoning alone used the budget, the
516
- request is retried once with `reasoning_effort: low`. Each case shows one dim note, never an error.
517
- - `reasoning_effort` is sent on every call: `medium` by default, `low` for simple follow-ups
518
- ("thanks", "continue") and continuation retries. `/effort low|medium|high`, setting `reasoningEffort`,
519
- shown in the status bar.
520
- - `max_tokens` is sized per request: min(server max, context window - prompt estimate - 512), at least
521
- 1024. A request that would not fit is compacted first. The prompt estimate starts from the last
522
- server-reported `prompt_tokens` and adds only the new messages.
523
-
524
- ### Context management
525
- - An output budget is reserved (min(maxOutputTokens, window/4)); percentages are of the usable rest.
526
- - From 50%, tool outputs are cleared biggest and oldest first until under 40% (the latest step is never
527
- touched). Each stub names the call (for reads: path and line range) so the model can read it again.
528
- The note reports real numbers: "freed 9,400 tokens, now 38%".
529
- - The conversation is summarised at 70%, or whenever the next request would not fit. The summary keeps
530
- the task, decisions, files changed, commands and results, the last error and open todos (files
531
- changed and the last error are also added verbatim).
532
- - `read_file` reads 200 lines by default and stops at a line boundary before ~6k tokens. Files over
533
- 2,000 lines return an outline (definitions with line numbers) unless a range is given. The system
534
- prompt says: search first, read ranges, edit with `edit_file`, never rewrite big files.
535
-
536
- ### A live session
537
- - **Activity line** while the agent works: an animated glyph, a rotating verb, elapsed time, tokens
538
- sent and received (counted live from the stream), what is happening (`thinking`, `writing app.py`,
539
- `running pytest 12s`, `waiting for capacity (2 ahead)`, `retrying in 3s`) and `esc to interrupt`.
540
- On a terminal it redraws 10 times a second; without one it prints a progress line every 15 s; in `-p`
541
- mode it appears on stderr only when stderr is a terminal. Queue positions are shown
542
- instead of being ignored.
543
- - **Status bar**: model and effort, mode, session tokens and their value, context %, today's and this
544
- week's remaining quota, session uptime. Refreshed continuously.
545
- - **Type while it works.** The turn runs in a worker thread and the prompt stays live. `/usage`, `/cost`,
546
- `/context`, `/status`, `/model`, `/effort`, `/help`, `/todos`, `/permissions` run at once (a model switch
547
- applies from the next model call, a mode change from the next tool call); anything else is queued as
548
- your next message. Permission questions are answered in the same prompt. Esc or Ctrl-C stops the
549
- turn (a running command is killed) and puts queued messages back into the input line.
550
- - **`/` menu** pops up as soon as you type `/`, with every command, custom command and skill. `/model`
551
- opens a picker (arrow keys + Enter) with context size and status. `@word` searches the project's files.
552
- - `/status`, `/whoami`, `/config`, `/bug`, `/release-notes`, `/users` (alias of `/usage`).
553
-
554
- ### Accounts and modes
555
- - Plain `euron` with no saved key logs you in in the browser and goes straight into the session.
556
- - `euron login` / `/login` when logged in: shows who, offers to log in as a different account
557
- (`--force` skips the question). The old key is replaced only after the new login is approved. Logout
558
- stays local (there is no CLI revoke API); revoke keys at euron.one/code-agent.
559
- - `--permission-mode bypassPermissions` and `--dangerously-skip-permissions` (alias of `--yolo`) with a
560
- red warning; Shift+Tab reaches bypass only when started with it. `acceptEdits` is shown as "auto-apply
561
- edits". `--add-dir DIR` adds folders the agent may work in.
562
-
563
- ### One login at a time
564
- - A key revoked because the account logged in on another device (401 `signed_in_elsewhere`) shows that
565
- message, drops the local key and offers "Log in here? (this signs out the other device)"; after the
566
- login the interrupted message is carried on. `-p` exits 4 with the message.
567
- - When another session holds the account (409 `session_in_use`), Euron Code asks "Take over here?"; yes
568
- retries once with `X-Euron-Takeover: 1`. `-p` exits 4 unless `--takeover` is given.
569
- - After `euron login`: "Signed in as ... (any other device using this account was signed out)".
570
-
571
- ### Plan quotas and value (V3 contract)
572
- - `/usage` shows the plan tier, all four periods (day, week, month, year) with bars and refill times,
573
- `quota.blocked` prominently, and value lines at reference market API prices, plus what the allowance is worth. `/cost` and the
574
- status bar show this session's value. Always labelled as a reference, never a bill.
575
- - New 429 codes `monthly_token_limit`, `yearly_token_limit` and `cooldown`, each with its refill time in
576
- local time; exit code 5 in `-p` mode.
577
-
578
- ### Automatic project setup and local cache
579
- - First `euron` in a folder without `EURON.md` or `.euron/` (not your home folder or a drive root) offers
580
- to set it up; `--yes` or `euron init` does it without asking. Locally, with no model call: `EURON.md`
581
- (stack, commands, layout, entry points), `.euron/rules/` (testing, git, security and per-stack
582
- rules), `.euron/settings.json` (allow rules for the detected test/lint commands and read-only git),
583
- `.euron/hooks.example.json` (off; `/hooks enable` turns them on, pre-trusted because Euron Code wrote
584
- them), `.euron/commands/` (`/fix-tests`, `/commit`, `/pr`), and `.euron/cache/` in `.gitignore`.
585
- - `.euron/cache/` keeps the repo map and file index, keyed by git HEAD and folder mtimes. Safe to delete,
586
- no secrets, only written when `.euron/` exists.
587
-
588
- ### Attach anything
589
- - `@file`, `/attach`, or drag files into the terminal (Windows `"C:\..."` and PowerShell `& '...'`
590
- quoting, Unix escaped spaces and `file://` are recognised). Word, Excel, PowerPoint and PDF become
591
- compact text locally (stdlib zip+XML; `pypdf` for PDF), as do CSV/TSV (sample + column summary),
592
- JSON, YAML and notebooks, capped at about 6k tokens per file with a note; unknown binaries are only
593
- described. The new `read_document` tool reads more pages, sheets or rows on demand.
594
- - `@folder` attaches a digest within a budget: tree, file types and sizes, heads of key files.
595
- - Images (png/jpg/gif/webp/bmp, up to 5 per message, 5 MB each) are sent as `image_url` parts, resized
596
- to 1568 px with the optional `euron-code[images]` extra (Pillow), which also enables Ctrl+V and
597
- `/paste-image`. A 400 `images_unavailable` drops the images with a clear note and retries.
598
- - Session transcripts never store image bytes.
599
-
600
- ### Security (independent audit, before release)
601
- - **Project trust.** A repo's `.euron/settings.json` / `settings.local.json` can no longer loosen anything
602
- silently: allow rules, `defaultMode` other than default/plan, `shell`, `db.*`, `webFetch: true` and
603
- raised limits apply only after the user trusts the repo (one prompt listing exactly what it ships,
604
- with view / trust / ignore; fingerprinted in `~/.euron/trusted-projects.json`, so a change asks again).
605
- Restrict-only keys (deny rules, plan mode, lowered limits) always apply. `-p` ignores untrusted keys
606
- with a warning; `euron trust` / `/trust` trust a repo. Rules the user saves with `s` or
607
- `/permissions allow` now live in `~/.euron/projects/<hash>.json`, outside the repo.
608
- - **Repo instructions are trust-gated too:** project and parent `EURON.md`, `.euron/rules`, `.euron/skills`
609
- and `.euron/commands` load only for a trusted repo. The system prompt no longer says project memory
610
- "overrides" anything: project-provided guidance follows `# Tools and safety`, which always wins.
611
- - `grep` skips secret-looking files (`.env*`, keys, credentials) in both the ripgrep and the Python path
612
- and says which were skipped; naming one explicitly asks, like `read_file`.
613
- - Commands, `!` commands and hooks run without `EURON_API_KEY` / `EURON_CODE_API` in their environment.
614
- - Bypass mode still asks for commands that touch existing paths outside the project and for a list of
615
- destructive commands (that list asks even with an allow rule); `web_fetch` to localhost, private
616
- ranges, link-local and metadata addresses asks in every mode unless that exact host was allowed.
617
- - Edits to `EURON.md` and `.euron/**` always ask in acceptEdits mode.
618
- - Session transcripts are created user-only (0600, folder 0700) on POSIX.
619
-
620
- ### Runaway guard and honest completion
621
- - 3 identical failing calls add a "change your approach" note; 5 stop the request (`stop_reason: loop`).
622
- Identical successful calls get a note at 4 and stop at 8.
623
- - Step budget per request, `maxStepsPerPrompt` (default 60): the REPL asks to continue; `-p` exits 6.
624
- - A local report after a change: `Changed: ... | Ran: ... (exit N) | Not verified: ...`; `-p --output-format
625
- json` gains `files_changed` and `commands`. One automatic nudge when files changed and no command
626
- succeeded afterwards (`verifyNudge`, off in plan mode); the detected test command is in the
627
- environment block.
628
- - After `write_file` / `edit_file`: a syntax check for `.py` (compile), `.json` and, when node is installed,
629
- `.js` files.
630
-
631
- ### Fixed
632
- - Windows Terminal, VS Code and other ConPTY hosts: a lone Esc stayed inside prompt_toolkit's VT input
633
- parser until the next key, so Esc did not interrupt. The timed flush now delivers it (found by
634
- driving the CLI in a real ConPTY).
635
- - Safe commands such as `/usage` typed while a permission question is open now run, and the question
636
- stays open, instead of being rejected as an invalid answer.
637
-
638
- ### Changed
639
- - Defaults: `compactThreshold` 0.7, `microCompactThreshold` 0.5, new `microCompactTarget` 0.4,
640
- `microCompactKeepSteps` 1, `outputReserve`, `reasoningEffort` (all fractions of the usable window).
641
- - The CHANGELOG ships inside the wheel (for `/release-notes`).
642
-
643
- ## 0.2.0 (2026-11-05)
644
-
645
- ### Added
646
- - **Usage periods.** `/usage` and `euron usage` show Today / This week / This month with a progress bar
647
- against each limit (the week only when the plan has a weekly limit), reset times in local time,
648
- requests, sessions, tasks and the share of prompt tokens served from the server's cache, plus the
649
- 30-day table with cached / sessions / tasks columns. The status bar shows the tighter of the day and
650
- week allowance.
651
- - **Weekly limit.** A `weekly_token_limit` 429 stops cleanly with the local reset time; exit code 5 in
652
- `-p` mode, the same as the daily limit. Both limits read `resets_at` from the error when present.
653
- - **Session and task headers.** Every model call sends `X-Euron-Session` (the saved session id, kept on
654
- `--continue` / `--resume` / `/resume`) and `X-Euron-Task` (new for every message you send).
655
- - **Rules files.** `.euron/rules/*.md` and `~/.euron/rules/*.md`, loaded after `EURON.md`. Rules with
656
- `paths:` front matter load only once a matching file is read or edited. `/rules`, `/rules new`.
657
- - **Skills.** `.euron/skills/<name>/SKILL.md` and `~/.euron/skills/<name>/SKILL.md`. Only names and
658
- descriptions are in the system prompt; the new `skill` tool loads a body on demand; `/<name> [args]`
659
- runs one. Built in: `review`, `test-writer`, `explain-codebase`. `/skills`, `/skills new`.
660
- - **Custom commands.** `.euron/commands/<name>.md` and `~/.euron/commands/<name>.md` become `/<name>`
661
- with `$ARGUMENTS`; shown in `/help` and Tab completion.
662
- - **Hooks.** `SessionStart`, `UserPromptSubmit`, `PreToolUse`, `PostToolUse`, `Stop` in settings, with a
663
- tool-name `matcher`, JSON on stdin and exit code 2 to block or give feedback. Project hooks must be
664
- trusted once per project (re-asked when they change); skipped with a warning in `-p` mode.
665
- `/hooks`, `/hooks new`.
666
- - **Plan mode.** Read-only mode in which the model proposes a plan; leaving it is the user's choice.
667
- Shift+Tab cycles default -> acceptEdits -> plan; also `/plan` and `--permission-mode plan`.
668
- - **Shortcuts.** `!command` runs a command and adds its output to the next message; `@path` attaches a
669
- file or folder (Tab completes paths); Esc Esc / `/rewind` undoes the last turn's file edits and drops
670
- the turn; Ctrl-L clears the screen; `/resume` and `/export` inside a session.
671
- - **`/context`.** A breakdown with a bar: system prompt, memory, rules, skills index, tool definitions,
672
- messages, tool results, free space.
673
- - **`/init` repo map.** A locally built map (stack, manifest commands, layout, entry points) is handed to
674
- the model, which writes a short `EURON.md` with a repo map section; offers `.euron/rules/` and
675
- `.euron/settings.json` skeletons.
676
-
677
- ### Token saving (automatic)
678
- - The system prompt and tool list stay byte-identical for the whole session; plan mode, hook output and
679
- `!` output go at the end of the user message.
680
- - Re-reading an unchanged file (mtime + size, or content hash) returns "unchanged since your last read
681
- at turn N"; a read that reached the end of the file covers later partial reads.
682
- - Micro-compaction at 60% of the context: tool outputs older than the last 3 steps become one-line stubs
683
- (no model call); the summary still happens at 75%.
684
- - `/cost` and `/context` report prompt tokens sent, tokens reused from cache and tokens saved by each measure. `-p --output-format
685
- json` adds `cached_tokens` and `saved_tokens`.
686
-
687
- ### Changed
688
- - `/help` lists your commands, skills and the shortcuts.
689
- - `--permission-mode` and `/permissions mode` accept `plan`.
690
- - New settings: `microCompactThreshold` (0.6), `microCompactKeepSteps` (3), `hooks`.
691
-
692
- ### Fixed
693
- - On Windows PowerShell 5.1, a command that wrote to stderr (for example `pytest ... 2>&1` with a
694
- warning) was reported as exit code 1 with CLIXML noise even when it passed. The real exit code is
695
- reported now and stderr is plain text.
696
-
697
- ## 0.1.0
698
-
699
- First release: agent loop with file, search, shell, database, web, todo and sub-agent tools; device
700
- login; `EURON.md` memory and `/init`; `/compact` and auto-compaction; saved sessions; permission rules
701
- and modes; `-p` headless mode.
1
+ # Changelog
2
+
3
+ ## 1.5.6 (2026-11-11)
4
+
5
+ Fixes from this week's usage review.
6
+
7
+ - Euron Code now keeps itself up to date. When a newer release is out (checked at most every 6 hours), `euron`
8
+ installs it into the same Python it runs from (venv, pipx, user or system install) and starts your command
9
+ again on it, so you carry on without doing anything. When Euron's servers ask for a newer version mid-session,
10
+ it updates and continues the conversation. If the update cannot run (offline, no permission) you stay on your
11
+ version with one line saying how to update. Turn it off with `euron config set autoUpdate false` or
12
+ `EURON_NO_AUTO_UPDATE=1`.
13
+
14
+ - Pasting several lines (a spec, a list, a SQL `CREATE TABLE`) sends them as ONE message. Before, the Windows
15
+ console (cmd, PowerShell) and Git Bash sent every line as its own task. Works in the normal prompt and the
16
+ simple one (Git Bash, IDE consoles), on Windows, macOS and Linux. Lines you type one by one stay separate
17
+ messages.
18
+ - Output never stops on a character your terminal cannot show (an ASCII-only locale now writes UTF-8), and
19
+ Python scripts Euron Code runs for you print UTF-8 too.
20
+ - A failed command's hint no longer breaks if Euron Code is updated while a session runs ("No module named
21
+ 'euron_code.error_hints'").
22
+ - Edits: when the text to replace is not in the file, a small file comes back with the error, so the next try
23
+ uses the real text instead of another read. The agent is told more firmly to read a file before editing it
24
+ and never to type the text to replace from memory.
25
+
26
+ ## 1.5.5 (2026-11-11)
27
+
28
+ Fixes for errors people met this week.
29
+
30
+ - An API key (or custom header) saved for your own model with a character a key cannot have, usually a curly
31
+ quote or a word pasted with it, stopped every request with "Unexpected error while streaming: 'ascii' codec
32
+ can't encode ...". Euron Code now says which character is wrong and where, refuses such a key when you add it,
33
+ and offers `/model euron` meanwhile.
34
+ - Your own model with tools: a provider that signs each tool call gets the signature back, so the next step no
35
+ longer fails with "Function call is missing a thought_signature".
36
+ - A model that only works through a provider's Responses API, or a live voice model, now says so and asks you
37
+ to pick another model, instead of "model not found".
38
+ - Any other unexpected problem while an answer streams is shown in plain words with what to do next.
39
+ - `euron doctor` checks the connection without sending a request that needs a key.
40
+
41
+ ## 1.5.4 (2026-11-11)
42
+
43
+ Web Forms pages are converted by Euron Code itself, so no page content is retyped (or made up) by the model.
44
+
45
+ - In an ASP.NET Web Forms migration Euron Code offers `port_page`: it turns a `.aspx` page (or the `.master`
46
+ page) into a Razor view on your computer, carrying every heading, sentence, table, link and form field over
47
+ as it is, and converting the server controls (TextBox, DropDownList with its items, Button, Label, Literal,
48
+ HyperLink, Image, validators). What it cannot convert stays in a `@* TODO *@` comment, never dropped. It then
49
+ lists what is left for the model: the controller action, the model and the code-behind logic.
50
+ - A view written by the model without its page's content is now sent back to `port_page`, and a later rewrite
51
+ that would remove a carried-over page's content is undone (with the reason).
52
+ - `create_mvc5_project` writes a known-good ASP.NET MVC 5 project for .NET Framework 4.x: solution, project
53
+ file (new controllers and views are picked up without editing it), packages with versions that exist,
54
+ Web.config (your old settings and connection strings carried over), Global.asax and App_Start. Checked with
55
+ Visual Studio 2022 MSBuild and IIS Express.
56
+ - Clear hints for common .NET Framework build errors: missing Microsoft.WebApplication.targets path, a NuGet
57
+ version that does not exist, a missing System.Web.* package reference, a malformed .sln.
58
+ - A small legacy project (a few files) is recognised as a migration too.
59
+
60
+ ## 1.5.3 (2026-11-11)
61
+
62
+ Fixes for the errors people ran into over the last two weeks.
63
+
64
+ - Your own model: when a provider says your allowance or credit is used up (for example EURI's "daily token
65
+ allowance is used up"), Euron Code now says exactly that, says your key is fine, and offers `/model euron` to
66
+ carry on with the Euron model. It used to say the key was rejected and ask you to set it again.
67
+ - A per-minute rate limit from a provider (Groq and others) is waited out and retried instead of being reported
68
+ as "out of credit".
69
+ - `euron models add` checks what you paste: a provider name, a command, or a short or spaced value is refused
70
+ with a plain explanation instead of being saved as a key that fails on every request.
71
+ - `euron models add` run inside a Euron Code session or a script (where nobody can answer its questions) now says
72
+ so and shows how to set the key with an environment variable. `euron models add custom euri` works.
73
+ - EURI API is in the `euron models add` list, and model names copied with the help text's brackets or quotes
74
+ (`euri:<model-name>`) are read as the name inside them.
75
+ - `/model` lists "Add your own model" as the last choice, so bringing your own key and model is one step away.
76
+ - `/components` works again (it asked the server for a page that does not exist).
77
+ - read_file on a file that does not exist shows what the folder really holds (or that the folder does not exist
78
+ and what the nearest one holds), and after several wrong names in a row tells the model to stop guessing and
79
+ search first. One task in production spent 45 minutes guessing file names.
80
+ - grep accepts patterns written for other tools: `\p{L}` and other Unicode classes are translated, and a pattern
81
+ that cannot be read as a regular expression is searched as plain text instead of failing.
82
+ - web_fetch opens sites that still use an old, short certificate key (the certificate is still checked).
83
+ - Internal problems are explained in plain words (for example "Euron Code was updated while this window was
84
+ running; start it again"), without internal names. The details still go to the error report.
85
+ - Saving project notes and settings waits out a file briefly held by antivirus or OneDrive on Windows
86
+ ("Access is denied") instead of failing.
87
+
88
+ ## 1.5.2 (2026-11-10)
89
+
90
+ Converting a project to another framework (for example ASP.NET Web Forms to MVC) carries every page over.
91
+
92
+ - Ask Euron Code to convert, migrate or port an existing project and it first makes an inventory of every legacy
93
+ file (pages are paired with their code-behind), on your computer, before anything changes. The list is in
94
+ `MIGRATION_CHECKLIST.md`, which Euron Code keeps up to date as pages are carried over.
95
+ - The model converts one page at a time and reads each legacy page right before it writes the new one. It is told
96
+ never to write a page from memory or invent sample pages, and conversions are not handed to sub-agents that
97
+ never saw the legacy files.
98
+ - Euron Code checks the new files for each legacy page's text (headings, sentences, table rows, phone numbers,
99
+ messages). When a new view is written without its page's content, it says so at once and hands the legacy
100
+ page over (two pages per step at most), so the view is redone from the page. Before it may call the job done,
101
+ it lists the pages that are not carried over yet. After the conversation is summarised, the list of what is
102
+ left comes back too, and "continue" picks up from it.
103
+ - .NET: an old-style .NET Framework project (MVC 5, Web Forms) is built with Visual Studio's MSBuild (found
104
+ automatically) with NuGet restore, not with `dotnet build` (which cannot build it). `dotnet test` is only
105
+ suggested when there is a test project.
106
+ - Bypass mode on Windows no longer refuses build commands as "outside the project": tool switches such as
107
+ `/t:Rebuild` or `/p:Configuration=Debug` are not paths, and running an installed program by its full path
108
+ (for example Visual Studio's MSBuild.exe) is allowed. Shells and interpreters run that way still ask.
109
+ - Turn it off with `euron config set migrationMode false` or `EURON_NO_MIGRATION=1`.
110
+
111
+ ## 1.5.1 (2026-11-10)
112
+
113
+ Default is the Euron model on Euron's own GPUs; bring your own Anthropic/OpenAI/any key, billed by your provider.
114
+
115
+ - The default, and the only model Euron runs for you, is the Euron model: Euron's own model on Euron's own GPUs,
116
+ included with Euron Plus and Super 30. Your prompts and code go to Euron's own servers.
117
+ - Want Claude, GPT or another model? `euron models add anthropic` (or `openai`, `openrouter`, `custom` for any
118
+ OpenAI-compatible endpoint), or `euron --model provider:model`, or `/model add` in a session. It uses your key,
119
+ your provider bills you, and Euron charges nothing for it.
120
+ - `/model` and `euron models` list the Euron model first, as the default; your own models are marked as using your
121
+ key and billed by your provider.
122
+ - Asked which model it is, Euron Code on the Euron model says it runs on the Euron model and never claims another
123
+ company's model. With your own model it names that model.
124
+ - The 1.5.0 notes below described hosted provider models as the default. Those were never switched on and are not
125
+ offered.
126
+
127
+ ## 1.5.0 (2026-11-10)
128
+
129
+ - The status line and `/model` say which model answers, and Euron Code answers honestly when you ask which model
130
+ it is, including after a switch.
131
+ - Notes from Euron about the model that answered are shown once per kind.
132
+ - With `reuse.enabled` set to false, every open-source and Euron reuse tool is off, and no GitHub repository is
133
+ downloaded.
134
+ - Read-only and parallel sub-agents run your hooks (PreToolUse, PostToolUse) and permission rules, like the main
135
+ agent.
136
+
137
+ ## 1.4.0 (2026-11-09)
138
+
139
+ Fewer wasted steps and fewer missed details, from a benchmark of real student-style tasks with hidden tests.
140
+
141
+ - Checks you write are no longer blocked. In bypass mode (`--yolo`), test code passed inline (`python -c`,
142
+ `node -e`, a heredoc or a PowerShell here-string) was refused as "outside the project" when it contained a URL
143
+ route (`/products`), a `//` comment, a division or a `~~~` fence. Real paths outside the project (your home
144
+ folder, another drive, `..\..`) still ask, as before.
145
+ - Optional edge-case review before a detailed task is called done (`"specReview": true` in settings): Euron Code
146
+ tests the request's formats, error cases, empty and boundary input once more and fixes what fails. Off by
147
+ default, because on the Euron model it added steps without catching more.
148
+ - Running a check script and deleting it afterwards counts as checked: Euron Code no longer redoes the check.
149
+ `tsx` and `ts-node` script runs count as checks.
150
+ - A folder with only a few config files (package.json, README) is shown in the first step, so a new build does
151
+ not start by listing and reading them.
152
+ - `edit_file` / `multi_edit` without a path uses the one file you have already seen that holds the text.
153
+ - A step that only updates the task list gets a one-line hint to send todo updates with the next real step.
154
+ - Your own models whose tools only work with reasoning turned off on chat completions now work: Euron Code
155
+ learns that from the first error instead of dropping the tools.
156
+
157
+ ## 1.3.1 (2026-11-09)
158
+
159
+ - A new build in an empty folder no longer gets the "here is every file in this small project" note (it only held
160
+ EURON.md and made the model answer with nothing). EURON.md is never repeated in it.
161
+ - GitHub references must be about the product asked for (a FastAPI todo API was offered a WhatsApp bot repo).
162
+
163
+ ## 1.3.0 (2026-11-09)
164
+
165
+ Finishes coding jobs more reliably: no more loops, no cut-off files, no unrelated repositories.
166
+
167
+ - Long files are written in parts. When a file write hits the model's output limit, the lines that arrived
168
+ are kept and Euron Code continues the file from there (`write_file` with `append`), instead of writing the
169
+ whole file again and getting cut off again. Files over about 300 lines are written in parts from the start.
170
+ - Loop guard: the same error coming back, a file edited back and forth, or a long run of failing tool calls
171
+ first makes Euron Code change approach, then stops with a short report (what works, the exact error that
172
+ blocks it, what it tried, the next step) instead of using up the whole time budget.
173
+ - Done means checked: after the last change a real check (build, tests or running the program) has to pass.
174
+ Listing files or installing packages no longer counts. If the last check fails, Euron Code goes back and
175
+ fixes it, or says exactly which check fails and why.
176
+ - Fewer, bigger steps: a small project (up to 12 small files) is read whole into the first step, so Euron Code
177
+ does not list and read the files one by one; the tests run once, and it stops as soon as they pass.
178
+ - Reuse only when it fits: Euron repositories and GitHub references are suggested only when they are about
179
+ the same product (a calculator is no longer pointed at an HR app), in the same language, small, and only
180
+ in a new, empty project. HTML / CSS / JavaScript requests stay plain JavaScript. Adopted code that still does not
181
+ build after 3 checks is removed again, with its licence notice, and that part is written from scratch.
182
+ - `@` followed by punctuation ("exactly one @, a dot") is plain text, not a file to attach (it used to stop
183
+ `euron -p` before it started).
184
+ - `read_file` on a folder shows what is in it; editing a folder names the files in it; `multi_edit` with the
185
+ file named inside each edit, and `read_file` past the end of a file, now work instead of failing.
186
+
187
+ ## 1.2.0 (2026-11-09)
188
+
189
+ Faster steps on the Euron model: more of every request reuses the prompt the model has already read.
190
+
191
+ - Conversation summaries are asked at the end of the conversation the model already has, with the same
192
+ instructions and tools, so the model reuses what it has already read instead of reading a re-written
193
+ copy of the conversation from scratch. If the model answers with a tool call instead, the old
194
+ summary request is used.
195
+ - The wrap-up step at the time / step budget keeps the tool list (with tool calls switched off), so it
196
+ reuses it too.
197
+ - The system prompt is ordered from most to least stable: the project knowledge block (code map, recent
198
+ work) now comes last, so a new session in the same project starts faster.
199
+ - After an edit, Euron Code runs the tests closest to the change first and the full suite once at the end.
200
+
201
+ ## 1.1.3 (2026-11-08)
202
+
203
+ - "'euron' is not recognized" (Windows) or "euron: command not found" right after `pip install euron-code`:
204
+ pip put the `euron` command in a Scripts folder that is not on your PATH. New `python -m euron_code fix-path`
205
+ finds that folder and adds it to your user PATH (Windows; no admin, the system PATH is not touched, safe to
206
+ run twice) or prints the line to add to your shell profile (macOS, Linux). Open a new terminal afterwards.
207
+ - `python -m euron_code` (or `py -m euron_code` on Windows) does everything `euron` does, e.g.
208
+ `python -m euron_code login`, and says once how to fix PATH when `euron` is not on it.
209
+ - `euron doctor` has a PATH check.
210
+
211
+ ## 1.1.2 (2026-11-07)
212
+
213
+ - A connection that drops in the middle of an answer ("The response stopped part-way ... WinError 10054") now
214
+ also switches Euron Code to IPv4, so the automatic retry of that step takes the working route.
215
+
216
+ ## 1.1.1 (2026-11-07)
217
+
218
+ Fixes from support tickets.
219
+
220
+ - Word, Excel, PowerPoint and PDF files are read as text by `read_file` too, instead of "looks like a binary
221
+ file; not reading it".
222
+ - A connection the network resets (`[WinError 10054] An existing connection was forcibly closed`) is retried
223
+ three times, and Euron Code switches to IPv4 (remembered in `~/.euron/network.json`; force it with
224
+ `EURON_IPV4=1`). The final error says what to check.
225
+ - `euron version`, `euron -V` and `/version`: the running version, the Python it runs from, whether PyPI has a
226
+ newer one, and the update command for that exact Python. Before, `euron version` was sent to the model as a
227
+ prompt.
228
+
229
+ ## 1.1.0 (2026-11-07)
230
+
231
+ Bring your own model, and fixes for the errors users hit most in the last week.
232
+
233
+ **Use your own model**
234
+ - Connect OpenAI, Claude (Anthropic, native API with tool use and prompt caching), Ollama on your computer,
235
+ Google Gemini, OpenRouter, Groq, Together, DeepSeek, Mistral, LM Studio, the EURI API, or any
236
+ OpenAI-compatible endpoint. Guided setup: `euron models add` or `/model add`; switch with `/model`,
237
+ `euron --model provider:model` or `euron models use`. See "Use your own model" in the README.
238
+ - Keys stay on your computer (keychain or a file only you can read), are typed hidden, and are sent only to
239
+ that provider: never printed, logged or sent to Euron. Your own model's tokens do not count against your
240
+ Euron tokens.
241
+ - Any signed-in Euron account may use its own model. The Euron model stays included with Euron Plus and
242
+ Super 30; without Plus, `euron login` still works and says how to add your own model.
243
+ - The default model is always shown as "Euron model" (status line, /model, /status, JSON output, exports).
244
+ - A model that cannot call tools is refused with a clear message. Context size is set per model.
245
+
246
+ **Faster, and finishes the task**
247
+ - No more summary loop: compaction thresholds now leave room for the fixed part of every request (system
248
+ prompt and tools), a summary never runs on consecutive steps or before the conversation has grown again,
249
+ and it is budgeted to land well under the trigger. A simulated 150-step session went from 60 summaries
250
+ (one every 2 steps) to 5. Summaries no longer think and are shorter.
251
+ - A lighter fixed prompt for models with a small context (like the Euron model): lean tool schemas and a capped project memory and
252
+ code map (about 17% fewer tokens on every step).
253
+ - Effort where it pays: full reasoning on the first step and after a failure, little or none on routine
254
+ steps that just continue after successful edits.
255
+ - A soft budget per request (40 minutes or 120 steps): then it wraps up with what is done, what is left and
256
+ the next step. Repeated errors make it stop and re-plan. Plans first for big tasks.
257
+ - Up to 3 sub-agents in parallel (several task calls in one step), and builder sub-agents that each own their
258
+ files, so two parts of a build go at once without touching each other's files.
259
+
260
+ **Fixes**
261
+ - Paths: a doubled folder (`app/app/.env`), the project's own folder name in front, `<project>\...`, an
262
+ absolute path that points into the project, or a path relative to the folder the shell moved to, now find
263
+ the file; so does the only file with that name. The result says which file was used. Applies to read_file,
264
+ edit_file, multi_edit, list_dir, grep, glob, find_symbol and read_document; write_file fixes a doubled
265
+ folder.
266
+ - Edits: a unique match that differs only in line endings, trailing spaces, indentation or blank lines is
267
+ applied, also when the file was not read first (the text is verifiably there); the replacement is
268
+ re-indented to the file. edit_file with an empty old_string on a missing or empty file creates it. When
269
+ nothing matches, the current content comes back and counts as a read, so the retry works. "Matches N
270
+ places" lists the lines.
271
+ - write_file never refuses a file Euron Code created in this session, and a refusal (not read, or changed
272
+ since) shows the content and lets the immediate retry through.
273
+ - A file another program holds open (Windows "Access is denied") is retried and then written in place; if
274
+ it still fails the model gets a clear message instead of a crash. Bad values become tool errors too.
275
+ - todo_write accepts Python-style lists; oss_grep defaults to the repo used last; bash says what to send when
276
+ the command is missing; background processes can be given a name (backend-dev) and found by it.
277
+ - Busy servers: no capacity, queue timeouts, upstream timeouts (502/504) and a full queue are retried
278
+ patiently (about four minutes, Esc stops) with a calm status line. An answer that fails part-way is asked
279
+ again automatically, since nothing was applied yet. If it still fails, your message is kept: `/retry`.
280
+ - Context: every request is checked before it is sent; when it would not fit, old tool output is cleared and
281
+ the largest messages are shortened, so "context length exceeded" no longer reaches you. If a server still
282
+ says it is too long, Euron Code learns the real size from its reply and fits the next request to it.
283
+ Non-English text is counted correctly.
284
+ - Error reports carry only the first line of a tool error (never file contents), and errors of your own
285
+ model are reported without its endpoint.
286
+
287
+ ## 1.0.2 (2026-11-06)
288
+
289
+ Fixes for the tool errors still reported by 1.0.1 users.
290
+
291
+ - Edits: an exact, unique match is applied even if the file was not read first or changed since (the
292
+ text being replaced is verifiably there); anything looser shows the current file first. old_string
293
+ sent with literal \n escapes, curly quotes or different spacing now matches. When nothing matches,
294
+ the error quotes the closest lines of the file so the next try can copy them exactly.
295
+ - Parameter names in any spelling (filePath, file-path, oldText, search_text, original_code ...) are
296
+ understood. A parameter that is still missing is reported with what the call did contain.
297
+ - todo_write accepts the shapes models send: plain text lines ("- [x] done"), {"items": [...]}, items as
298
+ strings, and statuses like "done" or "in-progress".
299
+ - stop_process with nothing running is not an error; "all" stops every background process.
300
+ - A server or proxy error page (HTML) is never shown; a 5xx page is retried like "busy".
301
+ - Error reports keep plain parameter and file names, so a failure says what was missing (code and
302
+ values are still hidden).
303
+
304
+ ## 1.0.1 (2026-11-06)
305
+
306
+ - Euron Code tells you when a newer version is out, with the command to upgrade
307
+ (`pip install -U euron-code`). It checks PyPI at most once a day, in the background of start-up, with a
308
+ two-second limit, and says nothing when you are offline or up to date. Turn it off with
309
+ `EURON_NO_UPDATE_CHECK=1`.
310
+
311
+ ## 1.0.0 (2026-11-06)
312
+
313
+ Fixes for every failure recorded on the Euron Code error dashboard since launch.
314
+
315
+ - A dropped connection no longer loses your turn. When the connection breaks part-way through an
316
+ answer (seen as "WinError 10054 ... forcibly closed by the remote host"), Euron Code asks again by
317
+ itself, up to three times, because nothing had been applied yet. If the answer had already finished
318
+ when the connection dropped, it is kept instead of thrown away.
319
+ - Edits that differ only in whitespace now apply. When the exact text is not found, Euron Code matches
320
+ it ignoring line numbers copied from read_file, trailing spaces, or indentation, and re-indents the
321
+ new code to the file's style (2 to 4 spaces, tabs). It only does this when there is exactly one
322
+ match, and the result says how it matched.
323
+ - Tool calls with the parameter names other tools use (file_path, old_str, query, ...), lists sent as
324
+ text, or numbers sent as strings are repaired before they run, instead of failing with "Missing
325
+ required parameter".
326
+ - A path that does not exist is resolved when it can mean only one file (app/page.tsx is
327
+ src/app/page.tsx; css/style.css is style.css in a GitHub repo), and otherwise the error lists the
328
+ closest real paths.
329
+ - stop_process accepts "1", "P1", the process number or part of the command.
330
+ - write_file on a file you had not read shows its current content right away, so the next call works.
331
+ - A new terminal on the same computer is no longer told Euron Code "is running in another terminal".
332
+ Euron Code sends an anonymous id for this computer (a random value kept in ~/.euron/device-id); a
333
+ different computer still has to take over.
334
+
335
+ ## 0.9.0 (2026-11-06)
336
+
337
+ Every build starts from code that already exists, and the report says what was really reused.
338
+
339
+ - Any "build / create / make a <thing>" is now a build request (a scientific calculator, a snake game, an
340
+ expense splitter...), not only the product words Euron Code knew. Small units (a function, a test, a
341
+ regex) are still written directly.
342
+ - Every build request now searches GitHub from your computer for projects that already do it, keeps the
343
+ permissively licensed ones (MIT, Apache-2.0, BSD...), and tells the AI to fetch the best one, read it,
344
+ adopt or adapt it with its licence, and write only what is missing. If the AI still writes everything
345
+ itself without opening any of them, it is asked once to look before it finishes.
346
+ - Honest reuse report: a file only counts as reused when its code is in your project (adopted, credited
347
+ in THIRD_PARTY_NOTICES.md, or a real share of its lines in the files that changed). Files that were
348
+ only read are listed as "Read for reference". The report and the journal show about how many tokens
349
+ of proven code were reused instead of written.
350
+ - The journal (`.euron/knowledge/journal.md`) records what was reused, from where, and the tokens saved;
351
+ "Reused: nothing (written from scratch)" when that is what happened. Asked about it, the AI now reads
352
+ these files instead of saying `.euron` was not changed.
353
+ - The Euron logo greets you when Euron Code starts.
354
+
355
+ ## 0.8.0 (2026-11-06)
356
+
357
+ Euron Code learns each project and keeps a security assessment, on your computer.
358
+
359
+ - First run in a folder or a fresh clone: the project is set up automatically (no question), the code
360
+ is analysed into `.euron/knowledge/codemap.md`, and a day-zero security scan writes
361
+ `.euron/security/assessment.md`. Locally, no tokens.
362
+ - After every task: a journal entry (`.euron/knowledge/journal.md`), the files it built
363
+ (`built.json`), learned rules (`.euron/rules/learned.md`: test, lint and build commands that work,
364
+ commands that keep failing, security lessons) and a rescan of the changed files. New findings are
365
+ shown right away; resolved ones are marked resolved.
366
+ - Every session starts with a compact summary of all this in the context (about 1.5k tokens), so the
367
+ AI stops re-exploring the repository.
368
+ - 23 security checks: secrets and API keys, SQL built from strings, eval / new Function, shell injection,
369
+ unsafe deserialisation, yaml.load, TLS verification off, unverified JWTs, CORS `*`, debug mode,
370
+ insecure cookies, XSS sinks, open redirects, path traversal, weak hashes, insecure randomness, and
371
+ secrets files that git would commit. Secrets are never written to the report. Accept a line with
372
+ `euron: ignore-security`.
373
+ - A `.gitignore` for the stack when there is none; an existing one only gets the missing essentials.
374
+ - New: `/security`, `/security-review`, `/knowledge`. `EURON_NO_AUTOSETUP=1` and `EURON_NO_KNOWLEDGE=1`
375
+ opt out.
376
+
377
+ ## 0.7.0 (2026-11-06)
378
+
379
+ Answers are formatted, not raw Markdown.
380
+
381
+ - Tables are drawn as boxed grids that fit the terminal: columns sized to their content, long cells
382
+ wrapped, `:---:` alignment honoured, header in bold. Too narrow for a grid, each row is shown as
383
+ `header: value` lines.
384
+ - **Bold**, *italic*, `code`, ~~strike~~ and links show as styles instead of their markers.
385
+ - Headings, bullet and numbered lists (nested, wrapped under their text), task lists, block quotes and
386
+ horizontal rules are laid out for the terminal.
387
+ - Fenced code is syntax-highlighted and keeps its indentation.
388
+ - Works with `NO_COLOR` and ASCII terminals (`+-|` borders). `euron -p` output is unchanged.
389
+
390
+ ## 0.6.0 (2026-11-06)
391
+
392
+ A new look for the interactive session.
393
+
394
+ - Each tool call is a block: `● Bash(npm test)` with its output indented under it. Long output shows
395
+ its first lines and `… +58 lines (ctrl+o to expand)`; Ctrl+O (or `/expand [n]`) prints it in full.
396
+ - Edits show as a numbered diff with added lines on green and removed lines on red.
397
+ - Answers start with a `●` bullet; while Euron Code works, a status line above the input shows what it is
398
+ doing, the time so far and the tokens received.
399
+ - The input sits in a box with a footer: the permission mode on the left (`▸▸ auto-approve on`), with
400
+ `esc to interrupt` while a task runs, and the model, context and today's tokens on the right.
401
+ - `!command` output uses the same block. `euron -p` output is unchanged.
402
+
403
+ Reuse from all of GitHub, on your own computer.
404
+
405
+ - Open-source search now asks GitHub directly from your machine (your own allowance; code search too
406
+ with `gh auth login` or `GITHUB_TOKEN`). The token goes only to GitHub, never to Euron, and is never
407
+ printed. When GitHub is offline or rate limited, Euron's service answers as before.
408
+ - New tools: `oss_fetch` downloads a reference once at a pinned commit into `~/.euron/cache/oss` and
409
+ indexes it; `oss_grep` and `oss_read` then work from your disk; `oss_adopt` copies the files worth
410
+ reusing with their licence header, copies LICENSE / NOTICE and updates `THIRD_PARTY_NOTICES.md`.
411
+ - Licences are checked in code from GitHub's licence detection, and again in the downloaded licence text
412
+ (Commons Clause and non-commercial riders are refused).
413
+ - `euron cache` (list, size, clear). The cache keeps 2 GB by default, least recently used out first.
414
+
415
+ ## 0.5.2 (2026-11-05)
416
+
417
+ Security and reliability fixes from pre-launch testing.
418
+
419
+ - Bypass mode (`--yolo`) now asks before any command that names a path outside your project, including
420
+ quoted paths and paths in your home folder.
421
+ - Files that usually hold secrets (such as `.env`) are never sent with your message without a yes.
422
+ - An answer that comes back empty is asked for once more instead of ending silently; `-p` always prints a
423
+ result, and JSON mode reports errors as JSON.
424
+ - Hindi, emoji and other non-English text print correctly when output is piped on Windows.
425
+ - Long tasks no longer stop early as a false "loop", or with an unfinished task list.
426
+ - Reuse planning picks the right components and records every reused source.
427
+
428
+ ## 0.5.1 (2026-11-05)
429
+
430
+ - Running `euron` again right after a run finished no longer says Euron Code is already running for
431
+ your account: the login is freed when Euron Code exits.
432
+
433
+ ## 0.5.0 (2026-11-05)
434
+
435
+ ### Build from references (V5 contract section 1)
436
+ - New tools `oss_search` (repos or code), `oss_tree` and `oss_read` through Euron:
437
+ every result shows its licence; only MIT, Apache-2.0, BSD, ISC, 0BSD, Unlicense, MPL-2.0, CC0 and Zlib.
438
+ A `license_not_permitted` answer tells the model plainly it must not use that code, and the client drops
439
+ any non-permitted result it might still receive. MPL-2.0 is flagged as file-level copyleft.
440
+ - `add_third_party_notice` records each reused source in the project's `THIRD_PARTY_NOTICES.md`.
441
+ - Reuse-first is the default for "build me X" and UI work (system prompt + built-in skill
442
+ `build-from-reference`): Euron's index first (typescript for UI), then permissive open source, one or two
443
+ references, read only the needed files, adapt with attribution, generate only what is missing; prefer the
444
+ project's existing component system. Budget notes after 4 searches and 6 reads.
445
+ - `/reference <what>` shows candidates from both sources with licences. The completion report and `-p` JSON
446
+ list what was reused (`Reused: repo/path (MIT)`, `"reused": [...]`).
447
+
448
+ ### Error log (V5 contract section 2)
449
+ - Service and network errors, tool errors, crashes (fingerprint: type + top frame), hook failures and slash
450
+ command failures are reported, scrubbed (no prompts, file contents, command text, env values or secrets;
451
+ quoted text removed, home and project paths masked, key-like strings redacted), batched (20 per request,
452
+ under 8 KB) and sent in the background with a 3 s timeout; never blocks or fails what you are doing.
453
+ - Offline queue in `~/.euron/errors.jsonl` (at most 500), sent next time; `/bug` lists the last 10 with ids.
454
+ - Off with `errorReporting: false` or `EURON_NO_ERROR_REPORTS=1`. Disclosed in the README.
455
+ - An unexpected crash now prints a short message with an error id instead of a traceback.
456
+
457
+ ### Reuse engine client (V6 contract section 6)
458
+ - `find_reusable(requirement, components, allow_external)`: the first step for build-type requests (a
459
+ heuristic adds a short note to the request; bug fixes, small edits and questions skip it). The model
460
+ splits the request into 1-8 components; Euron decides REUSE / ADAPT / GENERATE per component and
461
+ the CLI shows the table (component, decision, repository@sha, licence, confidence). The client re-checks
462
+ every decision: a non-permitted licence or a failed security scan always becomes GENERATE, unverified
463
+ security turns REUSE into ADAPT.
464
+ - The activity line shows the engine's states (searching, found, checking licence, validating security,
465
+ reusing, adapting, generating, running tests, integration completed), driven by the real tool calls.
466
+ - After tests pass on reused or adapted code, its metadata (never code) goes to the student's private
467
+ component library (`POST /v1/components`); `/components` lists it.
468
+ - Settings `reuse.enabled` and `reuse.external` (both default true), `--no-reuse`. A reuse engine or GitHub
469
+ failure never fails the turn: it generates instead, with a dim note.
470
+ - `-p --output-format json` gains `reuse` and `task_id`; the completion report adds "Reuse plan: ...".
471
+
472
+ ### From the first live build test
473
+ - Reuse no longer depends on the model choosing it: for a build request the CLI splits the request into
474
+ components locally (no model call) and calls `/v1/reuse/plan` before the first model call, then puts
475
+ the decisions, files and licences into that first message and shows the table. Websites and UI ask for
476
+ Euron's TypeScript / TSX components. `find_reusable` stays available for more.
477
+ - The details the user gives are used: a system-prompt rule, an attached local photo is copied into
478
+ `assets/` (or `public/`) and referenced, and once per prompt the changed files are checked for
479
+ "Your Name", "Lorem ipsum", "example@example.com" and "TODO: replace", with one nudge to fix them.
480
+ - "Context was N% full ..." is printed only when it freed at least 2,000 tokens or the context was
481
+ 60% full or more.
482
+ - The error-report note moved from the privacy section to Settings.
483
+
484
+ ### Branding
485
+ - README top: the official Euron Code definition, the 3-step start, "Everything you need to build" and
486
+ the daily allowance with its fair-use note; usage at `euron usage`, `/usage` and euron.one.
487
+ - No vendor or model names, and no internal service details, anywhere a student can see. The `/usage`
488
+ value line reads "at reference market API prices". `/status`, `/cost`, `/context` and `euron doctor` show
489
+ percentages and plain words instead of internal sizes and addresses.
490
+
491
+ ### Fewer tokens per request
492
+ - Tool descriptions shortened (about 730 fewer tokens on every request).
493
+
494
+ ## 0.4.2 (2026-11-05)
495
+
496
+ ### Changed
497
+ - Documentation and messages describe what Euron Code does for you, without internal service details.
498
+
499
+ ## 0.4.1 (2026-11-05)
500
+
501
+ ### Fixed
502
+ - Pasting text with emoji into a Windows terminal crashed the prompt ("surrogates not allowed") and
503
+ then failed every request. Text is now repaired before it is saved or sent.
504
+
505
+ ### Changed
506
+ - Clearer privacy wording; the limits section shows the daily allowance and where to track usage.
507
+
508
+ ## 0.4.0 (2026-11-05)
509
+
510
+ ### Run the app, not just the tests
511
+ - `start_background_process` (waits for a port or a ready line), `read_process_output`, `stop_process`:
512
+ at most 3, 64 KB output each, whole process trees stopped on exit, `/clear` and `/rewind`; `/ps`.
513
+ - `check_app`: local URLs only; status, timing, title, `contains`, `wait_seconds`; `browser: true` uses
514
+ Playwright when installed (new extra `euron-code[browser]`) for console errors, failed requests and a
515
+ screenshot.
516
+ - The system prompt now says to use these for servers instead of `bash`.
517
+
518
+ ### Reuse Euron's open-source code (V4 contract section 3)
519
+ - `euron_reuse_search` and `euron_reuse_read` over Euron's public MIT repos; the
520
+ system prompt asks to search before writing a substantial common component and to keep the licence
521
+ notice; `/reuse <query>`.
522
+
523
+ ### Context optimisation with Euron Open ContextForge (MIT, vendored in `euron_code/contextforge/`)
524
+ - Before any model-written summary: older duplicate tool results are dropped, bulky logs, test runs and
525
+ JSON are condensed to their verbatim signal lines (errors, failures, stack frames, head and tail), and
526
+ stubs keep the facts they drop. Often that is enough and no model call is spent.
527
+ - Every summary now carries a verbatim fact ledger (ids, paths, versions, env names, URLs, ports, dates,
528
+ error classes) and the user's stated constraints, plus permission grants, git branch and state, and the
529
+ last command with its exit code.
530
+
531
+ ### More tools and gaps closed (audit increment 6)
532
+ - `find_symbol` (definitions and references), `delete_file` and `move_file` (both undone by `/rewind`).
533
+ - `AGENTS.md` and other agents' instruction files are read alongside `EURON.md` (trust-gated like it).
534
+ - Inline `<tool_call>` JSON is repaired (trailing commas, single quotes, Python literals); garbage
535
+ becomes an error result for the model, never a crash.
536
+ - `/rewind` works after `euron --resume`: checkpoints are kept in `~/.euron/checkpoints/<session>/`
537
+ (user-only, at most 50 MB per session).
538
+ - The context window and output cap come from `/v1/models` unless you set them.
539
+ - `/export` warns that the file contains tool output.
540
+
541
+ ### Euron-only client and privacy (V4 contract section 1, audit increment 3)
542
+ - A 403 `client_not_supported` explains that Euron Code works through the euron app only.
543
+
544
+ ### CI
545
+ - `.github/workflows/ci.yml`: pytest on ubuntu, windows and macos x Python 3.9 and 3.12 (ripgrep on one
546
+ job), then build the wheel and sdist and check the wheel contents.
547
+
548
+ ## 0.3.0 (2026-11-05)
549
+
550
+ ### Never stuck at the output limit
551
+ - An answer cut by the output limit (`finish_reason: length`) is continued automatically (up to 3 times)
552
+ and joined into one answer. A tool call cut mid-arguments (typically a huge `write_file`) is never run;
553
+ the model is asked to make the change in smaller steps. When reasoning alone used the budget, the
554
+ request is retried once with `reasoning_effort: low`. Each case shows one dim note, never an error.
555
+ - `reasoning_effort` is sent on every call: `medium` by default, `low` for simple follow-ups
556
+ ("thanks", "continue") and continuation retries. `/effort low|medium|high`, setting `reasoningEffort`,
557
+ shown in the status bar.
558
+ - `max_tokens` is sized per request: min(server max, context window - prompt estimate - 512), at least
559
+ 1024. A request that would not fit is compacted first. The prompt estimate starts from the last
560
+ server-reported `prompt_tokens` and adds only the new messages.
561
+
562
+ ### Context management
563
+ - An output budget is reserved (min(maxOutputTokens, window/4)); percentages are of the usable rest.
564
+ - From 50%, tool outputs are cleared biggest and oldest first until under 40% (the latest step is never
565
+ touched). Each stub names the call (for reads: path and line range) so the model can read it again.
566
+ The note reports real numbers: "freed 9,400 tokens, now 38%".
567
+ - The conversation is summarised at 70%, or whenever the next request would not fit. The summary keeps
568
+ the task, decisions, files changed, commands and results, the last error and open todos (files
569
+ changed and the last error are also added verbatim).
570
+ - `read_file` reads 200 lines by default and stops at a line boundary before ~6k tokens. Files over
571
+ 2,000 lines return an outline (definitions with line numbers) unless a range is given. The system
572
+ prompt says: search first, read ranges, edit with `edit_file`, never rewrite big files.
573
+
574
+ ### A live session
575
+ - **Activity line** while the agent works: an animated glyph, a rotating verb, elapsed time, tokens
576
+ sent and received (counted live from the stream), what is happening (`thinking`, `writing app.py`,
577
+ `running pytest 12s`, `waiting for capacity (2 ahead)`, `retrying in 3s`) and `esc to interrupt`.
578
+ On a terminal it redraws 10 times a second; without one it prints a progress line every 15 s; in `-p`
579
+ mode it appears on stderr only when stderr is a terminal. Queue positions are shown
580
+ instead of being ignored.
581
+ - **Status bar**: model and effort, mode, session tokens and their value, context %, today's and this
582
+ week's remaining quota, session uptime. Refreshed continuously.
583
+ - **Type while it works.** The turn runs in a worker thread and the prompt stays live. `/usage`, `/cost`,
584
+ `/context`, `/status`, `/model`, `/effort`, `/help`, `/todos`, `/permissions` run at once (a model switch
585
+ applies from the next model call, a mode change from the next tool call); anything else is queued as
586
+ your next message. Permission questions are answered in the same prompt. Esc or Ctrl-C stops the
587
+ turn (a running command is killed) and puts queued messages back into the input line.
588
+ - **`/` menu** pops up as soon as you type `/`, with every command, custom command and skill. `/model`
589
+ opens a picker (arrow keys + Enter) with context size and status. `@word` searches the project's files.
590
+ - `/status`, `/whoami`, `/config`, `/bug`, `/release-notes`, `/users` (alias of `/usage`).
591
+
592
+ ### Accounts and modes
593
+ - Plain `euron` with no saved key logs you in in the browser and goes straight into the session.
594
+ - `euron login` / `/login` when logged in: shows who, offers to log in as a different account
595
+ (`--force` skips the question). The old key is replaced only after the new login is approved. Logout
596
+ stays local (there is no CLI revoke API); revoke keys at euron.one/code-agent.
597
+ - `--permission-mode bypassPermissions` and `--dangerously-skip-permissions` (alias of `--yolo`) with a
598
+ red warning; Shift+Tab reaches bypass only when started with it. `acceptEdits` is shown as "auto-apply
599
+ edits". `--add-dir DIR` adds folders the agent may work in.
600
+
601
+ ### One login at a time
602
+ - A key revoked because the account logged in on another device (401 `signed_in_elsewhere`) shows that
603
+ message, drops the local key and offers "Log in here? (this signs out the other device)"; after the
604
+ login the interrupted message is carried on. `-p` exits 4 with the message.
605
+ - When another session holds the account (409 `session_in_use`), Euron Code asks "Take over here?"; yes
606
+ retries once with `X-Euron-Takeover: 1`. `-p` exits 4 unless `--takeover` is given.
607
+ - After `euron login`: "Signed in as ... (any other device using this account was signed out)".
608
+
609
+ ### Plan quotas and value (V3 contract)
610
+ - `/usage` shows the plan tier, all four periods (day, week, month, year) with bars and refill times,
611
+ `quota.blocked` prominently, and value lines at reference market API prices, plus what the allowance is worth. `/cost` and the
612
+ status bar show this session's value. Always labelled as a reference, never a bill.
613
+ - New 429 codes `monthly_token_limit`, `yearly_token_limit` and `cooldown`, each with its refill time in
614
+ local time; exit code 5 in `-p` mode.
615
+
616
+ ### Automatic project setup and local cache
617
+ - First `euron` in a folder without `EURON.md` or `.euron/` (not your home folder or a drive root) offers
618
+ to set it up; `--yes` or `euron init` does it without asking. Locally, with no model call: `EURON.md`
619
+ (stack, commands, layout, entry points), `.euron/rules/` (testing, git, security and per-stack
620
+ rules), `.euron/settings.json` (allow rules for the detected test/lint commands and read-only git),
621
+ `.euron/hooks.example.json` (off; `/hooks enable` turns them on, pre-trusted because Euron Code wrote
622
+ them), `.euron/commands/` (`/fix-tests`, `/commit`, `/pr`), and `.euron/cache/` in `.gitignore`.
623
+ - `.euron/cache/` keeps the repo map and file index, keyed by git HEAD and folder mtimes. Safe to delete,
624
+ no secrets, only written when `.euron/` exists.
625
+
626
+ ### Attach anything
627
+ - `@file`, `/attach`, or drag files into the terminal (Windows `"C:\..."` and PowerShell `& '...'`
628
+ quoting, Unix escaped spaces and `file://` are recognised). Word, Excel, PowerPoint and PDF become
629
+ compact text locally (stdlib zip+XML; `pypdf` for PDF), as do CSV/TSV (sample + column summary),
630
+ JSON, YAML and notebooks, capped at about 6k tokens per file with a note; unknown binaries are only
631
+ described. The new `read_document` tool reads more pages, sheets or rows on demand.
632
+ - `@folder` attaches a digest within a budget: tree, file types and sizes, heads of key files.
633
+ - Images (png/jpg/gif/webp/bmp, up to 5 per message, 5 MB each) are sent as `image_url` parts, resized
634
+ to 1568 px with the optional `euron-code[images]` extra (Pillow), which also enables Ctrl+V and
635
+ `/paste-image`. A 400 `images_unavailable` drops the images with a clear note and retries.
636
+ - Session transcripts never store image bytes.
637
+
638
+ ### Security (independent audit, before release)
639
+ - **Project trust.** A repo's `.euron/settings.json` / `settings.local.json` can no longer loosen anything
640
+ silently: allow rules, `defaultMode` other than default/plan, `shell`, `db.*`, `webFetch: true` and
641
+ raised limits apply only after the user trusts the repo (one prompt listing exactly what it ships,
642
+ with view / trust / ignore; fingerprinted in `~/.euron/trusted-projects.json`, so a change asks again).
643
+ Restrict-only keys (deny rules, plan mode, lowered limits) always apply. `-p` ignores untrusted keys
644
+ with a warning; `euron trust` / `/trust` trust a repo. Rules the user saves with `s` or
645
+ `/permissions allow` now live in `~/.euron/projects/<hash>.json`, outside the repo.
646
+ - **Repo instructions are trust-gated too:** project and parent `EURON.md`, `.euron/rules`, `.euron/skills`
647
+ and `.euron/commands` load only for a trusted repo. The system prompt no longer says project memory
648
+ "overrides" anything: project-provided guidance follows `# Tools and safety`, which always wins.
649
+ - `grep` skips secret-looking files (`.env*`, keys, credentials) in both the ripgrep and the Python path
650
+ and says which were skipped; naming one explicitly asks, like `read_file`.
651
+ - Commands, `!` commands and hooks run without `EURON_API_KEY` / `EURON_CODE_API` in their environment.
652
+ - Bypass mode still asks for commands that touch existing paths outside the project and for a list of
653
+ destructive commands (that list asks even with an allow rule); `web_fetch` to localhost, private
654
+ ranges, link-local and metadata addresses asks in every mode unless that exact host was allowed.
655
+ - Edits to `EURON.md` and `.euron/**` always ask in acceptEdits mode.
656
+ - Session transcripts are created user-only (0600, folder 0700) on POSIX.
657
+
658
+ ### Runaway guard and honest completion
659
+ - 3 identical failing calls add a "change your approach" note; 5 stop the request (`stop_reason: loop`).
660
+ Identical successful calls get a note at 4 and stop at 8.
661
+ - Step budget per request, `maxStepsPerPrompt` (default 60): the REPL asks to continue; `-p` exits 6.
662
+ - A local report after a change: `Changed: ... | Ran: ... (exit N) | Not verified: ...`; `-p --output-format
663
+ json` gains `files_changed` and `commands`. One automatic nudge when files changed and no command
664
+ succeeded afterwards (`verifyNudge`, off in plan mode); the detected test command is in the
665
+ environment block.
666
+ - After `write_file` / `edit_file`: a syntax check for `.py` (compile), `.json` and, when node is installed,
667
+ `.js` files.
668
+
669
+ ### Fixed
670
+ - Windows Terminal, VS Code and other ConPTY hosts: a lone Esc stayed inside prompt_toolkit's VT input
671
+ parser until the next key, so Esc did not interrupt. The timed flush now delivers it (found by
672
+ driving the CLI in a real ConPTY).
673
+ - Safe commands such as `/usage` typed while a permission question is open now run, and the question
674
+ stays open, instead of being rejected as an invalid answer.
675
+
676
+ ### Changed
677
+ - Defaults: `compactThreshold` 0.7, `microCompactThreshold` 0.5, new `microCompactTarget` 0.4,
678
+ `microCompactKeepSteps` 1, `outputReserve`, `reasoningEffort` (all fractions of the usable window).
679
+ - The CHANGELOG ships inside the wheel (for `/release-notes`).
680
+
681
+ ## 0.2.0 (2026-11-05)
682
+
683
+ ### Added
684
+ - **Usage periods.** `/usage` and `euron usage` show Today / This week / This month with a progress bar
685
+ against each limit (the week only when the plan has a weekly limit), reset times in local time,
686
+ requests, sessions, tasks and the share of prompt tokens served from the server's cache, plus the
687
+ 30-day table with cached / sessions / tasks columns. The status bar shows the tighter of the day and
688
+ week allowance.
689
+ - **Weekly limit.** A `weekly_token_limit` 429 stops cleanly with the local reset time; exit code 5 in
690
+ `-p` mode, the same as the daily limit. Both limits read `resets_at` from the error when present.
691
+ - **Session and task headers.** Every model call sends `X-Euron-Session` (the saved session id, kept on
692
+ `--continue` / `--resume` / `/resume`) and `X-Euron-Task` (new for every message you send).
693
+ - **Rules files.** `.euron/rules/*.md` and `~/.euron/rules/*.md`, loaded after `EURON.md`. Rules with
694
+ `paths:` front matter load only once a matching file is read or edited. `/rules`, `/rules new`.
695
+ - **Skills.** `.euron/skills/<name>/SKILL.md` and `~/.euron/skills/<name>/SKILL.md`. Only names and
696
+ descriptions are in the system prompt; the new `skill` tool loads a body on demand; `/<name> [args]`
697
+ runs one. Built in: `review`, `test-writer`, `explain-codebase`. `/skills`, `/skills new`.
698
+ - **Custom commands.** `.euron/commands/<name>.md` and `~/.euron/commands/<name>.md` become `/<name>`
699
+ with `$ARGUMENTS`; shown in `/help` and Tab completion.
700
+ - **Hooks.** `SessionStart`, `UserPromptSubmit`, `PreToolUse`, `PostToolUse`, `Stop` in settings, with a
701
+ tool-name `matcher`, JSON on stdin and exit code 2 to block or give feedback. Project hooks must be
702
+ trusted once per project (re-asked when they change); skipped with a warning in `-p` mode.
703
+ `/hooks`, `/hooks new`.
704
+ - **Plan mode.** Read-only mode in which the model proposes a plan; leaving it is the user's choice.
705
+ Shift+Tab cycles default -> acceptEdits -> plan; also `/plan` and `--permission-mode plan`.
706
+ - **Shortcuts.** `!command` runs a command and adds its output to the next message; `@path` attaches a
707
+ file or folder (Tab completes paths); Esc Esc / `/rewind` undoes the last turn's file edits and drops
708
+ the turn; Ctrl-L clears the screen; `/resume` and `/export` inside a session.
709
+ - **`/context`.** A breakdown with a bar: system prompt, memory, rules, skills index, tool definitions,
710
+ messages, tool results, free space.
711
+ - **`/init` repo map.** A locally built map (stack, manifest commands, layout, entry points) is handed to
712
+ the model, which writes a short `EURON.md` with a repo map section; offers `.euron/rules/` and
713
+ `.euron/settings.json` skeletons.
714
+
715
+ ### Token saving (automatic)
716
+ - The system prompt and tool list stay byte-identical for the whole session; plan mode, hook output and
717
+ `!` output go at the end of the user message.
718
+ - Re-reading an unchanged file (mtime + size, or content hash) returns "unchanged since your last read
719
+ at turn N"; a read that reached the end of the file covers later partial reads.
720
+ - Micro-compaction at 60% of the context: tool outputs older than the last 3 steps become one-line stubs
721
+ (no model call); the summary still happens at 75%.
722
+ - `/cost` and `/context` report prompt tokens sent, tokens reused from cache and tokens saved by each measure. `-p --output-format
723
+ json` adds `cached_tokens` and `saved_tokens`.
724
+
725
+ ### Changed
726
+ - `/help` lists your commands, skills and the shortcuts.
727
+ - `--permission-mode` and `/permissions mode` accept `plan`.
728
+ - New settings: `microCompactThreshold` (0.6), `microCompactKeepSteps` (3), `hooks`.
729
+
730
+ ### Fixed
731
+ - On Windows PowerShell 5.1, a command that wrote to stderr (for example `pytest ... 2>&1` with a
732
+ warning) was reported as exit code 1 with CLIXML noise even when it passed. The real exit code is
733
+ reported now and stderr is plain text.
734
+
735
+ ## 0.1.0
736
+
737
+ First release: agent loop with file, search, shell, database, web, todo and sub-agent tools; device
738
+ login; `EURON.md` memory and `/init`; `/compact` and auto-compaction; saved sessions; permission rules
739
+ and modes; `-p` headless mode.