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.
bun install- Ensure you have Bun installed
- Configure your working directory permissions in
.envor environment variables - Verify TypeScript setup via
tsconfig.json
# Run with current directory as working directory (default)
bun run index.ts
# Run with a specific working directory
bun run index.ts /path/to/directoryThe agent will only be able to access files within the specified working directory. Any attempts to access files outside this directory will be denied.
- Secure directory-based file access control
- TypeScript support with strict type checking
- Bun.js for fast execution
.
├── .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.