sanjang 0.3.5 → 0.3.7

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.
@@ -9,6 +9,7 @@ export interface Camp {
9
9
  description?: string;
10
10
  baseCommit?: string;
11
11
  parentBranch?: string;
12
+ lastAccessedAt?: string;
12
13
  }
13
14
  export interface DevConfig {
14
15
  command: string;
@@ -32,12 +33,17 @@ export interface PortsConfig {
32
33
  fe: PortRange;
33
34
  be: PortRange;
34
35
  }
36
+ export interface TestConfig {
37
+ command: string;
38
+ cwd?: string;
39
+ }
35
40
  export interface SanjangConfig {
36
41
  dev: DevConfig;
37
42
  setup: string | null;
38
43
  copyFiles: string[];
39
44
  backend: BackendConfig | null;
40
45
  ports: PortsConfig;
46
+ test: TestConfig | null;
41
47
  _autoDetected?: boolean;
42
48
  }
43
49
  export interface PortAllocation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanjang",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "AI dev environment for vibe coders — camp isolation, self-healing, smart PR",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,10 +9,12 @@
9
9
  "scripts": {
10
10
  "start": "node bin/sanjang.js",
11
11
  "build": "tsc -p tsconfig.build.json",
12
- "prepublishOnly": "npm run build && echo '#!/usr/bin/env node' | cat - dist/bin/sanjang.js > dist/bin/_tmp && mv dist/bin/_tmp dist/bin/sanjang.js",
12
+ "prepublishOnly": "npm run build && npm run ext:build && echo '#!/usr/bin/env node' | cat - dist/bin/sanjang.js > dist/bin/_tmp && mv dist/bin/_tmp dist/bin/sanjang.js",
13
13
  "test": "node --experimental-transform-types --test test/**/*.test.ts bin/__tests__/*.test.ts",
14
14
  "typecheck": "tsc --noEmit",
15
- "lint": "npx @biomejs/biome check lib/ test/ bin/"
15
+ "lint": "npx @biomejs/biome check lib/ test/ bin/",
16
+ "ext:dev": "cd extension && npx wxt",
17
+ "ext:build": "cd extension && npx wxt build"
16
18
  },
17
19
  "dependencies": {
18
20
  "express": "^4.19.2",
@@ -36,7 +38,8 @@
36
38
  "files": [
37
39
  "dist/",
38
40
  "dashboard/",
39
- "templates/"
41
+ "templates/",
42
+ "extension/.output/chrome-mv3/"
40
43
  ],
41
44
  "devDependencies": {
42
45
  "@biomejs/biome": "^2.4.10",