[PR #2786] [CLOSED] Feat:AGW SDK 2 #2947

Closed
opened 2026-10-14 21:06:24 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2786
Author: @yp-amnezia
Created: 6/30/2026
Status: ❌ Closed

Base: feat/agw-sdk ← Head: feat/agw-sdk-2


📝 Commits (10+)

  • e349e71 add qtCompress/qtUncompress, base64UrlEncode, buildPremiumV1/V2VpnKey, parseIso8601Utc
  • a586af0 update ApiConfig/ServiceInfo, GatewayRequest, configTypeFromJson (2)
  • a3f7996 add importService / importTrial / resolveImportCaptcha / deactivateDevice (3)
  • 3eb6e76 fix v1/subscriptions, update AppStoreImportResult, add qtChecksum16 (4)
  • 981a600 agw_gateway_request, dart agw_get_services/agw_import_service (5)
  • 2651577 add runBlocking & getServices (6)
  • 83566f0 services + news + updater move typed
  • d5dafab fixed renewal_link
  • 7bd7bec move importTrialFromGateway -> adapter.importTrial, adapter.deactivateDevice → agw::api::deactivateDevice
  • 59c48aa migrate importServiceFromGateway|resolveImportServiceCaptcha (6b1)

📊 Changes

39 files changed (+3772 additions, -480 deletions)

View changed files

📝 agw-sdk/CMakeLists.txt (+10 -1)
📝 agw-sdk/conanfile.py (+1 -0)
➕ agw-sdk/examples/dart_smoke/bin/typed_smoke.dart (+208 -0)
➕ agw-sdk/include/agw/api.h (+130 -0)
📝 agw-sdk/include/agw/c_abi.h (+128 -0)
➕ agw-sdk/include/agw/models.h (+50 -0)
➕ agw-sdk/src/api_public.cpp (+164 -0)
📝 agw-sdk/src/c_abi.cpp (+311 -0)
📝 agw-sdk/src/protocol/keys.h (+48 -0)
➕ agw-sdk/src/services/api_methods.cpp (+427 -0)
➕ agw-sdk/src/services/api_methods.h (+166 -0)
➕ agw-sdk/src/services/models.cpp (+80 -0)
➕ agw-sdk/src/services/models.h (+14 -0)
➕ agw-sdk/src/services/server_config.cpp (+68 -0)
➕ agw-sdk/src/services/server_config.h (+28 -0)
➕ agw-sdk/src/services/subscription.cpp (+80 -0)
➕ agw-sdk/src/services/subscription.h (+20 -0)
➕ agw-sdk/src/services/vpn_key.cpp (+150 -0)
➕ agw-sdk/src/services/vpn_key.h (+19 -0)
📝 agw-sdk/src/util/base64.cpp (+4 -0)

...and 19 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/2786 **Author:** [@yp-amnezia](https://github.com/yp-amnezia) **Created:** 6/30/2026 **Status:** ❌ Closed **Base:** `feat/agw-sdk` ← **Head:** `feat/agw-sdk-2` --- ### 📝 Commits (10+) - [`e349e71`](https://github.com/amnezia-vpn/amnezia-client/commit/e349e71a378735b7021c3b08a197c8b5ab0af184) add qtCompress/qtUncompress, base64UrlEncode, buildPremiumV1/V2VpnKey, parseIso8601Utc - [`a586af0`](https://github.com/amnezia-vpn/amnezia-client/commit/a586af0e71c07c7109369e868f8c08b4772d103e) update ApiConfig/ServiceInfo, GatewayRequest, configTypeFromJson (2) - [`a3f7996`](https://github.com/amnezia-vpn/amnezia-client/commit/a3f79965f432e59a62b85d3ce9d6b591fb5e8ebb) add importService / importTrial / resolveImportCaptcha / deactivateDevice (3) - [`3eb6e76`](https://github.com/amnezia-vpn/amnezia-client/commit/3eb6e76f0894564799165e7910b1ca56f85ec760) fix v1/subscriptions, update AppStoreImportResult, add qtChecksum16 (4) - [`981a600`](https://github.com/amnezia-vpn/amnezia-client/commit/981a60035674b7451a3f4835ae42efe5cca98b96) agw_gateway_request, dart agw_get_services/agw_import_service (5) - [`2651577`](https://github.com/amnezia-vpn/amnezia-client/commit/2651577dd785137040c52ca6f41bb226538cca76) add runBlocking & getServices (6) - [`83566f0`](https://github.com/amnezia-vpn/amnezia-client/commit/83566f09b22c4d15c31f2ecc35ea36682acc8f51) services + news + updater move typed - [`d5dafab`](https://github.com/amnezia-vpn/amnezia-client/commit/d5dafabb69058923970065cf49cb956fd4aa77f9) fixed renewal_link - [`7bd7bec`](https://github.com/amnezia-vpn/amnezia-client/commit/7bd7bec91124f28c0c475f6722b623bae7ba4fa7) move importTrialFromGateway -> adapter.importTrial, adapter.deactivateDevice → agw::api::deactivateDevice - [`59c48aa`](https://github.com/amnezia-vpn/amnezia-client/commit/59c48aa6a4719c05a7e2cf289c7b993cc8eb1a23) migrate importServiceFromGateway|resolveImportServiceCaptcha (6b1) ### 📊 Changes **39 files changed** (+3772 additions, -480 deletions) <details> <summary>View changed files</summary> 📝 `agw-sdk/CMakeLists.txt` (+10 -1) 📝 `agw-sdk/conanfile.py` (+1 -0) ➕ `agw-sdk/examples/dart_smoke/bin/typed_smoke.dart` (+208 -0) ➕ `agw-sdk/include/agw/api.h` (+130 -0) 📝 `agw-sdk/include/agw/c_abi.h` (+128 -0) ➕ `agw-sdk/include/agw/models.h` (+50 -0) ➕ `agw-sdk/src/api_public.cpp` (+164 -0) 📝 `agw-sdk/src/c_abi.cpp` (+311 -0) 📝 `agw-sdk/src/protocol/keys.h` (+48 -0) ➕ `agw-sdk/src/services/api_methods.cpp` (+427 -0) ➕ `agw-sdk/src/services/api_methods.h` (+166 -0) ➕ `agw-sdk/src/services/models.cpp` (+80 -0) ➕ `agw-sdk/src/services/models.h` (+14 -0) ➕ `agw-sdk/src/services/server_config.cpp` (+68 -0) ➕ `agw-sdk/src/services/server_config.h` (+28 -0) ➕ `agw-sdk/src/services/subscription.cpp` (+80 -0) ➕ `agw-sdk/src/services/subscription.h` (+20 -0) ➕ `agw-sdk/src/services/vpn_key.cpp` (+150 -0) ➕ `agw-sdk/src/services/vpn_key.h` (+19 -0) 📝 `agw-sdk/src/util/base64.cpp` (+4 -0) _...and 19 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:06:24 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2947
No description provided.