@genobank/biofs 2.4.1 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/LICENSE +37 -0
- package/README.md +2 -1
- package/bin/biofs.js +2 -1
- package/contracts/ClaraJobNFT.sol +101 -0
- package/dist/commands/agent/health.js +1 -1
- package/dist/commands/agent/health.js.map +1 -1
- package/dist/commands/agent/list.d.ts +14 -0
- package/dist/commands/agent/list.d.ts.map +1 -0
- package/dist/commands/agent/list.js +101 -0
- package/dist/commands/agent/list.js.map +1 -0
- package/dist/commands/agent/register.d.ts +18 -0
- package/dist/commands/agent/register.d.ts.map +1 -0
- package/dist/commands/agent/register.js +120 -0
- package/dist/commands/agent/register.js.map +1 -0
- package/dist/commands/agent/status.d.ts +14 -0
- package/dist/commands/agent/status.d.ts.map +1 -0
- package/dist/commands/agent/status.js +151 -0
- package/dist/commands/agent/status.js.map +1 -0
- package/dist/commands/annotate/status.d.ts +11 -0
- package/dist/commands/annotate/status.d.ts.map +1 -0
- package/dist/commands/annotate/status.js +123 -0
- package/dist/commands/annotate/status.js.map +1 -0
- package/dist/commands/annotate/submit.d.ts +23 -0
- package/dist/commands/annotate/submit.d.ts.map +1 -0
- package/dist/commands/annotate/submit.js +296 -0
- package/dist/commands/annotate/submit.js.map +1 -0
- package/dist/commands/family-status.d.ts +12 -0
- package/dist/commands/family-status.d.ts.map +1 -0
- package/dist/commands/family-status.js +220 -0
- package/dist/commands/family-status.js.map +1 -0
- package/dist/commands/job/status.d.ts +1 -0
- package/dist/commands/job/status.d.ts.map +1 -1
- package/dist/commands/job/status.js.map +1 -1
- package/dist/commands/link-clara.d.ts +20 -0
- package/dist/commands/link-clara.d.ts.map +1 -0
- package/dist/commands/link-clara.js +234 -0
- package/dist/commands/link-clara.js.map +1 -0
- package/dist/commands/mount-remote.d.ts +1 -1
- package/dist/commands/mount-remote.js +1 -1
- package/dist/commands/payment/balance.d.ts +12 -0
- package/dist/commands/payment/balance.d.ts.map +1 -0
- package/dist/commands/payment/balance.js +101 -0
- package/dist/commands/payment/balance.js.map +1 -0
- package/dist/commands/payment/faucet.d.ts +11 -0
- package/dist/commands/payment/faucet.d.ts.map +1 -0
- package/dist/commands/payment/faucet.js +92 -0
- package/dist/commands/payment/faucet.js.map +1 -0
- package/dist/commands/payment/history.d.ts +27 -0
- package/dist/commands/payment/history.d.ts.map +1 -0
- package/dist/commands/payment/history.js +162 -0
- package/dist/commands/payment/history.js.map +1 -0
- package/dist/commands/payment/pricing.d.ts +12 -0
- package/dist/commands/payment/pricing.d.ts.map +1 -0
- package/dist/commands/payment/pricing.js +65 -0
- package/dist/commands/payment/pricing.js.map +1 -0
- package/dist/commands/payment/setup.d.ts +25 -0
- package/dist/commands/payment/setup.d.ts.map +1 -0
- package/dist/commands/payment/setup.js +155 -0
- package/dist/commands/payment/setup.js.map +1 -0
- package/dist/commands/tokenize-biosample.d.ts +19 -0
- package/dist/commands/tokenize-biosample.d.ts.map +1 -0
- package/dist/commands/tokenize-biosample.js +253 -0
- package/dist/commands/tokenize-biosample.js.map +1 -0
- package/dist/index.js +281 -13
- package/dist/index.js.map +1 -1
- package/dist/lib/api/bionft-client.d.ts +35 -7
- package/dist/lib/api/bionft-client.d.ts.map +1 -1
- package/dist/lib/api/bionft-client.js +106 -16
- package/dist/lib/api/bionft-client.js.map +1 -1
- package/dist/lib/kite/agent.d.ts +85 -0
- package/dist/lib/kite/agent.d.ts.map +1 -0
- package/dist/lib/kite/agent.js +332 -0
- package/dist/lib/kite/agent.js.map +1 -0
- package/dist/lib/kite/index.d.ts +9 -0
- package/dist/lib/kite/index.d.ts.map +1 -0
- package/dist/lib/kite/index.js +25 -0
- package/dist/lib/kite/index.js.map +1 -0
- package/dist/lib/kite/passport.d.ts +69 -0
- package/dist/lib/kite/passport.d.ts.map +1 -0
- package/dist/lib/kite/passport.js +312 -0
- package/dist/lib/kite/passport.js.map +1 -0
- package/dist/lib/x402/client.d.ts +78 -0
- package/dist/lib/x402/client.d.ts.map +1 -0
- package/dist/lib/x402/client.js +298 -0
- package/dist/lib/x402/client.js.map +1 -0
- package/dist/lib/x402/index.d.ts +9 -0
- package/dist/lib/x402/index.d.ts.map +1 -0
- package/dist/lib/x402/index.js +37 -0
- package/dist/lib/x402/index.js.map +1 -0
- package/dist/lib/x402/middleware.d.ts +37 -0
- package/dist/lib/x402/middleware.d.ts.map +1 -0
- package/dist/lib/x402/middleware.js +220 -0
- package/dist/lib/x402/middleware.js.map +1 -0
- package/dist/types/kite.d.ts +157 -0
- package/dist/types/kite.d.ts.map +1 -0
- package/dist/types/kite.js +107 -0
- package/dist/types/kite.js.map +1 -0
- package/dist/types/x402.d.ts +78 -0
- package/dist/types/x402.d.ts.map +1 -0
- package/dist/types/x402.js +79 -0
- package/dist/types/x402.js.map +1 -0
- package/docs/AI_AGENT_MCP_MANUAL.md +1029 -0
- package/docs/USER_MANUAL.md +603 -0
- package/docs/technical-details.html +555 -0
- package/lib/bionfs-client.js +2 -0
- package/lib/consent-manager.js +2 -0
- package/lib/consent-prompt.js +2 -0
- package/package.json +9 -3
- package/presentation/biofs-x402-kite-presentation.html +813 -0
- package/scripts/build_annotator_dictionary.py +1 -0
- package/scripts/deploy-clara-nft.js +37 -0
- package/test-complete-flow.sh +1 -1
- package/test.vcf +1 -0
- package/test_23andme.txt +1 -0
- package/ADMIN_REGISTER_LAB.md +0 -252
- package/ANNOTATOR_RECOMMENDATIONS_API.md +0 -490
- package/BIOFS_QUICK_START.md +0 -200
- package/BIOFS_TOKENIZE_COMPLETE.md +0 -541
- package/BIOFS_V1.2.7_PUBLISHED.md +0 -317
- package/BIOFS_V1.2.9_FIXES.md +0 -306
- package/BIOFS_V1.3.0_DIRECT_GRANT.md +0 -381
- package/BIOFS_V1.3.1_GRANTED_FILES.md +0 -328
- package/BIONFS_DEPLOYMENT_GUIDE.md +0 -408
- package/BIONFS_MOUNT_INTEGRATION_PLAN.md +0 -415
- package/BIONFS_PROTOCOL_SPECIFICATION.md +0 -688
- package/BIONFS_SEQUENTIAS_INTEGRATION.md +0 -457
- package/BIONFT_GATED_REMOTE_MOUNTING.md +0 -1260
- package/BIONFT_NFS_PROTOCOL_ARCHITECTURE.md +0 -583
- package/BIOOS_CLI_IMPLEMENTATION_COMPLETE.md +0 -422
- package/BIOOS_JOB_MANAGEMENT.md +0 -681
- package/BUGFIX_V2.1.3.md +0 -72
- package/CHANGELOG_V2.1.0.md +0 -386
- package/CHANGELOG_V2.2.0.md +0 -284
- package/ENHANCEMENT_DOCUMENTATION.md +0 -218
- package/GDPR_BIONFS_CONSENT_ARCHITECTURE.md +0 -798
- package/GDPR_BIONFS_IMPLEMENTATION_STATUS.md +0 -462
- package/INSTALL_V1.2.7_ON_MAC.md +0 -306
- package/LABNFT_BIOFS_INTEGRATION.md +0 -396
- package/OPENCRAVAT_ANNOTATORS_REFERENCE.md +0 -340
- package/OPENCRAVAT_ANNOTATOR_INTELLIGENCE_COMPLETE.md +0 -479
- package/QUICK_START_V2.1.0.md +0 -116
- package/RELEASE_SUMMARY_V1.2.7.md +0 -479
- package/RELEASE_SUMMARY_V1.3.0.md +0 -324
- package/SEQUENTIAS_PROTOCOL_ARCHITECTURE.md +0 -880
- package/SEQUENTIA_MIGRATION_GUIDE.md +0 -337
- package/SESSION_SUMMARY_DIRECT_GRANT.md +0 -321
- package/ULTRATHINK_BIONFS_COMPLETE.md +0 -458
- package/WEB3FUSE_LICENSE_TOKEN_ANALYSIS.md +0 -494
- package/WHERE_PERMISSIONS_LIVE.md +0 -165
- package/config.json +0 -21
- package/opencravat_annotators_dictionary.json +0 -2356
- package/package.json.working.v1.9.2.20251105_023952 +0 -48
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kite AI Network Types for BioFS
|
|
3
|
+
*
|
|
4
|
+
* Kite is the first AI payment blockchain - foundational infrastructure
|
|
5
|
+
* empowering autonomous agents to operate and transact with identity,
|
|
6
|
+
* payment, governance, and verification.
|
|
7
|
+
*
|
|
8
|
+
* Reference: https://docs.gokite.ai/
|
|
9
|
+
*/
|
|
10
|
+
export type KiteNetwork = 'kite-testnet' | 'kite-mainnet';
|
|
11
|
+
export interface KiteNetworkConfig {
|
|
12
|
+
chainName: string;
|
|
13
|
+
chainId: number;
|
|
14
|
+
rpcUrl: string;
|
|
15
|
+
explorerUrl: string;
|
|
16
|
+
faucetUrl?: string;
|
|
17
|
+
nativeToken: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const KITE_NETWORKS: Record<KiteNetwork, KiteNetworkConfig>;
|
|
20
|
+
/**
|
|
21
|
+
* Decentralized Identifier (DID) for Kite
|
|
22
|
+
* Format: did:kite:<namespace>/<agent-name>-<version>
|
|
23
|
+
* Example: did:kite:genobank.eth/augenomics-clara-v1
|
|
24
|
+
*/
|
|
25
|
+
export interface KiteDID {
|
|
26
|
+
method: 'kite';
|
|
27
|
+
namespace: string;
|
|
28
|
+
agentName: string;
|
|
29
|
+
version: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Kite Passport - Cryptographic identity card for agents
|
|
33
|
+
*/
|
|
34
|
+
export interface KitePassport {
|
|
35
|
+
did: string;
|
|
36
|
+
walletAddress: string;
|
|
37
|
+
derivationPath: string;
|
|
38
|
+
capabilities: string[];
|
|
39
|
+
spendingCaps: SpendingCaps;
|
|
40
|
+
name: string;
|
|
41
|
+
description: string;
|
|
42
|
+
createdAt: number;
|
|
43
|
+
expiresAt?: number;
|
|
44
|
+
ownerSignature: string;
|
|
45
|
+
publicKey: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Spending caps for agents - enforced by smart contracts
|
|
49
|
+
*/
|
|
50
|
+
export interface SpendingCaps {
|
|
51
|
+
maxPerTransaction: string;
|
|
52
|
+
maxDaily: string;
|
|
53
|
+
maxMonthly?: string;
|
|
54
|
+
whitelistedRecipients?: string[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Standing Intent (SI) - User's signed declaration of what agent may do
|
|
58
|
+
*/
|
|
59
|
+
export interface StandingIntent {
|
|
60
|
+
issuer: string;
|
|
61
|
+
subject: string;
|
|
62
|
+
capabilities: SpendingCaps;
|
|
63
|
+
expiration: number;
|
|
64
|
+
signature: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Delegation Token (DT) - Agent authorization for specific sessions
|
|
68
|
+
*/
|
|
69
|
+
export interface DelegationToken {
|
|
70
|
+
issuer: string;
|
|
71
|
+
subject: string;
|
|
72
|
+
intentHash: string;
|
|
73
|
+
operation: OperationDetails;
|
|
74
|
+
expiration: number;
|
|
75
|
+
signature: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Operation details for delegation tokens
|
|
79
|
+
*/
|
|
80
|
+
export interface OperationDetails {
|
|
81
|
+
type: 'payment' | 'api_call' | 'data_access';
|
|
82
|
+
target: string;
|
|
83
|
+
amount?: string;
|
|
84
|
+
method?: string;
|
|
85
|
+
params?: Record<string, any>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Service Level Agreement (SLA) - Smart contract enforced guarantees
|
|
89
|
+
*/
|
|
90
|
+
export interface AgentSLA {
|
|
91
|
+
responseTime: number;
|
|
92
|
+
availability: number;
|
|
93
|
+
accuracy: number;
|
|
94
|
+
throughput: number;
|
|
95
|
+
penalties: SLAPenalty[];
|
|
96
|
+
stakedAmount?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* SLA penalty configuration
|
|
100
|
+
*/
|
|
101
|
+
export interface SLAPenalty {
|
|
102
|
+
condition: 'response_timeout' | 'downtime' | 'error' | 'throughput_fail';
|
|
103
|
+
threshold: number;
|
|
104
|
+
penaltyPercent: number;
|
|
105
|
+
reputationImpact: number;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Agent registration for Kite network
|
|
109
|
+
*/
|
|
110
|
+
export interface KiteAgent {
|
|
111
|
+
passport: KitePassport;
|
|
112
|
+
serviceType: AgentServiceType;
|
|
113
|
+
endpoint: string;
|
|
114
|
+
sla: AgentSLA;
|
|
115
|
+
pricing: AgentPricing;
|
|
116
|
+
reputation: AgentReputation;
|
|
117
|
+
status: 'active' | 'inactive' | 'suspended';
|
|
118
|
+
registeredAt: number;
|
|
119
|
+
lastActiveAt: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Agent service types for BioFS
|
|
123
|
+
*/
|
|
124
|
+
export type AgentServiceType = 'orchestrator' | 'gpu-compute' | 'vcf-annotator' | 'ai-analysis' | 'storage' | 'tokenization';
|
|
125
|
+
/**
|
|
126
|
+
* Agent pricing configuration (x402 compatible)
|
|
127
|
+
*/
|
|
128
|
+
export interface AgentPricing {
|
|
129
|
+
protocol: 'x402';
|
|
130
|
+
network: KiteNetwork;
|
|
131
|
+
currency: 'KITE' | 'USDC';
|
|
132
|
+
basePrice: string;
|
|
133
|
+
perGBPrice?: string;
|
|
134
|
+
perMinutePrice?: string;
|
|
135
|
+
receiver: string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Agent reputation - accumulated from verifiable behavior
|
|
139
|
+
*/
|
|
140
|
+
export interface AgentReputation {
|
|
141
|
+
score: number;
|
|
142
|
+
totalJobs: number;
|
|
143
|
+
successfulJobs: number;
|
|
144
|
+
failedJobs: number;
|
|
145
|
+
averageResponseTime: number;
|
|
146
|
+
uptimePercent: number;
|
|
147
|
+
lastUpdated: number;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Pre-defined BioFS agents
|
|
151
|
+
*/
|
|
152
|
+
export declare const BIOFS_AGENTS: Record<string, Partial<KiteAgent>>;
|
|
153
|
+
/**
|
|
154
|
+
* BIP-32 derivation paths for BioFS agents
|
|
155
|
+
*/
|
|
156
|
+
export declare const AGENT_DERIVATION_PATHS: Record<string, string>;
|
|
157
|
+
//# sourceMappingURL=kite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+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,CAAC;IACd,OAAO,EAAE,YAAY,CAAC;IAGtB,UAAU,EAAE,eAAe,CAAC;IAG5B,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,WAAW,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,aAAa,GACb,eAAe,GACf,aAAa,GACb,SAAS,GACT,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,CA+D3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOzD,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Kite AI Network Types for BioFS
|
|
4
|
+
*
|
|
5
|
+
* Kite is the first AI payment blockchain - foundational infrastructure
|
|
6
|
+
* empowering autonomous agents to operate and transact with identity,
|
|
7
|
+
* payment, governance, and verification.
|
|
8
|
+
*
|
|
9
|
+
* Reference: https://docs.gokite.ai/
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AGENT_DERIVATION_PATHS = exports.BIOFS_AGENTS = exports.KITE_NETWORKS = void 0;
|
|
13
|
+
// Network configurations
|
|
14
|
+
exports.KITE_NETWORKS = {
|
|
15
|
+
'kite-testnet': {
|
|
16
|
+
chainName: 'KiteAI Testnet',
|
|
17
|
+
chainId: 2368,
|
|
18
|
+
rpcUrl: 'https://rpc-testnet.gokite.ai/',
|
|
19
|
+
explorerUrl: 'https://testnet.kitescan.ai/',
|
|
20
|
+
faucetUrl: 'https://faucet.gokite.ai',
|
|
21
|
+
nativeToken: 'KITE'
|
|
22
|
+
},
|
|
23
|
+
'kite-mainnet': {
|
|
24
|
+
chainName: 'KiteAI Mainnet',
|
|
25
|
+
chainId: 2368, // TBD - Coming soon
|
|
26
|
+
rpcUrl: 'https://rpc.gokite.ai/', // TBD
|
|
27
|
+
explorerUrl: 'https://kitescan.ai/', // TBD
|
|
28
|
+
nativeToken: 'KITE'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Pre-defined BioFS agents
|
|
33
|
+
*/
|
|
34
|
+
exports.BIOFS_AGENTS = {
|
|
35
|
+
'biofs-orchestrator': {
|
|
36
|
+
serviceType: 'orchestrator',
|
|
37
|
+
endpoint: 'https://biofs.genobank.app/api',
|
|
38
|
+
pricing: {
|
|
39
|
+
protocol: 'x402',
|
|
40
|
+
network: 'kite-testnet',
|
|
41
|
+
currency: 'USDC',
|
|
42
|
+
basePrice: '$0.00', // Orchestrator is free
|
|
43
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a'
|
|
44
|
+
},
|
|
45
|
+
sla: {
|
|
46
|
+
responseTime: 5000, // 5 seconds
|
|
47
|
+
availability: 0.999,
|
|
48
|
+
accuracy: 0.999,
|
|
49
|
+
throughput: 1000,
|
|
50
|
+
penalties: []
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
'augenomics-clara': {
|
|
54
|
+
serviceType: 'gpu-compute',
|
|
55
|
+
endpoint: 'https://clara.genobank.app/api',
|
|
56
|
+
pricing: {
|
|
57
|
+
protocol: 'x402',
|
|
58
|
+
network: 'kite-testnet',
|
|
59
|
+
currency: 'USDC',
|
|
60
|
+
basePrice: '$0.25',
|
|
61
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a'
|
|
62
|
+
},
|
|
63
|
+
sla: {
|
|
64
|
+
responseTime: 7200000, // 2 hours
|
|
65
|
+
availability: 0.999,
|
|
66
|
+
accuracy: 0.999,
|
|
67
|
+
throughput: 10,
|
|
68
|
+
penalties: [
|
|
69
|
+
{ condition: 'response_timeout', threshold: 7200000, penaltyPercent: 50, reputationImpact: 10 },
|
|
70
|
+
{ condition: 'error', threshold: 0.01, penaltyPercent: 100, reputationImpact: 50 }
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
'opencravat-annotator': {
|
|
75
|
+
serviceType: 'vcf-annotator',
|
|
76
|
+
endpoint: 'https://cravat.genobank.app/api',
|
|
77
|
+
pricing: {
|
|
78
|
+
protocol: 'x402',
|
|
79
|
+
network: 'kite-testnet',
|
|
80
|
+
currency: 'USDC',
|
|
81
|
+
basePrice: '$0.05',
|
|
82
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a'
|
|
83
|
+
},
|
|
84
|
+
sla: {
|
|
85
|
+
responseTime: 1800000, // 30 minutes
|
|
86
|
+
availability: 0.999,
|
|
87
|
+
accuracy: 0.999,
|
|
88
|
+
throughput: 50,
|
|
89
|
+
penalties: [
|
|
90
|
+
{ condition: 'response_timeout', threshold: 1800000, penaltyPercent: 25, reputationImpact: 5 },
|
|
91
|
+
{ condition: 'downtime', threshold: 0.001, penaltyPercent: 10, reputationImpact: 20 }
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* BIP-32 derivation paths for BioFS agents
|
|
98
|
+
*/
|
|
99
|
+
exports.AGENT_DERIVATION_PATHS = {
|
|
100
|
+
'biofs-orchestrator': "m/44'/60'/0'/0/0",
|
|
101
|
+
'augenomics-clara': "m/44'/60'/0'/0/1",
|
|
102
|
+
'opencravat-annotator': "m/44'/60'/0'/0/2",
|
|
103
|
+
'claude-ai': "m/44'/60'/0'/0/3",
|
|
104
|
+
'biofs-node': "m/44'/60'/0'/0/4",
|
|
105
|
+
'story-tokenizer': "m/44'/60'/0'/0/5"
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=kite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kite.js","sourceRoot":"","sources":["../../src/types/kite.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAeH,yBAAyB;AACZ,QAAA,aAAa,GAA2C;IACnE,cAAc,EAAE;QACd,SAAS,EAAE,gBAAgB;QAC3B,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,gCAAgC;QACxC,WAAW,EAAE,8BAA8B;QAC3C,SAAS,EAAE,0BAA0B;QACrC,WAAW,EAAE,MAAM;KACpB;IACD,cAAc,EAAE;QACd,SAAS,EAAE,gBAAgB;QAC3B,OAAO,EAAE,IAAI,EAAG,oBAAoB;QACpC,MAAM,EAAE,wBAAwB,EAAG,MAAM;QACzC,WAAW,EAAE,sBAAsB,EAAG,MAAM;QAC5C,WAAW,EAAE,MAAM;KACpB;CACF,CAAC;AA0KF;;GAEG;AACU,QAAA,YAAY,GAAuC;IAC9D,oBAAoB,EAAE;QACpB,WAAW,EAAE,cAAc;QAC3B,QAAQ,EAAE,gCAAgC;QAC1C,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM;YAChB,OAAO,EAAE,cAAc;YACvB,QAAQ,EAAE,MAAM;YAChB,SAAS,EAAE,OAAO,EAAG,u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cAAc,EAAE,EAAE,EAAE,gBAAgB,EAAE,CAAC,EAAE;gBAC9F,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,gBAAgB,EAAE,EAAE,EAAE;aACtF;SACF;KACF;CACF,CAAC;AAEF;;GAEG;AACU,QAAA,sBAAsB,GAA2B;IAC5D,oBAAoB,EAAE,kBAAkB;IACxC,kBAAkB,EAAE,kBAAkB;IACtC,sBAAsB,EAAE,kBAAkB;IAC1C,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,kBAAkB;IAChC,iBAAiB,EAAE,kBAAkB;CACtC,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* x402 Protocol Types for BioFS
|
|
3
|
+
*
|
|
4
|
+
* HTTP 402 Payment Required protocol for blockchain payments on Avalanche
|
|
5
|
+
* Reference: https://build.avax.network/integrations/x402-rs
|
|
6
|
+
*/
|
|
7
|
+
export type X402Network = 'avalanche' | 'avalanche-fuji';
|
|
8
|
+
export declare const USDC_ADDRESSES: Record<X402Network, string>;
|
|
9
|
+
export declare const RPC_URLS: Record<X402Network, string>;
|
|
10
|
+
export declare const CHAIN_IDS: Record<X402Network, number>;
|
|
11
|
+
export interface X402PaymentRequirement {
|
|
12
|
+
network: X402Network;
|
|
13
|
+
token: string;
|
|
14
|
+
amount: string;
|
|
15
|
+
receiver: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
expiresAt?: number;
|
|
18
|
+
route: string;
|
|
19
|
+
method: string;
|
|
20
|
+
}
|
|
21
|
+
export interface X402PaymentPayload {
|
|
22
|
+
network: X402Network;
|
|
23
|
+
token: string;
|
|
24
|
+
amount: string;
|
|
25
|
+
receiver: string;
|
|
26
|
+
sender: string;
|
|
27
|
+
signature: string;
|
|
28
|
+
nonce: string;
|
|
29
|
+
deadline: number;
|
|
30
|
+
chainId: number;
|
|
31
|
+
}
|
|
32
|
+
export interface X402SettlementResult {
|
|
33
|
+
success: boolean;
|
|
34
|
+
transactionHash?: string;
|
|
35
|
+
blockNumber?: number;
|
|
36
|
+
error?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface X402VerifyRequest {
|
|
39
|
+
payment: X402PaymentPayload;
|
|
40
|
+
requirement: X402PaymentRequirement;
|
|
41
|
+
}
|
|
42
|
+
export interface X402VerifyResponse {
|
|
43
|
+
valid: boolean;
|
|
44
|
+
error?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface X402PriceTag {
|
|
47
|
+
price: string;
|
|
48
|
+
network: X402Network;
|
|
49
|
+
receiver: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface X402RouteConfig {
|
|
53
|
+
[route: string]: X402PriceTag;
|
|
54
|
+
}
|
|
55
|
+
export declare const BIOFS_PRICING: X402RouteConfig;
|
|
56
|
+
export interface X402Domain {
|
|
57
|
+
name: string;
|
|
58
|
+
version: string;
|
|
59
|
+
chainId: number;
|
|
60
|
+
verifyingContract: string;
|
|
61
|
+
}
|
|
62
|
+
export declare const X402_TYPES: {
|
|
63
|
+
Payment: {
|
|
64
|
+
name: string;
|
|
65
|
+
type: string;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
export interface X402ClientConfig {
|
|
69
|
+
facilitatorUrl: string;
|
|
70
|
+
network: X402Network;
|
|
71
|
+
privateKey?: string;
|
|
72
|
+
maxAmount?: string;
|
|
73
|
+
}
|
|
74
|
+
export declare const FACILITATOR_URLS: {
|
|
75
|
+
public: string;
|
|
76
|
+
docker: string;
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=x402.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x402.d.ts","sourceRoot":"","sources":["../../src/types/x402.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAGzD,eAAO,MAAM,cAAc,EAAE,M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ACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,MAAM,WAAW,eAAe;IAC9B,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAAC;CAC/B;AAGD,eAAO,MAAM,aAAa,EAAE,eAwC3B,CAAC;AAGF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAGD,eAAO,MAAM,UAAU;;;;;CAStB,CAAC;AAGF,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* x402 Protocol Types for BioFS
|
|
4
|
+
*
|
|
5
|
+
* HTTP 402 Payment Required protocol for blockchain payments on Avalanche
|
|
6
|
+
* Reference: https://build.avax.network/integrations/x402-rs
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.FACILITATOR_URLS = exports.X402_TYPES = exports.BIOFS_PRICING = exports.CHAIN_IDS = exports.RPC_URLS = exports.USDC_ADDRESSES = void 0;
|
|
10
|
+
// USDC token addresses on Avalanche
|
|
11
|
+
exports.USDC_ADDRESSES = {
|
|
12
|
+
'avalanche': '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // USDC on Avalanche C-Chain
|
|
13
|
+
'avalanche-fuji': '0x5425890298aed601595a70AB815c96711a31Bc65' // USDC on Fuji testnet
|
|
14
|
+
};
|
|
15
|
+
// RPC URLs
|
|
16
|
+
exports.RPC_URLS = {
|
|
17
|
+
'avalanche': 'https://api.avax.network/ext/bc/C/rpc',
|
|
18
|
+
'avalanche-fuji': 'https://api.avax-test.network/ext/bc/C/rpc'
|
|
19
|
+
};
|
|
20
|
+
// Chain IDs
|
|
21
|
+
exports.CHAIN_IDS = {
|
|
22
|
+
'avalanche': 43114,
|
|
23
|
+
'avalanche-fuji': 43113
|
|
24
|
+
};
|
|
25
|
+
// BioFS-specific pricing (TESTNET: 100x reduced for testing)
|
|
26
|
+
exports.BIOFS_PRICING = {
|
|
27
|
+
// OpenCRAVAT annotation
|
|
28
|
+
'/annotate/submit': {
|
|
29
|
+
price: '$0.05',
|
|
30
|
+
network: 'avalanche-fuji',
|
|
31
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a', // GenoBank treasury
|
|
32
|
+
description: 'VCF annotation with 146 OpenCRAVAT annotators'
|
|
33
|
+
},
|
|
34
|
+
// Clara Parabricks GPU processing
|
|
35
|
+
'/job/submit-clara': {
|
|
36
|
+
price: '$0.25',
|
|
37
|
+
network: 'avalanche-fuji',
|
|
38
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a',
|
|
39
|
+
description: 'Clara Parabricks FASTQ to VCF variant calling'
|
|
40
|
+
},
|
|
41
|
+
// BioNFT tokenization
|
|
42
|
+
'/tokenize/file': {
|
|
43
|
+
price: '$0.02',
|
|
44
|
+
network: 'avalanche-fuji',
|
|
45
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a',
|
|
46
|
+
description: 'Tokenize genomic file as BioNFT on Sequentia'
|
|
47
|
+
},
|
|
48
|
+
// Large file download (per GB)
|
|
49
|
+
'/download/large': {
|
|
50
|
+
price: '$0.001',
|
|
51
|
+
network: 'avalanche-fuji',
|
|
52
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a',
|
|
53
|
+
description: 'Large file download (per GB)'
|
|
54
|
+
},
|
|
55
|
+
// AI Claude analysis
|
|
56
|
+
'/claude/analyze': {
|
|
57
|
+
price: '$0.01',
|
|
58
|
+
network: 'avalanche-fuji',
|
|
59
|
+
receiver: '0x5f5a60EaEf242c0D51A21c703f520347b96Ed19a',
|
|
60
|
+
description: 'AI-powered genomic analysis with Claude'
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
// EIP-712 types for payment signing
|
|
64
|
+
exports.X402_TYPES = {
|
|
65
|
+
Payment: [
|
|
66
|
+
{ name: 'token', type: 'address' },
|
|
67
|
+
{ name: 'amount', type: 'uint256' },
|
|
68
|
+
{ name: 'receiver', type: 'address' },
|
|
69
|
+
{ name: 'sender', type: 'address' },
|
|
70
|
+
{ name: 'nonce', type: 'uint256' },
|
|
71
|
+
{ name: 'deadline', type: 'uint256' }
|
|
72
|
+
]
|
|
73
|
+
};
|
|
74
|
+
// Default facilitator URLs
|
|
75
|
+
exports.FACILITATOR_URLS = {
|
|
76
|
+
public: 'https://x402.org/facilitator/',
|
|
77
|
+
docker: 'http://localhost:8080'
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=x402.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x402.js","sourceRoot":"","sources":["../../src/types/x402.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAKH,oCAAoC;AACvB,QAAA,cAAc,GAAgC;IACzD,WAAW,EAAE,4CAA4C,EAAG,4BAA4B;IACxF,gBAAgB,EAAE,4CAA4C,CAAE,uBAAuB;CACxF,CAAC;AAEF,WAAW;AACE,QAAA,QAAQ,GAAgC;IACnD,WAAW,EAAE,uCAAuC;IACpD,gBAAgB,EAAE,4CAA4C;CAC/D,CAAC;AAEF,YAAY;AACC,QAAA,SAAS,GAAgC;IACpD,WAAW,EAAE,KAAK;IAClB,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAsEF,6DAA6D;AAChD,QAAA,aAAa,GAAoB;IAC5C,wBAAwB;IACxB,kBAAkB,EAAE;QAClB,KAAK,EAAE,O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