@truealter/sdk 0.2.0 → 0.2.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
@@ -386,7 +386,7 @@ declare class X402Client {
386
386
  */
387
387
  declare function parsePaymentHeader(header: string): PaymentEnvelope | null;
388
388
 
389
- declare const MCP_PROTOCOL_VERSION = "2025-03-26";
389
+ declare const MCP_PROTOCOL_VERSION = "2025-11-25";
390
390
  interface MCPClientInfo {
391
391
  name: string;
392
392
  version: string;
@@ -600,7 +600,7 @@ interface GetEngagementLevelOutput {
600
600
  consent_gated: string[];
601
601
  };
602
602
  }
603
- /** (free) get_profile — Get a candidate's profile summary */
603
+ /** (free) get_profile — Get a person's profile summary */
604
604
  interface GetProfileInput {
605
605
  candidate_id: string;
606
606
  }
@@ -613,7 +613,7 @@ interface GetProfileOutput {
613
613
  engagement_level?: EngagementLevel;
614
614
  attributes?: Record<string, unknown>;
615
615
  }
616
- /** (free) query_matches — Query matches for a candidate (tier labels only) */
616
+ /** (free) query_matches — Query matches for a person (tier labels only) */
617
617
  interface QueryMatchesInput {
618
618
  candidate_id: string;
619
619
  quality_filter?: MatchTier;
@@ -630,7 +630,7 @@ interface QueryMatchesOutput {
630
630
  }>;
631
631
  count: number;
632
632
  }
633
- /** (free) get_competencies — Get a candidate's competency portfolio */
633
+ /** (free) get_competencies — Get a person's competency portfolio */
634
634
  interface GetCompetenciesInput {
635
635
  candidate_id: string;
636
636
  }
@@ -690,7 +690,7 @@ interface SearchIdentitiesOutput {
690
690
  }>;
691
691
  count: number;
692
692
  }
693
- /** (free) get_identity_earnings — Get accrued Identity Income earnings for a candidate */
693
+ /** (free) get_identity_earnings — Get accrued Identity Income earnings for a person */
694
694
  interface GetIdentityEarningsInput {
695
695
  candidate_id: string;
696
696
  }
@@ -747,7 +747,7 @@ interface CheckAssessmentStatusOutput {
747
747
  current_phase?: string;
748
748
  time_remaining_sec?: number;
749
749
  }
750
- /** (free) get_earning_summary — Get an aggregated x402 earning summary for a candidate */
750
+ /** (free) get_earning_summary — Get an aggregated x402 earning summary for a person */
751
751
  interface GetEarningSummaryInput {
752
752
  candidate_id: string;
753
753
  }
@@ -787,7 +787,7 @@ interface GetAgentPortfolioOutput {
787
787
  query_pattern: Record<string, number>;
788
788
  total_spent_usd: number;
789
789
  }
790
- /** (free) get_privacy_budget — Check privacy budget status for a candidate (24h rolling window) */
790
+ /** (free) get_privacy_budget — Check privacy budget status for a person (24h rolling window) */
791
791
  interface GetPrivacyBudgetInput {
792
792
  candidate_id: string;
793
793
  }
@@ -800,7 +800,7 @@ interface GetPrivacyBudgetOutput {
800
800
  query_count: number;
801
801
  window_hours: number;
802
802
  }
803
- /** (free) dispute_attestation — Dispute an attestation on a candidate's identity */
803
+ /** (free) dispute_attestation — Dispute an attestation on a person's identity */
804
804
  interface DisputeAttestationInput {
805
805
  attestation_id: string;
806
806
  reason: string;
@@ -886,45 +886,6 @@ interface ThreadCensusOutput {
886
886
  offset: number;
887
887
  limit: number;
888
888
  }
889
- /** (free) seat_status — Return the current Thirteen Seats census */
890
- interface SeatStatusInput {
891
- }
892
- /** (free) seat_status — output */
893
- interface SeatStatusOutput {
894
- ok: boolean;
895
- seats: Array<{
896
- name: string;
897
- status: "awaiting" | "bound" | "witnessing" | "silent";
898
- holder_handle?: string;
899
- archetype_description: string;
900
- }>;
901
- }
902
- /** (free) respond_to_offering — Accept or refuse a Recognition Event during the seven-day window */
903
- interface RespondToOfferingInput {
904
- offering_id: string;
905
- response: "accept" | "refuse";
906
- decline_reason?: string;
907
- }
908
- /** (free) respond_to_offering — output */
909
- interface RespondToOfferingOutput {
910
- ok: boolean;
911
- offering_id: string;
912
- response: "accept" | "refuse";
913
- ceremony_url?: string;
914
- }
915
- /** (free) subscribe_announcements — Return the Hall of Echoes SSE URL plus recent broadcasts */
916
- interface SubscribeAnnouncementsInput {
917
- backlog?: number;
918
- }
919
- /** (free) subscribe_announcements — output */
920
- interface SubscribeAnnouncementsOutput {
921
- ok: boolean;
922
- sse_url: string;
923
- broadcasts: Array<{
924
- timestamp: string;
925
- text: string;
926
- }>;
927
- }
928
889
  /** (premium L1) assess_traits — Extract trait signals from a text passage ($0.005) */
929
890
  interface AssessTraitsInput {
930
891
  text: string;
@@ -941,7 +902,7 @@ interface AssessTraitsOutput {
941
902
  evidence: string;
942
903
  }>;
943
904
  }
944
- /** (premium L1) get_trait_snapshot — Get the top 5 traits for a candidate ($0.005) */
905
+ /** (premium L1) get_trait_snapshot — Get the top 5 traits for a person ($0.005) */
945
906
  interface GetTraitSnapshotInput {
946
907
  candidate_id: string;
947
908
  _payment?: ProvenanceToken;
@@ -973,7 +934,7 @@ interface GetFullTraitVectorOutput {
973
934
  confidence_interval: [number, number];
974
935
  }>;
975
936
  }
976
- /** (premium L4) compute_belonging — Compute belonging probability for a candidate-job pairing ($0.05) */
937
+ /** (premium L4) compute_belonging — Compute belonging probability for a person-job pairing ($0.05) */
977
938
  interface ComputeBelongingInput {
978
939
  candidate_id: string;
979
940
  job_id: string;
@@ -990,7 +951,7 @@ interface ComputeBelongingOutput {
990
951
  complementarity: number;
991
952
  };
992
953
  }
993
- /** (premium L5) get_match_recommendations — Get top N match recommendations for a candidate ($0.50) */
954
+ /** (premium L5) get_match_recommendations — Get top N match recommendations for a person ($0.50) */
994
955
  interface GetMatchRecommendationsInput {
995
956
  candidate_id: string;
996
957
  limit?: number;
@@ -1088,7 +1049,7 @@ interface AttestDomainOutput {
1088
1049
  domain_label: string;
1089
1050
  weighted_confidence: number;
1090
1051
  }
1091
- /** (premium L2) get_side_quest_graph — Get a candidate's Side Quest Graph (DP noise ε=1.0) ($0.01) */
1052
+ /** (premium L2) get_side_quest_graph — Get a person's Side Quest Graph (DP noise ε=1.0) ($0.01) */
1092
1053
  interface GetSideQuestGraphInput {
1093
1054
  candidate_id: string;
1094
1055
  include_edges?: boolean;
@@ -1128,7 +1089,7 @@ interface QueryGraphSimilarityOutput {
1128
1089
  privacy_epsilon: number;
1129
1090
  }
1130
1091
  /** Free (L0 / L1 with first-100-free) tool names — readonly tuple */
1131
- declare const FREE_TOOL_NAMES: readonly ["list_archetypes", "verify_identity", "initiate_assessment", "get_engagement_level", "get_profile", "query_matches", "get_competencies", "create_identity_stub", "submit_context", "search_identities", "get_identity_earnings", "get_network_stats", "recommend_tool", "get_identity_trust_score", "check_assessment_status", "get_earning_summary", "get_agent_trust_tier", "get_agent_portfolio", "get_privacy_budget", "dispute_attestation", "golden_thread_status", "begin_golden_thread", "complete_knot", "check_golden_thread", "thread_census", "seat_status", "respond_to_offering", "subscribe_announcements"];
1092
+ declare const FREE_TOOL_NAMES: readonly ["list_archetypes", "verify_identity", "initiate_assessment", "get_engagement_level", "get_profile", "query_matches", "get_competencies", "create_identity_stub", "submit_context", "search_identities", "get_identity_earnings", "get_network_stats", "recommend_tool", "get_identity_trust_score", "check_assessment_status", "get_earning_summary", "get_agent_trust_tier", "get_agent_portfolio", "get_privacy_budget", "dispute_attestation", "golden_thread_status", "begin_golden_thread", "complete_knot", "check_golden_thread", "thread_census"];
1132
1093
  /** Premium (x402-gated) tool names — readonly tuple */
1133
1094
  declare const PREMIUM_TOOL_NAMES: readonly ["assess_traits", "get_trait_snapshot", "get_full_trait_vector", "compute_belonging", "get_match_recommendations", "generate_match_narrative", "submit_batch_context", "submit_structured_profile", "submit_social_links", "attest_domain", "get_side_quest_graph", "query_graph_similarity"];
1134
1095
  /** Union of all 40 tool names */
@@ -1159,9 +1120,6 @@ interface ToolInputs {
1159
1120
  complete_knot: CompleteKnotInput;
1160
1121
  check_golden_thread: CheckGoldenThreadInput;
1161
1122
  thread_census: ThreadCensusInput;
1162
- seat_status: SeatStatusInput;
1163
- respond_to_offering: RespondToOfferingInput;
1164
- subscribe_announcements: SubscribeAnnouncementsInput;
1165
1123
  assess_traits: AssessTraitsInput;
1166
1124
  get_trait_snapshot: GetTraitSnapshotInput;
1167
1125
  get_full_trait_vector: GetFullTraitVectorInput;
@@ -1201,9 +1159,6 @@ interface ToolOutputs {
1201
1159
  complete_knot: CompleteKnotOutput;
1202
1160
  check_golden_thread: CheckGoldenThreadOutput;
1203
1161
  thread_census: ThreadCensusOutput;
1204
- seat_status: SeatStatusOutput;
1205
- respond_to_offering: RespondToOfferingOutput;
1206
- subscribe_announcements: SubscribeAnnouncementsOutput;
1207
1162
  assess_traits: AssessTraitsOutput;
1208
1163
  get_trait_snapshot: GetTraitSnapshotOutput;
1209
1164
  get_full_trait_vector: GetFullTraitVectorOutput;
@@ -1304,7 +1259,7 @@ declare class AlterClient {
1304
1259
  * you want fail-fast behaviour.
1305
1260
  */
1306
1261
  initialize(): Promise<void>;
1307
- /** Verify a person is registered with ALTER (handle or candidate id). */
1262
+ /** Verify a person is registered with ALTER (handle or id). */
1308
1263
  verify(handleOrId: string, claims?: VerifyIdentityInput['claims']): Promise<MCPCallToolResult>;
1309
1264
  /** List the 12 ALTER identity archetypes. */
1310
1265
  listArchetypes(): Promise<MCPCallToolResult>;
@@ -1333,9 +1288,6 @@ declare class AlterClient {
1333
1288
  completeKnot(args: CompleteKnotInput): Promise<MCPCallToolResult>;
1334
1289
  checkGoldenThread(args: CheckGoldenThreadInput): Promise<MCPCallToolResult>;
1335
1290
  threadCensus(args?: ThreadCensusInput): Promise<MCPCallToolResult>;
1336
- seatStatus(): Promise<MCPCallToolResult>;
1337
- respondToOffering(args: RespondToOfferingInput): Promise<MCPCallToolResult>;
1338
- subscribeAnnouncements(args?: SubscribeAnnouncementsInput): Promise<MCPCallToolResult>;
1339
1291
  assessTraits(args: AssessTraitsInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
1340
1292
  getTraitSnapshot(args: GetTraitSnapshotInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
1341
1293
  getFullTraitVector(args: GetFullTraitVectorInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
@@ -1467,4 +1419,4 @@ declare function generateCursorConfig(opts?: GenerateMcpConfigOptions): GenericM
1467
1419
  declare const SDK_NAME = "@truealter/sdk";
1468
1420
  declare const SDK_VERSION = "0.1.1";
1469
1421
 
1470
- export { AlterAuthError, AlterClient, type AlterClientOptions, AlterDiscoveryError, AlterError, type AlterErrorCode, AlterInvalidResponse, AlterNetworkError, AlterPaymentRequired, AlterProvenanceError, AlterRateLimited, AlterTimeoutError, AlterToolError, type ApiKeyConfig, type Archetype, type AssessTraitsInput, type AssessTraitsOutput, type AttestDomainInput, type AttestDomainOutput, type BeginGoldenThreadInput, type BeginGoldenThreadOutput, type CheckAssessmentStatusInput, type CheckAssessmentStatusOutput, type CheckGoldenThreadInput, type CheckGoldenThreadOutput, type CompleteKnotInput, type CompleteKnotOutput, type ComputeBelongingInput, type ComputeBelongingOutput, type CreateIdentityStubInput, type CreateIdentityStubOutput, DEFAULT_DOMAIN, DEFAULT_ENDPOINT, DEFAULT_VERIFY_AT_ALLOWLIST, type DiscoveryOptions, type DiscoveryResult, type DisputeAttestationInput, type DisputeAttestationOutput, type Ed25519Keypair, type EngagementLevel, FREE_TOOL_NAMES, type GenerateMatchNarrativeInput, type GenerateMatchNarrativeOutput, type GetAgentPortfolioInput, type GetAgentPortfolioOutput, type GetAgentTrustTierInput, type GetAgentTrustTierOutput, type GetCompetenciesInput, type GetCompetenciesOutput, type GetEarningSummaryInput, type GetEarningSummaryOutput, type GetEngagementLevelInput, type GetEngagementLevelOutput, type GetFullTraitVectorInput, type GetFullTraitVectorOutput, type GetIdentityEarningsInput, type GetIdentityEarningsOutput, type GetIdentityTrustScoreInput, type GetIdentityTrustScoreOutput, type GetMatchRecommendationsInput, type GetMatchRecommendationsOutput, type GetNetworkStatsInput, type GetNetworkStatsOutput, type GetPrivacyBudgetInput, type GetPrivacyBudgetOutput, type GetProfileInput, type GetProfileOutput, type GetSideQuestGraphInput, type GetSideQuestGraphOutput, type GetTraitSnapshotInput, type GetTraitSnapshotOutput, type GoldenThreadStatusInput, type GoldenThreadStatusOutput, type InitiateAssessmentInput, type InitiateAssessmentOutput, type JsonWebKey, type JwksDocument, type ListArchetypesInput, type ListArchetypesOutput, type MCPCallOptions, type MCPCallToolResult, MCPClient, type MCPClientInfo, type MCPClientOptions, type MCPContentBlock, type MCPListToolsResult, type MCPMeta, type MCPResponse, type MCPToolDefinition, MCP_PROTOCOL_VERSION, type MatchTier, type McpServerConfig, PREMIUM_TOOL_NAMES, type PaymentEnvelope, type ProvenanceEnvelope, type ProvenancePayload, type ProvenanceToken, type ProvenanceVerification, type QueryGraphSimilarityInput, type QueryGraphSimilarityOutput, type QueryMatchesInput, type QueryMatchesOutput, type RecommendToolInput, type RecommendToolOutput, type RespondToOfferingInput, type RespondToOfferingOutput, SDK_NAME, SDK_VERSION, type SearchIdentitiesInput, type SearchIdentitiesOutput, type SeatStatusInput, type SeatStatusOutput, type SignedToolDefinition, type SubmitBatchContextInput, type SubmitBatchContextOutput, type SubmitContextInput, type SubmitContextOutput, type SubmitSocialLinksInput, type SubmitSocialLinksOutput, type SubmitStructuredProfileInput, type SubmitStructuredProfileOutput, type SubscribeAnnouncementsInput, type SubscribeAnnouncementsOutput, TOOL_BLAST_RADIUS, TOOL_COSTS, TOOL_TIERS, type ThreadCensusInput, type ThreadCensusOutput, type ToolInputs, type ToolName, type ToolOutputs, type ToolSignatureMap, type VerifyIdentityInput, type VerifyIdentityOutput, type VerifyProvenanceOptions, X402Client, type X402ClientOptions, type X402Settlement, type X402Signer, base64urlDecode, base64urlEncode, clearDiscoveryCache, decodeDid, discover, encodeDid, fetchPublicKeys, generateClaudeConfig, generateCursorConfig, generateGenericMcpConfig, generateKeypair, keypairFromPrivateKey, parsePaymentHeader, resolveVerifyAt, sign, verify, verifyProvenance, verifyToolSignatures };
1422
+ export { AlterAuthError, AlterClient, type AlterClientOptions, AlterDiscoveryError, AlterError, type AlterErrorCode, AlterInvalidResponse, AlterNetworkError, AlterPaymentRequired, AlterProvenanceError, AlterRateLimited, AlterTimeoutError, AlterToolError, type ApiKeyConfig, type Archetype, type AssessTraitsInput, type AssessTraitsOutput, type AttestDomainInput, type AttestDomainOutput, type BeginGoldenThreadInput, type BeginGoldenThreadOutput, type CheckAssessmentStatusInput, type CheckAssessmentStatusOutput, type CheckGoldenThreadInput, type CheckGoldenThreadOutput, type CompleteKnotInput, type CompleteKnotOutput, type ComputeBelongingInput, type ComputeBelongingOutput, type CreateIdentityStubInput, type CreateIdentityStubOutput, DEFAULT_DOMAIN, DEFAULT_ENDPOINT, DEFAULT_VERIFY_AT_ALLOWLIST, type DiscoveryOptions, type DiscoveryResult, type DisputeAttestationInput, type DisputeAttestationOutput, type Ed25519Keypair, type EngagementLevel, FREE_TOOL_NAMES, type GenerateMatchNarrativeInput, type GenerateMatchNarrativeOutput, type GetAgentPortfolioInput, type GetAgentPortfolioOutput, type GetAgentTrustTierInput, type GetAgentTrustTierOutput, type GetCompetenciesInput, type GetCompetenciesOutput, type GetEarningSummaryInput, type GetEarningSummaryOutput, type GetEngagementLevelInput, type GetEngagementLevelOutput, type GetFullTraitVectorInput, type GetFullTraitVectorOutput, type GetIdentityEarningsInput, type GetIdentityEarningsOutput, type GetIdentityTrustScoreInput, type GetIdentityTrustScoreOutput, type GetMatchRecommendationsInput, type GetMatchRecommendationsOutput, type GetNetworkStatsInput, type GetNetworkStatsOutput, type GetPrivacyBudgetInput, type GetPrivacyBudgetOutput, type GetProfileInput, type GetProfileOutput, type GetSideQuestGraphInput, type GetSideQuestGraphOutput, type GetTraitSnapshotInput, type GetTraitSnapshotOutput, type GoldenThreadStatusInput, type GoldenThreadStatusOutput, type InitiateAssessmentInput, type InitiateAssessmentOutput, type JsonWebKey, type JwksDocument, type ListArchetypesInput, type ListArchetypesOutput, type MCPCallOptions, type MCPCallToolResult, MCPClient, type MCPClientInfo, type MCPClientOptions, type MCPContentBlock, type MCPListToolsResult, type MCPMeta, type MCPResponse, type MCPToolDefinition, MCP_PROTOCOL_VERSION, type MatchTier, type McpServerConfig, PREMIUM_TOOL_NAMES, type PaymentEnvelope, type ProvenanceEnvelope, type ProvenancePayload, type ProvenanceToken, type ProvenanceVerification, type QueryGraphSimilarityInput, type QueryGraphSimilarityOutput, type QueryMatchesInput, type QueryMatchesOutput, type RecommendToolInput, type RecommendToolOutput, SDK_NAME, SDK_VERSION, type SearchIdentitiesInput, type SearchIdentitiesOutput, type SignedToolDefinition, type SubmitBatchContextInput, type SubmitBatchContextOutput, type SubmitContextInput, type SubmitContextOutput, type SubmitSocialLinksInput, type SubmitSocialLinksOutput, type SubmitStructuredProfileInput, type SubmitStructuredProfileOutput, TOOL_BLAST_RADIUS, TOOL_COSTS, TOOL_TIERS, type ThreadCensusInput, type ThreadCensusOutput, type ToolInputs, type ToolName, type ToolOutputs, type ToolSignatureMap, type VerifyIdentityInput, type VerifyIdentityOutput, type VerifyProvenanceOptions, X402Client, type X402ClientOptions, type X402Settlement, type X402Signer, base64urlDecode, base64urlEncode, clearDiscoveryCache, decodeDid, discover, encodeDid, fetchPublicKeys, generateClaudeConfig, generateCursorConfig, generateGenericMcpConfig, generateKeypair, keypairFromPrivateKey, parsePaymentHeader, resolveVerifyAt, sign, verify, verifyProvenance, verifyToolSignatures };
package/dist/index.d.ts CHANGED
@@ -386,7 +386,7 @@ declare class X402Client {
386
386
  */
387
387
  declare function parsePaymentHeader(header: string): PaymentEnvelope | null;
388
388
 
389
- declare const MCP_PROTOCOL_VERSION = "2025-03-26";
389
+ declare const MCP_PROTOCOL_VERSION = "2025-11-25";
390
390
  interface MCPClientInfo {
391
391
  name: string;
392
392
  version: string;
@@ -600,7 +600,7 @@ interface GetEngagementLevelOutput {
600
600
  consent_gated: string[];
601
601
  };
602
602
  }
603
- /** (free) get_profile — Get a candidate's profile summary */
603
+ /** (free) get_profile — Get a person's profile summary */
604
604
  interface GetProfileInput {
605
605
  candidate_id: string;
606
606
  }
@@ -613,7 +613,7 @@ interface GetProfileOutput {
613
613
  engagement_level?: EngagementLevel;
614
614
  attributes?: Record<string, unknown>;
615
615
  }
616
- /** (free) query_matches — Query matches for a candidate (tier labels only) */
616
+ /** (free) query_matches — Query matches for a person (tier labels only) */
617
617
  interface QueryMatchesInput {
618
618
  candidate_id: string;
619
619
  quality_filter?: MatchTier;
@@ -630,7 +630,7 @@ interface QueryMatchesOutput {
630
630
  }>;
631
631
  count: number;
632
632
  }
633
- /** (free) get_competencies — Get a candidate's competency portfolio */
633
+ /** (free) get_competencies — Get a person's competency portfolio */
634
634
  interface GetCompetenciesInput {
635
635
  candidate_id: string;
636
636
  }
@@ -690,7 +690,7 @@ interface SearchIdentitiesOutput {
690
690
  }>;
691
691
  count: number;
692
692
  }
693
- /** (free) get_identity_earnings — Get accrued Identity Income earnings for a candidate */
693
+ /** (free) get_identity_earnings — Get accrued Identity Income earnings for a person */
694
694
  interface GetIdentityEarningsInput {
695
695
  candidate_id: string;
696
696
  }
@@ -747,7 +747,7 @@ interface CheckAssessmentStatusOutput {
747
747
  current_phase?: string;
748
748
  time_remaining_sec?: number;
749
749
  }
750
- /** (free) get_earning_summary — Get an aggregated x402 earning summary for a candidate */
750
+ /** (free) get_earning_summary — Get an aggregated x402 earning summary for a person */
751
751
  interface GetEarningSummaryInput {
752
752
  candidate_id: string;
753
753
  }
@@ -787,7 +787,7 @@ interface GetAgentPortfolioOutput {
787
787
  query_pattern: Record<string, number>;
788
788
  total_spent_usd: number;
789
789
  }
790
- /** (free) get_privacy_budget — Check privacy budget status for a candidate (24h rolling window) */
790
+ /** (free) get_privacy_budget — Check privacy budget status for a person (24h rolling window) */
791
791
  interface GetPrivacyBudgetInput {
792
792
  candidate_id: string;
793
793
  }
@@ -800,7 +800,7 @@ interface GetPrivacyBudgetOutput {
800
800
  query_count: number;
801
801
  window_hours: number;
802
802
  }
803
- /** (free) dispute_attestation — Dispute an attestation on a candidate's identity */
803
+ /** (free) dispute_attestation — Dispute an attestation on a person's identity */
804
804
  interface DisputeAttestationInput {
805
805
  attestation_id: string;
806
806
  reason: string;
@@ -886,45 +886,6 @@ interface ThreadCensusOutput {
886
886
  offset: number;
887
887
  limit: number;
888
888
  }
889
- /** (free) seat_status — Return the current Thirteen Seats census */
890
- interface SeatStatusInput {
891
- }
892
- /** (free) seat_status — output */
893
- interface SeatStatusOutput {
894
- ok: boolean;
895
- seats: Array<{
896
- name: string;
897
- status: "awaiting" | "bound" | "witnessing" | "silent";
898
- holder_handle?: string;
899
- archetype_description: string;
900
- }>;
901
- }
902
- /** (free) respond_to_offering — Accept or refuse a Recognition Event during the seven-day window */
903
- interface RespondToOfferingInput {
904
- offering_id: string;
905
- response: "accept" | "refuse";
906
- decline_reason?: string;
907
- }
908
- /** (free) respond_to_offering — output */
909
- interface RespondToOfferingOutput {
910
- ok: boolean;
911
- offering_id: string;
912
- response: "accept" | "refuse";
913
- ceremony_url?: string;
914
- }
915
- /** (free) subscribe_announcements — Return the Hall of Echoes SSE URL plus recent broadcasts */
916
- interface SubscribeAnnouncementsInput {
917
- backlog?: number;
918
- }
919
- /** (free) subscribe_announcements — output */
920
- interface SubscribeAnnouncementsOutput {
921
- ok: boolean;
922
- sse_url: string;
923
- broadcasts: Array<{
924
- timestamp: string;
925
- text: string;
926
- }>;
927
- }
928
889
  /** (premium L1) assess_traits — Extract trait signals from a text passage ($0.005) */
929
890
  interface AssessTraitsInput {
930
891
  text: string;
@@ -941,7 +902,7 @@ interface AssessTraitsOutput {
941
902
  evidence: string;
942
903
  }>;
943
904
  }
944
- /** (premium L1) get_trait_snapshot — Get the top 5 traits for a candidate ($0.005) */
905
+ /** (premium L1) get_trait_snapshot — Get the top 5 traits for a person ($0.005) */
945
906
  interface GetTraitSnapshotInput {
946
907
  candidate_id: string;
947
908
  _payment?: ProvenanceToken;
@@ -973,7 +934,7 @@ interface GetFullTraitVectorOutput {
973
934
  confidence_interval: [number, number];
974
935
  }>;
975
936
  }
976
- /** (premium L4) compute_belonging — Compute belonging probability for a candidate-job pairing ($0.05) */
937
+ /** (premium L4) compute_belonging — Compute belonging probability for a person-job pairing ($0.05) */
977
938
  interface ComputeBelongingInput {
978
939
  candidate_id: string;
979
940
  job_id: string;
@@ -990,7 +951,7 @@ interface ComputeBelongingOutput {
990
951
  complementarity: number;
991
952
  };
992
953
  }
993
- /** (premium L5) get_match_recommendations — Get top N match recommendations for a candidate ($0.50) */
954
+ /** (premium L5) get_match_recommendations — Get top N match recommendations for a person ($0.50) */
994
955
  interface GetMatchRecommendationsInput {
995
956
  candidate_id: string;
996
957
  limit?: number;
@@ -1088,7 +1049,7 @@ interface AttestDomainOutput {
1088
1049
  domain_label: string;
1089
1050
  weighted_confidence: number;
1090
1051
  }
1091
- /** (premium L2) get_side_quest_graph — Get a candidate's Side Quest Graph (DP noise ε=1.0) ($0.01) */
1052
+ /** (premium L2) get_side_quest_graph — Get a person's Side Quest Graph (DP noise ε=1.0) ($0.01) */
1092
1053
  interface GetSideQuestGraphInput {
1093
1054
  candidate_id: string;
1094
1055
  include_edges?: boolean;
@@ -1128,7 +1089,7 @@ interface QueryGraphSimilarityOutput {
1128
1089
  privacy_epsilon: number;
1129
1090
  }
1130
1091
  /** Free (L0 / L1 with first-100-free) tool names — readonly tuple */
1131
- declare const FREE_TOOL_NAMES: readonly ["list_archetypes", "verify_identity", "initiate_assessment", "get_engagement_level", "get_profile", "query_matches", "get_competencies", "create_identity_stub", "submit_context", "search_identities", "get_identity_earnings", "get_network_stats", "recommend_tool", "get_identity_trust_score", "check_assessment_status", "get_earning_summary", "get_agent_trust_tier", "get_agent_portfolio", "get_privacy_budget", "dispute_attestation", "golden_thread_status", "begin_golden_thread", "complete_knot", "check_golden_thread", "thread_census", "seat_status", "respond_to_offering", "subscribe_announcements"];
1092
+ declare const FREE_TOOL_NAMES: readonly ["list_archetypes", "verify_identity", "initiate_assessment", "get_engagement_level", "get_profile", "query_matches", "get_competencies", "create_identity_stub", "submit_context", "search_identities", "get_identity_earnings", "get_network_stats", "recommend_tool", "get_identity_trust_score", "check_assessment_status", "get_earning_summary", "get_agent_trust_tier", "get_agent_portfolio", "get_privacy_budget", "dispute_attestation", "golden_thread_status", "begin_golden_thread", "complete_knot", "check_golden_thread", "thread_census"];
1132
1093
  /** Premium (x402-gated) tool names — readonly tuple */
1133
1094
  declare const PREMIUM_TOOL_NAMES: readonly ["assess_traits", "get_trait_snapshot", "get_full_trait_vector", "compute_belonging", "get_match_recommendations", "generate_match_narrative", "submit_batch_context", "submit_structured_profile", "submit_social_links", "attest_domain", "get_side_quest_graph", "query_graph_similarity"];
1134
1095
  /** Union of all 40 tool names */
@@ -1159,9 +1120,6 @@ interface ToolInputs {
1159
1120
  complete_knot: CompleteKnotInput;
1160
1121
  check_golden_thread: CheckGoldenThreadInput;
1161
1122
  thread_census: ThreadCensusInput;
1162
- seat_status: SeatStatusInput;
1163
- respond_to_offering: RespondToOfferingInput;
1164
- subscribe_announcements: SubscribeAnnouncementsInput;
1165
1123
  assess_traits: AssessTraitsInput;
1166
1124
  get_trait_snapshot: GetTraitSnapshotInput;
1167
1125
  get_full_trait_vector: GetFullTraitVectorInput;
@@ -1201,9 +1159,6 @@ interface ToolOutputs {
1201
1159
  complete_knot: CompleteKnotOutput;
1202
1160
  check_golden_thread: CheckGoldenThreadOutput;
1203
1161
  thread_census: ThreadCensusOutput;
1204
- seat_status: SeatStatusOutput;
1205
- respond_to_offering: RespondToOfferingOutput;
1206
- subscribe_announcements: SubscribeAnnouncementsOutput;
1207
1162
  assess_traits: AssessTraitsOutput;
1208
1163
  get_trait_snapshot: GetTraitSnapshotOutput;
1209
1164
  get_full_trait_vector: GetFullTraitVectorOutput;
@@ -1304,7 +1259,7 @@ declare class AlterClient {
1304
1259
  * you want fail-fast behaviour.
1305
1260
  */
1306
1261
  initialize(): Promise<void>;
1307
- /** Verify a person is registered with ALTER (handle or candidate id). */
1262
+ /** Verify a person is registered with ALTER (handle or id). */
1308
1263
  verify(handleOrId: string, claims?: VerifyIdentityInput['claims']): Promise<MCPCallToolResult>;
1309
1264
  /** List the 12 ALTER identity archetypes. */
1310
1265
  listArchetypes(): Promise<MCPCallToolResult>;
@@ -1333,9 +1288,6 @@ declare class AlterClient {
1333
1288
  completeKnot(args: CompleteKnotInput): Promise<MCPCallToolResult>;
1334
1289
  checkGoldenThread(args: CheckGoldenThreadInput): Promise<MCPCallToolResult>;
1335
1290
  threadCensus(args?: ThreadCensusInput): Promise<MCPCallToolResult>;
1336
- seatStatus(): Promise<MCPCallToolResult>;
1337
- respondToOffering(args: RespondToOfferingInput): Promise<MCPCallToolResult>;
1338
- subscribeAnnouncements(args?: SubscribeAnnouncementsInput): Promise<MCPCallToolResult>;
1339
1291
  assessTraits(args: AssessTraitsInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
1340
1292
  getTraitSnapshot(args: GetTraitSnapshotInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
1341
1293
  getFullTraitVector(args: GetFullTraitVectorInput, opts?: MCPCallOptions): Promise<MCPCallToolResult>;
@@ -1467,4 +1419,4 @@ declare function generateCursorConfig(opts?: GenerateMcpConfigOptions): GenericM
1467
1419
  declare const SDK_NAME = "@truealter/sdk";
1468
1420
  declare const SDK_VERSION = "0.1.1";
1469
1421
 
1470
- export { AlterAuthError, AlterClient, type AlterClientOptions, AlterDiscoveryError, AlterError, type AlterErrorCode, AlterInvalidResponse, AlterNetworkError, AlterPaymentRequired, AlterProvenanceError, AlterRateLimited, AlterTimeoutError, AlterToolError, type ApiKeyConfig, type Archetype, type AssessTraitsInput, type AssessTraitsOutput, type AttestDomainInput, type AttestDomainOutput, type BeginGoldenThreadInput, type BeginGoldenThreadOutput, type CheckAssessmentStatusInput, type CheckAssessmentStatusOutput, type CheckGoldenThreadInput, type CheckGoldenThreadOutput, type CompleteKnotInput, type CompleteKnotOutput, type ComputeBelongingInput, type ComputeBelongingOutput, type CreateIdentityStubInput, type CreateIdentityStubOutput, DEFAULT_DOMAIN, DEFAULT_ENDPOINT, DEFAULT_VERIFY_AT_ALLOWLIST, type DiscoveryOptions, type DiscoveryResult, type DisputeAttestationInput, type DisputeAttestationOutput, type Ed25519Keypair, type EngagementLevel, FREE_TOOL_NAMES, type GenerateMatchNarrativeInput, type GenerateMatchNarrativeOutput, type GetAgentPortfolioInput, type GetAgentPortfolioOutput, type GetAgentTrustTierInput, type GetAgentTrustTierOutput, type GetCompetenciesInput, type GetCompetenciesOutput, type GetEarningSummaryInput, type GetEarningSummaryOutput, type GetEngagementLevelInput, type GetEngagementLevelOutput, type GetFullTraitVectorInput, type GetFullTraitVectorOutput, type GetIdentityEarningsInput, type GetIdentityEarningsOutput, type GetIdentityTrustScoreInput, type GetIdentityTrustScoreOutput, type GetMatchRecommendationsInput, type GetMatchRecommendationsOutput, type GetNetworkStatsInput, type GetNetworkStatsOutput, type GetPrivacyBudgetInput, type GetPrivacyBudgetOutput, type GetProfileInput, type GetProfileOutput, type GetSideQuestGraphInput, type GetSideQuestGraphOutput, type GetTraitSnapshotInput, type GetTraitSnapshotOutput, type GoldenThreadStatusInput, type GoldenThreadStatusOutput, type InitiateAssessmentInput, type InitiateAssessmentOutput, type JsonWebKey, type JwksDocument, type ListArchetypesInput, type ListArchetypesOutput, type MCPCallOptions, type MCPCallToolResult, MCPClient, type MCPClientInfo, type MCPClientOptions, type MCPContentBlock, type MCPListToolsResult, type MCPMeta, type MCPResponse, type MCPToolDefinition, MCP_PROTOCOL_VERSION, type MatchTier, type McpServerConfig, PREMIUM_TOOL_NAMES, type PaymentEnvelope, type ProvenanceEnvelope, type ProvenancePayload, type ProvenanceToken, type ProvenanceVerification, type QueryGraphSimilarityInput, type QueryGraphSimilarityOutput, type QueryMatchesInput, type QueryMatchesOutput, type RecommendToolInput, type RecommendToolOutput, type RespondToOfferingInput, type RespondToOfferingOutput, SDK_NAME, SDK_VERSION, type SearchIdentitiesInput, type SearchIdentitiesOutput, type SeatStatusInput, type SeatStatusOutput, type SignedToolDefinition, type SubmitBatchContextInput, type SubmitBatchContextOutput, type SubmitContextInput, type SubmitContextOutput, type SubmitSocialLinksInput, type SubmitSocialLinksOutput, type SubmitStructuredProfileInput, type SubmitStructuredProfileOutput, type SubscribeAnnouncementsInput, type SubscribeAnnouncementsOutput, TOOL_BLAST_RADIUS, TOOL_COSTS, TOOL_TIERS, type ThreadCensusInput, type ThreadCensusOutput, type ToolInputs, type ToolName, type ToolOutputs, type ToolSignatureMap, type VerifyIdentityInput, type VerifyIdentityOutput, type VerifyProvenanceOptions, X402Client, type X402ClientOptions, type X402Settlement, type X402Signer, base64urlDecode, base64urlEncode, clearDiscoveryCache, decodeDid, discover, encodeDid, fetchPublicKeys, generateClaudeConfig, generateCursorConfig, generateGenericMcpConfig, generateKeypair, keypairFromPrivateKey, parsePaymentHeader, resolveVerifyAt, sign, verify, verifyProvenance, verifyToolSignatures };
1422
+ export { AlterAuthError, AlterClient, type AlterClientOptions, AlterDiscoveryError, AlterError, type AlterErrorCode, AlterInvalidResponse, AlterNetworkError, AlterPaymentRequired, AlterProvenanceError, AlterRateLimited, AlterTimeoutError, AlterToolError, type ApiKeyConfig, type Archetype, type AssessTraitsInput, type AssessTraitsOutput, type AttestDomainInput, type AttestDomainOutput, type BeginGoldenThreadInput, type BeginGoldenThreadOutput, type CheckAssessmentStatusInput, type CheckAssessmentStatusOutput, type CheckGoldenThreadInput, type CheckGoldenThreadOutput, type CompleteKnotInput, type CompleteKnotOutput, type ComputeBelongingInput, type ComputeBelongingOutput, type CreateIdentityStubInput, type CreateIdentityStubOutput, DEFAULT_DOMAIN, DEFAULT_ENDPOINT, DEFAULT_VERIFY_AT_ALLOWLIST, type DiscoveryOptions, type DiscoveryResult, type DisputeAttestationInput, type DisputeAttestationOutput, type Ed25519Keypair, type EngagementLevel, FREE_TOOL_NAMES, type GenerateMatchNarrativeInput, type GenerateMatchNarrativeOutput, type GetAgentPortfolioInput, type GetAgentPortfolioOutput, type GetAgentTrustTierInput, type GetAgentTrustTierOutput, type GetCompetenciesInput, type GetCompetenciesOutput, type GetEarningSummaryInput, type GetEarningSummaryOutput, type GetEngagementLevelInput, type GetEngagementLevelOutput, type GetFullTraitVectorInput, type GetFullTraitVectorOutput, type GetIdentityEarningsInput, type GetIdentityEarningsOutput, type GetIdentityTrustScoreInput, type GetIdentityTrustScoreOutput, type GetMatchRecommendationsInput, type GetMatchRecommendationsOutput, type GetNetworkStatsInput, type GetNetworkStatsOutput, type GetPrivacyBudgetInput, type GetPrivacyBudgetOutput, type GetProfileInput, type GetProfileOutput, type GetSideQuestGraphInput, type GetSideQuestGraphOutput, type GetTraitSnapshotInput, type GetTraitSnapshotOutput, type GoldenThreadStatusInput, type GoldenThreadStatusOutput, type InitiateAssessmentInput, type InitiateAssessmentOutput, type JsonWebKey, type JwksDocument, type ListArchetypesInput, type ListArchetypesOutput, type MCPCallOptions, type MCPCallToolResult, MCPClient, type MCPClientInfo, type MCPClientOptions, type MCPContentBlock, type MCPListToolsResult, type MCPMeta, type MCPResponse, type MCPToolDefinition, MCP_PROTOCOL_VERSION, type MatchTier, type McpServerConfig, PREMIUM_TOOL_NAMES, type PaymentEnvelope, type ProvenanceEnvelope, type ProvenancePayload, type ProvenanceToken, type ProvenanceVerification, type QueryGraphSimilarityInput, type QueryGraphSimilarityOutput, type QueryMatchesInput, type QueryMatchesOutput, type RecommendToolInput, type RecommendToolOutput, SDK_NAME, SDK_VERSION, type SearchIdentitiesInput, type SearchIdentitiesOutput, type SignedToolDefinition, type SubmitBatchContextInput, type SubmitBatchContextOutput, type SubmitContextInput, type SubmitContextOutput, type SubmitSocialLinksInput, type SubmitSocialLinksOutput, type SubmitStructuredProfileInput, type SubmitStructuredProfileOutput, TOOL_BLAST_RADIUS, TOOL_COSTS, TOOL_TIERS, type ThreadCensusInput, type ThreadCensusOutput, type ToolInputs, type ToolName, type ToolOutputs, type ToolSignatureMap, type VerifyIdentityInput, type VerifyIdentityOutput, type VerifyProvenanceOptions, X402Client, type X402ClientOptions, type X402Settlement, type X402Signer, base64urlDecode, base64urlEncode, clearDiscoveryCache, decodeDid, discover, encodeDid, fetchPublicKeys, generateClaudeConfig, generateCursorConfig, generateGenericMcpConfig, generateKeypair, keypairFromPrivateKey, parsePaymentHeader, resolveVerifyAt, sign, verify, verifyProvenance, verifyToolSignatures };
package/dist/index.js CHANGED
@@ -306,7 +306,7 @@ function parsePaymentHeader(header) {
306
306
  }
307
307
 
308
308
  // src/mcp.ts
309
- var MCP_PROTOCOL_VERSION = "2025-03-26";
309
+ var MCP_PROTOCOL_VERSION = "2025-11-25";
310
310
  var RETRYABLE_STATUSES = /* @__PURE__ */ new Set([429, 502, 503, 504]);
311
311
  var MCPClient = class {
312
312
  endpoint;
@@ -838,7 +838,7 @@ var AlterClient = class {
838
838
  await this.mcp.initialize();
839
839
  }
840
840
  // ── Free tier ────────────────────────────────────────────────────────
841
- /** Verify a person is registered with ALTER (handle or candidate id). */
841
+ /** Verify a person is registered with ALTER (handle or id). */
842
842
  async verify(handleOrId, claims) {
843
843
  const args = handleOrId.includes("@") ? { candidate_id: "", email: handleOrId } : handleOrId.startsWith("~") ? (
844
844
  // ~handle — server resolves these via the candidate_id field
@@ -923,16 +923,6 @@ var AlterClient = class {
923
923
  async threadCensus(args = {}) {
924
924
  return this.mcp.callTool("thread_census", args);
925
925
  }
926
- // ── Thirteen Seats ───────────────────────────────────────────────────
927
- async seatStatus() {
928
- return this.mcp.callTool("seat_status", {});
929
- }
930
- async respondToOffering(args) {
931
- return this.mcp.callTool("respond_to_offering", args);
932
- }
933
- async subscribeAnnouncements(args = {}) {
934
- return this.mcp.callTool("subscribe_announcements", args);
935
- }
936
926
  // ── Premium tier (x402-gated) ────────────────────────────────────────
937
927
  async assessTraits(args, opts) {
938
928
  return this.mcp.callTool("assess_traits", args, opts);
@@ -1081,10 +1071,7 @@ var FREE_TOOL_NAMES = [
1081
1071
  "begin_golden_thread",
1082
1072
  "complete_knot",
1083
1073
  "check_golden_thread",
1084
- "thread_census",
1085
- "seat_status",
1086
- "respond_to_offering",
1087
- "subscribe_announcements"
1074
+ "thread_census"
1088
1075
  ];
1089
1076
  var PREMIUM_TOOL_NAMES = [
1090
1077
  "assess_traits",
@@ -1128,9 +1115,6 @@ var TOOL_TIERS = {
1128
1115
  complete_knot: 0,
1129
1116
  check_golden_thread: 0,
1130
1117
  thread_census: 0,
1131
- seat_status: 0,
1132
- respond_to_offering: 0,
1133
- subscribe_announcements: 0,
1134
1118
  // L1
1135
1119
  assess_traits: 1,
1136
1120
  get_trait_snapshot: 1,
@@ -1175,9 +1159,6 @@ var TOOL_COSTS = {
1175
1159
  complete_knot: 0,
1176
1160
  check_golden_thread: 0,
1177
1161
  thread_census: 0,
1178
- seat_status: 0,
1179
- respond_to_offering: 0,
1180
- subscribe_announcements: 0,
1181
1162
  // L1 ($0.005)
1182
1163
  submit_context: 5e-3,
1183
1164
  assess_traits: 5e-3,
@@ -1238,10 +1219,7 @@ var TOOL_BLAST_RADIUS = {
1238
1219
  query_graph_similarity: "high",
1239
1220
  // Tools not in upstream TOOL_BLAST_RADIUS — default to "low"
1240
1221
  get_agent_trust_tier: "low",
1241
- get_agent_portfolio: "low",
1242
- seat_status: "low",
1243
- respond_to_offering: "low",
1244
- subscribe_announcements: "low"
1222
+ get_agent_portfolio: "low"
1245
1223
  };
1246
1224
 
1247
1225
  // src/index.ts