Skip to content

Added simplex channel type - #3193

Open
dim wants to merge 3 commits into
sipeed:mainfrom
dim:channel/simplex
Open

Added simplex channel type#3193
dim wants to merge 3 commits into
sipeed:mainfrom
dim:channel/simplex

Conversation

@dim

@dim dim commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

📝 Description

🗣️ Type of Change

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 📖 Documentation update
  • ⚡ Code refactoring (no functional changes, no api changes)

🤖 AI Code Generation

  • 🤖 Fully AI-generated (100% AI, 0% Human)
  • 🛠️ Mostly AI-generated (AI draft, Human verified/modified)
  • 👨‍💻 Mostly Human-written (Human lead, AI assisted or none)

🔗 Related Issue

📚 Technical Context (Skip for Docs)

  • Reference URL:
  • Reasoning:

🧪 Test Environment

  • Hardware: Raspberry Pi 5
  • OS: Debian Trixie
  • Model/Provider: Gemini Flash Latest
  • Channels: SimpleX

📸 Evidence (Optional)

Click to view Logs/Screenshots
11:45:39 INF simplex pkg/channels/simplex/simplex.go:529 > Incoming contact request name=my-user request_id=1
11:45:41 INF simplex pkg/channels/simplex/simplex.go:510 > Contact connected contact_id=4 name=my-user
11:45:54 INF simplex pkg/channels/simplex/simplex.go:590 > Received message contact_id=4 length=2 message_id=8
11:45:54 INF agent pkg/agent/agent_message.go:133 > Processing message from simplex:4: Hi channel=simplex chat_id=4 sender_id=4 session_key=
11:45:54 INF agent pkg/agent/agent_message.go:168 > Routed message agent_id=main matched_by=default route_agent=main route_channel=simplex route_main_session=XXX scope_key=XXX session_key=XXX
11:45:54 INF events pkg/agent/runtime_event_logger.go:186 > Runtime event: agent.turn.start agent_id=main agent_source=runTurn channel=simplex chat_id=4 chat_type=direct event_id=evt-5 event_kind=agent.turn.start event_time=2026-06-27T11:45:54.193084679+01:00 media_count=0 message_id=8 sender_id=4 session_key=XXX severity=info source_component=agent source_name=main trace_id=turn.start turn_id=main-turn-2 user_len=2
11:45:54 INF events pkg/agent/runtime_event_logger.go:186 > Runtime event: agent.llm.request agent_id=main agent_source=runTurn channel=simplex chat_id=4 chat_type=direct event_id=evt-6 event_kind=agent.llm.request event_time=2026-06-27T11:45:54.204731274+01:00 iteration=1 max_tokens=32768 message_id=8 messages=2 model=gemini-flash-latest sender_id=4 session_key=XXX severity=info source_component=agent source_name=main tools=17 trace_id=turn.llm.request turn_id=main-turn-2
11:45:55 INF agent pkg/agent/pipeline_llm.go:584 > LLM response without tool calls (direct answer) agent_id=main content_chars=51 iteration=1
11:45:55 INF events pkg/agent/runtime_event_logger.go:186 > Runtime event: agent.llm.response agent_id=main agent_source=runTurn channel=simplex chat_id=4 chat_type=direct content_len=51 event_id=evt-7 event_kind=agent.llm.response event_time=2026-06-27T11:45:55.750330962+01:00 has_reasoning=false iteration=1 message_id=8 sender_id=4 session_key=XXX severity=info source_component=agent source_name=main tool_calls=0 trace_id=turn.llm.response turn_id=main-turn-2
11:45:55 INF agent pkg/agent/agent.go:617 > Response: Hello! I'm PicoClaw 🦞. How can I help you today? agent_id=main final_length=51 iterations=1 session_key=XXX

☑️ Checklist

  • My code/docs follow the style of this project.
  • I have performed a self-review of my own changes.
  • I have updated the documentation accordingly.

@CLAassistant

CLAassistant commented Jun 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Damian-o2

Copy link
Copy Markdown

SimpleX still not working on armbian and no pip (uv) similar ubuntu

@BryanAlexanderChura

Copy link
Copy Markdown

Closing: linter issues unresolved.

@dim

dim commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

SimpleX still not working on armbian and no pip (uv) similar ubuntu

Sorry, I don't understand. I'm running this version successfully on Debian (ARM64). CC @Damian-o2

@dim

dim commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Closing: linter issues unresolved.

This has been resolved (CC @BryanAlexanderChura)

@Damian-o2

Copy link
Copy Markdown

SimpleX still not working on armbian and no pip (uv) similar ubuntu

Sorry, I don't understand. I'm running this version successfully on Debian (ARM64). CC @Damian-o2

How?
Can You explain how You setup SimpleX gateway?

@dim

dim commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Download:

curl -sSLf -o simplex-chat https://github.com/simplex-chat/simplex-chat/releases/latest/download/simplex-chat-ubuntu-24_04-aarch64
chmod +x ./simplex-chat
./simplex-chat --version
# SimpleX Chat v6.5.5.0

Run:

./simplex-chat -p 5225 --create-bot-display-name MyBot --create-bot-allow-files

I run it as a systemd service, but just for illustration. For the remainder, follow https://github.com/sipeed/picoclaw/pull/3193/changes#diff-03f970d8b09db486c9b762db5356efc21f1cee07b5c87b584b1d1aebecc9e287

@github-actions

Copy link
Copy Markdown

This PR has had no activity for 7 days and has been marked as stale. If you are still working on it, please push an update or leave a comment; otherwise it will be closed automatically in 7 days.

@github-actions github-actions Bot added the stale label Jul 10, 2026
@dim
dim force-pushed the channel/simplex branch from 3d76f15 to 8ee5efa Compare July 17, 2026 19:32
@dim

dim commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Rebased and pushed, pipeline is now fixed. Could someone pls take a look?

@github-actions

Copy link
Copy Markdown

This PR has had no activity for 7 days and has been marked as stale. If you are still working on it, please push an update or leave a comment; otherwise it will be closed automatically in 7 days.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants