@open330/oac-repo 2026.3.1 → 2026.3.2

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 (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +4 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @open330/oac-repo
2
+
3
+ Repository resolution and cloning for [OAC (Open Agent Contribution)](https://github.com/Open330/open-agent-contribution).
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @open330/oac-repo
9
+ ```
10
+
11
+ ## What's Inside
12
+
13
+ - **Repo Resolver** — parse `owner/repo`, GitHub URLs, or SSH URIs into a structured `ResolvedRepo`
14
+ - **Clone Manager** — shallow clone with `simple-git`, automatic cache at `~/.oac/cache/repos/`
15
+ - **Metadata Cache** — JSON-based cache for repo metadata (languages, permissions, head SHA)
16
+
17
+ ## Usage
18
+
19
+ ```typescript
20
+ import { resolveRepo, cloneRepo } from '@open330/oac-repo';
21
+
22
+ const repo = await resolveRepo('facebook/react');
23
+ await cloneRepo(repo);
24
+ ```
25
+
26
+ ## License
27
+
28
+ MIT — see the [main repo](https://github.com/Open330/open-agent-contribution) for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open330/oac-repo",
3
- "version": "2026.3.1",
3
+ "version": "2026.3.2",
4
4
  "description": "Repository resolution and cloning for OAC",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,8 @@
18
18
  }
19
19
  },
20
20
  "files": [
21
- "dist"
21
+ "dist",
22
+ "README.md"
22
23
  ],
23
24
  "publishConfig": {
24
25
  "access": "public"
@@ -29,7 +30,7 @@
29
30
  "dependencies": {
30
31
  "@octokit/rest": "^21.1.1",
31
32
  "simple-git": "^3.27.0",
32
- "@open330/oac-core": "2026.3.1"
33
+ "@open330/oac-core": "2026.3.2"
33
34
  },
34
35
  "devDependencies": {
35
36
  "tsup": "^8.3.6",