@louloulinx/metagpt 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README-CN.md CHANGED
@@ -14,23 +14,23 @@
14
14
  ### 快速开始
15
15
  ```bash
16
16
  # 使用 bun 安装
17
- bun install @louloulin/metagpt
17
+ bun install @louloulinx/metagpt
18
18
 
19
19
  # 或使用 npm
20
- npm install @louloulin/metagpt
20
+ npm install @louloulinx/metagpt
21
21
  ```
22
22
 
23
23
  ### 基础配置
24
24
  ```typescript
25
25
  // 配置LLM提供商
26
- import { config } from " @louloulin/metagpt/config";
26
+ import { config } from " @louloulinx/metagpt";
27
27
 
28
28
  config.OPENAI_API_KEY = "sk-..."; // 你的API密钥
29
29
  ```
30
30
 
31
31
  ### 简单示例
32
32
  ```typescript
33
- import { Team, ProductManager, Architect, Engineer } from " @louloulin/metagpt/roles";
33
+ import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt";
34
34
 
35
35
  // 创建团队
36
36
  const team = new Team();
@@ -76,7 +76,6 @@ await team.runProject("实现一个简单的待办事项管理应用");
76
76
  - AI团队模拟与优化
77
77
  - 企业级应用智能化改造
78
78
 
79
- [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/geekan/MetaGPT)
80
79
 
81
80
 
82
81
  ### 核心功能特性
@@ -150,7 +149,7 @@ PROJECT_ROOT=./workspace
150
149
 
151
150
  ```typescript
152
151
  // 配置LLM提供商(以OpenAI为例)
153
- import { config } from "metagpt/config";
152
+ import { config } from "@louloulinx/metagpt";
154
153
 
155
154
  config.OPENAI_API_KEY = "sk-..."; // 你的API密钥
156
155
  config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // 模型版本
@@ -158,8 +157,8 @@ config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // 模型版本
158
157
 
159
158
  ### 基础使用示例(待实现)
160
159
  ```typescript
161
- import { Team, ProductManager, Architect, Engineer } from "@louloulin/metagpt/roles";
162
- import { Message } from "@louloulin/metagpt/types";
160
+ import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt";
161
+ import { Message } from "@louloulinx/metagpt";
163
162
 
164
163
  async function startup(idea: string) {
165
164
  // 初始化团队
@@ -223,7 +222,7 @@ PROJECT_ROOT=./workspace
223
222
 
224
223
  ```typescript
225
224
  // 配置LLM提供商(以OpenAI为例)
226
- import { config } from "metagpt/config";
225
+ import { config } from "@louloulinx/metagpt";
227
226
 
228
227
  config.OPENAI_API_KEY = "sk-..."; // 你的API密钥
229
228
  config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // 模型版本
@@ -231,8 +230,9 @@ config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // 模型版本
231
230
 
232
231
  ### 基础使用示例(待实现)
233
232
  ```typescript
234
- import { Team, ProductManager, Architect, Engineer } from "@louloulin/metagpt/roles";
235
- import { Message } from "@louloulin/metagpt/types";
233
+ import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt";
234
+ import { Message } from "@louloulinx/metagpt";
235
+
236
236
 
237
237
  async function startup(idea: string) {
238
238
  // 初始化团队
package/README.md CHANGED
@@ -31,7 +31,7 @@ npm install @louloulinx/metagpt
31
31
 
32
32
  ```typescript
33
33
  // Configure LLM provider
34
- import { config } from "@louloulinx/metagpt/config";
34
+ import { config } from "@louloulinx/metagpt";
35
35
 
36
36
  config.OPENAI_API_KEY = "sk-..."; // Your API key
37
37
  ```
@@ -39,7 +39,7 @@ config.OPENAI_API_KEY = "sk-..."; // Your API key
39
39
  ### Simple Example
40
40
 
41
41
  ```typescript
42
- import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt/roles";
42
+ import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt";
43
43
 
44
44
  // Create a team
45
45
  const team = new Team();
@@ -135,7 +135,7 @@ PROJECT_ROOT=./workspace
135
135
 
136
136
  ```typescript
137
137
  // Configure LLM provider (OpenAI example)
138
- import { config } from "@louloulinx/metagpt/config";
138
+ import { config } from "@louloulinx/metagpt";
139
139
 
140
140
  config.OPENAI_API_KEY = "sk-..."; // Your API key
141
141
  config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // Model version
@@ -145,7 +145,7 @@ config.OPENAI_API_MODEL = "gpt-4-1106-preview"; // Model version
145
145
 
146
146
  ```typescript
147
147
  import { Team, ProductManager, Architect, Engineer } from "@louloulinx/metagpt/roles";
148
- import { Message } from "@louloulinx/metagpt/types";
148
+ import { Message } from "@louloulinx/metagpt";
149
149
 
150
150
  async function startup(idea: string) {
151
151
  // Initialize team
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@louloulinx/metagpt",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A TypeScript implementation of MetaGPT",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",