Skip to content

17 python sdk - #32

Merged
nevstop merged 2 commits into
Dev_2026Q2from
17-python-sdk
Apr 27, 2026
Merged

17 python sdk#32
nevstop merged 2 commits into
Dev_2026Q2from
17-python-sdk

Conversation

@nevstop

@nevstop nevstop commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

* feat: add Python pip-publishable SDK for CSM-TCP-Router

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/4a1ee665-7464-4bd0-8898-0725daef43d5

Co-authored-by: nevstop <[email protected]>

* fix: add least-privilege permissions to CI workflow jobs

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/4a1ee665-7464-4bd0-8898-0725daef43d5

Co-authored-by: nevstop <[email protected]>

* feat: add asyncio client, Chinese README, and TestPyPI CI stage (v0.2.0)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/93afe5c4-c917-4b9b-a347-189efb3bf4db

Co-authored-by: nevstop <[email protected]>

* fix: address all PR review comments (shared _errors, socket leak, locks, disconnect sentinels, isawaitable, changelog)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/b0917f8e-c50c-4a63-ae30-a1c245a6d3d7

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>
@nevstop nevstop linked an issue Apr 22, 2026 that may be closed by this pull request
@nevstop
nevstop changed the base branch from main to Dev_2026Q2 April 22, 2026 05:46
…nt) (#35)

* Initial plan

* docs: add bilingual VI API documentation for CSM-TCP-Router

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/cacb955d-6c38-4fc7-b30d-9381fbbd06e1

Co-authored-by: nevstop <[email protected]>

* docs: move VI API docs under src and align reference format

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/117da425-df26-4ecc-a8c4-ab0e98412e50

Co-authored-by: nevstop <[email protected]>

* docs: restore compatibility notes in status API sections

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/117da425-df26-4ecc-a8c4-ab0e98412e50

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>
@nevstop
nevstop merged commit aaf5ce4 into Dev_2026Q2 Apr 27, 2026
9 checks passed
@nevstop
nevstop deleted the 17-python-sdk branch April 27, 2026 10:28
nevstop added a commit that referenced this pull request Jul 14, 2026
* Refactor bilingual README for clarity and replace Mermaid diagrams with Excalidraw-based PNG images (#29)

* docs: rewrite bilingual README with mermaid diagrams

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/457dc57e-fd6d-4087-a604-3a7a4dd68b7b

Co-authored-by: nevstop <[email protected]>

* docs: replace mermaid diagrams with static PNG images

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

* docs: replace mermaid with png diagrams and add excalidraw sources

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

* docs: align client diagram alt text with sequence content

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

* docs: normalize client diagram naming and alt text

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

* docs: unify client diagram alt text naming

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

* docs: improve diagram alt text accessibility in both READMEs

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a92684df-d1ef-4e7f-801e-473ee3d2911d

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Convert `.doc/CSM-TCP-Router.drawio` to Excalidraw source and synced PNG export (#30)

* docs: add excalidraw and png converted from drawio

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/8747d072-0055-4877-a383-891476e8e333

Co-authored-by: nevstop <[email protected]>

* docs: fix application spelling in converted diagram

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/8747d072-0055-4877-a383-891476e8e333

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* 17 python sdk (#32)

* feat: add Python pip-publishable SDK for CSM-TCP-Router (#31)

* feat: add Python pip-publishable SDK for CSM-TCP-Router

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/4a1ee665-7464-4bd0-8898-0725daef43d5

Co-authored-by: nevstop <[email protected]>

* fix: add least-privilege permissions to CI workflow jobs

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/4a1ee665-7464-4bd0-8898-0725daef43d5

Co-authored-by: nevstop <[email protected]>

* feat: add asyncio client, Chinese README, and TestPyPI CI stage (v0.2.0)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/93afe5c4-c917-4b9b-a347-189efb3bf4db

Co-authored-by: nevstop <[email protected]>

* fix: address all PR review comments (shared _errors, socket leak, locks, disconnect sentinels, isawaitable, changelog)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/b0917f8e-c50c-4a63-ae30-a1c245a6d3d7

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Add bilingual VI API reference docs for CSM-TCP-Router (Server + Client) (#35)

* Initial plan

* docs: add bilingual VI API documentation for CSM-TCP-Router

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/cacb955d-6c38-4fc7-b30d-9381fbbd06e1

Co-authored-by: nevstop <[email protected]>

* docs: move VI API docs under src and align reference format

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/117da425-df26-4ecc-a8c4-ab0e98412e50

Co-authored-by: nevstop <[email protected]>

* docs: restore compatibility notes in status API sections

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/117da425-df26-4ecc-a8c4-ab0e98412e50

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>

* update PythonClientAPI/*

* Consolidate Python SDK into single-file `csm_tcp_router_client` module and release as v0.3.0 (#37)

* Consolidate Python SDK into single-file csm_tcp_router_client module

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/ffc74aa4-b55d-45b4-b066-749d1db8c176

Co-authored-by: nevstop <[email protected]>

* Bump SDK to 0.3.0 and fix workflow paths so publish jobs trigger

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/f2eec384-ae45-4817-bcb3-1f990db4954b

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Add C# csm-tcp-router-client SDK (#38)

* Initial plan

* Add C# csm-tcp-router-client SDK (single-file), VS solution, xUnit tests, example, NuGet packaging, and GitHub Actions workflow

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/1c9d260f-6983-4c60-9d7a-f07538723b70

Co-authored-by: nevstop <[email protected]>

* Address review: deterministic closed-port helper, ManualResetEventSlim in unsubscribe test, observe WaitForServerAsync connect task, force disconnect on RESP/CMD_RESP timeout

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/a52165ab-7829-42b0-91f9-e4ba84e0b6b9

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Add C csm-tcp-router-client SDK (multi-platform, VS2026, CMake, tests) (#40)

* Add C csm-tcp-router-client SDK with VS2026 + CMake + tests

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/ea6c42b2-b6f8-4ebe-8438-786601832ef5

Co-authored-by: nevstop <[email protected]>

* Address PR review comments on the C SDK

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/de04612d-484c-4905-9c04-06c451a01e15

Co-authored-by: nevstop <[email protected]>

* Drop redundant g_wsa_lock_inited; route cleanup through InitOnceExecuteOnce

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/de04612d-484c-4905-9c04-06c451a01e15

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Fix INADDR_LOOPBACK undeclared on macOS in mock_server.c (#41)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/eab9769d-1260-4715-8d72-1e3241719ef1

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* 将 SDK/ 下所有代码注释翻译为中文 (#42)

* translate: convert all C SDK comments from English to Chinese

Translated all code comments in 11 C SDK files from English to Chinese,
preserving all code logic, variable names, function names, string literals,
Doxygen tags (@param, @return, etc.) and technical proper names (TCP, CSM,
WSA, POSIX, BSD, Win32, Winsock2, pthreads, CMake, NUL, DLL, etc.).

Files translated:
- SDK/c/include/csm_tcp_router_client.h
- SDK/c/src/csm_tcp_router_client.c
- SDK/c/examples/basic_usage.c
- SDK/c/examples/subscribe_status.c
- SDK/c/tests/test_harness.h
- SDK/c/tests/mock_server.h
- SDK/c/tests/mock_server.c
- SDK/c/tests/test_main.c
- SDK/c/tests/test_client.c
- SDK/c/tests/test_protocol.c
- SDK/c/tests/test_integration.c

Co-authored-by: Copilot <[email protected]>

Co-authored-by: nevstop <[email protected]>

* translate: convert all C# SDK comments from English to Chinese

Co-authored-by: Copilot <[email protected]>

Co-authored-by: nevstop <[email protected]>

* translate: convert all Python SDK comments from English to Chinese

Co-authored-by: Copilot <[email protected]>

Co-authored-by: nevstop <[email protected]>

* translate: convert all Python SDK comments from English to Chinese (partial)

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/097602f2-f319-49ea-84a2-3c8a30aa0915

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* Add interactive ClientConsole example to Python, C# and C SDKs (#43)

* Add interactive ClientConsole example to Python, C# and C SDKs

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/ca3628f9-8283-448f-8789-d860c873c1dc

Co-authored-by: nevstop <[email protected]>

* Validate port argument in Python and C# ClientConsole examples

Agent-Logs-Url: https://github.com/NEVSTOP-LAB/CSM-TCP-Router-App/sessions/1a565ac6-daf6-4291-8c0c-b3444c37d8ba

Co-authored-by: nevstop <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: nevstop <[email protected]>

* update deps

* 重命名example

* backup code

* mass compile to trigger build

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: nevstop <nevstop@NEVSTOP-LAB>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

添加 Python 的外部接口

2 participants