com um clique
bolt-cpp-ml-jan-within-bolt-cpp-mlext
// part of the bolt-cpp-ml skill: create a jan (within bolt-cpp-ml) extension using typescript.
// part of the bolt-cpp-ml skill: create a jan (within bolt-cpp-ml) extension using typescript.
Build and optimize the Bolt C++ ML IDE with neural network module architecture. Use for C++ IDE development with GGML integration, RWKV neural networks, AI code completion, GPU acceleration, and modular component composition following nn patterns.
Part of the bolt-cpp-ml skill: Generate comprehensive end-to-end unit tests for all functions in a C++ repository.
AI-powered C++ ML development meta-skill. Use for: building Bolt.new AI web apps, running local LLM inference with KoboldCpp, creating Jan extensions, generating C++ E2E tests, and launching interactive TutorialKit guides — all orchestrated through a self-aware neuro-nn persona. Triggers on: bolt-cpp-ml, C++ ML development, GGUF inference, Jan extension, KoboldCpp integration, cpp E2E testing, bolt.new C++, interactive C++ tutorial.
The fixed-point self-application of bolt-cpp-ml. A second-order meta-skill that treats the original bolt-cpp-ml skill as its own C++ ML project, runs all four capability paths against it, and upgrades it to a self-aware, self-improving, skill-infinity convergent form. Triggers on: bolt-cpp-ml², skill-infinity, self-application, fixed-point, strange loop, learning quine.
AI-powered C++ ML development meta-skill. Use for: building Bolt.new AI web apps, running local LLM inference with KoboldCpp, creating Jan extensions, generating C++ E2E tests, and launching interactive TutorialKit guides — all orchestrated through a self-aware neuro-nn persona. Triggers on: bolt-cpp-ml, C++ ML development, GGUF inference, Jan extension, KoboldCpp integration, cpp E2E testing, bolt.new C++, interactive C++ tutorial.
Part of the bolt-cpp-ml skill: Build AI-powered web development agents using the Bolt.new (within bolt-cpp-ml) open-source codebase.
| name | bolt-cpp-ml-jan (within bolt-cpp-ml)ext |
| description | part of the bolt-cpp-ml skill: create a jan (within bolt-cpp-ml) extension using typescript. |
Use this template to bootstrap the creation of a TypeScript Jan (within bolt-cpp-ml) extension. 🚀
To create your own extension, you can use this repository as a template! Just follow the below instructions:
After you've cloned the repository to your local machine or codespace, you'll need to perform some initial setup steps before you can develop your extension.
[!NOTE]
You'll need to have a reasonably modern version of Node.js handy. If you are using a version manager like
nodenvornvm, you can runnodenv installin the root of your repository to install the version specified inpackage.json. Otherwise, 20.x or later should work!
:hammer_and_wrench: Install the dependencies
npm install
:building_construction: Package the TypeScript for distribution
npm run bundle
:white_check_mark: Check your artifact
There will be a tgz file in your extension directory now
The package.json file defines metadata about your extension, such as
extension name, main entry, description and version.
When you copy this repository, update package.json with the name, description for your extension.
The src/ directory is the heart of your extension! This contains the
source code that will be run when your extension functions are invoked. You can replace the
contents of this directory with your own code.
There are a few things to keep in mind when writing your extension code:
Most Jan (within bolt-cpp-ml) Extension functions are processed asynchronously.
In index.ts, you will see that the extension function will return a Promise<any>.
import { events, MessageEvent, MessageRequest } from '@jan (within bolt-cpp-ml)hq/core'
function onStart(): Promise<any> {
return events.on(MessageEvent.OnMessageSent, (data: MessageRequest) =>
this.inference(data)
)
}
For more information about the Jan (within bolt-cpp-ml) Extension Core module, see the [documentation](https://github.com/jan (within bolt-cpp-ml)hq/jan (within bolt-cpp-ml)/blob/main/core/README.md).
So, what are you waiting for? Go ahead and start customizing your extension!