Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/helpers/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion desktop/helpers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iac-code-desktop-helpers"
version = "0.13.1"
version = "0.14.0"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.77.2"
Expand Down
4 changes: 2 additions & 2 deletions desktop/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iac-code-desktop",
"private": true,
"version": "0.13.1",
"version": "0.14.0",
"scripts": {
"tauri": "tauri",
"dev": "tauri dev --features updater",
Expand Down
4 changes: 2 additions & 2 deletions desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iac-code-desktop"
version = "0.13.1"
version = "0.14.0"
description = "iac-code"
authors = ["iac-code contributors"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion desktop/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "iac-code",
"version": "0.13.1",
"version": "0.14.0",
"identifier": "com.alibaba.cloud.iaccode.desktop",
"build": {
"frontendDist": "../bootstrap"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.13.1"
__version__ = "0.14.0"
__release_date__ = ""
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-05-13 00:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-05-13 00:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-05-13 00:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/ja/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-05-13 00:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/pt/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-05-13 00:00+0000\n"
Expand Down
2 changes: 1 addition & 1 deletion src/iac_code/i18n/locales/zh/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: iac-code 0.13.1\n"
"Project-Id-Version: iac-code 0.14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-04 15:58+0800\n"
"PO-Revision-Date: 2026-04-02 00:00+0000\n"
Expand Down
6 changes: 4 additions & 2 deletions src/iac_code/mcp/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,8 @@ def get_oauth_access_token(
now=clock,
refresh_margin_seconds=refresh_margin_seconds,
)
return access_token
# Another storage instance may have refreshed between the blob reads above.
return get_oauth_storage_secret(config, storage, "access_token", scope=scope)


async def get_oauth_access_token_async(
Expand All @@ -1735,7 +1736,8 @@ async def get_oauth_access_token_async(
refresh_marker = get_oauth_storage_secret(config, storage, "refresh_marker", scope=scope)
clock = now or time.time
if not refresh_token or expires_at is None or expires_at > clock() + refresh_margin_seconds:
return access_token
# Another storage instance may have refreshed between the blob reads above.
return get_oauth_storage_secret(config, storage, "access_token", scope=scope)

coordinator = refresh_coordinator or _DEFAULT_REFRESH_COORDINATOR

Expand Down
Loading