[OMEGA-205] Communication channel extension API proposal#169
Closed
vsbogd wants to merge 4 commits into
Closed
Conversation
vsbogd
requested review from
blackhammer116,
jazzbox35,
patham9 and
surafelfikru
June 10, 2026 17:23
vsbogd
marked this pull request as draft
June 10, 2026 17:23
vsbogd
force-pushed
the
extension-api
branch
4 times, most recently
from
June 11, 2026 07:40
6ddee30 to
3379e91
Compare
Each integration can be added and loaded independently without modifying the main source code.
Websearch is not communication plugin thus it should be moved into other skills directory.
Passing name of the module as the name of the channel allow loading module from the Python path and using it as a communication channel.
vsbogd
marked this pull request as ready for review
June 26, 2026 18:24
Collaborator
|
Hey @vsbogd, won't extending or adding new channels still require modifications to the core by adding not only new .metta files but also their extention of comm channels? |
Collaborator
Author
No. If one need adding new communication channel integration written in Python it is enough to install the Python module (let's say |
3 tasks
Collaborator
Author
|
Replaced by #222 |
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.
Description
I rasied this to discuss possible extension API implementation.
What is implemented:
channels.mettamodule into theskills.mettaCommunication channel should provide
<name>.mettafile which contains implementations of the following functions:(commChannelInit)- initializes communication channel, it is called once before other functions are called(commChannelReceiveMessage)- returns the next received message from user, if there are few messages received it returns the oldest one(commChannelSendMessage $msg)- sends message to the userUser should use
commchannel=<name>parameter to load corresponding communication channel and pass all necessary arguments via additional command line parameters. The list of parameters is channel specific and specified by the channel itself.Additional
extensionfolder underOmegaClaw-Reporoot can be used to keep extensions which are not part of the OmegaClaw-Core code.Python module can be used to implement communication channel if it contains two functions:
Then the name of the module can be used as a name of the communication channel. The module is loaded and used as a communication point.
How Has This Been Tested?
Build docker image, run using IRC and Minimax, ask "What is the distance to the Sun?" question.
Checklist