$npx -y skills add alibaba/skill-up --skill custom-engineThis directory is a minimal skill-up fixture that exercises the Custom Engine local and http transports end-to-end. It is consumed by e2e/custom_engine_test.go.
| 1 | # Custom Engine e2e fixture |
| 2 | |
| 3 | This directory is a minimal skill-up fixture that exercises the **Custom |
| 4 | Engine** local and http transports end-to-end. It is consumed by |
| 5 | `e2e/custom_engine_test.go`. |
| 6 | |
| 7 | `agent.sh` + `evals/eval.yaml` cover the **local** transport: `agent.sh` is a |
| 8 | deterministic stand-in for a real custom agent that reads the `SessionInput` |
| 9 | JSON the framework writes to `${input_file}` and emits a fixed `SessionResult` |
| 10 | on stdout. The case asserts that `final_message` flows from the agent's stdout |
| 11 | into the report. |
| 12 | |
| 13 | `evals/eval-http.yaml` exercises the **http** transport against the same |
| 14 | `hello.yaml` case. `TestPipeline_CustomEngine_HTTPTransport` starts an |
| 15 | in-process `httptest` server, points `${CUSTOM_AGENT_ENDPOINT}` at it, and |
| 16 | asserts the posted `SessionInput` reaches the server and the returned |
| 17 | `SessionResult` flows into the report — so the http stand-in agent lives in the |
| 18 | test rather than in `agent.sh`. |