wherdr 1.3.2 → 1.3.3
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{AgentView.C4YOwvZG.css → AgentView.DzFWBd2A.css} +1 -1
- package/.output/public/_nuxt/B4Yk2tB1.js +23 -0
- package/.output/public/_nuxt/BBw_0a4M.js +6 -0
- package/.output/public/_nuxt/{D7sxNXx1.js → BSy6OCIY.js} +1 -1
- package/.output/public/_nuxt/BX5PM2JQ.js +1 -0
- package/.output/public/_nuxt/BgPDnf2S.js +1 -0
- package/.output/public/_nuxt/BkOxQzbS.js +2 -0
- package/.output/public/_nuxt/{8ksjcuDu.js → CKhgznq4.js} +45 -56
- package/.output/public/_nuxt/{Cd8j9O5w.js → CP8o925U.js} +1 -1
- package/.output/public/_nuxt/CkbmecwS.js +1 -0
- package/.output/public/_nuxt/Cr3SrGky.js +1 -0
- package/.output/public/_nuxt/DAg9fiVh.js +89 -0
- package/.output/public/_nuxt/DT8qZ0Wv.js +1 -0
- package/.output/public/_nuxt/DaaJIRB3.js +1 -0
- package/.output/public/_nuxt/{DViwOclv.js → DcJi16XA.js} +1 -1
- package/.output/public/_nuxt/VpjCgSXu.js +36 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/c735b6c0-1bd0-47d7-a208-d310f0a06287.json +1 -0
- package/.output/public/_nuxt/dPxB2L94.js +89 -0
- package/.output/public/_nuxt/{entry.Crt1r4l3.css → entry.CGWKmYU3.css} +1 -1
- package/.output/public/_nuxt/xYX85SPI.js +1 -0
- package/.output/public/sw.js +1 -1
- package/.output/server/chunks/_/branding.mjs +1 -1
- package/.output/server/chunks/_/filePaths.mjs +25 -0
- package/.output/server/chunks/_/files.mjs +204 -0
- package/.output/server/chunks/_/machineOrder.mjs +1 -1
- package/.output/server/chunks/_/onboarding.mjs +1 -1
- package/.output/server/chunks/_/package.mjs +3 -2
- package/.output/server/chunks/_/pluginPolicy.mjs +93 -0
- package/.output/server/chunks/_/plugins.mjs +4 -94
- package/.output/server/chunks/_/projectBoard.mjs +120 -29
- package/.output/server/chunks/_/projectDocs.mjs +106 -0
- package/.output/server/chunks/_/projectInbox.mjs +135 -0
- package/.output/server/chunks/_/projectThreads.mjs +46 -0
- package/.output/server/chunks/_/projectThreads2.mjs +61 -0
- package/.output/server/chunks/_/projectsActions.mjs +1 -1
- package/.output/server/chunks/_/projectsPlugin.mjs +1 -1
- package/.output/server/chunks/_/restart.mjs +2 -312
- package/.output/server/chunks/_/reveal.mjs +2 -24
- package/.output/server/chunks/_/selfupdate.mjs +3 -2
- package/.output/server/chunks/_/updates.mjs +51 -10
- package/.output/server/chunks/_/worktrees.mjs +1 -1
- package/.output/server/chunks/_/ws.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +1096 -268
- package/.output/server/chunks/raw/bump-homebrew.mjs +1 -1
- package/.output/server/chunks/raw/herdr-plugin.mjs +1 -1
- package/.output/server/chunks/raw/release-ready.mjs +5 -0
- package/.output/server/chunks/routes/api/_..._.mjs +1 -1
- package/.output/server/chunks/routes/api/agents.post.mjs +1 -1
- package/.output/server/chunks/routes/api/ask-tab.post.mjs +1 -1
- package/.output/server/chunks/routes/api/attach.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/disable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/lock.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/login/options.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/max-session.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/register/options.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/status.get.mjs +1 -1
- package/.output/server/chunks/routes/api/board.get.mjs +147 -0
- package/.output/server/chunks/routes/api/changes.get.mjs +2 -2
- package/.output/server/chunks/routes/api/chat/image.get.mjs +2 -2
- package/.output/server/chunks/routes/api/chat.get.mjs +2 -2
- package/.output/server/chunks/routes/api/choose.post.mjs +29 -3
- package/.output/server/chunks/routes/api/claude-statusline.post.mjs +2 -2
- package/.output/server/chunks/routes/api/close/status.get.mjs +2 -2
- package/.output/server/chunks/routes/api/close.post.mjs +1 -1
- package/.output/server/chunks/routes/api/codex-update.post.mjs +2 -2
- package/.output/server/chunks/routes/api/commands.get.mjs +2 -2
- package/.output/server/chunks/routes/api/config.get.mjs +3 -2
- package/.output/server/chunks/routes/api/dirs.get.mjs +2 -2
- package/.output/server/chunks/routes/api/dismiss-stopped.post.mjs +43 -0
- package/.output/server/chunks/routes/api/dismiss.post.mjs +2 -2
- package/.output/server/chunks/routes/api/effort.post.mjs +2 -2
- package/.output/server/chunks/routes/api/efforts.get.mjs +2 -2
- package/.output/server/chunks/routes/api/file.post.mjs +2 -2
- package/.output/server/chunks/routes/api/files/download.get.mjs +53 -0
- package/.output/server/chunks/routes/api/files/read.get.mjs +45 -0
- package/.output/server/chunks/routes/api/files.get.mjs +44 -0
- package/.output/server/chunks/routes/api/gitroot.get.mjs +2 -2
- package/.output/server/chunks/routes/api/health.get.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/input.post.mjs +13 -3
- package/.output/server/chunks/routes/api/interrupt.post.mjs +2 -2
- package/.output/server/chunks/routes/api/isgit.get.mjs +2 -2
- package/.output/server/chunks/routes/api/machine/awake.get.mjs +2 -2
- package/.output/server/chunks/routes/api/machine/awake.post.mjs +2 -2
- package/.output/server/chunks/routes/api/machine/order.get.mjs +1 -1
- package/.output/server/chunks/routes/api/machine/order.post.mjs +1 -1
- package/.output/server/chunks/routes/api/machine/rename.post.mjs +2 -2
- package/.output/server/chunks/routes/api/menu.post.mjs +2 -2
- package/.output/server/chunks/routes/api/model.post.mjs +2 -2
- package/.output/server/chunks/routes/api/models.get.mjs +2 -2
- package/.output/server/chunks/routes/api/nav.post.mjs +5 -4
- package/.output/server/chunks/routes/api/onboarding.get.mjs +1 -1
- package/.output/server/chunks/routes/api/onboarding.post.mjs +1 -1
- package/.output/server/chunks/routes/api/phone.get.mjs +2 -2
- package/.output/server/chunks/routes/api/phone.post.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/actions.get.mjs +2 -1
- package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +2 -1
- package/.output/server/chunks/routes/api/plugins/profiles.get.mjs +2 -1
- package/.output/server/chunks/routes/api/plugins/projects.get.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/projects.post.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/thread-limits.get.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +2 -2
- package/.output/server/chunks/routes/api/project/inbox.get.mjs +43 -0
- package/.output/server/chunks/routes/api/project/inbox.post.mjs +43 -0
- package/.output/server/chunks/routes/api/project/memory.get.mjs +42 -0
- package/.output/server/chunks/routes/api/project/report.get.mjs +2 -2
- package/.output/server/chunks/routes/api/project/routines.get.mjs +43 -0
- package/.output/server/chunks/routes/api/project/settings.get.mjs +41 -0
- package/.output/server/chunks/routes/api/project/thread.get.mjs +44 -0
- package/.output/server/chunks/routes/api/project/thread.post.mjs +45 -0
- package/.output/server/chunks/routes/api/prompt.post.mjs +21 -3
- package/.output/server/chunks/routes/api/push/quiet.post.mjs +2 -2
- package/.output/server/chunks/routes/api/push/subscribe.post.mjs +2 -2
- package/.output/server/chunks/routes/api/push/test.post.mjs +2 -2
- package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +2 -2
- package/.output/server/chunks/routes/api/quotas.get.mjs +2 -2
- package/.output/server/chunks/routes/api/rename.post.mjs +1 -1
- package/.output/server/chunks/routes/api/requeue.post.mjs +2 -2
- package/.output/server/chunks/routes/api/restart.get.mjs +1 -1
- package/.output/server/chunks/routes/api/restart.post.mjs +1 -1
- package/.output/server/chunks/routes/api/reveal.post.mjs +2 -1
- package/.output/server/chunks/routes/api/screen-key.post.mjs +2 -2
- package/.output/server/chunks/routes/api/screen.get.mjs +5 -3
- package/.output/server/chunks/routes/api/search.get.mjs +2 -2
- package/.output/server/chunks/routes/api/seen.post.mjs +2 -2
- package/.output/server/chunks/routes/api/sessions.get.mjs +2 -2
- package/.output/server/chunks/routes/api/sessions.post.mjs +2 -2
- package/.output/server/chunks/routes/api/space.post.mjs +14 -14
- package/.output/server/chunks/routes/api/state.get.mjs +2 -2
- package/.output/server/chunks/routes/api/unqueue.post.mjs +2 -2
- package/.output/server/chunks/routes/api/update/status.get.mjs +1 -1
- package/.output/server/chunks/routes/api/update.get.mjs +2 -2
- package/.output/server/chunks/routes/api/update.post.mjs +2 -2
- package/.output/server/chunks/routes/api/upload.post.mjs +2 -2
- package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +1 -1
- package/.output/server/chunks/routes/api/worktrees.get.mjs +1 -1
- package/.output/server/chunks/routes/favicon.ico.get.mjs +1 -1
- package/.output/server/chunks/routes/icons/_name_.get.mjs +2 -2
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +2 -2
- package/.output/server/chunks/routes/ws/_..._.mjs +2 -2
- package/.output/server/chunks/routes/ws/events.mjs +2 -2
- package/.output/server/chunks/routes/ws/term.mjs +2 -2
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +2 -2
- package/.output/server/package.json +1 -1
- package/README.md +332 -25
- package/bin/install-docker-skill.sh +20 -0
- package/bin/lib/commands.mjs +5 -1
- package/bin/lib/core.mjs +1 -0
- package/bin/lib/install-skill.sh +100 -0
- package/bin/lib/skill.mjs +16 -0
- package/bin/lib/updater.mjs +65 -12
- package/bin/lib/verify-release.mjs +20 -0
- package/package.json +3 -2
- package/skills/wherdr/SKILL.md +180 -0
- package/.output/public/_nuxt/B7QP1TFs.js +0 -23
- package/.output/public/_nuxt/BDNMzG2s.js +0 -1
- package/.output/public/_nuxt/BOpBIziZ.js +0 -6
- package/.output/public/_nuxt/BWXdFfeg.js +0 -17
- package/.output/public/_nuxt/COFCNFpG.js +0 -83
- package/.output/public/_nuxt/CXG-cOdh.js +0 -1
- package/.output/public/_nuxt/CkZ8t6uB.js +0 -1
- package/.output/public/_nuxt/D4Yz4rat.js +0 -65
- package/.output/public/_nuxt/DoD7Qb5P.js +0 -30
- package/.output/public/_nuxt/DyBZDSCV.js +0 -2
- package/.output/public/_nuxt/bLP7Jj-b.js +0 -1
- package/.output/public/_nuxt/builds/meta/7afbf062-5369-4002-b20d-7a582ff6e0f1.json +0 -1
- package/.output/server/chunks/routes/ws/mirror.mjs +0 -161
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, bk as pushSend } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, aj as readSubs, bf as writeSubs } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, bl as readQuotas } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, P as PANE_RE, H as HerdrError,
|
|
1
|
+
import { a as defineApi, P as PANE_RE, H as HerdrError, bm as retryQueued } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,14 +21,15 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
29
29
|
import 'qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js';
|
|
30
30
|
import '@simplewebauthn/server';
|
|
31
31
|
import 'node:url';
|
|
32
|
+
import '../../_/filePaths.mjs';
|
|
32
33
|
|
|
33
34
|
const reveal_post = defineApi((event, b) => revealPath(b));
|
|
34
35
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, P as PANE_RE, H as HerdrError, h as herdr,
|
|
1
|
+
import { a as defineApi, P as PANE_RE, H as HerdrError, h as herdr, bn as parseWaitScreen, O as parseChoices, g as choicesCache, p as poll } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery, P as PANE_RE, H as HerdrError, h as herdr,
|
|
1
|
+
import { a as defineApi, i as getQuery, P as PANE_RE, H as HerdrError, h as herdr, bo as settingsTabs, bp as tabsOfRow, f as findPane, bq as classifyScreen, bn as parseWaitScreen, br as parseMenu, b as screenChoices } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -76,7 +76,9 @@ const screen_get = defineApi(async (event) => {
|
|
|
76
76
|
const hit = line ? activeTab(line) : null;
|
|
77
77
|
tab = hit && tabs.includes(hit) ? hit : null;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
const p = findPane(pane);
|
|
80
|
+
const interaction = classifyScreen({ text, agent: p == null ? void 0 : p.agent, status: p == null ? void 0 : p.status, choices: screenChoices(text, p == null ? void 0 : p.agent), settings: Boolean(tabs), menu: parseMenu(text), screen: parseWaitScreen(text) });
|
|
81
|
+
return { text, tabs, tab, interaction };
|
|
80
82
|
});
|
|
81
83
|
|
|
82
84
|
export { screen_get as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery,
|
|
1
|
+
import { a as defineApi, i as getQuery, m as getState, bs as hasTranscript, D as machineOfPane, bt as SEARCH_DEADLINE_MS, bu as SEARCH_MAX_RESULTS, bv as spaceTitle } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, P as PANE_RE, H as HerdrError,
|
|
1
|
+
import { a as defineApi, P as PANE_RE, H as HerdrError, bw as markSeen } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery,
|
|
1
|
+
import { a as defineApi, i as getQuery, bx as listSessions } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, H as HerdrError,
|
|
1
|
+
import { a as defineApi, H as HerdrError, by as openSession } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bz as PANE_DIRECTIONS, at as splitId, as as PANE_RE, a as defineApi, H as HerdrError, ab as log, p as poll, x as herdrOn } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -153,17 +153,17 @@ function spaceResult(call, r) {
|
|
|
153
153
|
}
|
|
154
154
|
return {};
|
|
155
155
|
}
|
|
156
|
-
function swapSteps(snap, pane,
|
|
157
|
-
if (!
|
|
156
|
+
function swapSteps(snap, pane, target2) {
|
|
157
|
+
if (!target2 || target2 === pane) fail("no_neighbor", "no pane on that side");
|
|
158
158
|
const layouts = Array.isArray(snap == null ? void 0 : snap.layouts) ? snap.layouts : [];
|
|
159
159
|
const tab = layouts.find((l) => {
|
|
160
160
|
var _a;
|
|
161
161
|
return (_a = l.panes) == null ? void 0 : _a.some((p) => p.pane_id === pane);
|
|
162
162
|
});
|
|
163
|
-
if (!tab || !tab.panes.some((p) => p.pane_id ===
|
|
163
|
+
if (!tab || !tab.panes.some((p) => p.pane_id === target2)) fail("no_neighbor", "no pane on that side");
|
|
164
164
|
if (tab.zoomed) fail("zoomed", "a pane is zoomed in this tab");
|
|
165
165
|
const tabFocus = tab.focused_pane_id || null;
|
|
166
|
-
const [source, other] = tabFocus ===
|
|
166
|
+
const [source, other] = tabFocus === target2 ? [target2, pane] : [pane, target2];
|
|
167
167
|
return [{ method: "pane.swap", params: { source_pane_id: source, target_pane_id: other } }, ...refocus(snap, tab, source)];
|
|
168
168
|
}
|
|
169
169
|
function refocus(snap, tab, cur) {
|
|
@@ -178,22 +178,22 @@ function refocus(snap, tab, cur) {
|
|
|
178
178
|
}
|
|
179
179
|
return steps;
|
|
180
180
|
}
|
|
181
|
-
function dropSteps(snap, pane,
|
|
182
|
-
if (side === "center") return swapSteps(snap, pane,
|
|
183
|
-
if (!
|
|
181
|
+
function dropSteps(snap, pane, target2, side) {
|
|
182
|
+
if (side === "center") return swapSteps(snap, pane, target2);
|
|
183
|
+
if (!target2 || target2 === pane) fail("no_neighbor", "same pane");
|
|
184
184
|
const layouts = Array.isArray(snap == null ? void 0 : snap.layouts) ? snap.layouts : [];
|
|
185
185
|
const tab = layouts.find((l) => {
|
|
186
186
|
var _a;
|
|
187
187
|
return (_a = l.panes) == null ? void 0 : _a.some((p) => p.pane_id === pane);
|
|
188
188
|
});
|
|
189
|
-
if (!tab || !tab.panes.some((p) => p.pane_id ===
|
|
189
|
+
if (!tab || !tab.panes.some((p) => p.pane_id === target2)) fail("no_neighbor", "pane in another tab");
|
|
190
190
|
if (tab.zoomed) fail("zoomed", "a pane is zoomed in this tab");
|
|
191
191
|
const before = side === "left" || side === "up";
|
|
192
192
|
const steps = [
|
|
193
193
|
{ method: "pane.move", params: { pane_id: pane, destination: { type: "new_tab", workspace_id: tab.workspace_id }, focus: false } },
|
|
194
|
-
{ method: "pane.move", params: { pane_id: pane, destination: { type: "tab", tab_id: tab.tab_id, split: side === "left" || side === "right" ? "right" : "down", target_pane_id:
|
|
194
|
+
{ method: "pane.move", params: { pane_id: pane, destination: { type: "tab", tab_id: tab.tab_id, split: side === "left" || side === "right" ? "right" : "down", target_pane_id: target2 }, focus: false } }
|
|
195
195
|
];
|
|
196
|
-
if (before) steps.push({ method: "pane.swap", params: { source_pane_id: pane, target_pane_id:
|
|
196
|
+
if (before) steps.push({ method: "pane.swap", params: { source_pane_id: pane, target_pane_id: target2 } });
|
|
197
197
|
return [...steps, ...refocus(snap, tab, before ? pane : null)];
|
|
198
198
|
}
|
|
199
199
|
|
|
@@ -212,9 +212,9 @@ const space_post = defineApi(async (_event, body) => {
|
|
|
212
212
|
return { ok: true };
|
|
213
213
|
}
|
|
214
214
|
if (call.method === "pane.drop") {
|
|
215
|
-
const { pane_id: pane, target_pane_id:
|
|
215
|
+
const { pane_id: pane, target_pane_id: target2, side } = call.params;
|
|
216
216
|
const snap = await herdrOn(call.machine, "session.snapshot", {}, 5e3);
|
|
217
|
-
await runSteps(call.machine, stepsOf(() => dropSteps((snap == null ? void 0 : snap.snapshot) || snap, pane,
|
|
217
|
+
await runSteps(call.machine, stepsOf(() => dropSteps((snap == null ? void 0 : snap.snapshot) || snap, pane, target2, side)));
|
|
218
218
|
log(`space: pane.drop ${side}${call.machine ? ` (${call.machine})` : ""}`);
|
|
219
219
|
poll();
|
|
220
220
|
return { ok: true };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, m as getState } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, P as PANE_RE, H as HerdrError,
|
|
1
|
+
import { a as defineApi, P as PANE_RE, H as HerdrError, bA as cancelQueued } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -22,8 +22,8 @@ import 'web-push';
|
|
|
22
22
|
import 'node:os';
|
|
23
23
|
import 'node:child_process';
|
|
24
24
|
import 'node:net';
|
|
25
|
-
import 'node:readline';
|
|
26
25
|
import 'node:fs/promises';
|
|
26
|
+
import 'node:readline';
|
|
27
27
|
import 'node:dns';
|
|
28
28
|
import 'node:util';
|
|
29
29
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, aX as phoneAccess } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { c as checkUpdate } from '../../_/updates.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, aX as phoneAccess, s as sendError } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { s as startUpdate } from '../../_/selfupdate.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery,
|
|
1
|
+
import { a as defineApi, i as getQuery, aB as saveUpload, P as PANE_RE } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler,
|
|
1
|
+
import { d as defineEventHandler, bK as getRouterParam } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { s as serveBranding } from '../../_/branding.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bS as useRuntimeConfig, bT as encodePath, bU as joinRelativeURL, bV as defineRenderHandler, i as getQuery, bW as createError, bX as destr, bY as getRouteRules, bZ as relative, b_ as joinURL, b$ as getResponseStatusText, c0 as getResponseStatus, c1 as useNitroApp } from '../nitro/nitro.mjs';
|
|
2
2
|
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
|
3
3
|
import { isRef, toValue } from 'vue';
|
|
4
4
|
import { DeprecationsPlugin } from 'unhead/legacy';
|
|
@@ -26,8 +26,8 @@ import 'web-push';
|
|
|
26
26
|
import 'node:os';
|
|
27
27
|
import 'node:child_process';
|
|
28
28
|
import 'node:net';
|
|
29
|
-
import 'node:readline';
|
|
30
29
|
import 'node:fs/promises';
|
|
30
|
+
import 'node:readline';
|
|
31
31
|
import 'node:dns';
|
|
32
32
|
import 'node:util';
|
|
33
33
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -206,7 +206,7 @@ function encodeForwardSlashes(str) {
|
|
|
206
206
|
|
|
207
207
|
const renderSSRHeadOptions = {"omitLineBreaks":true};
|
|
208
208
|
|
|
209
|
-
const entryFileName = "
|
|
209
|
+
const entryFileName = "VpjCgSXu.js";
|
|
210
210
|
|
|
211
211
|
//#region src/runtime/handlers/renderer.ts
|
|
212
212
|
globalThis.__buildAssetsURL = buildAssetsURL;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler,
|
|
1
|
+
import { d as defineEventHandler, bK as getRouterParam, bL as readUpload, s as sendError, M as sendImage } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bM as defineWebSocketHandler } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -20,8 +20,8 @@ import 'web-push';
|
|
|
20
20
|
import 'node:os';
|
|
21
21
|
import 'node:child_process';
|
|
22
22
|
import 'node:net';
|
|
23
|
-
import 'node:readline';
|
|
24
23
|
import 'node:fs/promises';
|
|
24
|
+
import 'node:readline';
|
|
25
25
|
import 'node:dns';
|
|
26
26
|
import 'node:util';
|
|
27
27
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bM as defineWebSocketHandler, bN as eventClients, P as PANE_RE, bO as getStateJson } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { u as unwatchPeer, m as messageText, w as watchPeer, i as isOpen, c as checkUpgrade } from '../../_/ws.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bM as defineWebSocketHandler, bR as openTerm } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { u as unwatchPeer, m as messageText, w as watchPeer, c as checkUpgrade, i as isOpen } from '../../_/ws.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -21,8 +21,8 @@ import 'web-push';
|
|
|
21
21
|
import 'node:os';
|
|
22
22
|
import 'node:child_process';
|
|
23
23
|
import 'node:net';
|
|
24
|
-
import 'node:readline';
|
|
25
24
|
import 'node:fs/promises';
|
|
25
|
+
import 'node:readline';
|
|
26
26
|
import 'node:dns';
|
|
27
27
|
import 'node:util';
|
|
28
28
|
import 'qrcode-terminal/vendor/QRCode/index.js';
|