agent-zero/python/tools
TerminallyLazy 5fefa5f53b fix(skills): use standard CLI conventions for script argument passing
Replace Anthropic-specific _skill_args injection with standard CLI
  argument conventions that work with any script regardless of origin.

  Changes:
  - Pass arguments via sys.argv (Python), process.argv (Node.js), and
  positional parameters (Shell) instead of proprietary global injection
  - Add arg_style parameter: "positional" (default), "named", or "env"
    - positional: sys.argv = ['script.py', 'val1', 'val2']
    - named: sys.argv = ['script.py', '--key1', 'val1', '--key2', 'val2']
    - env: only SKILL_ARG_* environment variables
  - Always set SKILL_ARG_* environment variables as fallback
  - Fix CodeExecution missing 'log' attribute by calling before_execution()
  - Update agent prompt documentation with new conventions and examples

  This enables skills_tool to work with standard CLI scripts that use
  sys.argv, argparse, click, or any other argument parsing method,
  rather than requiring scripts to be written specifically for Agent Zero.
2025-12-30 16:28:07 -05:00
..
a2a_chat.py v0.9.5-pre cleanup, polishing, bugfixing 2025-08-25 09:59:44 +02:00
behaviour_adjustment.py subagents preparation 2025-11-26 09:07:30 +01:00
browser._py cleanup 2025-06-12 16:39:43 +02:00
browser_agent.py projects continued 2025-11-03 16:17:12 +01:00
browser_do._py cleanup 2025-06-12 16:39:43 +02:00
browser_open._py cleanup 2025-06-12 16:39:43 +02:00
call_subordinate.py v0.9.5-pre cleanup, polishing, bugfixing 2025-08-25 09:59:44 +02:00
code_execution_tool.py windows tty 2025-11-13 19:09:02 +01:00
document_query.py Enhance document_query to support multiple documents 2025-10-18 16:04:05 +08:00
input.py CET input allow_running fix 2025-09-28 20:27:17 +02:00
knowledge_tool._py feat: memory consolidation 2025-07-12 16:39:26 +02:00
memory_delete.py feat: Deduplicate and optimize memory similarity threshold (#389) 2025-05-19 14:40:47 +02:00
memory_forget.py feat: Deduplicate and optimize memory similarity threshold (#389) 2025-05-19 14:40:47 +02:00
memory_load.py feat: Deduplicate and optimize memory similarity threshold (#389) 2025-05-19 14:40:47 +02:00
memory_save.py feat: Deduplicate and optimize memory similarity threshold (#389) 2025-05-19 14:40:47 +02:00
notify_user.py notifications polishing 2025-08-04 13:07:25 +02:00
response.py Update response.py 2025-07-20 22:54:15 +02:00
scheduler.py Squashed commit of the following: 2025-11-13 09:00:10 +01:00
search_engine.py Create search_engine.py 2025-05-27 13:24:30 +02:00
skills_tool.py fix(skills): use standard CLI conventions for script argument passing 2025-12-30 16:28:07 -05:00
unknown.py attachments, files, prompt extras, prompt caching, refactors, cleanups 2024-12-01 20:50:17 +01:00
vision_load.py fixes and improvements 2025-05-20 17:31:49 +02:00
wait.py Update wait.py 2025-11-18 10:51:23 +01:00