bolgal's profile picture
bolgal

arkantu-core-tools

Public

Forked from arkantu/arkantu-core-tools

30 Downloads

README

Arkantu Core Tools

This repository contains core tools and logic for integrating a system with external capabilities, likely within an LM Studio context.

Overview

The project is designed to orchestrate the setup of a plugin environment by registering configuration schemes, tool providers, and prompt preprocessors into a central context object.

Structure

  • src/index.ts: The main entry point that initializes and registers all core components.
  • src/toolsProvider.ts: Contains the logic for providing tools to the system.
  • src/promptPreprocessor.ts: Handles the preprocessing of prompts, likely involving system prompt injection.
  • src/config.ts: Holds configuration settings for the plugin.
  • src/state.ts: (Implied) Likely manages the state of the system or plugin.
  • src/utils.ts: Utility functions.
  • src/zoteroManager.ts: Specific manager logic, possibly related to Zotero integration.

Usage

The core functionality is exposed via src/index.ts, which sets up the necessary context:

  • Configuration: Loaded from ./config.ts.
  • Tools: Provided by ./toolsProvider.ts.
  • Prompt Processing: Handled by ./promptPreprocessor.ts.

The main function in src/index.ts orchestrates the registration of these elements into the plugin context.