Files
oh-my-pi/biome.json
T
can1357 ae01a76136 fix(agent): hardened pre-model-call gate state cleanup and API surface
- Cleared the retained soft-requirement lifecycle alongside the deferred
  hard choice: clearDeferredToolDirectives() owns both, is called from
  clearAllQueues/reset and session-scoped tool-state cleanup, with a
  regression covering reminder re-injection after a queue clear.
- Allowed void-returning pre-model gates via the named AgentBeforeModelCall
  type and normalized gate results in the loop and Agent dispatcher.
- Documented that the first gate installed mid-run applies from the next
  run; corrected the onToolChoiceRejected contract docs; documented the
  cross-run lifetime of ToolChoiceQueue's in-flight claim.
- Removed the unused addBeforeModelContextBuild hook.
- Relocated both packages' changelog entries out of the released 17.1.4
  sections into Unreleased with PR attribution, folding the never-shipped
  Fixed bullet into Added and noting the input-event timing change.
2026-07-27 14:08:53 +02:00

73 lines
1.5 KiB
JSON

{
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},
"linter": {
"enabled": true,
"includes": ["**"],
"rules": {
"preset": "recommended",
"a11y": "off",
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": {
"level": "warn",
"fix": "none"
},
"noVoidTypeReturn": "off"
},
"style": {
"noNonNullAssertion": "off",
"useConst": "error",
"useNodejsImportProtocol": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noControlCharactersInRegex": "off",
"noEmptyInterface": "off",
"noConstEnum": "off",
"noConfusingVoidType": "off"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"indentWidth": 3,
"lineWidth": 120,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"semicolons": "always",
"quoteStyle": "double",
"trailingCommas": "all",
"bracketSpacing": true,
"arrowParentheses": "asNeeded"
}
},
"files": {
"includes": [
"packages/*/src/**/*.ts",
"packages/*/src/**/*.tsx",
"packages/*/test/**/*.ts",
"packages/*/examples/**/*.ts",
"packages/*/scripts/**/*.ts",
"packages/*/*.ts",
"scripts/**/*.ts",
"!packages/natives/native/index.d.ts",
"!**/vendor/**/*",
"!**/node_modules/**/*",
"!**/test-sessions.ts",
"!**/agent_pb.ts",
"!**/devin-gen/**/*",
"!.worktrees/**/*",
"!.wt/**/*"
]
},
"assist": { "actions": { "source": { "organizeImports": "on" } } }
}