agentlang 0.4.8 → 0.5.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 (62) hide show
  1. package/out/api/http.d.ts +2 -1
  2. package/out/api/http.d.ts.map +1 -1
  3. package/out/api/http.js +246 -2
  4. package/out/api/http.js.map +1 -1
  5. package/out/cli/main.js +1 -1
  6. package/out/cli/main.js.map +1 -1
  7. package/out/language/parser.d.ts.map +1 -1
  8. package/out/language/parser.js +25 -6
  9. package/out/language/parser.js.map +1 -1
  10. package/out/language/syntax.d.ts +12 -0
  11. package/out/language/syntax.d.ts.map +1 -1
  12. package/out/language/syntax.js +21 -0
  13. package/out/language/syntax.js.map +1 -1
  14. package/out/runtime/auth/cognito.d.ts +2 -1
  15. package/out/runtime/auth/cognito.d.ts.map +1 -1
  16. package/out/runtime/auth/cognito.js +52 -2
  17. package/out/runtime/auth/cognito.js.map +1 -1
  18. package/out/runtime/auth/interface.d.ts +2 -1
  19. package/out/runtime/auth/interface.d.ts.map +1 -1
  20. package/out/runtime/modules/auth.d.ts +2 -1
  21. package/out/runtime/modules/auth.d.ts.map +1 -1
  22. package/out/runtime/modules/auth.js +56 -4
  23. package/out/runtime/modules/auth.js.map +1 -1
  24. package/out/runtime/modules/core.d.ts.map +1 -1
  25. package/out/runtime/modules/core.js +2 -1
  26. package/out/runtime/modules/core.js.map +1 -1
  27. package/out/runtime/modules/files.d.ts +18 -0
  28. package/out/runtime/modules/files.d.ts.map +1 -0
  29. package/out/runtime/modules/files.js +115 -0
  30. package/out/runtime/modules/files.js.map +1 -0
  31. package/out/runtime/state.d.ts +5 -0
  32. package/out/runtime/state.d.ts.map +1 -1
  33. package/out/runtime/state.js +2 -0
  34. package/out/runtime/state.js.map +1 -1
  35. package/out/runtime/util.d.ts +1 -0
  36. package/out/runtime/util.d.ts.map +1 -1
  37. package/out/runtime/util.js +1 -0
  38. package/out/runtime/util.js.map +1 -1
  39. package/out/setupClassic.d.ts +98 -0
  40. package/out/setupClassic.d.ts.map +1 -0
  41. package/out/setupClassic.js +38 -0
  42. package/out/setupClassic.js.map +1 -0
  43. package/out/setupCommon.d.ts +2 -0
  44. package/out/setupCommon.d.ts.map +1 -0
  45. package/out/setupCommon.js +33 -0
  46. package/out/setupCommon.js.map +1 -0
  47. package/out/setupExtended.d.ts +40 -0
  48. package/out/setupExtended.d.ts.map +1 -0
  49. package/out/setupExtended.js +67 -0
  50. package/out/setupExtended.js.map +1 -0
  51. package/package.json +186 -183
  52. package/src/api/http.ts +321 -2
  53. package/src/cli/main.ts +1 -1
  54. package/src/language/parser.ts +34 -5
  55. package/src/language/syntax.ts +31 -0
  56. package/src/runtime/auth/cognito.ts +59 -1
  57. package/src/runtime/auth/interface.ts +2 -0
  58. package/src/runtime/modules/auth.ts +65 -5
  59. package/src/runtime/modules/core.ts +2 -1
  60. package/src/runtime/modules/files.ts +183 -0
  61. package/src/runtime/state.ts +2 -0
  62. package/src/runtime/util.ts +1 -0
package/package.json CHANGED
@@ -1,184 +1,187 @@
1
1
  {
2
- "name": "agentlang",
3
- "description": "The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans",
4
- "version": "0.4.8",
5
- "license": "Sustainable Use License",
6
- "author": "agentlang-ai",
7
- "homepage": "https://github.com/agentlang-ai/agentlang#readme",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/agentlang-ai/agentlang.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/agentlang-ai/agentlang/issues"
14
- },
15
- "keywords": [
16
- "agentlang",
17
- "agents-generation",
18
- "ai-agents",
19
- "enterprise",
20
- "multi-agent",
21
- "no-code",
22
- "agent-teams",
23
- "production-ready"
24
- ],
25
- "files": [
26
- "bin",
27
- "out",
28
- "src",
29
- "LICENSE"
30
- ],
31
- "type": "module",
32
- "publishConfig": {
33
- "access": "public",
34
- "registry": "https://registry.npmjs.org/"
35
- },
36
- "dependencies": {
37
- "@aws-sdk/client-cognito-identity": "^3.828.0",
38
- "@aws-sdk/client-cognito-identity-provider": "^3.828.0",
39
- "@aws-sdk/credential-providers": "^3.828.0",
40
- "@isomorphic-git/lightning-fs": "^4.6.1",
41
- "@langchain/anthropic": "^0.3.32",
42
- "@langchain/core": "^0.3.78",
43
- "@langchain/openai": "^0.6.16",
44
- "@types/jsonwebtoken": "^9.0.10",
45
- "amazon-cognito-identity-js": "^6.3.15",
46
- "aws-jwt-verify": "^5.1.0",
47
- "bcryptjs": "^3.0.2",
48
- "buffer": "^6.0.3",
49
- "chalk": "~5.3.0",
50
- "commander": "~11.0.0",
51
- "express": "^5.1.0",
52
- "handlebars": "^4.7.8",
53
- "jsonwebtoken": "^9.0.2",
54
- "langchain": "^0.3.36",
55
- "langium": "^3.5.0",
56
- "openapi-client-axios": "^7.6.0",
57
- "pg": "^8.16.1",
58
- "pgvector": "^0.2.1",
59
- "sql.js": "^1.13.0",
60
- "sqlite3": "^5.1.7",
61
- "typeorm": "^0.3.25",
62
- "vscode-languageserver": "^9.0.1",
63
- "winston": "^3.17.0",
64
- "winston-daily-rotate-file": "^5.0.0",
65
- "zod": "^3.25.55"
66
- },
67
- "overrides": {
68
- "semver": "^7.5.3",
69
- "trim-newlines": ">=3.0.1"
70
- },
71
- "devDependencies": {
72
- "@codingame/esbuild-import-meta-url-plugin": "~1.0.2",
73
- "@eslint/js": "^9.26.0",
74
- "@types/cookie-parser": "^1.4.9",
75
- "@types/express": "^5.0.1",
76
- "@types/node": "^18.19.110",
77
- "@types/sql.js": "^1.4.9",
78
- "@types/vscode": "^1.100.0",
79
- "@typescript-eslint/eslint-plugin": "~8.32.1",
80
- "@typescript-eslint/parser": "~8.32.1",
81
- "brace-expansion": ">=2.0.2",
82
- "concurrently": "~8.2.1",
83
- "esbuild": "^0.25.4",
84
- "eslint": "~9.26.0",
85
- "generator-langium": "^3.0.0",
86
- "http-server": "~14.1.1",
87
- "langium-cli": "^3.5.0",
88
- "nodemon": "^3.1.10",
89
- "prettier": "^3.5.3",
90
- "typescript": "^5.8.3",
91
- "typescript-eslint": "^8.32.1",
92
- "vite": "^6.3.5",
93
- "vite-plugin-node-polyfills": "^0.24.0",
94
- "vitest": "^3.1.3",
95
- "vscode-languageclient": "^9.0.1",
96
- "vscode-uri": "^3.1.0"
97
- },
98
- "volta": {
99
- "node": ">=20.0.0",
100
- "npm": ">=10.8.2"
101
- },
102
- "displayName": "agentlang",
103
- "engines": {
104
- "vscode": "^1.67.0",
105
- "node": ">=20.0.0"
106
- },
107
- "categories": [
108
- "Programming Languages"
109
- ],
110
- "contributes": {
111
- "languages": [
112
- {
113
- "id": "agentlang",
114
- "aliases": [
115
- "Agentlang",
116
- "agentlang"
117
- ],
118
- "extensions": [
119
- ".al"
120
- ],
121
- "configuration": "./language-configuration.json"
122
- }
123
- ],
124
- "grammars": [
125
- {
126
- "language": "agentlang",
127
- "scopeName": "source.agentlang",
128
- "path": "syntaxes/agentlang.tmLanguage.json"
129
- }
130
- ]
131
- },
132
- "activationEvents": [
133
- "onLanguage:agentlang"
134
- ],
135
- "main": "./out/extension/main.cjs",
136
- "types": "./out/index.d.ts",
137
- "exports": {
138
- ".": {
139
- "types": "./out/index.d.ts",
140
- "import": "./out/extension/main.cjs",
141
- "require": "./out/extension/main.cjs"
142
- },
143
- "./browser": {
144
- "types": "./out/browser.d.ts",
145
- "import": "./out/browser.js",
146
- "default": "./out/browser.js"
147
- },
148
- "./src/*": {
149
- "types": "./out/*.d.ts",
150
- "import": "./out/*.js",
151
- "require": "./out/*.js",
152
- "default": "./out/*.js"
153
- },
154
- "./out/*": "./out/*"
155
- },
156
- "bin": {
157
- "agentlang-cli": "./bin/cli.js"
158
- },
159
- "lint-staged": {
160
- "*.{js,ts,tsx}": [
161
- "eslint --fix --cache",
162
- "prettier --write"
163
- ],
164
- "*.{json,md,yml,yaml}": [
165
- "prettier --write"
166
- ]
167
- },
168
- "scripts": {
169
- "build": "tsc -b tsconfig.src.json && tsc -b tsconfig.declarations.json && node esbuild.mjs",
170
- "build:ts": "tsc -b tsconfig.src.json",
171
- "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.src.json --watch\" \"node esbuild.mjs --watch\"",
172
- "lint": "eslint . --ext .ts",
173
- "lint:fix": "eslint . --ext .ts --fix",
174
- "format": "prettier --write \"src/**/*.{js,ts,tsx,json,md}\"",
175
- "format:check": "prettier --check \"src/**/*.{js,ts,tsx,json,md}\"",
176
- "langium:generate": "langium generate",
177
- "langium:generate:production": "langium generate --mode=production",
178
- "langium:watch": "langium generate --watch",
179
- "vscode:prepublish": "npm run build && npm run lint",
180
- "dev": "vite",
181
- "test": "vitest run",
182
- "test:verbose": "VITEST_VERBOSE=true vitest run"
183
- }
184
- }
2
+ "name": "agentlang",
3
+ "description": "The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans",
4
+ "version": "0.5.0",
5
+ "license": "Sustainable Use License",
6
+ "author": "agentlang-ai",
7
+ "homepage": "https://github.com/agentlang-ai/agentlang#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/agentlang-ai/agentlang.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/agentlang-ai/agentlang/issues"
14
+ },
15
+ "keywords": [
16
+ "agentlang",
17
+ "agents-generation",
18
+ "ai-agents",
19
+ "enterprise",
20
+ "multi-agent",
21
+ "no-code",
22
+ "agent-teams",
23
+ "production-ready"
24
+ ],
25
+ "files": [
26
+ "bin",
27
+ "out",
28
+ "src",
29
+ "LICENSE"
30
+ ],
31
+ "type": "module",
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "registry": "https://registry.npmjs.org/"
35
+ },
36
+ "scripts": {
37
+ "build": "tsc -b tsconfig.src.json && tsc -b tsconfig.declarations.json && node esbuild.mjs",
38
+ "build:ts": "tsc -b tsconfig.src.json",
39
+ "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.src.json --watch\" \"node esbuild.mjs --watch\"",
40
+ "lint": "eslint . --ext .ts",
41
+ "lint:fix": "eslint . --ext .ts --fix",
42
+ "format": "prettier --write \"src/**/*.{js,ts,tsx,json,md}\"",
43
+ "format:check": "prettier --check \"src/**/*.{js,ts,tsx,json,md}\"",
44
+ "langium:generate": "langium generate",
45
+ "langium:generate:production": "langium generate --mode=production",
46
+ "langium:watch": "langium generate --watch",
47
+ "vscode:prepublish": "npm run build && npm run lint",
48
+ "dev": "vite",
49
+ "test": "vitest run",
50
+ "test:verbose": "VITEST_VERBOSE=true vitest run"
51
+ },
52
+ "dependencies": {
53
+ "@aws-sdk/client-cognito-identity": "^3.828.0",
54
+ "@aws-sdk/client-cognito-identity-provider": "^3.828.0",
55
+ "@aws-sdk/credential-providers": "^3.828.0",
56
+ "@isomorphic-git/lightning-fs": "^4.6.1",
57
+ "@langchain/anthropic": "^0.3.32",
58
+ "@langchain/core": "^0.3.78",
59
+ "@langchain/openai": "^0.6.16",
60
+ "@types/jsonwebtoken": "^9.0.10",
61
+ "@types/multer": "^1.4.5-lts.1",
62
+ "amazon-cognito-identity-js": "^6.3.15",
63
+ "aws-jwt-verify": "^5.1.0",
64
+ "bcryptjs": "^3.0.2",
65
+ "buffer": "^6.0.3",
66
+ "chalk": "~5.3.0",
67
+ "commander": "~11.0.0",
68
+ "express": "^5.1.0",
69
+ "handlebars": "^4.7.8",
70
+ "jsonwebtoken": "^9.0.2",
71
+ "langchain": "^0.3.36",
72
+ "langium": "^3.5.0",
73
+ "multer": "^1.4.5-lts.1",
74
+ "openapi-client-axios": "^7.6.0",
75
+ "pg": "^8.16.1",
76
+ "pgvector": "^0.2.1",
77
+ "sql.js": "^1.13.0",
78
+ "sqlite3": "^5.1.7",
79
+ "typeorm": "^0.3.25",
80
+ "vscode-languageserver": "^9.0.1",
81
+ "winston": "^3.17.0",
82
+ "winston-daily-rotate-file": "^5.0.0",
83
+ "zod": "^3.25.55"
84
+ },
85
+ "overrides": {
86
+ "semver": "^7.5.3",
87
+ "trim-newlines": ">=3.0.1"
88
+ },
89
+ "devDependencies": {
90
+ "@codingame/esbuild-import-meta-url-plugin": "~1.0.2",
91
+ "@eslint/js": "^9.26.0",
92
+ "@types/cookie-parser": "^1.4.9",
93
+ "@types/express": "^5.0.1",
94
+ "@types/node": "^18.19.110",
95
+ "@types/sql.js": "^1.4.9",
96
+ "@types/vscode": "^1.100.0",
97
+ "@typescript-eslint/eslint-plugin": "~8.32.1",
98
+ "@typescript-eslint/parser": "~8.32.1",
99
+ "brace-expansion": ">=2.0.2",
100
+ "concurrently": "~8.2.1",
101
+ "esbuild": "^0.25.4",
102
+ "eslint": "~9.26.0",
103
+ "generator-langium": "^3.0.0",
104
+ "http-server": "~14.1.1",
105
+ "langium-cli": "^3.5.0",
106
+ "nodemon": "^3.1.10",
107
+ "prettier": "^3.5.3",
108
+ "typescript": "^5.8.3",
109
+ "typescript-eslint": "^8.32.1",
110
+ "vite": "^6.3.5",
111
+ "vite-plugin-node-polyfills": "^0.24.0",
112
+ "vitest": "^3.1.3",
113
+ "vscode-languageclient": "^9.0.1",
114
+ "vscode-uri": "^3.1.0"
115
+ },
116
+ "volta": {
117
+ "node": ">=20.0.0",
118
+ "npm": ">=10.8.2"
119
+ },
120
+ "displayName": "agentlang",
121
+ "engines": {
122
+ "vscode": "^1.67.0",
123
+ "node": ">=20.0.0"
124
+ },
125
+ "categories": [
126
+ "Programming Languages"
127
+ ],
128
+ "contributes": {
129
+ "languages": [
130
+ {
131
+ "id": "agentlang",
132
+ "aliases": [
133
+ "Agentlang",
134
+ "agentlang"
135
+ ],
136
+ "extensions": [
137
+ ".al"
138
+ ],
139
+ "configuration": "./language-configuration.json"
140
+ }
141
+ ],
142
+ "grammars": [
143
+ {
144
+ "language": "agentlang",
145
+ "scopeName": "source.agentlang",
146
+ "path": "syntaxes/agentlang.tmLanguage.json"
147
+ }
148
+ ]
149
+ },
150
+ "activationEvents": [
151
+ "onLanguage:agentlang"
152
+ ],
153
+ "main": "./out/extension/main.cjs",
154
+ "types": "./out/index.d.ts",
155
+ "exports": {
156
+ ".": {
157
+ "types": "./out/index.d.ts",
158
+ "import": "./out/extension/main.cjs",
159
+ "require": "./out/extension/main.cjs"
160
+ },
161
+ "./browser": {
162
+ "types": "./out/browser.d.ts",
163
+ "import": "./out/browser.js",
164
+ "default": "./out/browser.js"
165
+ },
166
+ "./src/*": {
167
+ "types": "./out/*.d.ts",
168
+ "import": "./out/*.js",
169
+ "require": "./out/*.js",
170
+ "default": "./out/*.js"
171
+ },
172
+ "./out/*": "./out/*"
173
+ },
174
+ "bin": {
175
+ "agentlang-cli": "./bin/cli.js"
176
+ },
177
+ "lint-staged": {
178
+ "*.{js,ts,tsx}": [
179
+ "eslint --fix --cache",
180
+ "prettier --write"
181
+ ],
182
+ "*.{json,md,yml,yaml}": [
183
+ "prettier --write"
184
+ ]
185
+ },
186
+ "packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad"
187
+ }