abtars 0.1.0-alpha.23 → 0.1.0-alpha.25
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/bundle/abtars-cli.js +5 -5
- package/bundle/abtars-cli.js.map +2 -2
- package/bundle/chunk-XMJ76XLE.js +386 -0
- package/bundle/chunk-XMJ76XLE.js.map +7 -0
- package/bundle/ensure-invariants-BJIEOSJ2.js +50 -0
- package/bundle/ensure-invariants-BJIEOSJ2.js.map +7 -0
- package/bundle/install-K67U3WLX.js +13 -0
- package/bundle/install-K67U3WLX.js.map +7 -0
- package/bundle/install-manifest-QRWID3KZ.js +104 -0
- package/bundle/install-manifest-QRWID3KZ.js.map +7 -0
- package/bundle/meta.json +25 -25
- package/package.json +1 -1
package/bundle/abtars-cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
install
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XMJ76XLE.js";
|
|
6
6
|
import {
|
|
7
7
|
RETENTION,
|
|
8
8
|
acquireLock,
|
|
@@ -540,7 +540,7 @@ async function runInteractive(existing) {
|
|
|
540
540
|
}
|
|
541
541
|
process.stdout.write("\nSend /start to your bot on Telegram now... (waiting 30s)\n");
|
|
542
542
|
try {
|
|
543
|
-
const res = await fetch(`${botUrl}/getUpdates?timeout=30&allowed_updates
|
|
543
|
+
const res = await fetch(`${botUrl}/getUpdates?timeout=30&allowed_updates=${encodeURIComponent('["message"]')}`);
|
|
544
544
|
const data = await res.json();
|
|
545
545
|
const id = data.result?.find((u) => u.message?.chat?.id)?.message?.chat?.id;
|
|
546
546
|
if (id) {
|
|
@@ -1676,7 +1676,7 @@ Update complete: ${staged.version}
|
|
|
1676
1676
|
} catch {
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const { loadManifest } = await import("./install-manifest-
|
|
1679
|
+
const { loadManifest } = await import("./install-manifest-QRWID3KZ.js");
|
|
1680
1680
|
const sourceRoot = staged.stagedPath;
|
|
1681
1681
|
const installManifest = loadManifest(sourceRoot);
|
|
1682
1682
|
const repoScripts = join9(sourceRoot, "scripts");
|
|
@@ -1726,7 +1726,7 @@ Update complete: ${staged.version}
|
|
|
1726
1726
|
}
|
|
1727
1727
|
process.stdout.write(`\u2713 scripts refreshed (${scriptFiles.length} files)
|
|
1728
1728
|
`);
|
|
1729
|
-
const { writeWrapper } = await import("./install-
|
|
1729
|
+
const { writeWrapper } = await import("./install-K67U3WLX.js");
|
|
1730
1730
|
await mkdir4(paths.bin, { recursive: true });
|
|
1731
1731
|
for (const name of installManifest.cliWrappers) {
|
|
1732
1732
|
await writeWrapper(paths.bin, name, paths.current, false);
|
|
@@ -1783,7 +1783,7 @@ Update complete: ${staged.version}
|
|
|
1783
1783
|
}
|
|
1784
1784
|
}
|
|
1785
1785
|
void hashFile;
|
|
1786
|
-
const { ensureInstallInvariants } = await import("./ensure-invariants-
|
|
1786
|
+
const { ensureInstallInvariants } = await import("./ensure-invariants-BJIEOSJ2.js");
|
|
1787
1787
|
const invariantResults = await ensureInstallInvariants(process.cwd(), paths.home);
|
|
1788
1788
|
if (invariantResults.length > 0) {
|
|
1789
1789
|
process.stdout.write(`\u2713 invariants: ${invariantResults.join(", ")}
|