@getsupervisor/agents-studio-sdk 1.26.1 → 1.29.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ ## v1.27.0
2
+
3
+ ## [1.27.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.26.1...v1.27.0) (2025-11-08)
4
+
5
+ ### Features
6
+
7
+ * add migration to include 'order' column in blueprint_stages table ([79e7cd8](https://github.com/julio-supervisor/agents-studio-be/commit/79e7cd80a046f6049abd8df5fec1333de7dc2851))
8
+ * add order property to blueprint stages and update related logic ([b7dc672](https://github.com/julio-supervisor/agents-studio-be/commit/b7dc6727e8543f39d665b1e904bc08449ccb386d))
9
+ * add orderByOrderAsc method and related tests for blueprint stages ([ab46a4f](https://github.com/julio-supervisor/agents-studio-be/commit/ab46a4f4b6ff50409e0f878228579dad152b147f))
10
+ * add startSpeaker property to agent blueprints and related components ([b1ea8ef](https://github.com/julio-supervisor/agents-studio-be/commit/b1ea8ef76d200484f40cee10ec7c0a6159ff9032))
11
+ * add tests for BlueprintStageTriggerCondition and enhance validation for rule type values ([42cde2a](https://github.com/julio-supervisor/agents-studio-be/commit/42cde2a5e5e2b49df2cf9f51097dbca2b914bde7))
12
+ * add versioning details to AgentBlueprint and AgentVersion in tests ([d655d88](https://github.com/julio-supervisor/agents-studio-be/commit/d655d8836fd17d4bdeaf919f74c2fd72f87c3ea1))
13
+ * enhance stage result handling with agentId context and normalize stage order input ([8238b5d](https://github.com/julio-supervisor/agents-studio-be/commit/8238b5da1993d89a1def73d2821b3fc46ffabea2))
14
+ * enhance toStageTriggerResult mapping to include blueprintId and improve header normalization in PublicApiToolBase ([27298c8](https://github.com/julio-supervisor/agents-studio-be/commit/27298c8bc040190a97996cacfbad36a6aa919d9d))
15
+ * enhance toStageTriggerResult to accept blueprintId from context and update related methods ([f6f8598](https://github.com/julio-supervisor/agents-studio-be/commit/f6f8598e41ca7ff559b192cef3ccd86a28377dda))
16
+ * include blueprint in payload mapping for voice blueprint sync ([ce3ebd1](https://github.com/julio-supervisor/agents-studio-be/commit/ce3ebd11ec57e81ab49626b6996ac55e4a4fc3f0))
17
+
18
+ ### Bug Fixes
19
+
20
+ * remove tsconfig-paths/register from Docker entrypoint and CMD ([054ceeb](https://github.com/julio-supervisor/agents-studio-be/commit/054ceeb8ad53f6b4bfce38fa0effe00128e2c77e))
21
+
22
+
23
+ ## v1.26.0
24
+
25
+ ## [1.26.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.25.1...v1.26.0) (2025-11-06)
26
+
27
+ ### Features
28
+
29
+ * enhance agent stages API to include blueprintId in all relevant methods ([0de45da](https://github.com/julio-supervisor/agents-studio-be/commit/0de45da137e1fa4d79bc5aabe86d068dbe8465e1))
30
+
31
+
1
32
  ## v1.25.0
2
33
 
3
34
  ## [1.25.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.24.0...v1.25.0) (2025-11-06)
package/dist/index.cjs CHANGED
@@ -1213,6 +1213,14 @@ function createAgentsApi(cfg, relatedApis) {
1213
1213
  });
1214
1214
  return res.json();
1215
1215
  };
1216
+ const forkAgentFromTemplate = async (payload) => {
1217
+ const res = await doFetch(`${base}/agents:from-template`, {
1218
+ method: "POST",
1219
+ body: JSON.stringify(payload),
1220
+ headers: jsonHeaders
1221
+ });
1222
+ return res.json();
1223
+ };
1216
1224
  const updateAgent = async (agentId, payload) => {
1217
1225
  const res = await doFetch(`${base}/agents/${agentId}`, {
1218
1226
  method: "PATCH",
@@ -1234,6 +1242,7 @@ function createAgentsApi(cfg, relatedApis) {
1234
1242
  list: listAgents,
1235
1243
  get: getAgentDetail,
1236
1244
  create: createAgent,
1245
+ forkFromTemplate: forkAgentFromTemplate,
1237
1246
  update: updateAgent,
1238
1247
  delete: deleteAgent
1239
1248
  };
@@ -1285,6 +1294,10 @@ function createAgentsApi(cfg, relatedApis) {
1285
1294
  const detail = await createAgent(payload);
1286
1295
  return wrapAgent(detail);
1287
1296
  },
1297
+ async forkFromTemplate(payload) {
1298
+ const detail = await forkAgentFromTemplate(payload);
1299
+ return wrapAgent(detail);
1300
+ },
1288
1301
  async update(agentId, payload) {
1289
1302
  const detail = await updateAgent(agentId, payload);
1290
1303
  return wrapAgent(detail);