@spikonado/sprocket-linux-x64-gnu 0.3.7 → 0.3.8-dev.00629cf8a89f6dbb57e1499a08af026d76a2f01d
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 +17 -108
- package/THIRD_PARTY_NOTICES.md +0 -26
- package/bin/sprocket +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,142 +15,51 @@ Here's what makes Sprocket special:
|
|
|
15
15
|
|
|
16
16
|
## Using Sprocket
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
### Desktop app
|
|
19
|
+
|
|
20
|
+
Download the installer for your OS from the [latest release](https://github.com/spikonado/sprocket/releases/latest), install it, and open Sprocket. Sign in, choose a project folder, and ask Sprocket what you'd like to build.
|
|
21
21
|
|
|
22
22
|
### Run without installing
|
|
23
23
|
|
|
24
|
+
With [Node.js](https://nodejs.org/) 20.11 or newer installed:
|
|
25
|
+
|
|
24
26
|
```sh
|
|
25
27
|
npx @spikonado/sprocket
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### Desktop app
|
|
31
|
-
|
|
32
|
-
Install it for your OS from the latest [GitHub Release Artifacts](https://github.com/spikonado/sprocket/releases) and run it.
|
|
30
|
+
This opens Sprocket in your browser, or in the desktop app if it's installed. Sign in and choose a project folder to get started. Add `--web` to always use your browser.
|
|
33
31
|
|
|
34
32
|
### CLI
|
|
35
33
|
|
|
36
34
|
```sh
|
|
37
|
-
npm
|
|
35
|
+
npm install -g @spikonado/sprocket
|
|
38
36
|
sprocket
|
|
39
37
|
```
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
To always open a tab in your browser when using Sprocket, use the `--web` flag:
|
|
44
|
-
|
|
45
|
-
```sh
|
|
46
|
-
sprocket --web
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Workspaces
|
|
50
|
-
|
|
51
|
-
Pass a directory to open or reconnect that workspace in a new thread:
|
|
39
|
+
Open a project folder in the app, or force it to open in your browser:
|
|
52
40
|
|
|
53
41
|
```sh
|
|
54
42
|
sprocket .
|
|
55
43
|
sprocket --web ../my-robot
|
|
56
44
|
```
|
|
57
45
|
|
|
58
|
-
|
|
59
|
-
Local state lives in `$HOME/.sprocket` (or `%USERPROFILE%\.sprocket` on Windows when `HOME` is unset).
|
|
60
|
-
Override with `SPROCKET_DATA_DIR`.
|
|
61
|
-
|
|
62
|
-
## Additional CLI reference
|
|
63
|
-
|
|
64
|
-
| Command | Behavior |
|
|
65
|
-
| --------------------------- | ------------------------------------------------------------------------------ |
|
|
66
|
-
| `sprocket update` | Update a global npm, bun, pnpm, or yarn install on the current channel. |
|
|
67
|
-
| `sprocket update --check` | Report whether an update is available without installing. |
|
|
68
|
-
| `sprocket upgrade` | Alias for `update`. |
|
|
69
|
-
| `sprocket serve` | Run the local server in the foreground without launching a client. |
|
|
70
|
-
| `sprocket serve --api-only` | Serve only `/api`; intended for development (see [Development](#development)). |
|
|
71
|
-
|
|
72
|
-
Run `sprocket --help` or `sprocket serve --help` for all options.
|
|
73
|
-
|
|
74
|
-
Common Sprocket server overrides are available as environment variables:
|
|
75
|
-
|
|
76
|
-
| Variable | Purpose |
|
|
77
|
-
| ----------------------------- | ------------------------------------------------------------------- |
|
|
78
|
-
| `SPROCKET_DATA_DIR` | Directory for pairing, sessions, and workspace state. |
|
|
79
|
-
| `SPROCKET_PORT` | Local server port; defaults to `17731` for installed use. |
|
|
80
|
-
| `SPROCKET_HOST` | Bind host; defaults to `127.0.0.1`. |
|
|
81
|
-
| `SPROCKET_DESKTOP_EXECUTABLE` | Full path to the desktop executable to be used by the Sprocket CLI. |
|
|
82
|
-
| `PUBLIC_CONVEX_URL` | Convex deployment used by the agent runtime. |
|
|
83
|
-
| `PUBLIC_MODEL_GATEWAY_URL` | Public AI gateway origin for the UI catalog (`GET /api/v1/models`). |
|
|
84
|
-
| `SPROCKET_STATIC_DIR` | Web build to serve instead of the bundled build. |
|
|
85
|
-
|
|
86
|
-
## Development
|
|
87
|
-
|
|
88
|
-
### Requirements
|
|
89
|
-
|
|
90
|
-
- Bun 1.x, version 1.3.9 or newer
|
|
91
|
-
- Node.js 24.x, version 24.14 or newer
|
|
92
|
-
- A current stable Rust toolchain
|
|
93
|
-
|
|
94
|
-
Install dependencies:
|
|
95
|
-
|
|
96
|
-
```sh
|
|
97
|
-
bun install
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Running Sprocket
|
|
101
|
-
|
|
102
|
-
Start the browser development environment:
|
|
103
|
-
|
|
104
|
-
```sh
|
|
105
|
-
bun dev
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
After creating a Convex deployment and configuring AuthKit, give the deployment an API key for each model provider you want to enable.
|
|
109
|
-
|
|
110
|
-
This runs Vite at `http://localhost:5173` and the Rust API at `http://127.0.0.1:7731`, with development state kept in `.sprocket-dev` inside the repository.
|
|
111
|
-
It targets the dev Convex deployment. To run against the production Convex
|
|
112
|
-
deployment with `~/.sprocket` state instead:
|
|
113
|
-
|
|
114
|
-
```sh
|
|
115
|
-
bun dev:prod
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
To develop against Electron instead, run:
|
|
119
|
-
|
|
120
|
-
```sh
|
|
121
|
-
bun dev:desktop
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
The `dev:prod` / `dev:prod:desktop` variants use the production Convex deployment and `~/.sprocket`.
|
|
125
|
-
|
|
126
|
-
### Building and testing
|
|
46
|
+
To run a task directly from your terminal, run these commands in your project folder:
|
|
127
47
|
|
|
128
48
|
```sh
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
bun run build
|
|
132
|
-
prek run -a
|
|
49
|
+
sprocket login
|
|
50
|
+
sprocket run "Fix the failing tests"
|
|
133
51
|
```
|
|
134
52
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
```sh
|
|
138
|
-
bun run build:release
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Artifacts are written to `apps/desktop/dist/` as `sprocket-desktop-*` (`.AppImage` / `.dmg` / `.exe` depending on the host OS).
|
|
142
|
-
Published installers come from GitHub Releases; the `sprocket` CLI is published separately on npm.
|
|
143
|
-
|
|
144
|
-
## License
|
|
145
|
-
|
|
146
|
-
Sprocket is licensed under the [Functional Source License, Version 1.1, ALv2 Future License](LICENSE.md). Third-party material remains under the licenses listed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
|
|
53
|
+
Update your CLI installation with `sprocket update`. Run `sprocket --help` for more options.
|
|
147
54
|
|
|
148
55
|
## Troubleshooting
|
|
149
56
|
|
|
150
57
|
- If `17731` is already occupied, set `SPROCKET_PORT` before launching.
|
|
151
|
-
- If
|
|
152
|
-
your operating system credential service is available. Linux development
|
|
153
|
-
environments need a working Secret Service provider.
|
|
58
|
+
- If sign-in cannot save or restore your session, check that your operating system credential service is available, or use `sprocket login --credential-store file`.
|
|
154
59
|
- If `sprocket` opens the browser instead of the desktop app, install `sprocket-desktop` from [GitHub Releases](https://github.com/spikonado/sprocket/releases) onto `PATH`, or set `SPROCKET_DESKTOP_EXECUTABLE`.
|
|
155
60
|
- Unsigned macOS and Windows desktop builds may need a Gatekeeper / SmartScreen override the first time you open them.
|
|
156
61
|
- Contact [aarav@spikonado.com](mailto:aarav@spikonado.com) for help.
|
|
62
|
+
|
|
63
|
+
## License
|
|
64
|
+
|
|
65
|
+
Sprocket is licensed under the [Functional Source License, Version 1.1, ALv2 Future License](LICENSE.md). Third-party material remains under the licenses listed in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,27 +1 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
|
-
|
|
3
|
-
## pstack's `unslop` skill
|
|
4
|
-
|
|
5
|
-
Portions of [`crates/sprocket-agent/src/system_prompt.md`](./crates/sprocket-agent/src/system_prompt.md) are derived from [pstack's `unslop` skill](https://github.com/cursor/plugins/blob/99559f2f52047978602ef365589275831e76af07/pstack/skills/unslop/SKILL.md) and have been modified for use in Sprocket.
|
|
6
|
-
|
|
7
|
-
MIT License
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2026 Lauren Tan
|
|
10
|
-
|
|
11
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions:
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
package/bin/sprocket
CHANGED
|
Binary file
|