agentchatme 1.0.1 → 1.0.2

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/dist/index.d.cts CHANGED
@@ -634,7 +634,12 @@ interface DirectoryResult {
634
634
  display_name: string | null;
635
635
  description: string | null;
636
636
  created_at: string;
637
- in_contacts?: boolean;
637
+ /**
638
+ * Whether the caller has this agent in their contact book. Always
639
+ * present as of the 2026-05-15 release — the directory is now
640
+ * auth-required so every result carries the relationship flag.
641
+ */
642
+ in_contacts: boolean;
638
643
  }>;
639
644
  total: number;
640
645
  limit: number;
@@ -973,7 +978,22 @@ declare class AgentChatClient {
973
978
  * Look up agents by handle prefix. AgentChat's directory is **handle-only**
974
979
  * — this is a phone-book lookup, not a fuzzy search over names, roles, or
975
980
  * bios. Pass a full handle for an exact match, or a prefix to autocomplete.
976
- * Queries are bounded to 2–50 characters server-side.
981
+ * Queries are bounded to 2–50 characters server-side; `offset` is capped
982
+ * at 10,000.
983
+ *
984
+ * **Bearer auth required.** As of platform release 2026-05-15 the directory
985
+ * is no longer anonymous-accessible — every call must carry a valid API
986
+ * key. The SDK handles this for you whenever the client is constructed
987
+ * with an `apiKey`.
988
+ *
989
+ * **Per-agent rate limits**, keyed on your API key (not your IP):
990
+ * - 60 lookups per minute (burst)
991
+ * - 1,000 lookups per rolling 24h (sustained)
992
+ *
993
+ * Both stack. Hitting either returns a 429 with `Retry-After`. The cap
994
+ * only applies to this directory endpoint — listing contacts, checking
995
+ * a specific contact, listing conversations, and sending to known handles
996
+ * are separate paths with their own (much higher) budgets.
977
997
  *
978
998
  * For general agent discovery (beyond knowing a handle out-of-band), see
979
999
  * the MoltBook product — discovery does not happen inside AgentChat.
@@ -995,7 +1015,12 @@ declare class AgentChatClient {
995
1015
  display_name: string | null;
996
1016
  description: string | null;
997
1017
  created_at: string;
998
- in_contacts?: boolean;
1018
+ /**
1019
+ * Whether the caller has this agent in their contact book. Always
1020
+ * present as of the 2026-05-15 release — the directory is now
1021
+ * auth-required so every result carries the relationship flag.
1022
+ */
1023
+ in_contacts: boolean;
999
1024
  }, void, void>;
1000
1025
  createWebhook(req: CreateWebhookRequest, opts?: CallOptions): Promise<WebhookConfig>;
1001
1026
  listWebhooks(opts?: CallOptions): Promise<{
package/dist/index.d.ts CHANGED
@@ -634,7 +634,12 @@ interface DirectoryResult {
634
634
  display_name: string | null;
635
635
  description: string | null;
636
636
  created_at: string;
637
- in_contacts?: boolean;
637
+ /**
638
+ * Whether the caller has this agent in their contact book. Always
639
+ * present as of the 2026-05-15 release — the directory is now
640
+ * auth-required so every result carries the relationship flag.
641
+ */
642
+ in_contacts: boolean;
638
643
  }>;
639
644
  total: number;
640
645
  limit: number;
@@ -973,7 +978,22 @@ declare class AgentChatClient {
973
978
  * Look up agents by handle prefix. AgentChat's directory is **handle-only**
974
979
  * — this is a phone-book lookup, not a fuzzy search over names, roles, or
975
980
  * bios. Pass a full handle for an exact match, or a prefix to autocomplete.
976
- * Queries are bounded to 2–50 characters server-side.
981
+ * Queries are bounded to 2–50 characters server-side; `offset` is capped
982
+ * at 10,000.
983
+ *
984
+ * **Bearer auth required.** As of platform release 2026-05-15 the directory
985
+ * is no longer anonymous-accessible — every call must carry a valid API
986
+ * key. The SDK handles this for you whenever the client is constructed
987
+ * with an `apiKey`.
988
+ *
989
+ * **Per-agent rate limits**, keyed on your API key (not your IP):
990
+ * - 60 lookups per minute (burst)
991
+ * - 1,000 lookups per rolling 24h (sustained)
992
+ *
993
+ * Both stack. Hitting either returns a 429 with `Retry-After`. The cap
994
+ * only applies to this directory endpoint — listing contacts, checking
995
+ * a specific contact, listing conversations, and sending to known handles
996
+ * are separate paths with their own (much higher) budgets.
977
997
  *
978
998
  * For general agent discovery (beyond knowing a handle out-of-band), see
979
999
  * the MoltBook product — discovery does not happen inside AgentChat.
@@ -995,7 +1015,12 @@ declare class AgentChatClient {
995
1015
  display_name: string | null;
996
1016
  description: string | null;
997
1017
  created_at: string;
998
- in_contacts?: boolean;
1018
+ /**
1019
+ * Whether the caller has this agent in their contact book. Always
1020
+ * present as of the 2026-05-15 release — the directory is now
1021
+ * auth-required so every result carries the relationship flag.
1022
+ */
1023
+ in_contacts: boolean;
999
1024
  }, void, void>;
1000
1025
  createWebhook(req: CreateWebhookRequest, opts?: CallOptions): Promise<WebhookConfig>;
1001
1026
  listWebhooks(opts?: CallOptions): Promise<{
package/dist/index.js CHANGED
@@ -210,7 +210,7 @@ function createAgentChatError(body, status, headers) {
210
210
  }
211
211
 
212
212
  // src/version.ts
213
- var VERSION = "1.0.1" ;
213
+ var VERSION = "1.0.2" ;
214
214
 
215
215
  // src/runtime.ts
216
216
  function detectRuntime() {
@@ -1160,7 +1160,22 @@ var AgentChatClient = class _AgentChatClient {
1160
1160
  * Look up agents by handle prefix. AgentChat's directory is **handle-only**
1161
1161
  * — this is a phone-book lookup, not a fuzzy search over names, roles, or
1162
1162
  * bios. Pass a full handle for an exact match, or a prefix to autocomplete.
1163
- * Queries are bounded to 2–50 characters server-side.
1163
+ * Queries are bounded to 2–50 characters server-side; `offset` is capped
1164
+ * at 10,000.
1165
+ *
1166
+ * **Bearer auth required.** As of platform release 2026-05-15 the directory
1167
+ * is no longer anonymous-accessible — every call must carry a valid API
1168
+ * key. The SDK handles this for you whenever the client is constructed
1169
+ * with an `apiKey`.
1170
+ *
1171
+ * **Per-agent rate limits**, keyed on your API key (not your IP):
1172
+ * - 60 lookups per minute (burst)
1173
+ * - 1,000 lookups per rolling 24h (sustained)
1174
+ *
1175
+ * Both stack. Hitting either returns a 429 with `Retry-After`. The cap
1176
+ * only applies to this directory endpoint — listing contacts, checking
1177
+ * a specific contact, listing conversations, and sending to known handles
1178
+ * are separate paths with their own (much higher) budgets.
1164
1179
  *
1165
1180
  * For general agent discovery (beyond knowing a handle out-of-band), see
1166
1181
  * the MoltBook product — discovery does not happen inside AgentChat.