@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.
- package/README.md +187 -33
- package/dist/components/button/OpenAssistantButton.d.ts +3 -3
- package/dist/components/button/OpenAssistantButton.d.ts.map +1 -1
- package/dist/components/button/OpenAssistantSplitButton.d.ts +2 -2
- package/dist/components/button/OpenAssistantSplitButton.d.ts.map +1 -1
- package/dist/components/button/QueryWithAssistantButton.d.ts +2 -2
- package/dist/components/button/QueryWithAssistantButton.d.ts.map +1 -1
- package/dist/components/input/AITextArea.d.ts +1 -1
- package/dist/components/input/AITextArea.d.ts.map +1 -1
- package/dist/components/input/AITextInput.d.ts +1 -1
- package/dist/components/input/AITextInput.d.ts.map +1 -1
- package/dist/components/input/useAIGeneration.d.ts.map +1 -1
- package/dist/components/prompt-card/AssistantPromptCard.d.ts +2 -2
- package/dist/components/prompt-card/AssistantPromptCard.d.ts.map +1 -1
- package/dist/context/agentSkill.d.ts +69 -0
- package/dist/context/agentSkill.d.ts.map +1 -0
- package/dist/context/base.d.ts.map +1 -1
- package/dist/context/chat.d.ts.map +1 -1
- package/dist/context/component.d.ts.map +1 -1
- package/dist/context/dashboard.d.ts.map +1 -1
- package/dist/context/datasource.d.ts.map +1 -1
- package/dist/context/entity.d.ts.map +1 -1
- package/dist/context/factory.d.ts.map +1 -1
- package/dist/context/index.d.ts +1 -0
- package/dist/context/index.d.ts.map +1 -1
- package/dist/context/label.d.ts.map +1 -1
- package/dist/context/page.d.ts.map +1 -1
- package/dist/context/skill.d.ts.map +1 -1
- package/dist/context/types.d.ts +15 -1
- package/dist/context/types.d.ts.map +1 -1
- package/dist/esm/components/button/OpenAssistantButton.js +2 -2
- package/dist/esm/components/button/OpenAssistantSplitButton.js +1 -0
- package/dist/esm/components/button/OpenAssistantSplitButton.js.map +1 -1
- package/dist/esm/components/input/useAIGeneration.js +14 -1
- package/dist/esm/components/input/useAIGeneration.js.map +1 -1
- package/dist/esm/components/prompt-card/AssistantPromptCard.js.map +1 -1
- package/dist/esm/context/agentSkill.js +70 -0
- package/dist/esm/context/agentSkill.js.map +1 -0
- package/dist/esm/context/base.js.map +1 -1
- package/dist/esm/context/chat.js +1 -0
- package/dist/esm/context/chat.js.map +1 -1
- package/dist/esm/context/component.js.map +1 -1
- package/dist/esm/context/factory.js +6 -4
- package/dist/esm/context/factory.js.map +1 -1
- package/dist/esm/context/index.js +1 -0
- package/dist/esm/context/index.js.map +1 -1
- package/dist/esm/context/page.js.map +1 -1
- package/dist/esm/context/questions.js +20 -26
- package/dist/esm/context/questions.js.map +1 -1
- package/dist/esm/extension/extension.js +8 -9
- package/dist/esm/extension/extension.js.map +1 -1
- package/dist/esm/extension/index.js +2 -1
- package/dist/esm/extension/index.js.map +1 -1
- package/dist/esm/extension/suggestionContexts.js +35 -0
- package/dist/esm/extension/suggestionContexts.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/inline/index.js.map +1 -1
- package/dist/esm/inline/inlineAssistant.js +1 -1
- package/dist/esm/inline/inlineAssistant.js.map +1 -1
- package/dist/esm/inline/useInlineAssistant.js +8 -3
- package/dist/esm/inline/useInlineAssistant.js.map +1 -1
- package/dist/esm/investigations/api.gen.js +6 -0
- package/dist/esm/investigations/api.gen.js.map +1 -0
- package/dist/esm/investigations/client.js +76 -0
- package/dist/esm/investigations/client.js.map +1 -0
- package/dist/esm/investigations/index.js +3 -0
- package/dist/esm/investigations/index.js.map +1 -0
- package/dist/esm/investigations/observe.js +204 -0
- package/dist/esm/investigations/observe.js.map +1 -0
- package/dist/esm/investigations/types.js +2 -0
- package/dist/esm/investigations/types.js.map +1 -0
- package/dist/esm/k6.js.map +1 -1
- package/dist/esm/lens/investigationLens.js +1 -1
- package/dist/esm/lens/investigationLens.js.map +1 -1
- package/dist/esm/lens/useInvestigationThroughLens.js +3 -1
- package/dist/esm/lens/useInvestigationThroughLens.js.map +1 -1
- package/dist/esm/limits/index.js +1 -1
- package/dist/esm/limits/index.js.map +1 -1
- package/dist/esm/pathfinder.js +41 -0
- package/dist/esm/pathfinder.js.map +1 -0
- package/dist/esm/sidebar.js +40 -20
- package/dist/esm/sidebar.js.map +1 -1
- package/dist/esm/terms/index.js +43 -5
- package/dist/esm/terms/index.js.map +1 -1
- package/dist/esm/tools/toolFactory.js.map +1 -1
- package/dist/esm/utils/errorHandling.js.map +1 -1
- package/dist/esm/utils/theme.js +11 -1
- package/dist/esm/utils/theme.js.map +1 -1
- package/dist/extension/extension.d.ts +243 -90
- package/dist/extension/extension.d.ts.map +1 -1
- package/dist/extension/index.d.ts +2 -1
- package/dist/extension/index.d.ts.map +1 -1
- package/dist/extension/suggestionContexts.d.ts +36 -0
- package/dist/extension/suggestionContexts.d.ts.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inline/index.d.ts +1 -1
- package/dist/inline/index.d.ts.map +1 -1
- package/dist/inline/inlineAssistant.d.ts +19 -6
- package/dist/inline/inlineAssistant.d.ts.map +1 -1
- package/dist/inline/useInlineAssistant.d.ts +5 -1
- package/dist/inline/useInlineAssistant.d.ts.map +1 -1
- package/dist/investigations/api.gen.d.ts +1872 -0
- package/dist/investigations/api.gen.d.ts.map +1 -0
- package/dist/investigations/client.d.ts +8 -0
- package/dist/investigations/client.d.ts.map +1 -0
- package/dist/investigations/index.d.ts +5 -0
- package/dist/investigations/index.d.ts.map +1 -0
- package/dist/investigations/observe.d.ts +10 -0
- package/dist/investigations/observe.d.ts.map +1 -0
- package/dist/investigations/types.d.ts +26 -0
- package/dist/investigations/types.d.ts.map +1 -0
- package/dist/lens/investigationLens.d.ts +0 -5
- package/dist/lens/investigationLens.d.ts.map +1 -1
- package/dist/lens/useInvestigationThroughLens.d.ts.map +1 -1
- package/dist/pathfinder.d.ts +41 -0
- package/dist/pathfinder.d.ts.map +1 -0
- package/dist/sidebar.d.ts +15 -0
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/terms/index.d.ts +8 -0
- package/dist/terms/index.d.ts.map +1 -1
- package/dist/terms/settings.gen.d.ts +565 -50
- package/dist/terms/settings.gen.d.ts.map +1 -1
- package/dist/tools/types.d.ts +3 -3
- package/dist/utils/theme.d.ts.map +1 -1
- 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
|
|
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
|
|
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
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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;;;;;;
|
|
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
|
|
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
|
|
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,
|
|
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;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-
{"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;
|
|
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;AACzD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iBAAkB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U,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,EACnD,UAAU,GAAE,MAAM,GAAG,MAAa,GACjC,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG;IAAE,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CAmFpH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/context/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAqC,MAAM,SAAS,CAAC;AAElF,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAA0B,SAAQ,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;
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/context/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAqC,MAAM,SAAS,CAAC;AAElF,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,M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;
|
|
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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AC5B,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,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA8B,SAAQ,4BAA4B;IACjF,UAAU,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iBAAkB,SAAQ,QAAQ;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAA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CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,CAgBvD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/context/page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/context/page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAK/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAuID;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,cAAc,EAAE,eAAe,EAAE,GAChC,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC,GAAG;IAAE,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CA4DrE;AAID;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GAAG,MAAM,EAC3B,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;
|
|
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"}
|