@cyber-dash-tech/revela 0.17.11 → 0.17.12
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
CHANGED
|
@@ -34,7 +34,7 @@ To install globally, add the same entry to `~/.config/opencode/opencode.json`.
|
|
|
34
34
|
Requirements:
|
|
35
35
|
|
|
36
36
|
- The Codex CLI must be installed and the `codex` command must be available in your shell.
|
|
37
|
-
- Your environment must be able to run `npx`; Revela uses `npx -y @cyber-dash-tech/revela@0.17.
|
|
37
|
+
- Your environment must be able to run `npx`; Revela uses `npx -y @cyber-dash-tech/revela@0.17.12 mcp` to start the MCP server.
|
|
38
38
|
- For interactive Review actions, `codex exec` must also work because the Review UI uses it for Insight and Comment/Apply Fix requests.
|
|
39
39
|
|
|
40
40
|
Optional preflight:
|
|
@@ -48,11 +48,11 @@ npx --version
|
|
|
48
48
|
Install Revela through the Codex Git marketplace:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref v0.17.
|
|
51
|
+
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref v0.17.12
|
|
52
52
|
codex plugin add revela@revela
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
The Git marketplace install provides the Codex plugin shell, skills, hooks, and MCP configuration. When Codex starts the Revela MCP server for the first time, it runs `npx -y @cyber-dash-tech/revela@0.17.
|
|
55
|
+
The Git marketplace install provides the Codex plugin shell, skills, hooks, and MCP configuration. When Codex starts the Revela MCP server for the first time, it runs `npx -y @cyber-dash-tech/revela@0.17.12 mcp` so npm can fetch the published package and its dependencies.
|
|
56
56
|
|
|
57
57
|
You do not need to run `bun install` inside the Codex marketplace clone.
|
|
58
58
|
|
package/README.zh-CN.md
CHANGED
|
@@ -34,7 +34,7 @@ Revela 可在 [OpenCode](https://opencode.ai) 和 Codex 中使用,把来源材
|
|
|
34
34
|
环境要求:
|
|
35
35
|
|
|
36
36
|
- 需要已安装 Codex CLI,并且 shell 中可以执行 `codex`。
|
|
37
|
-
- 环境中需要可以执行 `npx`;Revela 会用 `npx -y @cyber-dash-tech/revela@0.17.
|
|
37
|
+
- 环境中需要可以执行 `npx`;Revela 会用 `npx -y @cyber-dash-tech/revela@0.17.12 mcp` 启动 MCP server。
|
|
38
38
|
- 如果使用 Review UI 的 Insight、Comment 或 Apply Fix,需要 `codex exec` 可用。
|
|
39
39
|
|
|
40
40
|
可选的安装前检查:
|
|
@@ -48,11 +48,11 @@ npx --version
|
|
|
48
48
|
通过 Codex Git marketplace 安装 Revela:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref v0.17.
|
|
51
|
+
codex plugin marketplace add https://github.com/cyber-dash-tech/revela --ref v0.17.12
|
|
52
52
|
codex plugin add revela@revela
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Git marketplace 安装的是 Codex plugin 壳、skills、hooks 和 MCP 配置。Codex 第一次启动 Revela MCP server 时,会运行 `npx -y @cyber-dash-tech/revela@0.17.
|
|
55
|
+
Git marketplace 安装的是 Codex plugin 壳、skills、hooks 和 MCP 配置。Codex 第一次启动 Revela MCP server 时,会运行 `npx -y @cyber-dash-tech/revela@0.17.12 mcp`,由 npm 获取已发布 package 及其 dependencies。
|
|
56
56
|
|
|
57
57
|
不需要在 Codex marketplace clone 里运行 `bun install`。
|
|
58
58
|
|
|
@@ -34,6 +34,7 @@ export type CodexExecRunner = (input: {
|
|
|
34
34
|
workspaceRoot: string
|
|
35
35
|
timeoutMs: number
|
|
36
36
|
sandboxMode: "read-only" | "workspace-write"
|
|
37
|
+
skipGitRepoCheck: boolean
|
|
37
38
|
}) => Promise<CodexExecRunResult>
|
|
38
39
|
|
|
39
40
|
export function createOpenCodeReviewPromptBridge(client: any, sessionID: string): ReviewPromptBridge {
|
|
@@ -74,6 +75,7 @@ export function createCodexExecReviewPromptBridge(options: {
|
|
|
74
75
|
workspaceRoot: input.workspaceRoot,
|
|
75
76
|
timeoutMs: input.timeoutMs ?? timeoutMs,
|
|
76
77
|
sandboxMode,
|
|
78
|
+
skipGitRepoCheck: true,
|
|
77
79
|
})
|
|
78
80
|
const raw = [output.stdout, output.stderr].filter(Boolean).join("\n")
|
|
79
81
|
if (output.exitCode !== 0) {
|
|
@@ -113,9 +115,13 @@ async function runCodexExec(input: {
|
|
|
113
115
|
workspaceRoot: string
|
|
114
116
|
timeoutMs: number
|
|
115
117
|
sandboxMode: "read-only" | "workspace-write"
|
|
118
|
+
skipGitRepoCheck: boolean
|
|
116
119
|
}): Promise<CodexExecRunResult> {
|
|
117
120
|
return new Promise((resolve) => {
|
|
118
|
-
const
|
|
121
|
+
const args = ["exec", "--json", "--ephemeral"]
|
|
122
|
+
if (input.skipGitRepoCheck) args.push("--skip-git-repo-check")
|
|
123
|
+
args.push("--sandbox", input.sandboxMode, "-C", input.workspaceRoot, input.prompt)
|
|
124
|
+
const child = spawn("codex", args, {
|
|
119
125
|
stdio: ["ignore", "pipe", "pipe"],
|
|
120
126
|
})
|
|
121
127
|
let stdout = ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "revela",
|
|
3
|
-
"version": "0.1.0+codex.
|
|
3
|
+
"version": "0.1.0+codex.20260524164007",
|
|
4
4
|
"description": "Use Revela in Codex to build trusted, traceable narrative decision artifacts from local sources and research.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "cyber-dash-tech",
|