@yrpri/api 9.0.106 → 9.0.108
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/agents/controllers/policySynthAgents.js +1 -0
- package/controllers/audios.d.ts +5 -0
- package/controllers/categories.d.ts +5 -0
- package/controllers/communities.d.ts +5 -0
- package/controllers/domains.d.ts +5 -0
- package/controllers/groups.d.ts +5 -0
- package/controllers/images.d.ts +5 -0
- package/controllers/points.d.ts +5 -0
- package/controllers/posts.d.ts +5 -0
- package/controllers/ratings.d.ts +5 -0
- package/controllers/users.d.ts +5 -0
- package/controllers/videos.d.ts +5 -0
- package/package.json +3 -2
|
@@ -410,6 +410,7 @@ export class PolicySynthAgentsController {
|
|
|
410
410
|
this.router.delete("/:groupId/:agentId/ai-models/:modelId", auth.can("edit group"), this.removeAgentAiModel);
|
|
411
411
|
this.router.post("/:groupId/:agentId/ai-models", auth.can("edit group"), this.addAgentAiModel);
|
|
412
412
|
this.router.put("/:groupId/:agentId/memory", auth.can("edit group"), this.replaceAgentMemory);
|
|
413
|
+
this.router.get("/:groupId/:agentId/memory", auth.can("edit group"), this.getAgentMemory);
|
|
413
414
|
this.router.post("/:groupId/:agentId/inputConnectors/existing", auth.can("edit group"), this.addExistingConnector);
|
|
414
415
|
this.router.post("/:groupId/:agentId/outputConnectors/existing", auth.can("edit group"), this.addExistingConnector);
|
|
415
416
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yrpri/api",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.108",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Robert Bjarnason & Citizens Foundation",
|
|
6
6
|
"repository": {
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
"@types/uuid": "^10.0.0",
|
|
115
115
|
"@types/ws": "^8.18.1",
|
|
116
116
|
"axios": "^1.9.0",
|
|
117
|
+
"copyfiles": "^2.4.1",
|
|
117
118
|
"csv-parse": "^5.6.0",
|
|
118
119
|
"diacritics": "^1.3.0",
|
|
119
120
|
"jshint": "^2.13.6",
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
},
|
|
133
134
|
"scripts": {
|
|
134
135
|
"copyInLocalAgents": "cp -R ../../policy-synth/agents/ts-out/* ./node_modules/@policysynth/agents/;cp ../../policy-synth/agents/src/*.d.ts ./node_modules/@policysynth/agents/;",
|
|
135
|
-
"publish_live": "npm run build;npm pack && node repack && node publish.js https://registry.npmjs.org/",
|
|
136
|
+
"publish_live": "npm run build:dev;copyfiles './controllers/**/*.d.ts' 'ts-out/';npm pack && node repack && node publish.js https://registry.npmjs.org/",
|
|
136
137
|
"publish_local": "npm run build;npm pack && node repack && node publish.js http://localhost:4873",
|
|
137
138
|
"start": "nodemon -e ts ts-out/server.js",
|
|
138
139
|
"watch-start": "DEBUG=router:* tsc --project ./ --outDir ./ts-out -w & nodemon -q ./ts-out/server.js",
|