Repository navigation
Bring the plugin to parity with diffbot 3.4.1 - #3
Merged
Merged
Conversation
…flags Bump the plugin to 0.2.0. Base URL overrides are https on diffbot.com only. Crawl robots/proxy/canonical become default|on|off selects with new field names so saved false values cannot start ignoring robots.txt. Add the crawl regex, subdomain, notify and multi-header options, plus extract job and custom API name. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
kg_query scrubs email/phone/html from JSON and caps output; kg_ontology uses a process-wide cache keyed by ontology URL. Organization industry is resolved against the OrganizationCategory taxonomy. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ache Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Mark the 3.4.0 validator results stale until rerun on 0.2.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- nlp: max_number_of_sentences is 1 to 10, as the SDK documents (was 1 to 50). - ontology_cache: a non-object ontology document is treated as a failed fetch (backoff, stale copy if any) instead of being cached and crashing later lookups or industry matching with AttributeError. - crawl_start: notify_webhook must be https, matching its help text. - Tests for all three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- SUBMISSION.md: base URLs can now be overridden (diffbot.com https only), so drop "neither credentials nor parameters can change the SDK base URLs" and the matching access_domains note; runbook commands and PR body use 0.2.0; mark the 0.1.0 checksum and validator lines stale inline; remove the "PRIVACY.md does not describe crawl" blocker; ontology and hit counts are no longer "later version" items. - PRIVACY.md: say the scrub drops email and phone fields, not every email or phone value in free text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bring the Dify plugin to full parity with the Python SDK
diffbot3.4.1: every public capability on the syncDiffbotclient gets a plugin tool or credential field.The plugin is now 0.2.0, pinned to exact
diffbot==3.4.1(the 3.4.1 crawl-flag fix is required; an exact pin matches the current package policy).New tools
kg_query— raw DQL over POST, with named options. JSON/jsonl are scrubbed of email, phone, and html fields and capped at 200,000 characters. csv/xls/xlsx exports are files and are not scrubbed (called out in help and PRIVACY.md).kg_ontology— ontology lookup with an in-memory 24-hour cache (noOntologyStorein 3.4.1;dql_refresh_ontologyis excluded because it writes to disk).ask— text or JSON viaask_json/json_schema_format(never a barejson_object). The endpoint is undocumented; help text says so.nlp— single-document NLP;resolve_entitiesstays onentities().account_usage— plan, status, and usage only; never returnstoken,childTokens, oremail.Existing tools and credentials
default/on/off) so a savedobey_robots: falsecannot start ignoring robots.txt after the 3.4.1 pin.notify_webhook/notify_email.count_only. Organizationindustryis still an LLM string, resolved server-side againstOrganizationCategory.jobtype and an optional custom API name (form: form, strict pattern).*_basefields, https only, limited todiffbot.com/*.diffbot.com.verify_tokenfollowsapi_base. The host guard stays always on.Out of scope
langgenius/dify-plugins. The 3.4.0 marketplace validator results are marked stale; 0.2.0 still needs a package build, a validator rerun, and a live smoke test before any submission.enhance_entitystays out (not in the SDK; already removed).Plan review and implementation review were done by Claude (Opus); implementation was Sonnet, with Opus follow-up fixes.
Test plan
tests/test_parity_3_4_1.py(63 passed locally, plustests/test_sdk_wiring.py). CI should run the full suite..difypkg, rerun the validator, and smoke-test live (including crawlobeyRobotsdefault).