Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
fetch-depth: 0
- uses: ./.github/actions/setup-workbench
- run: bun run typecheck
env:
WORKBENCH_CHECK_SINCE: ${{ github.event.pull_request.base.sha }}

build-test:
runs-on: ubuntu-latest
Expand All @@ -53,8 +51,6 @@ jobs:
- uses: ./.github/actions/setup-workbench
- run: bun run build
- run: bun run test
env:
WORKBENCH_CHECK_SINCE: ${{ github.event.pull_request.base.sha }}

structural:
runs-on: ubuntu-latest
Expand Down
12 changes: 11 additions & 1 deletion VENDORED.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,17 @@ exports map is repointed from the upstream `intx-src` resolve condition to
direct TypeScript source resolution (`types`/`default` → `./src/...`), with
`dist/` references and the `customConditions` entry in the shared tsconfig
removed — workbench forbids custom resolve conditions — and each tsconfig
carries `types: ["bun"]`. `vendor/intx/hub-api` (CL-6345) accepts
carries `types: ["bun"]`. `vendor/intx/*` (CL-7226) additionally gained the
workspace-wide TypeScript project-references cutover: a `tsconfig.src.json`
with `composite: true` and `references` generated from real workspace
`dependencies`, while `tsconfig.json` stays the combined, conventionally
named project (extends `tsconfig.src.json`, adds `test`) so tools that
discover a project by looking for a file literally named `tsconfig.json`
— ESLint's `projectService`, an editor, a bare `tsc` invocation — still
find one without being told the composite project exists at all. The same
shape every other package in the workspace got in the same change, so a
vendored package's build participates in `tsc --build` like any other.
`vendor/intx/hub-api` (CL-6345) accepts
`principalId: null` on `resolveApproval` for a decision a standing-grant
allowance already authorized, skipping the per-principal resolve gate the
HTTP routes still enforce. `vendor/intx/hub-api` (CL-workflow-deploy-bearer) adds
Expand Down
7 changes: 4 additions & 3 deletions apps/hub/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "test"],
"compilerOptions": {
"types": ["bun"],
"customConditions": ["bun"]
},
"include": ["src", "test"]
"customConditions": ["bun"],
"noEmit": true
}
}
60 changes: 57 additions & 3 deletions apps/sidecar/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,61 @@
{
"extends": "../../tsconfig.base.json",
"extends": "./tsconfig.src.json",
"compilerOptions": {
"types": ["bun"]
"composite": false,
"noEmit": true,
"disableSourceOfProjectReferenceRedirect": true,
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false,
"rootDir": "../.."
},
"include": ["src", "test"]
"include": ["src", "test"],
"exclude": [],
"references": [
{
"path": "../../packages/agent-lifecycle/tsconfig.src.json"
},
{
"path": "../../packages/credential-providers/tsconfig.src.json"
},
{
"path": "../../packages/error-sink/tsconfig.src.json"
},
{
"path": "../../packages/ollama-adapter/tsconfig.src.json"
},
{
"path": "../../vendor/intx/agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/harness/tsconfig.src.json"
},
{
"path": "../../vendor/intx/hub-agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/hub-sessions/tsconfig.src.json"
},
{
"path": "../../vendor/intx/inference/tsconfig.src.json"
},
{
"path": "../../vendor/intx/mail-memory/tsconfig.src.json"
},
{
"path": "../../vendor/intx/mime/tsconfig.src.json"
},
{
"path": "../../vendor/intx/types/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow-deploy/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow-host/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow/tsconfig.src.json"
}
]
}
59 changes: 59 additions & 0 deletions apps/sidecar/tsconfig.src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "package.json", "src/**/*.json"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"],
"compilerOptions": {
"types": ["bun"],
"composite": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
},
"references": [
{
"path": "../../packages/agent-lifecycle/tsconfig.src.json"
},
{
"path": "../../packages/credential-providers/tsconfig.src.json"
},
{
"path": "../../packages/error-sink/tsconfig.src.json"
},
{
"path": "../../packages/ollama-adapter/tsconfig.src.json"
},
{
"path": "../../vendor/intx/agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/harness/tsconfig.src.json"
},
{
"path": "../../vendor/intx/hub-agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/hub-sessions/tsconfig.src.json"
},
{
"path": "../../vendor/intx/inference/tsconfig.src.json"
},
{
"path": "../../vendor/intx/mail-memory/tsconfig.src.json"
},
{
"path": "../../vendor/intx/mime/tsconfig.src.json"
},
{
"path": "../../vendor/intx/types/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow-deploy/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow-host/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow/tsconfig.src.json"
}
]
}
7 changes: 4 additions & 3 deletions apps/web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "vite.config.ts", "test"],
"compilerOptions": {
"jsx": "react-jsx",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"types": ["bun"]
},
"include": ["src", "test", "vite.config.ts"]
"types": ["bun"],
"noEmit": true
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"scripts": {
"check": "bun run typecheck && bun run lint && bun run test && bun run check:structural",
"check:all": "bun run check && bun run check:packages",
"typecheck": "bun run scripts/run-all.ts typecheck && bunx tsc -p tsconfig.json --noEmit && bunx tsc -p test/isolation/tsconfig.json --noEmit",
"lint": "prettier --check --cache . && eslint --cache .",
"typecheck": "bun run scripts/typecheck.ts",
"lint": "bunx tsc --build tsconfig.build.json && prettier --check --cache . && NODE_OPTIONS=--max-old-space-size=6144 eslint --cache .",
"format": "prettier --write .",
"hooks:install": "bun run scripts/hooks-install.ts",
"prepare": "bun run hooks:install",
Expand All @@ -26,7 +26,7 @@
"setup:memory": "bun run scripts/setup-memory.ts",
"seed": "bun packages/cli/src/index.ts seed",
"reset": "bun packages/cli/src/index.ts reset",
"check:structural": "bun test scripts/checks/test && bun run check:deletion && bun run check:killdates && bun run check:licenses && bun run check:no-product-tenancy && bun run check:browser-safe-subpaths && bun run check:web-utilities && bun run check:tailwind-source && bun run check:ui-vocabulary && bun run check:react-ui-drift && bun run check:react-ui-pin && bun run check:tool-package-pins && bun run check:tool-package-freshness && bun run check:report-error",
"check:structural": "bun test scripts/checks/test && bun run check:deletion && bun run check:killdates && bun run check:licenses && bun run check:no-product-tenancy && bun run check:browser-safe-subpaths && bun run check:web-utilities && bun run check:tailwind-source && bun run check:ui-vocabulary && bun run check:react-ui-drift && bun run check:react-ui-pin && bun run check:tool-package-pins && bun run check:tool-package-freshness && bun run check:report-error && bun run check:tsconfig-references",
"check:deletion": "bun run scripts/checks/deletion.ts",
"check:report-error": "bun run scripts/checks/report-error.ts",
"check:killdates": "bun run scripts/checks/killdates.ts",
Expand All @@ -41,6 +41,7 @@
"check:react-ui-pin": "bun run scripts/checks/react-ui-pin.ts",
"check:tool-package-pins": "bun run scripts/checks/tool-package-pins.ts",
"check:tool-package-freshness": "bun run scripts/checks/tool-package-freshness.ts",
"check:tsconfig-references": "bun run scripts/generate-tsconfig-references.ts --check",
"build:sidecar-image": "docker build -f apps/sidecar/Dockerfile -t corbits-sidecar:dev .",
"eval": "bun run scripts/evals-run.ts"
},
Expand Down
7 changes: 4 additions & 3 deletions packages/access-policy/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "test"],
"compilerOptions": {
"types": ["bun"]
},
"include": ["src", "test"]
"types": ["bun"],
"noEmit": true
}
}
21 changes: 18 additions & 3 deletions packages/agent-directory-tools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
{
"extends": "../../tsconfig.base.json",
"extends": "./tsconfig.src.json",
"compilerOptions": {
"types": ["bun"]
"composite": false,
"noEmit": true,
"disableSourceOfProjectReferenceRedirect": true,
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false,
"rootDir": "../.."
},
"include": ["src"]
"include": ["src"],
"exclude": [],
"references": [
{
"path": "../../vendor/intx/agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/types/tsconfig.src.json"
}
]
}
20 changes: 20 additions & 0 deletions packages/agent-directory-tools/tsconfig.src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "package.json", "src/**/*.json"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"],
"compilerOptions": {
"types": ["bun"],
"composite": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
},
"references": [
{
"path": "../../vendor/intx/agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/types/tsconfig.src.json"
}
]
}
7 changes: 4 additions & 3 deletions packages/agent-directory/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "test"],
"compilerOptions": {
"types": ["bun"]
},
"include": ["src", "test"]
"types": ["bun"],
"noEmit": true
}
}
13 changes: 10 additions & 3 deletions packages/agent-events/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"extends": "./tsconfig.src.json",
"compilerOptions": {
"types": ["bun"]
"composite": false,
"noEmit": true,
"disableSourceOfProjectReferenceRedirect": true,
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false,
"rootDir": "../.."
},
"include": ["src"]
"include": ["src"],
"exclude": []
}
12 changes: 12 additions & 0 deletions packages/agent-events/tsconfig.src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "package.json", "src/**/*.json"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"],
"compilerOptions": {
"types": ["bun"],
"composite": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
}
}
13 changes: 10 additions & 3 deletions packages/agent-lifecycle/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"extends": "../../tsconfig.base.json",
"extends": "./tsconfig.src.json",
"compilerOptions": {
"types": ["bun"]
"composite": false,
"noEmit": true,
"disableSourceOfProjectReferenceRedirect": true,
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false,
"rootDir": "../.."
},
"include": ["src", "test"]
"include": ["src", "test"],
"exclude": []
}
12 changes: 12 additions & 0 deletions packages/agent-lifecycle/tsconfig.src.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src", "package.json", "src/**/*.json"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"],
"compilerOptions": {
"types": ["bun"],
"composite": true,
"emitDeclarationOnly": true,
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
}
}
30 changes: 27 additions & 3 deletions packages/agent-runtime/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
{
"extends": "../../tsconfig.base.json",
"extends": "./tsconfig.src.json",
"compilerOptions": {
"types": ["bun"]
"composite": false,
"noEmit": true,
"disableSourceOfProjectReferenceRedirect": true,
"declaration": false,
"declarationMap": false,
"emitDeclarationOnly": false,
"rootDir": "../.."
},
"include": ["src", "test"]
"include": ["src"],
"exclude": [],
"references": [
{
"path": "../../vendor/intx/agent/tsconfig.src.json"
},
{
"path": "../../vendor/intx/types/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow-deploy/tsconfig.src.json"
},
{
"path": "../../vendor/intx/workflow/tsconfig.src.json"
},
{
"path": "../workflow-source/tsconfig.src.json"
}
]
}
Loading
Loading