agent-afk 5.107.1 → 5.108.0
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/dist/agent/providers/anthropic-direct/provider-runtime.d.ts +1 -0
- package/dist/cli.mjs +498 -496
- package/dist/index.mjs +189 -187
- package/dist/telegram.mjs +255 -253
- package/dist/web/extraction-advisory.d.ts +8 -0
- package/dist/web/scrape.d.ts +1 -0
- package/package.json +7 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const MIN_SOURCE_TEXT_CHARS = 2000;
|
|
2
|
+
export declare const MIN_RETAINED_RATIO = 0.5;
|
|
3
|
+
export declare function visibleTextLength(html: string): number;
|
|
4
|
+
export declare function extractionAdvisory(opts: {
|
|
5
|
+
html: string;
|
|
6
|
+
extractedTextLength: number;
|
|
7
|
+
}): string | undefined;
|
|
8
|
+
export declare function withAdvisory(markdown: string, advisory: string | undefined): string;
|
package/dist/web/scrape.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-afk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.108.0",
|
|
4
4
|
"description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -133,6 +133,12 @@
|
|
|
133
133
|
"audit:chalk:list": "tsx scripts/audit-chalk-usage.ts --list",
|
|
134
134
|
"scan:env": "tsx scripts/render-env-registry.ts",
|
|
135
135
|
"scan:env:check": "tsx scripts/render-env-registry.ts --check",
|
|
136
|
+
"audit:filesize": "tsx scripts/check-file-size.ts",
|
|
137
|
+
"audit:filesize:check": "tsx scripts/check-file-size.ts --check",
|
|
138
|
+
"audit:filesize:list": "tsx scripts/check-file-size.ts --list",
|
|
139
|
+
"audit:filesize:update": "tsx scripts/check-file-size.ts --update-baseline",
|
|
140
|
+
"audit:module-state": "tsx scripts/audit-module-state.ts",
|
|
141
|
+
"audit:module-state:check": "tsx scripts/audit-module-state.ts --check",
|
|
136
142
|
"fix:pins": "tsx scripts/update-hash-pins.ts",
|
|
137
143
|
"fix:pins:check": "tsx scripts/update-hash-pins.ts --check",
|
|
138
144
|
"stats:tools": "tsx scripts/count-tool-calls.ts",
|