Skip to content

Commit 8529ea0

Browse files
committed
Merge branch 'main' into feat/rbac-v1
2 parents d13b0e6 + ea20fc4 commit 8529ea0

299 files changed

Lines changed: 25057 additions & 8424 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/device-agent-release.yml

Lines changed: 472 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
## [1.83.3](https://github.com/trycompai/comp/compare/v1.83.2...v1.83.3) (2026-02-17)
2+
3+
4+
### Bug Fixes
5+
6+
* **portal:** recognize device agent compliance for task completion ([#2152](https://github.com/trycompai/comp/issues/2152)) ([b1b072e](https://github.com/trycompai/comp/commit/b1b072e95d351a3624ee34bf8bbbaf6bbc926fe6))
7+
8+
## [1.83.2](https://github.com/trycompai/comp/compare/v1.83.1...v1.83.2) (2026-02-17)
9+
10+
11+
### Bug Fixes
12+
13+
* **api:** add @comp/company package to Dockerfile ([#2148](https://github.com/trycompai/comp/issues/2148)) ([d91bcaa](https://github.com/trycompai/comp/commit/d91bcaa5a92557a1b47a12ec6b396715744fca7f))
14+
* **api:** inline mergeDeviceLists to fix production runtime crash ([#2146](https://github.com/trycompai/comp/issues/2146)) ([04ef343](https://github.com/trycompai/comp/commit/04ef343011defa91609ba9ba69b85776063198db))
15+
16+
## [1.83.1](https://github.com/trycompai/comp/compare/v1.83.0...v1.83.1) (2026-02-17)
17+
18+
19+
### Bug Fixes
20+
21+
* **ci:** fix Linux artifact names and consolidate all CI fixes ([#2144](https://github.com/trycompai/comp/issues/2144)) ([cbcf420](https://github.com/trycompai/comp/commit/cbcf420217c268fdfb35d9c03631a56d8822a028))
22+
* **ci:** handle pre-release tags in device agent version detection ([#2137](https://github.com/trycompai/comp/issues/2137)) ([b37f225](https://github.com/trycompai/comp/commit/b37f2252e9bf220600b2eb229364c4b6964b7cf0))
23+
* **ci:** pin Windows code signing to stable sslcom/esigner-codesign@v1.3.2 ([#2141](https://github.com/trycompai/comp/issues/2141)) ([5f35e35](https://github.com/trycompai/comp/commit/5f35e3500bbc6670464d83fb3c9eb7c5c3f4ec29))
24+
* **ci:** replace broken sslcom/esigner-codesign action with direct CodeSignTool invocation ([#2143](https://github.com/trycompai/comp/issues/2143)) ([884e0d2](https://github.com/trycompai/comp/commit/884e0d23dfce128b0359b3f5ad66d88aaba0c866))
25+
26+
# [1.83.0](https://github.com/trycompai/comp/compare/v1.82.3...v1.83.0) (2026-02-13)
27+
28+
29+
### Features
30+
31+
* **automation:** add enterprise feature check and user guidance ([#2131](https://github.com/trycompai/comp/issues/2131)) ([80489af](https://github.com/trycompai/comp/commit/80489af57b94790a5ae67956658cdc9cb1a1043f))
32+
33+
## [1.82.3](https://github.com/trycompai/comp/compare/v1.82.2...v1.82.3) (2026-02-12)
34+
35+
36+
### Bug Fixes
37+
38+
* **app:** check DNS records using Node's built-in DNS instead of using external APIs ([#2126](https://github.com/trycompai/comp/issues/2126)) ([5fab9bd](https://github.com/trycompai/comp/commit/5fab9bd703d1d42925b609631acf9e0f058cdf4f))
39+
* **app:** enable capitalized text for role in csv when adding users ([#2123](https://github.com/trycompai/comp/issues/2123)) ([5fdb448](https://github.com/trycompai/comp/commit/5fdb4482ddd414b31aebb6278cf5d4a82a5b8bc9))
40+
* **automation:** clarify automation agent's data retrieval capabilities ([#2129](https://github.com/trycompai/comp/issues/2129)) ([eb2957f](https://github.com/trycompai/comp/commit/eb2957fe9f52ea3c97b0b091e304bc4804bb6c95))
41+
* policy version API content bug + published version protection ([#2130](https://github.com/trycompai/comp/issues/2130)) ([7f79351](https://github.com/trycompai/comp/commit/7f793512731cecf873b765b535d28bc1c5da4fea))
42+
143
## [1.82.2](https://github.com/trycompai/comp/compare/v1.82.1...v1.82.2) (2026-02-11)
244

345

apps/api/Dockerfile.multistage

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ COPY packages/utils/package.json ./packages/utils/
1414
COPY packages/integration-platform/package.json ./packages/integration-platform/
1515
COPY packages/tsconfig/package.json ./packages/tsconfig/
1616
COPY packages/email/package.json ./packages/email/
17+
COPY packages/company/package.json ./packages/company/
1718

1819
# Copy API package.json
1920
COPY apps/api/package.json ./apps/api/
@@ -34,6 +35,7 @@ COPY packages/utils ./packages/utils
3435
COPY packages/integration-platform ./packages/integration-platform
3536
COPY packages/tsconfig ./packages/tsconfig
3637
COPY packages/email ./packages/email
38+
COPY packages/company ./packages/company
3739

3840
# Copy API source
3941
COPY apps/api ./apps/api
@@ -45,6 +47,7 @@ COPY --from=deps /app/node_modules ./node_modules
4547
RUN cd packages/db && bun run build && cd ../..
4648
RUN cd packages/integration-platform && bun run build && cd ../..
4749
RUN cd packages/email && bun run build && cd ../..
50+
RUN cd packages/company && bun run build && cd ../..
4851

4952
# Generate Prisma client for API (copy schema and generate)
5053
RUN cd packages/db && node scripts/combine-schemas.js && cd ../..
@@ -79,6 +82,7 @@ COPY --from=builder /app/packages/utils ./packages/utils
7982
COPY --from=builder /app/packages/integration-platform ./packages/integration-platform
8083
COPY --from=builder /app/packages/tsconfig ./packages/tsconfig
8184
COPY --from=builder /app/packages/email ./packages/email
85+
COPY --from=builder /app/packages/company ./packages/company
8286

8387
# Copy production node_modules (includes symlinks to workspace packages above)
8488
COPY --from=builder /app/node_modules ./node_modules
@@ -88,7 +92,7 @@ ENV NODE_ENV=production
8892
ENV PORT=3333
8993

9094
# Install Prisma CLI and regenerate client in production stage
91-
RUN npm install -g prisma@6.13.0 && \
95+
RUN npm install -g prisma@6.18.0 && \
9296
prisma generate --schema=./prisma/schema.prisma
9397

9498
# Create non-root user

apps/api/package.json

Lines changed: 136 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,140 @@
11
{
2-
"name": "@comp/api",
3-
"description": "",
4-
"version": "0.0.1",
5-
"author": "",
6-
"dependencies": {
7-
"@ai-sdk/anthropic": "^2.0.53",
8-
"@ai-sdk/groq": "^2.0.32",
9-
"@ai-sdk/openai": "^2.0.65",
10-
"@aws-sdk/client-s3": "^3.859.0",
11-
"@aws-sdk/client-securityhub": "^3.948.0",
12-
"@aws-sdk/client-sts": "^3.948.0",
13-
"@aws-sdk/s3-request-presigner": "^3.859.0",
14-
"@browserbasehq/sdk": "^2.6.0",
15-
"@browserbasehq/stagehand": "^3.0.5",
16-
"@comp/auth": "workspace:*",
17-
"@comp/integration-platform": "workspace:*",
18-
"@mendable/firecrawl-js": "^4.9.3",
19-
"@nestjs/common": "^11.0.1",
20-
"@nestjs/config": "^4.0.2",
21-
"@nestjs/core": "^11.0.1",
22-
"@nestjs/platform-express": "^11.1.5",
23-
"@nestjs/swagger": "^11.2.0",
24-
"@nestjs/throttler": "^6.5.0",
25-
"@prisma/client": "6.18.0",
26-
"@prisma/instrumentation": "^6.13.0",
27-
"@react-email/components": "^0.0.41",
28-
"@thallesp/nestjs-better-auth": "^2.2.5",
29-
"@trigger.dev/build": "4.0.6",
30-
"@trigger.dev/sdk": "4.0.6",
31-
"@trycompai/db": "1.3.22",
32-
"@trycompai/email": "workspace:*",
33-
"@upstash/redis": "^1.34.2",
34-
"@upstash/vector": "^1.2.2",
35-
"adm-zip": "^0.5.16",
36-
"ai": "^5.0.60",
37-
"archiver": "^7.0.1",
38-
"axios": "^1.12.2",
39-
"better-auth": "^1.3.27",
40-
"class-transformer": "^0.5.1",
41-
"class-validator": "^0.14.2",
42-
"dotenv": "^17.2.3",
43-
"esbuild": "^0.27.1",
44-
"exceljs": "^4.4.0",
45-
"express": "^4.21.2",
46-
"helmet": "^8.1.0",
47-
"jose": "^6.0.12",
48-
"jspdf": "^3.0.3",
49-
"mammoth": "^1.8.0",
50-
"nanoid": "^5.1.6",
51-
"pdf-lib": "^1.17.1",
52-
"playwright-core": "^1.57.0",
53-
"prisma": "6.18.0",
54-
"react": "^19.1.1",
55-
"react-dom": "^19.1.0",
56-
"reflect-metadata": "^0.2.2",
57-
"resend": "^6.4.2",
58-
"rxjs": "^7.8.1",
59-
"safe-stable-stringify": "^2.5.0",
60-
"swagger-ui-express": "^5.0.1",
61-
"xlsx": "^0.18.5",
62-
"zod": "^4.0.14"
63-
},
64-
"devDependencies": {
65-
"@eslint/eslintrc": "^3.2.0",
66-
"@eslint/js": "^9.18.0",
67-
"@nestjs/cli": "^11.0.0",
68-
"@nestjs/schematics": "^11.0.0",
69-
"@nestjs/testing": "^11.0.1",
70-
"@types/adm-zip": "^0.5.7",
71-
"@types/archiver": "^6.0.3",
72-
"@types/express": "^5.0.0",
73-
"@types/jest": "^30.0.0",
74-
"@types/multer": "^1.4.12",
75-
"@types/node": "^24.0.3",
76-
"@types/supertest": "^6.0.2",
77-
"@types/swagger-ui-express": "^4.1.8",
78-
"eslint": "^9.18.0",
79-
"eslint-config-prettier": "^10.0.1",
80-
"eslint-plugin-prettier": "^5.2.2",
81-
"globals": "^16.0.0",
82-
"jest": "^30.0.0",
83-
"prettier": "^3.5.3",
84-
"source-map-support": "^0.5.21",
85-
"supertest": "^7.0.0",
86-
"ts-jest": "^29.2.5",
87-
"ts-loader": "^9.5.2",
88-
"ts-node": "^10.9.2",
89-
"tsconfig-paths": "^4.2.0",
90-
"typescript": "^5.8.3",
91-
"typescript-eslint": "^8.20.0"
92-
},
93-
"jest": {
94-
"moduleFileExtensions": [
95-
"js",
96-
"json",
97-
"ts"
98-
],
99-
"rootDir": "src",
100-
"testRegex": ".*\\.spec\\.ts$",
101-
"transform": {
102-
"^.+\\.(t|j)s$": "ts-jest"
2+
"name": "@comp/api",
3+
"description": "",
4+
"version": "0.0.1",
5+
"author": "",
6+
"dependencies": {
7+
"@ai-sdk/anthropic": "^2.0.53",
8+
"@ai-sdk/groq": "^2.0.32",
9+
"@ai-sdk/openai": "^2.0.65",
10+
"@aws-sdk/client-s3": "^3.859.0",
11+
"@aws-sdk/client-securityhub": "^3.948.0",
12+
"@aws-sdk/client-sts": "^3.948.0",
13+
"@aws-sdk/s3-request-presigner": "^3.859.0",
14+
"@browserbasehq/sdk": "^2.6.0",
15+
"@browserbasehq/stagehand": "^3.0.5",
16+
"@comp/company": "workspace:*",
17+
"@comp/integration-platform": "workspace:*",
18+
"@mendable/firecrawl-js": "^4.9.3",
19+
"@nestjs/common": "^11.0.1",
20+
"@nestjs/config": "^4.0.2",
21+
"@nestjs/core": "^11.0.1",
22+
"@nestjs/platform-express": "^11.1.5",
23+
"@nestjs/swagger": "^11.2.0",
24+
"@nestjs/throttler": "^6.5.0",
25+
"@prisma/client": "6.18.0",
26+
"@prisma/instrumentation": "^6.13.0",
27+
"@react-email/components": "^0.0.41",
28+
"@trigger.dev/build": "4.0.6",
29+
"@trigger.dev/sdk": "4.0.6",
30+
"@trycompai/db": "1.3.22",
31+
"@trycompai/email": "workspace:*",
32+
"@upstash/redis": "^1.34.2",
33+
"@upstash/vector": "^1.2.2",
34+
"adm-zip": "^0.5.16",
35+
"ai": "^5.0.60",
36+
"archiver": "^7.0.1",
37+
"axios": "^1.12.2",
38+
"better-auth": "^1.3.27",
39+
"class-transformer": "^0.5.1",
40+
"class-validator": "^0.14.2",
41+
"dotenv": "^17.2.3",
42+
"esbuild": "^0.27.1",
43+
"exceljs": "^4.4.0",
44+
"express": "^4.21.2",
45+
"helmet": "^8.1.0",
46+
"jose": "^6.0.12",
47+
"jspdf": "^3.0.3",
48+
"mammoth": "^1.8.0",
49+
"nanoid": "^5.1.6",
50+
"pdf-lib": "^1.17.1",
51+
"playwright-core": "^1.57.0",
52+
"prisma": "6.18.0",
53+
"react": "^19.1.1",
54+
"react-dom": "^19.1.0",
55+
"reflect-metadata": "^0.2.2",
56+
"resend": "^6.4.2",
57+
"rxjs": "^7.8.1",
58+
"safe-stable-stringify": "^2.5.0",
59+
"swagger-ui-express": "^5.0.1",
60+
"xlsx": "^0.18.5",
61+
"zod": "^4.0.14",
62+
"@comp/auth": "workspace:*"
10363
},
104-
"collectCoverageFrom": [
105-
"**/*.(t|j)s"
106-
],
107-
"coverageDirectory": "../coverage",
108-
"testEnvironment": "node",
109-
"moduleNameMapper": {
110-
"^@db$": "<rootDir>/../prisma/index",
111-
"^@/(.*)$": "<rootDir>/$1"
64+
"devDependencies": {
65+
"@eslint/eslintrc": "^3.2.0",
66+
"@eslint/js": "^9.18.0",
67+
"@nestjs/cli": "^11.0.0",
68+
"@nestjs/schematics": "^11.0.0",
69+
"@nestjs/testing": "^11.0.1",
70+
"@types/adm-zip": "^0.5.7",
71+
"@types/archiver": "^6.0.3",
72+
"@types/express": "^5.0.0",
73+
"@types/jest": "^30.0.0",
74+
"@types/multer": "^1.4.12",
75+
"@types/node": "^24.0.3",
76+
"@types/supertest": "^6.0.2",
77+
"@types/swagger-ui-express": "^4.1.8",
78+
"eslint": "^9.18.0",
79+
"eslint-config-prettier": "^10.0.1",
80+
"eslint-plugin-prettier": "^5.2.2",
81+
"globals": "^16.0.0",
82+
"jest": "^30.0.0",
83+
"prettier": "^3.5.3",
84+
"source-map-support": "^0.5.21",
85+
"supertest": "^7.0.0",
86+
"ts-jest": "^29.2.5",
87+
"ts-loader": "^9.5.2",
88+
"ts-node": "^10.9.2",
89+
"tsconfig-paths": "^4.2.0",
90+
"typescript": "^5.8.3",
91+
"typescript-eslint": "^8.20.0"
92+
},
93+
"jest": {
94+
"moduleFileExtensions": [
95+
"js",
96+
"json",
97+
"ts"
98+
],
99+
"rootDir": "src",
100+
"testRegex": ".*\\.spec\\.ts$",
101+
"transform": {
102+
"^.+\\.(t|j)s$": "ts-jest"
103+
},
104+
"collectCoverageFrom": [
105+
"**/*.(t|j)s"
106+
],
107+
"coverageDirectory": "../coverage",
108+
"testEnvironment": "node",
109+
"moduleNameMapper": {
110+
"^@db$": "<rootDir>/../prisma/index",
111+
"^@/(.*)$": "<rootDir>/$1"
112+
}
113+
},
114+
"license": "UNLICENSED",
115+
"private": true,
116+
"scripts": {
117+
"build": "nest build",
118+
"build:docker": "bunx prisma generate && nest build",
119+
"db:generate": "bun run db:getschema && bunx prisma generate",
120+
"db:getschema": "node ../../packages/db/scripts/combine-schemas.js && cp ../../packages/db/dist/schema.prisma prisma/schema.prisma",
121+
"db:migrate": "cd ../../packages/db && bunx prisma migrate dev && cd ../../apps/api",
122+
"deploy:trigger-prod": "npx trigger.dev@4.0.6 deploy",
123+
"dev": "bunx concurrently --kill-others --names \"nest,trigger\" --prefix-colors \"green,blue\" \"nest start --watch\" \"bunx trigger.dev@4.0.6 dev\"",
124+
"dev:nest": "nest start --watch",
125+
"dev:trigger": "bunx trigger.dev@4.0.6 dev",
126+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
127+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
128+
"prebuild": "bun run db:generate",
129+
"start": "nest start",
130+
"start:debug": "nest start --debug --watch",
131+
"start:dev": "nest start --watch",
132+
"start:prod": "node dist/main",
133+
"test": "jest",
134+
"test:cov": "jest --coverage",
135+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
136+
"test:e2e": "jest --config ./test/jest-e2e.json",
137+
"test:watch": "jest --watch",
138+
"typecheck": "tsc --noEmit"
112139
}
113-
},
114-
"license": "UNLICENSED",
115-
"private": true,
116-
"scripts": {
117-
"build": "nest build",
118-
"build:docker": "bunx prisma generate && nest build",
119-
"db:generate": "bun run db:getschema && bunx prisma generate",
120-
"db:getschema": "node ../../packages/db/scripts/combine-schemas.js && cp ../../packages/db/dist/schema.prisma prisma/schema.prisma",
121-
"db:migrate": "cd ../../packages/db && bunx prisma migrate dev && cd ../../apps/api",
122-
"deploy:trigger-prod": "npx trigger.dev@4.0.6 deploy",
123-
"dev": "bunx concurrently --kill-others --names \"nest,trigger\" --prefix-colors \"green,blue\" \"nest start --watch\" \"bunx trigger.dev@4.0.6 dev\"",
124-
"dev:nest": "nest start --watch",
125-
"dev:trigger": "bunx trigger.dev@4.0.6 dev",
126-
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
127-
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
128-
"prebuild": "bun run db:generate",
129-
"start": "nest start",
130-
"start:debug": "nest start --debug --watch",
131-
"start:dev": "nest start --watch",
132-
"start:prod": "node dist/main",
133-
"test": "jest",
134-
"test:cov": "jest --coverage",
135-
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
136-
"test:e2e": "jest --config ./test/jest-e2e.json",
137-
"test:watch": "jest --watch",
138-
"typecheck": "tsc --noEmit"
139-
}
140140
}

0 commit comments

Comments
 (0)