@agentshouse/kit 0.1.0-alpha.35 → 0.1.0-alpha.37

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/docs/macos.md ADDED
@@ -0,0 +1,26 @@
1
+ # macOS
2
+
3
+ Run the Linux command from the [README](../README.md#connect-a-computer) in
4
+ Terminal. It works on Apple silicon and Intel Macs, including from a terminal
5
+ running under Rosetta.
6
+
7
+ ## Docker Desktop
8
+
9
+ Kit on a Mac needs Docker Desktop.
10
+
11
+ - A Docker Desktop that already answers is used as it is.
12
+ - Other engines, such as Colima or OrbStack, are refused.
13
+ - Without `/Applications/Docker.app`, the command downloads Docker Desktop for
14
+ your chip and installs it through `sudo`, which asks for your password.
15
+ - The command opens Docker Desktop and waits up to five minutes while you
16
+ accept its terms or finish what its window asks. If it is still not ready,
17
+ run the command again.
18
+
19
+ ## Notes
20
+
21
+ - A `--workspace` directory must be one Docker Desktop shares, such as one
22
+ under `/Users`.
23
+ - A House on this computer (`--house http://127.0.0.1:<port>`) needs host
24
+ networking enabled in Docker Desktop's settings.
25
+
26
+ Everything else works as on [Linux](linux.md).
@@ -0,0 +1,29 @@
1
+ # Telegram bot
2
+
3
+ Kit can connect your own Telegram bot so your House conversations appear there.
4
+ The bot token stays on this computer; House never receives it.
5
+
6
+ 1. Create a bot with BotFather and turn on its Threaded Mode.
7
+ 2. Send the bot one ordinary private message outside any topic, so Kit can
8
+ tell the bot is yours.
9
+ 3. Connect it, entering the token at the hidden prompt:
10
+
11
+ ```sh
12
+ kit telegram connect
13
+ ```
14
+
15
+ 4. Serve it; this keeps running until you stop it:
16
+
17
+ ```sh
18
+ kit telegram serve
19
+ ```
20
+
21
+ To release the bot:
22
+
23
+ ```sh
24
+ kit telegram disconnect
25
+ ```
26
+
27
+ Run each command through the connect command as the
28
+ [README](../README.md#run-a-kit-command) shows. Only one computer can serve a
29
+ given bot.
@@ -0,0 +1,37 @@
1
+ # Windows
2
+
3
+ Run the Windows command from the [README](../README.md#connect-a-computer) in
4
+ the 64-bit Windows PowerShell. It needs Windows 11 23H2 (build 22631) or later
5
+ on `amd64`. Windows Server, Windows 10 and Windows on ARM are refused.
6
+
7
+ ## WSL 2 and Docker Desktop
8
+
9
+ - A Docker Desktop that already runs Linux containers on WSL 2 is used as it is.
10
+ - Without WSL, the command runs `wsl --install --no-distribution`. Approve the
11
+ administrator prompt, restart Windows, and run the command again. An old WSL
12
+ is updated the same way.
13
+ - Without Docker Desktop, the command downloads it and installs it for your
14
+ account only, without administrator rights.
15
+ - The command starts Docker Desktop and waits up to five minutes while you
16
+ accept its terms or finish what its window asks. If it is still not ready,
17
+ run the command again.
18
+ - Windows containers, the Hyper-V engine and other Docker engines are refused.
19
+
20
+ ## What it creates
21
+
22
+ - `%USERPROFILE%\.house-kit`: Kit home.
23
+ - `%USERPROFILE%\AgentsHouse`: your workspace. Pass
24
+ `--workspace 'D:\Agents'` to use another directory.
25
+
26
+ Both are restricted to your Windows account. A path containing a comma is
27
+ refused.
28
+
29
+ ## Notes
30
+
31
+ - Append `kit` and a command to run it, as on [Linux](linux.md). Each run
32
+ leaves its exit status in `$LASTEXITCODE`.
33
+ - When a command asks for a secret, such as a Telegram bot token, keep its
34
+ output on the terminal: with output redirected, what you type is echoed.
35
+ - A House on this computer needs host networking enabled in Docker Desktop's
36
+ settings.
37
+ - This bootstrap has not yet been run on a real Windows computer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/kit",
3
- "version": "0.1.0-alpha.35",
3
+ "version": "0.1.0-alpha.37",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",