@poncho-ai/cli 0.25.1 → 0.25.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/cli",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "CLI for building and deploying AI agents",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -1123,6 +1123,14 @@ export default async function handler(req, res) {
1123
1123
  "{AGENT.md,poncho.config.js,skills/**,tests/**,node_modules/.pnpm/marked@*/node_modules/marked/lib/marked.umd.js}",
1124
1124
  },
1125
1125
  },
1126
+ headers: [
1127
+ {
1128
+ source: "/api/(.*)",
1129
+ headers: [
1130
+ { key: "Cache-Control", value: "private, no-cache, no-store, must-revalidate" },
1131
+ ],
1132
+ },
1133
+ ],
1126
1134
  routes: [{ src: "/(.*)", dest: "/api/index.mjs" }],
1127
1135
  };
1128
1136
  if (vercelCrons && vercelCrons.length > 0) {
@@ -4026,7 +4034,7 @@ export const createRequestHandler = async (options?: {
4026
4034
  }
4027
4035
 
4028
4036
  try {
4029
- const summaries = await conversationStore.listSummaries();
4037
+ const summaries = await conversationStore.listSummaries(cronOwnerId);
4030
4038
  const targetSummaries = new Map<string, ConversationSummary>();
4031
4039
  for (const s of summaries) {
4032
4040
  if (s.channelMeta?.platform !== cronJob.channel) continue;
@@ -4449,7 +4457,7 @@ export const startDevServer = async (
4449
4457
  return;
4450
4458
  }
4451
4459
  try {
4452
- const summaries = await store.listSummaries();
4460
+ const summaries = await store.listSummaries("local-owner");
4453
4461
  const targetSummaries = new Map<string, ConversationSummary>();
4454
4462
  for (const s of summaries) {
4455
4463
  if (s.channelMeta?.platform !== config.channel) continue;