Artur Do Lago
f5ddded1ee
feat(tui): add system monitor lights for internet and LLM providers
...
Add health status indicators to the TUI footer:
- Internet connectivity (◉ NET) with green/red/muted states
- Connected LLM providers count (◈ N LLM)
Also update CLAUDE.md to document both installation methods
(bun global install and manual ~/bin/agent-core).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 13:28:25 +01:00
Artur Do Lago
5564f506c6
feat(build): use package.json version as fallback for builds
...
Read version from packages/agent-core/package.json instead of
generating dynamic timestamp versions. This allows setting a
permanent version by editing package.json.
Priority order:
1. AGENT_CORE_VERSION env var
2. OPENCODE_VERSION env var
3. package.json version (new)
4. Dynamic timestamp version
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 13:28:25 +01:00
Artur Do Lago
f597efc368
fix(types): resolve AI SDK v6 type compatibility issues
...
- Use permissive types for provider factories (multiple @ai-sdk/provider versions)
- Add @ts-expect-error for LanguageModel/LanguageModelV3 mismatches
- Fix tool type comparisons for "provider-defined" at runtime
- Filter out tool-approval-request/response from content arrays
- Add proper inputTokenDetails/outputTokenDetails to test fixtures
- Cast Model types for SDK compatibility in share-next
- Fix PromiseLike.catch usage in prompt.ts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 13:28:25 +01:00
Artur Do Lago
ae5c70b56c
fix(test): update tests for AI SDK v6 and .agent-core rename
...
- Make toModelMessage async to handle AI SDK v6's async convertToModelMessages
- Update config tests to use .agent-core instead of .opencode
- Update tool registry tests to use .agent-core instead of .opencode
- Update all callers of toModelMessage to await the result
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 13:27:31 +01:00
Artur
70b89d843a
fix: sdks/vscode/package.json to reduce vulnerabilities ( #2 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
Co-authored-by: snyk-bot <snyk-bot@snyk.io >
2026-01-20 13:27:31 +01:00
Artur Do Lago
bd33d5de0f
cleanup: remove legacy daemon stack and trim docs
2026-01-20 13:27:31 +01:00
Artur Do Lago
9335997ca6
docs: keep council transport in tiara
2026-01-20 13:27:31 +01:00
Artur Do Lago
0c68cd0da6
Fix agent routing and versioning
2026-01-20 13:27:31 +01:00
Artur Do Lago
f9e43164b6
Fix npm OTP args
2026-01-20 13:27:31 +01:00
Artur Do Lago
21750a53a5
Prefer AGENT_CORE env vars
2026-01-20 13:27:31 +01:00
Artur Do Lago
02ef35b3e2
Allow npm publish OTP
2026-01-20 13:27:02 +01:00
Artur Do Lago
b876e28717
Support scoped npm publishing
2026-01-20 13:27:02 +01:00
Artur Do Lago
59b6130c2e
Auto-start daemon from TUI
2026-01-20 13:26:01 +01:00
Artur Do Lago
b5cf8d33c5
build: default to linux-x64 and darwin-arm64
2026-01-20 13:26:01 +01:00
Artur Do Lago
ecef68f109
docs: refresh release docs and prune roadmaps
2026-01-20 13:26:01 +01:00
Artur Do Lago
f648e42a72
docs: note anthropic auth submodule sync
2026-01-20 13:26:01 +01:00
Artur Do Lago
b1bc673014
chore: track opencode-anthropic-auth as submodule
2026-01-20 13:26:01 +01:00
Artur Do Lago
56044851b2
fix: align autocomplete reopen trigger
2026-01-20 13:26:01 +01:00
Artur Do Lago
412fec6e03
chore: fix web workspace dependency
2026-01-20 13:25:08 +01:00
Artur Do Lago
8003fcbb59
chore: apply local updates after upstream merge
2026-01-20 13:22:15 +01:00
Artur Do Lago
0982e6278c
chore: refresh stanley/tiara submodule refs
2026-01-20 13:17:39 +01:00
Artur Do Lago
ba1d6d8068
chore: bump vendor submodules
2026-01-20 13:17:39 +01:00
Artur Do Lago
10a99e8077
simplify run-dev: self-contained, no external config
2026-01-20 13:17:39 +01:00
Artur Do Lago
a513cc0e34
fix: clear stale daemon socket in run scripts
2026-01-20 13:17:39 +01:00
Artur Do Lago
f41759ce4d
bundle agent-core assets and config in dist
2026-01-20 13:17:39 +01:00
Artur Do Lago
98208b3dfb
add dev and dist run scripts
2026-01-20 13:17:39 +01:00
Artur Do Lago
98713328d4
rename build targets env var
2026-01-20 13:17:38 +01:00
Artur Do Lago
9b9d259b45
bundle tiara and stanley deps
2026-01-20 13:17:38 +01:00
Artur Do Lago
cd3e70cbb3
bundle stanley runtime for cli
2026-01-20 13:17:38 +01:00
snyk-bot
de335914fa
fix: upgrade @octokit/graphql from 9.0.1 to 9.0.3
...
Snyk has created this PR to upgrade @octokit/graphql from 9.0.1 to 9.0.3.
See this package in npm:
@octokit/graphql
See this project in Snyk:
https://app.snyk.io/org/adolago/project/20d84b90-a385-44b4-9545-4e2acbf2c5a7?utm_source=github&utm_medium=referral&page=upgrade-pr
2026-01-20 13:17:38 +01:00
Artur Do Lago
aea51d232c
feat: bundle stanley python deps
2026-01-20 13:17:38 +01:00
Artur Do Lago
e1cc72500e
feat: bundle zee deps in cli builds
2026-01-20 13:17:38 +01:00
Artur Do Lago
914681478d
chore: ignore dist in typecheck
2026-01-20 13:17:38 +01:00
Artur Do Lago
722317bd32
fix: bundle personas from repo root
2026-01-20 13:17:38 +01:00
Artur Do Lago
b4d8ea0033
feat: bundle personas in cli installs
2026-01-20 13:17:38 +01:00
Artur Do Lago
2091f6cc2c
fix: align jsonc parse error typing
2026-01-20 13:16:31 +01:00
Artur Do Lago
f89c093173
chore: add persona submodules
2026-01-20 13:16:31 +01:00
Artur Do Lago
06ddafce1c
fix: align diagnostics cli with yargs
2026-01-20 13:16:31 +01:00
Artur Do Lago
c1cce80b0b
feat: implement alpha diagnostics (Phase 4.1-4.3)
...
Phase 4.1 - Enhanced Health Checks:
- CheckEngine with timeout and auto-fix support
- Runtime checks: Bun version, directories, disk, memory
- Config checks: schema validation, deprecated options, env vars
- Provider checks: internet, Anthropic, OpenAI, Gemini, Ollama
- Integrity checks: stale locks, orphan processes, corrupt sessions
- Interactive, JSON, and minimal reporters
- CLI: agent-core check --full --fix --json
Phase 4.2 - Structured Logging:
- Logger with level methods and sensitive data redaction
- AsyncLocalStorage context for correlation IDs
- Console, File, and RotatingFile transports
- JSON and Pretty formatters
- Middleware helpers for session/tool/provider logging
Phase 4.3 - Crash Report Generator:
- Privacy redactor with 20+ patterns (API keys, credentials, PII)
- System, config, logs, session, diagnostics collectors
- TAR.GZ archive creation with README
- CLI: agent-core bug-report --include-session
2026-01-20 13:16:31 +01:00
Artur Do Lago
0aa693ba3f
refactor: remove hardcoded paths and add upstream merge protection
...
Code changes:
- Add Global.Path.source getter with AGENT_CORE_SOURCE env var support
- Update status.ts to use Global.Path.source for script paths
- Update setup.ts to use Global.Path.source for docker-compose lookup
Documentation updates:
- Remove hardcoded ~/.local/src/agent-core paths from all docs
- Use generic or relative path references throughout
- README.md, CLAUDE.md, OPS.md, USER_GUIDE.md, PROVIDERS.md updated
Upstream merge protection:
- Add .gitattributes with merge=ours for fork-specific files
- Configure ours merge driver
- Protects: README.md, CONTRIBUTING.md, CLAUDE.md, language READMEs, docs
Deleted (fork cleanup):
- README.zh-CN.md (Chinese Simplified)
- README.zh-TW.md (Chinese Traditional)
- CONTRIBUTING.md
2026-01-20 13:16:31 +01:00
Artur Do Lago
b43df2b888
chore: clean up config - remove hardcoded models and fix MCP paths
...
- Remove hardcoded model overrides (model, small_model)
- Remove custom Cerebras provider block
- Remove model overrides from title and compaction agents
- Update MCP server paths to use canonical ~/.local/src/agent-core location
- Remove disabled_providers (re-enable vertex)
2026-01-20 13:15:51 +01:00
Artur Do Lago
5f54f55559
chore: cleanup unused documentation
2026-01-20 13:15:51 +01:00
Artur Do Lago
b5c520556e
feat: implement comprehensive diagnostics and telemetry
2026-01-20 13:15:51 +01:00
Artur Do Lago
51b65b85af
feat: add bug checking and reporting CLI tools, update TUI and config
2026-01-20 13:15:51 +01:00
Artur Do Lago
6fadec9712
fix: resolve type errors and import paths
2026-01-20 13:15:51 +01:00
Artur Do Lago
aaf72adfb2
refactor(server): split monolithic server.ts into modular routes to fix TS2589
...
- Extracted routes to packages/agent-core/src/server/route/
- Created packages/agent-core/src/server/state.ts
- Updated server.ts to use modular routes
- Resolved TS2589 (excessive type instantiation depth)
- Fixed Instance.provide signature usage
2026-01-20 13:14:15 +01:00
Artur Do Lago
7b504ea8dd
docs: convert 13 TODO comments to proper documentation
...
Converted ambiguous TODOs to semantic comment types:
- NOTE: Explains design decisions (bash naming, pricing, copilot)
- FUTURE: Planned improvements (tool centralization, auth status, permissions)
- WORKAROUND: Temporary fixes with upstream refs (bun proxy cache)
- LIMITATION: Intentional constraints (task tool input)
- KNOWN_ISSUE: Documented problems (server.ts type inference)
- STUB: Placeholder implementations (dialog endpoint)
- IMPORTANT: Critical constraints (max_tokens with reasoningEffort)
Remaining TODOs are in vendored SDK code (upstream responsibility)
2026-01-20 13:13:23 +01:00
Artur Do Lago
f59ff7bd68
docs: add comprehensive IMPROVEMENTS.md for safety, reliability, performance
...
Analysis of codebase identifying:
- 96+ silent error catches
- 35 unvalidated JSON.parse calls
- 9 missing .unref() on intervals
- Race conditions in file operations
- Performance improvement opportunities
Prioritized recommendations from P0 (immediate) to P3 (long-term)
2026-01-20 13:12:10 +01:00
Artur Do Lago
78c245b905
fix: kill any daemon that started during build
...
Before starting daemon, now:
1. Calls daemon-stop command to cleanly stop any running daemon
2. Force kills any process on the daemon port as final measure
This handles cases where a daemon auto-starts during the build process
2026-01-20 13:12:10 +01:00
Artur Do Lago
07ec40d787
fix: handle 'Text file busy' error in reload.sh
...
- Delete old binary before copying to avoid file lock issues
- Add retry logic with increasing delays (up to 5 attempts)
- Add extra 2s wait after killing processes for file handles to release
2026-01-20 13:12:10 +01:00