Files
GDevelop-Unlocked/packages/ai-studio/dev-harness/mock-script.example.json
T
BillyOutlast 30da3f8b4e Surgical conversion: Tier-1 patcher + launcher hook, Tier-2 extraction (Phases 1-5)
Replaces the 205-file fork delivery vehicle with patches/ + launcher/
+ versioned packages, per the implementation plan:

Phase 1: seam tripwires (27 tests) freezing every surgical target in
upstream (Usage predicate, %16 gate, SubscriptionChecker, debugger,
LoadingScreen branding, Electron hook surface, no-plugin-registry
verdict).

Phase 2: 5 generated Tier-1 hunks (round-trip verified; 3 files reach
byte-identical fork parity) + apply driver (dry-run gate, marker
verify, asar extract/repack).

Phase 3: launcher hook (preload fetch/XHR spoof of the two usage GETs,
BrowserWindow wrap, webRequest fallback, updater pin) + 06 loader
patch. Module._load interception dropped: renderers run a webpack
bundle, so the spoof rides the axios/XHR path the provider hydrates
from instead.

Phase 4: Tier-2 verbatim extraction (CustomAIClient + 12 Studio
modules + offline mock harness, manifest-pinned) + 07/08 verbatim
glue patches + pure generation shim with fail-closed leak guard.

Phase 5: web userscript demo (Tier-1 only, documented CORS/LAN/churn
limits). Phase 6 runbook + upstream provider-interface RFC draft
included; fork archiving left to owners (destructive).

Suite: 66 tests green (seams, patcher incl. re-apply refusal,
launcher incl. vm-sandbox fallback eval, tier-2 provenance, web).
2026-10-10 20:41:35 -04:00

41 lines
887 B
JSON

[
{
"content": "Planning first.",
"toolCalls": [
{
"id": "call_plan_1",
"name": "create_or_update_plan",
"arguments": {
"tasks": [
{
"id": "design",
"title": "Design the town",
"description": "Write a one-sentence design.",
"status": "pending",
"dependsOn": []
}
]
}
}
]
},
{
"content": "Delegating the design task.",
"toolCalls": [
{
"id": "call_spawn_1",
"name": "spawn_agent",
"arguments": {
"role": "designer",
"short_title": "Design the town",
"task": "Write GDD_Overview in one sentence.",
"related_task_id": "design"
}
}
]
},
{
"content": "The designer reported back; the design task is done."
}
]