Repository navigation
Commit 75a057c
feat(runtime): expose framework name via factory registry
Each adapter's factory registers itself with a framework name via
`UiPathRuntimeFactoryRegistry.register(name=..., ...)`. Consumers
that need the framework label for telemetry (governance audit,
tracing) can now get it in a single lookup:
factory, framework = UiPathRuntimeFactoryRegistry.get_selection(...)
This lets the host CLI drop its filesystem-sniffing detection of
langgraph.json / llama_index.json / etc. — framework identity now
lives with the adapter that owns it.
- New `SelectedFactory` NamedTuple (factory, framework)
- New `get_selection()` method with same resolution rules as `get()`
- `get()` unchanged in signature and return type — delegates to
`get_selection().factory`; existing callers keep working
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0734fca commit 75a057c
5 files changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments