Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"version": "0.4.2",
"version": "0.4.3",
"category": "productivity",
"tags": ["terminal", "warp", "oz"]
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/orchestration/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "orchestration",
"description": "Warp integration for Codex in Oz cloud agent environments, including parent-message delivery hooks and skills",
"version": "0.4.2",
"version": "0.4.3",
"author": {
"name": "Warp",
"url": "https://warp.dev"
Expand Down
18 changes: 18 additions & 0 deletions plugins/orchestration/skills/oz-media-links/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: oz-media-links
description: Get shareable links for the screenshots and video recordings this Oz run reported, for posting verification evidence anywhere other than a pull request description (e.g. a Slack message, an issue or PR comment, a Linear comment, or a chat reply).
---
Screenshots and video recordings reported during this run can be shared outside of pull request descriptions. When posting verification evidence to any other destination (e.g. a Slack message, an issue or PR comment, a Linear comment, or a chat reply), get shareable links for the current run's captures by running:

```sh
"$OZ_CLI" harness-support media-artifact-links
```

Each entry has a `kind` (`IMAGE` for a screenshot, `VIDEO` for a video recording), a `description`, and a `view_link`. Add `--output-format json` to get the same entries as JSON.

- Only media reported in this run is returned: screenshots reported with the `report_screenshot` tool and recordings published by `stop_recording`. Captures made by child agents are not included; to share a child agent's media, ask that agent to run this command in its own run and message the links back to you.
- A `view_link` is permission-checked when opened, so it is safe to post externally.
- Pick only the entries relevant to your message — you do not need to post all of them — and format them per the destination's conventions.
- Only add `--include-embeddable-urls` when the destination renders markdown images and you intend to embed content inline; embedded artifacts are made publicly accessible to anyone with the link. Entries then also carry an `embed_url`, and videos a `thumbnail_url`, but only when the team's artifact attachment policy allows embedding. When an entry has no `embed_url`, post its `view_link` instead.
- Do NOT use this for pull request descriptions; use the `oz-report-pr` skill for those.
- If the command fails for any reason, for example because this version of the Oz CLI does not have it, the server reports that media links are not available, or the team's policy disables sharing them, post your message without the links and carry on. Do not publish the media some other way to work around it.
20 changes: 19 additions & 1 deletion plugins/orchestration/skills/oz-report-pr/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
---
name: oz-report-pr
description: Report a pull request back to the Oz platform after creating one.
description: Report a pull request back to the Oz platform after creating one, and get the managed artifacts block (screenshots, video recordings, plans) that belongs in its description when creating the pull request or refreshing its artifacts.
---
## Report the pull request

After creating a pull request, report it to Oz by running:

```sh
"$OZ_CLI" harness-support report-artifact pull-request --url '<url>' --branch '<branch>'
```

Replace `<url>` with the full pull request URL and `<branch>` with the branch name.

## Artifacts block in the pull request description

The pull request description carries one managed artifacts block holding the video recordings, screenshots and plans this run produced. When creating a pull request or refreshing its managed artifacts (for example after reporting more screenshots or recordings), run:

```sh
"$OZ_CLI" harness-support pr-media-markdown
```

- It prints the complete block, from `<!-- warp:pr-description-artifacts start -->` to `<!-- warp:pr-description-artifacts end -->`, with its contents already in the required order: video recordings, then screenshots, then plans. Put what it prints at the end of the pull request description, verbatim, after the body you write. Do not edit or reorder it, and do not wrap it in another pair of markers.
- Any attribution line your instructions ask for (for example a "This PR was created by Warp" line) is part of the body you write: put it at the end of that body, above the block, never below it.
- Always include the block, even when it is empty. If the pull request already exists and its description has no block yet, edit the description to add it at the end.
- Anything printed after the end marker is regression context. Keep it where it is printed: after the block, outside it, with nothing but blank lines between the end marker and it. It must be the very last content of the description. Add nothing after its last line, not even a blank line.
- When refreshing, fetch the current pull request description and replace only the complete block, start marker through end marker, with the newly printed block, preserving every byte outside it. Keep at most one block.
- The block only contains media that was published to this run: screenshots reported with the `report_screenshot` tool and recordings published by `stop_recording`. An image a tool merely showed you, or a file uploaded as a plain artifact, does not appear in it.
- If the command fails for any reason, for example because this version of the Oz CLI does not have it or this Warp server does not support it, write the description without the block and carry on. Do not write the markers or the media markdown by hand.
8 changes: 5 additions & 3 deletions plugins/orchestration/skills/oz-upload-file/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
---
name: oz-upload-file
description: Upload a local file to the Oz platfom as a conversation artifact.
description: Upload a local file to the Oz platform as a conversation artifact.
---
Use this for supplemental files that should be attached to the task but should NOT be committed to the repo or included in the PR — e.g. screenshots, logs, generated reports, or other large or derived outputs.
Use this for supplemental files that should be attached to the task but should NOT be committed to the repo or included in the PR — e.g. logs, generated reports, or other large or derived outputs.

Do NOT use this for source code, tests, docs, or any change that should be reviewed and merged through a PR. Those belong in a commit, not as an artifact.

Do NOT use this for a screenshot of the screen when your tool list has the `report_screenshot` tool: report the screenshot with that tool instead. A file uploaded here is a plain file artifact, so it is left out of the pull request description's artifacts block and of media links. Only when `report_screenshot` is not in your tool list is uploading the image file here the way to attach it.

Only call this after the file already exists on disk.

```sh
"$OZ_CLI" artifact upload '<path>' --run-id "$OZ_RUN_ID" --description '<description>'
```

Replace `<path>` with the absolute path to the file. Include a `--description` when it adds useful context about what the file is or why it is attached (e.g. "screenshot of failing login page", "profiler output for slow query"). Omit when the file name alone is self-explanatory.
Replace `<path>` with the absolute path to the file. Include a `--description` when it adds useful context about what the file is or why it is attached (e.g. "server log from the failing request", "profiler output for slow query"). Omit when the file name alone is self-explanatory.
Loading