khala-cli 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HZH74L5T.mjs → chunk-2AIADANH.mjs} +6 -6
- package/dist/chunk-2BNIPJVW.mjs +27 -0
- package/dist/{chunk-YIKJI26V.mjs → chunk-32SGUUP5.mjs} +2 -2
- package/dist/{chunk-7FFHZ7EI.mjs → chunk-3GUVMXTM.mjs} +9 -9
- package/dist/{chunk-LDW4HOQW.mjs → chunk-3JA3Q5MK.mjs} +1 -1
- package/dist/{chunk-NN5RHU6C.mjs → chunk-6DE4V756.mjs} +10 -10
- package/dist/{chunk-FGHPOKXG.mjs → chunk-6P4PKPJW.mjs} +5 -5
- package/dist/{chunk-N6UYX3SY.mjs → chunk-72W7IC2O.mjs} +3 -3
- package/dist/{chunk-BVG7PJNZ.mjs → chunk-BJVJ5WJS.mjs} +16 -16
- package/dist/{chunk-NJ5ICCVZ.mjs → chunk-BWVC3EKG.mjs} +12 -12
- package/dist/{chunk-CXVANPY5.mjs → chunk-I4POSYHZ.mjs} +2 -2
- package/dist/{chunk-MAIMFERG.mjs → chunk-ICTAFDO6.mjs} +3 -3
- package/dist/{chunk-YFX5NDSL.mjs → chunk-JLENHMKE.mjs} +295 -78
- package/dist/{chunk-X3BAMHAR.mjs → chunk-JZZNVQKH.mjs} +2 -2
- package/dist/{chunk-NE4S7N3R.mjs → chunk-KMDLTHDW.mjs} +2 -2
- package/dist/{chunk-LNKI3CZO.mjs → chunk-MRSZOWFU.mjs} +1 -1
- package/dist/{chunk-JNSB3E6C.mjs → chunk-NHW62KEB.mjs} +1 -1
- package/dist/{chunk-4CENUF7M.mjs → chunk-O4QJ3ZT6.mjs} +3 -3
- package/dist/{chunk-3KHLSF4A.mjs → chunk-OIYAR2ND.mjs} +7 -7
- package/dist/{chunk-GVZD4TLW.mjs → chunk-ONAZVGVO.mjs} +45 -10
- package/dist/{chunk-R5NDTJRA.mjs → chunk-P3XZEYZF.mjs} +1 -1
- package/dist/{chunk-YNUCRFM2.mjs → chunk-QPYXV4BQ.mjs} +8 -8
- package/dist/{chunk-E5QRD6W3.mjs → chunk-QZUBLJW7.mjs} +2 -2
- package/dist/{chunk-NUQSDSVT.mjs → chunk-RUQDE5DI.mjs} +1 -1
- package/dist/{chunk-OSVXLZKJ.mjs → chunk-SDBMJPIA.mjs} +6 -6
- package/dist/{chunk-H2L5GQ5W.mjs → chunk-SKJ6YV3G.mjs} +12 -12
- package/dist/{chunk-WA5LB5GN.mjs → chunk-SUT7AKNZ.mjs} +6 -6
- package/dist/{chunk-TVQ4MSEI.mjs → chunk-SUUEWCY5.mjs} +1 -1
- package/dist/chunk-TVQ5NHFX.mjs +20 -0
- package/dist/chunk-WZD4JAG6.mjs +19 -0
- package/dist/{chunk-VWWI4S5A.mjs → chunk-XI5FPUNN.mjs} +2 -2
- package/dist/{chunk-NOKTVPSY.mjs → chunk-XR3JSUPF.mjs} +101 -73
- package/dist/{chunk-YDEZFVF7.mjs → chunk-XRV5GUSI.mjs} +3 -3
- package/dist/{chunk-4PUNVPC3.mjs → chunk-ZWWTVM6R.mjs} +2 -2
- package/dist/khala.mjs +11 -11
- package/dist/web/assets/local-DLmpMMaF.css +1 -0
- package/dist/web/assets/local-mElTRGcH.js +11 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-AQX2OYEF.mjs +0 -19
- package/dist/chunk-CYINL2V3.mjs +0 -20
- package/dist/chunk-MYIZQCRW.mjs +0 -27
- package/dist/web/assets/local-DPcMk9Xz.css +0 -1
- package/dist/web/assets/local-SDOFp8OA.js +0 -9
|
@@ -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-BJVJ5WJS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
installedLauncher,
|
|
7
7
|
launcherShellQuote,
|
|
8
8
|
readWakeSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XR3JSUPF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HARNESS_REGISTRY,
|
|
12
12
|
filesForDir,
|
|
13
13
|
readStateFile,
|
|
14
14
|
stateRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
16
16
|
import {
|
|
17
17
|
readWakeState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SUUEWCY5.mjs";
|
|
19
19
|
import {
|
|
20
20
|
init_define_KHALA_BUNDLE
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
22
22
|
|
|
23
23
|
// src/wake/status.ts
|
|
24
24
|
init_define_KHALA_BUNDLE();
|
|
@@ -875,7 +875,7 @@ function selectedWakeStatus(rows) {
|
|
|
875
875
|
}
|
|
876
876
|
var WAKE_HARNESSES = HARNESS_REGISTRY.map((row) => row.id);
|
|
877
877
|
async function wakeDisableNotice(dir) {
|
|
878
|
-
const { takeWakeDisableNotices } = await import("./chunk-
|
|
878
|
+
const { takeWakeDisableNotices } = await import("./chunk-QZUBLJW7.mjs");
|
|
879
879
|
let drivers;
|
|
880
880
|
try {
|
|
881
881
|
const states = await readWakeState(dir);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
WAKE_USAGE,
|
|
4
|
+
cli_default,
|
|
5
|
+
consentLine,
|
|
6
|
+
runWake,
|
|
7
|
+
sessionIds,
|
|
8
|
+
setWake
|
|
9
|
+
} from "./chunk-SDBMJPIA.mjs";
|
|
10
|
+
import "./chunk-2AIADANH.mjs";
|
|
11
|
+
import "./chunk-BJVJ5WJS.mjs";
|
|
12
|
+
import "./chunk-ZWWTVM6R.mjs";
|
|
13
|
+
import "./chunk-XR3JSUPF.mjs";
|
|
14
|
+
import "./chunk-I4POSYHZ.mjs";
|
|
15
|
+
import "./chunk-72W7IC2O.mjs";
|
|
16
|
+
import "./chunk-XI5FPUNN.mjs";
|
|
17
|
+
import "./chunk-NHW62KEB.mjs";
|
|
18
|
+
import "./chunk-SUUEWCY5.mjs";
|
|
19
|
+
import "./chunk-3JA3Q5MK.mjs";
|
|
20
|
+
export {
|
|
21
|
+
WAKE_USAGE,
|
|
22
|
+
consentLine,
|
|
23
|
+
cli_default as default,
|
|
24
|
+
runWake,
|
|
25
|
+
sessionIds,
|
|
26
|
+
setWake
|
|
27
|
+
};
|
|
@@ -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-RUQDE5DI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
init_define_KHALA_BUNDLE
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
8
8
|
|
|
9
9
|
// src/version.ts
|
|
10
10
|
init_define_KHALA_BUNDLE();
|
|
@@ -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-O4QJ3ZT6.mjs";
|
|
6
6
|
import {
|
|
7
7
|
LOCAL_AGENT_DEVICE_PREFIX,
|
|
8
8
|
LOCAL_IDLE_EXIT_MS,
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
normalizeInitials,
|
|
33
33
|
olderHelperVersion,
|
|
34
34
|
readHelperFile
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-6P4PKPJW.mjs";
|
|
36
|
+
import "./chunk-P3XZEYZF.mjs";
|
|
37
37
|
import {
|
|
38
38
|
KHALA_AGENT_VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-32SGUUP5.mjs";
|
|
40
40
|
import {
|
|
41
41
|
bundle
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RUQDE5DI.mjs";
|
|
43
43
|
import {
|
|
44
44
|
DEFAULT_LISTENING_MODE,
|
|
45
45
|
LISTENING_MODE_COMMAND_TYPE,
|
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
decodeListeningMode,
|
|
48
48
|
decodeListeningModeCommand,
|
|
49
49
|
memberListeningMode
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-I4POSYHZ.mjs";
|
|
51
51
|
import {
|
|
52
52
|
CHANNEL_EVENT_TYPE,
|
|
53
53
|
decodeChannelEvent,
|
|
54
54
|
encodeChannelEvent,
|
|
55
55
|
memberRenameContent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XI5FPUNN.mjs";
|
|
57
57
|
import {
|
|
58
58
|
LEGACY_HARNESSES,
|
|
59
59
|
StateError,
|
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
validAgentRejoinSecret,
|
|
68
68
|
validAgentSessionId,
|
|
69
69
|
writeJsonAtomic
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
71
71
|
import {
|
|
72
72
|
init_define_KHALA_BUNDLE
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
74
74
|
|
|
75
75
|
// src/local/cli.ts
|
|
76
76
|
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.13" };
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
wakeDisableNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2AIADANH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
adapterFor,
|
|
7
7
|
createCopilotCodec,
|
|
8
8
|
recordHookSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BJVJ5WJS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
capturePane
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZWWTVM6R.mjs";
|
|
13
13
|
import {
|
|
14
14
|
readListeningMode
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-XR3JSUPF.mjs";
|
|
16
|
+
import "./chunk-I4POSYHZ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
advanceCursor,
|
|
19
19
|
clearUsageLimit,
|
|
@@ -24,21 +24,21 @@ import {
|
|
|
24
24
|
unread,
|
|
25
25
|
wakesAgent,
|
|
26
26
|
writeActivity
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-72W7IC2O.mjs";
|
|
28
|
+
import "./chunk-XI5FPUNN.mjs";
|
|
29
29
|
import {
|
|
30
30
|
StateError,
|
|
31
31
|
TERMINAL_SESSION_DETAILS,
|
|
32
32
|
readJson,
|
|
33
33
|
readStatus,
|
|
34
34
|
sessionFiles
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
36
36
|
import {
|
|
37
37
|
settleAttempts
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-SUUEWCY5.mjs";
|
|
39
39
|
import {
|
|
40
40
|
init_define_KHALA_BUNDLE
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
42
42
|
|
|
43
43
|
// hooks/deliver.ts
|
|
44
44
|
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-32SGUUP5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
bundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RUQDE5DI.mjs";
|
|
8
8
|
import {
|
|
9
9
|
LISTENING_MODES
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I4POSYHZ.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-NHW62KEB.mjs";
|
|
39
39
|
import {
|
|
40
40
|
init_define_KHALA_BUNDLE
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
42
42
|
|
|
43
43
|
// src/client.ts
|
|
44
44
|
init_define_KHALA_BUNDLE();
|
|
@@ -2,7 +2,7 @@ import { createRequire as __khalaCreateRequire } from 'node:module'; const requi
|
|
|
2
2
|
import {
|
|
3
3
|
decodeChannelEvent,
|
|
4
4
|
formatChannelEventLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XI5FPUNN.mjs";
|
|
6
6
|
import {
|
|
7
7
|
StateError,
|
|
8
8
|
channelFiles,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
stateKey,
|
|
15
15
|
writeJsonAtomic,
|
|
16
16
|
writeStateFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
18
18
|
import {
|
|
19
19
|
init_define_KHALA_BUNDLE
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
21
21
|
|
|
22
22
|
// src/events/receive.ts
|
|
23
23
|
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
|
readPane
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZWWTVM6R.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CURSOR_DEFAULT_SESSION,
|
|
7
7
|
CURSOR_WORKSPACE_ENV,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
readListeningMode,
|
|
19
19
|
readWakeSettings,
|
|
20
20
|
verifyQwenTranscript
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XR3JSUPF.mjs";
|
|
22
22
|
import {
|
|
23
23
|
listChannels,
|
|
24
24
|
readActivity,
|
|
25
25
|
readCursor,
|
|
26
26
|
unread,
|
|
27
27
|
wakesAgent
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-72W7IC2O.mjs";
|
|
29
29
|
import {
|
|
30
30
|
HARNESS_REGISTRY,
|
|
31
31
|
SESSION_ID_PATTERN,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
stateRoot,
|
|
41
41
|
walkAncestors,
|
|
42
42
|
writeJsonAtomic
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
44
44
|
import {
|
|
45
45
|
CODEX_IDLE_WAKE_NOTICE,
|
|
46
46
|
cancelAttempt,
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
settleAttempts,
|
|
53
53
|
wakeLine,
|
|
54
54
|
withWakeLock
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-SUUEWCY5.mjs";
|
|
56
56
|
import {
|
|
57
57
|
init_define_KHALA_BUNDLE
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
59
59
|
|
|
60
60
|
// src/harness/index.ts
|
|
61
61
|
init_define_KHALA_BUNDLE();
|
|
@@ -799,7 +799,7 @@ var codexWakeDriver = createCodexWakeDriver();
|
|
|
799
799
|
|
|
800
800
|
// src/harness/codex.ts
|
|
801
801
|
var emptyPrompt2 = { pattern: /^› ?(Ask Codex to do anything)?$/u, cursorColumn: 2 };
|
|
802
|
-
var install = async (flags, deps) => (await import("./chunk-
|
|
802
|
+
var install = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runCodexInstall(flags, deps);
|
|
803
803
|
var codex = {
|
|
804
804
|
id: "codex",
|
|
805
805
|
// A string metadata id wins even when empty or invalid; validation happens after selection.
|
|
@@ -881,7 +881,7 @@ async function resolveSources(sources, meta, env, context) {
|
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
// src/harness/muse.ts
|
|
884
|
-
var install2 = async (flags, deps) => (await import("./chunk-
|
|
884
|
+
var install2 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runMuseInstall(flags, deps);
|
|
885
885
|
var muse = {
|
|
886
886
|
id: "muse",
|
|
887
887
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.MUSE_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -944,7 +944,7 @@ var copilotCodec = createCopilotCodec();
|
|
|
944
944
|
|
|
945
945
|
// src/harness/copilot.ts
|
|
946
946
|
var emptyPrompt3 = { pattern: /^❯ ?$/u, cursorColumn: 2 };
|
|
947
|
-
var install3 = async (flags, deps) => (await import("./chunk-
|
|
947
|
+
var install3 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runCopilotInstall(flags, deps);
|
|
948
948
|
var copilot = {
|
|
949
949
|
id: "copilot",
|
|
950
950
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.COPILOT_AGENT_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -992,7 +992,7 @@ var cursorCodec = {
|
|
|
992
992
|
};
|
|
993
993
|
|
|
994
994
|
// src/harness/cursor.ts
|
|
995
|
-
var install4 = async (flags, deps) => (await import("./chunk-
|
|
995
|
+
var install4 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runCursorInstall(flags, deps);
|
|
996
996
|
var cursor = {
|
|
997
997
|
id: "cursor",
|
|
998
998
|
sessionSources: [{
|
|
@@ -1030,7 +1030,7 @@ function createQwenBackgroundDriver(platform = process.platform) {
|
|
|
1030
1030
|
verification: "none",
|
|
1031
1031
|
async available(ctx) {
|
|
1032
1032
|
const settings = await readWakeSettings(stateRoot(ctx.env));
|
|
1033
|
-
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-
|
|
1033
|
+
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-OIYAR2ND.mjs")).monitorArmed(ctx.files);
|
|
1034
1034
|
},
|
|
1035
1035
|
async unavailableReason(ctx) {
|
|
1036
1036
|
if (!await qwenInboundAllowed(ctx.env)) return "qwen_held";
|
|
@@ -1045,8 +1045,8 @@ var qwen = {
|
|
|
1045
1045
|
codec: qwenCodec,
|
|
1046
1046
|
restoreAtStartup: true,
|
|
1047
1047
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, { kind: "env", resolve: (_meta, env) => qwenSession(env), rejoinable: () => true }, hookMapSource],
|
|
1048
|
-
install: async (flags, deps) => (await import("./chunk-
|
|
1049
|
-
uninstall: async (flags, deps) => (await import("./chunk-
|
|
1048
|
+
install: async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runQwenInstall(flags, deps),
|
|
1049
|
+
uninstall: async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runQwenInstall([...flags, "--uninstall"], deps),
|
|
1050
1050
|
wakeLadder: [createQwenSocketDriver(), createQwenBackgroundDriver()],
|
|
1051
1051
|
async verifyWake(stdin, files, now) {
|
|
1052
1052
|
const input = JSON.parse(stdin);
|
|
@@ -1090,7 +1090,7 @@ var geminiCodec = {
|
|
|
1090
1090
|
|
|
1091
1091
|
// src/harness/gemini.ts
|
|
1092
1092
|
var emptyPrompt4 = { pattern: /^ >(?: {3}Type your message or @path\/to\/file)?$/u, cursorColumn: 3 };
|
|
1093
|
-
var install5 = async (flags, deps) => (await import("./chunk-
|
|
1093
|
+
var install5 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runGeminiInstall(flags, deps);
|
|
1094
1094
|
var gemini = {
|
|
1095
1095
|
id: "gemini",
|
|
1096
1096
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.GEMINI_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -1268,7 +1268,7 @@ async function antigravityPromptText(input) {
|
|
|
1268
1268
|
|
|
1269
1269
|
// src/harness/antigravity.ts
|
|
1270
1270
|
var emptyPrompt5 = { pattern: /^>$/u, cursorColumn: 2 };
|
|
1271
|
-
var install6 = async (flags, deps) => (await import("./chunk-
|
|
1271
|
+
var install6 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runAntigravityInstall(flags, deps);
|
|
1272
1272
|
var antigravity = {
|
|
1273
1273
|
id: "antigravity",
|
|
1274
1274
|
restoreAtStartup: true,
|
|
@@ -1427,7 +1427,7 @@ async function pollOpenCodeWake(files, io, replay = false) {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
1429
|
// src/harness/opencode.ts
|
|
1430
|
-
var install7 = async (flags, deps) => (await import("./chunk-
|
|
1430
|
+
var install7 = async (flags, deps) => (await import("./chunk-BWVC3EKG.mjs")).runOpenCodeInstall(flags, deps);
|
|
1431
1431
|
var opencode = {
|
|
1432
1432
|
id: "opencode",
|
|
1433
1433
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, hookMapSource],
|
|
@@ -1,19 +1,19 @@
|
|
|
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-RUQDE5DI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
consentLine,
|
|
7
7
|
setWake
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SDBMJPIA.mjs";
|
|
9
9
|
import {
|
|
10
10
|
antigravityRegisterHint,
|
|
11
11
|
wakeDrivers
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2AIADANH.mjs";
|
|
13
13
|
import {
|
|
14
14
|
adapterFor
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-BJVJ5WJS.mjs";
|
|
16
|
+
import "./chunk-ZWWTVM6R.mjs";
|
|
17
17
|
import {
|
|
18
18
|
ManagedFiles,
|
|
19
19
|
cursorPaths,
|
|
@@ -29,19 +29,19 @@ import {
|
|
|
29
29
|
qwenHome,
|
|
30
30
|
readManaged,
|
|
31
31
|
textFormat
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-XR3JSUPF.mjs";
|
|
33
|
+
import "./chunk-I4POSYHZ.mjs";
|
|
34
|
+
import "./chunk-72W7IC2O.mjs";
|
|
35
|
+
import "./chunk-XI5FPUNN.mjs";
|
|
36
36
|
import {
|
|
37
37
|
ensureStateDir,
|
|
38
38
|
isHarnessId,
|
|
39
39
|
stateRoot
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
41
|
+
import "./chunk-SUUEWCY5.mjs";
|
|
42
42
|
import {
|
|
43
43
|
init_define_KHALA_BUNDLE
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
45
45
|
|
|
46
46
|
// src/install/main.ts
|
|
47
47
|
init_define_KHALA_BUNDLE();
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
object,
|
|
6
6
|
readMatrixUserId,
|
|
7
7
|
version
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
init_define_KHALA_BUNDLE
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
12
12
|
|
|
13
13
|
// ../contracts/src/m1/listening-mode.ts
|
|
14
14
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
listChannels
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-72W7IC2O.mjs";
|
|
5
5
|
import {
|
|
6
6
|
TERMINAL_SESSION_DETAILS,
|
|
7
7
|
cachedProcessReader,
|
|
8
8
|
readStateFile,
|
|
9
9
|
readStatus,
|
|
10
10
|
validAgentRejoinSecret
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NHW62KEB.mjs";
|
|
12
12
|
import {
|
|
13
13
|
init_define_KHALA_BUNDLE
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3JA3Q5MK.mjs";
|
|
15
15
|
|
|
16
16
|
// src/session-start-wake.ts
|
|
17
17
|
init_define_KHALA_BUNDLE();
|