
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.
@chili-publish/editor-sdk
Advanced tools
This is the Open Source CHILI publisher Editor SDK which will make your life easier when you’re working on and integrating the new CHILI publisher Editor.
The project is currently under active development, contributions are welcome in the form of creating issues or in the form of actual contributions on the code. See our CONTRIBUTING.md file to get started on your first contribution.
To integrate and start using the SDK, you need to be aware of our Alpha program, reach out to your contact @chili to receive more information. Once accepted, you will receive the needed credentials / way of authenticating to configure and setup the SDK on your integration.
Due to a rename of the project, to align more with the product suite that is being offered, the old NPM package (editor-sdk) will be deprecated and a fresh package will be created called @chili-publish/studio-sdk. To update your existing projects, just simply rename the package and do a fresh npm or yarn install.
Link to functional documentation and getting started
Link to the official SDK documentation on GitHub*
*Note: the hosted documentation is always based on the latest version. To get the documentation of the release that you use, you can download the sourcecode of that release and open /docs/index.html
.
This repository includes the editor-sdk, the SDK is used to plugin to the CHILI publisher API and will handle the communication between integrations (workspace, etc) and editor engine.
The goal for the SDK is to be as lightweight as possible. We don’t want to store state in here, that would be hard to maintain and keep in sync with the engine. In general the SDK is an abstraction layer for the editor engine, providing a fixed API for the integrators, and flexibility for the engine to evolve.
Conceptually you can think of the SDK - Editor Engine relation as a client - server relation. The SDK will issue requests to the engine and expects a certain result. The other way around the analogy with WebSockets could be used to define how data flows from the engine to the SDK (and eventually consumers of the SDK).
There are 2 ways of getting the SDK.
The most easy approach would be installing it using a package manager like npm
or yarn
just do:
npm install --save @chili-publish/editor-sdk
or
yarn add @chili-publish/editor-sdk
Then you can easily import the SDK in your JS and TS files, but also the typing is included with this approach.
// TS example
import EditorSDK from '@chili-publish/editor-sdk';
import type { Variable } from '@chili-publish/editor-sdk';
The other way would be to include the sdk using the script tag just before the closure. of the body.
<script src="https://path/to/sdk/latest/main.js"></script>
To really get started, there is a nice guide on the official documentation page. And you can find basic integration examples in one of our other repositories.
After installing all dependencies, you're able to build the typedoc documentation. You only need to run the following command
npx typedoc --hideBreadcrumbs
If you have any feedback on the technical parts of the application, a feature request, a bug to report or a general technical question, don’t hesitate to create a new issue.
This project is MIT licensed
FAQs
The sdk for the chili editor
The npm package @chili-publish/editor-sdk receives a total of 0 weekly downloads. As such, @chili-publish/editor-sdk popularity was classified as not popular.
We found that @chili-publish/editor-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.