replicas-engine 0.1.228 → 0.1.230
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/src/index.js +9 -5
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -352,6 +352,9 @@ function parsePosixEnvFile(content) {
|
|
|
352
352
|
return result;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
+
// ../shared/src/git.ts
|
|
356
|
+
var GIT_PARTIAL_CLONE_FILTER = "blob:none";
|
|
357
|
+
|
|
355
358
|
// ../shared/src/default-skills/replicas-agent/abilities/computer.ts
|
|
356
359
|
var SECTION = `### Computer use (Linux desktop control)
|
|
357
360
|
Drive the workspace's Linux desktop - open a browser, click, type, scroll, screenshot, record - and surface a live noVNC viewer to the user via the \`replicas computer\` CLI. Every Replicas workspace boots with Xvfb / openbox / x11vnc / noVNC pre-installed.
|
|
@@ -1650,8 +1653,9 @@ function parseGoalCommand(message) {
|
|
|
1650
1653
|
import { parse as parseYaml } from "yaml";
|
|
1651
1654
|
|
|
1652
1655
|
// ../shared/src/warm-hooks.ts
|
|
1653
|
-
var DEFAULT_WARM_HOOK_TIMEOUT_MS =
|
|
1654
|
-
var MAX_WARM_HOOK_TIMEOUT_MS =
|
|
1656
|
+
var DEFAULT_WARM_HOOK_TIMEOUT_MS = 60 * 60 * 1e3;
|
|
1657
|
+
var MAX_WARM_HOOK_TIMEOUT_MS = 120 * 60 * 1e3;
|
|
1658
|
+
var DEFAULT_START_HOOK_TIMEOUT_MS = 5 * 60 * 1e3;
|
|
1655
1659
|
var DEFAULT_HOOK_OUTPUT_PREVIEW_CHARS = 1e5;
|
|
1656
1660
|
var HOOK_EXEC_MAX_BUFFER_BYTES = 10 * 1024 * 1024;
|
|
1657
1661
|
function isRecord2(value) {
|
|
@@ -1773,7 +1777,7 @@ function isClaudeAuthErrorText(text) {
|
|
|
1773
1777
|
}
|
|
1774
1778
|
|
|
1775
1779
|
// ../shared/src/engine/environment.ts
|
|
1776
|
-
var DAYTONA_SNAPSHOT_ID = "
|
|
1780
|
+
var DAYTONA_SNAPSHOT_ID = "29-05-2026-royal-york-v1";
|
|
1777
1781
|
|
|
1778
1782
|
// ../shared/src/engine/types.ts
|
|
1779
1783
|
var DEFAULT_CHAT_TITLES = {
|
|
@@ -2717,7 +2721,7 @@ var GitService = class {
|
|
|
2717
2721
|
};
|
|
2718
2722
|
const persistedState = await loadRepoState(repo.name);
|
|
2719
2723
|
const persistedBranch = persistedState?.currentBranch;
|
|
2720
|
-
runGitCommand(["fetch", "--all", "--prune"], repo.path);
|
|
2724
|
+
runGitCommand(["fetch", "--all", "--prune", `--filter=${GIT_PARTIAL_CLONE_FILTER}`], repo.path);
|
|
2721
2725
|
if (persistedBranch && branchExists(persistedBranch, repo.path)) {
|
|
2722
2726
|
const currentBranch = getCurrentBranch(repo.path);
|
|
2723
2727
|
if (currentBranch !== persistedBranch) {
|
|
@@ -3456,7 +3460,7 @@ Repositories: ${hookEntries.length}
|
|
|
3456
3460
|
await environmentDetailsService.setRepositoryStartHook(entry.repoName, "yes");
|
|
3457
3461
|
continue;
|
|
3458
3462
|
}
|
|
3459
|
-
const timeout = startHookConfig.timeout ??
|
|
3463
|
+
const timeout = startHookConfig.timeout ?? DEFAULT_START_HOOK_TIMEOUT_MS;
|
|
3460
3464
|
let repoFailed = false;
|
|
3461
3465
|
let lastExitCode = 0;
|
|
3462
3466
|
let repoTimedOut = false;
|