continuum-task-server-bundle 1.0.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.
- continuum_task_server_bundle/__init__.py +1 -0
- continuum_task_server_bundle/daytona/__init__.py +4 -0
- continuum_task_server_bundle/daytona/common.py +534 -0
- continuum_task_server_bundle/daytona/create_sandbox.py +166 -0
- continuum_task_server_bundle/daytona/dispatch.py +125 -0
- continuum_task_server_bundle/daytona/execute_sandbox.py +243 -0
- continuum_task_server_bundle/daytona/filesystem.py +330 -0
- continuum_task_server_bundle/daytona/fs_edit.py +127 -0
- continuum_task_server_bundle/daytona/git_ops.py +585 -0
- continuum_task_server_bundle/daytona/github_app.py +207 -0
- continuum_task_server_bundle/daytona/manage_sandbox.py +104 -0
- continuum_task_server_bundle/daytona/plugin.py +18 -0
- continuum_task_server_bundle/daytona/s3_transfer.py +207 -0
- continuum_task_server_bundle/discord/__init__.py +4 -0
- continuum_task_server_bundle/discord/attachment_registry_db.py +127 -0
- continuum_task_server_bundle/discord/attachment_resolve.py +213 -0
- continuum_task_server_bundle/discord/await_cleanup.py +105 -0
- continuum_task_server_bundle/discord/discord_ready.py +39 -0
- continuum_task_server_bundle/discord/message_await_apply.py +143 -0
- continuum_task_server_bundle/discord/message_await_db.py +197 -0
- continuum_task_server_bundle/discord/message_await_inbound.py +54 -0
- continuum_task_server_bundle/discord/message_await_logic.py +133 -0
- continuum_task_server_bundle/discord/message_await_poller.py +122 -0
- continuum_task_server_bundle/discord/message_chunking.py +45 -0
- continuum_task_server_bundle/discord/methods.py +408 -0
- continuum_task_server_bundle/discord/plugin.py +105 -0
- continuum_task_server_bundle/discord/reaction_await_apply.py +238 -0
- continuum_task_server_bundle/discord/reaction_await_db.py +174 -0
- continuum_task_server_bundle/discord/reaction_await_inbound.py +47 -0
- continuum_task_server_bundle/discord/reaction_await_logic.py +118 -0
- continuum_task_server_bundle/discord/reaction_await_poller.py +131 -0
- continuum_task_server_bundle/discord/s3_attachment_config.py +25 -0
- continuum_task_server_bundle/discord/s3_message_attachments.py +139 -0
- continuum_task_server_bundle/discord/sql/001_message_awaits.sql +112 -0
- continuum_task_server_bundle/discord/sql/002_reaction_awaits.sql +61 -0
- continuum_task_server_bundle/github/__init__.py +4 -0
- continuum_task_server_bundle/github/awaits/__init__.py +1 -0
- continuum_task_server_bundle/github/awaits/apply.py +92 -0
- continuum_task_server_bundle/github/awaits/cleanup.py +94 -0
- continuum_task_server_bundle/github/awaits/db.py +220 -0
- continuum_task_server_bundle/github/awaits/evaluators.py +325 -0
- continuum_task_server_bundle/github/awaits/fetch.py +192 -0
- continuum_task_server_bundle/github/awaits/poller.py +82 -0
- continuum_task_server_bundle/github/awaits/register.py +37 -0
- continuum_task_server_bundle/github/ci_status.py +70 -0
- continuum_task_server_bundle/github/comment_normalize.py +76 -0
- continuum_task_server_bundle/github/errors.py +52 -0
- continuum_task_server_bundle/github/github_app.py +291 -0
- continuum_task_server_bundle/github/github_http.py +377 -0
- continuum_task_server_bundle/github/methods/__init__.py +90 -0
- continuum_task_server_bundle/github/methods/_common.py +183 -0
- continuum_task_server_bundle/github/methods/awaits.py +107 -0
- continuum_task_server_bundle/github/methods/ci.py +158 -0
- continuum_task_server_bundle/github/methods/comments.py +214 -0
- continuum_task_server_bundle/github/methods/credentials.py +59 -0
- continuum_task_server_bundle/github/methods/issues.py +131 -0
- continuum_task_server_bundle/github/methods/pulls.py +329 -0
- continuum_task_server_bundle/github/methods/repos.py +424 -0
- continuum_task_server_bundle/github/methods/search.py +109 -0
- continuum_task_server_bundle/github/plugin.py +91 -0
- continuum_task_server_bundle/github/sql/001_github_awaits.sql +65 -0
- continuum_task_server_bundle/github/webhook_server.py +126 -0
- continuum_task_server_bundle/jira/__init__.py +4 -0
- continuum_task_server_bundle/jira/await_poller.py +236 -0
- continuum_task_server_bundle/jira/await_store.py +271 -0
- continuum_task_server_bundle/jira/config.py +68 -0
- continuum_task_server_bundle/jira/jira_client.py +382 -0
- continuum_task_server_bundle/jira/methods.py +246 -0
- continuum_task_server_bundle/jira/plugin.py +86 -0
- continuum_task_server_bundle/jira/sql/001_jira_issue_comment_waits.sql +19 -0
- continuum_task_server_bundle/jira/webhook.py +70 -0
- continuum_task_server_bundle/openrouter/__init__.py +4 -0
- continuum_task_server_bundle/openrouter/chat_service.py +1037 -0
- continuum_task_server_bundle/openrouter/chat_store.py +849 -0
- continuum_task_server_bundle/openrouter/environment.py +29 -0
- continuum_task_server_bundle/openrouter/handler.py +59 -0
- continuum_task_server_bundle/openrouter/image_context.py +207 -0
- continuum_task_server_bundle/openrouter/openrouter_client.py +324 -0
- continuum_task_server_bundle/openrouter/plugin.py +37 -0
- continuum_task_server_bundle/openrouter/prompt_projection.py +417 -0
- continuum_task_server_bundle/openrouter/sql/chat.sql +50 -0
- continuum_task_server_bundle/openrouter/sql/migrate_prune_then_chunk_v1.sql +11 -0
- continuum_task_server_bundle/roblox/__init__.py +4 -0
- continuum_task_server_bundle/roblox/open_cloud.py +335 -0
- continuum_task_server_bundle/roblox/plugin.py +30 -0
- continuum_task_server_bundle/roblox/storage_s3.py +55 -0
- continuum_task_server_bundle-1.0.0.dist-info/METADATA +109 -0
- continuum_task_server_bundle-1.0.0.dist-info/RECORD +90 -0
- continuum_task_server_bundle-1.0.0.dist-info/WHEEL +5 -0
- continuum_task_server_bundle-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
"""A deliberately small, allowlisted Open Cloud client and task dispatcher."""
|
|
2
|
+
import json
|
|
3
|
+
import os
|
|
4
|
+
import time
|
|
5
|
+
from urllib.parse import quote
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from continuum_task_server_bundle.roblox.storage_s3 import StorageError, put_entry, put_logs
|
|
10
|
+
|
|
11
|
+
BASE_URL = "https://apis.roblox.com"
|
|
12
|
+
MAX_RESPONSE_BYTES = 2 * 1024 * 1024
|
|
13
|
+
MAX_PREVIEW_RESPONSE_BYTES = 10 * 1024 * 1024
|
|
14
|
+
MAX_PREVIEW_CHARS = 10000 # Safety ceiling; the task definition sets the actual threshold.
|
|
15
|
+
MAX_WAIT_SECONDS = 3600
|
|
16
|
+
MAX_WAIT_PAGES = 20
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class TaskError(Exception):
|
|
20
|
+
def __init__(self, code, message):
|
|
21
|
+
self.code, self.message = code, message
|
|
22
|
+
super().__init__(message)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def require_object(value, name):
|
|
26
|
+
if not isinstance(value, dict):
|
|
27
|
+
raise TaskError("validation_error", f"{name} must be an object")
|
|
28
|
+
return value
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def text(data, key, required=True, max_length=1024):
|
|
32
|
+
value = data.get(key)
|
|
33
|
+
if value is None and not required:
|
|
34
|
+
return None
|
|
35
|
+
if not isinstance(value, str) or not value or len(value) > max_length or any(ord(c) < 32 or ord(c) == 127 for c in value):
|
|
36
|
+
raise TaskError("validation_error", f"{key} must be a nonempty string of at most {max_length} characters")
|
|
37
|
+
return value
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def number(data, key, default, minimum, maximum):
|
|
41
|
+
value = data.get(key, default)
|
|
42
|
+
if isinstance(value, bool) or not isinstance(value, int) or not minimum <= value <= maximum:
|
|
43
|
+
raise TaskError("validation_error", f"{key} must be an integer from {minimum} to {maximum}")
|
|
44
|
+
return value
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def numeric_id(data, key):
|
|
48
|
+
value = data.get(key)
|
|
49
|
+
if isinstance(value, bool) or not isinstance(value, (str, int)):
|
|
50
|
+
raise TaskError("validation_error", f"{key} must be a positive numeric ID")
|
|
51
|
+
value = str(value)
|
|
52
|
+
if len(value) > 19 or not value.isascii() or not value.isdigit() or not (0 < int(value) <= 9223372036854775807):
|
|
53
|
+
raise TaskError("validation_error", f"{key} must be a positive numeric ID")
|
|
54
|
+
return str(int(value))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def segment(value):
|
|
58
|
+
if value in (".", "..") or "/" in value or "\\" in value:
|
|
59
|
+
raise TaskError("validation_error", "path identifiers cannot contain slashes or dot segments")
|
|
60
|
+
return quote(value, safe="")
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class OpenCloud:
|
|
64
|
+
def __init__(self, api_key, allowed_universes=None, client=None, forbidden_universes=None):
|
|
65
|
+
if not api_key:
|
|
66
|
+
raise ValueError("ROBLOX_API_KEY is required")
|
|
67
|
+
self.allowed_universes = (
|
|
68
|
+
{numeric_id({"universe_id": x}, "universe_id") for x in allowed_universes}
|
|
69
|
+
if allowed_universes else None
|
|
70
|
+
)
|
|
71
|
+
self.forbidden_universes = {
|
|
72
|
+
numeric_id({"universe_id": x}, "universe_id") for x in (forbidden_universes or ())
|
|
73
|
+
}
|
|
74
|
+
self.client = client or httpx.Client(headers={"x-api-key": api_key}, follow_redirects=False)
|
|
75
|
+
|
|
76
|
+
def universe(self, data):
|
|
77
|
+
value = numeric_id(data, "universe_id")
|
|
78
|
+
if value in self.forbidden_universes:
|
|
79
|
+
raise TaskError("forbidden", "universe_id is not allowed by this worker")
|
|
80
|
+
if self.allowed_universes is not None and value not in self.allowed_universes:
|
|
81
|
+
raise TaskError("forbidden", "universe_id is not allowed by this worker")
|
|
82
|
+
return value
|
|
83
|
+
|
|
84
|
+
def request(self, method, path, params=None, body=None, timeout=15, preview_chars=None, preview_kind="entry"):
|
|
85
|
+
# The host and all methods/paths are selected by code, never by queue input.
|
|
86
|
+
try:
|
|
87
|
+
with self.client.stream(method, BASE_URL + path, params=params, json=body, timeout=timeout, follow_redirects=False) as response:
|
|
88
|
+
status = response.status_code
|
|
89
|
+
if not 200 <= status < 300:
|
|
90
|
+
code = {400: "validation_error", 401: "unauthorized", 403: "forbidden", 404: "not_found", 429: "rate_limited"}.get(status, "roblox_error")
|
|
91
|
+
suffix = "; restart outcome may be unknown; inspect statuses before retrying" if method == "POST" else ""
|
|
92
|
+
raise TaskError(code, f"Roblox Open Cloud returned HTTP {status}" + suffix)
|
|
93
|
+
content = bytearray()
|
|
94
|
+
limit = MAX_PREVIEW_RESPONSE_BYTES if preview_chars is not None else MAX_RESPONSE_BYTES
|
|
95
|
+
for chunk in response.iter_bytes():
|
|
96
|
+
content.extend(chunk)
|
|
97
|
+
if len(content) > limit:
|
|
98
|
+
raise TaskError("limit_exceeded", f"Roblox response exceeds the {limit}-byte limit")
|
|
99
|
+
try:
|
|
100
|
+
result = json.loads(content)
|
|
101
|
+
except (ValueError, UnicodeDecodeError):
|
|
102
|
+
raise TaskError("invalid_response", "Roblox returned invalid JSON") from None
|
|
103
|
+
if not isinstance(result, dict):
|
|
104
|
+
raise TaskError("invalid_response", "Roblox returned a non-object response")
|
|
105
|
+
if preview_chars is not None:
|
|
106
|
+
try:
|
|
107
|
+
content_text = content.decode("utf-8")
|
|
108
|
+
except UnicodeDecodeError:
|
|
109
|
+
raise TaskError("invalid_response", "Roblox response is not UTF-8") from None
|
|
110
|
+
truncated = len(content_text) > preview_chars
|
|
111
|
+
preview = {"preview": content_text[:preview_chars], "truncated": truncated,
|
|
112
|
+
"bytes": len(content), "content_type": "application/json"}
|
|
113
|
+
if truncated:
|
|
114
|
+
try:
|
|
115
|
+
upload = {"entry": put_entry, "logs": put_logs}[preview_kind]
|
|
116
|
+
preview["s3_uri"] = upload(bytes(content))
|
|
117
|
+
except StorageError as exc:
|
|
118
|
+
raise TaskError(exc.code, exc.message) from None
|
|
119
|
+
return preview
|
|
120
|
+
return result
|
|
121
|
+
except httpx.TimeoutException:
|
|
122
|
+
suffix = "; restart outcome is unknown; inspect statuses before retrying" if method == "POST" else ""
|
|
123
|
+
raise TaskError("timeout", "Roblox request timed out" + suffix) from None
|
|
124
|
+
except httpx.HTTPError:
|
|
125
|
+
suffix = "; restart outcome is unknown; inspect statuses before retrying" if method == "POST" else ""
|
|
126
|
+
raise TaskError("network_error", "Roblox request failed" + suffix) from None
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
# method -> (path suffix, required path fields, optional query fields, page size maximum)
|
|
130
|
+
STORAGE = {
|
|
131
|
+
"list_data_stores": ("data-stores", (), ("page_token", "filter", "show_deleted"), 100),
|
|
132
|
+
"list_data_store_entries": ("data-stores/{data_store_id}/entries", ("data_store_id",), ("page_token", "filter", "show_deleted"), 256),
|
|
133
|
+
"get_data_store_entry": ("data-stores/{data_store_id}/entries/{entry_id}", ("data_store_id", "entry_id"), (), None),
|
|
134
|
+
"list_data_store_entry_revisions": ("data-stores/{data_store_id}/entries/{entry_id}:listRevisions", ("data_store_id", "entry_id"), ("page_token", "filter"), 100),
|
|
135
|
+
"list_ordered_data_store_entries": ("ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries", ("ordered_data_store_id", "scope_id"), ("page_token", "filter", "order_by"), 100),
|
|
136
|
+
"get_ordered_data_store_entry": ("ordered-data-stores/{ordered_data_store_id}/scopes/{scope_id}/entries/{entry_id}", ("ordered_data_store_id", "scope_id", "entry_id"), (), None),
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def query(data, fields, maximum=None, server=False):
|
|
141
|
+
result = {}
|
|
142
|
+
aliases = {"page_token": "PageToken" if server else "pageToken", "order_by": "OrderBy" if server else "orderBy", "filter": "Filter" if server else "filter", "show_deleted": "showDeleted"}
|
|
143
|
+
for field in fields:
|
|
144
|
+
if field not in data or data[field] is None:
|
|
145
|
+
continue
|
|
146
|
+
if field == "show_deleted":
|
|
147
|
+
if not isinstance(data[field], bool):
|
|
148
|
+
raise TaskError("validation_error", "show_deleted must be a boolean")
|
|
149
|
+
result[aliases[field]] = str(data[field]).lower()
|
|
150
|
+
else:
|
|
151
|
+
result[aliases[field]] = text(data, field, max_length=4096)
|
|
152
|
+
if maximum is not None and "max_page_size" in data:
|
|
153
|
+
result["MaxPageSize" if server else "maxPageSize"] = number(data, "max_page_size", 25, 1, maximum)
|
|
154
|
+
return result
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def only(data, fields):
|
|
158
|
+
extra = set(data) - set(fields)
|
|
159
|
+
if extra:
|
|
160
|
+
raise TaskError("validation_error", "Unexpected input field: " + sorted(extra)[0])
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
def server_path(data, universe):
|
|
164
|
+
place = numeric_id(data, "place_id")
|
|
165
|
+
version = segment(text(data, "place_version", max_length=128))
|
|
166
|
+
return f"/server-management/v1/universes/{universe}/places/{place}/versions/{version}/game-servers"
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def restart_body(data):
|
|
170
|
+
if data.get("confirm") is not True:
|
|
171
|
+
raise TaskError("validation_error", "confirm must be true for a restart")
|
|
172
|
+
body = {}
|
|
173
|
+
if "bleed_off_duration_minutes" in data:
|
|
174
|
+
body["bleedOffDurationMinutes"] = number(data, "bleed_off_duration_minutes", 1, 1, 240)
|
|
175
|
+
if "places" in data:
|
|
176
|
+
places = require_object(data["places"], "places")
|
|
177
|
+
if not places or len(places) > 100:
|
|
178
|
+
raise TaskError("validation_error", "places must contain 1 to 100 place filters; omit for all places")
|
|
179
|
+
converted = {}
|
|
180
|
+
for key, value in places.items():
|
|
181
|
+
pid = numeric_id({"place_id": key}, "place_id")
|
|
182
|
+
value = require_object(value, "place filter")
|
|
183
|
+
only(value, ("versions", "excludeCurrentVersion"))
|
|
184
|
+
if "versions" in value:
|
|
185
|
+
versions = value["versions"]
|
|
186
|
+
if not isinstance(versions, list) or not versions or len(versions) > 100 or any(isinstance(v, bool) or not isinstance(v, int) or v < 1 or v > 2147483647 for v in versions):
|
|
187
|
+
raise TaskError("validation_error", "versions must be 1 to 100 positive integers")
|
|
188
|
+
if "excludeCurrentVersion" in value:
|
|
189
|
+
raise TaskError("validation_error", "versions and excludeCurrentVersion are mutually exclusive")
|
|
190
|
+
if "excludeCurrentVersion" in value and not isinstance(value["excludeCurrentVersion"], bool):
|
|
191
|
+
raise TaskError("validation_error", "excludeCurrentVersion must be a boolean")
|
|
192
|
+
converted[pid] = value
|
|
193
|
+
body["places"] = converted
|
|
194
|
+
if "attributes" in data:
|
|
195
|
+
attributes = require_object(data["attributes"], "attributes")
|
|
196
|
+
try:
|
|
197
|
+
size = len(json.dumps(attributes, ensure_ascii=False, separators=(",", ":"), allow_nan=False).encode("utf-8"))
|
|
198
|
+
except (TypeError, ValueError):
|
|
199
|
+
raise TaskError("validation_error", "attributes must be JSON serializable") from None
|
|
200
|
+
if size > 500:
|
|
201
|
+
raise TaskError("validation_error", "attributes must be at most 500 UTF-8 bytes")
|
|
202
|
+
body["attributes"] = attributes
|
|
203
|
+
return body
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
def wait_server(cloud, method, data, path, clock=time.monotonic, sleep=time.sleep):
|
|
207
|
+
timeout = number(data, "timeout_seconds", 600, 1, MAX_WAIT_SECONDS)
|
|
208
|
+
interval = number(data, "poll_interval_seconds", 10, 5, 300)
|
|
209
|
+
if method == "wait_for_game_server_end":
|
|
210
|
+
job_id = text(data, "job_id", max_length=128)
|
|
211
|
+
else:
|
|
212
|
+
job_id = None
|
|
213
|
+
player_id = numeric_id(data, "player_id") if data.get("player_id") is not None else None
|
|
214
|
+
excluded = data.get("exclude_job_ids", [])
|
|
215
|
+
if not isinstance(excluded, list) or len(excluded) > 100 or any(not isinstance(x, str) or not x or len(x) > 128 for x in excluded):
|
|
216
|
+
raise TaskError("validation_error", "exclude_job_ids must be a list of up to 100 job IDs")
|
|
217
|
+
deadline = clock() + timeout
|
|
218
|
+
polls = 0
|
|
219
|
+
while clock() < deadline:
|
|
220
|
+
token = None
|
|
221
|
+
seen = set()
|
|
222
|
+
for _ in range(MAX_WAIT_PAGES):
|
|
223
|
+
remaining = deadline - clock()
|
|
224
|
+
if remaining <= 0:
|
|
225
|
+
raise TaskError("timeout", "Timed out waiting for a game server")
|
|
226
|
+
params = {"MaxPageSize": 100}
|
|
227
|
+
if token:
|
|
228
|
+
params["PageToken"] = token
|
|
229
|
+
result = cloud.request("GET", path, params=params, timeout=min(15, remaining))
|
|
230
|
+
if result.get("activeServersFetchError") or result.get("shutdownServersFetchError"):
|
|
231
|
+
raise TaskError("partial_result", "Roblox returned a partial game server listing; cannot safely determine server state")
|
|
232
|
+
rows = result.get("gameServers")
|
|
233
|
+
if rows is None:
|
|
234
|
+
rows = []
|
|
235
|
+
if not isinstance(rows, list):
|
|
236
|
+
raise TaskError("invalid_response", "Invalid gameServers response")
|
|
237
|
+
for row in rows:
|
|
238
|
+
if not isinstance(row, dict):
|
|
239
|
+
raise TaskError("invalid_response", "Invalid game server row")
|
|
240
|
+
rid = row.get("jobId")
|
|
241
|
+
if not isinstance(rid, str) or not rid:
|
|
242
|
+
continue
|
|
243
|
+
if method == "wait_for_game_server_start":
|
|
244
|
+
players = row.get("playerIds")
|
|
245
|
+
if row.get("shutDown") is False and rid not in excluded and (player_id is None or isinstance(players, list) and any(str(p) == player_id for p in players)):
|
|
246
|
+
return {"server": row, "polls": polls + 1}
|
|
247
|
+
elif rid == job_id and row.get("shutDown") is True:
|
|
248
|
+
return {"server": row, "polls": polls + 1}
|
|
249
|
+
token = result.get("nextPageToken")
|
|
250
|
+
if not token:
|
|
251
|
+
break
|
|
252
|
+
if not isinstance(token, str) or token in seen:
|
|
253
|
+
raise TaskError("invalid_response", "Invalid or repeated game server page token")
|
|
254
|
+
seen.add(token)
|
|
255
|
+
else:
|
|
256
|
+
raise TaskError("limit_exceeded", "Game server listing exceeded the wait page limit")
|
|
257
|
+
polls += 1
|
|
258
|
+
remaining = deadline - clock()
|
|
259
|
+
if remaining > 0:
|
|
260
|
+
sleep(min(interval, remaining))
|
|
261
|
+
raise TaskError("timeout", "Timed out waiting for a game server")
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
def dispatch(cloud, definition, data):
|
|
265
|
+
try:
|
|
266
|
+
require_object(definition, "item_definition_json")
|
|
267
|
+
require_object(data, "input_data_json")
|
|
268
|
+
method = definition.get("method")
|
|
269
|
+
known = set(STORAGE) | {"list_game_servers", "list_game_server_logs", "get_game_server_filter_options", "list_restart_statuses", "forecast_restart", "launch_restart", "wait_for_game_server_start", "wait_for_game_server_end"}
|
|
270
|
+
if method not in known:
|
|
271
|
+
raise TaskError("method_not_found", "Unknown Roblox task method")
|
|
272
|
+
universe = cloud.universe(data)
|
|
273
|
+
common = {"universe_id"}
|
|
274
|
+
if method in STORAGE:
|
|
275
|
+
suffix, required, fields, maximum = STORAGE[method]
|
|
276
|
+
scoped = method in {"list_data_store_entries", "get_data_store_entry", "list_data_store_entry_revisions"}
|
|
277
|
+
allowed = common | set(required) | set(fields) | ({"max_page_size"} if maximum else set()) | ({"scope_id"} if scoped else set())
|
|
278
|
+
only(data, allowed)
|
|
279
|
+
values = {key: segment(text(data, key)) for key in required}
|
|
280
|
+
if scoped and data.get("scope_id") is not None:
|
|
281
|
+
scope = segment(text(data, "scope_id"))
|
|
282
|
+
suffix = suffix.replace("/entries", f"/scopes/{scope}/entries", 1)
|
|
283
|
+
path = f"/cloud/v2/universes/{universe}/" + suffix.format(**values)
|
|
284
|
+
if method == "get_data_store_entry":
|
|
285
|
+
# The item definition, never the queue input, controls context size.
|
|
286
|
+
limit = number(definition, "max_inline_chars", None, 1, MAX_PREVIEW_CHARS)
|
|
287
|
+
result = cloud.request("GET", path, params=query(data, fields, maximum), preview_chars=limit)
|
|
288
|
+
else:
|
|
289
|
+
result = cloud.request("GET", path, params=query(data, fields, maximum))
|
|
290
|
+
elif method in {"list_game_servers", "list_game_server_logs"}:
|
|
291
|
+
only(data, common | {"place_id", "place_version", "max_page_size", "page_token", "filter", "order_by"} | ({"job_id"} if method.endswith("logs") else set()))
|
|
292
|
+
path = server_path(data, universe)
|
|
293
|
+
if method.endswith("logs"):
|
|
294
|
+
path += "/" + segment(text(data, "job_id", max_length=128)) + "/logs"
|
|
295
|
+
limit = number(definition, "max_inline_chars", None, 1, MAX_PREVIEW_CHARS)
|
|
296
|
+
result = cloud.request("GET", path, params=query(data, ("page_token", "filter", "order_by"), 100, True), preview_chars=limit, preview_kind="logs")
|
|
297
|
+
else:
|
|
298
|
+
result = cloud.request("GET", path, params=query(data, ("page_token", "filter", "order_by"), 100, True))
|
|
299
|
+
elif method == "get_game_server_filter_options":
|
|
300
|
+
only(data, common | {"place_id", "filter"})
|
|
301
|
+
place = numeric_id(data, "place_id")
|
|
302
|
+
result = cloud.request("GET", f"/server-management/v1/universes/{universe}/places/{place}/game-servers:filter-options", params=query(data, ("filter",), server=True))
|
|
303
|
+
elif method in {"wait_for_game_server_start", "wait_for_game_server_end"}:
|
|
304
|
+
only(data, common | {"place_id", "place_version", "timeout_seconds", "poll_interval_seconds"} | ({"player_id", "exclude_job_ids"} if method.endswith("start") else {"job_id"}))
|
|
305
|
+
result = wait_server(cloud, method, data, server_path(data, universe))
|
|
306
|
+
else:
|
|
307
|
+
path = f"/server-management/v1/universes/{universe}/restarts"
|
|
308
|
+
if method == "launch_restart":
|
|
309
|
+
only(data, common | {"confirm", "bleed_off_duration_minutes", "places", "attributes"})
|
|
310
|
+
result = cloud.request("POST", path, body=restart_body(data))
|
|
311
|
+
else:
|
|
312
|
+
only(data, common)
|
|
313
|
+
result = cloud.request("GET", path + (":forecast" if method == "forecast_restart" else ""))
|
|
314
|
+
return {"success": True, "data": result}
|
|
315
|
+
except TaskError as exc:
|
|
316
|
+
return {"success": False, "error": {"code": exc.code, "message": exc.message}}
|
|
317
|
+
except Exception:
|
|
318
|
+
# Never echo unexpected exception text: it can contain credentials or player data.
|
|
319
|
+
return {"success": False, "error": {"code": "internal_error", "message": "Unexpected Roblox task server error"}}
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
def universe_ids_from_environment(name):
|
|
323
|
+
raw = os.getenv(name, "").strip()
|
|
324
|
+
if not raw:
|
|
325
|
+
return None
|
|
326
|
+
try:
|
|
327
|
+
return [numeric_id({"universe_id": x.strip()}, "universe_id") for x in raw.split(",")]
|
|
328
|
+
except TaskError as exc:
|
|
329
|
+
raise ValueError(f"{name} must contain comma-separated positive numeric IDs") from exc
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
def from_environment():
|
|
333
|
+
allowed = universe_ids_from_environment("ROBLOX_ALLOWED_UNIVERSE_IDS")
|
|
334
|
+
forbidden = universe_ids_from_environment("ROBLOX_FORBIDDEN_UNIVERSE_IDS")
|
|
335
|
+
return OpenCloud(os.getenv("ROBLOX_API_KEY"), allowed, forbidden_universes=forbidden)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Register Roblox Open Cloud task handlers."""
|
|
2
|
+
from os import getenv
|
|
3
|
+
from .open_cloud import dispatch, from_environment
|
|
4
|
+
|
|
5
|
+
_WAIT_METHODS = {"wait_for_game_server_start", "wait_for_game_server_end"}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def _positive(name, default):
|
|
9
|
+
value = int(getenv(name, str(default)))
|
|
10
|
+
if value < 1:
|
|
11
|
+
raise ValueError(f"{name} must be positive")
|
|
12
|
+
return value
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def register_roblox(host, *, concurrency=None, wait_concurrency=None, cloud=None):
|
|
16
|
+
concurrency = _positive("ROBLOX_TASK_CONCURRENCY", 8) if concurrency is None else concurrency
|
|
17
|
+
wait_concurrency = _positive("ROBLOX_WAIT_CONCURRENCY", 8) if wait_concurrency is None else wait_concurrency
|
|
18
|
+
cloud = from_environment() if cloud is None else cloud
|
|
19
|
+
server = host.server
|
|
20
|
+
|
|
21
|
+
def handle(item, waits):
|
|
22
|
+
version = server.client.task_items.versions.get_by_id(item.task_item_version_id)
|
|
23
|
+
definition = version.item_definition_json or {}
|
|
24
|
+
method = definition.get("method") if isinstance(definition, dict) else None
|
|
25
|
+
if isinstance(method, str) and ((method in _WAIT_METHODS) != waits):
|
|
26
|
+
return {"success": False, "error": {"code": "validation_error", "message": "Task method is assigned to the wrong task type"}}
|
|
27
|
+
return dispatch(cloud, definition, item.input_data_json)
|
|
28
|
+
|
|
29
|
+
server.register("roblox", lambda item: handle(item, False), concurrency=concurrency)
|
|
30
|
+
server.register("roblox_wait", lambda item: handle(item, True), concurrency=wait_concurrency)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""Store oversized Roblox JSON responses in the deployment's S3 bucket."""
|
|
2
|
+
import os
|
|
3
|
+
import re
|
|
4
|
+
from uuid import uuid4
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class StorageError(Exception):
|
|
8
|
+
def __init__(self, code, message):
|
|
9
|
+
self.code = code
|
|
10
|
+
self.message = message
|
|
11
|
+
super().__init__(message)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def location(kind="entry"):
|
|
15
|
+
# Only internal callers select among these fixed subdirectories.
|
|
16
|
+
subdirectory = {"entry": "roblox-data-store-entries", "logs": "roblox-game-server-logs"}[kind]
|
|
17
|
+
bucket = (os.getenv("S3_BUCKET") or "").strip()
|
|
18
|
+
if not bucket:
|
|
19
|
+
raise StorageError("s3_not_configured", "S3_BUCKET is required to store an oversized Roblox response")
|
|
20
|
+
if not 3 <= len(bucket) <= 63 or not re.fullmatch(r"[a-z0-9][a-z0-9.-]*[a-z0-9]", bucket) or ".." in bucket:
|
|
21
|
+
raise StorageError("s3_not_configured", "S3_BUCKET must be a valid bucket name")
|
|
22
|
+
prefix = (os.getenv("S3_PREFIX") or "").strip().strip("/")
|
|
23
|
+
if prefix and (not re.fullmatch(r"[a-zA-Z0-9._/-]+", prefix) or any(part in {"", ".", ".."} for part in prefix.split("/"))):
|
|
24
|
+
raise StorageError("s3_not_configured", "S3_PREFIX must contain safe relative path segments")
|
|
25
|
+
key = "/".join(part for part in (prefix, subdirectory, f"{uuid4()}.json") if part)
|
|
26
|
+
return bucket, key
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def put_response(content: bytes, kind: str) -> str:
|
|
30
|
+
bucket, key = location(kind)
|
|
31
|
+
try:
|
|
32
|
+
import boto3
|
|
33
|
+
from botocore.config import Config
|
|
34
|
+
|
|
35
|
+
kwargs = {"config": Config(connect_timeout=5, read_timeout=30, retries={"max_attempts": 1})}
|
|
36
|
+
region = os.getenv("AWS_REGION") or os.getenv("AWS_DEFAULT_REGION")
|
|
37
|
+
endpoint = os.getenv("S3_ENDPOINT_URL")
|
|
38
|
+
if region:
|
|
39
|
+
kwargs["region_name"] = region
|
|
40
|
+
if endpoint:
|
|
41
|
+
kwargs["endpoint_url"] = endpoint
|
|
42
|
+
client = boto3.client("s3", **kwargs)
|
|
43
|
+
client.put_object(Bucket=bucket, Key=key, Body=content, ContentType="application/json")
|
|
44
|
+
except Exception:
|
|
45
|
+
# Do not leak SDK errors, credentials, or response contents into queue results.
|
|
46
|
+
raise StorageError("s3_error", "Unable to store the full Roblox response in S3") from None
|
|
47
|
+
return f"s3://{bucket}/{key}"
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def put_entry(content: bytes) -> str:
|
|
51
|
+
return put_response(content, "entry")
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def put_logs(content: bytes) -> str:
|
|
55
|
+
return put_response(content, "logs")
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: continuum-task-server-bundle
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Composable Python integrations for Continuum task-server hosts
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: continuum-task-server-sdk<2,>=1.8.0
|
|
8
|
+
Provides-Extra: openrouter
|
|
9
|
+
Requires-Dist: httpx<1,>=0.27; extra == "openrouter"
|
|
10
|
+
Requires-Dist: psycopg[binary,pool]<4,>=3.2; extra == "openrouter"
|
|
11
|
+
Requires-Dist: boto3<2,>=1.34; extra == "openrouter"
|
|
12
|
+
Requires-Dist: Pillow<14,>=11; extra == "openrouter"
|
|
13
|
+
Provides-Extra: daytona
|
|
14
|
+
Requires-Dist: daytona==0.214.0; extra == "daytona"
|
|
15
|
+
Requires-Dist: boto3<2,>=1.34; extra == "daytona"
|
|
16
|
+
Requires-Dist: PyJWT<3,>=2.8; extra == "daytona"
|
|
17
|
+
Requires-Dist: cryptography<47,>=42; extra == "daytona"
|
|
18
|
+
Provides-Extra: discord
|
|
19
|
+
Requires-Dist: discord.py<3,>=2; extra == "discord"
|
|
20
|
+
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "discord"
|
|
21
|
+
Requires-Dist: boto3<2,>=1.34; extra == "discord"
|
|
22
|
+
Provides-Extra: github
|
|
23
|
+
Requires-Dist: httpx<1,>=0.27; extra == "github"
|
|
24
|
+
Requires-Dist: PyJWT[crypto]<3,>=2.8; extra == "github"
|
|
25
|
+
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "github"
|
|
26
|
+
Requires-Dist: starlette<2,>=0.37; extra == "github"
|
|
27
|
+
Requires-Dist: uvicorn<1,>=0.29; extra == "github"
|
|
28
|
+
Provides-Extra: jira
|
|
29
|
+
Requires-Dist: Flask<4,>=3; extra == "jira"
|
|
30
|
+
Requires-Dist: httpx<1,>=0.27; extra == "jira"
|
|
31
|
+
Requires-Dist: psycopg[binary]<4,>=3.2; extra == "jira"
|
|
32
|
+
Requires-Dist: waitress<4,>=3; extra == "jira"
|
|
33
|
+
Provides-Extra: roblox
|
|
34
|
+
Requires-Dist: httpx==0.28.1; extra == "roblox"
|
|
35
|
+
Requires-Dist: boto3<2,>=1.34; extra == "roblox"
|
|
36
|
+
Provides-Extra: test
|
|
37
|
+
Requires-Dist: pytest>=8; extra == "test"
|
|
38
|
+
Requires-Dist: respx<1,>=0.21; extra == "test"
|
|
39
|
+
|
|
40
|
+
# Continuum task server bundle
|
|
41
|
+
|
|
42
|
+
Composable Python task integrations for an SDK `TaskServerHost`. One distribution provides OpenRouter, Daytona, Discord, GitHub, Jira and Roblox. Installing the bundle does **not** register any task or run any server: the application explicitly chooses integrations. The stateful ECS worker launcher is not part of this bundle.
|
|
43
|
+
|
|
44
|
+
## Install and compose
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
pip install 'continuum-task-server-bundle[openrouter,discord]'
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
import os
|
|
52
|
+
from continuum_task_server import TaskServer, TaskServerHost
|
|
53
|
+
from continuum_task_server_bundle.openrouter import register_openrouter
|
|
54
|
+
from continuum_task_server_bundle.discord import register_discord
|
|
55
|
+
|
|
56
|
+
server = TaskServer(
|
|
57
|
+
base_url=os.environ["CONTINUUM_URL"],
|
|
58
|
+
api_key=os.environ["CONTINUUM_API_KEY"],
|
|
59
|
+
transport=os.getenv("CONTINUUM_TRANSPORT", "http"),
|
|
60
|
+
layer=os.environ["CONTINUUM_LAYER"], # select explicitly
|
|
61
|
+
max_workers=16,
|
|
62
|
+
)
|
|
63
|
+
host = TaskServerHost(server)
|
|
64
|
+
register_openrouter(host, env_prefix="OPENROUTER_")
|
|
65
|
+
register_discord(host)
|
|
66
|
+
host.run()
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Import `register_daytona`, `register_github`, `register_jira` or `register_roblox` from the corresponding integration module in the same way. Install the matching extras: `daytona`, `discord`, `github`, `jira`, `openrouter`, `roblox`. Each integration has independent dependencies; combinations must resolve together. No plugin is enabled from environment automatically. The application owns the SDK server, its Continuum credentials, worker pool, layer, transport, and shutdown. Size the shared worker pool for *all* registrations; `roblox` and `roblox_wait` default to 8 slots each. Different deployments can register different plugins with separately scoped credentials. The host starts and stops background services but does not supervise or restart them if a gateway, webhook, or poller exits after startup; use external health monitoring and restart policies.
|
|
70
|
+
|
|
71
|
+
## Configuration and operational notes
|
|
72
|
+
|
|
73
|
+
These adapters retain the existing integration environment settings. Configuration/secret injection is the application's responsibility. Never commit secrets. Unless noted, AWS SDKs use their normal credential chain; prefer scoped instance/task roles to static keys. Many settings are shared process-wide: using separate processes may be necessary for different `DATABASE_URL`, AWS identity, or GitHub App credentials. Registration functions are not a security boundary.
|
|
74
|
+
|
|
75
|
+
- **OpenRouter**: `OPENROUTER_API_KEY`; optional stored chat via `CHAT_DATABASE_URL` and `CHAT_RETENTION_DAYS`; image references via `IMAGE_S3_BUCKET` and `IMAGE_S3_PREFIX`. The `env_prefix` argument defaults to `""` and is prepended literally to OpenRouter-owned settings (so `env_prefix="OPENROUTER_"` yields `OPENROUTER_OPENROUTER_API_KEY` and `OPENROUTER_CHAT_DATABASE_URL`). SQL files for stored chats are packaged under `openrouter/sql`.
|
|
76
|
+
- **Daytona**: `DAYTONA_API_KEY`, `DAYTONA_API_URL`, optional `DAYTONA_TASK_CONCURRENCY`, GitHub App credentials for Git operations and S3 settings for transfers. Call `register_daytona(host, client=...)` to provide an existing Daytona client when needed.
|
|
77
|
+
- **Discord**: `DISCORD_TOKEN`; `DATABASE_URL` and the packaged `discord/sql` migrations are needed for durable waits. Optional S3 attachment settings use `S3_ATTACHMENTS_BUCKET` and `S3_ATTACHMENTS_PREFIX`. Its gateway and wait poller start and stop with the host.
|
|
78
|
+
- **GitHub**: `GITHUB_APP_ID` and `GITHUB_APP_PRIVATE_KEY` or `GITHUB_APP_PRIVATE_KEY_PATH`; `DATABASE_URL` and `github/sql` for durable waits. The webhook is optional (`GITHUB_WEBHOOK_SECRET`); configure `GITHUB_WEBHOOK_HOST` and `GITHUB_WEBHOOK_PORT` when used. Polling runs without a webhook.
|
|
79
|
+
- **Jira**: `JIRA_BASE_URL`, `DATABASE_URL`, and either `STARSTREAM_JIRA_BASIC_AUTH`, `JIRA_BASIC_AUTH`, or `JIRA_EMAIL` with `JIRA_API_TOKEN`. Apply the packaged `jira/sql` migration first. Optional `JIRA_WEBHOOK_SECRET`; receiver settings `JIRA_WEBHOOK_HOST` and `JIRA_WEBHOOK_PORT`. The host's server owns Continuum settings. Polling works without webhook configuration.
|
|
80
|
+
- **Roblox**: `ROBLOX_API_KEY`; use `ROBLOX_ALLOWED_UNIVERSE_IDS` and `ROBLOX_FORBIDDEN_UNIVERSE_IDS` to restrict scope. `S3_BUCKET`/`S3_PREFIX` configure spillover for sensitive oversized results. Configure task-item method/preview policies and appropriate authorization before use; credentials and allowlists represent the service actor, not the requesting user.
|
|
81
|
+
|
|
82
|
+
For backward compatibility the GitHub and Jira webhook host/port settings fall back to `WEBHOOK_HOST`/`WEBHOOK_PORT`; when enabling both in one process set the integration-specific ports explicitly. Discord, GitHub and Jira use the legacy shared `DATABASE_URL` unless deployed separately. Review migrations carefully: the GitHub migration drops/recreates its table; never run it blindly against an existing database. Schemas are not applied automatically. See the existing integration documentation for detailed task methods, limits, permissions and environment variables.
|
|
83
|
+
|
|
84
|
+
## Transition and compatibility
|
|
85
|
+
|
|
86
|
+
Existing OpenRouter package and standalone image repositories remain untouched. The bundle uses a different Python module namespace, so it can coexist with `continuum-task-server-openrouter`; move imports to `continuum_task_server_bundle.openrouter` when adopting it. Do not register the same task twice on one host. No standalone images are removed or deprecated by this repository. Migrate, verify, and deploy integrations independently; a single process also shares failures and resource limits. The bundle itself is a library, not a deployment image.
|
|
87
|
+
|
|
88
|
+
## Development and publishing
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
python -m pip install '.[openrouter,daytona,discord,github,jira,roblox,test]' build
|
|
92
|
+
python -m pytest -q tests --import-mode=importlib
|
|
93
|
+
python -m pip check
|
|
94
|
+
python -m build
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
External services are mocked; database integration tests require an explicitly configured disposable test DB and are otherwise skipped. Live third-party operations and queue end-to-end behavior require separate isolated integration tests.
|
|
98
|
+
|
|
99
|
+
`VERSION` is the sole package version. Increase it to a new, stable PEP 440 version in **every PR** before merging to `main`: PyPI rejects overwriting an existing version. The staged `staged-workflows/publish.yml` tests the built wheel and publishes its distribution artifacts to PyPI on a main push without a tag. It is **inactive** until moved to `.github/workflows/publish.yml`, and requires a pending PyPI trusted publisher for owner `ContinuumWorkflow`, repository `continuum-task-server-bundle`, workflow `publish.yml`, environment `pypi`. Publication can fail due to credentials, already-published/partially uploaded versions, or an unavailable PyPI; monitor the workflow, and use a new version if a release cannot safely be completed. Configure branch protection/merge queue to require the version check on the current base: a manual `VERSION` file cannot guarantee unique versions across independently merged concurrent PRs.
|
|
100
|
+
|
|
101
|
+
## Migration provenance
|
|
102
|
+
|
|
103
|
+
Code and tests were adapted from ContinuumWorkflow repositories at these commits; integrations were namespaced and given host registration/lifecycle adapters:
|
|
104
|
+
- OpenRouter `b857c82381d5bc6c352d1e40b0194d8fa4d7d9de`
|
|
105
|
+
- Daytona `ede977c1d6374e7425d421fcfa36110e1a310d11`
|
|
106
|
+
- Discord `2565c744120e5745a16ba54cdf02f49dcc0ba563`
|
|
107
|
+
- GitHub `3f7595d83475a9fd59d51fcb3e520e7d7c5ddd68`
|
|
108
|
+
- Jira `d9d7a1d97c01d0567090b71ffe01f9f3e2848ee3`
|
|
109
|
+
- Roblox `a9274babcdb16b55cd0144799776c79fc3f87431`
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
continuum_task_server_bundle/__init__.py,sha256=Tnx3w_9uH6n7pak9KIpyiJ3oWuDZ5k11ayeUvdyIhus,53
|
|
2
|
+
continuum_task_server_bundle/daytona/__init__.py,sha256=Ug1nCS8jJcAUlwhuB40f2zy16-ghhIVIEILlCAji6jw,96
|
|
3
|
+
continuum_task_server_bundle/daytona/common.py,sha256=_AEPcNYoWSPGcKoDdZKjDZv5vwb6lMjqPBcwj52uA24,16365
|
|
4
|
+
continuum_task_server_bundle/daytona/create_sandbox.py,sha256=fMR34QXRbJfpu2ff--7ahvN1qI6QtzZO_6vOmCbmBME,6193
|
|
5
|
+
continuum_task_server_bundle/daytona/dispatch.py,sha256=xOmWmPUaGF9n7oDlbVaf_Tef1p2P6UjL7FRFAOLvfUk,3648
|
|
6
|
+
continuum_task_server_bundle/daytona/execute_sandbox.py,sha256=wayWRzuFP3MFGjzdaRgg0r8BtbCRpCEWcQF2s4nur6g,8623
|
|
7
|
+
continuum_task_server_bundle/daytona/filesystem.py,sha256=GMvNxaIA3XS6YFPuFggDN12zVMXs6tZDyGq8kb_vO-0,12315
|
|
8
|
+
continuum_task_server_bundle/daytona/fs_edit.py,sha256=_x5vciNUndgWINl2fw_fj7ufxGUBxdWGOb2v7_VPGLE,6117
|
|
9
|
+
continuum_task_server_bundle/daytona/git_ops.py,sha256=e2U9isxspUxb10hNlydGuAWQkk6dlhxa15rO0JDNnrs,19674
|
|
10
|
+
continuum_task_server_bundle/daytona/github_app.py,sha256=uAGehK9_MwHDcedxs_lg27aIbX2IjlL8A-Qtg_5OexU,6248
|
|
11
|
+
continuum_task_server_bundle/daytona/manage_sandbox.py,sha256=vfLVDaqsruCkpuuQgzThvExXxYXmCkkiR8NAZfgVFV8,3205
|
|
12
|
+
continuum_task_server_bundle/daytona/plugin.py,sha256=RUgqw3dIULTTWkbmBuVWA0fZ-0Qn1Y1rZwUKppnCCq0,737
|
|
13
|
+
continuum_task_server_bundle/daytona/s3_transfer.py,sha256=jFei0aBhteDOsLBN82Wzz09ntRPOleQTv0bBEeD3-Ds,7344
|
|
14
|
+
continuum_task_server_bundle/discord/__init__.py,sha256=kCYRjXL3pEgtyV3siFtgdavPQuLQ88FvuLdf9gpsbBI,96
|
|
15
|
+
continuum_task_server_bundle/discord/attachment_registry_db.py,sha256=d-6WeO6fQjenH6H201g51O6hgHCBEHH7KzW3JU4b7sM,4055
|
|
16
|
+
continuum_task_server_bundle/discord/attachment_resolve.py,sha256=rTr0mrXSZovCMaCSoZX8kSt377g-IQQYJrgKWIaT9Zw,7580
|
|
17
|
+
continuum_task_server_bundle/discord/await_cleanup.py,sha256=WBwkHKGQWQr9U7MiiZo195BIMOyYgTecPeYR6UhQjaE,3677
|
|
18
|
+
continuum_task_server_bundle/discord/discord_ready.py,sha256=zAyiyk2vMiIwwJmLL3WPzdcOVgnLEXmLX9KO_16M17o,1101
|
|
19
|
+
continuum_task_server_bundle/discord/message_await_apply.py,sha256=6SHZtKTy2dckY3lN1YHf91wKtGzOecW1xa53iQd314M,5719
|
|
20
|
+
continuum_task_server_bundle/discord/message_await_db.py,sha256=0VuydRfoQjCWLRyWhI8yEQcQ3P3aOejF0cTZTRamfNw,6939
|
|
21
|
+
continuum_task_server_bundle/discord/message_await_inbound.py,sha256=Eq31V_ALV4RIdRJsYH5SWypPnHeL9Jx-b9_mLxdBme4,1657
|
|
22
|
+
continuum_task_server_bundle/discord/message_await_logic.py,sha256=vWwApLSxonQuJ0S0a9mK3wdkBMIyEZkBHTXrZGD9L2M,3771
|
|
23
|
+
continuum_task_server_bundle/discord/message_await_poller.py,sha256=t9_9UsvWu1pz5lbyNioAIUHEGVPirSi202Dj4qyI9ck,3730
|
|
24
|
+
continuum_task_server_bundle/discord/message_chunking.py,sha256=6i_5nJJluqb80obm-ZZ_gCml3DQdfcDb3JNv1puygZI,1319
|
|
25
|
+
continuum_task_server_bundle/discord/methods.py,sha256=1GdB3Sqve7T7mTdpMC71739MmzVuE86k3_Q4I50KMKQ,13910
|
|
26
|
+
continuum_task_server_bundle/discord/plugin.py,sha256=tQWCPt-AJm36GOxLGCKT99aEEhKim4Pwb0e8cZIPqsU,4446
|
|
27
|
+
continuum_task_server_bundle/discord/reaction_await_apply.py,sha256=BzHI9d81Z0Ja6aGq8SCJycjh7n6lQMwwHyrCcO7-0Uk,8211
|
|
28
|
+
continuum_task_server_bundle/discord/reaction_await_db.py,sha256=xFCEXIAUfSGPkxz1qo8BjhY7B4dp5Il4Ach1pG1Kxbk,5625
|
|
29
|
+
continuum_task_server_bundle/discord/reaction_await_inbound.py,sha256=o7Y2GnRvCYqqY27noqeXY3hLcU56nGeJ2ax1VjBIaik,1305
|
|
30
|
+
continuum_task_server_bundle/discord/reaction_await_logic.py,sha256=JdP0P0idkhx3hGq6bkYylf5GpBoMVlhgl28jt-JHEUk,3555
|
|
31
|
+
continuum_task_server_bundle/discord/reaction_await_poller.py,sha256=nRqXZGs8Swpk4RaX7cMu1RAgeEHU0IqTBxpaKkwb0L8,4286
|
|
32
|
+
continuum_task_server_bundle/discord/s3_attachment_config.py,sha256=M6y2aVnEA8CeXdFfBYq9pAvApntMEe_RNs7wbH5GS2k,545
|
|
33
|
+
continuum_task_server_bundle/discord/s3_message_attachments.py,sha256=oDEVE-nur8mxeoP-WNWXMCjzgqAfCNhpJ3PpS0ou8ok,5276
|
|
34
|
+
continuum_task_server_bundle/discord/sql/001_message_awaits.sql,sha256=IieZDWDBq-i1wH1ll5zqzdf5iEOXPI5V83WCZcClwTM,4761
|
|
35
|
+
continuum_task_server_bundle/discord/sql/002_reaction_awaits.sql,sha256=hBf1r-tdK0ejjQ38G04z31yXh7CF80wNIiGJAgYFI74,2139
|
|
36
|
+
continuum_task_server_bundle/github/__init__.py,sha256=rH5--7BhcC4sHcpdjtJQMdg8WSJNoET2AzmzkEI3fmo,93
|
|
37
|
+
continuum_task_server_bundle/github/ci_status.py,sha256=xrs1rqHOwa6kVmlVdu6Q8Ckzcs4pWlzrPnyweNTDBKw,2215
|
|
38
|
+
continuum_task_server_bundle/github/comment_normalize.py,sha256=c_cazXkjd1UzkiylFzFOciDCpyMAM-wozdVrxrowzqM,2449
|
|
39
|
+
continuum_task_server_bundle/github/errors.py,sha256=mEMGfVXqZzcV_IuSkuSS4f18WuXE7L_sEckuRY5-7Eo,1543
|
|
40
|
+
continuum_task_server_bundle/github/github_app.py,sha256=Mr6gFYU_utxDHTJcI9iuP-FdU8_hu_XwSbmFK03gJ6I,10891
|
|
41
|
+
continuum_task_server_bundle/github/github_http.py,sha256=Hu2QgTZCoAlGZyap2JHIUOaVdHXq1WqiR9kirloDknQ,13142
|
|
42
|
+
continuum_task_server_bundle/github/plugin.py,sha256=50oYKUbH9q9eSYgNOu_vfdYmdxsj0s4SL_CYR3qvtY4,3891
|
|
43
|
+
continuum_task_server_bundle/github/webhook_server.py,sha256=B8zfKB0jxw7IDCvhlP_Qfu2R31975jyl81yRHY-kmbY,4885
|
|
44
|
+
continuum_task_server_bundle/github/awaits/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
45
|
+
continuum_task_server_bundle/github/awaits/apply.py,sha256=67fHyxsH2-_P61SXOohq2_v9FBCLf8zVvRWI4jvFgYk,3498
|
|
46
|
+
continuum_task_server_bundle/github/awaits/cleanup.py,sha256=mujpeEf0x8a5HfrbWGPKQLlLYXON9S70SknR6lrLJVI,3266
|
|
47
|
+
continuum_task_server_bundle/github/awaits/db.py,sha256=H0Ce9ypRYdNn9dShUU00xdk9QRgpwYRxSZQXPjW3fvc,7284
|
|
48
|
+
continuum_task_server_bundle/github/awaits/evaluators.py,sha256=3b5z1S6z8Puq9nCQaia31j1qFqfRBHgUyYj8QUCxfpM,10776
|
|
49
|
+
continuum_task_server_bundle/github/awaits/fetch.py,sha256=vJaT93-4g2wCCA_m1uX8bpSuP3_5NRmJnLZJ4M2Y-FU,6871
|
|
50
|
+
continuum_task_server_bundle/github/awaits/poller.py,sha256=tlexy0P8TWdeyFFDAWoZ98GIrlD7Kkweh8p7Kf2QkPI,2617
|
|
51
|
+
continuum_task_server_bundle/github/awaits/register.py,sha256=v6M9__hUkS8w5RPr0STlaRNIuGPk0XbY7IJmkrO-7wM,1084
|
|
52
|
+
continuum_task_server_bundle/github/methods/__init__.py,sha256=_z03Rhj43AwNKiucggtVpitDoGC5A_xjQgeOltROvR8,3295
|
|
53
|
+
continuum_task_server_bundle/github/methods/_common.py,sha256=wiIWcmKwobPD10PoonpBEWwRsVDz8z5zl0N6PDNnrVY,6243
|
|
54
|
+
continuum_task_server_bundle/github/methods/awaits.py,sha256=ORYU9LRwhZ38c0UEEzTDULWhpAlAnMng21G2TaGmKrk,4229
|
|
55
|
+
continuum_task_server_bundle/github/methods/ci.py,sha256=-d0gh9Od975OL1F7Go1q2Gsu_7FsoBxQ3vPLqI0Ka1Q,6112
|
|
56
|
+
continuum_task_server_bundle/github/methods/comments.py,sha256=RigkvJ9ErVfDNN_xto9TaeOLsFGilRy3kuTIJ55YD6M,8157
|
|
57
|
+
continuum_task_server_bundle/github/methods/credentials.py,sha256=glFDSSwu0pP8zjgkSelunKI-aDuCl19l-BcpwFwD51Q,2427
|
|
58
|
+
continuum_task_server_bundle/github/methods/issues.py,sha256=7NAbrcn8bCfWjYtSEGTcQ_IJ1H38QiZvNBn7XrC2yBs,5021
|
|
59
|
+
continuum_task_server_bundle/github/methods/pulls.py,sha256=FnmIOs6x_Q14P4dWCI8ba-UBNqWeLKiFDfeq6KpoC-k,12194
|
|
60
|
+
continuum_task_server_bundle/github/methods/repos.py,sha256=2MFNElIq5CvIe32VDdt7AqnYznBp57vxHQFTndrX-vY,14902
|
|
61
|
+
continuum_task_server_bundle/github/methods/search.py,sha256=Xg4AxIDTXf8UQEPjIAbnrlgqOO7Sj7hMactG0u0BkrI,3722
|
|
62
|
+
continuum_task_server_bundle/github/sql/001_github_awaits.sql,sha256=ghqSmWC8tOpcPqALrgw3qE2pYVu9abfbf8AgjSiHQ9k,2468
|
|
63
|
+
continuum_task_server_bundle/jira/__init__.py,sha256=SKWXlVoRvGtF_AnRucCixYzovXzAN-FW-aD5fi_rwbo,87
|
|
64
|
+
continuum_task_server_bundle/jira/await_poller.py,sha256=xRGq18T5SQBainZr-WyJVSeC3FDv0HASmD-4rSIWAHA,9011
|
|
65
|
+
continuum_task_server_bundle/jira/await_store.py,sha256=OKMILWGdjyxGHHXc1GY_BOA1f8KR81pDOKhmIQR8BLg,10830
|
|
66
|
+
continuum_task_server_bundle/jira/config.py,sha256=l-CRtc4VZhlkFU925cEOGcAbNq1byAtLeiI6GoKi4s0,3168
|
|
67
|
+
continuum_task_server_bundle/jira/jira_client.py,sha256=gHXJvxrNpYY-rlZVIYiAeCHyBHz2K2_9oE3pVBCPdAI,15216
|
|
68
|
+
continuum_task_server_bundle/jira/methods.py,sha256=Qm5QA6FIXjtCdejit-Hf3_EuFGfZvrLuXIgksRKZOJs,9869
|
|
69
|
+
continuum_task_server_bundle/jira/plugin.py,sha256=_MyZc5WdWaAiuFD6hGTa64tP_Vo1e89Ahqc8WK3uUVY,4038
|
|
70
|
+
continuum_task_server_bundle/jira/webhook.py,sha256=407OHsL6h5M91p_uSVMczyFfHtc6RK6hJASLf9JYFUc,2757
|
|
71
|
+
continuum_task_server_bundle/jira/sql/001_jira_issue_comment_waits.sql,sha256=lhEpLo9Ud9lLCh_e95taDP5TYqQZ0-Xf_2P1iq1MZxg,801
|
|
72
|
+
continuum_task_server_bundle/openrouter/__init__.py,sha256=4FGv8toKkBD787hWXlnOzb75kFx2b0mzqTUkh0mn_8Y,105
|
|
73
|
+
continuum_task_server_bundle/openrouter/chat_service.py,sha256=gEH_NmQ5g4VvgfsJHE1rglZH06DP_FOE2Zf41nlL_Ko,43472
|
|
74
|
+
continuum_task_server_bundle/openrouter/chat_store.py,sha256=RNF30pvinJXJYhBsheWCGQsehrCyj9XARg-2ztupbbw,28891
|
|
75
|
+
continuum_task_server_bundle/openrouter/environment.py,sha256=fsTNK7l-GjPxa92hvA0lBJePVjv2XbLNprp7nrK5zeg,667
|
|
76
|
+
continuum_task_server_bundle/openrouter/handler.py,sha256=7s21JyQax2o8lcZovGlJH7rV1LDdQyoVlEB_avYFN28,2352
|
|
77
|
+
continuum_task_server_bundle/openrouter/image_context.py,sha256=UIUyhDGBQa8ML5PXHcCI-Mq0hIhEt_7VzMe0HvBCrf4,8754
|
|
78
|
+
continuum_task_server_bundle/openrouter/openrouter_client.py,sha256=iHnpP0830aMehFa6UxJY6yT4ENsJ256JdEMzw-KapEA,10162
|
|
79
|
+
continuum_task_server_bundle/openrouter/plugin.py,sha256=wGb2hQPJxiaQbUxo43gvV9m7LbpetuW9QCpEevLbwnY,1275
|
|
80
|
+
continuum_task_server_bundle/openrouter/prompt_projection.py,sha256=TlyzfavtRxTftw7yR4Rw_fb1aUtR7KtbMvR7VT85c_Y,20875
|
|
81
|
+
continuum_task_server_bundle/openrouter/sql/chat.sql,sha256=xNsJyCRANRZdtKQsLOSG7lsXddVR2dnSPjQrW5Xxmmw,1837
|
|
82
|
+
continuum_task_server_bundle/openrouter/sql/migrate_prune_then_chunk_v1.sql,sha256=F-LhUbjCHl_TJZSZpSVVCAjGn3bsU7Lf1RH76d5wEEY,457
|
|
83
|
+
continuum_task_server_bundle/roblox/__init__.py,sha256=KFNhsJ1jp_OOq4BqANinYgEuZibUEPcTZCDp2-u4S3w,104
|
|
84
|
+
continuum_task_server_bundle/roblox/open_cloud.py,sha256=WjVtku5VEppB6wuRVOtmvzcZXeU-pq4vvGeEtgQUX38,18511
|
|
85
|
+
continuum_task_server_bundle/roblox/plugin.py,sha256=f3xL84xGkKRxAVoQwfnPIltdjmDSE5iU3lLvzvnCDbU,1468
|
|
86
|
+
continuum_task_server_bundle/roblox/storage_s3.py,sha256=KNEpiZ2BxCuqmjH73BBuk_UbmvcoE5CPDvNcfcrUX7M,2328
|
|
87
|
+
continuum_task_server_bundle-1.0.0.dist-info/METADATA,sha256=9csvTipt8jloIHx1G_qOKQp8bYZs0a7SBd6p1lvkDtk,9143
|
|
88
|
+
continuum_task_server_bundle-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
89
|
+
continuum_task_server_bundle-1.0.0.dist-info/top_level.txt,sha256=id_seH5FZBc2--A_N1qxvmjFO4abcL9QH9dP3YP0NGY,29
|
|
90
|
+
continuum_task_server_bundle-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
continuum_task_server_bundle
|