Commit graph

185 commits

Author SHA1 Message Date
777genius
2f5454ab3c fix(team): route opencode lead through runtime 2026-06-06 21:04:56 +03:00
777genius
4defb4aafc Merge remote-tracking branch 'origin/main'
# Conflicts:
#	landing/components/layout/AppFooter.vue
#	landing/components/layout/AppHeader.vue
#	src/features/localization/renderer/locales/ar/settings.json
#	src/features/localization/renderer/locales/bn/settings.json
#	src/features/localization/renderer/locales/de/settings.json
#	src/features/localization/renderer/locales/es/settings.json
#	src/features/localization/renderer/locales/fr/settings.json
#	src/features/localization/renderer/locales/hi/settings.json
#	src/features/localization/renderer/locales/id/settings.json
#	src/features/localization/renderer/locales/ja/settings.json
#	src/features/localization/renderer/locales/ko/settings.json
#	src/features/localization/renderer/locales/pt/settings.json
#	src/features/localization/renderer/locales/ur/settings.json
#	src/features/localization/renderer/locales/zh/settings.json
#	src/features/tmux-installer/main/infrastructure/runtime/TmuxPlatformCommandExecutor.ts
#	src/features/tmux-installer/main/infrastructure/runtime/__tests__/TmuxPlatformCommandExecutor.test.ts
#	src/main/services/team/TeamProvisioningService.ts
#	src/main/services/team/TeamRuntimeLivenessResolver.ts
#	src/main/services/team/TeamTaskActivityIntervalService.ts
#	src/main/services/team/TeamTranscriptProjectResolver.ts
#	src/main/services/team/provisioning/TeamProvisioningPromptBuilders.ts
#	src/renderer/components/team/messages/MessageComposer.pendingSend.test.tsx
#	src/renderer/components/team/messages/MessageComposer.tsx
#	src/renderer/components/team/messages/MessagesPanel.tsx
#	src/renderer/components/team/messages/messagesPanelLogic.ts
#	src/renderer/components/team/useTeamAgentRuntimeWatcher.ts
#	src/renderer/index.css
#	src/renderer/store/index.ts
#	src/renderer/store/team/teamResolvedMembers.ts
#	src/renderer/utils/__tests__/teamModelAvailability.codexCatalog.test.ts
#	src/renderer/utils/teamModelCatalog.ts
#	src/shared/utils/contextMetrics.ts
#	test/main/services/team/TeamProvisioningPromptBuilders.test.ts
#	test/main/services/team/TeamProvisioningService.test.ts
#	test/main/services/team/TeamProvisioningServiceRelay.test.ts
#	test/main/services/team/TeamRuntimeLivenessResolver.test.ts
#	test/main/services/team/TeamTranscriptProjectResolver.test.ts
#	test/renderer/components/team/messages/MessagesPanel.test.ts
#	test/renderer/utils/teamModelAvailability.test.ts
2026-06-06 17:44:52 +03:00
777genius
0d46aac5c0 fix(team): launch live roster members directly 2026-06-01 21:07:40 +03:00
777genius
a06423a574 fix(team): preserve live overlay in worker message pages 2026-05-30 18:44:12 +03:00
777genius
a18009cc0f fix: keep created teams in watch scope 2026-05-30 16:51:47 +03:00
777genius
126a485477 wip: team messages panel updates and runtime usage cache refinements
Checkpoint of in-progress work:
- renderer: team messages panel/composer, messagesPanelLogic, teamSlice,
  AnimatedHeightReveal plus their tests
- main: runtime process usage-stats caching (ignoreCachedMisses, bounded
  eviction), alive-run-id helpers, team watch-scope notify wiring

Note: the getTeamAgentRuntimeSnapshot rssBytes expectation in
TeamAgentLaunchMatrix.safe-e2e is environment-dependent and still red.
2026-05-30 12:54:11 +03:00
777genius
5d63ecfe32 perf: scope team file watching to active and engaged teams
The main process watched every team directory under ~/.claude/teams (one shallow
chokidar target per team root, per team inboxes, and per task dir). On macOS this
falls back to kqueue, which needs one fd per watched file, so a workspace with
many teams kept ~1600 descriptors open and made startup and reconcile work scale
with the number of teams on disk.

Scope the team-root and task watching to teams that are running or currently
engaged in the UI. The teams root and every team's inboxes are still watched for
all teams, so cross-team message delivery, the lead inbox->stdin relay, and
notifications are unchanged. Idle teams are static, so dropping their team-root/
task watches is safe; opening a team (getData) or launching it re-adds it via an
immediate watch-scope refresh. The provider falls back to watching every team
when unset, and the EMFILE polling fallback is intentionally left unscoped so a
scope change can never look like a deletion.

Measured on a 162-team workspace: open team fds 1600 -> 730, with team-root
watching restored the moment a team is opened or goes live.
2026-05-30 00:25:55 +03:00
777genius
6b8ab10414 fix(opencode): stabilize runtime message delivery 2026-05-28 16:39:04 +03:00
777genius
b5d7da1ea8 fix(attachments): support claude gif delivery 2026-05-25 23:43:29 +03:00
777genius
a8e7f1ccd5 refactor(team): extract message notification scanner 2026-05-21 23:47:55 +03:00
777genius
16a003416d feat: harden opencode and team runtime flows 2026-05-21 01:10:48 +03:00
777genius
d5894c029d feat(team): improve runtime bootstrap controls 2026-05-19 22:39:13 +03:00
777genius
bf3011624d fix: harden team launch bootstrap provisioning 2026-05-19 19:43:02 +03:00
777genius
445932e45b feat(team): improve runtime provider workflows 2026-05-17 19:11:26 +03:00
777genius
20c3194160 feat(runtime): improve provider delivery visibility 2026-05-12 23:33:08 +03:00
777genius
e3d0d56073 feat(team): capture launch failure artifacts 2026-05-11 17:29:19 +03:00
777genius
cbe8d194ef chore: sync current frontend updates 2026-05-10 21:29:07 +03:00
777genius
d0cfabca48 fix(ci): stabilize dev branch checks 2026-05-09 23:40:13 +03:00
777genius
bceef9dec5 feat(team): improve review change evidence flow 2026-05-09 17:44:09 +03:00
777genius
8fd8949684 feat(team): harden opencode delivery advisories 2026-05-09 13:17:23 +03:00
777genius
3ed6dd3159 fix(attachments): export renderer budget helpers 2026-05-09 01:49:55 +03:00
777genius
960beaad44 fix(attachments): enforce serialized payload budget 2026-05-09 01:45:08 +03:00
777genius
2ac71cd00d fix(attachments): allow live opencode image sends 2026-05-09 01:41:50 +03:00
777genius
80acc3b663 feat(team): harden runtime delivery and diagnostics 2026-05-09 00:25:55 +03:00
777genius
b192ed4bae feat(team): improve composer persistence flow 2026-05-05 10:35:33 +03:00
777genius
cde85c0396 fix(team): stabilize mixed launch runtime states 2026-05-04 21:03:41 +03:00
777genius
5c65f55067 feat(team): retry failed opencode secondary lanes 2026-05-04 14:48:55 +03:00
777genius
b1b2e696e5 perf(team): defer enrichments after first paint 2026-05-04 14:47:46 +03:00
777genius
92a1c2067b fix(ci): restore dev validation gates 2026-05-04 09:12:53 +03:00
777genius
d495f8d8f2 feat(team): improve team orchestration diagnostics 2026-05-03 13:27:48 +03:00
777genius
d0341e58af fix(team): retain launch status and clarify notifications 2026-05-03 13:18:53 +03:00
777genius
e3c62eb620 fix(team): harden runtime status and opencode bootstrap 2026-05-03 13:09:21 +03:00
777genius
b187bbcdd0 perf: add launch IO governor for team summaries 2026-05-02 22:14:08 +03:00
777genius
4385b0c679 perf(team): cache team data reads safely 2026-05-02 20:24:46 +03:00
777genius
01b8161f41 fix(team): preserve explicit launch defaults 2026-05-01 23:43:36 +03:00
777genius
93532f3ff5 feat: expose agent teams control via MCP 2026-04-29 10:55:07 +03:00
777genius
7bb24934a5 feat(team): enable task stall monitoring by default 2026-04-28 17:42:19 +03:00
Илия
a8d53ca5cb
fix(ci): restore dev validation 2026-04-28 16:08:05 +03:00
777genius
212cd37d3f feat(team): improve runtime lane presence state 2026-04-27 17:40:13 +03:00
777genius
9fe9f81046 feat(team): add worktree readiness checks 2026-04-27 13:46:11 +03:00
777genius
19b6937446 feat(opencode): harden delivery and provider UI 2026-04-25 14:30:10 +03:00
777genius
4d1a6149b0 Merge branch 'dev' into feat/opencode-semantic-messaging-seam
# Conflicts:
#	agent-teams-controller/src/internal/crossTeam.js
#	mcp-server/src/tools/messageTools.ts
#	mcp-server/src/tools/taskTools.ts
#	src/main/services/team/opencode/bridge/OpenCodeReadinessBridge.ts
#	src/main/services/team/opencode/e2e/OpenCodeProductionE2EEvidence.ts
#	test/main/services/team/OpenCodeProductionE2EEvidence.test.ts
#	test/main/services/team/OpenCodeProductionGate.live.test.ts
#	test/main/services/team/OpenCodeReadinessBridge.test.ts
2026-04-24 22:48:59 +03:00
777genius
64c9ddc78c feat(opencode): add semantic messaging seam 2026-04-24 22:41:16 +03:00
777genius
3fe9a24e41 feat(team): harden launch liveness and recovery 2026-04-24 22:34:08 +03:00
777genius
1c07e0fdb6 feat(team): expand opencode review and release support 2026-04-24 12:05:54 +03:00
777genius
9ebc4368d0 fix: stabilize opencode team launch recovery 2026-04-23 18:27:03 +03:00
777genius
5ab14682a2 feat(team): support mixed runtime lanes and improve preflight UX 2026-04-22 20:10:20 +03:00
777genius
339fb072e5 feat(team): add teammate worktree isolation controls 2026-04-21 22:35:18 +03:00
777genius
5e31bd1c06 feat(opencode): add team runtime integration 2026-04-21 20:28:22 +03:00
777genius
7b486b7fea feat(task-change-ledger): merge review hardening 2026-04-21 17:22:01 +03:00