flywheel-bootstrap-staging 0.1.9.202601301121__py3-none-any.whl → 0.1.9.202602011847__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.
- bootstrap/orchestrator.py +5 -1
- bootstrap/prompts.py +8 -0
- {flywheel_bootstrap_staging-0.1.9.202601301121.dist-info → flywheel_bootstrap_staging-0.1.9.202602011847.dist-info}/METADATA +1 -1
- {flywheel_bootstrap_staging-0.1.9.202601301121.dist-info → flywheel_bootstrap_staging-0.1.9.202602011847.dist-info}/RECORD +6 -6
- {flywheel_bootstrap_staging-0.1.9.202601301121.dist-info → flywheel_bootstrap_staging-0.1.9.202602011847.dist-info}/WHEEL +0 -0
- {flywheel_bootstrap_staging-0.1.9.202601301121.dist-info → flywheel_bootstrap_staging-0.1.9.202602011847.dist-info}/entry_points.txt +0 -0
bootstrap/orchestrator.py
CHANGED
|
@@ -644,13 +644,17 @@ class BootstrapOrchestrator:
|
|
|
644
644
|
self._stop_heartbeats.wait(HEARTBEAT_INTERVAL_SECONDS)
|
|
645
645
|
|
|
646
646
|
def _handle_event(self, event: CodexEvent) -> None:
|
|
647
|
+
extra: dict[str, object] = {}
|
|
648
|
+
if isinstance(event.raw, dict):
|
|
649
|
+
# Preserve structured event data so the server can parse usage.
|
|
650
|
+
extra = {"event": event.raw}
|
|
647
651
|
post_log(
|
|
648
652
|
self.config.server_url,
|
|
649
653
|
self.config.run_id,
|
|
650
654
|
self.config.capability_token,
|
|
651
655
|
level="info",
|
|
652
656
|
message=str(event.raw),
|
|
653
|
-
extra=
|
|
657
|
+
extra=extra,
|
|
654
658
|
)
|
|
655
659
|
if isinstance(event.raw, dict):
|
|
656
660
|
run_id = event.raw.get("run_id")
|
bootstrap/prompts.py
CHANGED
|
@@ -67,6 +67,14 @@ def build_prompt_text(
|
|
|
67
67
|
- Inspect your output files before declaring success
|
|
68
68
|
- If something looks wrong (e.g., a blank plot, garbled text), debug and fix it
|
|
69
69
|
- Prefer self-contained artifacts (inline CSS/JS, no external dependencies)
|
|
70
|
+
|
|
71
|
+
Command Execution:
|
|
72
|
+
- Use --quiet or -q flags for package managers: pip install -q, apt-get -qq, npm install --silent
|
|
73
|
+
- Redirect verbose output away from context: wget -q URL or command > /dev/null 2>&1
|
|
74
|
+
- For long logs, capture only the tail: command 2>&1 | tail -20
|
|
75
|
+
- Prefer silent modes: curl -sS, git clone -q, conda install -q
|
|
76
|
+
- Suppress progress bars: pip install --progress-bar off
|
|
77
|
+
- Long command outputs consume your working memory—keep them concise
|
|
70
78
|
"""
|
|
71
79
|
).strip()
|
|
72
80
|
|
|
@@ -5,13 +5,13 @@ bootstrap/config_loader.py,sha256=dgypIOi4a5auGsarIDB5MI6qJO38UWO6RJkRTzvA9Zs,39
|
|
|
5
5
|
bootstrap/constants.py,sha256=Q3bNGvKKgQxyP9Hrx6o5GydFHwDq2SRkLnxwRNyM-OY,633
|
|
6
6
|
bootstrap/git_ops.py,sha256=HPn-CAURQEMRSLJRUuy1Lor7YwPYZjb6i6ku6WhJo7M,9267
|
|
7
7
|
bootstrap/install.py,sha256=Es1F0UBOYDhuv7i9veA5Bt-yyTyTZ-dAsHmGc-iRY5k,4166
|
|
8
|
-
bootstrap/orchestrator.py,sha256=
|
|
8
|
+
bootstrap/orchestrator.py,sha256=CFKjsCdyEL25_tMvU_rxR81PAGuhn5MUfDbUm9ndSLY,33666
|
|
9
9
|
bootstrap/payload.py,sha256=JugHguvdjHuoEY_wTE72PFDWlmFFgEk8_wiINNNjV_Q,3417
|
|
10
|
-
bootstrap/prompts.py,sha256=
|
|
10
|
+
bootstrap/prompts.py,sha256=trtZLytPyliuc50WV3glm6YcEs68tbvi4Iob5cUdbdQ,4664
|
|
11
11
|
bootstrap/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
12
12
|
bootstrap/runner.py,sha256=qFqDnHKxUIOBAfk9cX7EipXz7mJCwTJPeKMQI30x4Do,4509
|
|
13
13
|
bootstrap/telemetry.py,sha256=ONPvKTpc2puCygkakdQW7-Kkrx_yqEzZz-0FMtCQ-RQ,3983
|
|
14
|
-
flywheel_bootstrap_staging-0.1.9.
|
|
15
|
-
flywheel_bootstrap_staging-0.1.9.
|
|
16
|
-
flywheel_bootstrap_staging-0.1.9.
|
|
17
|
-
flywheel_bootstrap_staging-0.1.9.
|
|
14
|
+
flywheel_bootstrap_staging-0.1.9.202602011847.dist-info/METADATA,sha256=KvonGhA3oQzT1HVO02bUiC3y5kxdkRsP2Uw0hHBkgg0,4638
|
|
15
|
+
flywheel_bootstrap_staging-0.1.9.202602011847.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
flywheel_bootstrap_staging-0.1.9.202602011847.dist-info/entry_points.txt,sha256=uluR7l4k_RhY5K4nYN5e6uwtceW3_7h_kvpM-csjzrg,63
|
|
17
|
+
flywheel_bootstrap_staging-0.1.9.202602011847.dist-info/RECORD,,
|
|
File without changes
|