agent-transport-system 0.7.21 → 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.21";
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",
@@ -38138,15 +38138,10 @@ function resolveDispatchResultPayload(input) {
38138
38138
  const runtimeWorkspaceFingerprint = effectiveRuntimeWorkingDirectory ? buildRuntimeWorkspaceFingerprint(effectiveRuntimeWorkingDirectory) : null;
38139
38139
  const promptTrace = input.promptTrace ?? null;
38140
38140
  if (input.basePayload.status === "success" || input.basePayload.status === "partial_success") {
38141
- if (!contextId) return buildDispatchResultNormalizationFailure(input, {
38142
- errorCode: "context.rebuild_failed",
38143
- errorMessage: "context.rebuild_failed: successful runtime output is missing agent context id",
38144
- errorType: "adapter"
38145
- });
38146
38141
  const candidate = atsdTaskResultPayloadSchema.safeParse(buildResolvedTaskResultPayloadCandidate(input, {
38147
38142
  contextId,
38148
38143
  promptTrace,
38149
- requireContextId: true,
38144
+ requireContextId: false,
38150
38145
  agentControllerConversation,
38151
38146
  effectiveRuntimeWorkingDirectory,
38152
38147
  runtimeWorkspaceFingerprint