@alan-ai-hq/agent-manager-linux-arm64 0.1.202 → 0.1.204

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-lease.cjs CHANGED
@@ -22610,6 +22610,7 @@ var init_link = __esm({
22610
22610
  runSteerRequestSchema = external_exports.object({
22611
22611
  runId: runIdSchema,
22612
22612
  steerId: steerIdSchema,
22613
+ clientMessageId: external_exports.string().min(1).optional(),
22613
22614
  text: external_exports.string().min(1).max(RUN_ANSWER_MAX_LENGTH),
22614
22615
  sender: messageSenderSchema.optional()
22615
22616
  });
@@ -23068,6 +23069,7 @@ var init_run_log = __esm({
23068
23069
  );
23069
23070
  runStartedUpdateSchema = external_exports.object({
23070
23071
  sessionUpdate: external_exports.literal("_alan/run.started"),
23072
+ hostedSteer: external_exports.literal(true).optional(),
23071
23073
  providerSessionId: external_exports.string().min(1).optional(),
23072
23074
  pid: external_exports.number().int().positive().optional()
23073
23075
  });
@@ -23144,7 +23146,8 @@ var init_run_log = __esm({
23144
23146
  message: external_exports.string().optional(),
23145
23147
  rejection: runRejectionCodeSchema.optional(),
23146
23148
  /** Steers delivered after the provider's last read; the server runs them as the next turn. */
23147
- unansweredSteerIds: external_exports.array(steerIdSchema).max(RUN_STEERS_MAX).optional()
23149
+ unansweredSteerIds: external_exports.array(steerIdSchema).max(RUN_STEERS_MAX).optional(),
23150
+ deliveredHostedSteerIds: external_exports.array(steerIdSchema).max(RUN_STEERS_MAX).optional()
23148
23151
  }).refine((ended) => ended.outcome === "rejected" === (ended.rejection !== void 0), {
23149
23152
  message: "rejection is set exactly when the outcome is rejected",
23150
23153
  path: ["rejection"]
@@ -155,8 +155,8 @@ knowledge:
155
155
  Startup is saved with `update_build_setup` as `startup`, beside the
156
156
  build setup and never in it. It replaces the saved startup, so send the full set.
157
157
 
158
- - `tasks` run to exit 0 before new agent runs start. `detach: true` launches the
159
- command in the background and does not wait, like the old start command.
158
+ - `tasks` run in order to exit 0 before services launch. `detach: true` launches
159
+ the command in the background and does not wait, like the old start command.
160
160
  - `services` stay up and must pass a `ready` probe: `{kind: http, url}`,
161
161
  `{kind: tcp, port}` or `{kind: exec, run}`. Always give a service a probe.
162
162
  - Each has a `name` (lowercase letters, digits, hyphens), `repository` (a clone
@@ -167,16 +167,22 @@ Startup must tolerate reruns, preserve data, skip healthy services and surface
167
167
  bootstrap failures. Run migrations and idempotent seeding as tasks before the
168
168
  services that need them.
169
169
 
170
+ Startup never runs at boot or on resume. A new or woken session launches
171
+ nothing and waits for nothing; `run_startup` is the only way to start it.
172
+
170
173
  `run_startup` (optional `node`) runs the saved startup, or one task or service,
171
174
  in this session's live sandbox and returns each node's status with the redacted
172
175
  tail of `~/.alan/start-commands.log`. If startup is already running it returns
173
176
  that state; call it again to watch it settle.
174
177
 
178
+ - Context says `This environment's services are not running`: nothing has
179
+ started them in this sandbox. Call `run_startup` when the task needs the app,
180
+ tests or a preview, and not otherwise.
175
181
  - Context says `Startup <node> failed with exit code N`: call `read_build_setup`,
176
182
  fix that node with `update_build_setup`, call `run_startup` with that `node`,
177
183
  read the log it returns, then run it without `node` once it passes.
178
- - Context says the saved build setup is invalid: startup never ran. Fix the cited
179
- field with `update_build_setup`, then call `run_startup`.
184
+ - `run_startup` refuses with `invalid_build_setup`: nothing ran. Fix the cited
185
+ field with `update_build_setup`, then call `run_startup` again.
180
186
  - A context line saying the latest image build failed carries its code and
181
187
  message; `get_cloud_machine` has the full failure. UI-started and nightly builds
182
188
  send no message, so this line is how you learn their result.
@@ -212,12 +218,13 @@ that state; call it again to watch it settle.
212
218
 
213
219
  ## Verification
214
220
 
215
- Read the build setup, inspect the context's current startup result and its log. A
221
+ Read the build setup, inspect the context's current startup result and its log;
222
+ when context says the services are not running, call `run_startup` first. A
216
223
  detached task may have exited successfully while a service later failed; inspect
217
224
  live processes and readiness. Run **Product validation** for the requested scope.
218
225
 
219
226
  When nothing needs to change, report the observed result without saving or
220
- building. Never infer a verified new-session boot from manual startup or an
227
+ building. Never infer a verified new session from startup in this sandbox or an
221
228
  image build alone.
222
229
 
223
230
  ## Draft, test, save, build
@@ -285,8 +292,8 @@ that is the repository owner's call. Only stop depending on them.
285
292
  5. **Build** with `build_environment_image` when authorized and end your turn.
286
293
  The success message arrives only once the image is imported and new sessions
287
294
  boot from it; an import failure arrives as a failed build.
288
- 6. **Verify a new session.** Start or ask for a new session and confirm its
289
- automatic startup succeeded and one product check passed.
295
+ 6. **Verify a new session.** Start or ask for a new session, call `run_startup`
296
+ in it, and confirm startup succeeded and one product check passed.
290
297
  7. **Report** each old command and the steps that replace it, with sources, and
291
298
  list anything that could not be translated as an explicit open item.
292
299
 
@@ -353,8 +360,8 @@ hide setup failures or run broad suites as a substitute for this journey.
353
360
 
354
361
  - Initial setup and migration are **done** only when each of these passed, and
355
362
  each is reported separately: the draft test build, the saved revision, the
356
- image build and its provider import becoming current, a **new** session's
357
- automatic startup, and the product check. Report per repository **set up
363
+ image build and its provider import becoming current, `run_startup` in a
364
+ **new** session, and the product check. Report per repository **set up
358
365
  now**, **already set up** or **blocked**; for a migration, list each old
359
366
  command with the steps that replace it.
360
367
  - Maintenance: the revision saved, the test result and the affected feature check.
@@ -5,7 +5,7 @@
5
5
  "alan-deck": "sha256:c28976074cdb5c7c3c9d3358f14aa926fd3bd9efe4c49ca932ba9355f92bfa32",
6
6
  "alan-diagrams": "sha256:0c5db2370042ca6dbcee86a29cb2107f11287ada66f60936889e2af938db204a",
7
7
  "alan-docs": "sha256:50bb1402dc2d006c5a7e601359937e714f90e0b42cf28ae12609a3cc0f6ebed8",
8
- "alan-environment-setup": "sha256:e0b7f2b907e447f8f2a3db8e46db5bc94ee28d42c45aadb53daf782ea3e447c2",
8
+ "alan-environment-setup": "sha256:4a4aaa5f01712100ecd702bf28185593a579424673be82f701584679d22a5943",
9
9
  "alan-skill-authoring": "sha256:328d4e9fff80fd376bf7737e820305e708c9da102710a61131d3baf2b93aaa99",
10
10
  "alan-tasks": "sha256:0c325cbc20f71d93354919b3f870386b54ab6dd0207a63eff485f83e28c4547e",
11
11
  "alan-test-android": "sha256:637a0174d024270d5fd462c7dc790b34566e01fa2c3085e9dfe5856683e97b03",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alan-ai-hq/agent-manager-linux-arm64",
3
- "version": "0.1.202",
3
+ "version": "0.1.204",
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",