@i-scope/com-protocol-types
v0.3.2
Published
TypeScript constants mirror of the iScope COM protocol — IDispatch DISPIDs (SDBGMID, SACID), event ids (DBGEID, OSCEID), step actions (STEPACT), break reasons (BRKREASON), VLST runtime ids (RTID). The authoritative C++ definitions live in @i-scope/iscope-
Maintainers
Readme
@i-scope/com-protocol-types
Part of the
@i-scope/debuggerSDK — one of seven leaf packages aggregated by the@i-scope/debuggermeta-umbrella. Most users should install the meta (npm install @i-scope/debugger) — the constants come along transitively. Install@i-scope/com-protocol-typesdirectly only when you write a custom COM client that bypassesiScopeBridge.exeentirely (e.g. a non-Node host language) and just needs the DISPID / event-id numbers forScopeAppDbgCtrl/ScopeAppControl.
TypeScript mirror of the iScope COM protocol constants — IDispatch DISPIDs, event ids, step actions, break reasons, VLST runtime ids.
The authoritative C++ definitions live in
@i-scope/iscope-bridge/src/Constants.h;
this package is the TS mirror used by clients that talk to
iScopeBridge.exe directly (or to its DAP adapter).
When the two diverge,
Constants.hwins — update the TS file to match.
Install
npm install @i-scope/com-protocol-typesPure constants, zero runtime dependencies.
What's inside
SDBGMID_*—ScopeAppDbgCtrlIDispatch DISPIDs (ExecuteFile, SetResetBrkPnt, ResumeExec, GetStackContent, Stop, GetStatus).SACID_*—ScopeAppControlIDispatch DISPIDs (OpenFile).DBGEID_*—IScopeAppDbgEventssink DISPIDs (Trace, BreakHit, ScriptError, BreakpointErrors, Stop).OSCEID_*—IScopeAppEventssink DISPIDs (FileChanged, …).STEPACT_*— step-action constants forResumeExec.BRKREASON_*— break-reason codes insideBreakHitevents.RTID_*— runtime ids used in VLSTEvalReqData.
See src/index.ts for the full list with inline
documentation against the C++ ABI.
Related packages
This package is one of seven leaves of the
@i-scope/debugger SDK
meta-umbrella. The full family:
| Package | Role |
|---------|------|
| @i-scope/debugger | meta — one-install entry point for the whole SDK |
| @i-scope/mcp-server | MCP server for AI agents (22 tools) |
| @i-scope/dap-adapter | DAP server (AjsDebugSession) — embeddable + stdio |
| @i-scope/iscope-bridge-client | Node JSON-RPC client to the native helper |
| @i-scope/iscope-bridge | Win32 native helper binary (iScopeBridge.exe) |
| @i-scope/source-map-bridge | TS ↔ AJS source-map manager |
| @i-scope/vlst-parser | Parser for VLST locals/Watch blobs |
| @i-scope/com-protocol-types (you are here) | TS-mirror of COM DISPID / event constants |
License
MIT — see LICENSE.
Repository
Part of the iScope Debugger monorepo: https://gitlab.com/i-scope/Debugger
