@raysonmeng/agentbridge 0.1.30 → 0.1.31
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/.claude-plugin/marketplace.json +1 -1
- package/README.md +51 -28
- package/README.zh-CN.md +60 -37
- package/dist/cli.js +2914 -138
- package/dist/daemon.js +1692 -271
- package/package.json +1 -1
- package/plugins/agentbridge/.claude-plugin/plugin.json +1 -1
- package/plugins/agentbridge/hooks/hooks.json +12 -1
- package/plugins/agentbridge/scripts/publish-completion.sh +34 -0
- package/plugins/agentbridge/server/bridge-server.js +208 -12
- package/plugins/agentbridge/server/daemon.js +1692 -271
- package/scripts/install-safety.cjs +2 -1
- package/scripts/postinstall.cjs +1 -1
|
@@ -24,6 +24,7 @@ const REQUIRED_ARTIFACTS = Object.freeze([
|
|
|
24
24
|
"plugins/agentbridge/hooks/hooks.json",
|
|
25
25
|
"plugins/agentbridge/scripts/health-check.sh",
|
|
26
26
|
"plugins/agentbridge/scripts/plugin-update-notice.mjs",
|
|
27
|
+
"plugins/agentbridge/scripts/publish-completion.sh",
|
|
27
28
|
"plugins/agentbridge/server/bridge-server.js",
|
|
28
29
|
"plugins/agentbridge/server/daemon.js",
|
|
29
30
|
"package.json",
|
|
@@ -119,7 +120,7 @@ function verifyBuiltArtifacts() {
|
|
|
119
120
|
}
|
|
120
121
|
const stat = statSync(absolute);
|
|
121
122
|
if (stat.size <= 0) empty.push(rel);
|
|
122
|
-
if (binTargets.has(rel) && (stat.mode & 0o111) === 0) {
|
|
123
|
+
if (process.platform !== "win32" && binTargets.has(rel) && (stat.mode & 0o111) === 0) {
|
|
123
124
|
notExecutable.push(rel);
|
|
124
125
|
}
|
|
125
126
|
}
|
package/scripts/postinstall.cjs
CHANGED
|
@@ -81,7 +81,7 @@ function runPostinstall() {
|
|
|
81
81
|
console.warn(`\x1b[33m⚠\x1b[0m AgentBridge: \`bun --version\` timed out — run \`abg init\` after the install completes.`);
|
|
82
82
|
} else {
|
|
83
83
|
console.warn(`
|
|
84
|
-
\x1b[33m⚠ AgentBridge requires Bun (v1.
|
|
84
|
+
\x1b[33m⚠ AgentBridge requires Bun (v1.3.11+) as its runtime.\x1b[0m
|
|
85
85
|
|
|
86
86
|
The CLI was installed, but it won't work without Bun.
|
|
87
87
|
Install Bun with:
|