@poncho-ai/cli 0.29.0 → 0.30.1

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "./chunk-3WODYQAB.js";
4
+ } from "./chunk-UYZOJWGL.js";
5
5
 
6
6
  // src/cli.ts
7
7
  void main();
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { IncomingMessage, ServerResponse, Server } from 'node:http';
2
2
  import { AgentHarness, CronJobConfig, ConversationStore } from '@poncho-ai/harness';
3
+ import { AgentEvent } from '@poncho-ai/sdk';
3
4
  import { MessagingAdapter } from '@poncho-ai/messaging';
4
5
  import { Command } from 'commander';
5
6
 
@@ -24,6 +25,15 @@ type RequestHandler = ((request: IncomingMessage, response: ServerResponse) => P
24
25
  _cronJobs?: Record<string, CronJobConfig>;
25
26
  _conversationStore?: ConversationStore;
26
27
  _messagingAdapters?: Map<string, MessagingAdapter>;
28
+ _activeConversationRuns?: Map<string, {
29
+ ownerId: string;
30
+ abortController: AbortController;
31
+ runId: string | null;
32
+ }>;
33
+ _pendingCallbackNeeded?: Set<string>;
34
+ _processSubagentCallback?: (conversationId: string, skipLockCheck?: boolean) => Promise<void>;
35
+ _broadcastEvent?: (conversationId: string, event: AgentEvent) => void;
36
+ _finishConversationStream?: (conversationId: string) => void;
27
37
  };
28
38
  declare const createRequestHandler: (options?: {
29
39
  workingDir?: string;
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  runTests,
24
24
  startDevServer,
25
25
  updateAgentGuidance
26
- } from "./chunk-3WODYQAB.js";
26
+ } from "./chunk-UYZOJWGL.js";
27
27
  export {
28
28
  addSkill,
29
29
  buildCli,
@@ -2,7 +2,7 @@ import {
2
2
  consumeFirstRunIntro,
3
3
  inferConversationTitle,
4
4
  resolveHarnessEnvironment
5
- } from "./chunk-3WODYQAB.js";
5
+ } from "./chunk-UYZOJWGL.js";
6
6
 
7
7
  // src/run-interactive-ink.ts
8
8
  import * as readline from "readline";
@@ -1882,6 +1882,9 @@ var runInteractiveInk = async ({
1882
1882
  if (currentTools.length > 0) {
1883
1883
  sections.push({ type: "tools", content: currentTools });
1884
1884
  currentTools = [];
1885
+ if (responseText.length > 0 && !/\s$/.test(responseText)) {
1886
+ responseText += " ";
1887
+ }
1885
1888
  }
1886
1889
  responseText += event.content;
1887
1890
  streamedText += event.content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/cli",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
4
4
  "description": "CLI for building and deploying AI agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,9 +27,9 @@
27
27
  "react": "^19.2.4",
28
28
  "react-devtools-core": "^6.1.5",
29
29
  "yaml": "^2.8.1",
30
- "@poncho-ai/harness": "0.27.0",
31
- "@poncho-ai/messaging": "0.7.1",
32
- "@poncho-ai/sdk": "1.6.0"
30
+ "@poncho-ai/harness": "0.28.1",
31
+ "@poncho-ai/messaging": "0.7.2",
32
+ "@poncho-ai/sdk": "1.6.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/busboy": "^1.5.4",