mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-18 08:20:34 +00:00
add customUi.aiFlowInputs to stop the AI from adding flow inputs (#12192)
* feat: add customUi.aiFlowInputs to stop the AI from adding flow inputs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: let test files escape the package root in the packaging guard Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: pin the flow input lock's schema-change check and new-input detection Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
7850bd213d
commit
ef36bbac43
@@ -112,7 +112,13 @@ for (const file of walk(packageDir)) {
|
||||
return `${prefix}${quote}${relativeSpecifier(file, join(chatSdkDest, 'index.js'))}${quote}`
|
||||
}
|
||||
const target = resolve(dirname(file), specifier)
|
||||
if (target !== packageDir && !target.startsWith(packageDir + sep)) {
|
||||
// Test files ride along in the output but no consumer imports them, so an escaping
|
||||
// import there (e.g. `../app.html?raw`) breaks nothing.
|
||||
if (
|
||||
target !== packageDir &&
|
||||
!target.startsWith(packageDir + sep) &&
|
||||
!/\.test\.js$/.test(file)
|
||||
) {
|
||||
unresolvable.push(`${relative(packageDir, file)}: ${specifier}`)
|
||||
return match
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user