@plurnk/plurnk-schemes 1.29.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/SPEC.md +52 -22
- package/dist/Manifest.d.ts.map +1 -1
- package/dist/Manifest.js +4 -1
- package/dist/Manifest.js.map +1 -1
- package/dist/MessageScheme.js +1 -1
- package/dist/MessageScheme.js.map +1 -1
- package/dist/OutputScheme.js +2 -2
- package/dist/OutputScheme.js.map +1 -1
- package/dist/SchemeDiscovery.js +7 -7
- package/dist/SchemeDiscovery.js.map +1 -1
- package/dist/ctx.js +1 -1
- package/dist/ctx.js.map +1 -1
- package/dist/handler.d.ts +2 -2
- package/dist/handler.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/module-slice.d.ts +19 -0
- package/dist/module-slice.d.ts.map +1 -0
- package/dist/module-slice.js +2 -0
- package/dist/module-slice.js.map +1 -0
- package/dist/resource-tree.d.ts +15 -0
- package/dist/resource-tree.d.ts.map +1 -0
- package/dist/resource-tree.js +2 -0
- package/dist/resource-tree.js.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -55,12 +55,12 @@ bound to that authority, so entry capability calls remain pathname-oriented.
|
|
|
55
55
|
Implement only
|
|
56
56
|
the remaining delegated methods you support—`find`, `editBatch`, `send`, and
|
|
57
57
|
the other optional methods in `SchemeHandler`. COPY and MOVE are engine-owned
|
|
58
|
-
compositions over `ctx.entries` and `editBatch`, so
|
|
58
|
+
compositions over `ctx.entries` and `editBatch`, so extensions do not override
|
|
59
59
|
them or author COPY/MOVE effect envelopes. A regional `editBatch`
|
|
60
60
|
returns `EditBatchResult` with its typed `EditBatchReceipt`; the engine validates
|
|
61
61
|
and projects it.
|
|
62
62
|
The optional synchronous `attributions(context)` hook may return no, one, or
|
|
63
|
-
many opaque tags for each provider emission attempt ({§
|
|
63
|
+
many opaque tags for each provider emission attempt ({§extension-attribution}).
|
|
64
64
|
`implements SchemeHandler` gives compile-time signature checking. The statement
|
|
65
65
|
and path types (`FindStatement`, `SendStatement`, `UrlPath`, etc.) are re-exported
|
|
66
66
|
from this package, so you depend on and peer (`^1`) only
|
|
@@ -124,7 +124,7 @@ That's the whole contract: declare, `implements SchemeHandler`, manifest with se
|
|
|
124
124
|
- `Matcher.matchAgainstContent(body, content, mimetype, mimetypes)` - boolean resource selection over `Mimetypes.query` (glob/regex/jsonpath/xpath), returning locator/exact-region `MatchEvidence`.
|
|
125
125
|
- `Results.problem` / `.failure` / `.assert` / `.assertReadResult` / `.assertMatchEvidenceList` / `.attachInstance` / `.isEntry` / `.isProposal` / `.isPassthrough` / `.isErrorStatus` - RFC 9457 result builders, validators, durable-occurrence attachment, and guards.
|
|
126
126
|
- `PacketSections.assertDrafts(value, subject?)` — validates the exact tokenless section-draft list returned by a packet transformer.
|
|
127
|
-
- `SchemeDiscovery.discover({ cwd? })` — scope-agnostic `node_modules` scan for `plurnk.kind:"scheme"` packages (trust-gated, fail-hard on prefix collision); returns descriptors plus canonical static attribution lists for represented packages (SPEC §6, {§
|
|
127
|
+
- `SchemeDiscovery.discover({ cwd? })` — scope-agnostic `node_modules` scan for `plurnk.kind:"scheme"` packages (trust-gated, fail-hard on prefix collision); returns descriptors plus canonical static attribution lists for represented packages (SPEC §6, {§extension-attribution}).
|
|
128
128
|
|
|
129
129
|
`SchemeCtx` is the stable semantic API for trusted in-process schemes, not a
|
|
130
130
|
sandbox. The consumer injects its implementation; database layout and private
|
package/SPEC.md
CHANGED
|
@@ -39,7 +39,7 @@ class Notes {
|
|
|
39
39
|
| `channels` | `Record<channelName, mimetype>`. Channel names lowercase. Empty = dynamic per-call. |
|
|
40
40
|
| `defaultChannel` | Channel targeted when path has no `#fragment`. Dynamic-channel schemes may name it without fixing a mimetype; empty means no default. |
|
|
41
41
|
| `category` | `"data"` (entry-bearing) \| `"logging"` (`log://` rows) \| `"control"` (owns no entries). |
|
|
42
|
-
| `writableBy` | Subset of `["model", "client", "_plurnk"
|
|
42
|
+
| `writableBy` | Subset of `["model", "client", "_plurnk"]`; empty declares a scheme no operation writes, such as a runtime's output, which its execution writes through its own stream. The retired `plugin` tier fails validation and names `[]`. Consumer returns 403 for outside-set writes. |
|
|
43
43
|
| `volatile` | Boolean. |
|
|
44
44
|
| `modelVisible` | Boolean. |
|
|
45
45
|
| `folderScopes?` | `true` declares that a trailing slash on FIND is a collection scope. Absent/false means `/` is ordinary resource syntax. |
|
|
@@ -123,7 +123,7 @@ the entry's `WebMaterializedResult`, and `materializedChannels(result, request?)
|
|
|
123
123
|
out as entry channels. The result and error shapes (`WebFetchResult`,
|
|
124
124
|
`WebMaterializedResult`, `WebMaterializationError`) are this framework's. The `https`
|
|
125
125
|
handler publishes it; the service's entry sink resolves it through the scheme registry and
|
|
126
|
-
names no
|
|
126
|
+
names no extension package, so a compatible extension replaces it through the ordinary installation
|
|
127
127
|
and discovery path.
|
|
128
128
|
|
|
129
129
|
§scheme-operation-dispatch Sister scheme handlers implement op methods consumed by plurnk-service via
|
|
@@ -167,7 +167,7 @@ prepares authored body syntax before this boundary ({§zero-width-column-one-ins
|
|
|
167
167
|
handlers apply the supplied replacement literally, including at zero-width spans.
|
|
168
168
|
The barrel's
|
|
169
169
|
compatibility export named `EditStatement` aliases this resolved shape, so
|
|
170
|
-
existing
|
|
170
|
+
existing extensions do not inherit the model parser's anchor representation.
|
|
171
171
|
The anchor precondition remains core-private. A public handler declaring
|
|
172
172
|
`textEditScopes: true` MUST route its standard textual mutation through
|
|
173
173
|
`ctx.entries.operations.editBatch`, which rechecks that precondition at the
|
|
@@ -230,7 +230,7 @@ non-`200` content remains eligible for transfer.
|
|
|
230
230
|
|
|
231
231
|
Entry, channel, notification, subscription, mutation, proposal, client-read, and cancellation capabilities use that same workspace coordinate. Caller identity supplies provenance, not resource ownership or an alternate namespace. READ checks model write eligibility only to publish EDIT anchors ({§line-anchor-write-authority}); COPY checks the destination and MOVE also checks source mutability before any destination effect.
|
|
232
232
|
|
|
233
|
-
A sibling does `export default class X implements SchemeHandler` (with `static manifest: SchemeManifest`) and gets compile-time signature checking. Every registered handler exposes either that static manifest or an instance `manifest` for dynamically derived identities; `Manifest.of` validates the complete resolved declaration and its registration name before the handler becomes dispatchable. The interface is the handler-delegable subset of grammar's operation union. `LOOK` is a client-facing operation, log-targeted KILL is core-owned curation, and WORK/FORK and the native dispositions are core-owned worker/program operations; none is dispatchable to
|
|
233
|
+
A sibling does `export default class X implements SchemeHandler` (with `static manifest: SchemeManifest`) and gets compile-time signature checking. Every registered handler exposes either that static manifest or an instance `manifest` for dynamically derived identities; `Manifest.of` validates the complete resolved declaration and its registration name before the handler becomes dispatchable. The interface is the handler-delegable subset of grammar's operation union. `LOOK` is a client-facing operation, log-targeted KILL is core-owned curation, and WORK/FORK and the native dispositions are core-owned worker/program operations; none is dispatchable to an extension scheme. **The statement + path types (`ReadStatement`, `SendStatement`, `UrlPath`, …) are re-exported from this barrel**, so a sibling depends on and peers (`^1`) ONLY `@plurnk/plurnk-schemes` — grammar rides underneath as the framework's transitive dep (§3).
|
|
234
234
|
|
|
235
235
|
§handler-lifecycle A registered handler object is a process-lived shared
|
|
236
236
|
instance and may receive overlapping operation calls. Retained handler state is
|
|
@@ -332,7 +332,7 @@ coalesce and coordinate jumps expose an omitted middle. A deletion instead
|
|
|
332
332
|
contains up to `C` lines on each side of its join.
|
|
333
333
|
|
|
334
334
|
The engine validates that receipt and owns the ordered COPY/MOVE resource
|
|
335
|
-
effects shown to consumers;
|
|
335
|
+
effects shown to consumers; extensions do not invent a second effect envelope.
|
|
336
336
|
`parseIssues`, when present, carries nonnegative parser-recovery counts for the
|
|
337
337
|
complete source and resulting revisions. It is omitted when both are clean or
|
|
338
338
|
either inspection is unavailable. The hint is advisory: inspection failure
|
|
@@ -403,7 +403,7 @@ metadata shape under {§send-resource-attachments}; other recipients retain
|
|
|
403
403
|
their own metadata vocabulary.
|
|
404
404
|
|
|
405
405
|
Acquisition schemes delegate model-facing projection to the consumer's one
|
|
406
|
-
configured mimetype
|
|
406
|
+
configured mimetype framework. They neither instantiate readers nor discard source
|
|
407
407
|
bytes merely because no readable projection exists.
|
|
408
408
|
|
|
409
409
|
| Surface | Contract |
|
|
@@ -423,7 +423,7 @@ Parser-recovery inspection is deliberately non-gating: successful clean
|
|
|
423
423
|
inspection returns `0`; tooling failure or structural degradation surfaces a
|
|
424
424
|
Notice where available and returns `undefined`.
|
|
425
425
|
`ProjectionInputLimitError` is the projection boundary's exported name for the
|
|
426
|
-
configured mimetype
|
|
426
|
+
configured mimetype framework's typed bounded-input failure.
|
|
427
427
|
|
|
428
428
|
### §slicer-window Positional windows without content - `Slicer.window`
|
|
429
429
|
|
|
@@ -522,7 +522,7 @@ likewise. Both carry `columnKind: "unicodeCodePoints"`.
|
|
|
522
522
|
- `Results.isErrorStatus(status)` — `status >= 400`.
|
|
523
523
|
- `Results.problem(owner, code, status, detail, extensions?)` — build and validate RFC 9457 Problem Details with a stable `https://problems.plurnk.xyz/<owner>/<code>` type.
|
|
524
524
|
- `Results.failure(owner, code, status, detail, fields?, extensions?)` — build and validate a failed operation result.
|
|
525
|
-
- `Results.assert(result)` — validate the complete success/failure discrimination and reject malformed
|
|
525
|
+
- `Results.assert(result)` — validate the complete success/failure discrimination and reject malformed extension output.
|
|
526
526
|
- `Results.assertMatchEvidence(evidence)` / `assertMatchEvidenceList(evidence)` - enforce the exact `{ locator?, region?, enclosingRegion?, matched? }` shape and shared `TextRegion` contract.
|
|
527
527
|
- `Results.assertReadResult(result)` - validate the universal operation result plus any `region` and `matches` it exposes.
|
|
528
528
|
- `Results.attachInstance(result, uri)` — attach the durable occurrence URI to a failed result.
|
|
@@ -530,7 +530,7 @@ likewise. Both carry `columnKind: "unicodeCodePoints"`.
|
|
|
530
530
|
A handler owns its failure classification and explanation. A retained failure's
|
|
531
531
|
`instance` continues to identify its original occurrence; reading it does not create
|
|
532
532
|
a different failure. When absent, the daemon adds the committed log coordinate. A
|
|
533
|
-
malformed handler result is
|
|
533
|
+
malformed handler result is an extension contract violation and fails hard; the
|
|
534
534
|
consumer does not invent a fallback error or reinterpret arbitrary fields.
|
|
535
535
|
The same discrimination applies to every `SchemeCtx` capability result:
|
|
536
536
|
entries and channels never return a bare failure status.
|
|
@@ -553,9 +553,9 @@ entries and channels never return a bare failure status.
|
|
|
553
553
|
|
|
554
554
|
### §capability-ctx §3.bis Capability ctx — the stable trusted-extension surface
|
|
555
555
|
|
|
556
|
-
Scheme
|
|
557
|
-
sandbox or a security boundary; an installed
|
|
558
|
-
authority. It is the stable semantic API that keeps
|
|
556
|
+
Scheme extensions are trusted in-process Node.js code. `SchemeCtx` is not a
|
|
557
|
+
sandbox or a security boundary; an installed extension already has the process's
|
|
558
|
+
authority. It is the stable semantic API that keeps extensions independent of
|
|
559
559
|
database schemas, prepared-statement names, and private service modules.
|
|
560
560
|
**Interfaces only**: this repo exports the contract and the consumer injects
|
|
561
561
|
its implementation.
|
|
@@ -584,7 +584,7 @@ its implementation.
|
|
|
584
584
|
receives the standard stored-entry behavior.
|
|
585
585
|
- `channels` — content writes + state (`append`/`replace`/`setState`).
|
|
586
586
|
- `notify` — between-turn client signal (`streamEvent`, metadata-only); not model-facing. Wake delivery belongs to stream settlement, not notification.
|
|
587
|
-
- `projection` — the text and bounded-byte projection capability in {§scheme-projection}. Acquisition schemes own source representations; they do not instantiate or second-guess the
|
|
587
|
+
- `projection` — the text and bounded-byte projection capability in {§scheme-projection}. Acquisition schemes own source representations; they do not instantiate or second-guess the readers. `null` means no readable projection.
|
|
588
588
|
- §scheme-interactions `interactions` — `request(ClientInteractionRequest, signal?)`
|
|
589
589
|
awaits the contracts-owned interaction and returns its
|
|
590
590
|
`ClientInteractionResolution` ({§client-interaction-wire}). Core binds the
|
|
@@ -651,24 +651,54 @@ in the consumer. This package defines their stable interfaces and pure helpers
|
|
|
651
651
|
Installed schemes may legitimately own network connections, subprocesses,
|
|
652
652
|
caches, pools, or other host resources under {§handler-lifecycle}. These powers
|
|
653
653
|
are why installation is a trust decision and why contained interoperability
|
|
654
|
-
belongs in MCP rather than an in-process
|
|
654
|
+
belongs in MCP rather than an in-process extension.
|
|
655
655
|
|
|
656
|
-
The supported compatibility boundary is `@plurnk/plurnk-schemes`.
|
|
656
|
+
The supported compatibility boundary is `@plurnk/plurnk-schemes`. Extensions
|
|
657
657
|
should not import private service modules, depend on database layout, or call
|
|
658
658
|
prepared statements directly: those are unstable implementation details, not
|
|
659
|
-
additional
|
|
659
|
+
additional extension capabilities. Use `SchemeCtx` or propose a new semantic
|
|
660
660
|
capability when the public surface cannot express a coherent extension.
|
|
661
661
|
|
|
662
|
+
## Module slice
|
|
663
|
+
|
|
664
|
+
§scheme-module-slice **A daemon module contributes to the scheme kind through types this package
|
|
665
|
+
owns.** They complete the module contract's slices ({§module-seam-slices}).
|
|
666
|
+
|
|
667
|
+
| Type | Contract |
|
|
668
|
+
| --- | --- |
|
|
669
|
+
| `SchemeRegistrationSeam` | `registerScheme(name, handler)` adds one process-wide addressable `SchemeHandler`; scheme readiness and model-facing capability publication remain the host's. |
|
|
670
|
+
| `ResourceTreeRegistrationSeam` | `registerResourceTreeScheme(name, source)` exposes named read-only resource trees through {§resource-tree-scheme}, without giving the module a storage interface. |
|
|
671
|
+
| `RuntimeSchemeFacet` | A scheme face over a module's own resources. It claims only its own path subtree and there is the scheme's whole live half; unclaimed coordinates keep the standard executor-output behavior. A runtime carries one on its registration ({§executor-module-slice}), and a Functionality family's manager may expose one ({§functionality-adapter}). |
|
|
672
|
+
|
|
673
|
+
§resource-tree-scheme **A tree supplies resources; the host supplies their entry projections.**
|
|
674
|
+
`ResourceTreeSource.trees(workspaceId)` returns the currently available trees keyed by URI
|
|
675
|
+
authority. Each tree lists relative resource paths and supplies a {§scheme-source-bytes}
|
|
676
|
+
`ByteSource` for a relative path. Listing is authoritative; a source's null size means absent.
|
|
677
|
+
The source owns containment and acquisition, including optional native-file identity.
|
|
678
|
+
|
|
679
|
+
| Concern | Contract |
|
|
680
|
+
| --- | --- |
|
|
681
|
+
| Addressing | `name://authority/path`; resource authority, ordinary folder scopes, a dynamic MIME `body` channel. READ and source transfers share exact-resource preparation. |
|
|
682
|
+
| Publication | Demand-loaded entries, not eagerly injected bodies. Model and client writes are forbidden; only the host writes projections. |
|
|
683
|
+
| Projection | The host detects MIME, applies the configured input bound, and uses the installed MIME projection. Original bytes remain the source of byte views, transfers and attachments. Refresh replaces obsolete projection metadata too. |
|
|
684
|
+
| FIND | The host refreshes resources in the requested path/authority scope, including descendants needed for shallow folder summaries, then performs ordinary pattern selection. |
|
|
685
|
+
| Withdrawal | FIND removes cached projections for withdrawn authorities and absent resources in its refreshed scope. An exact missing READ never returns cached content. Historical log receipts are unchanged. |
|
|
686
|
+
| Failures | Optional `refusal(cause, address)` translates recognized source failures into ordinary failure results (status ≥400); null preserves the host's missing-file result or propagates the original unexpected exception. Projection and persistence failures must not be recast as source failures. |
|
|
687
|
+
|
|
688
|
+
The module does not receive scopes, matchers, database handles, or entry lifecycle controls through
|
|
689
|
+
this source interface. A tree registration uses the ordinary scheme registry, with the same unique
|
|
690
|
+
name, readiness, capability and lifecycle rules as other schemes.
|
|
691
|
+
|
|
662
692
|
## §scheme-discovery §6 Discovery & registration (third-party)
|
|
663
693
|
|
|
664
694
|
A scheme handler is discovered and registered with **zero first-party involvement** — install it, it lights up. The contract:
|
|
665
695
|
|
|
666
|
-
- **Declare** the exact string `plurnk.kind: "scheme"` in `package.json` ({§
|
|
667
|
-
- **`SchemeDiscovery` owns the scan (this package).** `SchemeDiscovery.discover({ cwd? })` walks *all* of `node_modules` — scoped (`@acme/foo`) and unscoped — and returns `{ schemes: {name, packageName, exportName?, attribution?}[], packageAttributions, skipped }` for every package declaring `plurnk.kind === "scheme"`. Scope-agnostic, so a third party under their own scope is found with no first-party allow-list; two names claiming one prefix fail-hard (across packages or within one), as does a malformed `plurnk.schemes` (locality of error, not a silent skip). It returns **descriptors, not handlers** — contract-only, it never imports a scheme package; the consumer imports each `packageName` and registers `new mod[exportName ?? "default"]()`, applying in-tree precedence. The scan primitives — package enumeration, the `
|
|
668
|
-
- **Attribution is package-authored.** `packageAttributions` carries one canonical validated static tag list per admitted package. `SchemeInfo.attribution` remains the published per-scheme projection when a declaration exists; a loaded handler may additionally implement the shared runtime
|
|
669
|
-
- **The framework stays contract-only.** `@plurnk/plurnk-schemes` does not depend on scheme
|
|
696
|
+
- **Declare** the exact string `plurnk.kind: "scheme"` in `package.json` ({§extension-kind}). Then name the scheme(s) it owns in one of two forms: `plurnk.schemes: [{ name, export }, …]` (canonical — one entry per scheme, `export` naming the handler-class export) or `plurnk.name: "<scheme>"` (one-scheme shorthand for the `default` export). One package may own several names inside this family; each name has exactly one owner.
|
|
697
|
+
- **`SchemeDiscovery` owns the scan (this package).** `SchemeDiscovery.discover({ cwd? })` walks *all* of `node_modules` — scoped (`@acme/foo`) and unscoped — and returns `{ schemes: {name, packageName, exportName?, attribution?}[], packageAttributions, skipped }` for every package declaring `plurnk.kind === "scheme"`. Scope-agnostic, so a third party under their own scope is found with no first-party allow-list; two names claiming one prefix fail-hard (across packages or within one), as does a malformed `plurnk.schemes` (locality of error, not a silent skip). It returns **descriptors, not handlers** — contract-only, it never imports a scheme package; the consumer imports each `packageName` and registers `new mod[exportName ?? "default"]()`, applying in-tree precedence. The scan primitives — package enumeration, the `PLURNK_EXTENSIONS_TRUSTED_ONLY` trust gate, the deployment-root `node_modules` walk — are one implementation in `@plurnk/plurnk-meta`, shared by all four family-head scanners; `SchemeDiscovery` adds only the scheme-descriptor shape on top.
|
|
698
|
+
- **Attribution is package-authored.** `packageAttributions` carries one canonical validated static tag list per admitted package. `SchemeInfo.attribution` remains the published per-scheme projection when a declaration exists; a loaded handler may additionally implement the shared runtime `attributions` function ({§extension-attribution}). Neither the descriptor nor the consumer owns another policy.
|
|
699
|
+
- **The framework stays contract-only.** `@plurnk/plurnk-schemes` does not depend on scheme extensions. The daemon declares its bundled extensions as direct dependencies, and additional scheme extensions are installed at the application root. Each declares the framework as a peer dependency using the repository's normal same-minor compatibility range; the framework itself is ignored by discovery because it has no `plurnk.kind`.
|
|
670
700
|
- **The default bundle is the daemon's own `dependencies`**, not an aggregator package. Installing `plurnk-core` surfaces the first-party schemes; any other leaf — first-party or third-party — is added by installing it, and scope-agnostic discovery lights it up identically. No bundle is ever a gate.
|
|
671
|
-
- **Trust.** The scanner enforces the shared predicate before attribution or scheme-field validation and returns withheld package names in `skipped`; the host owns presentation ({§
|
|
701
|
+
- **Trust.** The scanner enforces the shared predicate before attribution or scheme-field validation and returns withheld package names in `skipped`; the host owns presentation ({§extension-trust-boundary}).
|
|
672
702
|
|
|
673
703
|
## Message sources
|
|
674
704
|
|
|
@@ -685,7 +715,7 @@ refused 405 `message-immutable`; its detail names the address as an immutable re
|
|
|
685
715
|
and its `recovery` distinguishes replying from concluding the loop:
|
|
686
716
|
`` Reply with `SEND (message://tester/bde40185)` and a body, or conclude the loop with parameterless KILL. ``
|
|
687
717
|
|
|
688
|
-
§problems-schemes **Slicer and matcher Problems.** Every code
|
|
718
|
+
§problems-schemes **Slicer and matcher Problems.** Every code minted here, its status, and the sentence that is its contract (placeholders in *italics* are filled at emission; a fixed recovery follows its detail).
|
|
689
719
|
|
|
690
720
|
| code | status | contract |
|
|
691
721
|
|---|---:|---|
|
package/dist/Manifest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Manifest.d.ts","sourceRoot":"","sources":["../src/Manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,cAAc,EAAc,MAAM,YAAY,CAAC;AAyB9E,MAAM,CAAC,OAAO,OAAO,QAAQ;;IACzB,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"Manifest.d.ts","sourceRoot":"","sources":["../src/Manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,cAAc,EAAc,MAAM,YAAY,CAAC;AAyB9E,MAAM,CAAC,OAAO,OAAO,QAAQ;;IACzB,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,cAAc,CAoDjE;CAwCJ"}
|
package/dist/Manifest.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const WRITERS = new Set(["model", "client", "_plurnk"
|
|
1
|
+
const WRITERS = new Set(["model", "client", "_plurnk"]);
|
|
2
2
|
const CATEGORIES = new Set(["data", "logging", "control"]);
|
|
3
3
|
const AUTHORITIES = new Set(["namespace", "resource"]);
|
|
4
4
|
const MANIFEST_FIELD_NAMES = new Set(Object.keys({
|
|
@@ -58,6 +58,9 @@ export default class Manifest {
|
|
|
58
58
|
throw new Error(`scheme '${name}' manifest.category must be data, logging, or control`);
|
|
59
59
|
}
|
|
60
60
|
const writableBy = manifest.writableBy;
|
|
61
|
+
if (Array.isArray(writableBy) && writableBy.includes("plugin")) {
|
|
62
|
+
throw new Error(`scheme '${name}' manifest.writableBy names the retired writer tier 'plugin': [] declares a scheme no operation writes, and in-process code writes as '_plurnk'`);
|
|
63
|
+
}
|
|
61
64
|
if (!Array.isArray(writableBy)
|
|
62
65
|
|| !writableBy.every((writer) => typeof writer === "string" && WRITERS.has(writer))
|
|
63
66
|
|| new Set(writableBy).size !== writableBy.length) {
|
package/dist/Manifest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Manifest.js","sourceRoot":"","sources":["../src/Manifest.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAG,IAAI,GAAG,CAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Manifest.js","sourceRoot":"","sources":["../src/Manifest.ts"],"names":[],"mappings":"AAEA,MAAM,OAA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HANGED
|
@@ -6,7 +6,7 @@ export default class MessageScheme {
|
|
|
6
6
|
constructor(name) {
|
|
7
7
|
this.manifest = {
|
|
8
8
|
name, authority: "resource", category: "data", channels: { body: "text/markdown" },
|
|
9
|
-
defaultChannel: "body", writableBy: ["model", "client", "
|
|
9
|
+
defaultChannel: "body", writableBy: ["model", "client", "_plurnk"],
|
|
10
10
|
volatile: false, modelVisible: true, folderScopes: true, textEditScopes: false,
|
|
11
11
|
};
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageScheme.js","sourceRoot":"","sources":["../src/MessageScheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA2D,MAAM,0BAA0B,CAAC;AAI/G,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,yGAAyG;AACzG,MAAM,CAAC,OAAO,OAAO,aAAa;IACrB,QAAQ,CAAiB;IAElC,YAAY,IAAY;QACpB,IAAI,CAAC,QAAQ,GAAG;YACZ,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;YAClF,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageScheme.js","sourceRoot":"","sources":["../src/MessageScheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA2D,MAAM,0BAA0B,CAAC;AAI/G,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,yGAAyG;AACzG,MAAM,CAAC,OAAO,OAAO,aAAa;IACrB,QAAQ,CAAiB;IAElC,YAAY,IAAY;QACpB,IAAI,CAAC,QAAQ,GAAG;YACZ,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;YAClF,cAAc,EAAE,MAAM,EAAE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AAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;CACJ"}
|
package/dist/OutputScheme.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// read-only-output default. So the `sh` runtime gets `sh://` for free, and a multi-tag
|
|
6
6
|
// executor derives a distinct manifest per tag.
|
|
7
7
|
export default class OutputScheme {
|
|
8
|
-
// {§executor-scheme-output}: read-only model access to
|
|
8
|
+
// {§executor-scheme-output}: read-only model access to extension-produced data.
|
|
9
9
|
// Per-call output mimetypes override the declared channel seeds at stream time.
|
|
10
10
|
static manifestFromRuntime(decl) {
|
|
11
11
|
return {
|
|
@@ -14,7 +14,7 @@ export default class OutputScheme {
|
|
|
14
14
|
channels: decl.channels,
|
|
15
15
|
defaultChannel: decl.defaultChannel,
|
|
16
16
|
category: "data",
|
|
17
|
-
writableBy: [
|
|
17
|
+
writableBy: [],
|
|
18
18
|
volatile: true,
|
|
19
19
|
modelVisible: true,
|
|
20
20
|
folderScopes: true,
|
package/dist/OutputScheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputScheme.js","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kCAAkC;AAClC,4EAA4E;AAC5E,4EAA4E;AAC5E,uFAAuF;AACvF,gDAAgD;AAchD,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,
|
|
1
|
+
{"version":3,"file":"OutputScheme.js","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kCAAkC;AAClC,4EAA4E;AAC5E,4EAA4E;AAC5E,uFAAuF;AACvF,gDAAgD;AAchD,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,gFAAgF;IAChF,gFAAgF;IAChF,MAAM,CAAC,mBAAmB,CAAC,IAAiB;QACxC,OAAO;YACH,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,EAAE;YACd,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;SACtB,CAAC;IACN,CAAC;CACJ"}
|
package/dist/SchemeDiscovery.js
CHANGED
|
@@ -12,10 +12,10 @@ export default class SchemeDiscovery {
|
|
|
12
12
|
const manifest = await SchemeDiscovery.#readSchemeManifest(dir, signal);
|
|
13
13
|
if (manifest === null)
|
|
14
14
|
continue;
|
|
15
|
-
// Host
|
|
15
|
+
// Host extension-trust gate: an untrusted third-party package is
|
|
16
16
|
// discovered but not surfaced for registration — recorded, never
|
|
17
|
-
// crashed on. Validation of
|
|
18
|
-
// this package-level gate ({§
|
|
17
|
+
// crashed on. Validation of declaration fields and attribution follows
|
|
18
|
+
// this package-level gate ({§extension-trust-boundary}).
|
|
19
19
|
if (!Meta.isTrusted(manifest.packageName)) {
|
|
20
20
|
skipped.add(manifest.packageName);
|
|
21
21
|
continue;
|
|
@@ -42,9 +42,9 @@ export default class SchemeDiscovery {
|
|
|
42
42
|
}
|
|
43
43
|
return { schemes: [...byName.values()], packageAttributions, skipped: [...skipped].sort() };
|
|
44
44
|
}
|
|
45
|
-
// Host
|
|
45
|
+
// Host extension-trust gate, read from PLURNK_EXTENSIONS_TRUSTED_ONLY — the SAME
|
|
46
46
|
// env var the host decides once and every scope-agnostic discovery
|
|
47
|
-
// surface enforces through the shared Meta contract ({§
|
|
47
|
+
// surface enforces through the shared Meta contract ({§extension-trust-boundary}):
|
|
48
48
|
// unset / "" / "0" → OFF: every installed package trusted (no regression).
|
|
49
49
|
// any value → ON: `@plurnk/*` always trusted, plus a comma-separated
|
|
50
50
|
// allowlist of additionally-trusted package names.
|
|
@@ -57,8 +57,8 @@ export default class SchemeDiscovery {
|
|
|
57
57
|
const nm = Meta.nearestNodeModules(cwd) ?? path.join(path.resolve(cwd), "node_modules");
|
|
58
58
|
return (await Meta.packageDirs(nm)).map((c) => c.dir).toSorted();
|
|
59
59
|
}
|
|
60
|
-
// The inert manifest for a package declaring plurnk.kind:"scheme" ({§
|
|
61
|
-
// null for anything else, including an unnamed package.
|
|
60
|
+
// The inert manifest for a package declaring plurnk.kind:"scheme" ({§extension-manifest-read});
|
|
61
|
+
// null for anything else, including an unnamed package. Declaration field validation happens
|
|
62
62
|
// only after the package trust gate. An abort surfaces (locality of error).
|
|
63
63
|
static async #readSchemeManifest(dir, signal) {
|
|
64
64
|
const manifest = await Meta.readManifest(dir, "scheme", { signal });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemeDiscovery.js","sourceRoot":"","sources":["../src/SchemeDiscovery.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MAAM,qBAAqB,CAAC;AA6DvC,MAAM,CAAC,OAAO,OAAO,eAAe;IAChC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,GAAoB,EAAE;QAC/C,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAC3B,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,IAAI,MAAM,eAAe,CAAC,mBAAmB,CAAC,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,MAAM,CAAC,CAAC;QACpH,MAAM,MAAM,GAAG,IAAI,GAAG,EAAsB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"SchemeDiscovery.js","sourceRoot":"","sources":["../src/SchemeDiscovery.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MAAM,qBAAqB,CAAC;AA6DvC,MAAM,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/ctx.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Stable context for trusted `@plurnk/plurnk-schemes-*` extensions. This is a
|
|
2
|
-
// semantic compatibility boundary, not a sandbox: installed Node.js
|
|
2
|
+
// semantic compatibility boundary, not a sandbox: installed Node.js extensions
|
|
3
3
|
// already have host-process authority. The interfaces keep extension code
|
|
4
4
|
// independent of database schemas and private service modules while the
|
|
5
5
|
// consumer injects their implementation.
|
package/dist/ctx.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ctx.js","sourceRoot":"","sources":["../src/ctx.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E
|
|
1
|
+
{"version":3,"file":"ctx.js","sourceRoot":"","sources":["../src/ctx.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,+EAA+E;AAC/E,0EAA0E;AAC1E,wEAAwE;AACxE,yCAAyC"}
|
package/dist/handler.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FindStatement, SendStatement, ExecStatement, KillStatement, ParsedPath } from "@plurnk/plurnk-contracts";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ExtensionAttributionSource } from "@plurnk/plurnk-meta";
|
|
3
3
|
import type { EntryAddress, ProposalApplyRequest, ProposalApplyResult, SchemeAddressCtx, SchemeCtx } from "./ctx.ts";
|
|
4
4
|
import type { WebMaterializer } from "./WebMaterialization.ts";
|
|
5
5
|
import type { EditBatchResult } from "./edit-receipt.ts";
|
|
@@ -14,7 +14,7 @@ export interface RepresentationPreparationRequest {
|
|
|
14
14
|
readonly authority: string;
|
|
15
15
|
readonly pathname: string;
|
|
16
16
|
}
|
|
17
|
-
export interface SchemeHandler extends
|
|
17
|
+
export interface SchemeHandler extends ExtensionAttributionSource {
|
|
18
18
|
readonly manifest?: SchemeManifest;
|
|
19
19
|
ready?(): Promise<void>;
|
|
20
20
|
close?(): Promise<void>;
|
package/dist/handler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACR,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACR,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,+BAA+B,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,gCAAgC;IAC7C,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,aAAc,SAAQ,0BAA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AI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CAC1E"}
|
package/dist/index.d.ts
CHANGED
|
@@ -29,8 +29,10 @@ export type { ChannelProducerResult, EntryResult, MatchEvidence, PassthroughResu
|
|
|
29
29
|
export type { ChannelCaps, ChannelState, TerminalChannelState, EntryCaps, EntryCatalogChannel, EntryCatalogDefaultChannel, EntryCatalogItem, EntryCatalogScope, EntryCatalogScopeGroup, EntryData, EntryEditResult, EntryFindResult, EntryOperationCaps, EntryAddress, EntryReadResult, EntryStorageReadResult, EntryStreamLifecycle, EntryStorageWriteResult, StoredEntryData, StreamSubscription, ProjectionCaps, InteractionCaps, ProjectedText, ProjectedBinary, NotifyCaps, ProposalApplyRequest, ProposalApplyResult, ProposalAware, SchemeAddressCtx, SchemeCtx, ResourceCaps, MessageCaps, SubscriptionCaps, SubscriptionHandle, } from "./ctx.ts";
|
|
30
30
|
export type { ResolvedEditStatement, ResolvedEditStatement as EditStatement, } from "./edit-statement.ts";
|
|
31
31
|
export type { RepresentationPreparationRequest, SchemeHandler } from "./handler.ts";
|
|
32
|
+
export type { RuntimeSchemeFacet, SchemeRegistrationSeam } from "./module-slice.ts";
|
|
32
33
|
export type { PacketSectionDraft, PacketSectionTransformer } from "./packet.ts";
|
|
33
|
-
export type {
|
|
34
|
+
export type { ResourceTree, ResourceTreeSource, ResourceTreeRegistrationSeam } from "./resource-tree.ts";
|
|
35
|
+
export type { ExtensionAttributionContext, ExtensionAttributionDeclaration, ExtensionAttributionSource, } from "@plurnk/plurnk-meta";
|
|
34
36
|
export type { PlurnkStatement, FindStatement, ReadStatement, CopyStatement, MoveStatement, SendStatement, ExecStatement, WorkStatement, ForkStatement, KillStatement, DispositionStatement, ParsedPath, LocalPath, UrlPath, } from "@plurnk/plurnk-contracts";
|
|
35
37
|
export type { WindowResult } from "./Slicer.ts";
|
|
36
38
|
export type { ByteSource } from "./ByteSource.ts";
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O,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAqGhG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAUlE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FindStatement, KillStatement, SendStatement } from "@plurnk/plurnk-contracts";
|
|
2
|
+
import type { ProposalApplyRequest, SchemeCtx } from "./ctx.ts";
|
|
3
|
+
import type { RepresentationPreparationRequest, SchemeHandler } from "./handler.ts";
|
|
4
|
+
import type { RepresentationPreparationResult, SchemeResult } from "./Results.ts";
|
|
5
|
+
import type { SchemeManifest } from "./types.ts";
|
|
6
|
+
export interface RuntimeSchemeFacet {
|
|
7
|
+
claims(pathname: string): boolean;
|
|
8
|
+
readonly manifest?: Partial<Pick<SchemeManifest, "authority" | "channels" | "defaultChannel">>;
|
|
9
|
+
prepareRepresentation?(request: RepresentationPreparationRequest, ctx: SchemeCtx): Promise<RepresentationPreparationResult>;
|
|
10
|
+
prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
11
|
+
find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
12
|
+
send?(statement: SendStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
13
|
+
kill?(statement: KillStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
14
|
+
applyResolution?(request: ProposalApplyRequest, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
15
|
+
}
|
|
16
|
+
export interface SchemeRegistrationSeam {
|
|
17
|
+
registerScheme(name: string, handler: SchemeHandler): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=module-slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-slice.d.ts","sourceRoot":"","sources":["../src/module-slice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,KAAK,EAAE,gCAAgC,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,KAAK,EAAE,+BAA+B,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAMjD,MAAM,WAAW,kBAAkB;IAC/B,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAKlC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,UAAU,GAAG,gBAAgB,CAAC,CAAC,CAAC;IAC/F,qBAAqB,CAAC,CAClB,OAAO,EAAE,gCAAgC,EACzC,GAAG,EAAE,SAAS,GACf,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C,WAAW,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC9E,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACvE,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACvE,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAIvE,eAAe,CAAC,CAAC,OAAO,EAAE,oBAAoB,EAAE,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CAC1F;AAGD,MAAM,WAAW,sBAAsB;IACnC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-slice.js","sourceRoot":"","sources":["../src/module-slice.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ByteSource } from "./ByteSource.ts";
|
|
2
|
+
import type { EntryCoordinate } from "./types.ts";
|
|
3
|
+
import type { RepresentationPreparationResult } from "./Results.ts";
|
|
4
|
+
export interface ResourceTree {
|
|
5
|
+
list(): Promise<readonly string[]>;
|
|
6
|
+
resource(relativePath: string): ByteSource;
|
|
7
|
+
}
|
|
8
|
+
export interface ResourceTreeSource {
|
|
9
|
+
trees(workspaceId: number): ReadonlyMap<string, ResourceTree>;
|
|
10
|
+
refusal?(cause: unknown, address: EntryCoordinate): RepresentationPreparationResult | null;
|
|
11
|
+
}
|
|
12
|
+
export interface ResourceTreeRegistrationSeam {
|
|
13
|
+
registerResourceTreeScheme(name: string, source: ResourceTreeSource): Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=resource-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-tree.d.ts","sourceRoot":"","sources":["../src/resource-tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAGpE,MAAM,WAAW,YAAY;IACzB,IAAI,IAAI,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC;CAC9C;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAG9D,OAAO,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,GAAG,+BAA+B,GAAG,IAAI,CAAC;CAC9F;AAED,MAAM,WAAW,4BAA4B;IACzC,0BAA0B,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACvF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-tree.js","sourceRoot":"","sources":["../src/resource-tree.ts"],"names":[],"mappings":""}
|
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC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CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-schemes",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-schemes-* URI handler packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -48,13 +48,14 @@
|
|
|
48
48
|
"prepack": "npm run build"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@plurnk/plurnk-mimetypes": "^
|
|
51
|
+
"@plurnk/plurnk-mimetypes": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@plurnk/plurnk-contracts": "
|
|
55
|
-
"@plurnk/plurnk-meta": "
|
|
54
|
+
"@plurnk/plurnk-contracts": "^2.0.0",
|
|
55
|
+
"@plurnk/plurnk-meta": "^2.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@plurnk/plurnk-parser": "
|
|
59
|
-
}
|
|
58
|
+
"@plurnk/plurnk-parser": "^2.0.0"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "3b2cae63115333d1b2e820abcf44b0fe4959d9ea"
|
|
60
61
|
}
|