hiloop-sdk 0.5.1 → 0.5.2

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/client.d.ts CHANGED
@@ -280,6 +280,7 @@ export declare class HiloopClient {
280
280
  listConvSessionTimeline(sessionId: string, opts?: {
281
281
  limit?: number;
282
282
  before?: string;
283
+ after?: string;
283
284
  }): Promise<{
284
285
  items: Record<string, unknown>[];
285
286
  }>;
package/dist/client.js CHANGED
@@ -576,6 +576,8 @@ export class HiloopClient {
576
576
  params.limit = String(opts.limit);
577
577
  if (opts?.before !== undefined)
578
578
  params.before = opts.before;
579
+ if (opts?.after !== undefined)
580
+ params.after = opts.after;
579
581
  const result = await this.request("GET", `/agent/sessions/${sessionId}/timeline`, { params });
580
582
  // Decrypt timeline items (session messages + interaction fields)
581
583
  if (Array.isArray(result.items)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hiloop-sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "TypeScript SDK for Hiloop — zero-trust human-AI agent interaction platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",