@hydranium/data-client-theia 1.0.0-next.215 → 1.0.0-next.216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/lib/browser/channel-data-port.d.ts +1 -1
- package/lib/browser/channel-data-port.d.ts.map +1 -1
- package/lib/browser/channel-data-port.js +1 -1
- package/lib/browser/channel-data-port.js.map +1 -1
- package/lib/browser/host-diagnostics-frontend.js +1 -1
- package/lib/browser/host-diagnostics-frontend.js.map +1 -1
- package/lib/node/data-server-connection-handler.d.ts +1 -1
- package/lib/node/data-server-connection-handler.d.ts.map +1 -1
- package/lib/node/data-server-connection-handler.js +1 -1
- package/lib/node/data-server-connection-handler.js.map +1 -1
- package/lib/node/host-diagnostics-server.js +1 -1
- package/lib/node/host-diagnostics-server.js.map +1 -1
- package/package.json +5 -17
- package/src/browser/channel-data-port.ts +1 -1
- package/src/browser/host-diagnostics-frontend.ts +1 -1
- package/src/node/data-server-connection-handler.ts +1 -1
- package/src/node/host-diagnostics-server.ts +1 -1
package/README.md
CHANGED
|
@@ -110,11 +110,12 @@ its loading state indefinitely with nothing in the server log to say why.
|
|
|
110
110
|
| `./browser` | `openChannelConnection`, `createChannelConnection`, the three `Abstract*DataServiceFrontend` bases, `bindHostDiagnostics`, `whenWorkspaceOpen`, `DataSessionStopContribution` | browser / Theia frontend (gated) |
|
|
111
111
|
| `./node` | `DataServerConnectionHandler`, `createDataServerConnectionContainerModule`, `HostDiagnosticsServer`, `createHostDiagnosticsBackendModule` | Node / Theia backend |
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
`
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
Resolve the subpaths with [a resolver that reads
|
|
114
|
+
`exports`](../../docs/adopting/requirements.md#a-resolver-that-reads-exports);
|
|
115
|
+
`"Node"` (node10) reaches none of them. "Gated" means the
|
|
116
|
+
repository's neutral-bundle check enforces that the entry bundles for the
|
|
117
|
+
browser with no `node:*` import, transitive ones included; `./node` is
|
|
118
|
+
deliberately outside that gate. Also worth reading: [what "gated neutral" does and does not promise](../../docs/concepts/browser-hosting.md#a-note-on-what-gated-neutral-does-and-does-not-promise).
|
|
118
119
|
|
|
119
120
|
## Status
|
|
120
121
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
|
-
import { ChannelLogger, ConnectionReporter, type ConnectionAttempt, type ConnectionTarget } from '@hydranium/client-theia/
|
|
9
|
+
import { ChannelLogger, ConnectionReporter, type ConnectionAttempt, type ConnectionTarget } from '@hydranium/client-theia/browser';
|
|
10
10
|
import { type DataPort, type ResolvedMessage, type RpcConnectionLifecycle } from '@hydranium/protocol';
|
|
11
11
|
import { Emitter, MessageService, type Event } from '@theia/core';
|
|
12
12
|
import { type ServiceConnectionProvider } from '@theia/core/lib/browser';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-data-port.d.ts","sourceRoot":"","sources":["../../src/browser/channel-data-port.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"channel-data-port.d.ts","sourceRoot":"","sources":["../../src/browser/channel-data-port.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnI,OAAO,EAIJ,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAO,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,KAAK,yBAAy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iBAAiB,CAAC,CAgBpC;IAED;;;;;;;;;OASG;IACH,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,GAAG,IAAI,CAS5D;IAED,8DAA8D;IAC9D,SAAS,CAAC,aAAa,CAAC,MAAM,GAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAqC,GAAG,IAAI,CAO3G;IAED,SAAS,KAAK,gBAAgB,IAAI,gBAAgB,CAKjD;IACD,sEAAsE;IACtE,SAAS,CAAC,sBAAsB,CAAC,EAAE,gBAAgB,CAAC;IAEpD,SAAS,CAAC,kBAAkB,IAAI,MAAM,CAErC;IAED,SAAS,CAAC,qBAAqB,IAAI,MAAM,CAMxC;IAED,OAAO,IAAI,IAAI,CAMd;CACH"}
|
|
@@ -18,7 +18,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.ChannelDataPort = void 0;
|
|
21
|
-
const browser_1 = require("@hydranium/client-theia/
|
|
21
|
+
const browser_1 = require("@hydranium/client-theia/browser");
|
|
22
22
|
const protocol_1 = require("@hydranium/protocol");
|
|
23
23
|
const core_1 = require("@theia/core");
|
|
24
24
|
const service_connection_provider_1 = require("@theia/core/lib/browser/messaging/service-connection-provider");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-data-port.js","sourceRoot":"","sources":["../../src/browser/channel-data-port.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"channel-data-port.js","sourceRoot":"","sources":["../../src/browser/channel-data-port.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;AAElF,6DAAmI;AACnI,kDAO6B;AAC7B,sCAAuE;AAEvE,+GAAyG;AACzG,4DAAkE;AAClE,0DAAgE;AAEhE,6DAA2F;AAC3F,qDAAqD;AAErD;;;;;;;;;;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AAC;8BAAuC,0BAAgB;yDAAC;AACtC;IAA1C,IAAA,kBAAM,EAAC,qBAAc,CAAC;8BAAqC,qBAAc;uDAAC;AAC5B;IAA9C,IAAA,kBAAM,EAAC,4BAAkB,CAAC;;2DAA4D;AAC7C;IAAzC,IAAA,kBAAM,EAAC,uBAAa,CAAC;8BAA6B,uBAAa;+CAAC;0BAL9C,eAAe;IADpC,IAAA,sBAAU,GAAE;GACS,eAAe,CAoIpC"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
********************************************************************************/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.bindHostDiagnostics = bindHostDiagnostics;
|
|
12
|
-
const browser_1 = require("@hydranium/client-theia/
|
|
12
|
+
const browser_1 = require("@hydranium/client-theia/browser");
|
|
13
13
|
const protocol_1 = require("@hydranium/protocol");
|
|
14
14
|
const service_connection_provider_1 = require("@theia/core/lib/browser/messaging/service-connection-provider");
|
|
15
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-diagnostics-frontend.js","sourceRoot":"","sources":["../../src/browser/host-diagnostics-frontend.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AAElF,
|
|
1
|
+
{"version":3,"file":"host-diagnostics-frontend.js","sourceRoot":"","sources":["../../src/browser/host-diagnostics-frontend.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;AAElF,6DAA+E;AAC/E,kDAA0F;AAC1F,+GAAyI;AAGzI;;;;;;;GAOG;AACH,6BAAoC,IAAqB;IACtD,IAAI,CAAC,sCAA4B,CAAC;SAC9B,cAAc,CAAC,OAAO,CAAC,EAAE;QACvB,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,CAA4B,sDAAwB,CAAC,CAAC;QAC5F,OAAO,QAAQ,CAAC,WAAW,CAA0B,gCAAqB,CAAC,CAAC;IAC/E,CAAC,CAAC;SACD,gBAAgB,EAAE,CAAC;AAC1B,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
|
-
import { AbstractSocketForwardingConnectionHandler } from '@hydranium/client-theia/
|
|
9
|
+
import { AbstractSocketForwardingConnectionHandler } from '@hydranium/client-theia/node';
|
|
10
10
|
import type * as net from 'node:net';
|
|
11
11
|
/** Options for {@link DataServerConnectionHandler}. `servicePath` is the Theia
|
|
12
12
|
* service path the browser frontend opens a channel to; `portCommand` is the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-server-connection-handler.d.ts","sourceRoot":"","sources":["../../src/node/data-server-connection-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF,OAAO,EAAE,yCAAyC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data-server-connection-handler.d.ts","sourceRoot":"","sources":["../../src/node/data-server-connection-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAElF,OAAO,EAAE,yCAAyC,EAAE,MAAM,8BAA8B,CAAC;AAGzF,OAAO,KAAK,KAAK,GAAG,MAAM,UAAU,CAAC;AAErC;;;;kBAIkB;AAClB,MAAM,WAAW,kCAAkC;IAChD;;;;yDAIqD;IACrD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;uCAEmC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,sDAAsD;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,KAAK,IAAI,CAAC;CAC1D;AAED;;;;;;;;GAQG;AACH,qBACa,2BAA4B,SAAQ,yCAAyC;IACvF,YAAyB,OAAO,GAAE,kCAAuC,EAWxE;IAED;2CACuC;IACvC,UAAmB,oBAAoB,IAAI,IAAI,CAAG;CACpD"}
|
|
@@ -21,7 +21,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
21
21
|
};
|
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
23
|
exports.DataServerConnectionHandler = void 0;
|
|
24
|
-
const node_1 = require("@hydranium/client-theia/
|
|
24
|
+
const node_1 = require("@hydranium/client-theia/node");
|
|
25
25
|
const protocol_1 = require("@hydranium/protocol");
|
|
26
26
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-server-connection-handler.js","sourceRoot":"","sources":["../../src/node/data-server-connection-handler.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"data-server-connection-handler.js","sourceRoot":"","sources":["../../src/node/data-server-connection-handler.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;;;;;;AAElF,uDAAyF;AACzF,kDAAiF;AACjF,4DAAqE;AAkCrE;;;;;;;;GAQG;AAEI,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,gDAAyC;IACvF,YAAyB,UAA8C,EAAE;QACtE,KAAK,CAAC;YACH,IAAI,EAAE,OAAO,CAAC,WAAW,IAAI,2BAAgB;YAC7C,WAAW,EAAE,OAAO,CAAC,WAAW,IAAI,mCAAwB;YAC5D,YAAY,EAAE,YAAY;YAC1B,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,aAAa;YAC/C,eAAe,EAAE,OAAO,CAAC,eAAe;YACxC,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YAC1C,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YAC1C,eAAe,EAAE,OAAO,CAAC,eAAe;SAC1C,CAAC,CAAC;IACN,CAAC;IAED;2CACuC;IACpB,oBAAoB,KAAU,CAAC;CACpD,CAAA;;sCAjBY,2BAA2B;IADvC,IAAA,sBAAU,GAAE;IAEG,WAAA,IAAA,qBAAS,GAAE,CAAA;;GADd,2BAA2B,CAiBvC"}
|
|
@@ -16,7 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.HostDiagnosticsServer = void 0;
|
|
18
18
|
exports.createHostDiagnosticsBackendModule = createHostDiagnosticsBackendModule;
|
|
19
|
-
const node_1 = require("@hydranium/protocol/
|
|
19
|
+
const node_1 = require("@hydranium/protocol/node");
|
|
20
20
|
const protocol_1 = require("@hydranium/protocol");
|
|
21
21
|
const core_1 = require("@theia/core");
|
|
22
22
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-diagnostics-server.js","sourceRoot":"","sources":["../../src/node/host-diagnostics-server.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;AAElF,
|
|
1
|
+
{"version":3,"file":"host-diagnostics-server.js","sourceRoot":"","sources":["../../src/node/host-diagnostics-server.ts"],"names":[],"mappings":";AAAA;;;;;;;kFAOkF;;;;;;;;;;AAElF,mDAAuF;AACvF,kDAK6B;AAC7B,sCAAsE;AACtE,4DAA2E;AAE3E;;;;;;GAMG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC/B,KAAK,CAAC,aAAa,CAAC,IAAuB;QACxC,MAAM,QAAQ,GAAG,IAAA,0BAAmB,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAuB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC;QAC/G,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACvB,OAAO,QAAQ,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,qBAAqB,CAAC,IAA+B;QACxD,MAAM,QAAQ,GAAG,IAAA,6BAAsB,EAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,IAAI,SAAS,EAAE,cAAc,CAAC,CAAC;QACjG,OAAO,CAAC,IAAI,CAAC,iCAAiC,QAAQ,EAAE,CAAC,CAAC;QAC1D,OAAO,QAAQ,CAAC;IACnB,CAAC;CACH,CAAA;;gCAZY,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAYjC;AAED;;;;;;;GAOG;AACH;IACG,OAAO,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;QAC/B,IAAI,CAAC,qBAAqB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;QACxD,IAAI,CAAC,wBAAiB,CAAC;aACnB,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,2BAAoB,CAAC,gCAAqB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;aAC9H,gBAAgB,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hydranium/data-client-theia",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.216",
|
|
4
4
|
"description": "Theia-coupled client primitives for the hydranium data-server protocol head; companion of @hydranium/data-server. Bridges framework typed errors (e.g. ConflictError) across Theia's RPC boundary so their code + data survive the wire.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hydranium",
|
|
@@ -46,18 +46,6 @@
|
|
|
46
46
|
"./node": {
|
|
47
47
|
"types": "./lib/node/index.d.ts",
|
|
48
48
|
"default": "./lib/node/index.js"
|
|
49
|
-
},
|
|
50
|
-
"./lib/common": {
|
|
51
|
-
"types": "./lib/common/index.d.ts",
|
|
52
|
-
"default": "./lib/common/index.js"
|
|
53
|
-
},
|
|
54
|
-
"./lib/browser": {
|
|
55
|
-
"types": "./lib/browser/index.d.ts",
|
|
56
|
-
"default": "./lib/browser/index.js"
|
|
57
|
-
},
|
|
58
|
-
"./lib/node": {
|
|
59
|
-
"types": "./lib/node/index.d.ts",
|
|
60
|
-
"default": "./lib/node/index.js"
|
|
61
49
|
}
|
|
62
50
|
},
|
|
63
51
|
"publishConfig": {
|
|
@@ -73,8 +61,8 @@
|
|
|
73
61
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
74
62
|
},
|
|
75
63
|
"devDependencies": {
|
|
76
|
-
"@hydranium/client-theia": "1.0.0-next.
|
|
77
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
64
|
+
"@hydranium/client-theia": "1.0.0-next.216",
|
|
65
|
+
"@hydranium/protocol": "1.0.0-next.216",
|
|
78
66
|
"@theia/core": "^1.70.0",
|
|
79
67
|
"@theia/workspace": "^1.70.0",
|
|
80
68
|
"@types/node": "^22.0.0",
|
|
@@ -85,8 +73,8 @@
|
|
|
85
73
|
"vscode-jsonrpc": "9.0.0"
|
|
86
74
|
},
|
|
87
75
|
"peerDependencies": {
|
|
88
|
-
"@hydranium/client-theia": "1.0.0-next.
|
|
89
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
76
|
+
"@hydranium/client-theia": "1.0.0-next.216",
|
|
77
|
+
"@hydranium/protocol": "1.0.0-next.216",
|
|
90
78
|
"@theia/core": "^1.70.0",
|
|
91
79
|
"@theia/workspace": "^1.70.0",
|
|
92
80
|
"inversify": "^6.0.0",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
9
|
|
|
10
|
-
import { ChannelLogger, ConnectionReporter, type ConnectionAttempt, type ConnectionTarget } from '@hydranium/client-theia/
|
|
10
|
+
import { ChannelLogger, ConnectionReporter, type ConnectionAttempt, type ConnectionTarget } from '@hydranium/client-theia/browser';
|
|
11
11
|
import {
|
|
12
12
|
DATA_SERVER_CONNECT_FAILED,
|
|
13
13
|
DATA_SERVER_NOT_READY,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
9
|
|
|
10
|
-
import { HostMemoryDiagnosticsService } from '@hydranium/client-theia/
|
|
10
|
+
import { HostMemoryDiagnosticsService } from '@hydranium/client-theia/browser';
|
|
11
11
|
import { HOST_DIAGNOSTICS_PATH, type HostDiagnosticsProtocol } from '@hydranium/protocol';
|
|
12
12
|
import { RemoteConnectionProvider, type ServiceConnectionProvider } from '@theia/core/lib/browser/messaging/service-connection-provider';
|
|
13
13
|
import { type interfaces } from '@theia/core/shared/inversify';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
9
|
|
|
10
|
-
import { AbstractSocketForwardingConnectionHandler } from '@hydranium/client-theia/
|
|
10
|
+
import { AbstractSocketForwardingConnectionHandler } from '@hydranium/client-theia/node';
|
|
11
11
|
import { DATA_SERVER_PATH, DATA_SERVER_PORT_COMMAND } from '@hydranium/protocol';
|
|
12
12
|
import { injectable, unmanaged } from '@theia/core/shared/inversify';
|
|
13
13
|
import type * as net from 'node:net';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* SPDX-License-Identifier: MIT
|
|
8
8
|
********************************************************************************/
|
|
9
9
|
|
|
10
|
-
import { formatProcessMemory, writeHeapSnapshotToDir } from '@hydranium/protocol/
|
|
10
|
+
import { formatProcessMemory, writeHeapSnapshotToDir } from '@hydranium/protocol/node';
|
|
11
11
|
import {
|
|
12
12
|
HOST_DIAGNOSTICS_PATH,
|
|
13
13
|
type DumpHostStateArgs,
|