
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@stagewise/agent-interface
Advanced tools
The frontend coding agent for production codebasesThis package offers both interface definitions and base-functionality to integrate agents with stagewise.
You can find more information on how to use this interface in the following guide: Build custom Agent Integrations
The new chat capability provides comprehensive chat functionality:
Aligned with Vercel AI SDK:
import { createAgentServer } from '@stagewise/agent-interface';
const { agent } = await createAgentServer({ port: 3000 });
// Enable chat support
agent.chat.setChatSupport(true);
// Create a chat
const chatId = await agent.chat.createChat('My Chat');
// Listen for updates
agent.chat.addChatUpdateListener((update) => {
console.log('Chat update:', update);
});
// Handle messages
agent.messaging.addUserMessageListener(async (msg) => {
// Stream assistant response
agent.chat.streamMessagePart('msg-1', 0, {
content: { type: 'text', text: 'Hello!' },
updateType: 'create',
});
});
See examples/chat-usage.ts for a complete example.
FAQs
## Agent Interface
We found that @stagewise/agent-interface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.