@livx.cc/agentx 0.99.57 → 0.99.58
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.d.ts +7 -0
- package/dist/cli.js +2074 -302
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +167 -29
- package/dist/index.js +1472 -186
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.d.ts
CHANGED
|
@@ -58,6 +58,13 @@ declare class SessionStore {
|
|
|
58
58
|
load(id: string): SessionData | undefined;
|
|
59
59
|
/** All sessions' metadata, most-recently-updated first. */
|
|
60
60
|
list(): SessionMeta[];
|
|
61
|
+
/** Cheap listing — ids from filenames + mtime/size from stat, NO parsing (list() parses every file: 870
|
|
62
|
+
* sessions / 157MB took ~150ms+ synchronously). Most-recently-written first. */
|
|
63
|
+
files(): {
|
|
64
|
+
id: string;
|
|
65
|
+
mtime: number;
|
|
66
|
+
size: number;
|
|
67
|
+
}[];
|
|
61
68
|
latest(): SessionMeta | undefined;
|
|
62
69
|
/** The most-recently-updated session's full data (single listing pass). */
|
|
63
70
|
latestData(): SessionData | undefined;
|