@plurnk/plurnk-schemes 1.9.0 → 1.9.1

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/SPEC.md CHANGED
@@ -73,6 +73,12 @@ registration failure.
73
73
  | `requiresWeb` | `noWeb === true` | Web access |
74
74
  | `requiresInteraction` | `noInteraction === true` | Interactive access |
75
75
 
76
+ An executor's runtime declaration may carry the same closed affinity
77
+ (`OutputScheme.manifestFromRuntime` stamps `decl.flags`): the synthesized
78
+ runtime-alias scheme then resolves through the one authority, so dispatch
79
+ gating and directory teaching fall out together (e.g. the `question` runtime
80
+ declares `requiresInteraction`).
81
+
76
82
  Proposal behavior is not scheme affinity. A handler proposes by returning 202;
77
83
  the consumer's proposal lifecycle decides whether a client, loop auto,
78
84
  `noProposals`, or a timeout resolves it.
@@ -1,10 +1,11 @@
1
- import type { SchemeManifest } from "./types.ts";
1
+ import type { SchemeFlagAffinity, SchemeManifest } from "./types.ts";
2
2
  export interface RuntimeDecl {
3
3
  readonly name: string;
4
4
  readonly glyph?: string;
5
5
  readonly example?: string;
6
6
  readonly channels: Record<string, string>;
7
7
  readonly defaultChannel: string;
8
+ readonly flags?: SchemeFlagAffinity;
8
9
  }
9
10
  export default class OutputScheme {
10
11
  static manifestFromRuntime(decl: RuntimeDecl): SchemeManifest;
@@ -1 +1 @@
1
- {"version":3,"file":"OutputScheme.d.ts","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIjD,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;IAO7B,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAiB5D;CACJ"}
1
+ {"version":3,"file":"OutputScheme.d.ts","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIrE,MAAM,WAAW,WAAW;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAIhC,QAAQ,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;IAO7B,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAkB5D;CACJ"}
@@ -27,6 +27,7 @@ export default class OutputScheme {
27
27
  foldedByDefault: true,
28
28
  glyph: decl.glyph,
29
29
  example: decl.example,
30
+ flags: decl.flags,
30
31
  };
31
32
  }
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OutputScheme.js","sourceRoot":"","sources":["../src/OutputScheme.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,kCAAkC;AAClC,4EAA4E;AAC5E,sFAAsF;AACtF,wFAAwF;AACxF,gDAAgD;AAchD,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,uEAAuE;IACvE,wEAAwE;IACxE,6EAA6E;IAC7E,wEAAwE;IACxE,qEAAqE;IACrE,0EAA0E;IAC1E,MAAM,CAAC,mBAAmB,CAAC,IAAiB;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AC,KAAK;SACpB,CAAC;IACN,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-schemes",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Framework + contract for the @plurnk/plurnk-schemes-* URI handler packages.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -49,10 +49,10 @@
49
49
  "prepack": "npm run build"
50
50
  },
51
51
  "peerDependencies": {
52
- "@plurnk/plurnk-mimetypes": "^1.9.0"
52
+ "@plurnk/plurnk-mimetypes": "^1.9.1"
53
53
  },
54
54
  "dependencies": {
55
- "@plurnk/plurnk-contracts": "1.9.0",
56
- "@plurnk/plurnk-meta": "1.9.0"
55
+ "@plurnk/plurnk-contracts": "1.9.1",
56
+ "@plurnk/plurnk-meta": "1.9.1"
57
57
  }
58
58
  }