agent-afk 5.42.0 → 5.43.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.
@@ -18,6 +18,9 @@ export declare class BudgetExceededError extends Error {
18
18
  readonly maxBudgetUsd: number;
19
19
  constructor(runningCostUsd: number, maxBudgetUsd: number, message?: string);
20
20
  }
21
+ export declare class DenialCircuitBreakerError extends Error {
22
+ constructor(message: string);
23
+ }
21
24
  export declare class UnsupportedProviderConfigError extends Error {
22
25
  readonly provider: string;
23
26
  readonly field: string;
@@ -1,3 +1,3 @@
1
1
  import type { ExtractedContent } from './types.js';
2
2
  export declare const THIN_CONTENT_CHARS = 200;
3
- export declare function extractReadableMarkdown(html: string, url: string): ExtractedContent;
3
+ export declare function extractReadableMarkdown(html: string, url: string): Promise<ExtractedContent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.42.0",
3
+ "version": "5.43.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",