test(app-server): cover thread turn context updates

Document `thread/turnContext/update` more clearly in the protocol and
README, including that it updates the live defaults used by later
thread-scoped operations.

Add a focused app-server regression test that updates a loaded
thread's cwd and verifies `thread/read` reflects the new value.
This commit is contained in:
Felipe Coury
2026-04-07 12:50:15 -03:00
parent 6d7b2c860d
commit bd8ca44a8a
9 changed files with 112 additions and 1 deletions

View File

@@ -336,6 +336,7 @@
"type": "object"
}
},
"description": "Parameters for `thread/turnContext/update`. Each field is optional; only supplied fields override the thread's defaults for subsequent turns and thread-scoped operations (e.g. shell commands).",
"properties": {
"approvalPolicy": {
"anyOf": [