
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@orangecheck/agent-console-client
Advanced tools
Tiny HTTP client for posting OC Agent envelopes (delegations, actions, revocations, sub-delegations) to console.ochk.io. Used by every framework adapter (@orangecheck/agent-anthropic, agent-openai, agent-vercel, agent-langgraph, agent-mcp).
Tiny HTTP client for posting OC Agent envelopes (delegations, actions, revocations, sub-delegations) to console.ochk.io.
Used internally by every framework adapter — @orangecheck/agent-anthropic, agent-openai, agent-vercel, agent-langgraph, agent-mcp. You usually don't need to call this directly; the adapters expose the helpers via their own surface.
npm install @orangecheck/agent-console-client
import { postActionToConsole } from '@orangecheck/agent-console-client';
await postActionToConsole(stampedAction, {
apiToken: process.env.OC_TOKEN!, // ock_<64-hex>
projectId: process.env.OC_PROJECT_ID!, // proj_*
});
The console:
action.signer.address === parent_delegation.agent_addressaction.registered)| Function | Posts to | Returns |
|---|---|---|
postActionToConsole(action, client) | /api/actions | { id, project_id, delegation_id } |
postDelegationToConsole(del, client, extras?) | /api/delegations | { id, project_id, status } |
postRevocationToConsole(rev, client) | /api/revocations | { id, project_id, delegation_id } |
postSubdelegationToConsole(sub, client, extras?) | /api/subdelegations | { id, project_id, parent_id, status } |
Each throws ApiError on non-2xx with the server's stable reason string (agent_must_match_delegation, id_mismatch, principal_must_match_session, role_forbidden, etc).
interface ConsoleClient {
/** Defaults to https://console.ochk.io. Set for self-hosted / preview deploys. */
baseUrl?: string;
/** Bearer token from /settings § 03 (`ock_<hex>`). */
apiToken: string;
/** Project the envelope belongs to (proj_*). */
projectId: string;
/** Optional fetch override for runtimes that need it (Edge, Workers). */
fetch?: typeof fetch;
}
MIT
FAQs
Tiny HTTP client for posting OC Agent envelopes (delegations, actions, revocations, sub-delegations) to console.ochk.io. Used by every framework adapter (@orangecheck/agent-anthropic, agent-openai, agent-vercel, agent-langgraph, agent-mcp).
We found that @orangecheck/agent-console-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.