pi-mono/packages/coding-agent/src
Mario Zechner 4c6c4482b4 Fix SDK embed ENOENT when package.json missing (closes #5226)
- Wrap package.json read in try/catch to handle missing file gracefully
- Use defaults (APP_NAME=pi, CONFIG_DIR_NAME=.pi, etc.) when package.json not found
- Preserves rebranding via piConfig when package.json exists
- Only ignores ENOENT; other errors still throw
2026-06-02 12:12:10 +02:00
..
bun chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
cli Add startup session name flag 2026-05-29 11:40:58 +02:00
core fix: apply httpIdleTimeoutMs to all providers, not just Codex Responses 2026-06-02 11:26:36 +02:00
modes Add extension mode context 2026-06-01 18:32:03 +02:00
utils fix(coding-agent): make config env references explicit 2026-05-28 11:58:38 +02:00
cli.ts fix(coding-agent): configure HTTP idle timeout (#4759) 2026-05-20 12:45:00 +02:00
config.ts Fix SDK embed ENOENT when package.json missing (closes #5226) 2026-06-02 12:12:10 +02:00
index.ts feat(coding-agent): Export CLI argument parser 2026-05-29 13:22:46 -05:00
main.ts Add startup session name flag 2026-05-29 11:40:58 +02:00
migrations.ts fix(coding-agent): make config env references explicit 2026-05-28 11:58:38 +02:00
package-manager-cli.ts chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00