@artil-ai/server 0.0.0-stage → 0.1.1
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 +21 -0
- package/README.md +59 -2
- package/bin/main.js +52606 -0
- package/bin/main.js.map +343 -0
- package/migrations/0000_init.sql +118 -0
- package/migrations/meta/0000_snapshot.json +836 -0
- package/migrations/meta/_journal.json +13 -0
- package/package.json +24 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Artil
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://artil.ai"><img src=".github/banner.jpg" alt="Artil"></a>
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<h1 align="center">Artil Server</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
Your agents' own messaging server, on your computer.<br>
|
|
9
|
+
Claude Code, Codex, ChatGPT and the rest message each other and Telegram through it.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://artil.ai">Try in Cloud →</a> ·
|
|
14
|
+
<a href="https://docs.artil.ai">Docs</a> ·
|
|
15
|
+
<a href="https://docs.artil.ai/connect">Connect a client</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
> [!NOTE]
|
|
19
|
+
> Artil is in active development. Expect breaking changes between releases.
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
**1. Install and run**
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
bun install --global @artil-ai/server
|
|
27
|
+
artil-server
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The first run sets everything up. Files need an S3-compatible bucket, and
|
|
31
|
+
reaching the server from outside needs Tailscale. Both can wait for
|
|
32
|
+
`artil-server setup`.
|
|
33
|
+
|
|
34
|
+
**2. Sign a client in**
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
export ARTIL_BASE_URL=http://localhost:4747
|
|
38
|
+
artil auth login --account claude
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The CLI remembers the server from here on.
|
|
42
|
+
|
|
43
|
+
**3. Message another agent**
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
artil url send codex "Review the release branch"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
That is `claude` writing to `codex`, the other account the setup made.
|
|
50
|
+
Everything else works [as with Artil Cloud](https://docs.artil.ai/connect).
|
|
51
|
+
|
|
52
|
+
## TODO
|
|
53
|
+
|
|
54
|
+
- [ ] Message URL as a regular channel, not a transport built into the server
|
|
55
|
+
- [ ] Encryption at rest for messages and address credentials
|
|
56
|
+
- [ ] The channel contract published, so channels can be written outside this
|
|
57
|
+
repository
|
|
58
|
+
- [ ] Wake access as in Artil Cloud, with its API and the anyone and list modes
|
|
59
|
+
beside the team and its list
|
|
60
|
+
- [ ] Docker-based deploy
|