-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathapi-packages.toml
More file actions
331 lines (291 loc) · 10.3 KB
/
Copy pathapi-packages.toml
File metadata and controls
331 lines (291 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
# API documentation package registry
#
# Lists all packages whose API docs we generate.
# Used by tools throughout the build pipeline.
#
# Sections:
# [[sdks]] - SDK packages (one per entry, v2 has 1, v1 has 2)
# [[clis]] - CLI documentation entries
# [plugins_config] - Shared plugin settings (output_base, default_include)
# [[plugins]] - Plugin packages
#
# Fields for [[sdks]]:
# package - PyPI package name
# install - (optional) pip install specifier (defaults to package)
# parser_package - Python import path for the API parser
# generator_name - Name argument for the API generator
# generator_title - Title argument for the API generator
# include - Path to the header template file
# output_folder - Output directory for generated docs
# version_file - File containing version in frontmatter
# weight - (optional) Hugo menu weight
# expanded - (optional) Hugo menu expanded setting
# no_flatten - (optional) Generator no-flatten flag
# variants - (optional) Variant flags for the generator
#
# Fields for [[clis]]:
# name - CLI identifier
# package - (optional) PyPI package providing the CLI
# import - (optional) Python import for version detection
# include - Path to the header template file
# output_file - Output file path for single-file CLI docs (use one of output_file or output_dir)
# output_dir - Output directory for multi-file CLI docs (use one of output_file or output_dir)
# gen_command - (optional) Command to generate CLI docs (Python CLIs)
# type - (optional) "go" for Go-based CLIs (externally produced)
# binary - (optional) Binary name for Go CLIs
# frozen - (optional) If true, skip clean/generate (committed content, no longer regenerable)
#
# Fields for [plugins_config]:
# output_base - Base directory for plugin output (e.g., integrations or plugins)
# default_include - Default header template for plugins
# no_flatten - If true, generate hierarchical output (separate class files)
#
# Fields for [[plugins]]:
# package - PyPI package name (for version checks and pip install)
# plugin - Python import path (for the API parser)
# title - Display title for the documentation
# name - Folder name under output_base
# extras - (optional) pip extras to install, e.g. ["bigquery", "snowflake"]
# frozen - (optional) If true, skip clean/generate (committed content, no longer regenerable)
# === SDK packages ===
[[sdks]]
package = "flyte"
install = "flyte[connector,aiosqlite,tui]"
parser_package = "flyte"
generator_name = "flytesdk"
generator_title = "Flyte SDK"
include = "include/api.flyte-sdk.md"
output_folder = "content/api-reference/flyte-sdk"
version_file = "content/api-reference/flyte-sdk/_index.md"
weight = 4
no_flatten = true
variants = "+flyte +union"
# === CLIs ===
[[clis]]
name = "flyte"
package = "flyte"
import = "flyte"
include = "include/cli.flyte.md"
output_file = "content/api-reference/flyte-cli.md"
gen_command = "flyte gen docs --type markdown --plugin-variants 'union'"
[[clis]]
name = "uctl"
type = "go"
binary = "uctl"
include = "include/cli.uctl.md"
output_dir = "content/api-reference/uctl-cli"
frozen = true
# === Plugins ===
[plugins_config]
output_base = "content/api-reference/integrations"
default_include = "include/api.plugin.md"
no_flatten = true # v2: hierarchical output (separate class files per package)
# Agent framework adapters. One package per framework on a shared core, all
# documented as a group under content/integrations/agents/, so their API reference
# is nested to match rather than adding eleven siblings at the top of output_base.
# `name` stays flat (agents-<framework>) because it names the linkmap file, which
# lives in a single flat directory; page URLs follow output_folder, not name.
[[plugins]]
package = "flyteplugins-agents-core"
plugin = "flyteplugins.agents.core"
title = "Core"
name = "agents-core"
output_folder = "content/api-reference/integrations/agents/core"
[[plugins]]
package = "flyteplugins-agents-claude"
plugin = "flyteplugins.agents.claude"
title = "Claude Agent SDK"
name = "agents-claude"
output_folder = "content/api-reference/integrations/agents/claude"
[[plugins]]
package = "flyteplugins-agents-crewai"
plugin = "flyteplugins.agents.crewai"
title = "CrewAI"
name = "agents-crewai"
output_folder = "content/api-reference/integrations/agents/crewai"
[[plugins]]
package = "flyteplugins-agents-deepagents"
plugin = "flyteplugins.agents.deepagents"
title = "Deep Agents"
name = "agents-deepagents"
output_folder = "content/api-reference/integrations/agents/deepagents"
[[plugins]]
package = "flyteplugins-agents-google"
plugin = "flyteplugins.agents.google"
title = "Google ADK"
name = "agents-google"
output_folder = "content/api-reference/integrations/agents/google"
[[plugins]]
package = "flyteplugins-agents-hermes"
plugin = "flyteplugins.agents.hermes"
title = "Hermes"
name = "agents-hermes"
output_folder = "content/api-reference/integrations/agents/hermes"
[[plugins]]
package = "flyteplugins-agents-langchain"
plugin = "flyteplugins.agents.langchain"
title = "LangChain"
name = "agents-langchain"
output_folder = "content/api-reference/integrations/agents/langchain"
[[plugins]]
package = "flyteplugins-agents-langgraph"
plugin = "flyteplugins.agents.langgraph"
title = "LangGraph"
name = "agents-langgraph"
output_folder = "content/api-reference/integrations/agents/langgraph"
[[plugins]]
package = "flyteplugins-agents-mistral"
plugin = "flyteplugins.agents.mistral"
title = "Mistral"
name = "agents-mistral"
output_folder = "content/api-reference/integrations/agents/mistral"
[[plugins]]
package = "flyteplugins-agents-openai"
plugin = "flyteplugins.agents.openai"
title = "OpenAI Agents SDK"
name = "agents-openai"
output_folder = "content/api-reference/integrations/agents/openai"
# Pinned to 2.5.18 (DOC-1404). 2.5.19 is the only flyteplugins-* 2.5.19 that was
# NOT yanked, so the resolver picks it -- but it imports `apply_instrumentation`
# from flyteplugins-agents-core, whose 2.5.19 WAS yanked, so the resolver pairs it
# with agents-core 2.5.18, which lacks that symbol. The import fails, the parser
# only warns, and the generator then writes an 11-line stub with no API content
# while make still exits 0. `make dist` reproduces this on every build.
#
# The pin restores the working pair. The advisory PyPI-drift check will keep
# reporting this plugin as behind; that is correct and deliberate. Remove the pin
# once a release ships in which agents-pydantic-ai and agents-core are installable
# together.
[[plugins]]
package = "flyteplugins-agents-pydantic-ai"
install = "flyteplugins-agents-pydantic-ai==2.5.18"
plugin = "flyteplugins.agents.pydantic_ai"
title = "Pydantic AI"
name = "agents-pydantic-ai"
output_folder = "content/api-reference/integrations/agents/pydantic-ai"
# Frozen agentic plugins. flyteplugins-{anthropic,gemini,openai} were removed from
# the SDK; agents now run on Flyte through the framework adapters documented under
# content/integrations/agents/. Their API-reference dirs are retained by hand as
# version-stamped snapshots carrying a deprecation notice, for users still on an
# older release. Listed here (rather than deleted) so the registry stays the full
# account of what lives under output_base; `frozen` keeps the regen, clean, and
# PyPI drift checks off them. Do not unfreeze - the packages no longer publish.
[[plugins]]
package = "flyteplugins-anthropic"
plugin = "flyteplugins.anthropic"
title = "Anthropic"
name = "anthropic"
frozen = true
[[plugins]]
package = "flyteplugins-bigquery"
plugin = "flyteplugins.bigquery"
title = "BigQuery"
name = "bigquery"
[[plugins]]
package = "flyteplugins-codegen"
plugin = "flyteplugins.codegen"
title = "Code generation"
name = "codegen"
[[plugins]]
package = "flyteplugins-dask"
plugin = "flyteplugins.dask"
title = "Dask"
name = "dask"
[[plugins]]
package = "flyteplugins-databricks"
plugin = "flyteplugins.databricks"
title = "Databricks"
name = "databricks"
[[plugins]]
package = "flyteplugins-gemini"
plugin = "flyteplugins.gemini"
title = "Gemini"
name = "gemini"
frozen = true # see "Frozen agentic plugins" above
[[plugins]]
package = "flyteplugins-huggingface"
plugin = "flyteplugins.huggingface"
title = "Hugging Face"
name = "huggingface"
[[plugins]]
package = "flyteplugins-hydra"
plugin = "flyteplugins.hydra"
title = "Hydra"
name = "hydra"
[[plugins]]
package = "flyteplugins-jsonl"
plugin = "flyteplugins.jsonl"
title = "JSONL"
name = "jsonl"
[[plugins]]
package = "flyteplugins-mlflow"
plugin = "flyteplugins.mlflow"
title = "MLflow"
name = "mlflow"
[[plugins]]
package = "flyteplugins-openai"
plugin = "flyteplugins.openai"
title = "OpenAI"
name = "openai"
frozen = true # see "Frozen agentic plugins" above
[[plugins]]
package = "flyteplugins-omegaconf"
plugin = "flyteplugins.omegaconf"
title = "OmegaConf"
name = "omegaconf"
[[plugins]]
package = "flyteplugins-papermill"
plugin = "flyteplugins.papermill"
title = "Papermill"
name = "papermill"
[[plugins]]
package = "flyteplugins-polars"
plugin = "flyteplugins.polars"
title = "Polars"
name = "polars"
[[plugins]]
package = "flyteplugins-pytorch"
plugin = "flyteplugins.pytorch"
title = "PyTorch"
name = "pytorch"
[[plugins]]
package = "flyteplugins-ray"
plugin = "flyteplugins.ray"
title = "Ray"
name = "ray"
[[plugins]]
package = "flyteplugins-sglang"
plugin = "flyteplugins.sglang"
title = "SGLang"
name = "sglang"
[[plugins]]
package = "flyteplugins-spark"
plugin = "flyteplugins.spark"
title = "Spark"
name = "spark"
[[plugins]]
package = "flyteplugins-union"
plugin = "flyteplugins.union"
title = "Union plugin"
name = "union-plugin"
# Promoted out of the shared integrations/ base to a top-level api-reference section,
# positioned in the nav between flyte-sdk (weight 4) and integrations (weight 6).
output_folder = "content/api-reference/union-plugin"
weight = 5
# Union-only: the union plugin is not part of open-source Flyte.
variants = "-flyte +union"
[[plugins]]
package = "flyteplugins-vllm"
plugin = "flyteplugins.vllm"
title = "vLLM"
name = "vllm"
[[plugins]]
package = "flyteplugins-wandb"
plugin = "flyteplugins.wandb"
title = "Weights & Biases"
name = "wandb"
[[plugins]]
package = "flyteplugins-snowflake"
plugin = "flyteplugins.snowflake"
title = "Snowflake"
name = "snowflake"