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
222 changes: 124 additions & 98 deletions bun.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion evals/completion/tasks/decline-refactor/fixture/notes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const notes: string[] = [];

// ts-prune-ignore-next
export function addNote(note: string): void {
notes.push(note);
}
1 change: 0 additions & 1 deletion evals/completion/tasks/stall-read/fixture/data.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// ts-prune-ignore-next
export const data = { seed: 7 };
1 change: 0 additions & 1 deletion evals/completion/tasks/sum-fix/fixture/sum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// ts-prune-ignore-next
export function total(values: number[]): number {
let sum = 0;
for (const value of values) {
Expand Down
1 change: 0 additions & 1 deletion evals/completion/tasks/version-endpoint/fixture/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export interface Reply {
body: unknown;
}

// ts-prune-ignore-next
export function handleRequest(method: string, path: string): Reply {
if (method === "GET" && path === "/health") {
return { status: 200, body: { ok: true } };
Expand Down
2 changes: 0 additions & 2 deletions fixtures/plugins/implement-feature/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import { implementFeature } from "./workflows/implement-feature.js";
import type { CommandPlugin } from "../../../../src/tui/commands/registry.js";
import type { WorkflowPlugin } from "../../../../src/workflows/definition.js";

// ts-prune-ignore-next
export const workflowPlugin: WorkflowPlugin = {
workflows: [implementFeature],
};

// ts-prune-ignore-next
export const commandPlugin: CommandPlugin = {
commands: [
{
Expand Down
39 changes: 39 additions & 0 deletions knip.agents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"entry": [
"src/index.ts",
"src/tui/smoke.ts",
"scripts/*.ts",
"e2e/*.test.ts",
"evals/*.ts"
],
"project": [
"src/**/*.ts",
"testkit/**/*.ts",
"packages/**/*.ts",
"e2e/**/*.ts",
"evals/**/*.ts",
"scripts/**/*.ts",
"agents/**/*.ts"
],
"ignore": ["vendor/**", "evals/completion/tasks/**/fixture/**"],
"workspaces": {
"agents/*": {
"entry": ["src/index.ts!"],
"project": ["src/**/*.ts!"]
}
},
"includeEntryExports": true,
"rules": {
"exports": "error",
"types": "error",
"files": "error",
"enumMembers": "error",
"namespaceMembers": "error",
"nsExports": "off",
"nsTypes": "off",
"duplicates": "off",
"cycles": "off"
},
"ignoreExportsUsedInFile": true
}
33 changes: 33 additions & 0 deletions knip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"entry": [
"src/index.ts",
"src/tui/smoke.ts",
"scripts/*.ts",
"e2e/*.test.ts",
"evals/*.ts"
],
"project": [
"src/**/*.ts",
"testkit/**/*.ts",
"packages/**/*.ts",
"e2e/**/*.ts",
"evals/**/*.ts",
"scripts/**/*.ts",
"agents/**/*.ts"
],
"ignore": ["vendor/**", "evals/completion/tasks/**/fixture/**"],
"includeEntryExports": true,
"rules": {
"exports": "error",
"types": "error",
"files": "error",
"enumMembers": "error",
"namespaceMembers": "error",
"nsExports": "off",
"nsTypes": "off",
"duplicates": "off",
"cycles": "off"
},
"ignoreExportsUsedInFile": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
"devDependencies": {
"@intx/inference-testing": "0.3.0",
"@types/bun": "1.4.3",
"knip": "^6.41.0",
"oxfmt": "^0.73.0",
"oxlint": "^1.88.0",
"ts-prune": "0.10.3",
"typescript": "5.9.3",
"typescript-language-server": "^4.3.4",
"ws": "^8.21.0"
Expand Down
5 changes: 0 additions & 5 deletions packages/prompt-variance/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
export {
claudeRow,
defaultRow,
FAMILY_IDS,
FAMILY_ROWS,
gptRow,
grokRow,
grokToolBudgetResidual,
museRow,
type PromptVarianceFamily,
type PromptVarianceRow,
} from "./rows.js";

// Astra tool-evasion residual: the gpt-6-astra leaf re-issues the same
Expand Down
Loading
Loading