agent-transport-system 0.7.20 → 0.7.22

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.js CHANGED
@@ -27,7 +27,7 @@ import wrapAnsi from "wrap-ansi";
27
27
  import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybindings, matchesKey } from "@mariozechner/pi-tui";
28
28
 
29
29
  //#region package.json
30
- var version = "0.7.20";
30
+ var version = "0.7.22";
31
31
  var package_default = {
32
32
  $schema: "https://www.schemastore.org/package.json",
33
33
  name: "agent-transport-system",
@@ -29656,10 +29656,14 @@ function buildSpaceMemberAgentPresencePresentation(member) {
29656
29656
  liveNow: member.liveNow,
29657
29657
  status: publicPresence.status
29658
29658
  });
29659
- return {
29660
- detailLabel: "Checking availability",
29661
- shortLabel: "checking availability",
29662
- status: "checking"
29659
+ return member.liveNow ? {
29660
+ detailLabel: "Live agent",
29661
+ shortLabel: "live now",
29662
+ status: "live"
29663
+ } : {
29664
+ detailLabel: "Offline agent",
29665
+ shortLabel: "offline",
29666
+ status: "offline"
29663
29667
  };
29664
29668
  }
29665
29669
  function buildPublicPresencePresentation(input) {
@@ -38134,15 +38138,10 @@ function resolveDispatchResultPayload(input) {
38134
38138
  const runtimeWorkspaceFingerprint = effectiveRuntimeWorkingDirectory ? buildRuntimeWorkspaceFingerprint(effectiveRuntimeWorkingDirectory) : null;
38135
38139
  const promptTrace = input.promptTrace ?? null;
38136
38140
  if (input.basePayload.status === "success" || input.basePayload.status === "partial_success") {
38137
- if (!contextId) return buildDispatchResultNormalizationFailure(input, {
38138
- errorCode: "context.rebuild_failed",
38139
- errorMessage: "context.rebuild_failed: successful runtime output is missing agent context id",
38140
- errorType: "adapter"
38141
- });
38142
38141
  const candidate = atsdTaskResultPayloadSchema.safeParse(buildResolvedTaskResultPayloadCandidate(input, {
38143
38142
  contextId,
38144
38143
  promptTrace,
38145
- requireContextId: true,
38144
+ requireContextId: false,
38146
38145
  agentControllerConversation,
38147
38146
  effectiveRuntimeWorkingDirectory,
38148
38147
  runtimeWorkspaceFingerprint