agent-native icon indicating copy to clipboard operation
agent-native copied to clipboard

Skill deletion succeeds but leaves Settings unclickable

Open patt1s0n opened this issue 1 month ago • 1 comments

Summary

We use Agent Native. Removing a Personal Skill through native Settings succeeds, but the page stops responding to pointer input.

The Skill row, menu, and confirmation dialog disappear. The body retains inline pointer-events: none, which blocks enabled controls and Settings navigation.

This reproduces on the latest published stable release, 0.219.0, in the official standalone Chat scaffold with native APIs and local persistence.

Environment

  • Reproduced on: @agent-native/core, @agent-native/toolkit, and @agent-native/agentkit 0.219.0, verified from installed packages.
  • Latest stable check: npm's latest tag returned 0.219.0 for all three packages on 2026-10-23 at 13:08:44 UTC.
  • App: official standalone Chat scaffold generated from the bundled @agent-native/[email protected] template.
  • Native path: SettingsTabsPage / useAgentSettingsTabs → Skills → ResourcesPanel / ResourceSettingsGroups → native resource mutation and handlers.
  • Persistence: fresh local PGlite 0.5.11 database and the scaffold's local-development authentication.
  • Runtime: React / React DOM 19.3.1, Node 22.23.2, Chrome 155.0.0.0 on macOS.
  • Resolved dependencies: Radix alert dialog 1.2.1, Radix dropdown menu 2.2.1, TanStack React Query 5.104.5.
  • The native components, hooks, API handlers, and storage were unchanged. No lifecycle boundary was mocked.

Steps and observed behavior

  1. Open Settings → Skills in the authenticated standalone scaffold.

  2. Create a disposable Personal Skill through the native POST /_agent-native/resources endpoint with this JSON:

    {
      "path": "skills/pointer-lock-delete-probe/SKILL.md",
      "content": "---\nname: Pointer Lock Delete Probe\ndescription: Disposable native resource delete test.\n---\n# Pointer Lock Delete Probe\n\nHarmless disposable test content.\n",
      "mimeType": "text/markdown",
      "shared": false,
      "uniqueSkillPath": true
    }
    

    This API request is test setup. The removal below uses the native UI. The browser supplies same-origin authentication cookies.

  3. Verify that the Personal tree shows Pointer Lock Delete Probe.

  4. Open that row's More actions menu.

  5. Select Remove.

  6. Confirm Remove in the native dialog.

  7. After the row and overlays disappear, click Add skill.

  8. Click the separate Files link in Settings.

Before removal, pointer input worked. The body had no inline pointer restriction, and the body, main element, and Add skill button computed to pointer-events: auto.

The native API completed the operation:

  • Creation returned 201. A subsequent resource GET returned 200, and the Personal tree contained the Skill with kind: "skill".
  • DELETE /_agent-native/resources/<skill-id> returned 200 with {"ok":true}.
  • The native client refetched Personal, Shared, and Workspace resource trees. All returned 200, and the Skill was absent.
  • A subsequent GET for the deleted resource returned 404 with {"error":"Resource not found"}.

After removal:

Observation Result
Body inline and computed pointer-events none
Main element and Add skill computed pointer-events none
Add skill disabled state false, with no aria-disabled
Remaining dialogs, menus, or inert elements 0 / 0 / 0
elementFromPoint at the Add skill button's center HTML, not the button
Actual pointer click on Add skill No menu or editor opened
Actual pointer click on Settings → Files No navigation; URL remained /settings/skills

The deletion scenario started in a fresh browser context with working pointer input. No other dialog-dismissal scenario preceded it.

Expected behavior

Successful removal closes the native overlays and leaves Settings usable. Add skill and Settings navigation continue to respond to pointer input.

Impact

An ordinary Skill removal prevents further pointer interaction with Settings, even though the delete operation succeeds.

Relevant code observations

These are static source observations at the 0.219.0 release commit, 0f9123f7c7cd8a3631d707d304013ba8a85b2b6f:

The runtime evidence establishes the leftover pointer restriction. The exact cleanup failure remains unconfirmed.

patt1s0n avatar Oct 23 '26 13:10 patt1s0n

Also seeing the same symptom in Settings → Automations, not just Skills.

Steps

  1. Open an automation’s ellipsis menu.
  2. Select Details.
  3. Close the dialog using X.

The page then stops responding to clicks until I refresh.

In an affected run, document.body.style.pointerEvents was:

  • Before: ""
  • After closing Details: "none"

After closing, no dialog, menu, or Radix popper nodes remained, and focus returned to the body. The click-blocking style remained.

Our installed @agent-native/core and @agent-native/toolkit versions are 0.219.0.

nabilkhan199999 avatar Oct 29 '26 10:10 nabilkhan199999