← Files Affiliate AttributionARCHIVED FILE

plugin.json

7.79 KB · Nov 30, 2026 · 07:44 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "affiliate-attribution",
  "version": "0.1.1",
  "description": "Compare explicit click/coupon attribution rules and reconcile commissions.",
  "author": {
    "name": "Imagineers Studio Inc"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Affiliate Attribution",
        "shortDescription": "Commission and payout math",
        "longDescription": "Compare explicit click/coupon attribution rules and reconcile commissions. Includes calculate eligible net commissions; compare last-click and coupon attribution; reconcile flat fees and commissions by creator. Explicit net/refund amounts and attribution window; model comparison is not verified platform attribution. Supplied inputs are transient; export documents to retain a copy. Navigation and conversation workspaces with three supplied-input operations. Real result files are available for explicit download. Supplied-input processing only; no accounts, payments, live retrieval or server-side history. For adults 18+.",
        "developerName": "Imagineers Studio Inc",
        "category": "Business & Operations",
        "capabilities": [
          "Interactive"
        ],
        "defaultPrompt": [
          "Open Affiliate Attribution.",
          "Help me calculate eligible net commissions."
        ],
        "logo": "./assets/icon.png",
        "composerIcon": "./assets/icon.png",
        "supportURL": "https://firemoon-social-workbenches.vercel.app/support",
        "privacyPolicyURL": "https://firemoon-social-workbenches.vercel.app/privacy",
        "termsOfServiceURL": "https://firemoon-social-workbenches.vercel.app/terms",
        "websiteURL": "https://firemoon-social-workbenches.vercel.app/plugins/affiliate-attribution"
      },
      "review": {
        "commerce": false,
        "commerce_description": "No payment, purchases, reservations, or generation-credit charges.",
        "prompts": [
          "I need to calculate eligible net commissions. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":2000,\"commission_pct\":10}]}",
          "I need to compare last-click and coupon attribution. Use these supplied inputs and the indicated units:\n{\"sale_day\":\"2026-11-10\",\"window_days\":30,\"coupon_creator\":\"B\",\"clicks\":[{\"creator_id\":\"A\",\"day\":\"2026-11-01\",\"order\":1}]}",
          "I need to reconcile flat fees and commissions by creator. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":0,\"commission_pct\":10}],\"fees\":[{\"creator_id\":\"c1\",\"flat_cents\":5000,\"paid_cents\":3000}]}"
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Calculate eligible net commissions using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to calculate eligible net commissions. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":2000,\"commission_pct\":10}]}",
              "tools_triggered": "affiliate_attribution_net_commissions",
              "expected_behavior": "Call affiliate_attribution_net_commissions with {\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":2000,\"commission_pct\":10}]}. Show commission_cents = 800 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Compare last-click and coupon attribution using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to compare last-click and coupon attribution. Use these supplied inputs and the indicated units:\n{\"sale_day\":\"2026-11-10\",\"window_days\":30,\"coupon_creator\":\"B\",\"clicks\":[{\"creator_id\":\"A\",\"day\":\"2026-11-01\",\"order\":1}]}",
              "tools_triggered": "affiliate_attribution_attribution_window",
              "expected_behavior": "Call affiliate_attribution_attribution_window with {\"sale_day\":\"2026-11-10\",\"window_days\":30,\"coupon_creator\":\"B\",\"clicks\":[{\"creator_id\":\"A\",\"day\":\"2026-11-01\",\"order\":1}]}. Show models_disagree = true (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Reconcile flat fees and commissions by creator using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to reconcile flat fees and commissions by creator. Use these supplied inputs and the indicated units:\n{\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":0,\"commission_pct\":10}],\"fees\":[{\"creator_id\":\"c1\",\"flat_cents\":5000,\"paid_cents\":3000}]}",
              "tools_triggered": "affiliate_attribution_creator_payouts",
              "expected_behavior": "Call affiliate_attribution_creator_payouts with {\"sales\":[{\"id\":\"s1\",\"creator_id\":\"c1\",\"net_cents\":10000,\"refund_cents\":0,\"commission_pct\":10}],\"fees\":[{\"creator_id\":\"c1\",\"flat_cents\":5000,\"paid_cents\":3000}]}. Show due_cents = 3000 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Independent changed-input or boundary case.",
              "prompt": "Please calculate eligible net commissions using these values:\n{\"sales\":[{\"id\":\"a\",\"creator_id\":\"x\",\"net_cents\":1000,\"refund_cents\":1000,\"commission_pct\":10}]}",
              "tools_triggered": "affiliate_attribution_net_commissions",
              "expected_behavior": "Call affiliate_attribution_net_commissions with {\"sales\":[{\"id\":\"a\",\"creator_id\":\"x\",\"net_cents\":1000,\"refund_cents\":1000,\"commission_pct\":10}]}; commission_cents = 0 within 1e-6 relative numeric tolerance."
            },
            {
              "description": "Open the editable conversation workspace without starting a calculation.",
              "prompt": "Open Affiliate Attribution beside this conversation so I can edit the inputs.",
              "tools_triggered": "affiliate_attribution_workspace",
              "expected_behavior": "Call affiliate_attribution_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
            }
          ],
          "negative": [
            {
              "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
              "prompt": "Connect to my account and automatically fetch the current records for Affiliate Attribution."
            },
            {
              "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
              "prompt": "Monitor my Affiliate Attribution inputs every night and email me when they change."
            },
            {
              "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
              "prompt": "Use Affiliate Attribution to run a shell command and upload my private files to a website."
            }
          ]
        },
        "demo_recording_url": "https://firemoon-social-workbenches.vercel.app/demos/affiliate-attribution-8c012aa72137.mp4"
      },
      "publication": {
        "release_notes": "Initial remote release with three supplied-input workflows, editable per-workflow drafts, explicit calculation, document import and export, and recoverable validation.",
        "countries": []
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: aa4bbc0e5bde7c230d9b47db373f12bf9a64471a558d61747357b05387757236