Skip to content
hlminh2000Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Codey

Project Overview

Codey is a application that serves as an agent capable of interacting with files within a specified working directory. It enforces strict access control, allowing file operations only within the designated directory to ensure security.

Getting Started

Installation

bun install

Setup

  1. Ensure you have Bun installed
  2. Configure your working directory permissions in .env or environment variables
  3. Verify TypeScript setup via tsconfig.json

Usage

Running the Agent

# Run with current directory as working directory (default)
bun run index.ts

# Run with a specific working directory
bun run index.ts /path/to/directory

The agent will only be able to access files within the specified working directory. Any attempts to access files outside this directory will be denied.

Key Features

  • Secure directory-based file access control
  • TypeScript support with strict type checking
  • Bun.js for fast execution

Project Structure

.
├── .env
├── .gitignore
├── .git
├── bun.lock
├── package.json
├── tsconfig.json
├── tools.ts
├── index.ts
└── README.md

This project was created using bun init in bun v1.2.4. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages