@kindgi/api 0.1.5-rc.0 → 0.1.5

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 (55) hide show
  1. package/dist/app.js +1 -1
  2. package/dist/app.js.map +1 -1
  3. package/dist/cost-binding.d.ts +19 -0
  4. package/dist/cost-binding.d.ts.map +1 -1
  5. package/dist/cost-binding.js.map +1 -1
  6. package/dist/errors.d.ts.map +1 -1
  7. package/dist/errors.js +2 -0
  8. package/dist/errors.js.map +1 -1
  9. package/dist/middleware/authorize.d.ts +5 -2
  10. package/dist/middleware/authorize.d.ts.map +1 -1
  11. package/dist/middleware/authorize.js +10 -1
  12. package/dist/middleware/authorize.js.map +1 -1
  13. package/dist/openapi/operations.js +1 -1
  14. package/dist/openapi/operations.js.map +1 -1
  15. package/dist/openapi/schemas.js +1 -1
  16. package/dist/openapi/schemas.js.map +1 -1
  17. package/dist/publish-refused.d.ts +12 -2
  18. package/dist/publish-refused.d.ts.map +1 -1
  19. package/dist/publish-refused.js +6 -0
  20. package/dist/publish-refused.js.map +1 -1
  21. package/dist/routes/cost.d.ts +8 -3
  22. package/dist/routes/cost.d.ts.map +1 -1
  23. package/dist/routes/cost.js +56 -4
  24. package/dist/routes/cost.js.map +1 -1
  25. package/dist/routes/deployments.d.ts +8 -0
  26. package/dist/routes/deployments.d.ts.map +1 -1
  27. package/dist/routes/deployments.js +127 -1
  28. package/dist/routes/deployments.js.map +1 -1
  29. package/dist/routes/eval-runs.js +4 -1
  30. package/dist/routes/eval-runs.js.map +1 -1
  31. package/dist/routes/eval-suites.d.ts.map +1 -1
  32. package/dist/routes/eval-suites.js +8 -1
  33. package/dist/routes/eval-suites.js.map +1 -1
  34. package/dist/routes/memory-access.d.ts.map +1 -1
  35. package/dist/routes/memory-access.js +18 -33
  36. package/dist/routes/memory-access.js.map +1 -1
  37. package/dist/routes/readable-projects.d.ts +26 -0
  38. package/dist/routes/readable-projects.d.ts.map +1 -0
  39. package/dist/routes/readable-projects.js +39 -0
  40. package/dist/routes/readable-projects.js.map +1 -0
  41. package/openapi.json +3 -2
  42. package/package.json +21 -21
  43. package/src/app.ts +1 -1
  44. package/src/cost-binding.ts +19 -0
  45. package/src/errors.ts +2 -0
  46. package/src/middleware/authorize.ts +19 -3
  47. package/src/openapi/operations.ts +1 -1
  48. package/src/openapi/schemas.ts +1 -1
  49. package/src/publish-refused.ts +20 -2
  50. package/src/routes/cost.ts +81 -4
  51. package/src/routes/deployments.ts +148 -1
  52. package/src/routes/eval-runs.ts +3 -0
  53. package/src/routes/eval-suites.ts +7 -1
  54. package/src/routes/memory-access.ts +19 -38
  55. package/src/routes/readable-projects.ts +66 -0
@@ -1439,7 +1439,7 @@ export const RetrievalIntentSchema = {
1439
1439
  scope: {
1440
1440
  type: 'string',
1441
1441
  enum: ['same-conversation', 'same-user', 'same-segment', 'same-project', 'tenant'],
1442
- description: "What the intent selects within what the run may see. Facts: this conversation's; this run's end user's and user's; the run's project's (none without a project); or every fact of the type it may see (`tenant`). Conversations: this person's other conversations with the agent (`same-user`); this conversation's messages older than the history window (`same-conversation`); conversations in the run's segment path (`same-segment`) or its project (`same-project`), whoever had them: those two quote other people's conversations, so publishing warns and their messages are marked as another person's. `same-segment` is for conversations only, `tenant` for facts only.",
1442
+ description: "What the intent selects within what the run may see. Facts: this conversation's; the run's end user's only (`same-user`: none when the run names no `participantId`); the run's project's (none without a project); or every fact of the type it may see (`tenant`). Conversations: this end user's other conversations with the agent (`same-user`: none when the run names no `participantId`); this conversation's messages older than the history window (`same-conversation`); conversations in the run's segment path (`same-segment`) or its project (`same-project`), whoever had them: those two quote other people's conversations, so publishing warns and their messages are marked as another person's. `same-segment` is for conversations only, `tenant` for facts only.",
1443
1443
  },
1444
1444
  limit: { type: 'integer', minimum: 1 },
1445
1445
  mode: {