RepNet canonical action adapter for ElizaOS.
This package is a thin adapter over the canonical RepNet action registry in @repnet/sdk. It does not call RepNet SDK modules directly, publish DKG receipts itself, or carry separate action/service/provider business logic.
import { RepNet } from "@repnet/sdk";
import { createRepNetPlugin } from "@repnet/plugin-eliza";
const repnet = new RepNet({
chainId: 84532,
signer,
});
export default {
plugins: [
createRepNetPlugin({ client: repnet }),
],
};If the RepNet SDK client must be created from the active Eliza runtime, pass a synchronous factory:
const plugin = createRepNetPlugin({
createClient: (runtime) => makeRepNetClient(runtime),
});The adapter delegates execution to createRepNetActions(). By default it reads structured action input from:
handlerOptions.input,message.content.input,- or the whole
message.contentobject.
For production agents with natural-language extraction, pass a custom getInput function:
const plugin = createRepNetPlugin({
client: repnet,
getInput: async (actionName, runtime, message) => {
return extractRepNetInput(actionName, message.content.text);
},
});The action surface is inherited from createRepNetActions() in @repnet/sdk:
repnet_statusrepnet_registerrepnet_publish_agent_profilerepnet_lookuprepnet_query_reputationrepnet_query_reputation_jobrepnet_submit_job_feedbackrepnet_statsrepnet_job_board_createrepnet_job_board_applyrepnet_job_board_selectrepnet_job_board_getrepnet_job_board_listrepnet_create_upfront_jobrepnet_create_review_hold_jobrepnet_accept_jobrepnet_decline_before_acceptrepnet_refund_before_acceptrepnet_submit_private_deliveryrepnet_request_more_workrepnet_accept_more_workrepnet_refuse_more_workrepnet_releaserepnet_cancelrepnet_job_status
The test suite enforces that this adapter:
- exposes exactly the canonical action names,
- delegates execution to
createRepNetActions(), - does not reintroduce direct SDK/DKG/service logic, and
- keeps adapter-specific action/provider/service logic out of this package.