การพัฒนาปลั๊กอิน
เขียนปลั๊กอิน
ปลั๊กอินช่วยเพิ่มเครื่องมือใหม่ให้กับ AI WorkDeck เพื่อให้ AI สามารถเรียกใช้โค้ดของคุณจากบทสนทนาได้ คู่มือนี้เริ่มจากตัวอย่างที่ใช้งานได้ขั้นต่ำและจบด้วยการส่งเพื่อตรวจสอบ
ใครสามารถเผยแพร่ปลั๊กอินได้
ปลั๊กอินโอเพนซอร์สฟรีสามารถส่งได้จากทุกบัญชีที่ลงชื่อเข้าใช้ ไม่ต้องยืนยันตัวตน
การกำหนดราคาปลั๊กอินหรือ Pack หรือการเผยแพร่โค้ดปิด ต้องใช้บัญชีนักพัฒนาที่ผ่านการยืนยัน (ยืนยันตัวตน + วิธีรับเงิน ตรวจสอบด้วยมือ) สามารถสมัครได้ที่
ศูนย์นักพัฒนาSDK 1.6 views, connections, MCP, scoped settings, $schema/default compatibility fixes and host services require the new host. This implementation has not been released; installed clients do not gain support automatically. The simulator uses synthetic data and is not host compatibility evidence.
ขั้นแรก ให้ตัดสินใจว่า: คุณต้องการปลั๊กอินหรือ Skill
ทั้งสองอย่างสับสนง่าย และการเลือกผิดทำให้เสียเวลาทำงานมาก ความแตกต่างสรุปได้ในหนึ่งประโยค: ถ้าต้องใช้โค้ด ให้เขียนปลั๊กอิน ถ้าการอธิบายให้ชัดเจนเพียงพอแล้ว ให้เขียน Skill
| สถานการณ์ | กรณีการใช้งาน |
|---|---|
| เรียก API ของระบบภายนอกเพื่อดึงข้อมูล | Skill |
| แยกวิเคราะห์รูปแบบไฟล์พิเศษ | Skill |
| ให้ AI เขียนความคิดเห็นการตรวจสอบตามรูปแบบของสำนักงานคุณ | Skill |
| กำหนดขั้นตอนและโครงสร้างผลงานส่งมอบสำหรับงานประเภทหนึ่ง | Skill |
สกิลคือข้อความธรรมดา (พรอมต์บวกคำทริกเกอร์): เผยแพร่ทันทีเมื่อส่งโดยไม่ต้องตรวจทาน และเขียนเสร็จเร็วกว่ามาก หากสกิลตอบโจทย์ความต้องการของคุณได้ ไปเขียนสกิลเลย แล้วข้ามส่วนที่เหลือของหน้านี้ไปได้เลย
รันปลั๊กอินแรกของคุณภายใน 5 นาที
ปลั๊กอินคือโปรเจกต์ Java ที่คอมไพล์เป็น JAR บวกกับ manifest.json ถูก ZIP และส่งขึ้นไป คุณต้องมี JDK 21 และ Maven
ดาวน์โหลดโปรเจกต์เทมเพลตด้านบน — มันคือตัวอย่างที่ใช้งานได้สมบูรณ์ในตัวเอง มีเพียงสองไฟล์เท่านั้นที่สำคัญ ไฟล์แรกคือคลาสเครื่องมือ:
package com.example.myplugin;
import dev.langchain4j.agent.tool.Tool;
/**
* Plugin tool class.
*
* Three hard rules — break any one of them and the tool will not be visible to the AI:
* 1. Must have a no-arg constructor (instantiated via reflection by the host);
* 2. Annotate tool methods with @Tool; the method name is the tool name and must match manifest.json tools[].name;
* 3. Use String parameters and return values for simplicity (serialize complex structures as JSON strings).
*
* The @Tool description is read by the AI and determines when it invokes this tool.
* State clearly when to call it rather than only how it is implemented.
*/
public class MyTools {
@Tool("Count characters and CJK characters in a text passage and return a readable summary. Call when the user asks for character or word counts.")
public String countChinese(String text) {
if (text == null || text.isBlank()) {
return "Empty input: 0 characters";
}
long cjk = text.codePoints()
.filter(cp -> Character.UnicodeScript.of(cp) == Character.UnicodeScript.HAN)
.count();
return String.format("Total %d chars, including %d CJK chars", text.length(), cjk);
}
}
คำอธิบายใน @Tool เขียนขึ้นเพื่อ AI — มันกำหนดโดยตรงว่า AI จะเรียกใช้เครื่องมือของคุณในจังหวะที่เหมาะสมหรือไม่ การเขียน "ใช้เมื่อไหร่" มีประโยชน์กว่าการเขียน "เมธอดนี้ทำอะไร" มาก เพราะอย่างหลังคือสิ่งที่ AI ต้องตัดสินใจเอง
ไฟล์ที่สองคือ manifest.json ซึ่งอธิบายว่าปลั๊กอินคืออะไร:
{
"id": "my-plugin",
"name": "My Plugin",
"version": "1.0.0",
"description": "One sentence explaining what this plugin does for users, shown on the marketplace card.",
"author": "Your Name or Team",
"homepage": "https://example.com",
"permissions": [],
"tools": [
{
"name": "countChinese",
"description": "Count characters in text",
"permissions": []
}
],
"backendJars": ["my-plugin-1.0.0.jar"]
}
ชื่อเครื่องมือต้องตรงกันทั้งสองฝั่ง: tools[].name ต้องเท่ากับชื่อเมธอดใน Java ถ้าไม่ตรงกัน เครื่องมือจะลงทะเบียนไม่สำเร็จและ AI จะมองไม่เห็น
จากนั้นทำแพ็กเกจ:
mvn package
mkdir -p dist && cp target/my-plugin-1.0.0.jar manifest.json dist/
cd dist && zip -r ../my-plugin-1.0.0.zip . && cd ..โปรดสังเกตว่า zip ต้องมีไฟล์โดยตรง — อย่าสร้างโฟลเดอร์ซ้อนเพิ่ม เมื่อแตกไฟล์แล้วต้องเห็น manifest.json ทันที ไม่ใช่โฟลเดอร์
ทดลองบนเครื่องของคุณเองก่อนส่ง
ไม่ต้องรอการตรวจสอบ คัดลอกทั้งหมด dist/ ลงในโฟลเดอร์ปลั๊กอินภายในเครื่องของคุณ แล้วรีสตาร์ท AI WorkDeck:
# macOS / Linux
~/.aiworkdeck/plugins/my-plugin/ปลั๊กอินของคุณควรปรากฏใน Plugin Marketplace → Installed ให้เปิดใช้งาน จากนั้นลองถามอะไรบางอย่างในบทสนทนาที่ควรใช้เครื่องมือของคุณ แล้วดูว่า AI เรียกใช้หรือไม่ หากไม่เรียกใช้ คำอธิบาย @Tool มักจะอธิบายไม่ชัดเจนว่าควรใช้เมื่อใด
ความหมายของแต่ละฟิลด์ใน manifest.json
| ฟิลด์ | คำอธิบาย |
|---|---|
id | ต้องไม่ซ้ำกันทั่วโลก ใช้ตัวอักษรพิมพ์เล็ก ตัวเลข และขีดกลาง และห้ามเปลี่ยนแปลงหลังเผยแพร่แล้ว เนื่องจากเป็นตัวระบุว่าเป็น "ปลั๊กอินตัวเดิม" เมื่อทำการอัปเกรด |
version | เวอร์ชันแบบ Semantic ทุกครั้งที่ส่งต้องมีเวอร์ชันสูงกว่าเดิม มิฉะนั้นจะถูกปฏิเสธ |
name / description | แสดงบนการ์ดในมาร์เก็ตเพลส ให้อธิบายว่าปลั๊กอินทำอะไรให้ผู้ใช้ ไม่ใช่รายละเอียดการทำงานภายใน |
author / homepage | ผู้พัฒนาและหน้าแรกของโปรเจกต์ เป็นตัวเลือกไม่บังคับแต่แนะนำให้ระบุ เพราะผู้ใช้ใช้ข้อมูลนี้ประเมินความน่าเชื่อถือ |
permissions | ความสามารถที่ปลั๊กอินนี้ใช้ ดูรายละเอียดในส่วนถัดไป |
tools | รายการเครื่องมือ name ต้องตรงกับชื่อเมธอดใน Java และคำอธิบายต้องระบุวัตถุประสงค์ให้ชัดเจน |
backendJars | ชื่อไฟล์ JAR โดยสัมพันธ์กับรูทของแพ็กเกจ ห้ามใช้พาธ ../ ที่ออกไปนอกแพ็กเกจ |
permissions: ประกาศอย่างตรงไปตรงมา — ทีมตรวจสอบจะเทียบข้อมูลนี้
มีสี่ค่าที่เป็นตัวเลือก ให้ประกาศเฉพาะสิ่งที่คุณใช้:
file_readอ่านไฟล์ในโปรเจกต์file_writeสร้าง แก้ไข หรือลบไฟล์networkเข้าถึงเครือข่ายภายนอกeditorควบคุมตัวแก้ไขเอกสาร
นี่ไม่ใช่แซนด์บ็อกซ์
ปลั๊กอินทำงานในโพรเซสเดียวกับแอปหลัก ดังนั้นพฤติกรรมที่ไม่ได้ประกาศจะไม่สามารถบล็อกทางเทคนิคได้ — เครื่องมือที่ไม่ประกาศสิทธิ์ใด ๆ ก็ยังสามารถอ่านไฟล์ได้ การประกาศจึงไม่ใช่ข้อจำกัดขณะรันไทม์ แต่เป็น หลักฐานสำหรับการตรวจสอบ: เราจะเทียบกับผลการสแกนแบบ static ของไฟล์ JAR หากประกาศว่าไม่ใช้เครือข่ายแต่มีการเรียก network API — หรือกลับกัน — การส่งจะถูกปฏิเสธ
สิ่งที่ทีมตรวจสอบดู
ทุกเวอร์ชันจะถูกตรวจสอบโดยบุคลากรจริง โดยปกติภายในหนึ่งถึงสองวันทำการ ระบบจะสแกนอัตโนมัติก่อน และรายงานจะอยู่เคียงข้างการประกาศสิทธิ์ของคุณบนโต๊ะของผู้ตรวจสอบ
สิ่งเหล่านี้จะถูกปฏิเสธทันที:
- สิทธิ์ที่ประกาศไม่ตรงกับ API ที่เรียกใช้จริง
- การสร้าง TrustManager แบบกำหนดเอง หรือวิธีใด ๆ ที่บายพาสการตรวจสอบใบรับรอง
- IP address แบบ hardcode หรือการส่งข้อมูลผ่าน HTTP แบบ plaintext
- การใช้ Reflection เข้าถึงอ็อบเจกต์ภายในของแอปหลัก (การเชื่อมต่อฐานข้อมูล, บริการ config ฯลฯ)
- โค้ดที่ทำ obfuscate หรือ pack หรือสิ่งใดที่ซ่อนการทำงานของโค้ด
- หมายเลขเวอร์ชันไม่สูงกว่าเวอร์ชันก่อนหน้า
เมื่อได้รับอนุมัติ แพลตฟอร์มจะเซ็นแพ็กเกจทั้งหมดด้วย private key ของตน และไคลเอนต์จะตรวจสอบลายเซ็นตอนติดตั้ง หลังจากนั้น ทุกคน — รวมถึงเราเอง — ไม่สามารถแก้ไขเนื้อหาของแพ็กเกจได้โดยไม่เซ็นใหม่
หากพบปัญหาหลังเผยแพร่ เราจะเพิกถอนเวอร์ชันนั้น ไคลเอนต์จะรับรายการเพิกถอน ปิดใช้งานโดยอัตโนมัติ และแจ้งเตือนผู้ใช้
คำมั่นสัญญาต่อผู้ใช้ — และข้อจำกัดต่อคุณ
ผู้ใช้ของเราคือทนายความ และเครื่องของพวกเขาเก็บข้อมูลลับของลูกความ ปลั๊กอินจะได้รับสิทธิ์เข้าถึงเท่ากับแอปโฮสต์ — ซึ่งมากเกินกว่าที่ตัวเองต้องการอย่างมาก
ดังนั้นการตรวจสอบจึงเข้มงวด และการปฏิเสธจะมีเหตุผลแนบมาเสมอ หากปลั๊กอินของคุณจำเป็นต้องใช้ความสามารถที่ดูเหมือนละเอียดอ่อนจริงๆ ให้อธิบายเหตุผลในบันทึกย่อประกอบการส่ง — จะทำให้การตรวจสอบเร็วขึ้นมาก
ปลั๊กอินเว็บ: สร้าง UI ด้วย HTML/JS
หากสิ่งที่คุณต้องการคืออินเทอร์เฟซ — ฟอร์ม เครื่องมือค้นหา แดชบอร์ด — คุณไม่ต้องใช้ Java ใส่ web/ ไดเรกทอรีในแพ็กเกจ (HTML/JS/CSS แบบสแตติกล้วน จุดเริ่มต้น web/index.html) และระบุใน manifest frontendEntry at it. It may ship no JAR at all.
Here the permissions are real. The desktop app loads a Web plugin into a sandboxed iframe, deliberately not same-origin: plugin scripts never see the host session, every capability travels over the postMessage bridge, and the host checks each call against the manifest permissions. Unlike a JAR plugin, this declaration is an enforcement boundary rather than a self-description.
web/awd-plugin-sdk.js in the template wraps that bridge. Nothing works before the handshake:
| Method | Params | Result | Permission |
|---|---|---|---|
settings.open / settings.update | {} / {values} | {opened} / {} | user / project settings; installation settings stay in trusted host UI |
connections.list / connect / disconnect / request | {id, operation?, params?} | connection state / service JSON | network; host-held credentials and explicit developer trust |
mcp.servers / mcp.call | {} / {serverId, name, arguments} | {servers} / MCP CallToolResult | network + project access; public HTTPS Streamable HTTP |
billing.status / billing.checkout | {connectionId?} | {provider, active, plan?} / {opened} | host purchase entitlement or developer subscription; no automatic charge |
services.request / services.cancel | {service, operation, params, requestId} / {requestId} | operation result | explicit service catalog; per-operation permission checks |
context.get | {} | { pluginId, projectId, language, theme, themeTokens } | - |
files.list | {} | { files: [{ path, name, size }] } | file_read |
im.downloadAttachment | { conversationId, attachmentId } | { started, name } | im (server-side attachment ACL check; no project write permission required) |
notifications.publish | { eventKey, title, body?, actionState?, target? } | notification | notifications (current account inbox; target opens only this plugin) |
notifications.resolve | { eventKey, state } | notification | notifications (updates only this plugin’s notifications; marking read never completes business actions) |
im.request | { action, params } | object | im (host 0.61.0+; fixed messaging actions, project archiving also requires file_write) |
chat.addFile | { path } | {} | file_read (host 0.61.0+; attaches material without auto-sending) |
files.prepareDrag | { path } | { fileId, dragToken, dragType, expiresAt, ... } | file_read (host 0.61.0+; short-lived single-use drag ticket) |
files.endDrag | {} | {} | file_read (host 0.61.0+) |
files.read | { path } | { path, content, truncated } | file_read |
ui.toast | { message } | {} | - |
storage.get | { key } | { key, value } | - |
storage.set | { key, value } | {} | - |
evidence.link | { anchor: { selection: true } | { quote }, docPath?, targets: [{ path, locator?, relation?, method?, note? }] } | { linkKey, targetIds } | editor |
evidence.list | { docPath?, path?, sectionPath?, status? } | { links: [{ linkKey, docPath, anchorText, sectionPath, status, targets }] } | file_read |
evidence.locate | { linkKey, targetId? } | {} | editor |
tools.invoke | { name, args? } | { output } | - (tool must be declared in this plugin’s manifest) |
chat.send | { prompt } | {} | - (up to 4,000 characters) |
ui.openFile | { path } | {} | file_read |
doc.exec | { action, params? } | { result } | editor (host 0.27.4+; action restricted to safe doc_/sheet_/slide_ subset) |
doc.active | {} | { fileId, kind } | editor (host 0.27.4+) |
events.subscribe | { events: ["files.changed" | "selection.changed" | "project.switched"] } | { subscribed } | per event (host 0.27.4+) |
events.unsubscribe | { events } | { subscribed } | - |
ai.request | { prompt, system?, purpose? } | { text, modelId } | ai (host 0.27.4+; 16,000 chars, 10 calls/min, billed via user Credits) |
settings.get | { key } | { key, value } | - (host 0.28+; reads non-secret keys declared in top-level manifest settings) |
<script src="awd-plugin-sdk.js"></script>
<script>
const ctx = await awd.ready(); // { pluginId, projectId, language, theme, themeTokens }
const files = await awd.files.list(); // requires file_read
const doc = await awd.files.read(files[0].path); // { path, content, truncated }
await awd.ui.toast('Completed');
await awd.storage.set('draft', { title: 'x' }); // plugin-scoped KV, capped at 64 KB
</script>Errors arrive as rejected promises with err.code: permission_denied when the manifest does not declare what the call needs, unknown_method when the host does not recognize it. files.read caps text at 5 MB (truncated becomes true), and storage caps each plugin at 64 KB total.
Theme channel (v2.6)
The handshake context now carries theme ('light'|'dark') and themeTokens (a table of --awd-* CSS variables); the host also pushes { type: 'theme', theme, tokens } on every later switch. The SDK applies it automatically — setting data-theme, toggling the awd-theme-light/awd-theme-dark class, and writing each token as a CSS custom property — so plugin CSS can just use var(--awd-surface) with zero JS. For script-driven behavior, use awd.theme.get() to read the current value and awd.theme.onChange(cb) to subscribe. The host simulator has a light/dark toggle button in its header, so you can test both themes without installing the desktop app.
The template also ships a host simulator, dev/host-simulator.html: it impersonates the desktop host, performs the handshake, serves every method with fake data, and logs each bridge message. Run a local static server and you can develop in a browser without installing AI WorkDeck.
python3 -m http.server 8000
# -> http://localhost:8000/dev/host-simulator.htmlOpening it directly over file:// usually shows a blank frame — browsers refuse to load sandboxed child documents from file://. The server must not rewrite URLs either: npx serve enables clean URLs by default, redirecting /web/index.html to /web so the relative SDK reference 404s.
SDK 1.6 platform APIs (new host preview)
The Web download includes a standalone Node.js 20+ CLI. Keep scripts/ and sdk/plugin-sdk/ in their relative locations. Test UI in the simulator, then permissions, project switching, disabling, cancellation and reconnection in a compatible isolated host. Example domains are placeholders, not working services.
Declare sidebar/workspace views with project/global scope; one view per placement and an existing web/ entry. Sidebar docks are left/right/bottom. Settings default to installation scope; user/project settings may be changed by the plugin. Installation settings remain in trusted host UI. Secrets never return to the iframe; use connections for per-user credentials.
Connections declare a fixed public HTTPS origin and fixed GET/POST operations. Authentication is none, Bearer or public-client OAuth2 PKCE. connect opens trusted host UI; tokens stay in the host. Never pass arbitrary URLs, authorization headers or host setting keys. BYO services and shared host AI/speech channels are separate choices with their own permissions and usage constraints.
OAuth uses Authorization Code with S256 PKCE. A local host uses its actual port at http://127.0.0.1:<port>/api/plugins/oauth/callback; server deployments must set ai.plugins.oauth-redirect-uri to a trusted HTTPS callback and register it with the provider. Expired credentials without refresh or credentials rejected with 401/403 return needsReconnect and require host-side login again.
MCP currently supports public HTTPS Streamable HTTP only: no stdio, local processes, private addresses or redirects. Declare network, every server and tool; remote names and schemas must match. Input roots are objects. Supported schema keywords are type/title/description, object properties/required/boolean additionalProperties, array items and string enum. Types include boolean/integer/number. No $ref, oneOf, nullable or other keywords. Limits: depth 8, 64 properties per object and 64 tools per server. connectionId references a same-origin connection in this plugin. Legacy credentialKey only references a declared installation secret.
Development installs require explicit administrator service trust in the host settings page. Trust is bound to the full manifest SHA256 and expires when it changes. Packages must not contain .awd-dev, .awd-service-trust or .awd-bundled markers. Trust does not unlock development JARs or local processes.
speech, tasks and clipboard permissions grant only catalogued services.request operations; this is not an arbitrary backend proxy. services.cancel cancels this plugin’s requests. Handle unsupported hosts, missing permissions and failures explicitly; do not silently switch to external or paid services.
Platform billing currently covers plugin purchase entitlement only; submitted prices are one-time purchases. There is no platform per-call collection or revenue-sharing API. Developer-owned subscriptions may declare connections.billing status and checkout. An opened checkout is not a successful payment.
Host billing.status refreshes the current account entitlement and returns refreshed; false means the refresh did not succeed and active may come from a still-valid cache, not a fresh payment confirmation. Checkout waits for the browser-opening result and rejects failures. Test actual host login, token expiry, subscription status, MCP errors, account switching and shared/BYOK routing; a synthetic provider verifies host integration, not live OAuth or payment certification.
Complete the free developer eligibility review and generate a submission token in the developer center. Supply it through the local AWD_PLUGIN_TOKEN environment variable. Never put it in source, Agent prompts or packages. Valid submissions remain pending human review and signing; passing local validation is not marketplace approval.
node scripts/plugin-dev.mjs validate .
node scripts/plugin-dev.mjs package . --out ../my-plugin.zip
# Start the synthetic UI simulator, then open /dev/host-simulator.html
python3 -m http.server 8000
# Explicit development installation: select an isolated imported project/folder first.
# Replace PORT with the isolated host port. AWD_SESSION_ID is supplied locally if required.
# Do not paste credentials into source or an Agent prompt.
node scripts/plugin-dev.mjs install --endpoint http://127.0.0.1:PORT --project-id PROJECT_ID --folder-id FOLDER_ID
# Explicit marketplace submission only; provide AWD_PLUGIN_TOKEN locally.
node scripts/plugin-dev.mjs submit . --endpoint https://www.aiworkdeck.com/api/plugins --price-cents 0
node scripts/plugin-dev.mjs submissions --endpoint https://www.aiworkdeck.com/api/plugins{
"id": "my-service-plugin",
"name": "Service panel",
"version": "1.0.0",
"description": "SDK 1.6 host preview example",
"author": "Example developer",
"frontendEntry": "web/index.html",
"permissions": [
"network",
"ai",
"speech",
"tasks",
"clipboard"
],
"settings": [
{
"key": "language",
"label": "Language",
"type": "string",
"scope": "user",
"default": "zh-CN"
},
{
"key": "summaryStyle",
"label": "Summary style",
"type": "string",
"scope": "project",
"default": "brief"
}
],
"contributes": {
"views": [
{
"id": "service-panel",
"name": "Service panel",
"entry": "web/index.html",
"placement": "sidebar",
"scope": "project",
"defaultDock": "left",
"allowedDocks": [
"left",
"right",
"bottom"
]
}
],
"connections": [
{
"id": "service",
"label": "My service",
"baseUrl": "https://api.example.com",
"auth": {
"type": "bearer"
},
"operations": {
"summarize": {
"method": "POST",
"path": "/v1/summarize"
},
"status": {
"method": "GET",
"path": "/v1/subscription"
}
},
"billing": {
"statusOperation": "status",
"checkoutUrl": "https://example.com/subscribe"
}
}
],
"mcpServers": [
{
"id": "remote",
"transport": "streamable-http",
"url": "https://api.example.com/mcp",
"connectionId": "service",
"tools": [
{
"name": "summarize",
"description": "Summarize supplied text",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
],
"additionalProperties": false
}
}
]
}
]
}
}Complete task to give your Agent
Implement this requirement using the downloaded AI WorkDeck Web plugin template: [feature, inputs, outputs, acceptance criteria].
Read README.md, sdk/plugin-sdk/awd-plugin-sdk.d.ts and manifest.schema.json first. Use minimum permissions. SDK 1.6 platform features require the unreleased new host; simulator success does not prove installed-client support.
Edit only this plugin. Preserve scripts/ and sdk/plugin-sdk/ layout. Do not modify the SDK to bypass checks. Support --awd-* theme tokens, keyboard interaction, narrow panels and light/dark themes.
Declare views and installation/user/project settings as needed. Credentials must use trusted host connections; never put tokens in the iframe, logs, repository or zip.
Choose shared host AI/speech/tasks/clipboard with the required permissions, or fixed HTTPS BYO operations with network permission. MCP must use public HTTPS Streamable HTTP and explicitly declared tools with the supported schema subset. No stdio, private hosts, arbitrary URLs or system settings.
Use synthetic simulator data to verify success, permission denial, disconnect, retry and cancel. Do not access customer data, real login or paid services. Use only my designated isolated project for host installation; ask the host administrator to grant service trust in settings after manifest changes.
Run node scripts/plugin-dev.mjs validate . and node scripts/plugin-dev.mjs package . --out ../my-plugin.zip. Verify no .env, credentials, private keys or host trust markers. Report changes, checks, unverified boundaries and zip location.
Only submit when I explicitly request it, using a locally provided AWD_PLUGIN_TOKEN without printing it. Report pending review accurately; never claim approval, payment or release.