chore: release ksadk 0.6.6 - #14
Merged
Merged
Conversation
…ts, session pagination - Add unified model policy (model.policy.v1): primary=glm-5.2, multimodal=kimi-k2.7-code (temperature=1), fallback=deepseek-v4-pro - Add fallback support in conversation runtime for recoverable model errors (timeout, 5xx, rate limit, model unavailable, quota/permission) - Add request-level model hot-switch via contextvars - Add model_options passthrough (temperature, top_p, max_tokens, max_completion_tokens) - Update all CLI commands (hermes, openclaw, config, create) to glm-5.2 - Remove hardcoded kimi-k2.6 fallback from Hermes - Add ae-upload:// attachment support with hosted download and local cache - Add session list pagination (Total/Page/PageSize) and event windowing (Offset/Limit/Total) with count_sessions/count_events - Add shared terminal exec allowlist policy - Fix accepted memory saves treated as completed tool receipts - Update docs: CHANGELOG, README, remote agent runtime interface docs - Bump version to 0.6.6 - Requires ksadk-web@0.2.10 (published on npm)
…pen-source audit - kspmas-internal.sdns.ksyun.com is an explicitly supported public SDK endpoint - hub.kce.ksyun.com/agentengine-public/ paths are public container registry references - Both patterns are now whitelisted in the content audit rules - Add test coverage for the new whitelist behavior
- reasoning_markup.py: required by conversations/runtime.py - env_options.py: CLI environment option parsing - terminal_exec_policy.py: shared terminal exec allowlist
….6.6 feature branch Brings the public release branch in sync with the full internal feature branch source tree for 0.6.6, including: - All ksadk/ source modules (CLI, conversations, sessions, runners, etc.) - All test files and test snapshots - Build scripts, Makefile, pyproject.toml, uv.lock - CHANGELOG.md, README.md, and the remote agent runtime interface doc - Audit rules updated to allow kspmas-internal and agentengine-public paths
- Remove tests that don't exist in the 0.6.6 feature branch: test_public_positioning_docs, test_public_release_gates, test_openclaw_bootstrap_secretref, test_prepare_ksadk_python_export, test_prepare_ksadk_web_export - Fix ksadk_runtime_common/workspace_files/router.py: replace 'from datetime import UTC' with 'timezone.utc' for Python 3.10 compat
- Allow docs/ksadk环境变量参考.md and docs/远程Agent运行时接口说明.md in the non-curated-docs deny rule - These are user-facing reference docs that belong in the public repo
- Change README headline from already-published wording to candidate-safe wording - Let release positioning test accept both published and pre-release wording - Keep public-preflight green while 0.6.6 is still unreleased
| try: | ||
| session = await manager.create_or_reuse(payload if isinstance(payload, dict) else {}) | ||
| except ValueError as exc: | ||
| return JSONResponse({"error": str(exc)}, status_code=400) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- Prepare KsADK public release 0.6.6.\n- Pin public preflight to @kingsoftcloud/ksadk-web@0.2.11 and keep CHANGELOG 0.6.6 scoped to KsADK SDK/runtime/CLI/docs changes.\n- Harden publication state check so transient GitHub Release API 5xx falls back to gh release list.\n\n## Local verification\n- PUBLIC_KSADK_WEB_VERSION=0.2.11 make public-preflight, using the published npm package @kingsoftcloud/ksadk-web@0.2.11: 1274 passed, 4 skipped; docs build passed; wheel/sdist built; twine check passed.\n- uv run pytest tests/test_check_publication_state.py tests/test_public_release_positioning.py tests/test_config_env_registry.py -q: 19 passed.\n- make public-publish-check PUBLIC_PUBLISH_PHASE=pre-publish V=0.6.6: passed; ksadk==0.6.6 and agentengine-sdk-python==0.6.6 do not exist on PyPI.\n- git diff --check: passed.\n\n## Release gate\n- Do not create v0.6.6 GitHub Release / PyPI publish before preprod E2E and final maintainer review.\n