Commit Graph

22 Commits

Author SHA1 Message Date
Advait Paliwal
ab8a284c74 fix: respect feynman agent dir in vendored pi-subagents 2026-03-28 21:44:50 -07:00
Jeremy
dbd89d8e3d Claude/windows install compatibility tr di s (#3)
* Fix Windows PowerShell 5.1 compatibility in installer

Use $env:PROCESSOR_ARCHITECTURE for arch detection instead of
RuntimeInformation::OSArchitecture which may not be loaded in
every Windows PowerShell 5.1 session. Also fix null-reference
when user PATH environment variable is empty.

https://claude.ai/code/session_01VFiRDM2ZweyacXN5JneVoP

* Fix executable resolution and tar extraction on Windows

resolveExecutable() used `sh -lc "command -v ..."` which doesn't work
on Windows (no sh). Now uses `cmd /c where` on win32. Also make tar
workspace restoration tolerate symlink failures on Windows — .bin/
symlinks can't be created without Developer Mode, but the actual
package directories are extracted fine.

https://claude.ai/code/session_01VFiRDM2ZweyacXN5JneVoP

* Broad Windows compatibility fixes across the codebase

- runtime.ts: Use path.delimiter instead of hardcoded ":" for PATH
  construction — was completely broken on Windows
- executables.ts: Add Windows fallback paths for Chrome, Edge, Brave,
  and Pandoc in Program Files; skip macOS-only paths on win32
- node-version.ts, check-node-version.mjs, bin/feynman.js: Show
  Windows-appropriate install instructions (irm | iex, nodejs.org)
  instead of nvm/curl on win32
- preview.ts: Support winget for pandoc auto-install on Windows, and
  apt on Linux (was macOS/brew only)
- launch.ts: Catch unsupported signal errors on Windows
- README.md: Add Windows PowerShell commands alongside macOS/Linux
  for all install instructions

https://claude.ai/code/session_01VFiRDM2ZweyacXN5JneVoP

* fix: complete windows bootstrap hardening

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Advait Paliwal <advaitspaliwal@gmail.com>
2026-03-26 17:08:14 -07:00
Advait Paliwal
bc9fa2be86 Fix runtime package resolution and tty shutdown 2026-03-25 14:02:38 -07:00
Advait Paliwal
79e14dd79d Fix packaged runtime startup and version flag 2026-03-24 19:32:10 -07:00
Advait Paliwal
3ee6ff4199 Fix release installers and package manager fallbacks 2026-03-24 19:10:21 -07:00
Advait Paliwal
0f62901ab0 Improve Feynman packaging and research prompts 2026-03-24 09:57:25 -07:00
Advait Paliwal
6ff4dde341 Fix OAuth logo: VT323 font, only patch logo not text
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 08:19:21 -07:00
Advait Paliwal
d1ead853d7 Fix OAuth page: system monospace font, proper sizing, rebrand headings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 23:46:17 -07:00
Advait Paliwal
779dd2441c Unify branding: VT323 logotype across website, TUI, and OAuth pages
- Add VT323 ASCII art logo to logo.mjs as single source of truth
- Website nav and hero use VT323 font via AsciiLogo.astro component
- TUI header and CLI help render the ASCII logo with block-centered alignment
- OAuth callback pages (Pi and alphaXiv) show branded feynman logotype
- Auto-set recommended model after provider login

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 23:28:54 -07:00
Advait Paliwal
7ef1ca2859 Add ASCII logo, spinner during install, all packages core, fix tests
- ASCII art logo on website hero and OAuth callback page
- Clean spinner during postinstall instead of npm noise
- pi-session-search and pi-memory moved to core (13 packages)
- pi-generative-ui is the only optional package
- Alpha Hub callback page branded with Feynman logo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 22:33:35 -07:00
Advait Paliwal
e73743d407 Speed up install with --prefer-offline --no-audit --no-fund, fix postinstall path resolution
Install down from 60s to ~10s. Core packages only (11), heavy optional
packages available via feynman packages install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 22:17:51 -07:00
Advait Paliwal
58a515c168 Fix postinstall patches for hoisted dependencies, add CI publish workflow
- Postinstall now walks up to find node_modules (works when deps are hoisted)
- All patches verified: piConfig, process.title, OAuth page, editor theme
- Add GitHub Actions workflow to publish on version bump

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 19:05:24 -07:00
Advait Paliwal
6c9d629b5d Fix slow header, rebrand OAuth page, fix alpha-hub login callback
- Replace slow system_profiler/docker info with fast cached alternatives
- Single-line system info: cores · ram · docker
- Patch Pi OAuth callback page with Feynman branding
- Fix alpha-hub login: wait for server ready before opening browser, handle port conflicts, auto-close tab

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 19:00:13 -07:00
Advait Paliwal
cac7494af7 Remove redundant package installer — let Pi handle it at runtime
Pi's own package manager already installs packages from settings.json
on first REPL launch. Feynman was duplicating this in both postinstall
and first-run, causing slow installs and looping.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 18:46:41 -07:00
Advait Paliwal
f5570b4e5a Rename .pi to .feynman, rename citation agent to verifier, add website, skills, and docs
- Rename project config dir from .pi/ to .feynman/ (Pi supports this via piConfig.configDir)
- Rename citation agent to verifier across all prompts, agents, skills, and docs
- Add website with homepage and 24 doc pages (Astro + Tailwind)
- Add skills for all workflows (deep-research, lit, review, audit, replicate, compare, draft, autoresearch, watch, jobs, session-log, agentcomputer)
- Add Pi-native prompt frontmatter (args, section, topLevelCli) and read at runtime
- Remove sync-docs generation layer — docs are standalone
- Remove metadata/prompts.mjs and metadata/packages.mjs — not needed at runtime
- Rewrite README and homepage copy
- Add environment selection to /replicate before executing
- Add prompts/delegate.md and AGENTS.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 17:35:35 -07:00
Advait Paliwal
406d50b3ff Overhaul Feynman harness: streamline agents, prompts, and extensions
Remove legacy chains, skills, and config modules. Add citation agent,
SYSTEM.md, modular research-tools extension, and web-access layer.
Add ralph-wiggum to Pi package stack for long-running loops.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 14:59:30 -07:00
Advait Paliwal
d23e679331 Remove flask ASCII art and update harness internals
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 11:35:12 -07:00
Advait Paliwal
46810f97b7 Polish Feynman harness and stabilize Pi web runtime 2026-03-22 20:20:26 -07:00
Advait Paliwal
7f0def3a4c Simplify Feynman theme and composer behavior 2026-03-22 15:46:43 -07:00
Advait Paliwal
dd701e9967 Refine Feynman research workflows 2026-03-22 12:19:33 -07:00
Advait Paliwal
be97ac7a38 Upgrade Feynman research runtime and setup 2026-03-20 23:37:38 -07:00
Advait Paliwal
389baf06f2 Brand embedded Pi TUI as Feynman 2026-03-20 11:22:21 -07:00