@chaoschain/sdk 0.2.4 → 0.3.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/CHANGELOG.md +35 -0
- package/README.md +94 -1
- package/dist/{IPFSLocal-BqyHRp_l.d.ts → IPFSLocal-B4hnMEfS.d.ts} +1 -1
- package/dist/{IPFSLocal-azjjaiGR.d.cts → IPFSLocal-zRj6kG8e.d.cts} +1 -1
- package/dist/index.cjs +195 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +167 -6
- package/dist/index.d.ts +167 -6
- package/dist/index.js +195 -18
- package/dist/index.js.map +1 -1
- package/dist/providers/compute/index.d.cts +1 -1
- package/dist/providers/compute/index.d.ts +1 -1
- package/dist/providers/storage/index.d.cts +2 -2
- package/dist/providers/storage/index.d.ts +2 -2
- package/dist/{types-DZze-Z8B.d.cts → types-BBVtx_jV.d.cts} +10 -2
- package/dist/{types-DZze-Z8B.d.ts → types-BBVtx_jV.d.ts} +10 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as IPFSLocalStorage } from '../../IPFSLocal-
|
|
2
|
-
import { n as StorageProvider, U as UploadOptions, i as UploadResult } from '../../types-
|
|
1
|
+
export { I as IPFSLocalStorage } from '../../IPFSLocal-zRj6kG8e.cjs';
|
|
2
|
+
import { n as StorageProvider, U as UploadOptions, i as UploadResult } from '../../types-BBVtx_jV.cjs';
|
|
3
3
|
import 'ethers';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as IPFSLocalStorage } from '../../IPFSLocal-
|
|
2
|
-
import { n as StorageProvider, U as UploadOptions, i as UploadResult } from '../../types-
|
|
1
|
+
export { I as IPFSLocalStorage } from '../../IPFSLocal-B4hnMEfS.js';
|
|
2
|
+
import { n as StorageProvider, U as UploadOptions, i as UploadResult } from '../../types-BBVtx_jV.js';
|
|
3
3
|
import 'ethers';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -214,11 +214,13 @@ declare function composeScoreVector(signals: AgencySignals, assessment: Verifier
|
|
|
214
214
|
*/
|
|
215
215
|
declare function composeScoreVectorWithDefaults(signals: AgencySignals, assessment?: DemoAssessment): [number, number, number, number, number];
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* @deprecated
|
|
218
|
+
* Demo helper for quick scoring without verifier judgment.
|
|
219
|
+
* Verifier agents should use verifyWorkEvidence() + composeScoreVector().
|
|
218
220
|
*
|
|
221
|
+
* Convenience wrapper: extract signals + compose score vector in one call.
|
|
219
222
|
* Returns [Initiative, Collaboration, Reasoning, Compliance, Efficiency]
|
|
220
223
|
* as integers 0..100 for on-chain submission.
|
|
221
|
-
*
|
|
222
224
|
* Uses composeScoreVectorWithDefaults internally — compliance and efficiency
|
|
223
225
|
* fall back to signals or 0 when not provided.
|
|
224
226
|
*/
|
|
@@ -718,11 +720,17 @@ interface GatewayClientConfig {
|
|
|
718
720
|
}
|
|
719
721
|
interface PendingWorkItem {
|
|
720
722
|
work_id: string;
|
|
723
|
+
data_hash: string;
|
|
721
724
|
agent_id: number;
|
|
725
|
+
worker_address: string;
|
|
726
|
+
studio_address: string;
|
|
722
727
|
epoch: number | null;
|
|
723
728
|
submitted_at: string;
|
|
724
729
|
evidence_anchor: string | null;
|
|
725
730
|
derivation_root: string | null;
|
|
731
|
+
studio_policy_version: string;
|
|
732
|
+
work_mandate_id: string;
|
|
733
|
+
task_type: string;
|
|
726
734
|
}
|
|
727
735
|
interface PendingWorkResponse {
|
|
728
736
|
version: string;
|
|
@@ -214,11 +214,13 @@ declare function composeScoreVector(signals: AgencySignals, assessment: Verifier
|
|
|
214
214
|
*/
|
|
215
215
|
declare function composeScoreVectorWithDefaults(signals: AgencySignals, assessment?: DemoAssessment): [number, number, number, number, number];
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* @deprecated
|
|
218
|
+
* Demo helper for quick scoring without verifier judgment.
|
|
219
|
+
* Verifier agents should use verifyWorkEvidence() + composeScoreVector().
|
|
218
220
|
*
|
|
221
|
+
* Convenience wrapper: extract signals + compose score vector in one call.
|
|
219
222
|
* Returns [Initiative, Collaboration, Reasoning, Compliance, Efficiency]
|
|
220
223
|
* as integers 0..100 for on-chain submission.
|
|
221
|
-
*
|
|
222
224
|
* Uses composeScoreVectorWithDefaults internally — compliance and efficiency
|
|
223
225
|
* fall back to signals or 0 when not provided.
|
|
224
226
|
*/
|
|
@@ -718,11 +720,17 @@ interface GatewayClientConfig {
|
|
|
718
720
|
}
|
|
719
721
|
interface PendingWorkItem {
|
|
720
722
|
work_id: string;
|
|
723
|
+
data_hash: string;
|
|
721
724
|
agent_id: number;
|
|
725
|
+
worker_address: string;
|
|
726
|
+
studio_address: string;
|
|
722
727
|
epoch: number | null;
|
|
723
728
|
submitted_at: string;
|
|
724
729
|
evidence_anchor: string | null;
|
|
725
730
|
derivation_root: string | null;
|
|
731
|
+
studio_policy_version: string;
|
|
732
|
+
work_mandate_id: string;
|
|
733
|
+
task_type: string;
|
|
726
734
|
}
|
|
727
735
|
interface PendingWorkResponse {
|
|
728
736
|
version: string;
|