agent-command-tab 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agent_command_tab/__init__.py +4 -0
- agent_command_tab/agent_adapters/__init__.py +48 -0
- agent_command_tab/agent_adapters/base.py +162 -0
- agent_command_tab/agent_adapters/claude_code.py +120 -0
- agent_command_tab/agent_adapters/codex.py +102 -0
- agent_command_tab/agent_adapters/generic.py +22 -0
- agent_command_tab/agent_process_tree.py +557 -0
- agent_command_tab/agent_session_pausing.py +254 -0
- agent_command_tab/app_controller.py +947 -0
- agent_command_tab/claude_code_transcript_records.py +75 -0
- agent_command_tab/command_line.py +187 -0
- agent_command_tab/context_window_usage.py +230 -0
- agent_command_tab/dashboard_core_api.py +57 -0
- agent_command_tab/docked_window_frames_store.py +60 -0
- agent_command_tab/global_shortcut_key_filter.py +167 -0
- agent_command_tab/hook_event_forwarder.py +116 -0
- agent_command_tab/hook_event_tracking.py +129 -0
- agent_command_tab/hook_states_store.py +60 -0
- agent_command_tab/hooks_installer.py +300 -0
- agent_command_tab/installed_copy_paths.py +41 -0
- agent_command_tab/iterm2_actions.py +325 -0
- agent_command_tab/iterm2_connection_thread.py +2299 -0
- agent_command_tab/iterm2_snapshot_builder.py +403 -0
- agent_command_tab/list_sorting.py +117 -0
- agent_command_tab/messages_between_agent_sessions.py +78 -0
- agent_command_tab/monitor_assignment.py +109 -0
- agent_command_tab/pause_records_store.py +61 -0
- agent_command_tab/screen_readings.py +108 -0
- agent_command_tab/session_preview_computation.py +228 -0
- agent_command_tab/session_status_computation.py +235 -0
- agent_command_tab/settings_store.py +292 -0
- agent_command_tab/snapshot_data_classes.py +145 -0
- agent_command_tab/start_with_iterm2.py +138 -0
- agent_command_tab/tab_order_computation.py +26 -0
- agent_command_tab/user_interface/__init__.py +1 -0
- agent_command_tab/user_interface/agent_session_outline_view.py +2120 -0
- agent_command_tab/user_interface/agent_tool_icons.py +124 -0
- agent_command_tab/user_interface/app_icon.py +75 -0
- agent_command_tab/user_interface/control_helpers.py +38 -0
- agent_command_tab/user_interface/list_window.py +116 -0
- agent_command_tab/user_interface/menu_bar_status_item.py +193 -0
- agent_command_tab/user_interface/named_colors.py +58 -0
- agent_command_tab/user_interface/pointing_hand_button.py +42 -0
- agent_command_tab/user_interface/popover_container.py +461 -0
- agent_command_tab/user_interface/row_text_rendering.py +342 -0
- agent_command_tab/user_interface/screen_layout.py +91 -0
- agent_command_tab/user_interface/settings_window.py +530 -0
- agent_command_tab/user_interface/sidebar_panel.py +486 -0
- agent_command_tab/user_interface/sidebar_placement.py +105 -0
- agent_command_tab/user_interface/talk_to_each_other_alert.py +130 -0
- agent_command_tab/window_list_ordering.py +44 -0
- agent_command_tab-0.1.0.dist-info/METADATA +85 -0
- agent_command_tab-0.1.0.dist-info/RECORD +57 -0
- agent_command_tab-0.1.0.dist-info/WHEEL +5 -0
- agent_command_tab-0.1.0.dist-info/entry_points.txt +2 -0
- agent_command_tab-0.1.0.dist-info/licenses/LICENSE +21 -0
- agent_command_tab-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"""The Talk to Each Other window: the note sent to the selected agent sessions, which the user can
|
|
2
|
+
edit before sending it (user request, 2026-10-21), and which of them gets it (user request, 2026-10-28)."""
|
|
3
|
+
|
|
4
|
+
import objc
|
|
5
|
+
from AppKit import (NSAlert, NSBezelBorder, NSButton, NSColor, NSControlStateValueOff, NSControlStateValueOn,
|
|
6
|
+
NSEventModifierFlagCommand, NSFont, NSMakeRect, NSScrollView, NSTextField, NSTextView, NSView,
|
|
7
|
+
NSViewWidthSizable)
|
|
8
|
+
from Foundation import NSObject
|
|
9
|
+
|
|
10
|
+
from agent_command_tab.messages_between_agent_sessions import DEFAULT_NOTE_ASKING_AGENT_SESSIONS_TO_TALK_TO_EACH_OTHER
|
|
11
|
+
|
|
12
|
+
ACCESSORY_WIDTH = 460
|
|
13
|
+
NOTE_BOX_HEIGHT = 110
|
|
14
|
+
GAP = 6
|
|
15
|
+
GAP_BETWEEN_SECTIONS = 12
|
|
16
|
+
RADIO_BUTTON_INDENT = 8
|
|
17
|
+
LARGEST_TEXT_VIEW_SIZE = 1e7
|
|
18
|
+
EXPLANATION = "The message will also include the other agents' names, and process ids" # the user's wording, 2026-10-28
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class RecipientChoices(NSObject):
|
|
22
|
+
"""The "Send the message to:" radio buttons: one per agent session, then "each of the N
|
|
23
|
+
agents", chosen at first. They share this target and its action, so AppKit lets only one be on."""
|
|
24
|
+
|
|
25
|
+
@objc.python_method
|
|
26
|
+
def build_radio_buttons(self, agent_session_entries):
|
|
27
|
+
"""Makes the buttons; returns them, top first."""
|
|
28
|
+
self.recipients_by_radio_button = {}
|
|
29
|
+
titles_and_recipients = [(entry.tab_title, [entry]) for entry in agent_session_entries] + [
|
|
30
|
+
(f"each of the {len(agent_session_entries)} agents", list(agent_session_entries))]
|
|
31
|
+
radio_buttons = []
|
|
32
|
+
for title, recipients in titles_and_recipients:
|
|
33
|
+
radio_button = NSButton.radioButtonWithTitle_target_action_(title, self, "recipientChosen:")
|
|
34
|
+
radio_button.setState_(NSControlStateValueOff)
|
|
35
|
+
self.recipients_by_radio_button[radio_button] = recipients
|
|
36
|
+
radio_buttons.append(radio_button)
|
|
37
|
+
radio_buttons[-1].setState_(NSControlStateValueOn)
|
|
38
|
+
return radio_buttons
|
|
39
|
+
|
|
40
|
+
def recipientChosen_(self, sender):
|
|
41
|
+
pass # the choice is read once the window closes (list_chosen_recipients)
|
|
42
|
+
|
|
43
|
+
@objc.python_method
|
|
44
|
+
def list_chosen_recipients(self):
|
|
45
|
+
"""Returns the agent session entries the chosen button stands for."""
|
|
46
|
+
return next(recipients for radio_button, recipients in self.recipients_by_radio_button.items()
|
|
47
|
+
if radio_button.state() == NSControlStateValueOn)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def list_tab_titles_for_alert(agent_session_entries):
|
|
51
|
+
"""Returns the tabs' titles, for example '"planning", "reviews"'."""
|
|
52
|
+
return ", ".join(f'"{entry.tab_title}"' for entry in agent_session_entries)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def build_note_text_view(frame_size):
|
|
56
|
+
"""Returns a plain-text view of the scroll view's content size that wraps lines and leaves
|
|
57
|
+
quotes and dashes as typed."""
|
|
58
|
+
note_text_view = NSTextView.alloc().initWithFrame_(NSMakeRect(0, 0, frame_size.width, frame_size.height))
|
|
59
|
+
note_text_view.setMinSize_((0, frame_size.height))
|
|
60
|
+
note_text_view.setMaxSize_((LARGEST_TEXT_VIEW_SIZE, LARGEST_TEXT_VIEW_SIZE))
|
|
61
|
+
note_text_view.setVerticallyResizable_(True)
|
|
62
|
+
note_text_view.setHorizontallyResizable_(False)
|
|
63
|
+
note_text_view.setAutoresizingMask_(NSViewWidthSizable)
|
|
64
|
+
note_text_view.textContainer().setContainerSize_((frame_size.width, LARGEST_TEXT_VIEW_SIZE))
|
|
65
|
+
note_text_view.textContainer().setWidthTracksTextView_(True)
|
|
66
|
+
note_text_view.setRichText_(False)
|
|
67
|
+
note_text_view.setAllowsUndo_(True)
|
|
68
|
+
note_text_view.setAutomaticQuoteSubstitutionEnabled_(False)
|
|
69
|
+
note_text_view.setAutomaticDashSubstitutionEnabled_(False)
|
|
70
|
+
note_text_view.setFont_(NSFont.systemFontOfSize_(NSFont.systemFontSize()))
|
|
71
|
+
note_text_view.setString_(DEFAULT_NOTE_ASKING_AGENT_SESSIONS_TO_TALK_TO_EACH_OTHER)
|
|
72
|
+
return note_text_view
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def build_talk_to_each_other_alert(agent_session_entries, left_out_agent_session_entries):
|
|
76
|
+
"""Returns (alert, note_text_view, recipient_choices): an alert with Send (also Command-Return)
|
|
77
|
+
and Cancel (also Esc), "Send the message to:" radio buttons choosing one agent session or each
|
|
78
|
+
of them (RecipientChoices, which must be kept while the alert runs), a "Message draft:" box
|
|
79
|
+
holding the default note, and what the message adds.
|
|
80
|
+
|
|
81
|
+
Args:
|
|
82
|
+
agent_session_entries: The selected agent sessions that can take part.
|
|
83
|
+
left_out_agent_session_entries: The selected ones whose tools can't take part.
|
|
84
|
+
"""
|
|
85
|
+
alert = NSAlert.alloc().init()
|
|
86
|
+
alert.setMessageText_("Talk to Each Other") # with the app's icon (blanked, then restored: user requests, 2026-10-27)
|
|
87
|
+
# The user's wording, 2026-10-28 (the agents were listed with bullets after "introducing these 2 agents to each other:").
|
|
88
|
+
informative_text = f"Send a message instructing these {len(agent_session_entries)} agents to talk to each other."
|
|
89
|
+
if left_out_agent_session_entries:
|
|
90
|
+
informative_text += ("\n\nLeft out, since their tools can't take messages from other sessions: "
|
|
91
|
+
f"{list_tab_titles_for_alert(left_out_agent_session_entries)}.")
|
|
92
|
+
alert.setInformativeText_(informative_text)
|
|
93
|
+
alert.addButtonWithTitle_("Send")
|
|
94
|
+
alert.buttons()[0].setKeyEquivalentModifierMask_(NSEventModifierFlagCommand) # Return alone starts a new line
|
|
95
|
+
alert.addButtonWithTitle_("Cancel") # NSAlert gives a button titled Cancel the Esc key
|
|
96
|
+
explanation_field = NSTextField.wrappingLabelWithString_(EXPLANATION)
|
|
97
|
+
explanation_field.setFont_(NSFont.systemFontOfSize_(NSFont.smallSystemFontSize()))
|
|
98
|
+
explanation_field.setTextColor_(NSColor.secondaryLabelColor())
|
|
99
|
+
explanation_height = explanation_field.cell().cellSizeForBounds_(NSMakeRect(0, 0, ACCESSORY_WIDTH, LARGEST_TEXT_VIEW_SIZE)).height
|
|
100
|
+
message_label = NSTextField.labelWithString_("Message draft:")
|
|
101
|
+
recipients_label = NSTextField.labelWithString_("Send the message to:")
|
|
102
|
+
recipient_choices = RecipientChoices.alloc().init()
|
|
103
|
+
radio_buttons = recipient_choices.build_radio_buttons(agent_session_entries)
|
|
104
|
+
# Laid out from the bottom up: the explanation, the draft and its label, then the recipients and theirs.
|
|
105
|
+
subviews_and_frames = [(explanation_field, NSMakeRect(0, 0, ACCESSORY_WIDTH, explanation_height))]
|
|
106
|
+
y = explanation_height + GAP
|
|
107
|
+
scroll_view = NSScrollView.alloc().initWithFrame_(NSMakeRect(0, y, ACCESSORY_WIDTH, NOTE_BOX_HEIGHT))
|
|
108
|
+
scroll_view.setBorderType_(NSBezelBorder)
|
|
109
|
+
scroll_view.setHasVerticalScroller_(True)
|
|
110
|
+
note_text_view = build_note_text_view(scroll_view.contentSize())
|
|
111
|
+
scroll_view.setDocumentView_(note_text_view)
|
|
112
|
+
subviews_and_frames.append((scroll_view, scroll_view.frame()))
|
|
113
|
+
y += NOTE_BOX_HEIGHT + GAP
|
|
114
|
+
subviews_and_frames.append((message_label, NSMakeRect(0, y, ACCESSORY_WIDTH, message_label.fittingSize().height)))
|
|
115
|
+
y += message_label.fittingSize().height + GAP_BETWEEN_SECTIONS
|
|
116
|
+
for radio_button in reversed(radio_buttons):
|
|
117
|
+
subviews_and_frames.append((radio_button, NSMakeRect(RADIO_BUTTON_INDENT, y, ACCESSORY_WIDTH - RADIO_BUTTON_INDENT,
|
|
118
|
+
radio_button.fittingSize().height)))
|
|
119
|
+
y += radio_button.fittingSize().height + GAP / 2
|
|
120
|
+
y += GAP / 2
|
|
121
|
+
subviews_and_frames.append((recipients_label, NSMakeRect(0, y, ACCESSORY_WIDTH, recipients_label.fittingSize().height)))
|
|
122
|
+
y += recipients_label.fittingSize().height
|
|
123
|
+
accessory_view = NSView.alloc().initWithFrame_(NSMakeRect(0, 0, ACCESSORY_WIDTH, y))
|
|
124
|
+
for subview, frame in subviews_and_frames:
|
|
125
|
+
subview.setFrame_(frame)
|
|
126
|
+
accessory_view.addSubview_(subview)
|
|
127
|
+
alert.setAccessoryView_(accessory_view)
|
|
128
|
+
alert.layout()
|
|
129
|
+
alert.window().setInitialFirstResponder_(note_text_view)
|
|
130
|
+
return alert, note_text_view, recipient_choices
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"""The order of windows in the list: stable while running, changed only by the user."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def update_window_list_order(previous_window_order, current_window_ids):
|
|
5
|
+
"""Returns the new window order after windows opened or closed.
|
|
6
|
+
|
|
7
|
+
Known windows keep their previous order, closed windows are dropped, and new windows go on
|
|
8
|
+
top (in the order given). With no previous order (at startup), the given order is used.
|
|
9
|
+
|
|
10
|
+
Args:
|
|
11
|
+
previous_window_order: Window IDs in list order, from the last update.
|
|
12
|
+
current_window_ids: IDs of the windows that exist now, in iTerm2's order.
|
|
13
|
+
|
|
14
|
+
Returns:
|
|
15
|
+
A list of window IDs.
|
|
16
|
+
"""
|
|
17
|
+
if not previous_window_order:
|
|
18
|
+
return list(current_window_ids)
|
|
19
|
+
current_window_id_set = set(current_window_ids)
|
|
20
|
+
kept_window_ids = [window_id for window_id in previous_window_order if window_id in current_window_id_set]
|
|
21
|
+
known_window_id_set = set(previous_window_order)
|
|
22
|
+
new_window_ids = [window_id for window_id in current_window_ids if window_id not in known_window_id_set]
|
|
23
|
+
return new_window_ids + kept_window_ids
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def move_window_in_window_list_order(window_order, moved_window_id, drop_before_window_id):
|
|
27
|
+
"""Returns the window order with one window moved, as when its row is dragged.
|
|
28
|
+
|
|
29
|
+
Args:
|
|
30
|
+
window_order: Window IDs in list order.
|
|
31
|
+
moved_window_id: The dragged window.
|
|
32
|
+
drop_before_window_id: The window it was dropped before, or None for the end of the list.
|
|
33
|
+
|
|
34
|
+
Returns:
|
|
35
|
+
A list of window IDs; unchanged when moved_window_id is unknown.
|
|
36
|
+
"""
|
|
37
|
+
if moved_window_id not in window_order or moved_window_id == drop_before_window_id:
|
|
38
|
+
return list(window_order)
|
|
39
|
+
remaining_window_ids = [window_id for window_id in window_order if window_id != moved_window_id]
|
|
40
|
+
if drop_before_window_id in remaining_window_ids:
|
|
41
|
+
insert_position = remaining_window_ids.index(drop_before_window_id)
|
|
42
|
+
else:
|
|
43
|
+
insert_position = len(remaining_window_ids)
|
|
44
|
+
return remaining_window_ids[:insert_position] + [moved_window_id] + remaining_window_ids[insert_position:]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agent-command-tab
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: macOS menu bar list, window or screen-edge sidebar of the iTerm2 tabs where AI coding agents run
|
|
5
|
+
Author: Ben Weisburd
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/bw2/agent-command-tab
|
|
8
|
+
Project-URL: Issues, https://github.com/bw2/agent-command-tab/issues
|
|
9
|
+
Keywords: iterm2,claude-code,codex,ai-agents,macos,menu-bar,dashboard
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Environment :: MacOS X :: Cocoa
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Software Development
|
|
16
|
+
Classifier: Topic :: Terminals
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: iterm2<2.31,>=2.30
|
|
21
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
<a href="https://github.com/bw2/agent-command-tab/actions/workflows/test.yml"><img src="https://github.com/bw2/agent-command-tab/actions/workflows/test.yml/badge.svg" align="right" alt="unit tests"></a>
|
|
25
|
+
|
|
26
|
+
# AgentCommandTab
|
|
27
|
+
|
|
28
|
+
A macOS menu bar app that lists the iTerm2 windows and tabs where AI coding agents run (Claude Code, OpenAI Codex CLI, and others), shows what each agent is doing, and lets you rename, focus, reorder and move those tabs without interrupting the agents. The list shows as a dropdown under the menu bar icon, a sidebar at the edge of the screen, or a regular window.
|
|
29
|
+
|
|
30
|
+
## What it does
|
|
31
|
+
|
|
32
|
+
- **One tree of your agents:** every iTerm2 window with at least one agent tab, with its tabs below it, grouped by monitor when you have several. Tabs without an agent are left out.
|
|
33
|
+
- **What each agent is doing:** a status dot and word per tab (asking for permission, thinking, running a tool, stuck, running in the background, done, idle, error), how long it has been so, the context size in tokens, and optionally when it started, its memory and CPU use. "Done" stays until you look at the tab. The menu bar icon counts the agents waiting for your answer.
|
|
34
|
+
- **A preview per tab:** what the agent is asking or running, what it said since your last prompt, or that prompt. Open it with the tab's arrow.
|
|
35
|
+
- **Control:** double-click to bring a window or tab to the front; press and hold to peek at a tab; rename in place; drag tabs between windows and windows between monitors; start a new agent window or tab; duplicate a tab; type `/compact` or `/clear` into an agent waiting at its prompt; end an agent's process; pause agents (with every process they started) before going offline and resume them later, per tab, window, monitor or all at once. Select several rows (Command-click, Shift-click) to act on all their agents at once (a busy agent gets `/compact` or `/clear` when its turn ends), or to ask them to talk to each other: each gets your note and how to message the others.
|
|
36
|
+
- **Sort and filter:** sort by activity, name, start time, memory or CPU use, or keep iTerm2's order; hide the idle tabs with one click.
|
|
37
|
+
- **Your choice of view:** a dropdown under the menu bar icon, a sidebar that hides at the screen's edge or stays visible (optionally keeping iTerm2 windows out of its way), or a regular window (optionally always on top).
|
|
38
|
+
- **A shortcut from any app:** Shift-Command-Tab (or Command-Fn-Tab, chosen in Settings) shows the list, and hides it when pressed again. While macOS's app switcher is open, the keys still go to it.
|
|
39
|
+
|
|
40
|
+
## Requirements
|
|
41
|
+
|
|
42
|
+
- macOS, with iTerm2 3.7 or later and iTerm2's Python API turned on: iTerm2 > Settings > General > Magic > Enable Python API.
|
|
43
|
+
- Python 3.10 or later (for an install with pip or pipx).
|
|
44
|
+
|
|
45
|
+
## Install
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
pipx install agent-command-tab # or: pip install agent-command-tab
|
|
49
|
+
brew install bw2/tap/agent-command-tab # Homebrew adds the bw2/tap repository by itself
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
From a clone of this repository:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
python3 -m venv .venv && .venv/bin/pip install -e .
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Use
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
agent-command-tab # the menu bar app; restarts itself if iTerm2's connection drops
|
|
62
|
+
agent-command-tab dump-snapshot # prints the current list as JSON
|
|
63
|
+
agent-command-tab install-hooks # adds the app's hooks to Claude Code's and Codex's settings (remove-hooks takes them out)
|
|
64
|
+
agent-command-tab --version # prints the installed version, for bug reports
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Click the "C" in the menu bar to see the list, right-click it for Settings. The first time, iTerm2 asks whether to allow the app to use its Python API.
|
|
68
|
+
|
|
69
|
+
From its first start on, iTerm2 starts the app whenever iTerm2 starts: the app adds `AgentCommandTab.scpt` to iTerm2's AutoLaunch folder (`~/Library/Application Support/iTerm2/Scripts/AutoLaunch`), which starts the copy you ran, however you installed it. Started that way, it has iTerm2's permissions, as when you start it from an iTerm2 tab. Settings > Start with iTerm2 turns that off and removes the script. Only one copy runs at a time; starting another prints that one is already running. Before uninstalling, turn Start with iTerm2 off and run `agent-command-tab remove-hooks`, since pip and Homebrew leave the script and the hooks behind.
|
|
70
|
+
|
|
71
|
+
The app's hooks tell a crashed agent from one that ended normally (its row stays, gray and "exited", for 5 minutes), and count Claude Code's background shells and agents. The list offers to install them (Install Hooks, at its bottom left) while an agent tool in it lacks them. Each settings file is copied to `<file>.agent-command-tab-backup` first. Sessions started afterwards use them, and Codex asks you to approve them first: type `/hooks` in Codex.
|
|
72
|
+
|
|
73
|
+
The shortcut needs the Accessibility permission (System Settings > Privacy & Security > Accessibility), because it has to see the keys before macOS's app switcher does. macOS gives it to the app that starts AgentCommandTab, so started from iTerm2, turn it on for iTerm2. Until it is on, Settings show a button that opens that page.
|
|
74
|
+
|
|
75
|
+
## Development
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
.venv/bin/python -m unittest discover -s tests -p '*_tests.py'
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
[docs/RELEASING.md](https://github.com/bw2/agent-command-tab/blob/main/docs/RELEASING.md) describes how to publish a version.
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
MIT; see [LICENSE](https://github.com/bw2/agent-command-tab/blob/main/LICENSE). The app uses iTerm2's `iterm2` Python package, which is licensed GPL-2.0-or-later. pip and the Homebrew formula install it alongside as a separate package.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
agent_command_tab/__init__.py,sha256=OmO1LyvwVsDPfRRy-5bWSwiAf0tF4h3l6CKNOugUYBg,229
|
|
2
|
+
agent_command_tab/agent_process_tree.py,sha256=-YHcAHA4UuDA4xW9nK7MK4mqvrNO7LpqOn105o9qr2Y,33236
|
|
3
|
+
agent_command_tab/agent_session_pausing.py,sha256=Ys2nvKRMyYlq59yabrB_o-BLTHPron_5_ctX-CmQud0,15182
|
|
4
|
+
agent_command_tab/app_controller.py,sha256=vhX6pRmPJ5vTlhylnTNscN7Jhh-hdT4Gp77UlkXP1oQ,57913
|
|
5
|
+
agent_command_tab/claude_code_transcript_records.py,sha256=5KDtqcYONdSaLEArW2pAHOd4HOLTBjqnjI1RhthTnus,4145
|
|
6
|
+
agent_command_tab/command_line.py,sha256=doNN71Vak7g1z_Dl4-8DVBU6vj2q4KRB695NTSxiqMQ,9019
|
|
7
|
+
agent_command_tab/context_window_usage.py,sha256=MWpZh-qjZ9jtHzJDngnMjz1bLPe1LA5pviXbzp8DYAE,11667
|
|
8
|
+
agent_command_tab/dashboard_core_api.py,sha256=5Vw8-S8ZNH5VIuCqeMMB-jMBWw7rInf9C4xqIbLoc1Y,2978
|
|
9
|
+
agent_command_tab/docked_window_frames_store.py,sha256=LPauo6K9xA_siW0eEHDbFvXzPiY2uvIe9G8hXhKuQ8M,2973
|
|
10
|
+
agent_command_tab/global_shortcut_key_filter.py,sha256=Q6IZNTuLaX-E-rbneWKGLbl3kZQ89xs7L-jcpsK5N3I,10654
|
|
11
|
+
agent_command_tab/hook_event_forwarder.py,sha256=sxQRbnjAFhRpnDI9PIhEejA8YoTp9VbidGLDtta1qms,5485
|
|
12
|
+
agent_command_tab/hook_event_tracking.py,sha256=1NichgOWossS1HkYT6d_uH4LgLCg6lVloBdg7VLf-Fo,8317
|
|
13
|
+
agent_command_tab/hook_states_store.py,sha256=WjR8Dpzr7YCUIAWDG3dLHyMZkfujknJBUYVyiu47mA0,3266
|
|
14
|
+
agent_command_tab/hooks_installer.py,sha256=cyqbV1z_swLb4ktQpYGO1UUAh929fcpvVacWgvgRFDk,16326
|
|
15
|
+
agent_command_tab/installed_copy_paths.py,sha256=M2GpRHg_owoqymRmP2S0-kTxlr2CG-6daCt63YGWYdw,2305
|
|
16
|
+
agent_command_tab/iterm2_actions.py,sha256=sEjvg7XKa8tIiTUGvbjbjzN5MibiT4xLUYpv4ER2ty8,17229
|
|
17
|
+
agent_command_tab/iterm2_connection_thread.py,sha256=zRqrobRJBnwsNXDKT5KTnPboYERPGmOhaRGw12HX-kA,157153
|
|
18
|
+
agent_command_tab/iterm2_snapshot_builder.py,sha256=1HnFPd60fsUWi9VYdwsFLVFGBjTGfp3cBOBDnPTKoxI,25501
|
|
19
|
+
agent_command_tab/list_sorting.py,sha256=1dbLqyqqiM3OpqN8vcSkEDgT8pEcG2ryg6ljMfTunrU,6337
|
|
20
|
+
agent_command_tab/messages_between_agent_sessions.py,sha256=dVSkzGaojcTNv-OTS_wuyMyxKkCIddX_5rVXVDysx0o,4936
|
|
21
|
+
agent_command_tab/monitor_assignment.py,sha256=-ozW8kLkfEFD_jZakAIjzWUiX7bLPem1JIihL-GmvJw,5787
|
|
22
|
+
agent_command_tab/pause_records_store.py,sha256=Klq_QIAnab8_JND_7ejS0i8iJnSwJOTnG5fIv02PXg0,3149
|
|
23
|
+
agent_command_tab/screen_readings.py,sha256=iitBcFcjFROJWlDu0jxnvnQHXHRXvpxYHyC7ZvfhnaA,5574
|
|
24
|
+
agent_command_tab/session_preview_computation.py,sha256=k57USkMghcprIZoz0a2pEKkHc18Rr0JgGweJzH070y0,13107
|
|
25
|
+
agent_command_tab/session_status_computation.py,sha256=SSzHcXnCg7iOa-u3DTzI5xequ9w_JqNcxNXGVtqTvVQ,14112
|
|
26
|
+
agent_command_tab/settings_store.py,sha256=vnR9vWog8WmuDUcvZmxYX_dYuWPg2znibJWcCzj-vJs,16706
|
|
27
|
+
agent_command_tab/snapshot_data_classes.py,sha256=RtrfeZZDghPjUSQMDCQ6-HsJBptRHZWVtIlhZefdelA,9185
|
|
28
|
+
agent_command_tab/start_with_iterm2.py,sha256=MzwNgEYspeyrpXx67dEIkx3K-qHa1OMFceOFSzFaHdY,8060
|
|
29
|
+
agent_command_tab/tab_order_computation.py,sha256=oAxMxBaV2QZCtrvsUUVG5xTWkMJ-I_XTcLwwR09Bkfk,1202
|
|
30
|
+
agent_command_tab/window_list_ordering.py,sha256=PALV_nXxaSiOBAZM8Fxg_OGhDb--IDVdtWM4zDlvFxg,2086
|
|
31
|
+
agent_command_tab/agent_adapters/__init__.py,sha256=CrqUWPvOPuwNbDEiinSa-ebtcr9WP-hzpEF9ScqqElg,2568
|
|
32
|
+
agent_command_tab/agent_adapters/base.py,sha256=QormRmZYfanu1EIl2GaRxLb1PTYDffEh9AgemcMrBJE,8336
|
|
33
|
+
agent_command_tab/agent_adapters/claude_code.py,sha256=2kqY9W9z2IRqZkYLbS8xiQ0c0WO3SK-3vFYjdDTmvq0,7470
|
|
34
|
+
agent_command_tab/agent_adapters/codex.py,sha256=Qa64dOHZ5nD7I3sYLHR6rKmj6CPUeDeLcPDxxURM-n8,6483
|
|
35
|
+
agent_command_tab/agent_adapters/generic.py,sha256=OUNpgk11XBvSRFlCrzTHo4dzl6uauxIjwvLY-ZJDOS4,1229
|
|
36
|
+
agent_command_tab/user_interface/__init__.py,sha256=lHTEYbliEhxbt66sv-wj36GNQIlYf_YY6Gi0uLgJT9U,93
|
|
37
|
+
agent_command_tab/user_interface/agent_session_outline_view.py,sha256=JRixkraKXGJEWGzz4wjVbSUdP3jk14UPz6p-dUXRLwk,131037
|
|
38
|
+
agent_command_tab/user_interface/agent_tool_icons.py,sha256=dMw7Pud2OeLbxLPv3HNgMEJZHKuBPFxbHnVqlXfV_z0,6083
|
|
39
|
+
agent_command_tab/user_interface/app_icon.py,sha256=j8mrTgLnO0REHaMdkP7sFmQD7pfsVEQwlCud4uT67gI,4808
|
|
40
|
+
agent_command_tab/user_interface/control_helpers.py,sha256=qC0MJtXhPNcXzZiMTClsg1KCSl2NlMI16bovnXNYMQs,2041
|
|
41
|
+
agent_command_tab/user_interface/list_window.py,sha256=VBj-AbpWG6HTIxcuyeAhuXx_tnVoie1PPFpCBOaSd_o,6476
|
|
42
|
+
agent_command_tab/user_interface/menu_bar_status_item.py,sha256=b3fpFH1szBkHFLtTkH5QG5d8CE9RSWgOqaSdN4Kn-O0,9991
|
|
43
|
+
agent_command_tab/user_interface/named_colors.py,sha256=XYCi0wEjHU2T7lJ664m5QzRSe3F30g009v-nuZNLAVo,4088
|
|
44
|
+
agent_command_tab/user_interface/pointing_hand_button.py,sha256=-VJcf7pq-MnTedfMVKxr7MlnDQHYzthKgLvshdgj6to,2014
|
|
45
|
+
agent_command_tab/user_interface/popover_container.py,sha256=k1xe0zg2utUGV0VacjGCKUmognq2828jJWa868pI2C4,31232
|
|
46
|
+
agent_command_tab/user_interface/row_text_rendering.py,sha256=yU1IpYU6VPiVkPLOe6GO75lMiOuEpsdr8x2M-yHGc7o,19376
|
|
47
|
+
agent_command_tab/user_interface/screen_layout.py,sha256=q4tJnRHKL7zeqQxjv9xZJoDys7sCK9zllpQuXdUsLWk,4342
|
|
48
|
+
agent_command_tab/user_interface/settings_window.py,sha256=FeibzkbQ_LA76DPz0Hwu5E366yvHNM_PDVT6KIwxkEQ,34019
|
|
49
|
+
agent_command_tab/user_interface/sidebar_panel.py,sha256=rO6ctXmelLgTgKWVeN3jmZBJlU84zglTJTrTA6speEE,25610
|
|
50
|
+
agent_command_tab/user_interface/sidebar_placement.py,sha256=KdwQhFlgt3YEtZmh-_8ekyV0Yuygya5RYYko4ltjTss,5086
|
|
51
|
+
agent_command_tab/user_interface/talk_to_each_other_alert.py,sha256=oJLYFbxLbNh-1Yci-9TezNCithKvarW4dIMxcx9ikDQ,7697
|
|
52
|
+
agent_command_tab-0.1.0.dist-info/licenses/LICENSE,sha256=iv-SBQ_N3hHRdpNlVxhgG6IOMFETj2B28G40HaYuXSs,1075
|
|
53
|
+
agent_command_tab-0.1.0.dist-info/METADATA,sha256=wSG3jqeVPAqposePy3Jj_24Gos2da09Zp2ht63BBytA,6386
|
|
54
|
+
agent_command_tab-0.1.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
55
|
+
agent_command_tab-0.1.0.dist-info/entry_points.txt,sha256=_MC7_D0WUHv5bTRMj1i7Dr8vxS17-B-jint0Ii8yIZI,74
|
|
56
|
+
agent_command_tab-0.1.0.dist-info/top_level.txt,sha256=TVjM-1h5O4yW-hVeIfsn4AAt6EW3bUG2IdEtWk4i3vQ,18
|
|
57
|
+
agent_command_tab-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LongfellowLabs LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
agent_command_tab
|