Skip to content

Latest commit

 

History

History
104 lines (71 loc) · 8.3 KB

SUBMISSION.md

File metadata and controls

104 lines (71 loc) · 8.3 KB

Publishing the Diffbot plugin to the Dify Marketplace

This is the runbook for publishing the plugin from the Diffbot organization. The source is public at https://github.com/diffbot/dify-diffbot. Contact: support@diffbot.com.

Status (29 November 2026, Pacific/Honolulu)

Submitted. The official v0.2.0 package is in langgenius/dify-plugins#4038:

  • Path: diffbot/diffbot/diffbot-0.2.0.difypkg
  • Version: 0.2.0 (manifest author diffbot, name diffbot)
  • Package: the GitHub Release asset from https://github.com/diffbot/dify-diffbot/releases/tag/v0.2.0 (70,958 bytes, 44 files, sha256 50c81aa65fb3a3392e299a061d0cf785364e309c2e86c5c38f5460626af1e688, dify plugin checksum 988812c08e9a5faaf47468fb9b93875b89e794505648c0185774aff1c66bead7)
  • The PR was opened from Andrew Wessels' (shixish) fork on behalf of the Diffbot organization. It is not a draft. It changes only that one .difypkg.

Andrew installed v0.2.0 in Dify via Install plugin from GitHub, used the plugin, and reported that it works and looks good. That was not an exhaustive feature test, and the PR does not separately attest Community Edition versus Dify Cloud. A full live API smoke test of every tool, including crawl, has not been rerun for this submission. The short Marketplace description wording is still on Jerome's list to confirm; it was not treated as a blocker.

Do not open a second marketplace PR to fix review comments. Push to the same branch (shixish:add-diffbot-0.2.0). Do not comment on the PR unless a reviewer asks something that needs a reply.

Requirements checked

Re-read on 29 November 2026 against:

The package meets the current requirements without a new plugin version:

  • Runtime files only. No .env, .git, virtualenvs, caches, tests, or binaries.
  • manifest.yaml has author, name, version, type, runner (Python 3.12), icon, privacy: PRIVACY.md, repo, contact: support@diffbot.com, and network.domains.
  • README covers setup, usage, credentials, connection requirements, and the source repository. User-facing text is English.
  • PRIVACY.md describes what is sent to Diffbot, what is stored (nothing by the plugin itself), the email/phone field scrub and its limits, and the support contact.
  • Icon: official 2026 Diffbot logomark, 512×512 PNG.
  • Dependencies pinned: dify_plugin==0.11.0 (above the 0.9.0 floor) and diffbot==3.4.1. No git or URL installs. The SDK still pulls in click and rich (no [cli] extra yet); that is explained in the PR.
  • The package is unsigned. Marketplace publication signs with Dify's key after review.

Risk level on the PR is high risk, because Extract and crawl have Diffbot fetch user-supplied URLs, and crawl is the "crawl arbitrary URLs" case. The written rule is to pick the higher label.

Local validation (0.2.0)

dify plugin checksum diffbot-0.2.0.difypkg
# checksum=988812c08e9a5faaf47468fb9b93875b89e794505648c0185774aff1c66bead7

python3 validator/validate-difypkg.py diffbot-0.2.0.difypkg \
  --output-dir ./validation-report --pr-body-file pr-body.md

Validator (langgenius/dify-marketplace-toolkit at 83ee707, 29 November 2026, Pacific/Honolulu): exit 0, 0 blocking failures, 4 warning categories, 0 execution failures. sensitive_capabilities passed against the PR body. Dify CLI v0.6.15.

Warnings, all explained in the PR:

  • package_secrets: INVALID_TOKEN is the error string "Invalid or unauthorized Diffbot token.", not a secret.
  • python_safety: sites that mention token either return the SDK client, go through redact(), or return that error string. The token is not returned to the chat.
  • access_domains: the four Diffbot hosts also listed in manifest.yaml network.domains.
  • dependency_vulnerabilities: two pinned dependencies; the OSV database was unreachable, so risk is UNKNOWN for that run.

The start-up install test and the Marketplace duplicate-version check are not part of this local validator. CI on langgenius/dify-plugins runs when the PR is opened.

Pull request layout (for later versions)

Fork is already at https://github.com/shixish/dify-plugins. For a version bump, increment manifest.yaml / pyproject.toml, tag a release so CI builds the new .difypkg, then add only the new file next to the previous one, for example diffbot/diffbot/diffbot-0.2.1.difypkg. Leave the old package in place unless a maintainer says to delete it. Do not reuse a submitted version.

The owner, plugin name, and version must match manifest.yaml (diffbot, diffbot, the new version). One .difypkg change per PR.

git clone https://github.com/shixish/dify-plugins.git
cd dify-plugins
git remote add upstream https://github.com/langgenius/dify-plugins.git
git fetch upstream
git switch main
git merge --ff-only upstream/main
git switch -c add-diffbot-<version>
mkdir -p diffbot/diffbot
cp /path/to/diffbot-<version>.difypkg diffbot/diffbot/
git add diffbot/diffbot/diffbot-<version>.difypkg
git commit -m "add diffbot <version>"
git push -u origin HEAD

Open the PR against langgenius/dify-plugins:main from shixish, using the live PR template. Note that the plugin is published from the official diffbot GitHub organization.

Signatures

dify plugin package and the release workflow produce an unsigned archive. Dify signs marketplace packages after merge. A third-party signature is only for Community Edition installs outside the marketplace. dify signature verify with no -p checks the Marketplace public key and will reject the unsigned file, which is expected before Dify signs it. See the signature doc linked above.

What reviewers typically do next

Automated CI runs when the PR is opened, updated, or marked ready. A green check is not approval. A blocking error is fixed on the same PR. A warning can still produce a change request. After approval and merge, the repository validates again and uploads the package to the Marketplace. The author does not upload the approved file separately. After it is listed, check the Marketplace and Creator Center rather than assuming the listing exists.

Reviewers usually check that the manifest, README, privacy policy, and PR agree; that sensitive capabilities (URL fetch, crawl, webhooks, personal data) are disclosed and constrained; and that dependency and warning notes are credible. They may ask about the testing limitation, the undocumented Ask endpoint, unscrubbed DQL export files, click/rich as SDK transitive dependencies, or whether the PR author (shixish) may publish under the diffbot author name.

Follow-ups (not required to keep the PR open)

  • Rerun a live API smoke test of every tool, including crawl (obeyRobots default, start → status → results → delete on a small job whose name is 30 characters or fewer).
  • If a reviewer wants an OSV-clean validator run, rerun when that database is reachable.
  • Jerome's wording review of the short description: "Search the web, extract pages, and look up organizations, people, and news in the Diffbot Knowledge Graph."
  • After merge: confirm the Marketplace listing, then the Creator Center plugin page.

Historical 0.1.0 validator numbers

0.1.0 was never submitted. For the record only, the 18 November 2026 validator run was on dist/diffbot-0.1.0.difypkg (48,816 bytes, 32 files, dify plugin checksum 7c9012578f4a2a98b02b0693fe484962de3305620dd0fb63b2de165bb85e3e91), toolkit 83ee707, exit 0. Do not reuse those numbers for 0.2.0.