lex-microsoft_teams 0.6.42 → 0.6.43
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb45b23e2ed5d3a627ff36c180ca4de1b760780281a7b9e3ced3700926295b00
|
|
4
|
+
data.tar.gz: 7cf60a638335e21601ccf7f5e7ca972dc5786e466dbd8c7826311e8efcacf9c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8f00e377cd7434969144294d19bece1adb691ac72ffd757f635098bb3eff8074c07507a338d8fcb1a228700fcf10a528236e7cac09972867690826f951aaab3
|
|
7
|
+
data.tar.gz: 6392e91d554d507df66ade582982a2ffb491be6ec270276e13e3e6c05cfb581f5b1cbfbddaf5445bec3fbe962b73a41bc529f5aa2bb7fdc6a3ba7e7346cb6ae3
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.6.43] - 2026-04-23
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- `Helpers::Client#graph_connection` — added `TokenCache.instance.cached_delegated_token` fallback when no `token:` kwarg is passed and settings has no static token. Fixes "Access token is empty" errors when runners are invoked via LLM tool dispatch without an explicit token argument
|
|
9
|
+
- `Helpers::Client#bot_connection` — same fix using `TokenCache.instance.cached_app_token`
|
|
10
|
+
|
|
5
11
|
## [0.6.42] - 2026-04-23
|
|
6
12
|
|
|
7
13
|
### Fixed
|
|
@@ -12,6 +12,7 @@ module Legion
|
|
|
12
12
|
|
|
13
13
|
def graph_connection(token: nil, api_url: 'https://graph.microsoft.com/v1.0', **_opts)
|
|
14
14
|
token ||= settings&.dig(:auth, :delegated, :token)
|
|
15
|
+
token ||= TokenCache.instance.cached_delegated_token if defined?(TokenCache)
|
|
15
16
|
Faraday.new(url: api_url) do |conn|
|
|
16
17
|
conn.request :json
|
|
17
18
|
conn.response :json, content_type: /\bjson$/
|
|
@@ -22,6 +23,7 @@ module Legion
|
|
|
22
23
|
|
|
23
24
|
def bot_connection(token: nil, service_url: 'https://smba.trafficmanager.net/teams/', **_opts)
|
|
24
25
|
token ||= settings&.dig(:auth, :bot, :token)
|
|
26
|
+
token ||= TokenCache.instance.cached_app_token if defined?(TokenCache)
|
|
25
27
|
Faraday.new(url: service_url) do |conn|
|
|
26
28
|
conn.request :json
|
|
27
29
|
conn.response :json, content_type: /\bjson$/
|