@codebolt/agent 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +16 -11
package/README.md CHANGED
@@ -13,7 +13,7 @@ A TypeScript library providing utilities for building and managing AI agents wit
13
13
  ## Installation
14
14
 
15
15
  ```bash
16
- npm install @codebolt/agent-utils
16
+ npm install @codebolt/agent
17
17
  ```
18
18
 
19
19
  ## Usage
@@ -21,7 +21,7 @@ npm install @codebolt/agent-utils
21
21
  ### Basic Agent Setup
22
22
 
23
23
  ```typescript
24
- import { Agent, SystemPrompt, TaskInstruction } from '@codebolt/agent-utils';
24
+ import { Agent, SystemPrompt, TaskInstruction } from '@codebolt/agent';
25
25
 
26
26
  // Create a system prompt
27
27
  const systemPrompt = new SystemPrompt();
@@ -51,7 +51,7 @@ await userMessage.addFileContent("./src/main.ts");
51
51
  ### Advanced Prompt Building
52
52
 
53
53
  ```typescript
54
- import { InitialPromptBuilder } from '@codebolt/agent-utils';
54
+ import { InitialPromptBuilder } from '@codebolt/agent';
55
55
 
56
56
  const promptBuilder = new InitialPromptBuilder("Fix the bug in my application");
57
57
  promptBuilder
@@ -65,7 +65,7 @@ const prompt = await promptBuilder.build();
65
65
  ### LLM Output Handling
66
66
 
67
67
  ```typescript
68
- import { LLMOutputHandler } from '@codebolt/agent-utils';
68
+ import { LLMOutputHandler } from '@codebolt/agent';
69
69
 
70
70
  const outputHandler = new LLMOutputHandler();
71
71
  const result = await outputHandler.processLLMResponse(llmResponse, tools);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebolt/agent",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "CodeBolt Agent utilities for building and managing AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,13 +9,6 @@
9
9
  "README.md",
10
10
  "LICENSE"
11
11
  ],
12
- "scripts": {
13
- "build": "tsc",
14
- "clean": "rm -rf dist",
15
- "prepublishOnly": "npm run clean && npm run build",
16
- "dev": "tsc --watch",
17
- "test": "echo \"Error: no test specified\" && exit 1"
18
- },
19
12
  "keywords": [
20
13
  "ai",
21
14
  "agent",
@@ -29,9 +22,14 @@
29
22
  "publishConfig": {
30
23
  "access": "public"
31
24
  },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/codeboltai/codeboltjs.git",
28
+ "directory": "packages/agent"
29
+ },
32
30
  "dependencies": {
33
- "@codebolt/codeboltjs": "^2.0.16",
34
- "js-yaml": "^4.1.0"
31
+ "js-yaml": "^4.1.0",
32
+ "@codebolt/codeboltjs": "2.1.0"
35
33
  },
36
34
  "devDependencies": {
37
35
  "@types/js-yaml": "^4.0.9",
@@ -45,5 +43,12 @@
45
43
  "types": "./dist/index.d.ts",
46
44
  "default": "./dist/index.js"
47
45
  }
46
+ },
47
+ "scripts": {
48
+ "build": "tsc",
49
+ "clean": "rm -rf dist",
50
+ "dev": "tsc --watch",
51
+ "test": "echo \"No tests yet, but build passes\" && exit 0",
52
+ "lint": "tsc --noEmit"
48
53
  }
49
- }
54
+ }