@cortexkit/aft 0.35.4 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.js +55 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@ Unified CLI for [Agent File Tools (AFT)](https://github.com/cortexkit/aft) — s
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx @cortexkit/aft setup # interactive setup for one or more harnesses
|
|
9
|
-
npx @cortexkit/aft doctor # check and fix configuration issues
|
|
10
|
-
npx @cortexkit/aft doctor --force # force clear plugin cache
|
|
11
|
-
npx @cortexkit/aft doctor --issue # collect diagnostics and open a GitHub issue
|
|
8
|
+
npx @cortexkit/aft@latest setup # interactive setup for one or more harnesses
|
|
9
|
+
npx @cortexkit/aft@latest doctor # check and fix configuration issues
|
|
10
|
+
npx @cortexkit/aft@latest doctor --force # force clear plugin cache
|
|
11
|
+
npx @cortexkit/aft@latest doctor --issue # collect diagnostics and open a GitHub issue
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
By default the CLI auto-detects which harnesses are installed on your system (OpenCode, Pi). When multiple are detected, it prompts you to choose. Use `--harness opencode` or `--harness pi` to target one explicitly.
|
package/dist/index.js
CHANGED
|
@@ -927,7 +927,6 @@ var init_bridge = __esm(() => {
|
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
929
|
});
|
|
930
|
-
|
|
931
930
|
// ../aft-bridge/dist/platform.js
|
|
932
931
|
var init_platform = () => {};
|
|
933
932
|
|
|
@@ -1148,6 +1147,60 @@ var init_onnx_runtime = __esm(() => {
|
|
|
1148
1147
|
};
|
|
1149
1148
|
});
|
|
1150
1149
|
|
|
1150
|
+
// ../aft-bridge/dist/pipe-strip.js
|
|
1151
|
+
var NOISE_FILTERS, GREP_GUARD_FLAGS, XCODEBUILD_VALUE_FLAGS, XCODEBUILD_BUILD_ACTIONS, READS_FILE_OPERAND;
|
|
1152
|
+
var init_pipe_strip = __esm(() => {
|
|
1153
|
+
NOISE_FILTERS = new Set([
|
|
1154
|
+
"grep",
|
|
1155
|
+
"rg",
|
|
1156
|
+
"head",
|
|
1157
|
+
"tail",
|
|
1158
|
+
"cat",
|
|
1159
|
+
"less",
|
|
1160
|
+
"more",
|
|
1161
|
+
"sed",
|
|
1162
|
+
"awk",
|
|
1163
|
+
"cut",
|
|
1164
|
+
"sort",
|
|
1165
|
+
"uniq",
|
|
1166
|
+
"tr",
|
|
1167
|
+
"column",
|
|
1168
|
+
"fold"
|
|
1169
|
+
]);
|
|
1170
|
+
GREP_GUARD_FLAGS = new Set([
|
|
1171
|
+
"c",
|
|
1172
|
+
"count",
|
|
1173
|
+
"q",
|
|
1174
|
+
"quiet",
|
|
1175
|
+
"o",
|
|
1176
|
+
"only-matching",
|
|
1177
|
+
"l",
|
|
1178
|
+
"files-with-matches"
|
|
1179
|
+
]);
|
|
1180
|
+
XCODEBUILD_VALUE_FLAGS = new Set([
|
|
1181
|
+
"-scheme",
|
|
1182
|
+
"-target",
|
|
1183
|
+
"-project",
|
|
1184
|
+
"-workspace",
|
|
1185
|
+
"-configuration",
|
|
1186
|
+
"-sdk",
|
|
1187
|
+
"-destination",
|
|
1188
|
+
"-arch",
|
|
1189
|
+
"-derivedDataPath",
|
|
1190
|
+
"-resultBundlePath",
|
|
1191
|
+
"-xcconfig",
|
|
1192
|
+
"-toolchain"
|
|
1193
|
+
]);
|
|
1194
|
+
XCODEBUILD_BUILD_ACTIONS = new Set([
|
|
1195
|
+
"build",
|
|
1196
|
+
"test",
|
|
1197
|
+
"build-for-testing",
|
|
1198
|
+
"test-without-building",
|
|
1199
|
+
"analyze"
|
|
1200
|
+
]);
|
|
1201
|
+
READS_FILE_OPERAND = new Set(["cat", "tac", "nl", "less", "more"]);
|
|
1202
|
+
});
|
|
1203
|
+
|
|
1151
1204
|
// ../aft-bridge/dist/pool.js
|
|
1152
1205
|
import { realpathSync } from "node:fs";
|
|
1153
1206
|
|
|
@@ -1339,6 +1392,7 @@ var init_dist = __esm(() => {
|
|
|
1339
1392
|
init_npm_resolver();
|
|
1340
1393
|
init_onnx_runtime();
|
|
1341
1394
|
init_paths();
|
|
1395
|
+
init_pipe_strip();
|
|
1342
1396
|
init_platform();
|
|
1343
1397
|
init_pool();
|
|
1344
1398
|
init_resolver();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Unified CLI for Agent File Tools (AFT) — setup, doctor, and diagnostics across supported agent harnesses (OpenCode, Pi)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@clack/prompts": "^1.2.0",
|
|
27
|
-
"@cortexkit/aft-bridge": "0.
|
|
27
|
+
"@cortexkit/aft-bridge": "0.36.1",
|
|
28
28
|
"comment-json": "^4.6.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|