agentel 0.2.8 → 0.3.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/docs/release.md CHANGED
@@ -7,30 +7,48 @@ Use this checklist before publishing the `agentel` npm package.
7
7
  - Confirm the npm publishing account can publish `agentel`.
8
8
  - Confirm `https://github.com/brianlzhou/agentlog` is reachable for GitHub
9
9
  shorthand installs such as `npm install -g brianlzhou/agentlog`.
10
- - Use Node.js 20 or newer.
10
+ - Use Node.js 20 or newer for development, and Node.js 22.14 or newer for
11
+ trusted npm publishing.
12
+ - Use npm 11.10 or newer so project installs honor the `min-release-age`
13
+ package cooldown in `.npmrc`.
14
+ - Configure npm trusted publishing for `.github/workflows/publish.yml`, then
15
+ restrict package publishing tokens once the workflow has published
16
+ successfully.
11
17
  - Install optional local tools used by importers and tests: `sqlite3`, `rg`,
12
18
  `unzip`, and `zstd`.
13
19
  - Confirm `package.json` has the intended `name`, `version`, `repository`,
14
20
  `bin`, `files`, and `engines`.
21
+ - Enable GitHub Dependabot alerts, Dependabot security updates, secret scanning,
22
+ and npm malware alerting for the repository.
15
23
 
16
24
  ## Verify
17
25
 
18
26
  ```sh
19
27
  npm install
20
28
  npm run check
29
+ npm run security
21
30
  npm test
22
31
  npm run pack:dry
23
32
  npm run smoke:pack
24
33
  ```
25
34
 
35
+ `npm run security` verifies the local lockfile policy, runs `npm audit` for
36
+ high and critical production advisories, and checks npm registry
37
+ signatures/provenance with `npm audit signatures`.
38
+
39
+ The published package includes `npm-shrinkwrap.json` so downstream installs use
40
+ the same audited transitive tree as CI.
41
+
26
42
  `npm run pack:dry` should include only the publishable package surface:
27
43
 
28
44
  - `bin/`
29
45
  - `src/`
46
+ - `scripts/postinstall.js`
30
47
  - selected docs
31
48
  - `README.md`
32
49
  - `LICENSE`
33
50
  - `package.json`
51
+ - `npm-shrinkwrap.json`
34
52
 
35
53
  It should not include local settings, test fixtures, `.git`, `.claude`, logs,
36
54
  or archive data.
@@ -49,20 +67,29 @@ agentlog doctor --json
49
67
 
50
68
  ## Publish
51
69
 
52
- When the checks pass, publish from a clean working tree:
70
+ When the checks pass, publish by creating and pushing a version tag that matches
71
+ `package.json`:
53
72
 
54
73
  ```sh
55
- npm publish
74
+ git tag v0.2.9
75
+ git push origin HEAD
76
+ git push origin v0.2.9
56
77
  ```
57
78
 
58
- For the first public release, use npm 2FA or trusted publishing. The package
59
- name is `agentel` so it can coexist with the singular CLI command.
60
- Keep the `agentlog` binary for normal usage; the package also ships an
61
- `agentel` binary alias so `npx agentel init` works.
79
+ The tag starts `.github/workflows/publish.yml`, which runs the full verification
80
+ suite and publishes to npm through trusted publishing. Provenance stays disabled
81
+ while the source repo is private; re-enable `publishConfig.provenance` and the
82
+ `.npmrc` setting if the repo goes public.
83
+
84
+ Manual `npm publish` is a fallback only. If used, publish from a clean tree with
85
+ npm 2FA enabled. The package name is
86
+ `agentel` so it can coexist with the singular CLI command. Keep the `agentlog`
87
+ binary for normal usage; the package also ships an `agentel` binary alias so
88
+ `npx agentel init` works.
62
89
 
63
90
  After tagging and pushing the release, sanity-check both public install forms:
64
91
 
65
92
  ```sh
66
93
  npm install -g agentel
67
- npm install -g brianlzhou/agentlog#v0.2.8
94
+ npm install -g brianlzhou/agentlog#v0.3.1
68
95
  ```
@@ -0,0 +1,478 @@
1
+ {
2
+ "name": "agentel",
3
+ "version": "0.3.1",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "agentel",
9
+ "version": "0.3.1",
10
+ "hasInstallScript": true,
11
+ "license": "MIT",
12
+ "dependencies": {
13
+ "better-sqlite3": "12.9.0"
14
+ },
15
+ "bin": {
16
+ "agentel": "bin/agentlog.js",
17
+ "agentlog": "bin/agentlog.js",
18
+ "agentlog-recall": "bin/agentlog-recall.js"
19
+ },
20
+ "engines": {
21
+ "node": ">=20",
22
+ "npm": ">=11.10.0"
23
+ }
24
+ },
25
+ "node_modules/base64-js": {
26
+ "version": "1.5.1",
27
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
28
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
29
+ "funding": [
30
+ {
31
+ "type": "github",
32
+ "url": "https://github.com/sponsors/feross"
33
+ },
34
+ {
35
+ "type": "patreon",
36
+ "url": "https://www.patreon.com/feross"
37
+ },
38
+ {
39
+ "type": "consulting",
40
+ "url": "https://feross.org/support"
41
+ }
42
+ ],
43
+ "license": "MIT"
44
+ },
45
+ "node_modules/better-sqlite3": {
46
+ "version": "12.9.0",
47
+ "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-12.9.0.tgz",
48
+ "integrity": "sha512-wqUv4Gm3toFpHDQmaKD4QhZm3g1DjUBI0yzS4UBl6lElUmXFYdTQmmEDpAFa5o8FiFiymURypEnfVHzILKaxqQ==",
49
+ "hasInstallScript": true,
50
+ "license": "MIT",
51
+ "dependencies": {
52
+ "bindings": "^1.5.0",
53
+ "prebuild-install": "^7.1.1"
54
+ },
55
+ "engines": {
56
+ "node": "20.x || 22.x || 23.x || 24.x || 25.x"
57
+ }
58
+ },
59
+ "node_modules/bindings": {
60
+ "version": "1.5.0",
61
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
62
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
63
+ "license": "MIT",
64
+ "dependencies": {
65
+ "file-uri-to-path": "1.0.0"
66
+ }
67
+ },
68
+ "node_modules/bl": {
69
+ "version": "4.1.0",
70
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
71
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
72
+ "license": "MIT",
73
+ "dependencies": {
74
+ "buffer": "^5.5.0",
75
+ "inherits": "^2.0.4",
76
+ "readable-stream": "^3.4.0"
77
+ }
78
+ },
79
+ "node_modules/buffer": {
80
+ "version": "5.7.1",
81
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
82
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
83
+ "funding": [
84
+ {
85
+ "type": "github",
86
+ "url": "https://github.com/sponsors/feross"
87
+ },
88
+ {
89
+ "type": "patreon",
90
+ "url": "https://www.patreon.com/feross"
91
+ },
92
+ {
93
+ "type": "consulting",
94
+ "url": "https://feross.org/support"
95
+ }
96
+ ],
97
+ "license": "MIT",
98
+ "dependencies": {
99
+ "base64-js": "^1.3.1",
100
+ "ieee754": "^1.1.13"
101
+ }
102
+ },
103
+ "node_modules/chownr": {
104
+ "version": "1.1.4",
105
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
106
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
107
+ "license": "ISC"
108
+ },
109
+ "node_modules/decompress-response": {
110
+ "version": "6.0.0",
111
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
112
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
113
+ "license": "MIT",
114
+ "dependencies": {
115
+ "mimic-response": "^3.1.0"
116
+ },
117
+ "engines": {
118
+ "node": ">=10"
119
+ },
120
+ "funding": {
121
+ "url": "https://github.com/sponsors/sindresorhus"
122
+ }
123
+ },
124
+ "node_modules/deep-extend": {
125
+ "version": "0.6.0",
126
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
127
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
128
+ "license": "MIT",
129
+ "engines": {
130
+ "node": ">=4.0.0"
131
+ }
132
+ },
133
+ "node_modules/detect-libc": {
134
+ "version": "2.1.2",
135
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
136
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
137
+ "license": "Apache-2.0",
138
+ "engines": {
139
+ "node": ">=8"
140
+ }
141
+ },
142
+ "node_modules/end-of-stream": {
143
+ "version": "1.4.5",
144
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
145
+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
146
+ "license": "MIT",
147
+ "dependencies": {
148
+ "once": "^1.4.0"
149
+ }
150
+ },
151
+ "node_modules/expand-template": {
152
+ "version": "2.0.3",
153
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
154
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
155
+ "license": "(MIT OR WTFPL)",
156
+ "engines": {
157
+ "node": ">=6"
158
+ }
159
+ },
160
+ "node_modules/file-uri-to-path": {
161
+ "version": "1.0.0",
162
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
163
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
164
+ "license": "MIT"
165
+ },
166
+ "node_modules/fs-constants": {
167
+ "version": "1.0.0",
168
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
169
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
170
+ "license": "MIT"
171
+ },
172
+ "node_modules/github-from-package": {
173
+ "version": "0.0.0",
174
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
175
+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
176
+ "license": "MIT"
177
+ },
178
+ "node_modules/ieee754": {
179
+ "version": "1.2.1",
180
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
181
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
182
+ "funding": [
183
+ {
184
+ "type": "github",
185
+ "url": "https://github.com/sponsors/feross"
186
+ },
187
+ {
188
+ "type": "patreon",
189
+ "url": "https://www.patreon.com/feross"
190
+ },
191
+ {
192
+ "type": "consulting",
193
+ "url": "https://feross.org/support"
194
+ }
195
+ ],
196
+ "license": "BSD-3-Clause"
197
+ },
198
+ "node_modules/inherits": {
199
+ "version": "2.0.4",
200
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
201
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
202
+ "license": "ISC"
203
+ },
204
+ "node_modules/ini": {
205
+ "version": "1.3.8",
206
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
207
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
208
+ "license": "ISC"
209
+ },
210
+ "node_modules/mimic-response": {
211
+ "version": "3.1.0",
212
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
213
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
214
+ "license": "MIT",
215
+ "engines": {
216
+ "node": ">=10"
217
+ },
218
+ "funding": {
219
+ "url": "https://github.com/sponsors/sindresorhus"
220
+ }
221
+ },
222
+ "node_modules/minimist": {
223
+ "version": "1.2.8",
224
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
225
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
226
+ "license": "MIT",
227
+ "funding": {
228
+ "url": "https://github.com/sponsors/ljharb"
229
+ }
230
+ },
231
+ "node_modules/mkdirp-classic": {
232
+ "version": "0.5.3",
233
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
234
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
235
+ "license": "MIT"
236
+ },
237
+ "node_modules/napi-build-utils": {
238
+ "version": "2.0.0",
239
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz",
240
+ "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==",
241
+ "license": "MIT"
242
+ },
243
+ "node_modules/node-abi": {
244
+ "version": "3.92.0",
245
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.92.0.tgz",
246
+ "integrity": "sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==",
247
+ "license": "MIT",
248
+ "dependencies": {
249
+ "semver": "^7.3.5"
250
+ },
251
+ "engines": {
252
+ "node": ">=10"
253
+ }
254
+ },
255
+ "node_modules/once": {
256
+ "version": "1.4.0",
257
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
258
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
259
+ "license": "ISC",
260
+ "dependencies": {
261
+ "wrappy": "1"
262
+ }
263
+ },
264
+ "node_modules/prebuild-install": {
265
+ "version": "7.1.3",
266
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
267
+ "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==",
268
+ "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.",
269
+ "license": "MIT",
270
+ "dependencies": {
271
+ "detect-libc": "^2.0.0",
272
+ "expand-template": "^2.0.3",
273
+ "github-from-package": "0.0.0",
274
+ "minimist": "^1.2.3",
275
+ "mkdirp-classic": "^0.5.3",
276
+ "napi-build-utils": "^2.0.0",
277
+ "node-abi": "^3.3.0",
278
+ "pump": "^3.0.0",
279
+ "rc": "^1.2.7",
280
+ "simple-get": "^4.0.0",
281
+ "tar-fs": "^2.0.0",
282
+ "tunnel-agent": "^0.6.0"
283
+ },
284
+ "bin": {
285
+ "prebuild-install": "bin.js"
286
+ },
287
+ "engines": {
288
+ "node": ">=10"
289
+ }
290
+ },
291
+ "node_modules/pump": {
292
+ "version": "3.0.4",
293
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
294
+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
295
+ "license": "MIT",
296
+ "dependencies": {
297
+ "end-of-stream": "^1.1.0",
298
+ "once": "^1.3.1"
299
+ }
300
+ },
301
+ "node_modules/rc": {
302
+ "version": "1.2.8",
303
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
304
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
305
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
306
+ "dependencies": {
307
+ "deep-extend": "^0.6.0",
308
+ "ini": "~1.3.0",
309
+ "minimist": "^1.2.0",
310
+ "strip-json-comments": "~2.0.1"
311
+ },
312
+ "bin": {
313
+ "rc": "cli.js"
314
+ }
315
+ },
316
+ "node_modules/readable-stream": {
317
+ "version": "3.6.2",
318
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
319
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
320
+ "license": "MIT",
321
+ "dependencies": {
322
+ "inherits": "^2.0.3",
323
+ "string_decoder": "^1.1.1",
324
+ "util-deprecate": "^1.0.1"
325
+ },
326
+ "engines": {
327
+ "node": ">= 6"
328
+ }
329
+ },
330
+ "node_modules/safe-buffer": {
331
+ "version": "5.2.1",
332
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
333
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
334
+ "funding": [
335
+ {
336
+ "type": "github",
337
+ "url": "https://github.com/sponsors/feross"
338
+ },
339
+ {
340
+ "type": "patreon",
341
+ "url": "https://www.patreon.com/feross"
342
+ },
343
+ {
344
+ "type": "consulting",
345
+ "url": "https://feross.org/support"
346
+ }
347
+ ],
348
+ "license": "MIT"
349
+ },
350
+ "node_modules/semver": {
351
+ "version": "7.8.0",
352
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz",
353
+ "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",
354
+ "license": "ISC",
355
+ "bin": {
356
+ "semver": "bin/semver.js"
357
+ },
358
+ "engines": {
359
+ "node": ">=10"
360
+ }
361
+ },
362
+ "node_modules/simple-concat": {
363
+ "version": "1.0.1",
364
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
365
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
366
+ "funding": [
367
+ {
368
+ "type": "github",
369
+ "url": "https://github.com/sponsors/feross"
370
+ },
371
+ {
372
+ "type": "patreon",
373
+ "url": "https://www.patreon.com/feross"
374
+ },
375
+ {
376
+ "type": "consulting",
377
+ "url": "https://feross.org/support"
378
+ }
379
+ ],
380
+ "license": "MIT"
381
+ },
382
+ "node_modules/simple-get": {
383
+ "version": "4.0.1",
384
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
385
+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
386
+ "funding": [
387
+ {
388
+ "type": "github",
389
+ "url": "https://github.com/sponsors/feross"
390
+ },
391
+ {
392
+ "type": "patreon",
393
+ "url": "https://www.patreon.com/feross"
394
+ },
395
+ {
396
+ "type": "consulting",
397
+ "url": "https://feross.org/support"
398
+ }
399
+ ],
400
+ "license": "MIT",
401
+ "dependencies": {
402
+ "decompress-response": "^6.0.0",
403
+ "once": "^1.3.1",
404
+ "simple-concat": "^1.0.0"
405
+ }
406
+ },
407
+ "node_modules/string_decoder": {
408
+ "version": "1.3.0",
409
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
410
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
411
+ "license": "MIT",
412
+ "dependencies": {
413
+ "safe-buffer": "~5.2.0"
414
+ }
415
+ },
416
+ "node_modules/strip-json-comments": {
417
+ "version": "2.0.1",
418
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
419
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
420
+ "license": "MIT",
421
+ "engines": {
422
+ "node": ">=0.10.0"
423
+ }
424
+ },
425
+ "node_modules/tar-fs": {
426
+ "version": "2.1.4",
427
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz",
428
+ "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==",
429
+ "license": "MIT",
430
+ "dependencies": {
431
+ "chownr": "^1.1.1",
432
+ "mkdirp-classic": "^0.5.2",
433
+ "pump": "^3.0.0",
434
+ "tar-stream": "^2.1.4"
435
+ }
436
+ },
437
+ "node_modules/tar-stream": {
438
+ "version": "2.2.0",
439
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
440
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
441
+ "license": "MIT",
442
+ "dependencies": {
443
+ "bl": "^4.0.3",
444
+ "end-of-stream": "^1.4.1",
445
+ "fs-constants": "^1.0.0",
446
+ "inherits": "^2.0.3",
447
+ "readable-stream": "^3.1.1"
448
+ },
449
+ "engines": {
450
+ "node": ">=6"
451
+ }
452
+ },
453
+ "node_modules/tunnel-agent": {
454
+ "version": "0.6.0",
455
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
456
+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
457
+ "license": "Apache-2.0",
458
+ "dependencies": {
459
+ "safe-buffer": "^5.0.1"
460
+ },
461
+ "engines": {
462
+ "node": "*"
463
+ }
464
+ },
465
+ "node_modules/util-deprecate": {
466
+ "version": "1.0.2",
467
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
468
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
469
+ "license": "MIT"
470
+ },
471
+ "node_modules/wrappy": {
472
+ "version": "1.0.2",
473
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
474
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
475
+ "license": "ISC"
476
+ }
477
+ }
478
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentel",
3
- "version": "0.2.8",
3
+ "version": "0.3.1",
4
4
  "description": "Local-first archive and recall layer for agent coding sessions.",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -36,25 +36,38 @@
36
36
  "files": [
37
37
  "bin/",
38
38
  "src/",
39
+ "scripts/postinstall.js",
39
40
  "docs/code-reference.md",
40
41
  "docs/history-source-handling.md",
41
42
  "docs/release.md",
42
43
  "README.md",
44
+ "npm-shrinkwrap.json",
43
45
  "LICENSE"
44
46
  ],
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "provenance": false
50
+ },
45
51
  "scripts": {
52
+ "postinstall": "node scripts/postinstall.js",
46
53
  "prepack": "npm run check && npm test",
47
54
  "pack:dry": "npm pack --dry-run",
48
55
  "prepare:update": "node scripts/prepare-update.js",
56
+ "security": "npm run security:lockfile && npm run security:audit && npm run security:signatures",
57
+ "security:audit": "npm audit --audit-level=high --omit=dev",
58
+ "security:lockfile": "node scripts/check-supply-chain.js",
59
+ "security:signatures": "npm audit signatures",
49
60
  "smoke:pack": "node scripts/smoke-pack.js",
50
61
  "test": "node --test",
51
- "check": "node scripts/check-syntax.js"
62
+ "check": "node scripts/check-syntax.js && npm run security:lockfile",
63
+ "build:binary": "node scripts/build-binary.js"
52
64
  },
53
65
  "engines": {
54
- "node": ">=20"
66
+ "node": ">=20",
67
+ "npm": ">=11.10.0"
55
68
  },
56
- "packageManager": "npm@11.5.1",
69
+ "packageManager": "npm@11.11.1",
57
70
  "dependencies": {
58
- "better-sqlite3": "^12.9.0"
71
+ "better-sqlite3": "12.9.0"
59
72
  }
60
73
  }