@slopus/happy-agent-base 0.0.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.
- package/README.md +26 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @slopus/happy-agent-base
|
|
2
|
+
|
|
3
|
+
Shared foundations for Happy coding agents.
|
|
4
|
+
|
|
5
|
+
The package is bootstrapped with an empty public API. Future agent-base behavior belongs in
|
|
6
|
+
`sources` and is exported through `sources/index.ts`.
|
|
7
|
+
|
|
8
|
+
```text
|
|
9
|
+
sources/index.ts
|
|
10
|
+
|
|
|
11
|
+
v
|
|
12
|
+
dist/index.js
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Releasing
|
|
16
|
+
|
|
17
|
+
From a clean `main` worktree whose `HEAD` matches `origin/main`, run:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
pnpm release:happy-agent-base:patch
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The local release validates, tests, and builds only `@slopus/happy-agent-base`, then creates and
|
|
24
|
+
pushes a `happy-agent-base-vX.Y.Z` tag. The shared GitHub publish workflow again validates, tests,
|
|
25
|
+
and builds only this package before publishing it through npm trusted publishing. The npm trusted
|
|
26
|
+
publisher must identify `slopus/rig`, `publish.yml`, and the `npm` GitHub environment.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../sources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@slopus/happy-agent-base",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Shared foundations for Happy coding agents.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/slopus/rig.git",
|
|
9
|
+
"directory": "packages/happy-agent-base"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "node --eval \"import('node:fs/promises').then(({ rm }) => rm('dist', { force: true, recursive: true }))\" && tsc -p tsconfig.build.json",
|
|
28
|
+
"check": "tsc --noEmit",
|
|
29
|
+
"test": "vitest run --passWithNoTests"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^24.0.10",
|
|
33
|
+
"typescript": "^7.0.2",
|
|
34
|
+
"vitest": "^3.2.4"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=22.19.0"
|
|
38
|
+
}
|
|
39
|
+
}
|