[Bug]: SSH-style `host:path` references in chat never become file chips
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Comienza en packages/client-runtime/src/markdownLinks.ts, en parseMarkdownFileLink, e inspecciona cómo se aplica EXTERNAL_SCHEME_PATTERN antes de las comprobaciones de rutas. Reproduce los ejemplos de host:path y bare-path del issue y, después, verifica el comportamiento elegido: las referencias host:path deberían convertirse en file chips cuando sea compatible, o seguir documentadas explícitamente como fuera del alcance, sin provocar regresiones en las bare paths.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- In any thread, have the agent (or yourself) write an SSH-style
host:pathreference in inline code, e.g.`devbox:~/notes/handoff.md`or`devbox:/home/me/notes/handoff.md`. - In the same message, include a plain path such as
`~/notes/handoff.md`for comparison.
Expected behavior
Either the host:path reference renders as a file chip (ideally resolved against the matching SSH environment when the host matches one), or this is documented as intentionally out of scope.
This may well be intended behavior; filing so maintainers can decide. The reverse direction already exists: #11229 makes "Copy full path" on a remote file chip produce host:path, so a chip copied from one thread and pasted into another currently doesn't round-trip back into a chip.
Actual behavior
The host:path reference stays as plain inline code. The bare ~/… path in the same message becomes a chip.
Cause (from reading main): parseMarkdownFileLink in packages/client-runtime/src/markdownLinks.ts rejects anything matching EXTERNAL_SCHEME_PATTERN (/^([A-Za-z][A-Za-z0-9+.-]*):(.*)$/). A hostname like devbox or devbox-doggo is a valid URL scheme under that pattern, so devbox:~/… is treated as an external URL (like mailto:) and dropped before any path checks run.
Impact
Minor bug or occasional failure
Version or commit
main @ c57a04b722
Environment
Linux server (remote environment), web/desktop client; agent output from Claude Code. Applies to any provider since detection is client-side.
Workaround
Write the path without the host prefix (~/… or an absolute path); it then resolves against the thread's environment.
Related: #11229 (copies host:path), #8251 (chips for files outside the project root fail to open).
🤖 Generated with Claude Code
- Lenguaje dominante
- TypeScript
- Estrellas
- 24.8k
- Forks
- 6.4k
- Merge medio
- 5 h 30 min
- PR fusionados (30 d)
- 215
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pingdotgg/t3code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
[Bug]: Diff panel hides the current branch name and the arrow overlaps the base ref when the panel is narrowPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoaccepted bug via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pingdotgg/t3code#19048 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] Windows repository cloning fails while creating an existing drive rootPosiblemente ocupada @pujitha24 la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
[Bug]: iOS still shows "Failed to connect. Retrying" on every resume (follow-up to #5695)Posiblemente ocupada @otavio la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
Todos los issues de pingdotgg/t3code
Issues similares
-
afk-ok area:data-quality importer size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
enorm-labs/event-junkie#3301 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
one-zero-eight/apply-bot#39 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bigbluebutton/bbb-ui-components-react#108 ·
Los mantenedores suelen responder en 2 días
-
area: app type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ExpidetGames/code-reviewer#308 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día