@lightupai/polaris 0.0.9 → 0.0.11
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/Makefile +3 -2
- package/README.md +1 -0
- package/package.json +1 -1
package/Makefile
CHANGED
|
@@ -26,10 +26,11 @@ web:
|
|
|
26
26
|
@echo "Starting web app on http://localhost:3000"
|
|
27
27
|
@npx bun --hot run src/web/serve.ts &
|
|
28
28
|
|
|
29
|
-
# Local daemon (port 4322)
|
|
29
|
+
# Local daemon (port 4322) — uses local profile token if available
|
|
30
30
|
daemon:
|
|
31
31
|
@echo "Starting daemon on http://127.0.0.1:4322"
|
|
32
|
-
@
|
|
32
|
+
@TOKEN=$$(jq -r '.profiles.local.token // empty' ~/.polaris/config.json 2>/dev/null || echo ""); \
|
|
33
|
+
POLARIS_DAEMON_PORT=4322 POLARIS_SERVICE_URL=http://localhost:4321 POLARIS_AUTH_TOKEN="$$TOKEN" npx bun run src/daemon/daemon.ts &
|
|
33
34
|
|
|
34
35
|
# Slack bridge (auto-detects org from DB, needs SLACK_APP_TOKEN in .env)
|
|
35
36
|
bridge:
|
package/README.md
CHANGED
|
@@ -116,6 +116,7 @@ tests/ Test suite (bun test)
|
|
|
116
116
|
- [ ] Capture all user input — currently only UserPromptSubmit is captured. Need to also capture tool call approvals, tool use rejections, ask-question responses, and any other user interaction that constitutes a prompt
|
|
117
117
|
- [ ] Postgres backup cron job — scheduled `pg_dump` to Hetzner object storage for production disaster recovery
|
|
118
118
|
- [ ] Daemon local buffer — write-ahead log for fault tolerance. If the API is slow or down, the daemon should persist events locally and flush them asynchronously with retry/backoff, so hooks and MCP tools never block or lose data
|
|
119
|
+
- [ ] Reconciliation and recovery — `polaris recover` command that diffs the daemon JSONL log against the DB, backfills missing events, and posts an abridged recovery summary to Slack as a thread reply at the correct timeline position
|
|
119
120
|
|
|
120
121
|
## Development
|
|
121
122
|
|