sideby 0.23.0 → 0.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"20261023T040236-42f210"}
|
|
@@ -6290,7 +6290,7 @@ const MAIN = String.raw `
|
|
|
6290
6290
|
const ATTACH_ACCEPT = 'image/png,image/jpeg,image/gif,image/webp,video/mp4,video/quicktime,video/webm'
|
|
6291
6291
|
let dropsHooked = false
|
|
6292
6292
|
// Which open dialog takes pasted or dropped files now: the AI Task's or "Send to it"'s, until it shows its result.
|
|
6293
|
-
function
|
|
6293
|
+
function fileDropTarget() {
|
|
6294
6294
|
if (BOOT.readOnly) return null
|
|
6295
6295
|
if (dlg.kind === 'ask' && ak && !ak.result) return askAddFiles
|
|
6296
6296
|
if (dlg.kind === 'send' && sd && !sd.result) return sendAddFiles
|
|
@@ -6300,7 +6300,7 @@ const MAIN = String.raw `
|
|
|
6300
6300
|
if (dropsHooked) return
|
|
6301
6301
|
dropsHooked = true
|
|
6302
6302
|
const el = dlg.el
|
|
6303
|
-
const active = () => Boolean(
|
|
6303
|
+
const active = () => Boolean(fileDropTarget())
|
|
6304
6304
|
const hasFiles = (e) => e.dataTransfer && Array.prototype.indexOf.call(e.dataTransfer.types || [], 'Files') >= 0
|
|
6305
6305
|
el.addEventListener('paste', (e) => {
|
|
6306
6306
|
const cd = e.clipboardData
|
|
@@ -6310,7 +6310,7 @@ const MAIN = String.raw `
|
|
|
6310
6310
|
if (!active() || !files.length) return
|
|
6311
6311
|
// A file copied in Finder also carries its name as text; only the file is wanted.
|
|
6312
6312
|
e.preventDefault()
|
|
6313
|
-
|
|
6313
|
+
fileDropTarget()(files)
|
|
6314
6314
|
})
|
|
6315
6315
|
el.addEventListener('dragover', (e) => {
|
|
6316
6316
|
if (!active() || !hasFiles(e)) return
|
|
@@ -6323,7 +6323,7 @@ const MAIN = String.raw `
|
|
|
6323
6323
|
el.classList.remove('drop-on')
|
|
6324
6324
|
if (!active() || !hasFiles(e)) return
|
|
6325
6325
|
e.preventDefault()
|
|
6326
|
-
|
|
6326
|
+
fileDropTarget()(Array.from(e.dataTransfer.files || []))
|
|
6327
6327
|
})
|
|
6328
6328
|
}
|
|
6329
6329
|
function askAttachField() {
|
package/package.json
CHANGED
package/skills/sideby/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sideby
|
|
3
3
|
description: Use when the user runs, or wants to run, several AI coding accounts (Claude Code, Codex, Grok Build, pi) side by side. Covers installing sideby and setting up a new account ("install sideby", "set up another Claude account", "add cc008", "配置一个 cc00x", "再加一个 Codex 账号"), explaining what accounts share and what stays separate ("what do my accounts share?", "这些账号共享了什么"), showing which account a session is ("show [cc001] in the status line", "加上账号标识"), finding a past session of any account ("找一下我上周改登录页的那个会话"), seeing accounts, quota and usage, moving on when one hits its 5-hour or weekly limit, moving the current task to another account ("用 cc008 继续", "交回 cc008"), adding a short command (alias) or a pick command that starts whichever account has the most quota ("加个 cc"), adding an API account from a vendor's docs ("加一个 DeepSeek API 账号"), supporting a new tool, and repairing drifted account directories (skills, hooks, rules or settings not shared, wrong symlinks, credential file permissions). Drives the `sideby` CLI with `--json`; the agent does every step except browser sign-in, filling in secrets and starting interactive sessions, which it hands to the user as one command (inside an Auto Handoff session, `sideby handoff ready --to` moves the task itself).
|
|
4
4
|
metadata:
|
|
5
|
-
version: "0.23.
|
|
5
|
+
version: "0.23.1"
|
|
6
6
|
requires:
|
|
7
7
|
bins: [sideby, node]
|
|
8
8
|
cliHelp: sideby --help
|