76 lines
2.5 KiB
JSON

{
"acceptance": {
"hardcodedOutputAccepted": false,
"mockOnlyAccepted": false,
"pocFullAcceptanceScript": "scripts/poc-operator-full-acceptance.sh",
"requiresPersistentWorkspaceEvidence": true,
"requiresRealInputs": true,
"shallowOnlyAccepted": false,
"simulationOnlyAccepted": false
},
"category": "UTIL",
"containerArgs": [],
"containerCommand": [
"python",
"/app/backend/operator-runner/main.py"
],
"containerEntrypoint": "backend/operator-runner/main.py",
"entrypoint": "operator.py",
"image": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-shell-command:builtin",
"imageId": "ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-shell-command@sha256:47f7039f4ddcf58fb51cf38f1e4fe8fd7c96e8bcad2ea745c88ee0d9e1423f51",
"metadata": "operator.json",
"name": "Shell 命令执行",
"operatorId": "operator-builtin-shell-command",
"operatorSlug": "shell_command",
"preferredSlug": "shell_command",
"pythonImport": "backend.operators.builtin.shell_command.operator:run",
"repositoryId": "builtin/shell_command",
"runtimeContract": {
"acceptance": {
"requiresArtifactChecksum": true,
"requiresFixtureChecksum": true,
"requiresGpuEvidence": false,
"requiresRealFixture": true,
"requiresWorkflowTransfer": true
},
"artifacts": {
"requiresChecksum": true,
"requiresLineage": true,
"requiresManifest": true
},
"entrypoint": "/app/backend/operator-runner/main.py",
"handler": "builtin_shell_command",
"imagePolicy": {
"allowsSharedBaseLayer": true,
"forbidsSharedOperatorRunnerFinalImage": true,
"independentFinalImage": true
},
"operatorId": "operator-builtin-shell-command",
"operatorSlug": "shell_command",
"parameters": {
"commandWrapperAllowed": false,
"controlledScriptAllowed": true,
"source": "hyperparams",
"structured": true
},
"resources": {
"minGpuCount": 0,
"recommendedGpuType": "",
"requiresGpu": false
},
"runtimeDependencies": [
"container-shell"
],
"schemaVersion": "droboticflow.operator.runtime/v1"
},
"runtimeDependencies": [
"container-shell"
],
"runtimeHandler": "builtin_shell_command",
"runtimeSource": "backend/operators/builtin/shell_command/operator.py",
"schemaVersion": "droboticflow.operator.repository/v1",
"sourceRoot": "backend/operators/builtin/shell_command",
"strictPocAcceptanceExternals": [],
"type": "builtin"
}