diff --git a/README.md b/README.md index 7294e54..973ec06 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# This is the Agent Index of Vidol Chat +# This is the Market Index of Vidol Chat -[Vidol Chat](https://github.com/v-idol/vidol.chat) accesses [`index.json`](https://github.com/v-idol/vidol-chat-agents/blob/main/index.json) from this repo to show user the list of available agents. +[Vidol Chat](https://github.com/v-idol/vidol.chat) accesses [`index.json`] from this repo to show user the list of available agents and songs and so on. **English** · [简体中文](./README.zh-CN.md) @@ -12,7 +12,7 @@ If you wish to add an agent onto the index, make an entry in `agents` directory 1. Fork of this repository. -2. Make a copy of `agent_template.json` +2. Make a copy of `templates/agent.json` 3. Fill in the copy and rename it appropriately @@ -20,8 +20,6 @@ If you wish to add an agent onto the index, make an entry in `agents` directory 5. Submit a pull request and wait for review. -- Agents pull requests targets [`agents branch`](https://github.com/v-idol/vidol-chat-agents/tree/agents), after merge it is automatically assembled and deployed to [`main branch`](https://github.com/v-idol/vidol-chat-agents/tree/main) using GitHub Actions. - - Don't edit the `index.json` directly and don't modify any other files unless you have a special reason. - The `created` date will be automatically populated after merge. diff --git a/package.json b/package.json new file mode 100644 index 0000000..53cb41a --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "@v-idol/vidol-chat-market", + "version": "0.0.0", + "private": true, + "description": "Vidol Chat Market Index", + "homepage": "https://github.com/v-idol/vidol-chat-market", + "repository": { + "type": "git", + "url": "https://github.com/v-idol/vidol-chat-market.git" + }, + "license": "MIT", + "author": "rdmclin2 ", + "type": "module", + "scripts": { + "build": "bun scripts/build.ts", + "test": "bun scripts/test.ts" + }, + "devDependencies": { + "consola": "^3", + "fs-extra": "^11", + "typescript": "^5" + } +} diff --git a/agents/Bronya.json b/src/agents/Bronya.json similarity index 100% rename from agents/Bronya.json rename to src/agents/Bronya.json diff --git a/agents/Klee.json b/src/agents/Klee.json similarity index 100% rename from agents/Klee.json rename to src/agents/Klee.json diff --git a/agents/Lilia.json b/src/agents/Lilia.json similarity index 100% rename from agents/Lilia.json rename to src/agents/Lilia.json diff --git a/agents/MimiMechanism.json b/src/agents/MimiMechanism.json similarity index 100% rename from agents/MimiMechanism.json rename to src/agents/MimiMechanism.json diff --git a/agent_template.json b/templates/agent.json similarity index 100% rename from agent_template.json rename to templates/agent.json diff --git a/templates/dance.json b/templates/dance.json new file mode 100644 index 0000000..e69de29