@grafana/assistant 0.1.33 → 0.1.35

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 (129) hide show
  1. package/README.md +187 -33
  2. package/dist/components/button/OpenAssistantButton.d.ts +3 -3
  3. package/dist/components/button/OpenAssistantButton.d.ts.map +1 -1
  4. package/dist/components/button/OpenAssistantSplitButton.d.ts +2 -2
  5. package/dist/components/button/OpenAssistantSplitButton.d.ts.map +1 -1
  6. package/dist/components/button/QueryWithAssistantButton.d.ts +2 -2
  7. package/dist/components/button/QueryWithAssistantButton.d.ts.map +1 -1
  8. package/dist/components/input/AITextArea.d.ts +1 -1
  9. package/dist/components/input/AITextArea.d.ts.map +1 -1
  10. package/dist/components/input/AITextInput.d.ts +1 -1
  11. package/dist/components/input/AITextInput.d.ts.map +1 -1
  12. package/dist/components/input/useAIGeneration.d.ts.map +1 -1
  13. package/dist/components/prompt-card/AssistantPromptCard.d.ts +2 -2
  14. package/dist/components/prompt-card/AssistantPromptCard.d.ts.map +1 -1
  15. package/dist/context/agentSkill.d.ts +69 -0
  16. package/dist/context/agentSkill.d.ts.map +1 -0
  17. package/dist/context/base.d.ts.map +1 -1
  18. package/dist/context/chat.d.ts.map +1 -1
  19. package/dist/context/component.d.ts.map +1 -1
  20. package/dist/context/dashboard.d.ts.map +1 -1
  21. package/dist/context/datasource.d.ts.map +1 -1
  22. package/dist/context/entity.d.ts.map +1 -1
  23. package/dist/context/factory.d.ts.map +1 -1
  24. package/dist/context/index.d.ts +1 -0
  25. package/dist/context/index.d.ts.map +1 -1
  26. package/dist/context/label.d.ts.map +1 -1
  27. package/dist/context/page.d.ts.map +1 -1
  28. package/dist/context/skill.d.ts.map +1 -1
  29. package/dist/context/types.d.ts +15 -1
  30. package/dist/context/types.d.ts.map +1 -1
  31. package/dist/esm/components/button/OpenAssistantButton.js +2 -2
  32. package/dist/esm/components/button/OpenAssistantSplitButton.js +1 -0
  33. package/dist/esm/components/button/OpenAssistantSplitButton.js.map +1 -1
  34. package/dist/esm/components/input/useAIGeneration.js +14 -1
  35. package/dist/esm/components/input/useAIGeneration.js.map +1 -1
  36. package/dist/esm/components/prompt-card/AssistantPromptCard.js.map +1 -1
  37. package/dist/esm/context/agentSkill.js +70 -0
  38. package/dist/esm/context/agentSkill.js.map +1 -0
  39. package/dist/esm/context/base.js.map +1 -1
  40. package/dist/esm/context/chat.js +1 -0
  41. package/dist/esm/context/chat.js.map +1 -1
  42. package/dist/esm/context/component.js.map +1 -1
  43. package/dist/esm/context/factory.js +6 -4
  44. package/dist/esm/context/factory.js.map +1 -1
  45. package/dist/esm/context/index.js +1 -0
  46. package/dist/esm/context/index.js.map +1 -1
  47. package/dist/esm/context/page.js.map +1 -1
  48. package/dist/esm/context/questions.js +20 -26
  49. package/dist/esm/context/questions.js.map +1 -1
  50. package/dist/esm/extension/extension.js +8 -9
  51. package/dist/esm/extension/extension.js.map +1 -1
  52. package/dist/esm/extension/index.js +2 -1
  53. package/dist/esm/extension/index.js.map +1 -1
  54. package/dist/esm/extension/suggestionContexts.js +35 -0
  55. package/dist/esm/extension/suggestionContexts.js.map +1 -0
  56. package/dist/esm/index.js +3 -1
  57. package/dist/esm/index.js.map +1 -1
  58. package/dist/esm/inline/index.js.map +1 -1
  59. package/dist/esm/inline/inlineAssistant.js +1 -1
  60. package/dist/esm/inline/inlineAssistant.js.map +1 -1
  61. package/dist/esm/inline/useInlineAssistant.js +8 -3
  62. package/dist/esm/inline/useInlineAssistant.js.map +1 -1
  63. package/dist/esm/investigations/api.gen.js +6 -0
  64. package/dist/esm/investigations/api.gen.js.map +1 -0
  65. package/dist/esm/investigations/client.js +76 -0
  66. package/dist/esm/investigations/client.js.map +1 -0
  67. package/dist/esm/investigations/index.js +3 -0
  68. package/dist/esm/investigations/index.js.map +1 -0
  69. package/dist/esm/investigations/observe.js +204 -0
  70. package/dist/esm/investigations/observe.js.map +1 -0
  71. package/dist/esm/investigations/types.js +2 -0
  72. package/dist/esm/investigations/types.js.map +1 -0
  73. package/dist/esm/k6.js.map +1 -1
  74. package/dist/esm/lens/investigationLens.js +1 -1
  75. package/dist/esm/lens/investigationLens.js.map +1 -1
  76. package/dist/esm/lens/useInvestigationThroughLens.js +3 -1
  77. package/dist/esm/lens/useInvestigationThroughLens.js.map +1 -1
  78. package/dist/esm/limits/index.js +1 -1
  79. package/dist/esm/limits/index.js.map +1 -1
  80. package/dist/esm/pathfinder.js +41 -0
  81. package/dist/esm/pathfinder.js.map +1 -0
  82. package/dist/esm/sidebar.js +40 -20
  83. package/dist/esm/sidebar.js.map +1 -1
  84. package/dist/esm/terms/index.js +43 -5
  85. package/dist/esm/terms/index.js.map +1 -1
  86. package/dist/esm/tools/toolFactory.js.map +1 -1
  87. package/dist/esm/utils/errorHandling.js.map +1 -1
  88. package/dist/esm/utils/theme.js +11 -1
  89. package/dist/esm/utils/theme.js.map +1 -1
  90. package/dist/extension/extension.d.ts +243 -90
  91. package/dist/extension/extension.d.ts.map +1 -1
  92. package/dist/extension/index.d.ts +2 -1
  93. package/dist/extension/index.d.ts.map +1 -1
  94. package/dist/extension/suggestionContexts.d.ts +36 -0
  95. package/dist/extension/suggestionContexts.d.ts.map +1 -0
  96. package/dist/index.d.ts +3 -1
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +1 -1
  99. package/dist/index.js.map +1 -1
  100. package/dist/inline/index.d.ts +1 -1
  101. package/dist/inline/index.d.ts.map +1 -1
  102. package/dist/inline/inlineAssistant.d.ts +19 -6
  103. package/dist/inline/inlineAssistant.d.ts.map +1 -1
  104. package/dist/inline/useInlineAssistant.d.ts +5 -1
  105. package/dist/inline/useInlineAssistant.d.ts.map +1 -1
  106. package/dist/investigations/api.gen.d.ts +1872 -0
  107. package/dist/investigations/api.gen.d.ts.map +1 -0
  108. package/dist/investigations/client.d.ts +8 -0
  109. package/dist/investigations/client.d.ts.map +1 -0
  110. package/dist/investigations/index.d.ts +5 -0
  111. package/dist/investigations/index.d.ts.map +1 -0
  112. package/dist/investigations/observe.d.ts +10 -0
  113. package/dist/investigations/observe.d.ts.map +1 -0
  114. package/dist/investigations/types.d.ts +26 -0
  115. package/dist/investigations/types.d.ts.map +1 -0
  116. package/dist/lens/investigationLens.d.ts +0 -5
  117. package/dist/lens/investigationLens.d.ts.map +1 -1
  118. package/dist/lens/useInvestigationThroughLens.d.ts.map +1 -1
  119. package/dist/pathfinder.d.ts +41 -0
  120. package/dist/pathfinder.d.ts.map +1 -0
  121. package/dist/sidebar.d.ts +15 -0
  122. package/dist/sidebar.d.ts.map +1 -1
  123. package/dist/terms/index.d.ts +8 -0
  124. package/dist/terms/index.d.ts.map +1 -1
  125. package/dist/terms/settings.gen.d.ts +565 -50
  126. package/dist/terms/settings.gen.d.ts.map +1 -1
  127. package/dist/tools/types.d.ts +3 -3
  128. package/dist/utils/theme.d.ts.map +1 -1
  129. package/package.json +21 -18
package/README.md CHANGED
@@ -69,6 +69,20 @@ openAssistant({
69
69
  origin: 'grafana-slo-app/some-page',
70
70
  });
71
71
 
72
+ // Open a new conversation with one Agent Skill already attached, named by the token a user
73
+ // types after `/`. Never a handle or the server-issued selection id.
74
+ //
75
+ // This is a request, not a grant: the composer resolves the name against the catalog that user
76
+ // may already attach from, so an unknown, switched-off or unsupported name attaches nothing and
77
+ // says so, without revealing which. Naming a skill never auto-sends — whoever opens the link
78
+ // sees what it attached before anything reaches the model — and pins Assistant mode unless a
79
+ // `mode` is given. Ignored alongside `chatId`; a skill attaches to a new conversation only.
80
+ openAssistant({
81
+ origin: 'grafana-pathfinder-app/authoring-link',
82
+ prompt: 'Turn these steps into an interactive guide',
83
+ agentSkillInvocationName: 'pathfinder-authoring',
84
+ });
85
+
72
86
  // Close the assistant
73
87
  closeAssistant();
74
88
  ```
@@ -464,54 +478,57 @@ const namespace = newFunctionNamespace('myPlugin', myFunctions);
464
478
  export const getExtensionConfigs = () => [getExposeAssistantFunctionsConfig([namespace])];
465
479
  ```
466
480
 
467
- ### Contributing Assistant Extensions (Experimental)
468
-
469
- > **Experimental:** this API is under active development and may change in future releases. It requires a Grafana version with `AppPlugin.addFunction()` / `addedFunctions` support (February 2025+, covered by this package's `>=12.1.0` peer dependency floor).
481
+ ### Contributing Assistant extensions (experimental)
470
482
 
471
- An app plugin can contribute to the Grafana Assistant — rich in-chat cards and widgets ("chits"), proposed first messages ("starters"), custom artifact kinds for the canvas, and mode/system-prompt contributions — by registering a manifest function against the `ASSISTANT_EXTENSION_POINT`:
483
+ An app plugin can add conversation starters, expanded tool details, inline reply components, and custom artifact renderers to Grafana Assistant. Register one `AssistantExtensionManifest` with `getAssistantExtensionConfig`:
472
484
 
473
485
  ```typescript
474
486
  import { AppPlugin } from '@grafana/data';
475
- import { getAssistantExtensionConfig, AssistantExtensionManifest } from '@grafana/assistant';
487
+ import { SuggestionContext, getAssistantExtensionConfig, type AssistantExtensionManifest } from '@grafana/assistant';
476
488
 
477
489
  const manifest: AssistantExtensionManifest = {
478
490
  schemaVersion: 1,
479
- chits: [{ kind: 'tool-card', toolNames: ['myplugin_run_check'], component: MyToolCard }],
480
- starters: [{ label: 'Run a check', message: 'Run a check against my production environment' }],
481
- artifactKinds: [
482
- {
483
- ext: '.grafana-myplugin-app.check',
484
- label: 'Check',
485
- icon: 'check',
486
- tabPriority: 0, // ascending: lower promotes earlier, among your own kinds (built-ins always come first)
487
- validate: (data) => isCheck(data),
488
- renderer: CheckRenderer,
489
- },
490
- ],
491
- promptContributions: [
492
- {
493
- modeId: 'authoring',
494
- label: 'Check authoring',
495
- description: 'Author checks with guided help',
496
- whenToUse: 'When the user asks to create or edit checks',
497
- compose: 'append',
498
- prompt: 'You can author checks using the myplugin tools.',
499
- },
500
- ],
491
+ starters: [{
492
+ label: 'Review service errors',
493
+ message: 'Help me review recent service errors in this stack.',
494
+ contexts: [SuggestionContext.Alerting, SuggestionContext.Logs, SuggestionContext.Workspace],
495
+ }],
501
496
  };
502
497
 
503
498
  export const plugin = new AppPlugin().addFunction(getAssistantExtensionConfig(manifest));
504
499
  ```
505
500
 
506
- Artifact renderers and toolbars receive their `node` plus `fs: AssistantArtifactFs` — a read-only handle (`list`/`read`/`has`) over the conversation's artifact filesystem. It includes other plugins' and built-in artifacts by design (composition is the point). There is no write surface: artifact writes happen only through the Assistant's validated `write_artifact` path, and renderers must treat `fs` as the only artifact-content source besides their own node.
501
+ Starter `contexts` is an optional list of `SuggestionContext` values exported by `@grafana/assistant`. A starter is eligible when any listed context matches the current route (including nested routes). Eligible plugin starters share randomized selection with built-in route suggestions in the sidebar and Workspace; registration does not guarantee a visible slot. Omit `contexts` to limit the starter to the contributing plugin’s `/a/<pluginId>` routes. An empty list disables the starter. Invalid contexts cause the host to drop that starter rather than broaden its scope. Generic suggestions fill remaining slots.
502
+
503
+ Also add these fields to your existing `plugin.json`:
504
+
505
+ ```json
506
+ {
507
+ "preload": true,
508
+ "extensions": {
509
+ "addedFunctions": [{
510
+ "title": "assistant-extension",
511
+ "targets": ["grafana-assistant-app/extension/v1"]
512
+ }]
513
+ }
514
+ }
515
+ ```
516
+
517
+ Use Grafana 12.1 or later and an Assistant environment with `assistant.frontend.plugin-extensions` enabled. `preload: true` supports Grafana 12.1, whose extension loader doesn't discover function-only declarations. Add the function to your existing `AppPlugin` if you already have one. Keep the manifest and its component/function references stable after registration.
518
+
519
+ Use `starters` for attributed first messages on empty chats; use `provideQuestions` for page-specific suggestions. The supported `chits` kinds are `tool-details` and `inline`. Artifact writes use `artifact_files`; renderers receive a read-only conversation filesystem.
520
+
521
+ The manifest also accepts `skills` and `promptContributions`. Skills currently appear in settings but aren't loaded by the model. Modes require `assistant.frontend.plugin-extensions-prompt` and your plugin ID in `assistant.frontend.plugin-extensions-prompt-allowlist`, in addition to the master flag. An operator can disable all contributions with `assistant.frontend.plugin-extensions-enabled.<pluginId>`.
507
522
 
508
- `starters` are proposed first messages shown on fresh chats, visibly attributed to your plugin; selecting one sends `message` as an ordinary, user-visible user message. They are never auto-sent, never hidden, and never modify the system prompt. The Assistant enforces bounds: max 3 starters per plugin, `message` up to 500 characters, `label` up to 80 characters — entries beyond a cap are dropped whole.
523
+ Browser registration does not enable skill activation, even when the builtin Agent Skills runtime is enabled. The proposed plugin activation contract requires trusted server integration and a supported runtime surface. Automatic discovery additionally requires a short author hint, `whenToUse`, which is not yet part of this SDK. Existing manifests remain valid for inspection and would be manual-only without a hint once manual plugin activation ships.
509
524
 
510
- #### Starters vs provideQuestions
525
+ Inline components can supply `prompt` (up to 4096 UTF-8 bytes) to explain when to emit their tag in normal chat, without selecting a mode. This is attributed chat context, not a system-prompt override. Set `selfClosing: true` for a childless marker such as `<grafana_myplugin_app_result name="checkout" />`; the host recovers saved bare/backticked tag names and suppresses identical duplicates outside code.
511
526
 
512
- Use [`provideQuestions`](#questions-system) to suggest questions on pages your plugin already runs on — it is URL-scoped, goes through the page-context registry, requires your module to be loaded on that page, and is unattributed. Use manifest `starters` for proposed first messages in the Assistant's fresh chats anywhere — they travel over the extension point (your module is loaded on demand), are visibly attributed to your plugin, are governed by the Assistant's per-plugin kill switch and caps, and will be statically declarable in the future. Both intentionally share the same rendering surface and send path.
527
+ Use `InlineChitProps` to receive `turn.isStreaming` and `turn.tools` (message-local tool names, IDs, and unknown inputs). Validate inputs in your plugin. A stopped turn is also non-streaming; this is not a success signal. Older hosts omit `turn` and ignore the new fields. The [inline integration example](../../../docs/sources/reference/plugin-extensions.md#use-tool-inputs-and-wait-for-the-turn) shows how to keep a scene stable after its first settled render.
513
528
 
514
- Also declare the target under `extensions.addedFunctions` in your `plugin.json`. The manifest function must be pure and stable: the same environment must always produce the same (deep-equal) manifest — gate on your own feature flags before registering rather than returning a varying manifest. Everything in the manifest is JSON-serializable except component and function references.
529
+ For a larger view, add `display: 'block'` with `selfClosing: true`. It uses the same tag but renders below the message text, outside Markdown paragraphs, at the available message width with keyboard-accessible horizontal scrolling. Omitted `display` keeps inline placement. `InlineChitDisplay` exports the two display values.
530
+
531
+ This API is experimental and may change between releases. For contribution examples, ownership rules, limits, and troubleshooting, refer to the [plugin extensions guide](../../../docs/sources/reference/plugin-extensions.md).
515
532
 
516
533
  ### Using the OpenAssistantButton Component
517
534
 
@@ -1019,6 +1036,129 @@ export function WeatherComponent() {
1019
1036
  }
1020
1037
  ```
1021
1038
 
1039
+ #### Configuring the agent and calling it without React
1040
+
1041
+ By default the inline assistant suits short content generation: at most 5 model calls per prompt, the smaller model, no reasoning, and 4096 output tokens per call.
1042
+ For agentic work, such as discovery with your own tools before answering, pass an `InlineAssistantConfig` to `useInlineAssistant(config)` or, without React, to the inline assistant factory.
1043
+ The config is fixed for the life of the instance and applies to every prompt sent to it.
1044
+
1045
+ | Field | Allowed values | Default |
1046
+ | --- | --- | --- |
1047
+ | `maxSteps` | integer from 1 to 76; the agent stops after the last model call | `5` |
1048
+ | `weak` | `true` for the smaller, faster model, `false` for the standard one | `true` |
1049
+ | `reasoningLevel` | `'none'`, `'low'`, `'medium'`, `'high'`, `'xhigh'`, `'max'` | `'none'` |
1050
+ | `maxTokens` | integer from 1 to 16000 output tokens per model call | `4096` |
1051
+
1052
+ `ensureInlineAssistantInitialized` loads the implementation on first use.
1053
+ The factory returns an `InlineAssistant` that owns one conversation: each `sendPrompt` continues it, so you can answer a question the model asked in the next prompt.
1054
+ Call `dispose()` when you are done.
1055
+
1056
+ ```typescript
1057
+ import { ensureInlineAssistantInitialized, getInlineAssistantFactory } from '@grafana/assistant';
1058
+
1059
+ await ensureInlineAssistantInitialized();
1060
+ const assistant = await getInlineAssistantFactory()('my-plugin/planner', {
1061
+ maxSteps: 30,
1062
+ weak: false,
1063
+ reasoningLevel: 'medium',
1064
+ maxTokens: 8000,
1065
+ });
1066
+ try {
1067
+ await assistant.sendPrompt({
1068
+ prompt: 'Plan the checks for this requirement: ...',
1069
+ systemPrompt: 'Explore with the tools, then call submit_plan once.',
1070
+ tools: [listDatasourcesTool, queryTool, submitPlanTool],
1071
+ onComplete: (text) => console.log(text),
1072
+ onError: (err) => console.error(err),
1073
+ });
1074
+ } finally {
1075
+ assistant.dispose();
1076
+ }
1077
+ ```
1078
+
1079
+ The implementation comes from the installed Grafana Assistant, which can be older than your copy of the SDK.
1080
+ Releases that predate `InlineAssistantConfig` ignore it and run with the defaults.
1081
+ An invalid value makes the factory reject before any conversation is created; the hook reports it through `onError` and `error`.
1082
+
1083
+ ### Creating and monitoring investigations
1084
+
1085
+ Use `createInvestigation`, `getInvestigationStatus`, and `getInvestigationReport` from a Grafana plugin. These methods call the public-preview v2 API through Grafana's plugin proxy as the signed-in user. They require a backend with the v2 investigation routes enabled. Do not embed service account tokens in browser code; use the [HTTP API](../../../docs/sources/reference/http-apis/_index.md#manage-investigations) for server-side integrations.
1086
+
1087
+ ```typescript
1088
+ import { createInvestigation, getInvestigationStatus, getInvestigationReport } from '@grafana/assistant';
1089
+
1090
+ // Call from an explicit user action. The caller awaits and handles failures.
1091
+ async function startInvestigation(signal: AbortSignal) {
1092
+ return createInvestigation({ instruction: 'Investigate elevated API latency' }, { signal });
1093
+ }
1094
+
1095
+ // Call on refresh or from a polling loop with an interval and a deadline.
1096
+ async function readInvestigation(investigationId: string, signal: AbortSignal) {
1097
+ const status = await getInvestigationStatus(investigationId, { signal });
1098
+ const report = status.state === 'completed'
1099
+ ? await getInvestigationReport(investigationId, { signal })
1100
+ : undefined;
1101
+ return { status, report };
1102
+ }
1103
+ ```
1104
+
1105
+ | Method | Result |
1106
+ | --- | --- |
1107
+ | `createInvestigation(input, options?)` | `CreatedInvestigation`: `investigationId` and `chatId`. Input includes required `instruction` and optional `title`, `labels`, and `teamNames`. |
1108
+ | `getInvestigationStatus(investigationId, options?)` | `InvestigationStatus`: identifiers, optional `state`, title, summary, and failure or completion details. |
1109
+ | `getInvestigationReport(investigationId, options?)` | `InvestigationReport`: `investigationId`, `reportPending`, and optional `reportSpec` and `reportContent`. |
1110
+
1111
+ Results are unwrapped from the HTTP success envelope and validated at runtime. The exported types derive from the backend OpenAPI schema. Each call makes one request; the SDK doesn't poll, retry, or display error notifications. Every method accepts `{ signal?: AbortSignal }`. Aborting stops waiting for the request; it doesn't cancel an investigation already created on the server. A failed or aborted create request can still have started an investigation, so don't retry it automatically.
1112
+
1113
+ Use the returned `investigationId` for reads. The separate `chatId` identifies the backing conversation. Poll `state`: `pending` and `in_progress` indicate ongoing work; `completed`, `failed`, and `cancelled` stop ordinary polling; `paused` needs intervention. State is an optional, open string: bound polling with a deadline and handle unfamiliar or absent states explicitly.
1114
+
1115
+ A report can be absent even when `reportPending` is false. A snapshot can return 404 before its session starts; status reads remain the lifecycle source. Report retrieval also works during an investigation when a snapshot exists. Render `reportContent` as text or sanitized Markdown, never as trusted HTML.
1116
+
1117
+ Handle rejected promises in your UI. HTTP failures preserve Grafana's `FetchError` contract (use `isFetchError` from `@grafana/runtime`); malformed responses reject with a validation error. Reads respect the signed-in user's permissions and team visibility. Refer to the HTTP reference for exact permissions and response fields. For live updates, use `observeInvestigation` below.
1118
+
1119
+ For a structured view derived from an existing report, use the lens hook below.
1120
+
1121
+ ### Observing investigation progress
1122
+
1123
+ `observeInvestigation(investigationId): Observable<InvestigationEvent>` watches an existing investigation as the signed-in Grafana user. It requires the v2 investigation APIs and the authenticated chat event stream on the backend. Each subscription starts its own connection and snapshot reads; calling the function alone does no work.
1124
+
1125
+ ```typescript
1126
+ import { observeInvestigation, type InvestigationEvent } from '@grafana/assistant';
1127
+
1128
+ // Pass your UI's update, error, and completion handlers.
1129
+ function watchInvestigation(
1130
+ investigationId: string,
1131
+ onEvent: (event: InvestigationEvent) => void,
1132
+ onError: (error: unknown) => void,
1133
+ onComplete: () => void,
1134
+ ) {
1135
+ const subscription = observeInvestigation(investigationId).subscribe({
1136
+ next: onEvent,
1137
+ error: onError,
1138
+ complete: onComplete,
1139
+ });
1140
+
1141
+ // Call when leaving the view. The investigation keeps running.
1142
+ return () => subscription.unsubscribe();
1143
+ }
1144
+ ```
1145
+
1146
+ | Event | Payload | Meaning |
1147
+ | --- | --- | --- |
1148
+ | `status` | `event.status: InvestigationStatus` | Current persisted lifecycle state, emitted initially and when its fields change. |
1149
+ | `report` | `event.report: InvestigationReport` | Current persisted report snapshot, when available, emitted initially and when its fields change. |
1150
+ | `progress` | `investigationId`, `messageId`, `contentIndex`, `delta` | Live user-visible text. Append deltas separately for each `(messageId, contentIndex)` pair. |
1151
+
1152
+ The first event is a status snapshot. A report snapshot can be absent before the session starts. Live text can arrive while a snapshot is loading. Progress excludes tool inputs, reasoning, and private sub-agent audiences; it is best-effort text, not a complete conversation history or the report itself. Render text safely. Report events contain persisted snapshots rather than every in-flight report edit.
1153
+
1154
+ The observer refreshes persisted state after the stream connects and on relevant notifications, and reconciles about every 5 seconds while idle. Reads are serialized and identical snapshots are suppressed. Stream notifications don't override persisted lifecycle state.
1155
+
1156
+ `completed`, `failed`, and `cancelled` are terminal states. After observing a terminal state and checking the report, the Observable completes when no report is pending. A missing report does not prevent completion. `paused`, unknown, and absent states keep the subscription open. Use the status payload to distinguish success from investigation failure; `complete` means observation finished successfully, not that the investigation succeeded.
1157
+
1158
+ HTTP failures, invalid response/event data, a connection that doesn't open within 30 seconds, or a disconnected stream terminate the subscription through `error`. HTTP errors retain Grafana's `FetchError` shape. Browser event-stream errors don't expose an HTTP status. There is no automatic reconnect: subscribe again to recover current snapshots. Missed text deltas are not replayed, including text produced before the initial connection. Keep partial progress distinct from a complete transcript.
1159
+
1160
+ Unsubscribing closes the event connection, aborts pending reads, and clears timers. It never pauses or cancels server-side work. Multiple subscriptions are independent; share one subscription in your UI when multiple consumers need the same updates. The API observes investigations only and doesn't send prompts or observe regular Assistant conversations.
1161
+
1022
1162
  ### Deriving Structured Views of Investigations (Lens)
1023
1163
 
1024
1164
  The `useInvestigationThroughLens` hook derives a structured, LLM-generated view of an investigation's report, shaped by a JSON Schema you provide. Use it when a host plugin (for example, IRM) holds an `investigationId` and wants a compact, typed digest of the investigation — an executive headline, contributing factors, follow-up actions — without rendering the full report.
@@ -1173,7 +1313,7 @@ try {
1173
1313
 
1174
1314
  #### `openAssistant(props: OpenAssistantProps): void`
1175
1315
 
1176
- Opens the Grafana Assistant sidebar.
1316
+ Opens the Grafana Assistant sidebar. Repeated calls with the same prompt and context are processed even while the sidebar remains open. Calls without `chatId` start a new conversation; calls with `chatId` target that conversation.
1177
1317
 
1178
1318
  **Parameters:**
1179
1319
 
@@ -1646,6 +1786,20 @@ export type ComponentImplementation;
1646
1786
  export type NamedComponents;
1647
1787
  ```
1648
1788
 
1789
+
1790
+ ### Plugin filesystems (experimental)
1791
+
1792
+ Extension manifests can provide `filesystem: AssistantFilesystemContribution` to
1793
+ mount live text/JSON files at `/plugins/<registered-plugin-id>/`. Required callbacks
1794
+ are `read`, `list`, and `metadata`; optional `create` and conditional `write` enable
1795
+ mutations. Each receives the current Grafana namespace; the owning backend must
1796
+ authorize every operation. An optional `agentGuide` is demand-loaded as the mount's
1797
+ read-only `AGENT.md`.
1798
+
1799
+ Registered artifact kinds can render mounted files in the canvas. Ordinary files
1800
+ remain tool-accessible. Reads and listings never attach artifacts. Refer to the
1801
+ [filesystem contract and example](../../../docs/sources/reference/plugin-extensions.md#expose-a-filesystem).
1802
+
1649
1803
  ## License
1650
1804
 
1651
1805
  Apache-2.0
@@ -21,12 +21,12 @@ export interface OpenAssistantButtonProps {
21
21
  /**
22
22
  * A button component that opens the Grafana Assistant with configurable prompt and context.
23
23
  */
24
- export declare function OpenAssistantButton(props: OpenAssistantButtonProps): import("react/jsx-runtime").JSX.Element | null;
24
+ export declare function OpenAssistantButton(props: OpenAssistantButtonProps): import("react").JSX.Element | null;
25
25
  /**
26
- * Presentational component separated from OpenAssistantButton to avoid hook dependencies in Storybook.
26
+ * Presentational component separated from OpenAssistantButton to avoid hook dependencies in previews.
27
27
  * It is not exported for users of the package.
28
28
  */
29
29
  export declare function OpenAssistantButtonView({ prompt, origin, context, autoSend, title, size, iconOnlyButton, openAssistant, onClick, }: OpenAssistantButtonProps & {
30
30
  openAssistant: (props: OpenAssistantProps) => void;
31
- }): import("react/jsx-runtime").JSX.Element;
31
+ }): import("react").JSX.Element;
32
32
  //# sourceMappingURL=OpenAssistantButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAssistantButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/OpenAssistantButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,iUAAiU;IACjU,MAAM,EAAE,MAAM,CAAC;IACf,iIAAiI;IACjI,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,6FAA6F;IAC7F,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,kDAOlE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAe,EACf,KAAgC,EAChC,IAAW,EACX,cAAsB,EACtB,aAAa,EACb,OAAO,GACR,EAAE,wBAAwB,GAAG;IAC5B,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD,2CA6CA"}
1
+ {"version":3,"file":"OpenAssistantButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/OpenAssistantButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,iUAAiU;IACjU,MAAM,EAAE,MAAM,CAAC;IACf,iIAAiI;IACjI,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,6FAA6F;IAC7F,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,sCAOlE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAe,EACf,KAAgC,EAChC,IAAW,EACX,cAAsB,EACtB,aAAa,EACb,OAAO,GACR,EAAE,wBAAwB,GAAG;IAC5B,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD,+BA6CA"}
@@ -27,8 +27,8 @@ export interface OpenAssistantSplitButtonProps {
27
27
  * A split button component that opens the Grafana Assistant with a dropdown for additional actions.
28
28
  * The gradient border wraps around both buttons as a unified control.
29
29
  */
30
- export declare function OpenAssistantSplitButton(props: OpenAssistantSplitButtonProps): import("react/jsx-runtime").JSX.Element | null;
30
+ export declare function OpenAssistantSplitButton(props: OpenAssistantSplitButtonProps): import("react").JSX.Element | null;
31
31
  export declare function OpenAssistantSplitButtonView({ prompt, origin, context, autoSend, title, size, onClick, menuItems, tooltip, dropdownButtonWidth, openAssistant, }: OpenAssistantSplitButtonProps & {
32
32
  openAssistant: (props: OpenAssistantProps) => void;
33
- }): import("react/jsx-runtime").JSX.Element;
33
+ }): import("react").JSX.Element;
34
34
  //# sourceMappingURL=OpenAssistantSplitButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OpenAssistantSplitButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/OpenAssistantSplitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+FAA+F;IAC/F,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACvC;AAUD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,kDAM5E;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAe,EACf,KAA6B,EAC7B,IAAW,EACX,OAAO,EACP,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,aAAa,GACd,EAAE,6BAA6B,GAAG;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD,2CAiDA"}
1
+ {"version":3,"file":"OpenAssistantSplitButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/OpenAssistantSplitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,sFAAsF;IACtF,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+FAA+F;IAC/F,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACvC;AAUD;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,sCAM5E;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAe,EACf,KAA6B,EAC7B,IAAW,EACX,OAAO,EACP,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,aAAa,GACd,EAAE,6BAA6B,GAAG;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD,+BAiDA"}
@@ -7,8 +7,8 @@ export interface QueryWithAssistantButtonProps<TQuery extends DataQuery = DataQu
7
7
  queries: TQuery[];
8
8
  dataSourceInstanceSettings: DataSourceInstanceSettings;
9
9
  app?: CoreApp;
10
- datasourceApi: DataSourceApi<TQuery, DataSourceJsonData, {}> | null;
10
+ datasourceApi: DataSourceApi<TQuery, DataSourceJsonData> | null;
11
11
  title?: string;
12
12
  }
13
- export declare function QueryWithAssistantButton<TQuery extends DataQuery = DataQuery>({ size, currentQuery, queries, dataSourceInstanceSettings, app, datasourceApi, title, }: QueryWithAssistantButtonProps<TQuery>): import("react/jsx-runtime").JSX.Element | null;
13
+ export declare function QueryWithAssistantButton<TQuery extends DataQuery = DataQuery>({ size, currentQuery, queries, dataSourceInstanceSettings, app, datasourceApi, title, }: QueryWithAssistantButtonProps<TQuery>): import("react").JSX.Element | null;
14
14
  //# sourceMappingURL=QueryWithAssistantButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryWithAssistantButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/QueryWithAssistantButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoBjD,MAAM,WAAW,6BAA6B,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS;IACjF,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,aAAa,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS,EAAE,EAC7E,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,0BAA0B,EAC1B,GAAG,EACH,aAAa,EACb,KAA8B,GAC/B,EAAE,6BAA6B,CAAC,MAAM,CAAC,kDAsEvC"}
1
+ {"version":3,"file":"QueryWithAssistantButton.d.ts","sourceRoot":"","sources":["../../../src/components/button/QueryWithAssistantButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoBjD,MAAM,WAAW,6BAA6B,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS;IACjF,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,aAAa,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS,EAAE,EAC7E,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,0BAA0B,EAC1B,GAAG,EACH,aAAa,EACb,KAA8B,GAC/B,EAAE,6BAA6B,CAAC,MAAM,CAAC,sCAsEvC"}
@@ -7,5 +7,5 @@ export interface AITextAreaProps extends AIInputProps {
7
7
  * An AI-powered controlled textarea component that uses the Grafana Assistant engine to generate content.
8
8
  * Features an integrated send button as well as a gradient border animation while generating.
9
9
  */
10
- export declare function AITextArea({ value, onChange, placeholder, origin, systemPrompt, onComplete, onError, onDelta, disabled, autoGenerate, streaming, getUserPrompt, rows, className, 'data-testid': dataTestId, }: AITextAreaProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function AITextArea({ value, onChange, placeholder, origin, systemPrompt, onComplete, onError, onDelta, disabled, autoGenerate, streaming, getUserPrompt, rows, className, 'data-testid': dataTestId, }: AITextAreaProps): import("react").JSX.Element;
11
11
  //# sourceMappingURL=AITextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AITextArea.d.ts","sourceRoot":"","sources":["../../../src/components/input/AITextArea.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,EACb,IAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,GAC1B,EAAE,eAAe,2CAwDjB"}
1
+ {"version":3,"file":"AITextArea.d.ts","sourceRoot":"","sources":["../../../src/components/input/AITextArea.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,EACb,IAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,GAC1B,EAAE,eAAe,+BAwDjB"}
@@ -5,5 +5,5 @@ export interface AITextInputProps extends AIInputProps {
5
5
  * An AI-powered controlled text input component that uses the Grafana Assistant engine to generate content.
6
6
  * Features an integrated send button as well as a gradient border animation while generating.
7
7
  */
8
- export declare function AITextInput({ value, onChange, placeholder, origin, systemPrompt, onComplete, onError, onDelta, disabled, autoGenerate, streaming, getUserPrompt, className, 'data-testid': dataTestId, }: AITextInputProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function AITextInput({ value, onChange, placeholder, origin, systemPrompt, onComplete, onError, onDelta, disabled, autoGenerate, streaming, getUserPrompt, className, 'data-testid': dataTestId, }: AITextInputProps): import("react").JSX.Element;
9
9
  //# sourceMappingURL=AITextInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AITextInput.d.ts","sourceRoot":"","sources":["../../../src/components/input/AITextInput.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,gBAAiB,SAAQ,YAAY;CAAG;AAEzD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,EACb,SAAS,EACT,aAAa,EAAE,UAAU,GAC1B,EAAE,gBAAgB,2CAiDlB"}
1
+ {"version":3,"file":"AITextInput.d.ts","sourceRoot":"","sources":["../../../src/components/input/AITextInput.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI5C,MAAM,WAAW,gBAAiB,SAAQ,YAAY;CAAG;AAEzD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,EACb,SAAS,EACT,aAAa,EAAE,UAAU,GAC1B,EAAE,gBAAgB,+BAiDlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAIGeneration.d.ts","sourceRoot":"","sources":["../../../src/components/input/useAIGeneration.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,GACd,EAAE,sBAAsB;;;;;;EA+DxB"}
1
+ {"version":3,"file":"useAIGeneration.d.ts","sourceRoot":"","sources":["../../../src/components/input/useAIGeneration.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,YAAoB,EACpB,SAAiB,EACjB,aAAa,GACd,EAAE,sBAAsB;;;;;;EA0ExB"}
@@ -26,9 +26,9 @@ export interface AssistantPromptCardProps {
26
26
  * A prompt card component that opens the Grafana Assistant with a user-typed prompt and context.
27
27
  * Renders nothing if the assistant is not available. Positioning is the consumer's responsibility.
28
28
  */
29
- export declare function AssistantPromptCard(props: AssistantPromptCardProps): import("react/jsx-runtime").JSX.Element | null;
29
+ export declare function AssistantPromptCard(props: AssistantPromptCardProps): import("react").JSX.Element | null;
30
30
  export interface AssistantPromptCardViewProps extends AssistantPromptCardProps {
31
31
  openAssistant: (props: OpenAssistantProps) => void;
32
32
  }
33
- export declare function AssistantPromptCardView({ origin, context, mode, placeholder, examplePrompts, animated, onClose, onSubmit, onClick, className, openAssistant, }: AssistantPromptCardViewProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function AssistantPromptCardView({ origin, context, mode, placeholder, examplePrompts, animated, onClose, onSubmit, onClick, className, openAssistant, }: AssistantPromptCardViewProps): import("react").JSX.Element;
34
34
  //# sourceMappingURL=AssistantPromptCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssistantPromptCard.d.ts","sourceRoot":"","sources":["../../../src/components/prompt-card/AssistantPromptCard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIxD,MAAM,WAAW,wBAAwB;IACvC,yGAAyG;IACzG,MAAM,EAAE,MAAM,CAAC;IACf,kGAAkG;IAClG,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,kDAMlE;AAED,MAAM,WAAW,4BAA6B,SAAQ,wBAAwB;IAC5E,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,OAAO,EACP,IAAI,EACJ,WAAW,EACX,cAAc,EACd,QAAe,EACf,OAAO,EACP,QAAQ,EACR,OAAO,EACP,SAAS,EACT,aAAa,GACd,EAAE,4BAA4B,2CA0E9B"}
1
+ {"version":3,"file":"AssistantPromptCard.d.ts","sourceRoot":"","sources":["../../../src/components/prompt-card/AssistantPromptCard.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIxD,MAAM,WAAW,wBAAwB;IACvC,yGAAyG;IACzG,MAAM,EAAE,MAAM,CAAC;IACf,kGAAkG;IAClG,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qGAAqG;IACrG,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,sCAMlE;AAED,MAAM,WAAW,4BAA6B,SAAQ,wBAAwB;IAC5E,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACpD;AAED,wBAAgB,uBAAuB,CAAC,EACtC,MAAM,EACN,OAAO,EACP,IAAI,EACJ,WAAW,EACX,cAAc,EACd,QAAe,EACf,OAAO,EACP,QAAQ,EACR,OAAO,EACP,SAAS,EACT,aAAa,GACd,EAAE,4BAA4B,+BA0E9B"}
@@ -0,0 +1,69 @@
1
+ import { type BaseParams, NodeData } from './base';
2
+ import type { ContextItemData } from './types';
3
+ /**
4
+ * Identity of one Agent Skill, as a turn carries it.
5
+ *
6
+ * Every field is supplied verbatim by the backend descriptor. Nothing here is
7
+ * ever parsed to infer type, provider, capability or scope — `selectionId`,
8
+ * `providerId` and `handle` are opaque strings that only ever get compared and
9
+ * echoed back.
10
+ */
11
+ export interface AgentSkillReference {
12
+ /**
13
+ * Server-issued selection id, copied verbatim from the catalog descriptor's
14
+ * own `selectionId` field.
15
+ *
16
+ * The only identity the backend resolves an attachment by. A client must
17
+ * never compute it: the server issues it as a SHA-256 over facts a client
18
+ * does not own, and re-implementing that formula here would couple every
19
+ * client to the server-side detail the opaque id exists to hide. So the value
20
+ * is only ever read off a descriptor, stored, and sent back unchanged.
21
+ */
22
+ selectionId: string;
23
+ /** Identity of the provider that owns the skill package. */
24
+ providerId: string;
25
+ /** Provider-local handle of the skill package. */
26
+ handle: string;
27
+ /** Content revision the attachment was pinned to. */
28
+ revision: string;
29
+ /** Display name shown on the attachment tag. */
30
+ displayName: string;
31
+ }
32
+ export interface CreateAgentSkillContextParams extends BaseParams, AgentSkillReference {
33
+ }
34
+ /**
35
+ * The node id of an Agent Skill attachment: its `selectionId`, unchanged.
36
+ *
37
+ * Identity here is the server's, not a key composed locally. The backend reads
38
+ * an attachment's identity out of this id, so anything composed on the client
39
+ * is an id it cannot resolve — which is why this returns the selection id
40
+ * rather than deriving one. The result is still never parsed: no reader may
41
+ * take it apart to recover a provider, a handle, or anything else.
42
+ *
43
+ * Re-pinning a moved revision still updates an existing tag instead of adding a
44
+ * second one, because a selection id names the package rather than the content
45
+ * revision it currently serves.
46
+ */
47
+ export declare function agentSkillNodeId(reference: Pick<AgentSkillReference, 'selectionId'>): string;
48
+ /**
49
+ * Context item for an Agent Skill attached to a turn with "/".
50
+ *
51
+ * Deliberately a distinct type from {@link SkillNodeData}: that one means a
52
+ * Reference Library item, and attaching one can auto-approve the tools the
53
+ * item declares. An Agent Skill grants no tool permission whatsoever — it
54
+ * carries identity only, and the backend loads the body server-side. The two
55
+ * must never be collapsed into one type, or the Reference Library's
56
+ * allowed-tools behaviour would silently follow Agent Skills.
57
+ */
58
+ export declare class AgentSkillNodeData extends NodeData {
59
+ selectionId: string;
60
+ providerId: string;
61
+ handle: string;
62
+ revision: string;
63
+ displayName: string;
64
+ constructor(params: CreateAgentSkillContextParams);
65
+ /** The reference a request carries. Never a skill body — the backend preloads that. */
66
+ get reference(): AgentSkillReference;
67
+ formatForLLM(codeElementIds?: string[]): ContextItemData;
68
+ }
69
+ //# sourceMappingURL=agentSkill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentSkill.d.ts","sourceRoot":"","sources":["../../src/context/agentSkill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;OASG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,QAAQ,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,6BAA8B,SAAQ,UAAU,EAAE,mBAAmB;CAAG;AAEzF;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,mBAAmB,EAAE,aAAa,CAAC,GAAG,MAAM,CAE5F;AAED;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IAE3B,YAAY,MAAM,EAAE,6BAA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BAAwB,EAG3C;IAED,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAOvD;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/context/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,SAAS,CAAC;AA4B7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,MAAM,mBAAmB,EAC5E,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GACvC,eAAe,CAgBjB"}
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/context/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,SAAS,CAAC;AA6B7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,MAAM,mBAAmB,EAC5E,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GACvC,eAAe,CAgBjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/context/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAIlE,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;A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UAAU;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,iBAAkB,SAAQ,QAAQ;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAE5B,YAAY,MAAM,EAAE,4BAA4B,EAO/C;IAED,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAcvD;CACF;AAED,qBAAa,cAAe,SAAQ,QAAQ;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,SAAM;IAEjB,YAAY,MAAM,EAAE,yBAAyB,EAK5C;IAED,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAYvD;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../src/context/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,SAAS,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;gBAER,MAAM,EAAE,6BAA6B,GAAG,cAAc;IASlE,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe;CAazD"}
1
+ {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../src/context/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAsB,MAAM,SAAS,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,MAAM,EAAE,6BAA6B,GAAG,cAAc,EAOjE;IAED,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAYvD;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/context/entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,SAAS,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE;QACN,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC;AAED,qBAAa,cAAe,SAAQ,QAAQ;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,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C,CAAC,MAAM,CAAC,CAoChC"}
@@ -1,3 +1,4 @@
1
+ export * from './agentSkill';
1
2
  export * from './base';
2
3
  export * from './chat';
3
4
  export * from './component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/context/label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAyC,MAAM,SAAS,CAAC;AAEtF,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS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AC3B,cAAc,GAAE,eAAe,EAAU,GACxC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,IAAI,CAmDtC;AA0BD,wBAAgB,cAAc,CAC5B,OAAO,GAAE;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,eAAe,EAAE,OAAO,CAAA;CAAsD,GACjH,eAAe,EAAE,CA6DnB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,SAAiB,GAAG,MAAM,CAEtE;AAkED;;;;;GAKG;AACH,wBAAgB,oCAAoC,IAAI,IAAI,CAE3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../src/context/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,SAAS,CAAC;AAE9D,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,aAAc,SAAQ,QAAQ;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;gBAEb,MAAM,EAAE,wBAAwB;IAY5C,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe;CAazD"}
1
+ {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../src/context/skill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,SAAS,CAAC;AAE9D,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,aAAc,SAAQ,QAAQ;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAEzB,YAAY,MAAM,EAAE,wBAAwB,EAU3C;IAED,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAYvD;CACF"}