@sideboard-ai/core 0.1.193 → 0.1.195
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/{abletime-UX53JTIH.js → abletime-HR6P4GJH.js} +3 -3
- package/dist/{abletime-QHKWGTBY.js → abletime-JINF5KJV.js} +3 -3
- package/dist/agents/cursor-runner.js +2 -2
- package/dist/{agents-MN4GSQTL.js → agents-OXDDPH2O.js} +16 -17
- package/dist/{agents-OK5VD25T.js → agents-WQL7SZY6.js} +6 -7
- package/dist/{app-settings-LO7UFHQ6.js → app-settings-5KHVKJKO.js} +2 -2
- package/dist/{app-settings-QYLNKRK4.js → app-settings-J775CYOO.js} +2 -2
- package/dist/{branch-prefix-EVW2KHGQ.js → branch-prefix-7DTIUJT2.js} +1 -1
- package/dist/{branch-prefix-7F37FIPX.js → branch-prefix-N3KTCRCE.js} +1 -1
- package/dist/{chunk-MQC2VA5U.js → chunk-2X6RGKLI.js} +13 -13
- package/dist/{chunk-EBPBGQ4P.js → chunk-6H2XPPPR.js} +9 -9
- package/dist/{chunk-HIX2VDRE.js → chunk-6YTI2HBG.js} +6 -8
- package/dist/{chunk-KORE4WOF.js → chunk-AH6WIBLY.js} +1 -1
- package/dist/{chunk-XPKKCFRT.js → chunk-DP4TKAMZ.js} +864 -7
- package/dist/{chunk-O4BMPY5Y.js → chunk-E37JHCO3.js} +1 -1
- package/dist/{chunk-JTWKGOFI.js → chunk-FJZWM2ON.js} +1 -1
- package/dist/{chunk-3DX2T2KR.js → chunk-GFH3QVAV.js} +188 -95
- package/dist/{chunk-EQXXGOMD.js → chunk-HAVI6AY3.js} +197 -104
- package/dist/{chunk-4OVCJPVI.js → chunk-HZTHWU6A.js} +6 -8
- package/dist/{chunk-4QJRH5DL.js → chunk-KTHRWHA3.js} +1 -1
- package/dist/{chunk-BIKCWYRP.js → chunk-S4QCBBXS.js} +873 -16
- package/dist/{chunk-BWRS6GAS.js → chunk-S5GLSRLP.js} +1 -1
- package/dist/{chunk-PE337IM2.js → chunk-SALM35KD.js} +7 -7
- package/dist/{chunk-7SNJMKD6.js → chunk-WDRMZKVB.js} +1 -1
- package/dist/{connected-teams-SYQQGCXD.js → connected-teams-WK47ATT7.js} +2 -2
- package/dist/{coordinator-prompt-WB65HIZ3.js → coordinator-prompt-IX66YUJ2.js} +5 -6
- package/dist/{coordinator-prompt-GXJIPWNA.js → coordinator-prompt-LYKS3YNG.js} +4 -5
- package/dist/{global-workspace-MMK5UFUZ.js → global-workspace-4QX6UEOY.js} +5 -6
- package/dist/{global-workspace-BZ6V6TEX.js → global-workspace-SNJ2Z6SL.js} +4 -5
- package/dist/index.cjs +1051 -971
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +95 -54
- package/dist/mcp/run-stdio.cjs +218 -140
- package/dist/mcp/run-stdio.js +67 -26
- package/dist/{orchestrator-4KI6VIFG.js → orchestrator-6ESBGMDN.js} +9 -10
- package/dist/{orchestrator-SFOT6Q6F.js → orchestrator-EHRFN3Q6.js} +8 -9
- package/dist/{workspaces-KPJS7GLY.js → workspaces-URMUVGAQ.js} +5 -6
- package/dist/{workspaces-ACMZMKPD.js → workspaces-UTOYGBYB.js} +4 -5
- package/dist/{worktree-6IEVF3GN.js → worktree-R43JOR4V.js} +12 -14
- package/dist/{worktree-UW6DNBIE.js → worktree-RM6UWNGZ.js} +17 -19
- package/package.json +1 -1
- package/dist/chunk-64QSHOKV.js +0 -869
- package/dist/chunk-ILWQT2UN.js +0 -55
- package/dist/chunk-PBEPPXMY.js +0 -57
- package/dist/chunk-RCWHL4TK.js +0 -866
- package/dist/github-DWROJOB7.js +0 -11
- package/dist/github-IIF7AQNO.js +0 -9
- package/dist/worktree-labels-3XDS6O3U.js +0 -22
- package/dist/worktree-labels-PEDOJBMD.js +0 -24
- package/dist/{chunk-7AJ7OZZF.js → chunk-NLHFAMC2.js} +3 -3
package/dist/chunk-ILWQT2UN.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
run
|
|
3
|
-
} from "./chunk-UFHNSFAS.js";
|
|
4
|
-
|
|
5
|
-
// src/integrations/github.ts
|
|
6
|
-
async function getGitHubStatus() {
|
|
7
|
-
const which = await run("which", ["gh"], { reject: false });
|
|
8
|
-
if (which.exitCode !== 0 || !which.stdout.trim()) {
|
|
9
|
-
return {
|
|
10
|
-
connected: false,
|
|
11
|
-
login: null,
|
|
12
|
-
hosts: [],
|
|
13
|
-
reason: "gh CLI not found on PATH"
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
const loginResult = await run(
|
|
17
|
-
"gh",
|
|
18
|
-
["api", "user", "--jq", ".login"],
|
|
19
|
-
{ reject: false }
|
|
20
|
-
);
|
|
21
|
-
if (loginResult.exitCode === 0 && loginResult.stdout.trim()) {
|
|
22
|
-
return {
|
|
23
|
-
connected: true,
|
|
24
|
-
login: loginResult.stdout.trim(),
|
|
25
|
-
hosts: ["github.com"],
|
|
26
|
-
reason: null
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
const status = await run("gh", ["auth", "status"], { reject: false });
|
|
30
|
-
const text = `${status.stdout}
|
|
31
|
-
${status.stderr}`;
|
|
32
|
-
const loginMatch = text.match(/Logged in to ([^\s]+) account (\S+)/i) ?? text.match(/Logged in to ([^\s]+) as (\S+)/i);
|
|
33
|
-
if (loginMatch) {
|
|
34
|
-
return {
|
|
35
|
-
connected: true,
|
|
36
|
-
login: loginMatch[2].replace(/['"]/g, ""),
|
|
37
|
-
hosts: [loginMatch[1]],
|
|
38
|
-
reason: null
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
connected: false,
|
|
43
|
-
login: null,
|
|
44
|
-
hosts: [],
|
|
45
|
-
reason: status.stderr.trim() || status.stdout.trim() || "Not logged in to GitHub (run: gh auth login)"
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
async function refreshGitHubAuth() {
|
|
49
|
-
return getGitHubStatus();
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export {
|
|
53
|
-
getGitHubStatus,
|
|
54
|
-
refreshGitHubAuth
|
|
55
|
-
};
|
package/dist/chunk-PBEPPXMY.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
run
|
|
5
|
-
} from "./chunk-FNQNJOHY.js";
|
|
6
|
-
|
|
7
|
-
// src/integrations/github.ts
|
|
8
|
-
async function getGitHubStatus() {
|
|
9
|
-
const which = await run("which", ["gh"], { reject: false });
|
|
10
|
-
if (which.exitCode !== 0 || !which.stdout.trim()) {
|
|
11
|
-
return {
|
|
12
|
-
connected: false,
|
|
13
|
-
login: null,
|
|
14
|
-
hosts: [],
|
|
15
|
-
reason: "gh CLI not found on PATH"
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
const loginResult = await run(
|
|
19
|
-
"gh",
|
|
20
|
-
["api", "user", "--jq", ".login"],
|
|
21
|
-
{ reject: false }
|
|
22
|
-
);
|
|
23
|
-
if (loginResult.exitCode === 0 && loginResult.stdout.trim()) {
|
|
24
|
-
return {
|
|
25
|
-
connected: true,
|
|
26
|
-
login: loginResult.stdout.trim(),
|
|
27
|
-
hosts: ["github.com"],
|
|
28
|
-
reason: null
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
const status = await run("gh", ["auth", "status"], { reject: false });
|
|
32
|
-
const text = `${status.stdout}
|
|
33
|
-
${status.stderr}`;
|
|
34
|
-
const loginMatch = text.match(/Logged in to ([^\s]+) account (\S+)/i) ?? text.match(/Logged in to ([^\s]+) as (\S+)/i);
|
|
35
|
-
if (loginMatch) {
|
|
36
|
-
return {
|
|
37
|
-
connected: true,
|
|
38
|
-
login: loginMatch[2].replace(/['"]/g, ""),
|
|
39
|
-
hosts: [loginMatch[1]],
|
|
40
|
-
reason: null
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
connected: false,
|
|
45
|
-
login: null,
|
|
46
|
-
hosts: [],
|
|
47
|
-
reason: status.stderr.trim() || status.stdout.trim() || "Not logged in to GitHub (run: gh auth login)"
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
async function refreshGitHubAuth() {
|
|
51
|
-
return getGitHubStatus();
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export {
|
|
55
|
-
getGitHubStatus,
|
|
56
|
-
refreshGitHubAuth
|
|
57
|
-
};
|