open-research-protocol 0.4.23 → 0.4.24
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.
- package/cli/__pycache__/orp.cpython-311.pyc +0 -0
- package/cli/orp.py +8 -1
- package/package.json +1 -1
- package/scripts/__pycache__/orp-kernel-agent-pilot.cpython-311.pyc +0 -0
- package/scripts/__pycache__/orp-kernel-agent-replication.cpython-311.pyc +0 -0
- package/scripts/__pycache__/orp-kernel-benchmark.cpython-311.pyc +0 -0
- package/scripts/__pycache__/orp-kernel-canonical-continuation.cpython-311.pyc +0 -0
- package/scripts/__pycache__/orp-kernel-continuation-pilot.cpython-311.pyc +0 -0
|
Binary file
|
package/cli/orp.py
CHANGED
|
@@ -7338,8 +7338,9 @@ def _runner_sync_payload_for_roots(
|
|
|
7338
7338
|
args: argparse.Namespace,
|
|
7339
7339
|
*,
|
|
7340
7340
|
linked_email: str = "",
|
|
7341
|
+
synced_at_utc: str = "",
|
|
7341
7342
|
) -> tuple[dict[str, Any], dict[str, Any]]:
|
|
7342
|
-
synced_at_utc = _now_utc()
|
|
7343
|
+
synced_at_utc = _normalize_timestamp_utc(synced_at_utc, fallback=_now_utc())
|
|
7343
7344
|
linked_projects: list[dict[str, Any]] = []
|
|
7344
7345
|
sessions: list[dict[str, Any]] = []
|
|
7345
7346
|
included_project_roots: list[str] = []
|
|
@@ -8367,12 +8368,15 @@ def _perform_runner_sync_for_roots(
|
|
|
8367
8368
|
args: argparse.Namespace,
|
|
8368
8369
|
session: dict[str, Any],
|
|
8369
8370
|
machine: dict[str, Any],
|
|
8371
|
+
*,
|
|
8372
|
+
synced_at_utc: str = "",
|
|
8370
8373
|
) -> dict[str, Any]:
|
|
8371
8374
|
sync_payload, sync_summary = _runner_sync_payload_for_roots(
|
|
8372
8375
|
repo_roots,
|
|
8373
8376
|
machine,
|
|
8374
8377
|
args,
|
|
8375
8378
|
linked_email=str(session.get("email", "")).strip(),
|
|
8379
|
+
synced_at_utc=synced_at_utc,
|
|
8376
8380
|
)
|
|
8377
8381
|
if not sync_payload["linkedProjects"]:
|
|
8378
8382
|
raise RuntimeError("No linked project is available to sync.")
|
|
@@ -8722,9 +8726,11 @@ def _run_runner_work_once(args: argparse.Namespace) -> dict[str, Any]:
|
|
|
8722
8726
|
)
|
|
8723
8727
|
|
|
8724
8728
|
if run_result.get("ok"):
|
|
8729
|
+
completed_at_utc = _now_utc()
|
|
8725
8730
|
touched_session = _touch_link_session_last_active(
|
|
8726
8731
|
selected_repo_root,
|
|
8727
8732
|
str(selected_session.get("orp_session_id", "")).strip(),
|
|
8733
|
+
timestamp_utc=completed_at_utc,
|
|
8728
8734
|
)
|
|
8729
8735
|
try:
|
|
8730
8736
|
sync_result = _perform_runner_sync_for_roots(
|
|
@@ -8733,6 +8739,7 @@ def _run_runner_work_once(args: argparse.Namespace) -> dict[str, Any]:
|
|
|
8733
8739
|
args,
|
|
8734
8740
|
session,
|
|
8735
8741
|
machine,
|
|
8742
|
+
synced_at_utc=completed_at_utc,
|
|
8736
8743
|
)
|
|
8737
8744
|
except Exception as exc:
|
|
8738
8745
|
sync_error = str(exc)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-research-protocol",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.24",
|
|
4
4
|
"description": "ORP CLI (Open Research Protocol): workspace ledgers, secrets, scheduling, governed execution, and agent-friendly research workflows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fractal Research Group <cody@frg.earth>",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|