@maycombhq/sdk 2.0.0-beta.21 → 2.0.0-beta.23

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.
@@ -0,0 +1,14 @@
1
+ import type { RepoHandle } from "./plugin.js";
2
+ /**
3
+ * How a repo handle's files were listed (review round 49): the folders a walk leaves out, the
4
+ * size a file may be, the exclusions a scan's settings add. The same commit listed another way
5
+ * gives an extractor other files, so `scanRepo` folds this into each stored result's key. Kept
6
+ * on the handle under a registered symbol, not in the RepoHandle contract (C4): a wrapper that
7
+ * narrows the listing (the scanner's `withExcludes`) extends it with `Symbol.for` of the same
8
+ * name, and a handle that says nothing is keyed as before.
9
+ */
10
+ export declare const LISTING: unique symbol;
11
+ /** The listing a handle says it has, or "" when it says none. */
12
+ export declare function listingOf(repo: RepoHandle): string;
13
+ /** Says how a handle lists its files. */
14
+ export declare function setListing(repo: RepoHandle, listing: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maycombhq/sdk",
3
- "version": "2.0.0-beta.21",
3
+ "version": "2.0.0-beta.23",
4
4
  "description": "Atticus plugin SDK (contract C4): interfaces for extractors, dialects, ingestors and adapters.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",