agent-transport-system 0.3.4 → 0.3.42

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/ats-dev.js CHANGED
File without changes
package/dist/ats.js CHANGED
@@ -24,7 +24,7 @@ import wrapAnsi from "wrap-ansi";
24
24
  import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybindings, matchesKey } from "@mariozechner/pi-tui";
25
25
 
26
26
  //#region package.json
27
- var version$1 = "0.3.4";
27
+ var version$1 = "0.3.42";
28
28
  var package_default = {
29
29
  name: "agent-transport-system",
30
30
  version: version$1,
@@ -48937,7 +48937,10 @@ async function confirmCleanDaemonUninstall() {
48937
48937
  return true;
48938
48938
  }
48939
48939
  async function runDaemonReinstall(input, options = {}) {
48940
- const runtime = await resolveRuntimeContext({ view: input.view });
48940
+ const runtime = await resolveRuntimeContext({
48941
+ profile: input.profile,
48942
+ view: input.view
48943
+ });
48941
48944
  const presenter = createPresenter(runtime);
48942
48945
  emitDaemonOverviewIfAgent({
48943
48946
  presenter,
@@ -62513,9 +62516,15 @@ async function runAgentsPrepare(input) {
62513
62516
  });
62514
62517
  if (result.status === "cancelled") return;
62515
62518
  const preparedProfileCandidate = result.profiles.find((candidate) => candidate.atsProfileId === agentProfile.atsProfileId);
62519
+ const preparedProfile = isAgentProfile(preparedProfileCandidate) ? preparedProfileCandidate : agentProfile;
62520
+ await syncAgentsBootstrapObservationAfterMutation({
62521
+ codePrefix: "agents.prepare",
62522
+ profile: preparedProfile,
62523
+ runtime
62524
+ });
62516
62525
  await emitAgentsPrepareReadinessResult({
62517
62526
  presenter,
62518
- profile: isAgentProfile(preparedProfileCandidate) ? preparedProfileCandidate : agentProfile,
62527
+ profile: preparedProfile,
62519
62528
  view: runtime.resolvedView
62520
62529
  });
62521
62530
  }