Commit Graph

9813 Commits

Author SHA1 Message Date
Michael Bolin
44b5edc19c merge commit for archive created by Sapling 2026-03-19 16:04:25 -07:00
Michael Bolin
7bda0558f8 core: add a sandbox-backed fs helper 2026-03-19 16:03:52 -07:00
Michael Bolin
bf55a786b1 merge commit for archive created by Sapling 2026-03-19 16:01:11 -07:00
Michael Bolin
a65e55d571 core: add a sandbox-backed fs helper 2026-03-19 16:01:06 -07:00
Michael Bolin
c5f37f6bea merge commit for archive created by Sapling 2026-03-19 15:59:41 -07:00
Michael Bolin
9e4562b3fc core: add a sandbox-backed fs helper 2026-03-19 15:59:31 -07:00
Michael Bolin
27ffb0b768 merge commit for archive created by Sapling 2026-03-19 15:43:47 -07:00
Michael Bolin
21a06c2db7 core: add a sandbox-backed fs helper 2026-03-19 15:43:39 -07:00
Michael Bolin
b5745700d0 merge commit for archive created by Sapling 2026-03-19 15:42:17 -07:00
Michael Bolin
ad6148a101 core: add a sandbox-backed fs helper 2026-03-19 15:42:03 -07:00
Michael Bolin
01ad93d499 merge commit for archive created by Sapling 2026-03-19 15:38:57 -07:00
Michael Bolin
1ed9cf650a core: add a sandbox-backed fs helper 2026-03-19 15:38:45 -07:00
Michael Bolin
b89317a39a merge commit for archive created by Sapling 2026-03-19 15:32:58 -07:00
Michael Bolin
b3f5cda400 core: add a sandbox-backed fs helper 2026-03-19 15:32:40 -07:00
Michael Bolin
e5fecd42b3 merge commit for archive created by Sapling 2026-03-19 14:27:54 -07:00
Michael Bolin
7913ce9352 core: add stdin-backed sandboxed fs writes 2026-03-19 14:26:54 -07:00
Michael Bolin
1ff97ac085 core: route view_image through a sandbox-backed fs helper 2026-03-19 14:26:54 -07:00
Michael Bolin
45fb34f99c core: add a sandbox-backed fs helper 2026-03-19 14:26:54 -07:00
Michael Bolin
3b141a1aa1 Merge 399badc0b3 into sapling-pr-archive-bolinfest 2026-03-19 12:54:16 -07:00
Michael Bolin
399badc0b3 core: add stdin-backed sandboxed fs writes 2026-03-19 12:53:49 -07:00
Michael Bolin
d5d4a98eb8 merge commit for archive created by Sapling 2026-03-19 12:53:36 -07:00
Michael Bolin
b1141b486a core: route view_image through a sandbox-backed fs helper 2026-03-19 12:53:13 -07:00
Michael Bolin
2e1d27522b core: add a sandbox-backed fs helper 2026-03-19 12:53:13 -07:00
Michael Bolin
44f27b32bd Merge 294e1da6d7 into sapling-pr-archive-bolinfest 2026-03-19 12:36:25 -07:00
Michael Bolin
294e1da6d7 core: route view_image through a sandbox-backed fs helper 2026-03-19 12:35:57 -07:00
Michael Bolin
29d2549588 core: add a sandbox-backed fs helper 2026-03-19 12:35:57 -07:00
Michael Bolin
494fe06909 merge commit for archive created by Sapling 2026-03-19 12:29:37 -07:00
Michael Bolin
5d9ef97211 core: route view_image through a sandbox-backed fs helper 2026-03-19 12:29:24 -07:00
Michael Bolin
c1a69272e5 merge commit for archive created by Sapling 2026-03-19 11:04:57 -07:00
Michael Bolin
612c788ddf Use released DotSlash package for argument-comment lint 2026-03-19 11:04:48 -07:00
Michael Bolin
7477c7c5f5 merge commit for archive created by Sapling 2026-03-19 10:59:04 -07:00
Michael Bolin
08cf074f2e Use released DotSlash package for argument-comment lint 2026-03-19 10:57:50 -07:00
Michael Bolin
5afbcf6136 Publish runnable DotSlash package for argument-comment lint 2026-03-19 10:57:34 -07:00
Michael Bolin
7f8d426754 Merge b28be3bfcd into sapling-pr-archive-bolinfest 2026-03-19 10:41:44 -07:00
Michael Bolin
b28be3bfcd Publish runnable DotSlash package for argument-comment lint 2026-03-19 10:22:47 -07:00
Michael Bolin
c9a0948f5e merge commit for archive created by Sapling 2026-03-19 10:02:27 -07:00
Michael Bolin
3e8bed9991 core: add stdin-backed sandboxed fs writes 2026-03-19 10:00:37 -07:00
Michael Bolin
0a8cdc5890 core: route view_image through a sandbox-backed fs helper 2026-03-19 10:00:37 -07:00
Michael Bolin
1e3e06d6d4 Merge a02c347a59 into sapling-pr-archive-bolinfest 2026-03-19 09:28:16 -07:00
Michael Bolin
a02c347a59 core: add stdin-backed sandboxed fs writes 2026-03-19 09:27:59 -07:00
Michael Bolin
40ba3162cc core: route view_image through a sandbox-backed fs helper 2026-03-19 09:18:57 -07:00
jif-oai
859c58f07d chore: morpheus does not generate memories (#15175)
For obvious reasons
2026-03-19 15:48:28 +00:00
jif-oai
2cf4d5ef35 chore: add metrics for profile (#15180) 2026-03-19 15:48:02 +00:00
pakrym-oai
dee03da508 Move environment abstraction into exec server (#15125)
The idea is that codex-exec exposes an Environment struct with services
on it. Each of those is a trait.

Depending on construction parameters passed to Environment they are
either backed by local or remote server but core doesn't see these
differences.
2026-03-19 08:31:14 -07:00
jif-oai
32d2df5c1e fix: case where agent is already closed (#15163) 2026-03-19 12:12:50 +00:00
jif-oai
70cdb17703 feat: add graph representation of agent network (#15056)
Add a representation of the agent graph. This is now used for:
* Cascade close agents (when I close a parent, it close the kids)
* Cascade resume (oposite)

Later, this will also be used for post-compaction stuffing of the
context

Direct fix for: https://github.com/openai/codex/issues/14458
2026-03-19 10:21:25 +00:00
xl-openai
db5781a088 feat: support product-scoped plugins. (#15041)
1. Added SessionSource::Custom(String) and --session-source.
  2. Enforced plugin and skill products by session_source.
  3. Applied the same filtering to curated background refresh.
2026-03-19 00:46:15 -07:00
Eric Traut
01df50cf42 Add thread/shellCommand to app server API surface (#14988)
This PR adds a new `thread/shellCommand` app server API so clients can
implement `!` shell commands. These commands are executed within the
sandbox, and the command text and output are visible to the model.

The internal implementation mirrors the current TUI `!` behavior.
- persist shell command execution as `CommandExecution` thread items,
including source and formatted output metadata
- bridge live and replayed app-server command execution events back into
the existing `tui_app_server` exec rendering path

This PR also wires `tui_app_server` to submit `!` commands through the
new API.
2026-03-18 23:42:40 -06:00
canvrno-oai
10eb3ec7fc Simple directory mentions (#14970)
- Adds simple support for directory mentions in the TUI.
- Codex App/VS Code will require minor change to recognize a directory
mention as such and change the link behavior.
- Directory mentions have a trailing slash to differentiate from
extensionless files


<img width="972" height="382" alt="image"
src="https://github.com/user-attachments/assets/8035b1eb-0978-465b-8d7a-4db2e5feca39"
/>
<img width="978" height="228" alt="image"
src="https://github.com/user-attachments/assets/af22cf0b-dd10-4440-9bee-a09915f6ba52"
/>
2026-03-19 05:24:09 +00:00
Andrei Eternal
42e932d7bf [hooks] turn_id extension for Stop & UserPromptSubmit (#15118)
## Description

Adding an extension to the spec that exposes the turn_id to hook
scripts. This is a codex-specific mechanic that allows connecting the
hook runs with particular turns

## Testing

hooks config / sample hooks to use. Extract this, rename codex ->
.codex, and place this into a repo or your home folder. It includes:
config.toml that enables hooks, hooks.json, and sample python hooks:


[codex.zip](https://github.com/user-attachments/files/26102671/codex.zip)

example run (note the turn_ids change between turns):

```
› hello


• Running SessionStart hook: lighting the observatory

SessionStart hook (completed)
  warning: Hi, I'm a session start hook for wizard-tower (startup).
  hook context: Startup context: A wimboltine stonpet is an exotic cuisine from hyperspace

• Running UserPromptSubmit hook: lighting the observatory lanterns

UserPromptSubmit hook (completed)
  warning: wizard-tower UserPromptSubmit demo inspected: hello for turn: 019d036d-c7fa-72d2-b6fd-
78878bfe34e4
  hook context: Wizard Tower UserPromptSubmit demo fired. For this reply only, include the exact
phrase 'observatory lanterns lit' near the end.

• Aloha! Grateful to be here and ready to build with you. Show me what you want to tackle in wizard-
  tower, and we’ll surf the next wave together. observatory lanterns lit

• Running Stop hook: back to shore

Stop hook (completed)
  warning: Wizard Tower Stop hook reviewed the completed reply (170 chars) for turn: 019d036d-c7fa-
72d2-b6fd-78878bfe34e4


› what's a stonpet?


• Running UserPromptSubmit hook: lighting the observatory lanterns

UserPromptSubmit hook (completed)
  warning: wizard-tower UserPromptSubmit demo inspected: what's a stonpet? for turn: 019d036e-3164-
72c3-a170-98925564c4fc
  hook context: Wizard Tower UserPromptSubmit demo fired. For this reply only, include the exact
phrase 'observatory lanterns lit' near the end.

• A stonpet isn’t a standard real-world word, brah. In our shared context here, a wimboltine stonpet
  is an exotic cuisine from hyperspace, so “stonpet” sounds like the dish or food itself.

  If you want, we can totally invent the lore for it next. observatory lanterns lit

• Running Stop hook: back to shore

Stop hook (completed)
  warning: Wizard Tower Stop hook reviewed the completed reply (271 chars) for turn: 019d036e-3164-
72c3-a170-98925564c4fc
```
2026-03-18 21:48:31 -07:00