How themodcraft-tmc/vessel-hq-extension-sdk works
This repository is a standalone Vessel HQ extension SDK: Go clients connect over mTLS gRPC, verify package registration, and expose scoped reads and note/settings operations; protobuf and TypeScript define the host-facing contracts. README documents environment-summary and operator examples, plus native UI plugins for environment summary and persistent notes. The graph preserves these capabilities, but omits uncertain example-to-SDK call links where example source was not sampled.
Main entry points: client.go mTLS Client · index.tsx Persistent Notes UI · settings.go Settings Read · storage.go Note Storage
Components 13
Go SDK
- Connection Config
config.go - mTLS Client
client.go - Environment Read
client.go - Settings Read
settings.go - Note Storage
storage.go
Host Contracts
- gRPC Contract
proto/v1/extension.proto - Native UI Types
ui/sdk.ts
Examples And Plugins
- Environment CLI
examples/environment-summary/main.go - Operator CLI
examples/operator-client/main.go - Persistent Notes UI
plugins/persistent-notes/ui/index.tsx - Environment Summary UI
plugins/environment-summary/ui/index.tsx
Other components
- Extension App
- Vessel Gateway
Connections 15
- Extension App → Connection Config: loads config
config.go - Extension App → mTLS Client: dials SDK
client.go - mTLS Client → Connection Config: normalizes
client.go - mTLS Client → gRPC Contract: uses RPC definitions
client.go - mTLS Client → Vessel Gateway: verifies registration
client.go - mTLS Client → Environment Read: reads environment
client.go - Environment Read → Vessel Gateway: requests metadata
client.go - mTLS Client → Settings Read: reads settings
settings.go - Settings Read → Vessel Gateway: requests settings
settings.go - mTLS Client → Note Storage: reads or writes notes
storage.go - Note Storage → Vessel Gateway: requests note operations
storage.go - Persistent Notes UI → Native UI Types: uses storage types
plugins/persistent-notes/ui/index.tsx - Persistent Notes UI → Vessel Gateway: reads and saves notes
README.md - Environment CLI → mTLS Client: uses SDK
- Operator CLI → mTLS Client: uses SDK