- Modified loadChatHistory() to check for active project before fetching all sessions - When active project exists, use project.sessions instead of fetching from API - Added detailed console logging to debug session filtering - This prevents ALL sessions from appearing in every project's sidebar Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
512 B
Python
26 lines
512 B
Python
"""
|
|
Wheel command line tool (enables the ``python -m wheel`` syntax)
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from typing import NoReturn
|
|
|
|
|
|
def main() -> NoReturn: # needed for console script
|
|
if __package__ == "":
|
|
# To be able to run 'python wheel-0.9.whl/wheel':
|
|
import os.path
|
|
|
|
path = os.path.dirname(os.path.dirname(__file__))
|
|
sys.path[0:0] = [path]
|
|
|
|
from ._commands import main as cli_main
|
|
|
|
sys.exit(cli_main())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|