@softize/opus 8.9.0 → 8.9.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/CHANGELOG.md +7 -0
- package/bin/lib/materialize.mjs +7 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,13 @@ Depois de qualquer bump, rode os gates (`typecheck` · `test` · `opus check` ·
|
|
|
11
11
|
> tinha ficado sem registro nenhum, o que é exatamente o caso que este arquivo existe
|
|
12
12
|
> pra cobrir.
|
|
13
13
|
|
|
14
|
+
## 8.9.1 — 2026-08-04
|
|
15
|
+
|
|
16
|
+
**A migração deixa de esconder o hook Opus no Git.** `opus setup` agora remove também a
|
|
17
|
+
exclusão local legada e específica de `.claude/hooks/opus-check-on-stop.mjs`, preservando
|
|
18
|
+
as preferências realmente locais. Isso fecha o caso em que o check passava na máquina que
|
|
19
|
+
já tinha o hook, mas o arquivo não entrava no commit para um clone novo.
|
|
20
|
+
|
|
14
21
|
## 8.9.0 — 2026-08-04
|
|
15
22
|
|
|
16
23
|
**O Opus passa a materializar e versionar suas próprias skills e garantias.** `opus setup`
|
package/bin/lib/materialize.mjs
CHANGED
|
@@ -242,7 +242,13 @@ function configureGit(root, mode, errors, changes) {
|
|
|
242
242
|
const absolute = resolve(root, excludePath)
|
|
243
243
|
if (existsSync(absolute)) {
|
|
244
244
|
const current = readFileSync(absolute, 'utf8')
|
|
245
|
-
const forbidden = new Set([
|
|
245
|
+
const forbidden = new Set([
|
|
246
|
+
'.claude/',
|
|
247
|
+
'.claude/skills/',
|
|
248
|
+
'.claude/hooks/opus-check-on-stop.mjs',
|
|
249
|
+
'.agents/',
|
|
250
|
+
'.agents/skills/',
|
|
251
|
+
])
|
|
246
252
|
const lines = current.split(/\r?\n/)
|
|
247
253
|
const blocked = lines.filter((line) => forbidden.has(line.trim()))
|
|
248
254
|
if (blocked.length > 0 && mode === 'check') errors.push(`git info/exclude oculta artefatos de agentes: ${blocked.join(', ')}.`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softize/opus",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.1",
|
|
4
4
|
"description": "End-to-end action protocol for TypeScript. Single package with subpath exports (core + adapters).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"access": "public"
|
|
187
187
|
},
|
|
188
188
|
"bin": {
|
|
189
|
-
"opus": "
|
|
189
|
+
"opus": "bin/cli.mjs"
|
|
190
190
|
},
|
|
191
191
|
"dependencies": {
|
|
192
192
|
"@modelcontextprotocol/sdk": "^1.29.0",
|