Core CLI (cli/) is now a lean Pi agent — no sandbox tools bundled. Sandbox tools live in packages/sandbox/ as a Pi package installable via: openharness install @openharness/sandbox - Move tools/, lib/, __tests__ from cli/src/ to packages/sandbox/src/ - Create packages/sandbox/extensions/sandbox.ts (Pi extension) - Core CLI dynamically imports @openharness/sandbox, graceful fallback - 42 tests pass in sandbox package, core builds clean Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
29 lines
659 B
JavaScript
29 lines
659 B
JavaScript
import eslint from "@typescript-eslint/eslint-plugin";
|
|
import parser from "@typescript-eslint/parser";
|
|
|
|
export default [
|
|
{
|
|
files: ["src/**/*.ts", "extensions/**/*.ts"],
|
|
ignores: ["src/__tests__/**"],
|
|
languageOptions: {
|
|
parser,
|
|
parserOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: "module",
|
|
},
|
|
},
|
|
plugins: {
|
|
"@typescript-eslint": eslint,
|
|
},
|
|
rules: {
|
|
...eslint.configs.recommended.rules,
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_" },
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"no-console": "off",
|
|
},
|
|
},
|
|
];
|