
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
xolabot-sdk
Advanced tools
$ npm install xolabot-sdk xolabot-scripts
src/index.js
.package.json
.{
"scripts": {
"start": "xolabot-scripts start",
"build": "xolabot-scripts build"
}
}
$ npm start
This will spin up a development server and serve your module from: http://localhost:3000/main.js
.
You can use that address to register a plugin in App Store server.
In src/index.js
:
import Module from 'xolabot-sdk';
class MyModule extends Module {
constructor(...args) {
super('my_module_name', ...args);
// Register bus event listeners here...
}
}
// Required.
// This is how module will be registered with Xolabot.
MyModule.load();
Event bus is available as an instance property: this.bus
.
/**
* @param {Object} event
* @param {string} event.channel
* @param {string} event.type
* @param {Function} listener
* @returns {Function} Function for unsubscribing from the event.
*/
this.bus.on(event, listener);
/**
* @param {Object} event
* @param {string} event.channel
* @param {string} event.type
* @param {Function} listener
* @returns {Function} Function for unsubscribing from the event.
*/
this.bus.once(event, listener);
/**
* @param {Object} event
* @param {string} event.channel
* @param {string} event.type
* @param {Function} listener
* @returns {Function} Function for unsubscribing from the event.
*/
this.bus.off(event, listener);
Available as an instance property: this.api
.
See official documentation.
/**
* @param state {Object}
*/
this.saveState(state);
FAQs
XolaBot SDK
We found that xolabot-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.