Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
1eb308c
chore: add feature request template, update community docs (#164)
florintimbuc Mar 19, 2026
04edcbe
feat: add bypass permissions mode for agents (#170)
dankadr Mar 22, 2026
d7f2b7f
feat: add support for external asset packs ๐ŸŽจ (#169)
marctebo Mar 22, 2026
b08e499
feat: Add AgentAdapter interface and ParsedEvent type
DavidUmKongs Mar 17, 2026
d57d196
fix: Add payload to text_response and remove unhandled events
DavidUmKongs Mar 17, 2026
f181a52
feat: Update paths and terminal commands for Codex
DavidUmKongs Mar 17, 2026
73be193
Update src/agentManager.ts
DavidUmKongs Mar 17, 2026
39ad6a7
Update src/agentManager.ts
DavidUmKongs Mar 17, 2026
7bd0196
Update src/constants.ts
DavidUmKongs Mar 17, 2026
523dc17
feat: Update JSONL parser for Codex format
DavidUmKongs Mar 17, 2026
567b53f
feat: Add recursive JSONL file watching and cwd matching
DavidUmKongs Mar 17, 2026
342817e
chore: Update extension description in package.json
DavidUmKongs Mar 17, 2026
4d12a18
feat: Add pixel-agents.agentType configuration setting
DavidUmKongs Mar 17, 2026
facabc0
fix: restore cwd check in getProjectDirPath to prevent cross-workspacโ€ฆ
DavidUmKongs Mar 17, 2026
b632e07
refactor: centralize Codex magic strings in constants.ts and remove uโ€ฆ
DavidUmKongs Mar 17, 2026
739fbac
Refactor runtime adapters and improve Codex activity mapping
DavidUmKongs Mar 18, 2026
828312c
Address PR #9 review comments
DavidUmKongs Mar 18, 2026
10e167b
Update src/transcriptParser.ts
DavidUmKongs Mar 18, 2026
35ecaab
Update src/fileWatcher.ts
DavidUmKongs Mar 18, 2026
91d2da8
Remove .omx log files
DavidUmKongs Mar 19, 2026
754ec7b
Remove tracked .omx metadata
DavidUmKongs Mar 19, 2026
6825beb
Improve JSONL helpers and status formatting
DavidUmKongs Mar 19, 2026
6aad845
Fix review feedback on restore and scan handling
DavidUmKongs Mar 19, 2026
4f48828
Update src/transcriptParser.ts
DavidUmKongs Mar 19, 2026
e5f91dd
feat: add agent visibility inspector and timeline
DavidUmKongs Mar 19, 2026
8608b18
fix: normalize agent selection and preserve tool history
DavidUmKongs Mar 19, 2026
f4d5060
docs: add agent visibility followup plan
DavidUmKongs Mar 19, 2026
825cc28
fix: normalize inspector selection for subagents
DavidUmKongs Mar 19, 2026
77239bc
fix: polish inspector and timeline review feedback
DavidUmKongs Mar 19, 2026
9f51572
feat: surface heuristic confidence in tool activity
DavidUmKongs Mar 19, 2026
8ec86e0
docs: note permission metadata restoration followup
DavidUmKongs Mar 19, 2026
e9274e3
fix: restore tool metadata after permission clears
DavidUmKongs Mar 19, 2026
4563599
feat: upgrade inspector and debug timeline rails
DavidUmKongs Mar 19, 2026
e355f1b
fix: centralize agent visibility colors and utilities
DavidUmKongs Mar 19, 2026
161e18b
fix: sync subagent waiting indicators across views
DavidUmKongs Mar 19, 2026
626c128
fix: apply pixel UI conventions (2px borders, hard shadows) to overlaโ€ฆ
DavidUmKongs Mar 20, 2026
7e22c31
Preserve agent context across turn clears so inspection stays meaningful
DavidUmKongs Mar 20, 2026
6210d80
fix: address PR #12 review comments
DavidUmKongs Mar 20, 2026
48e67de
fix: address remaining coderabbitai review comments on PR #12
DavidUmKongs Mar 20, 2026
3e168d2
Pin the repository to the Node runtime Vite actually requires
DavidUmKongs Mar 20, 2026
72c88ef
Pin the repository to the Node runtime Vite actually requires
DavidUmKongs Mar 20, 2026
b5ec640
Document how to verify the repo and make onboarding bilingual
DavidUmKongs Mar 20, 2026
ee640bd
Update webview-ui/README.md
DavidUmKongs Mar 20, 2026
ef90ffd
Fix Codex CLI launch and improve Inspector UI readability
DavidUmKongs Mar 21, 2026
05b1dd3
Cut the first fork release from the Codex-ready baseline
DavidUmKongs Mar 21, 2026
de39ffe
Capture Codex work phases so active turns stop collapsing into idle
DavidUmKongs Mar 21, 2026
09e37da
Preserve Codex working state in the webview so active turns survive wโ€ฆ
DavidUmKongs Mar 21, 2026
af2507f
Surface Codex lifecycle labels in the office UI instead of showing Idโ€ฆ
DavidUmKongs Mar 21, 2026
27dbaed
Keep heuristic waiting from masking new Codex activity as idle
DavidUmKongs Mar 21, 2026
d71b7aa
fix: address PR #14 review comments
DavidUmKongs Mar 21, 2026
5d79d71
fix: force agentToolsClear on session reset, expand test coverage
DavidUmKongs Mar 21, 2026
36145b8
refactor: centralize IPC/status strings in constants, separate activeโ€ฆ
DavidUmKongs Mar 21, 2026
6198190
fix: stale currentStatus on session reset, centralize remaining literals
DavidUmKongs Mar 21, 2026
9408210
Fix reassignAgentToFile skipping webview status notification
DavidUmKongs Mar 21, 2026
49faa80
refactor: replace remaining inline status strings with constants fromโ€ฆ
devin-ai-integration[bot] Mar 21, 2026
65b7ba1
Bind new Codex agents before animating them as active workers
DavidUmKongs Mar 21, 2026
b7be18c
Keep nested checkouts and Node setup from breaking local builds
DavidUmKongs Mar 22, 2026
8344165
Restore local builds on Node 20.11 environments
DavidUmKongs Mar 23, 2026
d60de62
Reduce webview lint noise without changing editor behavior
DavidUmKongs Mar 23, 2026
38e4207
fix: address PR #16 review comments
DavidUmKongs Mar 24, 2026
0b02170
merge: resolve conflicts between chore/sync-upstream-2026-03-24 and cโ€ฆ
DavidUmKongs Mar 24, 2026
64d05d8
fix: address new PR #16 review comments
DavidUmKongs Mar 24, 2026
d535771
fix: align agentToolsClear to agentToolClear in followup plan docs
DavidUmKongs Mar 24, 2026
659a207
chore: remove auto-generated PR review metadata from source tree
DavidUmKongs Mar 24, 2026
acaad41
Finish PR #16 review cleanup and restore verification
DavidUmKongs Mar 24, 2026
cf30a10
Prevent duplicate waiting alerts on replayed agent statuses
DavidUmKongs Mar 24, 2026
d92ee12
Unblock CI by applying the expected Prettier layout
DavidUmKongs Mar 24, 2026
4060cf6
Preserve Claude project hash compatibility for existing sessions
DavidUmKongs Mar 25, 2026
8e7161a
Keep long asset directory lists inside the settings modal
DavidUmKongs Mar 25, 2026
7f1541a
Cache deferred JSONL relevance without suppressing adoption retries
DavidUmKongs Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Bug report"
description: "Report a bug to help us improve Pixel Agents."
title: "[Bug]: "
labels: ["bug"]
labels: ["type: bug"]
body:
- type: textarea
id: description
Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: "Feature request"
url: "https://github.com/pablodelucca/pixel-agents/discussions/categories/ideas"
about: "Suggest new features or ideas in Discussions."
- name: "Question"
- name: "Question / Help"
url: "https://github.com/pablodelucca/pixel-agents/discussions/categories/q-a"
about: "Ask questions and get help in Discussions."
53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Feature request"
description: "Suggest a new feature, idea, or improvement for Pixel Agents."
title: "[Feature]: "
labels: ["type: feature"]
body:
- type: checkboxes
id: checks
attributes:
label: "Pre-flight checklist"
options:
- label: "I have searched existing issues and this is not a duplicate"
required: true

- type: textarea
id: problem
attributes:
label: "Problem or motivation"
description: "What problem does this solve, or what need does it address? A clear problem statement helps us prioritize."
placeholder: "e.g., When I have many agents open, I can't tell which terminal each character is connected to."
validations:
required: true

- type: textarea
id: solution
attributes:
label: "Proposed solution"
description: "How should it work? Describe the behavior, UI, or API you envision."
placeholder: "e.g., Show the terminal name as a label above each character, toggled via a setting."
validations:
required: true

- type: dropdown
id: importance
attributes:
label: "How important is this to you?"
options:
- "Nice to have"
- "Would improve my workflow"
- "Critical โ€” blocking my use case"
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: "Alternatives considered"
description: "Have you considered other solutions or workarounds?"

- type: textarea
id: context
attributes:
label: "Additional context"
description: "Screenshots, mockups, links to related issues or discussions."
31 changes: 31 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PR Title

on:
pull_request_target:
types: [opened, edited, synchronize]

permissions:
pull-requests: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
refactor
chore
docs
style
perf
test
ci
build
requireScope: false
subjectPattern: ^[a-z].+$
subjectPatternError: "PR title subject must start with a lowercase letter: '{subject}'"
2 changes: 1 addition & 1 deletion .github/workflows/update-badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Badge Stats

on:
schedule:
- cron: '0 6 * * *'
- cron: '0 6,14,22 * * *'
workflow_dispatch:

jobs:
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ Thumbs.db
.claude/
/sprites-export
.omx/


# Local notes (not for commit)
/notes/

# Auto-generated PR review metadata
comments.json
pr_comments.json
pr_reviews.json
reviews.json
5 changes: 3 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ src/ โ€” Extension backend (Node.js, VS Code API)
PixelAgentsViewProvider.ts โ€” WebviewViewProvider, message dispatch, asset loading
assetLoader.ts โ€” PNG parsing, sprite conversion, catalog building, default layout loading
agentManager.ts โ€” Terminal lifecycle: launch, remove, restore, persist
configPersistence.ts โ€” User-level config file I/O (~/.pixel-agents/config.json), external asset directories
layoutPersistence.ts โ€” User-level layout file I/O (~/.pixel-agents/layout.json), migration, cross-window watching
fileWatcher.ts โ€” fs.watch + polling, readNewLines, /clear detection, terminal adoption
transcriptParser.ts โ€” JSONL parsing: tool_use/tool_result โ†’ webview messages
Expand Down Expand Up @@ -73,7 +74,7 @@ scripts/ โ€” 7-stage asset extraction pipeline

**Vocabulary**: Terminal = VS Code terminal running the selected agent CLI. Session = JSONL conversation file. Agent = webview character bound 1:1 to a terminal.

**Extension โ†” Webview**: `postMessage` protocol. Key messages: `openAgent`, `agentCreated/Closed`, `focusAgent`, `agentToolStart/Done/Clear`, `agentStatus`, `existingAgents`, `layoutLoaded`, `furnitureAssetsLoaded`, `floorTilesLoaded`, `wallTilesLoaded`, `saveLayout`, `saveAgentSeats`, `exportLayout`, `importLayout`, `settingsLoaded`, `setSoundEnabled`.
**Extension โ†” Webview**: `postMessage` protocol. Key messages: `openAgent`, `agentCreated/Closed`, `focusAgent`, `agentToolStart/Done/Clear`, `agentStatus`, `existingAgents`, `layoutLoaded`, `furnitureAssetsLoaded`, `floorTilesLoaded`, `wallTilesLoaded`, `saveLayout`, `saveAgentSeats`, `exportLayout`, `importLayout`, `settingsLoaded` (includes `externalAssetDirectories`), `setSoundEnabled`, `addExternalAssetDirectory`, `removeExternalAssetDirectory` (field: `path`), `externalAssetDirectoriesUpdated` (field: `dirs`).

**One-agent-per-terminal**: Each "+ Agent" click launches the configured backend (`codex` or `claude`) and immediately creates a bound agent. Backends with deterministic session files can poll for the expected JSONL; others rely on project scanning/adoption.

Expand All @@ -89,7 +90,7 @@ JSONL transcripts are adapter-specific: Claude uses `~/.claude/projects/<project

**Extension state per agent**: `id, terminalRef, projectDir, jsonlFile, fileOffset, lineBuffer, activeToolIds, activeToolStatuses, activeSubagentToolNames, isWaiting`.

**Persistence**: Agents persisted to `workspaceState` key `'pixel-agents.agents'` (includes palette/hueShift/seatId). **Layout persisted to `~/.pixel-agents/layout.json`** (user-level, shared across all VS Code windows/workspaces). `layoutPersistence.ts` handles all file I/O: `readLayoutFromFile()`, `writeLayoutToFile()` (atomic via `.tmp` + rename), `migrateAndLoadLayout()` (checks file โ†’ migrates old workspace state โ†’ falls back to bundled default), `watchLayoutFile()` (hybrid `fs.watch` + 2s polling for cross-window sync). On save, `markOwnWrite()` prevents the watcher from re-reading our own write. External changes push `layoutLoaded` to the webview; skipped if the editor has unsaved changes (last-save-wins). On webview ready: `restoreAgents()` matches persisted entries to live terminals. `nextAgentId`/`nextTerminalIndex` advanced past restored values. **Default layout**: When no saved layout file exists and no workspace state to migrate, a bundled `default-layout.json` is loaded from `assets/` and written to the file. If that also doesn't exist, `createDefaultLayout()` generates a basic office. To update the default: run "Pixel Agents: Export Layout as Default" from the command palette (writes current layout to `webview-ui/public/assets/default-layout.json`), then rebuild. **Export/Import**: Settings modal offers Export Layout (save dialog โ†’ JSON file) and Import Layout (open dialog โ†’ validates `version: 1` + `tiles` array โ†’ writes to layout file + pushes `layoutLoaded` to webview).
**Persistence**: Agents persisted to `workspaceState` key `'pixel-agents.agents'` (includes palette/hueShift/seatId). **Layout persisted to `~/.pixel-agents/layout.json`** (user-level, shared across all VS Code windows/workspaces). `layoutPersistence.ts` handles all file I/O: `readLayoutFromFile()`, `writeLayoutToFile()` (atomic via `.tmp` + rename), `migrateAndLoadLayout()` (checks file โ†’ migrates old workspace state โ†’ falls back to bundled default), `watchLayoutFile()` (hybrid `fs.watch` + 2s polling for cross-window sync). On save, `markOwnWrite()` prevents the watcher from re-reading our own write. External changes push `layoutLoaded` to the webview; skipped if the editor has unsaved changes (last-save-wins). On webview ready: `restoreAgents()` matches persisted entries to live terminals. `nextAgentId`/`nextTerminalIndex` advanced past restored values. **Default layout**: When no saved layout file exists and no workspace state to migrate, a bundled `default-layout.json` is loaded from `assets/` and written to the file. If that also doesn't exist, `createDefaultLayout()` generates a basic office. To update the default: run "Pixel Agents: Export Layout as Default" from the command palette (writes current layout to `webview-ui/public/assets/default-layout.json`), then rebuild. **Export/Import**: Settings modal offers Export Layout (save dialog โ†’ JSON file) and Import Layout (open dialog โ†’ validates `version: 1` + `tiles` array โ†’ writes to layout file + pushes `layoutLoaded` to webview). **Config persisted to `~/.pixel-agents/config.json`** (user-level, shared across windows). `configPersistence.ts` handles read/write with atomic tmp+rename. Currently stores `externalAssetDirectories: string[]` for external asset pack paths. **External asset directories**: Settings modal offers Add/Remove Asset Directory. External furniture merged with bundled assets on boot and on add/remove via `mergeLoadedAssets()` (external IDs override bundled on collision).

## Office UI

Expand Down
11 changes: 7 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This project is licensed under the [MIT License](LICENSE), so your contributions
### Setup

```bash
git clone https://github.com/pablodelucca/pixel-agents.git
cd pixel-agents
git clone https://github.com/DavidUmKongs/oh-my-pixel-agents.git
cd oh-my-pixel-agents
npm install
cd webview-ui && npm install && cd ..
npm run build
Expand Down Expand Up @@ -106,17 +106,20 @@ These rules are set to `warn` โ€” they won't block your PR but will flag violati
```
CI runs these same checks automatically on every PR.
4. Open a pull request against `main` with:
- A **conventional commit PR title** (e.g. `feat: add zoom controls`, `fix: character freezing on terminal close`, `refactor: extract pathfinding module`). CI enforces this format โ€” see [Conventional Commits](https://www.conventionalcommits.org/).
- A clear description of what changed and why
- How you tested the changes (steps to reproduce / verify)
- **Screenshots or GIFs for any UI changes**

> **Note:** PRs are merged using **squash and merge** โ€” all commits in your PR are combined into a single commit on `main`. Your PR title becomes the commit message, which is why the conventional commit format matters.

## Reporting Bugs

[Open a bug report](https://github.com/pablodelucca/pixel-agents/issues/new?template=bug_report.yml) โ€” the form will guide you through providing the details we need.
[Open a bug report](https://github.com/DavidUmKongs/oh-my-pixel-agents/issues/new?template=bug_report.yml) โ€” the form will guide you through providing the details we need.

## Feature Requests

Have an idea? [Start a discussion](https://github.com/pablodelucca/pixel-agents/discussions/categories/ideas) in the Ideas category. We love hearing new ideas, and discussing them first helps us collaborate on the best approach together.
Have an idea? [Open a feature request](https://github.com/DavidUmKongs/oh-my-pixel-agents/issues/new?template=feature_request.yml) โ€” the form will guide you through describing the problem and your proposed solution. You can also browse and join ongoing conversations in [Discussions](https://github.com/DavidUmKongs/oh-my-pixel-agents/discussions).

## Security Issues

Expand Down
2 changes: 1 addition & 1 deletion README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Pixel Agents๋Š” ์„ ํƒ๋œ ๋ฐฑ์—”๋“œ์˜ JSONL transcript ํŒŒ์ผ์„ ๊ฐ์‹œํ•ด์„œ

## ์ปค๋ฎค๋‹ˆํ‹ฐ์™€ ๊ธฐ์—ฌ

์งˆ๋ฌธ, ์•„์ด๋””์–ด, ๋…ผ์˜๋Š” **[GitHub Discussions](https://github.com/pablodelucca/pixel-agents/discussions)** ์—์„œ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. **[Issues](https://github.com/pablodelucca/pixel-agents/issues)** ๋Š” ๋ฒ„๊ทธ ๋ฆฌํฌํŠธ ์ „์šฉ์ž…๋‹ˆ๋‹ค.
์งˆ๋ฌธ, ์•„์ด๋””์–ด, ๋…ผ์˜๋Š” **[GitHub Discussions](https://github.com/DavidUmKongs/oh-my-pixel-agents/discussions)** ์—์„œ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค. **[Issues](https://github.com/DavidUmKongs/oh-my-pixel-agents/issues)** ๋Š” ๋ฒ„๊ทธ ๋ฆฌํฌํŠธ ์ „์šฉ์ž…๋‹ˆ๋‹ค.

๊ธฐ์—ฌ ๋ฐฉ๋ฒ•์€ [CONTRIBUTING.md](CONTRIBUTING.md)๋ฅผ ์ฐธ๊ณ ํ•ด ์ฃผ์„ธ์š”.

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ This repository tracks the `oh-my-pixel-agents` fork of Pixel Agents for VS Code
- **Sound notifications** โ€” optional chime when an agent finishes its turn
- **Sub-agent visualization** โ€” Task tool sub-agents spawn as separate characters linked to their parent
- **Persistent layouts** โ€” your office design is saved and shared across VS Code windows
- **External asset directories** โ€” load custom or third-party furniture packs from any folder on your machine
- **Diverse characters** โ€” 6 diverse characters. These are based on the amazing work of [JIK-A-4, Metro City](https://jik-a-4.itch.io/metrocity-free-topdown-character-pack).
- **Agent inspector** โ€” click an agent to open a pinned inspector showing its current tool, confidence, permission state, and recent timeline without jumping to the terminal.
- **Timeline debug view** โ€” toggle Debug mode to see each agentโ€™s tool calls, sub-agent branches, and permission waits rendered as rails with duration/approval badges.
Expand Down Expand Up @@ -125,7 +126,7 @@ Each furniture item lives in its own folder under `assets/furniture/` with a `ma

To add a new furniture item, create a folder in `webview-ui/public/assets/furniture/` with your PNG sprite(s) and a `manifest.json`, then rebuild. The asset manager (`scripts/asset-manager.html`) provides a visual editor for creating and editing manifests.

Detailed documentation on the manifest format and asset pipeline is coming soon.
To use furniture from an external directory, open Settings โ†’ **Add Asset Directory**. See [docs/external-assets.md](docs/external-assets.md) for the full manifest format and how to use third-party asset packs.

Characters are based on the amazing work of [JIK-A-4, Metro City](https://jik-a-4.itch.io/metrocity-free-topdown-character-pack).

Expand Down Expand Up @@ -163,14 +164,12 @@ For this to work, the architecture needs to be modular at every level:
- **Agent-agnostic**: Claude Code today, but built to support Codex, OpenCode, Gemini, Cursor, Copilot, and others through composable adapters.
- **Theme-agnostic**: community-created assets, skins, and themes from any contributor.

We're actively working on the core module and adapter architecture that makes this possible. If you're interested to talk about this further, please visit our [Discussions Section](https://github.com/pablodelucca/pixel-agents/discussions).
We're actively working on the core module and adapter architecture that makes this possible. If you're interested to talk about this further, please visit our [Discussions Section](https://github.com/DavidUmKongs/oh-my-pixel-agents/discussions).


## Community & Contributing

We use **[GitHub Discussions](https://github.com/pablodelucca/pixel-agents/discussions)** for questions, feature ideas, and conversations. **[Issues](https://github.com/pablodelucca/pixel-agents/issues)** are for bug reports only.

If something is broken, open an issue. For everything else, start a discussion.
Use **[Issues](https://github.com/DavidUmKongs/oh-my-pixel-agents/issues)** to report bugs or request features. Join **[Discussions](https://github.com/DavidUmKongs/oh-my-pixel-agents/discussions)** for questions and conversations.

See [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute.

Expand Down
1 change: 0 additions & 1 deletion comments.json

This file was deleted.

4 changes: 2 additions & 2 deletions docs/agent-visibility-followup-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ extension๊นŒ์ง€ selection์„ ์ „ํŒŒํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด:
## Phase B โ€” Tool history ๋ณด์กด ๊ตฌ์กฐ ์ถ”๊ฐ€

### ๋ฌธ์ œ
- ํ˜„์žฌ `agentToolsClear`์—์„œ tool ๋ชฉ๋ก์ด ํ†ต์งธ๋กœ ์‚ญ์ œ๋œ๋‹ค.
- ํ˜„์žฌ `agentToolClear`์—์„œ tool ๋ชฉ๋ก์ด ํ†ต์งธ๋กœ ์‚ญ์ œ๋œ๋‹ค.
- ๊ทธ๋ž˜์„œ Inspector์˜ โ€œRecent toolsโ€๊ฐ€ ์‹ค์ œ recent history๊ฐ€ ์•„๋‹ˆ๋ผ โ€œํ˜„์žฌ ํ„ด์˜ ๋‚จ์€ ์ •๋ณดโ€์— ๊ฐ€๊น๋‹ค.

### ๋ชฉํ‘œ
Expand All @@ -107,7 +107,7 @@ extension๊นŒ์ง€ selection์„ ์ „ํŒŒํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด:
### ์„ธ๋ถ€ ์ž‘์—…
- `agentToolStart`: active list์— ์ถ”๊ฐ€
- `agentToolDone`: active item ์—…๋ฐ์ดํŠธ ํ›„ history์—๋„ append
- `agentToolsClear`: active๋งŒ ๋น„์šฐ๊ณ  history๋Š” ์œ ์ง€
- `agentToolClear`: active๋งŒ ๋น„์šฐ๊ณ  history๋Š” ์œ ์ง€
- history ์ตœ๋Œ€ ๊ธธ์ด ์ œํ•œ(์˜ˆ: 20)

### ์™„๋ฃŒ ๊ธฐ์ค€
Expand Down
2 changes: 1 addition & 1 deletion docs/agent-visibility-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**๋ชฉํ‘œ**: README์˜ `deep inspection`/`token health` ๋น„์ „์ฒ˜๋Ÿผ, ๊ฐ ์—์ด์ „ํŠธ๊ฐ€ ๋ฌด์—‡์„ ์™œ ํ•˜๊ณ  ์žˆ๋Š”์ง€ (๋ฌด์—‡์„ ๋งŒ์ง€๊ณ , ๋ˆ„๊ตฌ๊ฐ€ ์‹œ์ž‘ํ–ˆ๊ณ , ์–ด๋–ค ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š”์ง€, ์–ผ๋งˆ๋‚˜ ์ž์‹  ์žˆ๋Š”์ง€, ์–ผ๋งˆ๋‚˜ ์˜ค๋ž˜ ๊ฑธ๋ ธ๋Š”์ง€)๋ฅผ ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ณด์—ฌ์ฃผ๋Š” ๋ช…ํ™•ํ•œ ๊ด€์ฐฐ ๋ชจ๋ธ์„ ๋งŒ๋“ค๊ณ , ๊ทธ ๊ธฐ์ค€์— ๋งž์ถฐ ์‹ค์ œ UI์™€ ์ƒํƒœ ์ถ”์ ์„ ๊ฐœ์„ ํ•œ๋‹ค.

## ๋ฐฐ๊ฒฝ
- `src/transcriptParser.ts`๋Š” ํˆด ์ด์šฉ์„ ๋ฌธ์ž์—ด ์ƒํƒœ๋กœ ์ถ•์•ฝํ•ด ์ „๋‹ฌํ•˜๋ฉฐ, ์•ˆ์ „ ๊ด€๋ จ ์ •๋ณด(`agentStatus`, `agentToolPermission`)๋„ heuristic ํƒ€์ด๋จธ(5์ดˆ idle, 7์ดˆ permission)์— ์˜์กดํ•œ๋‹ค.
- `src/transcriptParser.ts`๋Š” ํˆด ์ด์šฉ์„ ๋ฌธ์ž์—ด ์ƒํƒœ๋กœ ์ถ•์•ฝํ•ด ์ „๋‹ฌํ•˜๋ฉฐ, ์•ˆ์ „ ๊ด€๋ จ ์ •๋ณด(`agentStatus`, `agentToolPermission`)๋„ heuristic ํƒ€์ด๋จธ(5์ดˆ idle, 5์ดˆ permission)์— ์˜์กดํ•œ๋‹ค.
- `TimerManager` ํ๋ฆ„๊ณผ `useExtensionMessages`/`ToolOverlay`/`DebugView`๋Š” ์ƒํƒœ/์ด๋ฒคํŠธ๋ฅผ ์˜ค๋ž˜ ์œ ์ง€ํ•˜์ง€ ๋ชปํ•ด, ์‚ฌ์šฉ์ž์—๊ฒŒ ์—์ด์ „ํŠธ์˜ ํ™œ๋™ ๋‚ด์—ญ์„ ์„ค๋ช…ํ•˜๊ฑฐ๋‚˜ ์šฐ์„ ์ˆœ์œ„๋ฅผ ์•Œ๋ ค์ฃผ๊ธฐ ์–ด๋ ต๋‹ค.
- `App.tsx`์˜ ํด๋ฆญ์€ ํ„ฐ๋ฏธ๋„ ํฌ์ปค์Šค ์ „์šฉ์ด๋ผ, โ€œ์ƒ์„ธ Inspectorโ€๊ฐ€ ์—†๋Š” ํ˜„์žฌ ๊ตฌ์กฐ๋กœ๋Š” Agent๋ฅผ ๊นŠ์ด ๋“ค์—ฌ๋‹ค๋ณด๊ธฐ ์–ด๋ ค์›€.

Expand Down
Loading
Loading