@lsctech/polaris 0.3.14 → 0.3.15

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.
@@ -153,9 +153,16 @@ If no doctrine docs are relevant, return an empty array for relevant_docs.`;
153
153
  const args = stripWorkerFlags(rawArgs);
154
154
  const result = (0, node_child_process_1.spawnSync)(cfg.command, args, {
155
155
  encoding: "utf-8",
156
- timeout: 60000,
156
+ timeout: 120000,
157
157
  cwd: repoRoot,
158
158
  });
159
+ if (result.error) {
160
+ console.log(` agent error: ${result.error.message}`);
161
+ return null;
162
+ }
163
+ if (result.stderr?.trim()) {
164
+ console.log(` agent stderr: ${result.stderr.trim().slice(0, 200)}`);
165
+ }
159
166
  const stdout = (result.stdout ?? "").trim();
160
167
  // Try single-line JSON first (ideal case)
161
168
  const jsonLine = stdout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsctech/polaris",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Polaris — standalone taskchain orchestration framework for governed AI agent workflows",
5
5
  "bin": {
6
6
  "polaris-cli": "dist/cli/index.js"