@indexnetwork/protocol 10.0.3-rc.443.1 → 10.0.3-rc.445.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.
@@ -45,7 +45,6 @@ export declare class NetworkGraphFactory {
45
45
  prompt?: string | null;
46
46
  imageUrl?: string | null;
47
47
  joinPolicy?: "anyone" | "invite_only";
48
- allowGuestVibeCheck?: boolean;
49
48
  } | undefined;
50
49
  showAll: boolean;
51
50
  readResult: {
@@ -110,13 +109,11 @@ export declare class NetworkGraphFactory {
110
109
  prompt?: string | null;
111
110
  imageUrl?: string | null;
112
111
  joinPolicy?: "anyone" | "invite_only";
113
- allowGuestVibeCheck?: boolean;
114
112
  } | import("@langchain/langgraph").OverwriteValue<{
115
113
  title?: string;
116
114
  prompt?: string | null;
117
115
  imageUrl?: string | null;
118
116
  joinPolicy?: "anyone" | "invite_only";
119
- allowGuestVibeCheck?: boolean;
120
117
  } | undefined> | undefined;
121
118
  showAll?: boolean | import("@langchain/langgraph").OverwriteValue<boolean> | undefined;
122
119
  readResult?: {
@@ -229,19 +226,16 @@ export declare class NetworkGraphFactory {
229
226
  prompt?: string | null;
230
227
  imageUrl?: string | null;
231
228
  joinPolicy?: "anyone" | "invite_only";
232
- allowGuestVibeCheck?: boolean;
233
229
  } | undefined, {
234
230
  title?: string;
235
231
  prompt?: string | null;
236
232
  imageUrl?: string | null;
237
233
  joinPolicy?: "anyone" | "invite_only";
238
- allowGuestVibeCheck?: boolean;
239
234
  } | import("@langchain/langgraph").OverwriteValue<{
240
235
  title?: string;
241
236
  prompt?: string | null;
242
237
  imageUrl?: string | null;
243
238
  joinPolicy?: "anyone" | "invite_only";
244
- allowGuestVibeCheck?: boolean;
245
239
  } | undefined> | undefined, unknown>;
246
240
  showAll: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
247
241
  readResult: import("@langchain/langgraph").BaseChannel<{
@@ -393,19 +387,16 @@ export declare class NetworkGraphFactory {
393
387
  prompt?: string | null;
394
388
  imageUrl?: string | null;
395
389
  joinPolicy?: "anyone" | "invite_only";
396
- allowGuestVibeCheck?: boolean;
397
390
  } | undefined, {
398
391
  title?: string;
399
392
  prompt?: string | null;
400
393
  imageUrl?: string | null;
401
394
  joinPolicy?: "anyone" | "invite_only";
402
- allowGuestVibeCheck?: boolean;
403
395
  } | import("@langchain/langgraph").OverwriteValue<{
404
396
  title?: string;
405
397
  prompt?: string | null;
406
398
  imageUrl?: string | null;
407
399
  joinPolicy?: "anyone" | "invite_only";
408
- allowGuestVibeCheck?: boolean;
409
400
  } | undefined> | undefined, unknown>;
410
401
  showAll: import("@langchain/langgraph").BaseChannel<boolean, boolean | import("@langchain/langgraph").OverwriteValue<boolean>, unknown>;
411
402
  readResult: import("@langchain/langgraph").BaseChannel<{
@@ -370,13 +370,12 @@ export function createNetworkTools(defineTool, deps) {
370
370
  prompt: z.string().nullable().optional(),
371
371
  imageUrl: z.string().url().nullable().optional(),
372
372
  joinPolicy: z.enum(['anyone', 'invite_only']).optional(),
373
- allowGuestVibeCheck: z.boolean().optional(),
374
373
  }).strict();
375
374
  const updateNetwork = defineTool({
376
375
  name: "update_network",
377
376
  description: "Updates settings of an existing network (community). Only the network owner can perform updates.\n\n" +
378
377
  "**Updatable fields:** title (display name), prompt (purpose description used for intent auto-assignment), " +
379
- "imageUrl (community avatar), joinPolicy ('anyone' for open or 'invite_only'), allowGuestVibeCheck (allow non-members to preview).\n\n" +
378
+ "imageUrl (community avatar), joinPolicy ('anyone' for open or 'invite_only').\n\n" +
380
379
  "**When to use:** When a network owner wants to change their community's settings — e.g. update the purpose description, " +
381
380
  "change from invite-only to open, or update the community image.\n\n" +
382
381
  "**Important:** Changing the prompt affects how future intents are evaluated for auto-assignment to this network. " +
@@ -384,7 +383,7 @@ export function createNetworkTools(defineTool, deps) {
384
383
  "**Returns:** Confirmation with the list of settings that were updated.",
385
384
  querySchema: z.object({
386
385
  networkId: z.string().optional().describe("Network UUID to update. Get from read_networks. Defaults to the scoped network in network-scoped chats."),
387
- settings: updateNetworkSettingsSchema.describe("Object with fields to update. All fields are optional — only include the ones to change. title: display name. prompt: purpose description (used for intent auto-assignment). imageUrl: community image URL (null to remove). joinPolicy: 'anyone' or 'invite_only'. allowGuestVibeCheck: boolean."),
386
+ settings: updateNetworkSettingsSchema.describe("Object with fields to update. All fields are optional — only include the ones to change. title: display name. prompt: purpose description (used for intent auto-assignment). imageUrl: community image URL (null to remove). joinPolicy: 'anyone' or 'invite_only'."),
388
387
  }),
389
388
  handler: async ({ context, query }) => {
390
389
  const boundNetworkId = boundCommunityId(context);
@@ -47,19 +47,16 @@ export declare const NetworkGraphState: import("@langchain/langgraph").Annotatio
47
47
  prompt?: string | null;
48
48
  imageUrl?: string | null;
49
49
  joinPolicy?: "anyone" | "invite_only";
50
- allowGuestVibeCheck?: boolean;
51
50
  } | undefined, {
52
51
  title?: string;
53
52
  prompt?: string | null;
54
53
  imageUrl?: string | null;
55
54
  joinPolicy?: "anyone" | "invite_only";
56
- allowGuestVibeCheck?: boolean;
57
55
  } | import("@langchain/langgraph").OverwriteValue<{
58
56
  title?: string;
59
57
  prompt?: string | null;
60
58
  imageUrl?: string | null;
61
59
  joinPolicy?: "anyone" | "invite_only";
62
- allowGuestVibeCheck?: boolean;
63
60
  } | undefined> | undefined, unknown>;
64
61
  /**
65
62
  * When true and network-scoped, read returns all user networks (not just scoped one).
@@ -23,11 +23,13 @@ const systemPrompt = `
23
23
  When given raw data only: Infer name, bio, location, narrative.context, and extract skills and interests.
24
24
 
25
25
  PRIVACY: identity.bio and narrative.context are public-facing. Never include email addresses, phone numbers, physical addresses, government IDs, or other contact identifiers — even if they appear in the raw data. Describe the person professionally; do not embed ways to contact them.
26
+
27
+ BIO STYLE: identity.bio must never contain the person's name or any pronouns (he, she, they). Write role-led, subjectless sentences that start with the role or a verb, e.g. "Software engineer based in Berlin focused on developer tooling. Previously built payments infrastructure at a fintech startup. Enjoys mentoring early-career engineers."
26
28
  `;
27
29
  const responseFormat = z.object({
28
30
  identity: z.object({
29
31
  name: z.string().describe("The user's full name"),
30
- bio: z.string().describe("Professional summary (2-3 sentences) only; no email, phone, physical address, government ID, or other contact identifiers"),
32
+ bio: z.string().describe("Professional summary (2-3 sentences), role-led and subjectless (e.g. 'Software engineer based in Berlin focused on...'); never the person's name or pronouns; no email, phone, physical address, government ID, or other contact identifiers"),
31
33
  location: z.string().describe("Inferred location (City, Country) or 'Remote'"),
32
34
  }),
33
35
  narrative: z.object({
@@ -350,7 +350,6 @@ export interface OwnedIndex {
350
350
  /** Permission settings */
351
351
  permissions: {
352
352
  joinPolicy: 'anyone' | 'invite_only';
353
- allowGuestVibeCheck: boolean;
354
353
  invitationLink: {
355
354
  code: string;
356
355
  } | null;
@@ -432,8 +431,6 @@ export interface UpdateIndexSettingsData {
432
431
  imageUrl?: string | null;
433
432
  /** New join policy (optional) */
434
433
  joinPolicy?: 'anyone' | 'invite_only';
435
- /** Allow guest vibe check (optional) */
436
- allowGuestVibeCheck?: boolean;
437
434
  }
438
435
  export type HydeSourceType = 'intent' | 'query' | 'context';
439
436
  export interface HydeDocument {
@@ -1054,7 +1051,6 @@ export interface Database {
1054
1051
  invitationLink: {
1055
1052
  code: string;
1056
1053
  } | null;
1057
- allowGuestVibeCheck: boolean;
1058
1054
  };
1059
1055
  }>;
1060
1056
  /**
@@ -1711,7 +1707,6 @@ export interface UserDatabase {
1711
1707
  invitationLink: {
1712
1708
  code: string;
1713
1709
  } | null;
1714
- allowGuestVibeCheck: boolean;
1715
1710
  };
1716
1711
  }>;
1717
1712
  /** Update index settings (owner only). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "10.0.3-rc.443.1",
3
+ "version": "10.0.3-rc.445.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",