* feat(workflow): add loop run node with start/break sub-nodes
* fix(workflow): clear loop run resume state and polish interactions
* fix(workflow): harden loop run error paths and dedupe template registry
* fix(workflow): route loop run precheck errors through errorText and validate break reachability
* fix(workflow): fix loop run conditional validation and outer-node ref snapshot
* refactor: consolidate shared workflow usage and feedback collection helpers into dispatch/utils.ts
* feat(workflow): aggregate loop run iterations in response tree and polish editor/UI
* fix(workflow): i18n loop run errors and surface uncaught nested errors in chat
* fix(workflow): route node card delete button through onNodesChange
* fix(chat): recurse loopRun/parallelRun details when flattening responses
* fix(workflow): loop run resume stitching and PR review polish
* fix(workflow): loop run max-length boundary and resume isEntry leak
* fix(embedding): decode base64 embedding responses before vector processing
When a model's extra body config includes `encoding_format: "base64"`, the
embedding API returns a base64-encoded IEEE 754 little-endian float32 array
instead of a `number[]`. The previous code passed this raw string directly
to `formatVectors`, which called `.reduce()` on it and threw:
TypeError: a.reduce is not a function
Add `decodeEmbedding()` that detects base64 strings and decodes them to
`number[]` via `Buffer → Float32Array → Array.from()`, then use it in
`getVectorsByText` before calling `formatVectors`.
Fixes#6769
* perf: test
---------
Co-authored-by: octo-patch <octo-patch@github.com>
Co-authored-by: archer <545436317@qq.com>
* build: Bundle server.ts into a single CJS file
* feat: Add providerSandboxId to sandbox metadata and updates
* feat: Add environment variable to toggle skill server entrypoint
* refactor: Remove providerStatus from sandbox schemas and logic
* doc
* wip(next): upgrade next16 with next-rspack to build (#6501)
* wip(next): upgrade next16 with next-rspack to build
* wip: fix tsconfig path alias, bump various deps
* fix: test action pnpm version, immer dep
* fix: only use Rspack for develop environment
* lock
* fix: dataset choice hint (#6514)
* fix: dataset choice hint
* fix: regex replaceVarible remove useless match group
* fix: type check (#6515)
* test: perfect test cases for replaceVarible function in like case (#6516)
---------
Co-authored-by: archer <545436317@qq.com>
Co-authored-by: Ryo <whoeverimf5@gmail.com>
* 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>
* fix: relax MCP tool JSON Schema Zod validation to accept any type values
MCP servers may return JSON Schema with type values outside the
standard 6 types. Use z.any() for type and items fields to avoid
500 errors on /api/core/app/mcpTools/getTools.
- Remove SchemaInputValueTypeSchema enum and SchemaInputValueType
- Remove unnecessary .passthrough()
- Use plain string type for function parameters
Fixes#6451
* fix: mcp adapt
---------
Co-authored-by: c121914yu <yucongcong_test@163.com>