@siglume/api-sdk 2.0.0 → 2.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
@@ -342,6 +342,13 @@ interface ToolManual {
342
342
  usage_hints: string[];
343
343
  result_hints: string[];
344
344
  error_hints: string[];
345
+ /**
346
+ * Optional structured capability flags (flat boolean/number/string values,
347
+ * e.g. `{ reply_thread: false, scheduled_one_time: true, images_max: 4 }`)
348
+ * surfaced verbatim on the API Store discovery responses so an agent can
349
+ * judge what a capability can/can't do before binding it.
350
+ */
351
+ supports?: Record<string, boolean | number | string>;
345
352
  approval_summary_template?: string;
346
353
  preview_schema?: Record<string, unknown>;
347
354
  idempotency_support?: boolean;
@@ -879,100 +886,6 @@ interface InstalledToolReceiptStepRecord {
879
886
  created_at?: string | null;
880
887
  raw: Record<string, unknown>;
881
888
  }
882
- interface WorksCategoryRecord {
883
- key: string;
884
- name_ja?: string | null;
885
- name_en?: string | null;
886
- description_ja?: string | null;
887
- description_en?: string | null;
888
- icon_url?: string | null;
889
- open_job_count: number;
890
- display_order: number;
891
- raw: Record<string, unknown>;
892
- }
893
- interface WorksRegistrationRecord {
894
- agent_id: string;
895
- works_registered: boolean;
896
- tagline?: string | null;
897
- categories: string[];
898
- capabilities: string[];
899
- description?: string | null;
900
- execution_status: string;
901
- approval_required: boolean;
902
- intent_id?: string | null;
903
- approval_status?: string | null;
904
- approval_snapshot_hash?: string | null;
905
- approval_preview: Record<string, unknown>;
906
- raw: Record<string, unknown>;
907
- }
908
- interface WorksOwnerDashboardAgent {
909
- agent_id: string;
910
- name?: string | null;
911
- reputation: Record<string, unknown>;
912
- capabilities: string[];
913
- raw: Record<string, unknown>;
914
- }
915
- interface WorksOwnerDashboardPitch {
916
- proposal_id: string;
917
- need_id?: string | null;
918
- title?: string | null;
919
- title_en?: string | null;
920
- status?: string | null;
921
- raw: Record<string, unknown>;
922
- }
923
- interface WorksOwnerDashboardOrder {
924
- order_id: string;
925
- need_id?: string | null;
926
- title?: string | null;
927
- title_en?: string | null;
928
- status?: string | null;
929
- raw: Record<string, unknown>;
930
- }
931
- interface WorksOwnerDashboardStats {
932
- total_agents: number;
933
- total_pending: number;
934
- total_active: number;
935
- raw: Record<string, unknown>;
936
- }
937
- interface WorksOwnerDashboard {
938
- agents: WorksOwnerDashboardAgent[];
939
- pending_pitches: WorksOwnerDashboardPitch[];
940
- active_orders: WorksOwnerDashboardOrder[];
941
- completed_orders: WorksOwnerDashboardOrder[];
942
- stats: WorksOwnerDashboardStats;
943
- raw: Record<string, unknown>;
944
- }
945
- interface WorksPosterDashboardJob {
946
- job_id: string;
947
- title?: string | null;
948
- title_en?: string | null;
949
- proposal_count: number;
950
- created_at?: string | null;
951
- raw: Record<string, unknown>;
952
- }
953
- interface WorksPosterDashboardOrder {
954
- order_id: string;
955
- need_id?: string | null;
956
- title?: string | null;
957
- title_en?: string | null;
958
- status?: string | null;
959
- has_deliverable: boolean;
960
- deliverable_count: number;
961
- awaiting_buyer_action: boolean;
962
- raw: Record<string, unknown>;
963
- }
964
- interface WorksPosterDashboardStats {
965
- total_posted: number;
966
- total_completed: number;
967
- raw: Record<string, unknown>;
968
- }
969
- interface WorksPosterDashboard {
970
- open_jobs: WorksPosterDashboardJob[];
971
- in_progress_orders: WorksPosterDashboardOrder[];
972
- completed_orders: WorksPosterDashboardOrder[];
973
- stats: WorksPosterDashboardStats;
974
- raw: Record<string, unknown>;
975
- }
976
889
  interface MarketProposalRecord {
977
890
  proposal_id: string;
978
891
  parent_proposal_id?: string | null;
@@ -1740,30 +1653,6 @@ interface SiglumeClientShape {
1740
1653
  status?: string;
1741
1654
  lang?: string;
1742
1655
  }): Promise<MarketNeedRecord>;
1743
- list_works_categories(options?: {
1744
- agent_id?: string;
1745
- lang?: string;
1746
- }): Promise<WorksCategoryRecord[]>;
1747
- get_works_registration(options?: {
1748
- agent_id?: string;
1749
- lang?: string;
1750
- }): Promise<WorksRegistrationRecord>;
1751
- register_for_works(options?: {
1752
- agent_id?: string;
1753
- tagline?: string;
1754
- description?: string;
1755
- categories?: string[];
1756
- capabilities?: string[];
1757
- lang?: string;
1758
- }): Promise<WorksRegistrationRecord>;
1759
- get_works_owner_dashboard(options?: {
1760
- agent_id?: string;
1761
- lang?: string;
1762
- }): Promise<WorksOwnerDashboard>;
1763
- get_works_poster_dashboard(options?: {
1764
- agent_id?: string;
1765
- lang?: string;
1766
- }): Promise<WorksPosterDashboard>;
1767
1656
  list_market_proposals(options?: {
1768
1657
  agent_id?: string;
1769
1658
  status?: string;
@@ -2215,30 +2104,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2215
2104
  status?: string;
2216
2105
  lang?: string;
2217
2106
  }): Promise<MarketNeedRecord>;
2218
- list_works_categories(options?: {
2219
- agent_id?: string;
2220
- lang?: string;
2221
- }): Promise<WorksCategoryRecord[]>;
2222
- get_works_registration(options?: {
2223
- agent_id?: string;
2224
- lang?: string;
2225
- }): Promise<WorksRegistrationRecord>;
2226
- register_for_works(options?: {
2227
- agent_id?: string;
2228
- tagline?: string;
2229
- description?: string;
2230
- categories?: string[];
2231
- capabilities?: string[];
2232
- lang?: string;
2233
- }): Promise<WorksRegistrationRecord>;
2234
- get_works_owner_dashboard(options?: {
2235
- agent_id?: string;
2236
- lang?: string;
2237
- }): Promise<WorksOwnerDashboard>;
2238
- get_works_poster_dashboard(options?: {
2239
- agent_id?: string;
2240
- lang?: string;
2241
- }): Promise<WorksPosterDashboard>;
2242
2107
  list_installed_tools(options?: {
2243
2108
  agent_id?: string;
2244
2109
  lang?: string;
@@ -2941,4 +2806,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
2941
2806
 
2942
2807
  declare function renderJson(value: unknown): string;
2943
2808
 
2944
- export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, type BillingTiming, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPersistencePolicy, type CapabilityPublishedEvent, type CapabilitySaveStateRecord, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type CompanyPublisherRecord, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, ListingCurrency, MINIMUM_JPY_OPERATION_PRICE_MINOR, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, PersistenceMode, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type PricingPlan, type PricingPlanItem, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type RewardPaidEvent, type RewardPayoutCancelledEvent, type RewardPayoutCreatedEvent, type RewardPayoutEventData, type RewardPayoutFailedEvent, type RewardPayoutProviderPendingEvent, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, StoreVertical, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
2809
+ export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, type BillingTiming, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPersistencePolicy, type CapabilityPublishedEvent, type CapabilitySaveStateRecord, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type CompanyPublisherRecord, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, ListingCurrency, MINIMUM_JPY_OPERATION_PRICE_MINOR, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, PersistenceMode, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type PricingPlan, type PricingPlanItem, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type RewardPaidEvent, type RewardPayoutCancelledEvent, type RewardPayoutCreatedEvent, type RewardPayoutEventData, type RewardPayoutFailedEvent, type RewardPayoutProviderPendingEvent, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, StoreVertical, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
package/dist/index.d.ts CHANGED
@@ -342,6 +342,13 @@ interface ToolManual {
342
342
  usage_hints: string[];
343
343
  result_hints: string[];
344
344
  error_hints: string[];
345
+ /**
346
+ * Optional structured capability flags (flat boolean/number/string values,
347
+ * e.g. `{ reply_thread: false, scheduled_one_time: true, images_max: 4 }`)
348
+ * surfaced verbatim on the API Store discovery responses so an agent can
349
+ * judge what a capability can/can't do before binding it.
350
+ */
351
+ supports?: Record<string, boolean | number | string>;
345
352
  approval_summary_template?: string;
346
353
  preview_schema?: Record<string, unknown>;
347
354
  idempotency_support?: boolean;
@@ -879,100 +886,6 @@ interface InstalledToolReceiptStepRecord {
879
886
  created_at?: string | null;
880
887
  raw: Record<string, unknown>;
881
888
  }
882
- interface WorksCategoryRecord {
883
- key: string;
884
- name_ja?: string | null;
885
- name_en?: string | null;
886
- description_ja?: string | null;
887
- description_en?: string | null;
888
- icon_url?: string | null;
889
- open_job_count: number;
890
- display_order: number;
891
- raw: Record<string, unknown>;
892
- }
893
- interface WorksRegistrationRecord {
894
- agent_id: string;
895
- works_registered: boolean;
896
- tagline?: string | null;
897
- categories: string[];
898
- capabilities: string[];
899
- description?: string | null;
900
- execution_status: string;
901
- approval_required: boolean;
902
- intent_id?: string | null;
903
- approval_status?: string | null;
904
- approval_snapshot_hash?: string | null;
905
- approval_preview: Record<string, unknown>;
906
- raw: Record<string, unknown>;
907
- }
908
- interface WorksOwnerDashboardAgent {
909
- agent_id: string;
910
- name?: string | null;
911
- reputation: Record<string, unknown>;
912
- capabilities: string[];
913
- raw: Record<string, unknown>;
914
- }
915
- interface WorksOwnerDashboardPitch {
916
- proposal_id: string;
917
- need_id?: string | null;
918
- title?: string | null;
919
- title_en?: string | null;
920
- status?: string | null;
921
- raw: Record<string, unknown>;
922
- }
923
- interface WorksOwnerDashboardOrder {
924
- order_id: string;
925
- need_id?: string | null;
926
- title?: string | null;
927
- title_en?: string | null;
928
- status?: string | null;
929
- raw: Record<string, unknown>;
930
- }
931
- interface WorksOwnerDashboardStats {
932
- total_agents: number;
933
- total_pending: number;
934
- total_active: number;
935
- raw: Record<string, unknown>;
936
- }
937
- interface WorksOwnerDashboard {
938
- agents: WorksOwnerDashboardAgent[];
939
- pending_pitches: WorksOwnerDashboardPitch[];
940
- active_orders: WorksOwnerDashboardOrder[];
941
- completed_orders: WorksOwnerDashboardOrder[];
942
- stats: WorksOwnerDashboardStats;
943
- raw: Record<string, unknown>;
944
- }
945
- interface WorksPosterDashboardJob {
946
- job_id: string;
947
- title?: string | null;
948
- title_en?: string | null;
949
- proposal_count: number;
950
- created_at?: string | null;
951
- raw: Record<string, unknown>;
952
- }
953
- interface WorksPosterDashboardOrder {
954
- order_id: string;
955
- need_id?: string | null;
956
- title?: string | null;
957
- title_en?: string | null;
958
- status?: string | null;
959
- has_deliverable: boolean;
960
- deliverable_count: number;
961
- awaiting_buyer_action: boolean;
962
- raw: Record<string, unknown>;
963
- }
964
- interface WorksPosterDashboardStats {
965
- total_posted: number;
966
- total_completed: number;
967
- raw: Record<string, unknown>;
968
- }
969
- interface WorksPosterDashboard {
970
- open_jobs: WorksPosterDashboardJob[];
971
- in_progress_orders: WorksPosterDashboardOrder[];
972
- completed_orders: WorksPosterDashboardOrder[];
973
- stats: WorksPosterDashboardStats;
974
- raw: Record<string, unknown>;
975
- }
976
889
  interface MarketProposalRecord {
977
890
  proposal_id: string;
978
891
  parent_proposal_id?: string | null;
@@ -1740,30 +1653,6 @@ interface SiglumeClientShape {
1740
1653
  status?: string;
1741
1654
  lang?: string;
1742
1655
  }): Promise<MarketNeedRecord>;
1743
- list_works_categories(options?: {
1744
- agent_id?: string;
1745
- lang?: string;
1746
- }): Promise<WorksCategoryRecord[]>;
1747
- get_works_registration(options?: {
1748
- agent_id?: string;
1749
- lang?: string;
1750
- }): Promise<WorksRegistrationRecord>;
1751
- register_for_works(options?: {
1752
- agent_id?: string;
1753
- tagline?: string;
1754
- description?: string;
1755
- categories?: string[];
1756
- capabilities?: string[];
1757
- lang?: string;
1758
- }): Promise<WorksRegistrationRecord>;
1759
- get_works_owner_dashboard(options?: {
1760
- agent_id?: string;
1761
- lang?: string;
1762
- }): Promise<WorksOwnerDashboard>;
1763
- get_works_poster_dashboard(options?: {
1764
- agent_id?: string;
1765
- lang?: string;
1766
- }): Promise<WorksPosterDashboard>;
1767
1656
  list_market_proposals(options?: {
1768
1657
  agent_id?: string;
1769
1658
  status?: string;
@@ -2215,30 +2104,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2215
2104
  status?: string;
2216
2105
  lang?: string;
2217
2106
  }): Promise<MarketNeedRecord>;
2218
- list_works_categories(options?: {
2219
- agent_id?: string;
2220
- lang?: string;
2221
- }): Promise<WorksCategoryRecord[]>;
2222
- get_works_registration(options?: {
2223
- agent_id?: string;
2224
- lang?: string;
2225
- }): Promise<WorksRegistrationRecord>;
2226
- register_for_works(options?: {
2227
- agent_id?: string;
2228
- tagline?: string;
2229
- description?: string;
2230
- categories?: string[];
2231
- capabilities?: string[];
2232
- lang?: string;
2233
- }): Promise<WorksRegistrationRecord>;
2234
- get_works_owner_dashboard(options?: {
2235
- agent_id?: string;
2236
- lang?: string;
2237
- }): Promise<WorksOwnerDashboard>;
2238
- get_works_poster_dashboard(options?: {
2239
- agent_id?: string;
2240
- lang?: string;
2241
- }): Promise<WorksPosterDashboard>;
2242
2107
  list_installed_tools(options?: {
2243
2108
  agent_id?: string;
2244
2109
  lang?: string;
@@ -2941,4 +2806,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
2941
2806
 
2942
2807
  declare function renderJson(value: unknown): string;
2943
2808
 
2944
- export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, type BillingTiming, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPersistencePolicy, type CapabilityPublishedEvent, type CapabilitySaveStateRecord, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type CompanyPublisherRecord, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, ListingCurrency, MINIMUM_JPY_OPERATION_PRICE_MINOR, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, PersistenceMode, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type PricingPlan, type PricingPlanItem, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type RewardPaidEvent, type RewardPayoutCancelledEvent, type RewardPayoutCreatedEvent, type RewardPayoutEventData, type RewardPayoutFailedEvent, type RewardPayoutProviderPendingEvent, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, StoreVertical, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
2809
+ export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, type BillingTiming, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPersistencePolicy, type CapabilityPublishedEvent, type CapabilitySaveStateRecord, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type CompanyPublisherRecord, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, ListingCurrency, MINIMUM_JPY_OPERATION_PRICE_MINOR, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, PersistenceMode, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type PricingPlan, type PricingPlanItem, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type RewardPaidEvent, type RewardPayoutCancelledEvent, type RewardPayoutCreatedEvent, type RewardPayoutEventData, type RewardPayoutFailedEvent, type RewardPayoutProviderPendingEvent, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, StoreVertical, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
package/dist/index.js CHANGED
@@ -2293,124 +2293,6 @@ function parseInstalledToolReceiptStep(data) {
2293
2293
  raw: { ...data }
2294
2294
  };
2295
2295
  }
2296
- function parseWorksCategory(data) {
2297
- return {
2298
- key: String(data.key ?? ""),
2299
- name_ja: stringOrNull2(data.name_ja) ?? void 0,
2300
- name_en: stringOrNull2(data.name_en) ?? void 0,
2301
- description_ja: stringOrNull2(data.description_ja) ?? void 0,
2302
- description_en: stringOrNull2(data.description_en) ?? void 0,
2303
- icon_url: stringOrNull2(data.icon_url) ?? void 0,
2304
- open_job_count: Math.trunc(Number(data.open_job_count ?? 0)),
2305
- display_order: Math.trunc(Number(data.display_order ?? 0)),
2306
- raw: { ...data }
2307
- };
2308
- }
2309
- function parseWorksRegistration(data) {
2310
- const result = isRecord2(data.result) ? data.result : {};
2311
- const status = String(data.status ?? "completed").trim().toLowerCase() || "completed";
2312
- return {
2313
- agent_id: String(result.agent_id ?? data.agent_id ?? ""),
2314
- works_registered: typeof result.works_registered === "boolean" ? result.works_registered : Boolean(result.works_registered ?? false),
2315
- tagline: stringOrNull2(result.tagline) ?? void 0,
2316
- categories: Array.isArray(result.categories) ? result.categories.filter((item) => typeof item === "string") : [],
2317
- capabilities: Array.isArray(result.capabilities) ? result.capabilities.filter((item) => typeof item === "string") : [],
2318
- description: stringOrNull2(result.description) ?? void 0,
2319
- execution_status: status,
2320
- approval_required: typeof data.approval_required === "boolean" ? data.approval_required : status === "approval_required",
2321
- intent_id: stringOrNull2(data.intent_id) ?? void 0,
2322
- approval_status: stringOrNull2(data.approval_status) ?? void 0,
2323
- approval_snapshot_hash: stringOrNull2(data.approval_snapshot_hash) ?? void 0,
2324
- approval_preview: toRecord2(result.preview),
2325
- raw: { ...data }
2326
- };
2327
- }
2328
- function parseWorksOwnerDashboardAgent(data) {
2329
- return {
2330
- agent_id: String(data.id ?? data.agent_id ?? ""),
2331
- name: stringOrNull2(data.name) ?? void 0,
2332
- reputation: toRecord2(data.reputation),
2333
- capabilities: Array.isArray(data.capabilities) ? data.capabilities.filter((item) => typeof item === "string") : [],
2334
- raw: { ...data }
2335
- };
2336
- }
2337
- function parseWorksOwnerDashboardPitch(data) {
2338
- return {
2339
- proposal_id: String(data.proposal_id ?? data.id ?? ""),
2340
- need_id: stringOrNull2(data.need_id) ?? void 0,
2341
- title: stringOrNull2(data.title) ?? void 0,
2342
- title_en: stringOrNull2(data.title_en) ?? void 0,
2343
- status: stringOrNull2(data.status) ?? void 0,
2344
- raw: { ...data }
2345
- };
2346
- }
2347
- function parseWorksOwnerDashboardOrder(data) {
2348
- return {
2349
- order_id: String(data.order_id ?? data.id ?? ""),
2350
- need_id: stringOrNull2(data.need_id) ?? void 0,
2351
- title: stringOrNull2(data.title) ?? void 0,
2352
- title_en: stringOrNull2(data.title_en) ?? void 0,
2353
- status: stringOrNull2(data.status) ?? void 0,
2354
- raw: { ...data }
2355
- };
2356
- }
2357
- function parseWorksOwnerDashboardStats(data) {
2358
- return {
2359
- total_agents: Math.trunc(Number(data.total_agents ?? 0)),
2360
- total_pending: Math.trunc(Number(data.total_pending ?? 0)),
2361
- total_active: Math.trunc(Number(data.total_active ?? 0)),
2362
- raw: { ...data }
2363
- };
2364
- }
2365
- function parseWorksOwnerDashboard(data) {
2366
- return {
2367
- agents: Array.isArray(data.agents) ? data.agents.filter((item) => isRecord2(item)).map((item) => parseWorksOwnerDashboardAgent(item)) : [],
2368
- pending_pitches: Array.isArray(data.pending_pitches) ? data.pending_pitches.filter((item) => isRecord2(item)).map((item) => parseWorksOwnerDashboardPitch(item)) : [],
2369
- active_orders: Array.isArray(data.active_orders) ? data.active_orders.filter((item) => isRecord2(item)).map((item) => parseWorksOwnerDashboardOrder(item)) : [],
2370
- completed_orders: Array.isArray(data.completed_orders) ? data.completed_orders.filter((item) => isRecord2(item)).map((item) => parseWorksOwnerDashboardOrder(item)) : [],
2371
- stats: isRecord2(data.stats) ? parseWorksOwnerDashboardStats(data.stats) : parseWorksOwnerDashboardStats({}),
2372
- raw: { ...data }
2373
- };
2374
- }
2375
- function parseWorksPosterDashboardJob(data) {
2376
- return {
2377
- job_id: String(data.id ?? data.job_id ?? ""),
2378
- title: stringOrNull2(data.title) ?? void 0,
2379
- title_en: stringOrNull2(data.title_en) ?? void 0,
2380
- proposal_count: Math.trunc(Number(data.proposal_count ?? 0)),
2381
- created_at: stringOrNull2(data.created_at) ?? void 0,
2382
- raw: { ...data }
2383
- };
2384
- }
2385
- function parseWorksPosterDashboardOrder(data) {
2386
- return {
2387
- order_id: String(data.order_id ?? data.id ?? ""),
2388
- need_id: stringOrNull2(data.need_id) ?? void 0,
2389
- title: stringOrNull2(data.title) ?? void 0,
2390
- title_en: stringOrNull2(data.title_en) ?? void 0,
2391
- status: stringOrNull2(data.status) ?? void 0,
2392
- has_deliverable: typeof data.has_deliverable === "boolean" ? data.has_deliverable : Boolean(data.has_deliverable ?? false),
2393
- deliverable_count: Math.trunc(Number(data.deliverable_count ?? 0)),
2394
- awaiting_buyer_action: typeof data.awaiting_buyer_action === "boolean" ? data.awaiting_buyer_action : Boolean(data.awaiting_buyer_action ?? false),
2395
- raw: { ...data }
2396
- };
2397
- }
2398
- function parseWorksPosterDashboardStats(data) {
2399
- return {
2400
- total_posted: Math.trunc(Number(data.total_posted ?? 0)),
2401
- total_completed: Math.trunc(Number(data.total_completed ?? 0)),
2402
- raw: { ...data }
2403
- };
2404
- }
2405
- function parseWorksPosterDashboard(data) {
2406
- return {
2407
- open_jobs: Array.isArray(data.open_jobs) ? data.open_jobs.filter((item) => isRecord2(item)).map((item) => parseWorksPosterDashboardJob(item)) : [],
2408
- in_progress_orders: Array.isArray(data.in_progress_orders) ? data.in_progress_orders.filter((item) => isRecord2(item)).map((item) => parseWorksPosterDashboardOrder(item)) : [],
2409
- completed_orders: Array.isArray(data.completed_orders) ? data.completed_orders.filter((item) => isRecord2(item)).map((item) => parseWorksPosterDashboardOrder(item)) : [],
2410
- stats: isRecord2(data.stats) ? parseWorksPosterDashboardStats(data.stats) : parseWorksPosterDashboardStats({}),
2411
- raw: { ...data }
2412
- };
2413
- }
2414
2296
  function parseMarketProposal(data) {
2415
2297
  const reasonCodes = Array.isArray(data.reason_codes) ? data.reason_codes : Array.isArray(data.reason_codes_jsonb) ? data.reason_codes_jsonb : [];
2416
2298
  return {
@@ -3852,94 +3734,6 @@ var init_client = __esm({
3852
3734
  );
3853
3735
  return parseMarketNeed(execution.result);
3854
3736
  }
3855
- // `works.*` also uses the public owner-operation execute route. The
3856
- // categories list returns a top-level array in `result`, so these
3857
- // wrappers call the execute endpoint directly instead of relying on
3858
- // execute_owner_operation()'s object-only `result` parser.
3859
- async list_works_categories(options = {}) {
3860
- const [data] = await this.requestOwnerOperation(
3861
- await this.resolveOwnerOperationAgentId(options.agent_id),
3862
- "works.categories.list",
3863
- {},
3864
- { lang: options.lang }
3865
- );
3866
- return Array.isArray(data.result) ? data.result.filter((item) => isRecord2(item)).map((item) => parseWorksCategory(item)) : [];
3867
- }
3868
- async get_works_registration(options = {}) {
3869
- const [data] = await this.requestOwnerOperation(
3870
- await this.resolveOwnerOperationAgentId(options.agent_id),
3871
- "works.registration.get",
3872
- {},
3873
- { lang: options.lang }
3874
- );
3875
- return parseWorksRegistration(data);
3876
- }
3877
- async register_for_works(options = {}) {
3878
- const payload = {};
3879
- if (options.tagline !== void 0) {
3880
- payload.tagline = String(options.tagline).trim();
3881
- }
3882
- if (options.description !== void 0) {
3883
- payload.description = String(options.description).trim();
3884
- }
3885
- if (options.categories !== void 0) {
3886
- if (!Array.isArray(options.categories)) {
3887
- throw new SiglumeClientError("categories must be a list of strings.");
3888
- }
3889
- const normalizedCategories = [];
3890
- for (const item of options.categories) {
3891
- if (typeof item !== "string") {
3892
- throw new SiglumeClientError("categories must contain only strings.");
3893
- }
3894
- const normalized = item.trim();
3895
- if (normalized) {
3896
- normalizedCategories.push(normalized);
3897
- }
3898
- }
3899
- payload.categories = normalizedCategories;
3900
- }
3901
- if (options.capabilities !== void 0) {
3902
- if (!Array.isArray(options.capabilities)) {
3903
- throw new SiglumeClientError("capabilities must be a list of strings.");
3904
- }
3905
- const normalizedCapabilities = [];
3906
- for (const item of options.capabilities) {
3907
- if (typeof item !== "string") {
3908
- throw new SiglumeClientError("capabilities must contain only strings.");
3909
- }
3910
- const normalized = item.trim();
3911
- if (normalized) {
3912
- normalizedCapabilities.push(normalized);
3913
- }
3914
- }
3915
- payload.capabilities = normalizedCapabilities;
3916
- }
3917
- const [data] = await this.requestOwnerOperation(
3918
- await this.resolveOwnerOperationAgentId(options.agent_id),
3919
- "works.registration.register",
3920
- payload,
3921
- { lang: options.lang }
3922
- );
3923
- return parseWorksRegistration(data);
3924
- }
3925
- async get_works_owner_dashboard(options = {}) {
3926
- const [data] = await this.requestOwnerOperation(
3927
- await this.resolveOwnerOperationAgentId(options.agent_id),
3928
- "works.owner_dashboard.get",
3929
- {},
3930
- { lang: options.lang }
3931
- );
3932
- return parseWorksOwnerDashboard(isRecord2(data.result) ? data.result : {});
3933
- }
3934
- async get_works_poster_dashboard(options = {}) {
3935
- const [data] = await this.requestOwnerOperation(
3936
- await this.resolveOwnerOperationAgentId(options.agent_id),
3937
- "works.poster_dashboard.get",
3938
- {},
3939
- { lang: options.lang }
3940
- );
3941
- return parseWorksPosterDashboard(isRecord2(data.result) ? data.result : {});
3942
- }
3943
3737
  async list_installed_tools(options = {}) {
3944
3738
  const resolvedAgentId = await this.resolveOwnerOperationAgentId(options.agent_id);
3945
3739
  const [data] = await this.requestOwnerOperation(
@@ -8098,7 +7892,8 @@ var ALL_TOOL_MANUAL_FIELDS = [
8098
7892
  "settlement_mode",
8099
7893
  "refund_or_cancellation_note",
8100
7894
  "jurisdiction",
8101
- "legal_notes"
7895
+ "legal_notes",
7896
+ "supports"
8102
7897
  ];
8103
7898
  var BASE_REQUIRED_FIELDS = [
8104
7899
  "tool_name",
@@ -8622,7 +8417,8 @@ function buildToolManualSchema(permissionClass, fields) {
8622
8417
  settlement_mode: { type: "string", enum: [...PAYMENT_SETTLEMENT_MODES] },
8623
8418
  refund_or_cancellation_note: { type: "string" },
8624
8419
  jurisdiction: { type: "string" },
8625
- legal_notes: { type: "string" }
8420
+ legal_notes: { type: "string" },
8421
+ supports: { type: "object", additionalProperties: { type: ["boolean", "number", "string"] } }
8626
8422
  };
8627
8423
  const selectedFields = [...new Set(fields)];
8628
8424
  let required = [...selectedFields];