mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 19:14:19 +08:00
- dsl.py: use NDArray type annotations, fix None narrowing - cli.py: add type annotations, fix import sorting - strategy.py: fix UP038 isinstance, add noqa for I() method name - tests: fix E712 bool comparison assertions Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
83 lines
3.3 KiB
JSON
83 lines
3.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Skill(update-config)",
|
|
"Bash(echo '{\"tool_name\":\"Edit\",\"tool_input\":{\"file_path\":\"D:\\\\\\\\python\\\\\\\\xmtdx\\\\\\\\src\\\\\\\\xmtdx\\\\\\\\__init__.py\"}}')",
|
|
"Bash(python -c \"import sys,json,subprocess;d=json.load\\(sys.stdin\\);f=d.get\\('tool_input',{}\\).get\\('file_path',''\\);exec\\('' if not f.endswith\\(\\\\\\\\'.py\\\\\\\\'\\) else 'subprocess.run\\([\\\\\\\\'ruff\\\\\\\\',\\\\\\\\'check\\\\\\\\',\\\\\\\\'--fix\\\\\\\\',f],capture_output=True\\);subprocess.run\\([\\\\\\\\'ruff\\\\\\\\',\\\\\\\\'format\\\\\\\\',f],capture_output=True\\)'\\);print\\(f'done: {f}'\\)\")",
|
|
"Bash(python *)",
|
|
"Bash(ruff check *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit *)",
|
|
"Bash(git push *)",
|
|
"mcp__zread__get_repo_structure",
|
|
"Bash(pip install *)",
|
|
"mcp__web-reader__webReader",
|
|
"Bash(python3 *)",
|
|
"Bash(where mypy *)",
|
|
"Bash(pip list *)",
|
|
"Bash(uv run *)",
|
|
"Bash(git stash *)",
|
|
"Bash(dir /s /b src\\\\xmtdx)",
|
|
"Bash(git remote *)",
|
|
"Bash(uv --version)",
|
|
"Bash(git rm *)",
|
|
"mcp__plugin_context7_context7__resolve-library-id",
|
|
"mcp__plugin_context7_context7__query-docs",
|
|
"Bash(grep -E \"\\\\.py$\")",
|
|
"Bash(awk '{added+=$1; deleted+=$2} END {print \"+\" added \" -\" deleted}')",
|
|
"Bash(find D:/python/easty_tdx/examples/1[1-7]* -name \"*.py\")",
|
|
"Bash(easy-tdx ping *)",
|
|
"Bash(easy-tdx version *)",
|
|
"Bash(easy-tdx kline *)",
|
|
"Bash(easy-tdx quote *)",
|
|
"Bash(easy-tdx tick *)",
|
|
"Bash(easy-tdx transaction *)",
|
|
"Bash(easy-tdx auction *)",
|
|
"Bash(easy-tdx quote-list *)",
|
|
"Bash(easy-tdx board-list *)",
|
|
"Bash(easy-tdx board-members *)",
|
|
"Bash(easy-tdx belong-board *)",
|
|
"Bash(easy-tdx capital-flow *)",
|
|
"Bash(echo \"EXIT CODE: $?\")",
|
|
"Bash(easy-tdx unusual *)",
|
|
"Bash(easy-tdx market-stat *)",
|
|
"Bash(easy-tdx server-info *)",
|
|
"Bash(easy-tdx symbol-info *)",
|
|
"Bash(easy-tdx ex *)",
|
|
"WebSearch",
|
|
"mcp__zread__search_doc",
|
|
"mcp__zread__read_file",
|
|
"Bash(git status *)",
|
|
"Bash(pip show *)",
|
|
"Bash(git tag *)",
|
|
"Bash(twine upload *)",
|
|
"Bash(pip index *)",
|
|
"Bash(curl -s https://pypi.org/pypi/easy-tdx/json)",
|
|
"Bash(curl -sI \"https://files.pythonhosted.org/packages/py3/e/easy-tdx/easy_tdx-1.2.0-py3-none-any.whl\")",
|
|
"Bash(gh run *)",
|
|
"Bash(easy-tdx *)",
|
|
"mcp__web-search-prime__web_search_prime",
|
|
"mcp__plugin_compound-engineering_context7__resolve-library-id",
|
|
"mcp__plugin_compound-engineering_context7__query-docs",
|
|
"Bash(pip uninstall *)",
|
|
"Bash(xargs grep -l \"Command\\\\|Request\\\\|Response\")",
|
|
"Bash(quotes/stock_xdxr_info.go)",
|
|
"Bash(mypy src/)",
|
|
"Bash(ruff format *)",
|
|
"mcp__plugin_episodic-memory_episodic-memory__search",
|
|
"Bash(echo \"FK/\")",
|
|
"Bash(git pull *)",
|
|
"mcp__playwright__browser_navigate",
|
|
"mcp__playwright__browser_snapshot",
|
|
"Bash(gh auth *)",
|
|
"Bash(rm -rf easy_tdx.wiki)",
|
|
"Bash(gh repo *)",
|
|
"Bash(gh api *)",
|
|
"Bash(mypy src/easy_tdx/backtest/types.py)",
|
|
"Bash(mypy tests/unit/test_backtest_types.py)",
|
|
"Bash(mypy src/easy_tdx/backtest/types.py tests/unit/test_backtest_types.py)",
|
|
"Bash(mypy *)"
|
|
]
|
|
}
|
|
}
|