Skip to content

codeboltai/codeboltjs

Repository files navigation

Codebolt Agent Library

This library provides a set of tools and utilities for creating Codebolt agents, enabling seamless integration with the Codebolt platform.

Features

  • Create and manage Codebolt agents
  • Interact with the Codebolt platform
  • Utilize Codebolt's powerful API

Installation

npm install @codebolt/codeboltjs

Usage

const codebolt = require('@codebolt/codeboltjs');

// Your code here

Development

Building the Project

# Install dependencies
npm install

# Build TypeScript to dist/ (recommended for development)
npm run build

# Build webpack bundle to build/bundle.js (single file for distribution)
npm run build:webpack

# Build both TypeScript and webpack versions
npm run build:all

# Clean all build artifacts
npm run clean

# Build documentation
npm run build:docs

Build Outputs

The project supports two build methods:

  1. TypeScript Build (npm run build)

    • Outputs to dist/ directory
    • Preserves module structure
    • Includes separate .js and .d.ts files
    • Recommended for npm publishing and development
  2. Webpack Build (npm run build:webpack)

    • Outputs to build/bundle.js
    • Single bundled file
    • Optimized for production deployment
    • Works in Node.js environments

Project Structure

  • src/ - TypeScript source code
  • dist/ - Compiled JavaScript and type definitions (generated by TypeScript)
  • build/ - Webpack bundle (generated by webpack)
  • docs/ - Generated documentation

Documentation

For More Documentation visit Codebolt's Documentation

About

Js Library for Codebolt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •