fix(runtime): fix early control return and update lifecycle

This commit is contained in:
Ljy-0827
2026-07-24 14:07:33 +08:00
parent c8963e3a68
commit 4e44fb2823
17 changed files with 1002 additions and 262 deletions
@@ -7,6 +7,16 @@
"tab_id"
],
"properties": {
"completed_by": {
"anyOf": [
{
"$ref": "#/definitions/HelpCompletedBy"
},
{
"type": "null"
}
]
},
"note": {
"type": [
"string",
@@ -31,10 +41,16 @@
}
},
"definitions": {
"HelpCompletedBy": {
"type": "string",
"enum": [
"system"
]
},
"HelpOutcome": {
"oneOf": [
{
"description": "User completed the step and clicked Continue.",
"description": "User completed the step and clicked Done / return control.",
"type": "string",
"enum": [
"continued"
@@ -55,7 +71,14 @@
]
},
{
"description": "The page navigated while waiting (full reload or SPA URL change).",
"description": "Explicit success criteria matched while the user had control.",
"type": "string",
"enum": [
"completed"
]
},
{
"description": "The page navigated while waiting (full reload or SPA URL change). Deprecated: navigation alone should not end a help request.",
"type": "string",
"enum": [
"navigated"