@looopy-ai/core 1.1.3 → 1.1.5

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.
@@ -168,6 +168,7 @@ export class Agent {
168
168
  taskId,
169
169
  authContext,
170
170
  parentContext: turnContext,
171
+ systemPrompt: this.config.systemPrompt,
171
172
  toolProviders: this.config.toolProviders,
172
173
  logger: this.config.logger.child({ taskId, turnNumber }),
173
174
  turnNumber,
@@ -2,6 +2,7 @@ import type pino from 'pino';
2
2
  import type { AuthContext } from '../types/context';
3
3
  import type { LLMProvider } from '../types/llm';
4
4
  import type { ToolProvider } from '../types/tools';
5
+ import type { SystemPromptProp } from '../utils';
5
6
  export type AgentContext = {
6
7
  agentId: string;
7
8
  contextId: string;
@@ -9,7 +10,7 @@ export type AgentContext = {
9
10
  authContext?: AuthContext;
10
11
  toolProviders: ToolProvider[];
11
12
  logger: pino.Logger;
12
- systemPrompt?: string;
13
+ systemPrompt?: SystemPromptProp;
13
14
  skillPrompts?: Record<string, string>;
14
15
  metadata?: Record<string, unknown>;
15
16
  };
@@ -1 +1,2 @@
1
1
  export * from './error';
2
+ export * from './prompt';
@@ -1 +1,2 @@
1
1
  export * from './error';
2
+ export * from './prompt';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looopy-ai/core",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "RxJS-based AI agent framework",
5
5
  "keywords": [
6
6
  "agent",