@agenticmail/claudecode 0.2.12 → 0.2.13
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.
|
@@ -52,9 +52,9 @@ function selectExposableAgents(accounts, cfg) {
|
|
|
52
52
|
if (a.role === "bridge") return false;
|
|
53
53
|
const meta = a.metadata;
|
|
54
54
|
if (meta && meta.bridge === true) return false;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
const host = meta && typeof meta.host === "string" ? meta.host.trim() : "";
|
|
56
|
+
if (!host) return false;
|
|
57
|
+
if (host.toLowerCase() !== ownHost) return false;
|
|
58
58
|
return true;
|
|
59
59
|
});
|
|
60
60
|
}
|
package/dist/cli.js
CHANGED
package/dist/http-routes.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createIntegrationRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AXZGWR4M.js";
|
|
4
4
|
import "./chunk-XI7P3WSC.js";
|
|
5
5
|
import "./chunk-GMYSDT2Y.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-F33EJZII.js";
|
|
7
7
|
import "./chunk-LO5EQSQA.js";
|
|
8
8
|
import "./chunk-US5FT2UB.js";
|
|
9
9
|
import "./chunk-UI556UPF.js";
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-VAEQFJDW.js";
|
|
10
10
|
import {
|
|
11
11
|
createIntegrationRoutes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AXZGWR4M.js";
|
|
13
13
|
import {
|
|
14
14
|
status
|
|
15
15
|
} from "./chunk-XI7P3WSC.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-GMYSDT2Y.js";
|
|
19
19
|
import {
|
|
20
20
|
install
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F33EJZII.js";
|
|
22
22
|
import "./chunk-LO5EQSQA.js";
|
|
23
23
|
import "./chunk-US5FT2UB.js";
|
|
24
24
|
import {
|
package/dist/install.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ import { R as ResolveConfigOptions, I as InstallResult, A as AgenticMailAccount,
|
|
|
30
30
|
/**
|
|
31
31
|
* Decide which AgenticMail agents to surface as Claude Code subagents.
|
|
32
32
|
*
|
|
33
|
+
* Strict ownership: an account is exposed ONLY if `metadata.host` equals
|
|
34
|
+
* this host's bridge name. The host's roster is its own — never inherited.
|
|
35
|
+
*
|
|
33
36
|
* Filters out:
|
|
34
37
|
* - the bridge agent itself (Claude Code's own identity — calling yourself
|
|
35
38
|
* is silly and would also create a duplicate-name collision in the
|
|
@@ -38,11 +41,12 @@ import { R as ResolveConfigOptions, I as InstallResult, A as AgenticMailAccount,
|
|
|
38
41
|
* - any account flagged `metadata.bridge === true` (legacy marker from
|
|
39
42
|
* pre-0.9.3 installs where the 'bridge' role didn't exist yet)
|
|
40
43
|
* - any account owned by a DIFFERENT host (`metadata.host` set and not
|
|
41
|
-
* matching this host's bridge name)
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* matching this host's bridge name)
|
|
45
|
+
* - any UNCLAIMED account (no `metadata.host` value at all). Pre-0.9.20
|
|
46
|
+
* accounts that predate auto-tagging are unclaimed by default; the
|
|
47
|
+
* user must run `agenticmail-<host> claim <name>` (or `claim --all`)
|
|
48
|
+
* to transfer them. This keeps a fresh `agenticmail-codex install`
|
|
49
|
+
* from inheriting an already-running Claude Code roster.
|
|
46
50
|
*/
|
|
47
51
|
declare function selectExposableAgents(accounts: AgenticMailAccount[], cfg: ClaudeCodeIntegrationConfig): AgenticMailAccount[];
|
|
48
52
|
/**
|
package/dist/install.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticmail/claudecode",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
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",
|