Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CI: install the packed packages like a newcomer and run the README snippets

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, node.js, typescript
Ambito
ci-cd, testing

Direzione di ricerca

Read CONTRIBUTING.md first and comment for maintainer approval before starting, then inspect the CI workflow and the README install snippets for ai-sdk, langchain, turnkey, and order-guard. Add the requested script under scripts/ and a workflow job that packs and installs each package in a clean temp directory, checks the SDK dependency tree, type-checks, and runs the payment/refusal cases. Done means the job verifies one SDK copy and passes with an honest payment and a refusal reported as refused: true.

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

Descrizione

documentation good first issue

Why

A newcomer walkthrough (2026-10-07) found that the published tool packages pinned an older SDK, so a normal install pulled two copies: TypeScript rejected paidFetchTool({ pay, plan }) and refusals came back as refused: false. Fixed by making the SDK a peer dependency (ai-sdk 0.2.0, langchain 0.2.0, turnkey 0.1.1), but nothing in CI would catch a regression.

What

A CI job that, for ai-sdk, langchain, turnkey and order-guard:

  • runs npm pack, installs the tarball in a clean temp dir together with the latest published @deepfirstsearch/agent-pay (and ai/zod, @langchain/core) the way the README says;
  • asserts a single copy of the SDK (npm ls @deepfirstsearch/agent-pay);
  • type-checks and runs a small script based on the README snippet against startMockServer(..., { network: "eip155:8453" }), checking an honest payment and a refusal with refused: true.

No new dependencies in the repo; only the CI workflow and a script under scripts/. (Workflow changes need a maintainer's OK first, see CONTRIBUTING.md: comment here before starting.)

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1h 37m
PR unite (30g)
2

Preparare l'ambiente

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 DeepFirstHQ/deepfirstsearch

Tutte le issue di DeepFirstHQ/deepfirstsearch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.