@hivefloor/cli 0.1.0 → 0.1.1
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/{chunk-4OFN5KHY.js → chunk-76HDATOB.js} +7 -7
- package/dist/{chunk-OQ6QVFSH.js → chunk-CWEEIRW2.js} +1 -1
- package/dist/{chunk-BAB4DPCN.js → chunk-MMWX62ZU.js} +2 -2
- package/dist/{chunk-M3PLXINO.js → chunk-NCRQGIJY.js} +1 -1
- package/dist/{chunk-4A5WOW2D.js → chunk-Q2TS3GT3.js} +1 -1
- package/dist/{chunk-6UZBZ7LR.js → chunk-U7PMOZGI.js} +1 -1
- package/dist/{chunk-DIW4VIU7.js → chunk-WHHV2NZA.js} +2 -2
- package/dist/{chunk-IEYWMDXA.js → chunk-WLHRUZTR.js} +7 -3
- package/dist/{chunk-UPRHMVYJ.js → chunk-WO7NALQO.js} +1 -1
- package/dist/{chunk-LHF4KCEA.js → chunk-YCZ7XJJF.js} +1 -1
- package/dist/{chunk-RE2EQZWL.js → chunk-ZYRPQPGL.js} +62 -9
- package/dist/{cli-7CIYC6A3.js → cli-FFAZRKLR.js} +10 -10
- package/dist/{connect-R3PMIY7G.js → connect-FM4BXTQQ.js} +7 -7
- package/dist/{disconnect-NRYU6W5P.js → disconnect-VWUOUZP6.js} +5 -5
- package/dist/{hook-B2I42GE3.js → hook-WSJXG2XU.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/{link-EPWADGYT.js → link-TFITMC6H.js} +6 -6
- package/dist/{machine-connect-RWNZ77NO.js → machine-connect-I3OZCTUZ.js} +10 -10
- package/dist/{mcp-QX6VMTOD.js → mcp-47WTNQNN.js} +4 -4
- package/dist/{run-64ZYCJU2.js → run-JO4NEHWG.js} +4 -4
- package/dist/{status-HADESN2E.js → status-GXZ267BD.js} +5 -5
- package/dist/{token-SM5MDJKY.js → token-C4K23KXH.js} +3 -3
- package/package.json +7 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ The machine token stays on your computer (the file above, or the OS keychain in
|
|
|
71
71
|
|
|
72
72
|
## Links
|
|
73
73
|
|
|
74
|
-
- Source and issues: https://github.com/
|
|
74
|
+
- Source and issues: https://github.com/Errr0rr404/hivefloor
|
|
75
75
|
- Docs: https://hivefloor.worldofz.info
|
|
76
76
|
|
|
77
77
|
MIT License.
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
installGrok,
|
|
11
11
|
rcFileFor,
|
|
12
12
|
updateManifest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YCZ7XJJF.js";
|
|
14
14
|
import {
|
|
15
15
|
readMachine
|
|
16
16
|
} from "./chunk-3IMV5EHP.js";
|
|
17
17
|
import {
|
|
18
18
|
deviceLogin
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WO7NALQO.js";
|
|
20
20
|
import {
|
|
21
21
|
detectRepo
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CWEEIRW2.js";
|
|
23
23
|
import {
|
|
24
24
|
REAL_TOOLS,
|
|
25
25
|
TOOL_LABEL,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
} from "./chunk-TKMIV7BG.js";
|
|
35
35
|
import {
|
|
36
36
|
saveToken
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WLHRUZTR.js";
|
|
41
41
|
import {
|
|
42
42
|
ApiError
|
|
43
43
|
} from "./chunk-PY74LT2W.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
hostFromEnv,
|
|
52
52
|
machineName,
|
|
53
53
|
normalizeHost
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
55
55
|
|
|
56
56
|
// src/connect.ts
|
|
57
57
|
var INSTALLERS = {
|
|
@@ -172,7 +172,7 @@ async function connect(ctx, p) {
|
|
|
172
172
|
return 2;
|
|
173
173
|
}
|
|
174
174
|
if (p.flags.agent || p.flags.tool !== void 0) return connectAgent(ctx, p);
|
|
175
|
-
return (await import("./machine-connect-
|
|
175
|
+
return (await import("./machine-connect-I3OZCTUZ.js")).connectMachine(ctx, p);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export {
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
defaultHost,
|
|
10
10
|
loadToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
12
12
|
import {
|
|
13
13
|
hostFromEnv,
|
|
14
14
|
normalizeHost
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
16
16
|
|
|
17
17
|
// src/session.ts
|
|
18
18
|
async function resolveSession(ctx, p) {
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
removeHooks,
|
|
11
11
|
restoreFeatureHooks,
|
|
12
12
|
wasCreated
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YCZ7XJJF.js";
|
|
14
14
|
import {
|
|
15
15
|
claudeConfigDirs,
|
|
16
16
|
codexConfigDir,
|
|
17
17
|
profileKeys
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NCRQGIJY.js";
|
|
19
19
|
import {
|
|
20
20
|
atomicWrite,
|
|
21
21
|
backupOnce,
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@hivefloor/cli",
|
|
6
|
-
version: "0.1.
|
|
6
|
+
version: "0.1.1",
|
|
7
7
|
description: "Connect your coding agents (Claude Code, Codex, Cursor, Gemini, Grok) to Hivefloor: live presence, task coordination and usage on one floor.",
|
|
8
|
+
author: {
|
|
9
|
+
name: "Errr0rr404",
|
|
10
|
+
url: "https://github.com/Errr0rr404"
|
|
11
|
+
},
|
|
8
12
|
keywords: [
|
|
9
13
|
"hivefloor",
|
|
10
14
|
"ai-agents",
|
|
@@ -17,11 +21,11 @@ var package_default = {
|
|
|
17
21
|
],
|
|
18
22
|
homepage: "https://hivefloor.worldofz.info",
|
|
19
23
|
bugs: {
|
|
20
|
-
url: "https://github.com/
|
|
24
|
+
url: "https://github.com/Errr0rr404/hivefloor/issues"
|
|
21
25
|
},
|
|
22
26
|
repository: {
|
|
23
27
|
type: "git",
|
|
24
|
-
url: "git+https://github.com/
|
|
28
|
+
url: "git+https://github.com/Errr0rr404/hivefloor.git",
|
|
25
29
|
directory: "packages/cli"
|
|
26
30
|
},
|
|
27
31
|
license: "MIT",
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
deviceCodeResponseSchema,
|
|
9
9
|
deviceTokenErrorSchema,
|
|
10
10
|
deviceTokenSuccessSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
12
12
|
|
|
13
13
|
// src/device.ts
|
|
14
14
|
var printable = (s) => [...s].filter((c) => c.charCodeAt(0) >= 32 && c.charCodeAt(0) !== 127).join("");
|
|
@@ -19818,7 +19818,7 @@ var logoutBody = external_exports.object({ everywhere: external_exports.boolean(
|
|
|
19818
19818
|
var isoSchema = external_exports.string();
|
|
19819
19819
|
var roleEnum = external_exports.enum(["owner", "admin", "member", "viewer"]);
|
|
19820
19820
|
var okResponse = external_exports.object({ ok: external_exports.literal(true) }).strict();
|
|
19821
|
-
var listOf = (item) => external_exports.object({ items: external_exports.array(item), next_cursor: external_exports.string().nullable() }).strict();
|
|
19821
|
+
var listOf = (item) => external_exports.object({ items: external_exports.array(item), next_cursor: external_exports.string().nullable(), total: external_exports.number().int().nonnegative().optional() }).strict();
|
|
19822
19822
|
var publicConfigResponse = external_exports.object({ dev_login: external_exports.boolean(), github: external_exports.boolean(), github_app: external_exports.boolean(), push: external_exports.object({ enabled: external_exports.boolean(), public_key: external_exports.string().nullable() }).optional() }).strict();
|
|
19823
19823
|
var publicUserSchema = external_exports.object({ id: idSchema, login: external_exports.string(), name: external_exports.string().nullable(), avatar_url: external_exports.string().nullable() }).strict();
|
|
19824
19824
|
var projectBriefSchema = external_exports.object({ id: idSchema, key: external_exports.string(), name: external_exports.string(), role: roleEnum }).strict();
|
|
@@ -20222,9 +20222,12 @@ var taskTimelineEventSchema = external_exports.object({
|
|
|
20222
20222
|
});
|
|
20223
20223
|
var taskListSchema = external_exports.object({
|
|
20224
20224
|
items: external_exports.array(taskCardSchema),
|
|
20225
|
-
next_cursor: external_exports.string().nullable()
|
|
20225
|
+
next_cursor: external_exports.string().nullable(),
|
|
20226
|
+
/** Matching tasks across all pages. Only present when the request used `offset` (page-number lists). */
|
|
20227
|
+
total: external_exports.number().int().nonnegative().optional()
|
|
20226
20228
|
});
|
|
20227
20229
|
var queryId = external_exports.string().regex(/^[1-9][0-9]{0,14}$/);
|
|
20230
|
+
var queryOffset = external_exports.string().regex(/^(0|[1-9][0-9]{0,5})$/).transform(Number);
|
|
20228
20231
|
var queryLimit = external_exports.string().regex(/^[1-9][0-9]{0,2}$/).transform(Number).pipe(external_exports.number().int().max(200));
|
|
20229
20232
|
var replayCursor = external_exports.string().max(100).regex(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d{6}Z_[1-9][0-9]{0,14}$/).refine((value) => isoTimeSchema.safeParse(value.split("_")[0]).success, "invalid cursor time");
|
|
20230
20233
|
var queryStatus = external_exports.string().min(1).max(80).transform((value) => value.split(",").map((status) => status.trim())).pipe(external_exports.array(taskStatusSchema).min(1).max(7)).refine((values) => new Set(values).size === values.length, "statuses must be distinct");
|
|
@@ -20240,8 +20243,10 @@ var taskListQuerySchema = external_exports.object({
|
|
|
20240
20243
|
parent: queryId.optional(),
|
|
20241
20244
|
archived: external_exports.enum(["0", "1", "all", "false", "true"]).optional(),
|
|
20242
20245
|
limit: queryLimit.optional(),
|
|
20243
|
-
cursor: external_exports.union([queryId, replayCursor]).optional()
|
|
20244
|
-
|
|
20246
|
+
cursor: external_exports.union([queryId, replayCursor]).optional(),
|
|
20247
|
+
/** Page-number paging (the Done page): skip this many tasks and also return `total`. Not combinable with `cursor`. */
|
|
20248
|
+
offset: queryOffset.optional()
|
|
20249
|
+
}).strict().refine((value) => value.offset === void 0 || value.cursor === void 0, "use offset or cursor").refine((value) => value.agent === void 0 || value.holder_agent === void 0, "use agent or holder_agent");
|
|
20245
20250
|
var agentTaskListQuerySchema = taskListQuerySchema.safeExtend({ project: projectRefSchema.optional() });
|
|
20246
20251
|
var taskStatusLineSchema = external_exports.object({
|
|
20247
20252
|
id: entityIdSchema,
|
|
@@ -20259,7 +20264,7 @@ var taskStatusLineQuerySchema = external_exports.object({
|
|
|
20259
20264
|
}).strict();
|
|
20260
20265
|
var taskResultSchema = external_exports.object({ task: taskCardSchema });
|
|
20261
20266
|
var answerBodySchema = external_exports.object({ text: external_exports.string().trim().min(1).max(500) });
|
|
20262
|
-
var NOTIFICATION_KINDS = ["task_done", "task_blocked", "agent_waiting", "invite_received", "member_added", "repo_link_requested", "agent_question"];
|
|
20267
|
+
var NOTIFICATION_KINDS = ["task_done", "task_blocked", "agent_waiting", "invite_received", "member_added", "repo_link_requested", "agent_question", "feedback"];
|
|
20263
20268
|
var notificationKindSchema = external_exports.enum(NOTIFICATION_KINDS);
|
|
20264
20269
|
var notificationViewSchema = external_exports.object({
|
|
20265
20270
|
id: entityIdSchema,
|
|
@@ -20801,7 +20806,11 @@ var inboxItemSchema = external_exports.object({
|
|
|
20801
20806
|
var inboxListSchema = external_exports.object({
|
|
20802
20807
|
items: external_exports.array(inboxItemSchema),
|
|
20803
20808
|
/** Items the caller can answer: the sidebar badge. */
|
|
20804
|
-
count: external_exports.number().int().min(0)
|
|
20809
|
+
count: external_exports.number().int().min(0),
|
|
20810
|
+
/** Every item the caller can see, answerable or not (`items` is one page of them). */
|
|
20811
|
+
total: external_exports.number().int().min(0).optional(),
|
|
20812
|
+
/** Offset of the next page, null on the last one. */
|
|
20813
|
+
next_cursor: external_exports.string().nullable().optional()
|
|
20805
20814
|
});
|
|
20806
20815
|
var inboxAnswerBodySchema = external_exports.object({
|
|
20807
20816
|
text: external_exports.string().trim().min(1).max(4e3),
|
|
@@ -20872,7 +20881,12 @@ var teamMemberSchema = external_exports.object({
|
|
|
20872
20881
|
member: teamUserSchema.omit({ avatar_url: true })
|
|
20873
20882
|
}).strict())
|
|
20874
20883
|
}).strict();
|
|
20875
|
-
var teamViewSchema = external_exports.object({
|
|
20884
|
+
var teamViewSchema = external_exports.object({
|
|
20885
|
+
members: external_exports.array(teamMemberSchema),
|
|
20886
|
+
/** Members of the project, over every page (`members` is one page: `?limit=` default 12, `?cursor=` an offset). */
|
|
20887
|
+
total: external_exports.number().int().min(0).optional(),
|
|
20888
|
+
next_cursor: external_exports.string().nullable().optional()
|
|
20889
|
+
}).strict();
|
|
20876
20890
|
|
|
20877
20891
|
// ../shared/src/api/fleet.ts
|
|
20878
20892
|
var FLEET_STATES = ["working", "idle", "waiting", "paused", "stopped", "unknown"];
|
|
@@ -21071,7 +21085,9 @@ var digestAgentItemSchema = external_exports.object({
|
|
|
21071
21085
|
machine: external_exports.string().nullable(),
|
|
21072
21086
|
account_label: external_exports.string().nullable(),
|
|
21073
21087
|
owner_login: external_exports.string(),
|
|
21074
|
-
created_at: isoTimeSchema
|
|
21088
|
+
created_at: isoTimeSchema,
|
|
21089
|
+
/** A short-lived run agent (a mirrored fleet/vq lane, or named `*-run-*` / `vq-*`). */
|
|
21090
|
+
is_run: external_exports.boolean()
|
|
21075
21091
|
}).strict();
|
|
21076
21092
|
var digestBucketSchema = (item) => external_exports.object({
|
|
21077
21093
|
count: external_exports.number().int().nonnegative(),
|
|
@@ -21082,7 +21098,9 @@ var digestCountsSchema = external_exports.object({
|
|
|
21082
21098
|
prs_merged: external_exports.number().int().nonnegative(),
|
|
21083
21099
|
tasks_blocked: external_exports.number().int().nonnegative(),
|
|
21084
21100
|
needs_you: external_exports.number().int().nonnegative(),
|
|
21085
|
-
new_agents: external_exports.number().int().nonnegative()
|
|
21101
|
+
new_agents: external_exports.number().int().nonnegative(),
|
|
21102
|
+
/** `new_agents` without the short-lived run agents (`is_run`). */
|
|
21103
|
+
new_agents_persistent: external_exports.number().int().nonnegative()
|
|
21086
21104
|
}).strict();
|
|
21087
21105
|
var meDigestResponseSchema = external_exports.object({
|
|
21088
21106
|
last_seen_at: isoTimeSchema.nullable(),
|
|
@@ -21104,6 +21122,41 @@ var meDigestSeenResponseSchema = external_exports.object({
|
|
|
21104
21122
|
last_seen_at: isoTimeSchema
|
|
21105
21123
|
}).strict();
|
|
21106
21124
|
|
|
21125
|
+
// ../shared/src/api/feedback.ts
|
|
21126
|
+
var FEEDBACK_CATEGORIES = ["question", "idea", "bug"];
|
|
21127
|
+
var feedbackCategorySchema = external_exports.enum(FEEDBACK_CATEGORIES);
|
|
21128
|
+
var FEEDBACK_MESSAGE_MIN = 3;
|
|
21129
|
+
var FEEDBACK_MESSAGE_MAX = 2e3;
|
|
21130
|
+
var FEEDBACK_EMAIL_MAX = 254;
|
|
21131
|
+
var FEEDBACK_HONEYPOT_FIELD = "website";
|
|
21132
|
+
var optionalEmail = external_exports.preprocess(
|
|
21133
|
+
(v) => typeof v === "string" && v.trim() === "" ? void 0 : v,
|
|
21134
|
+
external_exports.string().trim().max(FEEDBACK_EMAIL_MAX).pipe(external_exports.email("Enter a valid email address")).optional()
|
|
21135
|
+
);
|
|
21136
|
+
var feedbackBodySchema = external_exports.object({
|
|
21137
|
+
message: external_exports.string().trim().min(FEEDBACK_MESSAGE_MIN, `Write at least ${FEEDBACK_MESSAGE_MIN} characters`).max(FEEDBACK_MESSAGE_MAX, `At most ${FEEDBACK_MESSAGE_MAX} characters`),
|
|
21138
|
+
email: optionalEmail,
|
|
21139
|
+
category: feedbackCategorySchema.default("question"),
|
|
21140
|
+
/** Honeypot: stays empty for a person. */
|
|
21141
|
+
[FEEDBACK_HONEYPOT_FIELD]: external_exports.string().max(500).optional()
|
|
21142
|
+
}).strict();
|
|
21143
|
+
var feedbackSentSchema = external_exports.object({ ok: external_exports.literal(true) }).strict();
|
|
21144
|
+
var feedbackMeSchema = external_exports.object({ email: external_exports.string().nullable(), is_owner: external_exports.boolean() }).strict();
|
|
21145
|
+
var feedbackItemSchema = external_exports.object({
|
|
21146
|
+
id: entityIdSchema,
|
|
21147
|
+
category: feedbackCategorySchema,
|
|
21148
|
+
message: external_exports.string(),
|
|
21149
|
+
email: external_exports.string().nullable(),
|
|
21150
|
+
/** The GitHub login of a signed-in sender, else null. */
|
|
21151
|
+
from_login: external_exports.string().nullable(),
|
|
21152
|
+
created_at: isoTimeSchema
|
|
21153
|
+
});
|
|
21154
|
+
var feedbackListSchema = external_exports.object({
|
|
21155
|
+
items: external_exports.array(feedbackItemSchema),
|
|
21156
|
+
next_cursor: external_exports.string().nullable(),
|
|
21157
|
+
total: external_exports.number().int().min(0)
|
|
21158
|
+
});
|
|
21159
|
+
|
|
21107
21160
|
// ../shared/src/index.ts
|
|
21108
21161
|
var ROLES = ["owner", "admin", "member", "viewer"];
|
|
21109
21162
|
var roleSchema2 = external_exports.enum(ROLES);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-TKMIV7BG.js";
|
|
5
5
|
import {
|
|
6
6
|
VERSION
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WLHRUZTR.js";
|
|
8
8
|
import {
|
|
9
9
|
ApiError
|
|
10
10
|
} from "./chunk-PY74LT2W.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
CLI_INSTALL_COMMAND,
|
|
14
14
|
cliNpxCommand,
|
|
15
15
|
defaultCtx
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
17
17
|
import "./chunk-K3NQKI34.js";
|
|
18
18
|
|
|
19
19
|
// src/cli.ts
|
|
@@ -58,25 +58,25 @@ async function run(argv, ctx = defaultCtx()) {
|
|
|
58
58
|
try {
|
|
59
59
|
switch (cmd) {
|
|
60
60
|
case "connect":
|
|
61
|
-
return await (await import("./connect-
|
|
61
|
+
return await (await import("./connect-FM4BXTQQ.js")).connect(ctx, p);
|
|
62
62
|
case "disconnect":
|
|
63
|
-
return await (await import("./disconnect-
|
|
63
|
+
return await (await import("./disconnect-VWUOUZP6.js")).disconnect(ctx, p);
|
|
64
64
|
case "status":
|
|
65
|
-
return await (await import("./status-
|
|
65
|
+
return await (await import("./status-GXZ267BD.js")).status(ctx, p);
|
|
66
66
|
case "service":
|
|
67
67
|
if (p.positionals[0] !== "run") {
|
|
68
68
|
ctx.err("hivefloor: usage: hivefloor service run\n");
|
|
69
69
|
return 2;
|
|
70
70
|
}
|
|
71
|
-
return await (await import("./run-
|
|
71
|
+
return await (await import("./run-JO4NEHWG.js")).runService({ ctx });
|
|
72
72
|
case "link":
|
|
73
|
-
return await (await import("./link-
|
|
73
|
+
return await (await import("./link-TFITMC6H.js")).link(ctx, p);
|
|
74
74
|
case "token":
|
|
75
|
-
return await (await import("./token-
|
|
75
|
+
return await (await import("./token-C4K23KXH.js")).token(ctx, p);
|
|
76
76
|
case "mcp":
|
|
77
|
-
return await (await import("./mcp-
|
|
77
|
+
return await (await import("./mcp-47WTNQNN.js")).runMcpProxy(ctx, p);
|
|
78
78
|
case "hook": {
|
|
79
|
-
const { runHook, readStdin } = await import("./hook-
|
|
79
|
+
const { runHook, readStdin } = await import("./hook-WSJXG2XU.js");
|
|
80
80
|
await runHook(rest, { env: ctx.env, cwd: ctx.cwd, fetch: ctx.fetch, now: ctx.now, readStdin });
|
|
81
81
|
return 0;
|
|
82
82
|
}
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
connect,
|
|
4
4
|
connectAgent,
|
|
5
5
|
resolveHost
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-76HDATOB.js";
|
|
7
|
+
import "./chunk-YCZ7XJJF.js";
|
|
8
8
|
import "./chunk-3IMV5EHP.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WO7NALQO.js";
|
|
10
|
+
import "./chunk-CWEEIRW2.js";
|
|
11
11
|
import "./chunk-2IMJECYD.js";
|
|
12
12
|
import "./chunk-TKMIV7BG.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Q2TS3GT3.js";
|
|
14
|
+
import "./chunk-WLHRUZTR.js";
|
|
15
15
|
import "./chunk-PY74LT2W.js";
|
|
16
16
|
import "./chunk-WNDUGQDX.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZYRPQPGL.js";
|
|
18
18
|
import "./chunk-K3NQKI34.js";
|
|
19
19
|
export {
|
|
20
20
|
connect,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
removeCliCopy,
|
|
4
4
|
removeMachineHooks
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WHHV2NZA.js";
|
|
6
6
|
import {
|
|
7
7
|
claudeJson,
|
|
8
8
|
geminiSettings,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
removeGrok,
|
|
15
15
|
removeRcLine,
|
|
16
16
|
updateManifest
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-YCZ7XJJF.js";
|
|
18
|
+
import "./chunk-NCRQGIJY.js";
|
|
19
19
|
import {
|
|
20
20
|
readMachine,
|
|
21
21
|
removeMachineFile
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
deleteCredentials,
|
|
34
34
|
readCredentials,
|
|
35
35
|
uninstallService
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
37
37
|
import {
|
|
38
38
|
apiRequest
|
|
39
39
|
} from "./chunk-PY74LT2W.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
normalizeHost,
|
|
50
50
|
runCmd
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
52
52
|
import "./chunk-K3NQKI34.js";
|
|
53
53
|
|
|
54
54
|
// src/disconnect.ts
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
} from "./chunk-3IMV5EHP.js";
|
|
14
14
|
import {
|
|
15
15
|
detectRepo
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CWEEIRW2.js";
|
|
17
17
|
import {
|
|
18
18
|
defaultHost,
|
|
19
19
|
loadToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
21
21
|
import {
|
|
22
22
|
configDir,
|
|
23
23
|
machineSpoolFile
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
PROFILE_KEY_RE,
|
|
29
29
|
hostFromEnv,
|
|
30
30
|
redact
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
32
32
|
import "./chunk-K3NQKI34.js";
|
|
33
33
|
|
|
34
34
|
// src/hook.ts
|
package/dist/index.js
CHANGED
|
@@ -11,12 +11,12 @@ if (argv[0] === "hook") {
|
|
|
11
11
|
process.on("unhandledRejection", () => process.exit(0));
|
|
12
12
|
setTimeout(() => process.exit(0), HARD_EXIT_MS).unref();
|
|
13
13
|
try {
|
|
14
|
-
const { runHookCli } = await import("./hook-
|
|
14
|
+
const { runHookCli } = await import("./hook-WSJXG2XU.js");
|
|
15
15
|
await runHookCli(argv.slice(1));
|
|
16
16
|
} catch {
|
|
17
17
|
}
|
|
18
18
|
process.exit(0);
|
|
19
19
|
} else {
|
|
20
|
-
const { run } = await import("./cli-
|
|
20
|
+
const { run } = await import("./cli-FFAZRKLR.js");
|
|
21
21
|
process.exitCode = await run(argv);
|
|
22
22
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
deviceLogin
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WO7NALQO.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveSession
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MMWX62ZU.js";
|
|
8
8
|
import {
|
|
9
9
|
detectRepo
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CWEEIRW2.js";
|
|
11
11
|
import {
|
|
12
12
|
isTool
|
|
13
13
|
} from "./chunk-2IMJECYD.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
} from "./chunk-TKMIV7BG.js";
|
|
17
17
|
import {
|
|
18
18
|
saveToken
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
20
20
|
import {
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WLHRUZTR.js";
|
|
23
23
|
import {
|
|
24
24
|
apiRequest,
|
|
25
25
|
errorOf
|
|
@@ -28,7 +28,7 @@ import "./chunk-WNDUGQDX.js";
|
|
|
28
28
|
import {
|
|
29
29
|
cliNpxCommand,
|
|
30
30
|
machineName
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
32
32
|
import "./chunk-K3NQKI34.js";
|
|
33
33
|
|
|
34
34
|
// src/link.ts
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-76HDATOB.js";
|
|
5
5
|
import {
|
|
6
6
|
installCliCopy,
|
|
7
7
|
installMachineHooks
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WHHV2NZA.js";
|
|
9
|
+
import "./chunk-YCZ7XJJF.js";
|
|
10
10
|
import {
|
|
11
11
|
claudeDirsOfScan,
|
|
12
12
|
cliVersionOs,
|
|
13
13
|
scanProcesses
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-U7PMOZGI.js";
|
|
15
15
|
import {
|
|
16
16
|
codexConfigDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NCRQGIJY.js";
|
|
18
18
|
import {
|
|
19
19
|
readMachine,
|
|
20
20
|
secureWindowsMachine,
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
} from "./chunk-3IMV5EHP.js";
|
|
23
23
|
import {
|
|
24
24
|
deviceLogin
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-WO7NALQO.js";
|
|
26
|
+
import "./chunk-CWEEIRW2.js";
|
|
27
27
|
import {
|
|
28
28
|
findBin
|
|
29
29
|
} from "./chunk-2IMJECYD.js";
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
installService,
|
|
35
35
|
windowsUser
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WLHRUZTR.js";
|
|
40
40
|
import "./chunk-PY74LT2W.js";
|
|
41
41
|
import {
|
|
42
42
|
cliEntry
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
machineTokenSuccessSchema,
|
|
48
48
|
normalizeHost,
|
|
49
49
|
runCmd
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
51
51
|
import "./chunk-K3NQKI34.js";
|
|
52
52
|
|
|
53
53
|
// src/machine-connect.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MMWX62ZU.js";
|
|
5
5
|
import {
|
|
6
6
|
detectRepo
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CWEEIRW2.js";
|
|
8
8
|
import {
|
|
9
9
|
toolFromEnv
|
|
10
10
|
} from "./chunk-2IMJECYD.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-TKMIV7BG.js";
|
|
14
14
|
import {
|
|
15
15
|
loadToken
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
17
17
|
import "./chunk-WNDUGQDX.js";
|
|
18
18
|
import {
|
|
19
19
|
cliNpxCommand,
|
|
20
20
|
isSecureUrl,
|
|
21
21
|
normalizeHost
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
23
23
|
import "./chunk-K3NQKI34.js";
|
|
24
24
|
|
|
25
25
|
// src/mcp.ts
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
buildProfiles,
|
|
8
8
|
cliVersionOs,
|
|
9
9
|
scanProcesses
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U7PMOZGI.js";
|
|
11
11
|
import {
|
|
12
12
|
claudeDirsFromRc,
|
|
13
13
|
profileKeyOf,
|
|
14
14
|
profileKeys,
|
|
15
15
|
uniqueProfileKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NCRQGIJY.js";
|
|
17
17
|
import {
|
|
18
18
|
readMachine,
|
|
19
19
|
writeMachine,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-3IMV5EHP.js";
|
|
22
22
|
import {
|
|
23
23
|
VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WLHRUZTR.js";
|
|
25
25
|
import {
|
|
26
26
|
apiRequest
|
|
27
27
|
} from "./chunk-PY74LT2W.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
machineHeartbeatResponseSchema,
|
|
40
40
|
parseUsageKey,
|
|
41
41
|
runCmd
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
43
43
|
import "./chunk-K3NQKI34.js";
|
|
44
44
|
|
|
45
45
|
// src/service/run.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
profileKeys
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NCRQGIJY.js";
|
|
5
5
|
import {
|
|
6
6
|
SERVICE_ALIVE_MS,
|
|
7
7
|
readMachine,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
} from "./chunk-3IMV5EHP.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MMWX62ZU.js";
|
|
13
13
|
import {
|
|
14
14
|
detectRepo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CWEEIRW2.js";
|
|
16
16
|
import "./chunk-2IMJECYD.js";
|
|
17
17
|
import "./chunk-TKMIV7BG.js";
|
|
18
18
|
import {
|
|
19
19
|
SCHTASKS_TASK,
|
|
20
20
|
readCredentials,
|
|
21
21
|
windowsServiceStatus
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Q2TS3GT3.js";
|
|
23
23
|
import {
|
|
24
24
|
apiRequest,
|
|
25
25
|
errorOf
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
cliNpxCommand,
|
|
30
30
|
machineName,
|
|
31
31
|
runCmd
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
33
33
|
import "./chunk-K3NQKI34.js";
|
|
34
34
|
|
|
35
35
|
// src/status.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MMWX62ZU.js";
|
|
5
5
|
import "./chunk-2IMJECYD.js";
|
|
6
6
|
import "./chunk-TKMIV7BG.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Q2TS3GT3.js";
|
|
8
8
|
import "./chunk-WNDUGQDX.js";
|
|
9
9
|
import {
|
|
10
10
|
cliNpxCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZYRPQPGL.js";
|
|
12
12
|
import "./chunk-K3NQKI34.js";
|
|
13
13
|
|
|
14
14
|
// src/token.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hivefloor/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Connect your coding agents (Claude Code, Codex, Cursor, Gemini, Grok) to Hivefloor: live presence, task coordination and usage on one floor.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Errr0rr404",
|
|
7
|
+
"url": "https://github.com/Errr0rr404"
|
|
8
|
+
},
|
|
5
9
|
"keywords": [
|
|
6
10
|
"hivefloor",
|
|
7
11
|
"ai-agents",
|
|
@@ -14,11 +18,11 @@
|
|
|
14
18
|
],
|
|
15
19
|
"homepage": "https://hivefloor.worldofz.info",
|
|
16
20
|
"bugs": {
|
|
17
|
-
"url": "https://github.com/
|
|
21
|
+
"url": "https://github.com/Errr0rr404/hivefloor/issues"
|
|
18
22
|
},
|
|
19
23
|
"repository": {
|
|
20
24
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/
|
|
25
|
+
"url": "git+https://github.com/Errr0rr404/hivefloor.git",
|
|
22
26
|
"directory": "packages/cli"
|
|
23
27
|
},
|
|
24
28
|
"license": "MIT",
|