Michael Bolin and GitHub
c249042817
Removes computeAutoApproval() and tightens up canAutoApprove() as the source of truth ( #126 )
...
Previously, `parseToolCall()` was using `computeAutoApproval()`, which
was a somewhat parallel implementation of `canAutoApprove()` in order to
get `SafeCommandReason` metadata for presenting information to the user.
The only function that was using `SafeCommandReason` was
`useMessageGrouping()`, but it turns out that function was unused, so
this PR removes `computeAutoApproval()` and all code related to it.
More importantly, I believe this fixes
https://github.com/openai/codex/issues/87 because
`computeAutoApproval()` was calling `parse()` from `shell-quote` without
wrapping it in a try-catch. This PR updates `canAutoApprove()` to use a
tighter try-catch block that is specific to `parse()` and returns an
appropriate `SafetyAssessment` in the event of an error, based on the
`ApprovalPolicy`.
Signed-off-by: Michael Bolin <[email protected] >
2025-04-16 15:39:41 -07:00
Aron Jones and GitHub
ea48be1164
dotenv support ( #122 )
...
Signed-off-by: Aron Jones <[email protected] >
2025-04-16 15:33:12 -07:00
Jon Church and GitHub
a74a068f64
fix: silence deprecation warnings without NODE_OPTIONS ( #80 )
...
Signed-off-by: Jon Church <[email protected] >
2025-04-16 15:25:32 -07:00
Fouad Matin and GitHub
4826fedf72
bump(version): 0.1.04161352 ( #125 )
...
Signed-off-by: Fouad Matin <[email protected] >
2025-04-16 15:11:02 -07:00
Michael Bolin and GitHub
ad7397a3f2
Back out @lib indirection in tsconfig.json ( #111 )
2025-04-16 14:16:53 -07:00
Thibault Sottiaux and GitHub
f3ebc0a2ed
(feat) basic retries when hitting rate limit errors ( #105 )
...
* w
Signed-off-by: Thibault Sottiaux <[email protected] >
* w
Signed-off-by: Thibault Sottiaux <[email protected] >
* w
Signed-off-by: Thibault Sottiaux <[email protected] >
* w
Signed-off-by: Thibault Sottiaux <[email protected] >
* w
Signed-off-by: Thibault Sottiaux <[email protected] >
---------
Signed-off-by: Thibault Sottiaux <[email protected] >
2025-04-16 13:47:23 -07:00
Jonathan Yang and GitHub
5ea0e6fdc1
fix: miss catching auto-edit ( #99 )
2025-04-16 13:23:18 -07:00
Fouad Matin and GitHub
0f63c23912
add: release script ( #96 )
...
* add: release script
* add: src to npm module
* fix: readme
Signed-off-by: Fouad Matin <[email protected] >
---------
Signed-off-by: Fouad Matin <[email protected] >
2025-04-16 13:21:22 -07:00
Varun Khalate and GitHub
2bc341ccae
fix: prompt typo ( #81 )
...
* fix: developer typo
* fix: typo
2025-04-16 12:43:10 -07:00
easong-openai and GitHub
7430943447
(feat) gracefully handle invalid commands ( #79 )
...
* handle invalid commands
* better test
* format
2025-04-16 12:30:43 -07:00
Thibault Sottiaux and GitHub
9b75636340
remove rg requirement ( #50 )
...
Signed-off-by: Thibault Sottiaux <[email protected] >
2025-04-16 11:37:16 -07:00
Adam Montgomery and GitHub
587b1de679
(feat) add request error details ( #31 )
...
Signed-off-by: Adam Montgomery <[email protected] >
2025-04-16 11:23:42 -07:00
Yashraj Yadav and GitHub
2deca8452b
(fix) o3 instead of o3-mini ( #37 )
...
* o3 instead of o3-mini
2025-04-16 11:18:41 -07:00
Rasmus Rygaard and GitHub
e89fef5555
Update model in code to o4-mini ( #39 )
...
Old docs had o3 as the default
2025-04-16 11:17:52 -07:00
Trevor Creech and GitHub
e38c3ff2c9
update summary to auto ( #1 )
2025-04-16 10:44:19 -07:00
Thibault Sottiaux and GitHub
76501d5807
remove triaging labels section + avoid capturing exitOnCtrlC for full-context mode
...
Signed-off-by: Thibault Sottiaux <[email protected] >
2025-04-16 10:41:44 -07:00
Thibault Sottiaux and GitHub
c4dde11e95
w ( #8 )
2025-04-16 10:32:45 -07:00
Thibault Sottiaux and GitHub
3caadcf071
move all tests under tests/ ( #3 )
2025-04-16 10:21:48 -07:00
Thibault Sottiaux and GitHub
8fff869d2b
Add link to cookbook ( #2 )
2025-04-16 13:15:46 -04:00
Ilan Bigio
20996fed4b
Initial commit
...
Signed-off-by: Ilan Bigio <[email protected] >
2025-04-16 13:00:18 -04:00
Ilan Bigio
bce28c1ace
Initial commit
...
Signed-off-by: Ilan Bigio <[email protected] >
2025-04-16 12:56:08 -04:00