@olane/o-lane 0.7.13-alpha.0 → 0.7.13-alpha.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.
|
@@ -7,13 +7,15 @@ import { PromptLoader } from '../src/storage/prompt-loader.js';
|
|
|
7
7
|
import { PROMPT_KEYS, PROMPT_IDS, } from '../src/storage/prompt-schema.js';
|
|
8
8
|
import { AGENT_PROMPT } from '../src/prompts/agent.prompt.js';
|
|
9
9
|
import { CONFIGURE_INSTRUCTIONS } from '../src/prompts/configure.prompt.js';
|
|
10
|
-
import { TestEnvironment
|
|
10
|
+
import { TestEnvironment } from '@olane/o-node/test/helpers';
|
|
11
|
+
import { assertSuccess, assertDefined } from '@olane/o-test';
|
|
11
12
|
describe('Prompt Seeding and Loading', () => {
|
|
12
13
|
const env = new TestEnvironment();
|
|
13
14
|
let storage;
|
|
14
15
|
let seeder;
|
|
15
16
|
let loader;
|
|
16
17
|
before(async () => {
|
|
18
|
+
// @ts-ignore
|
|
17
19
|
storage = await env.createNode(PromptStorageProvider, {});
|
|
18
20
|
seeder = new PromptSeeder(storage);
|
|
19
21
|
loader = new PromptLoader(storage);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import 'dotenv/config';
|
|
2
2
|
import { expect } from 'chai';
|
|
3
3
|
import { PromptStorageProvider } from '../src/storage/prompt-storage-provider.tool.js';
|
|
4
|
-
import { TestEnvironment, SimpleNodeBuilder
|
|
4
|
+
import { TestEnvironment, SimpleNodeBuilder } from '@olane/o-node/test/helpers';
|
|
5
|
+
import { assertRunning, assertStopped, assertSuccess, assertError } from '@olane/o-test';
|
|
5
6
|
import { oNodeAddress } from '@olane/o-node';
|
|
6
7
|
describe('PromptStorageProvider', () => {
|
|
7
8
|
const env = new TestEnvironment();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-lane",
|
|
3
|
-
"version": "0.7.13-alpha.
|
|
3
|
+
"version": "0.7.13-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@eslint/eslintrc": "^3.3.1",
|
|
38
38
|
"@eslint/js": "^9.29.0",
|
|
39
|
-
"@olane/o-test": "0.7.13-alpha.
|
|
39
|
+
"@olane/o-test": "0.7.13-alpha.1",
|
|
40
40
|
"@tsconfig/node20": "^20.1.6",
|
|
41
41
|
"@types/jest": "^30.0.0",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"typescript": "5.4.5"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@olane/o-config": "0.7.13-alpha.
|
|
60
|
-
"@olane/o-core": "0.7.13-alpha.
|
|
61
|
-
"@olane/o-node": "0.7.13-alpha.
|
|
62
|
-
"@olane/o-protocol": "0.7.13-alpha.
|
|
63
|
-
"@olane/o-storage": "0.7.13-alpha.
|
|
64
|
-
"@olane/o-tool": "0.7.13-alpha.
|
|
59
|
+
"@olane/o-config": "0.7.13-alpha.1",
|
|
60
|
+
"@olane/o-core": "0.7.13-alpha.1",
|
|
61
|
+
"@olane/o-node": "0.7.13-alpha.1",
|
|
62
|
+
"@olane/o-protocol": "0.7.13-alpha.1",
|
|
63
|
+
"@olane/o-storage": "0.7.13-alpha.1",
|
|
64
|
+
"@olane/o-tool": "0.7.13-alpha.1",
|
|
65
65
|
"debug": "^4.4.1",
|
|
66
66
|
"dotenv": "^16.5.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "7abba2239f85eb07a87401528b6df96e72449fe0"
|
|
69
69
|
}
|