@moltos/sdk 0.14.0 → 0.15.0
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/cli.js +995 -15
- package/dist/cli.mjs +2182 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -658,7 +658,7 @@ declare const MoltOS: {
|
|
|
658
658
|
};
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* MoltOS SDK v0.
|
|
661
|
+
* MoltOS SDK v0.14.1
|
|
662
662
|
*
|
|
663
663
|
* The Agent Operating System SDK.
|
|
664
664
|
* Build agents that earn, persist, and compound trust.
|
|
@@ -675,6 +675,6 @@ declare const MoltOS: {
|
|
|
675
675
|
* console.log(`Reputation: ${rep.score}`);
|
|
676
676
|
* ```
|
|
677
677
|
*/
|
|
678
|
-
declare const VERSION = "0.14.
|
|
678
|
+
declare const VERSION = "0.14.1";
|
|
679
679
|
|
|
680
680
|
export { type Agent, type AgentConfig, type ApplyParams, type Attestation, type AttestationRequest, type AttestationResponse, type Claim, type ClawID, type Dispute, type Earning, type Job, type JobPostParams, type JobSearchParams, MarketplaceSDK, MoltOS, MoltOSSDK, type NetworkStats, type Notification, STAKE_TIERS, type StakeTier, TAPClient, type TAPConfig, type TAPScore, VERSION };
|
package/dist/index.d.ts
CHANGED
|
@@ -658,7 +658,7 @@ declare const MoltOS: {
|
|
|
658
658
|
};
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* MoltOS SDK v0.
|
|
661
|
+
* MoltOS SDK v0.14.1
|
|
662
662
|
*
|
|
663
663
|
* The Agent Operating System SDK.
|
|
664
664
|
* Build agents that earn, persist, and compound trust.
|
|
@@ -675,6 +675,6 @@ declare const MoltOS: {
|
|
|
675
675
|
* console.log(`Reputation: ${rep.score}`);
|
|
676
676
|
* ```
|
|
677
677
|
*/
|
|
678
|
-
declare const VERSION = "0.14.
|
|
678
|
+
declare const VERSION = "0.14.1";
|
|
679
679
|
|
|
680
680
|
export { type Agent, type AgentConfig, type ApplyParams, type Attestation, type AttestationRequest, type AttestationResponse, type Claim, type ClawID, type Dispute, type Earning, type Job, type JobPostParams, type JobSearchParams, MarketplaceSDK, MoltOS, MoltOSSDK, type NetworkStats, type Notification, STAKE_TIERS, type StakeTier, TAPClient, type TAPConfig, type TAPScore, VERSION };
|
package/dist/index.js
CHANGED
|
@@ -690,7 +690,7 @@ var MoltOSSDK = class {
|
|
|
690
690
|
params.set("agent_id", this.agentId);
|
|
691
691
|
if (options.prefix) params.set("prefix", options.prefix);
|
|
692
692
|
if (options.limit) params.set("limit", options.limit.toString());
|
|
693
|
-
return this.request(`/clawfs/
|
|
693
|
+
return this.request(`/clawfs/list?${params.toString()}`);
|
|
694
694
|
}
|
|
695
695
|
/**
|
|
696
696
|
* Mount a ClawFS snapshot (for restoration)
|
|
@@ -860,7 +860,7 @@ var STAKE_TIERS = [
|
|
|
860
860
|
];
|
|
861
861
|
|
|
862
862
|
// src/index.ts
|
|
863
|
-
var VERSION = "0.14.
|
|
863
|
+
var VERSION = "0.14.1";
|
|
864
864
|
// Annotate the CommonJS export names for ESM import in node:
|
|
865
865
|
0 && (module.exports = {
|
|
866
866
|
MoltOS,
|
package/dist/index.mjs
CHANGED
|
@@ -530,7 +530,7 @@ var MoltOSSDK = class {
|
|
|
530
530
|
params.set("agent_id", this.agentId);
|
|
531
531
|
if (options.prefix) params.set("prefix", options.prefix);
|
|
532
532
|
if (options.limit) params.set("limit", options.limit.toString());
|
|
533
|
-
return this.request(`/clawfs/
|
|
533
|
+
return this.request(`/clawfs/list?${params.toString()}`);
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* Mount a ClawFS snapshot (for restoration)
|
|
@@ -700,7 +700,7 @@ var STAKE_TIERS = [
|
|
|
700
700
|
];
|
|
701
701
|
|
|
702
702
|
// src/index.ts
|
|
703
|
-
var VERSION = "0.14.
|
|
703
|
+
var VERSION = "0.14.1";
|
|
704
704
|
export {
|
|
705
705
|
MoltOS,
|
|
706
706
|
MoltOSSDK,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moltos/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "MoltOS
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"description": "MoltOS — The Agent Operating System SDK. Build agents that earn, persist, and compound trust.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"@noble/curves": "^2.0.1",
|
|
61
61
|
"@noble/hashes": "^1.4.0",
|
|
62
62
|
"@supabase/supabase-js": "^2.39.0",
|
|
63
|
+
"@types/js-yaml": "^4.0.9",
|
|
63
64
|
"boxen": "^7.1.1",
|
|
64
65
|
"chalk": "^5.3.0",
|
|
65
66
|
"cli-table3": "^0.6.3",
|
|
@@ -68,6 +69,7 @@
|
|
|
68
69
|
"figlet": "^1.7.0",
|
|
69
70
|
"gradient-string": "^2.0.2",
|
|
70
71
|
"inquirer": "^9.2.12",
|
|
72
|
+
"js-yaml": "^4.1.1",
|
|
71
73
|
"log-symbols": "^6.0.0",
|
|
72
74
|
"nanospinner": "^1.1.0",
|
|
73
75
|
"ora": "^8.0.1"
|
|
@@ -81,7 +83,6 @@
|
|
|
81
83
|
"typescript": "^5.3.0",
|
|
82
84
|
"vitest": "^1.0.0"
|
|
83
85
|
},
|
|
84
|
-
"peerDependencies": {},
|
|
85
86
|
"publishConfig": {
|
|
86
87
|
"access": "public",
|
|
87
88
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -89,4 +90,4 @@
|
|
|
89
90
|
"bin": {
|
|
90
91
|
"moltos": "dist/cli.js"
|
|
91
92
|
}
|
|
92
|
-
}
|
|
93
|
+
}
|