@notus-os/mcp 0.1.12 → 0.1.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.
- package/dist/bin/notusos-mcp.js +37 -3
- package/package.json +1 -1
package/dist/bin/notusos-mcp.js
CHANGED
|
@@ -39217,12 +39217,14 @@ __export(analytics_deep_exports, {
|
|
|
39217
39217
|
get_icp_post_engagement: () => get_icp_post_engagement,
|
|
39218
39218
|
get_linkedin_analytics: () => get_linkedin_analytics,
|
|
39219
39219
|
get_mip_history: () => get_mip_history,
|
|
39220
|
+
list_gojiberry_campaigns: () => list_gojiberry_campaigns,
|
|
39220
39221
|
reset_mip: () => reset_mip,
|
|
39221
39222
|
run_mip_analysis: () => run_mip_analysis,
|
|
39223
|
+
set_gojiberry_campaign: () => set_gojiberry_campaign,
|
|
39222
39224
|
sync_icp_contacts: () => sync_icp_contacts,
|
|
39223
39225
|
sync_icp_contacts_all: () => sync_icp_contacts_all
|
|
39224
39226
|
});
|
|
39225
|
-
var getAnalyticsDeepDiveSchema, get_analytics_deep_dive, getLinkedinAnalyticsSchema, get_linkedin_analytics, getMipHistorySchema, get_mip_history, runMipAnalysisSchema, run_mip_analysis, resetMipSchema, reset_mip, getIcpContactsSchema, get_icp_contacts, syncIcpContactsSchema, sync_icp_contacts, syncIcpContactsAllSchema, sync_icp_contacts_all, getIcpPostSchema, get_icp_post_engagement;
|
|
39227
|
+
var getAnalyticsDeepDiveSchema, get_analytics_deep_dive, getLinkedinAnalyticsSchema, get_linkedin_analytics, getMipHistorySchema, get_mip_history, runMipAnalysisSchema, run_mip_analysis, resetMipSchema, reset_mip, getIcpContactsSchema, get_icp_contacts, syncIcpContactsSchema, sync_icp_contacts, syncIcpContactsAllSchema, sync_icp_contacts_all, listGojiberryCampaignsSchema, list_gojiberry_campaigns, setGojiberryCampaignSchema, set_gojiberry_campaign, getIcpPostSchema, get_icp_post_engagement;
|
|
39226
39228
|
var init_analytics_deep = __esm({
|
|
39227
39229
|
"src/tools/analytics-deep.ts"() {
|
|
39228
39230
|
"use strict";
|
|
@@ -39371,6 +39373,36 @@ var init_analytics_deep = __esm({
|
|
|
39371
39373
|
return ctx.api.post("/api/analytics/gojiberry-backfill-all", {});
|
|
39372
39374
|
}
|
|
39373
39375
|
};
|
|
39376
|
+
listGojiberryCampaignsSchema = external_exports.object({
|
|
39377
|
+
...clientTarget
|
|
39378
|
+
});
|
|
39379
|
+
list_gojiberry_campaigns = {
|
|
39380
|
+
name: "list_gojiberry_campaigns",
|
|
39381
|
+
description: "List the Goji-berry campaigns (\"lists\") available for a client's API key. Returns { lists: [{ id, name, contactCount, createdAt }], selectedListId, apiKeySet, error? }. Use this before `set_gojiberry_campaign` to discover the listId. If `apiKeySet` is false, the profile has no Gojiberry API key \u2014 fix that in /settings/slack first; this tool can't.",
|
|
39382
|
+
inputSchema: listGojiberryCampaignsSchema,
|
|
39383
|
+
handler: async (args, ctx) => {
|
|
39384
|
+
const { clientUserId, clientOrganizationId, appMode } = args;
|
|
39385
|
+
return ctx.api.get("/api/analytics/gojiberry-lists", {
|
|
39386
|
+
clientContext: toClientContext({ clientUserId, clientOrganizationId, appMode })
|
|
39387
|
+
});
|
|
39388
|
+
}
|
|
39389
|
+
};
|
|
39390
|
+
setGojiberryCampaignSchema = external_exports.object({
|
|
39391
|
+
...clientTarget,
|
|
39392
|
+
campaignId: external_exports.string().min(1)
|
|
39393
|
+
});
|
|
39394
|
+
set_gojiberry_campaign = {
|
|
39395
|
+
name: "set_gojiberry_campaign",
|
|
39396
|
+
description: "Set the active Goji-berry campaign (listId) for a client by writing to profiles.gojiberry_agent_id. Pair with `list_gojiberry_campaigns` to look up the right id. After setting, call `sync_icp_contacts` to backfill that campaign's history into the gojiberry_icp_contacts table.",
|
|
39397
|
+
inputSchema: setGojiberryCampaignSchema,
|
|
39398
|
+
handler: async (args, ctx) => {
|
|
39399
|
+
const { clientUserId, clientOrganizationId, appMode, campaignId } = args;
|
|
39400
|
+
return ctx.api.patch("/api/analytics/client-settings", {
|
|
39401
|
+
body: { settings: { gojiberry_agent_id: campaignId } },
|
|
39402
|
+
clientContext: toClientContext({ clientUserId, clientOrganizationId, appMode })
|
|
39403
|
+
});
|
|
39404
|
+
}
|
|
39405
|
+
};
|
|
39374
39406
|
getIcpPostSchema = external_exports.object({
|
|
39375
39407
|
...clientTarget,
|
|
39376
39408
|
postUrn: external_exports.string(),
|
|
@@ -39397,6 +39429,8 @@ var init_analytics_deep = __esm({
|
|
|
39397
39429
|
get_icp_contacts,
|
|
39398
39430
|
sync_icp_contacts,
|
|
39399
39431
|
sync_icp_contacts_all,
|
|
39432
|
+
list_gojiberry_campaigns,
|
|
39433
|
+
set_gojiberry_campaign,
|
|
39400
39434
|
get_icp_post_engagement
|
|
39401
39435
|
);
|
|
39402
39436
|
}
|
|
@@ -40152,7 +40186,7 @@ var init_server3 = __esm({
|
|
|
40152
40186
|
init_tools();
|
|
40153
40187
|
init_logger();
|
|
40154
40188
|
SERVER_NAME = "notusos-mcp";
|
|
40155
|
-
SERVER_VERSION = true ? "0.1.
|
|
40189
|
+
SERVER_VERSION = true ? "0.1.13" : "dev";
|
|
40156
40190
|
}
|
|
40157
40191
|
});
|
|
40158
40192
|
|
|
@@ -40173,7 +40207,7 @@ function loadConfig(env = process.env) {
|
|
|
40173
40207
|
// bin/notusos-mcp.ts
|
|
40174
40208
|
init_token_store();
|
|
40175
40209
|
init_logger();
|
|
40176
|
-
var MCP_VERSION = true ? "0.1.
|
|
40210
|
+
var MCP_VERSION = true ? "0.1.13" : "dev";
|
|
40177
40211
|
async function main() {
|
|
40178
40212
|
const [, , sub] = process.argv;
|
|
40179
40213
|
const config2 = loadConfig();
|