Commits/
统一 DataAgent 对外接口、配置格式和插件规范
Co-authored-by: ian cao<xuhongcao216@gmail.com>
This commit changes more than 100 files, so only the first 100 files' diffs are displayed.
214 file(s) changed+1725-1499
Mapps/tui/README.md+2-2
@@ -12,7 +12,7 @@ npm install
12npm run start:tui12npm run start:tui
13```13```
14 14 
15-`npm run start:tui` connects to `/dataagent/stream` at the address in Home `config.json` `server.host` and `server.port`, default `http://127.0.0.1:8790`. Nothing listening there starts `dataagent serve`; a control plane that is already up is reused.15+`npm run start:tui` connects to `/api/v1/runs` at the address in Home `config.json` `server.host` and `server.port`, default `http://127.0.0.1:8790`. Nothing listening there starts `dataagent serve`; a control plane that is already up is reused.
16 16 
17## Home17## Home
18 18 
@@ -42,7 +42,7 @@ is four rows. Both home and chat support
42- Enter submits. Shift+Enter (CSI-u or xterm modifyOtherKeys), Alt+Enter and Ctrl+J insert a newline.42- Enter submits. Shift+Enter (CSI-u or xterm modifyOtherKeys), Alt+Enter and Ctrl+J insert a newline.
43- Multi-line bracketed paste stays one editable draft; large pastes keep the existing fold/expand behavior.43- Multi-line bracketed paste stays one editable draft; large pastes keep the existing fold/expand behavior.
44- Up/Down navigate the draft and command history. Messages entered during a run remain queued.44- Up/Down navigate the draft and command history. Messages entered during a run remain queued.
45-- `/` opens commands and Tab completes. The TUI exposes `/help`, `/clear`, `/stop`, `/resume`, `/resume list`, `/resume latest`, `/resume <id>`, `/outputs` and `/exit`. `/stop` cancels the active turn through `POST /runs/{runId}/cancel` and stays on the same thread. `/resume` and `/resume list` open the session picker and restore that thread.45+- `/` opens commands and Tab completes. The TUI exposes `/help`, `/clear`, `/stop`, `/resume`, `/resume list`, `/resume latest`, `/resume <id>`, `/outputs` and `/exit`. `/stop` cancels the active turn through `POST /api/v1/runs/{runId}/cancel` and stays on the same thread. `/resume` and `/resume list` open the session picker and restore that thread.
46- `/outputs` opens the full output list at any width. Enter previews a result; Esc returns to the list, then chat; q closes the view. Chat always uses a single column, with no output sidebar or extra footer indicators.46- `/outputs` opens the full output list at any width. Enter previews a result; Esc returns to the list, then chat; q closes the view. Chat always uses a single column, with no output sidebar or extra footer indicators.
47- Ctrl+C keeps the existing two-press exit flow; Ctrl+Z/fg restores the terminal and input cursor in the TUI.47- Ctrl+C keeps the existing two-press exit flow; Ctrl+Z/fg restores the terminal and input cursor in the TUI.
48 48 
Mapps/tui/src/backend.test.ts+2-2File content is under review, please try again later
Mapps/tui/src/backend.ts+3-11File content is under review, please try again later
Mapps/tui/src/connect.test.ts+59-40File content is under review, please try again later
Mapps/tui/src/connect.ts+2-2File content is under review, please try again later
Mapps/tui/src/protocol/agui-client.test.ts+4-4
Mapps/tui/src/protocol/session-client.ts+23-8
Mapps/tui/src/runtime-url.test.ts+9-9File content is under review, please try again later
Mapps/tui/src/ui/App.test.tsx+18-15
Rapps/web/src/app/dataagent/stream/route.test.ts→apps/web/src/app/api/v1/[...path]/route.test.ts+21-5File content is under review, please try again later
Mapps/web/src/app/data-tasks/__tests__/config-api-adapter.test.ts+16-8File content is under review, please try again later
Mapps/web/src/app/data-tasks/__tests__/native-live-run-restore.test.ts+2-2File content is under review, please try again later
Mapps/web/src/app/data-tasks/data-tasks-app.tsx+1-1File content is under review, please try again later
Dapps/web/src/app/dataagent/stream/route.ts+0-9
Dapps/web/src/app/runs/[runId]/cancel/route.ts+0-15
Dapps/web/src/app/sessions/[threadId]/outputs/preview/route.ts+0-15
Dapps/web/src/app/sessions/[threadId]/outputs/route.ts+0-15
Dapps/web/src/app/sessions/[threadId]/route.ts+0-15
Dapps/web/src/app/sessions/route.ts+0-10
Mapps/web/src/lib/__tests__/api-proxy.test.ts+2-2File content is under review, please try again later

Comments