hackbot-runtime 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.
- hackbot_runtime/__init__.py +24 -0
- hackbot_runtime/actions/__init__.py +41 -0
- hackbot_runtime/actions/action_records.py +51 -0
- hackbot_runtime/actions/agents.py +55 -0
- hackbot_runtime/actions/bugzilla.py +232 -0
- hackbot_runtime/actions/claude_sdk.py +49 -0
- hackbot_runtime/actions/email.py +152 -0
- hackbot_runtime/actions/feedback.py +60 -0
- hackbot_runtime/actions/github.py +208 -0
- hackbot_runtime/actions/mcp_server.py +39 -0
- hackbot_runtime/actions/phabricator.py +234 -0
- hackbot_runtime/actions/recorder.py +146 -0
- hackbot_runtime/actions/slack.py +101 -0
- hackbot_runtime/actions/testrail.py +206 -0
- hackbot_runtime/actions/tools.py +46 -0
- hackbot_runtime/actions/try_server.py +166 -0
- hackbot_runtime/artifacts.py +89 -0
- hackbot_runtime/changes.py +431 -0
- hackbot_runtime/claude.py +96 -0
- hackbot_runtime/codex.py +366 -0
- hackbot_runtime/config.py +82 -0
- hackbot_runtime/context.py +362 -0
- hackbot_runtime/errors.py +7 -0
- hackbot_runtime/providers.py +46 -0
- hackbot_runtime/pull_request.py +130 -0
- hackbot_runtime/results.py +13 -0
- hackbot_runtime/revision.py +238 -0
- hackbot_runtime/runtime.py +244 -0
- hackbot_runtime/searchfox.py +182 -0
- hackbot_runtime/slack_kit.py +51 -0
- hackbot_runtime/source.py +157 -0
- hackbot_runtime/tracing.py +230 -0
- hackbot_runtime/transcript.py +61 -0
- hackbot_runtime/uploader.py +76 -0
- hackbot_runtime/wif.py +359 -0
- hackbot_runtime-0.1.0.dist-info/METADATA +25 -0
- hackbot_runtime-0.1.0.dist-info/RECORD +38 -0
- hackbot_runtime-0.1.0.dist-info/WHEEL +4 -0
hackbot_runtime/wif.py
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
"""GCP Workload Identity Federation for model-provider and observability auth.
|
|
2
|
+
|
|
3
|
+
On GCP (Cloud Run, Cloud Functions, GCE, GKE) a workload can fetch a
|
|
4
|
+
Google-signed OIDC identity token from the instance metadata server (via the
|
|
5
|
+
``google-auth`` library) and exchange it for a short-lived provider access token,
|
|
6
|
+
instead of shipping a static API key. Anthropic (Claude SDK/CLI), OpenAI (Codex
|
|
7
|
+
CLI) and W&B (wandb/weave SDK) all support this, and each client does the
|
|
8
|
+
exchange and refresh itself, driven entirely by environment variables:
|
|
9
|
+
|
|
10
|
+
Anthropic
|
|
11
|
+
``ANTHROPIC_FEDERATION_RULE_ID`` federation rule (``fdrl_…``) ── set by deploy
|
|
12
|
+
``ANTHROPIC_ORGANIZATION_ID`` Anthropic org id ── set by deploy
|
|
13
|
+
``ANTHROPIC_SERVICE_ACCOUNT_ID`` target service account ── set by deploy
|
|
14
|
+
``ANTHROPIC_WORKSPACE_ID`` workspace (optional) ── set by deploy
|
|
15
|
+
``ANTHROPIC_AUDIENCE`` audience override (optional) ── set by deploy
|
|
16
|
+
``ANTHROPIC_IDENTITY_TOKEN_REFRESH_SECONDS`` refresh cadence (optional) ── set by deploy
|
|
17
|
+
``ANTHROPIC_IDENTITY_TOKEN_FILE`` path to the Google JWT ── managed here
|
|
18
|
+
|
|
19
|
+
OpenAI
|
|
20
|
+
``OPENAI_FEDERATION_RULE_ID`` federation rule (``idpm_…``) ── set by deploy
|
|
21
|
+
``OPENAI_WIF_AUDIENCE`` audience override (optional) ── set by deploy
|
|
22
|
+
``OPENAI_IDENTITY_TOKEN_REFRESH_SECONDS`` refresh cadence (optional) ── set by deploy
|
|
23
|
+
``OPENAI_IDENTITY_TOKEN_FILE`` path to the Google JWT ── managed here
|
|
24
|
+
|
|
25
|
+
W&B
|
|
26
|
+
``WANDB_FEDERATION_AUDIENCE`` audience for the Google JWT ── set by deploy
|
|
27
|
+
``WANDB_IDENTITY_TOKEN_REFRESH_SECONDS`` refresh cadence (optional) ── set by deploy
|
|
28
|
+
``WANDB_IDENTITY_TOKEN_FILE`` path to the Google JWT ── managed here
|
|
29
|
+
|
|
30
|
+
The deploy provisions the federation config; this module owns the token file. It
|
|
31
|
+
fetches the Google identity token, writes it to the token-file env var's path
|
|
32
|
+
(or, when that's unset, to a private temp file it then points the env var at),
|
|
33
|
+
and keeps it fresh in a background thread for as long as :func:`configure`'s
|
|
34
|
+
context is open — Google identity tokens live ~1h, and the clients re-read the
|
|
35
|
+
file on every exchange, so a periodically-rewritten file transparently keeps
|
|
36
|
+
auth alive for runs longer than a token's lifetime. Weave also caches the W&B
|
|
37
|
+
access token past the point W&B accepts it, so each W&B refresh drops that cache.
|
|
38
|
+
|
|
39
|
+
When a provider's enabling env var is absent the runtime is in API-key mode and
|
|
40
|
+
:func:`configure` is inert for it, so local/compose runs keep using the API key.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
import contextlib
|
|
44
|
+
import logging
|
|
45
|
+
import os
|
|
46
|
+
import tempfile
|
|
47
|
+
import threading
|
|
48
|
+
from collections.abc import Iterator
|
|
49
|
+
from pathlib import Path
|
|
50
|
+
from typing import Annotated, ClassVar, Protocol
|
|
51
|
+
|
|
52
|
+
import google.auth.transport.requests
|
|
53
|
+
import google.oauth2.id_token
|
|
54
|
+
from google.auth.exceptions import GoogleAuthError
|
|
55
|
+
from pydantic import BaseModel, Field, PositiveFloat
|
|
56
|
+
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
57
|
+
|
|
58
|
+
from hackbot_runtime.providers import ProviderError
|
|
59
|
+
|
|
60
|
+
log = logging.getLogger("hackbot_runtime.wif")
|
|
61
|
+
|
|
62
|
+
# Google identity tokens expire after ~1h; refresh well inside that window so
|
|
63
|
+
# the file always carries plenty of remaining lifetime for the client to exchange.
|
|
64
|
+
DEFAULT_REFRESH_INTERVAL = 1800
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class WifSettings(Protocol):
|
|
68
|
+
"""How one provider's client is wired up for federation, with values resolved."""
|
|
69
|
+
|
|
70
|
+
# Actual name for logs and errors, e.g. "Anthropic".
|
|
71
|
+
name: ClassVar[str]
|
|
72
|
+
# Short identifier for the token directory prefix and refresher thread name.
|
|
73
|
+
provider_id: ClassVar[str]
|
|
74
|
+
token_file_env: ClassVar[str]
|
|
75
|
+
# Whether a static API key takes precedence over federation in the client.
|
|
76
|
+
# If so, a leftover key would silently shadow WIF, so configure() refuses.
|
|
77
|
+
api_key_shadows_wif: ClassVar[bool]
|
|
78
|
+
|
|
79
|
+
audience: str
|
|
80
|
+
identity_token_file: Path | None
|
|
81
|
+
identity_token_refresh_seconds: float
|
|
82
|
+
api_key: str | None
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def enabled(self) -> bool:
|
|
86
|
+
"""True when the deploy provisioned federation for this provider."""
|
|
87
|
+
...
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class _WifSettingsBase(BaseModel):
|
|
91
|
+
"""Base model for settings shared by all WIF providers."""
|
|
92
|
+
|
|
93
|
+
identity_token_file: Path | None = None
|
|
94
|
+
identity_token_refresh_seconds: PositiveFloat = DEFAULT_REFRESH_INTERVAL
|
|
95
|
+
api_key: str | None = None
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# See https://platform.claude.com/docs/en/manage-claude/wif-providers/gcp
|
|
99
|
+
class AnthropicWifSettings(_WifSettingsBase):
|
|
100
|
+
name: ClassVar[str] = "Anthropic"
|
|
101
|
+
provider_id: ClassVar[str] = "anthropic"
|
|
102
|
+
token_file_env: ClassVar[str] = "ANTHROPIC_IDENTITY_TOKEN_FILE"
|
|
103
|
+
api_key_shadows_wif: ClassVar[bool] = True
|
|
104
|
+
|
|
105
|
+
federation_rule_id: str | None = None
|
|
106
|
+
audience: str = "https://api.anthropic.com"
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def enabled(self) -> bool:
|
|
110
|
+
return bool(self.federation_rule_id)
|
|
111
|
+
|
|
112
|
+
@classmethod
|
|
113
|
+
def from_env(cls) -> AnthropicWifSettings:
|
|
114
|
+
return _AnthropicWifEnvSettings()
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
class _AnthropicWifEnvSettings(AnthropicWifSettings, BaseSettings):
|
|
118
|
+
model_config = SettingsConfigDict(
|
|
119
|
+
env_prefix="ANTHROPIC_", env_ignore_empty=True, extra="ignore"
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
# See https://developers.openai.com/api/docs/guides/workload-identity-federation
|
|
124
|
+
class OpenAIWifSettings(_WifSettingsBase):
|
|
125
|
+
name: ClassVar[str] = "OpenAI"
|
|
126
|
+
provider_id: ClassVar[str] = "openai"
|
|
127
|
+
token_file_env: ClassVar[str] = "OPENAI_IDENTITY_TOKEN_FILE"
|
|
128
|
+
api_key_shadows_wif: ClassVar[bool] = False
|
|
129
|
+
|
|
130
|
+
federation_rule_id: str | None = None
|
|
131
|
+
audience: Annotated[str, Field(validation_alias="OPENAI_WIF_AUDIENCE")] = (
|
|
132
|
+
"https://api.openai.com/v1"
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def enabled(self) -> bool:
|
|
137
|
+
return bool(self.federation_rule_id)
|
|
138
|
+
|
|
139
|
+
@classmethod
|
|
140
|
+
def from_env(cls) -> OpenAIWifSettings:
|
|
141
|
+
return _OpenAIWifEnvSettings()
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
class _OpenAIWifEnvSettings(OpenAIWifSettings, BaseSettings):
|
|
145
|
+
model_config = SettingsConfigDict(
|
|
146
|
+
env_prefix="OPENAI_", env_ignore_empty=True, extra="ignore"
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# See https://docs.wandb.ai/platform/hosting/iam/identity_federation
|
|
151
|
+
class WandbWifSettings(_WifSettingsBase):
|
|
152
|
+
name: ClassVar[str] = "W&B"
|
|
153
|
+
provider_id: ClassVar[str] = "wandb"
|
|
154
|
+
token_file_env: ClassVar[str] = "WANDB_IDENTITY_TOKEN_FILE"
|
|
155
|
+
api_key_shadows_wif: ClassVar[bool] = True
|
|
156
|
+
|
|
157
|
+
audience: Annotated[str, Field(validation_alias="WANDB_FEDERATION_AUDIENCE")] = ""
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def enabled(self) -> bool:
|
|
161
|
+
return bool(self.audience)
|
|
162
|
+
|
|
163
|
+
@classmethod
|
|
164
|
+
def from_env(cls) -> WandbWifSettings:
|
|
165
|
+
return _WandbWifEnvSettings()
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class _WandbWifEnvSettings(WandbWifSettings, BaseSettings):
|
|
169
|
+
model_config = SettingsConfigDict(
|
|
170
|
+
env_prefix="WANDB_", env_ignore_empty=True, extra="ignore"
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
PROVIDERS = (
|
|
175
|
+
AnthropicWifSettings,
|
|
176
|
+
OpenAIWifSettings,
|
|
177
|
+
WandbWifSettings,
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def fetch_gcp_identity_token(audience: str) -> str:
|
|
182
|
+
"""Fetch a Google-signed OIDC identity token for ``audience``.
|
|
183
|
+
|
|
184
|
+
Delegates to ``google.oauth2.id_token``, which sources the token from the
|
|
185
|
+
GCE/Cloud Run/GKE metadata server (or a ``GOOGLE_APPLICATION_CREDENTIALS``
|
|
186
|
+
service-account file for local testing). On the metadata path it requests
|
|
187
|
+
``format=full``, so the token carries the ``email`` claim federation rules
|
|
188
|
+
match on — without it the Anthropic exchange fails with ``invalid_grant``.
|
|
189
|
+
"""
|
|
190
|
+
request = google.auth.transport.requests.Request()
|
|
191
|
+
try:
|
|
192
|
+
token = google.oauth2.id_token.fetch_id_token(request, audience)
|
|
193
|
+
except GoogleAuthError as exc:
|
|
194
|
+
# Surface provider-credential failures as a single ProviderError type so
|
|
195
|
+
# callers (and the refresh loop) handle them uniformly.
|
|
196
|
+
raise ProviderError(
|
|
197
|
+
f"Failed to fetch a Google identity token for audience {audience}: {exc}"
|
|
198
|
+
) from exc
|
|
199
|
+
if not token:
|
|
200
|
+
raise ProviderError(
|
|
201
|
+
"Google returned an empty identity token; the workload has no usable "
|
|
202
|
+
"service account."
|
|
203
|
+
)
|
|
204
|
+
return token
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def _default_token_path(provider_id: str) -> Path:
|
|
208
|
+
"""A private, process-owned, absolute path for the identity token file.
|
|
209
|
+
|
|
210
|
+
``mkdtemp`` gives a 0700 directory so the bearer token isn't world-readable.
|
|
211
|
+
The path is absolute, as Codex requires.
|
|
212
|
+
"""
|
|
213
|
+
return Path(tempfile.mkdtemp(prefix=f"{provider_id}-wif-")) / "identity-token"
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
def _drop_weave_cached_access_token() -> None:
|
|
217
|
+
"""Make weave exchange the freshly written identity token on its next request.
|
|
218
|
+
|
|
219
|
+
weave keeps the W&B access token it exchanged, in memory and in its
|
|
220
|
+
credentials file, until its stated expiry, but W&B stops accepting it sooner.
|
|
221
|
+
"""
|
|
222
|
+
try:
|
|
223
|
+
from weave.wandb_interface.auth import (
|
|
224
|
+
IdentityTokenCredentials,
|
|
225
|
+
get_wandb_credentials,
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
credentials = get_wandb_credentials()
|
|
229
|
+
if not isinstance(credentials, IdentityTokenCredentials):
|
|
230
|
+
return
|
|
231
|
+
with credentials._lock:
|
|
232
|
+
credentials._cached_access_token = None
|
|
233
|
+
credentials.credentials_file.unlink(missing_ok=True)
|
|
234
|
+
except Exception:
|
|
235
|
+
log.exception("Failed to drop weave's cached W&B access token")
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class TokenFileRefresher:
|
|
239
|
+
"""Keeps ``token_file`` populated with a fresh Google identity token.
|
|
240
|
+
|
|
241
|
+
The first write happens synchronously in :meth:`start` so a metadata-server
|
|
242
|
+
failure surfaces immediately (fail fast) rather than as an opaque auth error
|
|
243
|
+
once the agent is mid-run. Subsequent writes run on a daemon thread.
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
def __init__(
|
|
247
|
+
self,
|
|
248
|
+
token_file: Path,
|
|
249
|
+
interval: float,
|
|
250
|
+
audience: str,
|
|
251
|
+
provider_id: str,
|
|
252
|
+
name: str,
|
|
253
|
+
):
|
|
254
|
+
self._token_file = token_file
|
|
255
|
+
self._interval = interval
|
|
256
|
+
self._audience = audience
|
|
257
|
+
self._name = name
|
|
258
|
+
self._stop = threading.Event()
|
|
259
|
+
self._thread = threading.Thread(
|
|
260
|
+
target=self._loop, name=f"{provider_id}-wif-refresh", daemon=True
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
def _write_token(self) -> None:
|
|
264
|
+
"""Atomically replace the token file so clients never read a partial write."""
|
|
265
|
+
token = fetch_gcp_identity_token(self._audience)
|
|
266
|
+
self._token_file.parent.mkdir(parents=True, exist_ok=True)
|
|
267
|
+
fd, tmp = tempfile.mkstemp(dir=self._token_file.parent, prefix=".identity-")
|
|
268
|
+
try:
|
|
269
|
+
with os.fdopen(fd, "w", encoding="utf-8") as handle:
|
|
270
|
+
handle.write(token)
|
|
271
|
+
os.replace(tmp, self._token_file)
|
|
272
|
+
except BaseException:
|
|
273
|
+
with contextlib.suppress(OSError):
|
|
274
|
+
os.unlink(tmp)
|
|
275
|
+
raise
|
|
276
|
+
|
|
277
|
+
def _loop(self) -> None:
|
|
278
|
+
# wait() returns True only when stop() is set, so the loop exits cleanly
|
|
279
|
+
# on shutdown and otherwise re-writes the token every interval.
|
|
280
|
+
while not self._stop.wait(self._interval):
|
|
281
|
+
try:
|
|
282
|
+
self._write_token()
|
|
283
|
+
except (ProviderError, OSError) as exc:
|
|
284
|
+
# A transient metadata blip is survivable: the previous token is
|
|
285
|
+
# still on disk and valid for a while, so log and keep the loop
|
|
286
|
+
# alive to retry on the next tick rather than crashing the thread.
|
|
287
|
+
log.warning(
|
|
288
|
+
"Failed to refresh %s WIF identity token; "
|
|
289
|
+
"serving the previously written token: %s",
|
|
290
|
+
self._name,
|
|
291
|
+
exc,
|
|
292
|
+
)
|
|
293
|
+
continue
|
|
294
|
+
if self._name == WandbWifSettings.name:
|
|
295
|
+
_drop_weave_cached_access_token()
|
|
296
|
+
|
|
297
|
+
def start(self) -> None:
|
|
298
|
+
self._write_token()
|
|
299
|
+
self._thread.start()
|
|
300
|
+
|
|
301
|
+
def stop(self) -> None:
|
|
302
|
+
self._stop.set()
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
@contextlib.contextmanager
|
|
306
|
+
def configure(config: WifSettings) -> Iterator[None]:
|
|
307
|
+
"""Wire up WIF auth for ``config``'s provider client when the deploy enables it.
|
|
308
|
+
|
|
309
|
+
Does nothing in API-key mode. The token is refreshed until the context exits.
|
|
310
|
+
After that, the token file is kept so clients that send data on shutdown (like
|
|
311
|
+
Weave) can still use it.
|
|
312
|
+
"""
|
|
313
|
+
if not config.enabled:
|
|
314
|
+
yield
|
|
315
|
+
return
|
|
316
|
+
|
|
317
|
+
if config.api_key:
|
|
318
|
+
if config.api_key_shadows_wif:
|
|
319
|
+
log.error(
|
|
320
|
+
"A %s API key is set while Workload Identity Federation is "
|
|
321
|
+
"configured; the API key takes precedence and shadows WIF. Unset "
|
|
322
|
+
"it if you intend to authenticate via federation.",
|
|
323
|
+
config.name,
|
|
324
|
+
)
|
|
325
|
+
yield
|
|
326
|
+
return
|
|
327
|
+
log.warning(
|
|
328
|
+
"A %s API key is set while Workload Identity Federation is "
|
|
329
|
+
"configured; federation will be used instead. Unset it to keep a "
|
|
330
|
+
"long-lived key out of the container.",
|
|
331
|
+
config.name,
|
|
332
|
+
)
|
|
333
|
+
|
|
334
|
+
token_file = config.identity_token_file or _default_token_path(config.provider_id)
|
|
335
|
+
interval = config.identity_token_refresh_seconds
|
|
336
|
+
refresher = TokenFileRefresher(
|
|
337
|
+
token_file, interval, config.audience, config.provider_id, config.name
|
|
338
|
+
)
|
|
339
|
+
refresher.start()
|
|
340
|
+
try:
|
|
341
|
+
if not config.identity_token_file:
|
|
342
|
+
os.environ[config.token_file_env] = str(token_file)
|
|
343
|
+
config.identity_token_file = token_file
|
|
344
|
+
log.info(
|
|
345
|
+
"%s is not set. Using a temporary identity token file at %s",
|
|
346
|
+
config.token_file_env,
|
|
347
|
+
token_file,
|
|
348
|
+
)
|
|
349
|
+
log.info(
|
|
350
|
+
"%s auth: GCP Workload Identity Federation "
|
|
351
|
+
"(audience %s, identity token file %s, refresh every %ss)",
|
|
352
|
+
config.name,
|
|
353
|
+
config.audience,
|
|
354
|
+
token_file,
|
|
355
|
+
interval,
|
|
356
|
+
)
|
|
357
|
+
yield
|
|
358
|
+
finally:
|
|
359
|
+
refresher.stop()
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: hackbot-runtime
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Agent-side runtime for hackbot-api: signed-policy upload, summary contract, exception handling
|
|
5
|
+
Requires-Python: >=3.14
|
|
6
|
+
Requires-Dist: google-auth>=2.0.0
|
|
7
|
+
Requires-Dist: google-cloud-storage>=2.16.0
|
|
8
|
+
Requires-Dist: httpx>=0.26.0
|
|
9
|
+
Requires-Dist: moz-agent-tools
|
|
10
|
+
Requires-Dist: moz-phabricator-client
|
|
11
|
+
Requires-Dist: pydantic-settings>=2.1.0
|
|
12
|
+
Requires-Dist: requests>=2.32.0
|
|
13
|
+
Requires-Dist: sentry-sdk>=2.51.0
|
|
14
|
+
Requires-Dist: slack-sdk>=3.27.0
|
|
15
|
+
Requires-Dist: weave>=0.53.12
|
|
16
|
+
Provides-Extra: claude-sdk
|
|
17
|
+
Requires-Dist: claude-agent-sdk>=0.1.30; extra == 'claude-sdk'
|
|
18
|
+
Requires-Dist: moz-agent-tools[claude-sdk]; extra == 'claude-sdk'
|
|
19
|
+
Provides-Extra: codex-sdk
|
|
20
|
+
Requires-Dist: moz-agent-tools[mcp-server]; extra == 'codex-sdk'
|
|
21
|
+
Requires-Dist: openai-codex>=0.163.0; extra == 'codex-sdk'
|
|
22
|
+
Provides-Extra: mcp-server
|
|
23
|
+
Requires-Dist: moz-agent-tools[mcp-server]; extra == 'mcp-server'
|
|
24
|
+
Provides-Extra: phabricator
|
|
25
|
+
Requires-Dist: mozphab==2.15.3; extra == 'phabricator'
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
hackbot_runtime/__init__.py,sha256=hs8mL5oC7vUgTI9vgdE5zKXRT9b00U6DNAKPli6G_mM,804
|
|
2
|
+
hackbot_runtime/artifacts.py,sha256=sBMtQEl7g-DdB5HpZYPWZnvpfZU1EdgDTZ-vVusFS5w,2810
|
|
3
|
+
hackbot_runtime/changes.py,sha256=yF5N9AI_C0b-N2EYRg6uuZ1r9lCxVJtrUEVbxrLD3xs,16877
|
|
4
|
+
hackbot_runtime/claude.py,sha256=uucMU384dBAql6XrxQmyprQ0v4Ec6XMflgp44LNyMQE,3961
|
|
5
|
+
hackbot_runtime/codex.py,sha256=BT2rFwkzRIVc2T84xxKbYFWBcpkqBF0B4O_YguHajo0,14026
|
|
6
|
+
hackbot_runtime/config.py,sha256=qcm9oAmma2uuox-AZCT3FJI1y8Kca5-9W7znvVsNCnI,2928
|
|
7
|
+
hackbot_runtime/context.py,sha256=mfjM3VZwDSelex-f_BuWKiGCSM0Tk_8PFY7_fhzV5q4,16075
|
|
8
|
+
hackbot_runtime/errors.py,sha256=LS7wXuUEDXy1rHWOGiE9JQA__KshHe3-UDR3LDyVqGI,346
|
|
9
|
+
hackbot_runtime/providers.py,sha256=M9XCZiHpVzzBpTeL9sE929Jt0FlBL_K31iTOcJ18b8E,1352
|
|
10
|
+
hackbot_runtime/pull_request.py,sha256=pgH8z9k45n4RGAG7-KQfbDnz0dE49_Ry3ozm91if4xk,5527
|
|
11
|
+
hackbot_runtime/results.py,sha256=89WfDr9vQo9hRoWOr-ADL-U7ICe5IndIQchdXcmB-lE,386
|
|
12
|
+
hackbot_runtime/revision.py,sha256=PaIcrvrr_yvL3RObFtuRYTWL7BUDlZv8AwBkGUQswyU,9134
|
|
13
|
+
hackbot_runtime/runtime.py,sha256=rwb2_FoIjtmbji_4rOceKL7kI9vJrYs-7nCHpdHU12E,8314
|
|
14
|
+
hackbot_runtime/searchfox.py,sha256=kzNJWDz7n6Foyh_g9GKJhGISpuI5mrMeFTD3wu9s-jo,7522
|
|
15
|
+
hackbot_runtime/slack_kit.py,sha256=hgoKKm9KhSMdwSFkbGc2QtnLKLeL5Ycz3Vze79eRx-I,1676
|
|
16
|
+
hackbot_runtime/source.py,sha256=5eKPVtFZKyYvLI-mZF1smtPxOGkJFgB2O6jR5U68J-E,6700
|
|
17
|
+
hackbot_runtime/tracing.py,sha256=WnAhR5B3RoqYJhgxEGocOE82vpdbdtr2-1u7SrBAlF4,9481
|
|
18
|
+
hackbot_runtime/transcript.py,sha256=6NHeZchDD8mvoJcoHKZUMeKwZD7kzWxzbaRWUv5ALII,1911
|
|
19
|
+
hackbot_runtime/uploader.py,sha256=KvI1lAGTPCGVi0Vus0jBqiOVhiUyzyV6fe_gVtwOtDE,2799
|
|
20
|
+
hackbot_runtime/wif.py,sha256=mgAJqVVOwt4nEgUkhL3RZJ5AOg66JYLT-b_lUPTOzjk,13818
|
|
21
|
+
hackbot_runtime/actions/__init__.py,sha256=djX1vGQAfWAKBosm7zVDAhyK2qWMD5ewF2G2Y1Bcxy8,1031
|
|
22
|
+
hackbot_runtime/actions/action_records.py,sha256=-SrIZPFXizkzRODa3a1SVojxGemGr8SVi29phDB7_AA,1395
|
|
23
|
+
hackbot_runtime/actions/agents.py,sha256=rdn6y375UHFCNbMvXDDK2oVCmxuPzi8LgTgxOURp54g,1898
|
|
24
|
+
hackbot_runtime/actions/bugzilla.py,sha256=OnCACT0CuKwSLaoAlNSbzesZPefLNjjJ2bjQKXhYNIs,7580
|
|
25
|
+
hackbot_runtime/actions/claude_sdk.py,sha256=NPU-rIMmHJQGGcaPkKQKmW1qNMV1Z5LH7OR6fURXhiI,1835
|
|
26
|
+
hackbot_runtime/actions/email.py,sha256=SYFxdJMpSQ-NvTI5nLSmyWAz0ovU1l8zM4TTXEOEePY,4704
|
|
27
|
+
hackbot_runtime/actions/feedback.py,sha256=IJUwDJQAMy-onrKhzk9Nf2NHFiJZ7R5j4f3ydOpLZQY,1779
|
|
28
|
+
hackbot_runtime/actions/github.py,sha256=MKeIjEtFLeTdPZGm-Sd16sGAbbCJmJISfV_Z-lYB-WA,7067
|
|
29
|
+
hackbot_runtime/actions/mcp_server.py,sha256=buA_mGsqfwpr-YxiiAMnmVyFKjRgdyDkFCteFnMDTk0,1413
|
|
30
|
+
hackbot_runtime/actions/phabricator.py,sha256=_aFmgvLYB0al3Sm3Nr4D0nlBHSTh5v6GV6Ne2fj27sM,8426
|
|
31
|
+
hackbot_runtime/actions/recorder.py,sha256=00bZlzCDs6Urn_TNk32XcQLhJ-nXIi1Ty8cXHq6VhJk,5779
|
|
32
|
+
hackbot_runtime/actions/slack.py,sha256=Uh6fniEzjS5kSRpRM8ZYqS04LaLdy2_J56noYhwoW88,3119
|
|
33
|
+
hackbot_runtime/actions/testrail.py,sha256=tqpwGycU6_XMyAzJJBNxAKezwzqU688WG5CCdvTWTdg,6290
|
|
34
|
+
hackbot_runtime/actions/tools.py,sha256=HPhg1HjhDl4N7lqMT0VHLo76n4pnsH_cR-Zgz3VmmqE,1323
|
|
35
|
+
hackbot_runtime/actions/try_server.py,sha256=iLzDxLEs7KO5M6dOZ8aJi6rvAnAnmEgs_k3C9m46e-s,6264
|
|
36
|
+
hackbot_runtime-0.1.0.dist-info/METADATA,sha256=bYKTAs7NxL_BQFOwloys7Bc-VGgaFcmdiZdUrPehrGQ,1014
|
|
37
|
+
hackbot_runtime-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
38
|
+
hackbot_runtime-0.1.0.dist-info/RECORD,,
|