@spencer-kit/coder-studio 0.3.1 → 0.3.2
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 +6 -0
- package/README.md +14 -79
- package/dist/esm/bin.mjs +592 -287
- package/dist/esm/bin.mjs.map +4 -4
- package/dist/esm/server-runner.mjs +450 -168
- package/dist/esm/server-runner.mjs.map +4 -4
- package/dist/web/assets/index-BjrMfcUG.js +111 -0
- package/dist/web/assets/index-BjrMfcUG.js.map +1 -0
- package/dist/web/assets/index-mL_Aq31j.css +1 -0
- package/dist/web/favicon.ico +0 -0
- package/dist/web/favicon.png +0 -0
- package/dist/web/favicon.svg +19 -0
- package/dist/web/index.html +4 -4
- package/package.json +2 -2
- package/src/browser.test.ts +50 -0
- package/src/browser.ts +1 -0
- package/src/cli.ts +3 -11
- package/src/package-manifest.test.ts +14 -0
- package/src/package-manifest.ts +28 -0
- package/src/pm2-control.test.ts +89 -1
- package/src/pm2-control.ts +99 -57
- package/src/server-control.test.ts +19 -0
- package/src/server-control.ts +1 -1
- package/src/server-runner.test.ts +14 -0
- package/src/server-runner.ts +2 -0
- package/dist/web/assets/index-A-2YPePM.js +0 -111
- package/dist/web/assets/index-A-2YPePM.js.map +0 -1
- package/dist/web/assets/index-BLMivSS1.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#24](https://github.com/spencerkit/coder-studio/pull/24) [`23ca9a6`](https://github.com/spencerkit/coder-studio/commit/23ca9a6ca8b6060106ff370b248efb9ff464e3cb) Thanks [@pallyoung](https://github.com/pallyoung)! - Fix the bundled web favicon assets by regenerating the PNG and ICO files directly from the SVG source so the icon keeps transparent edges without the visible border artifact.
|
|
8
|
+
|
|
3
9
|
## 0.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,100 +1,35 @@
|
|
|
1
1
|
# @spencer-kit/coder-studio
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Deploy once, code everywhere.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Coder Studio is a browser-based AI coding workspace that lets you keep using the same local project, Agent sessions, files, Git, and terminal across devices.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
npm install -g @spencer-kit/coder-studio
|
|
9
|
-
```
|
|
7
|
+
## What It Solves
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
Typical AI coding workflows stay tied to the machine where the CLI is running. If you leave that device, it becomes harder to keep watching progress, reviewing diffs, or continuing the same workspace from somewhere else.
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
Coder Studio turns that into a persistent workspace you can reopen from another computer, tablet, or phone without handing off the environment again.
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
## Install
|
|
16
14
|
|
|
17
15
|
```bash
|
|
18
|
-
coder-studio
|
|
19
|
-
coder-studio server
|
|
16
|
+
npm install -g @spencer-kit/coder-studio
|
|
20
17
|
```
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
- `serve` 默认以后台托管模式启动服务
|
|
24
|
-
- `server` 是 `serve` 的别名
|
|
25
|
-
- 如果当前已有服务在运行,会先提示是否重启
|
|
26
|
-
- `serve --restart` 会直接重启当前托管服务,不再询问
|
|
27
|
-
- `serve --foreground` 会以前台模式启动服务
|
|
28
|
-
|
|
29
|
-
### open
|
|
30
|
-
|
|
31
|
-
启动服务并直接打开浏览器:
|
|
19
|
+
## Quick Start
|
|
32
20
|
|
|
33
21
|
```bash
|
|
34
22
|
coder-studio open
|
|
35
23
|
```
|
|
36
24
|
|
|
37
|
-
|
|
38
|
-
- 如果服务未启动,会先启动再打开浏览器
|
|
39
|
-
- 如果服务已启动,会提示是否重启
|
|
40
|
-
- `open --restart` 会直接重启后再打开浏览器
|
|
41
|
-
- 选择不重启时,会直接打开当前运行中的地址
|
|
42
|
-
- 非交互场景下如果已有服务,不会自动重启,并会明确提示未重新启动
|
|
43
|
-
|
|
44
|
-
### status
|
|
45
|
-
|
|
46
|
-
查看当前托管服务状态:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
coder-studio status
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
输出包含:
|
|
53
|
-
- 当前状态
|
|
54
|
-
- 监听 host / IP / port
|
|
55
|
-
- 完整监听 URL
|
|
56
|
-
- 本地访问 URL
|
|
57
|
-
- PID、启动时间、重启次数、日志路径
|
|
58
|
-
|
|
59
|
-
### version
|
|
60
|
-
|
|
61
|
-
显示版本号:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
coder-studio version
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### help
|
|
68
|
-
|
|
69
|
-
显示帮助信息:
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
coder-studio help
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## 配置
|
|
76
|
-
|
|
77
|
-
### 认证
|
|
78
|
-
|
|
79
|
-
默认情况下,服务不需要认证。启用认证:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
coder-studio config --password mypassword
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### 数据目录
|
|
86
|
-
|
|
87
|
-
指定数据存储位置:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
coder-studio config --data-dir /path/to/data
|
|
91
|
-
```
|
|
25
|
+
Then open a workspace in the browser and start a Claude or Codex session.
|
|
92
26
|
|
|
93
|
-
##
|
|
27
|
+
## More Information
|
|
94
28
|
|
|
95
|
-
-
|
|
96
|
-
-
|
|
29
|
+
- Full project README: https://github.com/spencerkit/coder-studio/blob/main/README.md
|
|
30
|
+
- Chinese README: https://github.com/spencerkit/coder-studio/blob/main/README.zh-CN.md
|
|
31
|
+
- Documentation: https://github.com/spencerkit/coder-studio/tree/main/docs/help
|
|
97
32
|
|
|
98
|
-
##
|
|
33
|
+
## License
|
|
99
34
|
|
|
100
35
|
MIT
|