pstack: support fx as a harness

Aperta
#1,013 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
markdown
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
18.2k
Fork
2k
Merge medio
3h 56m
PR unite (30g)
96

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cursor/plugins

Tutte le issue di cursor/plugins

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.