@memnexus-ai/typescript-sdk 1.72.12 → 1.72.14

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/index.cjs CHANGED
@@ -33,6 +33,7 @@ __export(index_exports, {
33
33
  EntitiesService: () => EntitiesService,
34
34
  Environment: () => Environment,
35
35
  FactsService: () => FactsService,
36
+ FeedbackService: () => FeedbackService,
36
37
  GraphragService: () => GraphragService,
37
38
  HealthService: () => HealthService,
38
39
  InvitesService: () => InvitesService,
@@ -4385,6 +4386,42 @@ var GraphragService = class extends BaseService {
4385
4386
  }
4386
4387
  };
4387
4388
 
4389
+ // src/services/feedback-service.ts
4390
+ var FeedbackService = class extends BaseService {
4391
+ /**
4392
+ * Submit feedback (bug report, feature request, or question)
4393
+ * Persists user-authored feedback to a dedicated Postgres table and
4394
+ returns once the row is durably written (store-first). The feedback
4395
+ store is isolated from the Neo4j retrieval corpus and never surfaces in
4396
+ search or recall.
4397
+
4398
+ Authentication is the standard trust-gateway set — API key, JWT bearer,
4399
+ or service token — modelled globally under the `ApiKeyAuth` scheme. The
4400
+ operation requires write access (`requireScope("write")`).
4401
+
4402
+ * @param body - Request body
4403
+ */
4404
+ async submitFeedback(body) {
4405
+ const request = new Request({
4406
+ baseUrl: this.config.baseUrl || "http://localhost:3000",
4407
+ method: "POST",
4408
+ path: "/api/feedback",
4409
+ config: this.config,
4410
+ retry: {
4411
+ attempts: 3,
4412
+ delayMs: 150,
4413
+ maxDelayMs: 5e3,
4414
+ jitterMs: 50,
4415
+ backoffFactor: 2
4416
+ }
4417
+ });
4418
+ if (body !== void 0) {
4419
+ request.addBody(body);
4420
+ }
4421
+ return this.client.call(request);
4422
+ }
4423
+ };
4424
+
4388
4425
  // src/services/facts-service.ts
4389
4426
  var FactsService = class extends BaseService {
4390
4427
  /**
@@ -7997,6 +8034,8 @@ var Memnexus = class {
7997
8034
  health;
7998
8035
  /** Graph-based retrieval augmented generation endpoints operations */
7999
8036
  graphrag;
8037
+ /** User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. operations */
8038
+ feedback;
8000
8039
  /** Fact extraction and management endpoints operations */
8001
8040
  facts;
8002
8041
  /** Entity extraction and discovery endpoints operations */
@@ -8038,6 +8077,7 @@ var Memnexus = class {
8038
8077
  this.invites = new InvitesService(this.config);
8039
8078
  this.health = new HealthService(this.config);
8040
8079
  this.graphrag = new GraphragService(this.config);
8080
+ this.feedback = new FeedbackService(this.config);
8041
8081
  this.facts = new FactsService(this.config);
8042
8082
  this.entities = new EntitiesService(this.config);
8043
8083
  this.conversations = new ConversationsService(this.config);
@@ -8067,6 +8107,7 @@ var Memnexus = class {
8067
8107
  this.invites.token = token;
8068
8108
  this.health.token = token;
8069
8109
  this.graphrag.token = token;
8110
+ this.feedback.token = token;
8070
8111
  this.facts.token = token;
8071
8112
  this.entities.token = token;
8072
8113
  this.conversations.token = token;
@@ -8096,6 +8137,7 @@ var Memnexus = class {
8096
8137
  this.invites.baseUrl = baseUrl;
8097
8138
  this.health.baseUrl = baseUrl;
8098
8139
  this.graphrag.baseUrl = baseUrl;
8140
+ this.feedback.baseUrl = baseUrl;
8099
8141
  this.facts.baseUrl = baseUrl;
8100
8142
  this.entities.baseUrl = baseUrl;
8101
8143
  this.conversations.baseUrl = baseUrl;
@@ -8125,6 +8167,7 @@ var Memnexus = class {
8125
8167
  this.invites.environment = environment;
8126
8168
  this.health.environment = environment;
8127
8169
  this.graphrag.environment = environment;
8170
+ this.feedback.environment = environment;
8128
8171
  this.facts.environment = environment;
8129
8172
  this.entities.environment = environment;
8130
8173
  this.conversations.environment = environment;
@@ -8153,6 +8196,7 @@ var index_default = Memnexus;
8153
8196
  EntitiesService,
8154
8197
  Environment,
8155
8198
  FactsService,
8199
+ FeedbackService,
8156
8200
  GraphragService,
8157
8201
  HealthService,
8158
8202
  InvitesService,