Archer
f7b64f25b1
V4.14.9 features ( #6602 )
...
* fix: image read and json error (Agent) (#6502 )
* fix:
1.image read
2.JSON parsing error
* dataset cite and pause
* perf: plancall second parse
* add test
---------
Co-authored-by: archer <545436317@qq.com >
* master message
* remove invalid code
* fix: sandbox download file
* update lock
* sub set
* i18n
* perf: system forbid sandbox
* fix: i18n; next config
* fix: authchat uid
* update i18n
* perf: check exists
* stop in tool
* stop in tool
* fix: chat
* update action
* doc
* deploy doc
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
2026-03-22 17:58:45 +08:00
Archer
05bb197990
V4.14.9 features ( #6599 )
...
* fix: image read and json error (Agent) (#6502 )
* fix:
1.image read
2.JSON parsing error
* dataset cite and pause
* perf: plancall second parse
* add test
---------
Co-authored-by: archer <545436317@qq.com >
* master message
* remove invalid code
* feat(sre): integrate traces, logs, metrics into one sdk (#6580 )
* fix: image read and json error (Agent) (#6502 )
* fix:
1.image read
2.JSON parsing error
* dataset cite and pause
* perf: plancall second parse
* add test
---------
Co-authored-by: archer <545436317@qq.com >
* master message
* wip: otel sdk
* feat(sre): integrate traces, logs, metrics into one sdk
* fix(sre): use SpanStatusCode constants
* fix(sre): clarify step memory measurement
* update package
* fix: ts
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: archer <545436317@qq.com >
* doc
* sandbox in agent (#6579 )
* doc
* update template
* fix: pr
* fix: sdk package
* update lock
* update next
* update dockerfile
* dockerfile
* dockerfile
* update sdk version
* update dockerefile
* version
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: Ryo <whoeverimf5@gmail.com >
2026-03-21 12:19:44 +08:00
Archer
6b61359516
feat(sandbox): 重构代码沙盒,支持内置函数和网络请求 ( #6479 )
...
* fix(sandbox): 重构代码沙盒,支持内置函数和网络请求 (#6462 )
* feat(sandbox): 重写代码沙盒 - Bun + Hono + 统一子进程模型
- 运行时: Node.js → Bun
- HTTP 框架: NestJS + Fastify → Hono
- JS 执行: isolated-vm → Bun 子进程(与 Python 统一)
- 架构: 统一子进程模型,JS 和 Python 共享同一套执行引擎
- SubprocessRunner 基类,JS/Python 各自继承
- ProcessPool 进程池预热(SANDBOX_JS_POOL_SIZE / SANDBOX_PYTHON_POOL_SIZE)
- SystemHelper 命名空间(JS 端保留向后兼容全局函数)
- 临时文件系统隔离 + 路径遍历防护 + 磁盘配额
- 请求级资源限制(timeoutMs / memoryMB / diskMB)
- JS: 原型链冻结 + Bun API 禁用 + Function 构造器注入 safe require(模块白名单)
- Python: 宿主侧正则预检 + __import__ 拦截 + resource 限制
- 移除: @nestjs/*(6个包)、fastify、isolated-vm、node-gyp、reflect-metadata、rxjs
- 新增: hono
- 保留: tiktoken
- 新增用户可用包: lodash、dayjs、axios、moment、uuid、crypto-js、qs
- 67 个测试全部通过(单元测试 + 安全测试 + 集成测试)
- vitest 独立配置,不影响全局
* fix(sandbox): 安全加固 - 扩展 Bun API 封锁、清理 process.env、闭包封装 Python import 拦截
- JS: 扩展 Bun 危险 API 封锁列表(serve/connect/listen/udpSocket/dns/plugin/build/Transpiler)
- JS: 清理 process.env,仅保留沙箱必要变量,防止泄露敏感环境变量
- Python: 用闭包封装 _safe_import,del 掉 _original_import/_make_safe_import/_BLOCKED_MODULES
防止用户代码恢复原始 __import__
- Dockerfile: 复制 bun.lock 并使用 --frozen-lockfile 确保构建可复现
* fix(sandbox): 将 sandbox 从 pnpm workspace 中移除,独立管理依赖
* fix(sandbox): 从全局 vitest 移除 sandbox 测试,集成测试无 SANDBOX_URL 时跳过
* ci(sandbox): 添加独立测试 workflow,仅 sandbox 代码变更时触发
* refactor(sandbox): 使用 export default 启动方式,与 sandbox_server 保持一致
* fix: sandbox security hardening & comprehensive test suite
Security fixes:
- JS: freeze Function constructor to block constructor.constructor escape
- JS: handle undefined return from main() (serialize as null)
- Python: fix http_request using from-import after __import__ interception
- Python: __import__ whitelist mode blocks exec/eval import bypasses
New tests (223 passing):
- security/escape-attacks: JS/Python escape attack vectors
- security/network-security: IP blacklist, protocol restrictions, httpRequest
- compat/legacy-js: 18 backward compatibility tests
- compat/legacy-python: 21 backward compatibility tests
- boundary: timeout, memory, disk, edge cases
- examples: common user code patterns
* feat(sandbox): env vars for all limits + rewrite README
- Network limits configurable via env: SANDBOX_MAX_REQUESTS, SANDBOX_REQUEST_TIMEOUT, SANDBOX_MAX_RESPONSE_SIZE
- Resource upper bounds configurable: SANDBOX_MAX_TIMEOUT, SANDBOX_MAX_MEMORY_MB, SANDBOX_MAX_DISK_MB
- README: architecture, API docs, env var reference, how to add JS/Python packages, security overview, built-in functions
* refactor(sandbox): extract env.ts with dotenv for typed env loading
- New env.ts: dotenv.config() + typed helpers (str/int/bool)
- config.ts re-exports env for backward compatibility
- index.ts imports env first to ensure .env loaded before anything else
* refactor(sandbox): use zod for env validation and type coercion
- Replace manual parseInt/str helpers with zod schema + coerce
- Invalid env vars now fail fast with formatted error on startup
- dotenv + zod, clean and declarative
* chore(sandbox): remove unused process pool code
- Delete pool.ts and pool.test.ts (pool was never wired into runners)
- Remove PoolConfig/PooledProcess types
- Remove pool env vars from env.ts
- Clean up README
* feat(sandbox): add concurrency limiter with semaphore
- New Semaphore utility for max concurrent subprocess control
- SANDBOX_MAX_CONCURRENCY env var (default 50)
- Excess requests queue instead of spawning unbounded processes
- Health endpoint exposes concurrency stats (current/queued/max)
* test(sandbox): add semaphore tests and expand coverage to 292 cases
- New semaphore.test.ts (11 tests): acquire/release, queuing, FIFO, stats, serial execution
- JS runner: blank code, template literals, primitive returns, more modules, unicode, partial limits
- Python runner: blank code, triple quotes, primitive returns, unicode, null vars, division errors
- JS security: process.exit, globalThis, Symbol.unscopables, Proxy, dynamic import, path traversal
- Python security: pickle/multiprocessing/threading/ctypes/signal, exec bypass, __subclasses__
- Escape attacks: type() class creation, __builtins__ tampering, getattr access
- Boundary: long vars, special JSON chars, float precision, big ints, circular refs, Promise.reject
* test(sandbox): test-master review - add 31 tests, coverage report
- base-runner.test.ts (10): BaseRunner precheck, temp dir, semaphore integration
- semaphore-race.test.ts (5): race conditions, rapid acquire/release, stress test
- coverage-gaps.test.ts (16): security coverage gaps found during review
- REVIEW-REPORT.md: full test audit report
Total: 323 passed, 0 failed
* fix(sandbox): address PR #6439 review issues
Security fixes:
- Intercept Python builtins.open(), restrict file access to sandbox tmpdir
- Remove unused pool.ts, warmup.mjs, warmup.py (security risk)
- Fix DNS rebinding TOCTOU: use resolved IP for HTTP connections
- Fix symlink path traversal: use realpath instead of normpath
- Add try/finally cleanup for __import__ hook
Robustness:
- Add __SANDBOX_RESULT__ prefix to stdout parsing, prevent user output interference
- Fix disk quota tracking: deduct old file size on overwrite
- Add __import__() pattern scanning in Python precheck
Tests:
- Fix eval+__import__ test assertion (accept both catch and fail paths)
All 323 tests passing.
* fix(sandbox): remove warmup scripts COPY from Dockerfile
* docs(sandbox): add technical design document
* feat(sandbox): configurable module allowlist/blocklist via env vars
- SANDBOX_JS_ALLOWED_MODULES: JS require whitelist (comma-separated)
- SANDBOX_PYTHON_BLOCKED_MODULES: Python import blacklist (comma-separated)
- Defaults unchanged, fully backward compatible
* fix(sandbox): 修复多个安全漏洞
1. Python HTTPS DNS rebinding: HTTPS 请求现在也使用 resolved IP 发起连接
2. Python __import__ hook 恢复漏洞: 移除 finally 块中恢复原始 __import__ 的代码
3. Python 内部变量泄露: 用户代码执行前删除 _os, _socket 等内部模块引用
4. JS process 危险 API: 禁用 process.binding/dlopen/kill/chdir 等,冻结 process.env
5. Python open() fd 绕过: 阻止通过整数文件描述符绕过路径检查
6. API 输入校验: 使用 zod schema 校验请求体,限制代码大小 1MB
7. 无认证警告: SANDBOX_TOKEN 未设置时输出生产环境警告
新增 security-fixes.test.ts 包含所有修复的回归测试
* test: consolidate security tests + add integration test suite
- Merge 6 security test files into 1 consolidated security.test.ts (109 tests)
- JS/Python module interception (precheck + runtime)
- JS escape attacks (prototype, constructor, Reflect, globalThis)
- Python escape attacks (__import__ hook, exec/eval, internal vars, __subclasses__)
- SSRF protection (private IPs, cloud metadata, file protocol)
- File system isolation (path traversal, fd, disk quota)
- Variable injection attacks
- API input validation
- Add black-box integration test suite functional.test.ts (56 tests)
- Basic operations (math, string, array, JSON, regex, Date, Promise, Map/Set)
- Variable passing (string, number, complex objects, empty, multiple)
- Whitelisted modules (crypto-js, moment, lodash)
- SystemHelper/system_helper (fs, delay, strToBase64, httpRequest)
- Error handling (syntax, runtime, undefined var, timeout)
- Network requests (GET, POST)
- Complex scenarios (CSV pipeline, recursion, class definition)
- Remove 34 duplicate test cases across merged files
- Total: 363 passed, 8 skipped (integration API tests need server)
* fix(sandbox): z.record() zod v4 compatibility - add key type param
* feat(sandbox): add .env.template with all config options and comments
* refactor(sandbox): remove disk write support and temp filesystem
* test(sandbox): remove all fs-related tests and add test case inventory
- Remove fs read/write tests from unit, integration, boundary, examples
- Remove path traversal, absolute path, open fd, builtins.open tests from security
- Add comprehensive test/case.md with all 344 test cases categorized
- All tests pass: 344 passed, 8 skipped, 0 failed
* feat(sandbox): add GET /sandbox/modules API to list available packages and builtins
* test(sandbox): add unit tests for GET /sandbox/modules API
* refactor(test): rewrite api.test.ts to use app.request() - no external server needed
* feat(sandbox): validate SANDBOX_TOKEN charset in env schema (ASCII printable only)
* chore(sandbox): remove DESIGN.md and package-lock.json from PR
* feat(sandbox): replace spawn-per-request with process pool architecture
- Add ProcessPool (JS) and PythonProcessPool with long-lived worker processes
- Workers communicate via stdin/stdout line-based JSON protocol
- Pool size configurable via SANDBOX_POOL_SIZE env var (default 20)
- Auto-respawn workers on crash
- Semaphore-based queueing when requests exceed pool size
Performance gains (simple functions):
- JS: 22 QPS → 1,328 QPS (60x improvement)
- Python: 14.7 QPS → 3,395 QPS (231x improvement)
- Fix import.meta.dir compatibility for vitest (Node) environments
- Export poolReady promise for test initialization
- Add benchmark scripts to test/benchmark/
- All 354 tests passing (12 test files)
* chore(sandbox): clean up unused files, update README with pool architecture
- Remove test/REVIEW-REPORT.md, test/case.md, test/benchmark.ts (obsolete)
- Rewrite README: pool architecture diagram, performance benchmarks,
SANDBOX_POOL_SIZE config, project structure, health endpoint format
* fix(sandbox): 修复进程池超时后 worker respawn 竞态条件
根因:超时 kill worker 后,exit 事件是异步的,release() 先执行时
worker 还在列表里,死 worker 被放回 idle 池,后续请求发给死进程。
修复:
- 超时回调中先 removeWorker 再 kill,防止 release 归还死 worker
- removeWorker 返回 bool,exit 事件中避免重复 respawn
- 超时回调主动触发 spawnWorker 补充池
- release 检查 worker 是否仍在池中
- spawnWorker 完成时检查 waitQueue 直接分配
* fix: security hardening & test migration to process pool
- JS worker: harden process object (kill/chdir/env freeze/binding/dlopen)
- Python worker: stack-frame based __import__ hook to block exec/eval bypass
- Python worker: BuiltinsProxy to prevent __import__ override via builtins module
- Python worker: restricted __builtins__ dict in exec_globals (no internal refs)
- Python worker: restore __import__ before each execution
- Migrate all 9 test files from JsRunner/PythonRunner to ProcessPool/PythonProcessPool
- Configure vitest for serial execution (pool size=1, fileParallelism: false)
- Fix security test assertion for builtins tampering (success=true with escaped=false)
- All 102 security tests passing
* docs(sandbox): update README with accurate benchmark data, remove non-existent features
- Update performance table with latest benchmark results (JS 1414 QPS, Python 4247 QPS)
- Remove SANDBOX_DISK_MB/SANDBOX_MAX_DISK_MB env vars (not implemented)
- Remove SystemHelper.fs.* / system_helper.fs.* docs (not implemented in workers)
- Fix security section to match actual implementation
- Update test count to 351
* refactor(sandbox): remove legacy runner/sandbox/template code
- Delete src/runner/ (base.ts, js-runner.ts, python-runner.ts)
- Delete src/sandbox/ (js-template.ts, python-template.ts, network-config.ts)
- Delete test/unit/js-runner.test.ts, test/unit/python-runner.test.ts
- Keep src/utils/semaphore.ts (generic utility, has its own tests)
- Update README project structure and test count (297 cases)
All functionality is now in src/pool/ (process-pool architecture).
297 tests passing, 0 failures.
* test(sandbox): add process pool lifecycle/respawn/concurrency tests
- ProcessPool: init/shutdown/stats, worker crash respawn, timeout respawn,
pool-full queuing, concurrent crash isolation
- PythonProcessPool: init/shutdown/stats, timeout respawn, queuing
- 14 new test cases, total 311 passing
* fix(sandbox): ping/pong health check, replace httpbin.org with baidu.com
- Worker health check: send actual ping message and verify pong response
instead of only checking stdin.writable (detects stuck workers)
- JS worker.ts: handle {type:'ping'} → reply {type:'pong'}
- Python worker.py: handle {type:'ping'} → reply {type:'pong'}
- ProcessPool/PythonProcessPool: rewrite pingWorker to send ping,
wait for pong with timeout, replace worker on failure
- Replace all httpbin.org URLs with www.baidu.com in tests
(httpbin.org unreachable from China/Sealos Devbox)
- Add 4 new health check tests (ping/pong for JS and Python pools)
- All 318 tests passing, 0 failures
* docs: add test report (test/README.md) and update README testing section
- test/README.md: detailed report with 315 passed / 3 skipped / 0 failed
- README.md: updated test section with coverage dimensions table and link to report
* docs: add functional test cases checklist (110 cases)
* fix(sandbox): fix Dockerfile Python env and import detection
1. Dockerfile: Remove broken multi-stage Python 3.11 copy.
- The previous approach copied python3 binary from python:3.11-alpine
but missed libpython3.11.so.1.0, causing Python pool init failure.
- Now uses system Python from apk and installs pip packages directly.
2. worker.py: Fix false positive import blocking for third-party packages.
- numpy/pandas were blocked because their internal 'import os' was
detected as user-initiated (full stack scan found user code frames).
- Changed to check only the direct caller frame: if the import comes
from site-packages (third-party lib internals), allow it.
- Direct user imports of blocked modules are still properly rejected.
* fix(sandbox): block dynamic import() and restrict file system access
Security fixes found during deep review:
1. JS: Block import() dynamic imports that bypass require whitelist.
- import('fs') could read arbitrary files on the container.
- Added static regex check to reject code containing import().
2. Python: Restrict open() to prevent user code from reading files.
- open('/etc/passwd') was accessible from user code.
- Added _restricted_open() that checks caller frame: only allows
stdlib/site-packages internal calls, blocks user code (<string>).
3. Python: Remove duplicate return statement in _safe_import.
All 315 tests pass (3 skipped).
* test(sandbox): add regression tests for import() and open() security fixes
- JS: import('fs'), import('child_process'), import('os') blocked
- JS: string containing 'import' not false-positive
- Python: open('/etc/passwd'), open('/proc/self/environ'), open('/tmp/evil.txt', 'w') blocked
- Python: numpy internal open() not affected (conditional on numpy availability)
Total: 322 passed | 3 skipped (was 315 passed)
* docs(sandbox): rewrite sandbox documentation with JS + Python coverage
- Add Python language support documentation
- Add httpRequest/http_request function docs
- Add available modules list (JS whitelist + Python safe modules)
- Add security restrictions section
- Add practical examples (data processing, date calc, webhook signing)
- Add JS/Python function name mapping table
* docs(sandbox): use SystemHelper/system_helper for built-in functions
Direct calls (countToken, delay, etc.) are deprecated (kept for compat).
All examples now use SystemHelper.xxx() / system_helper.xxx().
* docs(sandbox): Python only show named-params style as recommended
* feat(sandbox): unify Python SystemHelper API with camelCase aliases
- Add camelCase aliases to Python SystemHelper: countToken, strToBase64,
createHmac, httpRequest (matching JS API exactly)
- Update docs to use SystemHelper uniformly for both JS and Python
- snake_case methods (count_token, etc.) still work for backward compat
* feat(sandbox): add matplotlib and increase HTTP timeout to 60s
- Add matplotlib to Python dependencies
- Increase HTTP request timeout from 10s to 60s (both JS and Python)
- Update docs accordingly
* docs(sandbox): split docs for old/new sandbox versions
- sandbox.mdx → '代码运行(旧版)' for FastGPT ≤ 4.14.7 (URL unchanged)
- sandbox-v5.mdx → '代码运行' for FastGPT ≥ 4.14.8
- Both pages cross-link to each other
- meta.json updated: sandbox-v5 listed before sandbox
* docs: rename old sandbox doc to 代码运行(弃)
* refactor(sandbox): remove SANDBOX_TIMEOUT, use SANDBOX_MAX_TIMEOUT as unified timeout
* fix(sandbox): add build dependencies for matplotlib in Dockerfile
* refactor(sandbox): migrate Python from blocklist to allowlist for module control
- Change SANDBOX_PYTHON_BLOCKED_MODULES to SANDBOX_PYTHON_ALLOWED_MODULES
- Update Python worker to use allowlist instead of blocklist
- Add comprehensive safe module list: math, json, datetime, numpy, pandas, etc.
- Improve error message: 'Module X is not in the allowlist'
- Consistent with JS allowlist approach for better security
* fix(sandbox): add _strptime to allowlist and update test assertions
- Add _strptime module (required by datetime.strptime)
- Update test assertions for Python module import errors
- All 325 tests now pass (322 passed, 3 skipped)
* fix(docs): center SVG icon in size-5 container on medium screens
* docs(sandbox): simplify built-in functions and improve module documentation
- Remove delay, countToken, strToBase64, createHmac functions (keep only httpRequest)
- Convert Python module list to table format (10 tables by category)
- Reorganize usage examples with collapsible sections (JS and Python)
- Fix icon alignment in desktop/mobile sidebar navigation
- All 325 tests passing
---------
Co-authored-by: Lobster 3 <lobster3@sandbox.dev >
Co-authored-by: OpenClaw Bot <bot@openclaw.ai >
Co-authored-by: Archer <c121914yu@gmail.com >
Co-authored-by: archer <archer@archerdeMac-mini.local >
* perf: code sandbox
* update action
* Update projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* update timeout
* update memory limit function
* sandbox
* perf: process poll
* env template
* feat: code tip
* fix: code sandbox error tip
* update memory limit fn
* update memory limit fn
* fix: test
* fix: test
* fix: sandbox
---------
Co-authored-by: Archer <archer@fastgpt.io >
Co-authored-by: Lobster 3 <lobster3@sandbox.dev >
Co-authored-by: OpenClaw Bot <bot@openclaw.ai >
Co-authored-by: Archer <c121914yu@gmail.com >
Co-authored-by: archer <archer@archerdeMac-mini.local >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-28 12:36:59 +08:00
Archer
2e18f1ebc2
next 15 ( #6457 )
...
* next 15
* lock
* feat: rename .d.ts to .ts for Next 15 compatibility
- Rename 104 .d.ts files to .ts (Next 15 no longer supports .d.ts in src)
- Remove 5 redundant .d.ts files that had .ts counterparts
- Update all import paths: remove .d suffix from 100 import statements
- Update tsconfig.json include patterns across all packages
- Add pnpm overrides to unify react@18.3.1 across monorepo
- Fix react version mismatch (packages/global and packages/service were resolving to react@19.1.1)
* fix: resolve 61 TypeScript errors from .d.ts to .ts migration
- Fix broken imports using non-relative module paths (e.g. 'support/user/team/type' → relative paths)
- Remove unused/dead imports referencing deleted modules
- Fix duplicate identifiers (show_emptyChat, concatMd, TrainingModeEnum)
- Add missing imports (BoxProps, GroupMemberRole, UsageSourceEnum, dashboard_evaluation)
- Fix generic type constraints (OutLinkEditType, createShareChat)
- Replace removed types with correct alternatives (ChatModelItemType → LLMModelItemType)
- Delete 5 dead code files with 0 references
- Add global type declaration for countTrackQueue
- Fix nullable type narrowing (sourceMember, ParentIdType, optional app fields)
* refactor: replace as ClientSession assertion with proper type narrowing via Omit & intersection
* fix: remove experimental.workerThreads to fix DataCloneError in Next 15 static generation
Next 15 worker threads attempt to structuredClone the config object,
which fails on the webpack function. workerThreads is not needed for
the build to work correctly.
* Update document/content/docs/upgrading/4-14/4148.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: ts
* update next config
* update next
* fix: dockerfile
* fix: comment
---------
Co-authored-by: Archer <c121914yu@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-25 18:28:16 +08:00
Archer
76d6234de6
V4.14.7 features ( #6406 )
...
* Agent features (#6345 )
* Test agent (#6220 )
* squash: compress all commits into one
* feat: plan response in ui
* response ui
* perf: agent config
* merge
* tool select ux
* perf: chat ui
* perf: agent editform
* tmp code
* feat: save chat
* Complete agent parent (#6049 )
* add role and tools filling
* add: file-upload
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: top agent code
* top agent (#6062 )
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
* skill editor ui
* ui
* perf: rewrite type with zod
* skill edit ui
* skill agent (#6089 )
* cp skill chat
* rebase fdf933d
and add skill chat
* 1. skill 的 CRUD
2. skill 的信息渲染到前端界面
* solve comment
* remove chatid and chatItemId
* skill match
* perf: skill manage
* fix: ts
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: ts
* fix: loop import
* skill tool config (#6114 )
Co-authored-by: xxyyh <2289112474@qq>
* feat: load tool in agent
* skill memory (#6126 )
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent skill editor
* perf: helperbot ui
* agent code
* perf: context
* fix: request context
* agent usage
* perf: agent context and pause
* perf: plan response
* Test agent sigle skill (#6184 )
* feat:top box fill
* prompt fix
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent chat ui
* Test agent new (#6219 )
* have-replan
* agent
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* feat: consolidate agent and MCP improvements
This commit consolidates 17 commits including:
- MCP tools enhancements and fixes
- Agent system improvements and optimizations
- Auth limit and prompt updates
- Tool response compression and error tracking
- Simple app adaptation
- Code quality improvements (TypeScript, ESLint, Zod)
- Version type migration to schema
- Remove deprecated useRequest2
- Add LLM error tracking
- Toolset ID validation fixes
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* fix: transform avatar copy;perf: filter invalid tool
* update llm response storage time
* fix: openapi schema
* update skill desc
* feat: cache hit data
* i18n
* lock
* chat logs support error filter & user search (#6373 )
* chat log support searching by user name
* support error filter
* fix
* fix overflow
* optimize
* fix init script
* fix
* perf: get log users
* updat ecomment
* fix: ts
* fix: test
---------
Co-authored-by: archer <545436317@qq.com >
* Fix: agent (#6376 )
* Agent features (#6345 )
* Test agent (#6220 )
* squash: compress all commits into one
* feat: plan response in ui
* response ui
* perf: agent config
* merge
* tool select ux
* perf: chat ui
* perf: agent editform
* tmp code
* feat: save chat
* Complete agent parent (#6049 )
* add role and tools filling
* add: file-upload
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: top agent code
* top agent (#6062 )
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
* skill editor ui
* ui
* perf: rewrite type with zod
* skill edit ui
* skill agent (#6089 )
* cp skill chat
* rebase fdf933d
and add skill chat
* 1. skill 的 CRUD
2. skill 的信息渲染到前端界面
* solve comment
* remove chatid and chatItemId
* skill match
* perf: skill manage
* fix: ts
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: ts
* fix: loop import
* skill tool config (#6114 )
Co-authored-by: xxyyh <2289112474@qq>
* feat: load tool in agent
* skill memory (#6126 )
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent skill editor
* perf: helperbot ui
* agent code
* perf: context
* fix: request context
* agent usage
* perf: agent context and pause
* perf: plan response
* Test agent sigle skill (#6184 )
* feat:top box fill
* prompt fix
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent chat ui
* Test agent new (#6219 )
* have-replan
* agent
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* feat: consolidate agent and MCP improvements
This commit consolidates 17 commits including:
- MCP tools enhancements and fixes
- Agent system improvements and optimizations
- Auth limit and prompt updates
- Tool response compression and error tracking
- Simple app adaptation
- Code quality improvements (TypeScript, ESLint, Zod)
- Version type migration to schema
- Remove deprecated useRequest2
- Add LLM error tracking
- Toolset ID validation fixes
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* 1. 把辅助生成前端上的 system prompt 加入到上下文中
2. mcp工具的前端渲染(图标)
3. 文件读取工具和文件上传进行关联
4. 添加了辅助生成返回格式出错的重试方案
5. ask 不出现在 plan 步骤中
6. 添加了辅助生成的头像和交互 UI
* fix:read_file
* helperbot ui
* ts error
* helper ui
* delete Unused import
* perf: helper bot
* lock
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: xxyyh <2289112474@qq>
* fix date variable required & model auth (#6386 )
* fix date variable required & model auth
* doc
* feat: add chat id to finish callback
* fix: iphone safari shareId (#6387 )
* fix: iphone safari shareId
* fix: mcp file list can't setting
* fix: reason output field
* fix: skip JSON validation for HTTP tool body with variable (#6392 )
* fix: skip JSON validation for HTTP tool body with variable
* doc
* workflow fitview
* perf: selecting memory
* perf: cp api
* ui
* perf: toolcall auto adapt
* fix: catch workflow error
* fix: ts
* perf: pagination type
* remove
* ignore
* update doc
* fix: simple app tool select
* add default avatar to logs user
* perf: loading user
* select dataset ui
* rename version
* feat: add global/common test
* perf: packages/global/common test
* feat: package/global/ai,app test
* add global/chat test
* global/core test
* global/core test
* feat: packages/global all test
* perf: test
* add server api test
* perf: init shell
* perf: init4150 shell
* remove invalid code
* update doc
* remove log
* fix: chat effect
* fix: plan fake tool (#6398 )
* 1. 提示词防注入功能
2. 无工具不进入 plan,防止虚拟工具生成
* Agent-dataset
* dataset
* dataset presetInfo
* prefix
* perf: prompt
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: review
* adapt kimi2.5 think toolcall
* feat: invoke fastgpt user info (#6403 )
feat: invoke fastgpt user info
* fix: invoke fastgpt user info return orgs (#6404 )
* skill and version
* retry helperbot (#6405 )
Co-authored-by: xxyyh <2289112474@qq>
* update template
* remove log
* doc
* update doc
* doc
* perf: internal ip check
* adapt get paginationRecords
* tool call adapt
* fix: test
* doc
* fix: agent initial version
* adapt completions v1
* feat: instrumentation check
* rename skill
* add workflow demo mode tracks (#6407 )
* chore: 统一 skills 目录命名为小写
将 .claude/Skills/ 重命名为 .claude/skills/ 以保持命名一致性。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* add workflow demo mode tracks
* code
* optimize
* fix: improve workflowDemoTrack based on PR review
- Add comment to empty catch block for maintainability
- Add @param docs to onDemoChange clarifying nodeCount usage
- Replace silent .catch with console.debug for dev debugging
- Handle appId changes by reporting old data before re-init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
---------
Co-authored-by: archer <545436317@qq.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
* remove repeat skill
* fix(workflow): filter out orphan edges to prevent runtime errors (#6399 )
* fix(workflow): filter out orphan edges to prevent runtime errors
Runtime edges that reference non-existent nodes (orphan edges) can cause
unexpected behavior or crashes during workflow dispatch. This change adds
a pre-check to filter out such edges before execution begins, ensuring
system stability even with inconsistent graph data.
* fix(workflow): enhance orphan edge filtering with logging and tests
- Refactor: Extract logic to 'filterOrphanEdges' in utils.ts for better reusability
- Feat: Add performance monitoring (warn if >100ms) and comprehensive logging
- Feat: Support detailed edge inspection in debug mode
- Docs: Add JSDoc explaining causes of orphan edges (migration, manual edits)
- Test: Add unit tests covering edge cases and performance (1000 edges)
Addresses PR review feedback regarding logging, variable naming, and testing."
* move code
* move code
* add more unit test
---------
Co-authored-by: archer <545436317@qq.com >
* test
* perf: test
* add server/common/string test
* fix: resolve $ref references in MCP tool input schemas (#6395 ) (#6409 )
* fix: resolve $ref references in MCP tool input schemas (#6395 )
* add test code
---------
Co-authored-by: archer <545436317@qq.com >
* chore(docs): add fastgpt, fastgpt-plugin version choice guide (#6411 )
* chore(doc): add fastgpt version description
* doc
* doc
---------
Co-authored-by: archer <545436317@qq.com >
* fix:dataset cite and description info (#6410 )
* 1. 添加知识库引用(plan 步骤和直接知识库调用)
2. 提示词框中的@知识库工具
3. plan 中 step 的 description dataset_search 改为中文
* fix: i18n
* prompt
* prompt
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: tool call
* perf: workflow props
* fix: merge ECharts toolbox options instead of overwriting (#6269 ) (#6412 )
* feat: integrate logtape and otel (#6400 )
* fix: deps
* feat(logger): integrate logtape and otel
* wip(log): add basic infras logs
* wip(log): add request id and inject it into context
* wip(log): add basic tx logs
* wip(log): migrate
* wip(log): category
* wip(log): more sub category
* fix: type
* fix: sessionRun
* fix: export getLogger from client.ts
* chore: improve logs
* docs: update signoz and changelog
* change type
* fix: ts
* remove skill.md
* fix: lockfile specifier
* fix: test
---------
Co-authored-by: archer <545436317@qq.com >
* init log
* doc
* remove invalid log
* fix: review
* template
* replace new log
* fix: ts
* remove log
* chore: migrate all addLog to logtape
* move skill
* chore: migrate all addLog to logtape (#6417 )
* update skill
* remove log
* fix: tool check
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: xuyafei1996 <54217479+xuyafei1996@users.noreply.github.com >
Co-authored-by: ToukoYui <2331631097@qq.com >
Co-authored-by: roy <whoeverimf5@gmail.com >
2026-02-12 16:37:50 +08:00
Archer
c93c3937e1
S3 sdk ( #6215 )
...
* refactor: fastgpt object storage & global proxy (#6155 )
* feat: migrate to fastgpt storage sdk
* chore: rename env variable
* chore: move to sdk dir
* docs: object storage
* CHORE
* chore: storage mocks
* chore: update docker-compose
* fix: global proxy agent
* fix: update COS proxy
* refactor: use fetch instead of http.request
* fix: axios request base url
* fix: axios proxy request behavior
* fix: bumps axios
* fix: patch axios for proxy
* fix: replace axios with proxied axios
* fix: upload txt file encoding
* clean code
* fix: use "minio" for minio adapter (#6205 )
* fix: use minio client to delete files when using minio vendor (#6206 )
* doc
* feat: filter citations and add response button control (#6170 )
* feat: filter citations and add response button control
* i18n
* fix
* fix test
* perf: chat api code
* fix: workflow edge overlap and auto-align in folded loop nodes (#6204 )
* fix: workflow edge overlap and auto-align in folded loop nodes
* sort
* fix
* fix edge
* fix icon
* perf: s3 file name
* perf: admin get app api
* perf: catch user error
* fix: refactor useOrg hook to use debounced search key (#6180 )
* chore: comment minio adapter (#6207 )
* chore: filename with suffix random id
* perf: s3 storage code
* fix: encode filename when copy object
---------
Co-authored-by: archer <545436317@qq.com >
* fix: node card link
* json
* perf: chat index;
* index
* chat item soft delete (#6216 )
* chat item soft delete
* temp
* fix
* remove code
* perf: delete chat item
---------
Co-authored-by: archer <545436317@qq.com >
* feat: select wheather filter sensitive info when export apps (#6222 )
* fix some bugs (#6210 )
* fix v4.14.5 bugs
* type
* fix
* fix
* custom feedback
* fix
* code
* fix
* remove invalid function
---------
Co-authored-by: archer <545436317@qq.com >
* perf: test
* fix file default local upload (#6223 )
* docs: improve object storage introduction (#6224 )
* doc
---------
Co-authored-by: roy <whoeverimf5@gmail.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2026-01-09 18:25:02 +08:00
Archer
88ed97bc9d
fix: workflow batch repeat run ( #6186 )
...
* stop design doc
* remove invalid doc
* perf: auto fit
* fix: icon
* perf: icon
* perf: icon
* perf: icon
* perf: icon
* perf: variable disabled input ui
* fix: workflow batch run
* fix: tsc
2026-01-05 12:05:13 +08:00
Archer
58000324e2
feature: V4.14.3 ( #5970 )
...
* feat(marketplace): update plugin/ download count statistic (#5957 )
* feat: download count
* feat: update ui
* fix: ui
* chore: update sdk verison
* chore: update .env.template
* chore: adjust
* chore: remove console.log
* chore: adjust
* Update projects/marketplace/src/pages/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update projects/marketplace/src/pages/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update projects/app/src/pages/config/tool/marketplace.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: update refresh; feat: marketplace download count per hour
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* download
* marketplace code
* fix: ui (#5963 )
* feat: support dataset and files as global variables (#5961 )
* json & dataset
* file
* fix file var
* fix
* fix init
* remove
* perf: file vars
* fix: file uploading errors (#5969 )
* fix: file uploading errors
* fix build
* perf: fileselector ux
* feat: integrate S3 for dataset with compatibility (#5941 )
* fix: text split
* remove test
* feat: integrate S3 for dataset with compatibility
* fix: delay s3 files delete timing
* fix: remove imageKeys
* fix: remove parsed images' TTL
* fix: improve codes by pr comments
---------
Co-authored-by: archer <545436317@qq.com >
* remove log
* perf: request limit
* chore: s3 migration script (#5971 )
* test
* perf: s3 code
* fix: migration script (#5972 )
* perf: s3 move object
* wip: fix s3 bugs (#5976 )
* fix: incorrect replace origin logic (#5978 )
* fix: add downloadURL (#5980 )
* perf: file variable ttl & quick create dataset with temp s3 bucket (#5973 )
* perf: file variable ttl & quick create dataset with temp s3 bucket
* fix
* plugin & form input variables (#5979 )
* plugin & form input variables
* fix
* docs: 4143.mdx (#5981 )
* doc: update 4143.mdx (#5982 )
* fix form input file ttl (#5983 )
* trans file type (#5986 )
* trans file type
* fix
* fix: S3 script early return (#5985 )
* fix: S3 script typeof
* fix: truncate large filename to fit S3 name
* perf(permission): add a schema verification for resource permission, tmbId, groupId, orgId should be set at least one of them (#5987 )
* fix: version & typo (#5988 )
* fix-v4.14.3 (#5991 )
* fix: empty alt make replace JWT failed & incorrect image dataset preview url (#5989 )
* fix: empty alt make replace JWT failed & incorrect image dataset preview url
* fix: s3 files recovery script
* fix: incorrect chat external url parsing (#5993 )
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Roy <whoeverimf5@gmail.com >
2025-11-26 20:47:28 +08:00
Archer
d571c768ea
V4.14.1 feature ( #5880 )
...
* feat: app split (#5858 )
* feat: app split script
* fix: app split
* chore: app split script try-catch
* adjust dashborad page (#5872 )
* create page
* create page
* create button
* router name
* bot
* template
* create page
* mobile
* toolfolder
* fix
* fix
* fix build
* split tool select
* img
* doc
* rename enum
* fix page adjust (#5883 )
* fix page adjust
* fix ad store
* fix: initv4141 (#5886 )
* fix: create app
* doc
* hide api
* doc
* feat: payment pause interactive (#5892 )
* fix: copy clbs (#5889 )
* fix: copy clbs
* fix: copy clbs
* fix: http protocol handling in baseURL (#5890 )
* fix: http protocol handling in baseURL
* ui fix
* auto saved version
* fix
* auto save
* fix: model permission modal (#5895 )
* folder
* fix: del app
* navbar
* fix: plugin file selector (#5893 )
* fix: plugin file selector
* fix: plugin file selector
* workflow tool inputform
* pick
---------
Co-authored-by: archer <545436317@qq.com >
* fix: workflow tool time
* doc
* fix workorder button (#5896 )
* add inform track (#5897 )
* remove invalid track
* comment
* feat: marketplace refresh api (#5884 )
* marketplace refresh
* fix: helper bot menu button (#5898 )
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
2025-11-11 14:05:02 +08:00
Archer
7aaa28ed08
fix: document deploy ( #5868 )
...
* mcp memory
* Editor space parse error
* fix: ts
* fix: debug interactive
* fix: templateId
* fix: editor in debug
* doc
2025-11-06 14:47:55 +08:00
Archer
5163e704ed
fix: editor ( #5859 )
...
* fix: timeselector ui error
* var update node
* fix: editor
* feat: add name watch
2025-11-05 11:31:37 +08:00
Archer
44e87e3053
fix: var render ( #5857 )
...
* fix: timeselector ui error
* var update node
* fix: var render
* fix: prompt editor
* perf: init
* fix: retry input
* fix: prompt editor
* fix: editor
2025-11-04 22:15:47 +08:00
Archer
a499d05a02
V4.14.0 features ( #5850 )
...
* feat: migrate chat files to s3 (#5802 )
* feat: migrate chat files to s3
* feat: add delete jobs for deleting s3 files
* chore: improvements
* fix: lockfile
* fix: imports
* feat: add ttl for those uploaded files but not send yet
* feat: init bullmq worker
* fix: s3 key
* perf: s3 internal url
* remove env
* fix: re-sign a new url
* fix: re-sign a new url
* perf: s3 code
---------
Co-authored-by: archer <545436317@qq.com >
* update pacakge
* feat: add more file type for uploading (#5807 )
* fix: re-sign a new url
* wip: file selector
* feat: add more file type for uploading
* feat: migrate chat files to s3 (#5802 )
* feat: migrate chat files to s3
* feat: add delete jobs for deleting s3 files
* chore: improvements
* fix: lockfile
* fix: imports
* feat: add ttl for those uploaded files but not send yet
* feat: init bullmq worker
* fix: s3 key
* perf: s3 internal url
* remove env
* fix: re-sign a new url
* fix: re-sign a new url
* perf: s3 code
---------
Co-authored-by: archer <545436317@qq.com >
* fix: limit minmax available file upload number
* perf: file select modal code
* fix: fileselect refresh
* fix: ts
---------
Co-authored-by: archer <545436317@qq.com >
* bugfix: chat page (#5809 )
* fix: upload avatar
* fix: chat page username display issue and setting button visibility
* doc
* Markdown match base64 performance
* feat: improve global variables(time, file, dataset) (#5804 )
* feat: improve global variables(time, file, dataset)
* feat: optimize code
* perf: time variables code
* fix: model, file
* fix: hide file upload
* fix: ts
* hide dataset select
---------
Co-authored-by: archer <545436317@qq.com >
* perf: insert training queue
* perf: s3 upload error i18n
* fix: share page s3
* fix: timeselector ui error
* var update node
* Timepicker ui
* feat: plugin support password
* fix: password disabled UX
* fix: button size
* fix: no model cache for chat page (#5820 )
* rename function
* fix: workflow bug
* fix: interactive loop
* fix test
* perf: common textare no richtext
* move system plugin config (#5803 ) (#5813 )
* move system plugin config (#5803 )
* move system plugin config
* extract tag bar
* filter
* tool detail temp
* marketplace
* params
* fix
* type
* search
* tags render
* status
* ui
* code
* connect to backend (#5815 )
* feat: marketplace apis & type definitions (#5817 )
* chore: marketplace init
* chore: marketplace list api type
* chore: detail api
* marketplace & import
* feat: marketplace ui (#5826 )
* temp
* marketplace
* import
* feat: detail return readme
* chore: cache data expire 10 mins
* chore: update docs
* feat: marketplace ui
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* feat: marketplace (#5830 )
* temp
* marketplace
* chore: tool list tag filter
* chore: adjust
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* tool detail drawer
* remove tag filter
* fix
* fix
* fix build
* update pnpm-lock
* fix type
* perf code
* marketplace router
* fix build
* navbar icon
* fix ui
* fix init
* docs: marketplace/plugin (#5832 )
* temp
* marketplace
* docs(plugin): system tool docs
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* default url
* feat: i18n/ docker build (#5833 )
* chore: docker build
* feat: i18n selector
* fix
* fix
* fix: i18n parse
* fix: i18n parse
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <zhiyu44@qq.com >
* marketplace url
* update action
* market place code
* market place code
* title
* fix: nextconfig
* fix: copilot review
* Remove bypassable regex-based XSS sanitization from marketplace search (#5835 )
* Initial plan
* Remove problematic regex-based XSS sanitization from search inputs
Co-authored-by: c121914yu <50446880+c121914yu@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: c121914yu <50446880+c121914yu@users.noreply.github.com >
* feat: tool tag openapi
* api check
* fix: tsc
* fix: ts
* fix: lock
* sdk version
* ts
* sdk version
* remove invalid tip
* perf: export data add timezone
* perf: admin plugin api move
* perf: tool code
* move tag code
* perf: marketplace and team plugin code
* remove workflow invalid request
* rename global tool code
* rename global tool code
* rename api
* fix some bugs (#5841 )
* fix some bugs
* fix
* perf: Tag filter
* fix: ts
* fix: ts
---------
Co-authored-by: archer <545436317@qq.com >
* perf: Concat function
* fix: workflow snapshot push
* fix: ts type
* fix: login to config/*
* fix: ts
* fix: model avatar (#5848 )
* fix: model avatar
* fix: ts
* fix: avatar migration to s3
* update lock
* fix: avatar redirect
---------
Co-authored-by: archer <545436317@qq.com >
* fix tool detail (#5847 )
* fix tool detail
* init script
* fix build
* perf: plugin detail modal
* change tooltags to tags
* fix icon
---------
Co-authored-by: archer <545436317@qq.com >
* fix tag filter scroll (#5852 )
* fix create app plugin & import info (#5853 )
* tag size
* rename toolkit
* download url
* import plugin status (#5854 )
* init doc
* fix: init shell
---------
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
Co-authored-by: Zeng Qingwen <143274079+fishwww-ww@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <zhiyu44@qq.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-04 16:58:12 +08:00
heheer
a6ba974167
fix: simple prompt editor list render ( #5717 )
2025-09-27 19:18:10 +08:00
Archer
051455238c
V4.13.0 features ( #5693 )
...
* feat: concat usage code (#5657 )
* feat: dataset parse queue (#5661 )
* feat: chat usage concat (#5669 )
* perf: search test usage
* feat: chat usage concat
* fix: ts
* fix: ts
* feat: chat node response store (#5675 )
* feat: chat node response store
* limit export
* test
* add ai generate node (#5506 )
* add node copilot
* apply code
* update dynamic input & output
* add code test
* usage
* dynamic input border render
* optimize input & output
* optimize code
* update style
* change card to popover
* prompt editor basic
* prompt editor
* handle key down
* update prompt
* merge
* fix
* fix
* fix
* perf: workflow performance (#5677 )
* feat: chat node response store
* limit export
* perf: workflow performance
* remove log
* fix: app template get duplicate (#5682 )
* fix: dynamic input lock & code param (#5680 )
* fix: dynamic input lock & code param
* fix
* fix
* feat: multi node data sync & system tool hot-swapping (#5575 )
* Enhance file upload functionality and system tool integration (#5257 )
* Enhance file upload functionality and system tool integration
* Add supplementary documents and optimize the upload interface
* Refactor file plugin types and update upload configurations
* Refactor MinIO configuration variables and clean up API plugin handlers for improved readability and consistency
* File name change
* Refactor SystemTools component layout
* fix i18n
* fix
* fix
* fix
* optimize app logs sort (#5310 )
* log keys config modal
* multiple select
* api
* fontsize
* code
* chatid
* fix build
* fix
* fix component
* change name
* log keys config
* fix
* delete unused
* fix
* chore: minio service class rewrite
* chore: s3 plugin upload
* feat: system global cache with multi node sync feature
* feat: cache
* chore: move images
* docs: update & remove useless code
* chore: resolve merge conflicts
* chore: adjust the code
* chore: adjust
* deps: upgrade @fastgpt-sdk/plugin to 0.1.17
* perf(s3): s3 config
* fix: cache syncKey refresh
* fix: update @fastgpt-sdk/plugin to v0.1.18 removing mongo definition for fixing vitest
* chore: adjust
---------
Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Archer <545436317@qq.com >
* perf: s3 api code
* fix: toolbox empty when second open modal
* feat: http tool set (#5599 )
* feat: http toolSet manual create front end
* feat: http toolSet manual create i18n
* feat: http toolSet manual create back end
* feat: auth, as tool param, adapt mcp
* fix: delete unused httpPlugin
* fix: delete FlowNodeTypeEnum.httpPlugin
* fix: AppTypeEnum include httpToolSet and httpPlugin
* fix
* delete console
* fix
* output schema
* fix
* fix bg
* fix base url
* fix
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* feat: app count
* perf: type check
* feat: catch error
* perf: plugin hot-swapping (#5688 )
* perf: plugin hot-swapping
* chore: adjust code
* perf: cite data auth
* fix http toolset (#5689 )
* temp
* fix http tool set
* fix
* template author hide
* dynamic IO ui
* fix: auth test
* fix dynamic input & output (#5690 )
Co-authored-by: Archer <545436317@qq.com >
* fix: dynamic output id
* doc
* feat: model permission (#5666 )
* feat(permission): model permission definition & api
* chore: support update model's collaborators
* feat: remove unauthedmodel when paste and import
* fix: type error
* fix: test setup global model list
* fix: http tool api
* chore: update fastgpt-sdk version
* chore: remove useless code
* chore: myModelList cache
* perf: user who is not manager can not configure model permission (FE)
* perf: model => Set
* feat: getMyModels moved to opensource code; cache the myModelList
* fix: type error
* fix dynamic input reference select type (#5694 )
* remove unique index
* read file usage
* perf: connection error
* fix: abort token count
* fix: debug usage concat
* fix: immer clone object
* fix: immer clone object
* perf: throw error when error chat
* update audit i18n
* fix: 修复识别pptx文件后,返回内容顺序错乱问题 (#5696 )
* fix: pptx sort error
* fix prompt editor (#5695 )
* fix prompt editor
* fix
* fix: redis cache prefix (#5697 )
* fix: redis cache prefix
* fix: cache
* fix: get model collaborator by model.model
* feat: hint for model per
* rename bucket name
* model ui
* doc
* doc
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com >
Co-authored-by: Zeng Qingwen <143274079+fishwww-ww@users.noreply.github.com >
Co-authored-by: heheer <zhiyu44@qq.com >
Co-authored-by: Deepturn <33342819+Deepturn@users.noreply.github.com >
2025-09-24 22:40:31 +08:00
heheer
206fd7e4a8
fix: question guide prompt save & sub route image ( #5672 )
...
* fix: question guide prompt save & sub route image
* fix markdown
2025-09-18 18:13:57 +08:00
Archer
2ed1545eb5
V4.12.4 features ( #5626 )
...
* fix: push again, user select option button and form input radio content overflow (#5601 )
* fix: push again, user select option button and form input radio content overflow
* fix: use useCallback instead of useMemo, fix unnecessary delete
* fix: Move the variable inside the component
* fix: do not pass valueLabel to MySelect
* ui
* del collection api adapt
* refactor: inherit permission (#5529 )
* refactor: permission update conflict check function
* refactor(permission): app collaborator update api
* refactor(permission): support app update collaborator
* feat: support fe permission conflict check
* refactor(permission): app permission
* refactor(permission): dataset permission
* refactor(permission): team permission
* chore: fe adjust
* fix: type error
* fix: audit pagiation
* fix: tc
* chore: initv4130
* fix: app/dataset auth logic
* chore: move code
* refactor(permission): remove selfPermission
* fix: mock
* fix: test
* fix: app & dataset auth
* fix: inherit
* test(inheritPermission): test syncChildrenPermission
* prompt editor add list plugin (#5620 )
* perf: search result (#5608 )
* fix: table size (#5598 )
* temp: list value
* backspace
* optimize code
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
* fix: fe & member list (#5619 )
* chore: initv4130
* fix: MemberItemCard
* fix: MemberItemCard
* chore: fe adjust & init script
* perf: test code
* doc
* fix debug variables (#5617 )
* perf: search result (#5608 )
* fix: table size (#5598 )
* fix debug variables
* fix
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
* perf: member ui
* fix: inherit bug (#5624 )
* refactor(permission): remove getClbsWithInfo, which is useless
* fix: app list privateApp
* fix: get infos
* perf(fe): remove delete icon when it is disable in MemberItemCard
* fix: dataset private dataset
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* perf: auto coupon
* chore: upgrade script & get infos avatar (#5625 )
* fix: get infos
* chore: initv4130
* feat: support WecomRobot publish, and fix AesKey can not save bug (#5526 )
* feat: resolve conflicts
* fix: add param 'show_publish_wecom'
* feat: abstract out WecomCrypto type
* doc: wecom robot document
* fix: solve instability in AI output
* doc: update some pictures
* feat: remove functions from request.ts to chat.ts and toolCall.ts
* doc: wecom robot doc update
* fix
* delete unused code
* doc: update version and prompt
* feat: remove wecom crypto, delete wecom code in workflow
* feat: delete unused codes
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* remove test
* rename init shell
* feat: collection page store
* reload sandbox
* pysandbox
* remove log
* chore: remove useless code (#5629 )
* chore: remove useless code
* fix: checkConflict
* perf: support hidden type for RoleList
* fix: copy node
* update doc
* fix(permission): some bug (#5632 )
* fix: app/dataset list
* fix: inherit bug
* perf: del app;i18n;save chat
* fix: test
* i18n
* fix: sumper overflow return OwnerRoleVal (#5633 )
* remove invalid code
* fix: scroll
* fix: objectId
* update next
* update package
* object id
* mock redis
* feat: add redis append to resolve wecom stream response (#5643 )
* feat: resolve conflicts
* fix: add param 'show_publish_wecom'
* feat: abstract out WecomCrypto type
* doc: wecom robot document
* fix: solve instability in AI output
* doc: update some pictures
* feat: remove functions from request.ts to chat.ts and toolCall.ts
* doc: wecom robot doc update
* fix
* delete unused code
* doc: update version and prompt
* feat: remove wecom crypto, delete wecom code in workflow
* feat: delete unused codes
* feat: add redis append method
---------
Co-authored-by: heheer <zhiyu44@qq.com >
* cache per
* fix(test): init team sub when creating mocked user (#5646 )
* fix: button is not vertically centered (#5647 )
* doc
* fix: gridFs objectId (#5649 )
---------
Co-authored-by: Zeng Qingwen <143274079+fishwww-ww@users.noreply.github.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: heheer <zhiyu44@qq.com >
2025-09-15 20:02:54 +08:00
Archer
3f9b0fa1d4
V4.12.3 features ( #5595 )
...
* refactor: remove ModelProviderIdType and update related types (#5549 )
* perf: model provider
* fix eval create split (#5570 )
* git rebase --continuedoc
* add more variable types (#5540 )
* variable types
* password
* time picker
* internal var
* file
* fix-test
* time select default value & range
* password & type render
* fix
* fix build
* fix
* move method
* split date select
* icon
* perf: variable code
* prompt editor add markdown plugin (#5556 )
* editor markdown
* fix build
* pnpm lock
* add props
* update code
* fix list
* editor ui
* fix variable reset (#5586 )
* perf: variables type code
* customize lexical indent (#5588 )
* perf: multiple selector
* perf: tab plugin
* doc
* refactor: update workflow constants to use ToolTypeEnum (#5491 )
* refactor: replace FlowNodeTemplateTypeEnum with string literals in workflow templates
* perf: tool type
---------
Co-authored-by: archer <545436317@qq.com >
* update doc
* fix: make table's row more natural while dragging it (#5596 )
* feat: add APIGetTemplate function and refactor template fetching logic (#5498 )
* feat: add APIGetTemplate function and refactor template fetching logic
* chore: adjust the code
* chore: update sdk
---------
Co-authored-by: FinleyGe <m13203533462@163.com >
* perf init system
* doc
* remove log
* remove i18n
* perf: variables render
---------
Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
Co-authored-by: FinleyGe <m13203533462@163.com >
2025-09-07 14:41:48 +08:00
Archer
9fbfabac61
perf: variabel replace;Feat: prompt optimizer code ( #5453 )
...
* feat: add prompt optimizer (#5444 )
* feat: add prompt optimizer
* fix
* perf: variabel replace
* perf: prompt optimizer code
* feat: init charts shell
* perf: user error remove
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-08-14 15:48:22 +08:00
Archer
593c816c1a
perf: value type checker ( #5255 )
...
* perf: value type checker
* fix: ts
2025-07-18 16:39:42 +08:00
heheer
6f75c1b80e
fix node variable update render ( #5251 )
...
* fix node variable update render
* editor value formatted
* fix
2025-07-18 15:48:26 +08:00
Archer
4275de96fd
Revert "compatible with old enums ( #5219 )" ( #5222 )
...
This reverts commit f000fbb19d .
2025-07-16 14:35:18 +08:00
heheer
f000fbb19d
compatible with old enums ( #5219 )
...
* compatible with old enums\
* add id
2025-07-16 13:09:16 +08:00
Archer
3a5d725efd
feature: 4.10.1 ( #5201 )
...
* add dynamic inputRender (#5127 )
* dynamic input component
* fix
* fix
* fix
* perf: dynamic render input
* update doc
* perf: error catch
* num input ui
* fix form render (#5177 )
* perf: i18n check
* add log
* doc
* Sync dataset (#5181 )
* perf: api dataset create (#5047 )
* Sync dataset (#5120 )
* add
* wait
* restructure dataset sync, update types and APIs, add sync hints, and remove legacy logic
* feat: add function to retrieve real file ID from third-party doc library and rename team permission check function for clarity
* fix come console
* refactor: rename team dataset limit check functions for clarity, update API dataset sync limit usage, and rename root directory to "ROOT_FOLDER"
* frat: update sync dataset login
* fix delete.ts
* feat: update pnpm-lock.yaml to include bullmq, fix comments in api.d.ts and type.d.ts, rename API file ID field, optimize dataset sync logic, and add website sync feature with related APIs
* feat: update CollectionCard to support site dataset sync, add API root ID constant and init sync API
* feat: add RootCollectionId constant to replace hardcoded root ID
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: code
* feat: update success message for dataset sync, revise related i18n texts, and optimize file selection logic (#5166 )
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: select file
* Sync dataset (#5180 )
* feat: update success message for dataset sync, revise related i18n texts, and optimize file selection logic
* fix: make listfile function return rawid string
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* init sh
* fix: ts
---------
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
* update doc
* i18n
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
2025-07-11 17:02:48 +08:00
Archer
0914eacb5e
Feat: IfElse node support variable reference ( #5025 )
...
* if else node support reference (#5016 )
* if else node support reference
* optimize input render
* ui
* fix
---------
Co-authored-by: Archer <545436317@qq.com >
* fix: chat
* perf: download invoice
* optimize ifelse node ui (#5024 )
* perf: ifelse node
* optimize type (#5027 )
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-06-13 17:15:24 +08:00
Archer
b4ecfb0b79
Feat: Node latest version ( #4905 )
...
* node versions add keep the latest option (#4899 )
* node versions add keep the latest option
* i18n
* perf: version code
* fix: ts
* hide system version
* hide system version
* hide system version
* fix: ts
* fix: ts
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-05-28 10:46:32 +08:00
heheer
bdb1221d94
optimize editor default value code ( #4794 )
2025-05-12 23:52:22 +08:00
heheer
cac4b1d435
fix monaco editor default value ( #4793 )
...
* fix monaco editor default value
* fix
2025-05-12 23:09:15 +08:00
Theresa
2d3117c5da
feat: update ESLint config with @typescript-eslint/consistent-type-imports ( #4746 )
...
* update: Add type
* fix: update import statement for NextApiRequest type
* fix: update imports to use type for LexicalEditor and EditorState
* Refactor imports to use 'import type' for type-only imports across multiple files
- Updated imports in various components and API files to use 'import type' for better clarity and to optimize TypeScript's type checking.
- Ensured consistent usage of type imports in files related to chat, dataset, workflow, and user management.
- Improved code readability and maintainability by distinguishing between value and type imports.
* refactor: remove old ESLint configuration and add new rules
- Deleted the old ESLint configuration file from the app project.
- Added a new ESLint configuration file with updated rules and settings.
- Changed imports to use type-only imports in various files for better clarity and performance.
- Updated TypeScript configuration to remove unnecessary options.
- Added an ESLint ignore file to exclude build and dependency directories from linting.
* fix: update imports to use 'import type' for type-only imports in schema files
2025-05-06 17:33:09 +08:00
Archer
ef537f391c
fix: rerank usage ( #4751 )
...
* remove invalid index
* perf: i18n
* fix: rerank usage
2025-05-06 16:23:36 +08:00
Archer
864eff47c7
perf: i18n ( #4740 )
...
* feat: login limit time config
* doc
* perf: code
* i18n update
* update lock
* fix: ts
* update package
2025-05-05 16:16:59 +08:00
heheer
5c93545016
fix 4.9.6 ( #4631 )
...
* fix debug quote list
* delete next text node match
* fix extract default boolean value
* export latest 100 chat items
* fix quote item ui
* doc
* fix doc
2025-04-22 20:10:35 +08:00
Archer
565a966d19
Python Sandbox ( #4380 )
...
* Python3 Sandbox (#3944 )
* update python box (#4251 )
* update python box
* Adjust the height of the NodeCode border.
* update python sandbox and add test systemcall bash
* update sandbox
* add VERSION_RELEASE (#4376 )
* save empty docx
* fix pythonbox log error
* fix: js template
---------
Co-authored-by: dogfar <37035781+dogfar@users.noreply.github.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
Co-authored-by: gggaaallleee <1293587368@qq.com >
2025-03-28 13:45:09 +08:00
heheer
b780fbd6a7
fix lexical editor space ( #3586 )
...
* fix lexical editor space
* delete console
2025-01-14 17:24:16 +08:00
Archer
b520988c64
V4.8.17 feature ( #3485 )
...
* feat: add third party account config (#3443 )
* temp
* editor workflow variable style
* add team to dispatch
* i18n
* delete console
* change openai account position
* fix
* fix
* fix
* fix
* fix
* 4.8.17 test (#3461 )
* perf: external provider config
* perf: ui
* feat: add template config (#3434 )
* change template position
* template config
* delete console
* delete
* fix
* fix
* perf: Mongo visutal field (#3464 )
* remve invalid code
* perf: team member visutal code
* perf: virtual search; perf: search test data
* fix: ts
* fix: image response headers
* perf: template code
* perf: auth layout;perf: auto save (#3472 )
* perf: auth layout
* perf: auto save
* perf: auto save
* fix: template guide display & http input support external variables (#3475 )
* fix: template guide display
* http editor support external workflow variables
* perf: auto save;fix: ifelse checker line break; (#3478 )
* perf: auto save
* perf: auto save
* fix: ifelse checker line break
* perf: doc
* perf: doc
* fix: update var type error
* 4.8.17 test (#3479 )
* perf: auto save
* perf: auto save
* perf: template code
* 4.8.17 test (#3480 )
* perf: auto save
* perf: auto save
* perf: model price model
* feat: add react memo
* perf: model provider filter
* fix: ts (#3481 )
* perf: auto save
* perf: auto save
* fix: ts
* simple app tool select (#3473 )
* workflow plugin userguide & simple tool ui
* simple tool filter
* reuse component
* change component to hook
* fix
* perf: too selector modal (#3484 )
* perf: auto save
* perf: auto save
* perf: markdown render
* perf: too selector
* fix: app version require tmbId
* perf: templates refresh
* perf: templates refresh
* hide auto save error tip
* perf: toolkit guide
---------
Co-authored-by: heheer <heheer@sealos.io >
2024-12-27 20:05:12 +08:00
Archer
bfac393ab1
Add question guide config ( #3403 )
...
* feat:Prompt task (#3337 )
* feat:猜你想问自定义功能
* 修改用户输入框部分,去除冗余代码
* 删除不必要的属性
* 删除多余内容
* 修正了格式问题,并实现获取调试和app最新参数
* 修正了几行代码
* feat:Prompt task (#3337 )
* feat:猜你想问自定义功能
* 修改用户输入框部分,去除冗余代码
* 删除不必要的属性
* 删除多余内容
* 修正了格式问题,并实现获取调试和app最新参数
* 修正了几行代码
* perf: question gudide code
* fix: i18n
* hunyuan logo
* fix: cq templates
* perf: create question guide code
* udpate svg
---------
Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com >
2024-12-16 13:49:31 +08:00
Archer
8aa6b53760
V4.8.14 dev ( #3234 )
...
* feat: rewrite chat context (#3176 )
* feat: add app auto execute (#3115 )
* feat: add app auto execute
* auto exec configtion
* chatting animation
* change icon
* fix
* fix
* fix link
* feat: add chat context to all chatbox
* perf: loading ui
---------
Co-authored-by: heheer <heheer@sealos.io >
* app auto exec (#3179 )
* add chat records loaded state (#3184 )
* perf: chat store reset storage (#3186 )
* perf: chat store reset storage
* perf: auto exec code
* chore: workflow ui (#3175 )
* chore: workflow ui
* fix
* change icon color config
* change popover to mymenu
* 4.8.14 test (#3189 )
* update doc
* fix: token check
* perf: icon button
* update doc
* feat: share page support configuration Whether to allow the original view (#3194 )
* update doc
* perf: fix index (#3206 )
* perf: i18n
* perf: Add service entry (#3226 )
* 4.8.14 test (#3228 )
* fix: ai log
* fix: text splitter
* fix: reference unselect & user form description & simple to advance (#3229 )
* fix: reference unselect & user form description & simple to advance
* change abort position
* perf
* perf: code (#3232 )
* perf: code
* update doc
* fix: create btn permission (#3233 )
* update doc
* fix: refresh chatbox listener
* perf: check invalid reference
* perf: check invalid reference
* update doc
* fix: ui props
---------
Co-authored-by: heheer <heheer@sealos.io >
2024-11-26 12:02:58 +08:00
Archer
0472dc2967
perf: checkbox dom ( #3149 )
...
* perf: checkbox dom
* perf: null check
* perf: simple mode variables
* perf: get csv encoding code
* fix: dataset filter
* perf: code editor ui
2024-11-13 18:29:24 +08:00
Archer
e9d52ada73
4.8.13 feature ( #3118 )
...
* chore(ui): login page & workflow page (#3046 )
* login page & number input & multirow select & llm select
* workflow
* adjust nodes
* New file upload (#3058 )
* feat: toolNode aiNode readFileNode adapt new version
* update docker-compose
* update tip
* feat: adapt new file version
* perf: file input
* fix: ts
* feat: add chat history time label (#3024 )
* feat:add chat and logs time
* feat: add chat history time label
* code perf
* code perf
---------
Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com >
* add chatType (#3060 )
* pref: slow query of full text search (#3044 )
* Adapt findLast api;perf: markdown zh format. (#3066 )
* perf: context code
* fix: adapt findLast api
* perf: commercial plugin run error
* perf: markdown zh format
* perf: dockerfile proxy (#3067 )
* fix ui (#3065 )
* fix ui
* fix
* feat: support array reference multi-select (#3041 )
* feat: support array reference multi-select
* fix build
* fix
* fix loop multi-select
* adjust condition
* fix get value
* array and non-array conversion
* fix plugin input
* merge func
* feat: iframe code block;perf: workflow selector type (#3076 )
* feat: iframe code block
* perf: workflow selector type
* node pluginoutput check (#3074 )
* feat: View will move when workflow check error;fix: ui refresh error when continuous file upload (#3077 )
* fix: plugin output check
* fix: ui refresh error when continuous file upload
* feat: View will move when workflow check error
* add dispatch try catch (#3075 )
* perf: workflow context split (#3083 )
* perf: workflow context split
* perf: context
* 4.8.13 test (#3085 )
* perf: workflow node ui
* chat iframe url
* feat: support sub route config (#3071 )
* feat: support sub route config
* dockerfile
* fix upload
* delete unused code
* 4.8.13 test (#3087 )
* fix: image expired
* fix: datacard navbar ui
* perf: build action
* fix: workflow file upload refresh (#3088 )
* fix: http tool response (#3097 )
* loop node dynamic height (#3092 )
* loop node dynamic height
* fix
* fix
* feat: support push chat log (#3093 )
* feat: custom uid/metadata
* to: custom info
* fix: chat push latest
* feat: add chat log envs
* refactor: move timer to pushChatLog
* fix: using precise log
---------
Co-authored-by: Finley Ge <m13203533462@163.com >
* 4.8.13 test (#3098 )
* perf: loop node refresh
* rename context
* comment
* fix: ts
* perf: push chat log
* array reference check & node ui (#3100 )
* feat: loop start add index (#3101 )
* feat: loop start add index
* update doc
* 4.8.13 test (#3102 )
* fix: loop index;edge parent check
* perf: reference invalid check
* fix: ts
* fix: plugin select files and ai response check (#3104 )
* fix: plugin select files and ai response check
* perf: text editor selector;tool call tip;remove invalid image url;
* perf: select file
* perf: drop files
* feat: source id prefix env (#3103 )
* 4.8.13 test (#3106 )
* perf: select file
* perf: drop files
* perf: env template
* 4.8.13 test (#3107 )
* perf: select file
* perf: drop files
* fix: imple mode adapt files
* perf: push chat log (#3109 )
* fix: share page load title error (#3111 )
* 4.8.13 perf (#3112 )
* fix: share page load title error
* update file input doc
* perf: auto add file urls
* perf: auto ser loop node offset height
* 4.8.13 test (#3117 )
* perf: plugin
* updat eaction
* feat: add more share config (#3120 )
* feat: add more share config
* add i18n en
* fix: missing subroute (#3121 )
* perf: outlink config (#3128 )
* update action
* perf: outlink config
* fix: ts (#3129 )
* 更新 docSite 文档内容 (#3131 )
* fix: null pointer (#3130 )
* fix: null pointer
* perf: not input text
* update doc url
* perf: outlink default value (#3134 )
* update doc (#3136 )
* 4.8.13 test (#3137 )
* update doc
* perf: completions chat api
* Restore docSite content based on upstream/4.8.13-dev (#3138 )
* Restore docSite content based on upstream/4.8.13-dev
* 4813.md缺少更正
* update doc (#3141 )
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com >
Co-authored-by: 勤劳上班的卑微小张 <jiazhan.zhang@ggimage.com >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
Co-authored-by: Finley Ge <m13203533462@163.com >
Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com >
2024-11-13 11:29:53 +08:00
heheer
025facbc2d
perf:textarea auto height ( #2967 )
...
* perf:textarea auto height
* optimize editor height & fix variable label split
2024-10-22 18:33:02 +08:00
Archer
87b4061302
System plugin adapt reference type in plugin input ( #2965 )
...
* perf: plugin input support reference
* perf: system plugin adapt plugin input reference
2024-10-22 14:51:15 +08:00
Archer
40f527a021
4.8.12 test ( #2936 )
...
* system config tip
* perf: prompt editor code
* perf: cookie tip
2024-10-18 16:49:35 +08:00
heheer
d45d18cc3b
fix: variable label i18n & create question guide language ( #2933 )
2024-10-16 14:21:53 +08:00
heheer
8bdb35ff51
fix: quote settings default value & zindex & i18n ( #2931 )
2024-10-16 13:26:51 +08:00
heheer
7c8f2ab6f5
perf: support prompt editor dynamic height increase & modify aichat placeholder ( #2817 )
2024-09-27 13:45:44 +08:00
Archer
3ab934771f
4.8.11 perf ( #2768 )
...
* perf: watch local
* perf: dataset list ui
* perf: Check workflow invalid edges in saved
* remove log
* perf: Forbid touch scale
* perf: rename dataset process
* feat: support child app unstream mode
* feat: Dispatch child app will record detail
* feat: Save childApp run log
* fix: share page init error
* perf: chatId reset
2024-09-23 10:17:49 +08:00
Archer
093bfa2134
feat: dataset quote role support system; fix: adapt o1 model ( #2733 )
...
* feat: dataset quote support system role
* perf: adapt dataset quote role
* fix: adapt o1 model
2024-09-18 13:38:50 +08:00
Archer
2bdda4638d
Feat: Workflow loop node;feat: support openai o1;perf: query extension prompt;fix: intro was not delivered when the datase was created ( #2719 )
...
* feat: loop node (#2675 )
* loop node frontend
* loop-node
* fix-code
* fix version
* fix
* fix
* fix
* perf: loop array code
* perf: get histories error tip
* feat: support openai o1
* perf: query extension prompt
* feat: 4811 doc
* remove log
* fix: loop node zindex & variable picker type (#2710 )
* perf: performance
* perf: workflow performance
* remove uninvalid code
* perf:code
* fix: invoice table refresh
* perf: loop node data type
* fix: loop node store assistants
* perf: target connection
* feat: loop node support help line
* perf: add default icon
---------
Co-authored-by: heheer <heheer@sealos.io >
2024-09-15 22:41:05 +08:00
Archer
fde1618af2
Workflow experience optimization ( #2681 )
...
* perf: workflow handle connect
* feat: pan drag mode
* perf: workflow keyboard and touchTable adapt
* perf: teaxtarea no wheel
* remove render error
2024-09-12 17:10:39 +08:00
heheer
d6233cd7b1
fix: add http params focus & ui ( #2611 )
2024-09-04 13:37:29 +08:00