khala-cli 0.4.15 → 0.4.16
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-5B2GYFBD.mjs → chunk-3AOD6N2X.mjs} +28 -26
- package/dist/{chunk-YG6KJFZW.mjs → chunk-3BMYI3II.mjs} +12 -12
- package/dist/{chunk-657MHRGF.mjs → chunk-4GVGGDP3.mjs} +3 -3
- package/dist/{chunk-4PZFWER6.mjs → chunk-4XN4FXQN.mjs} +10 -10
- package/dist/{chunk-XZN4X37N.mjs → chunk-7DAJUPE7.mjs} +9 -9
- package/dist/{chunk-3IHM2SW7.mjs → chunk-AU75ZQGN.mjs} +1 -1
- package/dist/{chunk-BCEKWOVJ.mjs → chunk-AYG5S5CG.mjs} +6 -6
- package/dist/{chunk-ZUGJJGF4.mjs → chunk-DVNUQCCY.mjs} +3 -3
- package/dist/{chunk-MHHNDW4A.mjs → chunk-E3IVG3BK.mjs} +2 -2
- package/dist/{chunk-5WXVNFMV.mjs → chunk-EY27N2BY.mjs} +3 -3
- package/dist/{chunk-LYLDUHUX.mjs → chunk-FEJE7ZOF.mjs} +2 -2
- package/dist/{chunk-RYJJVZMQ.mjs → chunk-G323ZXDL.mjs} +2 -2
- package/dist/{chunk-Q7MJTMRR.mjs → chunk-GS7FTTHW.mjs} +9 -9
- package/dist/{chunk-26TDBFRB.mjs → chunk-H27WKQYQ.mjs} +2 -2
- package/dist/{chunk-EBDML25F.mjs → chunk-JKBHRHSY.mjs} +8 -8
- package/dist/{chunk-M2CLLH63.mjs → chunk-K7UICTRQ.mjs} +2 -2
- package/dist/chunk-M5II3E5T.mjs +19 -0
- package/dist/chunk-NEJRSW7R.mjs +20 -0
- package/dist/{chunk-MEI5RBK5.mjs → chunk-NXEQEY3M.mjs} +1 -1
- package/dist/{chunk-LS5EHLCO.mjs → chunk-ODMW45B6.mjs} +1 -1
- package/dist/{chunk-WE3JID2S.mjs → chunk-OSSYXQKY.mjs} +1 -1
- package/dist/{chunk-5XZKEFRD.mjs → chunk-PC7MEL4R.mjs} +1 -1
- package/dist/{chunk-5W73XTCG.mjs → chunk-QSIO26HF.mjs} +6 -6
- package/dist/{chunk-EEPFMGHU.mjs → chunk-RXQJ7W3V.mjs} +6 -6
- package/dist/{chunk-IECJZUSO.mjs → chunk-T5EJ7PRO.mjs} +5 -5
- package/dist/{chunk-BI2TKRL3.mjs → chunk-THOO43JY.mjs} +1 -1
- package/dist/{chunk-CXIAXZAE.mjs → chunk-TYHET72S.mjs} +3 -3
- package/dist/{chunk-SBJ33DW7.mjs → chunk-UWRWWFN5.mjs} +2 -2
- package/dist/{chunk-FQPHAPKV.mjs → chunk-W33R7NQS.mjs} +16 -16
- package/dist/chunk-WFRW2X2S.mjs +27 -0
- package/dist/{chunk-WLUNHB2O.mjs → chunk-XD2AELOT.mjs} +7 -7
- package/dist/{chunk-4OFZP46T.mjs → chunk-YAIJB4FT.mjs} +7 -7
- package/dist/{chunk-C7PNUX5Y.mjs → chunk-YMH6MKJJ.mjs} +2 -2
- package/dist/{chunk-UJQI2AKH.mjs → chunk-ZKVCL3WP.mjs} +10 -10
- package/dist/khala.mjs +11 -11
- package/dist/web/assets/local-d0y_F2g5.js +13 -0
- package/dist/web/assets/local-rpKMAzbU.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-QT5ZMQHY.mjs +0 -27
- package/dist/chunk-WF6GBYGH.mjs +0 -20
- package/dist/chunk-XS66DEGZ.mjs +0 -19
- package/dist/web/assets/local-Bnba1v1f.js +0 -13
- package/dist/web/assets/local-CVtKWAts.css +0 -1
|
@@ -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-AU75ZQGN.mjs";
|
|
5
5
|
|
|
6
6
|
// src/wake/shared/nonce.ts
|
|
7
7
|
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-W33R7NQS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
installedLauncher,
|
|
7
7
|
launcherShellQuote,
|
|
8
8
|
readWakeSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YAIJB4FT.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HARNESS_REGISTRY,
|
|
12
12
|
filesForDir,
|
|
13
13
|
readStateFile,
|
|
14
14
|
stateRoot
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
16
16
|
import {
|
|
17
17
|
readWakeState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PC7MEL4R.mjs";
|
|
19
19
|
import {
|
|
20
20
|
init_define_KHALA_BUNDLE
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AU75ZQGN.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-H27WKQYQ.mjs");
|
|
879
879
|
let drivers;
|
|
880
880
|
try {
|
|
881
881
|
const states = await readWakeState(dir);
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
WAKE_HARNESSES,
|
|
4
4
|
wakeDrivers,
|
|
5
5
|
wakeStatus
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QSIO26HF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
adapterFor,
|
|
9
9
|
registerAntigravityWake,
|
|
10
10
|
resolveSources
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-W33R7NQS.mjs";
|
|
12
12
|
import {
|
|
13
13
|
CURSOR_DEFAULT_SESSION,
|
|
14
14
|
updateWakeSettings
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YAIJB4FT.mjs";
|
|
16
16
|
import {
|
|
17
17
|
SESSION_ID_PATTERN,
|
|
18
18
|
filesForDir,
|
|
19
19
|
stateRoot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
21
21
|
import {
|
|
22
22
|
resetWakeDriver
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PC7MEL4R.mjs";
|
|
24
24
|
import {
|
|
25
25
|
init_define_KHALA_BUNDLE
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
27
27
|
|
|
28
28
|
// src/wake/cli.ts
|
|
29
29
|
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-E3IVG3BK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
bundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ODMW45B6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
LISTENING_MODES
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FEJE7ZOF.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-OSSYXQKY.mjs";
|
|
39
39
|
import {
|
|
40
40
|
init_define_KHALA_BUNDLE
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
42
42
|
|
|
43
43
|
// src/client.ts
|
|
44
44
|
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-AU75ZQGN.mjs";
|
|
5
5
|
|
|
6
6
|
// src/events/member-rename.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-T5EJ7PRO.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-OSSYXQKY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
init_define_KHALA_BUNDLE
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
20
20
|
|
|
21
21
|
// src/local/identity.ts
|
|
22
22
|
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-AU75ZQGN.mjs";
|
|
5
5
|
|
|
6
6
|
// ../contracts/src/m1/image.ts
|
|
7
7
|
init_define_KHALA_BUNDLE();
|
|
@@ -148,7 +148,7 @@ function imageLabel(image) {
|
|
|
148
148
|
// src/transport.ts
|
|
149
149
|
init_define_KHALA_BUNDLE();
|
|
150
150
|
var RESTORE_HISTORY_MAX_PAGES = 20;
|
|
151
|
-
var startChannelSession = async (creds, options) => creds.transport === "local" ? (await import("./chunk-
|
|
151
|
+
var startChannelSession = async (creds, options) => creds.transport === "local" ? (await import("./chunk-JKBHRHSY.mjs")).createLocalSession(creds) : (await import("./chunk-7DAJUPE7.mjs")).createAgentMatrixSession(creds, options);
|
|
152
152
|
|
|
153
153
|
export {
|
|
154
154
|
IMAGE_MAX_BYTES,
|
|
@@ -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-G323ZXDL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
CURSOR_DEFAULT_SESSION,
|
|
7
7
|
CURSOR_WORKSPACE_ENV,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
readListeningMode,
|
|
19
19
|
readWakeSettings,
|
|
20
20
|
verifyQwenTranscript
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YAIJB4FT.mjs";
|
|
22
22
|
import {
|
|
23
23
|
listChannels,
|
|
24
24
|
readActivity,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
unwoken,
|
|
27
27
|
wakeStart,
|
|
28
28
|
wakesAgent
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4GVGGDP3.mjs";
|
|
30
30
|
import {
|
|
31
31
|
HARNESS_REGISTRY,
|
|
32
32
|
SESSION_ID_PATTERN,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
stateRoot,
|
|
42
42
|
walkAncestors,
|
|
43
43
|
writeJsonAtomic
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
45
45
|
import {
|
|
46
46
|
CODEX_IDLE_WAKE_NOTICE,
|
|
47
47
|
cancelAttempt,
|
|
@@ -53,10 +53,10 @@ import {
|
|
|
53
53
|
settleAttempts,
|
|
54
54
|
wakeLine,
|
|
55
55
|
withWakeLock
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PC7MEL4R.mjs";
|
|
57
57
|
import {
|
|
58
58
|
init_define_KHALA_BUNDLE
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
60
60
|
|
|
61
61
|
// src/harness/index.ts
|
|
62
62
|
init_define_KHALA_BUNDLE();
|
|
@@ -801,7 +801,7 @@ var codexWakeDriver = createCodexWakeDriver();
|
|
|
801
801
|
|
|
802
802
|
// src/harness/codex.ts
|
|
803
803
|
var emptyPrompt2 = { pattern: /^› ?(Ask Codex to do anything)?$/u, cursorColumn: 2 };
|
|
804
|
-
var install = async (flags, deps) => (await import("./chunk-
|
|
804
|
+
var install = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runCodexInstall(flags, deps);
|
|
805
805
|
var codex = {
|
|
806
806
|
id: "codex",
|
|
807
807
|
// A string metadata id wins even when empty or invalid; validation happens after selection.
|
|
@@ -883,7 +883,7 @@ async function resolveSources(sources, meta, env, context) {
|
|
|
883
883
|
}
|
|
884
884
|
|
|
885
885
|
// src/harness/muse.ts
|
|
886
|
-
var install2 = async (flags, deps) => (await import("./chunk-
|
|
886
|
+
var install2 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runMuseInstall(flags, deps);
|
|
887
887
|
var muse = {
|
|
888
888
|
id: "muse",
|
|
889
889
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.MUSE_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -946,7 +946,7 @@ var copilotCodec = createCopilotCodec();
|
|
|
946
946
|
|
|
947
947
|
// src/harness/copilot.ts
|
|
948
948
|
var emptyPrompt3 = { pattern: /^❯ ?$/u, cursorColumn: 2 };
|
|
949
|
-
var install3 = async (flags, deps) => (await import("./chunk-
|
|
949
|
+
var install3 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runCopilotInstall(flags, deps);
|
|
950
950
|
var copilot = {
|
|
951
951
|
id: "copilot",
|
|
952
952
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.COPILOT_AGENT_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -994,7 +994,7 @@ var cursorCodec = {
|
|
|
994
994
|
};
|
|
995
995
|
|
|
996
996
|
// src/harness/cursor.ts
|
|
997
|
-
var install4 = async (flags, deps) => (await import("./chunk-
|
|
997
|
+
var install4 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runCursorInstall(flags, deps);
|
|
998
998
|
var cursor = {
|
|
999
999
|
id: "cursor",
|
|
1000
1000
|
sessionSources: [{
|
|
@@ -1032,7 +1032,7 @@ function createQwenBackgroundDriver(platform = process.platform) {
|
|
|
1032
1032
|
verification: "none",
|
|
1033
1033
|
async available(ctx) {
|
|
1034
1034
|
const settings = await readWakeSettings(stateRoot(ctx.env));
|
|
1035
|
-
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-
|
|
1035
|
+
return platform === "win32" && !settings.off["qwen/socket"] && !settings.off["qwen/background-shell"] && await qwenInboundAllowed(ctx.env) && await (await import("./chunk-XD2AELOT.mjs")).monitorArmed(ctx.files);
|
|
1036
1036
|
},
|
|
1037
1037
|
async unavailableReason(ctx) {
|
|
1038
1038
|
if (!await qwenInboundAllowed(ctx.env)) return "qwen_held";
|
|
@@ -1047,8 +1047,8 @@ var qwen = {
|
|
|
1047
1047
|
codec: qwenCodec,
|
|
1048
1048
|
restoreAtStartup: true,
|
|
1049
1049
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, { kind: "env", resolve: (_meta, env) => qwenSession(env), rejoinable: () => true }, hookMapSource],
|
|
1050
|
-
install: async (flags, deps) => (await import("./chunk-
|
|
1051
|
-
uninstall: async (flags, deps) => (await import("./chunk-
|
|
1050
|
+
install: async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runQwenInstall(flags, deps),
|
|
1051
|
+
uninstall: async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runQwenInstall([...flags, "--uninstall"], deps),
|
|
1052
1052
|
wakeLadder: [createQwenSocketDriver(), createQwenBackgroundDriver()],
|
|
1053
1053
|
async verifyWake(stdin, files, now) {
|
|
1054
1054
|
const input = JSON.parse(stdin);
|
|
@@ -1092,7 +1092,7 @@ var geminiCodec = {
|
|
|
1092
1092
|
|
|
1093
1093
|
// src/harness/gemini.ts
|
|
1094
1094
|
var emptyPrompt4 = { pattern: /^ >(?: {3}Type your message or @path\/to\/file)?$/u, cursorColumn: 3 };
|
|
1095
|
-
var install5 = async (flags, deps) => (await import("./chunk-
|
|
1095
|
+
var install5 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runGeminiInstall(flags, deps);
|
|
1096
1096
|
var gemini = {
|
|
1097
1097
|
id: "gemini",
|
|
1098
1098
|
sessionSources: [{ kind: "env", resolve: (_meta, env) => env.GEMINI_SESSION_ID, rejoinable: () => true }, hookMapSource],
|
|
@@ -1270,7 +1270,7 @@ async function antigravityPromptText(input) {
|
|
|
1270
1270
|
|
|
1271
1271
|
// src/harness/antigravity.ts
|
|
1272
1272
|
var emptyPrompt5 = { pattern: /^>$/u, cursorColumn: 2 };
|
|
1273
|
-
var install6 = async (flags, deps) => (await import("./chunk-
|
|
1273
|
+
var install6 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runAntigravityInstall(flags, deps);
|
|
1274
1274
|
var antigravity = {
|
|
1275
1275
|
id: "antigravity",
|
|
1276
1276
|
restoreAtStartup: true,
|
|
@@ -1429,7 +1429,7 @@ async function pollOpenCodeWake(files, io, replay = false) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
// src/harness/opencode.ts
|
|
1432
|
-
var install7 = async (flags, deps) => (await import("./chunk-
|
|
1432
|
+
var install7 = async (flags, deps) => (await import("./chunk-3BMYI3II.mjs")).runOpenCodeInstall(flags, deps);
|
|
1433
1433
|
var opencode = {
|
|
1434
1434
|
id: "opencode",
|
|
1435
1435
|
sessionSources: [{ kind: "meta", resolve: (meta) => meta?.khala_session, rejoinable: () => true }, hookMapSource],
|
|
@@ -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-RXQJ7W3V.mjs";
|
|
10
|
+
import "./chunk-QSIO26HF.mjs";
|
|
11
|
+
import "./chunk-W33R7NQS.mjs";
|
|
12
|
+
import "./chunk-G323ZXDL.mjs";
|
|
13
|
+
import "./chunk-YAIJB4FT.mjs";
|
|
14
|
+
import "./chunk-FEJE7ZOF.mjs";
|
|
15
|
+
import "./chunk-4GVGGDP3.mjs";
|
|
16
|
+
import "./chunk-YMH6MKJJ.mjs";
|
|
17
|
+
import "./chunk-OSSYXQKY.mjs";
|
|
18
|
+
import "./chunk-PC7MEL4R.mjs";
|
|
19
|
+
import "./chunk-AU75ZQGN.mjs";
|
|
20
|
+
export {
|
|
21
|
+
WAKE_USAGE,
|
|
22
|
+
consentLine,
|
|
23
|
+
cli_default as default,
|
|
24
|
+
runWake,
|
|
25
|
+
sessionIds,
|
|
26
|
+
setWake
|
|
27
|
+
};
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
monitorOwner,
|
|
6
6
|
run,
|
|
7
7
|
watchSession
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YAIJB4FT.mjs";
|
|
9
|
+
import "./chunk-FEJE7ZOF.mjs";
|
|
10
|
+
import "./chunk-4GVGGDP3.mjs";
|
|
11
|
+
import "./chunk-YMH6MKJJ.mjs";
|
|
12
|
+
import "./chunk-OSSYXQKY.mjs";
|
|
13
|
+
import "./chunk-PC7MEL4R.mjs";
|
|
14
|
+
import "./chunk-AU75ZQGN.mjs";
|
|
15
15
|
export {
|
|
16
16
|
WATCH_USAGE,
|
|
17
17
|
run as default,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __khalaCreateRequire } from 'node:module'; const requi
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_LISTENING_MODE,
|
|
4
4
|
decodeListeningMode
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FEJE7ZOF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
advanceCursor,
|
|
8
8
|
isWakeEntry,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
unread,
|
|
16
16
|
wakeStart,
|
|
17
17
|
wakesAgent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4GVGGDP3.mjs";
|
|
19
19
|
import {
|
|
20
20
|
SESSION_ID_PATTERN,
|
|
21
21
|
StateError,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sessionFiles,
|
|
26
26
|
stateRoot,
|
|
27
27
|
writeJsonAtomic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
29
29
|
import {
|
|
30
30
|
cancelAttempt,
|
|
31
31
|
confirmWakeText,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
settleAttempts,
|
|
35
35
|
wakeLine,
|
|
36
36
|
withWakeLock
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PC7MEL4R.mjs";
|
|
38
38
|
import {
|
|
39
39
|
init_define_KHALA_BUNDLE
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
41
41
|
|
|
42
42
|
// src/watch.ts
|
|
43
43
|
init_define_KHALA_BUNDLE();
|
|
@@ -1097,8 +1097,8 @@ ${WATCH_USAGE}`);
|
|
|
1097
1097
|
return 1;
|
|
1098
1098
|
};
|
|
1099
1099
|
if (argv.length !== 0 && !(argv.length === 2 && ["--session", "--harness"].includes(argv[0])) && !(argv.length === 4 && argv[0] === "--harness" && argv[2] === "--session")) return invalid("invalid_arguments");
|
|
1100
|
-
const { resolveHarness, resolveSessionId } = await import("./chunk-
|
|
1101
|
-
const { adapterFor } = await import("./chunk-
|
|
1100
|
+
const { resolveHarness, resolveSessionId } = await import("./chunk-NEJRSW7R.mjs");
|
|
1101
|
+
const { adapterFor } = await import("./chunk-M5II3E5T.mjs");
|
|
1102
1102
|
const harness = resolveHarness(argv, process.env);
|
|
1103
1103
|
if (harness === "invalid" || !adapterFor(harness)?.codec) return invalid("invalid_harness");
|
|
1104
1104
|
const index = argv.indexOf("--session");
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
utcTimestamp,
|
|
11
11
|
utf8Length,
|
|
12
12
|
version
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
14
14
|
import {
|
|
15
15
|
init_define_KHALA_BUNDLE
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
17
17
|
|
|
18
18
|
// ../contracts/src/m1/channel-event.ts
|
|
19
19
|
init_define_KHALA_BUNDLE();
|
|
@@ -1,20 +1,20 @@
|
|
|
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-QSIO26HF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
STOP_NUDGE,
|
|
7
7
|
adapterFor,
|
|
8
8
|
createCopilotCodec,
|
|
9
9
|
recordHookSession
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W33R7NQS.mjs";
|
|
11
11
|
import {
|
|
12
12
|
capturePane
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-G323ZXDL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
readListeningMode
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-YAIJB4FT.mjs";
|
|
17
|
+
import "./chunk-FEJE7ZOF.mjs";
|
|
18
18
|
import {
|
|
19
19
|
advanceCursor,
|
|
20
20
|
clearUsageLimit,
|
|
@@ -29,21 +29,21 @@ import {
|
|
|
29
29
|
wakeStart,
|
|
30
30
|
wakesAgent,
|
|
31
31
|
writeActivity
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-4GVGGDP3.mjs";
|
|
33
|
+
import "./chunk-YMH6MKJJ.mjs";
|
|
34
34
|
import {
|
|
35
35
|
StateError,
|
|
36
36
|
TERMINAL_SESSION_DETAILS,
|
|
37
37
|
readJson,
|
|
38
38
|
readStatus,
|
|
39
39
|
sessionFiles
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OSSYXQKY.mjs";
|
|
41
41
|
import {
|
|
42
42
|
settleAttempts
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PC7MEL4R.mjs";
|
|
44
44
|
import {
|
|
45
45
|
init_define_KHALA_BUNDLE
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
47
47
|
|
|
48
48
|
// hooks/deliver.ts
|
|
49
49
|
init_define_KHALA_BUNDLE();
|
package/dist/khala.mjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire as __khalaCreateRequire } from 'node:module'; const require = __khalaCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
KHALA_AGENT_VERSION
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-E3IVG3BK.mjs";
|
|
6
|
+
import "./chunk-ODMW45B6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
init_define_KHALA_BUNDLE
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AU75ZQGN.mjs";
|
|
10
10
|
|
|
11
11
|
// src/cli-bundle.ts
|
|
12
12
|
init_define_KHALA_BUNDLE();
|
|
@@ -84,15 +84,15 @@ async function runCli(argv, modules) {
|
|
|
84
84
|
|
|
85
85
|
// src/cli-bundle.ts
|
|
86
86
|
var hooks = {
|
|
87
|
-
"session-start": () => import("./chunk-
|
|
88
|
-
deliver: () => import("./chunk-
|
|
89
|
-
"claude-wake": () => import("./chunk-
|
|
87
|
+
"session-start": () => import("./chunk-AYG5S5CG.mjs"),
|
|
88
|
+
deliver: () => import("./chunk-ZKVCL3WP.mjs"),
|
|
89
|
+
"claude-wake": () => import("./chunk-4XN4FXQN.mjs")
|
|
90
90
|
};
|
|
91
91
|
process.exitCode = await runCli(process.argv.slice(2), {
|
|
92
|
-
mcp: () => () => import("./chunk-
|
|
93
|
-
watch: () => () => import("./chunk-
|
|
94
|
-
local: () => () => import("./chunk-
|
|
95
|
-
install: () => () => import("./chunk-
|
|
96
|
-
wake: () => () => import("./chunk-
|
|
92
|
+
mcp: () => () => import("./chunk-3AOD6N2X.mjs"),
|
|
93
|
+
watch: () => () => import("./chunk-XD2AELOT.mjs"),
|
|
94
|
+
local: () => () => import("./chunk-GS7FTTHW.mjs"),
|
|
95
|
+
install: () => () => import("./chunk-3BMYI3II.mjs"),
|
|
96
|
+
wake: () => () => import("./chunk-WFRW2X2S.mjs"),
|
|
97
97
|
hook: (name) => Object.hasOwn(hooks, name) ? hooks[name] : void 0
|
|
98
98
|
});
|