openxgen 2.3.0 → 2.4.0
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.md +72 -31
- package/dist/index.js +940 -98
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,53 +11,109 @@ npm install -g openxgen
|
|
|
11
11
|
## Quick Start
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
xgen
|
|
14
|
+
xgen # AI 코딩 에이전트 (기본)
|
|
15
|
+
xgen dash # TUI 대시보드
|
|
16
|
+
xgen chat # 워크플로우 대화
|
|
17
|
+
xgen wf ls # 워크플로우 목록
|
|
15
18
|
```
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
On first run, you'll be guided through provider setup (OpenAI, Gemini, Anthropic, Ollama, etc.).
|
|
18
21
|
|
|
19
|
-
##
|
|
22
|
+
## TUI Dashboard (`xgen dash`)
|
|
23
|
+
|
|
24
|
+
6-tab interactive dashboard with real-time XGEN platform management.
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
OPEN XGEN v2.4 admin@xgen.x2bee.com │ 1:워크플로우 2:컬렉션 3:노드 4:프롬프트 5:도구 6:MCP
|
|
28
|
+
──────────────────────────────────────┬─────────────────────────────────────
|
|
29
|
+
▸ 1. ● Workflow (6) │ Workflow (6)
|
|
30
|
+
2. ● Mumu │
|
|
31
|
+
3. ○ 플래티어 문서검색 │ ID workflow_019d...
|
|
32
|
+
│ 배포 ● Yes
|
|
33
|
+
│
|
|
34
|
+
│ Enter 노드구조 i 실행
|
|
35
|
+
──────────────────────────────────────┴─────────────────────────────────────
|
|
36
|
+
↑↓ 이동 │ Enter 상세/실행 │ 1-6 탭전환 │ r 새로고침 │ q 종료
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Dashboard Tabs & Keys
|
|
40
|
+
|
|
41
|
+
| Tab | Enter | c | t | u | e | d | v |
|
|
42
|
+
|-----|-------|---|---|---|---|---|---|
|
|
43
|
+
| **1:워크플로우** | 노드/엣지 구조 | - | - | - | - | - | - |
|
|
44
|
+
| **2:컬렉션** | 문서 목록 | - | - | - | - | - | - |
|
|
45
|
+
| **3:노드** | 파라미터/포트 상세 | - | - | - | - | - | - |
|
|
46
|
+
| **4:프롬프트** | 내용 보기 | 생성 | - | 스토어 | 수정 | 삭제 | 버전 |
|
|
47
|
+
| **5:도구** | API 테스트 | 생성 | 테스트 | 스토어 | - | - | - |
|
|
48
|
+
| **6:MCP** | 도구 목록 | 세션생성 | 도구호출 | - | - | 삭제 | - |
|
|
49
|
+
|
|
50
|
+
### Sandbox Features
|
|
51
|
+
|
|
52
|
+
- **Tool Creation**: Name → ID → API URL → Save → Test → Upload to Store
|
|
53
|
+
- **Prompt Management**: Create, edit, delete, version control, store upload
|
|
54
|
+
- **MCP Session**: Spin up Python/Node MCP servers → list tools → test tool calls
|
|
55
|
+
- **API Testing**: Direct HTTP call to any tool's endpoint, results in right panel
|
|
56
|
+
- **Workflow Inspection**: View node/edge graph structure of any workflow
|
|
57
|
+
|
|
58
|
+
## AI Agent
|
|
20
59
|
|
|
21
60
|
```
|
|
22
61
|
❯ show workflows → lists all XGEN workflows
|
|
23
62
|
❯ run #6 "hello" → executes workflow immediately
|
|
24
63
|
❯ collections → shows document collections
|
|
25
64
|
❯ list files in ./src → browses local filesystem
|
|
26
|
-
❯ read main.py → displays file contents
|
|
27
65
|
❯ write a fibonacci func → generates code + saves file
|
|
28
66
|
❯ run npm test → executes shell command
|
|
29
67
|
```
|
|
30
68
|
|
|
31
69
|
No menus, no wizards. Just tell it what you want.
|
|
32
70
|
|
|
33
|
-
|
|
71
|
+
### Providers (9)
|
|
34
72
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
73
|
+
| Provider | Models |
|
|
74
|
+
|----------|--------|
|
|
75
|
+
| OpenAI | gpt-4o, gpt-4.1, gpt-4o-mini, o3-mini |
|
|
76
|
+
| Google Gemini | gemini-2.5-pro, gemini-2.0-flash |
|
|
77
|
+
| Anthropic | claude-opus-4, claude-sonnet-4 |
|
|
78
|
+
| Ollama | llama3.1, codellama, qwen2.5-coder |
|
|
79
|
+
| Groq | llama-3.3-70b, mixtral-8x7b |
|
|
80
|
+
| Together AI | Meta-Llama-3.1-70B |
|
|
81
|
+
| OpenRouter | multi-model proxy |
|
|
82
|
+
| DeepSeek | deepseek-chat, deepseek-coder |
|
|
83
|
+
| Custom | any OpenAI-compatible endpoint |
|
|
40
84
|
|
|
41
85
|
### Built-in Tools (7)
|
|
86
|
+
|
|
42
87
|
`file_read` `file_write` `file_edit` `bash` `grep` `list_files` `sandbox_run`
|
|
43
88
|
|
|
44
89
|
### XGEN Platform Tools (10)
|
|
90
|
+
|
|
45
91
|
`xgen_workflow_list` `xgen_workflow_run` `xgen_workflow_info` `xgen_collection_list` `xgen_document_list` `xgen_document_upload` `xgen_graph_rag_query` `xgen_graph_stats` `xgen_execution_history` `xgen_server_status`
|
|
46
92
|
|
|
47
93
|
### MCP Integration
|
|
94
|
+
|
|
48
95
|
Reads `.mcp.json` and auto-connects to MCP servers (stdio transport).
|
|
49
96
|
|
|
50
|
-
|
|
51
|
-
Save and restore chat sessions. Auto-stored in `~/.xgen/conversations/`.
|
|
97
|
+
## Commands
|
|
52
98
|
|
|
53
|
-
|
|
54
|
-
|
|
99
|
+
| Command | Description |
|
|
100
|
+
|---------|-------------|
|
|
101
|
+
| `xgen` | AI 코딩 에이전트 (기본) |
|
|
102
|
+
| `xgen dash` | TUI 대시보드 |
|
|
103
|
+
| `xgen chat` | 워크플로우 대화 |
|
|
104
|
+
| `xgen wf ls` | 워크플로우 목록 |
|
|
105
|
+
| `xgen wf run <id> "질문"` | 워크플로우 실행 |
|
|
106
|
+
| `xgen doc ls` | 문서 목록 |
|
|
107
|
+
| `xgen ont query "질문"` | 온톨로지 질의 |
|
|
108
|
+
| `xgen provider add` | AI 프로바이더 추가 |
|
|
109
|
+
| `xgen config set-server <url>` | 서버 연결 |
|
|
110
|
+
| `xgen login` | 서버 로그인 |
|
|
55
111
|
|
|
56
112
|
## Slash Commands
|
|
57
113
|
|
|
58
114
|
| Command | Description |
|
|
59
115
|
|---------|-------------|
|
|
60
|
-
| `/connect` | Connect to XGEN server
|
|
116
|
+
| `/connect` | Connect to XGEN server |
|
|
61
117
|
| `/env` | Switch environment |
|
|
62
118
|
| `/provider` | Change AI provider |
|
|
63
119
|
| `/dashboard` | Open TUI dashboard |
|
|
@@ -65,25 +121,10 @@ Save and restore chat sessions. Auto-stored in `~/.xgen/conversations/`.
|
|
|
65
121
|
| `/status` | Show connection status |
|
|
66
122
|
| `/save [name]` | Save conversation |
|
|
67
123
|
| `/load` | Load previous conversation |
|
|
68
|
-
| `/conversations` | List saved conversations |
|
|
69
124
|
| `/usage` | Show token usage |
|
|
70
125
|
| `/clear` | Reset conversation |
|
|
71
126
|
| `/exit` | Quit |
|
|
72
127
|
|
|
73
|
-
## Providers
|
|
74
|
-
|
|
75
|
-
| Provider | Models |
|
|
76
|
-
|----------|--------|
|
|
77
|
-
| OpenAI | gpt-4o, gpt-4.1, gpt-4o-mini, o3-mini |
|
|
78
|
-
| Google Gemini | gemini-2.5-pro, gemini-2.0-flash |
|
|
79
|
-
| Anthropic | claude-opus-4, claude-sonnet-4 |
|
|
80
|
-
| Ollama | llama3.1, codellama, qwen2.5-coder |
|
|
81
|
-
| Groq | llama-3.3-70b, mixtral-8x7b |
|
|
82
|
-
| Together AI | Meta-Llama-3.1-70B |
|
|
83
|
-
| OpenRouter | multi-model proxy |
|
|
84
|
-
| DeepSeek | deepseek-chat, deepseek-coder |
|
|
85
|
-
| Custom | any OpenAI-compatible endpoint |
|
|
86
|
-
|
|
87
128
|
## Config
|
|
88
129
|
|
|
89
130
|
```
|
|
@@ -102,7 +143,7 @@ git clone https://github.com/jinsoo96/openxgen.git
|
|
|
102
143
|
cd openxgen
|
|
103
144
|
npm install
|
|
104
145
|
npm run build
|
|
105
|
-
npm
|
|
146
|
+
npm link # or: alias xgen="node $(pwd)/dist/index.js"
|
|
106
147
|
```
|
|
107
148
|
|
|
108
149
|
## Links
|