Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

fix: resilient setup for corporate Mac networks#8

Merged
jpleva91 merged 3 commits intomainfrom
fix/corporate-network-setup
Mar 27, 2026
Merged

fix: resilient setup for corporate Mac networks#8
jpleva91 merged 3 commits intomainfrom
fix/corporate-network-setup

Conversation

@jpleva91
Copy link
Copy Markdown
Contributor

Makes setup.sh work on corporate Macs where download sites may be blocked:

  • Auto-install Ollama via brew install --cask ollama (Homebrew CDN, not ollama.com)
  • No interactive prompts — fully automated
  • Graceful fallback if model pull fails (network restricted)
  • Auto-detects and switches to locally available models
  • open -a Ollama for macOS desktop app launch

Morning coffee test: git clone && bash scripts/setup.sh && npm run report

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

jpleva91 and others added 3 commits March 27, 2026 02:25
…table

- docs/index.html: fix hero badge Apache 2.0 → MIT (footer already said MIT)
- docs/architecture.md: swap Layer 2/3 labels to match index.html
  (Ollama = Layer 2, Agent Logic = Layer 3 — consistent bottom-up ordering)
- config/ollama.ts: add JSDoc to OllamaRequest, OllamaResponse, generate(),
  isOllamaRunning(), listModels()
- config/agent-config.ts: add JSDoc to AgentConfig, getAgent(), loadEnv()
- README.md: add OLLAMA_HOST and AGENT_OUTPUT_DIR to config variable table

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix Ollama startup on macOS (open -a Ollama for desktop app)
- Wait up to 20s for Ollama to become reachable
- Add MIT LICENSE file

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Auto-install Ollama via brew --cask (no interactive prompt)
- Homebrew CDN usually not blocked by corporate firewalls
- Graceful fallback if model pull fails (lists available models)
- Auto-switches to locally available model if default can't pull

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jpleva91 jpleva91 merged commit 75c768f into main Mar 27, 2026
2 checks passed
@jpleva91 jpleva91 deleted the fix/corporate-network-setup branch March 27, 2026 02:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant