Sentinal SDK

Build for the Workstation

The module development kit for OSINT Sentinal Workstation — write plugins that run inside the cockpit without needing the engine source.

Contract, not implementation. The SDK exposes the module interface and the external API — what a plugin can call, never how the engine works underneath. A module is a single file implementing EarthEnginePlugin: it registers with the globe, renders entities and controls, reacts to scene changes, and detaches cleanly.

The Contract

One file, one interface.

Every module is a single JS or TS file implementing EarthEnginePlugin. Prefix your id with contrib- — bare namespaces are reserved for in-house modules.

export default class MyModule {
  id = 'contrib-my-module'   // contrib- prefix required
  name = 'My Module'
  category = 'detail'        // terrain | imagery | mission | live | ai | ...

  register(ctx)   { /* attach: entities, subscriptions, overlays */ }
  unregister()    { /* remove everything you created            */ }
  update(ctx)     { /* react to scene changes (optional)        */ }
  getStats()      { /* health shown in the module panel         */ }
  getControls()   { /* declarative inspector UI                 */ }
  onControl(id, value) { /* handle interactions                */ }
}

Access

What modules can touch.

Globe Context

Rendering

Direct access to the Cesium-compatible 3D viewer — add entities, primitives, labels, and overlays, move the camera, and draw on the shared scene.

  • Entities & primitives
  • Camera control
  • Shared overlay layer
  • Collision-managed labels

Scene Context

Shared State

React to the same scene state the built-in modules see — camera position, current selection, and active layers — so your module stays in step with the operator.

  • Camera & viewport state
  • Selection tracking
  • Active layer awareness
  • Update callbacks on change

Workstation API

Capability Surface

Typed namespaces over the Sentinal API — the exact capability surface the in-house modules use. Terrain analysis, mission tooling, live feeds, and compute dispatch are all reachable.

  • terrain.* / mission.* / feeds.*
  • compute.* GPU dispatch
  • plugins.* module management
  • export.* headless output

Inspector Controls

Declarative UI

Declare buttons, toggles, sliders, selects, inputs, and readouts — the cockpit renders them in the module panel for you. No UI framework, no styling, no wiring.

  • Buttons, toggles & sliders
  • Selects, inputs & displays
  • Host-rendered panel UI
  • onControl event callbacks

External API

Drive it from outside.

The Workstation exposes an authenticated local JSON-RPC + WebSocket API on port 9777 — usable from external tools, scripts, and remote clients, not just in-app modules.

POST http://127.0.0.1:9777/rpc     { "method": "scene.flyTo", "params": {...}, "id": 1 }
GET  http://127.0.0.1:9777/health  → { ok, version, uptimeSec, gated }
WS   ws://127.0.0.1:9777/events    → { type:"event", topic, ts, data }
scene.*Context, camera moves, selection, viewport introspection
terrain.*Elevation sampling, slope, hydrology, canopy, behavior sim
mission.*Search zones, rest points, routing, hazard modeling
plugins.*List, activate, deactivate, stats, control
compute.*Hardware-accelerated dispatch + capability probe — v0.1.3 adds GPU-resident chaining via residentKey / outputKey
feeds / exportLive feature snapshots, headless GeoJSON/KML export

Loopback is open by default. LAN devices pair explicitly — a POST to /pair prompts the operator to approve in-app, then returns an api-scoped bearer token. API methods answer only at security stage NETWORK or above; /health always answers.

Submissions

Ship in a Workstation build.

Modules are reviewed before inclusion. Community modules extend the cockpit surface; flagship-tier modules stay in-house. Accepted modules ship inside Workstation builds and appear in the module panel.

No Exfiltration

A module that phones home, harvests data, or weakens the privacy model will not ship — full stop.

Clean Teardown

Everything register() creates, unregister() removes — entities, listeners, timers, subscriptions.

Fail Contained

Throw inside your own methods only. A module error must never propagate into the host UI.

Declare Your Data

Modules listing remote data sources must say so plainly — the privacy model is part of the product.

To submit: write the module against the contract, then open an issue or discussion on the GitHub repo with a description and the module file (or a link to your repo). Review covers correctness, teardown, privacy, and performance cost.

Support

Building something?

Questions and ideas live on the GitHub repo — issues, discussions, and show-and-tell — or join the Discord for realtime help.