xdog-agent 0.57.1__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 (37) hide show
  1. xdog_agent-0.57.1/.gitignore +59 -0
  2. xdog_agent-0.57.1/LICENSE +662 -0
  3. xdog_agent-0.57.1/LICENSE-EXCEPTION.md +82 -0
  4. xdog_agent-0.57.1/PKG-INFO +41 -0
  5. xdog_agent-0.57.1/README.md +24 -0
  6. xdog_agent-0.57.1/pyproject.toml +37 -0
  7. xdog_agent-0.57.1/src/xdog/agent/__init__.py +175 -0
  8. xdog_agent-0.57.1/src/xdog/agent/agent.py +636 -0
  9. xdog_agent-0.57.1/src/xdog/agent/agent_loop.py +874 -0
  10. xdog_agent-0.57.1/src/xdog/agent/cli.py +579 -0
  11. xdog_agent-0.57.1/src/xdog/agent/core.py +239 -0
  12. xdog_agent-0.57.1/src/xdog/agent/event_stream.py +153 -0
  13. xdog_agent-0.57.1/src/xdog/agent/events.py +112 -0
  14. xdog_agent-0.57.1/src/xdog/agent/helpers.py +72 -0
  15. xdog_agent-0.57.1/src/xdog/agent/py.typed +0 -0
  16. xdog_agent-0.57.1/src/xdog/agent/tool_def.py +520 -0
  17. xdog_agent-0.57.1/src/xdog/agent/tools/__init__.py +48 -0
  18. xdog_agent-0.57.1/src/xdog/agent/tools/_edit_utils.py +225 -0
  19. xdog_agent-0.57.1/src/xdog/agent/tools/_utils.py +100 -0
  20. xdog_agent-0.57.1/src/xdog/agent/tools/registry.py +56 -0
  21. xdog_agent-0.57.1/src/xdog/agent/tools/tool_bash.py +161 -0
  22. xdog_agent-0.57.1/src/xdog/agent/tools/tool_current_time.py +19 -0
  23. xdog_agent-0.57.1/src/xdog/agent/tools/tool_embed.py +45 -0
  24. xdog_agent-0.57.1/src/xdog/agent/tools/tool_filesystem.py +430 -0
  25. xdog_agent-0.57.1/src/xdog/agent/tools/tool_submit_result.py +121 -0
  26. xdog_agent-0.57.1/src/xdog/agent/tools/tool_web_search.py +44 -0
  27. xdog_agent-0.57.1/src/xdog/agent/types.py +136 -0
  28. xdog_agent-0.57.1/tests/test_agent.py +153 -0
  29. xdog_agent-0.57.1/tests/test_agent_loop.py +500 -0
  30. xdog_agent-0.57.1/tests/test_agent_tools.py +92 -0
  31. xdog_agent-0.57.1/tests/test_before_after_hooks.py +232 -0
  32. xdog_agent-0.57.1/tests/test_cli.py +42 -0
  33. xdog_agent-0.57.1/tests/test_e2e.py +70 -0
  34. xdog_agent-0.57.1/tests/test_parallel_tool_execution.py +176 -0
  35. xdog_agent-0.57.1/tests/test_run_agent_loop.py +174 -0
  36. xdog_agent-0.57.1/tests/test_submit_result.py +98 -0
  37. xdog_agent-0.57.1/tests/test_tool_def.py +344 -0
@@ -0,0 +1,59 @@
1
+ # Virtual environment
2
+ .venv/
3
+ venv/
4
+
5
+ # Python
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+ *.so
10
+ *.egg-info/
11
+ *.egg
12
+ dist/
13
+ build/
14
+ .eggs/
15
+ # pyenv
16
+ .python-version
17
+ # IDE
18
+ .vscode/
19
+ .idea/
20
+ *.swp
21
+ *.swo
22
+ # OS
23
+ .DS_Store
24
+ Thumbs.db
25
+ # Testing
26
+ .pytest_cache/
27
+ .coverage
28
+ htmlcov/
29
+ .mypy_cache/
30
+ # Distribution
31
+ *.tar.gz
32
+ *.whl
33
+ # --- Python ---
34
+ # --- Virtualenv ---
35
+ env/
36
+ # --- Tooling caches ---
37
+ .ruff_cache/
38
+ # --- Env / secrets ---
39
+ .env
40
+ .env.*
41
+ *.env
42
+ !.env.example
43
+ *.key
44
+ *.pem
45
+ *credential*
46
+ *secret*
47
+ # --- OS / editor ---
48
+ # --- x-dog ---
49
+ data/
50
+ result.txt
51
+ plan.txt
52
+
53
+ # Claude Code session state and agent worktrees — never publish these.
54
+ .claude/
55
+
56
+ # Personal scratch files kept in the working tree, deliberately not tracked.
57
+ /cli_agent_workflow.json
58
+ /cli_agent_workflow.py
59
+ /essay_writer.py