agent-afk 5.315.2 → 5.315.3
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/cli/slash/commands/bug.body.d.ts +22 -0
- package/dist/cli/slash/commands/bug.d.ts +4 -0
- package/dist/cli.mjs +383 -380
- package/dist/index.mjs +177 -177
- package/dist/telegram.mjs +189 -189
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const BUG_REPORT_REPO = "griffinwork40/agent-afk";
|
|
2
|
+
export declare const MAX_BUG_URL_LENGTH = 7500;
|
|
3
|
+
export interface BugEnvironment {
|
|
4
|
+
version: string;
|
|
5
|
+
nodeVersion: string;
|
|
6
|
+
os: string;
|
|
7
|
+
model?: string;
|
|
8
|
+
sessionId?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BugReport {
|
|
11
|
+
title: string;
|
|
12
|
+
body: string;
|
|
13
|
+
}
|
|
14
|
+
export interface BugReportLink {
|
|
15
|
+
url: string;
|
|
16
|
+
truncated: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function buildBugTitle(description: string): string;
|
|
19
|
+
export declare function buildBugBody(description: string, env: BugEnvironment): string;
|
|
20
|
+
export declare function buildBugReport(description: string, env: BugEnvironment): BugReport;
|
|
21
|
+
export declare function bugReportUrl(report: BugReport, repo?: string): string;
|
|
22
|
+
export declare function buildBugReportLink(description: string, env: BugEnvironment, maxLength?: number): BugReportLink;
|