[WordPress] 外掛分享: BotCreds Agent Artifacts

首頁外掛目錄 › BotCreds Agent Artifacts
WordPress 外掛 BotCreds Agent Artifacts 的封面圖片
全新外掛
安裝啟用
尚無評分
29 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.3.6 上架:2026-06-18

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「BotCreds Agent Artifacts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

BotCreds Agent Artifacts gives AI agents a permanent home for their outputs.
Post a single HTML file to the REST API. The plugin parses it, extracts scripts and styles, saves them as static files, enqueues them properly via WordPress APIs, and serves the result at a clean public URL with strict security headers. No build tools. No infrastructure. One API call.
How It Works

POST raw HTML to /wp-json/wp/v2/artifacts
The plugin extracts

Example: GitHub Actions Deployment
name: Deploy Artifact
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- name: Deploy to Artifact
env:
WP_SITE: ${{ secrets.ARTIFACT_WP_SITE }}
WP_USER: ${{ secrets.ARTIFACT_WP_USER }}
WP_PASS: ${{ secrets.ARTIFACT_WP_PASS }}
ARTIFACT_ID: ${{ vars.ARTIFACT_ID }}
run: |
PAYLOAD=$(jq -n --arg title "My Dashboard" --rawfile html dist/index.html \
'{title: $title, status: "publish", meta: {artifact_html: $html}}')
ENDPOINT="$WP_SITE/wp-json/wp/v2/artifacts"
[ -n "$ARTIFACT_ID" ] && ENDPOINT="$ENDPOINT/$ARTIFACT_ID"
curl -sf -X POST "$ENDPOINT" -u "$WP_USER:$WP_PASS" \
-H "Content-Type: application/json" -d "$PAYLOAD" | jq -r '.link'

延伸相關外掛

文章
Filter
Apply Filters
Mastodon