sc-research 1.0.5 → 1.0.7
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
|
@@ -223,7 +223,7 @@ var windsurfAdapter = {
|
|
|
223
223
|
const config = loadPlatformConfig("windsurf");
|
|
224
224
|
return templates.map((template) => renderMarkdownOnly(template, {
|
|
225
225
|
rootDir: config.folderStructure.root,
|
|
226
|
-
commandDirName: "
|
|
226
|
+
commandDirName: "workflows",
|
|
227
227
|
skillDirName: "skills",
|
|
228
228
|
skillFileName: "SKILL.md"
|
|
229
229
|
}));
|
|
@@ -403,7 +403,7 @@ async function runInit(opts) {
|
|
|
403
403
|
logger.info("Next steps:");
|
|
404
404
|
logger.info(" 1) Ensure your project has required env vars set (for example in .sc-research):");
|
|
405
405
|
logger.info(" - OPENAI_API_KEY");
|
|
406
|
-
logger.info(" - XAI_API_KEY
|
|
406
|
+
logger.info(" - XAI_API_KEY");
|
|
407
407
|
logger.info(" 2) You can now run from this project:");
|
|
408
408
|
logger.info(' - sc-research research "your topic"');
|
|
409
409
|
logger.info(' - sc-research research:deep "your topic"');
|
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ Return:
|
|
|
76
76
|
| Scenario | Symptom | Action |
|
|
77
77
|
|---|---|---|
|
|
78
78
|
| Missing `OPENAI_API_KEY` | Auth failure on Reddit fetch | Set valid `OPENAI_API_KEY` in `.sc-research` |
|
|
79
|
-
| Missing `XAI_API_KEY` | X file missing/empty while Reddit succeeds | Set `XAI_API_KEY` in `.sc-research`
|
|
79
|
+
| Missing `XAI_API_KEY` | X file missing/empty while Reddit succeeds | Set `XAI_API_KEY` in `.sc-research` to enable X fetching |
|
|
80
80
|
| No relevant results | `items` is empty | Broaden topic keywords and retry |
|
|
81
81
|
| Rate limit / transient API failure | Timeout or provider error | Wait, then retry once with same parameters |
|
|
82
82
|
| Malformed output | JSON parse failure or missing `items` | Re-run fetch; if repeated, report failure explicitly |
|