@getsupervisor/agents-studio-sdk 1.32.0 → 1.34.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,66 @@
1
+ ## v1.33.0
2
+
3
+ ## [1.33.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.32.0...v1.33.0) (2025-11-14)
4
+
5
+ ### Features
6
+
7
+ * enhance agent instruction management with status and deletion tracking ([3a2c97a](https://github.com/julio-supervisor/agents-studio-be/commit/3a2c97a038a44aa236de1077f02e7eabc45cee81))
8
+ * simplify payload construction by always including workspaceId in tool execution ([4992d5c](https://github.com/julio-supervisor/agents-studio-be/commit/4992d5c14cb8e8ce6efdb7345a2d7a054b48f16c))
9
+
10
+
11
+ ## v1.32.0
12
+
13
+ ## [1.32.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.31.0...v1.32.0) (2025-11-14)
14
+
15
+ ### Features
16
+
17
+ * add AgentVersionsApi and related functionality ([c797b12](https://github.com/julio-supervisor/agents-studio-be/commit/c797b12e41d717cb7e0b29cc387a0fd4ff929d2e))
18
+ * add API reference documentation for agent templates and update navigation structure ([103c67d](https://github.com/julio-supervisor/agents-studio-be/commit/103c67dee465cea19819a10967ea62a4aa9f9493))
19
+ * add endpoint to create agent from template with request schema and response examples ([0f4b9a3](https://github.com/julio-supervisor/agents-studio-be/commit/0f4b9a327f388edb2bf6eb1d724aa4585f530359))
20
+ * create migration for agent_instructions table with foreign key constraints ([f5cadbd](https://github.com/julio-supervisor/agents-studio-be/commit/f5cadbdad5601a8ffd761781284a408650f7f097))
21
+ * implement reorder blueprint stages functionality with command and handler ([8d2f6c9](https://github.com/julio-supervisor/agents-studio-be/commit/8d2f6c901e03851d3960abde340ca96191ecdf89))
22
+
23
+ ### Bug Fixes
24
+
25
+ * correct description formatting for UpdateAgentBlueprintRequest in API documentation ([8e0ebce](https://github.com/julio-supervisor/agents-studio-be/commit/8e0ebced952516965e3cfc8778bbdb20297810ab))
26
+ * remove unused CatalogItemsCreateTool and CatalogItemsDeleteTool imports from mcp.module.ts ([d787d4e](https://github.com/julio-supervisor/agents-studio-be/commit/d787d4e707fdbab229f988de375183d3707bde12))
27
+
28
+ ## v1.31.0
29
+
30
+ ## [1.31.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.30.0...v1.31.0) (2025-11-10)
31
+
32
+ ### Features
33
+
34
+ * add migration for Prospecting Agent Template with initial agent configuration and stages ([0560563](https://github.com/julio-supervisor/agents-studio-be/commit/05605631e051c7cd4705e34bc3c76c90f8373702))
35
+
36
+ ### Bug Fixes
37
+
38
+ * update endpoint path for forking agents from template to use correct URL format ([9d00f93](https://github.com/julio-supervisor/agents-studio-be/commit/9d00f9350b33847a6fd582417654336769c645c3))
39
+
40
+ ## v1.30.0
41
+
42
+ ## [1.30.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.29.0...v1.30.0) (2025-11-10)
43
+
44
+ ### Features
45
+
46
+ * implement catalog templates API and tools, including listing and filtering functionality ([9467fb2](https://github.com/julio-supervisor/agents-studio-be/commit/9467fb21c19a35f45e8ec8dcb2bfc26254558371))
47
+ * use forwardRef for AgentBlueprintsModule import in blueprint-stages.module.ts ([63420a1](https://github.com/julio-supervisor/agents-studio-be/commit/63420a1710305fee8e22f0826665b0eedb866107))
48
+ *
49
+ ## v1.29.0
50
+
51
+ ## [1.29.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.28.0...v1.29.0) (2025-11-10)
52
+
53
+ ### Features
54
+
55
+ * add comprehensive tests for catalog templates, including handlers, controller, and DTOs; implement in-memory repository specifications ([1a2d81e](https://github.com/julio-supervisor/agents-studio-be/commit/1a2d81e1b25d4495c240d8af021894e30c6a814c))
56
+ * add ForkAgentFromTemplateRequest schema and endpoint ([394c9d7](https://github.com/julio-supervisor/agents-studio-be/commit/394c9d7ed327f0a7cccedf0e8b18218357976c15))
57
+ * add unit tests for CatalogTemplateTypeormSpecificationFactory, covering various filtering and ordering scenarios ([827825b](https://github.com/julio-supervisor/agents-studio-be/commit/827825b55cf97ab21de8698025ad611abe377771))
58
+
59
+ ### Bug Fixes
60
+
61
+ * update workspaceId parameter to be required in createAgent and forkAgentFromTemplate methods; improve error messages for UUID validation ([b272a8f](https://github.com/julio-supervisor/agents-studio-be/commit/b272a8fbc1b56a9d511bb2ecc904d8aed59c07b6))
62
+
63
+
1
64
  ## v1.27.0
2
65
 
3
66
  ## [1.27.0](https://github.com/julio-supervisor/agents-studio-be/compare/v1.26.1...v1.27.0) (2025-11-08)
package/README.md CHANGED
@@ -37,13 +37,14 @@ const instructions = client.agents
37
37
  await instructions.create({
38
38
  order: 1,
39
39
  content: 'Responde en español neutro',
40
+ status: 'inactive',
40
41
  });
41
42
 
42
43
  // administrar versiones e instrucciones
43
44
  await client.agents
44
45
  .versions(agent.agentId)
45
46
  .instructions('version-1')
46
- .create({ order: 1, content: 'Saluda con empatía' });
47
+ .create({ order: 1, content: 'Saluda con empatía', status: 'active' });
47
48
 
48
49
  // administrar blueprints por versión
49
50
  const blueprints = client.agents.blueprints(agent.agentId);
package/dist/index.d.cts CHANGED
@@ -94,11 +94,14 @@ type components = {
94
94
  };
95
95
  Instruction: {
96
96
  id: string;
97
+ agentId: string;
97
98
  versionId: string;
98
99
  order: number;
99
100
  content: string;
100
- createdAt?: string;
101
- updatedAt?: string;
101
+ status: 'active' | 'inactive';
102
+ createdAt: string;
103
+ updatedAt: string;
104
+ deletedAt?: string | null;
102
105
  };
103
106
  InstructionListResponse: {
104
107
  data: components['schemas']['Instruction'][];
@@ -107,16 +110,13 @@ type components = {
107
110
  CreateInstructionRequest: {
108
111
  order: number;
109
112
  content: string;
113
+ status?: 'active' | 'inactive';
110
114
  };
111
- InstructionCreatedResponse: {
112
- id: string;
113
- versionId: string;
114
- order: number;
115
- createdAt: string;
116
- };
115
+ InstructionCreatedResponse: components['schemas']['Instruction'];
117
116
  UpdateInstructionRequest: {
118
117
  order?: number;
119
118
  content?: string;
119
+ status?: 'active' | 'inactive';
120
120
  };
121
121
  VoiceSummary: {
122
122
  id: string;
@@ -1417,17 +1417,25 @@ declare const bindAgentVersions: (api: AgentVersionsApi, agentId: string) => {
1417
1417
  }>;
1418
1418
  readonly create: (payload: CreateInstructionRequest) => Promise<{
1419
1419
  id: string;
1420
+ agentId: string;
1420
1421
  versionId: string;
1421
1422
  order: number;
1423
+ content: string;
1424
+ status: "active" | "inactive";
1422
1425
  createdAt: string;
1426
+ updatedAt: string;
1427
+ deletedAt?: string | null;
1423
1428
  }>;
1424
1429
  readonly update: (instructionId: string, payload: UpdateInstructionRequest) => Promise<{
1425
1430
  id: string;
1431
+ agentId: string;
1426
1432
  versionId: string;
1427
1433
  order: number;
1428
1434
  content: string;
1429
- createdAt?: string;
1430
- updatedAt?: string;
1435
+ status: "active" | "inactive";
1436
+ createdAt: string;
1437
+ updatedAt: string;
1438
+ deletedAt?: string | null;
1431
1439
  }>;
1432
1440
  readonly delete: (instructionId: string) => Promise<void>;
1433
1441
  };
package/dist/index.d.ts CHANGED
@@ -94,11 +94,14 @@ type components = {
94
94
  };
95
95
  Instruction: {
96
96
  id: string;
97
+ agentId: string;
97
98
  versionId: string;
98
99
  order: number;
99
100
  content: string;
100
- createdAt?: string;
101
- updatedAt?: string;
101
+ status: 'active' | 'inactive';
102
+ createdAt: string;
103
+ updatedAt: string;
104
+ deletedAt?: string | null;
102
105
  };
103
106
  InstructionListResponse: {
104
107
  data: components['schemas']['Instruction'][];
@@ -107,16 +110,13 @@ type components = {
107
110
  CreateInstructionRequest: {
108
111
  order: number;
109
112
  content: string;
113
+ status?: 'active' | 'inactive';
110
114
  };
111
- InstructionCreatedResponse: {
112
- id: string;
113
- versionId: string;
114
- order: number;
115
- createdAt: string;
116
- };
115
+ InstructionCreatedResponse: components['schemas']['Instruction'];
117
116
  UpdateInstructionRequest: {
118
117
  order?: number;
119
118
  content?: string;
119
+ status?: 'active' | 'inactive';
120
120
  };
121
121
  VoiceSummary: {
122
122
  id: string;
@@ -1417,17 +1417,25 @@ declare const bindAgentVersions: (api: AgentVersionsApi, agentId: string) => {
1417
1417
  }>;
1418
1418
  readonly create: (payload: CreateInstructionRequest) => Promise<{
1419
1419
  id: string;
1420
+ agentId: string;
1420
1421
  versionId: string;
1421
1422
  order: number;
1423
+ content: string;
1424
+ status: "active" | "inactive";
1422
1425
  createdAt: string;
1426
+ updatedAt: string;
1427
+ deletedAt?: string | null;
1423
1428
  }>;
1424
1429
  readonly update: (instructionId: string, payload: UpdateInstructionRequest) => Promise<{
1425
1430
  id: string;
1431
+ agentId: string;
1426
1432
  versionId: string;
1427
1433
  order: number;
1428
1434
  content: string;
1429
- createdAt?: string;
1430
- updatedAt?: string;
1435
+ status: "active" | "inactive";
1436
+ createdAt: string;
1437
+ updatedAt: string;
1438
+ deletedAt?: string | null;
1431
1439
  }>;
1432
1440
  readonly delete: (instructionId: string) => Promise<void>;
1433
1441
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getsupervisor/agents-studio-sdk",
3
- "version": "1.32.0",
3
+ "version": "1.34.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",