You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/src/logging
Yida-Dev 4216449405
fix: guard resolveUserPath against undefined input (#10176)
* fix: guard resolveUserPath against undefined input

When subagent spawner omits workspaceDir, resolveUserPath receives
undefined and crashes on .trim().  Add a falsy guard that falls back
to process.cwd(), matching the behavior callers already expect.

Closes #10089

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: harden runner workspace fallback (#10176) (thanks @Yida-Dev)

* fix: harden workspace fallback scoping (#10176) (thanks @Yida-Dev)

* refactor: centralize workspace fallback classification and redaction (#10176) (thanks @Yida-Dev)

* test: remove explicit any from utils mock (#10176) (thanks @Yida-Dev)

* security: reject malformed agent session keys for workspace resolution (#10176) (thanks @Yida-Dev)

---------

Co-authored-by: Yida-Dev <reyifeijun@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
10 months ago
..
config.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
console-capture.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
console-prefix.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
console-settings.test.ts fix: guard console settings recursion (#1555) (thanks @travisp) 10 months ago
console.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
diagnostic.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 10 months ago
levels.ts chore: migrate to oxlint and oxfmt 10 months ago
logger.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
parse-log-line.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
parse-log-line.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 10 months ago
redact-identifier.ts fix: guard resolveUserPath against undefined input (#10176) 10 months ago
redact.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
redact.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago
state.ts Logging: guard console settings recursion 10 months ago
subsystem.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 10 months ago