← 返回
未分类 中文

OCC Artifact Gallery

Use when an agent generates local files/folders and must return mobile-accessible OCC/Tailscale viewer links instead of filesystem paths.
用于在代理生成本地文件或文件夹时,返回移动端可访问的 OCC/Tailscale 查看链接,而非文件系统路径。
shadoprizm shadoprizm 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 235
下载
💾 0
安装
1
版本
#artifacts#gallery#hermes#latest#mobile#openclaw#tailscale

概述

Artifact Gallery

Overview

OCC Artifact Gallery turns generated local outputs on a VPS/headless server into stable HTTPS links that users can open from Telegram, WhatsApp, Discord, or a browser.

Use this for images, PDFs, HTML, Markdown, JSON, audio, video, reports, screenshots, and generated folders. Do not give users only /home/... paths when they are on mobile.

Canonical URLs

  • Gallery UI: https://n2-pro.tail1c2e65.ts.net/artifacts
  • Artifact viewer: https://n2-pro.tail1c2e65.ts.net/artifacts/a/{artifact_id}
  • API: http://127.0.0.1:8080/api/artifacts-gallery

CLI

Register a generated file:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py register \
  --path /home/shadoprizm/occ/brain/infographic-studio/active/INFOG-6311545c/infographic-v1.png \
  --title "OCC Infographic dogfood output" \
  --source-system occ \
  --source-agent concierge \
  --tags infographic dogfood

List recent artifacts:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py list --limit 20

Get links:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py links art_xxxxx

Agent response contract

When replying over mobile/chat channels, include:

  • brief summary
  • viewer_url
  • optional download_url
  • artifact type/size

Example:

Done — generated the report.

View:
https://n2-pro.tail1c2e65.ts.net/artifacts/a/art_xxxxx

Download:
https://n2-pro.tail1c2e65.ts.net/api/artifacts-gallery/art_xxxxx/download

Safety

The gallery only serves allowlisted roots and refuses credential/dot/secret-like paths. If registration fails, do not bypass it by inventing a URL; fix the path/root or report the failure.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-21 15:50

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,168 📥 941,016
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,521 📥 578,974
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 868 📥 347,988