@alan-ai-hq/agent-manager-linux-x64 0.1.192 → 0.1.193

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.
Files changed (4) hide show
  1. package/alan-agent.cjs +16939 -14859
  2. package/alan-holder.cjs +15053 -13264
  3. package/alan-lease.cjs +34 -5
  4. package/package.json +1 -1
package/alan-lease.cjs CHANGED
@@ -22005,6 +22005,7 @@ var init_desired_state = __esm({
22005
22005
  resumeFallbackContext: external_exports.string().optional(),
22006
22006
  projectPath: external_exports.string().min(1).optional(),
22007
22007
  workspacePathPinned: external_exports.boolean().optional(),
22008
+ projectPathFallback: external_exports.string().min(1).optional(),
22008
22009
  localWorktree: external_exports.object({ branch: gitBranchSchema, baseBranch: gitBranchSchema.optional() }).optional(),
22009
22010
  approvedWorkspacePaths: external_exports.array(external_exports.string().min(1)).optional(),
22010
22011
  repoLocalPaths: external_exports.array(repoLocalPathSchema).optional(),
@@ -22076,7 +22077,7 @@ var init_desired_state = __esm({
22076
22077
  });
22077
22078
 
22078
22079
  // ../shared/src/runtime-v2/link.ts
22079
- var LINK_PROTOCOL, linkHandshakeSchema, linkAuthSchema, heldRunStateSchema, heldRunSchema, helloSchema, helloAckSchema, pokeReasonSchema, prewarmPokeSchema, pokeSchema, RUN_ANSWER_MAX_LENGTH, toolCallIdSchema, runAnswerSchema, runRespondRequestSchema, runRespondStatusSchema, runRespondResultSchema, runSteerRequestSchema, runSteerStatusSchema, runSteerResultSchema, backgroundTaskIdSchema, runStopTaskRequestSchema, backgroundTaskStopResultSchema, runStopTaskResultSchema, LINK_CONNECT_ERROR_CODES, linkConnectErrorSchema, LINK_FAILURE_REASONS;
22080
+ var LINK_PROTOCOL, linkHandshakeSchema, linkAuthSchema, heldRunStateSchema, heldRunSchema, PROJECT_PATH_FALLBACK_FEATURE, helloSchema, helloAckSchema, pokeReasonSchema, prewarmPokeSchema, desiredPokeSchema, pokeSchema, RUN_ANSWER_MAX_LENGTH, toolCallIdSchema, runAnswerSchema, runRespondRequestSchema, runRespondStatusSchema, runRespondResultSchema, runSteerRequestSchema, runSteerStatusSchema, runSteerResultSchema, backgroundTaskIdSchema, runStopTaskRequestSchema, backgroundTaskStopResultSchema, runStopTaskResultSchema, LINK_CONNECT_ERROR_CODES, linkConnectErrorSchema, LINK_FAILURE_REASONS;
22080
22081
  var init_link = __esm({
22081
22082
  "../shared/src/runtime-v2/link.ts"() {
22082
22083
  "use strict";
@@ -22102,6 +22103,7 @@ var init_link = __esm({
22102
22103
  state: heldRunStateSchema,
22103
22104
  loggedBytes: byteOffsetSchema
22104
22105
  });
22106
+ PROJECT_PATH_FALLBACK_FEATURE = "project_path_fallback_v1";
22105
22107
  helloSchema = external_exports.object({
22106
22108
  epoch: external_exports.number().int().positive(),
22107
22109
  runs: external_exports.array(heldRunSchema),
@@ -22132,7 +22134,16 @@ var init_link = __esm({
22132
22134
  reason: external_exports.literal("prewarm"),
22133
22135
  conversationId: conversationIdSchema
22134
22136
  });
22135
- pokeSchema = external_exports.union([external_exports.object({ reason: pokeReasonSchema }), prewarmPokeSchema]);
22137
+ desiredPokeSchema = external_exports.object({
22138
+ reason: external_exports.literal("desired_changed"),
22139
+ desired: desiredStateSchema,
22140
+ etag: external_exports.string().min(1).max(200)
22141
+ });
22142
+ pokeSchema = external_exports.union([
22143
+ desiredPokeSchema,
22144
+ external_exports.object({ reason: pokeReasonSchema }),
22145
+ prewarmPokeSchema
22146
+ ]);
22136
22147
  RUN_ANSWER_MAX_LENGTH = 1e5;
22137
22148
  toolCallIdSchema = external_exports.string().min(1).max(1e3);
22138
22149
  runAnswerSchema = external_exports.string().max(RUN_ANSWER_MAX_LENGTH);
@@ -22464,7 +22475,7 @@ var init_agent_runs_contracts = __esm({
22464
22475
  });
22465
22476
 
22466
22477
  // ../shared/src/runtime-v2/run-log.ts
22467
- 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;
22478
+ var RUN_LOG_PROTOCOL, RUN_LOG_PROTOCOL_HEADER, RUN_STEERS_MAX, runAcceptedUpdateSchema, runStartedUpdateSchema, runCodexRateLimitsUpdateSchema, runWorkspaceRelocatedUpdateSchema, gitShaSchema2, gitRefNameSchema, runGitRepositoryStateSchema, RUN_GIT_STATE_MAX_REPOSITORIES, runGitStateUpdateSchema, epochMsSchema, runSessionStartSchema, runTimingUpdateSchema, runOutcomeSchema, runRejectionCodeSchema, runEndedUpdateSchema, runLifecycleUpdateSchema, runLogRecordSchema;
22468
22479
  var init_run_log = __esm({
22469
22480
  "../shared/src/runtime-v2/run-log.ts"() {
22470
22481
  "use strict";
@@ -22527,6 +22538,18 @@ var init_run_log = __esm({
22527
22538
  sessionUpdate: external_exports.literal("_alan/run.git_state"),
22528
22539
  repositories: external_exports.array(runGitRepositoryStateSchema).max(RUN_GIT_STATE_MAX_REPOSITORIES)
22529
22540
  });
22541
+ epochMsSchema = external_exports.number().int().nonnegative();
22542
+ runSessionStartSchema = external_exports.enum(["reused", "opened", "respawned"]);
22543
+ runTimingUpdateSchema = external_exports.object({
22544
+ sessionUpdate: external_exports.literal("_alan/run.timing"),
22545
+ session: runSessionStartSchema,
22546
+ acceptedAt: epochMsSchema,
22547
+ admittedAt: epochMsSchema.optional(),
22548
+ inputsReadyAt: epochMsSchema,
22549
+ sessionReadyAt: epochMsSchema,
22550
+ contextReadyAt: epochMsSchema,
22551
+ turnSentAt: epochMsSchema
22552
+ });
22530
22553
  runOutcomeSchema = external_exports.enum(agentRunOutcomeEnum);
22531
22554
  runRejectionCodeSchema = external_exports.enum([
22532
22555
  "capacity",
@@ -22656,7 +22679,7 @@ var init_session_presentation = __esm({
22656
22679
  });
22657
22680
 
22658
22681
  // ../shared/src/runtime-v2/local-sessions.ts
22659
- var MAX_SESSION_SUBMISSION_BYTES, localSessionIdSchema, sessionRequestIdSchema, sessionCursorSchema, label, workspaceSchema, sessionQueueStateSchema, sessionCommandNameSchema, localSessionCapabilitiesSchema, localSessionSchema, createSessionRequestSchema, createSessionResponseSchema, sessionAttachmentReferenceSchema, stageSessionAttachmentRequestSchema, submitSessionRequestSchema, sessionRequestBindingSchema, sessionRequestReceiptSchema, sessionSnapshotSchema, sessionFeedQuerySchema, listSessionsResponseSchema, withdrawSessionRequestSchema, respondToSessionRequestSchema, sessionCommandRequestSchema, sessionControlResponseSchema, textContentSchema, contentSchema, toolContentSchema, publicSessionUpdateSchema, localSessionUpdateSchema, localSessionRecordSchema, sessionFollowFrameSchema, localSessionRouteActionSchema;
22682
+ var MAX_SESSION_SUBMISSION_BYTES, localSessionIdSchema, sessionRequestIdSchema, sessionCursorSchema, label, workspaceSchema, sessionQueueStateSchema, sessionCommandNameSchema, localSessionCapabilitiesSchema, localSessionSchema, createSessionRequestSchema, createSessionResponseSchema, sessionAttachmentReferenceSchema, stageSessionAttachmentRequestSchema, submitSessionRequestSchema, sessionRequestBindingSchema, sessionRequestReceiptSchema, sessionSnapshotSchema, sessionFeedQuerySchema, listSessionsResponseSchema, withdrawSessionRequestSchema, moveSessionRequestSchema, respondToSessionRequestSchema, sessionCommandRequestSchema, sessionControlResponseSchema, textContentSchema, contentSchema, toolContentSchema, publicSessionUpdateSchema, localSessionUpdateSchema, localSessionRecordSchema, sessionFollowFrameSchema, localSessionRouteActionSchema;
22660
22683
  var init_local_sessions = __esm({
22661
22684
  "../shared/src/runtime-v2/local-sessions.ts"() {
22662
22685
  "use strict";
@@ -22798,6 +22821,10 @@ var init_local_sessions = __esm({
22798
22821
  withdrawSessionRequestSchema = external_exports.strictObject({
22799
22822
  requestId: sessionRequestIdSchema
22800
22823
  });
22824
+ moveSessionRequestSchema = external_exports.strictObject({
22825
+ requestId: sessionRequestIdSchema,
22826
+ direction: external_exports.enum(["up", "down"])
22827
+ });
22801
22828
  respondToSessionRequestSchema = external_exports.strictObject({
22802
22829
  requestId: sessionRequestIdSchema,
22803
22830
  runId: runIdSchema,
@@ -22993,6 +23020,7 @@ var init_local_sessions = __esm({
22993
23020
  "submit",
22994
23021
  "stage",
22995
23022
  "withdraw",
23023
+ "move",
22996
23024
  "respond",
22997
23025
  "command",
22998
23026
  "stream"
@@ -24477,7 +24505,8 @@ var CENTRAL_SESSION_FEATURES = [
24477
24505
  SESSION_INTERACTION_FEATURE,
24478
24506
  SESSION_OPERATIONS_FEATURE,
24479
24507
  SESSION_SELECTION_FEATURE,
24480
- BOUNDED_DELEGATION_FEATURE
24508
+ BOUNDED_DELEGATION_FEATURE,
24509
+ PROJECT_PATH_FALLBACK_FEATURE
24481
24510
  ];
24482
24511
  var REQUEST_TIMEOUT_MS = 3e4;
24483
24512
  function isRetryableStatus(status) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alan-ai-hq/agent-manager-linux-x64",
3
- "version": "0.1.192",
3
+ "version": "0.1.193",
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",