Skip to content

Add QQ channel support#5

Merged
lxowalle merged 1 commit intosipeed:mainfrom
yinwm:add-qq-channel
Feb 11, 2026
Merged

Add QQ channel support#5
lxowalle merged 1 commit intosipeed:mainfrom
yinwm:add-qq-channel

Conversation

@yinwm
Copy link
Collaborator

@yinwm yinwm commented Feb 10, 2026

Summary

  • Add QQ (Tencent QQ) channel support using botgo SDK
  • Fix SessionKey generation logic in base channel (now uses channel:chatID format)
  • Update README with QQ channel setup documentation

Test plan

  • Test QQ bot connection with AppID/AppSecret
  • Test C2C (private) message handling
  • Test group @message handling
  • Verify allow_from filter works correctly

anatolykoptev added a commit to anatolykoptev/picoclaw that referenced this pull request Feb 11, 2026
…ed#14 + SessionKey fix

Cherry-picked from sipeed#14 (yinwm):
- Memory system: persistent MEMORY.md + daily notes in memory/YYYYMM/
- Enhanced skills loader with YAML frontmatter + GetSummaries()
- Structured logging throughout agent loop (InfoCF, DebugCF)
- Tool improvements: edit tool, better shell/web descriptions
- Dynamic tool summaries in system prompt
- Subagent tool support

Additional fix from sipeed#5:
- SessionKey now uses "channel:chatID" format (was empty string)
  preventing all users from sharing the same session

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lxowalle
Copy link
Collaborator

Thanks for the PR!

@lxowalle lxowalle merged commit 7231d48 into sipeed:main Feb 11, 2026
@yinwm yinwm deleted the add-qq-channel branch February 11, 2026 16:17
@Zepan
Copy link
Contributor

Zepan commented Feb 13, 2026

Thanks for your contribution! We are forming the PicoClaw Dev Group to accelerate the evolution of the project. Any developer with more than one merged PR is invited to join.

Would you like to join the PicoClaw Dev Group? If so, please reply with your email address or send an email to support@sipeed.com with the subject line: [Join PicoClaw Dev Group] + Your GitHub account. We will send the Discord invite link to your inbox.

emadomedher pushed a commit to emadomedher/picoclaw that referenced this pull request Feb 17, 2026
yinwm added a commit to yinwm/picoclaw that referenced this pull request Feb 19, 2026
- Preserve user's configured model during config migration (issue sipeed#5)
- Simplify ExtractProtocol using strings.Cut
- Extract NormalizeToolCall to shared utility, removing ~70 lines of duplicate code
- Clean up unused fields in providerMigrationConfig struct

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
KoheiYamashita referenced this pull request in KarakuriAgent/clawdroid Feb 19, 2026
Fix five issues in VoiceModeManager: replace CoroutineScope extension
with coroutineScope{} (#5), move initialIds snapshot into collectorJob
to eliminate race window (#3), add select+onTimeout(30s) to prevent
permanent blocking on server death (#1/#2), propagate null statusText
(#4), and fix break-in-lambda compile error.

Add 10s heartbeat goroutine in runAgentLoop to keep voice mode alive
during long tool executions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
lppp04808 pushed a commit to lppp04808/picoclaw_team that referenced this pull request Feb 28, 2026
- context.go: add Rule sipeed#5 'Team delegation' to system prompt — agents now
  instructed to proactively use 'team' for multi-step/multi-concern tasks
  instead of handling them inline
- team.go: add 'WHEN TO USE THIS TOOL' activation triggers to tool description;
  strengthen decomposition rules with domain-agnostic project-manager framing
- loop.go: call subagentManager.SetTools(agent.Tools) after full registry is
  built so sub-agents inherit 'team' tool for recursive hierarchical decomposition
- toolloop.go: replace hard token budget failure with soft graceful degradation
  (50% advisory warning, 0% wrap-up signal + final summary call);
  add truncation recovery for max_tokens cutoff (finish_reason=truncated)
- openai_compat/provider.go: detect truncated JSON tool calls and set
  FinishReason='truncated' instead of silently storing malformed raw args
Nyukimin pushed a commit to Nyukimin/picoclaw_multiLLM that referenced this pull request Mar 2, 2026
伝説のアーキテクトレビューで発見された10個の致命的不備のうち、Phase 1(即時修正必須)を完了。

## 修正内容

### Issue sipeed#1: 承認フロー残骸削除 (🔴 CRITICAL)
- L328: Chat役割「承認管理」→「ユーザー対話」に変更
- L346-349: 承認フロー管理の責務削除、実行結果統合を追加
- L382: 「承認後に担当」→「即座に担当」に修正
- L384: 目的「承認フロー確実な動作」→「Worker即時実行確実な動作」
- L660: JobID コメント「承認ジョブ」→「Worker実行ジョブ」
- L835: CHAT ルート「承認管理」→「対話管理」
- L881: ルール辞書「承認して|approve」→「状態|status|確認」
- L1274-1278: Section 11.3「承認必須操作」完全削除
- L1285-1297: approval イベント削除、worker イベントに置換
- L1457: テスト「承認フロー」→「Worker即時実行」
- L2250: usecase.NewManageApproval 削除
- L2289: 付録差分「承認フロー仕様」→「(削除)」
- L2318: アグリゲート例「ApprovalFlow」→「Session」

### Issue sipeed#2: データベーススキーマ残骸削除 (🔴 CRITICAL)
- L288-293: db/migrations/ ディレクトリ削除
  - 001_create_events_table.sql
  - 002_create_jobs_table.sql
  - 003_create_auto_approve_policies_table.sql
- L2155-2194: Section 18.3「Job Repository」完全削除
  - SQLiteJobRepository実装
  - approval.ApprovalFlow 参照

### Issue sipeed#3, sipeed#4: EventStore、approval package参照削除 (🔴 CRITICAL)
- L1460: 実装プラン「Event Store, Worker実行」→「Worker即時実行、E2Eシナリオ」
- L2224-2226: Wire DI import削除
  - internal/domain/approval
  - internal/infrastructure/eventstore
  - internal/infrastructure/persistence/job
- L2233-2235: Wire DI provider削除
  - provideSQLiteDB
  - eventstore.NewSQLiteEventStore
  - job.NewSQLiteJobRepository
  - approval.NewAutoApprovePolicy
  - service.NewApprovalService
- L2220+: Wire DI import追加
  - internal/infrastructure/persistence/session
  - pkg/tools
  - provideToolRegistry
  - session.NewJSONSessionRepository

### Issue sipeed#5: セクション番号修正 (🟡 MEDIUM)
- 11章: ### 12.1, 12.2 → 11.1, 11.2
- 13章: ### 14.1, 13.2, 14.3 → 13.1, 13.2, 13.3
- 14章: ### 15.1 → 14.1
- 15章: ### 16.1, 16.2 → 15.1, 15.2
- 16章: ### 17.1 → 16.1
- 17章: ### 18.1 → 17.1
- 18章: ### 19.1 → 18.1

## 影響

### 修正前(システム破綻リスク)
- ❌ 承認フロー残骸13箇所
- ❌ 存在しないパッケージへの依存(ビルド失敗)
- ❌ 削除されたDB migrations参照
- ❌ Wire DI設定矛盾(起動不能)

### 修正後(実装可能)
- ✅ 承認フロー完全削除
- ✅ Worker即時実行への統一
- ✅ ビルド可能な依存関係
- ✅ 正しいWire DI設定

## 残存Issue(Phase 2で対応)

- Issue sipeed#6: workspace設定の統一(実装前に必須)
- Issue sipeed#7: parseMarkdownPatch正規表現修正(実装前に必須)
- Issue sipeed#8: コードブロック順序保証(実装前に必須)
- Issue sipeed#9: 保護ファイルチェック強化(実装前に必須)
- Issue sipeed#10: Git ロック機構追加(実装中に対応)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Nyukimin pushed a commit to Nyukimin/picoclaw_multiLLM that referenced this pull request Mar 3, 2026
- MEDIUM sipeed#3: Type-Based Phased Execution Model(§1.2.2.1)新設
  file_edit並列→shell_command順次→git_operation順次の3フェーズ分割
- MEDIUM sipeed#16: Worker並列実行の完全実装仕様(§2.4.2)追加
  executeParallel()、セマフォ制御、テスト計画6件
- MEDIUM sipeed#5: Config構造体をv3実装に合わせて全面修正(§4.4)
  DistributedConfig追加、後方互換性保証、Validate()ロジック
- MEDIUM sipeed#10: Standalone Agent完全設計(§4.2)
  AgentHandler、Worker/Coder初期化、json.Decoder、シグナルハンドリング

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hyperwd pushed a commit to hyperwd/picoclaw that referenced this pull request Mar 5, 2026
- Preserve user's configured model during config migration (issue sipeed#5)
- Simplify ExtractProtocol using strings.Cut
- Extract NormalizeToolCall to shared utility, removing ~70 lines of duplicate code
- Clean up unused fields in providerMigrationConfig struct

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants