MCPcopy Create free account
hub / github.com/arctic-cli/interface / command

Method command

packages/sdk/js/src/gen/sdk.gen.ts:653–662  ·  view source on GitHub ↗

* Send a new command to a session

(options: Options<SessionCommandData, ThrowOnError>)

Source from the content-addressed store, hash-verified

651 * Send a new command to a session
652 */
653 public command<ThrowOnError extends boolean = false>(options: Options<SessionCommandData, ThrowOnError>) {
654 return (options.client ?? this._client).post<SessionCommandResponses, SessionCommandErrors, ThrowOnError>({
655 url: "/session/{id}/command",
656 ...options,
657 headers: {
658 "Content-Type": "application/json",
659 ...options.headers,
660 },
661 })
662 }
663
664 /**
665 * Run a shell command

Callers 15

index.tsFile · 0.45
mcp.tsFile · 0.45
executeFunction · 0.45
session.tsFile · 0.45
auth.tsFile · 0.45
agent.tsFile · 0.45
telemetry.tsFile · 0.45
submitFunction · 0.45
index.tsFile · 0.45
file.tsFile · 0.45
snapshot.tsFile · 0.45
ripgrep.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected