@mariozechner/pi-ai 0.17.0 → 0.18.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.
@@ -1,4 +1,4 @@
1
1
  export { agentLoop, agentLoopContinue } from "./agent-loop.js";
2
2
  export * from "./tools/index.js";
3
- export type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, QueuedMessage } from "./types.js";
3
+ export type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, AgentToolResult, QueuedMessage } from "./types.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { agentLoop, agentLoopContinue } from \"./agent-loop.js\";\nexport * from \"./tools/index.js\";\nexport type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, QueuedMessage } from \"./types.js\";\n"]}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { agentLoop, agentLoopContinue } from \"./agent-loop.js\";\nexport * from \"./tools/index.js\";\nexport type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, AgentToolResult, QueuedMessage } from \"./types.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,cAAc,kBAAkB,CAAC","sourcesContent":["export { agentLoop, agentLoopContinue } from \"./agent-loop.js\";\nexport * from \"./tools/index.js\";\nexport type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, QueuedMessage } from \"./types.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,cAAc,kBAAkB,CAAC","sourcesContent":["export { agentLoop, agentLoopContinue } from \"./agent-loop.js\";\nexport * from \"./tools/index.js\";\nexport type { AgentContext, AgentEvent, AgentLoopConfig, AgentTool, AgentToolResult, QueuedMessage } from \"./types.js\";\n"]}
@@ -5063,7 +5063,7 @@ export declare const MODELS: {
5063
5063
  contextWindow: number;
5064
5064
  maxTokens: number;
5065
5065
  };
5066
- readonly "mistralai/ministral-8b": {
5066
+ readonly "mistralai/ministral-3b": {
5067
5067
  id: string;
5068
5068
  name: string;
5069
5069
  api: "openai-completions";
@@ -5080,7 +5080,7 @@ export declare const MODELS: {
5080
5080
  contextWindow: number;
5081
5081
  maxTokens: number;
5082
5082
  };
5083
- readonly "mistralai/ministral-3b": {
5083
+ readonly "mistralai/ministral-8b": {
5084
5084
  id: string;
5085
5085
  name: string;
5086
5086
  api: "openai-completions";
@@ -5267,7 +5267,7 @@ export declare const MODELS: {
5267
5267
  contextWindow: number;
5268
5268
  maxTokens: number;
5269
5269
  };
5270
- readonly "meta-llama/llama-3.1-8b-instruct": {
5270
+ readonly "meta-llama/llama-3.1-405b-instruct": {
5271
5271
  id: string;
5272
5272
  name: string;
5273
5273
  api: "openai-completions";
@@ -5284,7 +5284,7 @@ export declare const MODELS: {
5284
5284
  contextWindow: number;
5285
5285
  maxTokens: number;
5286
5286
  };
5287
- readonly "meta-llama/llama-3.1-405b-instruct": {
5287
+ readonly "meta-llama/llama-3.1-70b-instruct": {
5288
5288
  id: string;
5289
5289
  name: string;
5290
5290
  api: "openai-completions";
@@ -5301,7 +5301,7 @@ export declare const MODELS: {
5301
5301
  contextWindow: number;
5302
5302
  maxTokens: number;
5303
5303
  };
5304
- readonly "meta-llama/llama-3.1-70b-instruct": {
5304
+ readonly "meta-llama/llama-3.1-8b-instruct": {
5305
5305
  id: string;
5306
5306
  name: string;
5307
5307
  api: "openai-completions";
@@ -5454,7 +5454,7 @@ export declare const MODELS: {
5454
5454
  contextWindow: number;
5455
5455
  maxTokens: number;
5456
5456
  };
5457
- readonly "openai/gpt-4o-2024-05-13": {
5457
+ readonly "openai/gpt-4o": {
5458
5458
  id: string;
5459
5459
  name: string;
5460
5460
  api: "openai-completions";
@@ -5471,7 +5471,7 @@ export declare const MODELS: {
5471
5471
  contextWindow: number;
5472
5472
  maxTokens: number;
5473
5473
  };
5474
- readonly "openai/gpt-4o": {
5474
+ readonly "openai/gpt-4o:extended": {
5475
5475
  id: string;
5476
5476
  name: string;
5477
5477
  api: "openai-completions";
@@ -5488,7 +5488,7 @@ export declare const MODELS: {
5488
5488
  contextWindow: number;
5489
5489
  maxTokens: number;
5490
5490
  };
5491
- readonly "openai/gpt-4o:extended": {
5491
+ readonly "openai/gpt-4o-2024-05-13": {
5492
5492
  id: string;
5493
5493
  name: string;
5494
5494
  api: "openai-completions";
@@ -5505,7 +5505,7 @@ export declare const MODELS: {
5505
5505
  contextWindow: number;
5506
5506
  maxTokens: number;
5507
5507
  };
5508
- readonly "meta-llama/llama-3-70b-instruct": {
5508
+ readonly "meta-llama/llama-3-8b-instruct": {
5509
5509
  id: string;
5510
5510
  name: string;
5511
5511
  api: "openai-completions";
@@ -5522,7 +5522,7 @@ export declare const MODELS: {
5522
5522
  contextWindow: number;
5523
5523
  maxTokens: number;
5524
5524
  };
5525
- readonly "meta-llama/llama-3-8b-instruct": {
5525
+ readonly "meta-llama/llama-3-70b-instruct": {
5526
5526
  id: string;
5527
5527
  name: string;
5528
5528
  api: "openai-completions";
@@ -5624,7 +5624,7 @@ export declare const MODELS: {
5624
5624
  contextWindow: number;
5625
5625
  maxTokens: number;
5626
5626
  };
5627
- readonly "openai/gpt-3.5-turbo-0613": {
5627
+ readonly "openai/gpt-4-turbo-preview": {
5628
5628
  id: string;
5629
5629
  name: string;
5630
5630
  api: "openai-completions";
@@ -5641,7 +5641,7 @@ export declare const MODELS: {
5641
5641
  contextWindow: number;
5642
5642
  maxTokens: number;
5643
5643
  };
5644
- readonly "openai/gpt-4-turbo-preview": {
5644
+ readonly "openai/gpt-3.5-turbo-0613": {
5645
5645
  id: string;
5646
5646
  name: string;
5647
5647
  api: "openai-completions";
@@ -5726,7 +5726,7 @@ export declare const MODELS: {
5726
5726
  contextWindow: number;
5727
5727
  maxTokens: number;
5728
5728
  };
5729
- readonly "openai/gpt-4-0314": {
5729
+ readonly "openai/gpt-4": {
5730
5730
  id: string;
5731
5731
  name: string;
5732
5732
  api: "openai-completions";
@@ -5743,7 +5743,7 @@ export declare const MODELS: {
5743
5743
  contextWindow: number;
5744
5744
  maxTokens: number;
5745
5745
  };
5746
- readonly "openai/gpt-4": {
5746
+ readonly "openai/gpt-3.5-turbo": {
5747
5747
  id: string;
5748
5748
  name: string;
5749
5749
  api: "openai-completions";
@@ -5760,7 +5760,7 @@ export declare const MODELS: {
5760
5760
  contextWindow: number;
5761
5761
  maxTokens: number;
5762
5762
  };
5763
- readonly "openai/gpt-3.5-turbo": {
5763
+ readonly "openai/gpt-4-0314": {
5764
5764
  id: string;
5765
5765
  name: string;
5766
5766
  api: "openai-completions";