tarsk 0.6.88 → 0.6.89
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 +63 -24
- package/dist/index.js +787 -738
- package/dist/node_modules/@libsql/darwin-x64/README.md +3 -0
- package/dist/node_modules/@libsql/{darwin-arm64 → darwin-x64}/index.node +0 -0
- package/dist/node_modules/@libsql/{darwin-arm64 → darwin-x64}/package.json +6 -6
- package/dist/public/assets/api-8Rp2LlXt.js +1 -0
- package/dist/public/assets/api-Cp9I7CxD.js +2 -0
- package/dist/public/assets/{async-error-boundary-FT8_xvjy.js → async-error-boundary-CFVUPiuG.js} +1 -1
- package/dist/public/assets/{browser-tab-DCjHytQ8.js → browser-tab-CPPorbL6.js} +2 -2
- package/dist/public/assets/{chat-dock-context-a2bV9cnz.js → chat-dock-context-DbiJNr3O.js} +1 -1
- package/dist/public/assets/chat-handlers-context-DYU2LQ5V.js +9 -0
- package/dist/public/assets/{commit-dialog-C1oUFznJ.js → commit-dialog-DPaci3dp.js} +1 -1
- package/dist/public/assets/{commit-error-dialog--NTHg7Aw.js → commit-error-dialog-Dnlkgb_H.js} +1 -1
- package/dist/public/assets/{conversation-history-view-CdfE7JTD.js → conversation-history-view-CqIugfyO.js} +1 -1
- package/dist/public/assets/{create-project-dialog-BdR6iQE9.js → create-project-dialog-DStWPoDE.js} +2 -2
- package/dist/public/assets/{create-project-workspace-DSTTGom_.js → create-project-workspace-CJ94yHAB.js} +2 -2
- package/dist/public/assets/{create-repo-dialog-gw-8Rpdm.js → create-repo-dialog-B_QiEz-v.js} +1 -1
- package/dist/public/assets/diff-view-4koPcOcE.js +4 -0
- package/dist/public/assets/{explorer-file-drop-CzyAqZgf.js → explorer-file-drop-DAP7ha-E.js} +1 -1
- package/dist/public/assets/explorer-tab-view-Bt9hRZUm.js +2 -0
- package/dist/public/assets/explorer-tree-CAs89lPz.js +1 -0
- package/dist/public/assets/{explorer-view-Daxl93oM.js → explorer-view-B1JuejkU.js} +2 -2
- package/dist/public/assets/index-CcAwxnT5.js +97 -0
- package/dist/public/assets/index-dNrgKdYv.css +1 -0
- package/dist/public/assets/{markdown-renderer-D2VcKU4g.js → markdown-renderer-DQONI6WG.js} +3 -3
- package/dist/public/assets/{mcp-manager-D1HmLT3t.js → mcp-manager-D2FG-h2e.js} +1 -1
- package/dist/public/assets/{model-list-controls-rXmaDp2r.js → model-list-controls-B6ofHWh3.js} +1 -1
- package/dist/public/assets/{onboarding-dialog-DSqBJyBa.js → onboarding-dialog-DAut3X4K.js} +1 -1
- package/dist/public/assets/{pill-tabs-DtdTmrg7.js → pill-tabs-BAhOHad7.js} +1 -1
- package/dist/public/assets/{project-coding-view-DP4qKePE.js → project-coding-view-B2FpHeiO.js} +1 -1
- package/dist/public/assets/{project-danger-zone-view-CGxIenpr.js → project-danger-zone-view-BqP1dcRT.js} +1 -1
- package/dist/public/assets/{project-env-vars-view-DKyQkh7h.js → project-env-vars-view-zhigkQFG.js} +1 -1
- package/dist/public/assets/{project-model-aliases-view-BewwJZAx.js → project-model-aliases-view-APAVFfym.js} +1 -1
- package/dist/public/assets/{project-settings-view-CE4nAz5B.js → project-settings-view-FnK-LRsv.js} +1 -1
- package/dist/public/assets/project-tools-view-Dmp5ViRC.js +1 -0
- package/dist/public/assets/providers-list-view-Clbp73Hh.js +1 -0
- package/dist/public/assets/{pull-request-dialog-nKYATjbm.js → pull-request-dialog-D40BQPMk.js} +1 -1
- package/dist/public/assets/{pull-with-changes-dialog-zzoFzCv4.js → pull-with-changes-dialog-pkXK-VP2.js} +1 -1
- package/dist/public/assets/query-keys-CcnonAAG.js +1 -0
- package/dist/public/assets/{remote-media-url-CyuN31H_.js → remote-media-url-C-GdJb-D.js} +1 -1
- package/dist/public/assets/{scroll-area-CGEZ1gAL.js → scroll-area-DGF9wUqQ.js} +1 -1
- package/dist/public/assets/{select-BR2pG61R.js → select-DMcNYwgt.js} +1 -1
- package/dist/public/assets/{settings-general-tabs-view-BWR0UX2P.js → settings-general-tabs-view-DBZQbihJ.js} +2 -2
- package/dist/public/assets/settings-general-view-0dhBET2R.js +1 -0
- package/dist/public/assets/{settings-list-Dgip9HpD.js → settings-list-Co3JPr9w.js} +1 -1
- package/dist/public/assets/{settings-logs-view-CS29x4VT.js → settings-logs-view-DvHXUDko.js} +2 -2
- package/dist/public/assets/settings-mcp-servers-view-414Dt5py.js +5 -0
- package/dist/public/assets/{settings-models-view-DS7nm54P.js → settings-models-view-ByeR7Enb.js} +1 -1
- package/dist/public/assets/{settings-plugins-view-avaUE36r.js → settings-plugins-view-8te2MPyh.js} +2 -2
- package/dist/public/assets/{settings-providers-view-B39k1iRQ.js → settings-providers-view-BAuv9gam.js} +2 -2
- package/dist/public/assets/{settings-remote-machines-view-BXondQG_.js → settings-remote-machines-view-CHyywazU.js} +1 -1
- package/dist/public/assets/{settings-setup-view-I5MGUi_D.js → settings-setup-view-Btp46Vh_.js} +2 -2
- package/dist/public/assets/{settings-skills-view-BKrUABbi.js → settings-skills-view-BNVx4bZl.js} +2 -2
- package/dist/public/assets/{settings-slack-view-B0p-96GC.js → settings-slack-view-Caly5yGt.js} +1 -1
- package/dist/public/assets/settings-slash-commands-view-m6mp1knu.js +1 -0
- package/dist/public/assets/{settings-statistics-view-B3g6BD7p.js → settings-statistics-view-BnOxr4sZ.js} +1 -1
- package/dist/public/assets/settings-storage-view-Dg8xfpTG.js +1 -0
- package/dist/public/assets/{settings-subagents-view-BziLwvNq.js → settings-subagents-view-CucwEk2A.js} +1 -1
- package/dist/public/assets/{settings-system-prompt-view-BqAk56cD.js → settings-system-prompt-view-CEDU2saT.js} +1 -1
- package/dist/public/assets/{settings-tab-bar-DYzU_lmi.js → settings-tab-bar-CdIbQ0WI.js} +1 -1
- package/dist/public/assets/settings-view-XcJhRclT.js +2 -0
- package/dist/public/assets/task-utils-Cnq9Eszt.js +1 -0
- package/dist/public/assets/tasks-view-B8_jkq_a.js +1 -0
- package/dist/public/assets/{terminal-panel-Bm_ZelN-.js → terminal-panel-xoLVfA-h.js} +1 -1
- package/dist/public/assets/{use-account-settings-query-C-zOdREq.js → use-account-settings-query-D_qL1I4w.js} +1 -1
- package/dist/public/assets/{use-active-dock-panel-instance-4Ss8lB9K.js → use-active-dock-panel-instance-kmJOnmL7.js} +1 -1
- package/dist/public/assets/use-git-check-BD9gdXpK.js +1 -0
- package/dist/public/assets/{use-installed-ai-files-DQey9Zm3.js → use-installed-ai-files-Nn-sN_V2.js} +1 -1
- package/dist/public/assets/{use-open-chat-dock-panel-DqfWJ8e8.js → use-open-chat-dock-panel-CXzpgxVs.js} +1 -1
- package/dist/public/assets/use-projects-B0xTjTaA.js +2 -0
- package/dist/public/assets/{web-CGP-jEpi.js → web-C1tBQoCB.js} +1 -1
- package/dist/public/assets/{web-CKC9gpFi.js → web-cJXG33sT.js} +1 -1
- package/dist/public/index.html +18 -18
- package/package.json +4 -4
- package/dist/node_modules/@libsql/darwin-arm64/README.md +0 -3
- package/dist/public/assets/account-view-DkuCOxkE.js +0 -1
- package/dist/public/assets/api-B_GSyYGh.js +0 -1
- package/dist/public/assets/api-C4ukGdyH.js +0 -2
- package/dist/public/assets/chat-handlers-context-2xSKzkKa.js +0 -9
- package/dist/public/assets/diff-view-B6JJNyn1.js +0 -4
- package/dist/public/assets/explorer-tab-view-CiUPh4uK.js +0 -2
- package/dist/public/assets/explorer-tree-BA12VLz_.js +0 -1
- package/dist/public/assets/index-CoY8DilQ.js +0 -97
- package/dist/public/assets/index-D14wLW4o.css +0 -1
- package/dist/public/assets/project-tools-view-CbDfst02.js +0 -1
- package/dist/public/assets/providers-list-view-BtwccvX2.js +0 -1
- package/dist/public/assets/query-keys-BwswkbMn.js +0 -1
- package/dist/public/assets/settings-general-view-BhtrDmJH.js +0 -1
- package/dist/public/assets/settings-mcp-servers-view-B5ithpfh.js +0 -5
- package/dist/public/assets/settings-slash-commands-view-DA1scWv1.js +0 -1
- package/dist/public/assets/settings-storage-view-BJvjhI4f.js +0 -1
- package/dist/public/assets/settings-view-zjMs7jNe.js +0 -2
- package/dist/public/assets/task-utils-BZPVmvY4.js +0 -1
- package/dist/public/assets/tasks-view-wFf77AQX.js +0 -1
- package/dist/public/assets/use-git-check-CumqGAvN.js +0 -1
- package/dist/public/assets/use-projects-CizIH2Fa.js +0 -2
package/README.md
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
# Tarsk CLI
|
|
2
2
|
|
|
3
|
-
[Tarsk](https://tarsk.io) is an AI coding workspace for working with Git repositories in isolated threads. Each thread gets its own working copy, so you can explore ideas, run agents, review changes, and manage project work without disturbing your main branch.
|
|
3
|
+
[Tarsk](https://tarsk.io) is an AI coding and knowledge workspace for working with Git repositories in isolated threads. Each thread gets its own working copy, so you can explore ideas, run agents, review changes, and manage project work without disturbing your main branch.
|
|
4
4
|
|
|
5
|
-
The CLI starts a local Bun-powered server that serves the [Tarsk](https://tarsk.io) app and exposes the API for repository management, agent execution, and project workflows.
|
|
5
|
+
The CLI starts a local Bun-powered server that serves the [Tarsk](https://tarsk.io) app and exposes the API for repository management, agent execution, and project workflows. The same server powers the macOS desktop app (Electrobun).
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
9
|
- **Projects** — Connect an existing Git repository, open a local folder, or scaffold a new app from a template.
|
|
10
10
|
- **Threads** — Create multiple isolated working copies per project for parallel experiments.
|
|
11
11
|
- **AI agents** — Chat with agents that can read and modify code inside a thread, with diff review before accepting changes.
|
|
12
|
+
- **Goals** — Run long-lived objectives with `/goal` across verified rounds and fresh context.
|
|
12
13
|
- **Tasks** — Plan work in the Tasks view and jump into threads from tasks.
|
|
13
14
|
- **Providers and models** — Configure AI providers, models, and per-project model aliases.
|
|
14
15
|
- **MCP servers** — Attach Model Context Protocol servers for extended agent tooling.
|
|
15
16
|
- **Rules, skills, and slash commands** — Customize agent behavior with project rules, bundled skills, and reusable commands.
|
|
16
17
|
- **Git workflows** — Inspect status, review diffs, create commits, and open pull requests from the UI.
|
|
17
|
-
- **
|
|
18
|
+
- **Slack** — Bind channels to projects and drive Tarsk from Slack (Socket Mode).
|
|
19
|
+
- **Browser and terminal** — Run project commands, open dev servers in an embedded browser (desktop), and use integrated terminals.
|
|
18
20
|
|
|
19
21
|
## Quick start
|
|
20
22
|
|
|
@@ -32,14 +34,18 @@ To always use the latest published version:
|
|
|
32
34
|
npx tarsk@latest
|
|
33
35
|
```
|
|
34
36
|
|
|
35
|
-
You can also download the macOS desktop app from [tarsk.io](https://tarsk.io/#download). The desktop app bundles its own runtime and does not require Node.js.
|
|
37
|
+
You can also download the macOS desktop app from [tarsk.io](https://tarsk.io/#download). The desktop app bundles its own runtime and does not require Node.js. Closing the window keeps the server running; quit from the menu bar tray.
|
|
36
38
|
|
|
37
39
|
## CLI options
|
|
38
40
|
|
|
39
|
-
| Flag
|
|
40
|
-
|
|
|
41
|
+
| Flag | Description |
|
|
42
|
+
| ---- | ----------- |
|
|
41
43
|
| `--server` | Start the API server only. Do not open a browser tab. Useful for headless operation, remote access, or when another client (desktop app, mobile) connects to the server. |
|
|
42
|
-
| `--debug`
|
|
44
|
+
| `--debug` | Enable verbose logging. Runs the server on port **462** instead of **641**. |
|
|
45
|
+
| `--port <n>` | Server port in normal mode (sets `PORT`; default **641**). Ignored when `--debug` is set. |
|
|
46
|
+
| `--open` | Open the browser even when `--server` is set. |
|
|
47
|
+
| `--data-dir <path>` | Override the data directory (sets `TARSK_DATA_DIR`). |
|
|
48
|
+
| `--assets-dir <path>` | Override companion server assets (`public/`, bundled skills, etc.; sets `TARSK_ASSETS_DIR`). |
|
|
43
49
|
|
|
44
50
|
Examples:
|
|
45
51
|
|
|
@@ -47,41 +53,74 @@ Examples:
|
|
|
47
53
|
npx tarsk --server # headless server
|
|
48
54
|
npx tarsk --debug # troubleshoot with full logs
|
|
49
55
|
npx tarsk --server --debug # headless server with verbose logging
|
|
56
|
+
npx tarsk --port 3000 # custom port (normal mode)
|
|
50
57
|
```
|
|
51
58
|
|
|
52
59
|
### Environment variables
|
|
53
60
|
|
|
54
|
-
| Variable | Description
|
|
55
|
-
| -------- |
|
|
56
|
-
| `PORT`
|
|
61
|
+
| Variable | Description |
|
|
62
|
+
| -------- | ----------- |
|
|
63
|
+
| `PORT` | Server port in normal mode (default: `641`). Ignored when `--debug` is set (debug always uses `462`). |
|
|
64
|
+
| `TARSK_APP_SUPPORT_DIR` | Root application support directory (logs, `port.json`, default layout). |
|
|
65
|
+
| `TARSK_DATA_DIR` | Data directory (defaults to `<appSupport>/data`). Same effect as `--data-dir`. |
|
|
66
|
+
| `TARSK_ASSETS_DIR` | Directory with bundled server assets. Same effect as `--assets-dir`. |
|
|
67
|
+
| `MODE` | Set to `development` when running from the monorepo (`bun run web`); suppresses auto-open unless `--open` is passed. |
|
|
57
68
|
|
|
58
69
|
If the default port is already in use, Tarsk tries the next available port and prints the URL it bound to.
|
|
59
70
|
|
|
60
71
|
## System requirements
|
|
61
72
|
|
|
62
|
-
| Requirement
|
|
63
|
-
|
|
|
64
|
-
| **git**
|
|
65
|
-
| **Node.js 18+** or **Bun** | Required for `npx tarsk`.
|
|
66
|
-
| **gh CLI** (optional)
|
|
73
|
+
| Requirement | Notes |
|
|
74
|
+
| ----------- | ----- |
|
|
75
|
+
| **git** | Required. Tarsk uses git to clone repositories and manage branches. |
|
|
76
|
+
| **Node.js 18+** or **Bun** | Required for `npx tarsk`. |
|
|
77
|
+
| **gh CLI** (optional) | Needed for creating GitHub repositories and pull requests from within Tarsk. |
|
|
78
|
+
|
|
79
|
+
Tarsk checks for `git` during onboarding on first launch and surfaces a warning with a download link if it is missing.
|
|
67
80
|
|
|
68
81
|
## Where data is stored
|
|
69
82
|
|
|
70
|
-
All Tarsk data lives
|
|
83
|
+
All Tarsk data lives under your application support directory:
|
|
84
|
+
|
|
85
|
+
| Platform | Default path |
|
|
86
|
+
| -------- | ------------ |
|
|
87
|
+
| macOS | `~/Library/Application Support/Tarsk/` |
|
|
88
|
+
| Linux / Windows (CLI) | Same path under your home directory unless you override it (see below). |
|
|
71
89
|
|
|
72
|
-
|
|
73
|
-
| -------- | -------------------------------------- |
|
|
74
|
-
| macOS | `~/Library/Application Support/Tarsk/` |
|
|
75
|
-
| Windows | `%APPDATA%\Tarsk\` |
|
|
76
|
-
| Linux | `~/.config/Tarsk/` |
|
|
90
|
+
The desktop app and CLI share these defaults. Set `TARSK_APP_SUPPORT_DIR` to move the whole tree (logs, `port.json`, and `data/`). Use `--data-dir` or `TARSK_DATA_DIR` to relocate only the `data/` folder. On Linux or Windows, set `TARSK_APP_SUPPORT_DIR` if you want a conventional path such as `~/.config/Tarsk`.
|
|
77
91
|
|
|
78
|
-
Inside
|
|
92
|
+
Inside the application support directory:
|
|
79
93
|
|
|
80
|
-
- `tarsk.db` — SQLite database (projects, threads, conversations, settings)
|
|
81
|
-
- `data/{
|
|
94
|
+
- `data/tarsk.db` — SQLite database (projects, threads, conversations, settings)
|
|
95
|
+
- `data/{repo-slug}/` — one directory per thread, each a full git working copy (for example `org-repo` from `https://github.com/org/repo`, with `-1`, `-2`, … when names collide)
|
|
96
|
+
- `port.json` — active server port (written when the server starts)
|
|
82
97
|
|
|
83
98
|
Each thread is a real, independent filesystem copy of your repository.
|
|
84
99
|
|
|
100
|
+
## Remote access
|
|
101
|
+
|
|
102
|
+
To use Tarsk from another device, sign in and enable **Mobile & Network Access** in **Settings → Remote Access**. Tarsk provisions a public address on tarsk.net; visitors must sign in as the same account. Restart Tarsk after changing this setting. See [Remote Access](https://tarsk.io/docs/settings/remote-machines/) in the product docs.
|
|
103
|
+
|
|
104
|
+
## Developing from the monorepo
|
|
105
|
+
|
|
106
|
+
From the repository root, see [README.md](../README.md) for full monorepo setup, build order, and `check:all`.
|
|
107
|
+
|
|
108
|
+
Common workflows inside `cli/`:
|
|
109
|
+
|
|
110
|
+
| Command | Purpose |
|
|
111
|
+
| ------- | ------- |
|
|
112
|
+
| `bun run web` | Run the server in development mode (same as root `bun run dev:cli`). |
|
|
113
|
+
| `bun run dev` | Build frontend assets and launch the Electrobun desktop app in dev mode. |
|
|
114
|
+
| `bun run dev:web` | Debug API on **462** plus Vite on **8100** (hot reload). |
|
|
115
|
+
| `bun run build` | Production desktop build (codesigned when configured). |
|
|
116
|
+
| `bun run build:unsigned` | Desktop build without codesign/notarize (CI and sandboxes). |
|
|
117
|
+
| `bun run build:npm` | Server bundle only (published `npx tarsk` artifact). |
|
|
118
|
+
| `bun run test` | CLI tests (`vp test run`, not bare `bun test`). |
|
|
119
|
+
|
|
120
|
+
Implementation notes for contributors: [agents.md](agents.md) and [AGENTS.md](../AGENTS.md).
|
|
121
|
+
|
|
85
122
|
## Documentation
|
|
86
123
|
|
|
87
124
|
- [tarsk.io/docs](https://tarsk.io/docs) — product documentation
|
|
125
|
+
- [Installation](https://tarsk.io/docs/getting-started/installation/) — flags, data paths, and requirements
|
|
126
|
+
- [README.md](../README.md) — monorepo layout and development
|