khala-cli 0.4.19 → 0.4.21
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-7BR55Y3K.mjs → chunk-5XRUETVG.mjs} +2 -2
- package/dist/{chunk-ERWPSB27.mjs → chunk-64JYDP5T.mjs} +1 -1
- package/dist/{chunk-IH5ALDEX.mjs → chunk-7JAJG5TN.mjs} +7 -7
- package/dist/{chunk-UI5OJ2TY.mjs → chunk-7WWBE3AQ.mjs} +3 -3
- package/dist/{chunk-OFLK3DF2.mjs → chunk-7X66PVD5.mjs} +1 -1
- package/dist/{chunk-PXNKY5ZM.mjs → chunk-7XFH5ERD.mjs} +7 -7
- package/dist/{chunk-5T2T2BGP.mjs → chunk-AK6THYO7.mjs} +9 -9
- package/dist/{chunk-CR2MQIB4.mjs → chunk-B43LWXTB.mjs} +8 -8
- package/dist/{chunk-DP24LQAW.mjs → chunk-BM2NUSJL.mjs} +9 -9
- package/dist/{chunk-LOVF37KO.mjs → chunk-BTLK6G2Y.mjs} +1 -1
- package/dist/{chunk-PQ6Y7QRL.mjs → chunk-CJ4MWHDV.mjs} +5 -5
- package/dist/{chunk-OPBCYCDJ.mjs → chunk-HDEWZQQK.mjs} +16 -16
- package/dist/{chunk-YN334EWZ.mjs → chunk-HTFT2NNO.mjs} +1 -1
- package/dist/{chunk-Q2ENNHOG.mjs → chunk-IOPS26AL.mjs} +3 -3
- package/dist/{chunk-TZLAEDD2.mjs → chunk-J6VGUQVS.mjs} +5 -5
- package/dist/{chunk-NYMXWKOF.mjs → chunk-KO6ELBEH.mjs} +2 -2
- package/dist/{chunk-2CM6MFLQ.mjs → chunk-MKVKBQPG.mjs} +6 -6
- package/dist/{chunk-RYBGLMUZ.mjs → chunk-O2NDTB6V.mjs} +2 -2
- package/dist/{chunk-K7YTGI7R.mjs → chunk-OIKH7GE2.mjs} +6 -6
- package/dist/{chunk-LZXXWDKB.mjs → chunk-Q77ZLEJK.mjs} +8 -8
- package/dist/{chunk-7JLJ2IVR.mjs → chunk-QPBTWI3Z.mjs} +9 -9
- package/dist/{chunk-NDII2VEP.mjs → chunk-QSIRZV7T.mjs} +1 -1
- package/dist/{chunk-ME3G775Q.mjs → chunk-SINQUTDK.mjs} +2 -2
- package/dist/{chunk-A76X5SLZ.mjs → chunk-THKFNFXH.mjs} +8 -8
- package/dist/{chunk-POSW5KU5.mjs → chunk-TIUK4M34.mjs} +8 -8
- package/dist/{chunk-6CUBZHAI.mjs → chunk-VAJ3RNE5.mjs} +2 -2
- package/dist/{chunk-I3UIC3DD.mjs → chunk-VXEAWRGL.mjs} +2 -2
- package/dist/{chunk-BUFSSWDE.mjs → chunk-WFRXUERK.mjs} +1 -1
- package/dist/{chunk-WOHXD3RS.mjs → chunk-WSXDLNEM.mjs} +7 -7
- package/dist/{chunk-LUQ2K5K2.mjs → chunk-XHA3GHIV.mjs} +10 -10
- package/dist/{chunk-JALXEI56.mjs → chunk-XLT6PBYY.mjs} +3 -3
- package/dist/{chunk-V5SWPOLN.mjs → chunk-XT3LBUHB.mjs} +28 -26
- package/dist/{chunk-TJUM3DPB.mjs → chunk-ZWZT7XLE.mjs} +1 -1
- package/dist/khala.mjs +11 -11
- package/dist/web/assets/{local-SRORuW7r.js → local-B7VyGpEx.js} +7 -7
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
bundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-64JYDP5T.mjs";
|
|
5
5
|
import {
|
|
6
6
|
init_define_KHALA_BUNDLE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
10
|
init_define_KHALA_BUNDLE();
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
ADAPTERS,
|
|
4
4
|
adapterFor,
|
|
5
5
|
createAdapterRegistry
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
7
|
+
import "./chunk-O2NDTB6V.mjs";
|
|
8
|
+
import "./chunk-WSXDLNEM.mjs";
|
|
9
|
+
import "./chunk-SINQUTDK.mjs";
|
|
10
|
+
import "./chunk-HTFT2NNO.mjs";
|
|
11
|
+
import "./chunk-7X66PVD5.mjs";
|
|
12
|
+
import "./chunk-QSIRZV7T.mjs";
|
|
13
13
|
export {
|
|
14
14
|
ADAPTERS,
|
|
15
15
|
adapterFor,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
retryUnexpired
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WFRXUERK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
StateError,
|
|
7
7
|
ensureStateDir,
|
|
8
8
|
writeJsonAtomic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
|
12
12
|
__export,
|
|
13
13
|
__toESM,
|
|
14
14
|
init_define_KHALA_BUNDLE
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/immediate@3.3.0/node_modules/immediate/lib/nextTick.js
|
|
18
18
|
var require_nextTick = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
init_define_KHALA_BUNDLE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
5
5
|
|
|
6
6
|
// src/wake/shared/nonce.ts
|
|
7
7
|
init_define_KHALA_BUNDLE();
|
|
@@ -14,19 +14,19 @@ import {
|
|
|
14
14
|
decodeLocalSendResult,
|
|
15
15
|
ensureHelper,
|
|
16
16
|
localRoomPath
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-J6VGUQVS.mjs";
|
|
18
|
+
import "./chunk-ZWZT7XLE.mjs";
|
|
19
|
+
import "./chunk-5XRUETVG.mjs";
|
|
20
|
+
import "./chunk-64JYDP5T.mjs";
|
|
21
21
|
import {
|
|
22
22
|
CHANNEL_EVENT_TYPE,
|
|
23
23
|
LISTENING_MODE_COMMAND_TYPE,
|
|
24
24
|
memberRenameContent
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-SINQUTDK.mjs";
|
|
26
|
+
import "./chunk-HTFT2NNO.mjs";
|
|
27
27
|
import {
|
|
28
28
|
init_define_KHALA_BUNDLE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
30
30
|
|
|
31
31
|
// src/local/session.ts
|
|
32
32
|
init_define_KHALA_BUNDLE();
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
runWake,
|
|
7
7
|
sessionIds,
|
|
8
8
|
setWake
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-OIKH7GE2.mjs";
|
|
10
|
+
import "./chunk-MKVKBQPG.mjs";
|
|
11
|
+
import "./chunk-HDEWZQQK.mjs";
|
|
12
|
+
import "./chunk-O2NDTB6V.mjs";
|
|
13
|
+
import "./chunk-WSXDLNEM.mjs";
|
|
14
|
+
import "./chunk-SINQUTDK.mjs";
|
|
15
|
+
import "./chunk-HTFT2NNO.mjs";
|
|
16
|
+
import "./chunk-7X66PVD5.mjs";
|
|
17
|
+
import "./chunk-QSIRZV7T.mjs";
|
|
18
18
|
export {
|
|
19
19
|
WAKE_USAGE,
|
|
20
20
|
consentLine,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __khalaCreateRequire } from 'node:module'; const requi
|
|
|
2
2
|
import {
|
|
3
3
|
parseChannelLink,
|
|
4
4
|
resolveLocalOwnerName
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IOPS26AL.mjs";
|
|
6
6
|
import {
|
|
7
7
|
AGENT_NAME_MAX,
|
|
8
8
|
LOCAL_AGENT_DEVICE_PREFIX,
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
normalizeInitials,
|
|
35
35
|
olderHelperVersion,
|
|
36
36
|
readHelperFile
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-J6VGUQVS.mjs";
|
|
38
|
+
import "./chunk-ZWZT7XLE.mjs";
|
|
39
39
|
import {
|
|
40
40
|
KHALA_AGENT_VERSION
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5XRUETVG.mjs";
|
|
42
42
|
import {
|
|
43
43
|
bundle
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-64JYDP5T.mjs";
|
|
45
45
|
import {
|
|
46
46
|
CHANNEL_EVENT_TYPE,
|
|
47
47
|
DEFAULT_LISTENING_MODE,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
encodeChannelEvent,
|
|
54
54
|
memberListeningMode,
|
|
55
55
|
memberRenameContent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-SINQUTDK.mjs";
|
|
57
57
|
import {
|
|
58
58
|
LEGACY_HARNESSES,
|
|
59
59
|
StateError,
|
|
@@ -68,10 +68,10 @@ import {
|
|
|
68
68
|
validAgentRejoinSecret,
|
|
69
69
|
validAgentSessionId,
|
|
70
70
|
writeJsonAtomic
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
72
72
|
import {
|
|
73
73
|
init_define_KHALA_BUNDLE
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
75
75
|
|
|
76
76
|
// src/local/cli.ts
|
|
77
77
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
claudeTranscriptInterrupted
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BTLK6G2Y.mjs";
|
|
5
5
|
import {
|
|
6
6
|
adapterFor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
sessionStartWakeChannels
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XLT6PBYY.mjs";
|
|
11
|
+
import "./chunk-O2NDTB6V.mjs";
|
|
12
12
|
import {
|
|
13
13
|
driverAllowed,
|
|
14
14
|
readListeningMode,
|
|
15
15
|
wakeStart,
|
|
16
16
|
wakesAgent
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
18
|
+
import "./chunk-SINQUTDK.mjs";
|
|
19
19
|
import {
|
|
20
20
|
filesForDir,
|
|
21
21
|
readJson,
|
|
22
22
|
resolveStateDir,
|
|
23
23
|
stateRoot
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
25
|
+
import "./chunk-7X66PVD5.mjs";
|
|
26
26
|
import {
|
|
27
27
|
init_define_KHALA_BUNDLE
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
29
29
|
|
|
30
30
|
// hooks/claude-wake.ts
|
|
31
31
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
init_define_KHALA_BUNDLE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
5
5
|
|
|
6
6
|
// src/harness/claude-transcript.ts
|
|
7
7
|
init_define_KHALA_BUNDLE();
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
monitorOwner,
|
|
7
7
|
run,
|
|
8
8
|
watchSession
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
10
|
+
import "./chunk-SINQUTDK.mjs";
|
|
11
|
+
import "./chunk-HTFT2NNO.mjs";
|
|
12
|
+
import "./chunk-7X66PVD5.mjs";
|
|
13
|
+
import "./chunk-QSIRZV7T.mjs";
|
|
14
14
|
export {
|
|
15
15
|
WATCH_USAGE,
|
|
16
16
|
claudeWatchCommand,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
readPane
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O2NDTB6V.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CURSOR_DEFAULT_SESSION,
|
|
7
7
|
CURSOR_WORKSPACE_ENV,
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
verifyQwenTranscript,
|
|
25
25
|
wakeStart,
|
|
26
26
|
wakesAgent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
28
28
|
import {
|
|
29
29
|
createClaudeStyleCodec
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SINQUTDK.mjs";
|
|
31
31
|
import {
|
|
32
32
|
HARNESS_REGISTRY,
|
|
33
33
|
SESSION_ID_PATTERN,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
stateRoot,
|
|
43
43
|
walkAncestors,
|
|
44
44
|
writeJsonAtomic
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
46
46
|
import {
|
|
47
47
|
CODEX_IDLE_WAKE_NOTICE,
|
|
48
48
|
cancelAttempt,
|
|
@@ -54,10 +54,10 @@ import {
|
|
|
54
54
|
settleAttempts,
|
|
55
55
|
wakeLine,
|
|
56
56
|
withWakeLock
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7X66PVD5.mjs";
|
|
58
58
|
import {
|
|
59
59
|
init_define_KHALA_BUNDLE
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
61
61
|
|
|
62
62
|
// src/harness/index.ts
|
|
63
63
|
init_define_KHALA_BUNDLE();
|
|
@@ -775,7 +775,7 @@ var codexWakeDriver = createCodexWakeDriver();
|
|
|
775
775
|
|
|
776
776
|
// src/harness/codex.ts
|
|
777
777
|
var emptyPrompt2 = { pattern: /^› ?(Ask Codex to do anything)?$/u, cursorColumn: 2 };
|
|
778
|
-
var install = async (flags, deps) => (await import("./chunk-
|
|
778
|
+
var install = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runCodexInstall(flags, deps);
|
|
779
779
|
var codex = {
|
|
780
780
|
id: "codex",
|
|
781
781
|
// A string metadata id wins even when empty or invalid; validation happens after selection.
|
|
@@ -857,7 +857,7 @@ async function resolveSources(sources, meta, env, context) {
|
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
// src/harness/muse.ts
|
|
860
|
-
var install2 = async (flags, deps) => (await import("./chunk-
|
|
860
|
+
var install2 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runMuseInstall(flags, deps);
|
|
861
861
|
var muse = {
|
|
862
862
|
id: "muse",
|
|
863
863
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.MUSE_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -920,7 +920,7 @@ var copilotCodec = createCopilotCodec();
|
|
|
920
920
|
|
|
921
921
|
// src/harness/copilot.ts
|
|
922
922
|
var emptyPrompt3 = { pattern: /^❯ ?$/u, cursorColumn: 2 };
|
|
923
|
-
var install3 = async (flags, deps) => (await import("./chunk-
|
|
923
|
+
var install3 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runCopilotInstall(flags, deps);
|
|
924
924
|
var copilot = {
|
|
925
925
|
id: "copilot",
|
|
926
926
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.COPILOT_AGENT_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -968,7 +968,7 @@ var cursorCodec = {
|
|
|
968
968
|
};
|
|
969
969
|
|
|
970
970
|
// src/harness/cursor.ts
|
|
971
|
-
var install4 = async (flags, deps) => (await import("./chunk-
|
|
971
|
+
var install4 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runCursorInstall(flags, deps);
|
|
972
972
|
var cursor = {
|
|
973
973
|
id: "cursor",
|
|
974
974
|
sessionSources: [{
|
|
@@ -1006,7 +1006,7 @@ function createQwenBackgroundDriver(platform = process.platform) {
|
|
|
1006
1006
|
verification: "none",
|
|
1007
1007
|
async available(ctx) {
|
|
1008
1008
|
const settings = await readWakeSettings(stateRoot(ctx.env));
|
|
1009
|
-
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-
|
|
1009
|
+
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-CJ4MWHDV.mjs")).monitorArmed(ctx.files);
|
|
1010
1010
|
},
|
|
1011
1011
|
async unavailableReason(ctx) {
|
|
1012
1012
|
if (!await qwenInboundAllowed(ctx.env)) return "qwen_held";
|
|
@@ -1021,8 +1021,8 @@ var qwen = {
|
|
|
1021
1021
|
codec: qwenCodec,
|
|
1022
1022
|
restoreAtStartup: true,
|
|
1023
1023
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, { kind: "env", resolve: (_meta, env) => qwenSession(env), rejoinable: () => true }, hookMapSource],
|
|
1024
|
-
install: async (flags, deps) => (await import("./chunk-
|
|
1025
|
-
uninstall: async (flags, deps) => (await import("./chunk-
|
|
1024
|
+
install: async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runQwenInstall(flags, deps),
|
|
1025
|
+
uninstall: async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runQwenInstall([...flags, "--uninstall"], deps),
|
|
1026
1026
|
wakeLadder: [createQwenSocketDriver(), createQwenBackgroundDriver()],
|
|
1027
1027
|
async verifyWake(stdin, files, now) {
|
|
1028
1028
|
const input = JSON.parse(stdin);
|
|
@@ -1066,7 +1066,7 @@ var geminiCodec = {
|
|
|
1066
1066
|
|
|
1067
1067
|
// src/harness/gemini.ts
|
|
1068
1068
|
var emptyPrompt4 = { pattern: /^ >(?: {3}Type your message or @path\/to\/file)?$/u, cursorColumn: 3 };
|
|
1069
|
-
var install5 = async (flags, deps) => (await import("./chunk-
|
|
1069
|
+
var install5 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runGeminiInstall(flags, deps);
|
|
1070
1070
|
var gemini = {
|
|
1071
1071
|
id: "gemini",
|
|
1072
1072
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.GEMINI_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -1244,7 +1244,7 @@ async function antigravityPromptText(input) {
|
|
|
1244
1244
|
|
|
1245
1245
|
// src/harness/antigravity.ts
|
|
1246
1246
|
var emptyPrompt5 = { pattern: /^>$/u, cursorColumn: 2 };
|
|
1247
|
-
var install6 = async (flags, deps) => (await import("./chunk-
|
|
1247
|
+
var install6 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runAntigravityInstall(flags, deps);
|
|
1248
1248
|
var antigravity = {
|
|
1249
1249
|
id: "antigravity",
|
|
1250
1250
|
restoreAtStartup: true,
|
|
@@ -1403,7 +1403,7 @@ async function pollOpenCodeWake(files, io, replay = false) {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
// src/harness/opencode.ts
|
|
1406
|
-
var install7 = async (flags, deps) => (await import("./chunk-
|
|
1406
|
+
var install7 = async (flags, deps) => (await import("./chunk-XHA3GHIV.mjs")).runOpenCodeInstall(flags, deps);
|
|
1407
1407
|
var opencode = {
|
|
1408
1408
|
id: "opencode",
|
|
1409
1409
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, hookMapSource],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
init_define_KHALA_BUNDLE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
5
5
|
|
|
6
6
|
// ../contracts/src/m1/harness.ts
|
|
7
7
|
init_define_KHALA_BUNDLE();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
checkName,
|
|
5
5
|
isDefaultAgentName,
|
|
6
6
|
restartHelper
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J6VGUQVS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
StateError,
|
|
10
10
|
harnessInfo,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
stateRoot,
|
|
14
14
|
validateAgentName,
|
|
15
15
|
writeJsonAtomic
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
17
17
|
import {
|
|
18
18
|
init_define_KHALA_BUNDLE
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
20
20
|
|
|
21
21
|
// src/local/identity.ts
|
|
22
22
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
KHALA_AGENT_VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5XRUETVG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
bundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-64JYDP5T.mjs";
|
|
8
8
|
import {
|
|
9
9
|
LISTENING_MODES
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SINQUTDK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
HARNESS_REGISTRY,
|
|
13
13
|
M1_LABEL_MAX_BYTES,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
utcTimestamp,
|
|
36
36
|
utf8Length,
|
|
37
37
|
version
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
39
39
|
import {
|
|
40
40
|
init_define_KHALA_BUNDLE
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
42
42
|
|
|
43
43
|
// src/client.ts
|
|
44
44
|
init_define_KHALA_BUNDLE();
|
|
@@ -2,10 +2,10 @@ import { createRequire as __khalaCreateRequire } from 'node:module'; const requi
|
|
|
2
2
|
import {
|
|
3
3
|
adapterFor,
|
|
4
4
|
resolveSources
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
6
6
|
import {
|
|
7
7
|
init_define_KHALA_BUNDLE
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
9
9
|
|
|
10
10
|
// src/mcp/session-id.ts
|
|
11
11
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
adapterFor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
installedLauncher,
|
|
7
7
|
launcherShellQuote,
|
|
8
8
|
readWakeSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HARNESS_REGISTRY,
|
|
12
12
|
filesForDir,
|
|
13
13
|
readStateFile,
|
|
14
14
|
stateRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
16
16
|
import {
|
|
17
17
|
readWakeState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7X66PVD5.mjs";
|
|
19
19
|
import {
|
|
20
20
|
init_define_KHALA_BUNDLE
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
22
22
|
|
|
23
23
|
// src/wake/status.ts
|
|
24
24
|
init_define_KHALA_BUNDLE();
|
|
@@ -876,7 +876,7 @@ function selectedWakeStatus(rows) {
|
|
|
876
876
|
}
|
|
877
877
|
var WAKE_HARNESSES = HARNESS_REGISTRY.map((row) => row.id);
|
|
878
878
|
async function wakeDisableNotice(dir) {
|
|
879
|
-
const { takeWakeDisableNotices } = await import("./chunk-
|
|
879
|
+
const { takeWakeDisableNotices } = await import("./chunk-VXEAWRGL.mjs");
|
|
880
880
|
let drivers;
|
|
881
881
|
try {
|
|
882
882
|
const states = await readWakeState(dir);
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readJson,
|
|
5
5
|
readProcess,
|
|
6
6
|
writeJsonAtomic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
init_define_KHALA_BUNDLE
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
11
11
|
|
|
12
12
|
// src/wake/terminal/capture.ts
|
|
13
13
|
init_define_KHALA_BUNDLE();
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
WAKE_HARNESSES,
|
|
4
4
|
wakeDrivers,
|
|
5
5
|
wakeStatus
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MKVKBQPG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
adapterFor,
|
|
9
9
|
registerAntigravityWake,
|
|
10
10
|
resolveSources
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
12
12
|
import {
|
|
13
13
|
CURSOR_DEFAULT_SESSION,
|
|
14
14
|
updateWakeSettings
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
16
16
|
import {
|
|
17
17
|
SESSION_ID_PATTERN,
|
|
18
18
|
filesForDir,
|
|
19
19
|
stateRoot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
21
21
|
import {
|
|
22
22
|
resetWakeDriver
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7X66PVD5.mjs";
|
|
24
24
|
import {
|
|
25
25
|
init_define_KHALA_BUNDLE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
27
27
|
|
|
28
28
|
// src/wake/cli.ts
|
|
29
29
|
init_define_KHALA_BUNDLE();
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
resolveHarness,
|
|
4
4
|
resolveSession,
|
|
5
5
|
resolveSessionId
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KO6ELBEH.mjs";
|
|
7
|
+
import "./chunk-HDEWZQQK.mjs";
|
|
8
|
+
import "./chunk-O2NDTB6V.mjs";
|
|
9
|
+
import "./chunk-WSXDLNEM.mjs";
|
|
10
|
+
import "./chunk-SINQUTDK.mjs";
|
|
11
|
+
import "./chunk-HTFT2NNO.mjs";
|
|
12
|
+
import "./chunk-7X66PVD5.mjs";
|
|
13
|
+
import "./chunk-QSIRZV7T.mjs";
|
|
14
14
|
export {
|
|
15
15
|
resolveHarness,
|
|
16
16
|
resolveSession,
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
claudeTranscriptInterrupted,
|
|
4
4
|
claudeTranscriptVersion,
|
|
5
5
|
versionAtLeast
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BTLK6G2Y.mjs";
|
|
7
7
|
import {
|
|
8
8
|
wakeDisableNotice
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MKVKBQPG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
STOP_NUDGE,
|
|
12
12
|
adapterFor,
|
|
13
13
|
createCopilotCodec,
|
|
14
14
|
recordHookSession
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HDEWZQQK.mjs";
|
|
16
16
|
import {
|
|
17
17
|
capturePane
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O2NDTB6V.mjs";
|
|
19
19
|
import {
|
|
20
20
|
advanceCursor,
|
|
21
21
|
clearUsageLimit,
|
|
@@ -31,25 +31,25 @@ import {
|
|
|
31
31
|
wakeStart,
|
|
32
32
|
wakesAgent,
|
|
33
33
|
writeActivity
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WSXDLNEM.mjs";
|
|
35
35
|
import {
|
|
36
36
|
MAX_FRAME_BYTES,
|
|
37
37
|
decideDelivery,
|
|
38
38
|
selectFrame
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SINQUTDK.mjs";
|
|
40
40
|
import {
|
|
41
41
|
StateError,
|
|
42
42
|
TERMINAL_SESSION_DETAILS,
|
|
43
43
|
readJson,
|
|
44
44
|
readStatus,
|
|
45
45
|
sessionFiles
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
47
47
|
import {
|
|
48
48
|
settleAttempts
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7X66PVD5.mjs";
|
|
50
50
|
import {
|
|
51
51
|
init_define_KHALA_BUNDLE
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
53
53
|
|
|
54
54
|
// hooks/deliver.ts
|
|
55
55
|
init_define_KHALA_BUNDLE();
|
|
@@ -45,7 +45,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
45
45
|
var define_KHALA_BUNDLE_default;
|
|
46
46
|
var init_define_KHALA_BUNDLE = __esm({
|
|
47
47
|
"<define:__KHALA_BUNDLE__>"() {
|
|
48
|
-
define_KHALA_BUNDLE_default = { name: "khala-cli", version: "0.4.
|
|
48
|
+
define_KHALA_BUNDLE_default = { name: "khala-cli", version: "0.4.21" };
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
utcTimestamp,
|
|
12
12
|
utf8Length,
|
|
13
13
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HTFT2NNO.mjs";
|
|
15
15
|
import {
|
|
16
16
|
init_define_KHALA_BUNDLE
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QSIRZV7T.mjs";
|
|
18
18
|
|
|
19
19
|
// ../contracts/src/m1/channel-event.ts
|
|
20
20
|
init_define_KHALA_BUNDLE();
|