The sourcegraph AMP module needs a task app id output, so the agentAPI's task ID is inaccessbile. We can Just repeat claude code module behavior.