euron-code 1.11.2__tar.gz → 1.11.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {euron_code-1.11.2 → euron_code-1.11.3}/CHANGELOG.md +12 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/PKG-INFO +1 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/pyproject.toml +1 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/__init__.py +1 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/agent.py +6 -2
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/datacheck.py +1 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/permissions.py +19 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/toolchain.py +2 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/background.py +12 -1
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v1111_ceo_classes.py +35 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/.gitignore +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/LICENSE +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/README.md +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/__main__.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/activity.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/api.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/attachments.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/auth.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/autoupdate.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/build-from-reference/SKILL.md +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/explain-codebase/SKILL.md +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/review/SKILL.md +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/test-writer/SKILL.md +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/cache.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/checkpoints.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/cli.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/codeindex.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/config.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/context.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/contextforge/LICENSE +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/contextforge/__init__.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/contextforge/text.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/contextforge/toolout.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/credentials.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/ctxstats.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/doctor.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/documents.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/doi_guard.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/dotnet.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/error_hints.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/errorlog.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/failures.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/friendly.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/frontmatter.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/guards.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/hooks.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/keys.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/knowledge.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/licensing.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/llm/__init__.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/llm/anthropic.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/llm/base.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/llm/openai_compat.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/llm/setup.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/logo.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/markdown_view.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/memory.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/migration.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/modes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/mvc5.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/osscache.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/ossgithub.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/pasteinput.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/pathfix.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/progress.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/project_setup.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/prompts.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/repl.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/repomap.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/rules.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/security_scan.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/sessions.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/skills.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/taskstate.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/textsafe.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tls.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/__init__.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/base.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/citations.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/db.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/design.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/document.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/erie.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/fs.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/ignore.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/normalize.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/oss.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/pagecheck.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/pathfind.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/port.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/reuse.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/search.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/shell.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/skill.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/symbols.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/task.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/template.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/todo.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/web.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/tools/websearch.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/transcript.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/trust.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/ui.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/update_check.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/usage_view.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/version_info.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/webforms.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/conftest.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/fake_providers.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/helpers.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/measure_floor.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/mock_gateway.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/serve_helper.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/sim_long_session.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_agent_mock.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_api_shell.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_bench.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_bench_harness.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_cli_e2e.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_context_memory_sessions.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_dashboard_fixes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_dashboard_fixes_102.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_db.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_erie.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_knowledge_security.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_markdown_view.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_oss_local.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_permissions.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_powershell_exit_codes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_qa_attach_secrets.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_qa_long_task.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_qa_print_output.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_qa_reuse_unrelated.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_qa_yolo_outside.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_render_ghost.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_repl.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_reuse_honesty.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_search.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_textsafe.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_tools_fs.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_transcript_ui.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_update_check.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v1100_finish_on_time.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v1110_first_prompt.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v111_user_reports.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v113_fix_path.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v11_byo.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v11_speed.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v11_tool_fixes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v130_cut_writes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v130_reliability.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v140_parity.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v152_migration.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v153_user_errors.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v155_user_errors.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v156_autoupdate.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v156_paste_and_edits.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v157_zero_errors.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v15_hosted_models.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v15_reuse_off_subagent_hooks.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v160_stop_scope_atomic.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v161_residual_errors.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v170_v2.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v180_rescue_research_permissions.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v181_silent_failures_verified.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v182_zero_errors.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v184_selfupdate_pep668.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v186_bypass_and_waits.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v187_sleep_wake.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v188_typed_cli_commands.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v189_edit_partial.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v190_refund_fixes.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v191_page_assets.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v194_citations.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v2_rules_skills_hooks.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v2_tokens_shortcuts.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v2_usage_headers.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v31_security.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_accounts_value_setup.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_activity.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_attachments.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_context.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_live_repl.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v3_single_login.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v4.py +0 -0
- {euron_code-1.11.2 → euron_code-1.11.3}/tests/test_v5.py +0 -0
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.11.3 (2026-11-24)
|
|
4
|
+
|
|
5
|
+
- The data check compares a record's options exactly (spacing aside): `'Hello'` and `'hello'` are different answers
|
|
6
|
+
to a lower()/upper() question, not duplicates. The false report cost a 150-question quiz 10+ extra minutes.
|
|
7
|
+
- A command that runs node / python / npm / git by its full path is no longer an "outside the project" question
|
|
8
|
+
(its arguments are still checked), and the toolchain note asks for tools by name. 1.11.x listed full paths, and
|
|
9
|
+
`C:/.../python.exe -m pytest` was refused in bypass, leaving the task unverified.
|
|
10
|
+
- The "details you gave are not in the files" check has its own flag: an earlier placeholder nudge no longer switches
|
|
11
|
+
it off (a portfolio shipped without the email the request gave).
|
|
12
|
+
- start_background_process refuses a port that is already in use, instead of reporting "listening" at once and
|
|
13
|
+
letting every check test some other program on that port.
|
|
14
|
+
|
|
3
15
|
## 1.11.2 (2026-11-24)
|
|
4
16
|
|
|
5
17
|
- The data check no longer reports a false problem on a field the request did not group by ("25 for each topic" is
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: euron-code
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.3
|
|
4
4
|
Summary: Euron Code: an agentic coding assistant in your terminal for Euron Plus and Super 30 students.
|
|
5
5
|
Project-URL: Homepage, https://euron.one/code-agent
|
|
6
6
|
Author-email: Euron <contact@euron.one>
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "euron-code"
|
|
7
|
-
version = "1.11.
|
|
7
|
+
version = "1.11.3"
|
|
8
8
|
description = "Euron Code: an agentic coding assistant in your terminal for Euron Plus and Super 30 students."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -647,6 +647,7 @@ class Agent:
|
|
|
647
647
|
self.pending_image_paths: List[Path] = [] # their local files (a photo may belong on the page)
|
|
648
648
|
self.pending_tool_images: List[Tuple[str, Dict[str, Any]]] = [] # check_app screenshots for the next step
|
|
649
649
|
self._placeholder_nudged = False
|
|
650
|
+
self._details_nudged = False
|
|
650
651
|
self._ctx_note_band = 0 # 10% band of the last small "Context was N% full" note
|
|
651
652
|
self.pending_paths: List[Path] = [] # /attach, /paste-image: attached to the next prompt
|
|
652
653
|
self._notice_nudged = False # one THIRD_PARTY_NOTICES nudge per prompt
|
|
@@ -1084,6 +1085,7 @@ class Agent:
|
|
|
1084
1085
|
self._data_gated = 0
|
|
1085
1086
|
self._todo_alone = 0
|
|
1086
1087
|
self._placeholder_nudged = False
|
|
1088
|
+
self._details_nudged = False
|
|
1087
1089
|
self._notice_nudged = False
|
|
1088
1090
|
self._migration_nudges = 0
|
|
1089
1091
|
self._migration_noted = {}
|
|
@@ -1558,10 +1560,12 @@ class Agent:
|
|
|
1558
1560
|
self.ui.warn("Note: that last step was described but NOT run. Type continue to make Euron Code "
|
|
1559
1561
|
"do it (a stronger helper model takes over when it keeps failing).")
|
|
1560
1562
|
where = self._placeholders() if not self._placeholder_nudged and not self.is_subagent else ""
|
|
1561
|
-
if not where and not self
|
|
1563
|
+
if not where and not getattr(self, "_details_nudged", False) and not self.is_subagent:
|
|
1564
|
+
# its own flag (1.11.3): a placeholder nudge earlier used to switch this check off, and a
|
|
1565
|
+
# portfolio shipped without the email the request gave (gate 24 Nov, build-portfolio)
|
|
1562
1566
|
lost = self._unused_details(user_text)
|
|
1563
1567
|
if lost:
|
|
1564
|
-
self.
|
|
1568
|
+
self._details_nudged = True
|
|
1565
1569
|
self._append({"role": "user", "content": prompts.DETAILS_NUDGE.format(details=lost)})
|
|
1566
1570
|
self.ui.dim("(some details you gave are not in the files yet; asking Euron Code to add them)")
|
|
1567
1571
|
continue
|
|
@@ -88,7 +88,7 @@ def check(path: Path, request: str = "") -> Optional[Dict[str, Any]]:
|
|
|
88
88
|
for k in [k for k, c in keys.items() if c >= n * 0.5][:12]:
|
|
89
89
|
vals = [r.get(k) for r in recs if k in r]
|
|
90
90
|
if all(isinstance(v, list) for v in vals):
|
|
91
|
-
bad = [i for i, v in enumerate(vals) if len({
|
|
91
|
+
bad = [i for i, v in enumerate(vals) if len({" ".join(str(x).split()) for x in v}) < len(v)]
|
|
92
92
|
lens = Counter(len(v) for v in vals)
|
|
93
93
|
if bad:
|
|
94
94
|
problems.append(f"`{k}` repeats an entry in record(s) " + ", ".join(f"#{i + 1}" for i in bad[:8])
|
|
@@ -225,6 +225,23 @@ def _system_program(part: str) -> bool:
|
|
|
225
225
|
except (OSError, ValueError, RuntimeError):
|
|
226
226
|
continue
|
|
227
227
|
return False
|
|
228
|
+
_TOOLCHAIN_EXE = re.compile(r"(?i)(^|[\\/])(node|npm|npx|python\d*(\.\d+)?|py|pip\d*|git|uv|pnpm|yarn|bun|deno|java|javac|"
|
|
229
|
+
r"go|cargo|rustc|dotnet)(\.exe|\.cmd|\.bat)?$")
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
def _toolchain_program(part: str) -> bool:
|
|
233
|
+
"""The program of a command, named by its full path, when it is an installed interpreter / build tool (node,
|
|
234
|
+
python, npm, git): the program itself is not something the command reads or writes; its ARGUMENTS still are
|
|
235
|
+
checked one by one. 1.11.x gave the model full tool paths, and every `C:/.../python.exe -m pytest` became an
|
|
236
|
+
"outside the project" question (gate 24 Nov: pytest and pip refused in bypass, task left unverified)."""
|
|
237
|
+
if not _TOOLCHAIN_EXE.search(part):
|
|
238
|
+
return False
|
|
239
|
+
try:
|
|
240
|
+
return Path(_expand(part)).is_file()
|
|
241
|
+
except (OSError, ValueError):
|
|
242
|
+
return False
|
|
243
|
+
|
|
244
|
+
|
|
228
245
|
# `~` only as the home folder (`~`, `~/x`, `~user`): a Markdown fence `~~~` or `~=` inside inline code is not a path
|
|
229
246
|
# (bench 2026-11-09: `python -c "...~~~..."` was refused as "outside the project" in bypass mode).
|
|
230
247
|
_PATHLIKE = re.compile(r"^(?:[A-Za-z]:[\\/]|/|~(?:$|[\\/]|\w)|\\\\|\.\.(?:[\\/]|$)|\$HOME|\$\{HOME\}|\$env:USERPROFILE|%USERPROFILE%)")
|
|
@@ -360,7 +377,8 @@ def _outside_in(command: str, roots: List[Path], allowed: List[Path], in_code: b
|
|
|
360
377
|
if os.name == "nt" and not in_code and part is not None and (
|
|
361
378
|
_WIN_VALUE_SWITCH.match(part) or tool_switches and _WIN_WORD_SWITCH.match(part)):
|
|
362
379
|
continue
|
|
363
|
-
if head and part == tok.strip().strip('"').strip("'") and _system_program(part)
|
|
380
|
+
if head and part == tok.strip().strip('"').strip("'") and (_system_program(part)
|
|
381
|
+
or _toolchain_program(part)):
|
|
364
382
|
continue
|
|
365
383
|
if in_code and part.startswith("/") and _rooted_slash_is_route(part):
|
|
366
384
|
continue
|
|
@@ -164,4 +164,6 @@ def note(found: Dict[str, str]) -> str:
|
|
|
164
164
|
s += f". Not on the user's PATH, so Euron Code added these folders to PATH for every command: {found['_added']}"
|
|
165
165
|
if missing:
|
|
166
166
|
s += ". Not installed: " + ", ".join(missing)
|
|
167
|
+
if have:
|
|
168
|
+
s += ". Run them by name (node, npm, python, git), not by full path"
|
|
167
169
|
return s
|
|
@@ -249,8 +249,19 @@ class StartBackgroundProcess(Tool):
|
|
|
249
249
|
cmd = self._quoted(args, ctx)
|
|
250
250
|
pm = manager(ctx)
|
|
251
251
|
cwd = ctx.shell.cwd if getattr(ctx, "shell", None) is not None else ctx.root
|
|
252
|
-
bp = pm.start(cmd, cwd, ctx.settings.get("shell"), name=str(args.get("name") or ""))
|
|
253
252
|
port = opt_int(args, "wait_for_port", None)
|
|
253
|
+
if port and port_open(port):
|
|
254
|
+
# 1.11.3: another program already answers on this port; waiting for it would report "listening" at
|
|
255
|
+
# once and every check would test THAT program (gate 24 Nov: a portfolio checked against a stranger's
|
|
256
|
+
# index.php on 8080, a Vite app chased 404s for 50 minutes)
|
|
257
|
+
mine = [p.id for p in pm.running()]
|
|
258
|
+
return ToolResult(f"Not started: port {port} is already in use"
|
|
259
|
+
+ (f" (if it is your own {', '.join(mine)}, stop_process it first)" if mine else
|
|
260
|
+
" by another program, not this project")
|
|
261
|
+
+ f". Start it on a free port instead (e.g. {port + 1}, or let the tool pick: Vite --port "
|
|
262
|
+
f"{port + 1}, http-server -p {port + 1}), or use check_app with path= for a static page.",
|
|
263
|
+
is_error=True, preview=f"port {port} busy")
|
|
264
|
+
bp = pm.start(cmd, cwd, ctx.settings.get("shell"), name=str(args.get("name") or ""))
|
|
254
265
|
ready = str(args.get("ready_text") or "")
|
|
255
266
|
timeout = max(1, min(opt_int(args, "timeout", 30) or 30, 120))
|
|
256
267
|
cancel = getattr(getattr(ctx, "agent", None), "cancel", None)
|
|
@@ -183,3 +183,38 @@ def test_unfinished_answer_pattern():
|
|
|
183
183
|
assert _UNFINISHED_RE.search("Actually, wait - the key difference is that the debug script connects to the")
|
|
184
184
|
assert _UNFINISHED_RE.search("Let me check the database path:")
|
|
185
185
|
assert not _UNFINISHED_RE.search("All 12 tests pass. The notes API is in server/main.py.")
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def test_options_differing_only_in_case_are_not_duplicates(tmp_path):
|
|
189
|
+
import json as _json
|
|
190
|
+
from euron_code import datacheck
|
|
191
|
+
q = [{"id": i + 1, "topic": "strings", "question": f"Q{i}: what does 'Hello'.lower() return?",
|
|
192
|
+
"options": ["'Hello'", "'hello'", "'HELLO'", "None"], "answer": 1} for i in range(30)]
|
|
193
|
+
p = tmp_path / "q.json"
|
|
194
|
+
p.write_text(_json.dumps(q), encoding="utf-8")
|
|
195
|
+
assert not any("repeated" in x or "duplicate" in x for x in datacheck.check(p, "30 questions")["problems"])
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
def test_full_path_interpreter_is_not_outside(tmp_path):
|
|
199
|
+
import sys as _sys
|
|
200
|
+
from euron_code.permissions import outside_paths
|
|
201
|
+
py = _sys.executable
|
|
202
|
+
assert outside_paths(f'"{py}" -m pytest server/tests -q', [tmp_path]) == []
|
|
203
|
+
secret = "C:/Windows/System32/config/SAM" if _sys.platform == "win32" else "/etc/shadow"
|
|
204
|
+
assert outside_paths(f'"{py}" {secret}', [tmp_path]) != []
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def test_background_refuses_a_port_already_in_use(tmp_path):
|
|
208
|
+
import socket
|
|
209
|
+
from types import SimpleNamespace
|
|
210
|
+
from euron_code.tools.background import StartBackgroundProcess
|
|
211
|
+
s = socket.socket()
|
|
212
|
+
s.bind(("127.0.0.1", 0))
|
|
213
|
+
s.listen(1)
|
|
214
|
+
port = s.getsockname()[1]
|
|
215
|
+
try:
|
|
216
|
+
ctx = SimpleNamespace(root=tmp_path, shell=None, settings={}, agent=None, cut=lambda x: x)
|
|
217
|
+
r = StartBackgroundProcess().run({"command": "python -m http.server", "wait_for_port": port}, ctx)
|
|
218
|
+
assert r.is_error and "already in use" in r.content
|
|
219
|
+
finally:
|
|
220
|
+
s.close()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/build-from-reference/SKILL.md
RENAMED
|
File without changes
|
{euron_code-1.11.2 → euron_code-1.11.3}/src/euron_code/builtin_skills/explain-codebase/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|