
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@synap-core/hub-protocol
Advanced tools
Hub Protocol V1.0 - Standardized schemas for Hub ↔ Data Pod communication
Hub Protocol V1.0 - Standardized schemas for communication between Synap Intelligence Hub and Synap Core OS (Data Pod).
pnpm add @synap/hub-protocol
# or
npm install @synap/hub-protocol
import { validateHubInsight, type HubInsight } from "@synap/hub-protocol";
const insight: HubInsight = {
version: "1.0",
type: "action_plan",
correlationId: "123e4567-e89b-12d3-a456-426614174000",
actions: [
{
eventType: "project.creation.requested",
data: { title: "My Project" },
requiresConfirmation: false,
},
],
confidence: 0.95,
reasoning: "Based on user preferences",
};
// Validate the insight
const validated = validateHubInsight(insight);
import { isActionPlan, isAnalysis } from "@synap/hub-protocol";
if (isActionPlan(insight)) {
// TypeScript knows actions is defined
insight.actions.forEach((action) => {
console.log(action.eventType);
});
}
if (isAnalysis(insight)) {
// TypeScript knows analysis is defined
console.log(insight.analysis.title);
}
import {
HubInsightSchema,
ActionSchema,
AnalysisSchema,
} from "@synap/hub-protocol";
// Use with Zod for custom validation
const result = HubInsightSchema.safeParse(data);
if (result.success) {
// Valid insight
}
The main schema for insights returned by the Intelligence Hub.
version: '1.0' (literal)type: 'action_plan' | 'suggestion' | 'analysis' | 'automation'correlationId: UUID stringactions: Array of Action (optional, for action_plan/automation)analysis: Analysis object (optional, for analysis/suggestion)confidence: Number between 0.0 and 1.0reasoning: String (optional)metadata: Record<string, unknown> (optional)Represents an action to be transformed into a SynapEvent.
eventType: String (must match EventTypes)subjectId: UUID string (optional)data: Record<string, unknown>requiresConfirmation: Boolean (default: false)priority: Number 0-100 (optional)metadata: Record<string, unknown> (optional)Contains textual analysis to display to the user.
title: Stringcontent: String (markdown supported)keyPoints: Array of strings (optional)recommendations: Array of strings (optional)sources: Array of Source objects (optional)tags: Array of strings (optional)See Hub Protocol V1.0 Specification for complete documentation.
MIT
FAQs
Hub Protocol V1.0 - Standardized schemas for Hub ↔ Data Pod communication
The npm package @synap-core/hub-protocol receives a total of 11 weekly downloads. As such, @synap-core/hub-protocol popularity was classified as not popular.
We found that @synap-core/hub-protocol 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.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.