(ctx context.Context, spec *StartTaskSession)
| 255 | // SessionExecutor is the injected runtime bridge used to start, attach, and stop task sessions. |
| 256 | type SessionExecutor interface { |
| 257 | StartTaskSession(ctx context.Context, spec *StartTaskSession) (*SessionRef, error) |
| 258 | AttachTaskSession(ctx context.Context, runID string, sessionID string) (*SessionRef, error) |
| 259 | RequestTaskStop(ctx context.Context, sessionID string, reason StopReason) error |
| 260 | ForceTaskStop(ctx context.Context, sessionID string, reason StopReason) error |
no outgoing calls