ediri-docker-agent 0.1.0__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.
@@ -0,0 +1,55 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ from . import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from ._enums import *
10
+ from .agent_artifact import *
11
+ from .agent_config import *
12
+ from .agent_run import *
13
+ from .agents_ignore import *
14
+ from .get_agent import *
15
+ from .provider import *
16
+ from .user_settings import *
17
+ from .validate_agent_config import *
18
+ from ._inputs import *
19
+ from . import outputs
20
+
21
+ # Make subpackages available:
22
+ if typing.TYPE_CHECKING:
23
+ import ediri_docker_agent.config as __config
24
+ config = __config
25
+ else:
26
+ config = _utilities.lazy_import('ediri_docker_agent.config')
27
+
28
+ _utilities.register(
29
+ resource_modules="""
30
+ [
31
+ {
32
+ "pkg": "docker-agent",
33
+ "mod": "index",
34
+ "fqn": "ediri_docker_agent",
35
+ "classes": {
36
+ "docker-agent:index:AgentArtifact": "AgentArtifact",
37
+ "docker-agent:index:AgentConfig": "AgentConfig",
38
+ "docker-agent:index:AgentRun": "AgentRun",
39
+ "docker-agent:index:AgentsIgnore": "AgentsIgnore",
40
+ "docker-agent:index:UserSettings": "UserSettings"
41
+ }
42
+ }
43
+ ]
44
+ """,
45
+ resource_packages="""
46
+ [
47
+ {
48
+ "pkg": "docker-agent",
49
+ "token": "pulumi:providers:docker-agent",
50
+ "fqn": "ediri_docker_agent",
51
+ "class": "Provider"
52
+ }
53
+ ]
54
+ """
55
+ )
@@ -0,0 +1,311 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import pulumi
7
+ from enum import Enum
8
+
9
+ __all__ = [
10
+ 'ApiType',
11
+ 'BusySendMode',
12
+ 'DeleteBehavior',
13
+ 'EvaluatorDecision',
14
+ 'EvaluatorFallback',
15
+ 'EvaluatorType',
16
+ 'HarnessEffort',
17
+ 'HarnessType',
18
+ 'HookErrorPolicy',
19
+ 'HookType',
20
+ 'HttpMethod',
21
+ 'InterruptConfirmation',
22
+ 'LifecycleProfile',
23
+ 'Logging',
24
+ 'RagFusionStrategy',
25
+ 'RagStrategyType',
26
+ 'RestartPolicy',
27
+ 'SafetyMode',
28
+ 'SectionSpacing',
29
+ 'SidebarInfoMode',
30
+ 'SidebarPosition',
31
+ 'StructuredOutputMode',
32
+ 'ToolApproval',
33
+ ]
34
+
35
+
36
+ @pulumi.type_token("docker-agent:index:ApiType")
37
+ class ApiType(_builtins.str, Enum):
38
+ OPEN_AI_CHAT_COMPLETIONS = "openai_chatcompletions"
39
+ OPEN_AI_RESPONSES = "openai_responses"
40
+
41
+
42
+ @pulumi.type_token("docker-agent:index:BusySendMode")
43
+ class BusySendMode(_builtins.str, Enum):
44
+ STEER = "steer"
45
+ """
46
+ Inject the message into the running turn (the default).
47
+ """
48
+ QUEUE = "queue"
49
+ """
50
+ Hold the message until the turn ends.
51
+ """
52
+
53
+
54
+ @pulumi.type_token("docker-agent:index:DeleteBehavior")
55
+ class DeleteBehavior(_builtins.str, Enum):
56
+ RETAIN = "retain"
57
+ """
58
+ Leave the artifact in the registry.
59
+ """
60
+ DELETE = "delete"
61
+ """
62
+ Delete the pushed manifest from the registry, unless another tag points to the same digest. Registries that do not support deletion (HTTP 405) only produce a warning.
63
+ """
64
+
65
+
66
+ @pulumi.type_token("docker-agent:index:EvaluatorDecision")
67
+ class EvaluatorDecision(_builtins.str, Enum):
68
+ ALLOW = "allow"
69
+ ASK = "ask"
70
+ DENY = "deny"
71
+
72
+
73
+ @pulumi.type_token("docker-agent:index:EvaluatorFallback")
74
+ class EvaluatorFallback(_builtins.str, Enum):
75
+ ASK = "ask"
76
+ DENY = "deny"
77
+
78
+
79
+ @pulumi.type_token("docker-agent:index:EvaluatorType")
80
+ class EvaluatorType(_builtins.str, Enum):
81
+ BOOLEAN = "boolean"
82
+ CHOICE = "choice"
83
+ SCORE = "score"
84
+
85
+
86
+ @pulumi.type_token("docker-agent:index:HarnessEffort")
87
+ class HarnessEffort(_builtins.str, Enum):
88
+ LOW = "low"
89
+ MEDIUM = "medium"
90
+ HIGH = "high"
91
+ X_HIGH = "xhigh"
92
+ MAX = "max"
93
+
94
+
95
+ @pulumi.type_token("docker-agent:index:HarnessType")
96
+ class HarnessType(_builtins.str, Enum):
97
+ CLAUDE_CODE = "claude-code"
98
+ CODEX = "codex"
99
+ PI = "pi"
100
+ OPEN_CODE = "opencode"
101
+
102
+
103
+ @pulumi.type_token("docker-agent:index:HookErrorPolicy")
104
+ class HookErrorPolicy(_builtins.str, Enum):
105
+ WARN = "warn"
106
+ """
107
+ Reports and continues (default).
108
+ """
109
+ IGNORE = "ignore"
110
+ """
111
+ Continues silently.
112
+ """
113
+ BLOCK = "block"
114
+ """
115
+ Denies block-capable events.
116
+ """
117
+
118
+
119
+ @pulumi.type_token("docker-agent:index:HookType")
120
+ class HookType(_builtins.str, Enum):
121
+ COMMAND = "command"
122
+ """
123
+ Executes a shell command.
124
+ """
125
+ BUILTIN = "builtin"
126
+ """
127
+ Invokes a named in-process Go function registered by the runtime.
128
+ """
129
+ MODEL = "model"
130
+ """
131
+ Asks an LLM and translates its reply into the hook's native output (used for LLM-as-a-judge pre_tool_use, summarizers, etc., with no Go code).
132
+ """
133
+ EVALUATOR = "evaluator"
134
+ """
135
+ Assesses tool input through a named evaluator and applies a separate policy (tool_guard only).
136
+ """
137
+
138
+
139
+ @pulumi.type_token("docker-agent:index:HttpMethod")
140
+ class HttpMethod(_builtins.str, Enum):
141
+ GET = "GET"
142
+ POST = "POST"
143
+ PUT = "PUT"
144
+ PATCH = "PATCH"
145
+ DELETE = "DELETE"
146
+
147
+
148
+ @pulumi.type_token("docker-agent:index:InterruptConfirmation")
149
+ class InterruptConfirmation(_builtins.str, Enum):
150
+ ALWAYS = "always"
151
+ """
152
+ Ask for confirmation (the default).
153
+ """
154
+ DOUBLE_TAP = "double-tap"
155
+ """
156
+ Interrupt when Esc is pressed twice within a second.
157
+ """
158
+ NONE = "none"
159
+ """
160
+ Interrupt immediately.
161
+ """
162
+
163
+
164
+ @pulumi.type_token("docker-agent:index:LifecycleProfile")
165
+ class LifecycleProfile(_builtins.str, Enum):
166
+ RESILIENT = "resilient"
167
+ """
168
+ Auto-restart on failure with exponential backoff (the default).
169
+ """
170
+ STRICT = "strict"
171
+ """
172
+ Fail fast — the agent refuses to start when the toolset is unavailable.
173
+ """
174
+ BEST_EFFORT = "best-effort"
175
+ """
176
+ Single attempt, no auto-restart.
177
+ """
178
+
179
+
180
+ @pulumi.type_token("docker-agent:index:Logging")
181
+ class Logging(_builtins.str, Enum):
182
+ NONE = "none"
183
+ """
184
+ Report nothing while the agent runs, and no summary.
185
+ """
186
+ STATUS = "status"
187
+ """
188
+ Show the run's progress as status messages that are replaced by the next one (an agent started, a task was transferred or the conversation handed off, a tool call was approved or rejected, a model fell back to the next one), and log a summary of the run (duration, tool calls, tokens and estimated cost).
189
+ """
190
+ TOOLS = "tools"
191
+ """
192
+ `status`, and also log every tool call with its arguments and whether it was approved.
193
+ """
194
+ FULL = "full"
195
+ """
196
+ `tools`, and also log the agents' messages and the tools' results.
197
+ """
198
+
199
+
200
+ @pulumi.type_token("docker-agent:index:RagFusionStrategy")
201
+ class RagFusionStrategy(_builtins.str, Enum):
202
+ RRF = "rrf"
203
+ RECIPROCAL_RANK_FUSION = "reciprocal_rank_fusion"
204
+ WEIGHTED = "weighted"
205
+ MAX = "max"
206
+
207
+
208
+ @pulumi.type_token("docker-agent:index:RagStrategyType")
209
+ class RagStrategyType(_builtins.str, Enum):
210
+ BM25 = "bm25"
211
+ CHUNKED_EMBEDDINGS = "chunked-embeddings"
212
+ SEMANTIC_EMBEDDINGS = "semantic-embeddings"
213
+
214
+
215
+ @pulumi.type_token("docker-agent:index:RestartPolicy")
216
+ class RestartPolicy(_builtins.str, Enum):
217
+ NEVER = "never"
218
+ ON_FAILURE = "on_failure"
219
+ ALWAYS = "always"
220
+
221
+
222
+ @pulumi.type_token("docker-agent:index:SafetyMode")
223
+ class SafetyMode(_builtins.str, Enum):
224
+ STRICT = "strict"
225
+ """
226
+ Prompt for every tool call.
227
+ """
228
+ BALANCED = "balanced"
229
+ """
230
+ Auto-approve the tool calls docker-agent's classifier considers safe; prompt for the others.
231
+ """
232
+ RESTRICTED = "restricted"
233
+ """
234
+ Auto-approve the calls the classifier considers safe and deny every other unmatched call without prompting: the fail-closed profile for unattended runs. Custom permission rules still win.
235
+ """
236
+ AUTONOMOUS = "autonomous"
237
+ """
238
+ Auto-approve every tool call (the legacy YOLO mode). Review configurations from URLs or OCI registries before running them.
239
+ """
240
+
241
+
242
+ @pulumi.type_token("docker-agent:index:SectionSpacing")
243
+ class SectionSpacing(_builtins.str, Enum):
244
+ NORMAL = "normal"
245
+ """
246
+ The default spacing.
247
+ """
248
+ COMPACT = "compact"
249
+ """
250
+ Less space between sections.
251
+ """
252
+ RELAXED = "relaxed"
253
+ """
254
+ More space between sections.
255
+ """
256
+
257
+
258
+ @pulumi.type_token("docker-agent:index:SidebarInfoMode")
259
+ class SidebarInfoMode(_builtins.str, Enum):
260
+ COMPACT = "compact"
261
+ """
262
+ Two lines per agent (the default).
263
+ """
264
+ DETAILED = "detailed"
265
+ """
266
+ Cards with effort, context and cost metrics.
267
+ """
268
+
269
+
270
+ @pulumi.type_token("docker-agent:index:SidebarPosition")
271
+ class SidebarPosition(_builtins.str, Enum):
272
+ RIGHT = "right"
273
+ """
274
+ Right of the chat (the default).
275
+ """
276
+ LEFT = "left"
277
+ """
278
+ Left of the chat.
279
+ """
280
+ TOP = "top"
281
+ """
282
+ A compact horizontal band above the chat.
283
+ """
284
+ BOTTOM = "bottom"
285
+ """
286
+ A compact horizontal band below the chat.
287
+ """
288
+
289
+
290
+ @pulumi.type_token("docker-agent:index:StructuredOutputMode")
291
+ class StructuredOutputMode(_builtins.str, Enum):
292
+ NATIVE = "native"
293
+ """
294
+ Passes it to the provider's native structured-output support (the default).
295
+ """
296
+ TOOL = "tool"
297
+ """
298
+ Exposes an internal tool the model must call with the final JSON; the runtime validates the arguments against the schema.
299
+ """
300
+
301
+
302
+ @pulumi.type_token("docker-agent:index:ToolApproval")
303
+ class ToolApproval(_builtins.str, Enum):
304
+ DENY = "deny"
305
+ """
306
+ Run only the tool calls docker-agent approves without asking (read-only tools, `permissions` allow rules, the configuration's own safety mode); reject the rest.
307
+ """
308
+ ALLOW = "allow"
309
+ """
310
+ Approve every tool call, like `docker agent run --yolo`. Tools run on the machine executing `pulumi up`.
311
+ """