@plurnk/plurnk-execs-jq 1.17.0 → 1.19.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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @plurnk/plurnk-execs-jq
|
|
2
2
|
|
|
3
|
-
`jq` runtime executor for [plurnk-service](https://github.com/plurnk/plurnk-service)'s `exec` scheme. Drives
|
|
3
|
+
`jq` runtime executor for [plurnk-service](https://github.com/plurnk/plurnk-service)'s `exec` scheme. Drives `jq` by shelling the system `jq` binary to filter/transform JSON — no third-party JSON-filter library.
|
|
4
4
|
|
|
5
5
|
A `@plurnk/plurnk-execs-*` sibling built on the [plurnk-execs](https://github.com/plurnk/plurnk-service/tree/main/plurnk-execs) framework.
|
|
6
6
|
|
|
@@ -12,11 +12,11 @@ is self-contained.
|
|
|
12
12
|
|
|
13
13
|
| Heading / body | Runs | Purpose |
|
|
14
14
|
| --------------------------------------------------------------------- | --------------------------------- | ---------------------------------- |
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
15
|
+
| `jq`<br>`{"a":1}` | `jq -n '{"a":1}'` | Construct or validate inline JSON. |
|
|
16
|
+
| `jq`<br>`[1,2,3] \| add` | `jq -n '[1,2,3] \| add'` | Compute without input. |
|
|
17
|
+
| `jq (data.json)`<br>`.users[].name` | `jq '.users[].name' data.json` | Filter a file. |
|
|
18
|
+
| `jq (data.json)` | `jq '.' data.json` | Apply identity to a file. |
|
|
19
|
+
| `jq (sqlite:///a3b7c921#results)`<br>`.[] \| .name` | Consumer materializes the target. | Filter a prior runtime's output. |
|
|
20
20
|
|
|
21
21
|
Output streams to `#results` as `application/jsonl`: one compact JSON value per
|
|
22
22
|
line ({§executor-output-address}).
|
|
@@ -25,7 +25,7 @@ line ({§executor-output-address}).
|
|
|
25
25
|
|
|
26
26
|
- **`effect`** — inline/`-n` is `pure`; a target data source is `read`. Both
|
|
27
27
|
bypass the human proposal gate, then stream on the same next-turn path as
|
|
28
|
-
every
|
|
28
|
+
every execution ({§executor-effect}).
|
|
29
29
|
- **`probe`** — `jq` on PATH (`jq --version`).
|
|
30
30
|
- **Errors** return RFC 9457 Problems (`jq-error`, `spawn-failed`) in the
|
|
31
31
|
terminal operation result.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plurnk/plurnk-execs-jq",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "jq runtime executor for plurnk-service's exec scheme — shells the system jq binary to filter or transform JSON.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plurnk",
|
|
@@ -78,6 +78,6 @@
|
|
|
78
78
|
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@plurnk/plurnk-execs": "^1.
|
|
81
|
+
"@plurnk/plurnk-execs": "^1.19.0"
|
|
82
82
|
}
|
|
83
83
|
}
|