Directory-submission readiness: add MCP tool annotations (title + readOnlyHint/destructiveHint), /privacy policy route + README Privacy Policy section, bump to 2.3.2

This commit is contained in:
2026-09-08 12:57:08 +06:00
parent bc19b4e785
commit fd70ab6bf5
18 changed files with 528 additions and 324 deletions
+12 -4
View File
@@ -17,14 +17,22 @@ export interface CourierConfig {
redx: {
apiToken: string;
baseUrl: string;
pickupStoreId: string;
enabled: boolean;
};
paperfly: {
user: string;
pass: string;
key: string;
apiKey: string;
username: string;
password: string;
storeName: string;
baseUrl: string;
enabled: boolean;
};
}
export declare function loadConfig(): CourierConfig;
export type EnvSource = Record<string, string | undefined>;
/**
* Build a CourierConfig from a key/value source.
* Defaults to process.env (used by the STDIO/npx entrypoint); the HTTP
* entrypoint passes a per-request map built from that client's headers/query.
*/
export declare function loadConfig(src?: EnvSource): CourierConfig;