@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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"providers": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s3_compatible",
|
|
6
|
+
"label": "S3-compatible storage",
|
|
7
|
+
"module": "object-stores/s3-compatible.mjs",
|
|
8
|
+
"env": {
|
|
9
|
+
"selector": "s3",
|
|
10
|
+
"settings": {
|
|
11
|
+
"bucket": "JINI_S3_BUCKET",
|
|
12
|
+
"keyPrefix": "JINI_S3_KEY_PREFIX"
|
|
13
|
+
},
|
|
14
|
+
"credentialFields": {
|
|
15
|
+
"accessKeyId": "JINI_S3_ACCESS_KEY_ID",
|
|
16
|
+
"region": "JINI_S3_REGION",
|
|
17
|
+
"endpoint": "JINI_S3_ENDPOINT"
|
|
18
|
+
},
|
|
19
|
+
"secret": "JINI_S3_SECRET_ACCESS_KEY",
|
|
20
|
+
"required": [
|
|
21
|
+
"JINI_S3_BUCKET",
|
|
22
|
+
"JINI_S3_REGION",
|
|
23
|
+
"JINI_S3_ACCESS_KEY_ID",
|
|
24
|
+
"JINI_S3_SECRET_ACCESS_KEY"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* for the bundled s3-compatible Agent Plugin: AWS S3, Cloudflare R2, Backblaze B2, DigitalOcean
|
|
4
4
|
* Spaces, Wasabi, MinIO, ...
|
|
5
5
|
*
|
|
6
|
-
* Moved from
|
|
6
|
+
* Moved from the original host core `apps/website/src/features/media/blob-store.s3.ts` (`S3BlobStore`): same
|
|
7
7
|
* requests, same path-style object URLs, same status handling, error texts re-prefixed
|
|
8
8
|
* `S3ObjectStore.<method>`. SigV4 signing comes from the host (`host.createSigV4Client`, the same
|
|
9
9
|
* `aws4fetch` `AwsClient` core used), because an installed plugin has no npm dependencies; the host
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* (2026-09-29), like `targets/s3-compatible.mjs`.
|
|
12
12
|
*
|
|
13
13
|
* Bucket posture (carried over from `S3BlobStore`): this store signs key → bytes operations against
|
|
14
|
-
* a bucket the
|
|
14
|
+
* a bucket the host server itself is the ONLY reader of — every public media byte is proxied back out
|
|
15
15
|
* through the `/m/...` rendition route, which calls the store's `get()` and streams the result itself.
|
|
16
16
|
* That proxying is what makes this bucket safe to leave PRIVATE (least-privilege
|
|
17
17
|
* `s3:GetObject`/`PutObject`/`DeleteObject`/`HeadObject` on one prefix, no `s3:ListBucket`, no
|
|
@@ -47,7 +47,7 @@ const HEAD_TIMEOUT_MS = 30_000;
|
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* The setting/credential names `create` refuses without, each with how to read it. A blank string is
|
|
50
|
-
* missing too — the same `!value` test
|
|
50
|
+
* missing too — the same `!value` test the host's env path (`JINI_S3_*`) applies.
|
|
51
51
|
*/
|
|
52
52
|
const REQUIRED_INPUTS = [
|
|
53
53
|
["credential.fields.accessKeyId", ({ credential }) => credential?.fields?.accessKeyId],
|
|
@@ -151,20 +151,13 @@ function putHeaders(required) {
|
|
|
151
151
|
return merged;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
/**
|
|
155
|
-
|
|
156
|
-
* @param {{ config: S3ObjectStoreConfig, send: SendFn }} required
|
|
157
|
-
* @returns {import("@jini-ai/core/object-store").ObjectStore}
|
|
158
|
-
* @complexity O(1) to build; each call is one signed HTTP request.
|
|
159
|
-
*/
|
|
160
|
-
function createS3ObjectStore(required) {
|
|
161
|
-
const { config, send } = required;
|
|
162
|
-
const host = resolveHost(config);
|
|
154
|
+
/** @param {{ config: S3ObjectStoreConfig, send: SendFn, host: string }} required */
|
|
155
|
+
function createSignedObjectRequester({ config, send, host }) {
|
|
163
156
|
/**
|
|
164
157
|
* One signed request; a transport failure rejects as `S3ObjectStore.<method>: request failed`.
|
|
165
158
|
* @param {{ method: string, op: string, key: string, init: RequestInit }} call
|
|
166
159
|
*/
|
|
167
|
-
|
|
160
|
+
return async (call) => {
|
|
168
161
|
try {
|
|
169
162
|
return await send(objectUrl({ host, config, key: call.key }), { method: call.method, ...call.init });
|
|
170
163
|
} catch (err) {
|
|
@@ -172,6 +165,19 @@ function createS3ObjectStore(required) {
|
|
|
172
165
|
}
|
|
173
166
|
};
|
|
174
167
|
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Builds the store over one signing `send`.
|
|
172
|
+
* @param {{ config: S3ObjectStoreConfig, send: SendFn }} required
|
|
173
|
+
* @returns {import("@jini-ai/core/object-store").ObjectStore}
|
|
174
|
+
* @complexity O(1) to build; each call is one signed HTTP request.
|
|
175
|
+
*/
|
|
176
|
+
function createS3ObjectStore(required) {
|
|
177
|
+
const { config, send } = required;
|
|
178
|
+
const host = resolveHost(config);
|
|
179
|
+
const request = createSignedObjectRequester({ config, send, host });
|
|
180
|
+
|
|
175
181
|
return {
|
|
176
182
|
/**
|
|
177
183
|
* `ifAbsent` sends `If-None-Match: *`, making this a conditional PUT: the object store itself
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "s3-compatible",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Publishes the site's static export to S3-compatible object storage (AWS S3, Cloudflare R2, Backblaze B2, DigitalOcean Spaces, Wasabi, MinIO, ...) with the workspace's own saved access key. 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: what to set up in the bucket first, which credential fields go where, and what each failure means in plain words.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"vendorAliases": ["s3_compatible", "s3 compatible", "s3compatible", "amazonaws", "backblaze", "wasabi", "digitaloceanspaces"],
|
|
12
12
|
"displayName": "S3",
|
|
13
13
|
"summary": "Puts your website online in your own storage bucket, like Amazon S3 or Cloudflare R2. The assistant shows you a preview first.",
|
|
14
|
-
"id": "
|
|
14
|
+
"id": "jini/s3-compatible",
|
|
15
15
|
"provides": [
|
|
16
16
|
"deploy-target:s3-compatible"
|
|
17
17
|
],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @file S3-compatible deploy target of the `s3-compatible` Agent Plugin (AWS S3, Cloudflare R2,
|
|
3
3
|
* Backblaze B2, DigitalOcean Spaces, Wasabi, MinIO, ...).
|
|
4
4
|
*
|
|
5
|
-
* Moved from
|
|
5
|
+
* Moved from the original host core `apps/website/src/features/deployments/static-publish/s3-compatible-target.ts`:
|
|
6
6
|
* the body of {@link bindS3Compatible} is that source with its TypeScript types stripped, same
|
|
7
7
|
* requests, manifest protocol and error texts. SigV4 signing, reachability and `DeployError` come
|
|
8
8
|
* from the host kit (the first host's `kit.createSigV4Client` is the `aws4fetch` `AwsClient` its core used), because
|
|
@@ -27,10 +27,10 @@ const TRAILING_URL_SLASHES = /^(.*[^/])?\/+$/s;
|
|
|
27
27
|
* @returns The target class (constructed with `{ accessKeyId, secretAccessKey, bucket, region, publicUrl, endpoint? }`)
|
|
28
28
|
* and the link-status mapper.
|
|
29
29
|
*/
|
|
30
|
-
export function bindS3Compatible(kit) {
|
|
30
|
+
export function bindS3Compatible(kit, _optional = {}) {
|
|
31
31
|
const { checkDeploymentUrl, DeployError, createSigV4Client } = kit;
|
|
32
32
|
/**
|
|
33
|
-
* Original notes (moved from
|
|
33
|
+
* Original notes (moved from the original host core `s3-compatible-target.ts`): `DeployTarget` implementation for S3-compatible object storage (AWS S3, Cloudflare R2,
|
|
34
34
|
* Backblaze B2, DigitalOcean Spaces, Wasabi, MinIO, ...) — spec
|
|
35
35
|
* `ADS-memory/specs/custom-publish-provider-contract.md` §1-§2.
|
|
36
36
|
*
|
|
@@ -44,11 +44,11 @@ export function bindS3Compatible(kit) {
|
|
|
44
44
|
* "not architecture" (§2).
|
|
45
45
|
*
|
|
46
46
|
* How it relates to the project:
|
|
47
|
-
*
|
|
47
|
+
* Lived in the original host, not in `@jini-ai/devops` — no second consumer exists yet (spec §2's extraction
|
|
48
48
|
* ruling). `adapter.ts` is this feature's ONLY caller; every OTHER caller in this codebase sees just
|
|
49
49
|
* `./types.ts`'s `StaticPublishConfig`/`StaticPublishOutcome`, never this file's types (the same
|
|
50
50
|
* "keep Jini's types at the boundary" discipline `adapter.ts`'s own header documents, extended one
|
|
51
|
-
* level further here since even a
|
|
51
|
+
* level further here since even a host-local deploy target should not leak past its one caller).
|
|
52
52
|
*
|
|
53
53
|
* `checkDeploymentUrl` is reused verbatim from `@jini-ai/devops/deploy`'s `reachability.ts` (already a
|
|
54
54
|
* dependency) rather than reimplemented — it already carries the SSRF-hardened connection-time DNS
|
|
@@ -77,7 +77,7 @@ export function bindS3Compatible(kit) {
|
|
|
77
77
|
* whoever owns `custom-publish-provider-contract.md` should reconcile §7 with this file).
|
|
78
78
|
*
|
|
79
79
|
* The fix: {@link MANAGED_MANIFEST_KEY} is a small JSON object this target PUTs to the bucket itself,
|
|
80
|
-
* under a dedicated,
|
|
80
|
+
* under a dedicated, plugin-namespaced key, listing exactly which keys the LAST publish wrote. Every
|
|
81
81
|
* `publish()` call now (1) uploads the current export (unchanged), (2) reads the previous manifest and
|
|
82
82
|
* deletes any key it lists that the CURRENT export no longer produces — a targeted delete of a key this
|
|
83
83
|
* target is certain it owns, never a key with no such record — and (3) writes the new manifest ONLY
|
|
@@ -86,7 +86,7 @@ export function bindS3Compatible(kit) {
|
|
|
86
86
|
* was not yet confirmed deleted, so the next run's diff naturally retries exactly the right work —
|
|
87
87
|
* nothing is ever silently forgotten (re-deleting an already-gone key or re-uploading an
|
|
88
88
|
* already-current one is a harmless no-op), and nothing not YET recorded as managed is ever deleted. A
|
|
89
|
-
* bucket with no manifest yet (the first publish ever, or content a human uploaded before
|
|
89
|
+
* bucket with no manifest yet (the first publish ever, or content a human uploaded before the host ever
|
|
90
90
|
* touched this bucket) has nothing "known managed," so nothing is ever inferred safe to delete — the
|
|
91
91
|
* same "unknown means untouched" default the github plugin's `source-control/commit-site.mjs` manifest-based fix uses for the
|
|
92
92
|
* identical class of finding in that adapter.
|
|
@@ -99,7 +99,7 @@ export function bindS3Compatible(kit) {
|
|
|
99
99
|
*
|
|
100
100
|
* 1. OWNERSHIP WAS TRUSTED BLINDLY. Any key the manifest LISTED was deleted, with no check that the
|
|
101
101
|
* key's LIVE object still matched what this target itself last wrote. A human (or another tool)
|
|
102
|
-
* overwriting a
|
|
102
|
+
* overwriting a plugin-published object directly in the bucket, then a later export simply no longer
|
|
103
103
|
* producing that key, meant the overwrite got silently deleted on the very next publish. Fixed by
|
|
104
104
|
* giving the manifest real provenance: it is now `{version: 2, keys: [{key, etag}]}`, recording the
|
|
105
105
|
* ETag THIS target itself observed immediately after writing each key, not just the key string.
|
|
@@ -159,7 +159,7 @@ export function bindS3Compatible(kit) {
|
|
|
159
159
|
* silently absorbed.
|
|
160
160
|
*
|
|
161
161
|
* Architectural role:
|
|
162
|
-
* `features/deployments/static-publish` domain logic, this feature's second (
|
|
162
|
+
* `features/deployments/static-publish` domain logic, this feature's second (host-local) seam into
|
|
163
163
|
* the `DeployTarget` port `@jini-ai/devops/deploy` defines.
|
|
164
164
|
*/
|
|
165
165
|
/** Fallback `Content-Type` for a `DeployFile` with none set — same gap `adapter.ts`'s `toDeployFile`
|
|
@@ -187,14 +187,14 @@ export function bindS3Compatible(kit) {
|
|
|
187
187
|
* that indicate sustained contention this target should surface rather than retry indefinitely against. */
|
|
188
188
|
const MAX_MANIFEST_WRITE_ATTEMPTS = 3;
|
|
189
189
|
/** Where this target records exactly which keys IT wrote — see this file's header CRITICAL fix note.
|
|
190
|
-
* A hidden,
|
|
190
|
+
* A hidden, plugin-namespaced key deliberately: a real static export does not produce a dotfile
|
|
191
191
|
* directory, so collision with genuine site content is not a practical concern the way a plain
|
|
192
192
|
* `manifest.json` at the bucket root would be. Byte-identical NAMING PATTERN to
|
|
193
193
|
* `commit-site.mjs`'s `MANAGED_MANIFEST_PATH` — not shared code (this is an S3 object key, that
|
|
194
194
|
* is a git tree path; the two adapters have no dependency on each other), just the same "small
|
|
195
|
-
*
|
|
195
|
+
* plugin-owned tracking file, physically stored inside what this adapter manages" shape applied to two
|
|
196
196
|
* different storage systems. */
|
|
197
|
-
const MANAGED_MANIFEST_KEY = ".
|
|
197
|
+
const MANAGED_MANIFEST_KEY = ".jini/managed-keys.json";
|
|
198
198
|
/**
|
|
199
199
|
* Derives the object-storage API host to sign requests against when `config.endpoint` is blank —
|
|
200
200
|
* "Plain AWS S3: leave this blank" per the credential form's own hint copy (spec §4c). Every other
|
|
@@ -385,7 +385,7 @@ export function bindS3Compatible(kit) {
|
|
|
385
385
|
*
|
|
386
386
|
* A VERIFIED 404 is the ONLY case treated as "zero prior keys" — it is a genuinely different fact than
|
|
387
387
|
* "this object could not be read," and is exactly what the first publish ever to a bucket (or one a
|
|
388
|
-
* human populated before
|
|
388
|
+
* human populated before the host ever touched it) looks like. Every OTHER failure (network, a non-404 HTTP
|
|
389
389
|
* error, a body that fails to parse, or a body that parses but matches neither manifest shape {@link
|
|
390
390
|
* parseManagedManifestShape} recognizes) now THROWS a real {@link DeployError} — `publish()` fails the
|
|
391
391
|
* whole call rather than risk writing a new manifest that silently forgets what an unreadable one
|
|
@@ -402,7 +402,7 @@ export function bindS3Compatible(kit) {
|
|
|
402
402
|
return await client.fetch(objectUrl(config, MANAGED_MANIFEST_KEY), { method: "GET", signal: AbortSignal.timeout(UPLOAD_TIMEOUT_MS) });
|
|
403
403
|
}
|
|
404
404
|
catch (err) {
|
|
405
|
-
throw new DeployError(`Failed to read the
|
|
405
|
+
throw new DeployError(`Failed to read the managed object manifest — cannot confirm which keys this target previously owned: ${err instanceof Error ? err.message : String(err)}`, 502);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
/** The parse-and-validate half of {@link fetchManagedManifest}, for an already-`ok` response. */
|
|
@@ -412,11 +412,11 @@ export function bindS3Compatible(kit) {
|
|
|
412
412
|
parsed = JSON.parse(await resp.text());
|
|
413
413
|
}
|
|
414
414
|
catch {
|
|
415
|
-
throw new DeployError("The
|
|
415
|
+
throw new DeployError("The managed object manifest is not valid JSON — cannot confirm which keys this target previously owned.", 502);
|
|
416
416
|
}
|
|
417
417
|
const files = parseManagedManifestShape(parsed);
|
|
418
418
|
if (files === undefined) {
|
|
419
|
-
throw new DeployError("The
|
|
419
|
+
throw new DeployError("The managed object manifest did not match a recognized shape — cannot confirm which keys this target previously owned.", 502);
|
|
420
420
|
}
|
|
421
421
|
return { files, etag: resp.headers.get("etag") ?? undefined };
|
|
422
422
|
}
|
|
@@ -427,7 +427,7 @@ export function bindS3Compatible(kit) {
|
|
|
427
427
|
if (!resp.ok) {
|
|
428
428
|
const body = await safeErrorBody(resp);
|
|
429
429
|
const detail = body ? ` — ${body}` : "";
|
|
430
|
-
throw new DeployError(`Failed to read the
|
|
430
|
+
throw new DeployError(`Failed to read the managed object manifest — cannot confirm which keys this target previously owned: HTTP ${resp.status}${detail}`, resp.status >= 500 ? 502 : 400);
|
|
431
431
|
}
|
|
432
432
|
const { files, etag } = await parseManagedManifestBody(resp);
|
|
433
433
|
return { status: "found", files, etag };
|
|
@@ -470,7 +470,7 @@ export function bindS3Compatible(kit) {
|
|
|
470
470
|
return await client.fetch(objectUrl(config, MANAGED_MANIFEST_KEY), { method: "PUT", body, headers, signal: AbortSignal.timeout(UPLOAD_TIMEOUT_MS) });
|
|
471
471
|
}
|
|
472
472
|
catch (err) {
|
|
473
|
-
throw new DeployError(`Failed to update the
|
|
473
|
+
throw new DeployError(`Failed to update the managed object manifest: ${err instanceof Error ? err.message : String(err)}`, 502);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
/** Classifies a `400` manifest-write response. Some S3-compatible providers report an unsupported
|
|
@@ -483,7 +483,7 @@ export function bindS3Compatible(kit) {
|
|
|
483
483
|
if (/notimplemented|not implemented|unsupportedoperation/i.test(body))
|
|
484
484
|
return "unsupported";
|
|
485
485
|
const detail = body ? ` — ${body}` : "";
|
|
486
|
-
throw new DeployError(`Failed to update the
|
|
486
|
+
throw new DeployError(`Failed to update the managed object manifest: HTTP 400${detail}`, 400);
|
|
487
487
|
}
|
|
488
488
|
async function classifyManifestWriteResponse(resp) {
|
|
489
489
|
if (resp.ok)
|
|
@@ -496,7 +496,7 @@ export function bindS3Compatible(kit) {
|
|
|
496
496
|
return classifyManifestWrite400(resp);
|
|
497
497
|
const errorBody = await safeErrorBody(resp);
|
|
498
498
|
const detail = errorBody ? ` — ${errorBody}` : "";
|
|
499
|
-
throw new DeployError(`Failed to update the
|
|
499
|
+
throw new DeployError(`Failed to update the managed object manifest: HTTP ${resp.status}${detail}`, resp.status >= 500 ? 502 : 400);
|
|
500
500
|
}
|
|
501
501
|
async function writeManagedManifestConditional(client, config, files, precondition) {
|
|
502
502
|
const body = buildManifestBody(files);
|
|
@@ -653,9 +653,9 @@ export function bindS3Compatible(kit) {
|
|
|
653
653
|
* loop purely to keep that loop's cognitive complexity down — this function has no loop of its own. */
|
|
654
654
|
function manifestWriteExhaustedError(outcome) {
|
|
655
655
|
if (outcome === "unsupported") {
|
|
656
|
-
return new DeployError("This provider reported the
|
|
656
|
+
return new DeployError("This provider reported the managed object manifest write as 'unsupported' even after degrading to an unconditional write, and retries were exhausted — it may not support the write shape this target requires.", 502);
|
|
657
657
|
}
|
|
658
|
-
return new DeployError("Concurrent publish detected on the
|
|
658
|
+
return new DeployError("Concurrent publish detected on the managed object manifest and retries were exhausted — another publish updated it while this one was running. Try publishing again.", 409);
|
|
659
659
|
}
|
|
660
660
|
async function attemptManifestSync(client, config, currentKeys, currentFiles, concurrencyGuardActive) {
|
|
661
661
|
const manifestRead = await fetchManagedManifest(client, config);
|
|
@@ -842,7 +842,7 @@ function classifyCredentialResponse(response) {
|
|
|
842
842
|
|
|
843
843
|
// ---------------------------------------------------------------------------
|
|
844
844
|
// Hosting setup: the steps that make a bucket servable, which the person applies in their own
|
|
845
|
-
// console. Moved from
|
|
845
|
+
// console. Moved from the original host core `publish-agent-tools.ts` (`inferHostingSetupProvider` /
|
|
846
846
|
// `buildHostingSetupContent`), types stripped, same text.
|
|
847
847
|
// ---------------------------------------------------------------------------
|
|
848
848
|
|
|
@@ -976,11 +976,11 @@ function buildHostingSetupContent(provider, bucket, region) {
|
|
|
976
976
|
{
|
|
977
977
|
title: "Check your provider's own documentation for making a bucket publicly readable",
|
|
978
978
|
description:
|
|
979
|
-
`Your storage endpoint wasn't recognized as one of the providers
|
|
979
|
+
`Your storage endpoint wasn't recognized as one of the providers with specific app guidance (bucket '${bucket}', region '${region}'). ` +
|
|
980
980
|
"Most S3-compatible providers support a public-read bucket policy similar to AWS's own — search your provider's docs for 'bucket policy' or 'public access'.",
|
|
981
981
|
},
|
|
982
982
|
],
|
|
983
|
-
warning: "This provider is not one
|
|
983
|
+
warning: "This provider is not one the app has specific hosting-setup guidance for yet — the steps above are generic, not verified against your provider's own documentation.",
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
986
|
|
package/sentry/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": "sentry",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Connects the site's error tracking to Sentry through the Sentry provider plugin in the same package (observability-sentry). Ships the know-how and a secure key card: the person pastes the project's DSN and an optional environment name; the host saves it to your project, and you choose which sites use it. No Sentry code here; the provider plugin reports the errors.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
10
|
"toolKeywords": { "observability_send_test_error": "Sentry" },
|
|
11
11
|
"displayName": "Sentry",
|
|
12
12
|
"summary": "Sends your site's errors to Sentry. Ask the assistant to add error tracking.",
|
|
13
|
-
"id": "
|
|
13
|
+
"id": "jini/sentry",
|
|
14
14
|
"providerPlugin": "observability-sentry",
|
|
15
15
|
"provides": [
|
|
16
16
|
"error-tracking",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @jini-ai/agent-plugins/shadcn-ui
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
- First release as its own plugin. `skills/shadcn-ui/` (SKILL.md, README, resources, examples
|
|
6
|
+
and scripts) moved unchanged out of `ui-ux-design`, so React and Tailwind app work loads it on
|
|
7
|
+
its own and theme or page design no longer carries it. LICENSE and NOTICE travel with it.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for describing the origin of the Work and
|
|
141
|
+
reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Support. While redistributing the Work or
|
|
166
|
+
Derivative Works thereof, You may choose to offer, and charge a
|
|
167
|
+
fee for, acceptance of support, warranty, indemnity, or other
|
|
168
|
+
liability obligations and/or rights consistent with this License.
|
|
169
|
+
However, in accepting such obligations, You may act only on Your
|
|
170
|
+
own behalf and on Your sole responsibility, not on behalf of any
|
|
171
|
+
other Contributor, and only if You agree to indemnify, defend,
|
|
172
|
+
and hold each Contributor harmless for any liability incurred by,
|
|
173
|
+
or claims asserted against, such Contributor by reason of your
|
|
174
|
+
accepting any such warranty or support.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Open Design contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/shadcn-ui/NOTICE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Jini shadcn/ui Agent Plugin
|
|
2
|
+
Copyright 2026 Leona Burime
|
|
3
|
+
|
|
4
|
+
The skills/shadcn-ui tree moved here unchanged from the Jini UI/UX Design Agent
|
|
5
|
+
Plugin (packages/agent-plugins/ui-ux-design), which assembled it from AI-Dev-Shop's
|
|
6
|
+
skills tree. Its upstream is the shadcn-ui skill of google-labs-code/stitch-skills,
|
|
7
|
+
as named in skills/shadcn-ui/README.md. The skill references retain their original
|
|
8
|
+
source links and attribution. shadcn/ui itself is not included.
|
|
9
|
+
|
|
10
|
+
See LICENSE for the Apache License, Version 2.0.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "shadcn-ui",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "shadcn/ui (Radix or Base UI with Tailwind CSS) component discovery, setup, customization and integration guidance for React app work, as one portable Agent Plugin.",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"extensions": {
|
|
8
|
+
"jini": {
|
|
9
|
+
"displayName": "shadcn/ui",
|
|
10
|
+
"summary": "Helps the assistant build React and Tailwind apps with shadcn/ui components.",
|
|
11
|
+
"id": "jini/shadcn-ui",
|
|
12
|
+
"provides": [
|
|
13
|
+
"shadcn-ui"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"shadcn",
|
|
19
|
+
"shadcn-ui",
|
|
20
|
+
"react",
|
|
21
|
+
"tailwind",
|
|
22
|
+
"radix",
|
|
23
|
+
"components",
|
|
24
|
+
"nextjs"
|
|
25
|
+
]
|
|
26
|
+
}
|
package/shopify/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": "shopify",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Runs a shop on this site while Shopify keeps the products, cart, checkout, payments and orders. Works with no Shopify key at all: it reads the store's public product data (<store>/products.json and /meta.json), copies every product into a 'product' collection here (price, stock, photo, Buy link), and builds the shop grid with the collection embed whose Buy buttons are Shopify cart links (https://<shop>.myshopify.com/cart/<variant_id>:1) that open Shopify's own checkout. Re-running updates the same entries instead of duplicating them. Also encodes the domain move that breaks checkout when done in the wrong order (connect a shop. subdomain to Shopify and make it primary BEFORE the main domain points at this site). Follow the shopify skill and the host guidance.",
|
|
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 your site sell your Shopify products while Shopify handles the cart, checkout, payments and orders.\n\nThe assistant copies your products onto your site and adds Buy buttons that open Shopify's checkout. It also keeps your shop working when you move your web address to this site. Live prices and a cart drawer are available too, with no Shopify key needed.",
|
|
12
|
-
"id": "
|
|
12
|
+
"id": "jini/shopify",
|
|
13
13
|
"provides": ["commerce:shopify"]
|
|
14
14
|
}
|
|
15
15
|
},
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "site-compliance",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "Evidence-based privacy, cookie/consent, and accessibility risk screening for a website. Collects citable evidence from the site's own configuration and its own rendered pages, reports findings with the exact page path, selector, header, or request that supports each one, and says 'cannot determine' where the evidence is missing. Never asserts a GDPR, CCPA/CPRA, or WCAG compliance verdict.",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
10
|
"maturity": "soon",
|
|
11
11
|
"summary": "Checks your site for privacy, cookie and accessibility risks and shows where each one is. It flags risks; it doesn't certify compliance.",
|
|
12
|
-
"id": "
|
|
12
|
+
"id": "jini/site-compliance",
|
|
13
13
|
"provides": [
|
|
14
14
|
"site-compliance"
|
|
15
15
|
]
|