microsoft-agents-hosting-core 0.4.0.dev16__py3-none-any.whl → 0.5.0.dev3__py3-none-any.whl
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.
- microsoft_agents/hosting/core/__init__.py +2 -1
- microsoft_agents/hosting/core/_oauth/__init__.py +3 -0
- microsoft_agents/hosting/core/_oauth/_flow_state.py +2 -2
- microsoft_agents/hosting/core/_oauth/_oauth_flow.py +26 -23
- microsoft_agents/hosting/core/activity_handler.py +12 -11
- microsoft_agents/hosting/core/app/__init__.py +2 -1
- microsoft_agents/hosting/core/app/_routes/__init__.py +13 -0
- microsoft_agents/hosting/core/app/_routes/_route.py +89 -0
- microsoft_agents/hosting/core/app/_routes/_route_list.py +32 -0
- microsoft_agents/hosting/core/app/_routes/route_rank.py +14 -0
- microsoft_agents/hosting/core/app/_type_defs.py +15 -0
- microsoft_agents/hosting/core/app/agent_application.py +85 -45
- microsoft_agents/hosting/core/app/input_file.py +15 -11
- microsoft_agents/hosting/core/app/oauth/__init__.py +4 -0
- microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +5 -0
- microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +9 -4
- microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +6 -4
- microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +8 -3
- microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +4 -0
- microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +5 -0
- microsoft_agents/hosting/core/app/oauth/auth_handler.py +4 -2
- microsoft_agents/hosting/core/app/oauth/authorization.py +6 -1
- microsoft_agents/hosting/core/authorization/access_token_provider_base.py +3 -0
- microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +3 -0
- microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +3 -0
- microsoft_agents/hosting/core/authorization/auth_types.py +3 -0
- microsoft_agents/hosting/core/authorization/connections.py +3 -0
- microsoft_agents/hosting/core/authorization/jwt_token_validator.py +3 -0
- microsoft_agents/hosting/core/channel_adapter.py +9 -9
- microsoft_agents/hosting/core/channel_api_handler_protocol.py +3 -0
- microsoft_agents/hosting/core/channel_service_adapter.py +1 -4
- microsoft_agents/hosting/core/channel_service_client_factory_base.py +3 -0
- microsoft_agents/hosting/core/client/agent_conversation_reference.py +3 -0
- microsoft_agents/hosting/core/client/channel_factory_protocol.py +3 -0
- microsoft_agents/hosting/core/client/channel_host_protocol.py +3 -0
- microsoft_agents/hosting/core/client/channel_info_protocol.py +3 -0
- microsoft_agents/hosting/core/client/channel_protocol.py +3 -0
- microsoft_agents/hosting/core/client/channels_configuration.py +3 -0
- microsoft_agents/hosting/core/client/configuration_channel_host.py +3 -0
- microsoft_agents/hosting/core/client/conversation_constants.py +3 -0
- microsoft_agents/hosting/core/client/conversation_id_factory.py +3 -0
- microsoft_agents/hosting/core/client/conversation_id_factory_options.py +3 -0
- microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +3 -0
- microsoft_agents/hosting/core/client/http_agent_channel.py +3 -0
- microsoft_agents/hosting/core/client/http_agent_channel_factory.py +3 -0
- microsoft_agents/hosting/core/connector/client/connector_client.py +0 -3
- microsoft_agents/hosting/core/connector/client/user_token_client.py +40 -43
- microsoft_agents/hosting/core/connector/user_token_base.py +77 -1
- microsoft_agents/hosting/core/connector/user_token_client_base.py +3 -0
- microsoft_agents/hosting/core/rest_channel_service_client_factory.py +3 -0
- microsoft_agents/hosting/core/state/agent_state.py +16 -20
- microsoft_agents/hosting/core/storage/error_handling.py +3 -0
- microsoft_agents/hosting/core/storage/memory_storage.py +3 -0
- microsoft_agents/hosting/core/storage/storage.py +3 -0
- microsoft_agents/hosting/core/storage/store_item.py +3 -0
- {microsoft_agents_hosting_core-0.4.0.dev16.dist-info → microsoft_agents_hosting_core-0.5.0.dev3.dist-info}/METADATA +2 -2
- {microsoft_agents_hosting_core-0.4.0.dev16.dist-info → microsoft_agents_hosting_core-0.5.0.dev3.dist-info}/RECORD +59 -55
- microsoft_agents/hosting/core/app/route.py +0 -32
- {microsoft_agents_hosting_core-0.4.0.dev16.dist-info → microsoft_agents_hosting_core-0.5.0.dev3.dist-info}/WHEEL +0 -0
- {microsoft_agents_hosting_core-0.4.0.dev16.dist-info → microsoft_agents_hosting_core-0.5.0.dev3.dist-info}/top_level.txt +0 -0
|
@@ -1,93 +1,97 @@
|
|
|
1
|
-
microsoft_agents/hosting/core/__init__.py,sha256=
|
|
2
|
-
microsoft_agents/hosting/core/activity_handler.py,sha256=
|
|
1
|
+
microsoft_agents/hosting/core/__init__.py,sha256=EN6Et-e7n5n_nhXy5ZKNiRtjMfEgWkoNri_gk8KEYLw,4862
|
|
2
|
+
microsoft_agents/hosting/core/activity_handler.py,sha256=aXNtqHuxXdkIYUylWohRZwmBd4Kw0aSc3a1PTdDdXDA,26811
|
|
3
3
|
microsoft_agents/hosting/core/agent.py,sha256=K8v84y8ULP7rbcMKg8LxaM3haAq7f1oHFCLy3AAphQE,574
|
|
4
4
|
microsoft_agents/hosting/core/card_factory.py,sha256=UDmPEpOk2SpEr9ShN9Q0CiaI_GTD3qjHgkDMOWinW9I,6926
|
|
5
|
-
microsoft_agents/hosting/core/channel_adapter.py,sha256=
|
|
6
|
-
microsoft_agents/hosting/core/channel_api_handler_protocol.py,sha256=
|
|
7
|
-
microsoft_agents/hosting/core/channel_service_adapter.py,sha256=
|
|
8
|
-
microsoft_agents/hosting/core/channel_service_client_factory_base.py,sha256=
|
|
5
|
+
microsoft_agents/hosting/core/channel_adapter.py,sha256=LVHSueET6kzv-N_OCdl3F0yL4-OvZCMKMsj5tpPzZD0,10396
|
|
6
|
+
microsoft_agents/hosting/core/channel_api_handler_protocol.py,sha256=RO59hiOYx7flQVWhX6VGvfpFPoKVkdT_la-7WhUl8UM,4506
|
|
7
|
+
microsoft_agents/hosting/core/channel_service_adapter.py,sha256=pLhHJ86HP_6z8V5HJW9vvE8u98MP028HOYkPmvtUESA,17263
|
|
8
|
+
microsoft_agents/hosting/core/channel_service_client_factory_base.py,sha256=ArMAUt84Kzq17Oyqz6o8HZrc01UqAAmNCSBTShv3rgk,1704
|
|
9
9
|
microsoft_agents/hosting/core/message_factory.py,sha256=F9QJBF4yBupHXxOW984ZzZomVEG57t9IUnTHwub-lX0,7822
|
|
10
10
|
microsoft_agents/hosting/core/middleware_set.py,sha256=TBsBs4KwAfKyHlQTlG4bl1y5UjkBzeMDs5w7LNB-Bi4,2585
|
|
11
|
-
microsoft_agents/hosting/core/rest_channel_service_client_factory.py,sha256=
|
|
11
|
+
microsoft_agents/hosting/core/rest_channel_service_client_factory.py,sha256=afLeWgLz9N417Egc_6LBfnYNiuuwTEcSBefeOvTQ_H4,6217
|
|
12
12
|
microsoft_agents/hosting/core/turn_context.py,sha256=df7TB1uXurgoAk338OF6taVfVgS58v662A9D9-GLP64,14794
|
|
13
|
-
microsoft_agents/hosting/core/_oauth/__init__.py,sha256=
|
|
14
|
-
microsoft_agents/hosting/core/_oauth/_flow_state.py,sha256=
|
|
13
|
+
microsoft_agents/hosting/core/_oauth/__init__.py,sha256=sU1HsIXbETRYwnudtFc6GrNbM6C3oYjmruqXc6kIAFw,405
|
|
14
|
+
microsoft_agents/hosting/core/_oauth/_flow_state.py,sha256=BQbXn0a3Fw4aozS-WSjL0Y7vEdb4eua1ZitSr0qZ6bE,2207
|
|
15
15
|
microsoft_agents/hosting/core/_oauth/_flow_storage_client.py,sha256=1MLD8m_qw0jSLqsyNaaWHm7aFkdjNWOE7xhV1rfbU64,3413
|
|
16
|
-
microsoft_agents/hosting/core/_oauth/_oauth_flow.py,sha256=
|
|
17
|
-
microsoft_agents/hosting/core/app/__init__.py,sha256=
|
|
18
|
-
microsoft_agents/hosting/core/app/
|
|
16
|
+
microsoft_agents/hosting/core/_oauth/_oauth_flow.py,sha256=vgg_sQLYr83YA0F7aQ1K5j8vEATw7ZS151ODkpCGYAM,12211
|
|
17
|
+
microsoft_agents/hosting/core/app/__init__.py,sha256=GZQdog7BBMA8uD9iaRMNeRJf12rJZB3bAKFAD8Y8dVo,1228
|
|
18
|
+
microsoft_agents/hosting/core/app/_type_defs.py,sha256=b5VZFWnQ5ONUZMtFxw7Q-mbbxIUSJ7RXcCXjqdHwSQw,438
|
|
19
|
+
microsoft_agents/hosting/core/app/agent_application.py,sha256=81oMh9En7wtuZdsP_6tj0eEu05LYDuRp9ko9TJ1x-aw,30014
|
|
19
20
|
microsoft_agents/hosting/core/app/app_error.py,sha256=JgYBgv2EKe9Q2TFi5FeG_RneulBEa5SyBpWSF-duBzE,301
|
|
20
21
|
microsoft_agents/hosting/core/app/app_options.py,sha256=P3XTFFuQCnEcHixfdmr5RPG-Wli4c1VSmCMRKVBBLsw,2792
|
|
21
|
-
microsoft_agents/hosting/core/app/input_file.py,sha256=
|
|
22
|
+
microsoft_agents/hosting/core/app/input_file.py,sha256=AEzVAnAPO1V7MWDI_uoZfcYY8Oog3XgvEpAeO-tATeY,1546
|
|
22
23
|
microsoft_agents/hosting/core/app/query.py,sha256=lToDWFG7exUyPC5zxvna89013fDPKrUGOI8jyWFoUYk,328
|
|
23
|
-
microsoft_agents/hosting/core/app/route.py,sha256=MvSIrtAM9xRPWgIuXf4oVPOcf0jYiqtMZflDK-CuPGA,871
|
|
24
24
|
microsoft_agents/hosting/core/app/typing_indicator.py,sha256=CxLtgDTr6a8ELqUujHMvAh_CYpm3mwhomH-tfTQGSe8,1558
|
|
25
|
-
microsoft_agents/hosting/core/app/
|
|
26
|
-
microsoft_agents/hosting/core/app/
|
|
27
|
-
microsoft_agents/hosting/core/app/
|
|
28
|
-
microsoft_agents/hosting/core/app/
|
|
29
|
-
microsoft_agents/hosting/core/app/oauth/
|
|
30
|
-
microsoft_agents/hosting/core/app/oauth/
|
|
31
|
-
microsoft_agents/hosting/core/app/oauth/
|
|
32
|
-
microsoft_agents/hosting/core/app/oauth/
|
|
33
|
-
microsoft_agents/hosting/core/app/oauth/
|
|
25
|
+
microsoft_agents/hosting/core/app/_routes/__init__.py,sha256=faz05Hk5Z1IGIXUwXljohym0lzE8nW3CbTpXlE-VcB0,300
|
|
26
|
+
microsoft_agents/hosting/core/app/_routes/_route.py,sha256=gs5XVi74H1wzDShpZd9ZXVDrREjricFYVPz10XrK06c,2669
|
|
27
|
+
microsoft_agents/hosting/core/app/_routes/_route_list.py,sha256=fe1-wmFaJJqYkWFcbNhJ9OMH954TneQR0-uoxyKQVlU,874
|
|
28
|
+
microsoft_agents/hosting/core/app/_routes/route_rank.py,sha256=-UwmLMCtgLT2cWnWvLfE2puV0RuQfI2m3WyEvkBkSBg,324
|
|
29
|
+
microsoft_agents/hosting/core/app/oauth/__init__.py,sha256=eHx-vmW2Ew8HULSfvAmV8F9TBXXLcTPsBe3XP4JEDdY,556
|
|
30
|
+
microsoft_agents/hosting/core/app/oauth/_sign_in_response.py,sha256=H5VBX69WiYXGALzCDVnF_-Y0brbafbJgfF4mS2wZSr0,851
|
|
31
|
+
microsoft_agents/hosting/core/app/oauth/_sign_in_state.py,sha256=lC2otIFcQthAZ8kqkYxV3wLBPOqzW9MRVUbdqQPtEdM,1159
|
|
32
|
+
microsoft_agents/hosting/core/app/oauth/auth_handler.py,sha256=KyhEfpKtoVKcapOt4szpDdbgk_KSwXF46GGOeJrmsRI,3464
|
|
33
|
+
microsoft_agents/hosting/core/app/oauth/authorization.py,sha256=TFKibquBybHbCnmnmcMYkL79CQrcOZrpaci26MtseoI,16115
|
|
34
|
+
microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py,sha256=ZQuXF-IZrJv_hOgt-sdRFAUyIpRXaYqYBuyEJWJRcfU,376
|
|
35
|
+
microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py,sha256=W36Y1m0zFaRmdt-cL3ZKoHxx95y0O7YJF9D0cXx_s24,4185
|
|
36
|
+
microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py,sha256=o_pn5ZO7O-YvcC5NGlUgcCmVLD-f6KwQ5CRIsPp8zQE,10186
|
|
37
|
+
microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py,sha256=7rGzYRLOzcy9vGAwnzjyImEaCy0G_bRUwufuXp3xiwk,7145
|
|
34
38
|
microsoft_agents/hosting/core/app/state/__init__.py,sha256=aL_8GB7_de8LUSEOgTJQFRx1kvgvJHHJVv7nWAoRPmU,331
|
|
35
39
|
microsoft_agents/hosting/core/app/state/conversation_state.py,sha256=LfcSwvhaU0JeAahwg9YA9uz0kKHa9c6Y3XBAWqwuMg0,1593
|
|
36
40
|
microsoft_agents/hosting/core/app/state/state.py,sha256=-2vN8MIYs4d2PAEGGlxV-dgBRZG0BT_eHfgvt59zyow,5353
|
|
37
41
|
microsoft_agents/hosting/core/app/state/temp_state.py,sha256=Oh7K5-uYf50Z-lBXqttSMl2N1lRakktOmjLlIAKcEsM,3501
|
|
38
42
|
microsoft_agents/hosting/core/app/state/turn_state.py,sha256=rEIRkwBsn3MPbrfKNjX8XqqbF-4THepMXU75KvDsBvM,9868
|
|
39
43
|
microsoft_agents/hosting/core/authorization/__init__.py,sha256=pOTmTJFS5CMPEcHRadBTgrbWUP5lOIxsPMgTreFq7mw,634
|
|
40
|
-
microsoft_agents/hosting/core/authorization/access_token_provider_base.py,sha256=
|
|
41
|
-
microsoft_agents/hosting/core/authorization/agent_auth_configuration.py,sha256=
|
|
42
|
-
microsoft_agents/hosting/core/authorization/anonymous_token_provider.py,sha256=
|
|
43
|
-
microsoft_agents/hosting/core/authorization/auth_types.py,sha256=
|
|
44
|
+
microsoft_agents/hosting/core/authorization/access_token_provider_base.py,sha256=AQROUB0U3C1vo4skM-bMOOLerqI0PrM2adKBBN7zJJo,1634
|
|
45
|
+
microsoft_agents/hosting/core/authorization/agent_auth_configuration.py,sha256=meLUO0Mwb9SBr01dLvYS9q3xuZyndCsb_gIx0r7__Sk,2944
|
|
46
|
+
microsoft_agents/hosting/core/authorization/anonymous_token_provider.py,sha256=AzmwU7uqG6zX3Qw5_4Lenv18gHfLM55D6e_n2wGupy4,1064
|
|
47
|
+
microsoft_agents/hosting/core/authorization/auth_types.py,sha256=Fg_ywEItm3xL_DBUNzi0QsfDPVY5S3HlAiNw6I2SW64,374
|
|
44
48
|
microsoft_agents/hosting/core/authorization/authentication_constants.py,sha256=ABEwosDCMYhubDiGrD8QULboTkACqDvNp_x_XBPt6dQ,4618
|
|
45
49
|
microsoft_agents/hosting/core/authorization/claims_identity.py,sha256=ttnJpQx-2uAlwby_xRRmyHmyUPjzQjW86GO9FVzZK3Y,2501
|
|
46
|
-
microsoft_agents/hosting/core/authorization/connections.py,sha256=
|
|
47
|
-
microsoft_agents/hosting/core/authorization/jwt_token_validator.py,sha256=
|
|
50
|
+
microsoft_agents/hosting/core/authorization/connections.py,sha256=f_NQpuJzhCBNZLk56SK4kvb_V_g2x2XMnFwWbYyDX_s,1247
|
|
51
|
+
microsoft_agents/hosting/core/authorization/jwt_token_validator.py,sha256=LzVC4xfWieBDXqPH4kjM5ec2idEmkzo9-v3tTxywgdY,1966
|
|
48
52
|
microsoft_agents/hosting/core/client/__init__.py,sha256=HMWtSUXu1akaX6qtDx412Lr8vLi5SEslc-DYrvZAPWs,1299
|
|
49
|
-
microsoft_agents/hosting/core/client/agent_conversation_reference.py,sha256=
|
|
50
|
-
microsoft_agents/hosting/core/client/channel_factory_protocol.py,sha256=
|
|
51
|
-
microsoft_agents/hosting/core/client/channel_host_protocol.py,sha256=
|
|
52
|
-
microsoft_agents/hosting/core/client/channel_info_protocol.py,sha256=
|
|
53
|
-
microsoft_agents/hosting/core/client/channel_protocol.py,sha256=
|
|
54
|
-
microsoft_agents/hosting/core/client/channels_configuration.py,sha256=
|
|
55
|
-
microsoft_agents/hosting/core/client/configuration_channel_host.py,sha256=
|
|
56
|
-
microsoft_agents/hosting/core/client/conversation_constants.py,sha256=
|
|
57
|
-
microsoft_agents/hosting/core/client/conversation_id_factory.py,sha256=
|
|
58
|
-
microsoft_agents/hosting/core/client/conversation_id_factory_options.py,sha256=
|
|
59
|
-
microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py,sha256=
|
|
60
|
-
microsoft_agents/hosting/core/client/http_agent_channel.py,sha256=
|
|
61
|
-
microsoft_agents/hosting/core/client/http_agent_channel_factory.py,sha256=
|
|
53
|
+
microsoft_agents/hosting/core/client/agent_conversation_reference.py,sha256=3Zf3IGbJVWv4pF6kA6vtWkpV3Ap3z6jVkimeEtFMvJI,288
|
|
54
|
+
microsoft_agents/hosting/core/client/channel_factory_protocol.py,sha256=r270WJwySugnzY4AITT8oSRQHKqeqYAknkmD2eq_CqA,394
|
|
55
|
+
microsoft_agents/hosting/core/client/channel_host_protocol.py,sha256=jLJvNkOPFdWQUBK9CioGEDUm-PSfiEsC9k2t71jkcGA,776
|
|
56
|
+
microsoft_agents/hosting/core/client/channel_info_protocol.py,sha256=2KuQnQP5ndP5r_mxNc6VAYTsT3gLIORbG1WkrOn5rv8,279
|
|
57
|
+
microsoft_agents/hosting/core/client/channel_protocol.py,sha256=aZ_gqsL_mNRKDijPBnpS7MdkDjlQKiJjnBD9oy_VqVo,587
|
|
58
|
+
microsoft_agents/hosting/core/client/channels_configuration.py,sha256=CwDba8Gnkf5QKiqfOmhWAgzKpnpLfI82vuSprJnECKw,1084
|
|
59
|
+
microsoft_agents/hosting/core/client/configuration_channel_host.py,sha256=RhTts12p-HWttyREOJ1mFqJIEj1Rg-UFXdTVeIYL_7s,2510
|
|
60
|
+
microsoft_agents/hosting/core/client/conversation_constants.py,sha256=kupyCwqxb4PStM9JNSz4E7X97jEhXGKF_l6Cu5WUQrU,213
|
|
61
|
+
microsoft_agents/hosting/core/client/conversation_id_factory.py,sha256=iwIPUlpWiLOwwAB92fdkHQdgXD85LUOatLHtqL3iIi8,2592
|
|
62
|
+
microsoft_agents/hosting/core/client/conversation_id_factory_options.py,sha256=rDZg-hPtTjrHxknYHHgegmYaVm2gvYuNawrB6mjOa4U,633
|
|
63
|
+
microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py,sha256=fjQawuVwiQm-pdDMDZBUIdlnKyPe1gg-0tN3fNxrMr8,1323
|
|
64
|
+
microsoft_agents/hosting/core/client/http_agent_channel.py,sha256=2D2sjw8HtZvp_43xDjTLXp6_DLNrXziYhNmob14RwCM,3634
|
|
65
|
+
microsoft_agents/hosting/core/client/http_agent_channel_factory.py,sha256=ESY2EJwZMdSAa5I06pFHc89vO5Lflp86O6wJAnfz2qI,523
|
|
62
66
|
microsoft_agents/hosting/core/connector/__init__.py,sha256=Dkc1GAviMYXw5BFvP6xgVhrb1UJUuLiHbfEkjminnOc,522
|
|
63
67
|
microsoft_agents/hosting/core/connector/agent_sign_in_base.py,sha256=Bk3Ssg3ilk1Ld2mSjsCYgfqvy6pq1us9Ja2j4lF7CTc,647
|
|
64
68
|
microsoft_agents/hosting/core/connector/attachments_base.py,sha256=eqr5dbrc7oE77xeFfr-5UIi4gkDvOp5zWbZ02Qb4IDI,507
|
|
65
69
|
microsoft_agents/hosting/core/connector/connector_client_base.py,sha256=DKog6C1Z8V9r_Lp-IvXUiAbJN_iJMFary5FvejjHlaw,583
|
|
66
70
|
microsoft_agents/hosting/core/connector/conversations_base.py,sha256=fM5PCDaSkxMPatNo4WTcbjxLfrHydd51WX9_2_2F-DM,3754
|
|
67
71
|
microsoft_agents/hosting/core/connector/get_product_info.py,sha256=SDxPqBCzzQLEUsaZ4S9lB95ibo9LMGd1-K5Uf7vcAwo,962
|
|
68
|
-
microsoft_agents/hosting/core/connector/user_token_base.py,sha256=
|
|
69
|
-
microsoft_agents/hosting/core/connector/user_token_client_base.py,sha256=
|
|
72
|
+
microsoft_agents/hosting/core/connector/user_token_base.py,sha256=h_l5D1SghN2RrUkFcKWQhCHlO9r7akMbzsm2x8MvomI,3639
|
|
73
|
+
microsoft_agents/hosting/core/connector/user_token_client_base.py,sha256=dfUTUsBNOzWze9_JldAeLe73sydSDzlKyMKMvj48g2E,471
|
|
70
74
|
microsoft_agents/hosting/core/connector/client/__init__.py,sha256=6JdKhmm7btmo0omxMBd8PJbtGFk0cnMwVUoStyW7Ft0,143
|
|
71
|
-
microsoft_agents/hosting/core/connector/client/connector_client.py,sha256=
|
|
72
|
-
microsoft_agents/hosting/core/connector/client/user_token_client.py,sha256=
|
|
75
|
+
microsoft_agents/hosting/core/connector/client/connector_client.py,sha256=UsvQrWROhrFQxyBu6TY9ej3wUS__VpcdpNZG8fu4-Tc,23398
|
|
76
|
+
microsoft_agents/hosting/core/connector/client/user_token_client.py,sha256=1ey1mqV7pkC94Xl36PVrx5TOyumJQbpscbm2W9uvpHs,10609
|
|
73
77
|
microsoft_agents/hosting/core/connector/teams/__init__.py,sha256=3ZMPGYyZ15EwvfQzfJJQy1J58oIt4InSxibl3BN6R54,100
|
|
74
78
|
microsoft_agents/hosting/core/connector/teams/teams_connector_client.py,sha256=XGQDTYHrA_I9n9JlxGST5eesjsFhz2dnSaMSuyoFnKU,12676
|
|
75
79
|
microsoft_agents/hosting/core/state/__init__.py,sha256=yckKi1wg_86ng-DL9Q3R49QiWKvNjPkVNk6HClWgVrY,208
|
|
76
|
-
microsoft_agents/hosting/core/state/agent_state.py,sha256=
|
|
80
|
+
microsoft_agents/hosting/core/state/agent_state.py,sha256=uboptWaC3VrSGTnXIzaO38XUqOT-ITW6EhJxuGMtKWs,13724
|
|
77
81
|
microsoft_agents/hosting/core/state/state_property_accessor.py,sha256=kpiNnzkZ6el-oRITRbRkk1Faa_CPFxpJQdvSGxIJP70,1392
|
|
78
82
|
microsoft_agents/hosting/core/state/user_state.py,sha256=zEigX-sroNAyoQAxQjG1OgmJQKjk1zOkdeqylFg7M2E,1484
|
|
79
83
|
microsoft_agents/hosting/core/storage/__init__.py,sha256=Df_clI0uMRgcr4Td-xkP83bU_mGae7_gRMhtVDPZDmE,729
|
|
80
84
|
microsoft_agents/hosting/core/storage/_type_aliases.py,sha256=VCKtjiCBrhEsGSm3zVVSSccdoiY02GYhABvrLjhAcz8,72
|
|
81
|
-
microsoft_agents/hosting/core/storage/error_handling.py,sha256=
|
|
82
|
-
microsoft_agents/hosting/core/storage/memory_storage.py,sha256=
|
|
83
|
-
microsoft_agents/hosting/core/storage/storage.py,sha256=
|
|
84
|
-
microsoft_agents/hosting/core/storage/store_item.py,sha256=
|
|
85
|
+
microsoft_agents/hosting/core/storage/error_handling.py,sha256=kTMQ68GxL4GgVKpo3SexzyRARLw6UbsVhHU723XxIck,1360
|
|
86
|
+
microsoft_agents/hosting/core/storage/memory_storage.py,sha256=5AZ2QQ3TagVCHCKp0GEVAIuDswDGHgbgnUZgS9YbPAI,2448
|
|
87
|
+
microsoft_agents/hosting/core/storage/storage.py,sha256=bt93jItMQKC9NJlcmxPtcE67MvnibolcFwvV1LFwliI,3322
|
|
88
|
+
microsoft_agents/hosting/core/storage/store_item.py,sha256=rjtzB5yufsKuY1O5PjCqWHjjmO6UiORwkzpwbsaxp_4,371
|
|
85
89
|
microsoft_agents/hosting/core/storage/transcript_file_store.py,sha256=7-ngOW5AuVPEHiAZJeZe_a5Qn4lQxlAiexjAwPiOJJU,10112
|
|
86
90
|
microsoft_agents/hosting/core/storage/transcript_info.py,sha256=5VN32j99tshChAffvuZ6D3GH3ABCZsQGHC_bYDAwFOk,328
|
|
87
91
|
microsoft_agents/hosting/core/storage/transcript_logger.py,sha256=_atDk3CJ05fIVMhlWGNa91IiM9bGLmOhasFko8Lxjhk,8237
|
|
88
92
|
microsoft_agents/hosting/core/storage/transcript_memory_store.py,sha256=v1Ud9LSs8m5c9_Fa8i49SuAjw80dX1hDciqbRduDEOE,6444
|
|
89
93
|
microsoft_agents/hosting/core/storage/transcript_store.py,sha256=ka74o0WvI5GhMZcFqSxVdamBhGzZcDZe6VNkG-sMy74,1944
|
|
90
|
-
microsoft_agents_hosting_core-0.
|
|
91
|
-
microsoft_agents_hosting_core-0.
|
|
92
|
-
microsoft_agents_hosting_core-0.
|
|
93
|
-
microsoft_agents_hosting_core-0.
|
|
94
|
+
microsoft_agents_hosting_core-0.5.0.dev3.dist-info/METADATA,sha256=TyD_JZidNIMbh1vaGa7POTFfFSsDOnAxAEaHxgKZhZc,584
|
|
95
|
+
microsoft_agents_hosting_core-0.5.0.dev3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
96
|
+
microsoft_agents_hosting_core-0.5.0.dev3.dist-info/top_level.txt,sha256=lWKcT4v6fTA_NgsuHdNvuMjSrkiBMXohn64ApY7Xi8A,17
|
|
97
|
+
microsoft_agents_hosting_core-0.5.0.dev3.dist-info/RECORD,,
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
Licensed under the MIT License.
|
|
4
|
-
"""
|
|
5
|
-
|
|
6
|
-
from __future__ import annotations
|
|
7
|
-
|
|
8
|
-
from typing import Awaitable, Callable, Generic, List, TypeVar
|
|
9
|
-
|
|
10
|
-
from microsoft_agents.hosting.core import TurnContext
|
|
11
|
-
from .state import TurnState
|
|
12
|
-
|
|
13
|
-
StateT = TypeVar("StateT", bound=TurnState)
|
|
14
|
-
RouteHandler = Callable[[TurnContext, StateT], Awaitable[None]]
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class Route(Generic[StateT]):
|
|
18
|
-
selector: Callable[[TurnContext], bool]
|
|
19
|
-
handler: RouteHandler[StateT]
|
|
20
|
-
is_invoke: bool
|
|
21
|
-
|
|
22
|
-
def __init__(
|
|
23
|
-
self,
|
|
24
|
-
selector: Callable[[TurnContext], bool],
|
|
25
|
-
handler: RouteHandler,
|
|
26
|
-
is_invoke: bool = False,
|
|
27
|
-
auth_handlers: List[str] = None,
|
|
28
|
-
) -> None:
|
|
29
|
-
self.selector = selector
|
|
30
|
-
self.handler = handler
|
|
31
|
-
self.is_invoke = is_invoke
|
|
32
|
-
self.auth_handlers = auth_handlers or []
|
|
File without changes
|