palmagent 0.0.1-alpha.0 → 0.1.0-alpha.3
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 +35 -5
- package/build-info.json +5 -0
- package/cli.js +199 -14
- package/package.json +39 -10
- package/runner-daemon.js +4 -0
- package/server.js +140 -0
- package/web/apple-touch-icon.png +0 -0
- package/web/assets/index-BNAED-_N.css +1 -0
- package/web/assets/index-BTRpL0qQ.js +352 -0
- package/web/assets/workbox-window.prod.es5-BBnX5xw4.js +2 -0
- package/web/favicon.svg +11 -0
- package/web/icon-192.png +0 -0
- package/web/icon-512-maskable.png +0 -0
- package/web/icon-512.png +0 -0
- package/web/index.html +57 -0
- package/web/manifest.webmanifest +1 -0
- package/web/sw.js +2 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Palmagent
|
|
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,8 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Palmagent
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Self-hosted dispatcher that drives the Claude Code and Codex CLIs headless on your own
|
|
4
|
+
host, normalizes their two event streams into one schema, and serves an installable,
|
|
5
|
+
mobile-first PWA over SSE (read) + REST (control).
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
The real tool isn't published yet — there's nothing to install or run for now.
|
|
7
|
+
## Requirements
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
- Node.js >= 22
|
|
10
|
+
- At least one of the `claude` or `codex` CLIs on PATH and authenticated
|
|
11
|
+
- A public domain pointing at this host (TLS + passkey auth need a real https origin)
|
|
12
|
+
- Linux with systemd + nginx and sudo (the installer writes units + an nginx vhost)
|
|
13
|
+
|
|
14
|
+
## Quickstart
|
|
15
|
+
|
|
16
|
+
Use the Palmagent operator plugin in Claude Code or Codex to install and manage the service.
|
|
17
|
+
The plugin handles CLI installation and commands internally; users do not run this CLI directly.
|
|
18
|
+
Ask the plugin to install Palmagent, show settings, choose Preview, or update the service.
|
|
19
|
+
|
|
20
|
+
Stable is the default for new users. Preview is an explicit choice available to everyone.
|
|
21
|
+
Both plugins share ~/.palmagent/config.json; settings survive updates and service reinstalls.
|
|
22
|
+
Changing the saved channel does not deploy a release. Updates refuse downgrades and
|
|
23
|
+
prereleases on Stable; a missing Stable release does not fall back to Preview.
|
|
24
|
+
Ask the plugin to enable automatic updates for idle periods within the current compatibility line.
|
|
25
|
+
Automatic updates are off by default; a required plugin change or failed installation needs attention.
|
|
26
|
+
|
|
27
|
+
## Internal commands
|
|
28
|
+
|
|
29
|
+
- `palmagent config` Shared user settings: get, init, set --channel stable|preview
|
|
30
|
+
- `palmagent auto-update` Background timer: enable, disable, status
|
|
31
|
+
- `palmagent install` First-run setup: systemd units, nginx, TLS (certbot), first passkey
|
|
32
|
+
- `palmagent setup` Reconfigure an existing install + re-render units/nginx
|
|
33
|
+
- `palmagent doctor` Diagnose a running instance + suggest fixes
|
|
34
|
+
- `palmagent update` `--plan` resolves package/plugin actions; `--pull` applies with installed plugin manifests
|
|
35
|
+
- `palmagent uninstall` Remove the units + nginx vhost (data preserved unless `--purge`)
|
|
36
|
+
- `palmagent passkey` Mint a fresh device-enroll link
|
|
37
|
+
|
|
38
|
+
Run `palmagent --help` for the full option list.
|