@dougbots/avenor-core 0.3.3 → 0.3.5
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/index.js +8 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -798,16 +798,15 @@ async function followUpTool(args) {
|
|
|
798
798
|
const followUpRunId = crypto.randomUUID();
|
|
799
799
|
const followUpLabel = args.label ?? `${args.runId}-followup`;
|
|
800
800
|
const { sentinelPath: followUpSentinelPath, eventLogPath } = ensureRunPaths(followUpRunId);
|
|
801
|
-
await client.spawn({
|
|
802
|
-
agent,
|
|
803
|
-
prompt: args.message,
|
|
804
|
-
label: followUpLabel,
|
|
805
|
-
session_id: sentinel.SESSION,
|
|
806
|
-
sentinel_file: followUpSentinelPath,
|
|
807
|
-
on_event: eventLogPath
|
|
808
|
-
});
|
|
809
801
|
return {
|
|
810
|
-
run_id:
|
|
802
|
+
run_id: (await client.spawn({
|
|
803
|
+
agent,
|
|
804
|
+
prompt: args.message,
|
|
805
|
+
label: followUpLabel,
|
|
806
|
+
session_id: sentinel.SESSION,
|
|
807
|
+
sentinel_file: followUpSentinelPath,
|
|
808
|
+
on_event: eventLogPath
|
|
809
|
+
})).runtime_id ?? followUpRunId,
|
|
811
810
|
label: followUpLabel
|
|
812
811
|
};
|
|
813
812
|
} finally {
|