@jini-ai/agent-plugins 0.7.2 → 0.7.3-next.2
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 +4 -4
- package/NOTICE +2 -0
- package/README.md +11 -15
- package/calendly/plugin.json +3 -3
- package/cloudflare/lib/forms.mjs +9 -10
- package/cloudflare/lib/target.mjs +1 -1
- package/cloudflare/plugin.json +3 -3
- package/cloudflare/worker/forms-receiver.mjs +9 -9
- package/composio/plugin.json +3 -3
- package/core/persistent-state.js +227 -163
- package/dist/admin-surfaces/connections/connections.d.ts +11 -6
- package/dist/admin-surfaces/connections/connections.js +102 -85
- package/dist/admin-surfaces/node.d.ts +27 -0
- package/dist/admin-surfaces/node.js +32 -0
- package/dist/admin-surfaces/plugin-state.js +21 -18
- package/dist/admin-surfaces/surface-client.d.ts +4 -0
- package/dist/admin-surfaces/surface-client.js +124 -117
- package/dist/admin-surfaces/surface-handlers.js +21 -17
- package/dist/admin-surfaces/theme.d.ts +5 -1
- package/dist/admin-surfaces/theme.js +3 -3
- package/dist/connect/access-token-tool.d.ts +3 -1
- package/dist/connect/access-token-tool.js +3 -2
- package/dist/connect/apply-connect-defaults.js +2 -2
- package/dist/connect/apply-tool-renames.js +9 -8
- package/dist/connect/connect-tool.d.ts +2 -0
- package/dist/connect/connect-tool.js +3 -2
- package/dist/connect/credential-cards.js +3 -2
- package/dist/connect/credential-save-tool.d.ts +14 -11
- package/dist/connect/credential-save-tool.js +128 -121
- package/dist/connect/enable-access.d.ts +2 -2
- package/dist/connect/enable-access.js +6 -6
- package/dist/connect/executable/register.js +40 -34
- package/dist/connect/federate-mcp.d.ts +21 -11
- package/dist/connect/federate-mcp.js +28 -21
- package/dist/connect/grant-signed-in-defaults.js +3 -3
- package/dist/connect/import-access-token.js +2 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +1 -0
- package/dist/connect/plugin-credential-card.js +2 -1
- package/dist/connect/plugin-host/index.d.ts +10 -5
- package/dist/connect/plugin-host/index.js +113 -100
- package/dist/connect/ports.d.ts +1 -1
- package/dist/connect/row-update.d.ts +22 -0
- package/dist/connect/row-update.js +18 -0
- package/dist/connect/switch-on-saved-token.d.ts +4 -2
- package/dist/connect/switch-on-saved-token.js +1 -1
- package/dist/connect/token-map.d.ts +44 -0
- package/dist/connect/token-map.js +49 -0
- package/dist/core/identity-namespace.js +5 -0
- package/dist/folder-zip.d.ts +3 -1
- package/dist/folder-zip.js +2 -2
- package/dist/lifecycle/activation.d.ts +4 -4
- package/dist/lifecycle/activation.js +4 -5
- package/dist/lifecycle/automatic-use.js +236 -210
- package/dist/lifecycle/bundled-digests.d.ts +75 -12
- package/dist/lifecycle/bundled-digests.js +213 -212
- package/dist/lifecycle/bundled-source-archive.d.ts +1 -1
- package/dist/lifecycle/bundled-source-archive.js +263 -264
- package/dist/lifecycle/capability-projection.d.ts +1 -1
- package/dist/lifecycle/capability-projection.js +1 -1
- package/dist/lifecycle/credential-card-metadata.d.ts +1 -1
- package/dist/lifecycle/credential-card-metadata.js +27 -3
- package/dist/lifecycle/exports.js +9 -4
- package/dist/lifecycle/fetch-archive.d.ts +1 -1
- package/dist/lifecycle/fetch-archive.js +1 -1
- package/dist/lifecycle/host-tools/identity.js +3 -2
- package/dist/lifecycle/host-tools/ports.d.ts +2 -0
- package/dist/lifecycle/host-tools/search-tool.d.ts +4 -2
- package/dist/lifecycle/host-tools/search-tool.js +9 -8
- package/dist/lifecycle/host-tools/skill-tool.d.ts +18 -2
- package/dist/lifecycle/host-tools/skill-tool.js +16 -8
- package/dist/lifecycle/index.d.ts +118 -110
- package/dist/lifecycle/index.js +45 -12
- package/dist/lifecycle/install-errors.d.ts +1 -1
- package/dist/lifecycle/install-from-url.d.ts +1 -1
- package/dist/lifecycle/install-from-url.js +1 -1
- package/dist/lifecycle/install.d.ts +7 -2
- package/dist/lifecycle/install.js +414 -396
- package/dist/lifecycle/installed-package-index.js +45 -42
- package/dist/lifecycle/layout.d.ts +1 -1
- package/dist/lifecycle/layout.js +1 -1
- package/dist/lifecycle/mail/catalog.d.ts +8 -32
- package/dist/lifecycle/mail/catalog.js +25 -20
- package/dist/lifecycle/mail/contribution.d.ts +2 -2
- package/dist/lifecycle/mail/contribution.js +34 -34
- package/dist/lifecycle/mail/selection.js +6 -2
- package/dist/lifecycle/manifest.d.ts +3 -3
- package/dist/lifecycle/manifest.js +4 -4
- package/dist/lifecycle/mcp-provisioning.d.ts +3 -3
- package/dist/lifecycle/mcp-provisioning.js +3 -3
- package/dist/lifecycle/package-paths.d.ts +1 -1
- package/dist/lifecycle/package-paths.js +1 -1
- package/dist/lifecycle/persistent-state.js +1 -2
- package/dist/lifecycle/ports.d.ts +5 -1
- package/dist/lifecycle/resolve-agent-plugin-refs.d.ts +30 -8
- package/dist/lifecycle/resolve-agent-plugin-refs.js +227 -228
- package/dist/lifecycle/retire-bundled.d.ts +1 -52
- package/dist/lifecycle/retire-bundled.js +134 -84
- package/dist/lifecycle/search.d.ts +2 -1
- package/dist/lifecycle/search.js +1 -1
- package/dist/lifecycle/seed-bundled.d.ts +1 -1
- package/dist/lifecycle/seed-bundled.js +154 -155
- package/dist/lifecycle/set-enabled.d.ts +1 -1
- package/dist/lifecycle/set-enabled.js +1 -1
- package/dist/lifecycle/skill-file-reader.js +53 -50
- package/dist/lifecycle/tools/projection.d.ts +4 -7
- package/dist/lifecycle/tools/projection.js +109 -108
- package/dist/lifecycle/trusted-plugin-files.d.ts +2 -2
- package/dist/lifecycle/trusted-plugin-files.js +1 -1
- package/dist/lifecycle/uninstall.d.ts +1 -1
- package/dist/lifecycle/uninstall.js +237 -241
- package/dist/lifecycle/update-store.js +20 -17
- package/dist/lifecycle/update.js +287 -281
- package/dist/lifecycle/yauzl-archive-reader.d.ts +2 -2
- package/dist/lifecycle/yauzl-archive-reader.js +8 -2
- package/dist/manifest.d.ts +11 -3
- package/dist/manifest.js +9 -9
- package/fly/jini-credential-schemes.json +11 -0
- package/fly/plugin.json +3 -4
- package/github/plugin.json +3 -3
- package/github/source-control/backup-push.mjs +11 -11
- package/github/source-control/commit-site.mjs +23 -13
- package/github/source-control/github.mjs +12 -6
- package/github/source-control/write-files.mjs +27 -28
- package/github-pages/{tovu-deploy-targets.json → jini-deploy-targets.json} +22 -22
- package/github-pages/plugin.json +3 -3
- package/github-pages/targets/github-pages.mjs +3 -3
- package/google-login/plugin.json +3 -3
- package/google-workspace/README.md +14 -14
- package/google-workspace/form-destinations/README.md +3 -3
- package/google-workspace/form-destinations/dedupe.mjs +1 -1
- package/google-workspace/form-destinations/mapping.mjs +8 -9
- package/google-workspace/form-destinations/sheets.mjs +1 -1
- package/google-workspace/{tovu-admin-surfaces.json → jini-admin-surfaces.json} +2 -2
- package/google-workspace/{tovu-agent-tools.json → jini-agent-tools.json} +28 -28
- package/google-workspace/{tovu-connections.json → jini-connections.json} +2 -2
- package/google-workspace/lib/auth.mjs +2 -2
- package/google-workspace/lib/form-destination-settings.mjs +1 -1
- package/google-workspace/lib/picker-flow.mjs +2 -2
- package/google-workspace/lib/request-policy.mjs +1 -1
- package/google-workspace/lib/surface-actions.mjs +1 -1
- package/google-workspace/plugin.json +3 -3
- package/google-workspace/tools/sheets/README.md +3 -3
- package/google-workspace/tools/sheets-admin/README.md +3 -3
- package/google-workspace/ui/README.md +4 -4
- package/google-workspace/ui/connection-panel.mjs +51 -51
- package/google-workspace/ui/destination-panel.mjs +34 -34
- package/google-workspace/ui/dom.mjs +15 -16
- package/google-workspace/ui/picker-flow.mjs +2 -2
- package/google-workspace/ui/picker.mjs +19 -19
- package/google-workspace/ui/surface-client.mjs +96 -69
- package/higgsfield-media/plugin.json +3 -3
- package/jev/plugin.json +3 -3
- package/kuinetic/CHANGELOG.md +12 -0
- package/kuinetic/mcp.json +4 -0
- package/kuinetic/plugin.json +27 -0
- package/kuinetic/skills/kuinetic/SKILL.md +120 -0
- package/kuinetic/skills/kuinetic/references/effects-by-family.md +32 -0
- package/kuinetic/skills/kuinetic/references/opt-in-tiers.md +12 -0
- package/kuinetic/skills/kuinetic/references/reserved-keys.md +36 -0
- package/meilisearch/plugin.json +5 -5
- package/netlify/plugin.json +3 -3
- package/netlify/targets/netlify.mjs +14 -4
- package/opentelemetry/plugin.json +3 -3
- package/package.json +27 -22
- package/posthog/plugin.json +3 -3
- package/railway/plugin.json +3 -3
- package/render/plugin.json +3 -3
- package/resend/NOTES.md +2 -2
- package/resend/adapters/resend.mjs +1 -1
- package/resend/{tovu-mail-adapters.json → jini-mail-adapters.json} +1 -1
- package/resend/lib/domains.mjs +8 -8
- package/resend/plugin.json +3 -3
- package/s3-compatible/{tovu-deploy-targets.json → jini-deploy-targets.json} +68 -68
- package/s3-compatible/jini-object-stores.json +29 -0
- package/s3-compatible/object-stores/s3-compatible.mjs +19 -13
- package/s3-compatible/plugin.json +3 -3
- package/s3-compatible/targets/s3-compatible.mjs +25 -25
- package/sentry/plugin.json +3 -3
- package/shadcn-ui/CHANGELOG.md +7 -0
- package/shadcn-ui/LICENSE +201 -0
- package/shadcn-ui/NOTICE +10 -0
- package/shadcn-ui/mcp.json +4 -0
- package/shadcn-ui/plugin.json +26 -0
- package/shopify/plugin.json +3 -3
- package/site-compliance/plugin.json +3 -3
- package/site-import/plugin.json +3 -3
- package/supabase/mcp.json +1 -4
- package/supabase/plugin.json +3 -3
- package/ui-ux-design/CHANGELOG.md +13 -0
- package/ui-ux-design/NOTICE +2 -0
- package/ui-ux-design/README.md +17 -7
- package/ui-ux-design/plugin.json +6 -3
- package/ui-ux-design/skills/ui-ux-design/SKILL.md +38 -152
- package/ui-ux-design/skills/ui-ux-design/references/full-workflow.md +156 -0
- package/ui-ux-design/skills/ui-ux-design/references/ui-animation.md +4 -4
- package/vercel/NOTES.md +1 -1
- package/vercel/object-stores/vercel-blob.mjs +12 -2
- package/vercel/plugin.json +3 -3
- package/vercel/targets/vercel.mjs +3 -3
- package/wordpress/plugin.json +3 -3
- package/dist/lifecycle/node.d.ts +0 -11
- package/dist/lifecycle/node.js +0 -38
- package/fly/tovu-credential-schemes.json +0 -11
- package/github/deployments/github.mjs +0 -415
- package/s3-compatible/tovu-object-stores.json +0 -29
- package/ui-ux-design/skills/ui-ux-design/references/kuinetic-reference.md +0 -184
- /package/cloudflare/{tovu-consent.json → jini-consent.json} +0 -0
- /package/cloudflare/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/cloudflare/{tovu-form-destinations.json → jini-form-destinations.json} +0 -0
- /package/fly/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/fly/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/github/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/github/{tovu-source-control.json → jini-source-control.json} +0 -0
- /package/google-login/{tovu-login-providers.json → jini-login-providers.json} +0 -0
- /package/google-workspace/{tovu-form-destinations.json → jini-form-destinations.json} +0 -0
- /package/meilisearch/{tovu-search-providers.json → jini-search-providers.json} +0 -0
- /package/netlify/{tovu-consent.json → jini-consent.json} +0 -0
- /package/netlify/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/railway/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/railway/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/render/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/render/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/README.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/SKILL.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/auth-layout.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/data-table.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/form-pattern.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/component-catalog.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/customization-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/migration-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/setup-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/scripts/verify-setup.sh +0 -0
- /package/vercel/{tovu-consent.json → jini-consent.json} +0 -0
- /package/vercel/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/vercel/{tovu-object-stores.json → jini-object-stores.json} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
`parseMailAdaptersFile({ raw }, optional)` call remains supported through a local
|
|
16
16
|
validation boundary, preserving declared setup validation and v1/v2 descriptors.
|
|
17
17
|
Provider-status and credential-save factories also require host wording and catalog
|
|
18
|
-
provenance so a second host supplies its own navigation without changing
|
|
18
|
+
provenance so a second host supplies its own navigation without changing the first host's bytes.
|
|
19
19
|
|
|
20
20
|
- ce9e9dc: Expose the injected API host and connection sign-in flow from integrations/api-connections,
|
|
21
21
|
and the persisted plugin-state store from the universal agent-plugins/admin-surfaces entry.
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
export, stage that payload and seed through the existing Agent Plugin lifecycle.
|
|
111
111
|
The lifecycle implementation remains in @jini-ai/agent-plugins. Inner plugin
|
|
112
112
|
version 0.4.6, deterministic packing, digest selection and operator activation
|
|
113
|
-
decisions are preserved.
|
|
113
|
+
decisions are preserved. Host wording reconciliation and cutover follow later.
|
|
114
114
|
|
|
115
115
|
## 0.6.13
|
|
116
116
|
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
## 0.4.7 — 2026-10-15 — folder uploads share one ZIP encoder
|
|
162
162
|
|
|
163
163
|
- New `./folder-zip` (universal): `zipFolderFiles()`, the binary-safe stored-mode folder encoder,
|
|
164
|
-
moved here from
|
|
164
|
+
moved here from the first host's admin so browser and server folder installs pack identically.
|
|
165
165
|
- New `./folder-zip/node`: `zipLocalFolder()` reads a local folder into that same encoder. Refuses
|
|
166
166
|
symlinks and special files, bounds entries (4096) and bytes before reading, and sorts paths so the
|
|
167
167
|
same folder always packs to the same digest.
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
### Patch Changes
|
|
208
208
|
|
|
209
|
-
-
|
|
209
|
+
- Host clean-up release (2026-10-08): code the first host moved into Jini, plus the Jini clean-up (see the commit log since 0.4.1).
|
|
210
210
|
|
|
211
211
|
## 0.4.1 — 2026-10-04
|
|
212
212
|
|
package/NOTICE
CHANGED
|
@@ -9,6 +9,8 @@ Source notes and attribution are retained in the generated skills tree, includin
|
|
|
9
9
|
skills/interface-design/ORIGINAL.md (Dammyjay93/interface-design) and
|
|
10
10
|
skills/gstack-design/references/upstream-notes.md (garrytan/gstack).
|
|
11
11
|
The skill references retain their original source links and attribution.
|
|
12
|
+
The shadcn-ui skill tree moved to packages/agent-plugins/shadcn-ui, which carries
|
|
13
|
+
its own LICENSE and NOTICE.
|
|
12
14
|
|
|
13
15
|
This distribution does not include the provider-plugin aggregate or its Open SaaS
|
|
14
16
|
Stripe adaptations. See LICENSE for the Apache License, Version 2.0.
|
package/README.md
CHANGED
|
@@ -35,12 +35,8 @@ metadata from partial manifests. `parseAgentPluginMcpConfig({ value }, { pluginM
|
|
|
35
35
|
`authMode`, `defaultTools`, `tokenAuth`, and `renamedTools` without a product namespace. Reviewed
|
|
36
36
|
`defaultTools.read` declarations must come from `plugin.json`, never an inline transport entry.
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
never causes a plugin to stop loading. A present `extensions.jini` wins as a whole, and a present
|
|
41
|
-
new MCP field wins over its legacy alias even when malformed. Parsers return compatibility
|
|
42
|
-
warnings; lifecycle indexing and MCP loading forward them through the host's `onEvent` port.
|
|
43
|
-
Existing publisher ids remain stable during this namespace migration.
|
|
38
|
+
Portable manifests use `extensions.jini` and unprefixed MCP metadata. A malformed
|
|
39
|
+
`extensions.jini` entry is refused. Bundled publisher ids use the `jini/<name>` namespace.
|
|
44
40
|
|
|
45
41
|
A plugin is a directory. Example (this package publishes it as `@jini-ai/agent-plugins/ui-ux-design`):
|
|
46
42
|
|
|
@@ -114,16 +110,16 @@ Catalog format) that this package does not implement.
|
|
|
114
110
|
|
|
115
111
|
| export | runtime | contents |
|
|
116
112
|
|---|---|---|
|
|
117
|
-
| `.` (root) | universal | `PluginManifest`/`McpManifest` types, `validatePluginManifest({ value })`/`validateMcpManifest({ value })` structural validators (plus
|
|
113
|
+
| `.` (root) | universal | `PluginManifest`/`McpManifest` types, `validatePluginManifest({ value })`/`validateMcpManifest({ value })` structural validators (plus `isPluginManifest({ value })`/`isMcpManifest({ value })` predicates), and the known path constants (`PLUGIN_MANIFEST_FILENAME`, `PLUGIN_SKILLS_DIRNAME`, `PLUGIN_MCP_MANIFEST_FILENAME`). No filesystem access, no DOM. |
|
|
118
114
|
| `./manifest` | universal | Strict manifest/MCP parsing and typed namespace readers; object structural validators are also re-exported here. |
|
|
119
115
|
| `./lifecycle` | node | Host-injected installation, activation, locks, digests, bundles, trusted files, reference resolution, ranking and MCP provisioning helpers. |
|
|
120
116
|
| `./lifecycle` packing | node | `createAgentPluginLifecycle(ports).packAgentPluginDirectory({ sourceDir }, { allowPaths, excludeNames, excludeSuffixes, includeTests })`; explicit allow-paths and their ancestors beat name exclusions; excluded descendants still skip. Suffix exclusions always win; test skips require `includeTests: true` to disable. |
|
|
121
|
-
| `./lifecycle/node` | node | `createNodeAgentPluginEffects({})` opt-in native effects. |
|
|
122
117
|
| `./lifecycle/yauzl` | node | `createYauzlAgentPluginArchiveReader({ yauzl })`; the host supplies the optional peer library. |
|
|
123
118
|
| `./folder-zip` | universal | `zipFolderFiles({ files, maxBytes })`: packs picked folder `File`s into one stored-mode, binary-safe `.zip` `File` (the admin "Upload a folder" encoder). |
|
|
124
119
|
| `./folder-zip/node` | node | `zipLocalFolder({ path, maxBytes })`: the same encoder over a local folder; refuses symlinks/special files, bounds entries and bytes. |
|
|
125
120
|
| `./admin-surfaces` | universal | Plugin-owned admin surfaces: the contribution definition (host-named file), sandboxed-iframe/CSP/bootstrap helpers, the host-page message gate and the server-side action dispatcher. See "Admin surfaces" below. |
|
|
126
121
|
| `./admin-surfaces/client` | universal | `createAdminSurfaceClient(...)`: the self-contained surface-side protocol client a plugin's UI imports or copies. |
|
|
122
|
+
| `./admin-surfaces/node` | node | `createIssuedSignInCollector({ admitHttp })`: per-request (AsyncLocalStorage) registry of the sign-in links the connections port issued during one action, for the host page to open. |
|
|
127
123
|
|
|
128
124
|
The universal root handles structural validation. The separate Node lifecycle entry implements
|
|
129
125
|
local archive installation and host-owned activation policy; it does not implement remote catalog discovery.
|
|
@@ -201,12 +197,12 @@ manifest and test installation through this package's existing lifecycle.
|
|
|
201
197
|
|
|
202
198
|
## Lifecycle API and ports
|
|
203
199
|
|
|
204
|
-
New public callables use `(requiredArgs, optionalArgs)`, with effects supplied as ports.
|
|
200
|
+
New public callables use `(requiredArgs, optionalArgs = {})`, with effects supplied as ports.
|
|
205
201
|
Create and retain one lifecycle per host context:
|
|
206
202
|
|
|
207
203
|
```ts
|
|
208
204
|
import { createAgentPluginLifecycle, createAgentPluginLayout } from '@jini-ai/agent-plugins/lifecycle';
|
|
209
|
-
import { createNodeAgentPluginEffects } from '@jini-ai/agent-plugins
|
|
205
|
+
import { createNodeAgentPluginEffects } from '@jini-ai/node-adapters/agent-plugins';
|
|
210
206
|
|
|
211
207
|
const layout = createAgentPluginLayout({ root: pluginRoot });
|
|
212
208
|
const lifecycle = createAgentPluginLifecycle({
|
|
@@ -267,7 +263,7 @@ shaped authors and older string authors. Inline transport fields never become re
|
|
|
267
263
|
metadata. MCP provisioning helpers delegate to the host and notify only after success;
|
|
268
264
|
filesystem installation and federation remain separate operations with host-owned recovery.
|
|
269
265
|
|
|
270
|
-
The
|
|
266
|
+
The root predicates take `{ value }` and narrow that object's `value`. New code can use the
|
|
271
267
|
object-shaped `validatePluginManifest` and `validateMcpManifest` facades. Internal composition
|
|
272
268
|
factories are implementation details and are not package exports.
|
|
273
269
|
|
|
@@ -282,11 +278,11 @@ object-shaped reads, filters and optional legacy metadata reader.
|
|
|
282
278
|
### Extension namespaces
|
|
283
279
|
|
|
284
280
|
`extensions` keys in `plugin.json` are **host keys**. A plugin declares one entry per host it
|
|
285
|
-
supports, for example `"
|
|
281
|
+
supports, for example `"example-host": { "id": "publisher/stock" }` beside `"open-marketing": { "id": "publisher/stock" }`.
|
|
286
282
|
|
|
287
283
|
- A host reads only its own key, the `extensionNamespace` it passes to the lifecycle.
|
|
288
|
-
- Without a host namespace, exported parsers and validators read `jini
|
|
289
|
-
|
|
284
|
+
- Without a host namespace, exported parsers and validators read `jini`.
|
|
285
|
+
A present malformed `jini` entry is refused, never bypassed.
|
|
290
286
|
Passing a namespace explicitly reads only that key, with no fallback to another host.
|
|
291
287
|
- Publisher ids stay as declared. There is no alias between keys and no content rewrite.
|
|
292
288
|
- A customized fork (`zipCustomizedAgentPluginFolder`) gets `local/<name>` under every host key
|
|
@@ -312,7 +308,7 @@ Uninstall keeps persistent state by default; deleting it requires a matching con
|
|
|
312
308
|
The reserved workspace directory ids `staging`, `packages`, `memory`, and `data` are refused
|
|
313
309
|
as plugin ids so package state cannot overlap migration inputs or installation scratch.
|
|
314
310
|
|
|
315
|
-
The
|
|
311
|
+
The memory proposal belongs to the consumer and is not implemented by this neutral entry.
|
|
316
312
|
No version bump or publishing accompanies this workspace implementation.
|
|
317
313
|
|
|
318
314
|
Admin-screen actions can also be assistant tools. Declare `effect: "read" | "write" |
|
package/calendly/plugin.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "calendly",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "Shows a live Calendly booking calendar on a site page. A public Calendly link is all it needs; signing in to Calendly is optional.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
|
-
"id": "
|
|
10
|
+
"id": "jini/calendly",
|
|
11
11
|
"displayName": "Calendly",
|
|
12
12
|
"summary": "Show your Calendly booking calendar on a page so visitors can book a time.", "provides": ["scheduling"],
|
|
13
13
|
"exports": {
|
package/cloudflare/lib/forms.mjs
CHANGED
|
@@ -4,12 +4,11 @@ import { refusal, segment } from './api.mjs';
|
|
|
4
4
|
|
|
5
5
|
/** Form submissions destination: one D1 database per site Worker plus the bundled receiver.
|
|
6
6
|
* Forms, fields and full validation stay in the host; this file only provisions storage and transport.
|
|
7
|
-
* The
|
|
8
|
-
|
|
9
|
-
export const
|
|
10
|
-
export const FORMS_SECRET_BINDING = 'TOVU_FORMS_SECRET';
|
|
7
|
+
* The Worker bindings, database names and private routes use the Jini namespace. */
|
|
8
|
+
export const FORMS_BINDING = 'JINI_FORMS';
|
|
9
|
+
export const FORMS_SECRET_BINDING = 'JINI_FORMS_SECRET';
|
|
11
10
|
/** Routed to the Worker before static assets, so a missing asset can never answer a form POST. */
|
|
12
|
-
export const FORMS_WORKER_ROUTES = ['/forms/*', '/
|
|
11
|
+
export const FORMS_WORKER_ROUTES = ['/forms/*', '/_jini/*'];
|
|
13
12
|
export const FREE_PLAN_NOTE = 'Free plan limits: 100,000 Worker requests/day, D1 100,000 row writes/day and 500 MB per database (shared with the rest of this Cloudflare account).';
|
|
14
13
|
const D1_PAGING = { perPage: 100, maxPages: 10 };
|
|
15
14
|
const SLUG = /^[a-z0-9][a-z0-9-]{0,99}$/;
|
|
@@ -118,7 +117,7 @@ function formsRefusal({ kit, message, status = 400, code = 'CLOUDFLARE_FORMS_INV
|
|
|
118
117
|
|
|
119
118
|
/** Stable per-site identity derived from the Worker name; never random, so republish reuses it. */
|
|
120
119
|
export function databaseName({ resourceName }, _options = {}) {
|
|
121
|
-
return `
|
|
120
|
+
return `jini-forms-${resourceName}`.slice(0, 63);
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
const PERMISSION_STEP = 'Edit the saved Cloudflare API token: add Account > D1 > Edit (dashboard: My Profile > API Tokens > the token > Edit), keep its existing Workers permissions, then preview again.';
|
|
@@ -172,7 +171,7 @@ async function previewWorkersForms({ api, kit, resourceName, normalized, count }
|
|
|
172
171
|
function workerFormsPreview({ resourceName, name, existing, count, pendingCount }, _options = {}) {
|
|
173
172
|
return { status: 'on', forms: count, pendingCount,
|
|
174
173
|
changes: [{ action: existing ? 'reuse' : 'create', resource: 'd1-database', name, ...(existing ? { databaseId: existing.uuid } : {}) },
|
|
175
|
-
{ action: 'bind', resource: 'worker', resourceName, routes: count ? FORMS_WORKER_ROUTES : ['/
|
|
174
|
+
{ action: 'bind', resource: 'worker', resourceName, routes: count ? FORMS_WORKER_ROUTES : ['/_jini/*'] }],
|
|
176
175
|
message: `Form submissions: on (${count} form${count === 1 ? '' : 's'}). Submissions are stored in D1 database ${name} (${existing ? 'reused' : 'created'}) in this Cloudflare account and pulled into the site admin on demand. ${FREE_PLAN_NOTE} Pending answers: ${pendingCount ?? 'count unavailable'}. Uncollected answers never expire automatically.` };
|
|
177
176
|
}
|
|
178
177
|
|
|
@@ -282,7 +281,7 @@ export async function formsWorkerParts({ manifest, secret, databaseId }, { pageR
|
|
|
282
281
|
{ name: 'forms-manifest.mjs', source: `export default ${JSON.stringify({ forms: manifest.forms })};\n` },
|
|
283
282
|
],
|
|
284
283
|
bindings: [{ type: 'd1', name: FORMS_BINDING, id: databaseId }, { type: 'secret_text', name: FORMS_SECRET_BINDING, text: secret }],
|
|
285
|
-
runWorkerFirst: manifest.forms.length ? [...FORMS_WORKER_ROUTES, ...pageRoutes] : ['/
|
|
284
|
+
runWorkerFirst: manifest.forms.length ? [...FORMS_WORKER_ROUTES, ...pageRoutes] : ['/_jini/*'],
|
|
286
285
|
};
|
|
287
286
|
}
|
|
288
287
|
|
|
@@ -320,7 +319,7 @@ const hasRowMeta = item => typeof item.submittedAt === 'string' && (item.ip ===
|
|
|
320
319
|
const isPending = item => hasRowIdentity(item) && hasRowBody(item) && hasRowMeta(item);
|
|
321
320
|
|
|
322
321
|
function pendingPath({ after, limit }, _options = {}) {
|
|
323
|
-
return `/
|
|
322
|
+
return `/_jini/forms/pending?after=${Number(after) || 0}&limit=${Math.min(100, Math.max(1, Number(limit) || 50))}`;
|
|
324
323
|
}
|
|
325
324
|
|
|
326
325
|
/** One page of unpulled submissions, oldest first. */
|
|
@@ -333,6 +332,6 @@ export async function pullFormSubmissions({ kit, destination }, { after = 0, lim
|
|
|
333
332
|
|
|
334
333
|
/** Marks rows the host has committed; only then are they no longer pending. */
|
|
335
334
|
export async function acknowledgeFormSubmissions({ kit, destination, ids }, _options = {}) {
|
|
336
|
-
const result = await receiverCall({ kit, destination, path: '/
|
|
335
|
+
const result = await receiverCall({ kit, destination, path: '/_jini/forms/ack', init: { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ ids }) } });
|
|
337
336
|
return { acknowledged: Number(result?.acknowledged) || 0 };
|
|
338
337
|
}
|
|
@@ -127,7 +127,7 @@ function preparePublish({ input, kit, config, plan, targetId }, _options = {}) {
|
|
|
127
127
|
const assets = prepareAssets({ files: input.files, responseHeaders: input.responseHeaders, kit }, { maxFiles });
|
|
128
128
|
if (!plan) return { assets };
|
|
129
129
|
const expected = createHash('sha256').update(JSON.stringify({ manifest: assets.manifest, config: assets.config })).digest('hex');
|
|
130
|
-
const path = `/.well-known/
|
|
130
|
+
const path = `/.well-known/jini-deployment-${expected}.txt`;
|
|
131
131
|
const proofFile = { file: path.slice(1), data: expected, contentType: 'text/plain' };
|
|
132
132
|
return { assets: prepareAssets({ files: [...input.files, proofFile], responseHeaders: input.responseHeaders, kit }, { maxFiles }), proof: { path, expected } };
|
|
133
133
|
}
|
package/cloudflare/plugin.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "cloudflare",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.4",
|
|
5
5
|
"description": "Publishes static exports to Cloudflare Workers or Pages and attaches reviewed custom domains using your saved Cloudflare connection. Workers sites with active forms store submissions in a D1 database in your Cloudflare account for the host to pull. Preview reads current infrastructure; domain changes require human confirmation.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
10
|
"vendorAliases": ["pages.dev", "workers.dev"],
|
|
11
11
|
"displayName": "Cloudflare",
|
|
12
12
|
"summary": "Publish static exports with Workers or Pages and review apex/www domain changes before applying them.",
|
|
13
|
-
"id": "
|
|
13
|
+
"id": "jini/cloudflare",
|
|
14
14
|
"provides": [
|
|
15
15
|
"deploy-target:cloudflare-workers",
|
|
16
16
|
"deploy-target:cloudflare-pages",
|
|
@@ -21,8 +21,8 @@ export async function handleRequest({ request, env, manifest }, options = {}) {
|
|
|
21
21
|
const url = new URL(request.url);
|
|
22
22
|
const submit = SUBMIT_PATH.exec(url.pathname);
|
|
23
23
|
if (submit) return request.method === 'POST' ? handleSubmit({ request, env, manifest, slug: submit[1] }, options) : errorPage({ status: 405, message: 'This address only accepts form submissions.' });
|
|
24
|
-
if (url.pathname === '/
|
|
25
|
-
if (url.pathname === '/
|
|
24
|
+
if (url.pathname === '/_jini/forms/pending') return request.method === 'GET' ? guarded({ request, env, work: () => listPending({ env, url }, options) }) : json({ status: 405, body: { error: 'METHOD_NOT_ALLOWED' } });
|
|
25
|
+
if (url.pathname === '/_jini/forms/ack') return request.method === 'POST' ? guarded({ request, env, work: () => acknowledge({ request, env }, options) }) : json({ status: 405, body: { error: 'METHOD_NOT_ALLOWED' } });
|
|
26
26
|
const slug = sentFormSlug({ request, url, manifest });
|
|
27
27
|
return slug ? withSentNotice({ request, env, slug }, options) : env.ASSETS.fetch(request);
|
|
28
28
|
}
|
|
@@ -56,11 +56,11 @@ export function sentNoticeHandlers({ slug }, _options = {}) {
|
|
|
56
56
|
element.setAttribute('hidden', '');
|
|
57
57
|
if (state.slot || state.noticed) return;
|
|
58
58
|
state.noticed = true;
|
|
59
|
-
element.after(`<p class="
|
|
59
|
+
element.after(`<p class="jini-form-success" data-form-slug="${slug}" role="status">${SENT_MESSAGE}</p>`, { html: true });
|
|
60
60
|
} };
|
|
61
61
|
return [
|
|
62
|
-
[`div.
|
|
63
|
-
[`div[data-
|
|
62
|
+
[`div.jini-form-success[data-form-slug="${slug}"]`, showSlot],
|
|
63
|
+
[`div[data-jini-form-success][data-form-slug="${slug}"]`, showSlot],
|
|
64
64
|
[`form[data-form-slug="${slug}"]`, hideForm],
|
|
65
65
|
];
|
|
66
66
|
}
|
|
@@ -77,7 +77,7 @@ export async function handleSubmit({ request, env, manifest, slug }, { now = ()
|
|
|
77
77
|
if (hasHoneypotValue({ fields: parsed.fields })) return successRedirect({ request, form });
|
|
78
78
|
const checked = checkFields({ form, fields: parsed.fields });
|
|
79
79
|
if (checked.error) return errorPage({ status: 400, message: checked.error, back });
|
|
80
|
-
const refused = await storeSubmission({ db: env.
|
|
80
|
+
const refused = await storeSubmission({ db: env.JINI_FORMS, slug, answers: checked.answers, evidence: form.evidence, ip: request.headers.get('CF-Connecting-IP'), secret: env.JINI_FORMS_SECRET, back }, { now, randomId });
|
|
81
81
|
return refused ?? successRedirect({ request, form });
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -273,7 +273,7 @@ function json({ status = 200, body }, _options = {}) {
|
|
|
273
273
|
|
|
274
274
|
/** Bearer check with a constant-time comparison of SHA-256 digests (equal length by construction). */
|
|
275
275
|
export async function authorized({ request, env }, _options = {}) {
|
|
276
|
-
const secret = env.
|
|
276
|
+
const secret = env.JINI_FORMS_SECRET;
|
|
277
277
|
const header = request.headers.get('Authorization') ?? '';
|
|
278
278
|
if (typeof secret !== 'string' || secret.length < 32 || !header.startsWith('Bearer ')) return false;
|
|
279
279
|
const encoder = new TextEncoder();
|
|
@@ -295,7 +295,7 @@ async function guarded({ request, env, work }, _options = {}) {
|
|
|
295
295
|
export async function listPending({ env, url }, _options = {}) {
|
|
296
296
|
const after = Math.max(0, Number.parseInt(url.searchParams.get('after') ?? '0', 10) || 0);
|
|
297
297
|
const limit = Math.min(LIMITS.maxPage, Math.max(1, Number.parseInt(url.searchParams.get('limit') ?? '50', 10) || 50));
|
|
298
|
-
const { results = [] } = await env.
|
|
298
|
+
const { results = [] } = await env.JINI_FORMS.prepare('SELECT seq, id, form_slug, answers_json, submitted_at FROM submissions WHERE pulled_at IS NULL AND seq > ? ORDER BY seq LIMIT ?').bind(after, limit).all();
|
|
299
299
|
const items = results.map(row => pendingRow({ row }));
|
|
300
300
|
return json({ body: { items, nextAfter: items.length ? items[items.length - 1].seq : after, hasMore: items.length === limit } });
|
|
301
301
|
}
|
|
@@ -319,7 +319,7 @@ export async function acknowledge({ request, env }, { now = () => Date.now() } =
|
|
|
319
319
|
try { body = await request.json(); } catch { body = null; }
|
|
320
320
|
const ids = body?.ids;
|
|
321
321
|
if (!validIds({ ids })) return json({ status: 400, body: { error: 'INVALID_IDS' } });
|
|
322
|
-
const result = await env.
|
|
322
|
+
const result = await env.JINI_FORMS.prepare(`DELETE FROM submissions WHERE id IN (${ids.map(() => '?').join(', ')})`)
|
|
323
323
|
.bind(...ids).run();
|
|
324
324
|
return json({ body: { acknowledged: Number(result.meta?.changes ?? 0) } });
|
|
325
325
|
}
|
package/composio/plugin.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "composio",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "Lets the assistant use the user's other apps (Gmail, Google Calendar, Slack, Notion, GitHub, HubSpot, Linear and 1000+ more) through Composio Connect, Composio's hosted MCP server. One browser sign-in to Composio connects it; each app is then connected on first use by a Composio sign-in link, with no API keys anywhere.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
10
|
"maturity": "soon",
|
|
11
11
|
"summary": "Lets the assistant use your other apps, like Gmail, Google Calendar, Slack and Notion. You connect each app with one sign-in link.",
|
|
12
|
-
"id": "
|
|
12
|
+
"id": "jini/composio",
|
|
13
13
|
"provides": [
|
|
14
14
|
"app-connectors"
|
|
15
15
|
],
|