Integrate upstream-compatible read-only MeshCentral transport
This commit is contained in:
@@ -23,6 +23,7 @@ implementation/
|
||||
│ ├── contracts.ts # Typed schemas and interfaces
|
||||
│ ├── adapter.ts # Adapter factory and base interface
|
||||
│ ├── mock-adapter.ts # Mock implementation for development
|
||||
│ ├── upstream-transport.ts # Proven read-only MeshCentral transport
|
||||
│ └── __tests__/ # Test suite
|
||||
├── package.json # Node.js dependencies
|
||||
├── tsconfig.json # TypeScript configuration
|
||||
@@ -115,7 +116,7 @@ main().catch(console.error);
|
||||
| `timeoutMs` | number | `10_000` | Request timeout in milliseconds |
|
||||
| `maxOutputLength` | number | `65_536` | Maximum output bytes for diagnostics (truncates if exceeded) |
|
||||
|
||||
> **Note:** The real adapter uses MeshCentral's `/control.ashx` WebSocket protocol for read-only inventory/status calls. Diagnostics still return mock data; no remote commands or state-changing operations are implemented.
|
||||
> **Note:** The real adapter uses the upstream-compatible MeshCentral `/control.ashx` WebSocket transport for read-only inventory/status calls. MeshCentral bootstrap messages and native grouped response formats are handled explicitly. Diagnostics still return mock data; no remote commands or state-changing operations are implemented.
|
||||
|
||||
## Supported Diagnostic Checks
|
||||
|
||||
@@ -156,7 +157,7 @@ All errors include a code from the `ErrorCodes` enum:
|
||||
|
||||
> The real adapter is implemented locally and may be used only for the documented read-only compatibility test. It must remain limited to the approved MeshCentral account and PVE3 target.
|
||||
|
||||
- **MeshCentral control-channel integration** - Implemented locally via `/control.ashx`
|
||||
- **MeshCentral control-channel integration** - Verified live via `/control.ashx`
|
||||
- **Device/group inventory and status** - Implemented locally
|
||||
- **Response size and schema validation** - Implemented and unit-tested
|
||||
- **Real-time status updates** - Not implemented
|
||||
|
||||
Reference in New Issue
Block a user