llm-testrunner-components 1.2.0 → 1.2.1

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.
@@ -1,2 +1,2 @@
1
- import{p as e,b as t}from"./p-DxzhGhec.js";export{s as setNonce}from"./p-DxzhGhec.js";import{g as a}from"./p-GQwFOmwJ.js";var i=()=>{const s=import.meta.url;const t={};if(s!==""){t.resourcesUrl=new URL(".",s).href}return e(t)};i().then((async e=>{await a();return t([["p-2cc09217",[[513,"llm-test-runner",{delayMs:[2,"delay-ms"],useSave:[4,"use-save"],initialTestCases:[16],defaultExpectedOutcomeSchema:[16],testCases:[32],isRunningAll:[32],error:[32],isExportingTestSuite:[32],isExportingTestResults:[32],isSaving:[32],resetSavingState:[64]}],[513,"app-chips",{value:[16],config:[16]}],[513,"app-select",{value:[1],config:[16]}],[513,"app-textarea",{value:[1],config:[16]}]]]],e)}));
1
+ import{p as e,b as t}from"./p-DxzhGhec.js";export{s as setNonce}from"./p-DxzhGhec.js";import{g as a}from"./p-GQwFOmwJ.js";var r=()=>{const s=import.meta.url;const t={};if(s!==""){t.resourcesUrl=new URL(".",s).href}return e(t)};r().then((async e=>{await a();return t([["p-2cc09217",[[513,"llm-test-runner",{delayMs:[2,"delay-ms"],useSave:[4,"use-save"],usePromptEditor:[4,"use-prompt-editor"],initialTestCases:[16],defaultExpectedOutcomeSchema:[16],testCases:[32],isRunningAll:[32],error:[32],isExportingTestSuite:[32],isExportingTestResults:[32],isSaving:[32],resetSavingState:[64]}],[513,"app-chips",{value:[16],config:[16]}],[513,"app-select",{value:[1],config:[16]}],[513,"app-textarea",{value:[1],config:[16]}]]]],e)}));
2
2
  //# sourceMappingURL=llm-testrunner.esm.js.map
@@ -5,6 +5,7 @@ export interface LLMTestRunnerHeaderProps {
5
5
  isRunningAll: boolean;
6
6
  useSave?: boolean;
7
7
  isSaving?: boolean;
8
+ usePromptEditor?: boolean;
8
9
  onImport: (file: File) => void;
9
10
  onExportSuite: () => void;
10
11
  onExportResults: () => void;
@@ -5,6 +5,7 @@ export declare class LLMTestRunner {
5
5
  save: EventEmitter<SavePayload>;
6
6
  delayMs?: number;
7
7
  useSave?: boolean;
8
+ usePromptEditor?: boolean;
8
9
  initialTestCases?: TestCase[];
9
10
  defaultExpectedOutcomeSchema?: ExpectedOutcomeSchema;
10
11
  testCases: TestCase[];
@@ -33,6 +33,10 @@ export namespace Components {
33
33
  "delayMs"?: number;
34
34
  "initialTestCases"?: TestCase[];
35
35
  "resetSavingState": () => Promise<void>;
36
+ /**
37
+ * @default false
38
+ */
39
+ "usePromptEditor"?: boolean;
36
40
  /**
37
41
  * @default false
38
42
  */
@@ -162,6 +166,10 @@ declare namespace LocalJSX {
162
166
  "initialTestCases"?: TestCase[];
163
167
  "onLlmRequest"?: (event: LlmTestRunnerCustomEvent<LLMRequestPayload>) => void;
164
168
  "onSave"?: (event: LlmTestRunnerCustomEvent<SavePayload>) => void;
169
+ /**
170
+ * @default false
171
+ */
172
+ "usePromptEditor"?: boolean;
165
173
  /**
166
174
  * @default false
167
175
  */
@@ -177,6 +185,7 @@ declare namespace LocalJSX {
177
185
  interface LlmTestRunnerAttributes {
178
186
  "delayMs": number;
179
187
  "useSave": boolean;
188
+ "usePromptEditor": boolean;
180
189
  }
181
190
 
182
191
  interface IntrinsicElements {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-testrunner-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A Stencil web component library for LLM test runner functionality",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",