@anychat-ai/mcp 0.68.0 → 0.69.0
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/tools/personas.d.ts +10 -0
- package/dist/tools/personas.js +53 -12
- package/dist/tools/personas.js.map +1 -1
- package/package.json +1 -1
package/dist/tools/personas.d.ts
CHANGED
|
@@ -36,5 +36,15 @@ export declare const personaPreset: z.ZodObject<{
|
|
|
36
36
|
}>;
|
|
37
37
|
content: z.ZodString;
|
|
38
38
|
}, z.core.$strict>>>;
|
|
39
|
+
appointments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
|
+
startsIn: z.ZodString;
|
|
41
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
representativeId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
scheduled: "scheduled";
|
|
45
|
+
cancelled: "cancelled";
|
|
46
|
+
completed: "completed";
|
|
47
|
+
}>>;
|
|
48
|
+
}, z.core.$strict>>>;
|
|
39
49
|
}, z.core.$strict>;
|
|
40
50
|
export declare const personaTools: import("../tool").AnyTool[];
|
package/dist/tools/personas.js
CHANGED
|
@@ -5,9 +5,9 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const tool_1 = require("../tool");
|
|
6
6
|
/**
|
|
7
7
|
* Personas + the sandbox turn API — the "Personas" section of the API
|
|
8
|
-
* reference (agent-model-overview §5.2, §5.5). A persona is a
|
|
9
|
-
*
|
|
10
|
-
* conversations; the runtime treats it exactly as a Person, and every
|
|
8
|
+
* reference (agent-model-overview §5.2, §5.5). A persona is a Person
|
|
9
|
+
* record that lives in the sandbox, with a starting point (`preset`) and
|
|
10
|
+
* its own conversations; the runtime treats it exactly as a Person, and every
|
|
11
11
|
* turn against it is captured: reads are real, writes come back as
|
|
12
12
|
* `effects` instead of happening. This is the one door for talking to an
|
|
13
13
|
* agent headlessly — nothing done here reaches a real customer.
|
|
@@ -51,9 +51,26 @@ exports.personaPreset = zod_1.z
|
|
|
51
51
|
}))
|
|
52
52
|
.max(40)
|
|
53
53
|
.optional()
|
|
54
|
-
.describe('
|
|
54
|
+
.describe('Earlier messages the conversation enters with'),
|
|
55
|
+
appointments: zod_1.z
|
|
56
|
+
.array(zod_1.z.strictObject({
|
|
57
|
+
startsIn: zod_1.z
|
|
58
|
+
.string()
|
|
59
|
+
.max(40)
|
|
60
|
+
.describe('ISO-8601 duration from the moment of reset: PT15M, P2D, P2DT10H; negative (past) via -P1D'),
|
|
61
|
+
durationMinutes: zod_1.z.number().int().min(5).max(480).optional(),
|
|
62
|
+
representativeId: zod_1.z
|
|
63
|
+
.string()
|
|
64
|
+
.max(120)
|
|
65
|
+
.optional()
|
|
66
|
+
.describe("A representative on the agent; default the agent's first"),
|
|
67
|
+
status: zod_1.z.enum(['scheduled', 'cancelled', 'completed']).optional(),
|
|
68
|
+
}))
|
|
69
|
+
.max(10)
|
|
70
|
+
.optional()
|
|
71
|
+
.describe('Appointments the persona already has at its starting point, made as sandbox appointments at create and every reset'),
|
|
55
72
|
})
|
|
56
|
-
.describe('
|
|
73
|
+
.describe("The persona's starting point: what it is made with and what reset returns it to");
|
|
57
74
|
const channel = zod_1.z
|
|
58
75
|
.enum(['rcs', 'amb', 'whatsapp', 'sms'])
|
|
59
76
|
.optional()
|
|
@@ -62,7 +79,7 @@ exports.personaTools = [
|
|
|
62
79
|
(0, tool_1.defineTool)({
|
|
63
80
|
name: 'list_personas',
|
|
64
81
|
title: 'List personas',
|
|
65
|
-
description: "List an agent's personas —
|
|
82
|
+
description: "List an agent's personas — Person records that live in the sandbox, each with a starting point: id (also its Person id, so get_person reads its full record), name, description, kind (starter | custom), preset (the starting point), emulatorUserId, channelUserIds (every identity it has conversed as, including before a reset; the last is current), the Person state the runtime holds now, and changedSinceStart { fields, consent, appointments, journal, sends } (what the agent changed since the starting point). The first call seeds the starter set (First-time visitor; Returning guest, with an appointment in two days; Opted-out lead). Returns { data: Persona[] }. Maps to GET /v1/orgs/{org}/agents/{agent}/personas.",
|
|
66
83
|
kind: 'read',
|
|
67
84
|
scope: 'agents:read',
|
|
68
85
|
roleFloor: 'viewer',
|
|
@@ -73,7 +90,7 @@ exports.personaTools = [
|
|
|
73
90
|
(0, tool_1.defineTool)({
|
|
74
91
|
name: 'get_persona',
|
|
75
92
|
title: 'Get persona',
|
|
76
|
-
description: 'One persona with its
|
|
93
|
+
description: 'One persona with its starting point, current Person state and changedSinceStart. Maps to GET /v1/orgs/{org}/agents/{agent}/personas/{personaId}.',
|
|
77
94
|
kind: 'read',
|
|
78
95
|
scope: 'agents:read',
|
|
79
96
|
roleFloor: 'viewer',
|
|
@@ -83,7 +100,7 @@ exports.personaTools = [
|
|
|
83
100
|
(0, tool_1.defineTool)({
|
|
84
101
|
name: 'create_persona',
|
|
85
102
|
title: 'Create persona',
|
|
86
|
-
description: 'Create a persona: a name, an optional description, and a preset
|
|
103
|
+
description: 'Create a persona: a name, an optional description, and a starting point (preset: the Person fields it starts with, its messaging consent, optional earlier messages, optional appointments relative to now). The starting point is applied at once and again on every reset. Returns 201 Persona. Maps to POST /v1/orgs/{org}/agents/{agent}/personas.',
|
|
87
104
|
kind: 'write',
|
|
88
105
|
scope: 'agents:write',
|
|
89
106
|
roleFloor: 'editor',
|
|
@@ -99,7 +116,7 @@ exports.personaTools = [
|
|
|
99
116
|
(0, tool_1.defineTool)({
|
|
100
117
|
name: 'update_persona',
|
|
101
118
|
title: 'Update persona',
|
|
102
|
-
description: "Rename or describe a persona, or replace its preset
|
|
119
|
+
description: "Rename or describe a persona, or replace its starting point (preset; editing a starter's makes it custom). The running Person state is untouched until reset_persona — call it after replacing the preset to start from the new starting point. Maps to PATCH /v1/orgs/{org}/agents/{agent}/personas/{personaId}.",
|
|
103
120
|
kind: 'write',
|
|
104
121
|
scope: 'agents:write',
|
|
105
122
|
roleFloor: 'editor',
|
|
@@ -115,7 +132,7 @@ exports.personaTools = [
|
|
|
115
132
|
(0, tool_1.defineTool)({
|
|
116
133
|
name: 'reset_persona',
|
|
117
134
|
title: 'Reset persona',
|
|
118
|
-
description: '
|
|
135
|
+
description: 'Return the persona to its starting point: the Person state its preset says, its appointments re-made, a new emulator identity (the next turn opens a new conversation), and its open conversation closed. Earlier conversations stay in the sandbox, still attributed to the persona. Maps to POST /v1/orgs/{org}/agents/{agent}/personas/{personaId}/reset.',
|
|
119
136
|
kind: 'write',
|
|
120
137
|
scope: 'agents:write',
|
|
121
138
|
roleFloor: 'editor',
|
|
@@ -136,17 +153,41 @@ exports.personaTools = [
|
|
|
136
153
|
(0, tool_1.defineTool)({
|
|
137
154
|
name: 'create_persona_from_conversation',
|
|
138
155
|
title: 'Create persona from a conversation',
|
|
139
|
-
description: "Make a persona from a real conversation to reproduce a problem and continue it in the sandbox
|
|
156
|
+
description: "Make a persona from a real conversation to reproduce a problem and continue it in the sandbox. The starting point copies the person's record (name replaced by the persona's name; phone, email, last name and notes removed; company, title, product interest, custom fields, status, tags, representative and consent kept) and the conversation's messages up to and including throughMessageId (a messageId from list_messages; default: to the end of the session), the last 40, as earlier messages. The person's known name, phone and email are also replaced inside the copied messages — best-effort: text the person typed that was never on their record is not caught, so read the messages before relying on it. sessionId is a session from list_sessions (conversationId is a deprecated alias). dryRun: true returns { name, description, preset, replacements } without creating anything. Returns 201 Persona with presetOf. Maps to POST /v1/orgs/{org}/agents/{agent}/personas/from-conversation.",
|
|
140
157
|
kind: 'write',
|
|
141
158
|
scope: 'agents:write',
|
|
142
159
|
roleFloor: 'editor',
|
|
143
160
|
input: {
|
|
144
161
|
agentId,
|
|
145
|
-
|
|
162
|
+
sessionId: zod_1.z.string().min(1).optional().describe('A session id from list_sessions'),
|
|
163
|
+
conversationId: zod_1.z
|
|
164
|
+
.string()
|
|
165
|
+
.min(1)
|
|
166
|
+
.optional()
|
|
167
|
+
.describe('Deprecated alias of sessionId'),
|
|
168
|
+
throughMessageId: zod_1.z
|
|
169
|
+
.string()
|
|
170
|
+
.min(1)
|
|
171
|
+
.optional()
|
|
172
|
+
.describe('Cut point: copy messages up to and including this messageId'),
|
|
146
173
|
name: zod_1.z.string().min(1).max(120).optional(),
|
|
174
|
+
dryRun: zod_1.z
|
|
175
|
+
.boolean()
|
|
176
|
+
.optional()
|
|
177
|
+
.describe('Preview what would be copied, without creating'),
|
|
147
178
|
},
|
|
148
179
|
run: async ({ client }, { agentId, ...body }) => client.post(await client.orgPath(personaPath(agentId, '/from-conversation')), Object.fromEntries(Object.entries(body).filter(([, v]) => v !== undefined))),
|
|
149
180
|
}),
|
|
181
|
+
(0, tool_1.defineTool)({
|
|
182
|
+
name: 'get_persona_transcript',
|
|
183
|
+
title: "Read a persona's conversation",
|
|
184
|
+
description: "A persona's conversation as plain text, oldest first: its starting point's earlier messages (seeded: true — the agent remembers them, but they were never sent), then every message since the starting point (origin user | agent, text, messageId, timestamp, sessionId; up to 200). The journal lags a turn by a few seconds. Returns { userId, messages }. Maps to GET /v1/orgs/{org}/agents/{agent}/personas/{personaId}/transcript.",
|
|
185
|
+
kind: 'read',
|
|
186
|
+
scope: 'agents:read',
|
|
187
|
+
roleFloor: 'viewer',
|
|
188
|
+
input: { agentId, personaId },
|
|
189
|
+
run: async ({ client }, { agentId, personaId }) => client.get(await client.orgPath(personaPath(agentId, `/${encodeURIComponent(personaId)}/transcript`))),
|
|
190
|
+
}),
|
|
150
191
|
(0, tool_1.defineTool)({
|
|
151
192
|
name: 'send_sandbox_turn',
|
|
152
193
|
title: 'Send a sandbox turn',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personas.js","sourceRoot":"","sources":["../../src/tools/personas.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kCAAqC;AAErC;;;;;;;;GAQG;AAEH,MAAM,OAAO,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC;AAC3B,MAAM,SAAS,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ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AkB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAChE,EACD,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAC5E;KACJ,CAAC;IAEF,IAAA,iBAAU,EAAC;QACT,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,oCAAoC;QAC3C,WAAW,EACT,sVAAsV;QACxV,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,aAAa;QACpB,SAAS,EAAE,QAAQ;QACnB,KAAK,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE;QACtC,GAAG,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE,CACzD,MAAM,CAAC,GAAG,CACR,MAAM,MAAM,CAAC,OAAO,CAClB,WAAW,CAAC,OAAO,EAAE,IAAI,kBAAkB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAChE,EACD,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,SAAS,CAClC;KACJ,CAAC;CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anychat-ai/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"description": "Anychat MCP server — drive your Anychat workspace (agents, playbooks, channels, people, outreach) from Claude Code, Claude Desktop, Cursor, or any MCP host.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anychat",
|