
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
@agentuity/coder
Advanced tools
Standalone package for the Agentuity Coder service. Provides a simple, ergonomic client for managing Coder Hub sessions, participants, replay data, loop state, and users.
npm install @agentuity/coder
import { CoderClient } from '@agentuity/coder';
const client = new CoderClient();
// List sessions
const { sessions } = await client.listSessions({ limit: 10 });
for (const session of sessions) {
console.log(`${session.sessionId}: ${session.label} (${session.status})`);
}
// Create a new session
const session = await client.createSession({
task: 'Implement feature X',
workflowMode: 'standard',
});
console.log(`Created session: ${session.sessionId}`);
// Get session details
const details = await client.getSession(session.sessionId);
console.log(`Task: ${details.task}`);
// Archive a session
await client.archiveSession(session.sessionId);
const client = new CoderClient({
apiKey: 'your-api-key',
url: 'https://your-coder-hub-url.example.com',
orgId: 'your-org-id',
});
| Variable | Description | Default |
|---|---|---|
AGENTUITY_SDK_KEY | API key for authentication | Required |
AGENTUITY_REGION | Region for API endpoints | usc |
AGENTUITY_CODER_URL | Override Coder Hub API URL | Auto-discovered via Catalyst |
CoderClientMain client for interacting with the Coder Hub API.
new CoderClient(options?: CoderClientOptions)
Options:
apiKey - API key (defaults to AGENTUITY_SDK_KEY env var)url - Coder Hub API URL (defaults to AGENTUITY_CODER_URL env var, or auto-discovered)region - Region for Catalyst URL resolution (defaults to AGENTUITY_REGION env var)orgId - Organization ID for multi-tenant operationslogger - Custom logger instancegetUrl() - Get the resolved Coder Hub base URLcreateSession(body) - Create a new coder sessiongetSession(sessionId) - Get session detailsupdateSession(sessionId, body) - Update a sessionlistSessions(params?) - List sessions with optional filteringdeleteSession(sessionId) - Permanently delete a sessionarchiveSession(sessionId) - Archive an active sessionresumeSession(sessionId) - Resume an archived sessionlistConnectableSessions(params?) - List sessions the caller can connect togetReplay(sessionId, params?) - Get replay data for a sessionlistParticipants(sessionId, params?) - List session participantslistEventHistory(sessionId, params?) - List historical events for a sessiongetLoopState(sessionId, params?) - Get loop-mode state for a sessionlistUsers(params?) - List known users in the coder hubApache-2.0
FAQs
Unknown package
The npm package @agentuity/coder receives a total of 375 weekly downloads. As such, @agentuity/coder popularity was classified as not popular.
We found that @agentuity/coder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.