Refactor socket orchestration to HTTP-first while keeping socket service#42
Closed
senamakel wants to merge 7 commits into
Closed
Refactor socket orchestration to HTTP-first while keeping socket service#42senamakel wants to merge 7 commits into
senamakel wants to merge 7 commits into
Conversation
…ation - Replaced OpenClaw context injection with direct AI configuration retrieval methods. - Introduced new functions for fetching and refreshing AI configuration, enhancing modularity. - Cleaned up the AIPanel component to utilize the new configuration structure. - Removed obsolete OpenClaw-related files and logic to streamline the codebase. - Added new TODO items for future enhancements in the documentation.
- Introduced a new pull request template in `.github/pull_request_template.md` to standardize PR submissions. - Updated CLAUDE.md to require the use of the new PR template for all pull requests. - Added a rule in AGENTS.md specifying that agents must adhere to the PR template when suggesting content.
- Updated the subproject commit reference in the skills directory. - Refined the pre-push script to improve formatting and linting checks, ensuring automatic fixes are applied when issues are detected.
- Adjusted label formatting in the AIPanel component for better readability by breaking long lines into multiple lines. - Ensured consistent styling for labels related to personality, safety rules, tools, and skills overview.
… caching - Updated AI configuration loading to utilize in-memory caching exclusively, removing localStorage dependencies for improved performance and simplicity. - Adjusted related functions to reflect the new caching strategy, ensuring consistent handling of AI configurations across the application. - Modified tool and soul loading processes to align with the new in-memory caching approach, enhancing overall efficiency.
AusAgentSmith
pushed a commit
to AusAgentSmith/openhuman
that referenced
this pull request
May 23, 2026
chore: merge develop into main (v0.28.0)
YOMXXX
added a commit
to YOMXXX/openhuman
that referenced
this pull request
Jun 1, 2026
upstream/main 的 tinyhumansai#3047/tinyhumansai#3113 让 GithubReader 优先用本地 git clone 跑 list_commits/read_commit,并且简化了 issue 渲染器(不再把 comments 拼到 body)。本测试用 fake gh 只 mock 了 API 路径,所以: - 在 PATH 上加 fake git 让 ensure_bare_clone/log/show 全部失败,让 reader 回退到 gh API 那条路径,断言 commit:abc123 / issue:42 / pr:43 才能继续。 - read_issue body 改为断言 "# Issue tinyhumansai#42" + "## Description",去掉 "## Comments" 期望,与新的 renderer 输出一致。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SocketProviderand socket hooks.socketServicein place for optional reverse-proxy transport, but remove built-in MCP/tool orchestration event handlers.tool:sync, metadata sync emits) andchat:initsocket emits.CLAUDE.mdto reflect HTTP-first orchestration.Problem
mcp:listTools,mcp:toolCall,tool:sync, Intelligence socket hooks), which conflicts with the desired HTTP chat-only orchestration behavior.Solution
src/services/socketService.tsas an optional transport service, but stripped orchestration-specific handlers.Testing
yarn -s compilecargo check --manifest-path src-tauri/Cargo.tomlyarn -s tsc --noEmityarn -s eslint src/App.tsx src/services/socketService.ts src/lib/skills/sync.ts src/lib/intelligence/chatTools.ts src/providers/IntelligenceProvider.tsx src/pages/Intelligence.tsx src/components/ConnectionIndicator.tsx src/lib/gmail/services/metadataSync.ts src/lib/notion/services/metadataSync.tsprettier --check .,eslint . --ext .ts,.tsx,tsc --noEmitSocketProvider,useSocket, oruseIntelligenceSocket.mcp:listTools,mcp:toolCall, ortool:syncevent wiring.Impact
Breaking Changes
Related