@andromarces/agent-loops 0.2.0 → 0.2.1
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.
- package/README.md +23 -0
- package/package.json +4 -4
- package/src/cli.mjs +0 -0
- package/src/entrypoints/copilot.mjs +0 -0
package/README.md
CHANGED
|
@@ -428,6 +428,29 @@ pnpm lint # Lint files with oxlint
|
|
|
428
428
|
pnpm test # Run Vitest test suite
|
|
429
429
|
```
|
|
430
430
|
|
|
431
|
+
## Releasing
|
|
432
|
+
|
|
433
|
+
The release workflow stages a version on a published GitHub release or a manual dispatch, authenticated by OIDC trusted publishing. No npm token is stored.
|
|
434
|
+
|
|
435
|
+
npm requires the package to exist before a trusted publisher can be configured, so the first version is published once from a checkout:
|
|
436
|
+
|
|
437
|
+
```bash
|
|
438
|
+
npm login
|
|
439
|
+
npm publish
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
Then add a trusted publisher on npmjs.com: package settings, **Trusted publishing**, **GitHub Actions**, organization or user `andromarces`, repository `agent-loops`, workflow filename `release.yml`, allowed actions `npm stage publish`.
|
|
443
|
+
|
|
444
|
+
For later releases, bump the version, then publish a GitHub release with tag `v<version>`. The tag must match the `package.json` version. The workflow runs `npm stage publish` and prints a stage id. Review and approve the staged version with 2FA:
|
|
445
|
+
|
|
446
|
+
```bash
|
|
447
|
+
npm stage list
|
|
448
|
+
npm stage view <stage-id>
|
|
449
|
+
npm stage approve <stage-id>
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
The version goes live only after approval. Staged publishing needs npm 11.15.0 or later and 2FA on the account.
|
|
453
|
+
|
|
431
454
|
## Manual smoke test
|
|
432
455
|
|
|
433
456
|
Run against real CLI agents in a temporary Git repository:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andromarces/agent-loops",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Run a task loop across several CLI coding agents.",
|
|
6
6
|
"homepage": "https://github.com/andromarces/agent-loops#readme",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"url": "git+https://github.com/andromarces/agent-loops.git"
|
|
14
14
|
},
|
|
15
15
|
"bin": {
|
|
16
|
-
"agent-loop": "
|
|
17
|
-
"agent-loop-copilot": "
|
|
18
|
-
"agent-loops": "
|
|
16
|
+
"agent-loop": "src/cli.mjs",
|
|
17
|
+
"agent-loop-copilot": "src/entrypoints/copilot.mjs",
|
|
18
|
+
"agent-loops": "src/cli.mjs"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"src",
|
package/src/cli.mjs
CHANGED
|
File without changes
|
|
File without changes
|