@grafana/assistant 0.1.35 → 0.1.36

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 (64) hide show
  1. package/README.md +110 -0
  2. package/dist/analyticsEvents.d.ts +33 -0
  3. package/dist/analyticsEvents.d.ts.map +1 -0
  4. package/dist/components/button/OpenAssistantButton.d.ts +6 -1
  5. package/dist/components/button/OpenAssistantButton.d.ts.map +1 -1
  6. package/dist/components/grots/GrotAvatar.d.ts +31 -0
  7. package/dist/components/grots/GrotAvatar.d.ts.map +1 -0
  8. package/dist/components/grots/GrotTopicView.d.ts +19 -0
  9. package/dist/components/grots/GrotTopicView.d.ts.map +1 -0
  10. package/dist/components/grots/OpenGrotButton.d.ts +23 -0
  11. package/dist/components/grots/OpenGrotButton.d.ts.map +1 -0
  12. package/dist/components/index.d.ts +3 -0
  13. package/dist/components/index.d.ts.map +1 -1
  14. package/dist/esm/analyticsEvents.js +31 -0
  15. package/dist/esm/analyticsEvents.js.map +1 -0
  16. package/dist/esm/components/button/OpenAssistantButton.js +11 -10
  17. package/dist/esm/components/button/OpenAssistantButton.js.map +1 -1
  18. package/dist/esm/components/button/OpenAssistantSplitButton.js +2 -2
  19. package/dist/esm/components/button/OpenAssistantSplitButton.js.map +1 -1
  20. package/dist/esm/components/grots/GrotAvatar.js +37 -0
  21. package/dist/esm/components/grots/GrotAvatar.js.map +1 -0
  22. package/dist/esm/components/grots/GrotTopicView.js +25 -0
  23. package/dist/esm/components/grots/GrotTopicView.js.map +1 -0
  24. package/dist/esm/components/grots/OpenGrotButton.js +36 -0
  25. package/dist/esm/components/grots/OpenGrotButton.js.map +1 -0
  26. package/dist/esm/components/index.js +3 -0
  27. package/dist/esm/components/index.js.map +1 -1
  28. package/dist/esm/components/prompt-card/AssistantPromptCard.js +2 -2
  29. package/dist/esm/components/prompt-card/AssistantPromptCard.js.map +1 -1
  30. package/dist/esm/grots/avatar/appearance.js +303 -0
  31. package/dist/esm/grots/avatar/appearance.js.map +1 -0
  32. package/dist/esm/grots/avatar/sprite.js +481 -0
  33. package/dist/esm/grots/avatar/sprite.js.map +1 -0
  34. package/dist/esm/grots/client.js +377 -0
  35. package/dist/esm/grots/client.js.map +1 -0
  36. package/dist/esm/grots/index.js +2 -0
  37. package/dist/esm/grots/index.js.map +1 -0
  38. package/dist/esm/grots/retry.js +67 -0
  39. package/dist/esm/grots/retry.js.map +1 -0
  40. package/dist/esm/grots/types.js +2 -0
  41. package/dist/esm/grots/types.js.map +1 -0
  42. package/dist/esm/index.js +1 -0
  43. package/dist/esm/index.js.map +1 -1
  44. package/dist/esm/sidebar.js +4 -3
  45. package/dist/esm/sidebar.js.map +1 -1
  46. package/dist/grots/avatar/appearance.d.ts +82 -0
  47. package/dist/grots/avatar/appearance.d.ts.map +1 -0
  48. package/dist/grots/avatar/sprite.d.ts +84 -0
  49. package/dist/grots/avatar/sprite.d.ts.map +1 -0
  50. package/dist/grots/client.d.ts +130 -0
  51. package/dist/grots/client.d.ts.map +1 -0
  52. package/dist/grots/index.d.ts +3 -0
  53. package/dist/grots/index.d.ts.map +1 -0
  54. package/dist/grots/retry.d.ts +7 -0
  55. package/dist/grots/retry.d.ts.map +1 -0
  56. package/dist/grots/types.d.ts +331 -0
  57. package/dist/grots/types.d.ts.map +1 -0
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/index.js.map +1 -1
  62. package/dist/investigations/api.gen.d.ts +3 -3
  63. package/dist/sidebar.d.ts.map +1 -1
  64. package/package.json +1 -1
@@ -97,7 +97,7 @@ export interface paths {
97
97
  get?: never;
98
98
  /**
99
99
  * Record a user verdict on a hypothesis
100
- * @description Mark a hypothesis confirmed or rejected. These statuses record a human judgment and cannot be set by the agent, which sees the verdict and may still disagree with it. Row-level owner/team/system access is enforced by the handler. Returns 410 Gone when the investigation no longer supports hypothesis verdicts.
100
+ * @description Mark a hypothesis confirmed or rejected. These statuses record a human judgment and cannot be set by the agent, which sees the verdict and may still disagree with it. Row-level owner/team/system access is enforced by the handler.
101
101
  */
102
102
  put: operations['put-investigations-by-investigation-id-hypotheses-by-hypothesis-id-verdict'];
103
103
  post?: never;
@@ -122,7 +122,7 @@ export interface paths {
122
122
  put?: never;
123
123
  /**
124
124
  * Create an investigation watch loop
125
- * @description Create a watch loop that re-checks an investigation on a schedule. Returns 410 Gone when the investigation no longer supports loops; to re-check it on a schedule, ask it to create an automation with POST /api/v1/assistant/chats and its chatId.
125
+ * @description Create a watch loop that re-checks an investigation on a schedule. Returns 410 Gone when the investigation no longer supports loops; to re-check it on a schedule, ask it to create an automation in Assistant Workspace.
126
126
  */
127
127
  post: operations['post-investigations-by-investigation-id-loops'];
128
128
  delete?: never;
@@ -244,7 +244,7 @@ export interface paths {
244
244
  /**
245
245
  * Resume a paused investigation
246
246
  * @deprecated
247
- * @description Deprecated. Resume a paused investigation by setting its state back to in_progress. Returns 410 Gone when the investigation no longer supports resuming; continue it by sending a message with POST /api/v1/assistant/chats and its chatId.
247
+ * @description Deprecated. Resume a paused investigation by setting its state back to in_progress. Returns 410 Gone when the investigation no longer supports resuming; continue it in Assistant Workspace.
248
248
  */
249
249
  post: operations['post-investigations-by-investigation-id-resume'];
250
250
  delete?: never;
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../src/sidebar.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AA4CvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mIAAmI;IACnI,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+GAA+G;IAC/G,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;;;;;OAYG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC;AAqCF;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,QAMtD;AAED;;GAEG;AACH,wBAAgB,cAAc,SAE7B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,kBAAkB,QAOxD"}
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../src/sidebar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AA4CvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mIAAmI;IACnI,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+GAA+G;IAC/G,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;;;;;OAYG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC,CAAC;AAqCF;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,QAMtD;AAED;;GAEG;AACH,wBAAgB,cAAc,SAE7B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,kBAAkB,QAOxD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/assistant",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "Type definitions and helper functions for Grafana Assistant",
5
5
  "repository": {
6
6
  "type": "git",