@alan-ai-hq/agent-manager-linux-x64 0.1.185 → 0.1.186
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/alan-agent.cjs +18580 -6467
- package/alan-holder.cjs +9909 -2392
- package/alan-lease.cjs +27 -3
- package/package.json +1 -1
package/alan-lease.cjs
CHANGED
|
@@ -22421,7 +22421,7 @@ var init_agent_runs_contracts = __esm({
|
|
|
22421
22421
|
});
|
|
22422
22422
|
|
|
22423
22423
|
// ../shared/src/runtime-v2/run-log.ts
|
|
22424
|
-
var RUN_LOG_PROTOCOL, RUN_LOG_PROTOCOL_HEADER, RUN_STEERS_MAX, runAcceptedUpdateSchema, runStartedUpdateSchema, runCodexRateLimitsUpdateSchema, runWorkspaceRelocatedUpdateSchema, runOutcomeSchema, runRejectionCodeSchema, runEndedUpdateSchema, runLifecycleUpdateSchema, runLogRecordSchema;
|
|
22424
|
+
var RUN_LOG_PROTOCOL, RUN_LOG_PROTOCOL_HEADER, RUN_STEERS_MAX, runAcceptedUpdateSchema, runStartedUpdateSchema, runCodexRateLimitsUpdateSchema, runWorkspaceRelocatedUpdateSchema, gitShaSchema2, gitRefNameSchema, runGitRepositoryStateSchema, RUN_GIT_STATE_MAX_REPOSITORIES, runGitStateUpdateSchema, runOutcomeSchema, runRejectionCodeSchema, runEndedUpdateSchema, runLifecycleUpdateSchema, runLogRecordSchema;
|
|
22425
22425
|
var init_run_log = __esm({
|
|
22426
22426
|
"../shared/src/runtime-v2/run-log.ts"() {
|
|
22427
22427
|
"use strict";
|
|
@@ -22435,9 +22435,16 @@ var init_run_log = __esm({
|
|
|
22435
22435
|
RUN_STEERS_MAX = 100;
|
|
22436
22436
|
runAcceptedUpdateSchema = external_exports.object({
|
|
22437
22437
|
sessionUpdate: external_exports.literal("_alan/run.accepted"),
|
|
22438
|
-
machineId: machineIdSchema,
|
|
22438
|
+
machineId: machineIdSchema.optional(),
|
|
22439
|
+
producer: external_exports.literal("hosted").optional(),
|
|
22440
|
+
ownerEpoch: external_exports.number().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
|
|
22439
22441
|
acceptedAt: external_exports.number().int().nonnegative()
|
|
22440
|
-
})
|
|
22442
|
+
}).refine(
|
|
22443
|
+
(value) => value.producer === "hosted" ? value.machineId === void 0 && value.ownerEpoch !== void 0 : value.machineId !== void 0 && value.ownerEpoch === void 0,
|
|
22444
|
+
{
|
|
22445
|
+
message: "Acceptance requires exactly one machine or hosted producer"
|
|
22446
|
+
}
|
|
22447
|
+
);
|
|
22441
22448
|
runStartedUpdateSchema = external_exports.object({
|
|
22442
22449
|
sessionUpdate: external_exports.literal("_alan/run.started"),
|
|
22443
22450
|
providerSessionId: external_exports.string().min(1).optional(),
|
|
@@ -22460,6 +22467,23 @@ var init_run_log = __esm({
|
|
|
22460
22467
|
previousPath: external_exports.string().min(1).max(4096),
|
|
22461
22468
|
canonicalPath: external_exports.string().min(1).max(4096)
|
|
22462
22469
|
});
|
|
22470
|
+
gitShaSchema2 = external_exports.string().regex(/^[0-9a-f]{40,64}$/);
|
|
22471
|
+
gitRefNameSchema = external_exports.string().min(1).max(256);
|
|
22472
|
+
runGitRepositoryStateSchema = external_exports.object({
|
|
22473
|
+
repoRoot: external_exports.string().min(1).max(4096),
|
|
22474
|
+
remoteUrl: external_exports.string().min(1).max(2048).nullable(),
|
|
22475
|
+
branch: gitRefNameSchema.nullable(),
|
|
22476
|
+
headSha: gitShaSchema2.nullable(),
|
|
22477
|
+
/** The remote branch `branch` tracks: null until it is pushed. */
|
|
22478
|
+
upstreamBranch: gitRefNameSchema.nullable(),
|
|
22479
|
+
upstreamSha: gitShaSchema2.nullable(),
|
|
22480
|
+
defaultBranch: gitRefNameSchema.nullable()
|
|
22481
|
+
});
|
|
22482
|
+
RUN_GIT_STATE_MAX_REPOSITORIES = 8;
|
|
22483
|
+
runGitStateUpdateSchema = external_exports.object({
|
|
22484
|
+
sessionUpdate: external_exports.literal("_alan/run.git_state"),
|
|
22485
|
+
repositories: external_exports.array(runGitRepositoryStateSchema).max(RUN_GIT_STATE_MAX_REPOSITORIES)
|
|
22486
|
+
});
|
|
22463
22487
|
runOutcomeSchema = external_exports.enum(agentRunOutcomeEnum);
|
|
22464
22488
|
runRejectionCodeSchema = external_exports.enum([
|
|
22465
22489
|
"capacity",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alan-ai-hq/agent-manager-linux-x64",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.186",
|
|
4
4
|
"description": "Alan machine runtime (alan-agent) for one platform: the official Node.js binary, the runtime bundle and its launcher. Installed by @alan-ai-hq/agent-manager.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://tryalan.ai",
|