Skip to content

Commit 5486442

Browse files
authored
Merge pull request #10 from Octane0411/fix/issue-9-openspec-release
fix: allow openspec CLI for openspec-plan
2 parents f4d0b35 + 9e9e99b commit 5486442

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-plugin-openspec",
3-
"version": "0.1.2",
3+
"version": "0.1.4",
44
"description": "An OpenCode plugin that integrates OpenSpec, providing a dedicated agent for planning and specifying software architecture.",
55
"type": "module",
66
"main": "dist/index.js",

src/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export function createConfigHook(ctx: { directory: string }): Hooks["config"] {
6262
// --- Bash: deny all by default, allow read-only filesystem + git read ---
6363
bash: {
6464
"*": "deny",
65+
"openspec": "allow",
66+
"openspec *": "allow",
6567
"grep *": "allow",
6668
"ls": "allow",
6769
"ls *": "allow",

0 commit comments

Comments
 (0)