agent-lab-sdk 0.1.21__py3-none-any.whl → 0.1.23__py3-none-any.whl

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.

Potentially problematic release.


This version of agent-lab-sdk might be problematic. Click here for more details.

@@ -3,9 +3,11 @@ from .input_types import (
3
3
  MainInput,
4
4
  StringInput,
5
5
  StringArrayInput,
6
+ StringArrayInputInline,
6
7
  NumberInput,
7
8
  SelectInput,
8
9
  CheckboxInput,
10
+ SwitchInput,
9
11
  FileInput,
10
12
  FilesInput,
11
13
  SelectOption
@@ -16,9 +18,11 @@ __all__ = [
16
18
  "MainInput",
17
19
  "StringInput",
18
20
  "StringArrayInput",
21
+ "StringArrayInputInline",
19
22
  "NumberInput",
20
23
  "SelectInput",
21
24
  "CheckboxInput",
25
+ "SwitchInput",
22
26
  "FileInput",
23
27
  "FilesInput",
24
28
  "SelectOption"
@@ -19,7 +19,7 @@ def MainInput(placeholder: str | None = None) -> type:
19
19
  })
20
20
 
21
21
 
22
- def StringInput(default: str | None = None, title: str | None = None, description: str | None = None, hidden: bool | None = False) -> type:
22
+ def StringInput(default: str | None = None, title: str | None = None, description: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
23
23
  """
24
24
  Factory function for creating a string input type.
25
25
 
@@ -28,6 +28,7 @@ def StringInput(default: str | None = None, title: str | None = None, descriptio
28
28
  title: Title for the string input
29
29
  description: Description text for the string input
30
30
  hidden: Whether the input should be hidden in the UI
31
+ depends: Specifies the parameter that this value depends on or is derived from.
31
32
 
32
33
  Returns:
33
34
  Type annotation for string input field
@@ -38,10 +39,11 @@ def StringInput(default: str | None = None, title: str | None = None, descriptio
38
39
  "title": title,
39
40
  "description": description,
40
41
  "hidden": hidden,
42
+ "depends": depends,
41
43
  })
42
44
 
43
45
 
44
- def StringArrayInput(placeholder: str | None = None, title: str | None = None, description: str | None = None, group: str | None = None, hidden: bool | None = False) -> type:
46
+ def StringArrayInput(placeholder: str | None = None, title: str | None = None, description: str | None = None, group: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
45
47
  """
46
48
  Factory function for creating a string array input type.
47
49
 
@@ -51,6 +53,7 @@ def StringArrayInput(placeholder: str | None = None, title: str | None = None, d
51
53
  description: Description text for the string array input
52
54
  group: Group name for organizing inputs in the UI
53
55
  hidden: Whether the input should be hidden in the UI
56
+ depends: Specifies the parameter that this value depends on or is derived from.
54
57
 
55
58
  Returns:
56
59
  Type annotation for string array input field
@@ -62,11 +65,12 @@ def StringArrayInput(placeholder: str | None = None, title: str | None = None, d
62
65
  "description": description,
63
66
  "group": group,
64
67
  "hidden": hidden,
68
+ "depends": depends,
65
69
  })
66
70
 
67
71
 
68
72
  def StringArrayInputInline(placeholder: str | None = None, title: str | None = None, description: str | None = None,
69
- group: str | None = None, hidden: bool | None = False) -> type:
73
+ group: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
70
74
  """
71
75
  Factory function for creating a string array input inline type.
72
76
 
@@ -76,6 +80,7 @@ def StringArrayInputInline(placeholder: str | None = None, title: str | None = N
76
80
  description: Description text for the string array input
77
81
  group: Group name for organizing inputs in the UI
78
82
  hidden: Whether the input should be hidden in the UI
83
+ depends: Specifies the parameter that this value depends on or is derived from.
79
84
 
80
85
  Returns:
81
86
  Type annotation for string array input field
@@ -87,10 +92,11 @@ def StringArrayInputInline(placeholder: str | None = None, title: str | None = N
87
92
  "description": description,
88
93
  "group": group,
89
94
  "hidden": hidden,
95
+ "depends": depends,
90
96
  })
91
97
 
92
98
 
93
- def NumberInput(default: float | None = None, title: str | None = None, description: str | None = None, hidden: bool | None = False) -> type:
99
+ def NumberInput(default: float | None = None, title: str | None = None, description: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
94
100
  """
95
101
  Factory function for creating a number input type.
96
102
 
@@ -99,6 +105,7 @@ def NumberInput(default: float | None = None, title: str | None = None, descript
99
105
  title: Title for the number input
100
106
  description: Description text for the number input
101
107
  hidden: Whether the input should be hidden in the UI
108
+ depends: Specifies the parameter that this value depends on or is derived from.
102
109
 
103
110
  Returns:
104
111
  Type annotation for number input field
@@ -109,6 +116,7 @@ def NumberInput(default: float | None = None, title: str | None = None, descript
109
116
  "title": title,
110
117
  "description": description,
111
118
  "hidden": hidden,
119
+ "depends": depends,
112
120
  })
113
121
 
114
122
 
@@ -126,7 +134,7 @@ class SelectOption(BaseModel):
126
134
  description: Optional[str] = None
127
135
 
128
136
 
129
- def SelectInput(items: List[Any] = [], title: str | None = None, group: str | None = None, default: str | None = None, hidden: bool | None = False) -> type:
137
+ def SelectInput(items: List[Any] = [], title: str | None = None, group: str | None = None, default: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
130
138
  """
131
139
  Factory function for creating a select input type.
132
140
 
@@ -136,6 +144,7 @@ def SelectInput(items: List[Any] = [], title: str | None = None, group: str | No
136
144
  group: Group name for organizing inputs in the UI
137
145
  default: Default selected value
138
146
  hidden: Whether the input should be hidden in the UI
147
+ depends: Specifies the parameter that this value depends on or is derived from.
139
148
 
140
149
  Returns:
141
150
  Type annotation for select input field
@@ -147,10 +156,11 @@ def SelectInput(items: List[Any] = [], title: str | None = None, group: str | No
147
156
  "group": group,
148
157
  "default": default,
149
158
  "hidden": hidden,
159
+ "depends": depends,
150
160
  })
151
161
 
152
162
 
153
- def CheckboxInput(title: str | None = None, group: str | None = None, description: str | None = None, default: bool | None = False, hidden: bool | None = False) -> type:
163
+ def CheckboxInput(title: str | None = None, group: str | None = None, description: str | None = None, default: bool | None = False, hidden: bool | None = False, depends: str | None = None) -> type:
154
164
  """
155
165
  Factory function for creating a checkbox input type.
156
166
 
@@ -160,6 +170,7 @@ def CheckboxInput(title: str | None = None, group: str | None = None, descriptio
160
170
  description: Description text for the checkbox
161
171
  default: Default checked state
162
172
  hidden: Whether the input should be hidden in the UI
173
+ depends: Specifies the parameter that this value depends on or is derived from.
163
174
 
164
175
  Returns:
165
176
  Type annotation for checkbox input field
@@ -171,11 +182,12 @@ def CheckboxInput(title: str | None = None, group: str | None = None, descriptio
171
182
  "description": description,
172
183
  "default": default,
173
184
  "hidden": hidden,
185
+ "depends": depends,
174
186
  })
175
187
 
176
188
 
177
189
  def SwitchInput(title: str | None = None, group: str | None = None, description: str | None = None,
178
- default: bool | None = False, hidden: bool | None = False) -> type:
190
+ default: bool | None = False, hidden: bool | None = False, depends: str | None = None) -> type:
179
191
  """
180
192
  Factory function for creating a switch input type.
181
193
 
@@ -185,6 +197,7 @@ def SwitchInput(title: str | None = None, group: str | None = None, description:
185
197
  description: Description text for the switch
186
198
  default: Default checked state
187
199
  hidden: Whether the input should be hidden in the UI
200
+ depends: Specifies the parameter that this value depends on or is derived from.
188
201
 
189
202
  Returns:
190
203
  Type annotation for switch input field
@@ -196,10 +209,11 @@ def SwitchInput(title: str | None = None, group: str | None = None, description:
196
209
  "description": description,
197
210
  "default": default,
198
211
  "hidden": hidden,
212
+ "depends": depends,
199
213
  })
200
214
 
201
215
 
202
- def FileInput(title: str | None = None, file_extensions: str | None = None, group: str | None = None, hidden: bool | None = False) -> type:
216
+ def FileInput(title: str | None = None, file_extensions: str | None = None, group: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
203
217
  """
204
218
  Factory function for creating a single file input type.
205
219
 
@@ -208,6 +222,7 @@ def FileInput(title: str | None = None, file_extensions: str | None = None, grou
208
222
  file_extensions: Comma-separated list of allowed file extensions (e.g., ".pdf,.txt")
209
223
  group: Group name for organizing inputs in the UI
210
224
  hidden: Whether the input should be hidden in the UI
225
+ depends: Specifies the parameter that this value depends on or is derived from.
211
226
 
212
227
  Returns:
213
228
  Type annotation for file input field
@@ -218,10 +233,11 @@ def FileInput(title: str | None = None, file_extensions: str | None = None, grou
218
233
  "fileExtensions": file_extensions,
219
234
  "group": group,
220
235
  "hidden": hidden,
236
+ "depends": depends,
221
237
  })
222
238
 
223
239
 
224
- def FilesInput(title: str | None = None, file_extensions: str | None = None, group: str | None = None, hidden: bool | None = False) -> type:
240
+ def FilesInput(title: str | None = None, file_extensions: str | None = None, group: str | None = None, hidden: bool | None = False, depends: str | None = None) -> type:
225
241
  """
226
242
  Factory function for creating a multiple files input type.
227
243
 
@@ -230,6 +246,7 @@ def FilesInput(title: str | None = None, file_extensions: str | None = None, gro
230
246
  file_extensions: Comma-separated list of allowed file extensions (e.g., ".pdf,.txt")
231
247
  group: Group name for organizing inputs in the UI
232
248
  hidden: Whether the input should be hidden in the UI
249
+ depends: Specifies the parameter that this value depends on or is derived from.
233
250
 
234
251
  Returns:
235
252
  Type annotation for files input field
@@ -240,4 +257,5 @@ def FilesInput(title: str | None = None, file_extensions: str | None = None, gro
240
257
  "fileExtensions": file_extensions,
241
258
  "group": group,
242
259
  "hidden": hidden,
260
+ "depends": depends,
243
261
  })
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-lab-sdk
3
- Version: 0.1.21
3
+ Version: 0.1.23
4
4
  Summary: SDK для работы с Agent Lab
5
5
  Author-email: Andrew Ohurtsov <andermirik@yandex.com>
6
6
  License: Proprietary and Confidential — All Rights Reserved
@@ -301,18 +301,18 @@ class AgentState(BaseModel):
301
301
 
302
302
  #### Доступные фабричные функции
303
303
 
304
- | Тип | Описание | Основные параметры |
305
- |--------------------------|-----------------------------------|----------------------------------------------------------|
306
- | `MainInput` | Основное поле ввода | `placeholder` |
307
- | `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden` |
308
- | `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden` |
309
- | `StringArrayInputInline` | Массив строк в одной строке ввода | `placeholder`, `title`, `description`, `group`, `hidden` |
310
- | `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden` |
311
- | `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden` |
312
- | `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden` |
313
- | `SwitchInput` | Switch | `title`, `group`, `description`, `default`, `hidden` |
314
- | `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden` |
315
- | `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden` |
304
+ | Тип | Описание | Основные параметры |
305
+ |--------------------------|-----------------------------------|---------------------------------------------------------------------|
306
+ | `MainInput` | Основное поле ввода | `placeholder` |
307
+ | `StringInput` | Текстовое поле | `default`, `title`, `description`, `hidden`, `depends` |
308
+ | `StringArrayInput` | Массив строк | `placeholder`, `title`, `description`, `group`, `hidden`, `depends` |
309
+ | `StringArrayInputInline` | Массив строк в одной строке ввода | `placeholder`, `title`, `description`, `group`, `hidden`, `depends` |
310
+ | `NumberInput` | Числовое поле | `default`, `title`, `description`, `hidden`, `depends` |
311
+ | `SelectInput` | Выпадающий список | `items`, `title`, `group`, `default`, `hidden`, `depends` |
312
+ | `CheckboxInput` | Чекбокс | `title`, `group`, `description`, `default`, `hidden`, `depends` |
313
+ | `SwitchInput` | Switch | `title`, `group`, `description`, `default`, `hidden`, `depends` |
314
+ | `FileInput` | Загрузка одного файла | `title`, `file_extensions`, `group`, `hidden`, `depends` |
315
+ | `FilesInput` | Загрузка нескольких файлов | `title`, `file_extensions`, `group`, `hidden`, `depends` |
316
316
 
317
317
  #### Группировка полей
318
318
 
@@ -8,13 +8,13 @@ agent_lab_sdk/llm/llm.py,sha256=cPZll_NoovPXztyGnXthwBxK0YBZ5bRfHe5VI_Z-2jM,1648
8
8
  agent_lab_sdk/llm/throttled.py,sha256=9_nm1i3Uuep0VEWsY1KNCllZA-vM202XVdlgXhgC8BA,7005
9
9
  agent_lab_sdk/metrics/__init__.py,sha256=G4VSlzKwupPMM4c6vZaF1rnd0KusKarezDMjli9pVFw,57
10
10
  agent_lab_sdk/metrics/metrics.py,sha256=_XTT9vMG7T0u_D2pL371wm8GoBU5fodJ45D2RACnBJw,3439
11
- agent_lab_sdk/schema/__init__.py,sha256=RJW9WaZyyF4TT-rxHJMb9iq40yYYZoCcmUWVtOefQz4,427
12
- agent_lab_sdk/schema/input_types.py,sha256=lPthHUGAoY4OHtQk03vgprxZ5ZPFHP8GbueLKBZ6gmY,7739
11
+ agent_lab_sdk/schema/__init__.py,sha256=bHSyXQYkcB9fWBlziWodXR_IzC5nKrdKzrCpyVWNY9o,521
12
+ agent_lab_sdk/schema/input_types.py,sha256=doHXH5yn60wGN9jGkUdqgCOhV0KaP4BrIWPLDKIMleg,9035
13
13
  agent_lab_sdk/schema/log_message.py,sha256=nadi6lZGRuDSPmfbYs9QPpRJUT9Pfy8Y7pGCvyFF5Mw,638
14
14
  agent_lab_sdk/storage/__init__.py,sha256=ik1_v1DMTwehvcAEXIYxuvLuCjJCa3y5qAuJqoQpuSA,81
15
15
  agent_lab_sdk/storage/storage.py,sha256=ELpt7GRwFD-aWa6ctinfA_QwcvzWLvKS0Wz8FlxVqAs,2075
16
- agent_lab_sdk-0.1.21.dist-info/licenses/LICENSE,sha256=_TRXHkF3S9ilWBPdZcHLI_S-PRjK0L_SeOb2pcPAdV4,417
17
- agent_lab_sdk-0.1.21.dist-info/METADATA,sha256=sOr8JIUCu-p4FD6p6tuJiLzDMOK5JLPiy-EXtZkiCIk,17767
18
- agent_lab_sdk-0.1.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- agent_lab_sdk-0.1.21.dist-info/top_level.txt,sha256=E1efqkJ89KNmPBWdLzdMHeVtH0dYyCo4fhnSb81_15I,14
20
- agent_lab_sdk-0.1.21.dist-info/RECORD,,
16
+ agent_lab_sdk-0.1.23.dist-info/licenses/LICENSE,sha256=_TRXHkF3S9ilWBPdZcHLI_S-PRjK0L_SeOb2pcPAdV4,417
17
+ agent_lab_sdk-0.1.23.dist-info/METADATA,sha256=n4fBUIWmiQcWtNag8N-3dZqPTbzMMV59cDHLpLDzVz0,17899
18
+ agent_lab_sdk-0.1.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
+ agent_lab_sdk-0.1.23.dist-info/top_level.txt,sha256=E1efqkJ89KNmPBWdLzdMHeVtH0dYyCo4fhnSb81_15I,14
20
+ agent_lab_sdk-0.1.23.dist-info/RECORD,,