@eventmodelers/cli 0.0.15 → 0.0.16
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/cli.js +1 -1
- package/package.json +1 -1
- package/shared/build-kit/lib/ralph.js +1 -1
package/cli.js
CHANGED
|
@@ -1001,7 +1001,7 @@ async function runModeling(kitDir, projectDir) {
|
|
|
1001
1001
|
const res = await fetch(`${cfg.baseUrl}/api/agent-alive`, {
|
|
1002
1002
|
method: 'POST',
|
|
1003
1003
|
headers: { Authorization: `Bearer ${realtimeToken}`, 'Content-Type': 'application/json' },
|
|
1004
|
-
body: JSON.stringify({ token: cfg.token, board_id: cfg.boardId }),
|
|
1004
|
+
body: JSON.stringify({ token: cfg.token, board_id: cfg.boardId, agent_type: 'MODELING' }),
|
|
1005
1005
|
});
|
|
1006
1006
|
if (!res.ok) log(`ping failed: ${res.status}`);
|
|
1007
1007
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -252,7 +252,7 @@ async function startRealtimeAgent(cfg, kitDir) {
|
|
|
252
252
|
const res = await fetch(`${cfg.baseUrl}/api/agent-alive`, {
|
|
253
253
|
method: 'POST',
|
|
254
254
|
headers: { Authorization: `Bearer ${realtimeToken}`, 'Content-Type': 'application/json' },
|
|
255
|
-
body: JSON.stringify({ token: cfg.token, board_id: cfg.boardId }),
|
|
255
|
+
body: JSON.stringify({ token: cfg.token, board_id: cfg.boardId, agent_type: 'BUILD' }),
|
|
256
256
|
});
|
|
257
257
|
if (!res.ok) console.error(`[agent] Ping failed: ${res.status}`);
|
|
258
258
|
} catch (err) {
|