@jini-ai/agent-plugins 0.6.22 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/README.md +13 -0
- package/calendly/exports/booking-calendar.css +7 -0
- package/calendly/exports/booking-calendar.html +5 -0
- package/calendly/mcp.json +10 -0
- package/calendly/plugin.json +47 -0
- package/calendly/skills/calendly/SKILL.md +27 -0
- package/charts-echarts/plugin.json +2 -2
- package/charts-recharts/plugin.json +2 -2
- package/cloudflare/lib/cms-forms.mjs +57 -0
- package/cloudflare/lib/forms.mjs +78 -18
- package/cloudflare/lib/target.mjs +17 -4
- package/cloudflare/plugin.json +2 -2
- package/cloudflare/skills/cloudflare/SKILL.md +4 -4
- package/cloudflare/skills/cloudflare/references/workers.md +4 -4
- package/cloudflare/worker/forms-receiver.mjs +81 -41
- package/cloudflare/worker/portable-validation.mjs +220 -0
- package/commerce/plugin.json +17 -0
- package/commerce/skills/commerce/SKILL.md +23 -0
- package/composio/mcp.json +1 -1
- package/composio/plugin.json +2 -2
- package/composio/skills/composio/SKILL.md +4 -4
- package/core/commerce-server.d.ts +2 -0
- package/core/commerce-server.mjs +2 -0
- package/dist/admin-surfaces/connections/connections.d.ts +35 -0
- package/dist/admin-surfaces/connections/connections.js +135 -0
- package/dist/admin-surfaces/connections/index.d.ts +3 -0
- package/dist/admin-surfaces/connections/index.js +2 -0
- package/dist/admin-surfaces/connections/ports.d.ts +110 -0
- package/dist/admin-surfaces/connections/ports.js +2 -0
- package/dist/admin-surfaces/index.d.ts +2 -0
- package/dist/admin-surfaces/index.js +1 -0
- package/dist/admin-surfaces/plugin-state-persistence.d.ts +27 -0
- package/dist/admin-surfaces/plugin-state-persistence.js +2 -0
- package/dist/admin-surfaces/plugin-state.d.ts +51 -0
- package/dist/admin-surfaces/plugin-state.js +106 -0
- package/dist/connect/access-token-tool.d.ts +240 -0
- package/dist/connect/access-token-tool.js +213 -0
- package/dist/connect/apply-connect-defaults.d.ts +91 -0
- package/dist/connect/apply-connect-defaults.js +113 -0
- package/dist/connect/apply-tool-renames.d.ts +72 -0
- package/dist/connect/apply-tool-renames.js +105 -0
- package/dist/connect/connect-card-ui.d.ts +143 -0
- package/dist/connect/connect-card-ui.js +106 -0
- package/dist/connect/connect-destination.d.ts +35 -0
- package/dist/connect/connect-destination.js +45 -0
- package/dist/connect/connect-sign-in-wait.d.ts +31 -0
- package/dist/connect/connect-sign-in-wait.js +21 -0
- package/dist/connect/connect-tool.d.ts +314 -0
- package/dist/connect/connect-tool.js +431 -0
- package/dist/connect/connection-status.d.ts +33 -0
- package/dist/connect/connection-status.js +63 -0
- package/dist/connect/credential-cards.d.ts +15 -0
- package/dist/connect/credential-cards.js +49 -0
- package/dist/connect/credential-save-tool.d.ts +45 -0
- package/dist/connect/credential-save-tool.js +156 -0
- package/dist/connect/enable-access.d.ts +67 -0
- package/dist/connect/enable-access.js +74 -0
- package/dist/connect/executable/approval.d.ts +58 -0
- package/dist/connect/executable/approval.js +40 -0
- package/dist/connect/executable/host-capabilities.d.ts +76 -0
- package/dist/connect/executable/host-capabilities.js +100 -0
- package/dist/connect/executable/index.d.ts +10 -0
- package/dist/connect/executable/index.js +9 -0
- package/dist/connect/executable/ports.d.ts +189 -0
- package/dist/connect/executable/ports.js +2 -0
- package/dist/connect/executable/register.d.ts +21 -0
- package/dist/connect/executable/register.js +125 -0
- package/dist/connect/federate-mcp.d.ts +190 -0
- package/dist/connect/federate-mcp.js +440 -0
- package/dist/connect/grant-signed-in-defaults.d.ts +96 -0
- package/dist/connect/grant-signed-in-defaults.js +100 -0
- package/dist/connect/import-access-token.d.ts +114 -0
- package/dist/connect/import-access-token.js +103 -0
- package/dist/connect/index.d.ts +19 -0
- package/dist/connect/index.js +19 -0
- package/dist/connect/plugin-credential-card.d.ts +46 -0
- package/dist/connect/plugin-credential-card.js +63 -0
- package/dist/connect/plugin-host/index.d.ts +203 -0
- package/dist/connect/plugin-host/index.js +153 -0
- package/dist/connect/ports.d.ts +74 -0
- package/dist/connect/ports.js +2 -0
- package/dist/connect/switch-on-saved-token.d.ts +48 -0
- package/dist/connect/switch-on-saved-token.js +20 -0
- package/dist/connect/token-sign-in.d.ts +51 -0
- package/dist/connect/token-sign-in.js +43 -0
- package/dist/core/identity-namespace.d.ts +39 -0
- package/dist/core/identity-namespace.js +61 -3
- package/dist/folder-zip-node.js +3 -1
- package/dist/lifecycle/automatic-use.d.ts +12 -7
- package/dist/lifecycle/automatic-use.js +37 -28
- package/dist/lifecycle/capability-projection.js +5 -1
- package/dist/lifecycle/contribution-loader.d.ts +2 -7
- package/dist/lifecycle/contribution-types.d.ts +8 -0
- package/dist/lifecycle/contribution-types.js +2 -0
- package/dist/lifecycle/credential-card-metadata.d.ts +23 -0
- package/dist/lifecycle/credential-card-metadata.js +184 -0
- package/dist/lifecycle/exports.d.ts +11 -0
- package/dist/lifecycle/exports.js +64 -3
- package/dist/lifecycle/host-tools/identity.d.ts +38 -0
- package/dist/lifecycle/host-tools/identity.js +58 -0
- package/dist/lifecycle/host-tools/index.d.ts +20 -0
- package/dist/lifecycle/host-tools/index.js +20 -0
- package/dist/lifecycle/host-tools/memory-tools.d.ts +22 -0
- package/dist/lifecycle/host-tools/memory-tools.js +63 -0
- package/dist/lifecycle/host-tools/ports.d.ts +121 -0
- package/dist/lifecycle/host-tools/ports.js +2 -0
- package/dist/lifecycle/host-tools/provider-status-tool.d.ts +88 -0
- package/dist/lifecycle/host-tools/provider-status-tool.js +45 -0
- package/dist/lifecycle/host-tools/search-tool.d.ts +74 -0
- package/dist/lifecycle/host-tools/search-tool.js +282 -0
- package/dist/lifecycle/host-tools/skill-tool.d.ts +219 -0
- package/dist/lifecycle/host-tools/skill-tool.js +482 -0
- package/dist/lifecycle/host-tools/write-note-tool.d.ts +22 -0
- package/dist/lifecycle/host-tools/write-note-tool.js +47 -0
- package/dist/lifecycle/index.d.ts +2 -1
- package/dist/lifecycle/install.js +2 -1
- package/dist/lifecycle/installed-package-index.js +5 -8
- package/dist/lifecycle/mail/adapter-descriptors.d.ts +78 -0
- package/dist/lifecycle/mail/adapter-descriptors.js +155 -0
- package/dist/lifecycle/mail/catalog.d.ts +116 -0
- package/dist/lifecycle/mail/catalog.js +72 -0
- package/dist/lifecycle/mail/configuration.d.ts +25 -0
- package/dist/lifecycle/mail/configuration.js +62 -0
- package/dist/lifecycle/mail/contribution.d.ts +89 -0
- package/dist/lifecycle/mail/contribution.js +115 -0
- package/dist/lifecycle/mail/host-mailer.d.ts +24 -0
- package/dist/lifecycle/mail/host-mailer.js +10 -0
- package/dist/lifecycle/mail/index.d.ts +16 -0
- package/dist/lifecycle/mail/index.js +16 -0
- package/dist/lifecycle/mail/selection.d.ts +40 -0
- package/dist/lifecycle/mail/selection.js +86 -0
- package/dist/lifecycle/manifest.d.ts +7 -2
- package/dist/lifecycle/manifest.js +32 -9
- package/dist/lifecycle/metadata.d.ts +31 -0
- package/dist/lifecycle/metadata.js +80 -0
- package/dist/lifecycle/persistent-state.js +2 -1
- package/dist/lifecycle/ports.d.ts +2 -0
- package/dist/lifecycle/resolve-agent-plugin-refs.d.ts +2 -1
- package/dist/lifecycle/resolve-agent-plugin-refs.js +14 -8
- package/dist/lifecycle/search-projection.d.ts +3 -4
- package/dist/lifecycle/search-projection.js +5 -7
- package/dist/lifecycle/search.js +3 -2
- package/fly/plugin.json +5 -5
- package/fly/skills/fly/SKILL.md +1 -1
- package/formspree/plugin.json +7 -0
- package/formspree/skills/formspree/SKILL.md +11 -0
- package/github/plugin.json +2 -2
- package/github/skills/github/SKILL.md +28 -28
- package/github/skills/github/references/actions.md +8 -8
- package/github/skills/github/references/auth-and-tokens.md +7 -7
- package/github/skills/github/references/repo-files.md +5 -5
- package/github/skills/github/references/site-backup.md +16 -16
- package/github/skills/github/references/source-control.md +17 -17
- package/github-pages/plugin.json +2 -2
- package/github-pages/skills/github-pages/SKILL.md +3 -3
- package/google-forms/plugin.json +7 -0
- package/google-forms/skills/google-forms/SKILL.md +15 -0
- package/google-login/plugin.json +3 -3
- package/google-login/skills/google-login/SKILL.md +17 -60
- package/google-workspace/plugin.json +6 -6
- package/google-workspace/skills/google-workspace/references/connection.md +1 -1
- package/google-workspace/skills/google-workspace/references/form-delivery.md +4 -4
- package/google-workspace/tovu-admin-surfaces.json +5 -5
- package/higgsfield-media/plugin.json +5 -5
- package/higgsfield-media/skills/higgsfield-media/SKILL.md +31 -33
- package/higgsfield-media/skills/higgsfield-media/references/failure-modes.md +7 -7
- package/higgsfield-media/skills/higgsfield-media/references/models-and-plan-gates.md +3 -3
- package/jev/plugin.json +2 -2
- package/langfuse/plugin.json +2 -2
- package/meilisearch/plugin.json +2 -2
- package/meilisearch/skills/meilisearch/SKILL.md +1 -1
- package/netlify/plugin.json +2 -2
- package/netlify/skills/netlify/SKILL.md +3 -3
- package/opentelemetry/plugin.json +2 -2
- package/opentelemetry/skills/opentelemetry/SKILL.md +7 -7
- package/package.json +92 -14
- package/posthog/plugin.json +2 -2
- package/posthog/skills/posthog/SKILL.md +7 -7
- package/railway/plugin.json +3 -3
- package/railway/skills/railway/SKILL.md +10 -11
- package/render/plugin.json +3 -3
- package/render/skills/render/SKILL.md +7 -8
- package/resend/NOTES.md +2 -2
- package/resend/mcp.json +1 -1
- package/resend/plugin.json +5 -5
- package/resend/skills/resend/SKILL.md +13 -13
- package/s3-compatible/plugin.json +2 -2
- package/s3-compatible/skills/s3-compatible/SKILL.md +4 -4
- package/sentry/plugin.json +2 -2
- package/sentry/skills/sentry/SKILL.md +7 -7
- package/shopify/plugin.json +2 -2
- package/site-compliance/plugin.json +2 -2
- package/site-compliance/skills/site-compliance/SKILL.md +3 -3
- package/site-compliance/skills/site-compliance/references/gdpr-eu-uk.md +1 -1
- package/site-import/plugin.json +2 -2
- package/slide-design/plugin.json +2 -2
- package/software-engineering/LICENSE +201 -0
- package/software-engineering/NOTICE +9 -0
- package/software-engineering/README.md +89 -0
- package/software-engineering/plugin.json +24 -0
- package/software-engineering/skills/software-engineering/SKILL.md +33 -0
- package/software-engineering/skills/software-engineering/references/debugging.md +54 -0
- package/software-engineering/skills/software-engineering/references/implementation.md +27 -0
- package/software-engineering/skills/software-engineering/references/planning.md +27 -0
- package/software-engineering/skills/software-engineering/references/prototyping.md +14 -0
- package/software-engineering/skills/software-engineering/references/security.md +47 -0
- package/software-engineering/skills/software-engineering/references/verification.md +53 -0
- package/stripe/plugin.json +2 -2
- package/supabase/mcp.json +4 -4
- package/supabase/plugin.json +3 -3
- package/supabase/skills/supabase/SKILL.md +8 -8
- package/supabase/skills/supabase/references/failure-modes.md +5 -5
- package/ui-ux-design/plugin.json +2 -2
- package/vercel/plugin.json +2 -2
- package/vercel/skills/vercel/SKILL.md +3 -3
- package/wordpress/plugin.json +2 -2
- package/wordpress/skills/wordpress/SKILL.md +3 -3
- package/wordpress/skills/wordpress/references/free-site-redirect.md +2 -2
- package/wordpress/skills/wordpress/references/subdomain.md +5 -5
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
The host has a second, narrower pair of GitHub tools. They are easy to reach for by mistake, because
|
|
4
4
|
their names sound general and they are not.
|
|
5
5
|
|
|
6
|
-
-
|
|
7
|
-
-
|
|
6
|
+
- inspect source-control capabilities — read-only. Which providers have a saved connection.
|
|
7
|
+
- commit through source control — commits the site's **rendered static export** to a repository.
|
|
8
8
|
|
|
9
|
-
Neither is a way to put a file in a repository. That is
|
|
9
|
+
Neither is a way to put a file in a repository. That is write named repository files with confirmation.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Neither is a way to put a file in a repository. That is `custom_credential_write
|
|
|
14
14
|
|
|
15
15
|
**App source is not a rendered export.**
|
|
16
16
|
|
|
17
|
-
| |
|
|
17
|
+
| | write named repository files with confirmation | commit through source control |
|
|
18
18
|
|---|---|---|
|
|
19
19
|
| What it commits | Exactly the files you name, verbatim | A **fresh static copy of the active theme** — generated HTML and assets — that it runs itself |
|
|
20
20
|
| Where the content comes from | You | The host's exporter. You do not supply file content at all |
|
|
@@ -28,11 +28,11 @@ A rendered export is the *output* of running that code, and a build handed one e
|
|
|
28
28
|
worse, succeeds and ships a static site where a server was expected.
|
|
29
29
|
|
|
30
30
|
So when a task says "push the app to a repo so CI can build it", that is **not**
|
|
31
|
-
|
|
32
|
-
specific files you write with
|
|
31
|
+
commit through source control. It is either app source the human already has in a repository, or
|
|
32
|
+
specific files you write as named repository files with confirmation. Conflating the two wastes a whole
|
|
33
33
|
build cycle before anyone notices what was actually committed.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
commit through source control is for one job: **publishing the site's rendered output** into a
|
|
36
36
|
repository as a portable static copy. Hosting this layout requires configuration; use the static-publish flow for hosted deployment.
|
|
37
37
|
|
|
38
38
|
---
|
|
@@ -41,23 +41,23 @@ repository as a portable static copy. Hosting this layout requires configuration
|
|
|
41
41
|
|
|
42
42
|
This surprises people and is worth stating flatly.
|
|
43
43
|
|
|
44
|
-
-
|
|
44
|
+
- saved-credential operations reads the **Access Tokens** page's *Add custom provider* table. That is
|
|
45
45
|
where a credential labelled `github` lives.
|
|
46
|
-
-
|
|
46
|
+
- source-control operations reads a **separate** table, connected through the secure connection card.
|
|
47
47
|
|
|
48
|
-
An explicit Source Control connection takes priority. If none exists,
|
|
48
|
+
An explicit Source Control connection takes priority. If none exists, commit through source control
|
|
49
49
|
can use the saved `github` API key; capabilities identify this as `credentialSource:"saved-api-key"`.
|
|
50
|
-
A connected Source Control provider does not give
|
|
50
|
+
A connected Source Control provider does not give authenticated GitHub request a label to use.
|
|
51
51
|
|
|
52
|
-
So:
|
|
52
|
+
So: inspect source-control capabilities before you promise a human anything about committing an
|
|
53
53
|
export. And never ask a human to paste a token into chat to bridge the gap — open the plugin’s source-control card, which saves it encrypted through that owner.
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
57
|
-
## Using
|
|
57
|
+
## Using commit through source control
|
|
58
58
|
|
|
59
59
|
```
|
|
60
|
-
|
|
60
|
+
commit through source control({
|
|
61
61
|
provider: "github",
|
|
62
62
|
owner: "<owner>",
|
|
63
63
|
repo: "<repo>",
|
|
@@ -78,12 +78,12 @@ view the copy. A theme directory needs its sibling `media/`; there is no generat
|
|
|
78
78
|
Existing GitHub Pages/root-hosting URLs can break with this layout. The host's other static
|
|
79
79
|
publishing and export commands retain their current output.
|
|
80
80
|
|
|
81
|
-
Ownership is recorded at
|
|
81
|
+
Ownership is recorded at the host's managed-files ledger for that folder. Changing folders creates an independent
|
|
82
82
|
destination, preserving the previous root export and sibling folders. A folder commit never reads
|
|
83
83
|
the root manifest as a fallback.
|
|
84
84
|
|
|
85
85
|
Only `provider: "github"` is accepted. A gitlab or bitbucket credential can be **saved** and is
|
|
86
|
-
reported honestly by
|
|
86
|
+
reported honestly by inspect source-control capabilities with `commitSupported: false` — committing
|
|
87
87
|
to either is not implemented. Say that plainly rather than letting a human discover it from a
|
|
88
88
|
failed attempt.
|
|
89
89
|
|
|
@@ -108,7 +108,7 @@ which is the opposite of what a non-empty `divergedPaths` means.
|
|
|
108
108
|
|
|
109
109
|
| Code | What it means | The right next move |
|
|
110
110
|
|---|---|---|
|
|
111
|
-
| `no-credential` | No Source Control credential is connected. Returned **without raising a dialog** | Point them at the admin's Source Control page.
|
|
111
|
+
| `no-credential` | No Source Control credential is connected. Returned **without raising a dialog** | Point them at the admin's Source Control page. Inspect source-control capabilities first next time |
|
|
112
112
|
| `REPOSITORY_NOT_FOUND` | The token cannot see that `owner/repo` | Confirm the identifiers, then the token's access. Not necessarily a bad token |
|
|
113
113
|
| `NO_CHANGES` | Nothing changed since the branch's last commit | **Not a failure.** Say nothing needed to commit |
|
|
114
114
|
| `DIVERGED_BRANCH` | Someone else pushed since this call started; the commit was refused rather than overwriting history | The human resolves it, exactly as with any rejected non-fast-forward push |
|
package/github-pages/plugin.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "github-pages",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "Publishes the site's static export to GitHub Pages with the workspace's own saved token. Ships the host code itself (a host loads it only because that host chose to ship this plugin) and the know-how an agent needs: which token permissions to grant, never guessing the owner, the address and base path, and what each failure means in plain words.",
|
|
6
6
|
"author": "Tovu",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
|
-
"
|
|
9
|
+
"jini": {
|
|
10
10
|
"vendorAliases": ["github_pages", "github pages", "githubpages", "github.io"],
|
|
11
11
|
"displayName": "GitHub Pages",
|
|
12
12
|
"summary": "Puts your website online on GitHub Pages. The assistant shows you a preview first.",
|
|
@@ -10,10 +10,10 @@ description: Publish the site's static export to GitHub Pages with the workspace
|
|
|
10
10
|
Choose the card yourself from its `usedFor` list. Reuse a saved key or working sign-in for that
|
|
11
11
|
task. Never offer a replacement unless the person asks.
|
|
12
12
|
|
|
13
|
-
Open the plugin’s **Connect GitHub Pages** card
|
|
13
|
+
Open the plugin’s **Connect GitHub Pages** card through the host. Select only the destination repository and grant Contents and Pages **Read and write**. The card links to token creation; the hosting owner verifies and seals it.
|
|
14
14
|
|
|
15
|
-
The
|
|
16
|
-
credential is saved,
|
|
15
|
+
The workflow applies to any host: inspect static-publishing capabilities shows whether a
|
|
16
|
+
credential is saved, preview static publishing comes first, and publish the static site with confirmation
|
|
17
17
|
publishes once the person confirms. `ok: "partial"` means not reachable yet: never call it failed or live.
|
|
18
18
|
This file is what is particular to GitHub Pages.
|
|
19
19
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "google-forms", "version": "0.1.1", "author": "Jini", "license": "Apache-2.0",
|
|
4
|
+
"description": "Select a published public Google Form as a form collection provider. Questions and answers stay in Google; switching preserves local definitions and historical answers. Installation alone never switches a form.",
|
|
5
|
+
"extensions": { "jini": { "id": "jini/google-forms-agent", "displayName": "Google Forms", "providerPlugin": "google-forms", "provides": ["forms"] } },
|
|
6
|
+
"keywords": ["google forms", "forms", "form collection"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: google-forms
|
|
3
|
+
description: Select a published public Google Form for collection, or switch back to built-in collection.
|
|
4
|
+
---
|
|
5
|
+
Use the existing authorized list form providers, list form definitions and update the form provider configuration tools. List current providers before choosing one. Enable the Google Forms provider plugin with the normal plugin controls; installation does not select it for any form.
|
|
6
|
+
|
|
7
|
+
Ask for the published public responder link, exactly `https://docs.google.com/forms/d/e/<form-id>/viewform` (optionally `?embedded=true`). Do not use an edit link or a shortened forms.gle link. Publish the form in Google Forms, allow public responders, and verify the responder link in an anonymous browser without a Google sign-in. A valid URL does not prove the form is public, published, open, or accepting answers. A real public form must still be checked before acceptance.
|
|
8
|
+
|
|
9
|
+
Explain the destination before changing it and follow the owner's requested choice: Google owns the questions, validation and new answers. Local field edits do not change Google's questions, and new answers do not enter the built-in inbox. This integration does not create Google forms, request OAuth or API keys, import answers, synchronize data, install webhooks or probe availability. Do not promise that an iframe load proves the form works.
|
|
10
|
+
|
|
11
|
+
Select with `provider: { id: "google_forms", config: { url: "https://docs.google.com/forms/d/e/<form-id>/viewform" } }` through update the form provider configuration. Switch back with `provider: { id: "builtin", config: {} }`. Preserve the existing local fields, HTML and historical answers when switching.
|
|
12
|
+
|
|
13
|
+
The embed declares functional consent. With consent enabled it stays inert until effective permission allows it; without consent infrastructure it remains inert. Explicit consent-off mode delivers the frame normally. Keep the visible public-link alternative: “If this form does not open, open it on Google or contact the site owner.” Google may reject private or closed forms; do not claim automatic detection.
|
|
14
|
+
|
|
15
|
+
Republish every affected static page after switching. Retain pending built-in receiver data and existing local history; switching collection providers never authorizes deleting them.
|
package/google-login/plugin.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "google-login",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"description": "Adds Google sign-in for
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"description": "Adds Google sign-in for site members using this site's own Google OAuth client. Includes setup guidance for apps using Supabase Auth.",
|
|
6
6
|
"author": "Tovu",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
|
-
"
|
|
9
|
+
"jini": {
|
|
10
10
|
"maturity": "soon",
|
|
11
11
|
"id": "tovu/google-login",
|
|
12
12
|
"displayName": "Google Login",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: google-login
|
|
3
|
-
description: Set up Google member sign-in
|
|
3
|
+
description: Set up Google member sign-in for site members or Google via an app's existing Supabase Auth.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Google login
|
|
@@ -9,9 +9,9 @@ This integration is marked **soon** and has not been tested with a real Google a
|
|
|
9
9
|
|
|
10
10
|
## Choose the destination first
|
|
11
11
|
|
|
12
|
-
Ask whether the site uses **
|
|
12
|
+
Ask whether the site uses **site members** or **Supabase Auth**, or check whether the supabase plugin is active at runtime. An active plugin is a clue; confirm which authentication system the target app actually uses. Never import the supabase plugin or add a Supabase runtime dependency. Its branch below is instructions only.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Site member login and Google Workspace have separate credentials and activation. Use this plugin for visitor sign-in; Google Workspace owns operator file access. Never replace a working client unless asked. Never ask for the Client Secret in chat, tool arguments, pasted configuration, screenshots, or logs. The person enters it in the secure card or Supabase dashboard themselves.
|
|
15
15
|
|
|
16
16
|
## Prepare the Google client
|
|
17
17
|
|
|
@@ -21,76 +21,33 @@ Tovu member login and Google Workspace have separate credentials and activation.
|
|
|
21
21
|
4. Add the exact authorized redirect URI for the chosen branch below. HTTPS is required for production; Google permits localhost development exceptions. Scheme, host, port, path and any configured base path must match exactly. A JavaScript origin is not a replacement for a redirect URI.
|
|
22
22
|
5. Check Audience's Testing/Production status before rollout. Identity-only `openid email profile` requests have an exception to the usual testing-user restrictions. Additional permissions can change those rules. Publishing and verification are separate; consult [Google's production readiness guidance](https://developers.google.com/identity/protocols/oauth2/production-readiness/overview) for the app's current requirements.
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Site members
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
callback.pathname = callback.pathname.replace(/\/$/, '')
|
|
32
|
-
+ '/api/members/v1/workspaces/' + encodeURIComponent(workspaceId) + '/oidc/google/callback';
|
|
33
|
-
callback.search = '';
|
|
34
|
-
callback.hash = '';
|
|
35
|
-
callback.href;
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
For example, `http://localhost:3000/api/members/v1/workspaces/<workspaceId>/oidc/google/callback`. Replace the placeholder before showing it to the person. Copy the resulting URI into Google's **Authorized redirect URIs**. Use separate local and deployed clients when appropriate.
|
|
39
|
-
3. Open the existing secure card with `credential_save { kind: "plugin-provider", target: "google-login-oauth-client" }`. The person pastes the Client ID into **Google client ID** (`username`) and the Client Secret into the masked secret field (`token`). The existing vault seals it; the assistant never receives it. No extra callback field is needed on the card.
|
|
40
|
-
4. Visit `/signin` and try **Sign in with Google**. Success returns to `/account`. This creates or links a site member, with no administrator privileges. Tovu core owns state, browser binding, PKCE, token validation and member sessions; do not implement a second flow in this plugin.
|
|
41
|
-
5. Explain initial linking: Google-verified `@gmail.com`/`@googlemail.com` addresses and verified Google Workspace accounts with an `hd` claim auto-link directly. Other Google addresses require **one emailed code** to the member's address before the first auto-link, because Google's email verification can outlive mailbox ownership. Later sign-ins use issuer + subject, even if email changes. Disabled or trashed members cannot sign in.
|
|
42
|
-
6. Check sign-out and `/account` **Unlink Google**. Unlink requires a recent sign-in and another usable sign-in method; set a password if directed. Unlink must remain effective on the next Google sign-in. Reconnect deliberately with **Connect Google** from the signed-in `/account` page. It does not revoke Google Workspace file access.
|
|
26
|
+
Enable Google Login through the host's plugin controls. Use the host's configured canonical
|
|
27
|
+
address and exact member sign-in callback URI, including any configured base path. Open the
|
|
28
|
+
secure connection card for the client ID and secret; never receive either secret in chat.
|
|
29
|
+
The host owns browser binding, state, PKCE, token validation, linking, unlinking and member
|
|
30
|
+
sessions. Verify sign-in, sign-out and unlinking through the host's existing member flow.
|
|
43
31
|
|
|
44
32
|
## Google via Supabase Auth
|
|
45
33
|
|
|
46
34
|
1. Open the target project's **Supabase dashboard → Authentication → Providers → Google** and enable Google.
|
|
47
|
-
2. The person enters the **same Google Client ID and Client Secret** directly in that Supabase panel themselves, never in chat.
|
|
35
|
+
2. The person enters the **same Google Client ID and Client Secret** directly in that Supabase panel themselves, never in chat. The host's credential card is unnecessary unless this site also uses site members.
|
|
48
36
|
3. Copy the exact **Callback URL (for OAuth)** shown on that panel. Add it to the Google OAuth client's **Authorized redirect URIs**. A hosted callback commonly looks like `https://<project-ref>.supabase.co/auth/v1/callback`; use the displayed value, including a custom domain if configured. For local Supabase, use the callback shown by that instance.
|
|
49
|
-
4. One Google Web application client can list both the Supabase callback and
|
|
37
|
+
4. One Google Web application client can list both the Supabase callback and the host's callback when both systems are used. Keep both exact URIs in Google; do not substitute one for the other.
|
|
50
38
|
5. In Supabase **Authentication → URL Configuration**, configure the app's own allowed return URL. The Google-to-Supabase callback and the Supabase-to-app return URL serve different steps.
|
|
51
|
-
6. Test through the app's existing Supabase sign-in flow. These instructions do not automatically associate Supabase users with
|
|
39
|
+
6. Test through the app's existing Supabase sign-in flow. These instructions do not automatically associate Supabase users with site members or replace the app's session system. See [Supabase's Google setup](https://supabase.com/docs/guides/auth/social-sign-in/auth-google).
|
|
52
40
|
|
|
53
41
|
## Troubleshooting without exposing secrets
|
|
54
42
|
|
|
55
43
|
- `redirect_uri_mismatch`: compare the exact configured callback with Google's authorized list, including scheme, port and base path.
|
|
56
|
-
- Missing
|
|
44
|
+
- Missing sign-in button: check plugin activation, the saved Client ID/Secret card and configured canonical address. Do not switch to Workspace credentials.
|
|
57
45
|
- Browser/state failure: restart from `/signin` in the same browser; do not forward an authorization URL, bypass binding, weaken validation or add issuer aliases.
|
|
58
46
|
- Google access denied: check Audience restrictions and the selected account; request only identity permissions. Never copy callback query strings, codes, state, verifier, tokens, claims or upstream error bodies into chat or logs. Report fixed outcome codes only.
|
|
59
47
|
|
|
60
48
|
## Embed the sign-in button on a public page
|
|
61
49
|
|
|
62
|
-
Use the
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Use the marker owner to serialize config; do not construct a second JSON attribute escaper.
|
|
67
|
-
|
|
68
|
-
```html
|
|
69
|
-
<div data-embed-config='{"type":"plugin","plugin":"tovu/google-login","component":"sign-in-button","version":1,"props":{"variant":"light"}}'>
|
|
70
|
-
<p>Google sign-in is currently unavailable.</p>
|
|
71
|
-
</div>
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Keep a useful authored fallback. Disabled/unconfigured plugins render that fallback without a
|
|
75
|
-
button. Static exports always render the fallback, while bundling the stylesheet and mark.
|
|
76
|
-
The action is a native link to the host's same-origin start route; Tab focuses it and Enter
|
|
77
|
-
starts sign-in, including with JavaScript off. Do not replace the host link or add OAuth JavaScript.
|
|
78
|
-
The Interactive editor uses a protected card; Preview and the published page render the real UI.
|
|
79
|
-
The card's availability is a page-load snapshot; reload after changing plugin/client setup.
|
|
80
|
-
|
|
81
|
-
Theme hooks are `.plugin-google-login-sign-in-button`, its `__mark` and `__label` parts,
|
|
82
|
-
and its `--light`, `--dark`, `--neutral` variant classes. Defaults live in `@layer plugin-exports`,
|
|
83
|
-
so ordinary theme CSS wins. Set inherited custom properties on the authored wrapper or a theme:
|
|
84
|
-
`--plugin-signin-bg`, `--plugin-signin-fg`, `--plugin-signin-border`, `--plugin-signin-radius`,
|
|
85
|
-
`--plugin-signin-height`, `--plugin-signin-padding`, `--plugin-signin-gap`, `--plugin-signin-font`,
|
|
86
|
-
`--plugin-signin-font-size`, `--plugin-signin-font-weight`, `--plugin-signin-line-height`,
|
|
87
|
-
`--plugin-signin-letter-spacing`, `--plugin-signin-hover-shadow`, `--plugin-signin-active-shadow`,
|
|
88
|
-
`--plugin-signin-focus-color`, `--plugin-signin-focus-width`, `--plugin-signin-focus-offset`.
|
|
89
|
-
|
|
90
|
-
Keep Google's fixed sign-in wording, approved palette, spacing, visible focus, and full-color G.
|
|
91
|
-
Do not stretch, recolor, filter or replace the mark. The mark stays on white in all variants.
|
|
92
|
-
Prefer Google Sans Medium when the host theme supplies it; the offline fallback is Arial.
|
|
93
|
-
Check the current [Google branding rules](https://developers.google.com/identity/branding-guidelines)
|
|
94
|
-
before visual acceptance. The unchanged gradient SVG is bundled from
|
|
95
|
-
[SVGL](https://github.com/pheralb/svgl/blob/main/static/library/google.svg)
|
|
96
|
-
(Git blob `8ab1351b939a780aa05645d31e5bed3fcf5c5493`); Google's trademarks remain Google's.
|
|
50
|
+
Use the host's public plugin-component capability to embed this plugin's sign-in button.
|
|
51
|
+
Choose an explicit light, dark or neutral variant, keep an authored fallback when sign-in is
|
|
52
|
+
unavailable, and follow Google's branding rules. The host owns its sign-in routes and secure
|
|
53
|
+
member-session flow; use its exact callback URI and activation controls.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "google-workspace",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "Connects one Google account to this site with Google's own sign-in, then works with the Google files the person picks or this site creates (the drive.file permission, never the whole Drive). v1 ships Google Sheets: chat tools for spreadsheets and a form destination that appends submissions as rows. Products are turned on separately; turning one off stops its tools and deliveries without revoking the sign-in.",
|
|
6
6
|
"author": "Tovu",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
|
-
"
|
|
9
|
+
"jini": {
|
|
10
10
|
"maturity": "soon",
|
|
11
11
|
"vendorAliases": ["google-sheets", "docs.google.com", "sheets.googleapis.com", "drive.googleapis.com", "gmail"],
|
|
12
12
|
"displayName": "Google Workspace",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"Reads and updates spreadsheets you choose, and creates new ones",
|
|
28
28
|
"Saves your site's form submissions to a spreadsheet"
|
|
29
29
|
],
|
|
30
|
-
"keyHint": "Continue to Google's sign-in page and allow access to the files you use with this app (drive.file). Choose existing spreadsheets in
|
|
30
|
+
"keyHint": "Continue to Google's sign-in page and allow access to the files you use with this app (drive.file). Choose existing spreadsheets in the host's Google file picker after signing in.",
|
|
31
31
|
"saveKind": "oauth",
|
|
32
32
|
"saveTarget": "google-workspace",
|
|
33
|
-
"permissions": "Requests https://www.googleapis.com/auth/drive.file: access only to files you choose or
|
|
33
|
+
"permissions": "Requests https://www.googleapis.com/auth/drive.file: access only to files you choose or the application creates. It does not grant access to your whole Drive, Gmail or Calendar. Google Sheets must also be turned on in the plugin panel.",
|
|
34
34
|
"helpUrl": "https://developers.google.com/workspace/drive/api/guides/api-specific-auth#drive_api_scopes",
|
|
35
35
|
"helpLabel": "What Google file access allows",
|
|
36
36
|
"baseUrl": "https://accounts.google.com"
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"label": "google-workspace/account OAuth client",
|
|
42
42
|
"ownedApiLabel": "google-workspace/account OAuth client",
|
|
43
43
|
"category": "general",
|
|
44
|
-
"intro": "For a self-hosted site that cannot use
|
|
44
|
+
"intro": "For a self-hosted site that cannot use the host's Google sign-in app, or an organisation using its own Google Cloud project. Save the app's client ID and client secret here, then sign in with Google. This does not replace your account sign-in.",
|
|
45
45
|
"usedFor": [
|
|
46
46
|
"Uses your own Google sign-in app to connect this site to Google Workspace"
|
|
47
47
|
],
|
|
48
|
-
"keyHint": "In Google Cloud, open Google Auth platform → Clients → Create client. Choose Web application for a hosted site, with this site's address plus /api/agent-plugins/connections/oauth/callback as the redirect URI, or Desktop app for
|
|
48
|
+
"keyHint": "In Google Cloud, open Google Auth platform → Clients → Create client. Choose Web application for a hosted site, with this site's address plus /api/agent-plugins/connections/oauth/callback as the redirect URI, or Desktop app for the desktop application. Turn on the Sheets, Drive and Picker APIs. Paste the client secret here. Not a service-account key.",
|
|
49
49
|
"saveKind": "api",
|
|
50
50
|
"helpUrl": "https://console.cloud.google.com/auth/clients",
|
|
51
51
|
"helpLabel": "Create your Google sign-in app",
|
|
@@ -97,6 +97,6 @@ what is wrong (base URL or missing client ID): fix it in the host's saved creden
|
|
|
97
97
|
the client changes (saved, replaced or removed), `reconnect-required` means "reconnect once".
|
|
98
98
|
|
|
99
99
|
To go back to the host's own client, delete that saved credential and reconnect. On a hosted site the file
|
|
100
|
-
picker uses the site's Picker settings (
|
|
100
|
+
picker uses the site's Picker settings (browser API key and application ID):
|
|
101
101
|
with your own client the operator sets them to that project's browser key and project number, or the
|
|
102
102
|
picker cannot open the chosen files.
|
|
@@ -10,7 +10,7 @@ turns delivery on for that form straight away: there is nothing to copy into thi
|
|
|
10
10
|
removing the destination there stops new rows (rows already written stay in the spreadsheet).
|
|
11
11
|
|
|
12
12
|
- Each form goes to its own tab. This site remembers the tab by its id, so renaming the tab is safe.
|
|
13
|
-
- The first row holds the headers:
|
|
13
|
+
- The first row holds the headers: the reserved submission-id column, the reserved submission-time column, then the field
|
|
14
14
|
labels. The visitor's IP address is never sent.
|
|
15
15
|
- Checkbox groups are joined with ", ". Values are written as plain text, never as formulas.
|
|
16
16
|
- A new form field becomes a new column at the end. This site tags each column it writes with the
|
|
@@ -23,12 +23,12 @@ removing the destination there stops new rows (rows already written stay in the
|
|
|
23
23
|
retried about 8 times over about a day; after that it is marked failed and is not sent again.
|
|
24
24
|
A sign-in problem (`authorization-required`) fails the delivery at once.
|
|
25
25
|
- Delivery is **at least once with best-effort dedupe**: before every append this site looks for the
|
|
26
|
-
submission id in the
|
|
26
|
+
submission id in the reserved submission-id column (and looks again if Google's answer was lost),
|
|
27
27
|
so a retry normally does not add a duplicate. A duplicate is still possible in rare cases (for
|
|
28
28
|
example another person or tool writing to the same tab at the same moment). When this site finds the
|
|
29
29
|
same submission id on two or more rows it does not add another, and the delivery counts as done.
|
|
30
30
|
This site does not show such duplicates anywhere yet: if the person suspects one, sort or filter the
|
|
31
|
-
sheet by
|
|
31
|
+
sheet by the reserved submission-id column and delete the extra row.
|
|
32
32
|
- Deleting a submission in this site does **not** delete its row in the spreadsheet. When the person
|
|
33
33
|
turns this destination on, tell them: "Rows already sent to Google Sheets stay in the spreadsheet
|
|
34
34
|
if you delete the submission in this site."
|
|
@@ -42,7 +42,7 @@ removing the destination there stops new rows (rows already written stay in the
|
|
|
42
42
|
| `authorization-required` | Google no longer accepts the sign-in (reconnect required), a permission is missing, or the destination still belongs to the account used before a switch. | Same account: reconnect Google Workspace. After a switch: choose the spreadsheet again in Form destinations (or tick it when confirming the switch). The failed delivery stays listed in this site as failed; it is not sent again. |
|
|
43
43
|
| `resource-not-granted` | The connected account cannot open this spreadsheet. | Choose the spreadsheet again with the file picker. |
|
|
44
44
|
| `configuration-invalid` | The destination does not name a tab for this form, or the tab was deleted. | Choose the tab again in the destination settings. |
|
|
45
|
-
| `mapping-invalid` | The columns cannot be matched:
|
|
45
|
+
| `mapping-invalid` | The columns cannot be matched: the reserved submission-id column or the reserved submission-time column is missing from row 1, a header appears twice, two fields share a label, or one field's hidden column tag appears on two columns (another tool copied it). | Repair the headers in row 1 (or give the fields distinct labels); for a doubled tag, delete the extra column. |
|
|
46
46
|
| `destination-limit` | The tab has more than 50,000 rows, too many to check for duplicates. | Point the form at a new tab or spreadsheet. |
|
|
47
47
|
| `rate-limited` | Google asked this site to slow down. | Usually nothing; it retries after the wait, for about a day at most. |
|
|
48
48
|
| `outcome-unknown` | Google did not confirm the append and the row was not found. | Nothing; the next try checks again before appending. |
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"deliveryAdapters": ["google-sheets"],
|
|
12
12
|
"linkOrigins": ["https://myaccount.google.com"],
|
|
13
13
|
"actions": [
|
|
14
|
-
{"name":"status","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"connection":{"type":"object","properties":{"status":{"type":"string","maxLength":32,"enum":["connected","reconnect-required","revocation-pending","disconnected"]},"grantedProducts":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":16},"accountLabel":{"type":"string","maxLength":320},"pendingSwitchAccountLabel":{"type":"string","maxLength":320}},"required":["status","grantedProducts"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":128},"enabled":{"type":"boolean"},"granted":{"type":"boolean"}},"required":["id","label","enabled","granted"],"additionalProperties":false},"maxItems":16},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":1024},"tabTitle":{"type":"string","maxLength":1024}},"required":["formSlug","title","tabTitle"],"additionalProperties":false},"maxItems":50},"accountAccessUrl":{"type":"string","maxLength":256}},"required":["connection","products","destinations","accountAccessUrl"],"additionalProperties":false}},
|
|
14
|
+
{"name":"status","effect":"read","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"connection":{"type":"object","properties":{"status":{"type":"string","maxLength":32,"enum":["connected","reconnect-required","revocation-pending","disconnected"]},"grantedProducts":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":16},"accountLabel":{"type":"string","maxLength":320},"pendingSwitchAccountLabel":{"type":"string","maxLength":320}},"required":["status","grantedProducts"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":128},"enabled":{"type":"boolean"},"granted":{"type":"boolean"}},"required":["id","label","enabled","granted"],"additionalProperties":false},"maxItems":16},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":1024},"tabTitle":{"type":"string","maxLength":1024}},"required":["formSlug","title","tabTitle"],"additionalProperties":false},"maxItems":50},"accountAccessUrl":{"type":"string","maxLength":256}},"required":["connection","products","destinations","accountAccessUrl"],"additionalProperties":false}},
|
|
15
15
|
{"name":"sign-in","input":{"type":"object","properties":{"action":{"type":"string","maxLength":16,"enum":["connect","reconnect","switch","add-scopes"]}},"required":["action"],"additionalProperties":false},"result":{"type":"object","properties":{"expiresAt":{"type":"string","maxLength":64}},"required":["expiresAt"],"additionalProperties":false}},
|
|
16
16
|
{"name":"confirm-switch","input":{"type":"object","properties":{"reassign":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":50}},"required":["reassign"],"additionalProperties":false},"result":{"type":"object","properties":{"connection":{"type":"object","properties":{"status":{"type":"string","maxLength":32,"enum":["connected","reconnect-required","revocation-pending","disconnected"]},"grantedProducts":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":16},"accountLabel":{"type":"string","maxLength":320},"pendingSwitchAccountLabel":{"type":"string","maxLength":320}},"required":["status","grantedProducts"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":128},"enabled":{"type":"boolean"},"granted":{"type":"boolean"}},"required":["id","label","enabled","granted"],"additionalProperties":false},"maxItems":16},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":1024},"tabTitle":{"type":"string","maxLength":1024}},"required":["formSlug","title","tabTitle"],"additionalProperties":false},"maxItems":50},"accountAccessUrl":{"type":"string","maxLength":256},"reassignment":{"type":"object","properties":{"moved":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":50},"failed":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"code":{"type":"string","maxLength":64},"message":{"type":"string","maxLength":400}},"required":["formSlug","code","message"],"additionalProperties":false},"maxItems":50}},"required":["moved","failed"],"additionalProperties":false}},"required":["connection","products","destinations","accountAccessUrl","reassignment"],"additionalProperties":false}},
|
|
17
17
|
{"name":"cancel-switch","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"connection":{"type":"object","properties":{"status":{"type":"string","maxLength":32,"enum":["connected","reconnect-required","revocation-pending","disconnected"]},"grantedProducts":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":16},"accountLabel":{"type":"string","maxLength":320},"pendingSwitchAccountLabel":{"type":"string","maxLength":320}},"required":["status","grantedProducts"],"additionalProperties":false},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":128},"enabled":{"type":"boolean"},"granted":{"type":"boolean"}},"required":["id","label","enabled","granted"],"additionalProperties":false},"maxItems":16},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":1024},"tabTitle":{"type":"string","maxLength":1024}},"required":["formSlug","title","tabTitle"],"additionalProperties":false},"maxItems":50},"accountAccessUrl":{"type":"string","maxLength":256}},"required":["connection","products","destinations","accountAccessUrl"],"additionalProperties":false}},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"connections": [{"id":"account","startParams":["trigger_onepick","mimetypes"],"callbackFields":["picked_file_ids"]}],
|
|
30
30
|
"publicConfig": ["TOVU_GOOGLE_PICKER_BROWSER_KEY","TOVU_GOOGLE_PICKER_APP_ID"],
|
|
31
31
|
"actions": [
|
|
32
|
-
{"name":"list-picked","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheets":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["spreadsheets"],"additionalProperties":false}},
|
|
32
|
+
{"name":"list-picked","effect":"read","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheets":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["spreadsheets"],"additionalProperties":false}},
|
|
33
33
|
{"name":"verify-picked","input":{"type":"object","properties":{"sessionId":{"type":"string","maxLength":64,"minLength":1},"fileId":{"type":"string","maxLength":256,"minLength":1}},"required":["sessionId","fileId"],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false}},"required":["spreadsheet"],"additionalProperties":false}},
|
|
34
34
|
{"name":"start-system-picker","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"expiresAt":{"type":"string","maxLength":64}},"required":["expiresAt"],"additionalProperties":false}},
|
|
35
35
|
{"name":"finish-system-picker","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"status":{"type":"string","maxLength":16,"enum":["none","waiting","expired","cancelled","selected"]},"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false}},"required":["status"],"additionalProperties":false}}
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"connections": [{"id":"account","startParams":["trigger_onepick","mimetypes"],"callbackFields":["picked_file_ids"]}],
|
|
49
49
|
"publicConfig": ["TOVU_GOOGLE_PICKER_BROWSER_KEY","TOVU_GOOGLE_PICKER_APP_ID"],
|
|
50
50
|
"actions": [
|
|
51
|
-
{"name":"list-picked","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheets":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["spreadsheets"],"additionalProperties":false}},
|
|
51
|
+
{"name":"list-picked","effect":"read","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheets":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["spreadsheets"],"additionalProperties":false}},
|
|
52
52
|
{"name":"verify-picked","input":{"type":"object","properties":{"sessionId":{"type":"string","maxLength":64,"minLength":1},"fileId":{"type":"string","maxLength":256,"minLength":1}},"required":["sessionId","fileId"],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false}},"required":["spreadsheet"],"additionalProperties":false}},
|
|
53
53
|
{"name":"start-system-picker","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"expiresAt":{"type":"string","maxLength":64}},"required":["expiresAt"],"additionalProperties":false}},
|
|
54
54
|
{"name":"finish-system-picker","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"status":{"type":"string","maxLength":16,"enum":["none","waiting","expired","cancelled","selected"]},"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false}},"required":["status"],"additionalProperties":false}},
|
|
55
|
-
{"name":"list-destinations","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":1024}},"required":["slug","title"],"additionalProperties":false},"maxItems":200},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512},"sheetId":{"type":"integer","minimum":0},"tabTitle":{"type":"string","maxLength":1024},"sameAccount":{"type":"boolean"}},"required":["formSlug","spreadsheetId","title","url","sheetId","tabTitle"],"additionalProperties":false},"maxItems":50},"picked":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["destinations","picked"],"additionalProperties":false}},
|
|
56
|
-
{"name":"list-tabs","input":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":256,"minLength":1}},"required":["spreadsheetId"],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"tabs":{"type":"array","items":{"type":"object","properties":{"sheetId":{"type":"integer","minimum":0},"title":{"type":"string","maxLength":1024}},"required":["sheetId","title"],"additionalProperties":false},"maxItems":200}},"required":["spreadsheet","tabs"],"additionalProperties":false}},
|
|
55
|
+
{"name":"list-destinations","effect":"read","input":{"type":"object","properties":{},"required":[],"additionalProperties":false},"result":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":1024}},"required":["slug","title"],"additionalProperties":false},"maxItems":200},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512},"sheetId":{"type":"integer","minimum":0},"tabTitle":{"type":"string","maxLength":1024},"sameAccount":{"type":"boolean"}},"required":["formSlug","spreadsheetId","title","url","sheetId","tabTitle"],"additionalProperties":false},"maxItems":50},"picked":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["destinations","picked"],"additionalProperties":false}},
|
|
56
|
+
{"name":"list-tabs","effect":"read","input":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":256,"minLength":1}},"required":["spreadsheetId"],"additionalProperties":false},"result":{"type":"object","properties":{"spreadsheet":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"tabs":{"type":"array","items":{"type":"object","properties":{"sheetId":{"type":"integer","minimum":0},"title":{"type":"string","maxLength":1024}},"required":["sheetId","title"],"additionalProperties":false},"maxItems":200}},"required":["spreadsheet","tabs"],"additionalProperties":false}},
|
|
57
57
|
{"name":"save-destination","input":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64,"minLength":1},"spreadsheetId":{"type":"string","maxLength":256,"minLength":1},"sheetId":{"type":"integer","minimum":0,"maximum":2147483647},"confirmExternalRows":{"type":"boolean"}},"required":["formSlug","spreadsheetId","sheetId","confirmExternalRows"],"additionalProperties":false},"result":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":1024}},"required":["slug","title"],"additionalProperties":false},"maxItems":200},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512},"sheetId":{"type":"integer","minimum":0},"tabTitle":{"type":"string","maxLength":1024},"sameAccount":{"type":"boolean"}},"required":["formSlug","spreadsheetId","title","url","sheetId","tabTitle"],"additionalProperties":false},"maxItems":50},"picked":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["destinations","picked"],"additionalProperties":false}},
|
|
58
58
|
{"name":"remove-destination","input":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64,"minLength":1}},"required":["formSlug"],"additionalProperties":false},"result":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":1024}},"required":["slug","title"],"additionalProperties":false},"maxItems":200},"destinations":{"type":"array","items":{"type":"object","properties":{"formSlug":{"type":"string","maxLength":64},"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512},"sheetId":{"type":"integer","minimum":0},"tabTitle":{"type":"string","maxLength":1024},"sameAccount":{"type":"boolean"}},"required":["formSlug","spreadsheetId","title","url","sheetId","tabTitle"],"additionalProperties":false},"maxItems":50},"picked":{"type":"array","items":{"type":"object","properties":{"spreadsheetId":{"type":"string","maxLength":200},"title":{"type":"string","maxLength":1024},"url":{"type":"string","maxLength":512}},"required":["spreadsheetId","title","url"],"additionalProperties":false},"maxItems":10}},"required":["destinations","picked"],"additionalProperties":false}}
|
|
59
59
|
],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "higgsfield-media",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"description": "Generates images or video through Higgsfield's hosted MCP server, follows asynchronous jobs, then imports the returned asset into this site's Media library. Connect
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"description": "Generates images or video through Higgsfield's hosted MCP server, follows asynchronous jobs, then imports the returned asset into this site's Media library. Connect the account through the person's browser sign-in, never an API key. Discover this account's current tools, schemas and model entitlements; the worked model and plan examples are historical, not guarantees. Covers operator write grants, polling without sync:true, connection recovery and importing media from its URL.",
|
|
6
6
|
"author": "Tovu",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"keywords": [
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"media:video"
|
|
47
47
|
],
|
|
48
48
|
"extensions": {
|
|
49
|
-
"
|
|
49
|
+
"jini": {
|
|
50
50
|
"vendorAliases": ["higgsfield"],
|
|
51
51
|
"summary": "Makes AI images with Higgsfield and saves them to your Media library. You sign in to Higgsfield once in your browser.",
|
|
52
52
|
"mcpServers": {
|
|
53
53
|
"higgsfield": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
54
|
+
"authMode": "oauth",
|
|
55
|
+
"defaultTools": {
|
|
56
56
|
"allow": [
|
|
57
57
|
"generate_image",
|
|
58
58
|
"generate_video",
|