@app-vitals/agent-runtime 0.13.1 → 0.14.0
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/package.json +3 -3
- package/setup.unit.test.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@app-vitals/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/app-vitals/agent.git",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"./workspace-paths": "./workspace-paths.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@app-vitals/agent-admin": "0.
|
|
44
|
-
"@app-vitals/agent-lib": "0.
|
|
43
|
+
"@app-vitals/agent-admin": "0.14.0",
|
|
44
|
+
"@app-vitals/agent-lib": "0.14.0",
|
|
45
45
|
"@octokit/auth-app": "^8.2.0",
|
|
46
46
|
"@sentry/bun": "^10.63.0",
|
|
47
47
|
"@slack/bolt": "^5.0.0",
|
package/setup.unit.test.ts
CHANGED
|
@@ -267,6 +267,20 @@ describe("discoverBakedMarketplaces", () => {
|
|
|
267
267
|
});
|
|
268
268
|
|
|
269
269
|
describe("resolveTemplatesDir option resolution (AEP-1.2)", () => {
|
|
270
|
+
it("resolves the shipped specialist manifest to agent-types/specialist/templates/ with no warning (SAI-1.2)", async () => {
|
|
271
|
+
const { resolveTemplatesDir } = await import("./setup.ts");
|
|
272
|
+
const repoRoot = join(import.meta.dir, "..");
|
|
273
|
+
const warnings: string[] = [];
|
|
274
|
+
const dir = resolveTemplatesDir(
|
|
275
|
+
"specialist",
|
|
276
|
+
repoRoot,
|
|
277
|
+
(m) => warnings.push(m),
|
|
278
|
+
{ SHIPWRIGHT_SPECIALTIES_DIR: join(repoRoot, "agent-types") },
|
|
279
|
+
);
|
|
280
|
+
expect(dir).toBe(join(repoRoot, "agent-types", "specialist", "templates"));
|
|
281
|
+
expect(warnings).toEqual([]);
|
|
282
|
+
});
|
|
283
|
+
|
|
270
284
|
it("resolves an absent type to the built-in templates with no env set", async () => {
|
|
271
285
|
const { resolveTemplatesDir } = await import("./setup.ts");
|
|
272
286
|
const dir = resolveTemplatesDir(undefined, "/nonexistent", () => {}, {});
|