(handle: string)
| 178 | |
| 179 | /** What an agent can do with the weekly intel, over MCP or the API. */ |
| 180 | export const getIntelPrompt = (handle: string): string => |
| 181 | [ |
| 182 | `Read the latest weekly intel for @${handle} with the daily.dev MCP tools if you have them, otherwise my daily.dev API token (\`DAILY_DEV_TOKEN\`) and ${getIntelApiUrl(handle)}. If you have neither, stop and tell me to add ${DAILY_MCP_URL}.`, |
| 183 | '', |
| 184 | 'Then look at what I shipped or wrote recently and suggest three posts for our daily.dev page. For each, give the angle, format, title, length and the best day and hour to publish, and say which numbers in the intel back it.', |
| 185 | ].join('\n'); |
| 186 | |
| 187 | const connectLine = (handle: string): string => |
| 188 | `This is for our daily.dev company page @${handle}. Use the daily.dev MCP tools if you have them, otherwise my daily.dev API token (\`DAILY_DEV_TOKEN\`). If you have neither, stop and tell me to add ${DAILY_MCP_URL}.`; |
no test coverage detected