@uge/payo 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +24 -9
  2. package/dist/index.js +184 -178
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -177,18 +177,31 @@ How detected answers are applied in **Just the high-level stack** mode:
177
177
 
178
178
  **Monorepos** are detected too: Payo enumerates workspace members (pnpm / npm /
179
179
  yarn / lerna, Cargo, `go.work`, Maven / Gradle), detects each package's stack, and
180
- uses the real app stack as the primary answers instead of the near-empty root
181
- manifest. The generated guidance gains a **Workspace Packages** list and monorepo
182
- conventions.
180
+ uses the real app stack as the primary answers merged with the root's repo-level
181
+ tooling (package manager, runtime, formatter, test runner), which in a hoisted
182
+ monorepo lives at the root, not in the member. It also finds **nested workspaces
183
+ the root never declared** (a Cargo `[workspace]` under `services/`, a nested
184
+ `go.work`) and undeclared sibling packages. The generated guidance gains a
185
+ **Workspace Packages** list and monorepo conventions.
186
+
187
+ **Hybrid / polyglot repos** are understood as one project: a React frontend next
188
+ to a Rust backend is classified **full-stack**, the extra languages show up as
189
+ **Additional languages** (with the dirs that carry them) in the generated Tech
190
+ Stack and in the detection summary, and root `package.json` scripts (`cargo
191
+ build`, a dedicated e2e config) act as extra evidence for stacks the manifests
192
+ hide.
183
193
 
184
194
  Detection runs deterministically from your files first. Branch-naming and
185
195
  commit-message conventions are inferred by parsing your **local** git history on
186
196
  your machine — that history is never placed in any AI prompt. When the chosen AI
187
197
  tool's CLI is installed, an **optional second pass** uses **your own** assistant to
188
- fill gaps on unusual stacks — it reads only the manifest and the directory listing,
189
- runs under your own account, and never sends anything to a Payo server (see
190
- [Your data stays yours](#your-data-stays-yours)). If no CLI is present, the
191
- deterministic result stands on its own.
198
+ fill gaps on unusual stacks — it reads the project manifests, the directory
199
+ listing, and short excerpts of your project docs (`README.md`, `CLAUDE.md`,
200
+ `AGENTS.md`, `docs/*.md`), runs under your own account, and never sends anything
201
+ to a Payo server (see [Your data stays yours](#your-data-stays-yours)). It never
202
+ overrides what the deterministic pass found — if the docs clearly contradict a
203
+ detected answer, Payo surfaces the conflict and lets you arbitrate. If no CLI is
204
+ present, the deterministic result stands on its own.
192
205
 
193
206
  ## What gets generated
194
207
 
@@ -294,8 +307,10 @@ generating what's missing. Finished runs clean the directory up automatically.
294
307
 
295
308
  Payo works today, but it's still early. Here's where it's headed:
296
309
 
297
- - **Deeper monorepo support.** Payo now enumerates workspace members, detects
298
- each package's stack, and writes per-package notes into one root config (see
310
+ - **Deeper monorepo support.** Payo now enumerates workspace members — including
311
+ nested workspaces the root never declared detects each package's stack,
312
+ classifies hybrid repos (frontend + backend languages) as one full-stack
313
+ project, and writes per-package notes into one root config (see
299
314
  [Already have a project?](#already-have-a-project-payo-detects-your-stack)).
300
315
  Next is going further: per-package skills and guidance for repos where each
301
316
  workspace wants its own conventions, and workspace enumeration for the