@plurnk/plurnk-schemes 3.4.0 → 3.5.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 +1 -1
- package/SPEC.md +2 -2
- package/dist/handler.d.ts +6 -1
- package/dist/handler.d.ts.map +1 -1
- package/dist/handler.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ That's the whole contract: declare, `implements SchemeHandler`, manifest with se
|
|
|
99
99
|
### Types
|
|
100
100
|
|
|
101
101
|
- Manifest: `SchemeManifest` (including capability `traits`, `documentation`, and client-only `glyph`) and `WriterTier`.
|
|
102
|
-
- Behavior contract: `SchemeHandler`, numeric-only `ResolvedEditStatement`, and optional `PacketSectionTransformer` (`PacketSectionDraft`); the remaining re-exported scheme-facing grammar types (`PlurnkStatement` + per-op statements + `ParsedPath` / `LocalPath` / `UrlPath`).
|
|
102
|
+
- Behavior contract: `SchemeHandler`, `SchemeHandlerConstructor`, numeric-only `ResolvedEditStatement`, and optional `PacketSectionTransformer` (`PacketSectionDraft`); the remaining re-exported scheme-facing grammar types (`PlurnkStatement` + per-op statements + `ParsedPath` / `LocalPath` / `UrlPath`).
|
|
103
103
|
- Results: universal `SchemeResult` plus RFC 9457 `ProblemDetails`, optional `EntryResult` / `ProposalResult` / `PassthroughResult` authoring shapes, `SchemeResultBase`, matcher navigation `MatchEvidence`, and target-shaped standard `EntryFindResult` pagination/count metadata.
|
|
104
104
|
- Capability ctx: `SchemeCtx` and its entry, channel, notification, projection, and subscription domains. Entry schemes reuse typed standard operations at canonical workspace addresses.
|
|
105
105
|
|
package/SPEC.md
CHANGED
|
@@ -19,7 +19,7 @@ Every scheme package declares `plurnk: { "kind": "scheme", "name": "<scheme>" }`
|
|
|
19
19
|
| `folderScopes?` | `true` declares that a trailing slash on `FIND` is a collection scope; absent/`false` treats `/` as ordinary resource syntax. |
|
|
20
20
|
| `lineAnchors?` | `true` publishes and accepts shared line anchors for stable textual representations without declaring `edit` support. |
|
|
21
21
|
| `textEditScopes?` | `true` declares the shared textual `edit` coordinate and collision contract ({§line-anchors}). Handlers receive numeric coordinates only and route standard entry mutation through `ctx.entries.operations.editBatch`. |
|
|
22
|
-
| `traits?` | Unique lowercase capability facts matching `^[a-z][a-z0-9-]*$` (e.g. `web`, `interaction`) consumed by {§
|
|
22
|
+
| `traits?` | Unique lowercase capability facts matching `^[a-z][a-z0-9-]*$` (e.g. `web`, `interaction`) consumed by session-owner interaction visibility ({§question-tool}). |
|
|
23
23
|
| `documentation?` | Deep reference Markdown (loaded from `docs/<name>.md`) with an exact H2 `Summary`, materialized on demand at `plurnk:///<name>.md` (`find` projects H2 `Summary`; `read` retrieves the body). |
|
|
24
24
|
| `glyph?` | Non-empty opaque client presentation glyph projected through {§mcp-server-definition}; never enters model teaching. |
|
|
25
25
|
| `storedScheme?` | Non-null string persisted to `entries.scheme` when different from `name` (defaults to `name`). |
|
|
@@ -158,7 +158,7 @@ Additional framework helpers:
|
|
|
158
158
|
|
|
159
159
|
## §scheme-discovery First-party discovery
|
|
160
160
|
|
|
161
|
-
`SchemeDiscovery.discover({ cwd? })` scans first-party `@plurnk/*` packages under `node_modules` via `@plurnk/plurnk-meta` ({§extension-discovery}) for packages declaring `plurnk.kind === "scheme"` (`plurnk.schemes: [{ name, export }]` or `plurnk.name`), ignoring non-`@plurnk/*` packages, failing hard on duplicate scheme prefixes or malformed declarations, and returning `{ schemes, packageAttributions }` descriptors without importing handler modules.
|
|
161
|
+
`SchemeDiscovery.discover({ cwd? })` scans first-party `@plurnk/*` packages under `node_modules` via `@plurnk/plurnk-meta` ({§extension-discovery}) for packages declaring `plurnk.kind === "scheme"` (`plurnk.schemes: [{ name, export }]` or `plurnk.name`), ignoring non-`@plurnk/*` packages, failing hard on duplicate scheme prefixes or malformed declarations, and returning `{ schemes, packageAttributions }` descriptors without importing handler modules. Each exported `SchemeHandlerConstructor` may declare an optional `static enabled?(env?: NodeJS.ProcessEnv): boolean`; returning `false` skips scheme registration.
|
|
162
162
|
|
|
163
163
|
## §message-source-scheme Message sources
|
|
164
164
|
|
package/dist/handler.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface SchemeHandler extends ExtensionAttributionSource {
|
|
|
30
30
|
}
|
|
31
31
|
export interface RuntimeSchemeFacet {
|
|
32
32
|
claims(pathname: string): boolean;
|
|
33
|
-
readonly manifest?: Partial<Pick<SchemeManifest, "authority" | "channels" | "defaultChannel" | "writableBy">>;
|
|
33
|
+
readonly manifest?: Partial<Pick<SchemeManifest, "authority" | "channels" | "defaultChannel" | "writableBy" | "folderScopes">>;
|
|
34
34
|
prepareRepresentation?(request: RepresentationPreparationRequest, ctx: SchemeCtx): Promise<RepresentationPreparationResult>;
|
|
35
35
|
prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
36
36
|
find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;
|
|
@@ -42,6 +42,11 @@ export interface RuntimeSchemeFacet {
|
|
|
42
42
|
export interface SchemeRegistrationSeam {
|
|
43
43
|
registerScheme(name: string, handler: SchemeHandler): Promise<void>;
|
|
44
44
|
}
|
|
45
|
+
export interface SchemeHandlerConstructor {
|
|
46
|
+
new (): SchemeHandler;
|
|
47
|
+
readonly manifest?: SchemeManifest;
|
|
48
|
+
readonly enabled?: (env?: NodeJS.ProcessEnv) => boolean;
|
|
49
|
+
}
|
|
45
50
|
export interface ResourceTree {
|
|
46
51
|
list(): Promise<readonly string[]>;
|
|
47
52
|
resource(relativePath: string): ByteSource;
|
package/dist/handler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EACR,aAA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E,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"}
|
package/dist/handler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,gFAAgF;AAChF,mEAAmE;AACnE,sEAAsE;AACtE,6EAA6E;AAC7E,8EAA8E;AAC9E,qCAAqC;AACrC,6EAA6E;AAC7E,gFAAgF;AAChF,0DAA0D;AAC1D,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,gFAAgF;AAChF,gFAAgF","sourcesContent":["// The scheme BEHAVIOR contract — the typed counterpart to SchemeManifest\n// (which types a scheme's declaration). A handler implements a method per op it\n// supports, named for the lowercased op (SEND → send, FIND → find,\n// …). Log curation is deliberately absent: core routes the log's KILL\n// only to its log owner. Core owns every READ: stored schemes inherit it and\n// other readable schemes provide a scope-blind representation first. FIND may\n// still be candidate-store-specific.\n// Every method is therefore OPTIONAL — a scheme implements only its distinct\n// surface. Operation methods share `(statement, ctx) => Promise<SchemeResult>`;\n// preparation hooks deliberately receive narrower inputs.\n//\n// `implements SchemeHandler` gives a sibling compile-time checking of its op\n// signatures instead of the duck-typed `object` the engine falls back to. The\n// per-op statement types are re-exported from the barrel, so a sibling depends\n// on (and exact-pins) ONLY @plurnk/plurnk-schemes — grammar rides underneath as\n// the framework's transitive pin, not a second pin every scheme tracks by hand.\n\n// This interface contains only operations the engine delegates to one scheme.\n// COPY and MOVE are engine-owned compositions over entry capabilities and\n// editBatch, not overridable handler methods.\nimport type {\n FindStatement,\n SendStatement,\n ExecStatement,\n KillStatement,\n ParsedPath,\n} from \"@plurnk/plurnk-contracts\";\nimport type { ExtensionAttributionSource } from \"@plurnk/plurnk-meta\";\nimport type { EntryAddress, ProposalApplyRequest, ProposalApplyResult, SchemeAddressCtx, SchemeCtx } from \"./ctx.ts\";\nimport type { WebMaterializer } from \"./WebMaterialization.ts\";\nimport type { EditBatchResult, ResolvedEditStatement } from \"./edit-receipt.ts\";\nimport type { RepresentationPreparationResult, SchemeResult } from \"./Results.ts\";\nimport type { SchemeManifest, EntryCoordinate } from \"./types.ts\";\nimport type { ByteSource } from \"./ByteSource.ts\";\n\nexport interface RepresentationPreparationRequest {\n readonly target: ParsedPath;\n readonly headers: Readonly<Record<string, string>> | null;\n readonly authority: string;\n readonly pathname: string;\n}\n\nexport interface SchemeHandler extends ExtensionAttributionSource {\n // Per-instance manifest option. Every handler must expose either this or a\n // class-level `static manifest`; Manifest.of validates the resolved value at\n // registration. Per-tag executor schemes derive this instance value from\n // their runtime declaration ({§network-address}).\n readonly manifest?: SchemeManifest;\n\n // Optional process hooks under {§scheme-operation-dispatch}: readiness precedes\n // advertisement; shutdown follows dispatch drain and precedes store closure.\n // Both run once per unique handler object identity.\n ready?(): Promise<void>;\n close?(): Promise<void>;\n\n // {§scheme-operation-dispatch}: the handler that acquires and materializes web resources\n // publishes it here; the entry sink resolves it through the registry, never a package by name.\n readonly webMaterializer?: WebMaterializer;\n applyResolution?(request: ProposalApplyRequest, ctx: SchemeCtx): Promise<ProposalApplyResult>;\n\n // Resolve a client-visible address through the same pathname rules as this\n // scheme's model-facing operations. The capability-free address context\n // prevents storage access before Core binds the resource.\n // null means no resolvable resource. An expected protocol/authority refusal\n // returns its exact non-success result instead of losing it to a generic miss.\n // {§line-anchors}: READ also checks model write eligibility here;\n // resolution observes authority without mutation, acquisition, or proposals.\n resolveEntryAddress?(\n target: ParsedPath,\n ctx: SchemeAddressCtx,\n access?: \"read\" | \"write\",\n ): Promise<EntryAddress | SchemeResult | null>;\n\n // Entry-bearing schemes receive the standard resource-selection\n // implementation from the consumer. A scheme implements this hook only\n // when the requested target must be discovered or materialized before FIND\n // selects stored entries.\n prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n // Exact-resource acquisition receives an already-resolved pathname and a\n // target stripped of channel selection. Operation-specific READ/FIND/COPY\n // intent and scope are never available. Core binds ctx capabilities to the\n // resolved owner, then owns selection and projection after readiness.\n prepareRepresentation?(\n request: RepresentationPreparationRequest,\n ctx: SchemeCtx,\n ): Promise<RepresentationPreparationResult>;\n byteSource?(address: EntryCoordinate, ctx: SchemeAddressCtx): ByteSource;\n find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n editBatch?(statements: readonly ResolvedEditStatement[], ctx: SchemeCtx): Promise<EditBatchResult>;\n send?(statement: SendStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n exec?(statement: ExecStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n kill?(statement: KillStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n}\n\n// {§resource-tree-scheme} — what a daemon module contributes to the scheme kind: a scheme handler,\n// or a scheme facet over a runtime's own resources. The base module contract is\n// `@plurnk/plurnk-modules` ({§module-seam-slices}).\n//\n// A module-owned runtime may expose protocol resources under the same scheme name as its output\n// streams. The facet claims only its own path subtree, and there it is the scheme's whole live\n// half: every operation it implements is its own. Unclaimed coordinates retain the standard\n// executor-output behavior.\nexport interface RuntimeSchemeFacet {\n claims(pathname: string): boolean;\n // The representation of the claimed resources where it is not the executor's own output\n // contract: whether the URI authority names the resource, their channels, the one a\n // fragmentless address reads and a subscription publishes, and who may write them. `claims`\n // always sees the authority folded into the pathname.\n readonly manifest?: Partial<Pick<SchemeManifest, \"authority\" | \"channels\" | \"defaultChannel\" | \"writableBy\">>;\n prepareRepresentation?(\n request: RepresentationPreparationRequest,\n ctx: SchemeCtx,\n ): Promise<RepresentationPreparationResult>;\n prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n editBatch?(statements: readonly ResolvedEditStatement[], ctx: SchemeCtx): Promise<EditBatchResult>;\n send?(statement: SendStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n kill?(statement: KillStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n // An operation the facet proposed is also the facet's to apply ({§http-manifest}),\n // routed by the proposal's own `target`.\n applyResolution?(request: ProposalApplyRequest, ctx: SchemeCtx): Promise<SchemeResult>;\n}\n\n// The setup slice a module uses to add one process-wide addressable scheme.\nexport interface SchemeRegistrationSeam {\n registerScheme(name: string, handler: SchemeHandler): Promise<void>;\n}\n\n// {§resource-tree-scheme} — source truth, without a storage or selection API.\nexport interface ResourceTree {\n list(): Promise<readonly string[]>;\n resource(relativePath: string): ByteSource;\n}\n\nexport interface ResourceTreeSource {\n trees(workspaceId: number): ReadonlyMap<string, ResourceTree>;\n // Translate only recognized source failures. null leaves normal missing-file\n // handling or the original unexpected exception with the host.\n refusal?(cause: unknown, address: EntryCoordinate): RepresentationPreparationResult | null;\n}\n\nexport interface ResourceTreeRegistrationSeam {\n registerResourceTreeScheme(name: string, source: ResourceTreeSource): Promise<void>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../src/handler.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,gFAAgF;AAChF,mEAAmE;AACnE,sEAAsE;AACtE,6EAA6E;AAC7E,8EAA8E;AAC9E,qCAAqC;AACrC,6EAA6E;AAC7E,gFAAgF;AAChF,0DAA0D;AAC1D,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,gFAAgF;AAChF,gFAAgF","sourcesContent":["// The scheme BEHAVIOR contract — the typed counterpart to SchemeManifest\n// (which types a scheme's declaration). A handler implements a method per op it\n// supports, named for the lowercased op (SEND → send, FIND → find,\n// …). Log curation is deliberately absent: core routes the log's KILL\n// only to its log owner. Core owns every READ: stored schemes inherit it and\n// other readable schemes provide a scope-blind representation first. FIND may\n// still be candidate-store-specific.\n// Every method is therefore OPTIONAL — a scheme implements only its distinct\n// surface. Operation methods share `(statement, ctx) => Promise<SchemeResult>`;\n// preparation hooks deliberately receive narrower inputs.\n//\n// `implements SchemeHandler` gives a sibling compile-time checking of its op\n// signatures instead of the duck-typed `object` the engine falls back to. The\n// per-op statement types are re-exported from the barrel, so a sibling depends\n// on (and exact-pins) ONLY @plurnk/plurnk-schemes — grammar rides underneath as\n// the framework's transitive pin, not a second pin every scheme tracks by hand.\n\n// This interface contains only operations the engine delegates to one scheme.\n// COPY and MOVE are engine-owned compositions over entry capabilities and\n// editBatch, not overridable handler methods.\nimport type {\n FindStatement,\n SendStatement,\n ExecStatement,\n KillStatement,\n ParsedPath,\n} from \"@plurnk/plurnk-contracts\";\nimport type { ExtensionAttributionSource } from \"@plurnk/plurnk-meta\";\nimport type { EntryAddress, ProposalApplyRequest, ProposalApplyResult, SchemeAddressCtx, SchemeCtx } from \"./ctx.ts\";\nimport type { WebMaterializer } from \"./WebMaterialization.ts\";\nimport type { EditBatchResult, ResolvedEditStatement } from \"./edit-receipt.ts\";\nimport type { RepresentationPreparationResult, SchemeResult } from \"./Results.ts\";\nimport type { SchemeManifest, EntryCoordinate } from \"./types.ts\";\nimport type { ByteSource } from \"./ByteSource.ts\";\n\nexport interface RepresentationPreparationRequest {\n readonly target: ParsedPath;\n readonly headers: Readonly<Record<string, string>> | null;\n readonly authority: string;\n readonly pathname: string;\n}\n\nexport interface SchemeHandler extends ExtensionAttributionSource {\n // Per-instance manifest option. Every handler must expose either this or a\n // class-level `static manifest`; Manifest.of validates the resolved value at\n // registration. Per-tag executor schemes derive this instance value from\n // their runtime declaration ({§network-address}).\n readonly manifest?: SchemeManifest;\n\n // Optional process hooks under {§scheme-operation-dispatch}: readiness precedes\n // advertisement; shutdown follows dispatch drain and precedes store closure.\n // Both run once per unique handler object identity.\n ready?(): Promise<void>;\n close?(): Promise<void>;\n\n // {§scheme-operation-dispatch}: the handler that acquires and materializes web resources\n // publishes it here; the entry sink resolves it through the registry, never a package by name.\n readonly webMaterializer?: WebMaterializer;\n applyResolution?(request: ProposalApplyRequest, ctx: SchemeCtx): Promise<ProposalApplyResult>;\n\n // Resolve a client-visible address through the same pathname rules as this\n // scheme's model-facing operations. The capability-free address context\n // prevents storage access before Core binds the resource.\n // null means no resolvable resource. An expected protocol/authority refusal\n // returns its exact non-success result instead of losing it to a generic miss.\n // {§line-anchors}: READ also checks model write eligibility here;\n // resolution observes authority without mutation, acquisition, or proposals.\n resolveEntryAddress?(\n target: ParsedPath,\n ctx: SchemeAddressCtx,\n access?: \"read\" | \"write\",\n ): Promise<EntryAddress | SchemeResult | null>;\n\n // Entry-bearing schemes receive the standard resource-selection\n // implementation from the consumer. A scheme implements this hook only\n // when the requested target must be discovered or materialized before FIND\n // selects stored entries.\n prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n // Exact-resource acquisition receives an already-resolved pathname and a\n // target stripped of channel selection. Operation-specific READ/FIND/COPY\n // intent and scope are never available. Core binds ctx capabilities to the\n // resolved owner, then owns selection and projection after readiness.\n prepareRepresentation?(\n request: RepresentationPreparationRequest,\n ctx: SchemeCtx,\n ): Promise<RepresentationPreparationResult>;\n byteSource?(address: EntryCoordinate, ctx: SchemeAddressCtx): ByteSource;\n find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n editBatch?(statements: readonly ResolvedEditStatement[], ctx: SchemeCtx): Promise<EditBatchResult>;\n send?(statement: SendStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n exec?(statement: ExecStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n kill?(statement: KillStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n}\n\n// {§resource-tree-scheme} — what a daemon module contributes to the scheme kind: a scheme handler,\n// or a scheme facet over a runtime's own resources. The base module contract is\n// `@plurnk/plurnk-modules` ({§module-seam-slices}).\n//\n// A module-owned runtime may expose protocol resources under the same scheme name as its output\n// streams. The facet claims only its own path subtree, and there it is the scheme's whole live\n// half: every operation it implements is its own. Unclaimed coordinates retain the standard\n// executor-output behavior.\nexport interface RuntimeSchemeFacet {\n claims(pathname: string): boolean;\n // The representation of the claimed resources where it is not the executor's own output\n // contract: whether the URI authority names the resource, their channels, the one a\n // fragmentless address reads and a subscription publishes, and who may write them. `claims`\n // always sees the authority folded into the pathname.\n readonly manifest?: Partial<Pick<SchemeManifest, \"authority\" | \"channels\" | \"defaultChannel\" | \"writableBy\" | \"folderScopes\">>;\n prepareRepresentation?(\n request: RepresentationPreparationRequest,\n ctx: SchemeCtx,\n ): Promise<RepresentationPreparationResult>;\n prepareFind?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n find?(statement: FindStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n editBatch?(statements: readonly ResolvedEditStatement[], ctx: SchemeCtx): Promise<EditBatchResult>;\n send?(statement: SendStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n kill?(statement: KillStatement, ctx: SchemeCtx): Promise<SchemeResult>;\n // An operation the facet proposed is also the facet's to apply ({§http-manifest}),\n // routed by the proposal's own `target`.\n applyResolution?(request: ProposalApplyRequest, ctx: SchemeCtx): Promise<SchemeResult>;\n}\n\n// The setup slice a module uses to add one process-wide addressable scheme.\nexport interface SchemeRegistrationSeam {\n registerScheme(name: string, handler: SchemeHandler): Promise<void>;\n}\n\n// {§scheme-discovery} — the exported handler constructor a scheme package exposes (`default` or\n// `plurnk.schemes[].export`). Returning `false` from `enabled` skips scheme registration.\nexport interface SchemeHandlerConstructor {\n new (): SchemeHandler;\n readonly manifest?: SchemeManifest;\n readonly enabled?: (env?: NodeJS.ProcessEnv) => boolean;\n}\n\n// {§resource-tree-scheme} — source truth, without a storage or selection API.\nexport interface ResourceTree {\n list(): Promise<readonly string[]>;\n resource(relativePath: string): ByteSource;\n}\n\nexport interface ResourceTreeSource {\n trees(workspaceId: number): ReadonlyMap<string, ResourceTree>;\n // Translate only recognized source failures. null leaves normal missing-file\n // handling or the original unexpected exception with the host.\n refusal?(cause: unknown, address: EntryCoordinate): RepresentationPreparationResult | null;\n}\n\nexport interface ResourceTreeRegistrationSeam {\n registerResourceTreeScheme(name: string, source: ResourceTreeSource): Promise<void>;\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { MimetypeInputLimitError as ProjectionInputLimitError } from "@plurnk/pl
|
|
|
24
24
|
export type { AppliedEditBatchReceipt, AppliedEditReceipt, EditBatchReceipt, EditBatchResult, EditEffectReceipt, EditReceipt, EditReceiptUnit, ParseIssueTransition, ResolvedEditStatement, ReviewerReplacementEditBatchReceipt, SupersededEditReceipt, } from "./edit-receipt.ts";
|
|
25
25
|
export type { ChannelProducerResult, EntryResult, MatchEvidence, PassthroughResult, ProposalResult, ProblemDetails, RepresentationPreparationResult, ScopeNormalization, SchemeResult, SchemeResultBase, } from "./Results.ts";
|
|
26
26
|
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";
|
|
27
|
-
export type { RepresentationPreparationRequest, ResourceTree, ResourceTreeRegistrationSeam, ResourceTreeSource, RuntimeSchemeFacet, SchemeHandler, SchemeRegistrationSeam, } from "./handler.ts";
|
|
27
|
+
export type { RepresentationPreparationRequest, ResourceTree, ResourceTreeRegistrationSeam, ResourceTreeSource, RuntimeSchemeFacet, SchemeHandler, SchemeHandlerConstructor, SchemeRegistrationSeam, } from "./handler.ts";
|
|
28
28
|
export type { ExtensionAttributionContext, ExtensionAttributionDeclaration, ExtensionAttributionSource, } from "@plurnk/plurnk-meta";
|
|
29
29
|
export type { PlurnkStatement, FindStatement, ReadStatement, CopyStatement, MoveStatement, SendStatement, ExecStatement, WorkStatement, ForkStatement, KillStatement, DispositionStatement, ParsedPath, LocalPath, UrlPath, } from "@plurnk/plurnk-contracts";
|
|
30
30
|
export { FileByteSource, GeneratedByteSource, type ByteSource } from "./ByteSource.ts";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACR,eAAe,EACf,eAAe,EACf,cAAc,EACd,UAAU,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAC/G,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAChD,YAAY,EACR,SAAS,EACT,UAAU,IAAI,cAAc,EAC5B,UAAU,EACV,SAAS,EACT,WAAW,EACX,eAAe,EACf,YAAY,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD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ItB,YAAY,EACR,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,mBAAmB,EACnB,0BAA0B,EAC1B,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,aAAa,EACb,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,kBAAkB,GACrB,MAAM,UAAU,CAAC;AAOlB,YAAY,EACR,gCAAgC,EAChC,YAAY,EACZ,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,sBAAsB,GACzB,MAAM,cAAc,CAAC;AACtB,YAAY,EACR,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACR,eAAe,EACf,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,OAAO,GACV,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EACR,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,eAAe,EACf,eAAe,GAClB,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACR,eA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O,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAsGhG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAmB,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["// Public API barrel for @plurnk/plurnk-schemes.\n\n// ── Manifest types ────────────────────────────────────────────────────────\nexport type {\n EntryCoordinate,\n SchemeAuthority,\n SchemeManifest,\n WriterTier,\n} from \"./types.ts\";\n\n// ── Behavior classes ─────────────────────────────────────────────────────\nexport { default as Manifest } from \"./Manifest.ts\";\nexport { default as NetworkAddress } from \"./NetworkAddress.ts\";\nexport { default as EntryCoordinates } from \"./EntryCoordinates.ts\";\nexport { default as MimetypeClassifier, PathMimetype, TEXT_PRIMITIVE_MIMETYPE } from \"./MimetypeClassifier.ts\";\nexport { default as Slicer } from \"./Slicer.ts\";\nexport type {\n BatchEdit,\n EditResult as LineEditResult,\n PageResult,\n RangeUnit,\n SliceResult,\n TextReplacement,\n WindowResult,\n} from \"./Slicer.ts\";\nexport { default as Matcher } from \"./Matcher.ts\";\nexport type { MatchResult } from \"./Matcher.ts\";\nexport { default as SchemeDiscovery } from \"./SchemeDiscovery.ts\";\nexport type { SchemeInfo, SchemeDiscoveryResult, DiscoverOptions } from \"./SchemeDiscovery.ts\";\nexport { default as Summarize } from \"./Summarize.ts\";\nexport type { OrientIndex } from \"./Summarize.ts\";\nexport { default as OutputScheme } from \"./OutputScheme.ts\";\nexport { default as ResourceNames } from \"./ResourceNames.ts\";\nexport type { RuntimeDecl } from \"./OutputScheme.ts\";\nexport { default as Results, InvalidOperationResultError } from \"./Results.ts\";\nexport { default as MessageAttachments } from \"./MessageAttachments.ts\";\nexport { default as MessageScheme } from \"./MessageScheme.ts\";\nexport { default as PacketSections } from \"./PacketSections.ts\";\nexport type { PacketSectionDraft, PacketSectionTransformer } from \"./PacketSections.ts\";\nexport { PathSyntax } from \"@plurnk/plurnk-contracts\";\nexport { MimetypeInputLimitError as ProjectionInputLimitError } from \"@plurnk/plurnk-mimetypes\";\nexport type {\n AppliedEditBatchReceipt,\n AppliedEditReceipt,\n EditBatchReceipt,\n EditBatchResult,\n EditEffectReceipt,\n EditReceipt,\n EditReceiptUnit,\n ParseIssueTransition,\n ResolvedEditStatement,\n ReviewerReplacementEditBatchReceipt,\n SupersededEditReceipt,\n} from \"./edit-receipt.ts\";\nexport type {\n ChannelProducerResult,\n EntryResult,\n MatchEvidence,\n PassthroughResult,\n ProposalResult,\n ProblemDetails,\n RepresentationPreparationResult,\n ScopeNormalization,\n SchemeResult,\n SchemeResultBase,\n} from \"./Results.ts\";\n\n// {§capability-ctx} Capability ctx — DB-free authoring surface for siblings.\n// Interfaces only; plurnk-service injects the implementation.\nexport type {\n ChannelCaps,\n ChannelState,\n TerminalChannelState,\n EntryCaps,\n EntryCatalogChannel,\n EntryCatalogDefaultChannel,\n EntryCatalogItem,\n EntryCatalogScope,\n EntryCatalogScopeGroup,\n EntryData,\n EntryEditResult,\n EntryFindResult,\n EntryOperationCaps,\n EntryAddress,\n EntryReadResult,\n EntryStorageReadResult,\n EntryStreamLifecycle,\n EntryStorageWriteResult,\n StoredEntryData,\n StreamSubscription,\n ProjectionCaps,\n InteractionCaps,\n ProjectedText,\n ProjectedBinary,\n NotifyCaps,\n ProposalApplyRequest,\n ProposalApplyResult,\n ProposalAware,\n SchemeAddressCtx,\n SchemeCtx,\n ResourceCaps,\n MessageCaps,\n SubscriptionCaps,\n SubscriptionHandle,\n} from \"./ctx.ts\";\n\n// ── Behavior contract + the scheme-facing grammar types ──────────────────────\n// SchemeHandler is the typed op surface a sibling `implements`. The per-op\n// statement + path types are re-exported from grammar here so a sibling depends\n// on and exact-pins ONLY this package; grammar is the framework's transitive pin\n// (this repo already peers it). The engine speaks one grammar — keep it single.\nexport type {\n RepresentationPreparationRequest,\n ResourceTree,\n ResourceTreeRegistrationSeam,\n ResourceTreeSource,\n RuntimeSchemeFacet,\n SchemeHandler,\n SchemeHandlerConstructor,\n SchemeRegistrationSeam,\n} from \"./handler.ts\";\nexport type {\n ExtensionAttributionContext,\n ExtensionAttributionDeclaration,\n ExtensionAttributionSource,\n} from \"@plurnk/plurnk-meta\";\nexport type {\n PlurnkStatement,\n FindStatement,\n ReadStatement,\n CopyStatement,\n MoveStatement,\n SendStatement,\n ExecStatement,\n WorkStatement,\n ForkStatement,\n KillStatement,\n DispositionStatement,\n ParsedPath,\n LocalPath,\n UrlPath,\n} from \"@plurnk/plurnk-contracts\";\nexport { FileByteSource, GeneratedByteSource, type ByteSource } from \"./ByteSource.ts\";\nexport { WebMaterializationError } from \"./WebMaterialization.ts\";\nexport type {\n WebChannelFailure,\n WebChannelOutcome,\n WebFetchResult,\n WebMaterializationSource,\n WebMaterializedResult,\n WebMaterializer,\n WebResponseBody,\n} from \"./WebMaterialization.ts\";\n"]}
|
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,CAAC;AAKxD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,UAAU,CAAC;AAEvD,MAAM,WAAW,eAAe;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IA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OAAO,CAAC;IAC3B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAI/B,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAGhC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAIlC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAI/B,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAExC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAGhC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAGxB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,CAC9C;IAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC3B;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GAChC;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,CACrC,CAAC"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,qCAAqC;AACrC,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,yEAAyE;AACzE,sEAAsE;AACtE,4EAA4E;AAC5E,mCAAmC","sourcesContent":["// Framework-grade types shared by every `@plurnk/plurnk-schemes-*` sibling\n// and its consumer (plurnk-service).\n//\n// Notably absent from this surface: `PlurnkSchemeContext`. The full per-call\n// context shape (which includes the database handle, channel-write notifier,\n// wake-on-completion notifier, etc.) is plurnk-service-coupled and lives\n// in the consumer. Sister schemes consume the parts of ctx the engine\n// supplies them per dispatch; this repo ships only the manifest types every\n// sibling needs to declare itself.\n\nexport type WriterTier = \"model\" | \"client\" | \"_plurnk\";\n\n// URI-authority disposition for an addressed scheme. Namespace is the stable\n// default for ordinary entry trees: an authored authority folds into the\n// pathname. Resource preserves authority as a durable entry coordinate.\nexport type SchemeAuthority = \"namespace\" | \"resource\";\n\nexport interface EntryCoordinate {\n readonly authority: string;\n readonly pathname: string;\n}\n\ninterface SchemeManifestBase {\n readonly name: string; // addressing/routing identity (the URI prefix)\n readonly authority?: SchemeAuthority; // absent = namespace\n readonly channels: Record<string, string>; // channel name → declared mimetype; the default may be dynamic\n // The channel selected for an unqualified read. Dynamic-channel schemes may\n // name it without declaring a fixed mimetype; empty means no default.\n readonly defaultChannel: string;\n // data: entry-bearing content. logging: log:// rows. control: addresses\n // sister sessions and owns no entries (session://: spawn/fork/irc).\n readonly writableBy: ReadonlyArray<WriterTier>;\n readonly volatile: boolean;\n readonly modelVisible: boolean;\n // A trailing slash on FIND or READ denotes a collection scope only when declared.\n // Explicit globs and matcher bodies remain queries everywhere. Absent/false\n // means `/` is ordinary resource syntax and dispatches directly.\n readonly folderScopes?: boolean;\n // True only when EDIT accepts the shared textual <scope> contract. Core\n // then lowers rendered line anchors to numeric coordinates before dispatch.\n readonly textEditScopes?: boolean;\n // True when the scheme's stable textual representations publish and accept\n // shared line anchors without claiming EDIT support. textEditScopes implies\n // publication only where the addressed resource authorizes model writes.\n readonly lineAnchors?: boolean;\n // General
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,qCAAqC;AACrC,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,yEAAyE;AACzE,sEAAsE;AACtE,4EAA4E;AAC5E,mCAAmC","sourcesContent":["// Framework-grade types shared by every `@plurnk/plurnk-schemes-*` sibling\n// and its consumer (plurnk-service).\n//\n// Notably absent from this surface: `PlurnkSchemeContext`. The full per-call\n// context shape (which includes the database handle, channel-write notifier,\n// wake-on-completion notifier, etc.) is plurnk-service-coupled and lives\n// in the consumer. Sister schemes consume the parts of ctx the engine\n// supplies them per dispatch; this repo ships only the manifest types every\n// sibling needs to declare itself.\n\nexport type WriterTier = \"model\" | \"client\" | \"_plurnk\";\n\n// URI-authority disposition for an addressed scheme. Namespace is the stable\n// default for ordinary entry trees: an authored authority folds into the\n// pathname. Resource preserves authority as a durable entry coordinate.\nexport type SchemeAuthority = \"namespace\" | \"resource\";\n\nexport interface EntryCoordinate {\n readonly authority: string;\n readonly pathname: string;\n}\n\ninterface SchemeManifestBase {\n readonly name: string; // addressing/routing identity (the URI prefix)\n readonly authority?: SchemeAuthority; // absent = namespace\n readonly channels: Record<string, string>; // channel name → declared mimetype; the default may be dynamic\n // The channel selected for an unqualified read. Dynamic-channel schemes may\n // name it without declaring a fixed mimetype; empty means no default.\n readonly defaultChannel: string;\n // data: entry-bearing content. logging: log:// rows. control: addresses\n // sister sessions and owns no entries (session://: spawn/fork/irc).\n readonly writableBy: ReadonlyArray<WriterTier>;\n readonly volatile: boolean;\n readonly modelVisible: boolean;\n // A trailing slash on FIND or READ denotes a collection scope only when declared.\n // Explicit globs and matcher bodies remain queries everywhere. Absent/false\n // means `/` is ordinary resource syntax and dispatches directly.\n readonly folderScopes?: boolean;\n // True only when EDIT accepts the shared textual <scope> contract. Core\n // then lowers rendered line anchors to numeric coordinates before dispatch.\n readonly textEditScopes?: boolean;\n // True when the scheme's stable textual representations publish and accept\n // shared line anchors without claiming EDIT support. textEditScopes implies\n // publication only where the addressed resource authorizes model writes.\n readonly lineAnchors?: boolean;\n // General capability facts consumed by session-owner interaction visibility\n // ({§question-tool}). The scheme declares facts only; it never interprets\n // owner visibility.\n readonly traits?: ReadonlyArray<string>;\n // Discoverable reference material ({§manifest}).\n readonly documentation?: string;\n // Opaque client presentation metadata. It is deliberately absent from\n // model-facing scheme teaching; clients choose rendering and fallback.\n readonly glyph?: string;\n // Value persisted to `entries.scheme`, which may differ from the addressing\n // `name`. Absent defaults to `name`; identity components are never null.\n readonly storedScheme?: string;\n}\n\nexport type SchemeManifest = SchemeManifestBase & (\n { readonly category: \"data\" }\n | { readonly category: \"logging\" }\n | { readonly category: \"control\" }\n);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-schemes",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-schemes-* URI handler packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@plurnk/plurnk-mimetypes": "^3.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@plurnk/plurnk-contracts": "^
|
|
55
|
-
"@plurnk/plurnk-meta": "^
|
|
54
|
+
"@plurnk/plurnk-contracts": "^9.0.0",
|
|
55
|
+
"@plurnk/plurnk-meta": "^3.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@plurnk/plurnk-parser": "^5.
|
|
58
|
+
"@plurnk/plurnk-parser": "^5.1.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "559adf644852d67450ff26a10df39b10f7cf90cc"
|
|
61
61
|
}
|