@phnx-labs/agents-cli 1.23.7 → 1.23.9
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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.9
|
|
4
|
+
|
|
5
|
+
- Session status no longer reads an idle session as working: the bundled sessions reader moves to 0.8.3, which judges working vs idle by event timestamps instead of the transcript's file time (Claude's bookkeeping writes kept old sessions looking active). Formats without per-line timestamps (grok, cursor) still date their last event by the file time, so a waiting grok question still reads as waiting.
|
|
6
|
+
|
|
7
|
+
## 1.23.8
|
|
8
|
+
|
|
9
|
+
- **AGI Menu config keys for the Linear tab, Sessions kinds and ticket grouping (PHNX-4326).** `tabOrder`/`hiddenTabs` accept `linear`; new `menubar.menu.showBrowserSessions` and `showComputerSessions` (default `true`) and `menubar.menu.ticketGroup` (default `none`; reads `milestone` while the superseded `groupTicketsByMilestone` is on). Source: `cli/src/lib/device-config.ts`, `cli/src/lib/menubar/snapshot.ts`.
|
|
10
|
+
|
|
3
11
|
## 1.23.7
|
|
4
12
|
|
|
5
13
|
- **A tab watching a session names the workspace its editor window has open.** Each `observerTerminals` entry in `agents feed watch --json` now carries the tab's `workspaceDir`, so AGI EXT can group sessions by the window that holds their tab and label it `agents` or `agents-cli` instead of "Window 2". An entry that comes only from a session's origin terminal has no tab row and still carries none. Source: `cli/src/lib/session/projection.ts`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentId } from './types.js';
|
|
2
2
|
import { type ModelTier } from './model-tiers.js';
|
|
3
3
|
export type ConfigScope = 'run' | 'interactive' | 'auto' | 'browser' | 'project' | 'device' | 'summarizer' | 'updates' | 'menubar';
|
|
4
|
-
export declare const MENUBAR_MENU_PROPERTIES: readonly ["defaultProject", "workingRowsShown", "showPreviews", "projectPriorityFilter", "hideCompletedMilestones", "bannerWhenNeedsYou", "includeOtherDeviceRequests", "groupBy", "thenBy", "projectScope", "projectSort", "ticketSort", "showPullRequests", "sessionUpdates", "deviceSort", "headlessAgent", "headlessFallbackAgent", "headlessPlacement", "pinnedProjects", "tabOrder", "hiddenTabs", "groupTicketsByMilestone", "prGroupOpen", "prGroupMerged", "homeGoals", "githubHidden", "githubDrafts", "githubBots"];
|
|
4
|
+
export declare const MENUBAR_MENU_PROPERTIES: readonly ["defaultProject", "workingRowsShown", "showPreviews", "projectPriorityFilter", "hideCompletedMilestones", "bannerWhenNeedsYou", "includeOtherDeviceRequests", "groupBy", "thenBy", "projectScope", "projectSort", "ticketSort", "showPullRequests", "sessionUpdates", "showBrowserSessions", "showComputerSessions", "deviceSort", "headlessAgent", "headlessFallbackAgent", "headlessPlacement", "pinnedProjects", "tabOrder", "hiddenTabs", "groupTicketsByMilestone", "ticketGroup", "prGroupOpen", "prGroupMerged", "homeGoals", "githubHidden", "githubDrafts", "githubBots"];
|
|
5
5
|
export declare const MENUBAR_STATUSBAR_PROPERTIES: readonly ["goalCountdown"];
|
|
6
6
|
export type MenubarSection = 'menu' | 'statusbar';
|
|
7
7
|
export declare const MENUBAR_CONFIG_KEYS: readonly string[];
|
package/dist/lib/config-keys.js
CHANGED
|
@@ -16,6 +16,8 @@ export const MENUBAR_MENU_PROPERTIES = [
|
|
|
16
16
|
'ticketSort',
|
|
17
17
|
'showPullRequests',
|
|
18
18
|
'sessionUpdates',
|
|
19
|
+
'showBrowserSessions',
|
|
20
|
+
'showComputerSessions',
|
|
19
21
|
'deviceSort',
|
|
20
22
|
'headlessAgent',
|
|
21
23
|
'headlessFallbackAgent',
|
|
@@ -24,6 +26,7 @@ export const MENUBAR_MENU_PROPERTIES = [
|
|
|
24
26
|
'tabOrder',
|
|
25
27
|
'hiddenTabs',
|
|
26
28
|
'groupTicketsByMilestone',
|
|
29
|
+
'ticketGroup',
|
|
27
30
|
'prGroupOpen',
|
|
28
31
|
'prGroupMerged',
|
|
29
32
|
'homeGoals',
|
|
@@ -29,7 +29,7 @@ interface ConfigTarget {
|
|
|
29
29
|
}
|
|
30
30
|
declare const DEVICE_ROLES: readonly ["worker", "personal", "desktop"];
|
|
31
31
|
declare const AUTO_POOL_MODES: readonly ["workers", "all"];
|
|
32
|
-
export declare const MENUBAR_TABS: readonly ["home", "goals", "secrets", "projects", "github", "sessions", "inbox"];
|
|
32
|
+
export declare const MENUBAR_TABS: readonly ["home", "goals", "secrets", "projects", "linear", "github", "sessions", "inbox"];
|
|
33
33
|
export declare const MENUBAR_HOME_GOALS: readonly ["company", "week", "myWeek", "myDay"];
|
|
34
34
|
export declare function resolveMenubarTabOrder(stored: readonly string[]): string[];
|
|
35
35
|
export declare const CONFIG_KEYS: readonly ConfigKeySpec[];
|
|
@@ -14,8 +14,8 @@ const SSH_AUTH_METHODS = ['key', 'password'];
|
|
|
14
14
|
const DEVICE_ROLES = ['worker', 'personal', 'desktop'];
|
|
15
15
|
const AUTO_POOL_MODES = ['workers', 'all'];
|
|
16
16
|
const DEVICE_FORM_FACTORS = ['laptop', 'desktop', 'server', 'unknown'];
|
|
17
|
-
export const MENUBAR_TABS = ['home', 'goals', 'secrets', 'projects', 'github', 'sessions', 'inbox'];
|
|
18
|
-
const MENUBAR_TABS_ADDED_LATER = ['goals', 'secrets', 'github'];
|
|
17
|
+
export const MENUBAR_TABS = ['home', 'goals', 'secrets', 'projects', 'linear', 'github', 'sessions', 'inbox'];
|
|
18
|
+
const MENUBAR_TABS_ADDED_LATER = ['goals', 'secrets', 'linear', 'github'];
|
|
19
19
|
export const MENUBAR_HOME_GOALS = ['company', 'week', 'myWeek', 'myDay'];
|
|
20
20
|
export function resolveMenubarTabOrder(stored) {
|
|
21
21
|
const known = MENUBAR_TABS;
|
|
@@ -474,6 +474,24 @@ export const CONFIG_KEYS = [
|
|
|
474
474
|
description: 'AGI Menu: show the session-updates section on Home. Off leaves Home to requests and progress ' +
|
|
475
475
|
'only; the full list stays on the Sessions tab either way.',
|
|
476
476
|
},
|
|
477
|
+
{
|
|
478
|
+
name: 'menubar.menu.showBrowserSessions',
|
|
479
|
+
yamlKey: 'menubarMenuShowBrowserSessions',
|
|
480
|
+
scope: 'user',
|
|
481
|
+
type: 'bool',
|
|
482
|
+
defaultValue: true,
|
|
483
|
+
description: 'AGI Menu: list browser tasks on the Sessions tab (its Browser filter). Off removes them; with ' +
|
|
484
|
+
'showComputerSessions also off, Sessions lists agents only.',
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
name: 'menubar.menu.showComputerSessions',
|
|
488
|
+
yamlKey: 'menubarMenuShowComputerSessions',
|
|
489
|
+
scope: 'user',
|
|
490
|
+
type: 'bool',
|
|
491
|
+
defaultValue: true,
|
|
492
|
+
description: 'AGI Menu: list computer runs on the Sessions tab (its Computer filter). Off removes them; with ' +
|
|
493
|
+
'showBrowserSessions also off, Sessions lists agents only.',
|
|
494
|
+
},
|
|
477
495
|
{
|
|
478
496
|
name: 'menubar.menu.deviceSort',
|
|
479
497
|
yamlKey: 'menubarMenuDeviceSort',
|
|
@@ -550,7 +568,7 @@ export const CONFIG_KEYS = [
|
|
|
550
568
|
type: 'string-list',
|
|
551
569
|
defaultValue: [...MENUBAR_TABS],
|
|
552
570
|
description: `AGI Menu: the order of the tab bar — every one of ${MENUBAR_TABS.join(', ')} exactly once. ` +
|
|
553
|
-
'Settings is always last and is not listed. An order saved before Goals, Secrets or GitHub existed may omit them; ' +
|
|
571
|
+
'Settings is always last and is not listed. An order saved before Goals, Secrets, Linear or GitHub existed may omit them; ' +
|
|
554
572
|
'they read back appended. Hiding a tab is menubar.menu.hiddenTabs, not this key.',
|
|
555
573
|
validate: (v) => {
|
|
556
574
|
const tabs = v;
|
|
@@ -632,7 +650,17 @@ export const CONFIG_KEYS = [
|
|
|
632
650
|
scope: 'user',
|
|
633
651
|
type: 'bool',
|
|
634
652
|
defaultValue: false,
|
|
635
|
-
description: 'AGI Menu:
|
|
653
|
+
description: 'AGI Menu: superseded by menubar.menu.ticketGroup (an unset ticketGroup reads as milestone while this is true). Kept for menus older than ticketGroup.',
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'menubar.menu.ticketGroup',
|
|
657
|
+
yamlKey: 'menubarMenuTicketGroup',
|
|
658
|
+
scope: 'user',
|
|
659
|
+
type: 'string',
|
|
660
|
+
defaultValue: 'none',
|
|
661
|
+
description: 'AGI Menu: how the Projects and Linear tabs group each project\'s tickets — none, status, assignee, ' +
|
|
662
|
+
'delegate, milestone, or priority. Replaces groupTicketsByMilestone for menus that know it.',
|
|
663
|
+
validate: oneOf('menubar.menu.ticketGroup', ['none', 'status', 'assignee', 'delegate', 'milestone', 'priority']),
|
|
636
664
|
},
|
|
637
665
|
{
|
|
638
666
|
name: 'menubar.menu.prGroupOpen',
|
|
@@ -56,7 +56,11 @@ function effectiveMenuPreferences() {
|
|
|
56
56
|
const out = [];
|
|
57
57
|
for (const name of MENUBAR_CONFIG_KEYS) {
|
|
58
58
|
const entry = getConfigValue(name);
|
|
59
|
-
|
|
59
|
+
let value = entry.value !== undefined ? entry.value : entry.spec.defaultValue;
|
|
60
|
+
if (name === 'menubar.menu.ticketGroup' && entry.value === undefined
|
|
61
|
+
&& getConfigValue('menubar.menu.groupTicketsByMilestone').value === true) {
|
|
62
|
+
value = 'milestone';
|
|
63
|
+
}
|
|
60
64
|
if (value === undefined)
|
|
61
65
|
continue;
|
|
62
66
|
out.push([name, value]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phnx-labs/agents-cli",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.9",
|
|
4
4
|
"description": "One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@fontsource/inter": "^5.3.0",
|
|
88
88
|
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
89
89
|
"@inquirer/prompts": "8.5.2",
|
|
90
|
-
"@phnx-labs/sessions-cli": "0.8.
|
|
90
|
+
"@phnx-labs/sessions-cli": "0.8.3",
|
|
91
91
|
"@resvg/resvg-wasm": "^2.6.2",
|
|
92
92
|
"@types/proper-lockfile": "4.1.4",
|
|
93
93
|
"@zed-industries/agent-client-protocol": "0.4.5",
|