@samrahimi/smol-js 0.5.0 → 0.6.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.
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@samrahimi/smol-js",
3
- "version": "0.5.0",
4
- "description": "A TypeScript port of the smolagents agentic framework - Code Agent for JavaScript",
3
+ "version": "0.6.0",
4
+ "description": "A TypeScript agentic framework - CodeAgent and ToolUseAgent with YAML orchestration, built-in tools, and Exa.ai integration",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "smol-js": "dist/cli.js"
10
+ },
8
11
  "exports": {
9
12
  ".": {
10
13
  "types": "./dist/index.d.ts",
@@ -25,6 +28,7 @@
25
28
  "lint": "eslint src --ext .ts",
26
29
  "lint:fix": "eslint src --ext .ts --fix",
27
30
  "typecheck": "tsc --noEmit",
31
+ "cli": "tsx src/cli.ts",
28
32
  "run-examples": "tsx examples/run-all.ts",
29
33
  "package": "npm run build && npm pack",
30
34
  "publish": "npm run build && npm publish --access public",
@@ -35,11 +39,16 @@
35
39
  "ai",
36
40
  "llm",
37
41
  "code-agent",
42
+ "tool-use-agent",
43
+ "react-agent",
38
44
  "smolagents",
39
45
  "typescript",
40
46
  "openai",
41
47
  "anthropic",
42
- "claude"
48
+ "claude",
49
+ "yaml",
50
+ "orchestration",
51
+ "exa"
43
52
  ],
44
53
  "author": "Sam Rahimi",
45
54
  "license": "MIT",
@@ -57,7 +66,8 @@
57
66
  "dependencies": {
58
67
  "chalk": "^5.3.0",
59
68
  "dotenv": "^16.3.0",
60
- "openai": "^4.28.0"
69
+ "openai": "^4.28.0",
70
+ "yaml": "^2.8.2"
61
71
  },
62
72
  "engines": {
63
73
  "node": ">=18.0.0"