archal 0.9.2

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/bin/archal.cjs ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { existsSync } = require("node:fs");
4
+ const { join } = require("node:path");
5
+
6
+ // Try the co-located CLI bundle first (when installed as dependency),
7
+ // then fall back to resolving @archal/cli directly.
8
+ const localDist = join(__dirname, "..", "dist", "index.cjs");
9
+
10
+ if (existsSync(localDist)) {
11
+ require(localDist);
12
+ } else {
13
+ require("@archal/cli");
14
+ }
@@ -0,0 +1 @@
1
+ export { ArchalVitestProjectOptions, ArchalVitestProjectTestOptions, archalVitestProject, bootstrapArchalVitestRouting, getInstalledArchalVitestRuntime, getInstalledArchalVitestSession } from '@archal/vitest';
package/dist/vitest.js ADDED
@@ -0,0 +1,13 @@
1
+ // src/vitest.ts
2
+ import {
3
+ archalVitestProject,
4
+ bootstrapArchalVitestRouting,
5
+ getInstalledArchalVitestRuntime,
6
+ getInstalledArchalVitestSession
7
+ } from "@archal/vitest";
8
+ export {
9
+ archalVitestProject,
10
+ bootstrapArchalVitestRouting,
11
+ getInstalledArchalVitestRuntime,
12
+ getInstalledArchalVitestSession
13
+ };
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "archal",
3
+ "version": "0.9.2",
4
+ "description": "Pre-deployment testing for AI agents",
5
+ "type": "module",
6
+ "bin": {
7
+ "archal": "bin/archal.cjs"
8
+ },
9
+ "exports": {
10
+ "./vitest": {
11
+ "types": "./dist/vitest.d.ts",
12
+ "import": "./dist/vitest.js"
13
+ }
14
+ },
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/Archal-Labs/archal.git"
19
+ },
20
+ "homepage": "https://archal.ai",
21
+ "bugs": "https://github.com/Archal-Labs/archal/issues",
22
+ "keywords": [
23
+ "ai",
24
+ "agent",
25
+ "testing",
26
+ "mcp",
27
+ "digital-twin",
28
+ "archal",
29
+ "vitest"
30
+ ],
31
+ "engines": {
32
+ "node": ">=20"
33
+ },
34
+ "files": [
35
+ "bin",
36
+ "dist"
37
+ ],
38
+ "scripts": {
39
+ "build": "tsup",
40
+ "typecheck": "tsc --noEmit"
41
+ },
42
+ "dependencies": {
43
+ "@archal/cli": "workspace:^",
44
+ "@archal/vitest": "workspace:^"
45
+ },
46
+ "peerDependencies": {
47
+ "vitest": ">=2.0.0"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "vitest": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "devDependencies": {
55
+ "tsup": "^8.5.0",
56
+ "typescript": "^5.9.0"
57
+ }
58
+ }