nexus/scripts
scotttong 8abbc48c71 experiment: direct CLI streaming, observer pattern, artifact generation
Replace adapter-based chat relay with lightweight claude CLI streaming
endpoint. CEO responses now arrive in 2-5s instead of minutes.

Key changes:
- POST /agents/:id/chat/stream — spawns claude -p directly, SSE streaming
- POST /agents/:id/chat/canned — persist welcome/approval messages
- POST /agents/:id/chat/generate-artifact — background doc generation
- Server-side detectArtifactCommitments() replaces unreliable AI observer
- Frontend: optimistic user messages, typewriter streaming, observer events
- Onboarding: separated name/mission substeps, back navigation
- Dev script: full server restart + fresh company + mission setup
- Removed: canned responses, heartbeat polling, inline plan detection

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 22:07:26 -07:00
..
smoke Remove legacy OpenClaw adapter and keep gateway-only flow 2026-03-07 18:50:25 -06:00
backup-db.sh Add paperclipai db:backup CLI command 2026-03-05 06:02:12 -06:00
build-npm.sh fix: copy repo README to CLI for npm publishing 2026-03-03 15:05:41 -06:00
check-forbidden-tokens.mjs Redact current user in comments and token checks 2026-03-11 22:17:21 -05:00
clean-onboard-git.sh http clone 2026-03-09 10:03:45 -05:00
clean-onboard-npm.sh scripts 2026-03-03 14:00:10 -06:00
clean-onboard-ref.sh feat: add committed-ref onboarding smoke script 2026-03-09 09:59:43 -05:00
create-github-release.sh chore: automate canary and stable releases 2026-03-17 14:08:55 -05:00
dev-fresh-chat.sh experiment: direct CLI streaming, observer pattern, artifact generation 2026-03-19 22:07:26 -07:00
dev-runner.mjs Harden budget enforcement and migration startup 2026-03-16 15:11:34 -05:00
docker-onboard-smoke.sh Unblock canary onboard smoke bootstrap 2026-03-09 16:06:16 -05:00
ensure-plugin-build-deps.mjs Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
generate-npm-package-json.mjs chore: automate canary and stable releases 2026-03-17 14:08:55 -05:00
kill-dev.sh feat: add agent skills tab and local dev helpers 2026-03-17 09:11:37 -05:00
migrate-inline-env-secrets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
prepare-server-ui-dist.sh fix(publish): always bundle ui-dist into server package 2026-03-09 07:21:33 -05:00
provision-worktree.sh Add command-based worktree provisioning 2026-03-10 12:42:36 -05:00
release-lib.sh chore: automate canary and stable releases 2026-03-17 14:08:55 -05:00
release-package-map.mjs chore: automate canary and stable releases 2026-03-17 14:08:55 -05:00
release.sh fix: restore release script executable bit 2026-03-17 14:09:16 -05:00
rollback-latest.sh chore: automate canary and stable releases 2026-03-17 14:08:55 -05:00