MCPcopy Create free account
hub / github.com/compozy/agh / startRoleSession

Method startRoleSession

internal/daemon/task_role_runtime.go:335–344  ·  view source on GitHub ↗
(
	ctx context.Context,
	activation taskRoleActivation,
)

Source from the content-addressed store, hash-verified

333}
334
335func (r *taskRoleRuntime) startRoleSession(
336 ctx context.Context,
337 activation taskRoleActivation,
338) (*session.Info, error) {
339 opts, err := taskRoleCreateOpts(activation)
340 if err != nil {
341 return nil, err
342 }
343 return r.createRoleSession(ctx, opts)
344}
345
346func taskRoleCreateOpts(activation taskRoleActivation) (session.CreateOpts, error) {
347 opts := session.CreateOpts{

Callers 1

activateRunMethod · 0.95

Calls 2

createRoleSessionMethod · 0.95
taskRoleCreateOptsFunction · 0.85

Tested by

no test coverage detected