toga-ai 1.0.1104 → 1.0.1105
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
|
@@ -412,8 +412,11 @@ function buildContext(data) {
|
|
|
412
412
|
return ctx;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
+
/* /tmp too: on macOS os.tmpdir() is /var/folders/.../T, but agents often save to /tmp (= /private/tmp),
|
|
416
|
+
* so ticket-reader's save of an inline ClickUp result was blocked and /start could not verify. */
|
|
415
417
|
function safeZonePrefixes() {
|
|
416
418
|
const bases = [path.join(os.homedir(), '.claude'), os.tmpdir(), process.env.TEMP, process.env.TMP];
|
|
419
|
+
if (process.platform !== 'win32') bases.push('/tmp');
|
|
417
420
|
const out = new Set();
|
|
418
421
|
for (const b of bases) if (b) out.add(canon(b));
|
|
419
422
|
return [...out];
|