@mdwrk/extension-runtime 1.0.1 → 1.1.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 CHANGED
@@ -1,24 +1,24 @@
1
- # mdwrk/extension-runtime
1
+ # @mdwrk/extension-runtime
2
2
 
3
3
  Portable extension runtime for Markdown Workspace hosts.
4
4
 
5
- This package provides:
5
+ ## Runtime responsibilities
6
+
6
7
  - bundled extension registration
7
8
  - external catalog registration and loading
8
- - manifest validation
9
- - compatibility checks
9
+ - manifest validation and compatibility checks
10
10
  - persisted enabled/config/install state with deterministic namespaced keys
11
11
  - activation and deactivation lifecycle management
12
12
  - capability-scoped host wrappers
13
13
  - runtime diagnostics and state snapshots
14
- - signed-manifest verification
15
- - module integrity verification
16
- - install/update/remove flows for external extensions
14
+ - signed-manifest verification and integrity checks
15
+ - install / update / remove flows for external extensions
17
16
  - installed extension cache rehydration
18
17
 
19
- ## Public runtime surface
18
+ ## Public API surface
20
19
 
21
20
  The runtime exposes methods for:
21
+
22
22
  - registering bundled entries
23
23
  - registering or loading catalogs
24
24
  - listing available catalog entries
@@ -26,9 +26,31 @@ The runtime exposes methods for:
26
26
  - enabling/disabling and activating/deactivating extensions
27
27
  - reading configuration stores and runtime services
28
28
 
29
- ## Current status
29
+ ## Compatibility declarations
30
+
31
+ This package depends on the contract packages rather than app internals:
32
+
33
+ - `@mdwrk/extension-host`
34
+ - `@mdwrk/extension-manifest`
35
+ - `@mdwrk/theme-contract`
36
+
37
+ ## Lifecycle and integration tests
38
+
39
+ - `tests/runtime.test.ts` covers lifecycle, install/cache, compatibility, and state-management behavior
40
+ - `tests/run-smoke.mjs` covers runtime exports and smoke-level integration
41
+ - `tests/prepare-workspace-links.mjs` keeps workspace package links usable for package-local test execution
42
+
43
+ ## Install / host integration guidance
44
+
45
+ Hosts should provide the runtime with:
46
+
47
+ - a compliant host API implementation from `@mdwrk/extension-host`
48
+ - a registration sink that maps runtime registrations onto host surfaces
49
+ - a storage adapter for config/install state
50
+ - trust/signing policy for external catalog flows
51
+
52
+ ## API/reference docs
30
53
 
31
- Implemented through Phase 13.
54
+ See the generated reference page at:
32
55
 
33
- The package is publishable and includes the formal third-party catalog installer/runtime path described in the repository architecture docs.
34
- Production deployments should still use managed signing keys and hosted catalog infrastructure rather than the development sample signer generated in checkpoint tooling.
56
+ - `docs/reference/packages/mdwrk-extension-runtime.md`
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const EXTENSION_RUNTIME_VERSION: "1.0.0";
1
+ export declare const EXTENSION_RUNTIME_VERSION: "1.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const EXTENSION_RUNTIME_VERSION = "1.0.0";
1
+ export const EXTENSION_RUNTIME_VERSION = "1.1.0";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdwrk/extension-runtime",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@mdwrk/extension-host": "^1.0.1",
27
27
  "@mdwrk/extension-manifest": "^1.0.0",
28
- "@mdwrk/theme-contract": "^1.0.0"
28
+ "@mdwrk/theme-contract": "^1.1.0"
29
29
  },
30
30
  "devDependencies": {},
31
31
  "scripts": {