@wildix/wim-wilma-client 0.0.6 → 0.0.8

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.
@@ -51,13 +51,16 @@ declare const CreateAgentCommand_base: {
51
51
  * guided: { // AgentToolVariableGuidedHandler
52
52
  * description: "STRING_VALUE", // required
53
53
  * },
54
- * predefined: {},
54
+ * predefined: { // AgentToolVariablePredefinedHandler
55
+ * description: "STRING_VALUE", // required
56
+ * },
55
57
  * },
56
58
  * },
57
59
  * ],
58
60
  * },
59
61
  * kb: { // AgentKnowledgeBase
60
62
  * knowledgeBaseId: "STRING_VALUE",
63
+ * instructions: "STRING_VALUE",
61
64
  * },
62
65
  * },
63
66
  * ],
@@ -90,13 +93,16 @@ declare const CreateAgentCommand_base: {
90
93
  * // guided: { // AgentToolVariableGuidedHandler
91
94
  * // description: "STRING_VALUE", // required
92
95
  * // },
93
- * // predefined: {},
96
+ * // predefined: { // AgentToolVariablePredefinedHandler
97
+ * // description: "STRING_VALUE", // required
98
+ * // },
94
99
  * // },
95
100
  * // },
96
101
  * // ],
97
102
  * // },
98
103
  * // kb: { // AgentKnowledgeBase
99
104
  * // knowledgeBaseId: "STRING_VALUE",
105
+ * // instructions: "STRING_VALUE",
100
106
  * // },
101
107
  * // },
102
108
  * // ],
@@ -58,13 +58,16 @@ declare const GetAgentCommand_base: {
58
58
  * // guided: { // AgentToolVariableGuidedHandler
59
59
  * // description: "STRING_VALUE", // required
60
60
  * // },
61
- * // predefined: {},
61
+ * // predefined: { // AgentToolVariablePredefinedHandler
62
+ * // description: "STRING_VALUE", // required
63
+ * // },
62
64
  * // },
63
65
  * // },
64
66
  * // ],
65
67
  * // },
66
68
  * // kb: { // AgentKnowledgeBase
67
69
  * // knowledgeBaseId: "STRING_VALUE",
70
+ * // instructions: "STRING_VALUE",
68
71
  * // },
69
72
  * // },
70
73
  * // ],
@@ -58,13 +58,16 @@ declare const ListAgentsCommand_base: {
58
58
  * // guided: { // AgentToolVariableGuidedHandler
59
59
  * // description: "STRING_VALUE", // required
60
60
  * // },
61
- * // predefined: {},
61
+ * // predefined: { // AgentToolVariablePredefinedHandler
62
+ * // description: "STRING_VALUE", // required
63
+ * // },
62
64
  * // },
63
65
  * // },
64
66
  * // ],
65
67
  * // },
66
68
  * // kb: { // AgentKnowledgeBase
67
69
  * // knowledgeBaseId: "STRING_VALUE",
70
+ * // instructions: "STRING_VALUE",
68
71
  * // },
69
72
  * // },
70
73
  * // ],
@@ -51,13 +51,16 @@ declare const UpdateAgentCommand_base: {
51
51
  * guided: { // AgentToolVariableGuidedHandler
52
52
  * description: "STRING_VALUE", // required
53
53
  * },
54
- * predefined: {},
54
+ * predefined: { // AgentToolVariablePredefinedHandler
55
+ * description: "STRING_VALUE", // required
56
+ * },
55
57
  * },
56
58
  * },
57
59
  * ],
58
60
  * },
59
61
  * kb: { // AgentKnowledgeBase
60
62
  * knowledgeBaseId: "STRING_VALUE",
63
+ * instructions: "STRING_VALUE",
61
64
  * },
62
65
  * },
63
66
  * ],
@@ -91,13 +94,16 @@ declare const UpdateAgentCommand_base: {
91
94
  * // guided: { // AgentToolVariableGuidedHandler
92
95
  * // description: "STRING_VALUE", // required
93
96
  * // },
94
- * // predefined: {},
97
+ * // predefined: { // AgentToolVariablePredefinedHandler
98
+ * // description: "STRING_VALUE", // required
99
+ * // },
95
100
  * // },
96
101
  * // },
97
102
  * // ],
98
103
  * // },
99
104
  * // kb: { // AgentKnowledgeBase
100
105
  * // knowledgeBaseId: "STRING_VALUE",
106
+ * // instructions: "STRING_VALUE",
101
107
  * // },
102
108
  * // },
103
109
  * // ],
@@ -39,6 +39,11 @@ export declare class ValidationException extends __BaseException {
39
39
  */
40
40
  export interface AgentKnowledgeBase {
41
41
  knowledgeBaseId?: string | undefined;
42
+ /**
43
+ * Additional instructions for when the agent should use this knowledge base.
44
+ * @public
45
+ */
46
+ instructions?: string | undefined;
42
47
  }
43
48
  /**
44
49
  * @public
@@ -55,6 +60,7 @@ export interface AgentToolVariableGuidedHandler {
55
60
  * @public
56
61
  */
57
62
  export interface AgentToolVariablePredefinedHandler {
63
+ description: string;
58
64
  }
59
65
  /**
60
66
  * @public
@@ -115,7 +121,7 @@ export interface AgentToolVariable {
115
121
  */
116
122
  export interface AgentTool {
117
123
  /**
118
- * Unique identifier of the tool
124
+ * Unique identifier of the tool using nanoid format
119
125
  * @public
120
126
  */
121
127
  id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-wilma-client",
3
3
  "description": "@wildix/wim-wilma-client client",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",