| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(assistant): port sessionHistory + AssistantSessionChooser stub from TS Closes the parity gap for typescript/src/assistant/ (88 LOC + 11-line stub). Adds: - src/assistant/session_history.py — paginated session-events client mirroring TS sessionHistory.ts (HistoryPage, HistoryAuthCtx, create_history_auth_ctx, fetch_latest_events, fetch_older_events). Preserves the TS four-case body-coercion contract and per-call-site debug labels; bool query params serialize lowercase to match axios. - src/assistant/session_chooser.py — PascalCase stub mirror of AssistantSessionChooser.tsx so a future dialogLaunchers port can import the real name without an alias. - src/assistant/__init__.py — re-exports new names; existing placeholder fields (ARCHIVE_NAME, MODULE_COUNT, SAMPLE_FILES, PORTING_NOTE) preserved. Tests: 30 cases at 100% line coverage. Wire shape (URL path, all five pinned headers, anchor_to_latest=true vs before_id, limit default, 15 s timeout), error policy (4xx/5xx/network/timeout/non-JSON/non-dict all return None; malformed data preserves first_id + has_more), and has_more JS-mirror default are pinned. Signature deviation from TS: create_history_auth_ctx takes access_token + org_uuid explicitly (no prepare_api_request global yet in Python). Matches bridge/code_session_api.py + remote convention. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> | 3 个月前 | |
chore(gitattributes): 统一行尾为 LF(除 Windows 脚本)+ 批量规范化 4155 个文件 扩展 .gitattributes 覆盖 Python/JS/TS/JSON/Markdown/YAML/TOML/HTML/CSS 等文本 文件,统一为 LF;Windows 原生脚本(.ps1/.bat/.cmd)保持 CRLF;二进制资源 (图片/字体/音视频/压缩包)显式标记为 binary。 应用新规则后批量规范化 4155 个文件 — 全部为纯行尾变更(CRLF→LF),无任何 内容改动。差异统计:2586 .py、1159 .patch、160 .md、59 .json、52 .jsx、 25 .html、20 .tsx、16 .css、15 .js、13 .ts、8 .yml、7 .txt、7 .j2、 3 .raw、2 .yaml、2 .list、2 .example、1 .toml、1 .theme、1 .template, 外加 install.ps1(blob 从 CRLF 改为 LF,working tree 保持 CRLF 不变)。 后续建议开发者本地设置 core.autocrlf=input,让提交时自动规范化。 Co-Authored-By: MiniMax-M3 <MiniMax-AI@claude-code-best.win> | 2 个月前 | |
chore(gitattributes): 统一行尾为 LF(除 Windows 脚本)+ 批量规范化 4155 个文件 扩展 .gitattributes 覆盖 Python/JS/TS/JSON/Markdown/YAML/TOML/HTML/CSS 等文本 文件,统一为 LF;Windows 原生脚本(.ps1/.bat/.cmd)保持 CRLF;二进制资源 (图片/字体/音视频/压缩包)显式标记为 binary。 应用新规则后批量规范化 4155 个文件 — 全部为纯行尾变更(CRLF→LF),无任何 内容改动。差异统计:2586 .py、1159 .patch、160 .md、59 .json、52 .jsx、 25 .html、20 .tsx、16 .css、15 .js、13 .ts、8 .yml、7 .txt、7 .j2、 3 .raw、2 .yaml、2 .list、2 .example、1 .toml、1 .theme、1 .template, 外加 install.ps1(blob 从 CRLF 改为 LF,working tree 保持 CRLF 不变)。 后续建议开发者本地设置 core.autocrlf=input,让提交时自动规范化。 Co-Authored-By: MiniMax-M3 <MiniMax-AI@claude-code-best.win> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |