flet-mcp 1.1.0.dev2__tar.gz → 1.1.0.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/PKG-INFO +3 -3
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/pyproject.toml +3 -3
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/data/api.json +281 -26
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/data/mcp.db +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp.egg-info/PKG-INFO +3 -3
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp.egg-info/requires.txt +2 -2
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/README.md +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/setup.cfg +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/__init__.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/api_store.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/__init__.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/api.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/docs.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/examples.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/icons.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/build/indexer.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/data/icons.json +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/db.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/icons_store.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp/server.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp.egg-info/SOURCES.txt +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp.egg-info/dependency_links.txt +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/src/flet_mcp.egg-info/top_level.txt +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/tests/test_api_store.py +0 -0
- {flet_mcp-1.1.0.dev2 → flet_mcp-1.1.0.dev4}/tests/test_icons_store.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-mcp
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev4
|
|
4
4
|
Summary: Flet MCP server for LLM agents
|
|
5
5
|
Author-email: "Appveyor Systems Inc." <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -13,8 +13,8 @@ Requires-Dist: fastmcp>=2.0.0
|
|
|
13
13
|
Provides-Extra: build
|
|
14
14
|
Requires-Dist: markdownify>=0.14.1; extra == "build"
|
|
15
15
|
Requires-Dist: griffe>=1.6.2; extra == "build"
|
|
16
|
-
Requires-Dist: flet==1.1.0.
|
|
17
|
-
Requires-Dist: flet-cli==1.1.0.
|
|
16
|
+
Requires-Dist: flet==1.1.0.dev4; extra == "build"
|
|
17
|
+
Requires-Dist: flet-cli==1.1.0.dev4; extra == "build"
|
|
18
18
|
|
|
19
19
|
# flet-mcp
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-mcp"
|
|
3
|
-
version = "1.1.0.
|
|
3
|
+
version = "1.1.0.dev4"
|
|
4
4
|
description = "Flet MCP server for LLM agents"
|
|
5
5
|
authors = [{ name = "Appveyor Systems Inc.", email = "hello@flet.dev" }]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -14,8 +14,8 @@ dependencies = [
|
|
|
14
14
|
build = [
|
|
15
15
|
"markdownify >=0.14.1",
|
|
16
16
|
"griffe >=1.6.2",
|
|
17
|
-
"flet==1.1.0.
|
|
18
|
-
"flet-cli==1.1.0.
|
|
17
|
+
"flet==1.1.0.dev4",
|
|
18
|
+
"flet-cli==1.1.0.dev4",
|
|
19
19
|
]
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
"name": "col",
|
|
447
447
|
"type": "ResponsiveNumber",
|
|
448
448
|
"default": "12",
|
|
449
|
-
"docstring": "If a parent of this control is a :class:`~flet.ResponsiveRow`, this property is used to determine how many virtual columns of a screen this control will span.\n\nCan be a number or a dictionary configured to have a different value for specific\nbreakpoints, for example `col={\"sm\": 6}`.\n\nA value of `0` hides the control for that breakpoint, so it does not occupy any\ncolumns in the parent :class:`~flet.ResponsiveRow`.\n\nThis control spans the 12 virtual columns by default.\n\n| Breakpoint |
|
|
449
|
+
"docstring": "If a parent of this control is a :class:`~flet.ResponsiveRow`, this property is used to determine how many virtual columns of a screen this control will span.\n\nCan be a number or a dictionary configured to have a different value for specific\nbreakpoints, for example `col={\"sm\": 6}`.\n\nA value of `0` hides the control for that breakpoint, so it does not occupy any\ncolumns in the parent :class:`~flet.ResponsiveRow`.\n\nThis control spans the 12 virtual columns by default.\n\n| Breakpoint | Min width |\n|---|---|\n| xs | \u22650px |\n| sm | \u2265576px |\n| md | \u2265768px |\n| lg | \u2265992px |\n| xl | \u22651200px |\n| xxl | \u22651400px |"
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
"name": "opacity",
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
"name": "route",
|
|
764
764
|
"type": "str",
|
|
765
765
|
"default": "'/'",
|
|
766
|
-
"docstring": "Gets current app route.\n\nNote:\n This property is read-only."
|
|
766
|
+
"docstring": "Gets current app route.\n\nIn an app opened from a deep link, it starts as the link's path and query.\n\nNote:\n This property is read-only."
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
769
|
"name": "embedded",
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
"name": "on_route_change",
|
|
922
922
|
"type": "Optional[EventHandler[RouteChangeEvent]]",
|
|
923
923
|
"default": "None",
|
|
924
|
-
"docstring": "Called when page route changes either programmatically, by editing application
|
|
924
|
+
"docstring": "Called when page route changes either programmatically, by editing application URL, using browser Back/Forward buttons, or when a deep link opens the running app."
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
927
|
"name": "on_view_pop",
|
|
@@ -2430,25 +2430,25 @@
|
|
|
2430
2430
|
"name": "alignment",
|
|
2431
2431
|
"type": "MainAxisAlignment",
|
|
2432
2432
|
"default": "MainAxisAlignment.START",
|
|
2433
|
-
"docstring": "Defines how the child :attr:`controls` should be placed horizontally."
|
|
2433
|
+
"docstring": "Defines how the child :attr:`controls` should be placed horizontally.\n\nWhen the controls don't fit on one line and wrap, it applies to each line\nseparately."
|
|
2434
2434
|
},
|
|
2435
2435
|
{
|
|
2436
2436
|
"name": "vertical_alignment",
|
|
2437
2437
|
"type": "CrossAxisAlignment",
|
|
2438
2438
|
"default": "CrossAxisAlignment.START",
|
|
2439
|
-
"docstring": "Defines how the child :attr:`controls` should be placed vertically."
|
|
2439
|
+
"docstring": "Defines how the child :attr:`controls` should be placed vertically.\n\nWhen the controls don't fit on one line and wrap, only\n:attr:`~flet.CrossAxisAlignment.START`, :attr:`~flet.CrossAxisAlignment.END`\nand :attr:`~flet.CrossAxisAlignment.CENTER` apply, within each line;\n:attr:`~flet.CrossAxisAlignment.STRETCH` and\n:attr:`~flet.CrossAxisAlignment.BASELINE` behave like\n:attr:`~flet.CrossAxisAlignment.START`."
|
|
2440
2440
|
},
|
|
2441
2441
|
{
|
|
2442
2442
|
"name": "spacing",
|
|
2443
2443
|
"type": "ResponsiveNumber",
|
|
2444
2444
|
"default": "10",
|
|
2445
|
-
"docstring": "The spacing between controls in
|
|
2445
|
+
"docstring": "The horizontal spacing between controls, in logical pixels.\n\nRaises:\n ValueError: If it is negative.\n ValueError: If any breakpoint-specific value is negative."
|
|
2446
2446
|
},
|
|
2447
2447
|
{
|
|
2448
2448
|
"name": "run_spacing",
|
|
2449
2449
|
"type": "ResponsiveNumber",
|
|
2450
2450
|
"default": "10",
|
|
2451
|
-
"docstring": "The spacing between
|
|
2451
|
+
"docstring": "The vertical spacing between lines when the controls wrap, in logical pixels.\n\nRaises:\n ValueError: If it is negative.\n ValueError: If any breakpoint-specific value is negative."
|
|
2452
2452
|
},
|
|
2453
2453
|
{
|
|
2454
2454
|
"name": "breakpoints",
|
|
@@ -7331,7 +7331,7 @@
|
|
|
7331
7331
|
}
|
|
7332
7332
|
],
|
|
7333
7333
|
"return_type": "bool",
|
|
7334
|
-
"docstring": "Checks whether the specified URL can be handled by some app installed on the device.\n\nArgs:\n url: The URL to check.\n\nReturns:\n `True` if it is possible to verify that there is a handler available.\n `False` if there is no handler available,\n or the application does not have permission to check. For example:\n\n - On
|
|
7334
|
+
"docstring": "Checks whether the specified URL can be handled by some app installed on the device.\n\nArgs:\n url: The URL to check.\n\nReturns:\n `True` if it is possible to verify that there is a handler available.\n `False` if there is no handler available,\n or the application does not have permission to check. For example:\n\n - On Android 11+ and iOS, this returns `False` for URLs whose scheme\n the app doesn't declare: on Android in\n [`[tool.flet.android.queries]`](https://flet.dev/docs/publish/android#queries),\n on iOS in `LSApplicationQueriesSchemes` of\n [`[tool.flet.ios.info]`](https://flet.dev/docs/publish/ios#infoplist).\n - On web, this will always return `False` except for a few specific\n schemes that are always assumed to be supported (such as http(s)),\n as web pages are never allowed to query installed applications.",
|
|
7335
7335
|
"async": true
|
|
7336
7336
|
},
|
|
7337
7337
|
{
|
|
@@ -10564,9 +10564,9 @@
|
|
|
10564
10564
|
},
|
|
10565
10565
|
{
|
|
10566
10566
|
"name": "semantics_value",
|
|
10567
|
-
"type": "
|
|
10567
|
+
"type": "Optional[str]",
|
|
10568
10568
|
"default": "None",
|
|
10569
|
-
"docstring": "The
|
|
10569
|
+
"docstring": "The progress made, as read by screen reading software.\n\nWhat it can hold depends on :attr:`value`:\n\n- When :attr:`value` is set, the indicator is announced as a progress bar from\n `0` to `100`, so this should be a number in that range or a percentage, for\n example `\"60\"` or `\"60%\"`. Defaults to the percentage of progress made, for\n example `\"60\"` for a `value` of `0.6`.\n- When :attr:`value` is not set, the indicator is announced as a loading\n spinner, so this can be any text, for example `\"Step 3 of 5\"`.\n\nTo describe a determinate indicator in words, such as `\"Step 3 of 5\"`, use\n:attr:`semantics_label` instead: screen readers read the label, then this\nvalue.\n\nNote:\n In debug builds, such as `flet debug`, a determinate indicator whose\n `semantics_value` is not a number or a percentage raises an error. Release\n builds pass it through as is, but platforms may not read it as expected."
|
|
10570
10570
|
},
|
|
10571
10571
|
{
|
|
10572
10572
|
"name": "stop_indicator_color",
|
|
@@ -13197,9 +13197,9 @@
|
|
|
13197
13197
|
},
|
|
13198
13198
|
{
|
|
13199
13199
|
"name": "semantics_value",
|
|
13200
|
-
"type": "Optional[
|
|
13200
|
+
"type": "Optional[str]",
|
|
13201
13201
|
"default": "None",
|
|
13202
|
-
"docstring": "
|
|
13202
|
+
"docstring": "The progress made, as read by screen reading software.\n\nWhat it can hold depends on :attr:`value`:\n\n- When :attr:`value` is set, the indicator is announced as a progress bar from\n `0` to `100`, so this should be a number in that range or a percentage, for\n example `\"60\"` or `\"60%\"`. Defaults to the percentage of progress made, for\n example `\"60\"` for a `value` of `0.6`.\n- When :attr:`value` is not set, the indicator is announced as a loading\n spinner, so this can be any text, for example `\"Step 3 of 5\"`.\n\nTo describe a determinate indicator in words, such as `\"Step 3 of 5\"`, use\n:attr:`semantics_label` instead: screen readers read the label, then this\nvalue.\n\nNote:\n In debug builds, such as `flet debug`, a determinate indicator whose\n `semantics_value` is not a number or a percentage raises an error. Release\n builds pass it through as is, but platforms may not read it as expected."
|
|
13203
13203
|
},
|
|
13204
13204
|
{
|
|
13205
13205
|
"name": "track_gap",
|
|
@@ -13810,6 +13810,109 @@
|
|
|
13810
13810
|
],
|
|
13811
13811
|
"methods": []
|
|
13812
13812
|
},
|
|
13813
|
+
{
|
|
13814
|
+
"name": "RefreshIndicator",
|
|
13815
|
+
"module": "flet.controls.material.refresh_indicator",
|
|
13816
|
+
"package": "flet",
|
|
13817
|
+
"kind": "control",
|
|
13818
|
+
"summary": "Shows a Material pull-to-refresh indicator above scrollable content.",
|
|
13819
|
+
"bases": [
|
|
13820
|
+
"LayoutControl"
|
|
13821
|
+
],
|
|
13822
|
+
"categories": [],
|
|
13823
|
+
"tags": [],
|
|
13824
|
+
"properties": [
|
|
13825
|
+
{
|
|
13826
|
+
"name": "content",
|
|
13827
|
+
"type": "Annotated[Control, V.visible_control()]",
|
|
13828
|
+
"default": "",
|
|
13829
|
+
"docstring": "The scrollable content, such as a :class:`~flet.ListView`, a\n:class:`~flet.GridView`, or a :class:`~flet.Column` with\n:attr:`~flet.Column.scroll` set.\n\nThe pull gesture is made on this content, so it must be scrollable, but it\ncan be pulled even when it is too short to scroll, such as an empty list.\n\nRaises:\n ValueError: If it is not visible."
|
|
13830
|
+
},
|
|
13831
|
+
{
|
|
13832
|
+
"name": "color",
|
|
13833
|
+
"type": "Optional[ColorValue]",
|
|
13834
|
+
"default": "None",
|
|
13835
|
+
"docstring": "The color of the progress indicator.\n\nDefaults to :attr:`flet.ColorScheme.primary`."
|
|
13836
|
+
},
|
|
13837
|
+
{
|
|
13838
|
+
"name": "bgcolor",
|
|
13839
|
+
"type": "Optional[ColorValue]",
|
|
13840
|
+
"default": "None",
|
|
13841
|
+
"docstring": "The color of the circle behind the progress indicator.\n\nDefaults to :attr:`flet.ProgressIndicatorTheme.refresh_bgcolor`, or else to\n:attr:`flet.Theme.canvas_color`."
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
"name": "displacement",
|
|
13845
|
+
"type": "Number",
|
|
13846
|
+
"default": "40.0",
|
|
13847
|
+
"docstring": "How far below the top of the :attr:`content` the indicator rests while\nrefreshing."
|
|
13848
|
+
},
|
|
13849
|
+
{
|
|
13850
|
+
"name": "edge_offset",
|
|
13851
|
+
"type": "Number",
|
|
13852
|
+
"default": "0.0",
|
|
13853
|
+
"docstring": "How far below the top of the :attr:`content` the indicator starts appearing,\nfor example to start below a header that overlaps the content."
|
|
13854
|
+
},
|
|
13855
|
+
{
|
|
13856
|
+
"name": "stroke_width",
|
|
13857
|
+
"type": "Number",
|
|
13858
|
+
"default": "2.0",
|
|
13859
|
+
"docstring": "The width of the progress indicator's line."
|
|
13860
|
+
},
|
|
13861
|
+
{
|
|
13862
|
+
"name": "elevation",
|
|
13863
|
+
"type": "Annotated[Number, V.ge(0)]",
|
|
13864
|
+
"default": "2.0",
|
|
13865
|
+
"docstring": "The elevation of the circle behind the progress indicator, which casts its\nshadow.\n\nRaises:\n ValueError: If it is not greater than or equal to `0`."
|
|
13866
|
+
},
|
|
13867
|
+
{
|
|
13868
|
+
"name": "trigger_mode",
|
|
13869
|
+
"type": "RefreshIndicatorTriggerMode",
|
|
13870
|
+
"default": "RefreshIndicatorTriggerMode.ON_EDGE",
|
|
13871
|
+
"docstring": "Where a pull gesture can start a refresh."
|
|
13872
|
+
},
|
|
13873
|
+
{
|
|
13874
|
+
"name": "handle_nested_scrolls",
|
|
13875
|
+
"type": "bool",
|
|
13876
|
+
"default": "False",
|
|
13877
|
+
"docstring": "Whether to react to the scrolling of scrollable controls nested in other\nscrollable controls in the :attr:`content`, rather than only to the\noutermost scrollable one.\n\nTurn it on when the scrolling that should pull the indicator happens in a\nnested scrollable, such as a :class:`~flet.ListView` inside a\n:class:`~flet.Column` with :attr:`~flet.Column.scroll` set."
|
|
13878
|
+
},
|
|
13879
|
+
{
|
|
13880
|
+
"name": "semantics_label",
|
|
13881
|
+
"type": "Optional[str]",
|
|
13882
|
+
"default": "None",
|
|
13883
|
+
"docstring": "The label screen readers announce for the progress indicator.\n\nDefaults to the localized \"Refresh\" label of the app's locale."
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
"name": "semantics_value",
|
|
13887
|
+
"type": "Optional[str]",
|
|
13888
|
+
"default": "None",
|
|
13889
|
+
"docstring": "The progress value screen readers announce for the progress indicator."
|
|
13890
|
+
}
|
|
13891
|
+
],
|
|
13892
|
+
"events": [
|
|
13893
|
+
{
|
|
13894
|
+
"name": "on_refresh",
|
|
13895
|
+
"type": "Optional[ControlEventHandler[RefreshIndicator]]",
|
|
13896
|
+
"default": "None",
|
|
13897
|
+
"docstring": "Called when the user pulls the indicator far enough, or :meth:`show` is\ncalled.\n\nThe progress indicator spins until this handler returns, so make it an\n`async` handler that awaits the refresh work."
|
|
13898
|
+
}
|
|
13899
|
+
],
|
|
13900
|
+
"methods": [
|
|
13901
|
+
{
|
|
13902
|
+
"name": "show",
|
|
13903
|
+
"args": [
|
|
13904
|
+
{
|
|
13905
|
+
"name": "at_top",
|
|
13906
|
+
"type": "bool",
|
|
13907
|
+
"default": "True"
|
|
13908
|
+
}
|
|
13909
|
+
],
|
|
13910
|
+
"return_type": "",
|
|
13911
|
+
"docstring": "Shows the indicator and calls :attr:`on_refresh`, as a pull would.\n\nArgs:\n at_top: Whether to show the indicator at the top of the\n :attr:`content`, rather than at its bottom.",
|
|
13912
|
+
"async": true
|
|
13913
|
+
}
|
|
13914
|
+
]
|
|
13915
|
+
},
|
|
13813
13916
|
{
|
|
13814
13917
|
"name": "NavigationBarDestination",
|
|
13815
13918
|
"module": "flet.controls.material.navigation_bar",
|
|
@@ -14807,7 +14910,7 @@
|
|
|
14807
14910
|
"module": "flet.controls.material.textfield",
|
|
14808
14911
|
"package": "flet",
|
|
14809
14912
|
"kind": "control",
|
|
14810
|
-
"summary": "A text field lets the user enter text, either with hardware keyboard or with an
|
|
14913
|
+
"summary": "A text field lets the user enter text, either with hardware keyboard or with an",
|
|
14811
14914
|
"bases": [
|
|
14812
14915
|
"FormFieldControl",
|
|
14813
14916
|
"AdaptiveControl"
|
|
@@ -14874,7 +14977,7 @@
|
|
|
14874
14977
|
"name": "can_reveal_password",
|
|
14875
14978
|
"type": "bool",
|
|
14876
14979
|
"default": "False",
|
|
14877
|
-
"docstring": "Displays a toggle icon button that allows revealing the entered password. Is shown
|
|
14980
|
+
"docstring": "Displays a toggle icon button that allows revealing the entered password. Is shown\nif both :attr:`password` and `can_reveal_password` are `True`.\n\nThe icon is displayed in the same location as :attr:`flet.FormFieldControl.suffix`\nand in case both `can_reveal_password`/:attr:`password` and `suffix` are\nprovided, then the :attr:`flet.FormFieldControl.suffix` won't be shown."
|
|
14878
14981
|
},
|
|
14879
14982
|
{
|
|
14880
14983
|
"name": "read_only",
|
|
@@ -14886,7 +14989,7 @@
|
|
|
14886
14989
|
"name": "shift_enter",
|
|
14887
14990
|
"type": "bool",
|
|
14888
14991
|
"default": "False",
|
|
14889
|
-
"docstring": "Changes the behavior of `Enter` button in :attr:`multiline` textfield to be
|
|
14992
|
+
"docstring": "Changes the behavior of `Enter` button in :attr:`multiline` textfield to be\nchat-like, i.e. new line can be added with `Shift`+`Enter` and pressing just\n`Enter` fires :attr:`on_submit` event."
|
|
14890
14993
|
},
|
|
14891
14994
|
{
|
|
14892
14995
|
"name": "ignore_up_down_keys",
|
|
@@ -15067,6 +15170,12 @@
|
|
|
15067
15170
|
"type": "Optional[Union[AutofillHint, list[AutofillHint]]]",
|
|
15068
15171
|
"default": "None",
|
|
15069
15172
|
"docstring": "Helps the autofill service identify the type of this text input.\n\nMore information\n[here](https://api.flutter.dev/flutter/material/TextField/autofillHints.html)."
|
|
15173
|
+
},
|
|
15174
|
+
{
|
|
15175
|
+
"name": "text_input_action",
|
|
15176
|
+
"type": "Optional[TextInputAction]",
|
|
15177
|
+
"default": "field(default=None, kw_only=True)",
|
|
15178
|
+
"docstring": "The action button of the onscreen keyboard, and what pressing it or `Enter` does.\n\n:attr:`~flet.TextInputAction.NEXT` and :attr:`~flet.TextInputAction.PREVIOUS`\nmove focus to the next or previous focusable control in reading order, which\ncan be a button in this field's :attr:`~flet.FormFieldControl.suffix`. When\nthat control is another text field, the keyboard stays open.\nSee :class:`~flet.TextInputAction` for what the other actions do and the\nplatforms that support them.\n\nOn a single-line field, every action also calls :attr:`on_submit`.\nOn a :attr:`multiline` field, the action doesn't call :attr:`on_submit`, and\nwith an action other than :attr:`~flet.TextInputAction.NEWLINE`, `Enter` and\nthe keyboard's action key usually perform the action instead of inserting a\nnew line. On the web, that includes `Shift+Enter` on a :attr:`shift_enter`\nfield.\n\nIf not set, a single-line field uses :attr:`~flet.TextInputAction.DONE` and a\n:attr:`multiline` field uses :attr:`~flet.TextInputAction.NEWLINE`.\n\nA change made while this field has focus applies the next time it gets focus.\n\nExample:\n ```python\n page.add(\n ft.TextField(label=\"Name\", text_input_action=ft.TextInputAction.NEXT),\n ft.TextField(label=\"Email\", text_input_action=ft.TextInputAction.DONE),\n )\n ```"
|
|
15070
15179
|
}
|
|
15071
15180
|
],
|
|
15072
15181
|
"events": [
|
|
@@ -17352,6 +17461,12 @@
|
|
|
17352
17461
|
"type": "ReleaseMode",
|
|
17353
17462
|
"default": "ReleaseMode.RELEASE",
|
|
17354
17463
|
"docstring": "Defines the release mode."
|
|
17464
|
+
},
|
|
17465
|
+
{
|
|
17466
|
+
"name": "audio_context",
|
|
17467
|
+
"type": "Optional[AudioContext]",
|
|
17468
|
+
"default": "None",
|
|
17469
|
+
"docstring": "Configures platform-specific audio session and focus behavior\n(for example mixing or ducking background music on Android/iOS).\n\nWhen unset (`None`), Flet does not apply a custom audio context, so the\nplayer keeps whatever context it already has. For a new player on mobile,\nthat means the usual effective behavior:\n:attr:`~flet_audio.AudioContextRoute.SYSTEM`,\n:attr:`~flet_audio.AudioContextFocus.GAIN`, `respect_silence=False`,\nand `stay_awake=False`.\n\nSee :class:`~flet_audio.AudioContext`."
|
|
17355
17470
|
}
|
|
17356
17471
|
],
|
|
17357
17472
|
"events": [
|
|
@@ -36434,7 +36549,7 @@
|
|
|
36434
36549
|
"name": "InputFilter",
|
|
36435
36550
|
"module": "flet.controls.material.textfield",
|
|
36436
36551
|
"package": "flet",
|
|
36437
|
-
"docstring": "An input filter that uses a regular expression to allow or deny/block certain
|
|
36552
|
+
"docstring": "An input filter that uses a regular expression to allow or deny/block certain\npatterns in the input.",
|
|
36438
36553
|
"fields": [
|
|
36439
36554
|
{
|
|
36440
36555
|
"name": "regex_string",
|
|
@@ -44892,6 +45007,24 @@
|
|
|
44892
45007
|
}
|
|
44893
45008
|
]
|
|
44894
45009
|
},
|
|
45010
|
+
{
|
|
45011
|
+
"name": "RefreshIndicatorTriggerMode",
|
|
45012
|
+
"module": "flet.controls.material.refresh_indicator",
|
|
45013
|
+
"package": "flet",
|
|
45014
|
+
"docstring": "Where a pull gesture can start a :class:`~flet.RefreshIndicator`.",
|
|
45015
|
+
"members": [
|
|
45016
|
+
{
|
|
45017
|
+
"name": "ON_EDGE",
|
|
45018
|
+
"value": "'onEdge'",
|
|
45019
|
+
"docstring": "Only when the scrollable content is already at its top edge, as the drag starts."
|
|
45020
|
+
},
|
|
45021
|
+
{
|
|
45022
|
+
"name": "ANYWHERE",
|
|
45023
|
+
"value": "'anywhere'",
|
|
45024
|
+
"docstring": "From anywhere in the scrollable content: a drag that starts scrolled down\nscrolls up to the top edge first, then pulls the indicator."
|
|
45025
|
+
}
|
|
45026
|
+
]
|
|
45027
|
+
},
|
|
44895
45028
|
{
|
|
44896
45029
|
"name": "NavigationBarLabelBehavior",
|
|
44897
45030
|
"module": "flet.controls.material.navigation_bar",
|
|
@@ -45043,7 +45176,7 @@
|
|
|
45043
45176
|
"name": "TextCapitalization",
|
|
45044
45177
|
"module": "flet.controls.material.textfield",
|
|
45045
45178
|
"package": "flet",
|
|
45046
|
-
"docstring": "Configures how the platform keyboard will select an uppercase or lowercase
|
|
45179
|
+
"docstring": "Configures how the platform keyboard will select an uppercase or lowercase\nkeyboard.\n\nOnly supports text keyboards, other keyboard types will ignore this\nconfiguration. Capitalization is locale-aware.",
|
|
45047
45180
|
"members": [
|
|
45048
45181
|
{
|
|
45049
45182
|
"name": "CHARACTERS",
|
|
@@ -45067,6 +45200,79 @@
|
|
|
45067
45200
|
}
|
|
45068
45201
|
]
|
|
45069
45202
|
},
|
|
45203
|
+
{
|
|
45204
|
+
"name": "TextInputAction",
|
|
45205
|
+
"module": "flet.controls.material.textfield",
|
|
45206
|
+
"package": "flet",
|
|
45207
|
+
"docstring": "The action button of the onscreen keyboard, and what pressing it or `Enter` does.\n\nEach action lists the mobile platforms whose keyboards support it. In debug\nbuilds on Android and iOS, such as an app running on the iOS Simulator, a field\nwith an action that the platform doesn't support gets focus without showing the\nkeyboard, and no error is reported. On Android, release builds show the\nkeyboard with its default action button instead.",
|
|
45208
|
+
"members": [
|
|
45209
|
+
{
|
|
45210
|
+
"name": "NONE",
|
|
45211
|
+
"value": "'none'",
|
|
45212
|
+
"docstring": "No action specific to the field; the platform decides how the keyboard looks.\n\nPressing the action button removes focus from the field, which closes the\nkeyboard. In a multiline field it inserts a new line instead.\n\nNote:\n Supported on Android only."
|
|
45213
|
+
},
|
|
45214
|
+
{
|
|
45215
|
+
"name": "UNSPECIFIED",
|
|
45216
|
+
"value": "'unspecified'",
|
|
45217
|
+
"docstring": "Lets the platform choose the most appropriate action.\n\nKeeps focus in the field, so the keyboard stays open.\n\nSupported on Android and iOS."
|
|
45218
|
+
},
|
|
45219
|
+
{
|
|
45220
|
+
"name": "DONE",
|
|
45221
|
+
"value": "'done'",
|
|
45222
|
+
"docstring": "The user is done entering input, such as at the end of a form.\n\nRemoves focus from the field, which closes the keyboard.\n\nSupported on Android and iOS."
|
|
45223
|
+
},
|
|
45224
|
+
{
|
|
45225
|
+
"name": "GO",
|
|
45226
|
+
"value": "'go'",
|
|
45227
|
+
"docstring": "Takes the user to the destination they typed, such as a URL.\n\nRemoves focus from the field, which closes the keyboard.\n\nSupported on Android and iOS."
|
|
45228
|
+
},
|
|
45229
|
+
{
|
|
45230
|
+
"name": "SEARCH",
|
|
45231
|
+
"value": "'search'",
|
|
45232
|
+
"docstring": "Runs a search for the typed text.\n\nRemoves focus from the field, which closes the keyboard.\n\nSupported on Android and iOS."
|
|
45233
|
+
},
|
|
45234
|
+
{
|
|
45235
|
+
"name": "SEND",
|
|
45236
|
+
"value": "'send'",
|
|
45237
|
+
"docstring": "Sends what the user typed, such as a message.\n\nRemoves focus from the field, which closes the keyboard.\n\nSupported on Android and iOS."
|
|
45238
|
+
},
|
|
45239
|
+
{
|
|
45240
|
+
"name": "NEXT",
|
|
45241
|
+
"value": "'next'",
|
|
45242
|
+
"docstring": "Moves focus to the next focusable control, keeping the keyboard open when it's\nanother text field.\n\nSupported on Android and iOS."
|
|
45243
|
+
},
|
|
45244
|
+
{
|
|
45245
|
+
"name": "PREVIOUS",
|
|
45246
|
+
"value": "'previous'",
|
|
45247
|
+
"docstring": "Moves focus to the previous focusable control, keeping the keyboard open when\nit's another text field.\n\nNote:\n Supported on Android only."
|
|
45248
|
+
},
|
|
45249
|
+
{
|
|
45250
|
+
"name": "CONTINUE_ACTION",
|
|
45251
|
+
"value": "'continueAction'",
|
|
45252
|
+
"docstring": "Continues to the next step, such as the next page of a sign-up flow.\n\nDoesn't move focus: the field keeps it, so the keyboard stays open.\n\nNote:\n Supported on iOS only."
|
|
45253
|
+
},
|
|
45254
|
+
{
|
|
45255
|
+
"name": "JOIN",
|
|
45256
|
+
"value": "'join'",
|
|
45257
|
+
"docstring": "Joins something, such as a wireless network.\n\nKeeps focus in the field, so the keyboard stays open.\n\nNote:\n Supported on iOS only."
|
|
45258
|
+
},
|
|
45259
|
+
{
|
|
45260
|
+
"name": "ROUTE",
|
|
45261
|
+
"value": "'route'",
|
|
45262
|
+
"docstring": "Shows routing options, such as driving directions.\n\nKeeps focus in the field, so the keyboard stays open.\n\nNote:\n Supported on iOS only."
|
|
45263
|
+
},
|
|
45264
|
+
{
|
|
45265
|
+
"name": "EMERGENCY_CALL",
|
|
45266
|
+
"value": "'emergencyCall'",
|
|
45267
|
+
"docstring": "Calls emergency services.\n\nKeeps focus in the field, so the keyboard stays open.\n\nNote:\n Supported on iOS only."
|
|
45268
|
+
},
|
|
45269
|
+
{
|
|
45270
|
+
"name": "NEWLINE",
|
|
45271
|
+
"value": "'newline'",
|
|
45272
|
+
"docstring": "Inserts a new line into a multiline field.\n\nOn a single-line field, it removes focus from the field like :attr:`DONE`.\n\nSupported on Android and iOS."
|
|
45273
|
+
}
|
|
45274
|
+
]
|
|
45275
|
+
},
|
|
45070
45276
|
{
|
|
45071
45277
|
"name": "OverlayVisibilityMode",
|
|
45072
45278
|
"module": "flet.controls.cupertino.cupertino_textfield",
|
|
@@ -45600,6 +45806,52 @@
|
|
|
45600
45806
|
}
|
|
45601
45807
|
]
|
|
45602
45808
|
},
|
|
45809
|
+
{
|
|
45810
|
+
"name": "AudioContextFocus",
|
|
45811
|
+
"module": "flet_audio.types",
|
|
45812
|
+
"package": "flet-audio",
|
|
45813
|
+
"docstring": "How the audio player requests and handles audio focus on mobile platforms.",
|
|
45814
|
+
"members": [
|
|
45815
|
+
{
|
|
45816
|
+
"name": "GAIN",
|
|
45817
|
+
"value": "'gain'",
|
|
45818
|
+
"docstring": "Requests permanent audio focus, pausing other background audio apps."
|
|
45819
|
+
},
|
|
45820
|
+
{
|
|
45821
|
+
"name": "DUCK_OTHERS",
|
|
45822
|
+
"value": "'duckOthers'",
|
|
45823
|
+
"docstring": "Lowers the volume of other audio apps while this audio plays.\n\nWarning:\n Due to iOS platform limitations, cannot be combined with\n :attr:`~flet_audio.AudioContext.respect_silence` set to `True`."
|
|
45824
|
+
},
|
|
45825
|
+
{
|
|
45826
|
+
"name": "MIX_WITH_OTHERS",
|
|
45827
|
+
"value": "'mixWithOthers'",
|
|
45828
|
+
"docstring": "Mixes with other background audio apps without pausing or ducking them.\n\nWarning:\n Due to iOS platform limitations, cannot be combined with\n :attr:`~flet_audio.AudioContext.respect_silence` set to `True`."
|
|
45829
|
+
}
|
|
45830
|
+
]
|
|
45831
|
+
},
|
|
45832
|
+
{
|
|
45833
|
+
"name": "AudioContextRoute",
|
|
45834
|
+
"module": "flet_audio.types",
|
|
45835
|
+
"package": "flet-audio",
|
|
45836
|
+
"docstring": "Audio output routing behavior.",
|
|
45837
|
+
"members": [
|
|
45838
|
+
{
|
|
45839
|
+
"name": "SYSTEM",
|
|
45840
|
+
"value": "'system'",
|
|
45841
|
+
"docstring": "Uses the default system audio route."
|
|
45842
|
+
},
|
|
45843
|
+
{
|
|
45844
|
+
"name": "SPEAKER",
|
|
45845
|
+
"value": "'speaker'",
|
|
45846
|
+
"docstring": "Forces audio output through the built-in speaker.\n\nWarning:\n Due to iOS platform limitations, cannot be combined with\n :attr:`~flet_audio.AudioContext.respect_silence` set to `True`."
|
|
45847
|
+
},
|
|
45848
|
+
{
|
|
45849
|
+
"name": "EARPIECE",
|
|
45850
|
+
"value": "'earpiece'",
|
|
45851
|
+
"docstring": "Routes audio output to the earpiece receiver."
|
|
45852
|
+
}
|
|
45853
|
+
]
|
|
45854
|
+
},
|
|
45603
45855
|
{
|
|
45604
45856
|
"name": "AudioRecorderState",
|
|
45605
45857
|
"module": "flet_audio_recorder.types",
|
|
@@ -90027,19 +90279,20 @@
|
|
|
90027
90279
|
"location",
|
|
90028
90280
|
"camera",
|
|
90029
90281
|
"microphone",
|
|
90030
|
-
"photo_library"
|
|
90282
|
+
"photo_library",
|
|
90283
|
+
"biometric"
|
|
90031
90284
|
],
|
|
90032
90285
|
"help": "The list of pre-defined cross-platform permissions for iOS, Android and macOS builds"
|
|
90033
90286
|
},
|
|
90034
90287
|
{
|
|
90035
90288
|
"name": "--deep-linking-scheme",
|
|
90036
90289
|
"type": "str",
|
|
90037
|
-
"help": "Deep linking URL scheme to configure for iOS and Android builds,
|
|
90290
|
+
"help": "Deep linking URL scheme to configure for iOS and Android builds, e.g. `myapp` or `https`"
|
|
90038
90291
|
},
|
|
90039
90292
|
{
|
|
90040
90293
|
"name": "--deep-linking-host",
|
|
90041
90294
|
"type": "str",
|
|
90042
|
-
"help": "Deep linking URL host for iOS and Android builds"
|
|
90295
|
+
"help": "Deep linking URL host for iOS and Android builds; optional except for `http` and `https` schemes. Requires --deep-linking-scheme"
|
|
90043
90296
|
},
|
|
90044
90297
|
{
|
|
90045
90298
|
"name": "--android-signing-key-store",
|
|
@@ -90537,19 +90790,20 @@
|
|
|
90537
90790
|
"location",
|
|
90538
90791
|
"camera",
|
|
90539
90792
|
"microphone",
|
|
90540
|
-
"photo_library"
|
|
90793
|
+
"photo_library",
|
|
90794
|
+
"biometric"
|
|
90541
90795
|
],
|
|
90542
90796
|
"help": "The list of pre-defined cross-platform permissions for iOS, Android and macOS builds"
|
|
90543
90797
|
},
|
|
90544
90798
|
{
|
|
90545
90799
|
"name": "--deep-linking-scheme",
|
|
90546
90800
|
"type": "str",
|
|
90547
|
-
"help": "Deep linking URL scheme to configure for iOS and Android builds,
|
|
90801
|
+
"help": "Deep linking URL scheme to configure for iOS and Android builds, e.g. `myapp` or `https`"
|
|
90548
90802
|
},
|
|
90549
90803
|
{
|
|
90550
90804
|
"name": "--deep-linking-host",
|
|
90551
90805
|
"type": "str",
|
|
90552
|
-
"help": "Deep linking URL host for iOS and Android builds"
|
|
90806
|
+
"help": "Deep linking URL host for iOS and Android builds; optional except for `http` and `https` schemes. Requires --deep-linking-scheme"
|
|
90553
90807
|
},
|
|
90554
90808
|
{
|
|
90555
90809
|
"name": "--android-signing-key-store",
|
|
@@ -91004,19 +91258,20 @@
|
|
|
91004
91258
|
"location",
|
|
91005
91259
|
"camera",
|
|
91006
91260
|
"microphone",
|
|
91007
|
-
"photo_library"
|
|
91261
|
+
"photo_library",
|
|
91262
|
+
"biometric"
|
|
91008
91263
|
],
|
|
91009
91264
|
"help": "The list of pre-defined cross-platform permissions for iOS, Android and macOS builds"
|
|
91010
91265
|
},
|
|
91011
91266
|
{
|
|
91012
91267
|
"name": "--deep-linking-scheme",
|
|
91013
91268
|
"type": "str",
|
|
91014
|
-
"help": "Deep linking URL scheme to configure for iOS and Android builds,
|
|
91269
|
+
"help": "Deep linking URL scheme to configure for iOS and Android builds, e.g. `myapp` or `https`"
|
|
91015
91270
|
},
|
|
91016
91271
|
{
|
|
91017
91272
|
"name": "--deep-linking-host",
|
|
91018
91273
|
"type": "str",
|
|
91019
|
-
"help": "Deep linking URL host for iOS and Android builds"
|
|
91274
|
+
"help": "Deep linking URL host for iOS and Android builds; optional except for `http` and `https` schemes. Requires --deep-linking-scheme"
|
|
91020
91275
|
},
|
|
91021
91276
|
{
|
|
91022
91277
|
"name": "--android-signing-key-store",
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-mcp
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev4
|
|
4
4
|
Summary: Flet MCP server for LLM agents
|
|
5
5
|
Author-email: "Appveyor Systems Inc." <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -13,8 +13,8 @@ Requires-Dist: fastmcp>=2.0.0
|
|
|
13
13
|
Provides-Extra: build
|
|
14
14
|
Requires-Dist: markdownify>=0.14.1; extra == "build"
|
|
15
15
|
Requires-Dist: griffe>=1.6.2; extra == "build"
|
|
16
|
-
Requires-Dist: flet==1.1.0.
|
|
17
|
-
Requires-Dist: flet-cli==1.1.0.
|
|
16
|
+
Requires-Dist: flet==1.1.0.dev4; extra == "build"
|
|
17
|
+
Requires-Dist: flet-cli==1.1.0.dev4; extra == "build"
|
|
18
18
|
|
|
19
19
|
# flet-mcp
|
|
20
20
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|