oh-my-opencode 3.0.0-beta.4 → 3.0.0-beta.5
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/dist/cli/index.js +1 -1
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2657,7 +2657,7 @@ var require_napi = __commonJS((exports, module) => {
|
|
|
2657
2657
|
var require_package = __commonJS((exports, module) => {
|
|
2658
2658
|
module.exports = {
|
|
2659
2659
|
name: "oh-my-opencode",
|
|
2660
|
-
version: "3.0.0-beta.
|
|
2660
|
+
version: "3.0.0-beta.4",
|
|
2661
2661
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
2662
2662
|
main: "dist/index.js",
|
|
2663
2663
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -22705,7 +22705,6 @@ import { join as join45, resolve as resolve7, relative as relative4, isAbsolute
|
|
|
22705
22705
|
var HOOK_NAME4 = "prometheus-md-only";
|
|
22706
22706
|
var PROMETHEUS_AGENTS = ["Prometheus (Planner)"];
|
|
22707
22707
|
var ALLOWED_EXTENSIONS = [".md"];
|
|
22708
|
-
var ALLOWED_PATH_PREFIX = ".sisyphus";
|
|
22709
22708
|
var BLOCKED_TOOLS = ["Write", "Edit", "write", "edit"];
|
|
22710
22709
|
var PLANNING_CONSULT_WARNING = `
|
|
22711
22710
|
|
|
@@ -22735,8 +22734,7 @@ function isAllowedFile(filePath, workspaceRoot) {
|
|
|
22735
22734
|
if (rel.startsWith("..") || isAbsolute3(rel)) {
|
|
22736
22735
|
return false;
|
|
22737
22736
|
}
|
|
22738
|
-
|
|
22739
|
-
if (!segments[0] || segments[0].toLowerCase() !== ALLOWED_PATH_PREFIX.toLowerCase()) {
|
|
22737
|
+
if (!/\.sisyphus[/\\]/i.test(rel)) {
|
|
22740
22738
|
return false;
|
|
22741
22739
|
}
|
|
22742
22740
|
const hasAllowedExtension = ALLOWED_EXTENSIONS.some((ext) => resolved.toLowerCase().endsWith(ext.toLowerCase()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.5",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|