Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
566 changes: 566 additions & 0 deletions common/dist/schemas/config_v3.schema.json

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions common/dist/schemas/find_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,11 @@
}
]
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to interact with. References a terminal scope created by a previous step. If the specified scope doesn't exist, the step fails. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"inputDelay": {
"type": "number",
"description": "Delay in milliseconds between each key press during a recording",
Expand Down Expand Up @@ -540,6 +545,11 @@
}
]
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to interact with. References a terminal scope created by a previous step. If the specified scope doesn't exist, the step fails. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"inputDelay": {
"type": "number",
"description": "Delay in milliseconds between each key press during a recording",
Expand Down Expand Up @@ -627,6 +637,10 @@
"$ENTER$"
],
"inputDelay": 500
},
{
"keys": "my-project\n",
"scope": "npm-init"
}
]
},
Expand Down Expand Up @@ -1082,6 +1096,11 @@
}
]
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to interact with. References a terminal scope created by a previous step. If the specified scope doesn't exist, the step fails. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"inputDelay": {
"type": "number",
"description": "Delay in milliseconds between each key press during a recording",
Expand Down Expand Up @@ -1189,6 +1208,11 @@
}
]
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to interact with. References a terminal scope created by a previous step. If the specified scope doesn't exist, the step fails. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"inputDelay": {
"type": "number",
"description": "Delay in milliseconds between each key press during a recording",
Expand Down Expand Up @@ -1276,6 +1300,10 @@
"$ENTER$"
],
"inputDelay": 500
},
{
"keys": "my-project\n",
"scope": "npm-init"
}
]
},
Expand Down
498 changes: 498 additions & 0 deletions common/dist/schemas/report_v3.schema.json

Large diffs are not rendered by default.

1,078 changes: 1,071 additions & 7 deletions common/dist/schemas/resolvedTests_v3.schema.json

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions common/dist/schemas/runCode_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,31 @@
"description": "Code to run.",
"type": "string"
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to create or interact with. Creates a new code execution scope for long-running/parallel processes, or references an existing scope. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"waitUntil": {
"type": "object",
"description": "Conditions to wait for in the code's output before considering the step complete. When specified, the process continues running after conditions are met. Times out after 30 seconds.",
"properties": {
"stdio": {
"type": "object",
"description": "Standard I/O conditions to wait for.",
"properties": {
"stdout": {
"type": "string",
"description": "String or regex pattern to wait for in stdout. Use `/pattern/flags` format for regex."
},
"stderr": {
"type": "string",
"description": "String or regex pattern to wait for in stderr. Use `/pattern/flags` format for regex."
}
}
}
}
},
"args": {
"type": "array",
"description": "Arguments for the command.",
Expand Down Expand Up @@ -114,6 +139,31 @@
"description": "Code to run.",
"type": "string"
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to create or interact with. Creates a new code execution scope for long-running/parallel processes, or references an existing scope. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"waitUntil": {
"type": "object",
"description": "Conditions to wait for in the code's output before considering the step complete. When specified, the process continues running after conditions are met. Times out after 30 seconds.",
"properties": {
"stdio": {
"type": "object",
"description": "Standard I/O conditions to wait for.",
"properties": {
"stdout": {
"type": "string",
"description": "String or regex pattern to wait for in stdout. Use `/pattern/flags` format for regex."
},
"stderr": {
"type": "string",
"description": "String or regex pattern to wait for in stderr. Use `/pattern/flags` format for regex."
}
}
}
}
},
"args": {
"type": "array",
"description": "Arguments for the command.",
Expand Down
68 changes: 68 additions & 0 deletions common/dist/schemas/runShell_v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,31 @@
"type": "string",
"description": "Command to perform in the machine's default shell."
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to create or interact with. Creates a new terminal scope for long-running/parallel processes, or references an existing scope. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"waitUntil": {
"type": "object",
"description": "Conditions to wait for in the command's output before considering the step complete. When specified, the process continues running after conditions are met. Times out after 30 seconds.",
"properties": {
"stdio": {
"type": "object",
"description": "Standard I/O conditions to wait for.",
"properties": {
"stdout": {
"type": "string",
"description": "String or regex pattern to wait for in stdout. Use `/pattern/flags` format for regex."
},
"stderr": {
"type": "string",
"description": "String or regex pattern to wait for in stderr. Use `/pattern/flags` format for regex."
}
}
}
}
},
"args": {
"type": "array",
"description": "Arguments for the command.",
Expand Down Expand Up @@ -112,6 +137,31 @@
"type": "string",
"description": "Command to perform in the machine's default shell."
},
"scope": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"description": "Named scope to create or interact with. Creates a new terminal scope for long-running/parallel processes, or references an existing scope. Must be 1-64 characters and contain only letters, numbers, hyphens, and underscores."
},
"waitUntil": {
"type": "object",
"description": "Conditions to wait for in the command's output before considering the step complete. When specified, the process continues running after conditions are met. Times out after 30 seconds.",
"properties": {
"stdio": {
"type": "object",
"description": "Standard I/O conditions to wait for.",
"properties": {
"stdout": {
"type": "string",
"description": "String or regex pattern to wait for in stdout. Use `/pattern/flags` format for regex."
},
"stderr": {
"type": "string",
"description": "String or regex pattern to wait for in stderr. Use `/pattern/flags` format for regex."
}
}
}
}
},
"args": {
"type": "array",
"description": "Arguments for the command.",
Expand Down Expand Up @@ -231,6 +281,24 @@
"directory": "output",
"maxVariation": 0.1,
"overwrite": "aboveVariation"
},
{
"command": "npm run dev",
"scope": "dev-server",
"waitUntil": {
"stdio": {
"stdout": "Server listening on port"
}
}
},
{
"command": "npm init",
"scope": "npm-init",
"waitUntil": {
"stdio": {
"stdout": "/package name:/i"
}
}
}
]
}
Loading
Loading