@codebolt/codeboltjs 5.0.9 → 5.1.10
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/dist/core/Codebolt.d.ts +20 -1
- package/dist/core/Codebolt.js +18 -16
- package/dist/core/websocket.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -3
- package/dist/modules/agentDeliberation.js +3 -1
- package/dist/modules/environment.d.ts +24 -0
- package/dist/modules/environment.js +51 -0
- package/dist/modules/swarm.d.ts +2 -8
- package/dist/modules/swarm.js +0 -14
- package/dist/tools/environment/environment-create.d.ts +23 -0
- package/dist/tools/environment/environment-create.js +90 -0
- package/dist/tools/environment/environment-delete.d.ts +17 -0
- package/dist/tools/environment/environment-delete.js +70 -0
- package/dist/tools/environment/environment-get.d.ts +17 -0
- package/dist/tools/environment/environment-get.js +73 -0
- package/dist/tools/environment/environment-list.d.ts +15 -0
- package/dist/tools/environment/environment-list.js +72 -0
- package/dist/tools/environment/environment-providers.d.ts +24 -0
- package/dist/tools/environment/environment-providers.js +130 -0
- package/dist/tools/environment/environment-restart.d.ts +17 -0
- package/dist/tools/environment/environment-restart.js +70 -0
- package/dist/tools/environment/environment-send-message.d.ts +19 -0
- package/dist/tools/environment/environment-send-message.js +74 -0
- package/dist/tools/environment/environment-start.d.ts +17 -0
- package/dist/tools/environment/environment-start.js +70 -0
- package/dist/tools/environment/environment-statistics.d.ts +15 -0
- package/dist/tools/environment/environment-statistics.js +69 -0
- package/dist/tools/environment/environment-status.d.ts +17 -0
- package/dist/tools/environment/environment-status.js +72 -0
- package/dist/tools/environment/environment-stop.d.ts +17 -0
- package/dist/tools/environment/environment-stop.js +70 -0
- package/dist/tools/environment/environment-update.d.ts +19 -0
- package/dist/tools/environment/environment-update.js +74 -0
- package/dist/tools/environment/index.d.ts +31 -0
- package/dist/tools/environment/index.js +61 -0
- package/dist/tools/index.d.ts +16 -2
- package/dist/tools/index.js +45 -5
- package/dist/tools/registry.d.ts +21 -0
- package/dist/tools/registry.js +38 -1
- package/dist/tools/tool-search.d.ts +49 -0
- package/dist/tools/tool-search.js +140 -0
- package/dist/tools/toolSearch/index.d.ts +9 -0
- package/dist/tools/toolSearch/index.js +15 -0
- package/dist/tools/toolSearch/tool-search-tool.d.ts +32 -0
- package/dist/tools/toolSearch/tool-search-tool.js +110 -0
- package/dist/types/agentDeliberation.d.ts +15 -1
- package/dist/types/agentDeliberation.js +2 -0
- package/dist/types/job.d.ts +1 -1
- package/package.json +20 -19
|
@@ -9,6 +9,7 @@ var AgentDeliberationAction;
|
|
|
9
9
|
AgentDeliberationAction["UPDATE"] = "agentdeliberation.update";
|
|
10
10
|
AgentDeliberationAction["RESPOND"] = "agentdeliberation.respond";
|
|
11
11
|
AgentDeliberationAction["VOTE"] = "agentdeliberation.vote";
|
|
12
|
+
AgentDeliberationAction["VOTE_OPTION"] = "agentdeliberation.vote-option";
|
|
12
13
|
AgentDeliberationAction["WINNER"] = "agentdeliberation.winner";
|
|
13
14
|
AgentDeliberationAction["SUMMARY"] = "agentdeliberation.summary";
|
|
14
15
|
})(AgentDeliberationAction || (exports.AgentDeliberationAction = AgentDeliberationAction = {}));
|
|
@@ -20,6 +21,7 @@ var AgentDeliberationResponseType;
|
|
|
20
21
|
AgentDeliberationResponseType["UPDATE_RESPONSE"] = "agentdeliberation.update.response";
|
|
21
22
|
AgentDeliberationResponseType["RESPOND_RESPONSE"] = "agentdeliberation.respond.response";
|
|
22
23
|
AgentDeliberationResponseType["VOTE_RESPONSE"] = "agentdeliberation.vote.response";
|
|
24
|
+
AgentDeliberationResponseType["VOTE_OPTION_RESPONSE"] = "agentdeliberation.vote-option.response";
|
|
23
25
|
AgentDeliberationResponseType["WINNER_RESPONSE"] = "agentdeliberation.winner.response";
|
|
24
26
|
AgentDeliberationResponseType["SUMMARY_RESPONSE"] = "agentdeliberation.summary.response";
|
|
25
27
|
})(AgentDeliberationResponseType || (exports.AgentDeliberationResponseType = AgentDeliberationResponseType = {}));
|
package/dist/types/job.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface JobGroup {
|
|
|
6
6
|
createdAt: string;
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
}
|
|
9
|
-
export type JobStatus = 'open' | 'working' | 'hold' | '
|
|
9
|
+
export type JobStatus = 'open' | 'working' | 'hold' | 'closed';
|
|
10
10
|
export type JobType = 'bug' | 'feature' | 'task' | 'epic' | 'chore';
|
|
11
11
|
export type JobPriority = 1 | 2 | 3 | 4;
|
|
12
12
|
export type DependencyType = 'blocks' | 'related' | 'parent-child' | 'discovered-from';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codebolt/codeboltjs",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -12,6 +12,21 @@
|
|
|
12
12
|
"LICENSE",
|
|
13
13
|
"package.json"
|
|
14
14
|
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc -p tsconfig.build.json && node script/copy-wasm.js",
|
|
17
|
+
"build:webpack": "webpack",
|
|
18
|
+
"build:all": "npm run build && npm run build:webpack",
|
|
19
|
+
"build:docs": "typedoc --plugin typedoc-plugin-missing-exports",
|
|
20
|
+
"build:docs:md": "node script/gen-docusaurus-types.js --clean",
|
|
21
|
+
"build:jsondocs": "typedoc --plugin typedoc-plugin-missing-exports --json out.json --pretty",
|
|
22
|
+
"test": "jest",
|
|
23
|
+
"test:watch": "jest --watch",
|
|
24
|
+
"test:coverage": "jest --coverage",
|
|
25
|
+
"test:verbose": "jest --verbose",
|
|
26
|
+
"test:debug": "DEBUG_TESTS=true jest",
|
|
27
|
+
"clean": "powershell -Command \"Remove-Item -Path 'dist' -Recurse -Force -ErrorAction SilentlyContinue; Remove-Item -Path 'build' -Recurse -Force -ErrorAction SilentlyContinue\"",
|
|
28
|
+
"lint": "eslint src/**/*.ts && tsc -p tsconfig.json --noEmit"
|
|
29
|
+
},
|
|
15
30
|
"repository": {
|
|
16
31
|
"type": "git",
|
|
17
32
|
"url": "git+https://github.com/codeboltai/codeboltjs.git",
|
|
@@ -23,10 +38,12 @@
|
|
|
23
38
|
"access": "public"
|
|
24
39
|
},
|
|
25
40
|
"dependencies": {
|
|
41
|
+
"@codebolt/types": "5.1.10",
|
|
26
42
|
"@types/uuid": "^10.0.0",
|
|
27
43
|
"buffer": "^6.0.3",
|
|
28
44
|
"execa": "^9.5.2",
|
|
29
45
|
"js-yaml": "^4.1.0",
|
|
46
|
+
"minisearch": "^7.2.0",
|
|
30
47
|
"os-browserify": "^0.3.0",
|
|
31
48
|
"path-browserify": "^1.0.1",
|
|
32
49
|
"stream-browserify": "^3.0.0",
|
|
@@ -34,8 +51,7 @@
|
|
|
34
51
|
"util": "^0.12.5",
|
|
35
52
|
"uuid": "^11.1.0",
|
|
36
53
|
"ws": "^8.18.3",
|
|
37
|
-
"yargs": "^17.7.2"
|
|
38
|
-
"@codebolt/types": "5.0.9"
|
|
54
|
+
"yargs": "^17.7.2"
|
|
39
55
|
},
|
|
40
56
|
"devDependencies": {
|
|
41
57
|
"@types/events": "^3.0.3",
|
|
@@ -61,20 +77,5 @@
|
|
|
61
77
|
"types": "./dist/index.d.ts",
|
|
62
78
|
"default": "./dist/index.js"
|
|
63
79
|
}
|
|
64
|
-
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "tsc -p tsconfig.build.json && node script/copy-wasm.js",
|
|
67
|
-
"build:webpack": "webpack",
|
|
68
|
-
"build:all": "npm run build && npm run build:webpack",
|
|
69
|
-
"build:docs": "typedoc --plugin typedoc-plugin-missing-exports",
|
|
70
|
-
"build:docs:md": "node script/gen-docusaurus-types.js --clean",
|
|
71
|
-
"build:jsondocs": "typedoc --plugin typedoc-plugin-missing-exports --json out.json --pretty",
|
|
72
|
-
"test": "jest",
|
|
73
|
-
"test:watch": "jest --watch",
|
|
74
|
-
"test:coverage": "jest --coverage",
|
|
75
|
-
"test:verbose": "jest --verbose",
|
|
76
|
-
"test:debug": "DEBUG_TESTS=true jest",
|
|
77
|
-
"clean": "powershell -Command \"Remove-Item -Path 'dist' -Recurse -Force -ErrorAction SilentlyContinue; Remove-Item -Path 'build' -Recurse -Force -ErrorAction SilentlyContinue\"",
|
|
78
|
-
"lint": "eslint src/**/*.ts && tsc -p tsconfig.json --noEmit"
|
|
79
80
|
}
|
|
80
|
-
}
|
|
81
|
+
}
|