@poncho-ai/cli 0.11.1 → 0.13.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.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +24 -0
- package/dist/{chunk-T2F6ICXI.js → chunk-CUCEDHME.js} +542 -18
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/{run-interactive-ink-7FP5PT7Q.js → run-interactive-ink-VZBOYJYS.js} +1 -1
- package/package.json +5 -3
- package/src/index.ts +594 -19
- package/src/init-feature-context.ts +6 -0
- package/src/init-onboarding.ts +10 -2
- package/test/cli.test.ts +42 -2
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IncomingMessage, ServerResponse, Server } from 'node:http';
|
|
2
|
+
import { AgentHarness, CronJobConfig, ConversationStore } from '@poncho-ai/harness';
|
|
2
3
|
import { Command } from 'commander';
|
|
3
4
|
|
|
4
5
|
type InitOnboardingOptions = {
|
|
@@ -17,7 +18,11 @@ declare const initProject: (projectName: string, options?: {
|
|
|
17
18
|
envExampleOverride?: string;
|
|
18
19
|
}) => Promise<void>;
|
|
19
20
|
declare const updateAgentGuidance: (workingDir: string) => Promise<boolean>;
|
|
20
|
-
type RequestHandler = (request: IncomingMessage, response: ServerResponse) => Promise<void
|
|
21
|
+
type RequestHandler = ((request: IncomingMessage, response: ServerResponse) => Promise<void>) & {
|
|
22
|
+
_harness?: AgentHarness;
|
|
23
|
+
_cronJobs?: Record<string, CronJobConfig>;
|
|
24
|
+
_conversationStore?: ConversationStore;
|
|
25
|
+
};
|
|
21
26
|
declare const createRequestHandler: (options?: {
|
|
22
27
|
workingDir?: string;
|
|
23
28
|
}) => Promise<RequestHandler>;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poncho-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "CLI for building and deploying AI agents",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,14 +20,16 @@
|
|
|
20
20
|
"@inquirer/prompts": "^8.2.0",
|
|
21
21
|
"busboy": "^1.6.0",
|
|
22
22
|
"commander": "^12.0.0",
|
|
23
|
+
"croner": "^10.0.1",
|
|
23
24
|
"dotenv": "^16.4.0",
|
|
24
25
|
"ink": "^6.7.0",
|
|
25
26
|
"marked": "^17.0.2",
|
|
26
27
|
"react": "^19.2.4",
|
|
27
28
|
"react-devtools-core": "^6.1.5",
|
|
28
29
|
"yaml": "^2.8.1",
|
|
29
|
-
"@poncho-ai/
|
|
30
|
-
"@poncho-ai/
|
|
30
|
+
"@poncho-ai/messaging": "0.2.0",
|
|
31
|
+
"@poncho-ai/harness": "0.13.1",
|
|
32
|
+
"@poncho-ai/sdk": "1.0.1"
|
|
31
33
|
},
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"@types/busboy": "^1.5.4",
|