Files
windmill/backend/windmill-api-scripts/Cargo.toml
T
Ruben FiszelandClaude Opus 5.5 d18d7043df feat: infer a script's schema when a deploy (e.g. MCP) sends none (#11339)
* feat: infer a script's schema from its code when a deploy sends none

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: merge an inferred schema into the previous one the way the editor does

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: parse non-JSON TS defaults natively and keep the schema on a failed inference

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: type untyped TS params from their literal shape when the default can't be evaluated

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix: read literal TS defaults off the AST so the server types them like the editor

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* docs: word the script schema description for both create and update

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* docs: note that dbt scripts derive their schema from the descriptor

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 10:00:49 +00:00

56 lines
1.8 KiB
TOML

[package]
name = "windmill-api-scripts"
version.workspace = true
authors.workspace = true
edition.workspace = true
[lib]
name = "windmill_api_scripts"
path = "src/lib.rs"
[features]
default = []
enterprise = ["windmill-common/enterprise", "windmill-native-triggers?/enterprise"]
private = ["windmill-common/private", "windmill-dep-map/private"]
python = ["dep:windmill-parser-py", "dep:windmill-parser-py-asset"]
prometheus = ["dep:prometheus", "windmill-common/prometheus"]
native_trigger = ["dep:windmill-native-triggers", "windmill-native-triggers/native_trigger"]
[dependencies]
windmill-common = { workspace = true, default-features = false }
windmill-native-triggers = { workspace = true, optional = true }
windmill-object-store.workspace = true
windmill-api-auth.workspace = true
windmill-queue.workspace = true
windmill-audit.workspace = true
windmill-git-sync.workspace = true
windmill-dep-map.workspace = true
windmill-parser-ts.workspace = true
windmill-parser.workspace = true
windmill-parser-ts-asset.workspace = true
windmill-parser-sql-asset.workspace = true
windmill-parser-sql.workspace = true
windmill-parser-yaml.workspace = true
windmill-parser-bash.workspace = true
windmill-parser-go.workspace = true
windmill-parser-graphql.workspace = true
anyhow.workspace = true
axum.workspace = true
futures.workspace = true
http.workspace = true
hyper.workspace = true
itertools.workspace = true
quick_cache.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
sql-builder.workspace = true
sqlx.workspace = true
tracing.workspace = true
chrono.workspace = true
lazy_static.workspace = true
tokio.workspace = true
prometheus = { workspace = true, optional = true }
windmill-parser-py = { workspace = true, optional = true }
windmill-parser-py-asset = { workspace = true, optional = true }