@agenticmail/claudecode 0.1.15 → 0.1.16
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.
|
@@ -125,15 +125,21 @@ async function install(opts = {}) {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
function resolveDispatcherBinPath() {
|
|
128
|
-
|
|
129
|
-
const dir = thisFile.slice(0, thisFile.lastIndexOf("/"));
|
|
130
|
-
return `${dir}/dispatcher-bin.js`;
|
|
128
|
+
return resolveSiblingBin("dispatcher-bin.js");
|
|
131
129
|
}
|
|
132
130
|
function resolveMailHookCommand() {
|
|
131
|
+
return `node "${resolveSiblingBin("mail-hook.js")}"`;
|
|
132
|
+
}
|
|
133
|
+
function resolveSiblingBin(filename) {
|
|
133
134
|
const thisFile = fileURLToPath(import.meta.url);
|
|
134
135
|
const dir = thisFile.slice(0, thisFile.lastIndexOf("/"));
|
|
135
|
-
const
|
|
136
|
-
return
|
|
136
|
+
const sibling = `${dir}/${filename}`;
|
|
137
|
+
if (existsSync(sibling)) return sibling;
|
|
138
|
+
const distSibling = `${dir.replace(/\/src$/, "")}/dist/${filename}`;
|
|
139
|
+
if (existsSync(distSibling)) return distSibling;
|
|
140
|
+
const parentDist = `${dir}/../dist/${filename}`;
|
|
141
|
+
if (existsSync(parentDist)) return parentDist;
|
|
142
|
+
return sibling;
|
|
137
143
|
}
|
|
138
144
|
async function startDispatcherForInstall(cfg) {
|
|
139
145
|
const binPath = resolveDispatcherBinPath();
|
package/dist/cli.js
CHANGED
package/dist/http-routes.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createIntegrationRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PTLX7SQV.js";
|
|
4
4
|
import "./chunk-2GPBHK2M.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ZTSWLNUP.js";
|
|
6
6
|
import "./chunk-DKTAW2N5.js";
|
|
7
7
|
import "./chunk-O4H76K3B.js";
|
|
8
8
|
import "./chunk-US5FT2UB.js";
|
package/dist/index.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-RNKJRBEF.js";
|
|
5
5
|
import {
|
|
6
6
|
createIntegrationRoutes
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PTLX7SQV.js";
|
|
8
8
|
import {
|
|
9
9
|
uninstall
|
|
10
10
|
} from "./chunk-2GPBHK2M.js";
|
|
11
11
|
import {
|
|
12
12
|
install
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZTSWLNUP.js";
|
|
14
14
|
import "./chunk-DKTAW2N5.js";
|
|
15
15
|
import {
|
|
16
16
|
status
|
package/dist/install.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticmail/claudecode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Claude Code integration for AgenticMail — surfaces every AgenticMail agent as a native Claude Code subagent so any Claude Code session can delegate to them with the Agent tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|