@shardflux/menubar-darwin 0.4.0 → 0.5.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0 (not yet published)
|
|
4
|
+
|
|
5
|
+
- The launcher shortcut is a toggle: press it again to close the bar. When the bar is open behind another app, it
|
|
6
|
+
brings the bar back to the keyboard instead.
|
|
7
|
+
- **T3 Code mode** (CLI 0.17.0+). With T3 Code connected to Shardflux, new Claude and Codex conversations start in T3 Code: the launcher hands them over (`shard agents new --in t3`) and T3 Code comes to the front with the thread at the top of its project. Start carries T3 Code's small icon and says "Start in T3 Code" in its tooltip; the app picker's tooltips name where each app's conversations go. Start shows Starting… and Opening…. A refusal (T3 Code not running, not connected, an unsupported version) is the launcher's one-line error with one action: Open T3 Code, Update T3 Code or Connect T3 Code. Conversations opened from the menu, the launcher's results and notifications go to T3 Code the same way (`shard agents open t3`).
|
|
8
|
+
- Settings → Agents → **Open conversations in**, now for Claude and Codex (CLI 0.17.0+), lists each place with its app's icon (Claude Desktop, Terminal, Browser, Codex, and T3 Code when it is installed and connected). The choice is stored by the CLI (`shard agents targets --open-in`), so conversations started from `shard` open in the same place. Without a choice the CLI picks T3 Code when it is connected and was used most recently, else each app's own. A Claude choice made on this Mac in 0.3.1–0.4.0 is handed to the CLI once. T3 Code missing or disconnected falls back to the app's own place.
|
|
9
|
+
- First run: the T3 Code card has **Start new threads in T3 Code** (CLI 0.17.0+), on by default once T3 Code is connected, written to the same choice.
|
|
10
|
+
- **App, model and effort dropdowns** in the launcher (CLI 0.17.0+), as in a coding composer: the app by its icon, the model by its short name ("Opus", "GPT-6.1 Sol") and the effort ("High"), each with a chevron. They replace the Claude/Codex switch. Each opens its menu under the bar, like the computer menu: the app menu lists Claude and Codex with their icons, the model menu "Default" (with the model it resolves to when the CLI knows it, as "Default (GPT-6.1 Sol)"), a rule, then the models with what each is for, and the effort menu the levels the chosen model takes (a level the next model lacks returns to Default: GPT-6 Luna has no Ultra); ↑↓ and Return pick, ⇧⌘M opens the models and ⇧⌘E the levels. Default shows what it resolves to in secondary ink and a choice shows in ink. The choice is remembered per app and passed as `--model` and `--effort`, also to T3 Code. When T3 Code's agent sets its own effort, the launcher says so once, quietly, and that app's effort pill is dimmed with a tooltip saying T3 Code sets it. The list comes from `shard agents targets --json` (`models`); the app never names a model itself.
|
|
11
|
+
- **+** (add context: files, the clipboard's link, a branch) sits at the end of the prompt line, on its first line when the prompt wraps.
|
|
12
|
+
- T3 Code mode follows each project: over SSH, T3 Code is connected per project, so the launcher asks for the project it is on (`shard agents targets --path`), shows a project's last answer at once and refreshes it in the background.
|
|
13
|
+
- When T3 Code started the thread but did not show it, the launcher says so in one line with **Open**, which opens that thread; Start stays off so the thread is never made twice. When T3 Code did not take the picked effort, the effort pill dims with why: "T3 Code sets the effort for this model" or "T3 Code hasn’t listed this model’s efforts yet".
|
|
14
|
+
- The T3 Code card (first run and Settings → Agents) connects T3 Code on your phone: **Connect phone** opens the one-time T3 Connect sign-in page and shows its code, large, in Fragment Mono, copied on click, with a quiet countdown; once it expires, **New code** asks for another. Without a Shardflux session on this Mac, **Sign in** runs the first screen's Continue in browser. The code comes from `t3_link` in `shard agents new|open --in t3 --json`.
|
|
15
|
+
- With a CLI before 0.17.0 (no T3 Code status, `open_in` or `models` in `shard agents targets --json`), the launcher and Settings stay as in 0.4.0.
|
|
16
|
+
|
|
3
17
|
## 0.4.0
|
|
4
18
|
|
|
5
19
|
- Settings: the sidebar and the pane meet without a seam, and connected agent cards show their "Connected" check
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Shardflux menu bar for macOS
|
|
2
2
|
|
|
3
|
-
The native app payload for `shard menubar` (CLI 0.15.0+), version **0.
|
|
3
|
+
The native app payload for `shard menubar` (CLI 0.15.0+), version **0.5.0**. macOS 14+, Apple Silicon and Intel.
|
|
4
4
|
Install once with `npm i -g shardflux`, then run `shard` or `shard ./` on a project. The CLI installs the app in
|
|
5
5
|
`~/Applications/Shardflux.app` and starts it automatically on macOS the first time `shard` runs, with launch at login enabled.
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ permission prompt handles the request. Project grants live in `~/.config/shardfl
|
|
|
37
37
|
|
|
38
38
|
Press **Option-Shift-Space** from any app, or choose **New conversation** in the menu (⌘N). In the floating launcher, describe what the agent should do, choose a project and Claude or Codex, then press **⌘Enter**. Both the task and project are required. Your task becomes the conversation's first user-authored message.
|
|
39
39
|
|
|
40
|
-
The launcher remembers the agent and last project. It uses the frontmost app's working folder when macOS exposes an unambiguous folder without extra permission. Otherwise it keeps the last project. **Tab** searches recent local projects or opens **Choose folder…**; the list is ready the moment the launcher opens. Typing also searches live conversations. The highlighted row follows the pointer and the arrow keys in your macOS accent colour; Enter opens it, and **Esc** closes the list before the launcher. Add up to five small text files, branch context or a clipboard link through
|
|
40
|
+
The launcher remembers the agent and last project. It uses the frontmost app's working folder when macOS exposes an unambiguous folder without extra permission. Otherwise it keeps the last project. **Tab** searches recent local projects or opens **Choose folder…**; the list is ready the moment the launcher opens. Typing also searches live conversations. The highlighted row follows the pointer and the arrow keys in your macOS accent colour; Enter opens it, and **Esc** closes the list before the launcher. Add up to five small text files, branch context or a clipboard link through **+** at the end of the prompt line, or drop text files into the panel. These become text context in the first message. **Esc** closes the panel and returns focus.
|
|
41
41
|
|
|
42
42
|
Show the agent what you see: click the camera button or press **⇧⌘S**, then drag across any part of any display. The capture is attached at native resolution as a thumbnail chip; hover or click it to preview, × removes it, and up to five fit. **Esc** during a capture returns to the launcher with your text and attachments; a second **Esc** closes it. The first capture asks macOS for Screen Recording; if it is off, the launcher shows **Open System Settings**. Captures stay in memory on your Mac and go straight into the conversation's VM, where Claude and Codex open them.
|
|
43
43
|
|
|
@@ -49,9 +49,11 @@ The app checks readable shortcut preferences and uses macOS hotkey registration,
|
|
|
49
49
|
|
|
50
50
|
Settings uses the Shardflux mark beside your account. Claude and Codex icons come from the installed apps through macOS, matching your Dock. If no app is installed, the app uses an unmodified official publisher mark. The same icons appear in conversation rows, the launcher and conversation notification attachments.
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Below the prompt, three dropdowns choose the agent (0.5.0+, CLI 0.17.0+): the app by its icon, the model ("Opus", "GPT-6.1 Sol") and the effort ("High"). **⇧⌘M** opens the models and **⇧⌘E** the effort levels. **Default** leaves the choice to the agent; each app remembers its own choice.
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
The conversation opens where you work (0.3.1+): Claude in Claude Desktop when it's installed, otherwise Claude Code in Terminal, and Codex in the Codex app. With T3 Code connected (0.5.0+, CLI 0.17.0+), new Claude and Codex threads start in T3 Code, and Start carries T3 Code's icon. Choose the place per app in **Settings → Agents → Open conversations in**: Claude Desktop, Terminal, your browser (claude.ai), Codex or T3 Code. The choice is shared with `shard`, so threads you start from the terminal open there too.
|
|
55
|
+
|
|
56
|
+
This uses `shard agents new --app claude|codex --path <folder> --prompt-file <file> [--model <id>] [--effort <level>] [--in t3] [--image -] --json` (captures as PNG on standard input, CLI 0.15.0+), then the same `shard agents open <workspace> --in auto --json` path as session rows (`--in web` for the browser; Terminal runs `shard agents open <workspace>` there). The CLI chooses the app destination. Progress and errors stay in the launcher; **Open created conversation** retries an existing creation. The menu is optional: both CLI commands work independently.
|
|
55
57
|
|
|
56
58
|
**⋯ → Open files** opens `~/Shardflux`, where every conversation's committed files appear by repository, base
|
|
57
59
|
branch and conversation (0.4.0+, CLI 0.16.0+). Large files are listed as `<file>.placeholder.txt`; **⋯ → Download**
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<key>CFBundleDisplayName</key><string>Shardflux</string>
|
|
7
7
|
<key>CFBundleExecutable</key><string>ShardfluxMenuBar</string>
|
|
8
8
|
<key>CFBundlePackageType</key><string>APPL</string>
|
|
9
|
-
<key>CFBundleShortVersionString</key><string>0.
|
|
10
|
-
<key>CFBundleVersion</key><string>0.
|
|
9
|
+
<key>CFBundleShortVersionString</key><string>0.5.0</string>
|
|
10
|
+
<key>CFBundleVersion</key><string>0.5.0</string>
|
|
11
11
|
<key>CFBundleIconFile</key><string>AppIcon.icns</string>
|
|
12
12
|
<key>LSMinimumSystemVersion</key><string>14.0</string>
|
|
13
13
|
<key>LSUIElement</key><true/>
|
|
Binary file
|