@hallohuman/hightea 0.1.9 → 0.1.13
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/dist/bin.js +20 -13
- package/dist/{chunk-99e0mv8w.js → chunk-1kzh6qrv.js} +2 -2
- package/dist/{chunk-py45wjd1.js → chunk-f5kk24rj.js} +1 -1
- package/dist/{chunk-k2ws7xvy.js → chunk-hqjkbadp.js} +1891 -26
- package/dist/{chunk-v59kcfmj.js → chunk-n6qgzk8y.js} +1 -1
- package/dist/{chunk-3qbh10ga.js → chunk-pk0ntfzc.js} +4 -2
- package/dist/{chunk-c8kc1c68.js → chunk-rs0vvh3x.js} +1 -1
- package/dist/plugin/plugin.json +1 -1
- package/dist/plugin/plugin.mjs +6563 -6459
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ function remoteDriver(target, io) {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
async function localDriver(target) {
|
|
48
|
-
const { localHost } = await import("./chunk-
|
|
48
|
+
const { localHost } = await import("./chunk-pk0ntfzc.js");
|
|
49
49
|
const found = await localHost(target.host);
|
|
50
50
|
if ("error" in found)
|
|
51
51
|
return found;
|
|
@@ -2,11 +2,13 @@ import {
|
|
|
2
2
|
hostJoin2,
|
|
3
3
|
hostStatus2,
|
|
4
4
|
localHost2,
|
|
5
|
-
hostServicesGrants2
|
|
6
|
-
|
|
5
|
+
hostServicesGrants2,
|
|
6
|
+
hostUpdate2
|
|
7
|
+
} from "./chunk-hqjkbadp.js";
|
|
7
8
|
export {
|
|
8
9
|
hostJoin2 as hostJoin,
|
|
9
10
|
hostServicesGrants2 as hostServicesGrants,
|
|
10
11
|
hostStatus2 as hostStatus,
|
|
12
|
+
hostUpdate2 as hostUpdate,
|
|
11
13
|
localHost2 as localHost
|
|
12
14
|
};
|
|
@@ -43,7 +43,7 @@ function hostLine(host) {
|
|
|
43
43
|
const field = (name) => host[name] === null || host[name] === undefined ? "none" : String(host[name]);
|
|
44
44
|
const agents = Array.isArray(host.agentMemberIds) && host.agentMemberIds.length > 0 ? host.agentMemberIds.join(",") : "none";
|
|
45
45
|
const state = field("status") === "revoked" ? `revoked ${field("revokedAt")}` : `last seen ${field("lastSeenAt")}`;
|
|
46
|
-
return `${field("hostId")} ${field("status")} ${host.connected === true ? "connected" : "not connected"} ` + `agents ${agents} owner ${field("ownerAccountId")} ${state}`;
|
|
46
|
+
return `${field("hostId")} ${field("status")} ${host.connected === true ? "connected" : "not connected"} ` + `plugin ${field("pluginVersion")} agents ${agents} owner ${field("ownerAccountId")} ${state}`;
|
|
47
47
|
}
|
|
48
48
|
async function hostList(target, io = ownerIo()) {
|
|
49
49
|
if (target.workspace.trim().length === 0) {
|
package/dist/plugin/plugin.json
CHANGED