allagents 1.11.8 → 1.11.9-next.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/index.js +12 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15733,6 +15733,13 @@ var init_git_errors = __esm(() => {
|
|
|
15733
15733
|
import { mkdtemp, rm } from "node:fs/promises";
|
|
15734
15734
|
import { tmpdir } from "node:os";
|
|
15735
15735
|
import { join, normalize as normalize2, resolve, sep } from "node:path";
|
|
15736
|
+
function createGitEnv() {
|
|
15737
|
+
return {
|
|
15738
|
+
...process.env,
|
|
15739
|
+
GIT_TERMINAL_PROMPT: "0",
|
|
15740
|
+
GIT_LFS_SKIP_SMUDGE: "1"
|
|
15741
|
+
};
|
|
15742
|
+
}
|
|
15736
15743
|
function createGit(baseDir) {
|
|
15737
15744
|
return esm_default(baseDir, {
|
|
15738
15745
|
timeout: { block: CLONE_TIMEOUT_MS },
|
|
@@ -15742,10 +15749,7 @@ function createGit(baseDir) {
|
|
|
15742
15749
|
"filter.lfs.clean=",
|
|
15743
15750
|
"filter.lfs.process="
|
|
15744
15751
|
]
|
|
15745
|
-
}).env(
|
|
15746
|
-
GIT_TERMINAL_PROMPT: "0",
|
|
15747
|
-
GIT_LFS_SKIP_SMUDGE: "1"
|
|
15748
|
-
});
|
|
15752
|
+
}).env(createGitEnv());
|
|
15749
15753
|
}
|
|
15750
15754
|
function gitHubUrl(owner, repo) {
|
|
15751
15755
|
return `https://github.com/${owner}/${repo}.git`;
|
|
@@ -30820,12 +30824,12 @@ function buildCloneUrl(source, repo) {
|
|
|
30820
30824
|
}
|
|
30821
30825
|
async function cloneRepo(url, dest, branch) {
|
|
30822
30826
|
await mkdir8(dirname10(dest), { recursive: true });
|
|
30823
|
-
const git = esm_default({ timeout: { block: CLONE_TIMEOUT_MS2 } });
|
|
30827
|
+
const git = esm_default({ timeout: { block: CLONE_TIMEOUT_MS2 } }).env(createGitEnv());
|
|
30824
30828
|
const cloneOptions = branch ? ["--branch", branch] : [];
|
|
30825
30829
|
await git.clone(url, dest, cloneOptions);
|
|
30826
30830
|
}
|
|
30827
30831
|
async function pullRepo(repoPath, branch) {
|
|
30828
|
-
const git = esm_default(repoPath, { timeout: { block: CLONE_TIMEOUT_MS2 } });
|
|
30832
|
+
const git = esm_default(repoPath, { timeout: { block: CLONE_TIMEOUT_MS2 } }).env(createGitEnv());
|
|
30829
30833
|
const status = await git.status();
|
|
30830
30834
|
if (!status.isClean()) {
|
|
30831
30835
|
return "uncommitted changes";
|
|
@@ -30906,6 +30910,7 @@ var CLONE_TIMEOUT_MS2 = 120000;
|
|
|
30906
30910
|
var init_managed_repos = __esm(() => {
|
|
30907
30911
|
init_esm();
|
|
30908
30912
|
init_constants();
|
|
30913
|
+
init_git();
|
|
30909
30914
|
});
|
|
30910
30915
|
|
|
30911
30916
|
// src/core/sync.ts
|
|
@@ -42219,7 +42224,7 @@ var package_default;
|
|
|
42219
42224
|
var init_package = __esm(() => {
|
|
42220
42225
|
package_default = {
|
|
42221
42226
|
name: "allagents",
|
|
42222
|
-
version: "1.11.
|
|
42227
|
+
version: "1.11.9-next.1",
|
|
42223
42228
|
packageManager: "bun@1.3.12",
|
|
42224
42229
|
description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
|
|
42225
42230
|
type: "module",
|