agentel 0.2.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/LICENSE +21 -0
- package/README.md +452 -0
- package/agentlog-spec.md +551 -0
- package/bin/agentlog-recall.js +8 -0
- package/bin/agentlog.js +14 -0
- package/docs/code-reference.md +1108 -0
- package/docs/history-source-handling.md +837 -0
- package/docs/release.md +69 -0
- package/package.json +57 -0
- package/src/archive.js +1130 -0
- package/src/autostart.js +182 -0
- package/src/canonical-events.js +575 -0
- package/src/cli.js +7928 -0
- package/src/collector.js +113 -0
- package/src/commands/logs.js +51 -0
- package/src/commands/server.js +11 -0
- package/src/config.js +240 -0
- package/src/doctor.js +102 -0
- package/src/importers/aider.js +553 -0
- package/src/importers/claude.js +349 -0
- package/src/importers/cline.js +471 -0
- package/src/importers/gemini.js +795 -0
- package/src/importers/providers.js +149 -0
- package/src/importers/shared.js +15 -0
- package/src/importers.js +7063 -0
- package/src/mcp.js +148 -0
- package/src/parser-versions.js +62 -0
- package/src/paths.js +61 -0
- package/src/redaction.js +228 -0
- package/src/repo.js +106 -0
- package/src/search.js +619 -0
- package/src/sources.js +86 -0
- package/src/supervisor.js +217 -0
- package/src/sync.js +677 -0
- package/src/version.js +7 -0
- package/src/web-accounts.js +122 -0
package/docs/release.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Release Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist before publishing the `agentlogs` npm package.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
- Confirm the npm publishing account can publish `agentlogs`.
|
|
8
|
+
- Confirm `https://github.com/brianlzhou/agentlog` is reachable for GitHub
|
|
9
|
+
shorthand installs such as `npm install -g brianlzhou/agentlog`.
|
|
10
|
+
- Use Node.js 20 or newer.
|
|
11
|
+
- Install optional local tools used by importers and tests: `sqlite3`, `rg`,
|
|
12
|
+
`unzip`, and `zstd`.
|
|
13
|
+
- Confirm `package.json` has the intended `name`, `version`, `repository`,
|
|
14
|
+
`bin`, `files`, and `engines`.
|
|
15
|
+
|
|
16
|
+
## Verify
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npm install
|
|
20
|
+
npm run check
|
|
21
|
+
npm test
|
|
22
|
+
npm run pack:dry
|
|
23
|
+
npm run smoke:pack
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`npm run pack:dry` should include only the publishable package surface:
|
|
27
|
+
|
|
28
|
+
- `bin/`
|
|
29
|
+
- `src/`
|
|
30
|
+
- selected docs
|
|
31
|
+
- `README.md`
|
|
32
|
+
- `LICENSE`
|
|
33
|
+
- `agentlog-spec.md`
|
|
34
|
+
- `package.json`
|
|
35
|
+
|
|
36
|
+
It should not include local settings, test fixtures, `.git`, `.claude`, logs,
|
|
37
|
+
or archive data.
|
|
38
|
+
|
|
39
|
+
`npm run smoke:pack` creates a tarball, installs it into a temporary prefix,
|
|
40
|
+
installs the source checkout into another temporary prefix as a local stand-in
|
|
41
|
+
for `npm install -g brianlzhou/agentlog`, and runs each install with isolated
|
|
42
|
+
home/config directories:
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
agentlog help
|
|
46
|
+
agentlogs help
|
|
47
|
+
agentlog init --yes --skip-import --no-autostart --no-claude --no-recall --no-telemetry
|
|
48
|
+
agentlog doctor --json
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Publish
|
|
52
|
+
|
|
53
|
+
When the checks pass, publish from a clean working tree:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
npm publish --access public
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
For the first public release, use npm 2FA or trusted publishing. The package
|
|
60
|
+
name is plural (`agentlogs`) so it can coexist with the singular CLI command.
|
|
61
|
+
Keep the `agentlog` binary for normal usage; the package also ships an
|
|
62
|
+
`agentlogs` binary alias so `npx agentlogs init` works.
|
|
63
|
+
|
|
64
|
+
After tagging and pushing the release, sanity-check both public install forms:
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
npm install -g agentlogs
|
|
68
|
+
npm install -g brianlzhou/agentlog#v0.2.0
|
|
69
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agentel",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Local-first archive and recall layer for agent coding sessions.",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Brian Zhou",
|
|
8
|
+
"homepage": "https://github.com/brianlzhou/agentlog#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/brianlzhou/agentlog.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/brianlzhou/agentlog/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"agent",
|
|
18
|
+
"agents",
|
|
19
|
+
"ai",
|
|
20
|
+
"archive",
|
|
21
|
+
"cli",
|
|
22
|
+
"codex",
|
|
23
|
+
"claude",
|
|
24
|
+
"cursor",
|
|
25
|
+
"cline",
|
|
26
|
+
"devin",
|
|
27
|
+
"opencode",
|
|
28
|
+
"aider",
|
|
29
|
+
"recall"
|
|
30
|
+
],
|
|
31
|
+
"bin": {
|
|
32
|
+
"agentlog": "./bin/agentlog.js",
|
|
33
|
+
"agentlog-recall": "./bin/agentlog-recall.js",
|
|
34
|
+
"agentel": "./bin/agentlog.js"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"bin/",
|
|
38
|
+
"src/",
|
|
39
|
+
"docs/code-reference.md",
|
|
40
|
+
"docs/history-source-handling.md",
|
|
41
|
+
"docs/release.md",
|
|
42
|
+
"agentlog-spec.md",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"prepack": "npm run check && npm test",
|
|
48
|
+
"pack:dry": "npm pack --dry-run",
|
|
49
|
+
"smoke:pack": "node scripts/smoke-pack.js",
|
|
50
|
+
"test": "node --test",
|
|
51
|
+
"check": "node scripts/check-syntax.js"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=20"
|
|
55
|
+
},
|
|
56
|
+
"packageManager": "npm@11.5.1"
|
|
57
|
+
}
|