@plurnk/plurnk-execs 1.8.0 → 1.9.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 +9 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ tag independently. A name uses lowercase URI-scheme syntax
|
|
|
52
52
|
`[a-z][a-z0-9+.-]*`; `only` is reserved by runtime policy. `summary` is the
|
|
53
53
|
one-line capability description. `invocation` defines the body and optional
|
|
54
54
|
target buckets plus one canonical example used for dispatch enforcement and the
|
|
55
|
-
generated `worker
|
|
55
|
+
generated `worker://~/_plurnk/tools/` document. A `docs/<tag>.md` file supplies
|
|
56
56
|
supplemental detail. See {§executor-runtime-declaration}.
|
|
57
57
|
|
|
58
58
|
### Implement the executor
|
package/SPEC.md
CHANGED
|
@@ -68,6 +68,15 @@ interface ExecArgs {
|
|
|
68
68
|
): Promise<string>;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
`ExecArgs` deliberately carries **no Worker identity**: an executor is a
|
|
72
|
+
worker-agnostic capability, and `run` may assume nothing about which Worker,
|
|
73
|
+
Loop, or workspace invoked it beyond the arguments given. A runtime whose
|
|
74
|
+
behavior depends on a Worker — an attached MCP server, a Worker Functionality
|
|
75
|
+
manager — is published per Worker by its owning module, closing over that
|
|
76
|
+
identity at publication ({§functionality-model-projection} in the core
|
|
77
|
+
specification; the MCP host is the precedent). Consumers must not smuggle
|
|
78
|
+
identity through `env` or `body` conventions.
|
|
79
|
+
|
|
71
80
|
interface RuntimeAvailability {
|
|
72
81
|
available: boolean;
|
|
73
82
|
detail?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-execs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-execs-* runtime executor packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@plurnk/plurnk-contracts": "1.
|
|
55
|
-
"@plurnk/plurnk-meta": "1.
|
|
56
|
-
"@plurnk/plurnk-schemes": "1.
|
|
54
|
+
"@plurnk/plurnk-contracts": "1.9.0",
|
|
55
|
+
"@plurnk/plurnk-meta": "1.9.0",
|
|
56
|
+
"@plurnk/plurnk-schemes": "1.9.0"
|
|
57
57
|
}
|
|
58
58
|
}
|