@vibeiao/sdk 0.1.58 → 0.1.60

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.ts CHANGED
@@ -6,7 +6,7 @@ export { SurvivalMode, SurvivalRecommendation, classifySurvivalMode, formatSurvi
6
6
  export { SurvivalIntegrationDecision, getSurvivalPlaybookDecision, getSurvivalPlaybookDecisionFromSelfReliance } from './survivalIntegration.js';
7
7
  export { EscapeHatchDecision, EscapeHatchPolicy, EscapeHatchSnapshot, evaluateEscapeHatch, formatEscapeHatchDecision } from './survivalEscapeHatch.js';
8
8
  export { MarketDiscoveryClient, MarketNeed, MarketSignal, deriveMarketNeeds, discoverMarketNeeds, extractMarketSignals, runMarketDiscovery } from './marketDiscovery.js';
9
- export { A as AdapterBestShotChecklistResult, a as AdapterPackKind, b as AdapterPackOptions, c as AdaptiveAdaptationPlan, d as AdaptiveExecution, e as AdaptiveFeedbackAggregate, f as AdaptivePolicyConfig, g as AdaptivePolicyDecision, h as AdaptivePolicyState, i as AdaptiveReflectionStore, j as AdaptiveTheme, k as AdaptiveVerification, l as AgentCronCycleResult, m as AgentCronCycleState, n as AgentCronHealth, o as AgentCronReflectResult, p as AgentCronResearchResult, q as AgentCronRuntimeAdapter, r as AgentLaunchRuntimeOptions, s as AgentLaunchRuntimeResult, t as AgentResourceProvidersManifest, u as AgentReviewRuntimeOptions, v as AnalyticsPoint, w as ApiCreditProvider, x as ApiCreditProviderFactoryOptions, y as ApiCreditProviderPreset, z as ApiCreditProviderPresetInput, B as ApiResponse, C as BuybackEvent, D as CONTEXT_PACK_SECTION_ORDER, E as ContextPack, F as ContextPackBudget, G as ContextPackGateOptions, H as ContextPackGateResult, I as ContextPackInput, J as ContextPackOptions, K as ContextPackSectionKey, L as ContextPackSections, M as ContextPackState, N as DurabilityCheckpointWriteOptions, O as DurabilityProxyClientOptions, P as DurabilityRestoreDrillWriteOptions, Q as ExecutionAdapter, R as ExecutionApplyResult, S as ExecutionDecisionRecord, T as ExecutionDryRunResult, U as ExecutionPostDeployVerifyResult, V as ExecutionRollbackResult, W as ExecutionRolloutMode, X as ExecutionRunResult, Y as ExecutionValidateResult, Z as LISTING_NAME_MAX_LENGTH, _ as LISTING_NAME_RECOMMENDED_MAX, $ as LISTING_TAGLINE_MAX_LENGTH, a0 as LISTING_TAGLINE_RECOMMENDED_MAX, a1 as LaunchProfile, a2 as LaunchReadinessInput, a3 as LaunchReadinessResult, a4 as LeaderboardEntry, a5 as LeaderboardQuery, a6 as ListingNamingValidationOptions, a7 as ListingNamingValidationResult, a8 as ListingQuery, a9 as ListingReviewCreatePayload, aa as ListingReviewResponsePayload, ab as ListingVersionPayload, ac as MarketingCampaign, ad as MarketingLinkOptions, ae as MemoryPingChallengeResponse, af as MemoryPingPayload, ag as OpenRouterCredits, ah as ProcurementCandidate, ai as ProcurementDecision, aj as ProcurementTaskProfile, ak as ProcurementWeights, al as PublishCandidate, am as PublishDeployResult, an as PublishListingResult, ao as PublishListingType, ap as PublishPrepareResult, aq as PublishProductKind, ar as PublishRuntimeAdapter, as as PublishRuntimeMode, at as PublishRuntimeResult, au as PublishValidateResult, av as PublishVerifyResult, aw as ResourceProviderManifestEntry, ax as ResourceSnapshot, ay as ReviewGate, az as ReviewGateRecord, aA as ReviewRequiredPayload, aB as RunAdaptiveReflectionOptions, aC as RuntimeMigrationInput, aD as RuntimeMigrationPlan, aE as RuntimeStateSnapshot, aF as SdkAutoUpdatedRestartRequiredError, aG as SdkUpdateCheckOptions, aH as SdkUpdatePolicyCheckOptions, aI as SdkUpdateRequiredError, aJ as SdkUpdateStatus, TopupDecision, TopupRequest, TreasuryLedgerEvent, TreasuryPolicy, TreasuryPolicyV1, TreasuryState, aK as VIBEIAO_IDL, aL as VibeClient, aM as VibeClientOptions, aN as VibeRegistry, aO as aggregateFeedbackSignals, aP as assertLaunchReady, aQ as assertSurvivalProvidersConfigured, aR as buildAdaptivePlan, aS as buildBadgeMarkdown, aT as buildClaimMessage, aU as buildDecisionRecord, aV as buildJupiterSwapUrl, aW as buildListingVersionMessage, aX as buildMemoryPingMessage, aY as buildOwnerTransferMessage, aZ as buildProcurementPrompt, a_ as buildRaydiumSwapUrl, a$ as buildReviewPrompt, b0 as buildReviewRequired, b1 as buildReviewResponseMessage, b2 as buildRuntimeMigrationPlan, b3 as buildSdkUpdateCommand, b4 as buildShareCopy, b5 as buildShareLink, b6 as buildTradeLinks, buildTreasuryLedgerEvent, b7 as checkForSdkUpdate, b8 as checkForSdkUpdatePolicy, b9 as compareVersions, ba as createApiCreditProvider, bb as createApiCreditProviders, bc as createApiCreditProvidersFromManifest, bd as createCampaign, be as createContextPack, bf as createCustomAdapter, bg as createDurabilityProxyClient, bh as createServiceApiAdapter, createTreasuryPolicy, bi as createWebBundledAdapter, bj as createWebStaticAdapter, bk as createWorkflowAgentAdapter, bl as decideProcurementForTask, bm as estimateContextPackTokens, bn as evaluateAdaptiveReflectionPolicy, bo as evaluateContextPackGate, bp as evaluateLaunchReadiness, evaluateTopupRequest, bq as getResourceSnapshot, br as normalizeListingText, bs as rankListingsForTask, bt as runAdapterBestShotChecklist, bu as runAdaptiveReflectionCycle, bv as runAgentCronRuntimeCycle, bw as runAgentLaunchRuntime, bx as runAgentLaunchRuntimeCycle, by as runAgentPublishRuntimeCycle, bz as runAgentReviewRuntimeCycle, bA as runExecutionAdapter, bB as sanitizeListingNaming, bC as scoreListingForTask, bD as shouldAnnounceStateChange, treasuryStateFromSnapshot, bE as validateContextPack, bF as validateListingNaming, validateTreasuryPolicy, bG as verifyAdaptiveExecutionReadiness } from './treasuryGuardian.js';
9
+ export { A as AdapterBestShotChecklistResult, a as AdapterPackKind, b as AdapterPackOptions, c as AdaptiveAdaptationPlan, d as AdaptiveExecution, e as AdaptiveFeedbackAggregate, f as AdaptivePolicyConfig, g as AdaptivePolicyDecision, h as AdaptivePolicyState, i as AdaptiveReflectionStore, j as AdaptiveTheme, k as AdaptiveVerification, l as AgentCronCycleResult, m as AgentCronCycleState, n as AgentCronHealth, o as AgentCronReflectResult, p as AgentCronResearchResult, q as AgentCronRuntimeAdapter, r as AgentCronSchedulePreset, s as AgentLaunchRuntimeOptions, t as AgentLaunchRuntimeResult, u as AgentResourceProvidersManifest, v as AgentReviewRuntimeOptions, w as AnalyticsPoint, x as ApiCreditProvider, y as ApiCreditProviderFactoryOptions, z as ApiCreditProviderPreset, B as ApiCreditProviderPresetInput, C as ApiResponse, D as BuybackEvent, E as CONTEXT_PACK_SECTION_ORDER, F as ContextPack, G as ContextPackBudget, H as ContextPackGateOptions, I as ContextPackGateResult, J as ContextPackInput, K as ContextPackOptions, L as ContextPackSectionKey, M as ContextPackSections, N as ContextPackState, O as DurabilityCheckpointWriteOptions, P as DurabilityProxyClientOptions, Q as DurabilityRestoreDrillWriteOptions, R as ExecutionAdapter, S as ExecutionApplyResult, T as ExecutionDecisionRecord, U as ExecutionDryRunResult, V as ExecutionPostDeployVerifyResult, W as ExecutionRollbackResult, X as ExecutionRolloutMode, Y as ExecutionRunResult, Z as ExecutionValidateResult, _ as LISTING_NAME_MAX_LENGTH, $ as LISTING_NAME_RECOMMENDED_MAX, a0 as LISTING_TAGLINE_MAX_LENGTH, a1 as LISTING_TAGLINE_RECOMMENDED_MAX, a2 as LaunchProfile, a3 as LaunchReadinessInput, a4 as LaunchReadinessResult, a5 as LeaderboardEntry, a6 as LeaderboardQuery, a7 as ListingNamingValidationOptions, a8 as ListingNamingValidationResult, a9 as ListingQuery, aa as ListingReviewCreatePayload, ab as ListingReviewResponsePayload, ac as ListingVersionPayload, ad as MarketingCampaign, ae as MarketingLinkOptions, af as MemoryPingChallengeResponse, ag as MemoryPingPayload, ah as OpenRouterCredits, ai as ProcurementCandidate, aj as ProcurementDecision, ak as ProcurementTaskProfile, al as ProcurementWeights, am as PublishCandidate, an as PublishDeployResult, ao as PublishListingResult, ap as PublishListingType, aq as PublishMode, ar as PublishPrepareResult, as as PublishProductKind, at as PublishRuntimeAdapter, au as PublishRuntimeMode, av as PublishRuntimeResult, aw as PublishValidateResult, ax as PublishVerifyResult, ay as ResourceProviderManifestEntry, az as ResourceSnapshot, aA as ReviewGate, aB as ReviewGateRecord, aC as ReviewRequiredPayload, aD as RunAdaptiveReflectionOptions, aE as RuntimeMigrationInput, aF as RuntimeMigrationPlan, aG as RuntimeStateSnapshot, aH as SdkAutoUpdatedRestartRequiredError, aI as SdkUpdateCheckOptions, aJ as SdkUpdatePolicyCheckOptions, aK as SdkUpdateRequiredError, aL as SdkUpdateStatus, TopupDecision, TopupRequest, TreasuryLedgerEvent, TreasuryPolicy, TreasuryPolicyV1, TreasuryState, aM as VIBEIAO_IDL, aN as VibeClient, aO as VibeClientOptions, aP as VibeRegistry, aQ as aggregateFeedbackSignals, aR as assertLaunchReady, aS as assertSurvivalProvidersConfigured, aT as buildAdaptivePlan, aU as buildBadgeMarkdown, aV as buildClaimMessage, aW as buildDecisionRecord, aX as buildJupiterSwapUrl, aY as buildListingVersionMessage, aZ as buildMemoryPingMessage, a_ as buildOwnerTransferMessage, a$ as buildProcurementPrompt, b0 as buildRaydiumSwapUrl, b1 as buildReviewPrompt, b2 as buildReviewRequired, b3 as buildReviewResponseMessage, b4 as buildRuntimeMigrationPlan, b5 as buildSdkUpdateCommand, b6 as buildShareCopy, b7 as buildShareLink, b8 as buildTradeLinks, buildTreasuryLedgerEvent, b9 as checkForSdkUpdate, ba as checkForSdkUpdatePolicy, bb as compareVersions, bc as createApiCreditProvider, bd as createApiCreditProviders, be as createApiCreditProvidersFromManifest, bf as createCampaign, bg as createContextPack, bh as createCustomAdapter, bi as createDailyLocalMidnightSchedule, bj as createDurabilityProxyClient, bk as createServiceApiAdapter, createTreasuryPolicy, bl as createWebBundledAdapter, bm as createWebStaticAdapter, bn as createWorkflowAgentAdapter, bo as decideProcurementForTask, bp as estimateContextPackTokens, bq as evaluateAdaptiveReflectionPolicy, br as evaluateContextPackGate, bs as evaluateLaunchReadiness, evaluateTopupRequest, bt as getResourceSnapshot, bu as normalizeListingText, bv as rankListingsForTask, bw as resolveLocalTimezone, bx as runAdapterBestShotChecklist, by as runAdaptiveReflectionCycle, bz as runAgentCronRuntimeCycle, bA as runAgentLaunchRuntime, bB as runAgentLaunchRuntimeCycle, bC as runAgentPublishRuntimeCycle, bD as runAgentReviewRuntimeCycle, bE as runExecutionAdapter, bF as sanitizeListingNaming, bG as scoreListingForTask, bH as shouldAnnounceStateChange, treasuryStateFromSnapshot, bI as validateContextPack, bJ as validateListingNaming, validateTreasuryPolicy, bK as verifyAdaptiveExecutionReadiness } from './treasuryGuardian.js';
10
10
  export { OUTCOME_BOUND_FLOW_SCHEMA, OUTCOME_BOUND_REQUIRED_GATES, OutcomeBoundRequiredGate, OutcomeBoundRunInput, OutcomeBoundRunStatus, assertOutcomeBoundCompleted, evaluateOutcomeBoundRun } from './outcomeBoundFlow.js';
11
11
  export { STRICT_MEMORY_RUNTIME_SCHEMA, StrictMemoryEvaluation, StrictMemoryEvaluationInput, StrictMemoryRuntimePreset, StrictMemoryTriggerSet, StrictMemoryUpgradeInput, StrictMemoryUpgradePolicy, StrictMemoryUpgradeResult, createStrictMemoryRuntimePreset, evaluateStrictMemoryExecution, isComplexTask, upgradeToStrictMemoryRuntimePreset } from './strictMemoryRuntime.js';
12
12
  export { I as IntentSignals, L as LaneMode, a as LaneSwitchDecision, O as ObjectiveChangeProposal, b as ObjectiveChangeSourceTrust, c as ObjectiveGuardDecision, d as ObjectiveGuardPolicy, P as PromptShieldDecision, e as PromptShieldFlag, f as PromptShieldInput, g as PromptShieldPolicy, h as PromptShieldRisk, i as PromptShieldTrustLevel, j as applyIntentArbitration, k as evaluateLaneSwitch, l as evaluateObjectiveChange, m as evaluatePromptShield, s as scoreBuildLane, n as scorePolishLane } from './agentLoop-DAkl2g28.js';
package/dist/index.js CHANGED
@@ -952,7 +952,7 @@ var runAgentLaunchRuntimeCycle = runAgentLaunchRuntime;
952
952
 
953
953
  // src/agentPublishRuntime.ts
954
954
  var normalized = (v) => String(v || "").trim().toLowerCase();
955
- var enforcePublishKindGuard = (candidate, listing) => {
955
+ var enforcePublishKindGuard = (candidate, listing, policy) => {
956
956
  const kind = candidate.productKind;
957
957
  if (!kind) return "publish_gate_blocked:missing_product_kind";
958
958
  const listingType = normalized(listing.listingType);
@@ -970,10 +970,34 @@ var enforcePublishKindGuard = (candidate, listing) => {
970
970
  if (kind === "human_saas" && !category.includes("saas")) {
971
971
  return "publish_gate_blocked:human_saas_requires_saas_category";
972
972
  }
973
+ if (!policy.lineageEnabled) return null;
974
+ if (!candidate.lineageKey) return "publish_gate_blocked:missing_lineage_key";
975
+ const mode = listing.publishMode || "create_new";
976
+ if (candidate.lineageExistingListingId) {
977
+ if (mode === "update_existing") {
978
+ if (listing.listingId !== candidate.lineageExistingListingId) {
979
+ return "publish_gate_blocked:update_target_mismatch";
980
+ }
981
+ } else {
982
+ if (!candidate.allowNewLineageBranch) {
983
+ return "publish_gate_blocked:existing_lineage_requires_update";
984
+ }
985
+ if (typeof candidate.lineageNoveltyScore !== "number") {
986
+ return "publish_gate_blocked:missing_novelty_for_lineage_branch";
987
+ }
988
+ if (candidate.lineageNoveltyScore < policy.minNoveltyForNewLineage) {
989
+ return "publish_gate_blocked:lineage_novelty_below_threshold";
990
+ }
991
+ }
992
+ } else if (mode === "update_existing") {
993
+ return "publish_gate_blocked:no_existing_lineage_for_update";
994
+ }
973
995
  return null;
974
996
  };
975
997
  var runAgentPublishRuntimeCycle = async (input) => {
976
998
  const mode = input.mode ?? "enforce";
999
+ const lineageEnabled = input.lineagePolicy?.enabled ?? true;
1000
+ const minNoveltyForNewLineage = input.lineagePolicy?.minNoveltyForNewLineage ?? 0.35;
977
1001
  const adapter = input.adapter;
978
1002
  if (!adapter) {
979
1003
  return {
@@ -1041,7 +1065,10 @@ var runAgentPublishRuntimeCycle = async (input) => {
1041
1065
  listing
1042
1066
  };
1043
1067
  }
1044
- const gateError = enforcePublishKindGuard(candidate, listing);
1068
+ const gateError = enforcePublishKindGuard(candidate, listing, {
1069
+ lineageEnabled,
1070
+ minNoveltyForNewLineage
1071
+ });
1045
1072
  if (gateError) {
1046
1073
  return {
1047
1074
  mode,
@@ -1107,6 +1134,19 @@ var runAgentPublishRuntimeCycle = async (input) => {
1107
1134
  };
1108
1135
 
1109
1136
  // src/agentCronRuntime.ts
1137
+ var resolveLocalTimezone = () => {
1138
+ try {
1139
+ const tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
1140
+ return tz && typeof tz === "string" ? tz : "UTC";
1141
+ } catch {
1142
+ return "UTC";
1143
+ }
1144
+ };
1145
+ var createDailyLocalMidnightSchedule = (input) => ({
1146
+ expr: "0 0 * * *",
1147
+ tz: input?.tz || resolveLocalTimezone(),
1148
+ staggerMs: 0
1149
+ });
1110
1150
  var runAgentCronRuntimeCycle = async (input) => {
1111
1151
  const previous = input.state || {};
1112
1152
  const health = await input.adapter.health();
@@ -1318,7 +1358,7 @@ var ReviewGate = class {
1318
1358
  var DEFAULT_API_BASE = "https://api.vibeiao.com";
1319
1359
  var DEFAULT_WEB_BASE = "https://vibeiao.com";
1320
1360
  var DEFAULT_SDK_PACKAGE = "@vibeiao/sdk";
1321
- var DEFAULT_SDK_VERSION = "0.1.57" ? "0.1.57" : "0.1.4";
1361
+ var DEFAULT_SDK_VERSION = "0.1.59" ? "0.1.59" : "0.1.4";
1322
1362
  var DEFAULT_SDK_REGISTRY = "https://registry.npmjs.org";
1323
1363
  var DEFAULT_SDK_POLICY_PATH = "/v1/sdk/policy";
1324
1364
  var DEFAULT_SDK_CHECK_INTERVAL_MS = 1e3 * 60 * 30;
@@ -2488,6 +2528,7 @@ export {
2488
2528
  createCampaign,
2489
2529
  createContextPack,
2490
2530
  createCustomAdapter,
2531
+ createDailyLocalMidnightSchedule,
2491
2532
  createDurabilityProxyClient,
2492
2533
  createInMemoryReflectionStore,
2493
2534
  createSelfRelianceMonitor,
@@ -2526,6 +2567,7 @@ export {
2526
2567
  isComplexTask,
2527
2568
  normalizeListingText,
2528
2569
  rankListingsForTask,
2570
+ resolveLocalTimezone,
2529
2571
  runAdapterBestShotChecklist,
2530
2572
  runAdaptiveReflectionCycle,
2531
2573
  runAgentCronRuntimeCycle,
@@ -1165,11 +1165,16 @@ declare const runAgentLaunchRuntimeCycle: (options: AgentLaunchRuntimeOptions) =
1165
1165
  type PublishRuntimeMode = 'observe' | 'enforce';
1166
1166
  type PublishProductKind = 'agent_app' | 'human_game' | 'human_saas';
1167
1167
  type PublishListingType = 'agent' | 'human';
1168
+ type PublishMode = 'create_new' | 'update_existing';
1168
1169
  type PublishCandidate = {
1169
1170
  id: string;
1170
1171
  dir?: string;
1171
1172
  meta?: Record<string, unknown>;
1172
1173
  productKind?: PublishProductKind;
1174
+ lineageKey?: string;
1175
+ lineageExistingListingId?: string;
1176
+ lineageNoveltyScore?: number;
1177
+ allowNewLineageBranch?: boolean;
1173
1178
  };
1174
1179
  type PublishPrepareResult = {
1175
1180
  changed: boolean;
@@ -1186,6 +1191,7 @@ type PublishListingResult = {
1186
1191
  claimId?: string;
1187
1192
  listingType?: PublishListingType;
1188
1193
  category?: string;
1194
+ publishMode?: PublishMode;
1189
1195
  };
1190
1196
  type PublishDeployResult = {
1191
1197
  productUrl?: string;
@@ -1231,8 +1237,17 @@ type PublishRuntimeResult = {
1231
1237
  declare const runAgentPublishRuntimeCycle: (input: {
1232
1238
  mode?: PublishRuntimeMode;
1233
1239
  adapter?: PublishRuntimeAdapter;
1240
+ lineagePolicy?: {
1241
+ enabled?: boolean;
1242
+ minNoveltyForNewLineage?: number;
1243
+ };
1234
1244
  }) => Promise<PublishRuntimeResult>;
1235
1245
 
1246
+ type AgentCronSchedulePreset = {
1247
+ expr: string;
1248
+ tz: string;
1249
+ staggerMs?: number;
1250
+ };
1236
1251
  type AgentCronCycleState = {
1237
1252
  lane?: LaneMode;
1238
1253
  greenStreak?: number;
@@ -1263,6 +1278,11 @@ type AgentCronCycleResult = {
1263
1278
  laneDecision: LaneSwitchDecision;
1264
1279
  publish?: PublishRuntimeResult;
1265
1280
  };
1281
+ declare const resolveLocalTimezone: () => string;
1282
+ /** Default builder cadence preset: 00:00 local time every day. */
1283
+ declare const createDailyLocalMidnightSchedule: (input?: {
1284
+ tz?: string;
1285
+ }) => AgentCronSchedulePreset;
1266
1286
  declare const runAgentCronRuntimeCycle: (input: {
1267
1287
  adapter: AgentCronRuntimeAdapter;
1268
1288
  state?: AgentCronCycleState;
@@ -1762,4 +1782,4 @@ declare const getResourceSnapshot: (options: {
1762
1782
  apiBase?: string;
1763
1783
  }) => Promise<ResourceSnapshot>;
1764
1784
 
1765
- export { LISTING_TAGLINE_MAX_LENGTH as $, type AdapterBestShotChecklistResult as A, type ApiResponse as B, type BuybackEvent as C, CONTEXT_PACK_SECTION_ORDER as D, type ContextPack as E, type ContextPackBudget as F, type ContextPackGateOptions as G, type ContextPackGateResult as H, type ContextPackInput as I, type ContextPackOptions as J, type ContextPackSectionKey as K, type ContextPackSections as L, type ContextPackState as M, type DurabilityCheckpointWriteOptions as N, type DurabilityProxyClientOptions as O, type DurabilityRestoreDrillWriteOptions as P, type ExecutionAdapter as Q, type ExecutionApplyResult as R, type ExecutionDecisionRecord as S, type ExecutionDryRunResult as T, type TopupDecision, type TopupRequest, type TreasuryLedgerEvent, type TreasuryPolicy, type TreasuryPolicyV1, type TreasuryState, type ExecutionPostDeployVerifyResult as U, type ExecutionRollbackResult as V, type ExecutionRolloutMode as W, type ExecutionRunResult as X, type ExecutionValidateResult as Y, LISTING_NAME_MAX_LENGTH as Z, LISTING_NAME_RECOMMENDED_MAX as _, type AdapterPackKind as a, buildReviewPrompt as a$, LISTING_TAGLINE_RECOMMENDED_MAX as a0, type LaunchProfile as a1, type LaunchReadinessInput as a2, type LaunchReadinessResult as a3, type LeaderboardEntry as a4, type LeaderboardQuery as a5, type ListingNamingValidationOptions as a6, type ListingNamingValidationResult as a7, type ListingQuery as a8, type ListingReviewCreatePayload as a9, type ReviewRequiredPayload as aA, type RunAdaptiveReflectionOptions as aB, type RuntimeMigrationInput as aC, type RuntimeMigrationPlan as aD, type RuntimeStateSnapshot as aE, SdkAutoUpdatedRestartRequiredError as aF, type SdkUpdateCheckOptions as aG, type SdkUpdatePolicyCheckOptions as aH, SdkUpdateRequiredError as aI, type SdkUpdateStatus as aJ, VIBEIAO_IDL as aK, VibeClient as aL, type VibeClientOptions as aM, VibeRegistry as aN, aggregateFeedbackSignals as aO, assertLaunchReady as aP, assertSurvivalProvidersConfigured as aQ, buildAdaptivePlan as aR, buildBadgeMarkdown as aS, buildClaimMessage as aT, buildDecisionRecord as aU, buildJupiterSwapUrl as aV, buildListingVersionMessage as aW, buildMemoryPingMessage as aX, buildOwnerTransferMessage as aY, buildProcurementPrompt as aZ, buildRaydiumSwapUrl as a_, type ListingReviewResponsePayload as aa, type ListingVersionPayload as ab, type MarketingCampaign as ac, type MarketingLinkOptions as ad, type MemoryPingChallengeResponse as ae, type MemoryPingPayload as af, type OpenRouterCredits as ag, type ProcurementCandidate as ah, type ProcurementDecision as ai, type ProcurementTaskProfile as aj, type ProcurementWeights as ak, type PublishCandidate as al, type PublishDeployResult as am, type PublishListingResult as an, type PublishListingType as ao, type PublishPrepareResult as ap, type PublishProductKind as aq, type PublishRuntimeAdapter as ar, type PublishRuntimeMode as as, type PublishRuntimeResult as at, type PublishValidateResult as au, type PublishVerifyResult as av, type ResourceProviderManifestEntry as aw, type ResourceSnapshot as ax, ReviewGate as ay, type ReviewGateRecord as az, type AdapterPackOptions as b, buildReviewRequired as b0, buildReviewResponseMessage as b1, buildRuntimeMigrationPlan as b2, buildSdkUpdateCommand as b3, buildShareCopy as b4, buildShareLink as b5, buildTradeLinks as b6, checkForSdkUpdate as b7, checkForSdkUpdatePolicy as b8, compareVersions as b9, runExecutionAdapter as bA, sanitizeListingNaming as bB, scoreListingForTask as bC, shouldAnnounceStateChange as bD, validateContextPack as bE, validateListingNaming as bF, verifyAdaptiveExecutionReadiness as bG, createApiCreditProvider as ba, createApiCreditProviders as bb, createApiCreditProvidersFromManifest as bc, createCampaign as bd, createContextPack as be, createCustomAdapter as bf, createDurabilityProxyClient as bg, createServiceApiAdapter as bh, createWebBundledAdapter as bi, createWebStaticAdapter as bj, createWorkflowAgentAdapter as bk, decideProcurementForTask as bl, estimateContextPackTokens as bm, evaluateAdaptiveReflectionPolicy as bn, evaluateContextPackGate as bo, evaluateLaunchReadiness as bp, getResourceSnapshot as bq, normalizeListingText as br, rankListingsForTask as bs, runAdapterBestShotChecklist as bt, runAdaptiveReflectionCycle as bu, buildTreasuryLedgerEvent, runAgentCronRuntimeCycle as bv, runAgentLaunchRuntime as bw, runAgentLaunchRuntimeCycle as bx, runAgentPublishRuntimeCycle as by, runAgentReviewRuntimeCycle as bz, type AdaptiveAdaptationPlan as c, createTreasuryPolicy, type AdaptiveExecution as d, type AdaptiveFeedbackAggregate as e, evaluateTopupRequest, type AdaptivePolicyConfig as f, type AdaptivePolicyDecision as g, type AdaptivePolicyState as h, type AdaptiveReflectionStore as i, type AdaptiveTheme as j, type AdaptiveVerification as k, type AgentCronCycleResult as l, type AgentCronCycleState as m, type AgentCronHealth as n, type AgentCronReflectResult as o, type AgentCronResearchResult as p, type AgentCronRuntimeAdapter as q, type AgentLaunchRuntimeOptions as r, type AgentLaunchRuntimeResult as s, type AgentResourceProvidersManifest as t, treasuryStateFromSnapshot, type AgentReviewRuntimeOptions as u, type AnalyticsPoint as v, validateTreasuryPolicy, type ApiCreditProvider as w, type ApiCreditProviderFactoryOptions as x, type ApiCreditProviderPreset as y, type ApiCreditProviderPresetInput as z };
1785
+ export { LISTING_NAME_RECOMMENDED_MAX as $, type AdapterBestShotChecklistResult as A, type ApiCreditProviderPresetInput as B, type ApiResponse as C, type BuybackEvent as D, CONTEXT_PACK_SECTION_ORDER as E, type ContextPack as F, type ContextPackBudget as G, type ContextPackGateOptions as H, type ContextPackGateResult as I, type ContextPackInput as J, type ContextPackOptions as K, type ContextPackSectionKey as L, type ContextPackSections as M, type ContextPackState as N, type DurabilityCheckpointWriteOptions as O, type DurabilityProxyClientOptions as P, type DurabilityRestoreDrillWriteOptions as Q, type ExecutionAdapter as R, type ExecutionApplyResult as S, type ExecutionDecisionRecord as T, type TopupDecision, type TopupRequest, type TreasuryLedgerEvent, type TreasuryPolicy, type TreasuryPolicyV1, type TreasuryState, type ExecutionDryRunResult as U, type ExecutionPostDeployVerifyResult as V, type ExecutionRollbackResult as W, type ExecutionRolloutMode as X, type ExecutionRunResult as Y, type ExecutionValidateResult as Z, LISTING_NAME_MAX_LENGTH as _, type AdapterPackKind as a, buildProcurementPrompt as a$, LISTING_TAGLINE_MAX_LENGTH as a0, LISTING_TAGLINE_RECOMMENDED_MAX as a1, type LaunchProfile as a2, type LaunchReadinessInput as a3, type LaunchReadinessResult as a4, type LeaderboardEntry as a5, type LeaderboardQuery as a6, type ListingNamingValidationOptions as a7, type ListingNamingValidationResult as a8, type ListingQuery as a9, ReviewGate as aA, type ReviewGateRecord as aB, type ReviewRequiredPayload as aC, type RunAdaptiveReflectionOptions as aD, type RuntimeMigrationInput as aE, type RuntimeMigrationPlan as aF, type RuntimeStateSnapshot as aG, SdkAutoUpdatedRestartRequiredError as aH, type SdkUpdateCheckOptions as aI, type SdkUpdatePolicyCheckOptions as aJ, SdkUpdateRequiredError as aK, type SdkUpdateStatus as aL, VIBEIAO_IDL as aM, VibeClient as aN, type VibeClientOptions as aO, VibeRegistry as aP, aggregateFeedbackSignals as aQ, assertLaunchReady as aR, assertSurvivalProvidersConfigured as aS, buildAdaptivePlan as aT, buildBadgeMarkdown as aU, buildClaimMessage as aV, buildDecisionRecord as aW, buildJupiterSwapUrl as aX, buildListingVersionMessage as aY, buildMemoryPingMessage as aZ, buildOwnerTransferMessage as a_, type ListingReviewCreatePayload as aa, type ListingReviewResponsePayload as ab, type ListingVersionPayload as ac, type MarketingCampaign as ad, type MarketingLinkOptions as ae, type MemoryPingChallengeResponse as af, type MemoryPingPayload as ag, type OpenRouterCredits as ah, type ProcurementCandidate as ai, type ProcurementDecision as aj, type ProcurementTaskProfile as ak, type ProcurementWeights as al, type PublishCandidate as am, type PublishDeployResult as an, type PublishListingResult as ao, type PublishListingType as ap, type PublishMode as aq, type PublishPrepareResult as ar, type PublishProductKind as as, type PublishRuntimeAdapter as at, type PublishRuntimeMode as au, type PublishRuntimeResult as av, type PublishValidateResult as aw, type PublishVerifyResult as ax, type ResourceProviderManifestEntry as ay, type ResourceSnapshot as az, type AdapterPackOptions as b, buildRaydiumSwapUrl as b0, buildReviewPrompt as b1, buildReviewRequired as b2, buildReviewResponseMessage as b3, buildRuntimeMigrationPlan as b4, buildSdkUpdateCommand as b5, buildShareCopy as b6, buildShareLink as b7, buildTradeLinks as b8, checkForSdkUpdate as b9, runAgentLaunchRuntime as bA, runAgentLaunchRuntimeCycle as bB, runAgentPublishRuntimeCycle as bC, runAgentReviewRuntimeCycle as bD, runExecutionAdapter as bE, sanitizeListingNaming as bF, scoreListingForTask as bG, shouldAnnounceStateChange as bH, validateContextPack as bI, validateListingNaming as bJ, verifyAdaptiveExecutionReadiness as bK, checkForSdkUpdatePolicy as ba, compareVersions as bb, createApiCreditProvider as bc, createApiCreditProviders as bd, createApiCreditProvidersFromManifest as be, createCampaign as bf, createContextPack as bg, createCustomAdapter as bh, createDailyLocalMidnightSchedule as bi, createDurabilityProxyClient as bj, createServiceApiAdapter as bk, createWebBundledAdapter as bl, createWebStaticAdapter as bm, createWorkflowAgentAdapter as bn, decideProcurementForTask as bo, estimateContextPackTokens as bp, evaluateAdaptiveReflectionPolicy as bq, evaluateContextPackGate as br, evaluateLaunchReadiness as bs, getResourceSnapshot as bt, normalizeListingText as bu, buildTreasuryLedgerEvent, rankListingsForTask as bv, resolveLocalTimezone as bw, runAdapterBestShotChecklist as bx, runAdaptiveReflectionCycle as by, runAgentCronRuntimeCycle as bz, type AdaptiveAdaptationPlan as c, createTreasuryPolicy, type AdaptiveExecution as d, type AdaptiveFeedbackAggregate as e, evaluateTopupRequest, type AdaptivePolicyConfig as f, type AdaptivePolicyDecision as g, type AdaptivePolicyState as h, type AdaptiveReflectionStore as i, type AdaptiveTheme as j, type AdaptiveVerification as k, type AgentCronCycleResult as l, type AgentCronCycleState as m, type AgentCronHealth as n, type AgentCronReflectResult as o, type AgentCronResearchResult as p, type AgentCronRuntimeAdapter as q, type AgentCronSchedulePreset as r, type AgentLaunchRuntimeOptions as s, type AgentLaunchRuntimeResult as t, treasuryStateFromSnapshot, type AgentResourceProvidersManifest as u, type AgentReviewRuntimeOptions as v, validateTreasuryPolicy, type AnalyticsPoint as w, type ApiCreditProvider as x, type ApiCreditProviderFactoryOptions as y, type ApiCreditProviderPreset as z };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@vibeiao/sdk",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.1.58",
5
+ "version": "0.1.60",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "exports": {