@jini-ai/agent-plugins 0.7.3-next.1 → 0.7.3-next.3
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 +2 -0
- package/README.md +22 -4
- package/calendly/README.md +29 -0
- package/calendly/mcp.json +1 -1
- package/cloudflare/lib/assets.mjs +1 -1
- package/cloudflare/lib/cms-forms.mjs +1 -1
- package/core/persistent-state.d.ts +4 -1
- package/core/persistent-state.js +55 -21
- package/dist/admin-surfaces/callback-field-inbox.d.ts +1 -6
- package/dist/admin-surfaces/connections/connections.d.ts +2 -6
- package/dist/admin-surfaces/connections/index.d.ts +3 -2
- package/dist/admin-surfaces/index.d.ts +3 -1
- package/dist/connect/access-token-tool.d.ts +1 -1
- package/dist/connect/access-token-tool.js +1 -1
- package/dist/connect/catalog.d.ts +26 -0
- package/dist/connect/catalog.js +42 -0
- package/dist/connect/connect-tool.d.ts +2 -294
- package/dist/connect/connect-tool.js +2 -53
- package/dist/connect/contracts.d.ts +257 -0
- package/dist/connect/contracts.js +2 -0
- package/dist/connect/credential-cards.d.ts +2 -0
- package/dist/connect/credential-cards.js +7 -4
- package/dist/connect/grant-signed-in-defaults.js +1 -1
- package/dist/connect/host-deps.d.ts +32 -0
- package/dist/connect/host-deps.js +35 -0
- package/dist/connect/import-access-token.js +1 -1
- package/dist/connect/index.d.ts +7 -2
- package/dist/connect/index.js +5 -2
- package/dist/connect/installed-plugin.d.ts +28 -0
- package/dist/connect/installed-plugin.js +19 -0
- package/dist/connect/new-site-agent-plugin-tokens.d.ts +88 -0
- package/dist/connect/new-site-agent-plugin-tokens.js +107 -0
- package/dist/connect/plugin-host/index.d.ts +2 -2
- package/dist/connect/plugin-host/index.js +19 -10
- package/dist/connect/token-sign-in.d.ts +1 -14
- package/dist/connect/token-sign-in.js +4 -23
- package/dist/core/export-props.d.ts +10 -0
- package/dist/core/export-props.js +31 -0
- package/dist/core/folder-zip-error.d.ts +5 -0
- package/dist/core/folder-zip-error.js +8 -0
- package/dist/core/host-incompatible-error.d.ts +8 -0
- package/dist/core/host-incompatible-error.js +9 -0
- package/dist/core/identity-namespace.d.ts +27 -16
- package/dist/core/identity-namespace.js +25 -22
- package/dist/core/plugin-display-name.d.ts +7 -0
- package/dist/core/plugin-display-name.js +11 -0
- package/dist/core/provider-plugin-link.d.ts +7 -0
- package/dist/core/provider-plugin-link.js +5 -0
- package/dist/{connect → core}/token-map.d.ts +11 -1
- package/dist/{connect → core}/token-map.js +15 -0
- package/dist/core/token-sign-in-list.d.ts +18 -0
- package/dist/core/token-sign-in-list.js +23 -0
- package/dist/core/update-error.d.ts +8 -0
- package/dist/core/update-error.js +9 -0
- package/dist/{lifecycle → core}/update-plan.d.ts +1 -1
- package/dist/ffmpeg-transcode/adapter.d.ts +74 -0
- package/dist/ffmpeg-transcode/adapter.js +155 -0
- package/dist/folder-zip-node.d.ts +2 -1
- package/dist/folder-zip-node.js +6 -5
- package/dist/folder-zip.d.ts +0 -4
- package/dist/folder-zip.js +1 -7
- package/dist/index.d.ts +3 -1
- package/dist/lifecycle/activation.d.ts +39 -3
- package/dist/lifecycle/activation.js +467 -418
- package/dist/lifecycle/automatic-use-offer.d.ts +62 -0
- package/dist/lifecycle/automatic-use-offer.js +52 -0
- package/dist/lifecycle/automatic-use.d.ts +33 -1
- package/dist/lifecycle/automatic-use.js +157 -38
- package/dist/lifecycle/bundled-source-archive.d.ts +1 -1
- package/dist/lifecycle/capability-projection.d.ts +0 -1
- package/dist/lifecycle/capability-projection.js +92 -23
- package/dist/lifecycle/compatibility-metadata.d.ts +1 -0
- package/dist/lifecycle/compatibility-metadata.js +6 -1
- package/dist/lifecycle/compatibility.d.ts +1 -8
- package/dist/lifecycle/compatibility.js +1 -8
- package/dist/lifecycle/credential-card-metadata.d.ts +2 -2
- package/dist/lifecycle/exports.d.ts +2 -45
- package/dist/lifecycle/exports.js +1 -30
- package/dist/lifecycle/host-tools/identity.d.ts +5 -4
- package/dist/lifecycle/host-tools/identity.js +5 -5
- package/dist/lifecycle/host-tools/ports.d.ts +10 -1
- package/dist/lifecycle/host-tools/search-tool.d.ts +4 -2
- package/dist/lifecycle/host-tools/search-tool.js +19 -8
- package/dist/lifecycle/host-tools/skill-tool.js +1 -1
- package/dist/lifecycle/index.d.ts +20 -17
- package/dist/lifecycle/index.js +5 -4
- package/dist/lifecycle/install-from-url.d.ts +1 -2
- package/dist/lifecycle/install.d.ts +4 -34
- package/dist/lifecycle/install.js +3 -3
- package/dist/lifecycle/installed-package-index.d.ts +1 -1
- package/dist/lifecycle/installed-package-index.js +4 -4
- package/dist/lifecycle/layout.d.ts +21 -25
- package/dist/lifecycle/layout.js +79 -0
- package/dist/lifecycle/manifest.d.ts +10 -7
- package/dist/lifecycle/manifest.js +20 -15
- package/dist/lifecycle/mcp-provisioning.d.ts +1 -1
- package/dist/lifecycle/metadata.d.ts +6 -3
- package/dist/lifecycle/metadata.js +2 -1
- package/dist/lifecycle/package-paths.js +59 -56
- package/dist/lifecycle/persistent-state.d.ts +10 -1
- package/dist/lifecycle/persistent-state.js +4 -2
- package/dist/lifecycle/ports.d.ts +18 -6
- package/dist/lifecycle/resolve-agent-plugin-refs.d.ts +2 -14
- package/dist/lifecycle/retire-bundled.d.ts +1 -1
- package/dist/lifecycle/search-projection.d.ts +3 -1
- package/dist/lifecycle/search-projection.js +7 -3
- package/dist/lifecycle/search.d.ts +1 -0
- package/dist/lifecycle/seed-bundled.d.ts +86 -1
- package/dist/lifecycle/seed-bundled.js +48 -84
- package/dist/lifecycle/set-enabled.d.ts +1 -13
- package/dist/lifecycle/set-enabled.js +11 -7
- package/dist/lifecycle/trusted-plugin-files.d.ts +1 -1
- package/dist/lifecycle/trusted-plugin-files.js +33 -30
- package/dist/lifecycle/types.d.ts +13 -34
- package/dist/lifecycle/uninstall.d.ts +1 -33
- package/dist/lifecycle/update-store.d.ts +0 -7
- package/dist/lifecycle/update-store.js +1 -8
- package/dist/lifecycle/update.d.ts +1 -1
- package/dist/lifecycle/update.js +60 -10
- package/dist/lifecycle/yauzl-archive-reader.d.ts +7 -2
- package/dist/lifecycle/yauzl-archive-reader.js +11 -6
- package/dist/manifest.d.ts +4 -8
- package/dist/react/AgentPluginDetailsModal.d.ts +187 -0
- package/dist/react/AgentPluginDetailsModal.js +29 -0
- package/dist/react/agent-plugin-install-port.d.ts +24 -0
- package/dist/react/agent-plugin-install-port.js +15 -0
- package/dist/react/installed-skills-composer-source.d.ts +60 -0
- package/dist/react/installed-skills-composer-source.js +111 -0
- package/dist/react/use-agent-plugins.hooks.d.ts +211 -0
- package/dist/react/use-agent-plugins.hooks.js +128 -0
- package/dist/site/activation-effects.d.ts +17 -0
- package/dist/site/activation-effects.js +31 -0
- package/dist/site/admin-surfaces/capabilities.d.ts +29 -0
- package/dist/site/admin-surfaces/capabilities.js +30 -0
- package/dist/site/admin-surfaces/delivery-bindings.d.ts +81 -0
- package/dist/site/admin-surfaces/delivery-bindings.js +161 -0
- package/dist/site/admin-surfaces/forms.d.ts +28 -0
- package/dist/site/admin-surfaces/forms.js +29 -0
- package/dist/site/admin-surfaces/handlers.d.ts +61 -0
- package/dist/site/admin-surfaces/handlers.js +35 -0
- package/dist/site/admin-surfaces/public-config.d.ts +12 -0
- package/dist/site/admin-surfaces/public-config.js +28 -0
- package/dist/site/analytics-provider-registry.d.ts +87 -0
- package/dist/site/analytics-provider-registry.js +87 -0
- package/dist/site/archive-reader-abi.d.ts +35 -0
- package/dist/site/archive-reader-abi.js +25 -0
- package/dist/site/auth-schemes.d.ts +110 -0
- package/dist/site/auth-schemes.js +119 -0
- package/dist/site/automatic-agent-plugins.d.ts +200 -0
- package/dist/site/automatic-agent-plugins.js +277 -0
- package/dist/site/bundled-contribution-sources.d.ts +24 -0
- package/dist/site/bundled-contribution-sources.js +17 -0
- package/dist/site/bundled-id-upgrade.d.ts +115 -0
- package/dist/site/bundled-id-upgrade.js +169 -0
- package/dist/site/customize-tool.d.ts +39 -0
- package/dist/site/customize-tool.js +31 -0
- package/dist/site/deploy-split-activation.d.ts +28 -0
- package/dist/site/deploy-split-activation.js +21 -0
- package/dist/site/exports/diagnostics.d.ts +37 -0
- package/dist/site/exports/diagnostics.js +55 -0
- package/dist/site/exports/runtime.d.ts +54 -0
- package/dist/site/exports/runtime.js +196 -0
- package/dist/site/exports/source.d.ts +42 -0
- package/dist/site/exports/source.js +58 -0
- package/dist/site/host-plugin-guidance.d.ts +137 -0
- package/dist/site/host-plugin-guidance.js +223 -0
- package/dist/site/host-signals.d.ts +78 -0
- package/dist/site/host-signals.js +83 -0
- package/dist/site/install-tool.d.ts +69 -0
- package/dist/site/install-tool.js +192 -0
- package/dist/site/install-upload.d.ts +175 -0
- package/dist/site/install-upload.js +324 -0
- package/dist/site/memory-i18n.d.ts +5 -0
- package/dist/site/memory-i18n.js +176 -0
- package/dist/site/memory.d.ts +80 -0
- package/dist/site/memory.js +83 -0
- package/dist/site/plugin-memory.d.ts +80 -0
- package/dist/site/plugin-memory.js +86 -0
- package/dist/site/provider-plugin-link.d.ts +112 -0
- package/dist/site/provider-plugin-link.js +100 -0
- package/dist/site/retired-plugin-tool-aliases.d.ts +40 -0
- package/dist/site/retired-plugin-tool-aliases.js +41 -0
- package/dist/site/service-ports.d.ts +108 -0
- package/dist/site/service-ports.js +2 -0
- package/dist/site/set-enabled.d.ts +80 -0
- package/dist/site/set-enabled.js +42 -0
- package/dist/site/soon-lock.d.ts +83 -0
- package/dist/site/soon-lock.js +78 -0
- package/dist/site/supersession.d.ts +61 -0
- package/dist/site/supersession.js +122 -0
- package/dist/site/uninstall-tool.d.ts +136 -0
- package/dist/site/uninstall-tool.js +203 -0
- package/dist/site/update-effects.d.ts +47 -0
- package/dist/site/update-effects.js +49 -0
- package/ffmpeg-transcode/plugin.json +16 -0
- package/github/source-control/backup-push.mjs +66 -46
- package/github/source-control/commit-site.mjs +124 -67
- package/github/source-control/write-files.mjs +86 -53
- package/github-pages/targets/github-pages.mjs +294 -233
- package/google-workspace/form-destinations/mapping.mjs +15 -7
- package/google-workspace/form-destinations/sheets.mjs +4 -2
- package/google-workspace/plugin.json +1 -0
- package/kuinetic/CHANGELOG.md +4 -0
- package/kuinetic/plugin.json +4 -1
- package/kuinetic/skills/kuinetic/SKILL.md +1 -2
- package/package.json +297 -20
- package/persistent-state.d.ts +4 -1
- package/resend/adapters/resend.mjs +5 -2
- package/resend/plugin.json +1 -1
- package/s3-compatible/jini-deploy-targets.json +1 -1
- package/s3-compatible/object-stores/s3-compatible.mjs +27 -4
- package/s3-compatible/targets/s3-compatible.mjs +3 -3
- package/site-import/plugin.json +3 -3
- package/site-import/skills/site-import/SKILL.md +62 -54
- package/site-import/skills/site-import/references/content-mapping.md +26 -20
- package/slide-design/plugin.json +1 -1
- package/slide-design/skills/slide-design/SKILL.md +8 -2
- package/ui-ux-design/CHANGELOG.md +6 -0
- package/ui-ux-design/plugin.json +1 -1
- package/ui-ux-design/skills/gstack-design/SKILL.md +6 -6
- package/ui-ux-design/skills/ui-ux-design/SKILL.md +3 -2
- package/ui-ux-design/skills/ui-ux-design/references/chrome-mobile-test-matrix.md +14 -12
- package/ui-ux-design/skills/ui-ux-design/references/ui-loop.md +16 -17
- package/vercel/NOTES.md +2 -1
- package/vercel/object-stores/vercel-blob.mjs +3 -4
- package/vercel/targets/vercel.mjs +425 -351
- package/core/commerce-server.d.ts +0 -2
- package/core/commerce-server.mjs +0 -2
- package/dist/admin-surfaces/connections/ports.d.ts +0 -110
- package/dist/admin-surfaces/connections/ports.js +0 -2
- /package/dist/{lifecycle → core}/install-errors.d.ts +0 -0
- /package/dist/{lifecycle → core}/install-errors.js +0 -0
- /package/dist/{lifecycle → core}/update-plan.js +0 -0
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
* An untagged field is matched by its label in row 1 (and tagged), else added as a new column at
|
|
14
14
|
* the end. A tab that should have the plugin's columns but lacks them, a header found twice, a field
|
|
15
15
|
* tagged on two columns, or two entries landing on one column is a mapping error the person
|
|
16
|
-
* repairs; nothing is appended into a sheet whose columns cannot be matched.
|
|
16
|
+
* repairs; nothing is appended into a sheet whose columns cannot be matched. A host that named the
|
|
17
|
+
* two plugin columns differently before they were renamed passes those old names (`legacyHeaders`):
|
|
18
|
+
* a sheet that already has rows under them keeps using them, and a new tab always gets the new names. The visitor's IP is
|
|
17
19
|
* never a field, and answers that are not fields of the frozen form are never written.
|
|
18
20
|
*/
|
|
19
21
|
import { DeliveryRefusal } from './delivery-result.mjs';
|
|
@@ -37,14 +39,17 @@ export function cellValue(required, _optional = {}) {
|
|
|
37
39
|
/**
|
|
38
40
|
* The mapping for one job: the two plugin columns, then one entry per field of the frozen form.
|
|
39
41
|
* @param {{ form: { fields: readonly { name: string, label?: string }[] } }} required
|
|
40
|
-
* @
|
|
42
|
+
* @param {{ legacyHeaders?: { submissionId?: readonly string[], submittedAt?: readonly string[] } }} [optional]
|
|
43
|
+
* `legacyHeaders`: older header names of the two plugin columns, still recognised on an existing sheet.
|
|
44
|
+
* @returns {{ header: string, field?: string, source?: 'id' | 'submittedAt', legacy?: readonly string[] }[]}
|
|
41
45
|
* @throws {DeliveryRefusal} `mapping-invalid` when two entries would share a header.
|
|
42
46
|
* @complexity O(fields).
|
|
43
47
|
*/
|
|
44
|
-
export function buildMapping(required,
|
|
48
|
+
export function buildMapping(required, optional = {}) {
|
|
49
|
+
const legacy = optional.legacyHeaders ?? {};
|
|
45
50
|
const entries = [
|
|
46
|
-
{ header: SUBMISSION_ID_HEADER, source: 'id' },
|
|
47
|
-
{ header: SUBMITTED_AT_HEADER, source: 'submittedAt' },
|
|
51
|
+
{ header: SUBMISSION_ID_HEADER, source: 'id', legacy: legacy.submissionId ?? [] },
|
|
52
|
+
{ header: SUBMITTED_AT_HEADER, source: 'submittedAt', legacy: legacy.submittedAt ?? [] },
|
|
48
53
|
// Trimmed like the sheet's cells are, so stray spaces never decide a match; a blank label falls back to the id.
|
|
49
54
|
...required.form.fields.map((field) => ({ field: field.name, header: String(field.label ?? '').trim() || field.name })),
|
|
50
55
|
];
|
|
@@ -92,9 +97,12 @@ function addColumn(plan, header) {
|
|
|
92
97
|
return index;
|
|
93
98
|
}
|
|
94
99
|
|
|
95
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* A plugin column (`_jini_*` header): found once by its fixed header or one of the host's old names for
|
|
102
|
+
* it (finding it under two names is a conflict), or new on a fresh tab. @complexity O(width).
|
|
103
|
+
*/
|
|
96
104
|
function managedColumn(plan, entry) {
|
|
97
|
-
const positions = headerPositions(plan,
|
|
105
|
+
const positions = [entry.header, ...(entry.legacy ?? [])].flatMap((header) => headerPositions(plan, header));
|
|
98
106
|
if (positions.length === 1) return positions[0];
|
|
99
107
|
if (positions.length > 1 || !plan.fresh) throw mappingInvalid();
|
|
100
108
|
return addColumn(plan, entry.header);
|
|
@@ -173,7 +173,7 @@ async function deliverRow(required, optional) {
|
|
|
173
173
|
const client = googleClientFor({ capabilities: { http: { fetch: ({ url }, init) => required.kit.fetch(url, init, { timeoutMs: DELIVERY_REQUEST_TIMEOUT_MS }) }, connections } });
|
|
174
174
|
const requests = sheetsRequests({ client, connectionRef: required.binding.connectionRef, spreadsheetId });
|
|
175
175
|
const tab = await requests.tab(tabConfig.sheetId);
|
|
176
|
-
const mapping = buildMapping({ form: required.form });
|
|
176
|
+
const mapping = buildMapping({ form: required.form }, { legacyHeaders: optional.legacyHeaders });
|
|
177
177
|
const headerRow = (await requests.rows(a1(tab.title, '1:1')))[0] ?? [];
|
|
178
178
|
const layout = planColumns({ mapping, headerRow, markers: await requests.markers(tab.sheetId) });
|
|
179
179
|
const existing = await scanFor(requests, tab, layout.columns[0], required.submission.id);
|
|
@@ -186,10 +186,12 @@ export default {
|
|
|
186
186
|
/**
|
|
187
187
|
* The forms delivery contract's `deliver`. Never throws: every failure is a contract result.
|
|
188
188
|
* @param {{ kit: { fetch(url: string, init: RequestInit, options: { timeoutMs: number }): Promise<Response> }, credential: { token: string, getAccessToken?: () => Promise<string> }, form: { slug: string, fields: readonly { name: string, label?: string }[] }, submission: { id: string, answers: Readonly<Record<string, unknown>>, submittedAt: string }, binding: { connectionRef: string, config: Readonly<Record<string, unknown>> }, idempotencyKey?: string }} required
|
|
189
|
-
* @param {{ state?: { get(input: { key: string }): Promise<unknown> } }} [optional]
|
|
189
|
+
* @param {{ state?: { get(input: { key: string }): Promise<unknown> }, legacyHeaders?: { submissionId?: readonly string[], submittedAt?: readonly string[] } }} [optional]
|
|
190
190
|
* `state`: the host's read-only reader of this plugin's settings, the same store and gate the
|
|
191
191
|
* tools use (`isProductEnabled`); absent = Sheets off. Quotas are the host's budgets, charged
|
|
192
192
|
* on every token read (`credential.getAccessToken`).
|
|
193
|
+
* `legacyHeaders`: `{ submissionId?: string[], submittedAt?: string[] }`, older names of the two
|
|
194
|
+
* plugin columns that a sheet the host already delivers to may still carry.
|
|
193
195
|
* @returns {Promise<{ ok: true, reference?: string } | { ok: false, error: { code: string, retryable: boolean, retryAfterMs?: number, outcome?: 'not-applied' | 'unknown' } }>}
|
|
194
196
|
*/
|
|
195
197
|
async deliver(required, optional = {}) {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"extensions": {
|
|
9
9
|
"jini": {
|
|
10
10
|
"maturity": "soon",
|
|
11
|
+
"clientNamespace": "JINI_",
|
|
11
12
|
"vendorAliases": ["google-sheets", "docs.google.com", "sheets.googleapis.com", "drive.googleapis.com", "gmail"],
|
|
12
13
|
"displayName": "Google Workspace",
|
|
13
14
|
"summary": "Sign in with Google once, then work with the spreadsheets you choose or create here.",
|
package/kuinetic/CHANGELOG.md
CHANGED
package/kuinetic/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "kuinetic",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "kUInetic, the declarative data-kui animation library: detection, setup, attribute grammar, effect names, reduced motion and opt-in tiers, as one portable Agent Plugin.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"extensions": {
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"displayName": "kUInetic",
|
|
10
10
|
"summary": "Helps the assistant add kUInetic animation with the right attributes and effect names.",
|
|
11
11
|
"id": "jini/kuinetic",
|
|
12
|
+
"companions": [
|
|
13
|
+
"ui-ux-design"
|
|
14
|
+
],
|
|
12
15
|
"provides": [
|
|
13
16
|
"kuinetic"
|
|
14
17
|
]
|
|
@@ -12,8 +12,7 @@ Attribute and effect lookup for kUInetic, the declarative `data-kui` animation l
|
|
|
12
12
|
`ui-animation.md` owns when to use it and the motion rules; this file only lists what
|
|
13
13
|
exists. Not a tutorial.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
`load_agent_plugin({ "pluginId": "ui-ux-design", "skill": "ui-ux-design" })`.
|
|
15
|
+
If the ui-ux-design plugin is available, load its ui-ux-design skill first using this host's plugin guidance reader; otherwise follow the basic design rules below.
|
|
17
16
|
|
|
18
17
|
**Authority:** the kUInetic source, package `kuinetic` v0.2.4 (MIT, kuinetic.com),
|
|
19
18
|
checked at commit `9fc5e54` on 2026-10-30. Every name below is registered in the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/agent-plugins",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.3",
|
|
4
4
|
"description": "Support for Agent Plugins: vendor-neutral manifest types and validators, installation, activation, digests and trusted contribution loading. Every Jini agent plugin ships here as its own subpath (@jini-ai/agent-plugins/<id>); resolving one never loads another plugin's files.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,6 +13,19 @@
|
|
|
13
13
|
"kind": "plugin-packaging",
|
|
14
14
|
"runtime": "universal",
|
|
15
15
|
"entries": {
|
|
16
|
+
"./core/folder-zip-error": "universal",
|
|
17
|
+
"./core/provider-plugin-link": "universal",
|
|
18
|
+
"./core/export-props": "universal",
|
|
19
|
+
"./site/plugin-memory": "node",
|
|
20
|
+
"./connect/new-site-agent-plugin-tokens": "node",
|
|
21
|
+
"./site/set-enabled": "node",
|
|
22
|
+
"./site/memory": "node",
|
|
23
|
+
"./site/install-upload": "node",
|
|
24
|
+
"./site/install-tool": "node",
|
|
25
|
+
"./site/exports/runtime": "universal",
|
|
26
|
+
"./site/update-effects": "node",
|
|
27
|
+
"./site/exports/source": "universal",
|
|
28
|
+
"./site/exports/diagnostics": "universal",
|
|
16
29
|
".": "universal",
|
|
17
30
|
"./lifecycle": "node",
|
|
18
31
|
"./lifecycle/yauzl": "node",
|
|
@@ -23,6 +36,9 @@
|
|
|
23
36
|
"./persistent-state": "node",
|
|
24
37
|
"./folder-zip": "universal",
|
|
25
38
|
"./folder-zip/node": "node",
|
|
39
|
+
"./ffmpeg-transcode": "universal",
|
|
40
|
+
"./ffmpeg-transcode/adapter": "node",
|
|
41
|
+
"./ffmpeg-transcode/*": "universal",
|
|
26
42
|
"./admin-surfaces": "universal",
|
|
27
43
|
"./admin-surfaces/client": "universal",
|
|
28
44
|
"./charts-echarts": "universal",
|
|
@@ -97,14 +113,41 @@
|
|
|
97
113
|
"./software-engineering/*": "universal",
|
|
98
114
|
"./commerce": "universal",
|
|
99
115
|
"./commerce/*": "universal",
|
|
100
|
-
"./commerce/server": "node",
|
|
101
116
|
"./google-forms": "universal",
|
|
102
117
|
"./google-forms/*": "universal",
|
|
103
118
|
"./connect": "universal",
|
|
104
119
|
"./connect/executable": "universal",
|
|
105
120
|
"./connect/plugin-host": "universal",
|
|
106
121
|
"./admin-surfaces/connections": "universal",
|
|
107
|
-
"./admin-surfaces/node": "node"
|
|
122
|
+
"./admin-surfaces/node": "node",
|
|
123
|
+
"./site/admin-surfaces/capabilities": "universal",
|
|
124
|
+
"./site/admin-surfaces/forms": "universal",
|
|
125
|
+
"./site/memory-i18n": "universal",
|
|
126
|
+
"./site/admin-surfaces/delivery-bindings": "universal",
|
|
127
|
+
"./site/supersession": "node",
|
|
128
|
+
"./site/uninstall-tool": "node",
|
|
129
|
+
"./site/admin-surfaces/public-config": "universal",
|
|
130
|
+
"./site/deploy-split-activation": "universal",
|
|
131
|
+
"./site/bundled-id-upgrade": "node",
|
|
132
|
+
"./site/retired-plugin-tool-aliases": "universal",
|
|
133
|
+
"./site/admin-surfaces/handlers": "universal",
|
|
134
|
+
"./site/customize-tool": "node",
|
|
135
|
+
"./site/activation-effects": "node",
|
|
136
|
+
"./site/service-ports": "universal",
|
|
137
|
+
"./site/provider-plugin-link": "node",
|
|
138
|
+
"./site/host-plugin-guidance": "node",
|
|
139
|
+
"./site/analytics-provider-registry": "node",
|
|
140
|
+
"./site/host-signals": "node",
|
|
141
|
+
"./site/bundled-contribution-sources": "node",
|
|
142
|
+
"./site/auth-schemes": "node",
|
|
143
|
+
"./site/soon-lock": "node",
|
|
144
|
+
"./react/installed-skills-composer-source": "browser",
|
|
145
|
+
"./react/agent-plugin-install-port": "browser",
|
|
146
|
+
"./react/use-agent-plugins.hooks": "browser",
|
|
147
|
+
"./react/AgentPluginDetailsModal": "browser",
|
|
148
|
+
"./site/automatic-agent-plugins": "node",
|
|
149
|
+
"./connect/host-deps": "universal",
|
|
150
|
+
"./connect/installed-plugin": "universal"
|
|
108
151
|
},
|
|
109
152
|
"isolation": {
|
|
110
153
|
"entries": {
|
|
@@ -112,7 +155,24 @@
|
|
|
112
155
|
"./persistent-state": "core",
|
|
113
156
|
"./connect": "lifecycle",
|
|
114
157
|
"./connect/executable": "lifecycle",
|
|
115
|
-
"./connect/plugin-host": "lifecycle"
|
|
158
|
+
"./connect/plugin-host": "lifecycle",
|
|
159
|
+
"./site/admin-surfaces/capabilities": "admin-surfaces",
|
|
160
|
+
"./site/admin-surfaces/forms": "admin-surfaces",
|
|
161
|
+
"./site/admin-surfaces/delivery-bindings": "admin-surfaces",
|
|
162
|
+
"./site/supersession": "lifecycle",
|
|
163
|
+
"./site/uninstall-tool": "lifecycle",
|
|
164
|
+
"./site/admin-surfaces/public-config": "admin-surfaces",
|
|
165
|
+
"./site/admin-surfaces/handlers": "admin-surfaces",
|
|
166
|
+
"./site/customize-tool": "folder-zip",
|
|
167
|
+
"./site/activation-effects": "lifecycle",
|
|
168
|
+
"./site/provider-plugin-link": "lifecycle",
|
|
169
|
+
"./site/analytics-provider-registry": "lifecycle",
|
|
170
|
+
"./site/host-signals": "lifecycle",
|
|
171
|
+
"./site/bundled-contribution-sources": "lifecycle",
|
|
172
|
+
"./site/auth-schemes": "lifecycle",
|
|
173
|
+
"./site/soon-lock": "lifecycle",
|
|
174
|
+
"./react/installed-skills-composer-source": "react",
|
|
175
|
+
"./react/agent-plugin-install-port": "react"
|
|
116
176
|
},
|
|
117
177
|
"shared": [
|
|
118
178
|
"core/persistent-state.js",
|
|
@@ -125,12 +185,77 @@
|
|
|
125
185
|
"yauzl": "opt-in: plugin zip import — Plugin ZIP import could not load yauzl. Install yauzl to enable this feature, or check its installed version and native binaries.",
|
|
126
186
|
"@cfworker/json-schema": "opt-in: json schema validation; import @jini-ai/agent-plugins/lifecycle/tools, import @jini-ai/agent-plugins/connect/executable — JSON Schema validation could not load @cfworker/json-schema. Install @cfworker/json-schema to enable this feature, or check its installed version and native binaries.",
|
|
127
187
|
"semver": "opt-in: plugin version compatibility; import @jini-ai/agent-plugins/lifecycle, import @jini-ai/agent-plugins/lifecycle/host-tools — Plugin version compatibility could not load semver. Install semver to enable this feature, or check its installed version and native binaries.",
|
|
128
|
-
"
|
|
188
|
+
"react": "opt-in: react browser bindings; import @jini-ai/agent-plugins/react/installed-skills-composer-source — React browser bindings could not load react. Install react to enable this feature, or check its installed version."
|
|
129
189
|
}
|
|
130
190
|
},
|
|
131
191
|
"type": "module",
|
|
132
192
|
"sideEffects": false,
|
|
133
193
|
"exports": {
|
|
194
|
+
"./core/folder-zip-error": {
|
|
195
|
+
"types": "./dist/core/folder-zip-error.d.ts",
|
|
196
|
+
"import": "./dist/core/folder-zip-error.js",
|
|
197
|
+
"default": "./dist/core/folder-zip-error.js"
|
|
198
|
+
},
|
|
199
|
+
"./core/provider-plugin-link": {
|
|
200
|
+
"types": "./dist/core/provider-plugin-link.d.ts",
|
|
201
|
+
"import": "./dist/core/provider-plugin-link.js",
|
|
202
|
+
"default": "./dist/core/provider-plugin-link.js"
|
|
203
|
+
},
|
|
204
|
+
"./core/export-props": {
|
|
205
|
+
"types": "./dist/core/export-props.d.ts",
|
|
206
|
+
"import": "./dist/core/export-props.js",
|
|
207
|
+
"default": "./dist/core/export-props.js"
|
|
208
|
+
},
|
|
209
|
+
"./site/plugin-memory": {
|
|
210
|
+
"types": "./dist/site/plugin-memory.d.ts",
|
|
211
|
+
"import": "./dist/site/plugin-memory.js",
|
|
212
|
+
"default": "./dist/site/plugin-memory.js"
|
|
213
|
+
},
|
|
214
|
+
"./connect/new-site-agent-plugin-tokens": {
|
|
215
|
+
"types": "./dist/connect/new-site-agent-plugin-tokens.d.ts",
|
|
216
|
+
"import": "./dist/connect/new-site-agent-plugin-tokens.js",
|
|
217
|
+
"default": "./dist/connect/new-site-agent-plugin-tokens.js"
|
|
218
|
+
},
|
|
219
|
+
"./site/set-enabled": {
|
|
220
|
+
"types": "./dist/site/set-enabled.d.ts",
|
|
221
|
+
"import": "./dist/site/set-enabled.js",
|
|
222
|
+
"default": "./dist/site/set-enabled.js"
|
|
223
|
+
},
|
|
224
|
+
"./site/memory": {
|
|
225
|
+
"types": "./dist/site/memory.d.ts",
|
|
226
|
+
"import": "./dist/site/memory.js",
|
|
227
|
+
"default": "./dist/site/memory.js"
|
|
228
|
+
},
|
|
229
|
+
"./site/install-upload": {
|
|
230
|
+
"types": "./dist/site/install-upload.d.ts",
|
|
231
|
+
"import": "./dist/site/install-upload.js",
|
|
232
|
+
"default": "./dist/site/install-upload.js"
|
|
233
|
+
},
|
|
234
|
+
"./site/install-tool": {
|
|
235
|
+
"types": "./dist/site/install-tool.d.ts",
|
|
236
|
+
"import": "./dist/site/install-tool.js",
|
|
237
|
+
"default": "./dist/site/install-tool.js"
|
|
238
|
+
},
|
|
239
|
+
"./site/exports/runtime": {
|
|
240
|
+
"types": "./dist/site/exports/runtime.d.ts",
|
|
241
|
+
"import": "./dist/site/exports/runtime.js",
|
|
242
|
+
"default": "./dist/site/exports/runtime.js"
|
|
243
|
+
},
|
|
244
|
+
"./site/update-effects": {
|
|
245
|
+
"types": "./dist/site/update-effects.d.ts",
|
|
246
|
+
"import": "./dist/site/update-effects.js",
|
|
247
|
+
"default": "./dist/site/update-effects.js"
|
|
248
|
+
},
|
|
249
|
+
"./site/exports/source": {
|
|
250
|
+
"types": "./dist/site/exports/source.d.ts",
|
|
251
|
+
"import": "./dist/site/exports/source.js",
|
|
252
|
+
"default": "./dist/site/exports/source.js"
|
|
253
|
+
},
|
|
254
|
+
"./site/exports/diagnostics": {
|
|
255
|
+
"types": "./dist/site/exports/diagnostics.d.ts",
|
|
256
|
+
"import": "./dist/site/exports/diagnostics.js",
|
|
257
|
+
"default": "./dist/site/exports/diagnostics.js"
|
|
258
|
+
},
|
|
134
259
|
".": {
|
|
135
260
|
"types": "./dist/index.d.ts",
|
|
136
261
|
"import": "./dist/index.js",
|
|
@@ -191,6 +316,13 @@
|
|
|
191
316
|
"import": "./dist/admin-surfaces/surface-client.js",
|
|
192
317
|
"default": "./dist/admin-surfaces/surface-client.js"
|
|
193
318
|
},
|
|
319
|
+
"./ffmpeg-transcode": "./ffmpeg-transcode/plugin.json",
|
|
320
|
+
"./ffmpeg-transcode/adapter": {
|
|
321
|
+
"types": "./dist/ffmpeg-transcode/adapter.d.ts",
|
|
322
|
+
"import": "./dist/ffmpeg-transcode/adapter.js",
|
|
323
|
+
"default": "./dist/ffmpeg-transcode/adapter.js"
|
|
324
|
+
},
|
|
325
|
+
"./ffmpeg-transcode/*": "./ffmpeg-transcode/*",
|
|
194
326
|
"./charts-echarts": "./charts-echarts/plugin.json",
|
|
195
327
|
"./charts-echarts/*": "./charts-echarts/*",
|
|
196
328
|
"./charts-recharts": "./charts-recharts/plugin.json",
|
|
@@ -262,11 +394,6 @@
|
|
|
262
394
|
"./software-engineering": "./software-engineering/plugin.json",
|
|
263
395
|
"./software-engineering/*": "./software-engineering/*",
|
|
264
396
|
"./commerce": "./commerce/plugin.json",
|
|
265
|
-
"./commerce/server": {
|
|
266
|
-
"types": "./core/commerce-server.d.ts",
|
|
267
|
-
"import": "./core/commerce-server.mjs",
|
|
268
|
-
"default": "./core/commerce-server.mjs"
|
|
269
|
-
},
|
|
270
397
|
"./commerce/*": "./commerce/*",
|
|
271
398
|
"./google-forms": "./google-forms/plugin.json",
|
|
272
399
|
"./google-forms/*": "./google-forms/*",
|
|
@@ -294,6 +421,146 @@
|
|
|
294
421
|
"types": "./dist/admin-surfaces/node.d.ts",
|
|
295
422
|
"import": "./dist/admin-surfaces/node.js",
|
|
296
423
|
"default": "./dist/admin-surfaces/node.js"
|
|
424
|
+
},
|
|
425
|
+
"./site/admin-surfaces/capabilities": {
|
|
426
|
+
"types": "./dist/site/admin-surfaces/capabilities.d.ts",
|
|
427
|
+
"import": "./dist/site/admin-surfaces/capabilities.js",
|
|
428
|
+
"default": "./dist/site/admin-surfaces/capabilities.js"
|
|
429
|
+
},
|
|
430
|
+
"./site/admin-surfaces/forms": {
|
|
431
|
+
"types": "./dist/site/admin-surfaces/forms.d.ts",
|
|
432
|
+
"import": "./dist/site/admin-surfaces/forms.js",
|
|
433
|
+
"default": "./dist/site/admin-surfaces/forms.js"
|
|
434
|
+
},
|
|
435
|
+
"./site/memory-i18n": {
|
|
436
|
+
"types": "./dist/site/memory-i18n.d.ts",
|
|
437
|
+
"import": "./dist/site/memory-i18n.js",
|
|
438
|
+
"default": "./dist/site/memory-i18n.js"
|
|
439
|
+
},
|
|
440
|
+
"./site/admin-surfaces/delivery-bindings": {
|
|
441
|
+
"types": "./dist/site/admin-surfaces/delivery-bindings.d.ts",
|
|
442
|
+
"import": "./dist/site/admin-surfaces/delivery-bindings.js",
|
|
443
|
+
"default": "./dist/site/admin-surfaces/delivery-bindings.js"
|
|
444
|
+
},
|
|
445
|
+
"./site/supersession": {
|
|
446
|
+
"types": "./dist/site/supersession.d.ts",
|
|
447
|
+
"import": "./dist/site/supersession.js",
|
|
448
|
+
"default": "./dist/site/supersession.js"
|
|
449
|
+
},
|
|
450
|
+
"./site/uninstall-tool": {
|
|
451
|
+
"types": "./dist/site/uninstall-tool.d.ts",
|
|
452
|
+
"import": "./dist/site/uninstall-tool.js",
|
|
453
|
+
"default": "./dist/site/uninstall-tool.js"
|
|
454
|
+
},
|
|
455
|
+
"./site/admin-surfaces/public-config": {
|
|
456
|
+
"types": "./dist/site/admin-surfaces/public-config.d.ts",
|
|
457
|
+
"import": "./dist/site/admin-surfaces/public-config.js",
|
|
458
|
+
"default": "./dist/site/admin-surfaces/public-config.js"
|
|
459
|
+
},
|
|
460
|
+
"./site/deploy-split-activation": {
|
|
461
|
+
"types": "./dist/site/deploy-split-activation.d.ts",
|
|
462
|
+
"import": "./dist/site/deploy-split-activation.js",
|
|
463
|
+
"default": "./dist/site/deploy-split-activation.js"
|
|
464
|
+
},
|
|
465
|
+
"./site/bundled-id-upgrade": {
|
|
466
|
+
"types": "./dist/site/bundled-id-upgrade.d.ts",
|
|
467
|
+
"import": "./dist/site/bundled-id-upgrade.js",
|
|
468
|
+
"default": "./dist/site/bundled-id-upgrade.js"
|
|
469
|
+
},
|
|
470
|
+
"./site/retired-plugin-tool-aliases": {
|
|
471
|
+
"types": "./dist/site/retired-plugin-tool-aliases.d.ts",
|
|
472
|
+
"import": "./dist/site/retired-plugin-tool-aliases.js",
|
|
473
|
+
"default": "./dist/site/retired-plugin-tool-aliases.js"
|
|
474
|
+
},
|
|
475
|
+
"./site/admin-surfaces/handlers": {
|
|
476
|
+
"types": "./dist/site/admin-surfaces/handlers.d.ts",
|
|
477
|
+
"import": "./dist/site/admin-surfaces/handlers.js",
|
|
478
|
+
"default": "./dist/site/admin-surfaces/handlers.js"
|
|
479
|
+
},
|
|
480
|
+
"./site/customize-tool": {
|
|
481
|
+
"types": "./dist/site/customize-tool.d.ts",
|
|
482
|
+
"import": "./dist/site/customize-tool.js",
|
|
483
|
+
"default": "./dist/site/customize-tool.js"
|
|
484
|
+
},
|
|
485
|
+
"./site/activation-effects": {
|
|
486
|
+
"types": "./dist/site/activation-effects.d.ts",
|
|
487
|
+
"import": "./dist/site/activation-effects.js",
|
|
488
|
+
"default": "./dist/site/activation-effects.js"
|
|
489
|
+
},
|
|
490
|
+
"./site/service-ports": {
|
|
491
|
+
"types": "./dist/site/service-ports.d.ts",
|
|
492
|
+
"import": "./dist/site/service-ports.js",
|
|
493
|
+
"default": "./dist/site/service-ports.js"
|
|
494
|
+
},
|
|
495
|
+
"./site/provider-plugin-link": {
|
|
496
|
+
"types": "./dist/site/provider-plugin-link.d.ts",
|
|
497
|
+
"import": "./dist/site/provider-plugin-link.js",
|
|
498
|
+
"default": "./dist/site/provider-plugin-link.js"
|
|
499
|
+
},
|
|
500
|
+
"./site/host-plugin-guidance": {
|
|
501
|
+
"types": "./dist/site/host-plugin-guidance.d.ts",
|
|
502
|
+
"import": "./dist/site/host-plugin-guidance.js",
|
|
503
|
+
"default": "./dist/site/host-plugin-guidance.js"
|
|
504
|
+
},
|
|
505
|
+
"./site/analytics-provider-registry": {
|
|
506
|
+
"types": "./dist/site/analytics-provider-registry.d.ts",
|
|
507
|
+
"import": "./dist/site/analytics-provider-registry.js",
|
|
508
|
+
"default": "./dist/site/analytics-provider-registry.js"
|
|
509
|
+
},
|
|
510
|
+
"./site/host-signals": {
|
|
511
|
+
"types": "./dist/site/host-signals.d.ts",
|
|
512
|
+
"import": "./dist/site/host-signals.js",
|
|
513
|
+
"default": "./dist/site/host-signals.js"
|
|
514
|
+
},
|
|
515
|
+
"./site/bundled-contribution-sources": {
|
|
516
|
+
"types": "./dist/site/bundled-contribution-sources.d.ts",
|
|
517
|
+
"import": "./dist/site/bundled-contribution-sources.js",
|
|
518
|
+
"default": "./dist/site/bundled-contribution-sources.js"
|
|
519
|
+
},
|
|
520
|
+
"./site/auth-schemes": {
|
|
521
|
+
"types": "./dist/site/auth-schemes.d.ts",
|
|
522
|
+
"import": "./dist/site/auth-schemes.js",
|
|
523
|
+
"default": "./dist/site/auth-schemes.js"
|
|
524
|
+
},
|
|
525
|
+
"./site/soon-lock": {
|
|
526
|
+
"types": "./dist/site/soon-lock.d.ts",
|
|
527
|
+
"import": "./dist/site/soon-lock.js",
|
|
528
|
+
"default": "./dist/site/soon-lock.js"
|
|
529
|
+
},
|
|
530
|
+
"./react/installed-skills-composer-source": {
|
|
531
|
+
"types": "./dist/react/installed-skills-composer-source.d.ts",
|
|
532
|
+
"import": "./dist/react/installed-skills-composer-source.js",
|
|
533
|
+
"default": "./dist/react/installed-skills-composer-source.js"
|
|
534
|
+
},
|
|
535
|
+
"./react/agent-plugin-install-port": {
|
|
536
|
+
"types": "./dist/react/agent-plugin-install-port.d.ts",
|
|
537
|
+
"import": "./dist/react/agent-plugin-install-port.js",
|
|
538
|
+
"default": "./dist/react/agent-plugin-install-port.js"
|
|
539
|
+
},
|
|
540
|
+
"./react/use-agent-plugins.hooks": {
|
|
541
|
+
"types": "./dist/react/use-agent-plugins.hooks.d.ts",
|
|
542
|
+
"import": "./dist/react/use-agent-plugins.hooks.js",
|
|
543
|
+
"default": "./dist/react/use-agent-plugins.hooks.js"
|
|
544
|
+
},
|
|
545
|
+
"./react/AgentPluginDetailsModal": {
|
|
546
|
+
"types": "./dist/react/AgentPluginDetailsModal.d.ts",
|
|
547
|
+
"import": "./dist/react/AgentPluginDetailsModal.js",
|
|
548
|
+
"default": "./dist/react/AgentPluginDetailsModal.js"
|
|
549
|
+
},
|
|
550
|
+
"./site/automatic-agent-plugins": {
|
|
551
|
+
"types": "./dist/site/automatic-agent-plugins.d.ts",
|
|
552
|
+
"import": "./dist/site/automatic-agent-plugins.js",
|
|
553
|
+
"default": "./dist/site/automatic-agent-plugins.js"
|
|
554
|
+
},
|
|
555
|
+
"./connect/host-deps": {
|
|
556
|
+
"types": "./dist/connect/host-deps.d.ts",
|
|
557
|
+
"import": "./dist/connect/host-deps.js",
|
|
558
|
+
"default": "./dist/connect/host-deps.js"
|
|
559
|
+
},
|
|
560
|
+
"./connect/installed-plugin": {
|
|
561
|
+
"types": "./dist/connect/installed-plugin.d.ts",
|
|
562
|
+
"import": "./dist/connect/installed-plugin.js",
|
|
563
|
+
"default": "./dist/connect/installed-plugin.js"
|
|
297
564
|
}
|
|
298
565
|
},
|
|
299
566
|
"files": [
|
|
@@ -314,6 +581,7 @@
|
|
|
314
581
|
"persistent-state.d.ts",
|
|
315
582
|
"core",
|
|
316
583
|
"charts-echarts",
|
|
584
|
+
"ffmpeg-transcode",
|
|
317
585
|
"calendly",
|
|
318
586
|
"charts-recharts",
|
|
319
587
|
"cloudflare",
|
|
@@ -354,27 +622,36 @@
|
|
|
354
622
|
"access": "public",
|
|
355
623
|
"registry": "https://registry.npmjs.org"
|
|
356
624
|
},
|
|
625
|
+
"dependencies": {
|
|
626
|
+
"js-yaml": "^5.3.0"
|
|
627
|
+
},
|
|
357
628
|
"devDependencies": {
|
|
358
|
-
"@vitest/coverage-v8": "^2.
|
|
629
|
+
"@vitest/coverage-v8": "^3.2.6",
|
|
359
630
|
"yazl": "^3.3.1",
|
|
360
631
|
"@cfworker/json-schema": "^4.1.1",
|
|
361
632
|
"@types/semver": "^7.5.8",
|
|
362
633
|
"semver": "^7.6.2",
|
|
363
634
|
"fast-check": "4.3.0",
|
|
364
|
-
"jsdom": "^
|
|
635
|
+
"jsdom": "^26.1.0",
|
|
365
636
|
"esbuild": "^0.28.1",
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
"@
|
|
369
|
-
"@
|
|
370
|
-
"@
|
|
637
|
+
"react": "^19.2.0",
|
|
638
|
+
"react-dom": "^19.2.0",
|
|
639
|
+
"@types/react": "^19.2.0",
|
|
640
|
+
"@types/react-dom": "^19.2.0",
|
|
641
|
+
"@testing-library/react": "^16.3.0",
|
|
642
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
643
|
+
"@jini-ai/platform": "^0.7.3-next.3",
|
|
644
|
+
"@jini-ai/plugins": "^0.7.3-next.3",
|
|
645
|
+
"@jini-ai/oauth": "^0.7.3-next.3",
|
|
646
|
+
"@jini-ai/cms": "^0.7.3-next.3",
|
|
647
|
+
"@jini-ai/ui": "^0.7.3-next.3"
|
|
371
648
|
},
|
|
372
649
|
"peerDependencies": {
|
|
373
650
|
"yauzl": "^3.4.0",
|
|
374
|
-
"@jini-ai/core": "^0.7.3-next.
|
|
651
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
375
652
|
"@cfworker/json-schema": "^4.1.1",
|
|
376
653
|
"semver": "^7.6.2",
|
|
377
|
-
"
|
|
654
|
+
"react": "^18.3.0 || ^19.0.0"
|
|
378
655
|
},
|
|
379
656
|
"peerDependenciesMeta": {
|
|
380
657
|
"yauzl": {
|
|
@@ -386,7 +663,7 @@
|
|
|
386
663
|
"semver": {
|
|
387
664
|
"optional": true
|
|
388
665
|
},
|
|
389
|
-
"
|
|
666
|
+
"react": {
|
|
390
667
|
"optional": true
|
|
391
668
|
}
|
|
392
669
|
},
|
package/persistent-state.d.ts
CHANGED
|
@@ -18,7 +18,10 @@ export interface PluginMemory {
|
|
|
18
18
|
}
|
|
19
19
|
export function pluginStatePaths(required: { workspaceRoot: string; pluginId: string }, optional?: {}): PluginStatePaths;
|
|
20
20
|
export function createPluginMemory(required: PluginStateEffects & { workspaceRoot: string; pluginId: string }, optional?: { limits?: Partial<typeof DEFAULT_PLUGIN_MEMORY_LIMITS> }): PluginMemory;
|
|
21
|
-
|
|
21
|
+
/** Proof that a caller holds one canonical workspace's layout-migration lock; honoured only while held. */
|
|
22
|
+
export interface WorkspaceMigrationOwnership { readonly workspaceRoot: string; readonly lockPath: string; isHeld(): boolean; }
|
|
23
|
+
export function withWorkspaceMigrationLock<T>(required: Pick<PluginStateEffects, 'filesystem' | 'withLock'> & { workspaceRoot: string; run(held: { ownership: WorkspaceMigrationOwnership }): Promise<T> }, optional?: {}): Promise<T>;
|
|
24
|
+
export function migratePluginLayout(required: PluginStateEffects & { workspaceRoot: string; parsePluginId(required: { value: unknown }): string; onEvent?(required: { event: string; message: string }): void }, optional?: { ownership?: WorkspaceMigrationOwnership }): Promise<{ complete: boolean; moved: number }>;
|
|
22
25
|
|
|
23
26
|
export function assertPluginStatePath(required: Pick<PluginStateEffects, "filesystem" | "contain"> & { workspaceRoot: string; entryPath: string }, optional?: {}): Promise<string>;
|
|
24
27
|
|
|
@@ -97,7 +97,7 @@ function create({ credential, kit }) {
|
|
|
97
97
|
async function send(message, opts) {
|
|
98
98
|
let response;
|
|
99
99
|
try {
|
|
100
|
-
|
|
100
|
+
const request = {
|
|
101
101
|
method: "POST",
|
|
102
102
|
url: `${baseUrl}/emails`,
|
|
103
103
|
headers: {
|
|
@@ -107,7 +107,10 @@ function create({ credential, kit }) {
|
|
|
107
107
|
},
|
|
108
108
|
body: JSON.stringify(toResendPayload(message)),
|
|
109
109
|
timeoutMs: opts.timeoutMs ?? DEFAULT_TIMEOUT_MS,
|
|
110
|
-
}
|
|
110
|
+
};
|
|
111
|
+
// Both client shapes, as lib/domains.mjs does (B016): Jini's `send({ request })` reads
|
|
112
|
+
// `.request`, the host's positional `send(request)` reads the fields.
|
|
113
|
+
response = await httpClient.send({ request, ...request });
|
|
111
114
|
} catch (err) {
|
|
112
115
|
// Network failure, timeout or an egress-policy refusal: retryable, and never thrown across
|
|
113
116
|
// the mail port.
|
package/resend/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "resend",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"description": "Sends the site's email (sign-in links, form notifications, newsletters) through Resend's hosted email API, and connects the assistant to Resend's own hosted MCP server for work on the Resend account itself: domains and their DNS verification, broadcasts, contacts, segments, topics, templates, logs and usage. Ships the mail adapter (a host loads it only when the host shipped it) and the know-how to set both up: a sending key saved through the secure site-mail connection card, and a separate Full access key saved through the secure account card for the account tools.",
|
|
6
6
|
"author": "Jini",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
{
|
|
60
60
|
"name": "mediaKeyPrefix",
|
|
61
61
|
"label": "Media key prefix (optional)",
|
|
62
|
-
"help": "Optional folder-like prefix for media objects in the media bucket, e.g.
|
|
62
|
+
"help": "Optional folder-like prefix for media objects in the media bucket, e.g. site-media/. Blank stores them at ws/… directly."
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
},
|