@toolu/opencode 6.8.0 → 6.8.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/LICENSE +21 -0
- package/README.md +40 -0
- package/package.json +1 -1
- package/plugins/agent-browser/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-browser/.codex-plugin/plugin.json +1 -1
- package/plugins/ast-grep/.claude-plugin/plugin.json +1 -1
- package/plugins/ast-grep/.codex-plugin/plugin.json +1 -1
- package/plugins/context7/.claude-plugin/plugin.json +1 -1
- package/plugins/context7/.codex-plugin/plugin.json +1 -1
- package/plugins/exa-search/.claude-plugin/plugin.json +1 -1
- package/plugins/exa-search/.codex-plugin/plugin.json +1 -1
- package/plugins/jev/.claude-plugin/plugin.json +1 -1
- package/plugins/jev/.codex-plugin/plugin.json +1 -1
- package/plugins/jira/.claude-plugin/plugin.json +1 -1
- package/plugins/jira/.codex-plugin/plugin.json +1 -1
- package/plugins/pr-babysit/.claude-plugin/plugin.json +1 -1
- package/plugins/pr-babysit/.codex-plugin/plugin.json +1 -1
- package/plugins/python-quality/.claude-plugin/plugin.json +1 -1
- package/plugins/python-quality/.codex-plugin/plugin.json +1 -1
- package/plugins/rust-quality/.claude-plugin/plugin.json +1 -1
- package/plugins/rust-quality/.codex-plugin/plugin.json +1 -1
- package/plugins/statusline/.claude-plugin/plugin.json +1 -1
- package/plugins/statusline/.codex-plugin/plugin.json +1 -1
- package/plugins/toolu/.claude-plugin/plugin.json +1 -1
- package/plugins/toolu/.codex-plugin/plugin.json +1 -1
- package/plugins/toolu-review/.claude-plugin/plugin.json +1 -1
- package/plugins/toolu-review/.codex-plugin/plugin.json +1 -1
- package/plugins/ts-quality/.claude-plugin/plugin.json +1 -1
- package/plugins/ts-quality/.codex-plugin/plugin.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Falconiere Barbosa
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @toolu/opencode
|
|
2
|
+
|
|
3
|
+
The [toolu](https://github.com/Falconiere/toolu) bridge for [OpenCode](https://opencode.ai) — it wires toolu's bash quality gates into OpenCode's `permission.evaluate`, so an edit that violates a gate is denied before bytes change.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
opencode plugin add @toolu/opencode
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then choose which toolu plugins are active, in your project:
|
|
12
|
+
|
|
13
|
+
```jsonc
|
|
14
|
+
// .opencode/toolu/plugins.json
|
|
15
|
+
{ "version": 1, "enabled": ["toolu"] }
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Restart OpenCode. That is the whole install — the package carries the bash `plugins/` tree, so there is no clone and no `TOOLU_REPO_ROOT` to export.
|
|
19
|
+
|
|
20
|
+
## What you get
|
|
21
|
+
|
|
22
|
+
The `toolu` plugin brings the core hook engine: protected-file blocking, bash command gating, and the post-edit quality checks. Adding `rust-quality`, `ts-quality` or `python-quality` to `enabled` turns on that language's post-edit rules — file and function size limits, banned escape hatches, colocated real-data tests.
|
|
23
|
+
|
|
24
|
+
Enforcement scope matches the fixture evidence in [#212](https://github.com/Falconiere/toolu/issues/212); it is not yet the full Claude Code and Codex hook surface.
|
|
25
|
+
|
|
26
|
+
## Requirements
|
|
27
|
+
|
|
28
|
+
- OpenCode `v2.0.12`
|
|
29
|
+
- Bash ≥ 5 and `jq`, for the assembled hooks
|
|
30
|
+
- macOS or Linux. Windows is not supported.
|
|
31
|
+
|
|
32
|
+
Per-gate tools (rustfmt, oxlint, ruff, …) are whatever the plugins you enable require.
|
|
33
|
+
|
|
34
|
+
## Overriding the plugin root
|
|
35
|
+
|
|
36
|
+
The bundled tree is used by default. To run against a checkout instead — when working on toolu itself — set `TOOLU_REPO_ROOT` to the clone, or pass `repoRoot` as a plugin option. Both take precedence over the bundled copy.
|
|
37
|
+
|
|
38
|
+
Full documentation: **[docs/opencode.md](https://github.com/Falconiere/toolu/blob/main/docs/opencode.md)**
|
|
39
|
+
|
|
40
|
+
MIT © Falconiere Barbosa
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-browser",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Efficient, token-lean browser automation for agents via agent-browser (skill + CLI wrapper) — accessibility-tree snapshots with @eN refs instead of HTML/screenshots. Standalone, no dependencies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-browser",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Efficient, token-lean browser automation for agents via agent-browser (skill + CLI wrapper) — accessibility-tree snapshots with @eN refs instead of HTML/screenshots. Standalone, no dependencies.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ast-grep",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ast-grep",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jev",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Typed judgments from TypeSafe's Jev model at runtime (skill + REST wrapper) — yes/no probabilities, choices, and scores a script can branch on. Standalone, no dependencies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jev",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Typed judgments from TypeSafe's Jev model at runtime (skill + REST wrapper) — yes/no probabilities, choices, and scores a script can branch on. Standalone, no dependencies.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jira",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Jira issue search and workflow from the session via a REST wrapper (skill + bash). Cloud + Server/DC, read and safe writes. Standalone, no dependencies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jira",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Jira issue search and workflow from the session via a REST wrapper (skill + bash). Cloud + Server/DC, read and safe writes. Standalone, no dependencies.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pr-babysit",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Babysit a PR until review threads, the review-bot verdict, and CI are clear, using Claude cron or a durable Codex goal with isolated worktrees.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pr-babysit",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Babysit a PR until review threads, the review-bot verdict, and CI are clear, using Claude cron or a durable Codex goal with isolated worktrees.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "statusline",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Host-native project status: a persistent Claude Code statusline plus an explicit Codex status skill for repository, gate, git, comemory, and Jev readiness. Standalone, no dependencies.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "statusline",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Host-native project status: a persistent Claude Code statusline plus an explicit Codex status skill for repository, gate, git, comemory, and Jev readiness. Standalone, no dependencies.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolu",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Dual-host engineering discipline for Claude Code and Codex: workflow skills, agents, commands, and registry-driven quality hooks.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolu-review",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Project-tuned pre-push code review mirroring CI falconiere/toolu-ghactions/code-review@v8 (Jev-enabled), writing the toolu push-review state so the gate passes. Standalone.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Falconiere Barbosa",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolu-review",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Project-tuned pre-push code review mirroring CI falconiere/toolu-ghactions/code-review@v8 (Jev-enabled), writing the toolu push-review state so the gate passes. Standalone.",
|
|
5
5
|
"skills": "./skills/",
|
|
6
6
|
"hooks": "./hooks/hooks.json"
|