@vite-hub/presets 0.6.0 → 0.6.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createBabysitterRuntime, s as createGitHubAppCredentials, c as createGitHubHost, n as isProviderRateLimit, r as pendingMergeRetryAt } from "../server-
|
|
1
|
+
export { t as createBabysitterRuntime, s as createGitHubAppCredentials, c as createGitHubHost, n as isProviderRateLimit, r as pendingMergeRetryAt } from "../server-9eUlfkBm.js";
|
|
@@ -2309,7 +2309,7 @@ function validMainRepair(mainRepair) {
|
|
|
2309
2309
|
return names(workflows, /\S/) && (repositories === void 0 || names(repositories, /^[\w.-]+\/[\w.-]+$/)) && (stuckJobMinutes === void 0 || stuckJobMinutes === false || Number.isSafeInteger(stuckJobMinutes) && Number(stuckJobMinutes) >= 1);
|
|
2310
2310
|
}
|
|
2311
2311
|
const babysitterHost = { async create(context) {
|
|
2312
|
-
const { createBabysitterProcessHost } = await import("./host-
|
|
2312
|
+
const { createBabysitterProcessHost } = await import("./host-DHjNUmve.js");
|
|
2313
2313
|
return await createBabysitterProcessHost(context);
|
|
2314
2314
|
} };
|
|
2315
2315
|
function plainSecret(value) {
|
package/dist/babysitter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as BabysitterPlacementCapacityError, t as babysitter, n as babysitterPassResultSchema, r as resolveBabysitterLifecycleFilter } from "./babysitter-
|
|
1
|
+
export { i as BabysitterPlacementCapacityError, t as babysitter, n as babysitterPassResultSchema, r as resolveBabysitterLifecycleFilter } from "./babysitter-Bc7fiKzx.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isRuntimeRecord, n as hasRuntimeType, t as presetsErrorDiagnostics } from "./error-diagnostics-BqwPfmNx.js";
|
|
2
|
-
import { a as budgetParks, c as createGitHubHost, i as babysitterQueueHealth, o as pullRequestThreadId, s as createGitHubAppCredentials, t as createBabysitterRuntime } from "./server-
|
|
3
|
-
import { d as resolveBabysitterAdmissionLimits, f as sharedBabysitterRead, o as createPullRequestWorkspaces, r as resolveBabysitterLifecycleFilter, u as createBabysitterAdmission } from "./babysitter-
|
|
2
|
+
import { a as budgetParks, c as createGitHubHost, i as babysitterQueueHealth, o as pullRequestThreadId, s as createGitHubAppCredentials, t as createBabysitterRuntime } from "./server-9eUlfkBm.js";
|
|
3
|
+
import { d as resolveBabysitterAdmissionLimits, f as sharedBabysitterRead, o as createPullRequestWorkspaces, r as resolveBabysitterLifecycleFilter, u as createBabysitterAdmission } from "./babysitter-Bc7fiKzx.js";
|
|
4
4
|
import { defineAgent } from "@vite-hub/agent";
|
|
5
5
|
import { forgeErrorStatus, githubInstallationRouting } from "@vite-hub/forge";
|
|
6
6
|
import { channelEnv } from "@vite-hub/agent/channels";
|
|
@@ -508,7 +508,7 @@ async function createBabysitterProcessHost(context) {
|
|
|
508
508
|
run: async (reason, run, accepting) => await runtime?.reconcile(reason, run, accepting)
|
|
509
509
|
});
|
|
510
510
|
const preflight = createBabysitterPreflight(agent.options.install ?? true);
|
|
511
|
-
const buildRevision = "
|
|
511
|
+
const buildRevision = "756b06da1a98b116856ea2318509abcf6db920a1168e3f29c9dad2e604df4095";
|
|
512
512
|
const admission = createBabysitterAdmission({
|
|
513
513
|
invocations: host.invocations,
|
|
514
514
|
limits: resolveBabysitterAdmissionLimits(agent.options.admission),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isRuntimeString, i as isRuntimeRecord, n as hasRuntimeType, r as isRuntimeNumber, t as presetsErrorDiagnostics } from "./error-diagnostics-BqwPfmNx.js";
|
|
2
|
-
import { A as invariant, B as createBabysitterPassResultSchema, C as approvalReviewers, D as normalizeGitHubMentionAllowlist, E as isReviewThreadOutcome, F as failed$1, I as hydrateFailedCiEvidence, L as newestCheckRun, M as hasGitHubLogin, N as matchesBabysitterPullRequestFilter, O as reviewThreadOutcomes, P as actionLocation, R as createBabysitterCheckRuns, S as snapshotCheckEvidence, T as createGitHubPullRequestOperations, _ as isAutomatedFeedback, a as isBabysitterPlacementCapacityError, b as mergeReviewEvidenceKey, c as workspaceDecision, g as headChecksUnreported, h as hasHumanComment, j as invariantError, k as reviewerLabeledSevere, l as babysitterModelAdmission, m as feedbackFingerprints, p as directMergeReadiness, r as resolveBabysitterLifecycleFilter, s as providerSessionDecision, v as liveMergeReadiness, w as maintainerApproval, x as resolveBabysitterMerge, y as matchesMergeReviewEvidence, z as isBabysitterCheckRun } from "./babysitter-
|
|
2
|
+
import { A as invariant, B as createBabysitterPassResultSchema, C as approvalReviewers, D as normalizeGitHubMentionAllowlist, E as isReviewThreadOutcome, F as failed$1, I as hydrateFailedCiEvidence, L as newestCheckRun, M as hasGitHubLogin, N as matchesBabysitterPullRequestFilter, O as reviewThreadOutcomes, P as actionLocation, R as createBabysitterCheckRuns, S as snapshotCheckEvidence, T as createGitHubPullRequestOperations, _ as isAutomatedFeedback, a as isBabysitterPlacementCapacityError, b as mergeReviewEvidenceKey, c as workspaceDecision, g as headChecksUnreported, h as hasHumanComment, j as invariantError, k as reviewerLabeledSevere, l as babysitterModelAdmission, m as feedbackFingerprints, p as directMergeReadiness, r as resolveBabysitterLifecycleFilter, s as providerSessionDecision, v as liveMergeReadiness, w as maintainerApproval, x as resolveBabysitterMerge, y as matchesMergeReviewEvidence, z as isBabysitterCheckRun } from "./babysitter-Bc7fiKzx.js";
|
|
3
3
|
import { activeProviderSandbox, agentInvocationId, agentSettings, createMessage, defineAgent, defineCapability, publishAgentActivity, recordProviderCheckout, runAgent, withoutForgeAccess } from "@vite-hub/agent";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
import { resolvePublicUrl } from "@vite-hub/runtime";
|
|
@@ -8977,7 +8977,7 @@ function createBabysitterRuntime(options) {
|
|
|
8977
8977
|
ignoreAssessedBotThreads: presetOptions.ignoreAssessedBotThreads === true
|
|
8978
8978
|
};
|
|
8979
8979
|
const schedulerEvent = (name, properties = {}) => options.event?.(name, properties);
|
|
8980
|
-
const release = baseAgent.version ?? "
|
|
8980
|
+
const release = baseAgent.version ?? "756b06da1a98b116856ea2318509abcf6db920a1168e3f29c9dad2e604df4095";
|
|
8981
8981
|
const workspaces = options.workspaces;
|
|
8982
8982
|
const schedulerError = (name, error, properties = {}) => options.error?.(name, error, properties);
|
|
8983
8983
|
const statusComment = !!verifiedHostIdentity && presetOptions.status?.comment !== false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/presets",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Ready-made Agents built from ViteHub primitives: Babysitter, Labeller, and the workspace preset.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@vite-hub/forge": "0.6.
|
|
62
|
-
"@vite-hub/gateways": "0.6.
|
|
63
|
-
"@vite-hub/runtime": "0.6.
|
|
64
|
-
"@vite-hub/sandbox": "0.6.
|
|
65
|
-
"@vite-hub/workspace": "0.6.
|
|
61
|
+
"@vite-hub/forge": "0.6.1",
|
|
62
|
+
"@vite-hub/gateways": "0.6.1",
|
|
63
|
+
"@vite-hub/runtime": "0.6.1",
|
|
64
|
+
"@vite-hub/sandbox": "0.6.1",
|
|
65
|
+
"@vite-hub/workspace": "0.6.1",
|
|
66
66
|
"@yarnpkg/parsers": "3.1.0",
|
|
67
67
|
"comark": "^0.9.2",
|
|
68
68
|
"nostics": "1.4.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
75
75
|
"@t3tools/provider-runtime": "https://pkg.pr.new/vite-hub/t3code/@t3tools/provider-runtime@2a519db9ccb4227091f0d8a839d7121af9d6aed5",
|
|
76
76
|
"@types/node": "^24.19.2",
|
|
77
|
-
"@vite-hub/agent": "0.6.
|
|
77
|
+
"@vite-hub/agent": "0.6.1",
|
|
78
78
|
"@vite-hub/internal": "0.0.1",
|
|
79
79
|
"publint": "^0.3.25",
|
|
80
80
|
"typescript": "^6.0.3",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vitest": "5.1.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@vite-hub/agent": "0.6.
|
|
85
|
+
"@vite-hub/agent": "0.6.1"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": ">=24.15.0"
|