@uniqbit/mate-vscode 1.0.0-canary.5 → 1.0.0-canary.6

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/README.md CHANGED
@@ -5,12 +5,19 @@ A Mate sidebar for the Git repository open in the window:
5
5
  If the repository's Mate workspace is not open, the sidebar shows one **Open workspace** button instead of the sections below. Click it to create or update `.mate/<repo>.mate.code-workspace` and open it in the same window. Mate preserves existing workspace comments, folders, and settings. Merely opening the sidebar writes nothing; a missing repository link or invalid workspace produces an error you can fix and retry.
6
6
 
7
7
  - **Sessions**: the Claude and OpenCode sessions started from this sidebar, for the repository and its worktrees. Sessions started in a terminal (`mate claude`, `claude`, `mate opencode`) are not listed, and Mate records nothing for them; the info button in the section's title says so. Grouped by Workset, then branch; Workset groups show their full branch name instead of a `Workset` label. Sessions parked for over 14 days move to _Older_, and sessions whose worktree is gone or whose branch is merged are hidden. Each shows its change, else its first prompt, whether it runs here, elsewhere, or is parked, and what a running one is doing (working, idle, waiting for you).
8
- - **Claude sessions run in the background** (`mate claude -- --bg`, Claude Code with `--bg`): a new or resumed session starts in Claude's background service and a terminal attaches to it (`claude attach`). Closing the terminal detaches; the agent keeps working. _Attach_ opens it again, from any window; _Stop_ ends it (`claude stop`) and keeps the conversation. When a session needs your input, a notification offers to attach it. A Claude session running in its own terminal, outside the background service, offers neither: switch to its terminal. Without `--bg` support, sessions run in the terminal and stop when it closes.
8
+ - **Claude sessions run in the background** (`mate claude -- --bg`, Claude Code with `--bg`): a new or resumed session starts in Claude's background service and a terminal attaches to it (`claude attach`). Closing the terminal detaches; the agent keeps working. _Attach_ opens it again, from any window; _Stop_ ends it (`claude stop`) and keeps the conversation. When a session needs your input, a notification offers to attach it. A Claude session running in its own terminal, outside the background service, offers neither: switch to its terminal. Without `--bg` support, sessions run in the terminal and stop when it closes. **Sessions edit in place:** they launch with `--settings` setting `worktree.bgIsolation` to `none`, so they edit the checkout they start in, the main checkout included, like an interactive session. A `claude --bg` session started elsewhere keeps Claude Code's default, which keeps it out of the main checkout until it enters a worktree.
9
9
  - **OpenCode sessions run in the background** (`mate opencode -- --bg`, OpenCode 2.x): the terminal is a client of the repository's Mate OpenCode server, one `opencode serve` per repository and its worktrees. Closing the terminal detaches; the turn keeps running. _Attach_ and _Resume_ reconnect a terminal; _Stop_ interrupts the running turn (`mate session stop`). The server stops itself after an hour without a running turn; the conversation is kept, and the next session starts it again.
10
- - **Worktrees**: the repository's Git worktrees; Workset branches are marked.
11
- - **Open changes**: active OpenSpec changes of the linked Companion Repository, grouped by Workset. Groups start collapsed and show combined completed/total task progress (for example, `5/12 tasks`) plus the Workset's session count; resume the latest session from the group. Expanding reveals each change's own progress, and refresh preserves your expansion state. Opening a change opens `proposal.md`, or `tasks.md` when there is no proposal, as with `mate-minimal` changes.
10
+ - **Worktrees**: the repository's Git worktrees; Workset branches are marked. A worktree's _New session_ button asks only for the Agent Runtime and starts the session in that worktree, as **New session** does.
11
+ - **Open changes**: active OpenSpec changes of the linked Companion Repository that still have unchecked tasks, grouped by Workset. Groups start collapsed and show combined completed/total task progress (for example, `5/12 tasks`) plus the Workset's session count; resume the latest session from the group. Expanding reveals each change's own progress, and refresh preserves your expansion state. Opening a change opens `proposal.md`, or `tasks.md` when there is no proposal, as with `mate-minimal` changes.
12
+ - **Ready to submit**: active changes whose tasks are all checked, with their Workset; opening one opens it as in Open changes. Submit with `/mate-submit-change`.
12
13
  - **Ready to publish**: archived changes `mate artifact pending` reports.
13
14
 
15
+ ## Refresh
16
+
17
+ Visible sections reload every 30 seconds while the window is focused, and when the window regains focus. Set `mate.autoRefreshInterval` to change the interval in seconds (values below 5 count as 5); `0` turns it off, and sections still reload on focus. **Refresh** reloads every section at once; a section also reloads when it becomes visible, and Sessions when a session is recorded.
18
+
19
+ Reloads read only local state, never the network. A delivery branch merged on the remote shows as waiting for merge until its merge is recorded locally, for example by `mate artifact link <change> --refresh`.
20
+
14
21
  ## Install
15
22
 
16
23
  ```sh
package/mate-vscode.vsix CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uniqbit/mate-vscode",
3
3
  "displayName": "Mate",
4
- "version": "1.0.0-canary.5",
4
+ "version": "1.0.0-canary.6",
5
5
  "description": "Mate sidebar for VS Code and Cursor: park and resume sessions, worktrees, open changes, and changes ready to publish. Install with `mate vscode setup`.",
6
6
  "categories": [
7
7
  "Other"
@@ -43,6 +43,17 @@
43
43
  "typescript": "latest"
44
44
  },
45
45
  "contributes": {
46
+ "configuration": {
47
+ "title": "Mate",
48
+ "properties": {
49
+ "mate.autoRefreshInterval": {
50
+ "type": "number",
51
+ "default": 30,
52
+ "minimum": 0,
53
+ "markdownDescription": "Seconds between automatic reloads of the visible Mate sections, only while the window is focused. Values below 5 count as 5. `0` turns the interval off; sections still reload when the window regains focus."
54
+ }
55
+ }
56
+ },
46
57
  "viewsContainers": {
47
58
  "activitybar": [
48
59
  {
@@ -74,6 +85,11 @@
74
85
  "name": "Open changes",
75
86
  "when": "mate.workspaceReady"
76
87
  },
88
+ {
89
+ "id": "mate.readyToSubmit",
90
+ "name": "Ready to submit",
91
+ "when": "mate.workspaceReady"
92
+ },
77
93
  {
78
94
  "id": "mate.readyToPublish",
79
95
  "name": "Ready to publish",
@@ -94,7 +110,7 @@
94
110
  },
95
111
  {
96
112
  "view": "mate.workspace",
97
- "contents": "Open a local Git repository to use the Mate workspace.",
113
+ "contents": "Open a local Git repository or a linked umbrella folder to use the Mate workspace.",
98
114
  "when": "!mate.workspaceCanOpen && !mate.workspaceOpening"
99
115
  },
100
116
  {
@@ -200,6 +216,11 @@
200
216
  "command": "mate.resumeWorksetSession",
201
217
  "when": "view == mate.openChanges && viewItem == workset.sessions",
202
218
  "group": "inline@1"
219
+ },
220
+ {
221
+ "command": "mate.newSession",
222
+ "when": "view == mate.worktrees && viewItem == worktree",
223
+ "group": "inline@1"
203
224
  }
204
225
  ],
205
226
  "commandPalette": [