Commit 7f3d3f3
authored
chore: add package repository metadata (#32)
## What is this?
This PR fills in missing npm package metadata for the published
agent-cdp packages. Package consumers now get consistent GitHub
repository, issue tracker, README, and license metadata across the CLI,
SDK, and shared protocol packages.
## How does it work?
The CLI package keeps its existing GitHub repository metadata and now
declares its monorepo package directory. The `@agent-cdp/sdk` and
`@agent-cdp/protocol` manifests now declare the canonical GitHub
repository, package-specific directories, shared issue tracker, package
README homepages, and MIT license metadata.
Backward compatibility: this only adds package metadata. Existing
commands, flags, exports, files, build output, daemon behavior, and
runtime workflows remain unchanged.
## Why is this useful?
Reviewers and package consumers can navigate from each published package
to the right source directory, issues, README, and license without
guessing how the monorepo is laid out.
Risks: the change is low risk because it does not affect runtime code or
package entry points. The main compatibility assumption is that
`callstackincubator/agent-cdp` and the `master` branch remain the
canonical GitHub locations for these packages.
Manual testing: from a clean checkout on
`chore/package-github-metadata`, run `node -e "for (const file of
['packages/agent-cdp/package.json','packages/sdk/package.json','packages/protocol/package.json'])
JSON.parse(require('fs').readFileSync(file, 'utf8'));
console.log('package manifests are valid JSON')"` and `CI=true pnpm
build`. Verify the manifests parse successfully and all package builds
complete.1 parent facfd24 commit 7f3d3f3
3 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| |||
0 commit comments