@plurnk/plurnk-execs 0.4.7 → 0.4.9
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 +17 -3
- package/SPEC.md +4 -2
- package/dist/BaseExecutor.d.ts +4 -1
- package/dist/BaseExecutor.d.ts.map +1 -1
- package/dist/BaseExecutor.js +22 -0
- package/dist/BaseExecutor.js.map +1 -1
- package/dist/discover.d.ts.map +1 -1
- package/dist/discover.js +7 -5
- package/dist/discover.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Framework + contract for `@plurnk/plurnk-execs-*` runtime executor packages. Con
|
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
- [`SPEC.md`](./SPEC.md) — the authoritative author-facing contract. This README is the orientation.
|
|
7
|
+
- [`SPEC.md`](./SPEC.md) — the authoritative author-facing contract. This README is the orientation and the how-to.
|
|
8
8
|
- Constellation: [plurnk-grammar](https://github.com/plurnk/plurnk-grammar) (EXEC AST), [plurnk-providers](https://github.com/plurnk/plurnk-providers), [plurnk-schemes](https://github.com/plurnk/plurnk-schemes), [plurnk-mimetypes](https://github.com/plurnk/plurnk-mimetypes) (the reference family this one mirrors).
|
|
9
9
|
|
|
10
10
|
## Write an executor
|
|
@@ -18,13 +18,18 @@ Ship an executor by publishing a package — **under any scope** (`@acme/whateve
|
|
|
18
18
|
"plurnk": {
|
|
19
19
|
"kind": "exec",
|
|
20
20
|
"runtimes": [
|
|
21
|
-
{
|
|
21
|
+
{
|
|
22
|
+
"name": "cobol",
|
|
23
|
+
"glyph": "🗄",
|
|
24
|
+
"example": "EXEC[cobol]:DISPLAY 'HI'.:EXEC",
|
|
25
|
+
"documentation": "# cobol\n\nGnuCOBOL `cobc -xj`. Fixed-format source; the body is one program…"
|
|
26
|
+
}
|
|
22
27
|
]
|
|
23
28
|
}
|
|
24
29
|
}
|
|
25
30
|
```
|
|
26
31
|
|
|
27
|
-
One package may claim many tags (the search sibling claims `search`/`news`/`images`/…); each `runtimes[]` entry registers independently. `glyph` is display;
|
|
32
|
+
One package may claim many tags (the search sibling claims `search`/`news`/`images`/…); each `runtimes[]` entry registers independently. `glyph` is display; `example` and `documentation` are how the tag tells the model what it is — see [How the model sees your tag](#how-the-model-sees-your-tag).
|
|
28
33
|
|
|
29
34
|
### 2. Default-export a `BaseExecutor` subclass
|
|
30
35
|
|
|
@@ -41,6 +46,15 @@ The framework instantiates **one executor per tag**, injecting `{ runtime, glyph
|
|
|
41
46
|
|
|
42
47
|
`{ runtime, command, cwd, env, signal, write(channel, chunk), setState(channel, state), emit(event) }`. The executor gets sinks and honors `signal` — never the db, subscriptions, or wake machinery (those stay in the consumer). `cwd` is the parsed EXEC target; **`env`**, when the consumer scopes it, is exactly the environment a spawned child should see (the host's own secrets already dropped — never inherit `process.env` for model-run children yourself). Stay stateless across runs beyond your construction metadata.
|
|
43
48
|
|
|
49
|
+
### How the model sees your tag
|
|
50
|
+
|
|
51
|
+
Your tag documents itself to the model at two altitudes — you provide the content, the consumer decides how it reaches the model:
|
|
52
|
+
|
|
53
|
+
- **`example`** — one line, the always-on form. The model uses it to reach for a simple tag without reading anything more. Store it **bare** (`EXEC[tag]:…:EXEC`). Keep it to a single line — it's surfaced per available tag, so it's token-sensitive.
|
|
54
|
+
- **`documentation`** — full markdown, depth on demand. The flags, modes, and gotchas the one-liner can't carry (sqlite's `:memory:`-vs-file, jq's `$ENV`, git's tokenized argv). Optional — provide it for non-trivial tags; the consumer can still derive a baseline from the rest of your registry entry (example, channels, effect, availability) when you don't.
|
|
55
|
+
|
|
56
|
+
Declare the two and a third-party tag gets the same self-documenting surface the first-party tags do. **How** the consumer renders the one-liner and serves the docs on demand is plurnk-service's concern, not this contract's — execs owns the two fields, the consumer owns the wiring.
|
|
57
|
+
|
|
44
58
|
## Discovery & trust
|
|
45
59
|
|
|
46
60
|
`discover(options?)` scans **every installed package** under `<cwd>/node_modules` — scope-agnostic — for `plurnk.kind === "exec"`, returning `{ registry, skipped }`.
|
package/SPEC.md
CHANGED
|
@@ -103,17 +103,19 @@ The envelope is mirrored locally (`TelemetryEvent`, `ContentOffset`, `LogCoordin
|
|
|
103
103
|
"plurnk": {
|
|
104
104
|
"kind": "exec",
|
|
105
105
|
"runtimes": [
|
|
106
|
-
{ "name": "search", "glyph": "🔎", "example": "EXEC[search]:france population:EXEC" },
|
|
106
|
+
{ "name": "search", "glyph": "🔎", "example": "EXEC[search]:france population:EXEC", "documentation": "# search\n\n`!bang` / `:lang` ride the query…" },
|
|
107
107
|
{ "name": "news", "glyph": "📰" }
|
|
108
108
|
]
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
A package may claim multiple tags backed by one handler. Tags form a **flat global namespace**; `registry` maps tag → `{ runtime, glyph, example, packageName }`. Unlike plurnk-mimetypes (last-loaded wins), a tag **collision is fail-hard**: two packages claiming the same runtime is an unresolvable install ambiguity the operator must fix.
|
|
113
|
+
A package may claim multiple tags backed by one handler. Tags form a **flat global namespace**; `registry` maps tag → `{ runtime, glyph, example, documentation, packageName }`. Unlike plurnk-mimetypes (last-loaded wins), a tag **collision is fail-hard**: two packages claiming the same runtime is an unresolvable install ambiguity the operator must fix.
|
|
114
114
|
|
|
115
115
|
Each entry's optional **`example`** is a one-line, self-documenting usage example (`EXEC[tag]:body:EXEC`), surfaced verbatim by the consumer in its `# Plurnk System Tools` capability sheet so the model learns the tag's syntax + purpose in one line instead of a separate prose description (plurnk-execs#7). Defaults to `""` when omitted. Kept to a single line on purpose — the sheet is hot-path and token-sensitive; the generic `(target)` slot is documented once at the op level, not repeated per tag.
|
|
116
116
|
|
|
117
|
+
Each entry's optional **`documentation`** is full markdown — the flags, modes, and gotchas the one-liner can't carry. It is the depth a consumer can serve on demand, separate from the always-on `example` (progressive disclosure). Defaults to `""`. The execs contract is the two fields; **how** the consumer surfaces them to the model — an in-context one-liner, the full doc fetched when the model wants it — is the consumer's (plurnk-service's) concern, not specified here.
|
|
118
|
+
|
|
117
119
|
**Trust gate.** `discover()` honors the host's **`PLURNK_PLUGINS_TRUSTED_ONLY`** env var (plurnk-service#229) — the one posture decided once and enforced across every scope-agnostic discovery surface (schemes/mimetypes/providers/execs). Unset/`""`/`0` → off: every installed package registers (no regression). Any value → on: `@plurnk/*` is always trusted, plus a comma-separated allowlist of additionally-trusted package names (`1` = on with zero third-party). An untrusted package is **discovered but not registered** — never a crash — and returned in **`Discovery.skipped`** (package names) so the consumer can emit a telemetry note (`discover()` has no sink of its own). The policy mirrors plurnk-service's `PluginTrust.isTrusted`; it's duplicated, not shared, since it can't cross the package boundary.
|
|
118
120
|
|
|
119
121
|
Each runtime package's **default export** is its `BaseExecutor` subclass (also a named export — `export { default as Sh }` / `export { default }`); the consumer instantiates it per matched tag with the tag + glyph from the registry.
|
package/dist/BaseExecutor.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import type { SchemeHandler, SchemeManifest } from "@plurnk/plurnk-schemes";
|
|
1
2
|
import type { ChannelDecl, Effect, ExecArgs, ExecResult, ExecutorMetadata, RuntimeAvailability } from "./types.ts";
|
|
2
|
-
export default abstract class BaseExecutor {
|
|
3
|
+
export default abstract class BaseExecutor implements SchemeHandler {
|
|
3
4
|
readonly runtime: string;
|
|
4
5
|
readonly glyph: string;
|
|
5
6
|
constructor({ runtime, glyph }: ExecutorMetadata);
|
|
7
|
+
get manifest(): SchemeManifest;
|
|
8
|
+
get defaultChannel(): string;
|
|
6
9
|
abstract get channels(): Readonly<Record<string, ChannelDecl>>;
|
|
7
10
|
abstract run(args: ExecArgs): Promise<ExecResult>;
|
|
8
11
|
probe(): Promise<RuntimeAvailability>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseExecutor.d.ts","sourceRoot":"","sources":["../src/BaseExecutor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseExecutor.d.ts","sourceRoot":"","sources":["../src/BaseExecutor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAWnH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,YAAW,aAAa;IAC/D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;gBAEX,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,gBAAgB;IAahD,IAAI,QAAQ,IAAI,cAAc,CAS7B;IAID,IAAI,cAAc,IAAI,MAAM,CAE3B;IAOD,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;IAO/D,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IAY3C,KAAK,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAW3C,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;CAGzC"}
|
package/dist/BaseExecutor.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OutputScheme } from "@plurnk/plurnk-schemes";
|
|
1
2
|
// Base class for runtime executors (parallel to plurnk-mimetypes' BaseHandler).
|
|
2
3
|
// A `@plurnk/plurnk-execs-*` sibling subclasses this and implements `run()`.
|
|
3
4
|
// The framework instantiates one executor per matched runtime tag, injecting
|
|
@@ -14,6 +15,27 @@ export default class BaseExecutor {
|
|
|
14
15
|
this.runtime = runtime;
|
|
15
16
|
this.glyph = glyph;
|
|
16
17
|
}
|
|
18
|
+
// --- executor-is-a-scheme face (schemes#20 / service#240) ---------------
|
|
19
|
+
// The executor's output is addressed at `<tag>://<coord>` and READ back. Its
|
|
20
|
+
// scheme manifest is DERIVED from the runtime declaration — no separate
|
|
21
|
+
// authoring — via schemes' `manifestFromRuntime`. The default READ over that
|
|
22
|
+
// output (slice/match) is the consumer's: `DefaultRead` is a pure resolver
|
|
23
|
+
// needing a Mimetypes instance the executor isn't handed, and the consumer
|
|
24
|
+
// holds the output store. Rich executors (MCP, sqlite) override `read`/`find`
|
|
25
|
+
// on the SchemeHandler face for custom semantics over their own output.
|
|
26
|
+
get manifest() {
|
|
27
|
+
return OutputScheme.manifestFromRuntime({
|
|
28
|
+
name: this.runtime,
|
|
29
|
+
glyph: this.glyph,
|
|
30
|
+
channels: Object.fromEntries(Object.entries(this.channels).map(([name, decl]) => [name, decl.mimetype])),
|
|
31
|
+
defaultChannel: this.defaultChannel,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
// The channel a bare `READ <tag>://<coord>` resolves to. Defaults to the
|
|
35
|
+
// first declared channel; subprocess runtimes override to `stdout`.
|
|
36
|
+
get defaultChannel() {
|
|
37
|
+
return Object.keys(this.channels)[0] ?? "";
|
|
38
|
+
}
|
|
17
39
|
// Whether this runtime's execution environment is usable in the current
|
|
18
40
|
// deployment. Default: available (pure / in-process runtimes — e.g. node,
|
|
19
41
|
// sqlite, where the daemon itself satisfies the dependency). Subclasses
|
package/dist/BaseExecutor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseExecutor.js","sourceRoot":"","sources":["../src/BaseExecutor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseExecutor.js","sourceRoot":"","sources":["../src/BaseExecutor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAItD,gFAAgF;AAChF,6EAA6E;AAC7E,6EAA6E;AAC7E,yEAAyE;AACzE,EAAE;AACF,2EAA2E;AAC3E,6EAA6E;AAC7E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AqE;IACrE,4EAA4E;IAC5E,iEAAiE;IACjE,MAAM,CAAC,OAAsB;QACzB,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
|
package/dist/discover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../src/discover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAY,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../src/discover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAY,MAAM,YAAY,CAAC;AA4BvE,wBAAsB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,SAAS,CAAC,CA0BhF"}
|
package/dist/discover.js
CHANGED
|
@@ -15,11 +15,12 @@ import path from "node:path";
|
|
|
15
15
|
//
|
|
16
16
|
// A package is recognized as an executor when its `package.json` declares
|
|
17
17
|
// `plurnk.kind === "exec"` and exposes one or more runtime tags via
|
|
18
|
-
// `plurnk.runtimes: { name, glyph?, example? }[]` (SPEC §3).
|
|
19
|
-
// registers its tag separately; one package can claim many tags
|
|
20
|
-
// same handler (e.g. the search sibling claims `search`, `news`,
|
|
21
|
-
// `example` is a one-line self-documenting usage example
|
|
22
|
-
//
|
|
18
|
+
// `plurnk.runtimes: { name, glyph?, example?, documentation? }[]` (SPEC §3).
|
|
19
|
+
// Each entry registers its tag separately; one package can claim many tags
|
|
20
|
+
// backed by the same handler (e.g. the search sibling claims `search`, `news`,
|
|
21
|
+
// `images`, …). `example` is a one-line self-documenting usage example
|
|
22
|
+
// (plurnk-execs#7); `documentation` is the fuller markdown a consumer can serve
|
|
23
|
+
// on demand. execs carries both; how they reach the model is the consumer's.
|
|
23
24
|
//
|
|
24
25
|
// Tags are a flat global namespace. Unlike plurnk-mimetypes (last-loaded
|
|
25
26
|
// wins), a tag collision here is a FAIL-HARD install error: two packages
|
|
@@ -140,6 +141,7 @@ async function readExecInfos(dir) {
|
|
|
140
141
|
runtime: e.name,
|
|
141
142
|
glyph: typeof e.glyph === "string" ? e.glyph : "",
|
|
142
143
|
example: typeof e.example === "string" ? e.example : "",
|
|
144
|
+
documentation: typeof e.documentation === "string" ? e.documentation : "",
|
|
143
145
|
packageName,
|
|
144
146
|
});
|
|
145
147
|
}
|
package/dist/discover.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../src/discover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,0EAA0E;AAC1E,4EAA4E;AAC5E,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,yEAAyE;AACzE,+BAA+B;AAC/B,EAAE;AACF,6EAA6E;AAC7E,gFAAgF;AAChF,yEAAyE;AACzE,oDAAoD;AACpD,EAAE;AACF,0EAA0E;AAC1E,oEAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../src/discover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,0EAA0E;AAC1E,4EAA4E;AAC5E,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,yEAAyE;AACzE,+BAA+B;AAC/B,EAAE;AACF,6EAA6E;AAC7E,gFAAgF;AAChF,yEAAyE;AACzE,oDAAoD;AACpD,EAAE;AACF,0EAA0E;AAC1E,oEAAoE;AACpE,6EAA6E;AAC7E,2EAA2E;AAC3E,+EAA+E;AAC/E,uEAAuE;AACvE,gFAAgF;AAChF,6EAA6E;AAC7E,EAAE;AACF,yEAAyE;AACzE,yEAAyE;AACzE,2EAA2E;AAC3E,iCAAiC;AACjC,MAAM,CAAC,KAAK,UAAU,QAAQ,CAA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C;CACvB;AAID,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAEzD,MAAM,WAAW,SAAS;IACtB,QAAQ,EAAE,YAAY,CAAC;IAKvB,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAG5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAGb,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAID,MAAM,WAAW,SAAS;IACtB,wFAAwF;IACxF,GAAG,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,mGAAmG;IACnG,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-execs",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "Framework + contract for the @plurnk/plurnk-execs-* runtime executor family.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^25.8.0",
|
|
50
|
-
"typescript": "^6.0.3"
|
|
50
|
+
"typescript": "^6.0.3",
|
|
51
|
+
"@plurnk/plurnk-schemes": "^0.18.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@plurnk/plurnk-schemes": "^0.18.0"
|
|
51
55
|
}
|
|
52
56
|
}
|