@poncho-ai/harness 0.25.0 → 0.26.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/harness@0.25.0 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.26.0 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
3
3
  > node scripts/embed-docs.js && tsup src/index.ts --format esm --dts
4
4
 
5
5
  [embed-docs] Generated poncho-docs.ts with 4 topics
@@ -8,8 +8,8 @@
8
8
  CLI tsup v8.5.1
9
9
  CLI Target: es2022
10
10
  ESM Build start
11
- ESM dist/index.js 268.11 KB
12
- ESM ⚡️ Build success in 638ms
11
+ ESM dist/index.js 276.38 KB
12
+ ESM ⚡️ Build success in 147ms
13
13
  DTS Build start
14
- DTS ⚡️ Build success in 9953ms
15
- DTS dist/index.d.ts 28.15 KB
14
+ DTS ⚡️ Build success in 7090ms
15
+ DTS dist/index.d.ts 28.59 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#40](https://github.com/cesr/poncho-ai/pull/40) [`95ae86b`](https://github.com/cesr/poncho-ai/commit/95ae86b4ea0d913357ccca9a43a227c83e46b9c4) Thanks [@cesr](https://github.com/cesr)! - Add built-in todo tools (todo_list, todo_add, todo_update, todo_remove) with per-conversation storage and a live todo panel in the web UI
8
+
3
9
  ## 0.25.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -330,6 +330,10 @@ type BuiltInToolToggles = {
330
330
  edit_file?: boolean;
331
331
  delete_file?: boolean;
332
332
  delete_directory?: boolean;
333
+ todo_list?: boolean;
334
+ todo_add?: boolean;
335
+ todo_update?: boolean;
336
+ todo_remove?: boolean;
333
337
  };
334
338
  interface MessagingChannelConfig {
335
339
  platform: "slack" | "resend" | "telegram";
@@ -480,6 +484,17 @@ declare class S3UploadStore implements UploadStore {
480
484
  }
481
485
  declare const createUploadStore: (config: UploadsConfig | undefined, workingDir: string) => Promise<UploadStore>;
482
486
 
487
+ type TodoStatus = "pending" | "in_progress" | "completed";
488
+ type TodoPriority = "high" | "medium" | "low";
489
+ interface TodoItem {
490
+ id: string;
491
+ content: string;
492
+ status: TodoStatus;
493
+ priority: TodoPriority;
494
+ createdAt: number;
495
+ updatedAt: number;
496
+ }
497
+
483
498
  type ModelProviderFactory = (modelName: string) => LanguageModel;
484
499
  /**
485
500
  * Returns the context window size (in tokens) for a given model name.
@@ -571,6 +586,7 @@ declare class AgentHarness {
571
586
  readonly uploadStore?: UploadStore;
572
587
  private skillContextWindow;
573
588
  private memoryStore?;
589
+ private todoStore?;
574
590
  private loadedConfig?;
575
591
  private loadedSkills;
576
592
  private skillFingerprint;
@@ -600,6 +616,7 @@ declare class AgentHarness {
600
616
  private shouldEnableWriteTool;
601
617
  constructor(options?: HarnessOptions);
602
618
  get frontmatter(): AgentFrontmatter | undefined;
619
+ getTodos(conversationId: string): Promise<TodoItem[]>;
603
620
  private listActiveSkills;
604
621
  private getAgentMcpIntent;
605
622
  private getAgentScriptIntent;