Skip to content

feat: sync Teach Mode host with latest v1.2.5 - #766

Open
Jovianix wants to merge 71 commits into
MemTensor:v1.2.5from
Jovianix:pxlin/dev
Open

Jovianix wants to merge 71 commits into
MemTensor:v1.2.5from
Jovianix:pxlin/dev

Conversation

@Jovianix

Copy link
Copy Markdown

任务与行为

同步 Teach Mode Host 分支到最新 v1.2.5,保留 Teach Mode 浏览器教学、录制证据、插件能力和原生服务扩展。更新等待 Agent 任务、活动调用和录制资源释放后再安装,并在运行时缺少 task-activity 接口时给出明确的 deferred 提示。

修改范围

  • 合并官方 v1.2.5(30540df9)到 pxlin/dev。
  • 保留并整合浏览器事件捕获、Teach Mode 录制面板、插件能力宿主和 task activity。
  • 更新插件自动更新测试以符合 v1.2.5 的显式 rules.autoUpdate 手动默认。
  • 录音归档测试验证实际转写文件名。

验证证据

  • Host 合并提交:ce1d80d6;最终分支提交:76fc19ff。
  • npm run lint 通过。
  • npm run typecheck 通过;Agent typecheck 通过。
  • Memory、Backend、Frontend、Desktop 回归通过;TUI 光标测试 5/5 通过。
  • 插件更新和 Host 服务目标测试 45/45 通过。
  • Teach Mode 插件 typecheck、测试(57 项)和构建通过。
  • Host conformance 8/8 通过(Win/macOS 浏览器教学、录制/生成、更新占用、失败下载清理)。

已知限制

  • Office E2E 在当前 Linux 沙箱中仍有官方既有差异:测试期望隐藏 /etc/passwd 返回 EPERM,当前环境返回 ENOENT。Office 源码及该上游断言未修改。
  • macOS 实机安装验收需在 macOS 环境完成。

Jovianix and others added 30 commits October 2, 2026 17:59
Add the C++20 collector, isolated UIA worker, explicit policies, native protocol, input metadata, controlled fixtures and reproducible MSVC build entry. Release and Debug builds pass unit, Win32 boundary and CLI contract checks; foreground acceptance and package delivery remain separate.
…eline

Connect explicit application consent and the native adapter to the shared recording, summary and retrieval service and Windows UI. Preserve Mac import paths and recording formats, fix platform-aware summary metadata and model-sync coverage, and add a reproducible validation entry with a Mac handoff. Validation: 508 tests passed with 8 explicit skips; types, scoped lint, Agent compile and frontend build passed. Mac desktop regression remains required.
Close active SSE responses before Fastify waits for connections and reject event streams whose authentication finishes during shutdown.

Add real HTTP shutdown regression tests and document macOS automated, native, packaged, and installed-App validation results and remaining acceptance cases.
Integrate MemTensor v1.2.3 at dce29c5, including main at f6694d9,
with the Windows History and task-recording work at 92816b3.

Port upstream History summaries, recorder health, Memory synchronization,
source settings and WeChat support into the shared core. Retain the Windows
native driver, Word/VS Code evidence provenance and task recording/export.
Apply shared application exclusions and WeChat consent to native Windows
records, and preserve document context qualifiers through raw retention.

Use upstream Computer Use and permission restart behavior while retaining
recording cleanup, quit ownership and both Windows native validation jobs.

Validation: workspace and standalone agent builds; agent, frontend and
shell typechecks; version consistency; 2712 related regression tests passed
and 201 platform-dependent tests skipped. Windows/macOS native capture and
signed installer acceptance still require the respective operating systems.
codex and others added 20 commits October 25, 2026 10:42
Add a bounded notepad.document adapter with independent native and TypeScript validation. Cache direct-child metadata and reuse per-frame adapter decisions without weakening identity checks or increasing capture budgets. Bound relation classification, query extraction, HTTP retries and JSON repair with shared deadlines.

Existing acceptance evidence: 281 related automated tests and both TypeScript builds passed; 13 unique native cases have passing evidence, including one targeted rerun after a foreground skip. Final real Windows recording retained three Notepad body observations. No full release or clean Windows installer acceptance is claimed.
Include the seven-page PDF and source/runtime verification record from the 2026-10-24 real Windows acceptance. Preserve original failures, scoped follow-up results, and pending packaged-release coverage. Related changes in the independent teach-mode repository are outside this Host delivery.
…lopment

# Conflicts:
#	App/memmy-agent/tests/fixtures/teaching-browser-detach-win.ps1
#	App/memmy-agent/tests/fixtures/teaching-browser-integrity-live.mjs
#	App/memmy-agent/tests/fixtures/teaching-browser-live.ts
#	App/shell/desktop/extensions/memmy-browser/teaching-recorder.js
#	App/shell/desktop/tests/teaching-browser-recorder.test.ts
#	docs/teach-mode-browser-capture.md
@MiracleLin001

Copy link
Copy Markdown

MAC 实机测试已经通过

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants