feat(agent): await initialization through agent/created

This commit is contained in:
_Kerman committed 2026-09-09 16:20:00 +08:00
1 parent cc5a7697e7
commit 9b7a8ccc9f
62 files changed
+690 -315

No files matched your search

+7 -1
View File
@@ -1301,13 +1301,19 @@ def smoke_sdk_snapshot(base_url: str, executable: Path, update_snapshots: bool)
Path(__file__).resolve().parent.parent / "snapshots/sdk/text-turn/feedback-producer.mjs"
).as_uri()},
]}])
creation_patch = write_profile_patch(root, "creation.patch.yml", sessions, [
{"insert": [{
"id": "serial-created-fixture",
"name": str(Path(__file__).resolve().parents[1] / "packages/core/agent-loop/tests/fixtures/serial-created.mjs"),
}]},
])
with DeepSeekHarness(
provider="deepseek-official",
model="smoke-model",
cwd=str(root),
dsh_bin=str(executable),
dsh_home=str(dsh_home),
patches=(str(patch), str(feedback_patch)),
patches=(str(patch), str(feedback_patch), str(creation_patch)),
env={
"DSH_PERMISSION_MODE": "danger-full-access",
"DSH_TELEMETRY_DISABLED": "1",