@agentsky/sky 3.49.0 → 3.49.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/dist/{chunk-HGL7TLNA.js → chunk-4O5BYMBY.js} +2 -2
- package/dist/{chunk-JMGVHVOS.js → chunk-EIIYZVDB.js} +10 -10
- package/dist/{chunk-HNUY5PBQ.js → chunk-GITJNXCT.js} +2 -2
- package/dist/{chunk-RVI7ZWR2.js → chunk-J5Y3GBFE.js} +2 -2
- package/dist/{chunk-6LRSRXQI.js → chunk-KAUYD6LR.js} +1 -1
- package/dist/{chunk-HFWHVU72.js → chunk-ONI4XI52.js} +1 -1
- package/dist/{chunk-7JFTEJ7B.js → chunk-OPV2FXUQ.js} +1 -1
- package/dist/{chunk-QTE5OMZY.js → chunk-PO4BEXQ7.js} +4 -4
- package/dist/{chunk-ZOXE2XNH.js → chunk-UZ7DE7B4.js} +2 -2
- package/dist/{chunk-CK7N635F.js → chunk-WOTYAQGN.js} +1 -1
- package/dist/{chunk-UYBKORXA.js → chunk-YHO5UDFS.js} +5 -5
- package/dist/{compute-4MMGFJGE.js → compute-XAJFVSFL.js} +2 -2
- package/dist/{compute-report-LIMMRQY3.js → compute-report-GKDPX4XS.js} +12 -12
- package/dist/index.js +50 -46
- package/dist/{local-skills-5LJST7EP.js → local-skills-MTVILHBQ.js} +3 -3
- package/dist/{local-skills-run-6SZJQSVF.js → local-skills-run-DPAEXDNS.js} +9 -9
- package/dist/{mcp-register-XY4MR3ZZ.js → mcp-register-W7EVHT6T.js} +3 -3
- package/dist/{mcp-serve-QROKKUJV.js → mcp-serve-QTQXSRME.js} +6 -6
- package/dist/{trace-SJZ25T35.js → trace-CMWC4LFX.js} +3 -3
- package/dist/{trace-exclusions-IC6OA2ND.js → trace-exclusions-2KLVHVSW.js} +1 -1
- package/dist/{trace-library-V23TEXG4.js → trace-library-XVUYQB5X.js} +7 -7
- package/package.json +1 -1
- /package/dist/{chunk-2YUZZ5VG.js → chunk-X77A5HMO.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lastUploads,
|
|
3
3
|
loadSyncConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YHO5UDFS.js";
|
|
5
5
|
import {
|
|
6
6
|
CAPTURE_HOOK_ARGS,
|
|
7
7
|
SetupJournal,
|
|
8
8
|
isCaptureCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UZ7DE7B4.js";
|
|
10
10
|
import {
|
|
11
11
|
localAgentKey,
|
|
12
12
|
shortToolCount
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PO4BEXQ7.js";
|
|
14
14
|
import {
|
|
15
15
|
cachedSettingsBlock,
|
|
16
16
|
instructionFiles,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
settingsBlockState,
|
|
20
20
|
workspaceSlug,
|
|
21
21
|
writeSettingsBlocks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4O5BYMBY.js";
|
|
23
23
|
import {
|
|
24
24
|
ApiError,
|
|
25
25
|
api
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ONI4XI52.js";
|
|
27
27
|
import {
|
|
28
28
|
detectClaudeApp,
|
|
29
29
|
detectHermes,
|
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
registerMcpServer,
|
|
34
34
|
registeredToolList,
|
|
35
35
|
systemCommandRunner
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-WOTYAQGN.js";
|
|
37
37
|
import {
|
|
38
38
|
detectLocalAgents
|
|
39
39
|
} from "./chunk-2H4W5ZKZ.js";
|
|
40
40
|
import {
|
|
41
41
|
installSkill,
|
|
42
42
|
skillState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OPV2FXUQ.js";
|
|
44
44
|
import {
|
|
45
45
|
apiBase,
|
|
46
46
|
apiToken,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-XHZJG3QT.js";
|
|
49
49
|
import {
|
|
50
50
|
CLI_VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KAUYD6LR.js";
|
|
52
52
|
|
|
53
53
|
// src/compute-report.ts
|
|
54
54
|
import { randomBytes } from "crypto";
|
|
@@ -1923,7 +1923,7 @@ ${raw}` : `${line}
|
|
|
1923
1923
|
return { trigger: "codex_notify", outcome: "installed", path };
|
|
1924
1924
|
}
|
|
1925
1925
|
async function installSchedule(opts) {
|
|
1926
|
-
const lib = await import("./trace-library-
|
|
1926
|
+
const lib = await import("./trace-library-XVUYQB5X.js");
|
|
1927
1927
|
if ((opts.platform ?? process.platform) !== "darwin") {
|
|
1928
1928
|
return { trigger: "schedule", outcome: "skipped", detail: "the 15-minute sweep is macOS only; on Linux add `*/15 * * * * sky trace sync --quiet` to your crontab. The hooks still capture each session" };
|
|
1929
1929
|
}
|
|
@@ -1946,7 +1946,7 @@ async function installSchedule(opts) {
|
|
|
1946
1946
|
return { trigger: "schedule", outcome: "installed", path };
|
|
1947
1947
|
}
|
|
1948
1948
|
async function installCapture(opts) {
|
|
1949
|
-
const lib = await import("./trace-library-
|
|
1949
|
+
const lib = await import("./trace-library-XVUYQB5X.js");
|
|
1950
1950
|
const config = lib.loadSyncConfig();
|
|
1951
1951
|
if (!config.enabled && config.enabledAt) return { sync: "off", triggers: [] };
|
|
1952
1952
|
const configFile = lib.syncConfigPath();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SKILL_MARKER,
|
|
3
3
|
SKILL_NAME
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OPV2FXUQ.js";
|
|
5
5
|
import {
|
|
6
6
|
configPath
|
|
7
7
|
} from "./chunk-XHZJG3QT.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KAUYD6LR.js";
|
|
11
11
|
|
|
12
12
|
// src/local-skills.ts
|
|
13
13
|
import { existsSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TRACE_CONTENT_SCOPES,
|
|
3
3
|
redactTraceText
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X77A5HMO.js";
|
|
5
5
|
import {
|
|
6
6
|
configPath
|
|
7
7
|
} from "./chunk-XHZJG3QT.js";
|
|
8
8
|
import {
|
|
9
9
|
USER_AGENT
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KAUYD6LR.js";
|
|
11
11
|
|
|
12
12
|
// src/trace.ts
|
|
13
13
|
import { randomBytes } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cachedSettingsBlock,
|
|
3
3
|
workspaceSlug
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4O5BYMBY.js";
|
|
5
5
|
import {
|
|
6
6
|
api
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ONI4XI52.js";
|
|
8
8
|
import {
|
|
9
9
|
mcpUrlFor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOTYAQGN.js";
|
|
11
11
|
import {
|
|
12
12
|
apiBase,
|
|
13
13
|
apiToken,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-XHZJG3QT.js";
|
|
17
17
|
import {
|
|
18
18
|
USER_AGENT
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KAUYD6LR.js";
|
|
20
20
|
|
|
21
21
|
// src/mcp-serve.ts
|
|
22
22
|
import { createInterface } from "readline";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withoutSettingsBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4O5BYMBY.js";
|
|
4
4
|
import {
|
|
5
5
|
MCP_SERVER_NAME,
|
|
6
6
|
withoutTomlServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WOTYAQGN.js";
|
|
8
8
|
import {
|
|
9
9
|
configPath
|
|
10
10
|
} from "./chunk-XHZJG3QT.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
ApiError,
|
|
19
19
|
api
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ONI4XI52.js";
|
|
21
21
|
import {
|
|
22
22
|
privateHold
|
|
23
23
|
} from "./chunk-YO2XUCCF.js";
|
|
24
24
|
import {
|
|
25
25
|
installClaudeHooks
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J5Y3GBFE.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionSourceCollector,
|
|
29
29
|
publicRemote,
|
|
30
30
|
redactTraceText
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-X77A5HMO.js";
|
|
32
32
|
import {
|
|
33
33
|
loadLocalSkillState,
|
|
34
34
|
revisionAt
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GITJNXCT.js";
|
|
36
36
|
import {
|
|
37
37
|
apiBase,
|
|
38
38
|
apiToken,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-XHZJG3QT.js";
|
|
41
41
|
import {
|
|
42
42
|
USER_AGENT
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KAUYD6LR.js";
|
|
44
44
|
|
|
45
45
|
// src/trace-library.ts
|
|
46
46
|
import { createHash as createHash3 } from "crypto";
|
|
@@ -10,23 +10,23 @@ import {
|
|
|
10
10
|
reportComputer,
|
|
11
11
|
savedMachineKey,
|
|
12
12
|
upkeepComputer
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-EIIYZVDB.js";
|
|
14
|
+
import "./chunk-YHO5UDFS.js";
|
|
15
15
|
import "./chunk-IO2N34S2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UZ7DE7B4.js";
|
|
17
|
+
import "./chunk-PO4BEXQ7.js";
|
|
18
|
+
import "./chunk-4O5BYMBY.js";
|
|
19
|
+
import "./chunk-ONI4XI52.js";
|
|
20
|
+
import "./chunk-WOTYAQGN.js";
|
|
21
21
|
import "./chunk-2H4W5ZKZ.js";
|
|
22
22
|
import "./chunk-YO2XUCCF.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-J5Y3GBFE.js";
|
|
24
|
+
import "./chunk-X77A5HMO.js";
|
|
25
25
|
import "./chunk-BKNZQZZD.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-GITJNXCT.js";
|
|
27
|
+
import "./chunk-OPV2FXUQ.js";
|
|
28
28
|
import "./chunk-XHZJG3QT.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-KAUYD6LR.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
export {
|
|
32
32
|
MCP_ENTRY,
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
skyCommand,
|
|
18
18
|
takeBack,
|
|
19
19
|
waitForAnswer
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EIIYZVDB.js";
|
|
21
21
|
import {
|
|
22
22
|
SINGLE_REQUEST_MAX_BYTES,
|
|
23
23
|
codexThreadName,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
transfer,
|
|
31
31
|
uploadLargeFile,
|
|
32
32
|
workspaceState
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YHO5UDFS.js";
|
|
34
34
|
import "./chunk-IO2N34S2.js";
|
|
35
35
|
import {
|
|
36
36
|
SetupJournal,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
shellEnvFiles,
|
|
39
39
|
shellStartupFiles,
|
|
40
40
|
writeShellEnv
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UZ7DE7B4.js";
|
|
42
42
|
import {
|
|
43
43
|
convertSession,
|
|
44
44
|
isEngine
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
runsUnattended,
|
|
52
52
|
shortToolCount,
|
|
53
53
|
wantsInteractiveClientKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PO4BEXQ7.js";
|
|
55
55
|
import {
|
|
56
56
|
addPolicy,
|
|
57
57
|
deleteWorkspace,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
withoutSettingsBlock,
|
|
76
76
|
workspaceSlug,
|
|
77
77
|
writeSettingsBlocks
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-4O5BYMBY.js";
|
|
79
79
|
import {
|
|
80
80
|
ApiError,
|
|
81
81
|
api,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
streamEvents,
|
|
90
90
|
uploadFile,
|
|
91
91
|
writeResponseFile
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-ONI4XI52.js";
|
|
93
93
|
import {
|
|
94
94
|
NO_TOOLS,
|
|
95
95
|
detectClaudeApp,
|
|
@@ -101,13 +101,13 @@ import {
|
|
|
101
101
|
refreshMcpRegistrations,
|
|
102
102
|
registerMcpServer,
|
|
103
103
|
systemCommandRunner
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-WOTYAQGN.js";
|
|
105
105
|
import {
|
|
106
106
|
detectLocalAgents,
|
|
107
107
|
selectLocalAgents
|
|
108
108
|
} from "./chunk-2H4W5ZKZ.js";
|
|
109
109
|
import "./chunk-YO2XUCCF.js";
|
|
110
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-J5Y3GBFE.js";
|
|
111
111
|
import {
|
|
112
112
|
AGENT_TYPES,
|
|
113
113
|
MODEL_SUBSCRIPTION_PLAN_PHRASE,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
splitMcpServers,
|
|
130
130
|
storeSkillRefSchema,
|
|
131
131
|
supersededBy
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-X77A5HMO.js";
|
|
133
133
|
import {
|
|
134
134
|
redactLine,
|
|
135
135
|
redactPlainText,
|
|
@@ -138,13 +138,13 @@ import {
|
|
|
138
138
|
import {
|
|
139
139
|
skillTargets,
|
|
140
140
|
syncLocalSkills
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-GITJNXCT.js";
|
|
142
142
|
import {
|
|
143
143
|
SKILL_NAME,
|
|
144
144
|
installSkill,
|
|
145
145
|
isInstalledSkill,
|
|
146
146
|
skillPaths
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-OPV2FXUQ.js";
|
|
148
148
|
import {
|
|
149
149
|
apiBase,
|
|
150
150
|
apiToken,
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
import {
|
|
158
158
|
CLI_VERSION,
|
|
159
159
|
USER_AGENT
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-KAUYD6LR.js";
|
|
161
161
|
import "./chunk-MLKGABMK.js";
|
|
162
162
|
|
|
163
163
|
// src/session-show.ts
|
|
@@ -3935,7 +3935,7 @@ async function setUp(opts, journal, afterwards = []) {
|
|
|
3935
3935
|
const workspace2 = engines.length && (has("skill") || has("capture")) ? await workspaceSlug().catch(() => null) : null;
|
|
3936
3936
|
let install = false;
|
|
3937
3937
|
if (engines.length && (has("skill") || has("capture") || has("plugins"))) {
|
|
3938
|
-
const captureNoticeLines = has("capture") && workspace2 ? captureNotice(workspace2, await (await import("./trace-library-
|
|
3938
|
+
const captureNoticeLines = has("capture") && workspace2 ? captureNotice(workspace2, await (await import("./trace-library-XVUYQB5X.js")).sourceFolders()) : [];
|
|
3939
3939
|
if (interactive) for (const line2 of captureNoticeLines) console.log(line2);
|
|
3940
3940
|
install = await agreed(installQuestion(engines.map((engine) => engine.name), { capture: captureNoticeLines.length > 0 }));
|
|
3941
3941
|
if (!interactive && captureNoticeLines.length) captureNotices = captureNoticeLines;
|
|
@@ -3987,9 +3987,9 @@ async function setUp(opts, journal, afterwards = []) {
|
|
|
3987
3987
|
for (const client of mcpOnly) await registerMcp(client);
|
|
3988
3988
|
if (token) {
|
|
3989
3989
|
try {
|
|
3990
|
-
const { localSkillWorkspace } = await import("./local-skills-run-
|
|
3990
|
+
const { localSkillWorkspace } = await import("./local-skills-run-DPAEXDNS.js");
|
|
3991
3991
|
const workspace3 = await localSkillWorkspace();
|
|
3992
|
-
const { libraryRequest } = await import("./trace-library-
|
|
3992
|
+
const { libraryRequest } = await import("./trace-library-XVUYQB5X.js");
|
|
3993
3993
|
const local = await syncLocalSkills({
|
|
3994
3994
|
workspace: workspace3,
|
|
3995
3995
|
targets: skillTargets(agents, hermes?.root ?? null),
|
|
@@ -8748,26 +8748,30 @@ agentSlack.command("unpublish <agent>").description("uninstall and delete the ag
|
|
|
8748
8748
|
console.log(`Removed from Slack: ${done.slack_app_ids.join(", ")}`);
|
|
8749
8749
|
})
|
|
8750
8750
|
);
|
|
8751
|
-
agentSlack.command("connect <agent>").description("
|
|
8751
|
+
agentSlack.command("connect <agent>").description("connect the agent in Slack and open its messages").option("--no-open", "print the link instead of opening it").option("--json", "print the answer as JSON").action(
|
|
8752
8752
|
run2(async (agentId, opts) => {
|
|
8753
8753
|
const thread2 = await connectAgentSlackDm(agentId);
|
|
8754
8754
|
if (opts.json) return void console.log(JSON.stringify(thread2, null, 2));
|
|
8755
|
-
|
|
8756
|
-
|
|
8755
|
+
const allow2 = thread2.status === "needs_you" ? thread2.next?.url : void 0;
|
|
8756
|
+
const url = allow2 ?? thread2.open_url;
|
|
8757
|
+
if (url && opts.open !== false) openBrowser(url);
|
|
8758
|
+
if (allow2) console.log(`Allow it in Slack: ${allow2}`);
|
|
8759
|
+
else console.log(thread2.open_url ? `Connected: ${thread2.open_url}` : "Connected.");
|
|
8757
8760
|
})
|
|
8758
8761
|
);
|
|
8759
|
-
agentSlack.command("dm <agent>").description("whether the agent
|
|
8762
|
+
agentSlack.command("dm <agent>").description("whether the agent is connected in Slack, and the link that opens it").option("--json", "print the answer as JSON").action(
|
|
8760
8763
|
run2(async (agentId, opts) => {
|
|
8761
8764
|
const thread2 = await agentSlackDm(agentId);
|
|
8762
8765
|
if (opts.json) return void console.log(JSON.stringify(thread2, null, 2));
|
|
8763
|
-
|
|
8766
|
+
const allow2 = thread2.status === "needs_you" ? thread2.next?.url : void 0;
|
|
8767
|
+
console.log(thread2.status === "published" ? `Connected: ${thread2.open_url}` : allow2 ? `Waiting for the Allow in Slack: ${allow2}` : thread2.installed ? "Not connected; the AgentSky app is already allowed in Slack." : "Not connected.");
|
|
8764
8768
|
})
|
|
8765
8769
|
);
|
|
8766
|
-
agentSlack.command("disconnect <agent>").description("take
|
|
8770
|
+
agentSlack.command("disconnect <agent>").description("take this agent out of Slack; your other agents stay").option("--json", "print the answer as JSON").action(
|
|
8767
8771
|
run2(async (agentId, opts) => {
|
|
8768
8772
|
const done = await disconnectAgentSlackDm(agentId);
|
|
8769
8773
|
if (opts.json) return void console.log(JSON.stringify(done, null, 2));
|
|
8770
|
-
console.log("Disconnected.
|
|
8774
|
+
console.log("Disconnected. Your other agents stay.");
|
|
8771
8775
|
})
|
|
8772
8776
|
);
|
|
8773
8777
|
agent.command("record").description("how each harness and model did, as the session record tells it: sessions, decisions people recorded, spend").option("--since <date>", "ISO 8601 start (default: 30 days before --until)").option("--until <date>", "ISO 8601 end (default: now)").option("--json", "print the record as JSON").action(
|
|
@@ -10435,11 +10439,11 @@ skills.command("mine").description("your own skills, which follow you to every w
|
|
|
10435
10439
|
);
|
|
10436
10440
|
skills.command("local").description("the skills sky installed in this computer's engines (Claude Code, Codex, Cursor, Grok, Hermes), with each one's revision, layer and pin").option("--json", "print as JSON").option("--off", "stop installing skills on this computer and remove the folders sky wrote; folders you wrote stay").option("--on", "install the workspace's skills on this computer again from the next sync").action(
|
|
10437
10441
|
run2(async (opts) => {
|
|
10438
|
-
const { loadLocalSkillState, skillTargets: skillTargets2, turnOffLocalSkills, turnOnLocalSkills } = await import("./local-skills-
|
|
10442
|
+
const { loadLocalSkillState, skillTargets: skillTargets2, turnOffLocalSkills, turnOnLocalSkills } = await import("./local-skills-MTVILHBQ.js");
|
|
10439
10443
|
if (opts.off && opts.on) throw new Error("pass --off or --on, not both");
|
|
10440
10444
|
if (opts.off) {
|
|
10441
10445
|
const { detectLocalAgents: detectLocalAgents2 } = await import("./local-agents-O7PYSQGR.js");
|
|
10442
|
-
const { detectHermes: detectHermes2 } = await import("./mcp-register-
|
|
10446
|
+
const { detectHermes: detectHermes2 } = await import("./mcp-register-W7EVHT6T.js");
|
|
10443
10447
|
const removed = turnOffLocalSkills(skillTargets2(detectLocalAgents2(), detectHermes2()?.root ?? null, void 0, { all: true }));
|
|
10444
10448
|
return void console.log(`Skills are no longer installed on this computer${removed.length ? `; removed ${removed.length} that sky wrote` : ""}. \`sky skills local --on\` turns it back on.`);
|
|
10445
10449
|
}
|
|
@@ -10460,7 +10464,7 @@ skills.command("local").description("the skills sky installed in this computer's
|
|
|
10460
10464
|
);
|
|
10461
10465
|
skills.command("sync").description("install the workspace's skills and your own skills and changes in this computer's engines now; capture does this every 15 minutes").option("--workspace <slug>", "the workspace whose skills to install (default: where capture sends sessions, else your default)").option("--dry-run", "show what would change without writing").option("--json", "print the result as JSON").action(
|
|
10462
10466
|
run2(async (opts) => {
|
|
10463
|
-
const { describeLocalSkills, refreshLocalSkills } = await import("./local-skills-run-
|
|
10467
|
+
const { describeLocalSkills, refreshLocalSkills } = await import("./local-skills-run-DPAEXDNS.js");
|
|
10464
10468
|
const result = await refreshLocalSkills({ workspace: opts.workspace, dryRun: opts.dryRun });
|
|
10465
10469
|
if (opts.json) return void console.log(JSON.stringify(result, null, 2));
|
|
10466
10470
|
if (result.off) return void console.log("Skills are not installed on this computer (turned off); `sky skills local --on` turns it back on.");
|
|
@@ -10472,14 +10476,14 @@ ${lines.join("\n")}` : `Skills from ${result.workspace} are current.`);
|
|
|
10472
10476
|
);
|
|
10473
10477
|
skills.command("pin <name>").description("keep a skill installed on this computer at the revision it has now; syncs leave it until you unpin it").action(
|
|
10474
10478
|
run2(async (name) => {
|
|
10475
|
-
const { pinLocalSkill } = await import("./local-skills-
|
|
10479
|
+
const { pinLocalSkill } = await import("./local-skills-MTVILHBQ.js");
|
|
10476
10480
|
const pinned = pinLocalSkill(name);
|
|
10477
10481
|
console.log(`${name} stays at ${pinned.revision_id} on this computer`);
|
|
10478
10482
|
})
|
|
10479
10483
|
);
|
|
10480
10484
|
skills.command("unpin <name>").description("let a pinned skill follow its updates again from the next sync").action(
|
|
10481
10485
|
run2(async (name) => {
|
|
10482
|
-
const { unpinLocalSkill } = await import("./local-skills-
|
|
10486
|
+
const { unpinLocalSkill } = await import("./local-skills-MTVILHBQ.js");
|
|
10483
10487
|
console.log(unpinLocalSkill(name) ? `${name} follows its updates again` : `${name} was not pinned`);
|
|
10484
10488
|
})
|
|
10485
10489
|
);
|
|
@@ -12284,22 +12288,22 @@ program.command("capabilities").description("deprecated: sky plugins list --view
|
|
|
12284
12288
|
);
|
|
12285
12289
|
var mcpCommand = program.command("mcp").description("the AgentSky MCP server on this computer");
|
|
12286
12290
|
mcpCommand.command("serve").description("serve the AgentSky MCP server's short tool list over stdio, for a program that starts its servers itself (the Claude app's chat, as `sky setup` registers it); each request is sent with the token sky holds at that moment").action(run2(async () => {
|
|
12287
|
-
const { serveMcp } = await import("./mcp-serve-
|
|
12291
|
+
const { serveMcp } = await import("./mcp-serve-QTQXSRME.js");
|
|
12288
12292
|
await serveMcp();
|
|
12289
12293
|
}));
|
|
12290
12294
|
var compute = program.command("compute").description("the computers you set up with sky: the engines on each and whether each has the workspace's plugins, skills, capture and settings (the Compute group in Settings)");
|
|
12291
12295
|
compute.command("list", { isDefault: true }).description("every computer you set up with sky, newest report first, with what is not current on each engine").option("--json", "print the list as JSON").action(run2(async (opts) => {
|
|
12292
|
-
const { listComputeMachines, renderMachines } = await import("./compute-
|
|
12296
|
+
const { listComputeMachines, renderMachines } = await import("./compute-XAJFVSFL.js");
|
|
12293
12297
|
const machines = await listComputeMachines();
|
|
12294
12298
|
console.log(opts.json ? JSON.stringify({ machines }, null, 2) : renderMachines(machines));
|
|
12295
12299
|
}));
|
|
12296
12300
|
compute.command("repair <machine>").description("ask one of your computers to put its AgentSky setup right on its next scheduled run").option("--json", "print the answer as JSON").action(run2(async (machine, opts) => {
|
|
12297
|
-
const { requestRepair } = await import("./compute-
|
|
12301
|
+
const { requestRepair } = await import("./compute-XAJFVSFL.js");
|
|
12298
12302
|
const answer = await requestRepair(machine);
|
|
12299
12303
|
console.log(opts.json ? JSON.stringify({ machine: answer }, null, 2) : `${answer.name} repairs on its next run (at most 15 minutes while it is on).`);
|
|
12300
12304
|
}));
|
|
12301
12305
|
compute.command("remove <machine>").description("forget one of your computers; nothing on it changes (run `sky setup --remove` there to take AgentSky out)").action(run2(async (machine) => {
|
|
12302
|
-
const { removeMachine } = await import("./compute-
|
|
12306
|
+
const { removeMachine } = await import("./compute-XAJFVSFL.js");
|
|
12303
12307
|
await removeMachine(machine);
|
|
12304
12308
|
console.log(`Forgot ${machine}. It reports again on its next run unless \`sky setup --remove\` ran there.`);
|
|
12305
12309
|
}));
|
|
@@ -12968,7 +12972,7 @@ harness.command("connect").description("run an ACP agent (the command after --)
|
|
|
12968
12972
|
}));
|
|
12969
12973
|
var traceCmd = program.command("trace").description("correlate this machine's agent work with the cloud sessions it starts (metadata only unless you choose content)");
|
|
12970
12974
|
traceCmd.command("start").description("start a trace: a grant for this machine, a root span, and the spool the hooks write to").option("--name <name>", "a name for the task").option("--source <source>", "how this machine reports itself", "claude-code").option("--hooks [settings]", "also install the Claude Code hooks (default: ./.claude/settings.local.json)").option("--capture <scopes>", "also send content, redacted on this machine first: any of prompts,tool_output,files").option("--file <path>", "a file the files scope may send (repeatable)", collect).option("--dir <path>", "a folder whose files the files scope may send when a file tool touches them (repeatable)", collect).action(run2(async (opts) => {
|
|
12971
|
-
const { readState, writeState, record, installClaudeHooks, parseContentScopes, chosenPaths, fileEvent } = await import("./trace-
|
|
12975
|
+
const { readState, writeState, record, installClaudeHooks, parseContentScopes, chosenPaths, fileEvent } = await import("./trace-CMWC4LFX.js");
|
|
12972
12976
|
if (readState()) throw new Error("a trace is already running here \u2014 `sky trace stop` it first");
|
|
12973
12977
|
const scopes = parseContentScopes(opts.capture);
|
|
12974
12978
|
const chosen = chosenPaths(opts.file ?? [], opts.dir ?? []);
|
|
@@ -13003,7 +13007,7 @@ traceCmd.command("start").description("start a trace: a grant for this machine,
|
|
|
13003
13007
|
}));
|
|
13004
13008
|
traceCmd.command("hook").description("record one Claude Code hook event read from stdin (run by the installed hooks; never fails, prints nothing)").action(async () => {
|
|
13005
13009
|
try {
|
|
13006
|
-
const { readState, record, flush, grantSender, eventsForClaudeHook, contentForClaudeHook, clearState } = await import("./trace-
|
|
13010
|
+
const { readState, record, flush, grantSender, eventsForClaudeHook, contentForClaudeHook, clearState } = await import("./trace-CMWC4LFX.js");
|
|
13007
13011
|
const chunks = [];
|
|
13008
13012
|
for await (const chunk of process.stdin) chunks.push(chunk);
|
|
13009
13013
|
const input = JSON.parse(Buffer.concat(chunks).toString("utf8") || "{}");
|
|
@@ -13016,14 +13020,14 @@ traceCmd.command("hook").description("record one Claude Code hook event read fro
|
|
|
13016
13020
|
}
|
|
13017
13021
|
});
|
|
13018
13022
|
traceCmd.command("flush").description("send what the spool holds, retrying with backoff").action(run2(async () => {
|
|
13019
|
-
const { readState, flush, grantSender } = await import("./trace-
|
|
13023
|
+
const { readState, flush, grantSender } = await import("./trace-CMWC4LFX.js");
|
|
13020
13024
|
const state = readState();
|
|
13021
13025
|
if (!state) throw new Error("no trace is running here");
|
|
13022
13026
|
const outcome = await flush(grantSender(state), { attempts: 4 });
|
|
13023
13027
|
console.log(`sent ${outcome.sent}, refused ${outcome.refused}, given up ${outcome.expired}, still pending ${outcome.pending}${outcome.stopped ? ` (stopped: ${outcome.stopped})` : ""}`);
|
|
13024
13028
|
}));
|
|
13025
13029
|
traceCmd.command("status").description("the running trace and its spool").action(run2(async () => {
|
|
13026
|
-
const { readState, spoolStatus } = await import("./trace-
|
|
13030
|
+
const { readState, spoolStatus } = await import("./trace-CMWC4LFX.js");
|
|
13027
13031
|
const state = readState();
|
|
13028
13032
|
if (!state) {
|
|
13029
13033
|
console.log("No trace is running here.");
|
|
@@ -13033,7 +13037,7 @@ traceCmd.command("status").description("the running trace and its spool").action
|
|
|
13033
13037
|
console.log(`${state.trace_id} as ${state.source}: ${spool.pending} pending, ${spool.dropped_full} dropped (spool full), ${spool.dropped_expired} given up, ${spool.refused} refused`);
|
|
13034
13038
|
}));
|
|
13035
13039
|
traceCmd.command("show [id]").description("the trace bundle: spans, the sessions they reach, cost counted once per session").option("--json", "print the bundle as JSON").action(run2(async (id2, opts) => {
|
|
13036
|
-
const { readState } = await import("./trace-
|
|
13040
|
+
const { readState } = await import("./trace-CMWC4LFX.js");
|
|
13037
13041
|
const ref = id2 ?? readState()?.trace_id;
|
|
13038
13042
|
if (!ref) throw new Error("name a trace, or start one here");
|
|
13039
13043
|
const bundle = await api("GET", `/traces/${ref}`);
|
|
@@ -13060,7 +13064,7 @@ traceCmd.command("show [id]").description("the trace bundle: spans, the sessions
|
|
|
13060
13064
|
for (const gap of bundle.gaps) console.log(` gap: ${gap.span_id} ${gap.reason}`);
|
|
13061
13065
|
}));
|
|
13062
13066
|
traceCmd.command("stop").description("end the root span, send what is left, and revoke this machine's grant").action(run2(async () => {
|
|
13063
|
-
const { readState, record, flush, grantSender, clearState } = await import("./trace-
|
|
13067
|
+
const { readState, record, flush, grantSender, clearState } = await import("./trace-CMWC4LFX.js");
|
|
13064
13068
|
const state = readState();
|
|
13065
13069
|
if (!state) throw new Error("no trace is running here");
|
|
13066
13070
|
if (state.root_span) record(() => [{ span_id: state.root_span, kind: "end", outcome: "completed" }]);
|
|
@@ -13073,7 +13077,7 @@ var recordCmd = traceCmd.command("record").description("record every Claude Code
|
|
|
13073
13077
|
const { homedir: homedir12 } = await import("os");
|
|
13074
13078
|
const { join: join21 } = await import("path");
|
|
13075
13079
|
const vault2 = await import("./trace-vault-IUNYRVGZ.js");
|
|
13076
|
-
const { installClaudeHooks, uninstallClaudeHooks } = await import("./trace-
|
|
13080
|
+
const { installClaudeHooks, uninstallClaudeHooks } = await import("./trace-CMWC4LFX.js");
|
|
13077
13081
|
const command = "sky trace record hook";
|
|
13078
13082
|
const config = vault2.loadVaultConfig();
|
|
13079
13083
|
const settings = resolve13(opts.settings ?? config.settings ?? join21(process.env.CLAUDE_CONFIG_DIR ?? join21(homedir12(), ".claude"), "settings.json"));
|
|
@@ -13138,7 +13142,7 @@ recordCmd.command("seal <session-dir>").description("seal the cut segments of on
|
|
|
13138
13142
|
}
|
|
13139
13143
|
});
|
|
13140
13144
|
traceCmd.command("sync [payload]").description("upload this machine's agent sessions (Claude Code, Codex, Cursor, Gemini CLI and every other agent `--agents` lists) to the matching workspace's trace library, redacted here first").option("--enable", "turn sync on for this machine").option("--disable", "turn sync off; nothing more is uploaded").option("--route <match=workspace>", "send sessions whose folder path contains <match> to <workspace> (repeatable; replaces the saved rules)", collect).option("--default <workspace>", "where a session no rule matches goes").option("--keep-local", "keep sessions no rule matches on this machine (the default)").option("--personal <workspace>", "your personal workspace: the only place a session holding personal data (passport, medical, insurance, phone, address \u2026) is uploaded").option("--allow-shared-private", "let sessions that hold personal data go to a workspace other than your personal one").option("--exclude <folder>", "never upload a session that ran in <folder> or below it, to the library or as a session (repeatable; shared with the AgentSky Mac app when it is installed)", collect).option("--unexclude <folder>", "stop excluding <folder> (repeatable)", collect).option("--session <ref>", "only this session: its id or transcript path (repeatable)", collect).option("--agent <id>", "only sessions of this agent (grok-bot, muse, claude_code, codex \u2026 as `--agents` lists them; repeatable)", collect).option("--import <export>", "add a downloaded cloud export (claude.ai, ChatGPT, Gemini, Grok, DeepSeek \u2026: its .zip, folder or file) so sync uploads it (repeatable)", collect).option("--agents", "list the agents sync reads and which are on this machine").option("--full", "re-read every session, not only files that changed").option("--limit <n>", "at most this many changed sessions this run", (v) => Number.parseInt(v, 10)).option("--dry-run", "show what would be uploaded without uploading").option("--hook", "run from a Claude Code SessionEnd hook or Codex notify: upload that session in the background and return at once").option("--install-schedule", "also sweep every 15 minutes (macOS launchd)").option("--install-hooks", "also sync at the end of every Claude Code and Codex turn (their hook and notify settings)").option("--status", "what sync has done on this machine").option("--quiet", "print only failures").action(async (payload, opts) => {
|
|
13141
|
-
const lib = await import("./trace-library-
|
|
13145
|
+
const lib = await import("./trace-library-XVUYQB5X.js");
|
|
13142
13146
|
if (opts.hook) {
|
|
13143
13147
|
try {
|
|
13144
13148
|
let raw = payload ?? "";
|
|
@@ -13163,7 +13167,7 @@ traceCmd.command("sync [payload]").description("upload this machine's agent sess
|
|
|
13163
13167
|
return;
|
|
13164
13168
|
}
|
|
13165
13169
|
if (opts.exclude || opts.unexclude) {
|
|
13166
|
-
const { changeExclusions, macSettingsPath } = await import("./trace-exclusions-
|
|
13170
|
+
const { changeExclusions, macSettingsPath } = await import("./trace-exclusions-2KLVHVSW.js");
|
|
13167
13171
|
const { dirname: dirname13 } = await import("path");
|
|
13168
13172
|
const changed = changeExclusions(dirname13(lib.syncConfigPath()), { add: opts.exclude, remove: opts.unexclude });
|
|
13169
13173
|
console.log(changed.exclusions.folders.length ? "Sync never uploads sessions that ran in:" : "No folder is excluded.");
|
|
@@ -13241,7 +13245,7 @@ traceCmd.command("sync [payload]").description("upload this machine's agent sess
|
|
|
13241
13245
|
}
|
|
13242
13246
|
console.log(`Trace sync is ${config.enabled ? "on" : "off"}${config.enabledAt ? ` (since ${config.enabledAt})` : ""}. Last full sweep: ${state.lastFullAt ?? "never"}.`);
|
|
13243
13247
|
for (const [label, count] of [...counts].sort((a, b) => b[1] - a[1])) console.log(` ${count} ${label}`);
|
|
13244
|
-
const { loadExclusions } = await import("./trace-exclusions-
|
|
13248
|
+
const { loadExclusions } = await import("./trace-exclusions-2KLVHVSW.js");
|
|
13245
13249
|
for (const folder of loadExclusions(join21(lib.syncConfigPath(), "..")).folders) console.log(` excluded: ${folder}`);
|
|
13246
13250
|
return;
|
|
13247
13251
|
}
|
|
@@ -13260,7 +13264,7 @@ traceCmd.command("sync [payload]").description("upload this machine's agent sess
|
|
|
13260
13264
|
return;
|
|
13261
13265
|
}
|
|
13262
13266
|
if (!opts.dryRun) {
|
|
13263
|
-
const { describeLocalSkills, refreshLocalSkills } = await import("./local-skills-run-
|
|
13267
|
+
const { describeLocalSkills, refreshLocalSkills } = await import("./local-skills-run-DPAEXDNS.js");
|
|
13264
13268
|
try {
|
|
13265
13269
|
const skills2 = await refreshLocalSkills({ hook: Boolean(opts.session?.length) });
|
|
13266
13270
|
if (skills2 && !opts.quiet) for (const line2 of describeLocalSkills(skills2)) console.log(line2);
|
|
@@ -13275,7 +13279,7 @@ traceCmd.command("sync [payload]").description("upload this machine's agent sess
|
|
|
13275
13279
|
for (const error of report.errors.slice(0, 20)) console.error(` ${error}`);
|
|
13276
13280
|
}
|
|
13277
13281
|
if (!opts.session && !opts.dryRun) {
|
|
13278
|
-
const { upkeepComputer } = await import("./compute-report-
|
|
13282
|
+
const { upkeepComputer } = await import("./compute-report-GKDPX4XS.js");
|
|
13279
13283
|
const said = await upkeepComputer().catch((error) => `AgentSky could not check this computer's setup: ${error instanceof Error ? error.message : String(error)}`);
|
|
13280
13284
|
if (said) console.log(said);
|
|
13281
13285
|
}
|
|
@@ -13286,7 +13290,7 @@ traceCmd.command("handoff <session>").description("hand a collected session (Gro
|
|
|
13286
13290
|
run2(async (ref, opts) => {
|
|
13287
13291
|
const handoff2 = await import("./trace-handoff-CD5LOS7B.js");
|
|
13288
13292
|
if (!handoff2.HANDOFF_TARGETS.includes(opts.to)) throw new Error("--to takes claude_code, codex, agentsky or grok-bot");
|
|
13289
|
-
const lib = await import("./trace-library-
|
|
13293
|
+
const lib = await import("./trace-library-XVUYQB5X.js");
|
|
13290
13294
|
const store = await lib.collectorStore();
|
|
13291
13295
|
const found = await handoff2.findTrace(ref, store, lib.collectorDir());
|
|
13292
13296
|
if (!found) throw new Error(`no collected session "${ref}": add an export with \`sky trace sync --import <export>\` first`);
|
|
@@ -13328,7 +13332,7 @@ traceCmd.command("handoff <session>").description("hand a collected session (Gro
|
|
|
13328
13332
|
);
|
|
13329
13333
|
traceCmd.command("mac <machine>").description("which workspace's trace library one of your Macs fills; the AgentSky Mac app uploads that Mac's agent sessions there, redacted on the Mac first, exactly as `sky trace sync` would (machine ids: `sky api GET /desktop/machines`)").option("--on", "send this Mac's sessions to --workspace (or the current workspace), moving them from any other").option("--off", "stop this Mac's uploads to --workspace (or the current workspace)").option("--workspace <slug>", "the workspace to turn on or off (default: the current one)").option("--json", "print the answer as JSON").action(run2(async (machine, opts) => {
|
|
13330
13334
|
if (opts.on && opts.off) throw new Error("choose --on or --off");
|
|
13331
|
-
const { libraryRequest } = await import("./trace-library-
|
|
13335
|
+
const { libraryRequest } = await import("./trace-library-XVUYQB5X.js");
|
|
13332
13336
|
const workspace2 = opts.workspace ?? currentUniverse();
|
|
13333
13337
|
if (!workspace2) throw new Error("name a workspace with --workspace");
|
|
13334
13338
|
const answer = opts.on || opts.off ? await libraryRequest("PUT", `/trace-library/devices/${encodeURIComponent(machine)}`, workspace2, { enabled: Boolean(opts.on) }) : await libraryRequest("GET", `/trace-library/devices/${encodeURIComponent(machine)}`, workspace2);
|
|
@@ -13345,7 +13349,7 @@ traceCmd.command("search <query...>").description("search every session in a wor
|
|
|
13345
13349
|
console.log(opts.json ? JSON.stringify(page, null, 2) : renderContextPage(page));
|
|
13346
13350
|
}));
|
|
13347
13351
|
traceCmd.command("library").description("list the sessions in a workspace's trace library, most recently updated first").option("--workspace <slug>", "the workspace (default: the current one)").option("--limit <n>", "how many", (v) => Number.parseInt(v, 10), 20).option("--json", "print the page as JSON").action(run2(async (opts) => {
|
|
13348
|
-
const { libraryRequest } = await import("./trace-library-
|
|
13352
|
+
const { libraryRequest } = await import("./trace-library-XVUYQB5X.js");
|
|
13349
13353
|
const workspace2 = opts.workspace ?? currentUniverse();
|
|
13350
13354
|
if (!workspace2) throw new Error("name a workspace with --workspace");
|
|
13351
13355
|
const page = await libraryRequest("GET", `/trace-library?limit=${opts.limit}`, workspace2);
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
turnOffLocalSkills,
|
|
13
13
|
turnOnLocalSkills,
|
|
14
14
|
unpinLocalSkill
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-GITJNXCT.js";
|
|
16
|
+
import "./chunk-OPV2FXUQ.js";
|
|
17
17
|
import "./chunk-XHZJG3QT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KAUYD6LR.js";
|
|
19
19
|
import "./chunk-MLKGABMK.js";
|
|
20
20
|
export {
|
|
21
21
|
checkedWithin,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SetupJournal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZ7DE7B4.js";
|
|
4
4
|
import {
|
|
5
5
|
workspaceSlug
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4O5BYMBY.js";
|
|
7
|
+
import "./chunk-ONI4XI52.js";
|
|
8
8
|
import {
|
|
9
9
|
detectHermes
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOTYAQGN.js";
|
|
11
11
|
import {
|
|
12
12
|
detectLocalAgents
|
|
13
13
|
} from "./chunk-2H4W5ZKZ.js";
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
loadLocalSkillState,
|
|
17
17
|
skillTargets,
|
|
18
18
|
syncLocalSkills
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-GITJNXCT.js";
|
|
20
|
+
import "./chunk-OPV2FXUQ.js";
|
|
21
21
|
import "./chunk-XHZJG3QT.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-KAUYD6LR.js";
|
|
23
23
|
import "./chunk-MLKGABMK.js";
|
|
24
24
|
|
|
25
25
|
// src/local-skills-run.ts
|
|
26
26
|
var HOOK_RECHECK_MS = 5 * 60 * 1e3;
|
|
27
27
|
async function localSkillWorkspace(explicit) {
|
|
28
28
|
if (explicit) return explicit;
|
|
29
|
-
const { loadSyncConfig } = await import("./trace-library-
|
|
29
|
+
const { loadSyncConfig } = await import("./trace-library-XVUYQB5X.js");
|
|
30
30
|
return loadSyncConfig().fallback ?? await workspaceSlug();
|
|
31
31
|
}
|
|
32
32
|
async function refreshLocalSkills(opts = {}) {
|
|
@@ -36,7 +36,7 @@ async function refreshLocalSkills(opts = {}) {
|
|
|
36
36
|
const targets = skillTargets(detectLocalAgents(), hermes?.root ?? null);
|
|
37
37
|
const workspace = await localSkillWorkspace(opts.workspace);
|
|
38
38
|
if (!targets.length) return { workspace, checked: false, skills: [] };
|
|
39
|
-
const { libraryRequest } = await import("./trace-library-
|
|
39
|
+
const { libraryRequest } = await import("./trace-library-XVUYQB5X.js");
|
|
40
40
|
const journal = opts.dryRun ? void 0 : new SetupJournal();
|
|
41
41
|
try {
|
|
42
42
|
return await syncLocalSkills({ workspace, targets, journal, dryRun: opts.dryRun, request: (method, path, slug) => libraryRequest(method, path, slug) });
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
registeredToolList,
|
|
16
16
|
systemCommandRunner,
|
|
17
17
|
withoutTomlServer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WOTYAQGN.js";
|
|
19
19
|
import "./chunk-2H4W5ZKZ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OPV2FXUQ.js";
|
|
21
|
+
import "./chunk-KAUYD6LR.js";
|
|
22
22
|
import "./chunk-MLKGABMK.js";
|
|
23
23
|
export {
|
|
24
24
|
MCP_SERVER_NAME,
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
forwardLine,
|
|
3
3
|
serveMcp,
|
|
4
4
|
shortToolCount
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-PO4BEXQ7.js";
|
|
6
|
+
import "./chunk-4O5BYMBY.js";
|
|
7
|
+
import "./chunk-ONI4XI52.js";
|
|
8
|
+
import "./chunk-WOTYAQGN.js";
|
|
9
9
|
import "./chunk-2H4W5ZKZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-OPV2FXUQ.js";
|
|
11
11
|
import "./chunk-XHZJG3QT.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-KAUYD6LR.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
export {
|
|
15
15
|
forwardLine,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
traceDir,
|
|
23
23
|
uninstallClaudeHooks,
|
|
24
24
|
writeState
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-J5Y3GBFE.js";
|
|
26
|
+
import "./chunk-X77A5HMO.js";
|
|
27
27
|
import "./chunk-BKNZQZZD.js";
|
|
28
28
|
import "./chunk-XHZJG3QT.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-KAUYD6LR.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
export {
|
|
32
32
|
BATCH_MAX,
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
syncConfigPath,
|
|
32
32
|
syncDir,
|
|
33
33
|
syncTraces
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YHO5UDFS.js";
|
|
35
35
|
import "./chunk-IO2N34S2.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ONI4XI52.js";
|
|
37
37
|
import "./chunk-YO2XUCCF.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-J5Y3GBFE.js";
|
|
39
|
+
import "./chunk-X77A5HMO.js";
|
|
40
40
|
import "./chunk-BKNZQZZD.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GITJNXCT.js";
|
|
42
|
+
import "./chunk-OPV2FXUQ.js";
|
|
43
43
|
import "./chunk-XHZJG3QT.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-KAUYD6LR.js";
|
|
45
45
|
import "./chunk-MLKGABMK.js";
|
|
46
46
|
export {
|
|
47
47
|
LAUNCHD_LABEL,
|
package/package.json
CHANGED
|
File without changes
|