@m6d/cortex-server 2.2.0 → 2.3.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.
@@ -132,7 +132,6 @@ export const runtimeAgentConfigSchema = z.object({
132
132
  agentId: agentSlugSchema,
133
133
  systemPrompt: z.string(),
134
134
  promptVariables: z.array(z.enum(PROMPT_VARIABLES)),
135
- catalogBlurb: z.string(),
136
135
  defaultLocale: localeSchema,
137
136
  metaTools: z.object({
138
137
  searchKnowledge: z.boolean(),
@@ -109,7 +109,6 @@ export declare const runtimeAgentConfigSchema: z.ZodObject<{
109
109
  utcTime: "utcTime";
110
110
  timezone: "timezone";
111
111
  }>>;
112
- catalogBlurb: z.ZodString;
113
112
  defaultLocale: z.ZodEnum<{
114
113
  ar: "ar";
115
114
  en: "en";
@@ -32,7 +32,6 @@ export declare function createCcRuntime(options: CcRuntimeOptions): {
32
32
  agentId: string;
33
33
  systemPrompt: string;
34
34
  promptVariables: ("userName" | "channel" | "locale" | "utcTime" | "timezone")[];
35
- catalogBlurb: string;
36
35
  defaultLocale: "ar" | "en";
37
36
  metaTools: {
38
37
  searchKnowledge: boolean;
@@ -34,7 +34,6 @@ export declare class ControlCenterClient {
34
34
  agentId: string;
35
35
  systemPrompt: string;
36
36
  promptVariables: ("userName" | "channel" | "locale" | "utcTime" | "timezone")[];
37
- catalogBlurb: string;
38
37
  defaultLocale: "ar" | "en";
39
38
  metaTools: {
40
39
  searchKnowledge: boolean;
@@ -3,7 +3,6 @@ export declare function getControlCenterConfig(cc: ControlCenterClient, agentId:
3
3
  agentId: string;
4
4
  systemPrompt: string;
5
5
  promptVariables: ("userName" | "channel" | "locale" | "utcTime" | "timezone")[];
6
- catalogBlurb: string;
7
6
  defaultLocale: "ar" | "en";
8
7
  metaTools: {
9
8
  searchKnowledge: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m6d/cortex-server",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Reusable AI agent chat server library for Hono + Bun",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -66,10 +66,6 @@ export function buildCcSection(cc: CcPromptInput) {
66
66
  const prompt = substituteVariables(cc.config.systemPrompt, cc.variables).trim();
67
67
  if (prompt) parts.push(prompt);
68
68
 
69
- if (cc.config.catalogBlurb) {
70
- parts.push(`## Capabilities\n${cc.config.catalogBlurb}`);
71
- }
72
-
73
69
  if (cc.resolved) {
74
70
  if (cc.resolved.sharedShapes.length > 0) {
75
71
  parts.push(`## Response Shapes\n${formatSharedShapes(cc.resolved.sharedShapes)}`);