auditreach-cli 0.1.2 → 0.1.3

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 CHANGED
@@ -163,8 +163,10 @@ Search a platform using its official API only.
163
163
  | `--before <fullname>` | page results before this Reddit fullname cursor, e.g. `t3_abc123` (Reddit only) |
164
164
  | `--after <fullname>` | page results after this Reddit fullname cursor, e.g. `t3_abc123` (Reddit only) |
165
165
  | `--output <path>` | write full results JSON to this path |
166
+ | `--json` | print structured JSON to stdout instead of human-readable output, for scripts and agent callers |
166
167
 
167
168
  node dist/cli.js search --platform reddit --query "agent memory poisoning" --subreddit MachineLearning --max-results 50
169
+ node dist/cli.js search --platform reddit --query "agent memory poisoning" --json | jq '.results | length'
168
170
 
169
171
  ### `auditreach auth`
170
172
 
@@ -175,6 +177,7 @@ Set up, verify, or clear BYOK credentials for a platform (stored in your OS keyc
175
177
  | `--platform <platform>` | `reddit` \| `youtube` (required) |
176
178
  | `--clear` | delete stored credentials for this platform |
177
179
  | `--verify` | verify stored credentials are valid without running a search (no results file, no audit-log entry) |
180
+ | `--json` | print structured JSON to stdout instead of human-readable output |
178
181
 
179
182
  node dist/cli.js auth --platform reddit --verify
180
183
 
@@ -272,7 +275,7 @@ No generated API docs site exists yet (no TypeDoc build wired into CI) -- the ex
272
275
  | Reddit | 25 | 100 |
273
276
  | YouTube | 25 | 50 |
274
277
 
275
- Values above the cap are silently clamped to it. For Reddit, `--before`/`--after` let you page past a single call's results using the real cursor Reddit's own response returns (see [Success stories](#success-stories)); YouTube has no equivalent yet. Whenever the number of items returned equals the limit that was actually applied, whether that is the silent default or an explicit `--max-results` value, auditreach prints a warning to stderr telling you more results may exist and how to raise `--max-results` (up to the platform cap).
278
+ Values above the cap are silently clamped to it. For Reddit, `--before`/`--after` let you page through a search's result set using the real cursor Reddit's own response returns, up to Reddit's own ~1,000-item search cap (see [Success stories](#success-stories) for why cursor pagination alone can't go further than that); YouTube has no equivalent yet. Whenever the number of items returned equals the limit that was actually applied, whether that is the silent default or an explicit `--max-results` value, auditreach prints a warning to stderr telling you more results may exist and how to raise `--max-results` (up to the platform cap).
276
279
 
277
280
  ## What is a "consent basis," honestly
278
281
 
@@ -287,7 +290,7 @@ No. Credentials go straight into your OS keychain through `@napi-rs/keyring` (`s
287
290
  25, silently, unless you pass `--max-results` -- see [Result limits](#result-limits). The hard cap is 100 for Reddit and 50 for YouTube. A stderr warning fires whenever a search actually hits the applied limit, whether that's the silent default or an explicit value you passed.
288
291
 
289
292
  **Can I page past Reddit's result cap?**
290
- Yes, for Reddit: `search()` reads the real `after`/`before` cursor out of Reddit's own response and exposes `--before`/`--after` flags to page in either direction. See the [praw#614 success story](#success-stories) for why this exists.
293
+ Yes, for Reddit, up to a point: `search()` reads the real `after`/`before` cursor out of Reddit's own response and exposes `--before`/`--after` flags to page in either direction through a search's result set. It does not get you past Reddit's own ~1,000-item search cap -- see the [praw#614 success story](#success-stories) for what that fix actually covers and doesn't.
291
294
 
292
295
  **Does auditreach support X (Twitter)?**
293
296
  Not yet. X API v2's pricing and post-volume caps have been prohibitive for small teams doing real research since the 2023 changes. See [Platform coverage](#platform-coverage) for the full reasoning.
@@ -330,10 +333,14 @@ auditreach's own source and used to close genuine gaps in this tool before it ha
330
333
  single outside user. Each line below is tied to the actual report that prompted it.
331
334
 
332
335
  - **[praw#614](https://github.com/praw-dev/praw/issues/614)** (@mananwason) -- asked how
333
- to read the before/after pagination cursor off Reddit's search response to page past
334
- its ~1,000-result cap; PRAW itself never solved this. `search()` now extracts the real
335
- cursor from Reddit's response and returns it as `SearchOutcome.nextCursor`, plus
336
- `--before`/`--after` flags to page in either direction.
336
+ to page past Reddit's ~1,000-result search cap. The real fix is narrower than that:
337
+ Reddit's own API returns no before/after cursor at all once you're past that cap,
338
+ cursor-based paging or not -- confirmed directly in the issue thread. What `search()`
339
+ actually does now is extract the real cursor from Reddit's response
340
+ (`SearchOutcome.nextCursor`) and expose `--before`/`--after` flags so you can page
341
+ through the results within a single search's capped result set, instead of only ever
342
+ seeing the first page. Going past the 1,000-item cap itself needs cloudsearch
343
+ timestamp-window re-querying, which isn't built yet.
337
344
  - **[praw#1939](https://github.com/praw-dev/praw/issues/1939)** (@Auditormadness9) -- hit
338
345
  an undiagnosed 400 error caused by a subreddit name that still carried a leading `r/`
339
346
  prefix. Search errors now name that specific cause when it's the likely culprit:
@@ -1 +1 @@
1
- {"version":3,"file":"reddit-client.d.ts","sourceRoot":"","sources":["../../src/clients/reddit-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAQxF,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,SAAS,MAAM,CAAC;AA0C7B;;;;GAIG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAoB;IAChD,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,cAAc,CAAK;gBAEf,WAAW,EAAE,iBAAiB;YAI5B,cAAc;IAoC5B;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAQ7B;;;;;;OAMG;IACG,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC;CAiFnE"}
1
+ {"version":3,"file":"reddit-client.d.ts","sourceRoot":"","sources":["../../src/clients/reddit-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAQxF,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,SAAS,MAAM,CAAC;AA0C7B;;;;GAIG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAoB;IAChD,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,cAAc,CAAK;gBAEf,WAAW,EAAE,iBAAiB;YAI5B,cAAc;IAoC5B;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAQ7B;;;;;;OAMG;IACG,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC;CAsFnE"}
@@ -91,9 +91,13 @@ export class RedditClient {
91
91
  }
92
92
  // Reddit's search listing endpoint accepts standard Listing pagination
93
93
  // cursors (before/after, Reddit "fullname" ids e.g. "t3_abc123"). These
94
- // let a caller page past the ~1000-result search cap by walking the
95
- // listing forward/backward from a known item instead of relying on
96
- // offset-based paging, which Reddit's search API does not support.
94
+ // walk forward/backward through a search's result set instead of relying
95
+ // on offset-based paging, which Reddit's search API does not support.
96
+ // They do NOT let a caller retrieve results beyond Reddit's ~1,000-item
97
+ // search cap -- past that point Reddit's API returns no before/after
98
+ // cursor at all, cursor-based paging or not (confirmed directly in the
99
+ // praw#614 thread this fix is based on). Getting past the 1,000-item cap
100
+ // requires cloudsearch timestamp-window re-querying, not implemented yet.
97
101
  if (options.before) {
98
102
  params.set("before", options.before);
99
103
  }
@@ -140,9 +144,10 @@ export class RedditClient {
140
144
  items,
141
145
  // Cursors read back from Reddit's own response (not an echo of the
142
146
  // request params above) -- feed `nextCursor.after` into the next
143
- // call's `--after`/`options.after` to walk forward through results
144
- // past the ~1000-result search cap, and `nextCursor.before` to walk
145
- // backward. This is the piece praw#614 was actually stuck on.
147
+ // call's `--after`/`options.after` to walk forward through the
148
+ // current search's result set, and `nextCursor.before` to walk
149
+ // backward. This does not extend past Reddit's ~1,000-item search
150
+ // cap -- see the note above search() for why.
146
151
  nextCursor: {
147
152
  after: listing.data.after ?? null,
148
153
  before: listing.data.before ?? null,
@@ -1 +1 @@
1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AE,2DAA2D;YACtE,YAAY,EACV,oFAAoF;YACtF,KAAK;YACL,mEAAmE;YACnE,iEAAiE;YACjE,+DAA+D;YAC/D,+DAA+D;YAC/D,kEAAkE;YAClE,8CAA8C;YAC9C,UAAU,EAAE;gBACV,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI;gBACjC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI;aACpC;SACF,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auditreach-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Official-API-only, BYOK CLI for researching Reddit and YouTube with your own API keys and a tamper-evident, hash-chained audit log -- built for AI agents and compliance teams that can't rely on cookie-based scraping or shared credential pools.",
5
5
  "type": "module",
6
6
  "bin": {