Restructure repo into plugin-name directory layout for Pi Agent installs #1

Merged
Copilot merged 1 commit from copilot/optimize-directory-structure into main 2026-08-31 11:14:45 +08:00
Copilot commented 2026-08-31 11:14:30 +08:00 (Migrated from github.com)

This update aligns the repository with a plugin-first structure: each plugin now lives under a top-level directory named after the plugin, and root docs reflect the pi-plugins naming/direction. The goal is to make Pi Agent installation and future multi-plugin expansion straightforward.

  • Repository structure

    • Moved the existing plugin package from repository root to pi-model-auto-router/.
    • Preserved all plugin assets together (source, tests, build output, examples, lockfile, package manifest, tsconfig) under that directory.
  • Root-level project documentation

    • Added a root README.md that defines the new convention: one top-level folder per plugin, named by plugin.
  • Install/discovery convention for future plugins

    • Established a stable pattern for adding new plugins without mixing package files at root.
.
├── README.md
└── pi-model-auto-router/
    ├── package.json
    ├── src/
    ├── test/
    ├── dist/
    ├── examples/
    ├── tsconfig.json
    └── bun.lock
This update aligns the repository with a plugin-first structure: each plugin now lives under a top-level directory named after the plugin, and root docs reflect the `pi-plugins` naming/direction. The goal is to make Pi Agent installation and future multi-plugin expansion straightforward. - **Repository structure** - Moved the existing plugin package from repository root to `pi-model-auto-router/`. - Preserved all plugin assets together (source, tests, build output, examples, lockfile, package manifest, tsconfig) under that directory. - **Root-level project documentation** - Added a root `README.md` that defines the new convention: one top-level folder per plugin, named by plugin. - **Install/discovery convention for future plugins** - Established a stable pattern for adding new plugins without mixing package files at root. ```text . ├── README.md └── pi-model-auto-router/ ├── package.json ├── src/ ├── test/ ├── dist/ ├── examples/ ├── tsconfig.json └── bun.lock ```
Sign in to join this conversation.
No description provided.