nextcloud: route create_event/next_event through the bridge

The two skills declared the account as flat contract vars
(nextcloud_url/username/app_password/default_calendar), which bootstrap no
longer writes — it stores the account under bridges.nextcloud — so the
runner asked for the URL and credentials on every first fire.

Rewrite both to call the Nextcloud bridge (GET /calendars, POST
/calendars/events, GET /calendars/events) like create_task, so their only
contract vars are the derived nextcloud_bridge_url/_token (+ the LLM bridge
for create_event). Docs and the seed-integration test updated to match.
This commit is contained in:
gabby committed 2026-10-14 04:25:49 +00:00
1 parent 2296801b22
commit c57983f1f5
3 files changed
+33 -28

No files matched your search

+2 -2
View File
@@ -581,10 +581,10 @@ def test_scheduler_loads_committed_seed_skills(tmp_path):
next_event = next(s for s in nextcloud if s.name == "next_event")
assert next_event.description.startswith("Report the next")
assert next_event.status == "ready"
assert next_event.integration["transport"] == "caldav"
assert next_event.integration["transport"] == "http"
create_event = next(s for s in nextcloud if s.name == "create_event")
assert create_event.description.startswith("Create a calendar event")
assert create_event.integration["transport"] == "caldav"
assert create_event.integration["transport"] == "http"
def test_load_config_anchors_runtime_paths_to_checkout(tmp_path):