You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(marketplace): inherit description/version from local-path apm.yml
Local-path packages (`source: ./...`) now use the same fallback as
remote sources when the curator entry under `marketplace.packages`
omits `description` or `version`: `apm pack` reads the field from
the package's own `apm.yml` and writes it to `marketplace.json`. A
curator-side value still wins when set. Path resolution is constrained
to the project root, and a source that resolves to the marketplace's
own `apm.yml` is skipped.
Follow-up to #1061, which added the same behavior for remote sources.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
20
20
### Fixed
21
21
22
+
-`apm pack` now reads `description` and `version` from a local-path package's own `apm.yml` and falls back to those values in the generated `marketplace.json` when the curator entry under `marketplace.packages` omits them. Mirrors the fallback that already runs for remote sources; a curator-side value still wins when set. The local read is constrained to the project root and skips a source that resolves to the marketplace's own `apm.yml`.
22
23
-`apm install -g --target copilot` now deploys prompt primitives to `~/.copilot/prompts/` while continuing to filter unsupported user-scope instructions. (closes #1482, #1570)
23
24
- Linux standalone `apm` binaries no longer fail git shared-cache clones with shared-library symbol lookup errors caused by PyInstaller dynamic-library paths leaking into child processes. (closes #1534)
24
25
- Avoid 13-minute `apm install` hangs in large local projects by limiting synthetic `_local` discovery to `.apm/` and `.github/`, while preserving package metadata discovery. (closes #1507) -- by @ioannispoulios
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/manifest-schema.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -685,6 +685,8 @@ Each entry MUST be a mapping. Unknown keys are rejected.
685
685
686
686
Remote packages MUST declare at least one of `version` or `ref`. Local packages (sources beginning with `./`) skip git resolution and have no version requirement.
687
687
688
+
When `description` or `version` is omitted from a `packages[]` entry, `apm pack` reads the matching field from the referenced package's own `apm.yml` and uses it in the generated `marketplace.json`. Remote packages are fetched over HTTPS (skipped under `--offline`); local packages are read from disk under the project root. A curator-side value still wins when both are set.
689
+
688
690
The first three `source` forms target a remote git host; the second and third name a non-default host (e.g. GitHub Enterprise, self-hosted GitLab) as either a shorthand or a full HTTPS URL with an optional `.git` suffix that is normalized away. Path traversal (`..`) in local paths, userinfo (`user@host`), ports, query strings, and non-`https` URL schemes are rejected at parse time.
689
691
690
692
Non-default hosts authenticate via the standard APM token chain -- see the [authentication guide](../getting-started/authentication/) for the per-host-class lookup order. A token resolved for the default host is never forwarded to a non-default host.
0 commit comments