Drop the intent adapter and fold contract into exec

Why: native must compile without agent-intent, and the two execution packages were the same contract under two names.
Evidence: GOWORK=off go test -count=1 ./... passed, including schema.TestRequestAndResultRoundTrip and the native adapter tests after Options was split into embedded sub-structs.
Impact: adapters/intentgate is gone, go.mod no longer requires agent-intent, and the nested gitlink stays for the release task. Callers of Options composite literals name the sub-struct.
Refs: D1
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-03 13:31:48 +00:00
co-authored by Cursor
parent d9b0f8f178
commit 4a10818535
21 changed files with 415 additions and 495 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"work_dir": "/workspace/demo",
"prompt": "写一份说明",
"instructions": "只写目标文件",
"targets": ["output.md"],
"tool_profile": "workspace"
}