fraim 2.0.133 → 2.0.134
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/package.json +1 -1
- package/public/ai-hub/script.js +4 -1
package/package.json
CHANGED
package/public/ai-hub/script.js
CHANGED
|
@@ -963,7 +963,10 @@ async function startRun(job, instructions, employeeId) {
|
|
|
963
963
|
// Prefix the manager's typed instructions with the FRAIM invocation so
|
|
964
964
|
// the underlying host actually launches the right job. The prefixed
|
|
965
965
|
// text is what the host receives AND what we show in the timeline.
|
|
966
|
-
const
|
|
966
|
+
const absoluteStubPath = (job.stubPath && state.projectPath)
|
|
967
|
+
? [state.projectPath, job.stubPath].join('/').replace(/\\/g, '/').replace(/\/+/g, '/')
|
|
968
|
+
: job.stubPath;
|
|
969
|
+
const agentMessage = buildAgentMessage(employeeId, job.id, 'start', instructions, absoluteStubPath);
|
|
967
970
|
const conv = {
|
|
968
971
|
id: newConversationId(),
|
|
969
972
|
projectPath: state.projectPath,
|