pstack: support fx as a harness

Aberta
#1,013 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
22/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
markdown
Domínio
documentation

Direção de pesquisa

This is a design question first: the maintainer has to pick between an fx adapter doc at pstack/docs/harness/fx.md, a generated harness/pstack/fx tree, or a harness-neutral adapter line. Start by reading the existing Claude Code adapter and harness/pstack/claude-code skills tree alongside the Codex findings in #734 and the generator proposal in #953 to see which shape already has groundwork. Do not start writing until a shape is chosen; done means one adapter path accepted and documented.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

I'd like to use pstack in fx (https://fx.sh), a terminal coding agent from Vercel. fx reads standard SKILL.md folders, so most of pstack loads already. A few gaps stop poteto-mode from working as written.

What I tested

pstack 0.15.34 (519d36a), fx 0.0.15, macOS. I ran fx ask from inside harness/pstack/claude-code, so fx found the tree's skills/ folder as workspace skills. Nothing was installed globally.

  • Works: all 58 skills show up in fx's skill catalog and load in full, including poteto-mode, how, and setup-pstack.
  • fx ignores disable-model-invocation. 57 of 58 skills set it, so fx can pick any of them on its own.
  • 23 skills start with "In Claude Code, read the Claude Code adapter". An fx agent can take that as not applying to it. fx's skill tool also refuses ../../docs/harness/claude-code.md as a skill resource (InvalidSkillResourcePath) because the path points outside the skill folder.
  • The Cursor names have no fx mapping: Task, subagent_type (poteto-agent, comment-sicko, generalPurpose), readonly, AskQuestion, todo lists, and pstack-models.mdc.

How the Cursor names map to fx

  • Task: fx's subagent tool, either a one-off run or a named persistent agent. It takes a model and effort per child. There is no subagent_type, and fx subagents cannot spawn their own subagents.
  • poteto-agent and comment-sicko: fx has no agent files. The equivalent is a subagent whose brief says to read the agent's markdown first.
  • readonly: true: fx has no documented read-only flag, so the brief says "do not edit files".
  • AskQuestion: ask_user_question.
  • Todo lists: fx has no todo tool, so the list lives in the reply.
  • Rules: AGENTS.md. Skills: ~/.fx/skills or .fx/skills.
  • Cursor-only features (Bugbot, Automations, cloud agents, /loop, custom modes): skip with a one-line note, as the Claude Code adapter does.

Question

Which shape would you accept?

  1. An fx adapter (pstack/docs/harness/fx.md) plus README steps that point fx at the existing claude-code tree, like the Codex findings in #734.
  2. A generated harness/pstack/fx tree, built on the multi-harness generator in #953.
  3. A harness-neutral adapter line in place of "In Claude Code, read...", so one tree can serve several harnesses.

I can open the PR for whichever you prefer.

Related: #601, #734, #953, #237

Linguagem predominante
TypeScript
Estrelas
18.2k
Forks
2k
Merge médio
3h 56min
PRs com merge (30d)
96

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cursor/plugins

Todas as issues de cursor/plugins

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.