Skip to content

Commit b7eae02

Browse files
committed
refactor: website v2
1 parent f485eb0 commit b7eae02

33 files changed

Lines changed: 3564 additions & 1745 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ temp
6262
.serena/
6363
CLAUDE.md
6464
AGENTS.md
65+
.playwright-mcp/

README.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,39 @@ This monadic approach allows AStack to maintain both the flexibility of function
449449

450450
## 📦 Packages
451451

452-
AStack is organized into several packages:
452+
AStack is organized into several packages, all published on npm:
453+
454+
| Package | Version | Description |
455+
|---------|---------|-------------|
456+
| [@astack-tech/core](https://www.npmjs.com/package/@astack-tech/core) | [![npm](https://img.shields.io/npm/v/@astack-tech/core.svg)](https://www.npmjs.com/package/@astack-tech/core) | Core functionality and pipeline execution engine |
457+
| [@astack-tech/components](https://www.npmjs.com/package/@astack-tech/components) | [![npm](https://img.shields.io/npm/v/@astack-tech/components.svg)](https://www.npmjs.com/package/@astack-tech/components) | Reusable AI components like Agents and Memories |
458+
| [@astack-tech/tools](https://www.npmjs.com/package/@astack-tech/tools) | [![npm](https://img.shields.io/npm/v/@astack-tech/tools.svg)](https://www.npmjs.com/package/@astack-tech/tools) | Tool definitions and implementations |
459+
| [@astack-tech/integrations](https://www.npmjs.com/package/@astack-tech/integrations) | [![npm](https://img.shields.io/npm/v/@astack-tech/integrations.svg)](https://www.npmjs.com/package/@astack-tech/integrations) | Integrations with external services and model providers |
460+
461+
### Installation
462+
463+
Install the packages you need:
464+
465+
```bash
466+
# Core package (required)
467+
npm install @astack-tech/core
468+
469+
# Components package (for Agents, Memory, etc.)
470+
npm install @astack-tech/components
471+
472+
# Tools package (for tool implementations)
473+
npm install @astack-tech/tools
474+
475+
# Integrations package (for model providers like OpenAI, Deepseek, etc.)
476+
npm install @astack-tech/integrations
477+
```
478+
479+
Or install all packages at once:
480+
481+
```bash
482+
npm install @astack-tech/core @astack-tech/components @astack-tech/tools @astack-tech/integrations
483+
```
453484

454-
- **@astack-tech/core**: Core functionality and pipeline execution engine
455-
- **@astack-tech/components**: Reusable AI components like Agents and Memories
456-
- **@astack-tech/tools**: Tool definitions and implementations
457-
- **@astack-tech/integrations**: Integrations with external services and model providers
458485

459486
## 📖 Documentation
460487

README.zh-CN.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,39 @@ sequenceDiagram
449449

450450
## 📦 包结构
451451

452-
AStack 组织为几个包:
452+
AStack 组织为几个包,均已发布到 npm:
453+
454+
| 包名 | 版本 | 描述 |
455+
|------|------|------|
456+
| [@astack-tech/core](https://www.npmjs.com/package/@astack-tech/core) | [![npm](https://img.shields.io/npm/v/@astack-tech/core.svg)](https://www.npmjs.com/package/@astack-tech/core) | 核心功能和管道执行引擎 |
457+
| [@astack-tech/components](https://www.npmjs.com/package/@astack-tech/components) | [![npm](https://img.shields.io/npm/v/@astack-tech/components.svg)](https://www.npmjs.com/package/@astack-tech/components) | 可重用的 AI 组件,如代理和内存 |
458+
| [@astack-tech/tools](https://www.npmjs.com/package/@astack-tech/tools) | [![npm](https://img.shields.io/npm/v/@astack-tech/tools.svg)](https://www.npmjs.com/package/@astack-tech/tools) | 工具定义和实现 |
459+
| [@astack-tech/integrations](https://www.npmjs.com/package/@astack-tech/integrations) | [![npm](https://img.shields.io/npm/v/@astack-tech/integrations.svg)](https://www.npmjs.com/package/@astack-tech/integrations) | 与外部服务和模型提供者的集成 |
460+
461+
### 安装
462+
463+
安装你需要的包:
464+
465+
```bash
466+
# 核心包(必需)
467+
npm install @astack-tech/core
468+
469+
# 组件包(用于 Agent、Memory 等)
470+
npm install @astack-tech/components
471+
472+
# 工具包(用于工具实现)
473+
npm install @astack-tech/tools
474+
475+
# 集成包(用于 OpenAI、Deepseek 等模型提供者)
476+
npm install @astack-tech/integrations
477+
```
478+
479+
或一次性安装所有包:
480+
481+
```bash
482+
npm install @astack-tech/core @astack-tech/components @astack-tech/tools @astack-tech/integrations
483+
```
453484

454-
- **@astack-tech/core**: 核心功能和管道执行引擎
455-
- **@astack-tech/components**: 可重用的 AI 组件,如代理和内存
456-
- **@astack-tech/tools**: 工具定义和实现
457-
- **@astack-tech/integrations**: 与外部服务和模型提供者的集成
458485

459486
## 📖 文档
460487

assets/logo.png

18.6 KB
Loading

assets/logo.svg

Lines changed: 25 additions & 26 deletions
Loading

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"eslint-config-prettier": "^10.1.5",
4646
"eslint-plugin-prettier": "^5.4.0",
4747
"prettier": "^3.1.1",
48+
"sharp": "^0.34.5",
4849
"turbo": "^2.5.3",
4950
"typescript": "^5.8.3"
5051
}

0 commit comments

Comments
 (0)