@contractspec/example.agent-console 1.45.3 → 1.45.4

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.
@@ -77,7 +77,7 @@ $ tsdown
77
77
  ℹ dist/tool/tool.handler.d.ts.map  0.89 kB │ gzip: 0.35 kB
78
78
  ℹ dist/agent/agent.enum.js.map  0.84 kB │ gzip: 0.42 kB
79
79
  ℹ dist/run/run.handler.d.ts.map  0.78 kB │ gzip: 0.34 kB
80
- ℹ dist/agent/agent.event.d.ts.map  0.78 kB │ gzip: 0.29 kB
80
+ ℹ dist/agent/agent.event.d.ts.map  0.78 kB │ gzip: 0.30 kB
81
81
  ℹ dist/tool/tool.schema.d.ts.map  0.75 kB │ gzip: 0.30 kB
82
82
  ℹ dist/tool/tool.event.d.ts.map  0.59 kB │ gzip: 0.26 kB
83
83
  ℹ dist/run/run.entity.d.ts.map  0.52 kB │ gzip: 0.31 kB
@@ -95,18 +95,18 @@ $ tsdown
95
95
  ℹ dist/shared/mock-runs.d.ts.map  0.14 kB │ gzip: 0.13 kB
96
96
  ℹ dist/example.d.ts.map  0.12 kB │ gzip: 0.12 kB
97
97
  ℹ dist/run/run.operation.d.ts 21.40 kB │ gzip: 1.56 kB
98
- ℹ dist/agent/agent.operation.d.ts 13.78 kB │ gzip: 1.20 kB
98
+ ℹ dist/agent/agent.operation.d.ts 13.66 kB │ gzip: 1.20 kB
99
99
  ℹ dist/tool/tool.operation.d.ts 12.33 kB │ gzip: 1.08 kB
100
- ℹ dist/run/run.schema.d.ts 11.67 kB │ gzip: 1.05 kB
100
+ ℹ dist/run/run.schema.d.ts 11.87 kB │ gzip: 1.06 kB
101
101
  ℹ dist/agent/agent.schema.d.ts 11.14 kB │ gzip: 0.83 kB
102
102
  ℹ dist/run/run.event.d.ts  8.44 kB │ gzip: 0.79 kB
103
103
  ℹ dist/tool/tool.handler.d.ts  6.76 kB │ gzip: 1.09 kB
104
- ℹ dist/tool/tool.schema.d.ts  6.33 kB │ gzip: 0.64 kB
104
+ ℹ dist/tool/tool.schema.d.ts  6.28 kB │ gzip: 0.63 kB
105
105
  ℹ dist/index.d.ts  5.26 kB │ gzip: 1.11 kB
106
106
  ℹ dist/shared/mock-tools.d.ts  4.89 kB │ gzip: 0.70 kB
107
107
  ℹ dist/run/run.handler.d.ts  4.51 kB │ gzip: 0.89 kB
108
108
  ℹ dist/run/run.entity.d.ts  3.88 kB │ gzip: 0.60 kB
109
- ℹ dist/agent/agent.event.d.ts  3.76 kB │ gzip: 0.51 kB
109
+ ℹ dist/agent/agent.event.d.ts  3.73 kB │ gzip: 0.51 kB
110
110
  ℹ dist/tool/tool.event.d.ts  3.00 kB │ gzip: 0.46 kB
111
111
  ℹ dist/agent/agent.handler.d.ts  2.67 kB │ gzip: 0.76 kB
112
112
  ℹ dist/agent/agent.entity.d.ts  2.63 kB │ gzip: 0.54 kB
@@ -119,7 +119,7 @@ $ tsdown
119
119
  ℹ dist/run/run.enum.d.ts  0.78 kB │ gzip: 0.28 kB
120
120
  ℹ dist/tool/tool.enum.d.ts  0.65 kB │ gzip: 0.26 kB
121
121
  ℹ dist/agent/agent.presentation.d.ts  0.64 kB │ gzip: 0.28 kB
122
- ℹ dist/agent/agent.enum.d.ts  0.63 kB │ gzip: 0.27 kB
122
+ ℹ dist/agent/agent.enum.d.ts  0.63 kB │ gzip: 0.26 kB
123
123
  ℹ dist/handlers/index.d.ts  0.63 kB │ gzip: 0.20 kB
124
124
  ℹ dist/presentations/index.d.ts  0.60 kB │ gzip: 0.18 kB
125
125
  ℹ dist/tool/tool.presentation.d.ts  0.44 kB │ gzip: 0.22 kB
@@ -130,4 +130,4 @@ $ tsdown
130
130
  ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
131
131
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
132
132
  ℹ 123 files, total: 476.63 kB
133
- ✔ Build complete in 28008ms
133
+ ✔ Build complete in 23069ms
@@ -131,4 +131,4 @@ $ tsdown
131
131
  ℹ dist/docs/agent-console.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
132
132
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
133
133
  ℹ 123 files, total: 476.71 kB
134
- ✔ Build complete in 29126ms
134
+ ✔ Build complete in 31206ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @contractspec/example.agent-console
2
2
 
3
+ ## 1.45.4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: github action
8
+ - Updated dependencies
9
+ - @contractspec/lib.contracts@1.45.4
10
+ - @contractspec/lib.schema@1.45.4
11
+
3
12
  ## 1.45.3
4
13
 
5
14
  ### Patch Changes
@@ -1,54 +1,54 @@
1
- import * as _contractspec_lib_schema180 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema193 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/agent/agent.entity.d.ts
4
4
  /**
5
5
  * Agent status for lifecycle management.
6
6
  */
7
- declare const AgentStatusEntityEnum: _contractspec_lib_schema180.EntityEnumDef;
7
+ declare const AgentStatusEntityEnum: _contractspec_lib_schema193.EntityEnumDef;
8
8
  /**
9
9
  * Agent model provider.
10
10
  */
11
- declare const ModelProviderEntityEnum: _contractspec_lib_schema180.EntityEnumDef;
11
+ declare const ModelProviderEntityEnum: _contractspec_lib_schema193.EntityEnumDef;
12
12
  /**
13
13
  * Agent entity - Represents an AI agent configuration.
14
14
  */
15
- declare const AgentEntity: _contractspec_lib_schema180.EntitySpec<{
16
- id: _contractspec_lib_schema180.EntityScalarField;
17
- organizationId: _contractspec_lib_schema180.EntityScalarField;
18
- name: _contractspec_lib_schema180.EntityScalarField;
19
- slug: _contractspec_lib_schema180.EntityScalarField;
20
- description: _contractspec_lib_schema180.EntityScalarField;
21
- status: _contractspec_lib_schema180.EntityEnumField;
22
- modelProvider: _contractspec_lib_schema180.EntityEnumField;
23
- modelName: _contractspec_lib_schema180.EntityScalarField;
24
- modelConfig: _contractspec_lib_schema180.EntityScalarField;
25
- systemPrompt: _contractspec_lib_schema180.EntityScalarField;
26
- userPromptTemplate: _contractspec_lib_schema180.EntityScalarField;
27
- toolIds: _contractspec_lib_schema180.EntityScalarField;
28
- toolChoice: _contractspec_lib_schema180.EntityScalarField;
29
- maxIterations: _contractspec_lib_schema180.EntityScalarField;
30
- maxTokensPerRun: _contractspec_lib_schema180.EntityScalarField;
31
- timeoutMs: _contractspec_lib_schema180.EntityScalarField;
32
- version: _contractspec_lib_schema180.EntityScalarField;
33
- tags: _contractspec_lib_schema180.EntityScalarField;
34
- createdAt: _contractspec_lib_schema180.EntityScalarField;
35
- updatedAt: _contractspec_lib_schema180.EntityScalarField;
36
- createdById: _contractspec_lib_schema180.EntityScalarField;
37
- tools: _contractspec_lib_schema180.EntityRelationField;
15
+ declare const AgentEntity: _contractspec_lib_schema193.EntitySpec<{
16
+ id: _contractspec_lib_schema193.EntityScalarField;
17
+ organizationId: _contractspec_lib_schema193.EntityScalarField;
18
+ name: _contractspec_lib_schema193.EntityScalarField;
19
+ slug: _contractspec_lib_schema193.EntityScalarField;
20
+ description: _contractspec_lib_schema193.EntityScalarField;
21
+ status: _contractspec_lib_schema193.EntityEnumField;
22
+ modelProvider: _contractspec_lib_schema193.EntityEnumField;
23
+ modelName: _contractspec_lib_schema193.EntityScalarField;
24
+ modelConfig: _contractspec_lib_schema193.EntityScalarField;
25
+ systemPrompt: _contractspec_lib_schema193.EntityScalarField;
26
+ userPromptTemplate: _contractspec_lib_schema193.EntityScalarField;
27
+ toolIds: _contractspec_lib_schema193.EntityScalarField;
28
+ toolChoice: _contractspec_lib_schema193.EntityScalarField;
29
+ maxIterations: _contractspec_lib_schema193.EntityScalarField;
30
+ maxTokensPerRun: _contractspec_lib_schema193.EntityScalarField;
31
+ timeoutMs: _contractspec_lib_schema193.EntityScalarField;
32
+ version: _contractspec_lib_schema193.EntityScalarField;
33
+ tags: _contractspec_lib_schema193.EntityScalarField;
34
+ createdAt: _contractspec_lib_schema193.EntityScalarField;
35
+ updatedAt: _contractspec_lib_schema193.EntityScalarField;
36
+ createdById: _contractspec_lib_schema193.EntityScalarField;
37
+ tools: _contractspec_lib_schema193.EntityRelationField;
38
38
  }>;
39
39
  /**
40
40
  * AgentTool join entity - Links agents to their assigned tools.
41
41
  */
42
- declare const AgentToolEntity: _contractspec_lib_schema180.EntitySpec<{
43
- id: _contractspec_lib_schema180.EntityScalarField;
44
- agentId: _contractspec_lib_schema180.EntityScalarField;
45
- toolId: _contractspec_lib_schema180.EntityScalarField;
46
- config: _contractspec_lib_schema180.EntityScalarField;
47
- order: _contractspec_lib_schema180.EntityScalarField;
48
- isEnabled: _contractspec_lib_schema180.EntityScalarField;
49
- createdAt: _contractspec_lib_schema180.EntityScalarField;
50
- agent: _contractspec_lib_schema180.EntityRelationField;
51
- tool: _contractspec_lib_schema180.EntityRelationField;
42
+ declare const AgentToolEntity: _contractspec_lib_schema193.EntitySpec<{
43
+ id: _contractspec_lib_schema193.EntityScalarField;
44
+ agentId: _contractspec_lib_schema193.EntityScalarField;
45
+ toolId: _contractspec_lib_schema193.EntityScalarField;
46
+ config: _contractspec_lib_schema193.EntityScalarField;
47
+ order: _contractspec_lib_schema193.EntityScalarField;
48
+ isEnabled: _contractspec_lib_schema193.EntityScalarField;
49
+ createdAt: _contractspec_lib_schema193.EntityScalarField;
50
+ agent: _contractspec_lib_schema193.EntityRelationField;
51
+ tool: _contractspec_lib_schema193.EntityRelationField;
52
52
  }>;
53
53
  //#endregion
54
54
  export { AgentEntity, AgentStatusEntityEnum, AgentToolEntity, ModelProviderEntityEnum };
@@ -1,18 +1,18 @@
1
- import * as _contractspec_lib_schema148 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema322 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/agent/agent.enum.d.ts
4
4
  /**
5
5
  * Agent status enum.
6
6
  */
7
- declare const AgentStatusEnum: _contractspec_lib_schema148.EnumType<[string, string, string, string]>;
7
+ declare const AgentStatusEnum: _contractspec_lib_schema322.EnumType<[string, string, string, string]>;
8
8
  /**
9
9
  * Model provider enum.
10
10
  */
11
- declare const ModelProviderEnum: _contractspec_lib_schema148.EnumType<[string, string, string, string, string]>;
11
+ declare const ModelProviderEnum: _contractspec_lib_schema322.EnumType<[string, string, string, string, string]>;
12
12
  /**
13
13
  * Tool choice mode enum.
14
14
  */
15
- declare const ToolChoiceEnum: _contractspec_lib_schema148.EnumType<[string, string, string]>;
15
+ declare const ToolChoiceEnum: _contractspec_lib_schema322.EnumType<[string, string, string]>;
16
16
  //#endregion
17
17
  export { AgentStatusEnum, ModelProviderEnum, ToolChoiceEnum };
18
18
  //# sourceMappingURL=agent.enum.d.ts.map
@@ -1,125 +1,125 @@
1
- import * as _contractspec_lib_schema151 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema50 from "@contractspec/lib.schema";
2
2
  import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/agent/agent.event.d.ts
5
5
  /**
6
6
  * AgentCreatedEvent - A new agent was created.
7
7
  */
8
- declare const AgentCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema151.SchemaModel<{
8
+ declare const AgentCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema50.SchemaModel<{
9
9
  id: {
10
- type: _contractspec_lib_schema151.FieldType<string, string>;
10
+ type: _contractspec_lib_schema50.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  organizationId: {
14
- type: _contractspec_lib_schema151.FieldType<string, string>;
14
+ type: _contractspec_lib_schema50.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  name: {
18
- type: _contractspec_lib_schema151.FieldType<string, string>;
18
+ type: _contractspec_lib_schema50.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  slug: {
22
- type: _contractspec_lib_schema151.FieldType<string, string>;
22
+ type: _contractspec_lib_schema50.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  modelProvider: {
26
- type: _contractspec_lib_schema151.FieldType<string, string>;
26
+ type: _contractspec_lib_schema50.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  modelName: {
30
- type: _contractspec_lib_schema151.FieldType<string, string>;
30
+ type: _contractspec_lib_schema50.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  toolCount: {
34
- type: _contractspec_lib_schema151.FieldType<number, number>;
34
+ type: _contractspec_lib_schema50.FieldType<number, number>;
35
35
  isOptional: false;
36
36
  };
37
37
  createdById: {
38
- type: _contractspec_lib_schema151.FieldType<string, string>;
38
+ type: _contractspec_lib_schema50.FieldType<string, string>;
39
39
  isOptional: true;
40
40
  };
41
41
  createdAt: {
42
- type: _contractspec_lib_schema151.FieldType<Date, string>;
42
+ type: _contractspec_lib_schema50.FieldType<Date, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>>;
46
46
  /**
47
47
  * AgentUpdatedEvent - An agent was updated.
48
48
  */
49
- declare const AgentUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema151.SchemaModel<{
49
+ declare const AgentUpdatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema50.SchemaModel<{
50
50
  id: {
51
- type: _contractspec_lib_schema151.FieldType<string, string>;
51
+ type: _contractspec_lib_schema50.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  organizationId: {
55
- type: _contractspec_lib_schema151.FieldType<string, string>;
55
+ type: _contractspec_lib_schema50.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  name: {
59
- type: _contractspec_lib_schema151.FieldType<string, string>;
59
+ type: _contractspec_lib_schema50.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  status: {
63
- type: _contractspec_lib_schema151.FieldType<string, string>;
63
+ type: _contractspec_lib_schema50.FieldType<string, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  updatedFields: {
67
- type: _contractspec_lib_schema151.FieldType<string, string>;
67
+ type: _contractspec_lib_schema50.FieldType<string, string>;
68
68
  isArray: true;
69
69
  isOptional: false;
70
70
  };
71
71
  updatedAt: {
72
- type: _contractspec_lib_schema151.FieldType<Date, string>;
72
+ type: _contractspec_lib_schema50.FieldType<Date, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  }>>;
76
76
  /**
77
77
  * AgentToolAssignedEvent - A tool was assigned to an agent.
78
78
  */
79
- declare const AgentToolAssignedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema151.SchemaModel<{
79
+ declare const AgentToolAssignedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema50.SchemaModel<{
80
80
  agentId: {
81
- type: _contractspec_lib_schema151.FieldType<string, string>;
81
+ type: _contractspec_lib_schema50.FieldType<string, string>;
82
82
  isOptional: false;
83
83
  };
84
84
  toolId: {
85
- type: _contractspec_lib_schema151.FieldType<string, string>;
85
+ type: _contractspec_lib_schema50.FieldType<string, string>;
86
86
  isOptional: false;
87
87
  };
88
88
  agentName: {
89
- type: _contractspec_lib_schema151.FieldType<string, string>;
89
+ type: _contractspec_lib_schema50.FieldType<string, string>;
90
90
  isOptional: false;
91
91
  };
92
92
  toolName: {
93
- type: _contractspec_lib_schema151.FieldType<string, string>;
93
+ type: _contractspec_lib_schema50.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  assignedAt: {
97
- type: _contractspec_lib_schema151.FieldType<Date, string>;
97
+ type: _contractspec_lib_schema50.FieldType<Date, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  }>>;
101
101
  /**
102
102
  * AgentToolRemovedEvent - A tool was removed from an agent.
103
103
  */
104
- declare const AgentToolRemovedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema151.SchemaModel<{
104
+ declare const AgentToolRemovedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema50.SchemaModel<{
105
105
  agentId: {
106
- type: _contractspec_lib_schema151.FieldType<string, string>;
106
+ type: _contractspec_lib_schema50.FieldType<string, string>;
107
107
  isOptional: false;
108
108
  };
109
109
  toolId: {
110
- type: _contractspec_lib_schema151.FieldType<string, string>;
110
+ type: _contractspec_lib_schema50.FieldType<string, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  agentName: {
114
- type: _contractspec_lib_schema151.FieldType<string, string>;
114
+ type: _contractspec_lib_schema50.FieldType<string, string>;
115
115
  isOptional: false;
116
116
  };
117
117
  toolName: {
118
- type: _contractspec_lib_schema151.FieldType<string, string>;
118
+ type: _contractspec_lib_schema50.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  removedAt: {
122
- type: _contractspec_lib_schema151.FieldType<Date, string>;
122
+ type: _contractspec_lib_schema50.FieldType<Date, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiCa,mBAAiB,4BAAA,CAAA,sCAAA;EAAjB,EAAA,EAAA;IAUX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAV4B,IAAA,EAAA;IAAA,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAsCjB,UAAA,EAAA,KAUX;EAAA,CAAA;;;;;;;;EAV4B,CAAA;EAAA,SAAA,EAAA;IA8BjB,IAAA,uCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAViC,IAAA,uCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA8BtB,CAAA;CAUX,CAAA,CAAA;;;;cAtEW,mBAAiB,4BAAA,CAAA,sCAAA;;UAU5B,2BAAA,CAAA,SAkDgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA9BrB,wBAAsB,4BAAA,CAAA,sCAAA;;UAUjC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,4BAAA,CAAA,sCAAA;;UAUhC,2BAAA,CAAA"}
1
+ {"version":3,"file":"agent.event.d.ts","names":[],"sources":["../../src/agent/agent.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiCa,mBAAiB,4BAAA,CAAA,qCAAA;EAAjB,EAAA,EAAA;IAUX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAV4B,IAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAsCjB,UAAA,EAAA,KAUX;EAAA,CAAA;;;;;;;;EAV4B,CAAA;EAAA,SAAA,EAAA;IA8BjB,IAAA,sCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;IAViC,IAAA,sCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA8BtB,CAAA;CAUX,CAAA,CAAA;;;;cAtEW,mBAAiB,4BAAA,CAAA,qCAAA;;UAU5B,0BAAA,CAAA,SAkDgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA9BrB,wBAAsB,4BAAA,CAAA,qCAAA;;UAUjC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAoBW,uBAAqB,4BAAA,CAAA,qCAAA;;UAUhC,0BAAA,CAAA"}