Skip to content

feat(nova-desktop): add inference meter package and enhance folder management - #384

Open
yashdev9274 wants to merge 1 commit into
mainfrom
novadesktop-1
Open

yashdev9274 wants to merge 1 commit into
mainfrom
novadesktop-1

Conversation

@yashdev9274

Copy link
Copy Markdown
Owner
  • Introduced the @super/inference-meter package to the workspace for improved inference tracking.
  • Updated folder management logic to persist grants across service restarts and handle symlink scenarios.
  • Enhanced folder grant tests to ensure robustness in various scenarios, including service restarts and permission revocations.
  • Implemented a new DesktopShell component for better UI structure and user experience in the Nova Desktop application.
  • Added comprehensive styles for the desktop explorer interface to improve usability and aesthetics.
  • Updated package.json and bun.lock to reflect new dependencies and workspace configurations.

Description

Describe the problem, the change, and its effect on users or contributors. For non-trivial changes, link the issue or discussion where the approach was agreed.

Related issue: #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)

How Has This Been Tested?

List the commands you ran and their results, including focused tests. Explain any checks you could not run and why. For UI changes, add before/after screenshots; include a recording for motion or interaction changes.

  • Relevant tests and checks are described above

Checklist:

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have updated documentation where needed
  • My changes generate no new warnings
  • I have added appropriate tests or explained why they are not needed

…nagement

- Introduced the @super/inference-meter package to the workspace for improved inference tracking.
- Updated folder management logic to persist grants across service restarts and handle symlink scenarios.
- Enhanced folder grant tests to ensure robustness in various scenarios, including service restarts and permission revocations.
- Implemented a new DesktopShell component for better UI structure and user experience in the Nova Desktop application.
- Added comprehensive styles for the desktop explorer interface to improve usability and aesthetics.
- Updated package.json and bun.lock to reflect new dependencies and workspace configurations.
@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nova-agent Ready Ready Preview Dec 5, 2026 4:45pm UTC
nova-agent-2eiu Error Error Dec 5, 2026 4:45pm UTC
supercli Ready Ready Preview Dec 5, 2026 4:45pm UTC
supercli-client Ready Ready Preview Dec 5, 2026 4:45pm UTC
supercli-docs Ready Ready Preview Dec 5, 2026 4:45pm UTC
vercel-supercodeai-integration Ready Ready Preview Dec 5, 2026 4:45pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 192 files, which is 92 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This organization's CodeRabbit subscription is cancelled. Resubscribe in Billing to continue reviews beyond the free-tier limit.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 763399b0-db0c-4376-b48b-0011238d9829
Commits

Reviewing files that changed from the base of the PR and between f672153 and f6f7e9a.

Files ignored due to path filters: 3

  • apps/web/public/logos/models/devin.svg is excluded by !**/*.svg
  • apps/web/public/logos/models/factory.svg is excluded by !**/*.svg
  • bun.lock is excluded by !**/*.lock
Files selected for processing: 192

  • apps/nova-desktop/service/folders.test.ts
  • apps/nova-desktop/service/folders.ts
  • apps/nova-desktop/service/main.ts
  • apps/nova-desktop/src-tauri/capabilities/default.json
  • apps/nova-desktop/src-tauri/src/main.rs
  • apps/nova-desktop/src/folder-handles.test.ts
  • apps/nova-desktop/src/folder-handles.ts
  • apps/nova-desktop/src/main.tsx
  • apps/nova-desktop/src/platform.ts
  • apps/nova-desktop/src/styles.css
  • apps/nova-desktop/src/vite-env.d.ts
  • apps/supercode-cli/server/package.json
  • apps/supercode-cli/server/src/agent/agent-service.ts
  • apps/supercode-cli/server/src/agent/agent.ts
  • apps/supercode-cli/server/src/agent/built-in.ts
  • apps/supercode-cli/server/src/agent/index.ts
  • apps/supercode-cli/server/src/agent/prompt-loader.ts
  • apps/supercode-cli/server/src/agent/prompts/build.txt
  • apps/supercode-cli/server/src/agent/prompts/compaction.txt
  • apps/supercode-cli/server/src/agent/prompts/explore.txt
  • apps/supercode-cli/server/src/agent/prompts/general.txt
  • apps/supercode-cli/server/src/agent/prompts/plan.txt
  • apps/supercode-cli/server/src/agent/prompts/summary.txt
  • apps/supercode-cli/server/src/agent/prompts/title.txt
  • apps/supercode-cli/server/src/agent/runner.ts
  • apps/supercode-cli/server/src/agent/singleton.ts
  • apps/supercode-cli/server/src/agent/subagent-permissions.ts
  • apps/supercode-cli/server/src/agents/__tests__/agent.test.ts
  • apps/supercode-cli/server/src/agents/__tests__/permission-isolation.test.ts
  • apps/supercode-cli/server/src/agents/lib/discover.ts
  • apps/supercode-cli/server/src/agents/lib/harness.ts
  • apps/supercode-cli/server/src/agents/tools/delegate.ts
  • apps/supercode-cli/server/src/cli/ai/chat/chat.ts
  • apps/supercode-cli/server/src/cli/ai/context-windows.ts
  • apps/supercode-cli/server/src/cli/runtime/turn-runner.ts
  • apps/supercode-cli/server/src/cli/workspace/prompt/web-search.ts
  • apps/supercode-cli/server/src/config/agent-config.ts
  • apps/supercode-cli/server/src/config/tools.config.ts
  • apps/supercode-cli/server/src/evals/harness-efficiency.test.ts
  • apps/supercode-cli/server/src/lib/composio.ts
  • apps/supercode-cli/server/src/lib/context-enforcer.ts
  • apps/supercode-cli/server/src/lib/credit-meter.ts
  • apps/supercode-cli/server/src/lib/model-access.ts
  • apps/supercode-cli/server/src/lib/plan-gate.ts
  • apps/supercode-cli/server/src/lib/pricing.ts
  • apps/supercode-cli/server/src/lib/request-counter.ts
  • apps/supercode-cli/server/src/lib/subscription-check.ts
  • apps/supercode-cli/server/src/lib/token-budget.ts
  • apps/supercode-cli/server/src/lib/track-usage.ts
  • apps/supercode-cli/server/src/nova-bridge/model.test.ts
  • apps/supercode-cli/server/src/nova-bridge/model.ts
  • apps/supercode-cli/server/src/nova-bridge/runner.ts
  • apps/supercode-cli/server/src/nova-bridge/service.ts
  • apps/supercode-cli/server/src/nova-bridge/worker.ts
  • apps/supercode-cli/server/src/nova/codex-rpc.ts
  • apps/supercode-cli/server/src/nova/desktop-local-tasks.ts
  • apps/supercode-cli/server/src/nova/desktop-workspaces.ts
  • apps/supercode-cli/server/src/nova/gateway.ts
  • apps/supercode-cli/server/src/nova/local-agent-turn.test.ts
  • apps/supercode-cli/server/src/nova/local-agent-turn.ts
  • apps/supercode-cli/server/src/nova/local-codex.test.ts
  • apps/supercode-cli/server/src/nova/runtime.ts
  • apps/supercode-cli/server/src/nova/workspaces/git.test.ts
  • apps/supercode-cli/server/src/nova/workspaces/git.ts
  • apps/supercode-cli/server/src/runtime/config/context-enforcer.ts
  • apps/supercode-cli/server/src/runtime/config/request-counter.ts
  • apps/supercode-cli/server/src/runtime/config/token-budget.ts
  • apps/supercode-cli/server/src/runtime/inference-meter.ts
  • apps/supercode-cli/server/src/service/compaction-service.ts
  • apps/supercode-cli/server/src/tools/definitions/code-exec.ts
  • apps/supercode-cli/server/src/tools/definitions/crisp-audit.ts
  • apps/supercode-cli/server/src/tools/definitions/crisp-debt.ts
  • apps/supercode-cli/server/src/tools/definitions/crisp-gain.ts
  • apps/supercode-cli/server/src/tools/definitions/crisp-review.ts
  • apps/supercode-cli/server/src/tools/definitions/delegate.ts
  • apps/supercode-cli/server/src/tools/definitions/edit-file.ts
  • apps/supercode-cli/server/src/tools/definitions/exa-fetch.ts
  • apps/supercode-cli/server/src/tools/definitions/exa-search.ts
  • apps/supercode-cli/server/src/tools/definitions/firecrawl-map.ts
  • apps/supercode-cli/server/src/tools/definitions/firecrawl-scrape.ts
  • apps/supercode-cli/server/src/tools/definitions/firecrawl-search.ts
  • apps/supercode-cli/server/src/tools/definitions/question.ts
  • apps/supercode-cli/server/src/tools/definitions/read-file.ts
  • apps/supercode-cli/server/src/tools/definitions/read-instructions.ts
  • apps/supercode-cli/server/src/tools/definitions/run-command.ts
  • apps/supercode-cli/server/src/tools/definitions/search-files.ts
  • apps/supercode-cli/server/src/tools/definitions/skill.ts
  • apps/supercode-cli/server/src/tools/definitions/switch-to-agent-mode.ts
  • apps/supercode-cli/server/src/tools/definitions/todowrite.ts
  • apps/supercode-cli/server/src/tools/definitions/url-fetch.ts
  • apps/supercode-cli/server/src/tools/definitions/web-search.ts
  • apps/supercode-cli/server/src/tools/definitions/write-file.ts
  • apps/supercode-cli/server/src/tools/registry.ts
  • apps/web/app/api/nova/gateway/route.ts
  • apps/web/app/api/nova/providers/[provider]/connection/route.ts
  • apps/web/app/api/nova/sessions/[sessionId]/turn/route.ts
  • apps/web/modules/nova-web/codex-local.ts
  • apps/web/modules/nova-web/components/composer.tsx
  • apps/web/modules/nova-web/components/project-picker.tsx
  • apps/web/modules/nova-web/components/provider-connections.tsx
  • apps/web/modules/nova-web/components/thread.tsx
  • apps/web/modules/nova-web/components/timeline.tsx
  • apps/web/modules/nova-web/components/workspace-panel.tsx
  • apps/web/modules/nova-web/git-workspace.ts
  • apps/web/modules/nova-web/integration-registry.test.ts
  • apps/web/modules/nova-web/local-agent-connection.test.ts
  • apps/web/modules/nova-web/local-workspace.ts
  • apps/web/modules/nova-web/model-logos.ts
  • apps/web/modules/nova-web/model-settings.test.ts
  • apps/web/modules/nova-web/model-settings.ts
  • apps/web/modules/nova-web/models.ts
  • apps/web/modules/nova-web/nova-app.tsx
  • apps/web/modules/nova-web/provider-integrations.ts
  • apps/web/modules/nova-web/resolve-mode.test.ts
  • apps/web/modules/nova-web/resolve-mode.ts
  • apps/web/modules/nova-web/types.ts
  • apps/web/modules/nova/automations/runner.ts
  • apps/web/modules/nova/chatgpt/chatgpt.test.ts
  • apps/web/modules/nova/codex/runtime.test.ts
  • apps/web/modules/nova/desktop-provider-runtime.ts
  • apps/web/modules/nova/gateway/mcp.ts
  • apps/web/modules/nova/gateway/token.ts
  • apps/web/modules/nova/harness/agent.test.ts
  • apps/web/modules/nova/harness/agent.ts
  • apps/web/modules/nova/harness/bridge-concurrency.test.ts
  • apps/web/modules/nova/harness/bridge-events.test.ts
  • apps/web/modules/nova/harness/bridge-events.ts
  • apps/web/modules/nova/harness/bridge.ts
  • apps/web/modules/nova/harness/client.ts
  • apps/web/modules/nova/harness/compaction.test.ts
  • apps/web/modules/nova/harness/compaction.ts
  • apps/web/modules/nova/harness/local.ts
  • apps/web/modules/nova/harness/managed.test.ts
  • apps/web/modules/nova/harness/managed.ts
  • apps/web/modules/nova/harness/session-tools.ts
  • apps/web/modules/nova/harness/web-search.test.ts
  • apps/web/modules/nova/provider-credentials/server.ts
  • apps/web/modules/nova/providers/agent-interactions.ts
  • apps/web/modules/nova/providers/agent-turn.ts
  • apps/web/modules/nova/providers/sessions/acp-session.test.ts
  • apps/web/modules/nova/providers/sessions/acp-session.ts
  • apps/web/modules/nova/providers/sessions/claude-session.test.ts
  • apps/web/modules/nova/providers/sessions/claude-session.ts
  • apps/web/modules/nova/providers/sessions/codex-app-server.test.ts
  • apps/web/modules/nova/providers/sessions/codex-app-server.ts
  • apps/web/modules/nova/providers/sessions/cursor-session.test.ts
  • apps/web/modules/nova/providers/sessions/cursor-session.ts
  • apps/web/modules/nova/providers/sessions/devin-session.test.ts
  • apps/web/modules/nova/providers/sessions/devin-session.ts
  • apps/web/modules/nova/providers/sessions/droid-session.test.ts
  • apps/web/modules/nova/providers/sessions/droid-session.ts
  • apps/web/modules/nova/providers/sessions/index.ts
  • apps/web/modules/nova/routines/runner.ts
  • apps/web/modules/nova/sandbox/billing.test.ts
  • apps/web/modules/nova/sandbox/billing.ts
  • apps/web/modules/nova/sessions/github-source.test.ts
  • apps/web/modules/nova/sessions/local-attachments-turn.test.ts
  • apps/web/modules/nova/sessions/reference-persistence.test.ts
  • apps/web/modules/nova/sessions/references-turn.test.ts
  • apps/web/modules/nova/sessions/turn.test.ts
  • apps/web/modules/nova/sessions/turn.ts
  • apps/web/modules/nova/settings/billing-service.test.ts
  • apps/web/modules/nova/voice/providers.ts
  • apps/web/package.json
  • packages/agent-runtime/index.ts
  • packages/agent-runtime/integrations.test.ts
  • packages/agent-runtime/integrations.ts
  • packages/agent-runtime/package.json
  • packages/agent-runtime/prompts/nova-modes.ts
  • packages/agent-runtime/prompts/web-search.ts
  • packages/agent-runtime/turn-guards.ts
  • packages/agent-runtime/turn.ts
  • packages/agent-runtime/types.ts
  • packages/codex-runtime/runtime.ts
  • packages/db-terminal/prisma/schema.prisma
  • packages/inference-meter/context-enforcer.ts
  • packages/inference-meter/context-windows.ts
  • packages/inference-meter/credit-meter.ts
  • packages/inference-meter/index.ts
  • packages/inference-meter/inference-meter.ts
  • packages/inference-meter/model-access.ts
  • packages/inference-meter/package.json
  • packages/inference-meter/plan-gate.ts
  • packages/inference-meter/pricing.ts
  • packages/inference-meter/request-counter.ts
  • packages/inference-meter/subscription-check.ts
  • packages/inference-meter/token-budget.ts
  • packages/inference-meter/track-usage.ts
  • packages/inference-meter/tsconfig.json
  • packages/nova/client-platform.ts
  • packages/nova/package.json
  • packages/nova/provider-instances.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@greptile-apps

greptile-apps Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Confidence Score: 0/5 Tier: plusRetriggerView in Greptile

[High impact] The PR changes how Nova runs provider agents, exposes tools, and tracks inference across its web, desktop, and CLI surfaces.

Do not merge until the server access, approval, billing, data-loss, and provider lifecycle issues are fixed.

Findings

  1. P1 Security Server files reach web users ▶
  2. P1 Cloud billing uses wrong account ▶
  3. P1 Security Old approvals authorize new actions ▶
  4. P1 Security Desktop previews bypass approval ▶
  5. P1 Security Web gateway ignores read-only mode ▶
  6. P1 Computer calls never reach desktops ▶
  7. P1 Recovery interrupts the new turn ▶
  8. P1 Providers overwrite each other’s history ▶
  9. P1 Saving drops large file tails ▶
  10. P1 Drafts save into another folder ▶
  11. P1 Finished runs cancel reused workers ▶
  12. P1 Handoffs no longer expire ▶
  13. P1 Revert deletes currently ignored files ▶
  14. P1 Revert misses binary file changes ▶
  15. P1 Gemini ignores the selected model ▶
  16. P1 Resumed threads lose gateway access ▶
  17. P1 Catalog audit rejects agent aliases ▶
  18. P2 Checkpoints omit their Git identity ▶
  19. P2 Explorer styles never match ▶
  20. P2 Droid leaves polling timers running ▶

Summary

This PR extracts shared inference metering, adds persistent external-agent sessions and gateways, restores desktop folder grants, and adds an editable explorer.

  • Nova sessions can run coding agents from several providers.
  • Provider agents can use Nova tools and ask people for decisions.
  • Desktop folder grants survive restarts and reject symlink paths.
  • Desktop and web workspaces gain a clearer explorer and file-editing flow.
  • Inference limits and usage tracking come from one shared package.
  • Nova can run shared agent turns inside the web process.
  • CLI agent code moves toward shared agent and tool implementations.

Diagram

%%{init: {'theme': 'neutral', 'htmlLabels': false}}%%
flowchart TD
  U[User selects provider and mode] --> T[Web turn]
  T --> M[Managed inference]
  M --> B[Shared inference meter]
  B --> DB[Terminal accounts and credits]
  T --> P[Persistent provider session]
  P --> N[Native agent process]
  N --> G[Nova gateway]
  G --> A[Connected apps]
  G --> W[Workspace reads]
  G --> C[Connected computer]
  G --> R[Shared browser]
  D[Desktop Codex session] --> DG[Desktop gateway]
  DG --> V[Preview]
  V --> X[Apply, publish, or revert]
Loading

Reviews (1) · Last reviewed commit: "feat(nova-desktop): add inference meter ..." · Reviewed by Greptile

Comment on lines +349 to +353
const started = await entry.rpc.request("thread/start", {
cwd: process.cwd(),
model: input.model,
sandbox: "read-only",
approvalPolicy: "on-request",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Server files reach web users

The new codex-agent path runs native tools in the web server’s directory and inherits its environment. A signed-in user can ask the agent to read application files instead of going through Nova’s workspace checks. If that checkout contains private configuration, those files are exposed too. Read-only access prevents writes, not reads of server files. Run these agents in an isolated workspace with an explicit environment allowlist.

How this was verified: Web turns reach spawnAppServer, which inherits process.env and starts threads at process.cwd() without a per-user filesystem boundary.

Comment on lines +414 to +419
const meteredFetch = createInferenceFetch({
userId,
provider,
model: resolvedModel,
signal,
maxOutputTokens: getModelMaxTokens,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Cloud billing uses wrong account

managedTransportPair receives the dashboard user ID, but createInferenceFetch looks up subscriptions and credits in the terminal database. ensureHarnessToken links accounts by email and creates a separate terminal ID. When those IDs differ, managed inference cannot find the user’s subscription, and creating one against the dashboard ID fails. Resolve the terminal identity before metering and recording usage.

Comment on lines +140 to +146
const hash = stableHash({ name: request.method, args })
const idempotencyKey = `agentreq:${input.sessionId}:${String(request.id)}`
const expiresAt = new Date(Date.now() + INTERACTION_TTL_MS)

return prisma.$transaction(async (tx) => {
const existing = await tx.toolInvocation.findUnique({ where: { idempotencyKey } })
const invocation = existing ?? await tx.toolInvocation.create({

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Old approvals authorize new actions

createInteraction keys decisions by session and request ID, without the run or current arguments. The Composio caller also reuses its key for identical arguments across turns. An earlier approved row is returned unchanged, and pollDecision accepts it immediately. A later mutation can therefore run without another approval card. Bind approvals to one action in one run, and consume each approval once.

How this was verified: Repeated Composio calls reuse the stored interaction, whose approved status is accepted without checking the new run or claiming execution.

Comment on lines +119 to +124
server.registerTool("nova_workspace_apply_patch", {
description: "Apply a previously proposed patch after the user approved it. Pass the previewId returned by nova_workspace_propose_patch.",
inputSchema: { previewId: z.string().min(1).max(200) },
}, async ({ previewId }: { previewId: string }) => {
const result = await desktopWorkspaces.applyPatch(deps.sessionId, previewId)
return { content: [{ type: "text", text: JSON.stringify(result).slice(0, MAX_READ_CHARS) }] }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Desktop previews bypass approval

The agent can obtain a preview and immediately call nova_workspace_apply_patch, nova_workspace_publish, or nova_workspace_revert. The downstream checks establish ownership, expiry, and unchanged content, but not user approval. These tools are also offered during read-only turns. Require a recorded user decision and enforce the current turn’s mode before executing them.

How this was verified: The gateway exposes both preview and execution tools, while desktopWorkspaces executes solely from the stored preview and its session checks.

Comment on lines +454 to +460
case "tools/call": {
const name = typeof params?.name === "string" ? params.name : ""
const tool = TOOLS[name]
if (!tool) return rpcError(id, -32602, `Unknown tool: ${name}`)
const args = (params?.arguments ?? {}) as Record<string, unknown>
try {
const output = await tool.handler(args, ctx)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 security Web gateway ignores read-only mode

tools/list exposes every gateway tool, and tools/call runs handlers without checking the turn’s mode. A plan turn can therefore navigate or type into an existing agent-controlled browser, although the existing turn path requires agent mode for those actions. Prompt text does not enforce that restriction. Scope the grant and each call to the current run’s allowed tools.

How this was verified: Gateway dispatch calls handlers directly, whereas the existing browser path explicitly rejects calls outside agent mode.

Comment on lines +342 to +345
const promptPromise = rpc(entry, "session/prompt", {
sessionId: entry.acpSessionId,
prompt: [{ type: "text", text: input.content }],
}).then((result) => ({ ok: true as const, result }))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Gemini ignores the selected model

The picker offers gemini-2.5-pro and gemini-2.5-flash, but createAcpSessionManager never reads input.model. Session creation, loading, and prompting all omit it, so both choices use the CLI’s default model. Apply the selected model before prompting, including when an existing session changes models.

Comment on lines +278 to +282
async adoptThread(uuid: string, native: string, owner: string): Promise<boolean> {
if (this.threads.has(uuid)) return true
try {
await this.rpc.request("thread/resume", { threadId: native })
this.threads.set(uuid, { native, owner })

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Resumed threads lose gateway access

A new desktop process receives a fresh gateway URL, but adoptThread resumes the native thread with only its ID. The fresh URL is supplied only by thread/start, which a successful resume skips. Since closing revoked the previous token, the resumed thread has either a dead URL or no gateway tools. Refresh the MCP configuration on resume. The web Codex resume path has the same omission for expiring grants.

Comment on lines +20 to +21
aside[aria-label="Workspace panel"]
div:has(> div > input[placeholder="Search files"]) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Explorer styles never match

The new rules require an input whose placeholder is exactly Search files, but FilesPane renders Search files. and changes the nesting around it. The explorer therefore receives none of these search, tree, or selected-row styles. Use a stable class or data attribute for the pane and match its new child structure.

Comment on lines 105 to +111
export const ALL_MODELS: NovaModelEntry[] = [
...CLAUDE_AGENT_MODELS,
...GEMINI_AGENT_MODELS,
...OPENCODE_AGENT_MODELS,
...DROID_AGENT_MODELS,
...CURSOR_AGENT_MODELS,
...DEVIN_AGENT_MODELS,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Catalog audit rejects agent aliases

Adding agent provider IDs to ALL_MODELS makes integration-registry.test.ts fail its exact comparison with INTEGRATION_IDS, which contains only base provider IDs. The new isIntegrationId guard runs after that comparison and cannot fix it. Update the audit to map agent choices to their registered provider, or register the aliases consistently.

Comment on lines +377 to +382
const doneReason = await Promise.race([
turnDone,
new Promise<string>((resolve) => {
const check = () => (entry.dead ? resolve("interrupted") : setTimeout(check, 100))
check()
}),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Droid leaves polling timers running

The process-death branch of Promise.race schedules another timer every 100 ms until the process exits. Completing turnDone does not cancel that branch, so each successful turn leaves another polling chain running for the rest of the process lifetime. Use the existing entry.exited promise, or clear the polling timer when either branch settles.

This branch was successfully deployed

4 active deployments
Preview – supercli — f6f7e9aa Deployed Dec 5, 2026 by vercel[bot]
Preview – vercel-supercodeai-integration — f6f7e9aa Deployed Dec 5, 2026 by vercel[bot]
Preview – supercli-client — f6f7e9aa Deployed Dec 5, 2026 by vercel[bot]
Preview – supercli-docs — f6f7e9aa Deployed Dec 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant