@cossistant/types 0.1.1 → 0.1.2
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/api/ai-agent-capabilities.d.ts +16 -19
- package/api/ai-agent-capabilities.d.ts.map +1 -1
- package/api/ai-agent-capabilities.js +215 -286
- package/api/ai-agent-capabilities.js.map +1 -1
- package/api/ai-agent-defaults.d.ts +6 -0
- package/api/ai-agent-defaults.d.ts.map +1 -0
- package/api/ai-agent-defaults.js +33 -0
- package/api/ai-agent-defaults.js.map +1 -0
- package/api/ai-agent.d.ts +311 -204
- package/api/ai-agent.d.ts.map +1 -1
- package/api/ai-agent.js +175 -111
- package/api/ai-agent.js.map +1 -1
- package/api/conversation.d.ts +29 -6
- package/api/conversation.d.ts.map +1 -1
- package/api/conversation.js +7 -2
- package/api/conversation.js.map +1 -1
- package/api/feedback.d.ts +5 -0
- package/api/feedback.d.ts.map +1 -1
- package/api/feedback.js +2 -0
- package/api/feedback.js.map +1 -1
- package/api/index.d.ts +7 -6
- package/api/index.js +7 -6
- package/api/knowledge.d.ts.map +1 -1
- package/api/link-source.d.ts +4 -4
- package/api/link-source.d.ts.map +1 -1
- package/api/link-source.js +1 -1
- package/api/link-source.js.map +1 -1
- package/api/timeline-item.d.ts +18 -6
- package/api/timeline-item.d.ts.map +1 -1
- package/api/timeline-item.js +3 -1
- package/api/timeline-item.js.map +1 -1
- package/api/user.d.ts +1 -1
- package/api/user.d.ts.map +1 -1
- package/api/user.js +2 -2
- package/api/user.js.map +1 -1
- package/api/visitor.d.ts +225 -1
- package/api/visitor.d.ts.map +1 -1
- package/api/visitor.js +142 -1
- package/api/visitor.js.map +1 -1
- package/api/website.d.ts +12 -3
- package/api/website.d.ts.map +1 -1
- package/api/website.js +16 -2
- package/api/website.js.map +1 -1
- package/enums.d.ts +2 -0
- package/enums.d.ts.map +1 -1
- package/enums.js +3 -1
- package/enums.js.map +1 -1
- package/index.d.ts +9 -8
- package/index.d.ts.map +1 -1
- package/index.js +9 -8
- package/package.json +1 -1
- package/realtime-events.d.ts +74 -4
- package/realtime-events.d.ts.map +1 -1
- package/realtime-events.js +6 -2
- package/realtime-events.js.map +1 -1
- package/schemas.d.ts +3 -1
- package/schemas.d.ts.map +1 -1
- package/tool-timeline-policy.d.ts +19 -2
- package/tool-timeline-policy.d.ts.map +1 -1
- package/tool-timeline-policy.js +29 -6
- package/tool-timeline-policy.js.map +1 -1
- package/trpc/conversation-hard-limit.d.ts +30 -0
- package/trpc/conversation-hard-limit.d.ts.map +1 -0
- package/trpc/conversation-hard-limit.js +43 -0
- package/trpc/conversation-hard-limit.js.map +1 -0
- package/trpc/conversation.d.ts +44 -4
- package/trpc/conversation.d.ts.map +1 -1
- package/trpc/conversation.js +6 -0
- package/trpc/conversation.js.map +1 -1
- package/trpc/visitor.d.ts +73 -15
- package/trpc/visitor.d.ts.map +1 -1
- package/trpc/visitor.js +15 -8
- package/trpc/visitor.js.map +1 -1
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
//#region src/api/ai-agent-capabilities.d.ts
|
|
2
2
|
declare const AI_AGENT_TOOL_CATEGORIES: readonly ["system", "messaging", "action", "context", "analysis"];
|
|
3
3
|
type AiAgentToolCategory = (typeof AI_AGENT_TOOL_CATEGORIES)[number];
|
|
4
|
-
declare const
|
|
4
|
+
declare const AI_AGENT_TOOL_GROUPS: readonly ["behavior", "actions"];
|
|
5
|
+
type AiAgentToolGroup = (typeof AI_AGENT_TOOL_GROUPS)[number];
|
|
6
|
+
declare const AI_AGENT_TOOL_IDS: readonly ["searchKnowledgeBase", "identifyVisitor", "updateConversationTitle", "updateSentiment", "setPriority", "categorizeConversation", "sendMessage", "sendPrivateMessage", "respond", "escalate", "resolve", "markSpam", "skip"];
|
|
5
7
|
type AiAgentToolId = (typeof AI_AGENT_TOOL_IDS)[number];
|
|
6
|
-
declare const AI_AGENT_BEHAVIOR_SETTING_KEYS: readonly ["canResolve", "canMarkSpam", "canSetPriority", "canEscalate", "autoGenerateTitle", "autoAnalyzeSentiment"];
|
|
8
|
+
declare const AI_AGENT_BEHAVIOR_SETTING_KEYS: readonly ["canResolve", "canMarkSpam", "canSetPriority", "canEscalate", "autoCategorize", "autoGenerateTitle", "autoAnalyzeSentiment"];
|
|
7
9
|
type AiAgentBehaviorSettingKey = (typeof AI_AGENT_BEHAVIOR_SETTING_KEYS)[number];
|
|
10
|
+
type AiAgentToolDefaultSkill = {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
description: string;
|
|
14
|
+
content: string;
|
|
15
|
+
};
|
|
8
16
|
type AiAgentToolCatalogEntry = {
|
|
9
17
|
id: AiAgentToolId;
|
|
10
18
|
label: string;
|
|
11
19
|
description: string;
|
|
12
20
|
category: AiAgentToolCategory;
|
|
21
|
+
group: AiAgentToolGroup;
|
|
22
|
+
order: number;
|
|
13
23
|
isSystem: boolean;
|
|
14
24
|
isRequired: boolean;
|
|
15
25
|
isToggleable: boolean;
|
|
16
26
|
behaviorSettingKey: AiAgentBehaviorSettingKey | null;
|
|
17
|
-
|
|
27
|
+
defaultSkill: AiAgentToolDefaultSkill;
|
|
18
28
|
};
|
|
19
29
|
declare const AI_AGENT_TOOL_CATALOG: readonly AiAgentToolCatalogEntry[];
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
label: string;
|
|
23
|
-
description: string;
|
|
24
|
-
content: string;
|
|
25
|
-
suggestedToolIds: readonly AiAgentToolId[];
|
|
26
|
-
};
|
|
27
|
-
declare const AI_AGENT_DEFAULT_SKILL_TEMPLATES: readonly AiAgentDefaultSkillTemplateEntry[];
|
|
28
|
-
type AiAgentDefaultSkillTemplate = (typeof AI_AGENT_DEFAULT_SKILL_TEMPLATES)[number];
|
|
29
|
-
type AiAgentSystemSkillMetadataEntry = {
|
|
30
|
-
name: "agent.md" | "security.md" | "behaviour.md" | "participation.md" | "grounding.md" | "capabilities.md";
|
|
31
|
-
label: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
declare const AI_AGENT_SYSTEM_SKILL_METADATA: readonly AiAgentSystemSkillMetadataEntry[];
|
|
30
|
+
declare const AI_AGENT_RESERVED_TOOL_SKILL_TEMPLATE_NAMES: readonly string[];
|
|
31
|
+
declare const AI_AGENT_DROPPED_SKILL_TEMPLATE_NAMES: readonly ["reply-or-stay-silent.md", "send-message-behavior.md", "deep-research.md", "grounded-answers.md", "visitor-identification.md", "escalation-playbook.md", "resolution-checklist.md", "spam-detection.md", "priority-triage.md", "sentiment-tracking.md", "title-hygiene.md", "handoff-notes.md", "tone-and-voice.md", "short-clear-replies.md", "wait.md"];
|
|
35
32
|
//#endregion
|
|
36
|
-
export { AI_AGENT_BEHAVIOR_SETTING_KEYS,
|
|
33
|
+
export { AI_AGENT_BEHAVIOR_SETTING_KEYS, AI_AGENT_DROPPED_SKILL_TEMPLATE_NAMES, AI_AGENT_RESERVED_TOOL_SKILL_TEMPLATE_NAMES, AI_AGENT_TOOL_CATALOG, AI_AGENT_TOOL_CATEGORIES, AI_AGENT_TOOL_GROUPS, AI_AGENT_TOOL_IDS, AiAgentBehaviorSettingKey, AiAgentToolCatalogEntry, AiAgentToolCategory, AiAgentToolDefaultSkill, AiAgentToolGroup, AiAgentToolId };
|
|
37
34
|
//# sourceMappingURL=ai-agent-capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-agent-capabilities.d.ts","names":[],"sources":["../../src/api/ai-agent-capabilities.ts"],"sourcesContent":[],"mappings":";cAKa;AAAA,KAQD,mBAAA,GAFF,CAAA,OAEgC,wBAFhC,CAAA,CAAA,MAAA,CAAA;AAEE,cAEC,
|
|
1
|
+
{"version":3,"file":"ai-agent-capabilities.d.ts","names":[],"sources":["../../src/api/ai-agent-capabilities.ts"],"sourcesContent":[],"mappings":";cAKa;AAAA,KAQD,mBAAA,GAFF,CAAA,OAEgC,wBAFhC,CAAA,CAAA,MAAA,CAAA;AAEE,cAEC,oBAF6B,EAAA,SAAA,CAAA,UAAA,EAAwB,SAAA,CAAA;AAErD,KACD,gBAAA,GADwD,CAAA,OAC7B,oBAD6B,CAAA,CAAA,MAAA,CAAA;AACxD,cAEC,iBAF0B,EAAA,SAAA,CAAA,qBAAoB,EAAA,iBAAA,EAAA,yBAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,wBAAA,EAAA,aAAA,EAAA,oBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAE9C,KAgBD,aAAA,GAFF,CAAA,OAE0B,iBAF1B,CAAA,CAAA,MAAA,CAAA;AAEE,cAEC,8BAFwC,EAAA,SAAA,CAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,mBAAA,EAAA,sBAAA,CAAA;AAExC,KAUD,yBAAA,GAFF,CAAA,OAGD,8BAHC,CAAA,CAAA,MAAA,CAAA;AAEE,KAGA,uBAAA,GAHyB;EAGzB,IAAA,EAAA,MAAA;EAOA,KAAA,EAAA,MAAA;EACP,WAAA,EAAA,MAAA;EAGM,OAAA,EAAA,MAAA;CACH;AAKa,KAVT,uBAAA,GAUS;EACN,EAAA,EAVV,aAUU;EAAuB,KAAA,EAAA,MAAA;EAiTzB,WAAA,EAAA,MAAA;EAaA,QAAA,EArUF,mBAqUE;EAIA,KAAA,EAxUL,gBAwUK;;;;;sBAnUQ;gBACN;;cAiTF,gCAAgC;cAahC;cAIA"}
|