session-trail 0.2.2__tar.gz → 0.2.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.
- {session_trail-0.2.2/src/session_trail.egg-info → session_trail-0.2.3}/PKG-INFO +2 -2
- {session_trail-0.2.2 → session_trail-0.2.3}/README.en.md +1 -1
- {session_trail-0.2.2 → session_trail-0.2.3}/README.md +1 -1
- {session_trail-0.2.2 → session_trail-0.2.3}/pyproject.toml +1 -1
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/tray/app.py +10 -1
- {session_trail-0.2.2 → session_trail-0.2.3/src/session_trail.egg-info}/PKG-INFO +2 -2
- {session_trail-0.2.2 → session_trail-0.2.3}/LICENSE +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/MANIFEST.in +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/setup.cfg +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/__init__.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/__main__.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/__init__.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/base.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/claude_code.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/codebuddy.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/codex.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/deepseek_harness.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/jsonl_utils.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/kimi_code.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/minimax_code.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/opencode.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/pi.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/sqlite_utils.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/adapters/zcode.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/cli.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/launcher.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/models.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/scanner.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/server.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/static/app.js +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/static/i18n.js +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/static/index.html +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/static/styles.css +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/store.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/tray/__init__.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/tray/desktop.template +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/tray/icon.png +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/tray/sni.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/agent_trail/watcher.py +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/session_trail.egg-info/SOURCES.txt +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/session_trail.egg-info/dependency_links.txt +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/session_trail.egg-info/entry_points.txt +0 -0
- {session_trail-0.2.2 → session_trail-0.2.3}/src/session_trail.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: session-trail
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Local cross-agent work timeline: discover, browse and resume coding-agent sessions on your machine
|
|
5
5
|
Author: fwt11
|
|
6
6
|
License-Expression: MIT
|
|
@@ -104,7 +104,7 @@ agent-trail tray --show # 启动同时打开控制台窗口
|
|
|
104
104
|
agent-trail tray --install # 手动写入应用菜单入口;--uninstall 反向清理
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
107
|
+
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到)。Deepin 的自启动加载器会劫持指向 Python 脚本的 Exec 强制用系统解释器执行,故自启条目以 `/bin/sh -c exec` 包装规避"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
108
108
|
|
|
109
109
|
托盘壳本身不依赖任何第三方 pip 包,但需要 GTK 的 GI 绑定(系统 Python 通常自带)。`agent-trail tray` 在当前解释器缺 GI 绑定时会自动改用带绑定的系统 Python 重执行(例如 pip 装在 venv 里、托盘跑在系统 Python),无需任何手动操作;实在找不到时按提示安装:
|
|
110
110
|
|
|
@@ -77,7 +77,7 @@ agent-trail tray --show # also open the console window
|
|
|
77
77
|
agent-trail tray --install # manually add an applications-menu entry; --uninstall reverts
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
The first `agent-trail tray` run after pip install automatically registers "Agent Trail" in the desktop applications menu (searchable from your launcher) and refreshes it on upgrades; headless sessions (SSH/servers) write nothing.
|
|
80
|
+
The first `agent-trail tray` run after pip install automatically registers "Agent Trail" in the desktop applications menu (searchable from your launcher) and refreshes it on upgrades; headless sessions (SSH/servers) write nothing. Deepin's autostart launcher forces Python-script Exec entries through the system interpreter, so the entry is wrapped as `/bin/sh -c exec '<path>' tray` to keep the venv shebang working.
|
|
81
81
|
|
|
82
82
|
The tray needs GTK GI bindings (preinstalled on most distros as the system Python). If the interpreter running agent-trail lacks them — e.g. the package lives in a venv — `agent-trail tray` automatically re-executes itself with a system Python that has GI; no manual steps. If none is found, install:
|
|
83
83
|
|
|
@@ -78,7 +78,7 @@ agent-trail tray --show # 启动同时打开控制台窗口
|
|
|
78
78
|
agent-trail tray --install # 手动写入应用菜单入口;--uninstall 反向清理
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
81
|
+
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到)。Deepin 的自启动加载器会劫持指向 Python 脚本的 Exec 强制用系统解释器执行,故自启条目以 `/bin/sh -c exec` 包装规避"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
82
82
|
|
|
83
83
|
托盘壳本身不依赖任何第三方 pip 包,但需要 GTK 的 GI 绑定(系统 Python 通常自带)。`agent-trail tray` 在当前解释器缺 GI 绑定时会自动改用带绑定的系统 Python 重执行(例如 pip 装在 venv 里、托盘跑在系统 Python),无需任何手动操作;实在找不到时按提示安装:
|
|
84
84
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "session-trail"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
description = "Local cross-agent work timeline: discover, browse and resume coding-agent sessions on your machine"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -339,8 +339,17 @@ def ensure_desktop_entry() -> None:
|
|
|
339
339
|
|
|
340
340
|
def render_desktop_entry(executable: str, icon: Path,
|
|
341
341
|
template: Path = DESKTOP_TEMPLATE) -> str:
|
|
342
|
+
# Deepin 的 app-launch-helper 会对「指向 Python 脚本」的 Exec 强制改用
|
|
343
|
+
# /usr/bin/python3 执行(无视 shebang),venv 安装直接 ModuleNotFoundError。
|
|
344
|
+
# 用 /bin/sh -c exec 包装:加载器看到 ELF 二进制就不再劫持,sh 按
|
|
345
|
+
# shebang 正确执行。executable 路径内的单引号会破坏该包装(极少见),
|
|
346
|
+
# 此时回退为直连形式。
|
|
347
|
+
if "'" not in executable:
|
|
348
|
+
exec_line = f'/bin/sh -c "exec \'{executable}\' tray"'
|
|
349
|
+
else:
|
|
350
|
+
exec_line = f"{executable} tray"
|
|
342
351
|
text = template.read_text(encoding="utf-8")
|
|
343
|
-
return text.replace("@EXEC@",
|
|
352
|
+
return text.replace("@EXEC@", exec_line).replace("@ICON@", str(icon))
|
|
344
353
|
|
|
345
354
|
|
|
346
355
|
def autostart_enabled(target: Path = AUTOSTART_PATH) -> bool:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: session-trail
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Local cross-agent work timeline: discover, browse and resume coding-agent sessions on your machine
|
|
5
5
|
Author: fwt11
|
|
6
6
|
License-Expression: MIT
|
|
@@ -104,7 +104,7 @@ agent-trail tray --show # 启动同时打开控制台窗口
|
|
|
104
104
|
agent-trail tray --install # 手动写入应用菜单入口;--uninstall 反向清理
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
107
|
+
pip 安装后首次运行 `agent-trail tray` 会自动把"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到)。Deepin 的自启动加载器会劫持指向 Python 脚本的 Exec 强制用系统解释器执行,故自启条目以 `/bin/sh -c exec` 包装规避"Agent 足迹"注册进系统应用菜单(应用启动器可直接搜索到),之后升级换路径也会自动刷新;无桌面会话(SSH/服务器)不写入。
|
|
108
108
|
|
|
109
109
|
托盘壳本身不依赖任何第三方 pip 包,但需要 GTK 的 GI 绑定(系统 Python 通常自带)。`agent-trail tray` 在当前解释器缺 GI 绑定时会自动改用带绑定的系统 Python 重执行(例如 pip 装在 venv 里、托盘跑在系统 Python),无需任何手动操作;实在找不到时按提示安装:
|
|
110
110
|
|
|
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
|