@holokai/holo-test 1.5.0 → 1.5.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.
package/README.md CHANGED
@@ -10,7 +10,7 @@ vitest blocks.
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- npm install @holokai/holo-test
13
+ pnpm add @holokai/holo-test
14
14
  ```
15
15
 
16
16
  Peer dependencies: `vitest ^3.0.0`, `tsyringe ^4.10.0`
@@ -270,7 +270,7 @@ if (isProviderAvailable('openai')) {
270
270
  ```
271
271
 
272
272
  This package's own `tests/live/live.test.ts` exercises `runLiveTest` against every plugin family in both modes; it runs
273
- under the `holo-test-live` vitest project, which `npm run test:live` chains after `app-aio` and `sdk-live`. Tests
273
+ under the `holo-test-live` vitest project, which `pnpm run test:live` chains after `app-aio` and `sdk-live`. Tests
274
274
  auto-skip when the family's API key (or `OLLAMA_HOST`) isn't set.
275
275
 
276
276
  Environment variables for live tests:
@@ -1,4 +1,4 @@
1
1
  import type { IProviderPlugin } from '@holokai/holo-types/plugin';
2
- import type { HoloScenario } from './types';
2
+ import type { HoloScenario } from './types.js';
3
3
  export declare function registerAuditTests(plugin: IProviderPlugin, scenario: HoloScenario): void;
4
4
  //# sourceMappingURL=audit-tests.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { HoloFixture, PluginHoloScenario } from './holo-fixture-types';
1
+ import type { HoloFixture, PluginHoloScenario } from './holo-fixture-types.js';
2
2
  export declare function loadHoloFixtures(): Promise<HoloFixture[]>;
3
3
  export declare function loadPluginHoloScenarios(family: string): Promise<PluginHoloScenario[]>;
4
4
  //# sourceMappingURL=holo-fixture-loader.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import type { IProviderTranslator } from '@holokai/holo-types/provider';
2
- import type { HoloFixture, PluginHoloScenario } from './holo-fixture-types';
2
+ import type { HoloFixture, PluginHoloScenario } from './holo-fixture-types.js';
3
3
  export declare function registerHoloFixtureTests(fixture: HoloFixture, pluginScenarios: Map<string, PluginHoloScenario>, translatorsByFamily: Map<string, IProviderTranslator>): void;
4
4
  //# sourceMappingURL=holo-fixture-tests.d.ts.map
@@ -1,6 +1,6 @@
1
- import type { HoloScenario } from './types';
2
- import type { ScenarioSdkAdapter } from './sdk-tests';
3
- import type { DatastoreConfig } from './datastore-tests';
1
+ import type { HoloScenario } from './types.js';
2
+ import type { ScenarioSdkAdapter } from './sdk-tests.js';
3
+ import type { DatastoreConfig } from './datastore-tests.js';
4
4
  export declare function loadSdkAdapter(family: string): Promise<ScenarioSdkAdapter | undefined>;
5
5
  export declare function loadDatastoreConfig(family: string): Promise<DatastoreConfig | undefined>;
6
6
  export declare function loadScenarios(family: string): Promise<HoloScenario[]>;
@@ -1,4 +1,4 @@
1
1
  import type { IProviderPlugin } from '@holokai/holo-types/plugin';
2
- import type { HoloScenario } from './types';
2
+ import type { HoloScenario } from './types.js';
3
3
  export declare function registerPipelineTests(family: string, plugin: IProviderPlugin, scenario: HoloScenario): void;
4
4
  //# sourceMappingURL=pipeline-tests.d.ts.map
@@ -1,14 +1,14 @@
1
1
  import { describe, it } from 'vitest';
2
- import { discoverDatastorePlugins, discoverPlugins, loadDatastorePlugin, loadPlugin, } from '../services/plugin-loader';
3
- import { loadDatastoreConfig, loadScenarios, loadSdkAdapter } from './loader';
4
- import { loadHoloFixtures, loadPluginHoloScenarios } from './holo-fixture-loader';
5
- import { registerHoloFixtureTests } from './holo-fixture-tests';
6
- import { registerTranslatorTests } from './translator-tests';
7
- import { registerWireTests } from './wire-tests';
8
- import { registerAuditTests } from './audit-tests';
9
- import { registerPipelineTests } from './pipeline-tests';
10
- import { registerSdkTests } from './sdk-tests';
11
- import { registerDatastoreTests } from './datastore-tests';
2
+ import { discoverDatastorePlugins, discoverPlugins, loadDatastorePlugin, loadPlugin, } from '../services/plugin-loader.js';
3
+ import { loadDatastoreConfig, loadScenarios, loadSdkAdapter } from './loader.js';
4
+ import { loadHoloFixtures, loadPluginHoloScenarios } from './holo-fixture-loader.js';
5
+ import { registerHoloFixtureTests } from './holo-fixture-tests.js';
6
+ import { registerTranslatorTests } from './translator-tests.js';
7
+ import { registerWireTests } from './wire-tests.js';
8
+ import { registerAuditTests } from './audit-tests.js';
9
+ import { registerPipelineTests } from './pipeline-tests.js';
10
+ import { registerSdkTests } from './sdk-tests.js';
11
+ import { registerDatastoreTests } from './datastore-tests.js';
12
12
  export async function runConformance() {
13
13
  let registered = 0;
14
14
  const providerPackages = await discoverPlugins();
@@ -1,5 +1,5 @@
1
1
  import type { IProviderPlugin } from '@holokai/holo-types/plugin';
2
- import type { HoloScenario } from './types';
2
+ import type { HoloScenario } from './types.js';
3
3
  export interface ScenarioSdkAdapter {
4
4
  family: string;
5
5
  call(scenario: HoloScenario, port: number): Promise<unknown>;
@@ -1,4 +1,4 @@
1
1
  import type { IProviderTranslator } from '@holokai/holo-types/provider';
2
- import type { HoloScenario } from './types';
2
+ import type { HoloScenario } from './types.js';
3
3
  export declare function registerTranslatorTests(translator: IProviderTranslator, scenario: HoloScenario): void;
4
4
  //# sourceMappingURL=translator-tests.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import type { IProviderPlugin } from '@holokai/holo-types/plugin';
2
- import type { HoloScenario } from './types';
2
+ import type { HoloScenario } from './types.js';
3
3
  export declare function registerWireTests(plugin: IProviderPlugin, scenario: HoloScenario): void;
4
4
  //# sourceMappingURL=wire-tests.d.ts.map
@@ -95,9 +95,9 @@ export async function packPluginFixture(pluginDir) {
95
95
  const { execFile } = await import('child_process');
96
96
  const { promisify } = await import('util');
97
97
  const execFileAsync = promisify(execFile);
98
- const { stdout } = await execFileAsync('npm', ['pack', '--pack-destination', os.tmpdir()], { cwd: pluginDir });
99
- const tarballName = stdout.trim().split('\n').pop();
100
- const tarballPath = path.join(os.tmpdir(), tarballName);
98
+ const { stdout } = await execFileAsync('pnpm', ['pack', '--pack-destination', os.tmpdir()], { cwd: pluginDir });
99
+ const last = stdout.trim().split('\n').pop().trim();
100
+ const tarballPath = path.isAbsolute(last) ? last : path.join(os.tmpdir(), last);
101
101
  const tarball = await fs.readFile(tarballPath);
102
102
  await fs.unlink(tarballPath).catch(() => {
103
103
  });
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/fixtures/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,IAAI,EAAE,EAAC,MAAM,IAAI,CAAC;AAClC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,MAAM,UAAU,GAAG,eAAe,CAAC;AACnC,MAAM,YAAY,GAAG,OAAO,CAAC;AAS7B,SAAS,UAAU,CAAC,IAAY;IAC5B,OAAO,gBAAgB,IAAI,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,eAAe,CAAC,IAAY;IACjC,OAAO,GAAG,UAAU,aAAa,IAAI,EAAE,CAAC;AAC5C,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,MAAM,GAAG,YAAY;IACrD,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,OAAe,EAAE,IAAoB;IAMxE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;IACvB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,YAAY,CAAC;IAC7C,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,IAAI,UAAU,CAAC;IAC3C,MAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,OAAO,GAAG,YAAY,IAAI,EAAE,CAAC;IAEnC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,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C,CAAC;AACrD,CAAC;AAED,OAAO,EAAC,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { TestResult } from '../types';
1
+ import type { TestResult } from '../types.js';
2
2
  export declare function assertTestResult(result: TestResult): void;
3
3
  //# sourceMappingURL=vitest-helpers.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- export type { TestResult, AssertionError } from './types';
2
- export { loadPlugin, loadAllPlugins, loadDatastorePlugin, discoverPlugins, getLoadedPlugins } from './services/plugin-loader';
3
- export { parseSseBody, type SseFrame } from './services/sse-parser';
4
- export { parseNdjsonBody } from './services/ndjson-parser';
5
- export { registerDatastoreTests, type DatastoreConfig } from './conformance/datastore-tests';
6
- export { type HoloScenario, type HoloScenarioRequest, type HoloScenarioResponse, type HoloScenarioWire, type HoloScenarioAudit, type HoloScenarioSdk, } from './conformance/types';
7
- export { runConformance } from './conformance/runner';
8
- export { loadScenarios, loadSdkAdapter, loadDatastoreConfig } from './conformance/loader';
9
- export { loadHoloFixtures, loadPluginHoloScenarios } from './conformance/holo-fixture-loader';
10
- export { registerHoloFixtureTests } from './conformance/holo-fixture-tests';
11
- export type { HoloFixture, HoloFixtureKind, HoloRequestFixture, HoloResponseFixture, HoloStreamingFixture, PluginHoloScenario, PluginHoloScenarioExpectedFailure, PluginHoloScenarioThrows, } from './conformance/holo-fixture-types';
12
- export { registerTranslatorTests } from './conformance/translator-tests';
13
- export { registerWireTests } from './conformance/wire-tests';
14
- export { registerAuditTests } from './conformance/audit-tests';
15
- export { registerPipelineTests } from './conformance/pipeline-tests';
16
- export { registerSdkTests, type ScenarioSdkAdapter } from './conformance/sdk-tests';
17
- export { hasGateway, gatewayUrl, getTestConfig, createTestClient } from './helpers/env';
18
- export { collectStreamText, collectStreamEvents } from './helpers/stream-helpers';
19
- export { createMockFetch, createSseMockFetch } from './helpers/mock-fetch';
20
- export { discoverProviders, providerMatrix } from './helpers/matrix';
21
- export type { DiscoveredProvider, DiscoveredModel, ProviderDiscoveryClient } from './helpers/matrix';
22
- export { assertTestResult } from './helpers/vitest-helpers';
23
- export { runLiveTest, isProviderAvailable, buildPayload, registerPayloadBuilder } from './live';
24
- export type { LiveTestConfig, LiveTestResult } from './live';
25
- export { createTestPlugin, createTestBuiltinPlugin, packPluginFixture, createTempDir, cleanupTempDir, TEST_SCOPE, TEST_VERSION, testFamily, testPackageName, type TestPluginOpts, } from './fixtures/plugin';
26
- export { pollFile, pollCondition } from './helpers/polling';
27
- export { testId } from './helpers/ids';
28
- export { createMockRedis, createMockPluginDB, createMockInstaller } from './helpers/mocks';
1
+ export type { TestResult, AssertionError } from './types.js';
2
+ export { loadPlugin, loadAllPlugins, loadDatastorePlugin, discoverPlugins, getLoadedPlugins } from './services/plugin-loader.js';
3
+ export { parseSseBody, type SseFrame } from './services/sse-parser.js';
4
+ export { parseNdjsonBody } from './services/ndjson-parser.js';
5
+ export { registerDatastoreTests, type DatastoreConfig } from './conformance/datastore-tests.js';
6
+ export { type HoloScenario, type HoloScenarioRequest, type HoloScenarioResponse, type HoloScenarioWire, type HoloScenarioAudit, type HoloScenarioSdk, } from './conformance/types.js';
7
+ export { runConformance } from './conformance/runner.js';
8
+ export { loadScenarios, loadSdkAdapter, loadDatastoreConfig } from './conformance/loader.js';
9
+ export { loadHoloFixtures, loadPluginHoloScenarios } from './conformance/holo-fixture-loader.js';
10
+ export { registerHoloFixtureTests } from './conformance/holo-fixture-tests.js';
11
+ export type { HoloFixture, HoloFixtureKind, HoloRequestFixture, HoloResponseFixture, HoloStreamingFixture, PluginHoloScenario, PluginHoloScenarioExpectedFailure, PluginHoloScenarioThrows, } from './conformance/holo-fixture-types.js';
12
+ export { registerTranslatorTests } from './conformance/translator-tests.js';
13
+ export { registerWireTests } from './conformance/wire-tests.js';
14
+ export { registerAuditTests } from './conformance/audit-tests.js';
15
+ export { registerPipelineTests } from './conformance/pipeline-tests.js';
16
+ export { registerSdkTests, type ScenarioSdkAdapter } from './conformance/sdk-tests.js';
17
+ export { hasGateway, gatewayUrl, getTestConfig, createTestClient } from './helpers/env.js';
18
+ export { collectStreamText, collectStreamEvents } from './helpers/stream-helpers.js';
19
+ export { createMockFetch, createSseMockFetch } from './helpers/mock-fetch.js';
20
+ export { discoverProviders, providerMatrix } from './helpers/matrix.js';
21
+ export type { DiscoveredProvider, DiscoveredModel, ProviderDiscoveryClient } from './helpers/matrix.js';
22
+ export { assertTestResult } from './helpers/vitest-helpers.js';
23
+ export { runLiveTest, isProviderAvailable, buildPayload, registerPayloadBuilder } from './live/index.js';
24
+ export type { LiveTestConfig, LiveTestResult } from './live/index.js';
25
+ export { createTestPlugin, createTestBuiltinPlugin, packPluginFixture, createTempDir, cleanupTempDir, TEST_SCOPE, TEST_VERSION, testFamily, testPackageName, type TestPluginOpts, } from './fixtures/plugin.js';
26
+ export { pollFile, pollCondition } from './helpers/polling.js';
27
+ export { testId } from './helpers/ids.js';
28
+ export { createMockRedis, createMockPluginDB, createMockInstaller } from './helpers/mocks.js';
29
29
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,24 +1,25 @@
1
- export { loadPlugin, loadAllPlugins, loadDatastorePlugin, discoverPlugins, getLoadedPlugins } from './services/plugin-loader';
2
- export { parseSseBody } from './services/sse-parser';
3
- export { parseNdjsonBody } from './services/ndjson-parser';
4
- export { registerDatastoreTests } from './conformance/datastore-tests';
5
- export { runConformance } from './conformance/runner';
6
- export { loadScenarios, loadSdkAdapter, loadDatastoreConfig } from './conformance/loader';
7
- export { loadHoloFixtures, loadPluginHoloScenarios } from './conformance/holo-fixture-loader';
8
- export { registerHoloFixtureTests } from './conformance/holo-fixture-tests';
9
- export { registerTranslatorTests } from './conformance/translator-tests';
10
- export { registerWireTests } from './conformance/wire-tests';
11
- export { registerAuditTests } from './conformance/audit-tests';
12
- export { registerPipelineTests } from './conformance/pipeline-tests';
13
- export { registerSdkTests } from './conformance/sdk-tests';
14
- export { hasGateway, gatewayUrl, getTestConfig, createTestClient } from './helpers/env';
15
- export { collectStreamText, collectStreamEvents } from './helpers/stream-helpers';
16
- export { createMockFetch, createSseMockFetch } from './helpers/mock-fetch';
17
- export { discoverProviders, providerMatrix } from './helpers/matrix';
18
- export { assertTestResult } from './helpers/vitest-helpers';
19
- export { runLiveTest, isProviderAvailable, buildPayload, registerPayloadBuilder } from './live';
20
- export { createTestPlugin, createTestBuiltinPlugin, packPluginFixture, createTempDir, cleanupTempDir, TEST_SCOPE, TEST_VERSION, testFamily, testPackageName, } from './fixtures/plugin';
21
- export { pollFile, pollCondition } from './helpers/polling';
22
- export { testId } from './helpers/ids';
23
- export { createMockRedis, createMockPluginDB, createMockInstaller } from './helpers/mocks';
1
+ export { loadPlugin, loadAllPlugins, loadDatastorePlugin, discoverPlugins, getLoadedPlugins } from './services/plugin-loader.js';
2
+ export { parseSseBody } from './services/sse-parser.js';
3
+ export { parseNdjsonBody } from './services/ndjson-parser.js';
4
+ export { registerDatastoreTests } from './conformance/datastore-tests.js';
5
+ export {} from './conformance/types.js';
6
+ export { runConformance } from './conformance/runner.js';
7
+ export { loadScenarios, loadSdkAdapter, loadDatastoreConfig } from './conformance/loader.js';
8
+ export { loadHoloFixtures, loadPluginHoloScenarios } from './conformance/holo-fixture-loader.js';
9
+ export { registerHoloFixtureTests } from './conformance/holo-fixture-tests.js';
10
+ export { registerTranslatorTests } from './conformance/translator-tests.js';
11
+ export { registerWireTests } from './conformance/wire-tests.js';
12
+ export { registerAuditTests } from './conformance/audit-tests.js';
13
+ export { registerPipelineTests } from './conformance/pipeline-tests.js';
14
+ export { registerSdkTests } from './conformance/sdk-tests.js';
15
+ export { hasGateway, gatewayUrl, getTestConfig, createTestClient } from './helpers/env.js';
16
+ export { collectStreamText, collectStreamEvents } from './helpers/stream-helpers.js';
17
+ export { createMockFetch, createSseMockFetch } from './helpers/mock-fetch.js';
18
+ export { discoverProviders, providerMatrix } from './helpers/matrix.js';
19
+ export { assertTestResult } from './helpers/vitest-helpers.js';
20
+ export { runLiveTest, isProviderAvailable, buildPayload, registerPayloadBuilder } from './live/index.js';
21
+ export { createTestPlugin, createTestBuiltinPlugin, packPluginFixture, createTempDir, cleanupTempDir, TEST_SCOPE, TEST_VERSION, testFamily, testPackageName, } from './fixtures/plugin.js';
22
+ export { pollFile, pollCondition } from './helpers/polling.js';
23
+ export { testId } from './helpers/ids.js';
24
+ export { createMockRedis, createMockPluginDB, createMockInstaller } from './helpers/mocks.js';
24
25
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EACrF,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,YAAY,EAAgB,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,sBAAsB,EAAuB,MAAM,+BAA+B,CAAC;AAS3F,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAC,aAAa,EAAE,cAAc,EAAE,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,gBAAgB,EAAE,uBAAuB,EAAC,MAAM,mCAAmC,CAAC;AAC5F,OAAO,EAAC,wBAAwB,EAAC,MAAM,kCAAkC,CAAC;AAW1E,OAAO,EAAC,uBAAuB,EAAC,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAC,qBAAqB,EAAC,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAC,gBAAgB,EAA0B,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAC,UAAU,EAAE,UA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ai/holo-types/provider';
2
- import type { AssertionError } from '../types';
2
+ import type { AssertionError } from '../types.js';
3
3
  export declare function assertHasDoneEvent(events: ProviderEvent[]): AssertionError | null;
4
4
  export declare function assertTextNotEmpty(text: string | undefined): AssertionError | null;
5
5
  export declare function assertHasFinishReason(doneEvent: ProviderEvent): AssertionError | null;
@@ -1,3 +1,3 @@
1
- import type { LiveErrorTestResult } from './types';
1
+ import type { LiveErrorTestResult } from './types.js';
2
2
  export declare function runLiveErrorTest(family: string): Promise<LiveErrorTestResult>;
3
3
  //# sourceMappingURL=error-tester.d.ts.map
@@ -2,8 +2,8 @@ import { loadPlugin } from '@holokai/holo-sdk/plugin';
2
2
  import { createWorkerRequest } from '@holokai/holo-sdk/provider';
3
3
  import { ProtocolCapability, ProviderResponseStatus } from '@holokai/holo-types/entities';
4
4
  import { v4 as uuidv4 } from 'uuid';
5
- import { getApiKey, getModel } from './env';
6
- import { buildErrorPayload } from './error-payloads';
5
+ import { getApiKey, getModel } from './env.js';
6
+ import { buildErrorPayload } from './error-payloads.js';
7
7
  // Drives a single live error-mapping test against the upstream provider:
8
8
  // fires a deliberately malformed payload (invalid model id), collects the
9
9
  // resulting events, asserts the auditor produces a SUCCESS-incompatible
@@ -1,8 +1,8 @@
1
- export type { LiveTestConfig, LiveTestResult, LiveErrorTestResult } from './types';
2
- export { getApiKey, getModel, isProviderAvailable } from './env';
3
- export { buildPayload, registerPayloadBuilder } from './payloads';
4
- export { buildErrorPayload, registerErrorPayloadBuilder } from './error-payloads';
5
- export { assertHasDoneEvent, assertTextNotEmpty, assertHasFinishReason, assertMultipleStreamEvents, assertEventSequence } from './assertions';
6
- export { runLiveTest } from './live-tester';
7
- export { runLiveErrorTest } from './error-tester';
1
+ export type { LiveTestConfig, LiveTestResult, LiveErrorTestResult } from './types.js';
2
+ export { getApiKey, getModel, isProviderAvailable } from './env.js';
3
+ export { buildPayload, registerPayloadBuilder } from './payloads.js';
4
+ export { buildErrorPayload, registerErrorPayloadBuilder } from './error-payloads.js';
5
+ export { assertHasDoneEvent, assertTextNotEmpty, assertHasFinishReason, assertMultipleStreamEvents, assertEventSequence } from './assertions.js';
6
+ export { runLiveTest } from './live-tester.js';
7
+ export { runLiveErrorTest } from './error-tester.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
- export { getApiKey, getModel, isProviderAvailable } from './env';
2
- export { buildPayload, registerPayloadBuilder } from './payloads';
3
- export { buildErrorPayload, registerErrorPayloadBuilder } from './error-payloads';
4
- export { assertHasDoneEvent, assertTextNotEmpty, assertHasFinishReason, assertMultipleStreamEvents, assertEventSequence } from './assertions';
5
- export { runLiveTest } from './live-tester';
6
- export { runLiveErrorTest } from './error-tester';
1
+ export { getApiKey, getModel, isProviderAvailable } from './env.js';
2
+ export { buildPayload, registerPayloadBuilder } from './payloads.js';
3
+ export { buildErrorPayload, registerErrorPayloadBuilder } from './error-payloads.js';
4
+ export { assertHasDoneEvent, assertTextNotEmpty, assertHasFinishReason, assertMultipleStreamEvents, assertEventSequence } from './assertions.js';
5
+ export { runLiveTest } from './live-tester.js';
6
+ export { runLiveErrorTest } from './error-tester.js';
7
7
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- import type { LiveTestResult } from './types';
1
+ import type { LiveTestResult } from './types.js';
2
2
  export declare function runLiveTest(family: string, streaming: boolean): Promise<LiveTestResult>;
3
3
  //# sourceMappingURL=live-tester.d.ts.map
@@ -2,9 +2,9 @@ import { loadPlugin } from '@holokai/holo-sdk/plugin';
2
2
  import { createWorkerRequest } from '@holokai/holo-sdk/provider';
3
3
  import { ProtocolCapability } from '@holokai/holo-types/entities';
4
4
  import { v4 as uuidv4 } from 'uuid';
5
- import { getApiKey, getModel } from './env';
6
- import { buildPayload } from './payloads';
7
- import { assertEventSequence, assertHasDoneEvent, assertMultipleStreamEvents, assertTextNotEmpty } from './assertions';
5
+ import { getApiKey, getModel } from './env.js';
6
+ import { buildPayload } from './payloads.js';
7
+ import { assertEventSequence, assertHasDoneEvent, assertMultipleStreamEvents, assertTextNotEmpty } from './assertions.js';
8
8
  export async function runLiveTest(family, streaming) {
9
9
  const start = performance.now();
10
10
  const errors = [];
@@ -1,4 +1,4 @@
1
- import type { AssertionError } from '../types';
1
+ import type { AssertionError } from '../types.js';
2
2
  export interface LiveTestConfig {
3
3
  families?: string[];
4
4
  timeout?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holokai/holo-test",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "type": "module",
5
5
  "description": "Test SDK for Holo provider plugins",
6
6
  "publishConfig": {
@@ -22,17 +22,13 @@
22
22
  "!dist/**/*.test.*"
23
23
  ],
24
24
  "sideEffects": false,
25
- "scripts": {
26
- "build": "tsc --build",
27
- "clean": "rm -rf dist tsconfig.tsbuildinfo"
28
- },
29
25
  "dependencies": {
30
- "@holokai/holo-types": "^1.5.0",
31
- "@holokai/holo-sdk": "^1.5.0",
32
26
  "express": "^4.21.0",
33
27
  "diff": "^8.0.2",
34
28
  "reflect-metadata": "^0.2.2",
35
- "uuid": "^11.1.0"
29
+ "uuid": "^11.1.0",
30
+ "@holokai/holo-sdk": "^1.5.1",
31
+ "@holokai/holo-types": "^1.5.1"
36
32
  },
37
33
  "peerDependencies": {
38
34
  "tsyringe": "^4.10.0",
@@ -44,5 +40,9 @@
44
40
  "@types/node": "^24.0.11",
45
41
  "ts-node": "^10.9.2",
46
42
  "typescript": "^5.0.0"
43
+ },
44
+ "scripts": {
45
+ "build": "tsc --build && tsc-alias --resolve-full-paths -p tsconfig.json",
46
+ "clean": "rm -rf dist tsconfig.tsbuildinfo"
47
47
  }
48
- }
48
+ }