@soloco/cli 0.3.1-canary.0
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/LICENSE +61 -0
- package/README.md +116 -0
- package/dist/index.js +1290 -0
- package/dist/index.js.map +7 -0
- package/package.json +41 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Soloco — Proprietary Software License
|
|
2
|
+
Copyright (c) 2026 Soloco AI. All rights reserved.
|
|
3
|
+
|
|
4
|
+
This software (the "Software") is proprietary to Soloco AI. By downloading,
|
|
5
|
+
installing, or using the Software you agree to the terms below. If you do not
|
|
6
|
+
agree, do not use the Software.
|
|
7
|
+
|
|
8
|
+
1. GRANT OF LICENSE
|
|
9
|
+
Subject to the restrictions below, Soloco AI grants you a personal,
|
|
10
|
+
non-exclusive, non-transferable, revocable license to install and run the
|
|
11
|
+
Software on machines you own or control, for your own internal use only.
|
|
12
|
+
|
|
13
|
+
2. RESTRICTIONS
|
|
14
|
+
You shall not, and shall not permit any third party to:
|
|
15
|
+
(a) copy, modify, translate, or create derivative works of the Software,
|
|
16
|
+
except as strictly necessary to install and run it for your own
|
|
17
|
+
internal use;
|
|
18
|
+
(b) distribute, sublicense, lease, rent, sell, or otherwise transfer the
|
|
19
|
+
Software or access to the Software to any third party;
|
|
20
|
+
(c) reverse engineer, decompile, or disassemble the Software, except to
|
|
21
|
+
the extent applicable law expressly permits despite this restriction;
|
|
22
|
+
(d) remove or alter any proprietary notices, labels, or marks on the
|
|
23
|
+
Software;
|
|
24
|
+
(e) use the Software to provide a hosted, managed, or "as-a-service"
|
|
25
|
+
offering to third parties;
|
|
26
|
+
(f) use the Software in violation of any applicable law.
|
|
27
|
+
|
|
28
|
+
3. THIRD-PARTY COMPONENTS
|
|
29
|
+
The Software incorporates open-source components, including parts derived
|
|
30
|
+
from the Paperclip framework. Those components remain governed by their
|
|
31
|
+
own licenses, copies of which are reproduced in the NOTICE file. Nothing in
|
|
32
|
+
this License affects your rights under those open-source licenses with
|
|
33
|
+
respect to the open-source components themselves.
|
|
34
|
+
|
|
35
|
+
4. INTELLECTUAL PROPERTY
|
|
36
|
+
The Software is licensed, not sold. Soloco AI retains all right, title, and
|
|
37
|
+
interest in and to the Software, including all intellectual property rights.
|
|
38
|
+
No rights are granted to you other than those expressly stated in this
|
|
39
|
+
License.
|
|
40
|
+
|
|
41
|
+
5. TERMINATION
|
|
42
|
+
This License is effective until terminated. It will terminate automatically
|
|
43
|
+
if you fail to comply with any term. Upon termination you must stop using
|
|
44
|
+
the Software and destroy all copies in your possession.
|
|
45
|
+
|
|
46
|
+
6. NO WARRANTY
|
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF
|
|
48
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
49
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
50
|
+
|
|
51
|
+
7. LIMITATION OF LIABILITY
|
|
52
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, SOLOCO AI SHALL NOT BE
|
|
53
|
+
LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE
|
|
54
|
+
DAMAGES, OR ANY LOSS OF PROFITS OR REVENUES, ARISING OUT OF OR RELATING TO
|
|
55
|
+
YOUR USE OF OR INABILITY TO USE THE SOFTWARE.
|
|
56
|
+
|
|
57
|
+
8. GOVERNING LAW
|
|
58
|
+
This License is governed by the laws of the People's Republic of China,
|
|
59
|
+
without regard to conflict-of-laws rules.
|
|
60
|
+
|
|
61
|
+
For licensing inquiries: contact Soloco AI.
|
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Soloco
|
|
2
|
+
|
|
3
|
+
> **专有软件 / Proprietary** — Copyright © 2026 Soloco AI. All rights reserved.
|
|
4
|
+
> 仅个人/获授权用户运行使用,**不得分发、转售、反编译、提供 SaaS**。
|
|
5
|
+
> 完整条款见 [LICENSE](./LICENSE);第三方开源依赖与上游 attribution 见 [NOTICE](./NOTICE)。
|
|
6
|
+
|
|
7
|
+
围绕你给定的 **goal**,Soloco 会自动拆分阶段、派出多个 agent、循环执行直到完成——
|
|
8
|
+
所有动作发生在你本机,使用你自己的 Claude 订阅,产物落在你能直接打开的目录里。
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 5 分钟跑起来
|
|
13
|
+
|
|
14
|
+
### 前提
|
|
15
|
+
|
|
16
|
+
- **Node.js ≥ 20**([下载](https://nodejs.org/))
|
|
17
|
+
- **pnpm 9+** (`npm install -g pnpm`)
|
|
18
|
+
- **Anthropic API key** ([去 Console 拿一个](https://console.anthropic.com/settings/keys),建议先设月度预算上限)
|
|
19
|
+
|
|
20
|
+
### 步骤
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# 1. clone
|
|
24
|
+
git clone <repo-url> soloco
|
|
25
|
+
cd soloco
|
|
26
|
+
|
|
27
|
+
# 2. 装依赖
|
|
28
|
+
pnpm install
|
|
29
|
+
|
|
30
|
+
# 3. 配 API key
|
|
31
|
+
cp .env.example .env
|
|
32
|
+
# 用编辑器打开 .env,把 ANTHROPIC_API_KEY=sk-ant-... 这行的 sk-ant-... 替换成你的真 key
|
|
33
|
+
# 同时把这份 .env 也复制到 server/ 目录下(server 直接读 server/.env)
|
|
34
|
+
cp .env server/.env
|
|
35
|
+
|
|
36
|
+
# 4. 启动
|
|
37
|
+
pnpm dev
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
终端看到 `Server listening on 0.0.0.0:3100` + `VITE ready` 之后就可以用了。
|
|
41
|
+
|
|
42
|
+
**浏览器打开 → http://localhost:5173/**
|
|
43
|
+
|
|
44
|
+
> ⚠️ 不要打开 `http://localhost:3100/` —— 那是 API 端口,UI 走 5173。
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## 第一个 goal
|
|
49
|
+
|
|
50
|
+
进入 Dashboard 你会看到 "为 AI 提供一个目标" 输入框。试这几个例子(都是 1-3 美元成本能完成的):
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
读穿 ~/Documents 下的所有 PDF,给我一份"我半年前在关心什么"的总结
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
研究 2026 年开源 AI agent 框架 landscape,给我一份带引用的 markdown 报告
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
扫一遍我的 GitHub 仓库,列出 README 写了但代码没实现的"虚假承诺"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
点 **「启动目标循环」** 之后:
|
|
65
|
+
- 系统会派出多个 agent 并行干活(Dashboard 下面的「子进程 Runs」面板可以实时看每个 agent 在调什么工具)
|
|
66
|
+
- 几分钟到十几分钟完成(看 goal 复杂度)
|
|
67
|
+
- 产物默认落在 `~/.soloco/goals/<goal-id>/workspace/` 下(点 goal 详情页能看到路径)
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 常见问题
|
|
72
|
+
|
|
73
|
+
**报「无法连接 Soloco 服务」**
|
|
74
|
+
你打开了 3100 而不是 5173。换 5173。
|
|
75
|
+
|
|
76
|
+
**`pnpm dev` 报 `❌ 端口 3100 已被 PID=xxx 占用`**
|
|
77
|
+
之前的 Soloco 进程没退干净。Windows: `taskkill /F /PID xxx`;Mac/Linux: `kill -9 xxx`。或在 `.env` 加 `PORT=3101`。
|
|
78
|
+
|
|
79
|
+
**`pnpm dev` 启动了但报 `ANTHROPIC_API_KEY 未配置`**
|
|
80
|
+
是 warn 不阻塞启动,但 conductor 调 Claude 会失败。检查 `server/.env` 里的 `ANTHROPIC_API_KEY` 那行。
|
|
81
|
+
|
|
82
|
+
**Goal 跑很久卡住**
|
|
83
|
+
看 Dashboard 上 goal 卡片右上角,点「强制终止」。或者在 goal 详情页的「子进程 Runs」面板看每个 agent 到底卡在哪。
|
|
84
|
+
|
|
85
|
+
**想看错误日志**
|
|
86
|
+
`~/.soloco/logs/error.log` —— 报 bug 时把这个文件相关行贴出来即可,敏感信息(API key/token)已自动遮蔽。
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 数据流向 / 隐私
|
|
91
|
+
|
|
92
|
+
- 完全在你本机:goal 内容、workspace 文件、subprocess 输出、conductor session、组织快照
|
|
93
|
+
- 会发给 Anthropic:所有 conductor / agent 的 prompt 与 response(走你的 Claude 订阅)
|
|
94
|
+
- 会发给第三方:你装的每个 MCP(如浏览器 MCP 会发目标网站;computer-use 不发外网)
|
|
95
|
+
- **不**会做的:Soloco 团队不收集你的数据、不上报使用量、不挂 telemetry
|
|
96
|
+
|
|
97
|
+
详见 [NOTICE](./NOTICE)。
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 面向开发者
|
|
102
|
+
|
|
103
|
+
如果你需要更深入的架构 / agent 编排 / runtime 哲学说明,进 [doc/plans/](./doc/plans/)。
|
|
104
|
+
关键文档:
|
|
105
|
+
|
|
106
|
+
- [doc/plans/2026-04-29-agentic-runtime-philosophy.md](./doc/plans/2026-04-29-agentic-runtime-philosophy.md) — runtime 与 model adapter 分层 + 开放原则
|
|
107
|
+
- [doc/plans/2026-04-28-venture-roadmap.md](./doc/plans/2026-04-28-venture-roadmap.md) — venture 体系总规划
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## License
|
|
112
|
+
|
|
113
|
+
Soloco 是闭源专有软件,详见 [LICENSE](./LICENSE)。
|
|
114
|
+
源自 paperclip 框架,相关 attribution 见 [NOTICE](./NOTICE)。
|
|
115
|
+
|
|
116
|
+
商务/授权咨询:联系 Soloco AI。
|