@adea-ai/plugins 4.0.19 → 4.0.21
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/README.md +1 -1
- package/dist/catalog-store.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/publication.d.ts +1 -1
- package/dist/publication.js +1 -1
- package/dist/upstream.d.ts +3 -3
- package/dist/upstream.js +3 -3
- package/native/build-provenance.txt +5 -5
- package/native/staged-reader-win32-arm64.node +0 -0
- package/native/staged-reader-win32-x64.node +0 -0
- package/package.json +1 -1
- package/src/catalog-store.ts +1 -1
- package/src/harness.test.ts +1 -1
- package/src/icons.ts +1 -1
- package/src/index.test.ts +1 -1
- package/src/portable-catalog.test.ts +4 -4
- package/src/publication.ts +1 -1
- package/src/upstream-headers.test.ts +1 -1
- package/src/upstream.ts +3 -3
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ marketplace moves, several times a day. Shipping it inside a semver package
|
|
|
62
62
|
would force a toolkit release on every data change and churn every consumer's
|
|
63
63
|
lockfile, so the catalog is published to the content-addressed `catalog-assets`
|
|
64
64
|
branch instead. `@adea-ai/plugins` addresses those URLs; it does not embed
|
|
65
|
-
them. See [the
|
|
65
|
+
them. See [the plugins docs](https://adea.dev/docs/reference/plugins/).
|
|
66
66
|
|
|
67
67
|
## Usage
|
|
68
68
|
|
package/dist/catalog-store.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Catalog output coordination and publication.
|
|
3
3
|
*
|
|
4
|
-
* Contract
|
|
4
|
+
* Contract:
|
|
5
5
|
*
|
|
6
6
|
* - Every writer and every coordinated reader of one output directory uses a
|
|
7
7
|
* lock directory that sits beside the output, in the output's real parent.
|
package/dist/icons.js
CHANGED
|
@@ -88,7 +88,7 @@ export function selectIconPath(fileIndex) {
|
|
|
88
88
|
continue;
|
|
89
89
|
const { stemRank, size } = splitName(basename);
|
|
90
90
|
const nested = directories.filter((segment) => DIRECTORY_RANK[segment] !== undefined);
|
|
91
|
-
// A mark named as one
|
|
91
|
+
// A mark named as one, `logo.svg`, `atlan-logo.png`, `cs_logo_large.png`,
|
|
92
92
|
// is accepted anywhere, including the plugin root. An unnamed image must sit
|
|
93
93
|
// in a known asset directory, because a bare `banner.png` at the root is as
|
|
94
94
|
// likely to be documentation as a brand mark.
|
package/dist/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA2BvC,mEAAmE;AACnE,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAA;AAEzC,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAU,CAAA;AAEzF,oFAAoF;AACpF,MAAM,SAAS,GAAqC;IAClD,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,CAAC;IACb,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;CACT,CAAA;AACD,MAAM,cAAc,GAAqC;IACvD,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,CAAC;CACP,CAAA;AACD,iFAAiF;AACjF,MAAM,cAAc,GAAqC;IACvD,MAAM,EAAE,CAAC;IACT,SAAS,EAAE,CAAC;IACZ,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;CACV,CAAA;AACD,gFAAgF;AAChF,MAAM,QAAQ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KAAK,CAAC,+BAA+B,UAAU,EAAE,CAAC,CAAA;QAC9D,IAAI,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;YACjC,0EAA0E;YAC1E,kEAAkE;YAClE,IAAI,CAAC,oCAAoC,CAAC,IAAI,CAAC,KAAK,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,mCAAmC,UAAU,EAAE,CAAC,CAAA;YAClE,SAAQ;QACV,CAAC;QACD,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC/C,MAAM,IAAI,KAAK,CAAC,+BAA+B,UAAU,EAAE,CAAC,CAAA;IAChE,CAAC;IACD,OAAO,EAAE,aAAa,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,GAAG,SAAS,EAAE,EAAE,CAAA;AAC1D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,eAAe,CAC7B,SAA2C,EAC3C,UAAkB;IAElB,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,UAAU,IAAI,SAAS,CAAC,SAAS,CAAC;QAAE,OAAO,SAAS,CAAA;IACxE,MAAM,KAAK,GAAG,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAA;IAC7C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;IAC3C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAA;IAC/C,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAA;AAC3E,CAAC"}
|
package/dist/publication.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* `releases/latest/download/…` permanently outbids every versioned release for
|
|
9
9
|
* that slot, so no version is ever the one a visitor sees first.
|
|
10
10
|
*
|
|
11
|
-
* The branch gives each catalog an immutable path
|
|
11
|
+
* The branch gives each catalog an immutable path, `catalogs/<catalogId>/…`,
|
|
12
12
|
* where `catalogId` is the canonical digest of the catalog itself. The
|
|
13
13
|
* publisher must reject replacement of existing snapshot bytes. GitLab raw URLs
|
|
14
14
|
* serve the branch to servers and image tags; unlike
|
package/dist/publication.js
CHANGED
|
@@ -9,7 +9,7 @@ import { CatalogSchema } from './schema.js';
|
|
|
9
9
|
* `releases/latest/download/…` permanently outbids every versioned release for
|
|
10
10
|
* that slot, so no version is ever the one a visitor sees first.
|
|
11
11
|
*
|
|
12
|
-
* The branch gives each catalog an immutable path
|
|
12
|
+
* The branch gives each catalog an immutable path, `catalogs/<catalogId>/…`,
|
|
13
13
|
* where `catalogId` is the canonical digest of the catalog itself. The
|
|
14
14
|
* publisher must reject replacement of existing snapshot bytes. GitLab raw URLs
|
|
15
15
|
* serve the branch to servers and image tags; unlike
|
package/dist/upstream.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export declare const GITHUB_REPOSITORY_HOSTS: readonly string[];
|
|
|
21
21
|
* answers a page carrying an `Authorization` header with HTTP 500, and a CDN
|
|
22
22
|
* asked for an image with `accept: application/vnd.github+json` can answer with
|
|
23
23
|
* bytes that are not the mark. A build that did this dropped marks it had
|
|
24
|
-
* already curated, and the curation verifier
|
|
25
|
-
* headers
|
|
24
|
+
* already curated, and the curation verifier, which used its own anonymous
|
|
25
|
+
* headers, could not see it.
|
|
26
26
|
*/
|
|
27
27
|
export declare function upstreamRequestHeaders(url: string): Record<string, string>;
|
|
28
28
|
/**
|
|
@@ -34,7 +34,7 @@ export declare function upstreamRequestHeaders(url: string): Record<string, stri
|
|
|
34
34
|
*
|
|
35
35
|
* `deadline` optionally bounds one product's whole resolution. The per-request
|
|
36
36
|
* ceiling is always created fresh inside each fetch, so a caller that passes a
|
|
37
|
-
* deadline
|
|
37
|
+
* deadline, or shares one, can never hand later requests an already-expired
|
|
38
38
|
* signal.
|
|
39
39
|
*/
|
|
40
40
|
export declare function createSiteIconFetcher(deadline?: AbortSignal): SiteIconFetcher;
|
package/dist/upstream.js
CHANGED
|
@@ -79,8 +79,8 @@ const GITHUB_CREDENTIAL_HOSTS = /(^|\.)(github\.com|githubusercontent\.com)$/;
|
|
|
79
79
|
* answers a page carrying an `Authorization` header with HTTP 500, and a CDN
|
|
80
80
|
* asked for an image with `accept: application/vnd.github+json` can answer with
|
|
81
81
|
* bytes that are not the mark. A build that did this dropped marks it had
|
|
82
|
-
* already curated, and the curation verifier
|
|
83
|
-
* headers
|
|
82
|
+
* already curated, and the curation verifier, which used its own anonymous
|
|
83
|
+
* headers, could not see it.
|
|
84
84
|
*/
|
|
85
85
|
export function upstreamRequestHeaders(url) {
|
|
86
86
|
const anonymous = { 'user-agent': UPSTREAM_USER_AGENT };
|
|
@@ -109,7 +109,7 @@ export function upstreamRequestHeaders(url) {
|
|
|
109
109
|
*
|
|
110
110
|
* `deadline` optionally bounds one product's whole resolution. The per-request
|
|
111
111
|
* ceiling is always created fresh inside each fetch, so a caller that passes a
|
|
112
|
-
* deadline
|
|
112
|
+
* deadline, or shares one, can never hand later requests an already-expired
|
|
113
113
|
* signal.
|
|
114
114
|
*/
|
|
115
115
|
export function createSiteIconFetcher(deadline) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
source_commit
|
|
1
|
+
source_commit 363cae70ec62d5670793ba2d81f65d5e1da829ad
|
|
2
2
|
12125c7ab1a1e2d7cbe538343e2a11ef4d7fb0fa0310c5251d8606bf20f26834 packages/plugins/native/staged-reader.c
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
829b6182a4d8169c6527149eb17df71501f9a7c96cbd168a8b3ec9f3fa16e6c7 packages/plugins/native/staged-reader-test-win32-arm64.node
|
|
4
|
+
e49d3fe217a0d0d51ef97edb95c17e392b1c6e39e18e793de9feee7d29f40275 packages/plugins/native/staged-reader-test-win32-x64.node
|
|
5
|
+
4e8df5a53ddc2287e3dd0eec203266341932062331614d97bfa6da4a6f307249 packages/plugins/native/staged-reader-win32-arm64.node
|
|
6
|
+
712177038da2ebd93f530425ddf1c24167cf3a9696e0eb0b86a2fc76fa567b00 packages/plugins/native/staged-reader-win32-x64.node
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adea-ai/plugins",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.21",
|
|
4
4
|
"description": "Deterministic compiler for AI agent plugin marketplaces: schemas, source parsing, provenance verification, per-harness materialization, and provenance-checked static artifacts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
package/src/catalog-store.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Catalog output coordination and publication.
|
|
3
3
|
*
|
|
4
|
-
* Contract
|
|
4
|
+
* Contract:
|
|
5
5
|
*
|
|
6
6
|
* - Every writer and every coordinated reader of one output directory uses a
|
|
7
7
|
* lock directory that sits beside the output, in the output's real parent.
|
package/src/harness.test.ts
CHANGED
|
@@ -334,7 +334,7 @@ const PROFILES = {
|
|
|
334
334
|
* profile shapes: the shapes multiply out to far more combinations than the
|
|
335
335
|
* contract distinguishes. Each case states the package shape, the profile
|
|
336
336
|
* shape, whether a partial adoption was allowed, and what the plan must then
|
|
337
|
-
* contain
|
|
337
|
+
* contain, the strategy, the compatibility, the selected skills and servers,
|
|
338
338
|
* and the COMPLETE set of disabled components.
|
|
339
339
|
*
|
|
340
340
|
* The expectations are the EXISTING contract: the native loader is used only
|
package/src/icons.ts
CHANGED
|
@@ -114,7 +114,7 @@ export function selectIconPath(fileIndex: readonly string[]): string | null {
|
|
|
114
114
|
if (directories.some((segment) => EXCLUDED_DIRECTORIES.includes(segment))) continue
|
|
115
115
|
const { stemRank, size } = splitName(basename)
|
|
116
116
|
const nested = directories.filter((segment) => DIRECTORY_RANK[segment] !== undefined)
|
|
117
|
-
// A mark named as one
|
|
117
|
+
// A mark named as one, `logo.svg`, `atlan-logo.png`, `cs_logo_large.png`,
|
|
118
118
|
// is accepted anywhere, including the plugin root. An unnamed image must sit
|
|
119
119
|
// in a known asset directory, because a bare `banner.png` at the root is as
|
|
120
120
|
// likely to be documentation as a brand mark.
|
package/src/index.test.ts
CHANGED
|
@@ -315,7 +315,7 @@ describe('deterministic catalog synchronization', () => {
|
|
|
315
315
|
})
|
|
316
316
|
expect(unchanged.changed).toBe(false)
|
|
317
317
|
// Curation and build-logic changes produce different artifacts under the
|
|
318
|
-
// same pins, so an explicit force must not take the unchanged path
|
|
318
|
+
// same pins, so an explicit force must not take the unchanged path, that
|
|
319
319
|
// is the only way such a change becomes publishable.
|
|
320
320
|
const forced = await synchronize({
|
|
321
321
|
sources,
|
|
@@ -327,7 +327,7 @@ it('refuses a malformed provenance descriptor with one typed line naming the plu
|
|
|
327
327
|
assert.throws(
|
|
328
328
|
() => verifyPortableCatalog(catalog),
|
|
329
329
|
(error: Error) => {
|
|
330
|
-
// One typed line, naming the plugin
|
|
330
|
+
// One typed line, naming the plugin, the catalog's refusal contract.
|
|
331
331
|
assert.match(
|
|
332
332
|
error.message,
|
|
333
333
|
/^PACKAGE_PROVENANCE_INVALID: plugin:test-source:review-kit \(.+\)$/
|
|
@@ -518,7 +518,7 @@ it('keeps the packed consumer inside the packed artifact and its own dependencie
|
|
|
518
518
|
})
|
|
519
519
|
)
|
|
520
520
|
|
|
521
|
-
// NEGATIVE CONTROL
|
|
521
|
+
// NEGATIVE CONTROL, a broken export. The consumer resolves the packed
|
|
522
522
|
// package's OWN exports, so a specifier the packed manifest does not
|
|
523
523
|
// export must not resolve.
|
|
524
524
|
const brokenExport = join(consumer.consumerRoot, 'broken-export.mjs')
|
|
@@ -530,7 +530,7 @@ it('keeps the packed consumer inside the packed artifact and its own dependencie
|
|
|
530
530
|
/ERR_PACKAGE_PATH_NOT_EXPORTED|ERR_MODULE_NOT_FOUND|Cannot find module/
|
|
531
531
|
)
|
|
532
532
|
|
|
533
|
-
// NEGATIVE CONTROL
|
|
533
|
+
// NEGATIVE CONTROL, an undeclared package. The consumer's install holds
|
|
534
534
|
// only the packed manifest's declared closure, so a package the workspace
|
|
535
535
|
// happens to have must NOT resolve from the consumer.
|
|
536
536
|
const undeclared = join(consumer.consumerRoot, 'undeclared.mjs')
|
|
@@ -557,7 +557,7 @@ it('refuses a malformed provenance descriptor for a PACKED consumer too', () =>
|
|
|
557
557
|
assert.equal(underNode.status, 0, underNode.stderr)
|
|
558
558
|
const result = JSON.parse(underNode.stdout) as { ok: boolean; error?: string }
|
|
559
559
|
assert.equal(result.ok, false)
|
|
560
|
-
// One typed line, naming the plugin
|
|
560
|
+
// One typed line, naming the plugin, the catalog's refusal contract.
|
|
561
561
|
assert.match(
|
|
562
562
|
result.error ?? '',
|
|
563
563
|
/^PACKAGE_PROVENANCE_INVALID: plugin:test-source:review-kit \(.+\)$/
|
package/src/publication.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { CatalogSchema } from './schema.js'
|
|
|
10
10
|
* `releases/latest/download/…` permanently outbids every versioned release for
|
|
11
11
|
* that slot, so no version is ever the one a visitor sees first.
|
|
12
12
|
*
|
|
13
|
-
* The branch gives each catalog an immutable path
|
|
13
|
+
* The branch gives each catalog an immutable path, `catalogs/<catalogId>/…`,
|
|
14
14
|
* where `catalogId` is the canonical digest of the catalog itself. The
|
|
15
15
|
* publisher must reject replacement of existing snapshot bytes. GitLab raw URLs
|
|
16
16
|
* serve the branch to servers and image tags; unlike
|
|
@@ -6,7 +6,7 @@ import { createSiteIconFetcher, fetchUpstreamBytes, upstreamRequestHeaders } fro
|
|
|
6
6
|
*
|
|
7
7
|
* A live build runs with a GitHub token that authorises repository writes, and
|
|
8
8
|
* the same helper fetches vendor sites for brand marks. The credential must
|
|
9
|
-
* never leave GitHub's hosts
|
|
9
|
+
* never leave GitHub's hosts, and sending it changes what a vendor answers:
|
|
10
10
|
* appwrite.io replies 500 to a page carrying an Authorization header, so a
|
|
11
11
|
* build that leaked the token also lost marks it had already curated.
|
|
12
12
|
*/
|
package/src/upstream.ts
CHANGED
|
@@ -91,8 +91,8 @@ const GITHUB_CREDENTIAL_HOSTS = /(^|\.)(github\.com|githubusercontent\.com)$/
|
|
|
91
91
|
* answers a page carrying an `Authorization` header with HTTP 500, and a CDN
|
|
92
92
|
* asked for an image with `accept: application/vnd.github+json` can answer with
|
|
93
93
|
* bytes that are not the mark. A build that did this dropped marks it had
|
|
94
|
-
* already curated, and the curation verifier
|
|
95
|
-
* headers
|
|
94
|
+
* already curated, and the curation verifier, which used its own anonymous
|
|
95
|
+
* headers, could not see it.
|
|
96
96
|
*/
|
|
97
97
|
export function upstreamRequestHeaders(url: string): Record<string, string> {
|
|
98
98
|
const anonymous = { 'user-agent': UPSTREAM_USER_AGENT }
|
|
@@ -120,7 +120,7 @@ export function upstreamRequestHeaders(url: string): Record<string, string> {
|
|
|
120
120
|
*
|
|
121
121
|
* `deadline` optionally bounds one product's whole resolution. The per-request
|
|
122
122
|
* ceiling is always created fresh inside each fetch, so a caller that passes a
|
|
123
|
-
* deadline
|
|
123
|
+
* deadline, or shares one, can never hand later requests an already-expired
|
|
124
124
|
* signal.
|
|
125
125
|
*/
|
|
126
126
|
export function createSiteIconFetcher(deadline?: AbortSignal): SiteIconFetcher {
|