MCPcopy Create free account
hub / github.com/MagicCube/agentara / constructor

Method constructor

src/kernel/sessioning/session.ts:40–49  ·  view source on GitHub ↗

* Internal use only. * Initialize a session. * @param id The id of the session. * @param agentType The type of the agent. * @param options Run options (isNewSession, cwd).

(
    // eslint-disable-next-line no-unused-vars
    readonly id: string,
    // eslint-disable-next-line no-unused-vars
    readonly agentType: string,
    // eslint-disable-next-line no-unused-vars
    readonly options: AgentRunOptions,
  )

Source from the content-addressed store, hash-verified

38 * @param options Run options (isNewSession, cwd).
39 */
40 constructor(
41 // eslint-disable-next-line no-unused-vars
42 readonly id: string,
43 // eslint-disable-next-line no-unused-vars
44 readonly agentType: string,
45 // eslint-disable-next-line no-unused-vars
46 readonly options: AgentRunOptions,
47 ) {
48 super();
49 }
50
51 /**
52 * Return a stream of messages from the agent.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected