@jinn-network/client 0.1.9 → 0.2.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/CONTRIBUTING.md +2 -2
- package/README.md +13 -2
- package/deployments/deployment-phase1b-mech-baseSepolia-fast.json +3 -3
- package/deployments/deployment-stolas-l2-baseSepolia-fast.json +23 -3
- package/deployments/deployment-task-coordinator-router-v3-baseSepolia-fast.json +34 -6
- package/dist/adapters/mech/adapter.d.ts +30 -0
- package/dist/adapters/mech/adapter.js +198 -54
- package/dist/adapters/mech/adapter.js.map +1 -1
- package/dist/adapters/mech/contracts.d.ts +174 -13
- package/dist/adapters/mech/contracts.js +37 -21
- package/dist/adapters/mech/contracts.js.map +1 -1
- package/dist/adapters/mech/ipfs.d.ts +15 -27
- package/dist/adapters/mech/ipfs.js +39 -102
- package/dist/adapters/mech/ipfs.js.map +1 -1
- package/dist/adapters/mech/safe.js +74 -2
- package/dist/adapters/mech/safe.js.map +1 -1
- package/dist/adapters/mech/types.d.ts +15 -130
- package/dist/adapters/mech/types.js +9 -65
- package/dist/adapters/mech/types.js.map +1 -1
- package/dist/api/bootstrap-endpoint.d.ts +19 -3
- package/dist/api/bootstrap-endpoint.js +4 -0
- package/dist/api/bootstrap-endpoint.js.map +1 -1
- package/dist/api/gather-status.d.ts +49 -15
- package/dist/api/gather-status.js +115 -417
- package/dist/api/gather-status.js.map +1 -1
- package/dist/api/harness-auth-status-endpoint.d.ts +21 -0
- package/dist/api/harness-auth-status-endpoint.js +17 -0
- package/dist/api/harness-auth-status-endpoint.js.map +1 -0
- package/dist/api/launcher-endpoints.js +6 -1
- package/dist/api/launcher-endpoints.js.map +1 -1
- package/dist/api/launcher-status.d.ts +2 -0
- package/dist/api/launcher-status.js.map +1 -1
- package/dist/api/launcher-tasks.d.ts +47 -0
- package/dist/api/launcher-tasks.js +88 -3
- package/dist/api/launcher-tasks.js.map +1 -1
- package/dist/api/loop-completion-build.d.ts +2 -2
- package/dist/api/loop-completion-build.js +2 -3
- package/dist/api/loop-completion-build.js.map +1 -1
- package/dist/api/operator-artifacts-endpoint.js +1 -1
- package/dist/api/operator-artifacts-endpoint.js.map +1 -1
- package/dist/api/portfolio-v0-build.d.ts +2 -1
- package/dist/api/portfolio-v0-build.js +5 -7
- package/dist/api/portfolio-v0-build.js.map +1 -1
- package/dist/api/prediction-v1-build.d.ts +2 -2
- package/dist/api/prediction-v1-build.js +5 -7
- package/dist/api/prediction-v1-build.js.map +1 -1
- package/dist/api/rewards-build.d.ts +8 -1
- package/dist/api/rewards-build.js +32 -4
- package/dist/api/rewards-build.js.map +1 -1
- package/dist/api/rewards-endpoint.d.ts +12 -0
- package/dist/api/rewards-endpoint.js +46 -0
- package/dist/api/rewards-endpoint.js.map +1 -0
- package/dist/api/run-outcome.d.ts +49 -0
- package/dist/api/run-outcome.js +65 -0
- package/dist/api/run-outcome.js.map +1 -0
- package/dist/api/server.d.ts +6 -16
- package/dist/api/server.js +36 -26
- package/dist/api/server.js.map +1 -1
- package/dist/api/setup-endpoints.d.ts +32 -0
- package/dist/api/setup-endpoints.js +232 -32
- package/dist/api/setup-endpoints.js.map +1 -1
- package/dist/api/solvernets-endpoints.js +1 -1
- package/dist/api/solvernets-endpoints.js.map +1 -1
- package/dist/api/status-build.d.ts +74 -64
- package/dist/api/status-build.js +31 -55
- package/dist/api/status-build.js.map +1 -1
- package/dist/api/stop-hook.d.ts +1 -1
- package/dist/api/stop-hook.js +1 -1
- package/dist/api/stop-hook.js.map +1 -1
- package/dist/api/task-run-routing.d.ts +1 -1
- package/dist/api/task-runs-build.d.ts +21 -2
- package/dist/api/task-runs-build.js +27 -7
- package/dist/api/task-runs-build.js.map +1 -1
- package/dist/build-info.json +4 -4
- package/dist/build-meta.json +1 -1
- package/dist/captures/ingest.d.ts +21 -0
- package/dist/captures/ingest.js +133 -0
- package/dist/captures/ingest.js.map +1 -0
- package/dist/captures/live-publisher.d.ts +9 -0
- package/dist/captures/live-publisher.js +5 -3
- package/dist/captures/live-publisher.js.map +1 -1
- package/dist/captures/publish.d.ts +25 -0
- package/dist/captures/publish.js +17 -7
- package/dist/captures/publish.js.map +1 -1
- package/dist/cli/commands/backfill-failed-deliveries.d.ts +40 -0
- package/dist/cli/commands/backfill-failed-deliveries.js +172 -0
- package/dist/cli/commands/backfill-failed-deliveries.js.map +1 -0
- package/dist/cli/commands/doctor.js +4 -7
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/eval.d.ts +11 -0
- package/dist/cli/commands/eval.js +103 -23
- package/dist/cli/commands/eval.js.map +1 -1
- package/dist/cli/commands/kill.d.ts +14 -0
- package/dist/cli/commands/kill.js +141 -0
- package/dist/cli/commands/kill.js.map +1 -0
- package/dist/cli/commands/rewards.js +17 -15
- package/dist/cli/commands/rewards.js.map +1 -1
- package/dist/cli/commands/run.js +18 -4
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/solver-nets.d.ts +6 -0
- package/dist/cli/commands/solver-nets.js +145 -2
- package/dist/cli/commands/solver-nets.js.map +1 -1
- package/dist/cli/commands/solver-plugins.js +2 -2
- package/dist/cli/commands/solver-plugins.js.map +1 -1
- package/dist/cli/commands/stop.js +97 -21
- package/dist/cli/commands/stop.js.map +1 -1
- package/dist/cli/commands/update.js +8 -0
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/version.js +4 -0
- package/dist/cli/commands/version.js.map +1 -1
- package/dist/cli/execution-context.js +2 -1
- package/dist/cli/execution-context.js.map +1 -1
- package/dist/cli/index.js +4 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/introspection-context.js +0 -3
- package/dist/cli/introspection-context.js.map +1 -1
- package/dist/cli/ui-auto-open-gate.d.ts +22 -0
- package/dist/cli/ui-auto-open-gate.js +24 -0
- package/dist/cli/ui-auto-open-gate.js.map +1 -0
- package/dist/config.d.ts +258 -540
- package/dist/config.js +280 -193
- package/dist/config.js.map +1 -1
- package/dist/conformance/execution-envelope-authenticator.d.ts +2 -0
- package/dist/conformance/execution-envelope-authenticator.js +38 -0
- package/dist/conformance/execution-envelope-authenticator.js.map +1 -0
- package/dist/contracts/abis.d.ts +100 -0
- package/dist/contracts/abis.js +58 -0
- package/dist/contracts/abis.js.map +1 -0
- package/dist/contracts/addresses.d.ts +36 -0
- package/dist/contracts/addresses.js +60 -0
- package/dist/contracts/addresses.js.map +1 -0
- package/dist/corpus/acquire.d.ts +1 -40
- package/dist/corpus/acquire.js +1 -212
- package/dist/corpus/acquire.js.map +1 -1
- package/dist/corpus/cache.d.ts +1 -14
- package/dist/corpus/cache.js +1 -17
- package/dist/corpus/cache.js.map +1 -1
- package/dist/corpus/fetch-artifact.d.ts +1 -0
- package/dist/corpus/fetch-artifact.js +2 -0
- package/dist/corpus/fetch-artifact.js.map +1 -0
- package/dist/corpus/fetch.d.ts +3 -7
- package/dist/corpus/fetch.js +9 -22
- package/dist/corpus/fetch.js.map +1 -1
- package/dist/corpus/index.d.ts +2 -3
- package/dist/corpus/index.js +19 -110
- package/dist/corpus/index.js.map +1 -1
- package/dist/corpus/onchain-query.d.ts +0 -1
- package/dist/corpus/onchain-query.js +2 -5
- package/dist/corpus/onchain-query.js.map +1 -1
- package/dist/corpus/route-resolver.d.ts +1 -16
- package/dist/corpus/route-resolver.js +1 -19
- package/dist/corpus/route-resolver.js.map +1 -1
- package/dist/corpus/types.d.ts +1 -17
- package/dist/corpus/types.js +1 -34
- package/dist/corpus/types.js.map +1 -1
- package/dist/daemon/balance-topup-loop.js +27 -9
- package/dist/daemon/balance-topup-loop.js.map +1 -1
- package/dist/daemon/checkpoint-loop.js +2 -2
- package/dist/daemon/creator.d.ts +1 -0
- package/dist/daemon/creator.js +39 -25
- package/dist/daemon/creator.js.map +1 -1
- package/dist/daemon/daemon.d.ts +31 -12
- package/dist/daemon/daemon.js +138 -32
- package/dist/daemon/daemon.js.map +1 -1
- package/dist/daemon/delivery-watcher.d.ts +9 -0
- package/dist/daemon/delivery-watcher.js +24 -1
- package/dist/daemon/delivery-watcher.js.map +1 -1
- package/dist/daemon/eviction-loop.d.ts +3 -0
- package/dist/daemon/eviction-loop.js +7 -4
- package/dist/daemon/eviction-loop.js.map +1 -1
- package/dist/daemon/harvest-loop.d.ts +72 -0
- package/dist/daemon/harvest-loop.js +474 -0
- package/dist/daemon/harvest-loop.js.map +1 -0
- package/dist/daemon/join-applier.d.ts +40 -0
- package/dist/daemon/join-applier.js +52 -0
- package/dist/daemon/join-applier.js.map +1 -0
- package/dist/daemon/loop-heartbeat.d.ts +95 -0
- package/dist/daemon/loop-heartbeat.js +80 -0
- package/dist/daemon/loop-heartbeat.js.map +1 -0
- package/dist/{api/peers.js → daemon/peer-sync.js} +3 -1
- package/dist/daemon/peer-sync.js.map +1 -0
- package/dist/daemon/reward-claim-loop.js +28 -10
- package/dist/daemon/reward-claim-loop.js.map +1 -1
- package/dist/daemon/skip-log-dedup.d.ts +1 -1
- package/dist/daemon/skip-log-dedup.js +3 -0
- package/dist/daemon/skip-log-dedup.js.map +1 -1
- package/dist/daemon/spend-cap-gate.d.ts +0 -6
- package/dist/daemon/spend-cap-gate.js +1 -8
- package/dist/daemon/spend-cap-gate.js.map +1 -1
- package/dist/daemon/watchdog-loop.d.ts +84 -0
- package/dist/daemon/watchdog-loop.js +91 -0
- package/dist/daemon/watchdog-loop.js.map +1 -0
- package/dist/dashboard/assets/index-C988eu68.js +95 -0
- package/dist/dashboard/assets/index-CawZUjVI.css +1 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/discovery/http.d.ts +10 -0
- package/dist/discovery/http.js +178 -335
- package/dist/discovery/http.js.map +1 -1
- package/dist/discovery/onchain.js +30 -9
- package/dist/discovery/onchain.js.map +1 -1
- package/dist/discovery/types.d.ts +98 -52
- package/dist/discovery/types.js.map +1 -1
- package/dist/discovery/with-fallback.js +19 -0
- package/dist/discovery/with-fallback.js.map +1 -1
- package/dist/earning/bootstrap-run.d.ts +25 -0
- package/dist/earning/bootstrap-run.js +315 -0
- package/dist/earning/bootstrap-run.js.map +1 -0
- package/dist/earning/bootstrap.d.ts +11 -14
- package/dist/earning/bootstrap.js +56 -204
- package/dist/earning/bootstrap.js.map +1 -1
- package/dist/earning/contracts.d.ts +2 -232
- package/dist/earning/contracts.js +16 -205
- package/dist/earning/contracts.js.map +1 -1
- package/dist/earning/faucet-topup-store.d.ts +41 -0
- package/dist/earning/faucet-topup-store.js +89 -0
- package/dist/earning/faucet-topup-store.js.map +1 -0
- package/dist/earning/master-gas.d.ts +10 -0
- package/dist/earning/master-gas.js +11 -0
- package/dist/earning/master-gas.js.map +1 -0
- package/dist/earning/safe-adapter.js +1 -45
- package/dist/earning/safe-adapter.js.map +1 -1
- package/dist/earning/steps/context.d.ts +42 -0
- package/dist/earning/steps/context.js +4 -0
- package/dist/earning/steps/context.js.map +1 -0
- package/dist/earning/steps/fleet-identity-register.d.ts +4 -0
- package/dist/earning/steps/fleet-identity-register.js +65 -0
- package/dist/earning/steps/fleet-identity-register.js.map +1 -0
- package/dist/earning/steps/fleet-safe-deploy.d.ts +4 -0
- package/dist/earning/steps/fleet-safe-deploy.js +62 -0
- package/dist/earning/steps/fleet-safe-deploy.js.map +1 -0
- package/dist/earning/steps/fleet-safe-predict.d.ts +4 -0
- package/dist/earning/steps/fleet-safe-predict.js +18 -0
- package/dist/earning/steps/fleet-safe-predict.js.map +1 -0
- package/dist/earning/steps/receipt-parsing.d.ts +12 -0
- package/dist/earning/steps/receipt-parsing.js +71 -0
- package/dist/earning/steps/receipt-parsing.js.map +1 -0
- package/dist/earning/stolas-claim.js +8 -8
- package/dist/earning/stolas-claim.js.map +1 -1
- package/dist/earning/{jinn-rewards.d.ts → stolas-staking.d.ts} +4 -8
- package/dist/earning/{jinn-rewards.js → stolas-staking.js} +25 -23
- package/dist/earning/stolas-staking.js.map +1 -0
- package/dist/earning/testnet-setup-migration.d.ts +1 -0
- package/dist/earning/testnet-setup-migration.js +7 -2
- package/dist/earning/testnet-setup-migration.js.map +1 -1
- package/dist/earning/types.d.ts +9 -9
- package/dist/earning/types.js +1 -1
- package/dist/earning/types.js.map +1 -1
- package/dist/earning/viem-clients.d.ts +3 -19
- package/dist/earning/viem-clients.js +4 -31
- package/dist/earning/viem-clients.js.map +1 -1
- package/dist/erc8004/abis.d.ts +16 -0
- package/dist/erc8004/abis.js +12 -0
- package/dist/erc8004/abis.js.map +1 -1
- package/dist/erc8004/addresses.d.ts +6 -5
- package/dist/erc8004/addresses.js +7 -5
- package/dist/erc8004/addresses.js.map +1 -1
- package/dist/erc8004/identity.d.ts +54 -1
- package/dist/erc8004/identity.js +114 -5
- package/dist/erc8004/identity.js.map +1 -1
- package/dist/erc8004/index.d.ts +5 -2
- package/dist/erc8004/index.js +6 -2
- package/dist/erc8004/index.js.map +1 -1
- package/dist/erc8004/manifest-consumer.d.ts +32 -0
- package/dist/erc8004/manifest-consumer.js +95 -0
- package/dist/erc8004/manifest-consumer.js.map +1 -0
- package/dist/erc8004/manifest-registry.d.ts +1 -0
- package/dist/erc8004/manifest-registry.js +2 -0
- package/dist/erc8004/manifest-registry.js.map +1 -0
- package/dist/erc8004/merkle.d.ts +1 -0
- package/dist/erc8004/merkle.js +2 -0
- package/dist/erc8004/merkle.js.map +1 -0
- package/dist/erc8004/publisher-safe-resolver.d.ts +32 -0
- package/dist/erc8004/publisher-safe-resolver.js +102 -0
- package/dist/erc8004/publisher-safe-resolver.js.map +1 -0
- package/dist/erc8004/reputation.js +16 -12
- package/dist/erc8004/reputation.js.map +1 -1
- package/dist/erc8004/validation.js +5 -4
- package/dist/erc8004/validation.js.map +1 -1
- package/dist/eval/attribution-instrument.d.ts +190 -0
- package/dist/eval/attribution-instrument.js +719 -0
- package/dist/eval/attribution-instrument.js.map +1 -0
- package/dist/eval/attribution-verdict-evidence.d.ts +41 -0
- package/dist/eval/attribution-verdict-evidence.js +124 -0
- package/dist/eval/attribution-verdict-evidence.js.map +1 -0
- package/dist/eval/capability-slate.d.ts +64 -0
- package/dist/eval/capability-slate.js +136 -0
- package/dist/eval/capability-slate.js.map +1 -0
- package/dist/eval/capability-stats.d.ts +39 -0
- package/dist/eval/capability-stats.js +123 -0
- package/dist/eval/capability-stats.js.map +1 -0
- package/dist/eval/contested-band.d.ts +18 -0
- package/dist/eval/contested-band.js +19 -0
- package/dist/eval/contested-band.js.map +1 -0
- package/dist/eval/corpus-index.d.ts +21 -0
- package/dist/eval/corpus-index.js +55 -0
- package/dist/eval/corpus-index.js.map +1 -0
- package/dist/eval/disjointness.d.ts +26 -0
- package/dist/eval/disjointness.js +67 -0
- package/dist/eval/disjointness.js.map +1 -0
- package/dist/eval/mcnemar-power.d.ts +14 -0
- package/dist/eval/mcnemar-power.js +40 -0
- package/dist/eval/mcnemar-power.js.map +1 -0
- package/dist/eval/orchestrator.d.ts +64 -3
- package/dist/eval/orchestrator.js +37 -19
- package/dist/eval/orchestrator.js.map +1 -1
- package/dist/eval/paired.d.ts +2 -68
- package/dist/eval/paired.js +2 -92
- package/dist/eval/paired.js.map +1 -1
- package/dist/eval/resolve-slate-tasks.js +2 -2
- package/dist/eval/resolve-slate-tasks.js.map +1 -1
- package/dist/eval/screen-discovery.d.ts +5 -8
- package/dist/eval/screen-discovery.js +13 -55
- package/dist/eval/screen-discovery.js.map +1 -1
- package/dist/events/types.d.ts +1 -1
- package/dist/events/types.js +1 -1
- package/dist/events/types.js.map +1 -1
- package/dist/harnesses/auth-source.d.ts +51 -0
- package/dist/harnesses/auth-source.js +155 -0
- package/dist/harnesses/auth-source.js.map +1 -0
- package/dist/harnesses/engine/backfill-failed-deliveries.d.ts +59 -0
- package/dist/harnesses/engine/backfill-failed-deliveries.js +94 -0
- package/dist/harnesses/engine/backfill-failed-deliveries.js.map +1 -0
- package/dist/harnesses/engine/canonical-json.d.ts +2 -1
- package/dist/harnesses/engine/canonical-json.js +2 -67
- package/dist/harnesses/engine/canonical-json.js.map +1 -1
- package/dist/harnesses/engine/corpus-knowledge.d.ts +67 -0
- package/dist/harnesses/engine/corpus-knowledge.js +194 -0
- package/dist/harnesses/engine/corpus-knowledge.js.map +1 -0
- package/dist/harnesses/engine/engine.d.ts +85 -1
- package/dist/harnesses/engine/engine.js +313 -6
- package/dist/harnesses/engine/engine.js.map +1 -1
- package/dist/harnesses/engine/envelope-assembly.d.ts +9 -1
- package/dist/harnesses/engine/envelope-assembly.js +6 -0
- package/dist/harnesses/engine/envelope-assembly.js.map +1 -1
- package/dist/harnesses/engine/generator-model.d.ts +36 -0
- package/dist/harnesses/engine/generator-model.js +118 -0
- package/dist/harnesses/engine/generator-model.js.map +1 -0
- package/dist/harnesses/engine/packaging.js +5 -5
- package/dist/harnesses/engine/packaging.js.map +1 -1
- package/dist/harnesses/engine/persistence.d.ts +37 -62
- package/dist/harnesses/engine/persistence.js +66 -0
- package/dist/harnesses/engine/persistence.js.map +1 -1
- package/dist/harnesses/impls/_evaluator-base.d.ts +48 -0
- package/dist/harnesses/impls/_evaluator-base.js +35 -0
- package/dist/harnesses/impls/_evaluator-base.js.map +1 -0
- package/dist/harnesses/impls/claude-mcp-hyperliquid/mcp-tools.d.ts +1 -1
- package/dist/harnesses/impls/claude-mcp-hyperliquid/mcp-tools.js +1 -1
- package/dist/harnesses/impls/claude-mcp-hyperliquid/mcp-tools.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction/index.d.ts +2 -3
- package/dist/harnesses/impls/claude-mcp-prediction/index.js +29 -99
- package/dist/harnesses/impls/claude-mcp-prediction/index.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction/mcp-tools.js +4 -21
- package/dist/harnesses/impls/claude-mcp-prediction/mcp-tools.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction/session-orchestrator.d.ts +2 -0
- package/dist/harnesses/impls/claude-mcp-prediction/session-orchestrator.js +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction/session-orchestrator.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction-apy/index.js +30 -79
- package/dist/harnesses/impls/claude-mcp-prediction-apy/index.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction-apy/mcp-tools.js +4 -19
- package/dist/harnesses/impls/claude-mcp-prediction-apy/mcp-tools.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction-apy/session-orchestrator.d.ts +2 -0
- package/dist/harnesses/impls/claude-mcp-prediction-apy/session-orchestrator.js +1 -1
- package/dist/harnesses/impls/claude-mcp-prediction-apy/session-orchestrator.js.map +1 -1
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server-script.d.ts +39 -0
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server-script.js +62 -0
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server-script.js.map +1 -0
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server.d.ts +40 -0
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server.js +44 -0
- package/dist/harnesses/impls/claude-mcp-shared/mcp-server.js.map +1 -0
- package/dist/harnesses/impls/claude-mcp-shared/single-session-harness.d.ts +56 -0
- package/dist/harnesses/impls/claude-mcp-shared/single-session-harness.js +79 -0
- package/dist/harnesses/impls/claude-mcp-shared/single-session-harness.js.map +1 -0
- package/dist/harnesses/impls/hermes-agent/adapter.js +56 -2
- package/dist/harnesses/impls/hermes-agent/adapter.js.map +1 -1
- package/dist/harnesses/impls/hermes-agent/bootstrap.d.ts +6 -0
- package/dist/harnesses/impls/hermes-agent/bootstrap.js +7 -2
- package/dist/harnesses/impls/hermes-agent/bootstrap.js.map +1 -1
- package/dist/harnesses/impls/hermes-agent/harness.d.ts +8 -0
- package/dist/harnesses/impls/hermes-agent/harness.js +21 -0
- package/dist/harnesses/impls/hermes-agent/harness.js.map +1 -1
- package/dist/harnesses/impls/index.js +8 -1
- package/dist/harnesses/impls/index.js.map +1 -1
- package/dist/harnesses/impls/jinn-repo-evaluator/eval-runner.d.ts +34 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/eval-runner.js +111 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/eval-runner.js.map +1 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/evaluator.d.ts +24 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/evaluator.js +19 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/evaluator.js.map +1 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/harness.d.ts +97 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/harness.js +265 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/harness.js.map +1 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/live-eval-runner.d.ts +68 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/live-eval-runner.js +223 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/live-eval-runner.js.map +1 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/repro.d.ts +32 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/repro.js +73 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/repro.js.map +1 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/scope-tests.d.ts +62 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/scope-tests.js +91 -0
- package/dist/harnesses/impls/jinn-repo-evaluator/scope-tests.js.map +1 -0
- package/dist/harnesses/impls/learner/adapters/claude-code.js +9 -2
- package/dist/harnesses/impls/learner/adapters/claude-code.js.map +1 -1
- package/dist/harnesses/impls/learner/adapters/codex-code.d.ts +11 -1
- package/dist/harnesses/impls/learner/adapters/codex-code.js +130 -15
- package/dist/harnesses/impls/learner/adapters/codex-code.js.map +1 -1
- package/dist/harnesses/impls/learner/harness.d.ts +12 -0
- package/dist/harnesses/impls/learner/harness.js +42 -0
- package/dist/harnesses/impls/learner/harness.js.map +1 -1
- package/dist/harnesses/impls/learner/harvest.js +51 -1
- package/dist/harnesses/impls/learner/harvest.js.map +1 -1
- package/dist/harnesses/impls/portfolio-v0-evaluator/index.d.ts +5 -15
- package/dist/harnesses/impls/portfolio-v0-evaluator/index.js +10 -29
- package/dist/harnesses/impls/portfolio-v0-evaluator/index.js.map +1 -1
- package/dist/harnesses/impls/prediction-apy-v0-evaluator/index.d.ts +5 -15
- package/dist/harnesses/impls/prediction-apy-v0-evaluator/index.js +10 -23
- package/dist/harnesses/impls/prediction-apy-v0-evaluator/index.js.map +1 -1
- package/dist/harnesses/impls/prediction-v0-evaluator/index.d.ts +5 -15
- package/dist/harnesses/impls/prediction-v0-evaluator/index.js +10 -25
- package/dist/harnesses/impls/prediction-v0-evaluator/index.js.map +1 -1
- package/dist/harnesses/impls/stub.d.ts +2 -2
- package/dist/harnesses/impls/stub.js +2 -2
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/eval-runner.js +16 -2
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/eval-runner.js.map +1 -1
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/harness.d.ts +65 -6
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/harness.js +590 -35
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/harness.js.map +1 -1
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/hf-fetcher.js +4 -1
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/hf-fetcher.js.map +1 -1
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/routing-task-row-fetcher.d.ts +37 -0
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/routing-task-row-fetcher.js +59 -0
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/routing-task-row-fetcher.js.map +1 -0
- package/dist/harnesses/impls/swe-rebench-v2-evaluator/upstream-patches/passed-actual.patch +21 -0
- package/dist/harnesses/readiness-registry.d.ts +16 -0
- package/dist/harnesses/readiness-registry.js +28 -6
- package/dist/harnesses/readiness-registry.js.map +1 -1
- package/dist/harnesses/types.d.ts +12 -0
- package/dist/learner/verification-gate.d.ts +53 -0
- package/dist/learner/verification-gate.js +80 -0
- package/dist/learner/verification-gate.js.map +1 -0
- package/dist/lifecycle/process-discovery.d.ts +41 -0
- package/dist/lifecycle/process-discovery.js +109 -0
- package/dist/lifecycle/process-discovery.js.map +1 -0
- package/dist/main.js +358 -581
- package/dist/main.js.map +1 -1
- package/dist/mcp/acquire-artifact.d.ts +3 -3
- package/dist/mcp/acquire-artifact.js +3 -3
- package/dist/mcp/operator-server.js +1 -1
- package/dist/mcp/operator-server.js.map +1 -1
- package/dist/mcp/server.js +5 -6
- package/dist/mcp/server.js.map +1 -1
- package/dist/monitoring/net-liveness.d.ts +143 -0
- package/dist/monitoring/net-liveness.js +301 -0
- package/dist/monitoring/net-liveness.js.map +1 -0
- package/dist/observability/emit-event.d.ts +1 -1
- package/dist/observability/emit-event.js +2 -4
- package/dist/observability/emit-event.js.map +1 -1
- package/dist/observability/progress.d.ts +11 -0
- package/dist/observability/progress.js +16 -0
- package/dist/observability/progress.js.map +1 -0
- package/dist/pilot/arm-homes.d.ts +39 -0
- package/dist/pilot/arm-homes.js +104 -0
- package/dist/pilot/arm-homes.js.map +1 -0
- package/dist/pilot/cost.d.ts +19 -0
- package/dist/pilot/cost.js +31 -0
- package/dist/pilot/cost.js.map +1 -0
- package/dist/pilot/instance.d.ts +26 -0
- package/dist/pilot/instance.js +53 -0
- package/dist/pilot/instance.js.map +1 -0
- package/dist/pilot/pipeline.d.ts +17 -0
- package/dist/pilot/pipeline.js +35 -0
- package/dist/pilot/pipeline.js.map +1 -0
- package/dist/pilot/repo.d.ts +37 -0
- package/dist/pilot/repo.js +65 -0
- package/dist/pilot/repo.js.map +1 -0
- package/dist/pilot/resume.d.ts +101 -0
- package/dist/pilot/resume.js +204 -0
- package/dist/pilot/resume.js.map +1 -0
- package/dist/pilot/solve.d.ts +23 -0
- package/dist/pilot/solve.js +37 -0
- package/dist/pilot/solve.js.map +1 -0
- package/dist/pilot/tally.d.ts +42 -0
- package/dist/pilot/tally.js +100 -0
- package/dist/pilot/tally.js.map +1 -0
- package/dist/pilot/task-selection.d.ts +27 -0
- package/dist/pilot/task-selection.js +112 -0
- package/dist/pilot/task-selection.js.map +1 -0
- package/dist/plugins/resolvers.js +7 -4
- package/dist/plugins/resolvers.js.map +1 -1
- package/dist/plugins/types.d.ts +8 -0
- package/dist/preflight/deployment-readiness.d.ts +2 -22
- package/dist/preflight/deployment-readiness.js +1 -59
- package/dist/preflight/deployment-readiness.js.map +1 -1
- package/dist/preflight/pidfile-liveness.d.ts +3 -2
- package/dist/preflight/pidfile-liveness.js +18 -2
- package/dist/preflight/pidfile-liveness.js.map +1 -1
- package/dist/preflight/rpc-network.d.ts +10 -3
- package/dist/preflight/rpc-network.js +46 -13
- package/dist/preflight/rpc-network.js.map +1 -1
- package/dist/preflight/stable-cwd.d.ts +29 -0
- package/dist/preflight/stable-cwd.js +98 -0
- package/dist/preflight/stable-cwd.js.map +1 -0
- package/dist/preflight/version-check.d.ts +41 -0
- package/dist/preflight/version-check.js +80 -0
- package/dist/preflight/version-check.js.map +1 -0
- package/dist/rpc/transport.d.ts +7 -5
- package/dist/rpc/transport.js +8 -6
- package/dist/rpc/transport.js.map +1 -1
- package/dist/scripts/swe-rebench-v2-evaluator.bundle.v1.patch +79 -0
- package/dist/solver-nets/registry.d.ts +19 -0
- package/dist/solver-nets/registry.js +99 -66
- package/dist/solver-nets/registry.js.map +1 -1
- package/dist/solver-types/_jinn-repo-pool.d.ts +61 -0
- package/dist/solver-types/_jinn-repo-pool.js +34 -0
- package/dist/solver-types/_jinn-repo-pool.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo-git.d.ts +46 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo-git.js +192 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo-git.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo.d.ts +57 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo.js +57 -0
- package/dist/solver-types/_swe-rebench-v2-commit-echo.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-differential-admission.d.ts +395 -0
- package/dist/solver-types/_swe-rebench-v2-differential-admission.js +231 -0
- package/dist/solver-types/_swe-rebench-v2-differential-admission.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-empirical-tests.d.ts +47 -0
- package/dist/solver-types/_swe-rebench-v2-empirical-tests.js +67 -0
- package/dist/solver-types/_swe-rebench-v2-empirical-tests.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-escrow.d.ts +2 -0
- package/dist/solver-types/_swe-rebench-v2-escrow.js +13 -0
- package/dist/solver-types/_swe-rebench-v2-escrow.js.map +1 -1
- package/dist/solver-types/_swe-rebench-v2-guards.d.ts +44 -0
- package/dist/solver-types/_swe-rebench-v2-guards.js +111 -0
- package/dist/solver-types/_swe-rebench-v2-guards.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-harvest-state.d.ts +191 -0
- package/dist/solver-types/_swe-rebench-v2-harvest-state.js +349 -0
- package/dist/solver-types/_swe-rebench-v2-harvest-state.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-harvest.d.ts +123 -0
- package/dist/solver-types/_swe-rebench-v2-harvest.js +539 -0
- package/dist/solver-types/_swe-rebench-v2-harvest.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-held-out-slate.d.ts +1 -1
- package/dist/solver-types/_swe-rebench-v2-held-out-slate.js +1 -1
- package/dist/solver-types/_swe-rebench-v2-held-out-slate.js.map +1 -1
- package/dist/solver-types/_swe-rebench-v2-hunk-echo.d.ts +28 -0
- package/dist/solver-types/_swe-rebench-v2-hunk-echo.js +32 -0
- package/dist/solver-types/_swe-rebench-v2-hunk-echo.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-lookup-tripwire.d.ts +16 -0
- package/dist/solver-types/_swe-rebench-v2-lookup-tripwire.js +18 -0
- package/dist/solver-types/_swe-rebench-v2-lookup-tripwire.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store-port.d.ts +74 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store-port.js +9 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store-port.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store.d.ts +51 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store.js +171 -0
- package/dist/solver-types/_swe-rebench-v2-mineable-store.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-mint-cli.d.ts +82 -0
- package/dist/solver-types/_swe-rebench-v2-mint-cli.js +434 -0
- package/dist/solver-types/_swe-rebench-v2-mint-cli.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-minted-environment-verifier.d.ts +25 -0
- package/dist/solver-types/_swe-rebench-v2-minted-environment-verifier.js +101 -0
- package/dist/solver-types/_swe-rebench-v2-minted-environment-verifier.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-minted-pool.d.ts +179 -0
- package/dist/solver-types/_swe-rebench-v2-minted-pool.js +408 -0
- package/dist/solver-types/_swe-rebench-v2-minted-pool.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-session-echo.d.ts +36 -0
- package/dist/solver-types/_swe-rebench-v2-session-echo.js +193 -0
- package/dist/solver-types/_swe-rebench-v2-session-echo.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-substrate.d.ts +11 -0
- package/dist/solver-types/_swe-rebench-v2-substrate.js +24 -0
- package/dist/solver-types/_swe-rebench-v2-substrate.js.map +1 -1
- package/dist/solver-types/_swe-rebench-v2-synthetic-claim.d.ts +9 -0
- package/dist/solver-types/_swe-rebench-v2-synthetic-claim.js +16 -0
- package/dist/solver-types/_swe-rebench-v2-synthetic-claim.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-validated-pool.d.ts +144 -1
- package/dist/solver-types/_swe-rebench-v2-validated-pool.js +292 -14
- package/dist/solver-types/_swe-rebench-v2-validated-pool.js.map +1 -1
- package/dist/solver-types/_swe-rebench-v2-verifier-facts.d.ts +93 -0
- package/dist/solver-types/_swe-rebench-v2-verifier-facts.js +583 -0
- package/dist/solver-types/_swe-rebench-v2-verifier-facts.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-yield-report-data.d.ts +5 -0
- package/dist/solver-types/_swe-rebench-v2-yield-report-data.js +16 -0
- package/dist/solver-types/_swe-rebench-v2-yield-report-data.js.map +1 -0
- package/dist/solver-types/_swe-rebench-v2-yield.d.ts +51 -0
- package/dist/solver-types/_swe-rebench-v2-yield.js +53 -0
- package/dist/solver-types/_swe-rebench-v2-yield.js.map +1 -0
- package/dist/solver-types/index.js +2 -0
- package/dist/solver-types/index.js.map +1 -1
- package/dist/solver-types/jinn-repo-admit.d.ts +17 -0
- package/dist/solver-types/jinn-repo-admit.js +16 -0
- package/dist/solver-types/jinn-repo-admit.js.map +1 -0
- package/dist/solver-types/jinn-repo-auto.d.ts +60 -0
- package/dist/solver-types/jinn-repo-auto.js +163 -0
- package/dist/solver-types/jinn-repo-auto.js.map +1 -0
- package/dist/solver-types/jinn-repo-definition.d.ts +15 -0
- package/dist/solver-types/jinn-repo-definition.js +34 -0
- package/dist/solver-types/jinn-repo-definition.js.map +1 -0
- package/dist/solver-types/jinn-repo-extract.d.ts +16 -0
- package/dist/solver-types/jinn-repo-extract.js +33 -0
- package/dist/solver-types/jinn-repo-extract.js.map +1 -0
- package/dist/solver-types/jinn-repo-live-auto.d.ts +203 -0
- package/dist/solver-types/jinn-repo-live-auto.js +348 -0
- package/dist/solver-types/jinn-repo-live-auto.js.map +1 -0
- package/dist/solver-types/jinn-repo.d.ts +42 -0
- package/dist/solver-types/jinn-repo.js +42 -0
- package/dist/solver-types/jinn-repo.js.map +1 -0
- package/dist/solver-types/learner-loop-test.js +1 -1
- package/dist/solver-types/learner-loop-test.js.map +1 -1
- package/dist/solver-types/slates/held-out-slate.swe-rebench-v2.v3.json +34 -0
- package/dist/solver-types/slates/held-out-slate.swe-rebench-v2.v3.quality-screen.json +186 -0
- package/dist/solver-types/slates/held-out-slate.swe-rebench-v2.v3.screening-report.json +488 -0
- package/dist/solver-types/swe-rebench-v2-auto.d.ts +13 -0
- package/dist/solver-types/swe-rebench-v2-auto.js +36 -1
- package/dist/solver-types/swe-rebench-v2-auto.js.map +1 -1
- package/dist/solver-types/swe-rebench-v2.js +48 -11
- package/dist/solver-types/swe-rebench-v2.js.map +1 -1
- package/dist/solvernets/launched-record-dispatcher.d.ts +14 -0
- package/dist/solvernets/launched-record-dispatcher.js +28 -1
- package/dist/solvernets/launched-record-dispatcher.js.map +1 -1
- package/dist/solvernets/store.d.ts +1 -1
- package/dist/solvernets/store.js +1 -1
- package/dist/solvernets/store.js.map +1 -1
- package/dist/spend/credential.d.ts +2 -2
- package/dist/spend/credential.js +9 -3
- package/dist/spend/credential.js.map +1 -1
- package/dist/spend/spend-cap.d.ts +10 -0
- package/dist/spend/spend-cap.js +13 -0
- package/dist/spend/spend-cap.js.map +1 -0
- package/dist/spend/usage.js +39 -3
- package/dist/spend/usage.js.map +1 -1
- package/dist/store/store.d.ts +59 -1
- package/dist/store/store.js +157 -6
- package/dist/store/store.js.map +1 -1
- package/dist/task-creator/environment/adapters.d.ts +139 -0
- package/dist/task-creator/environment/adapters.js +446 -0
- package/dist/task-creator/environment/adapters.js.map +1 -0
- package/dist/task-creator/environment/build.d.ts +5 -0
- package/dist/task-creator/environment/build.js +53 -0
- package/dist/task-creator/environment/build.js.map +1 -0
- package/dist/task-creator/environment/contracts.d.ts +1338 -0
- package/dist/task-creator/environment/contracts.js +207 -0
- package/dist/task-creator/environment/contracts.js.map +1 -0
- package/dist/task-creator/environment/github.d.ts +25 -0
- package/dist/task-creator/environment/github.js +67 -0
- package/dist/task-creator/environment/github.js.map +1 -0
- package/dist/task-creator/environment/interfaces.d.ts +60 -0
- package/dist/task-creator/environment/interfaces.js +3 -0
- package/dist/task-creator/environment/interfaces.js.map +1 -0
- package/dist/task-creator/environment/jinn-differential-policy.d.ts +22 -0
- package/dist/task-creator/environment/jinn-differential-policy.js +73 -0
- package/dist/task-creator/environment/jinn-differential-policy.js.map +1 -0
- package/dist/task-creator/environment/policy.d.ts +38 -0
- package/dist/task-creator/environment/policy.js +51 -0
- package/dist/task-creator/environment/policy.js.map +1 -0
- package/dist/task-creator/environment/publication.d.ts +39 -0
- package/dist/task-creator/environment/publication.js +139 -0
- package/dist/task-creator/environment/publication.js.map +1 -0
- package/dist/task-creator/environment/publish-cli.d.ts +427 -0
- package/dist/task-creator/environment/publish-cli.js +180 -0
- package/dist/task-creator/environment/publish-cli.js.map +1 -0
- package/dist/task-creator/environment/recipes.d.ts +19 -0
- package/dist/task-creator/environment/recipes.js +122 -0
- package/dist/task-creator/environment/recipes.js.map +1 -0
- package/dist/task-creator/environment/resolver.d.ts +53 -0
- package/dist/task-creator/environment/resolver.js +57 -0
- package/dist/task-creator/environment/resolver.js.map +1 -0
- package/dist/task-creator/proofs/differential-receipt-bound-proof.d.ts +27 -0
- package/dist/task-creator/proofs/differential-receipt-bound-proof.js +86 -0
- package/dist/task-creator/proofs/differential-receipt-bound-proof.js.map +1 -0
- package/dist/task-creator/proofs/ipfs-cid.d.ts +7 -0
- package/dist/task-creator/proofs/ipfs-cid.js +98 -0
- package/dist/task-creator/proofs/ipfs-cid.js.map +1 -0
- package/dist/task-creator/proofs/live-proof.d.ts +99 -0
- package/dist/task-creator/proofs/live-proof.js +419 -0
- package/dist/task-creator/proofs/live-proof.js.map +1 -0
- package/dist/task-creator/proofs/public-repo-fixtures.d.ts +53 -0
- package/dist/task-creator/proofs/public-repo-fixtures.js +93 -0
- package/dist/task-creator/proofs/public-repo-fixtures.js.map +1 -0
- package/dist/task-creator/proofs/vitest-json-fixture.d.ts +40 -0
- package/dist/task-creator/proofs/vitest-json-fixture.js +115 -0
- package/dist/task-creator/proofs/vitest-json-fixture.js.map +1 -0
- package/dist/trajectory/emit.d.ts +6 -0
- package/dist/trajectory/emit.js +9 -1
- package/dist/trajectory/emit.js.map +1 -1
- package/dist/trajectory/harness-bundle-schema.d.ts +3 -3
- package/dist/trajectory/harness-bundle-schema.js +1 -1
- package/dist/trajectory/harness-bundle-schema.js.map +1 -1
- package/dist/trajectory/hash-chain.d.ts +1 -18
- package/dist/trajectory/hash-chain.js +1 -22
- package/dist/trajectory/hash-chain.js.map +1 -1
- package/dist/trajectory/index.d.ts +2 -0
- package/dist/trajectory/index.js +2 -0
- package/dist/trajectory/index.js.map +1 -1
- package/dist/trajectory/processors/identity-scrub.js +22 -3
- package/dist/trajectory/processors/identity-scrub.js.map +1 -1
- package/dist/trajectory/schema.d.ts +1 -598
- package/dist/trajectory/schema.js +1 -102
- package/dist/trajectory/schema.js.map +1 -1
- package/dist/trajectory/scrub/build.d.ts +1 -0
- package/dist/trajectory/scrub/build.js +2 -0
- package/dist/trajectory/scrub/build.js.map +1 -0
- package/dist/trajectory/scrub/emit-scrub.d.ts +1 -0
- package/dist/trajectory/scrub/emit-scrub.js +2 -0
- package/dist/trajectory/scrub/emit-scrub.js.map +1 -0
- package/dist/trajectory/scrub/key-policy.d.ts +1 -0
- package/dist/trajectory/scrub/key-policy.js +2 -0
- package/dist/trajectory/scrub/key-policy.js.map +1 -0
- package/dist/trajectory/scrub/layer2.d.ts +1 -0
- package/dist/trajectory/scrub/layer2.js +2 -0
- package/dist/trajectory/scrub/layer2.js.map +1 -0
- package/dist/trajectory/scrub/ml-pii-stage.d.ts +1 -0
- package/dist/trajectory/scrub/ml-pii-stage.js +2 -0
- package/dist/trajectory/scrub/ml-pii-stage.js.map +1 -0
- package/dist/trajectory/scrub/openredaction-stage.d.ts +1 -0
- package/dist/trajectory/scrub/openredaction-stage.js +2 -0
- package/dist/trajectory/scrub/openredaction-stage.js.map +1 -0
- package/dist/trajectory/scrub/pii-build.d.ts +1 -0
- package/dist/trajectory/scrub/pii-build.js +2 -0
- package/dist/trajectory/scrub/pii-build.js.map +1 -0
- package/dist/trajectory/scrub/pipeline.d.ts +1 -0
- package/dist/trajectory/scrub/pipeline.js +2 -0
- package/dist/trajectory/scrub/pipeline.js.map +1 -0
- package/dist/trajectory/scrub/plain-patterns-stage.d.ts +1 -0
- package/dist/trajectory/scrub/plain-patterns-stage.js +2 -0
- package/dist/trajectory/scrub/plain-patterns-stage.js.map +1 -0
- package/dist/trajectory/scrub/secretlint-stage.d.ts +1 -0
- package/dist/trajectory/scrub/secretlint-stage.js +2 -0
- package/dist/trajectory/scrub/secretlint-stage.js.map +1 -0
- package/dist/trajectory/scrub/transformers-detector.d.ts +1 -0
- package/dist/trajectory/scrub/transformers-detector.js +2 -0
- package/dist/trajectory/scrub/transformers-detector.js.map +1 -0
- package/dist/trajectory/scrub/types.d.ts +1 -0
- package/dist/trajectory/scrub/types.js +2 -0
- package/dist/trajectory/scrub/types.js.map +1 -0
- package/dist/trajectory/secret-scrub.d.ts +4 -6
- package/dist/trajectory/secret-scrub.js +52 -12
- package/dist/trajectory/secret-scrub.js.map +1 -1
- package/dist/trajectory/span-profile.js +14 -0
- package/dist/trajectory/span-profile.js.map +1 -1
- package/dist/trajectory/transcript-parsers/aider-history.d.ts +1 -42
- package/dist/trajectory/transcript-parsers/aider-history.js +1 -181
- package/dist/trajectory/transcript-parsers/aider-history.js.map +1 -1
- package/dist/trajectory/transcript-parsers/claude-code-jsonl.d.ts +1 -37
- package/dist/trajectory/transcript-parsers/claude-code-jsonl.js +1 -142
- package/dist/trajectory/transcript-parsers/claude-code-jsonl.js.map +1 -1
- package/dist/trajectory/transcript-parsers/codex-session.d.ts +1 -42
- package/dist/trajectory/transcript-parsers/codex-session.js +1 -235
- package/dist/trajectory/transcript-parsers/codex-session.js.map +1 -1
- package/dist/trajectory/transcript-parsers/continue-devdata.d.ts +1 -41
- package/dist/trajectory/transcript-parsers/continue-devdata.js +1 -190
- package/dist/trajectory/transcript-parsers/continue-devdata.js.map +1 -1
- package/dist/trajectory/transcript-parsers/cursor-sqlite.d.ts +1 -38
- package/dist/trajectory/transcript-parsers/cursor-sqlite.js +1 -118
- package/dist/trajectory/transcript-parsers/cursor-sqlite.js.map +1 -1
- package/dist/trajectory/transcript-parsers/gemini-session.d.ts +1 -35
- package/dist/trajectory/transcript-parsers/gemini-session.js +1 -137
- package/dist/trajectory/transcript-parsers/gemini-session.js.map +1 -1
- package/dist/trajectory/transcript-parsers/types.d.ts +1 -101
- package/dist/trajectory/transcript-parsers/types.js +1 -32
- package/dist/trajectory/transcript-parsers/types.js.map +1 -1
- package/dist/trajectory/transcript-to-spans/attrs.d.ts +1 -0
- package/dist/trajectory/transcript-to-spans/attrs.js +2 -0
- package/dist/trajectory/transcript-to-spans/attrs.js.map +1 -0
- package/dist/trajectory/transcript-to-spans/claude-code-stream-json.d.ts +1 -0
- package/dist/trajectory/transcript-to-spans/claude-code-stream-json.js +2 -0
- package/dist/trajectory/transcript-to-spans/claude-code-stream-json.js.map +1 -0
- package/dist/trajectory/transcript-to-spans/codex-exec-json.d.ts +1 -0
- package/dist/trajectory/transcript-to-spans/codex-exec-json.js +2 -0
- package/dist/trajectory/transcript-to-spans/codex-exec-json.js.map +1 -0
- package/dist/trajectory/transcript-to-spans/hermes-session-json.d.ts +48 -0
- package/dist/trajectory/transcript-to-spans/hermes-session-json.js +193 -0
- package/dist/trajectory/transcript-to-spans/hermes-session-json.js.map +1 -0
- package/dist/trajectory/transcript-to-spans/index.d.ts +38 -0
- package/dist/trajectory/transcript-to-spans/index.js +77 -0
- package/dist/trajectory/transcript-to-spans/index.js.map +1 -0
- package/dist/trajectory/transcript-to-spans/types.d.ts +16 -0
- package/dist/trajectory/transcript-to-spans/types.js +11 -0
- package/dist/trajectory/transcript-to-spans/types.js.map +1 -0
- package/dist/trajectory/transcript-watcher.d.ts +41 -0
- package/dist/trajectory/transcript-watcher.js +34 -0
- package/dist/trajectory/transcript-watcher.js.map +1 -1
- package/dist/tx-retry.d.ts +18 -0
- package/dist/tx-retry.js +52 -12
- package/dist/tx-retry.js.map +1 -1
- package/dist/types/envelope.d.ts +3 -2785
- package/dist/types/envelope.js +3 -160
- package/dist/types/envelope.js.map +1 -1
- package/dist/types/manifest.d.ts +1 -0
- package/dist/types/manifest.js +2 -0
- package/dist/types/manifest.js.map +1 -0
- package/dist/types/payloads/index.d.ts +1 -1
- package/dist/types/payloads/index.js +7 -1
- package/dist/types/payloads/index.js.map +1 -1
- package/dist/types/payloads/portfolio-v0.d.ts +4 -4
- package/dist/types/payloads/portfolio-v0.js +1 -1
- package/dist/types/payloads/portfolio-v0.js.map +1 -1
- package/dist/types/payloads/prediction-apy-v0.d.ts +4 -4
- package/dist/types/payloads/prediction-apy-v0.js +1 -1
- package/dist/types/payloads/prediction-apy-v0.js.map +1 -1
- package/dist/types/payloads/prediction-v0.d.ts +4 -4
- package/dist/types/payloads/prediction-v0.js +1 -1
- package/dist/types/payloads/prediction-v0.js.map +1 -1
- package/dist/types/portfolio.d.ts +1 -1
- package/dist/types/portfolio.js +1 -1
- package/dist/types/portfolio.js.map +1 -1
- package/dist/types/prediction-apy.d.ts +1 -1
- package/dist/types/prediction-apy.js +1 -1
- package/dist/types/prediction-apy.js.map +1 -1
- package/dist/types/prediction.d.ts +1 -1
- package/dist/types/prediction.js +1 -1
- package/dist/types/prediction.js.map +1 -1
- package/dist/types/session-provenance.d.ts +2 -71
- package/dist/types/session-provenance.js +2 -18
- package/dist/types/session-provenance.js.map +1 -1
- package/dist/types/skill-artifact.d.ts +5 -0
- package/dist/types/skill-artifact.js +6 -0
- package/dist/types/skill-artifact.js.map +1 -0
- package/dist/types/task-document.d.ts +315 -1
- package/dist/types/task-document.js +9 -1
- package/dist/types/task-document.js.map +1 -1
- package/dist/types/task-run-read-model.d.ts +21 -0
- package/dist/types/task-run-read-model.js +2 -0
- package/dist/types/task-run-read-model.js.map +1 -0
- package/dist/types/task-run.d.ts +88 -0
- package/dist/types/task-run.js +2 -0
- package/dist/types/task-run.js.map +1 -0
- package/dist/types/task.d.ts +36 -1
- package/dist/types/task.js +1 -1
- package/dist/types/task.js.map +1 -1
- package/dist/types/window.d.ts +2 -12
- package/dist/types/window.js +2 -5
- package/dist/types/window.js.map +1 -1
- package/dist/util/redact-rpc-urls.d.ts +1 -1
- package/dist/util/redact-rpc-urls.js +57 -2
- package/dist/util/redact-rpc-urls.js.map +1 -1
- package/dist/vendor/@jinn-network/core/dist/canonical-json.d.ts +1 -0
- package/dist/vendor/@jinn-network/core/dist/canonical-json.js +67 -0
- package/dist/vendor/@jinn-network/core/dist/captured-task.d.ts +140 -0
- package/dist/vendor/@jinn-network/core/dist/captured-task.js +122 -0
- package/dist/vendor/@jinn-network/core/dist/contribution-store.d.ts +97 -0
- package/dist/vendor/@jinn-network/core/dist/contribution-store.js +770 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/acquire.d.ts +39 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/acquire.js +212 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/cache.d.ts +14 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/cache.js +17 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/capture-meta.d.ts +16 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/capture-meta.js +18 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/create-corpus.d.ts +2 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/create-corpus.js +97 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/fetch-artifact.d.ts +21 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/fetch-artifact.js +32 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/fetch.d.ts +12 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/fetch.js +24 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/http-discovery.d.ts +9 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/http-discovery.js +128 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/index.d.ts +10 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/index.js +10 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/ipfs.d.ts +5 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/ipfs.js +72 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/route-resolver.d.ts +16 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/route-resolver.js +19 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/types.d.ts +177 -0
- package/dist/vendor/@jinn-network/core/dist/corpus-read/types.js +42 -0
- package/dist/vendor/@jinn-network/core/dist/envelope.d.ts +134 -0
- package/dist/vendor/@jinn-network/core/dist/envelope.js +162 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-adapter.d.ts +26 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-adapter.js +321 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-filesystem.d.ts +40 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-filesystem.js +267 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-index.d.ts +117 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-index.js +1083 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-store-lock.d.ts +2 -0
- package/dist/vendor/@jinn-network/core/dist/evidence-store-lock.js +208 -0
- package/dist/vendor/@jinn-network/core/dist/execution-envelope.d.ts +3142 -0
- package/dist/vendor/@jinn-network/core/dist/execution-envelope.js +203 -0
- package/dist/vendor/@jinn-network/core/dist/index.d.ts +12 -0
- package/dist/vendor/@jinn-network/core/dist/index.js +12 -0
- package/dist/vendor/@jinn-network/core/dist/manifest.d.ts +75 -0
- package/dist/vendor/@jinn-network/core/dist/manifest.js +184 -0
- package/dist/vendor/@jinn-network/core/dist/paired.d.ts +68 -0
- package/dist/vendor/@jinn-network/core/dist/paired.js +92 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/build.d.ts +55 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/build.js +87 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/emit-scrub.d.ts +41 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/emit-scrub.js +87 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/index.d.ts +12 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/index.js +12 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/key-policy.d.ts +20 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/key-policy.js +42 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/layer2.d.ts +24 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/layer2.js +33 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/ml-pii-stage.d.ts +24 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/ml-pii-stage.js +42 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/openredaction-stage.d.ts +196 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/openredaction-stage.js +270 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/pii-build.d.ts +38 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/pii-build.js +67 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/pipeline.d.ts +38 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/pipeline.js +83 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/plain-patterns-stage.d.ts +42 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/plain-patterns-stage.js +114 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/secretlint-stage.d.ts +36 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/secretlint-stage.js +249 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/transformers-detector.d.ts +35 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/transformers-detector.js +67 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/types.d.ts +25 -0
- package/dist/vendor/@jinn-network/core/dist/scrub/types.js +1 -0
- package/dist/vendor/@jinn-network/core/dist/session-provenance.d.ts +75 -0
- package/dist/vendor/@jinn-network/core/dist/session-provenance.js +20 -0
- package/dist/vendor/@jinn-network/core/dist/skill-artifact.d.ts +442 -0
- package/dist/vendor/@jinn-network/core/dist/skill-artifact.js +136 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/hash-chain.d.ts +18 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/hash-chain.js +47 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/index.d.ts +4 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/index.js +4 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/schema.d.ts +606 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/schema.js +110 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/aider-history.d.ts +42 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/aider-history.js +181 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/claude-code-jsonl.d.ts +37 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/claude-code-jsonl.js +142 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/codex-session.d.ts +42 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/codex-session.js +235 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/continue-devdata.d.ts +41 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/continue-devdata.js +190 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/cursor-sqlite.d.ts +38 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/cursor-sqlite.js +118 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/gemini-session.d.ts +35 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/gemini-session.js +137 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/index.d.ts +7 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/index.js +7 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/types.d.ts +101 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-parsers/types.js +32 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/attrs.d.ts +4 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/attrs.js +30 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/claude-code-stream-json.d.ts +8 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/claude-code-stream-json.js +162 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/codex-exec-json.d.ts +8 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/codex-exec-json.js +253 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/index.d.ts +4 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/index.js +4 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/types.d.ts +18 -0
- package/dist/vendor/@jinn-network/core/dist/trajectory/transcript-to-spans/types.js +1 -0
- package/dist/vendor/@jinn-network/core/dist/window.d.ts +12 -0
- package/dist/vendor/@jinn-network/core/dist/window.js +5 -0
- package/dist/vendor/@jinn-network/core/package.json +38 -0
- package/dist/vendor/@jinn-network/plugin/dist/eligibility.d.ts +12 -0
- package/dist/vendor/@jinn-network/plugin/dist/eligibility.js +12 -0
- package/dist/vendor/@jinn-network/plugin/dist/history.d.ts +35 -0
- package/dist/vendor/@jinn-network/plugin/dist/history.js +140 -0
- package/dist/vendor/@jinn-network/plugin/dist/index.d.ts +32 -0
- package/dist/vendor/@jinn-network/plugin/dist/index.js +15 -0
- package/dist/vendor/@jinn-network/plugin/dist/outcome.d.ts +26 -0
- package/dist/vendor/@jinn-network/plugin/dist/outcome.js +23 -0
- package/dist/vendor/@jinn-network/plugin/dist/pickup.d.ts +101 -0
- package/dist/vendor/@jinn-network/plugin/dist/pickup.js +354 -0
- package/dist/vendor/@jinn-network/plugin/dist/plugin.d.ts +157 -0
- package/dist/vendor/@jinn-network/plugin/dist/plugin.js +586 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/contribution-port.d.ts +53 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/contribution-port.js +14 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/corpus-port.d.ts +63 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/corpus-port.js +1 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/evidence-port.d.ts +17 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/evidence-port.js +1 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/local-learning-port.d.ts +22 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/local-learning-port.js +1 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/skills-port.d.ts +12 -0
- package/dist/vendor/@jinn-network/plugin/dist/ports/skills-port.js +1 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/contribution-candidate.d.ts +116 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/contribution-candidate.js +63 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/eligibility-verdict.d.ts +8 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/eligibility-verdict.js +7 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/episode.d.ts +432 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/episode.js +452 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/history-entry.d.ts +40 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/history-entry.js +30 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/knowledge-hit.d.ts +27 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/knowledge-hit.js +23 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/knowledge-packet.d.ts +79 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/knowledge-packet.js +213 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/pickup-config.d.ts +20 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/pickup-config.js +34 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/session-summary.d.ts +17 -0
- package/dist/vendor/@jinn-network/plugin/dist/schemas/session-summary.js +19 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/contract-kits.d.ts +12 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/contract-kits.js +201 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-contribution.d.ts +93 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-contribution.js +104 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-corpus.d.ts +47 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-corpus.js +54 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-evidence.d.ts +335 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-evidence.js +23 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-local-learning.d.ts +25 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-local-learning.js +30 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-skills.d.ts +9 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing/in-memory-skills.js +16 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing.d.ts +6 -0
- package/dist/vendor/@jinn-network/plugin/dist/testing.js +8 -0
- package/dist/vendor/@jinn-network/plugin/dist/visibility.d.ts +7 -0
- package/dist/vendor/@jinn-network/plugin/dist/visibility.js +9 -0
- package/dist/vendor/@jinn-network/plugin/package.json +22 -0
- package/dist/vendor/@jinn-network/sdk/dist/checkpoint.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/checkpoint.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/contracts.d.ts +3 -2
- package/dist/vendor/@jinn-network/sdk/dist/contracts.js +49 -0
- package/dist/vendor/@jinn-network/sdk/dist/jinn-repo.d.ts +214 -0
- package/dist/vendor/@jinn-network/sdk/dist/jinn-repo.js +75 -0
- package/dist/vendor/@jinn-network/sdk/dist/json-schema.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/json-schema.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/jinn-repo.d.ts +140 -0
- package/dist/vendor/@jinn-network/sdk/dist/payloads/jinn-repo.js +52 -0
- package/dist/vendor/@jinn-network/sdk/dist/payloads/prediction-v1.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/prediction-v1.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/session-derived.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/session-derived.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/swe-rebench-v2.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/payloads/swe-rebench-v2.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/prediction-v1.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/prediction-v1.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/solvernets/jinn-repo.d.ts +4 -0
- package/dist/vendor/@jinn-network/sdk/dist/solvernets/jinn-repo.js +2 -0
- package/dist/vendor/@jinn-network/sdk/dist/solvernets/manifest-schema.d.ts +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/solvernets/manifest-schema.js +1 -1
- package/dist/vendor/@jinn-network/sdk/dist/swe-rebench-v2.d.ts +34 -6
- package/dist/vendor/@jinn-network/sdk/dist/swe-rebench-v2.js +28 -5
- package/dist/vendor/@jinn-network/sdk/package.json +5 -1
- package/node_modules/@jinn-network/core/dist/canonical-json.d.ts +1 -0
- package/node_modules/@jinn-network/core/dist/canonical-json.js +67 -0
- package/node_modules/@jinn-network/core/dist/captured-task.d.ts +140 -0
- package/node_modules/@jinn-network/core/dist/captured-task.js +122 -0
- package/node_modules/@jinn-network/core/dist/contribution-store.d.ts +97 -0
- package/node_modules/@jinn-network/core/dist/contribution-store.js +770 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/acquire.d.ts +39 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/acquire.js +212 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/cache.d.ts +14 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/cache.js +17 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/capture-meta.d.ts +16 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/capture-meta.js +18 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/create-corpus.d.ts +2 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/create-corpus.js +97 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/fetch-artifact.d.ts +21 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/fetch-artifact.js +32 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/fetch.d.ts +12 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/fetch.js +24 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/http-discovery.d.ts +9 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/http-discovery.js +128 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/index.d.ts +10 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/index.js +10 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/ipfs.d.ts +5 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/ipfs.js +72 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/route-resolver.d.ts +16 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/route-resolver.js +19 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/types.d.ts +177 -0
- package/node_modules/@jinn-network/core/dist/corpus-read/types.js +42 -0
- package/node_modules/@jinn-network/core/dist/envelope.d.ts +134 -0
- package/node_modules/@jinn-network/core/dist/envelope.js +162 -0
- package/node_modules/@jinn-network/core/dist/evidence-adapter.d.ts +26 -0
- package/node_modules/@jinn-network/core/dist/evidence-adapter.js +321 -0
- package/node_modules/@jinn-network/core/dist/evidence-filesystem.d.ts +40 -0
- package/node_modules/@jinn-network/core/dist/evidence-filesystem.js +267 -0
- package/node_modules/@jinn-network/core/dist/evidence-index.d.ts +117 -0
- package/node_modules/@jinn-network/core/dist/evidence-index.js +1083 -0
- package/node_modules/@jinn-network/core/dist/evidence-store-lock.d.ts +2 -0
- package/node_modules/@jinn-network/core/dist/evidence-store-lock.js +208 -0
- package/node_modules/@jinn-network/core/dist/execution-envelope.d.ts +3142 -0
- package/node_modules/@jinn-network/core/dist/execution-envelope.js +203 -0
- package/node_modules/@jinn-network/core/dist/index.d.ts +12 -0
- package/node_modules/@jinn-network/core/dist/index.js +12 -0
- package/node_modules/@jinn-network/core/dist/manifest.d.ts +75 -0
- package/node_modules/@jinn-network/core/dist/manifest.js +184 -0
- package/node_modules/@jinn-network/core/dist/paired.d.ts +68 -0
- package/node_modules/@jinn-network/core/dist/paired.js +92 -0
- package/node_modules/@jinn-network/core/dist/scrub/build.d.ts +55 -0
- package/node_modules/@jinn-network/core/dist/scrub/build.js +87 -0
- package/node_modules/@jinn-network/core/dist/scrub/emit-scrub.d.ts +41 -0
- package/node_modules/@jinn-network/core/dist/scrub/emit-scrub.js +87 -0
- package/node_modules/@jinn-network/core/dist/scrub/index.d.ts +12 -0
- package/node_modules/@jinn-network/core/dist/scrub/index.js +12 -0
- package/node_modules/@jinn-network/core/dist/scrub/key-policy.d.ts +20 -0
- package/node_modules/@jinn-network/core/dist/scrub/key-policy.js +42 -0
- package/node_modules/@jinn-network/core/dist/scrub/layer2.d.ts +24 -0
- package/node_modules/@jinn-network/core/dist/scrub/layer2.js +33 -0
- package/node_modules/@jinn-network/core/dist/scrub/ml-pii-stage.d.ts +24 -0
- package/node_modules/@jinn-network/core/dist/scrub/ml-pii-stage.js +42 -0
- package/node_modules/@jinn-network/core/dist/scrub/openredaction-stage.d.ts +196 -0
- package/node_modules/@jinn-network/core/dist/scrub/openredaction-stage.js +270 -0
- package/node_modules/@jinn-network/core/dist/scrub/pii-build.d.ts +38 -0
- package/node_modules/@jinn-network/core/dist/scrub/pii-build.js +67 -0
- package/node_modules/@jinn-network/core/dist/scrub/pipeline.d.ts +38 -0
- package/node_modules/@jinn-network/core/dist/scrub/pipeline.js +83 -0
- package/node_modules/@jinn-network/core/dist/scrub/plain-patterns-stage.d.ts +42 -0
- package/node_modules/@jinn-network/core/dist/scrub/plain-patterns-stage.js +114 -0
- package/node_modules/@jinn-network/core/dist/scrub/secretlint-stage.d.ts +36 -0
- package/node_modules/@jinn-network/core/dist/scrub/secretlint-stage.js +249 -0
- package/node_modules/@jinn-network/core/dist/scrub/transformers-detector.d.ts +35 -0
- package/node_modules/@jinn-network/core/dist/scrub/transformers-detector.js +67 -0
- package/node_modules/@jinn-network/core/dist/scrub/types.d.ts +25 -0
- package/node_modules/@jinn-network/core/dist/scrub/types.js +1 -0
- package/node_modules/@jinn-network/core/dist/session-provenance.d.ts +75 -0
- package/node_modules/@jinn-network/core/dist/session-provenance.js +20 -0
- package/node_modules/@jinn-network/core/dist/skill-artifact.d.ts +442 -0
- package/node_modules/@jinn-network/core/dist/skill-artifact.js +136 -0
- package/node_modules/@jinn-network/core/dist/trajectory/hash-chain.d.ts +18 -0
- package/node_modules/@jinn-network/core/dist/trajectory/hash-chain.js +47 -0
- package/node_modules/@jinn-network/core/dist/trajectory/index.d.ts +4 -0
- package/node_modules/@jinn-network/core/dist/trajectory/index.js +4 -0
- package/node_modules/@jinn-network/core/dist/trajectory/schema.d.ts +606 -0
- package/node_modules/@jinn-network/core/dist/trajectory/schema.js +110 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/aider-history.d.ts +42 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/aider-history.js +181 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/claude-code-jsonl.d.ts +37 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/claude-code-jsonl.js +142 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/codex-session.d.ts +42 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/codex-session.js +235 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/continue-devdata.d.ts +41 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/continue-devdata.js +190 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/cursor-sqlite.d.ts +38 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/cursor-sqlite.js +118 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/gemini-session.d.ts +35 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/gemini-session.js +137 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/index.d.ts +7 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/index.js +7 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/types.d.ts +101 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-parsers/types.js +32 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/attrs.d.ts +4 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/attrs.js +30 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/claude-code-stream-json.d.ts +8 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/claude-code-stream-json.js +162 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/codex-exec-json.d.ts +8 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/codex-exec-json.js +253 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/index.d.ts +4 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/index.js +4 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/types.d.ts +18 -0
- package/node_modules/@jinn-network/core/dist/trajectory/transcript-to-spans/types.js +1 -0
- package/node_modules/@jinn-network/core/dist/window.d.ts +12 -0
- package/node_modules/@jinn-network/core/dist/window.js +5 -0
- package/node_modules/@jinn-network/core/package.json +61 -0
- package/node_modules/@jinn-network/plugin/dist/eligibility.d.ts +12 -0
- package/node_modules/@jinn-network/plugin/dist/eligibility.js +12 -0
- package/node_modules/@jinn-network/plugin/dist/history.d.ts +35 -0
- package/node_modules/@jinn-network/plugin/dist/history.js +140 -0
- package/node_modules/@jinn-network/plugin/dist/index.d.ts +32 -0
- package/node_modules/@jinn-network/plugin/dist/index.js +15 -0
- package/node_modules/@jinn-network/plugin/dist/outcome.d.ts +26 -0
- package/node_modules/@jinn-network/plugin/dist/outcome.js +23 -0
- package/node_modules/@jinn-network/plugin/dist/pickup.d.ts +101 -0
- package/node_modules/@jinn-network/plugin/dist/pickup.js +354 -0
- package/node_modules/@jinn-network/plugin/dist/plugin.d.ts +157 -0
- package/node_modules/@jinn-network/plugin/dist/plugin.js +586 -0
- package/node_modules/@jinn-network/plugin/dist/ports/contribution-port.d.ts +53 -0
- package/node_modules/@jinn-network/plugin/dist/ports/contribution-port.js +14 -0
- package/node_modules/@jinn-network/plugin/dist/ports/corpus-port.d.ts +63 -0
- package/node_modules/@jinn-network/plugin/dist/ports/corpus-port.js +1 -0
- package/node_modules/@jinn-network/plugin/dist/ports/evidence-port.d.ts +17 -0
- package/node_modules/@jinn-network/plugin/dist/ports/evidence-port.js +1 -0
- package/node_modules/@jinn-network/plugin/dist/ports/local-learning-port.d.ts +22 -0
- package/node_modules/@jinn-network/plugin/dist/ports/local-learning-port.js +1 -0
- package/node_modules/@jinn-network/plugin/dist/ports/skills-port.d.ts +12 -0
- package/node_modules/@jinn-network/plugin/dist/ports/skills-port.js +1 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/contribution-candidate.d.ts +116 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/contribution-candidate.js +63 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/eligibility-verdict.d.ts +8 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/eligibility-verdict.js +7 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/episode.d.ts +432 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/episode.js +452 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/history-entry.d.ts +40 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/history-entry.js +30 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/knowledge-hit.d.ts +27 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/knowledge-hit.js +23 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/knowledge-packet.d.ts +79 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/knowledge-packet.js +213 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/pickup-config.d.ts +20 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/pickup-config.js +34 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/session-summary.d.ts +17 -0
- package/node_modules/@jinn-network/plugin/dist/schemas/session-summary.js +19 -0
- package/node_modules/@jinn-network/plugin/dist/testing/contract-kits.d.ts +12 -0
- package/node_modules/@jinn-network/plugin/dist/testing/contract-kits.js +201 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-contribution.d.ts +93 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-contribution.js +104 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-corpus.d.ts +47 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-corpus.js +54 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-evidence.d.ts +335 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-evidence.js +23 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-local-learning.d.ts +25 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-local-learning.js +30 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-skills.d.ts +9 -0
- package/node_modules/@jinn-network/plugin/dist/testing/in-memory-skills.js +16 -0
- package/node_modules/@jinn-network/plugin/dist/testing.d.ts +6 -0
- package/node_modules/@jinn-network/plugin/dist/testing.js +8 -0
- package/node_modules/@jinn-network/plugin/dist/visibility.d.ts +7 -0
- package/node_modules/@jinn-network/plugin/dist/visibility.js +9 -0
- package/node_modules/@jinn-network/plugin/package.json +50 -0
- package/node_modules/@jinn-network/plugin/process-contract.json +8 -0
- package/package.json +60 -18
- package/plugins/jinn-repo-runtime/.claude-plugin/plugin.json +5 -0
- package/plugins/jinn-repo-runtime/.codex-plugin/plugin.json +39 -0
- package/plugins/jinn-repo-runtime/README.md +27 -0
- package/plugins/jinn-repo-runtime/hooks/hooks.json +16 -0
- package/plugins/jinn-repo-runtime/hooks/session-start +73 -0
- package/plugins/jinn-repo-runtime/jinn.plugin.json +11 -0
- package/plugins/jinn-repo-runtime/skills/task/SKILL.md +92 -0
- package/skills/jinn-operator/SKILL.md +29 -15
- package/deployments/deployment-jinn-mvi-l1-sepolia-fast.json +0 -55
- package/deployments/deployment-jinn-mvi-l1-sepolia.json +0 -55
- package/deployments/deployment-jinn-mvi-l2-baseSepolia.json +0 -13
- package/deployments/deployment-jinn-testnet-faucet-baseSepolia-fast.json +0 -15
- package/dist/api/peers.js.map +0 -1
- package/dist/daemon/jinn-claim-loop-canonical.d.ts +0 -207
- package/dist/daemon/jinn-claim-loop-canonical.js +0 -296
- package/dist/daemon/jinn-claim-loop-canonical.js.map +0 -1
- package/dist/daemon/jinn-claim-loop-mock.d.ts +0 -61
- package/dist/daemon/jinn-claim-loop-mock.js +0 -122
- package/dist/daemon/jinn-claim-loop-mock.js.map +0 -1
- package/dist/daemon/jinn-claim-loop-wiring.d.ts +0 -33
- package/dist/daemon/jinn-claim-loop-wiring.js +0 -40
- package/dist/daemon/jinn-claim-loop-wiring.js.map +0 -1
- package/dist/daemon/jinn-claim-loop.d.ts +0 -130
- package/dist/daemon/jinn-claim-loop.js +0 -328
- package/dist/daemon/jinn-claim-loop.js.map +0 -1
- package/dist/dashboard/assets/index-BVAWkLwY.css +0 -1
- package/dist/dashboard/assets/index-DEPqtGOA.js +0 -167
- package/dist/earning/jinn-rewards.js.map +0 -1
- package/dist/scripts/donation-consumption-acceptance.d.ts +0 -85
- package/dist/scripts/donation-consumption-acceptance.js +0 -1382
- package/dist/scripts/donation-consumption-acceptance.js.map +0 -1
- package/dist/x402/acquire.d.ts +0 -17
- package/dist/x402/acquire.js +0 -49
- package/dist/x402/acquire.js.map +0 -1
- package/dist/x402/facilitator.d.ts +0 -11
- package/dist/x402/facilitator.js +0 -52
- package/dist/x402/facilitator.js.map +0 -1
- package/dist/x402/handler.d.ts +0 -27
- package/dist/x402/handler.js +0 -236
- package/dist/x402/handler.js.map +0 -1
- /package/dist/{api/peers.d.ts → daemon/peer-sync.d.ts} +0 -0
|
@@ -0,0 +1,3142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* jinn.execution.v1 — generic signed envelope.
|
|
3
|
+
*
|
|
4
|
+
* Scope: docs/superpowers/specs/2026-04-23-jinn-execution-envelope-tee-scope.md
|
|
5
|
+
* §3.1 (D5 + K1 knowledge tree), §3.2 (K3 executor provenance), §3.4 migration.
|
|
6
|
+
*
|
|
7
|
+
* One envelope shape covers solution manifests (role='solution') and
|
|
8
|
+
* verdict manifests (role='verdict'). Payload is typed per (solverType, role) via
|
|
9
|
+
* the registry in `./payloads/`.
|
|
10
|
+
*/
|
|
11
|
+
import { z } from 'zod/v3';
|
|
12
|
+
export declare const EvidenceTierSchema: z.ZodEnum<["self-signed", "committed", "attested"]>;
|
|
13
|
+
export type EvidenceTier = z.infer<typeof EvidenceTierSchema>;
|
|
14
|
+
export declare const CanonicalRoleSchema: z.ZodEnum<["solution", "verdict", "capture"]>;
|
|
15
|
+
export type CanonicalRole = z.infer<typeof CanonicalRoleSchema>;
|
|
16
|
+
export type LegacyEnvelopeRole = 'restoration';
|
|
17
|
+
export type RawEnvelopeRole = CanonicalRole | LegacyEnvelopeRole;
|
|
18
|
+
export type Role = CanonicalRole;
|
|
19
|
+
export declare const RawRoleSchema: z.ZodUnion<[z.ZodEnum<["solution", "verdict", "capture"]>, z.ZodLiteral<"restoration">]>;
|
|
20
|
+
export declare function normalizeEnvelopeRole(role: RawEnvelopeRole): CanonicalRole;
|
|
21
|
+
export declare function normalizeEnvelopeRole(role: unknown): unknown;
|
|
22
|
+
export declare const RoleSchema: z.ZodEffects<z.ZodEnum<["solution", "verdict", "capture"]>, "solution" | "verdict" | "capture", unknown>;
|
|
23
|
+
export declare const GeneratorModelSchema: z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
26
|
+
openWeights: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
source: z.ZodEnum<["stream", "config"]>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
id: string;
|
|
30
|
+
source: "stream" | "config";
|
|
31
|
+
provider?: string | undefined;
|
|
32
|
+
openWeights?: boolean | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
id: string;
|
|
35
|
+
source: "stream" | "config";
|
|
36
|
+
provider?: string | undefined;
|
|
37
|
+
openWeights?: boolean | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
export type GeneratorModel = z.infer<typeof GeneratorModelSchema>;
|
|
40
|
+
export declare const DistributionClassSchema: z.ZodEnum<["open", "restricted-tos", "unknown"]>;
|
|
41
|
+
export type DistributionClass = z.infer<typeof DistributionClassSchema>;
|
|
42
|
+
export declare const ArtifactSourceSchema: z.ZodObject<{
|
|
43
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
44
|
+
cid: z.ZodString;
|
|
45
|
+
sha256: z.ZodString;
|
|
46
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
kind: "ipfs";
|
|
49
|
+
encoding: "jinn.artifact.donation.v1";
|
|
50
|
+
sha256: string;
|
|
51
|
+
cid: string;
|
|
52
|
+
}, {
|
|
53
|
+
kind: "ipfs";
|
|
54
|
+
encoding: "jinn.artifact.donation.v1";
|
|
55
|
+
sha256: string;
|
|
56
|
+
cid: string;
|
|
57
|
+
}>;
|
|
58
|
+
declare const ArtifactSchema: z.ZodObject<{
|
|
59
|
+
artifactType: z.ZodString;
|
|
60
|
+
sha256: z.ZodString;
|
|
61
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64
|
+
producedBy: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
spanId: z.ZodString;
|
|
66
|
+
trajectoryCid: z.ZodString;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
spanId: string;
|
|
69
|
+
trajectoryCid: string;
|
|
70
|
+
}, {
|
|
71
|
+
spanId: string;
|
|
72
|
+
trajectoryCid: string;
|
|
73
|
+
}>>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
description?: string | undefined;
|
|
76
|
+
tags?: string[] | undefined;
|
|
77
|
+
producedBy?: {
|
|
78
|
+
spanId: string;
|
|
79
|
+
trajectoryCid: string;
|
|
80
|
+
} | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
description?: string | undefined;
|
|
83
|
+
tags?: string[] | undefined;
|
|
84
|
+
producedBy?: {
|
|
85
|
+
spanId: string;
|
|
86
|
+
trajectoryCid: string;
|
|
87
|
+
} | undefined;
|
|
88
|
+
}>>;
|
|
89
|
+
access: z.ZodObject<{
|
|
90
|
+
endpoint: z.ZodString;
|
|
91
|
+
priceUsdc: z.ZodString;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
endpoint: string;
|
|
94
|
+
priceUsdc: string;
|
|
95
|
+
}, {
|
|
96
|
+
endpoint: string;
|
|
97
|
+
priceUsdc: string;
|
|
98
|
+
}>;
|
|
99
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
101
|
+
cid: z.ZodString;
|
|
102
|
+
sha256: z.ZodString;
|
|
103
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
kind: "ipfs";
|
|
106
|
+
encoding: "jinn.artifact.donation.v1";
|
|
107
|
+
sha256: string;
|
|
108
|
+
cid: string;
|
|
109
|
+
}, {
|
|
110
|
+
kind: "ipfs";
|
|
111
|
+
encoding: "jinn.artifact.donation.v1";
|
|
112
|
+
sha256: string;
|
|
113
|
+
cid: string;
|
|
114
|
+
}>, "many">>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
sha256: string;
|
|
117
|
+
access: {
|
|
118
|
+
endpoint: string;
|
|
119
|
+
priceUsdc: string;
|
|
120
|
+
};
|
|
121
|
+
artifactType: string;
|
|
122
|
+
metadata?: {
|
|
123
|
+
description?: string | undefined;
|
|
124
|
+
tags?: string[] | undefined;
|
|
125
|
+
producedBy?: {
|
|
126
|
+
spanId: string;
|
|
127
|
+
trajectoryCid: string;
|
|
128
|
+
} | undefined;
|
|
129
|
+
} | undefined;
|
|
130
|
+
sources?: {
|
|
131
|
+
kind: "ipfs";
|
|
132
|
+
encoding: "jinn.artifact.donation.v1";
|
|
133
|
+
sha256: string;
|
|
134
|
+
cid: string;
|
|
135
|
+
}[] | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
sha256: string;
|
|
138
|
+
access: {
|
|
139
|
+
endpoint: string;
|
|
140
|
+
priceUsdc: string;
|
|
141
|
+
};
|
|
142
|
+
artifactType: string;
|
|
143
|
+
metadata?: {
|
|
144
|
+
description?: string | undefined;
|
|
145
|
+
tags?: string[] | undefined;
|
|
146
|
+
producedBy?: {
|
|
147
|
+
spanId: string;
|
|
148
|
+
trajectoryCid: string;
|
|
149
|
+
} | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
sources?: {
|
|
152
|
+
kind: "ipfs";
|
|
153
|
+
encoding: "jinn.artifact.donation.v1";
|
|
154
|
+
sha256: string;
|
|
155
|
+
cid: string;
|
|
156
|
+
}[] | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
export type ArtifactSource = z.infer<typeof ArtifactSourceSchema>;
|
|
159
|
+
export type Artifact = z.infer<typeof ArtifactSchema>;
|
|
160
|
+
export declare const UnsignedEnvelopeSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
161
|
+
schemaVersion: z.ZodLiteral<"jinn.execution.v1">;
|
|
162
|
+
solverType: z.ZodString;
|
|
163
|
+
role: z.ZodEffects<z.ZodEnum<["solution", "verdict", "capture"]>, "solution" | "verdict" | "capture", unknown>;
|
|
164
|
+
generatedAt: z.ZodNumber;
|
|
165
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
cid: z.ZodString;
|
|
167
|
+
onchainCreationTx: z.ZodString;
|
|
168
|
+
onchainCreationBlock: z.ZodNumber;
|
|
169
|
+
requestId: z.ZodString;
|
|
170
|
+
/**
|
|
171
|
+
* Unix-seconds timestamp of the on-chain creation block. Sourced from
|
|
172
|
+
* `publicClient.getBlock({ blockNumber })` at claim time (I2 freshness
|
|
173
|
+
* semantics, #1827). Absent when the RPC lookup failed — NEVER stamped
|
|
174
|
+
* with "now": a too-late guess would falsely claim post-cutoff freshness.
|
|
175
|
+
*/
|
|
176
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
/**
|
|
178
|
+
* SWE-bench-style task identity, copied at assembly time from the parsed
|
|
179
|
+
* task document (`task.spec.instance_id` / `.repo` / `.base_commit`).
|
|
180
|
+
* Present for swe-rebench-v2.v1 / jinn-repo.v1 solver types; absent
|
|
181
|
+
* (correctly) for solver types without repo identity (e.g. prediction.*).
|
|
182
|
+
* Materializes the join key C11 (#1842) needs for F2P/P2P + base-commit
|
|
183
|
+
* resolution — #1827.
|
|
184
|
+
*/
|
|
185
|
+
instanceId: z.ZodOptional<z.ZodString>;
|
|
186
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
187
|
+
baseCommit: z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
cid: string;
|
|
190
|
+
onchainCreationTx: string;
|
|
191
|
+
onchainCreationBlock: number;
|
|
192
|
+
requestId: string;
|
|
193
|
+
baseCommit?: string | undefined;
|
|
194
|
+
createdAt?: number | undefined;
|
|
195
|
+
instanceId?: string | undefined;
|
|
196
|
+
repo?: string | undefined;
|
|
197
|
+
}, {
|
|
198
|
+
cid: string;
|
|
199
|
+
onchainCreationTx: string;
|
|
200
|
+
onchainCreationBlock: number;
|
|
201
|
+
requestId: string;
|
|
202
|
+
baseCommit?: string | undefined;
|
|
203
|
+
createdAt?: number | undefined;
|
|
204
|
+
instanceId?: string | undefined;
|
|
205
|
+
repo?: string | undefined;
|
|
206
|
+
}>>;
|
|
207
|
+
sessionProvenance: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
sessionId: z.ZodString;
|
|
209
|
+
capturedAt: z.ZodString;
|
|
210
|
+
originatingTool: z.ZodObject<{
|
|
211
|
+
name: z.ZodString;
|
|
212
|
+
version: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
name: string;
|
|
215
|
+
version?: string | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
name: string;
|
|
218
|
+
version?: string | undefined;
|
|
219
|
+
}>;
|
|
220
|
+
repo: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
222
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
223
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
remoteUrl?: string | undefined;
|
|
226
|
+
commitHash?: string | undefined;
|
|
227
|
+
branch?: string | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
remoteUrl?: string | undefined;
|
|
230
|
+
commitHash?: string | undefined;
|
|
231
|
+
branch?: string | undefined;
|
|
232
|
+
}>>;
|
|
233
|
+
license: z.ZodObject<{
|
|
234
|
+
spdxId: z.ZodOptional<z.ZodString>;
|
|
235
|
+
operatorAssertion: z.ZodEnum<["asserted", "unspecified"]>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
238
|
+
spdxId?: string | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
241
|
+
spdxId?: string | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
publishMinedTasksConsent: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
sessionId: string;
|
|
246
|
+
capturedAt: string;
|
|
247
|
+
originatingTool: {
|
|
248
|
+
name: string;
|
|
249
|
+
version?: string | undefined;
|
|
250
|
+
};
|
|
251
|
+
license: {
|
|
252
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
253
|
+
spdxId?: string | undefined;
|
|
254
|
+
};
|
|
255
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
256
|
+
repo?: {
|
|
257
|
+
remoteUrl?: string | undefined;
|
|
258
|
+
commitHash?: string | undefined;
|
|
259
|
+
branch?: string | undefined;
|
|
260
|
+
} | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
sessionId: string;
|
|
263
|
+
capturedAt: string;
|
|
264
|
+
originatingTool: {
|
|
265
|
+
name: string;
|
|
266
|
+
version?: string | undefined;
|
|
267
|
+
};
|
|
268
|
+
license: {
|
|
269
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
270
|
+
spdxId?: string | undefined;
|
|
271
|
+
};
|
|
272
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
273
|
+
repo?: {
|
|
274
|
+
remoteUrl?: string | undefined;
|
|
275
|
+
commitHash?: string | undefined;
|
|
276
|
+
branch?: string | undefined;
|
|
277
|
+
} | undefined;
|
|
278
|
+
}>>;
|
|
279
|
+
participant: z.ZodObject<{
|
|
280
|
+
safeAddress: z.ZodString;
|
|
281
|
+
agentEoa: z.ZodString;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
safeAddress: string;
|
|
284
|
+
agentEoa: string;
|
|
285
|
+
}, {
|
|
286
|
+
safeAddress: string;
|
|
287
|
+
agentEoa: string;
|
|
288
|
+
}>;
|
|
289
|
+
window: z.ZodObject<{
|
|
290
|
+
startTs: z.ZodNumber;
|
|
291
|
+
endTs: z.ZodNumber;
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
startTs: number;
|
|
294
|
+
endTs: number;
|
|
295
|
+
}, {
|
|
296
|
+
startTs: number;
|
|
297
|
+
endTs: number;
|
|
298
|
+
}>;
|
|
299
|
+
executor: z.ZodObject<{
|
|
300
|
+
implName: z.ZodString;
|
|
301
|
+
implVersion: z.ZodString;
|
|
302
|
+
clientGitSha: z.ZodString;
|
|
303
|
+
codeDigest: z.ZodString;
|
|
304
|
+
runtimeBundleDigest: z.ZodString;
|
|
305
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
306
|
+
name: z.ZodString;
|
|
307
|
+
version: z.ZodString;
|
|
308
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
309
|
+
sha256: z.ZodString;
|
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
name: string;
|
|
312
|
+
version: string;
|
|
313
|
+
sha256: string;
|
|
314
|
+
cid?: string | undefined;
|
|
315
|
+
}, {
|
|
316
|
+
name: string;
|
|
317
|
+
version: string;
|
|
318
|
+
sha256: string;
|
|
319
|
+
cid?: string | undefined;
|
|
320
|
+
}>, "many">;
|
|
321
|
+
signingKey: z.ZodObject<{
|
|
322
|
+
kind: z.ZodEnum<["agent-eoa", "enclave-bound"]>;
|
|
323
|
+
pubkey: z.ZodString;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
326
|
+
pubkey: string;
|
|
327
|
+
}, {
|
|
328
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
329
|
+
pubkey: string;
|
|
330
|
+
}>;
|
|
331
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
bundleCid: z.ZodString;
|
|
333
|
+
sha256: z.ZodString;
|
|
334
|
+
humanUrl: z.ZodOptional<z.ZodString>;
|
|
335
|
+
buildRecipe: z.ZodObject<{
|
|
336
|
+
kind: z.ZodEnum<["dockerfile", "nix", "bazel"]>;
|
|
337
|
+
path: z.ZodString;
|
|
338
|
+
}, "strip", z.ZodTypeAny, {
|
|
339
|
+
path: string;
|
|
340
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
341
|
+
}, {
|
|
342
|
+
path: string;
|
|
343
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
344
|
+
}>;
|
|
345
|
+
measurement: z.ZodString;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
sha256: string;
|
|
348
|
+
bundleCid: string;
|
|
349
|
+
buildRecipe: {
|
|
350
|
+
path: string;
|
|
351
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
352
|
+
};
|
|
353
|
+
measurement: string;
|
|
354
|
+
humanUrl?: string | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
sha256: string;
|
|
357
|
+
bundleCid: string;
|
|
358
|
+
buildRecipe: {
|
|
359
|
+
path: string;
|
|
360
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
361
|
+
};
|
|
362
|
+
measurement: string;
|
|
363
|
+
humanUrl?: string | undefined;
|
|
364
|
+
}>>;
|
|
365
|
+
/**
|
|
366
|
+
* Harness execution mode. Optional in v1 envelope schema for back-compat with
|
|
367
|
+
* envelopes produced before this field was introduced. 'train' means the harness was running
|
|
368
|
+
* with state writes enabled (Improve + Memory phases active in
|
|
369
|
+
* claude-code-learner); 'frozen' means writes were disabled and the
|
|
370
|
+
* implStateDir hash was preserved across the Task. See
|
|
371
|
+
* docs/superpowers/specs/2026-05-06-agent-harness-solvernet-design.md §6.
|
|
372
|
+
*
|
|
373
|
+
* New envelopes always populate this field at assembly time. Readers should
|
|
374
|
+
* treat undefined as 'train' (the legacy behaviour).
|
|
375
|
+
*/
|
|
376
|
+
mode: z.ZodOptional<z.ZodEnum<["train", "frozen"]>>;
|
|
377
|
+
/**
|
|
378
|
+
* Underlying LLM model identifier this attempt was run against (e.g.
|
|
379
|
+
* 'claude-haiku-4-5-20251001', 'claude-sonnet-4-6', 'codex-defaults').
|
|
380
|
+
* Optional for back-compat: envelopes produced before this field was
|
|
381
|
+
* introduced lack it. Sourced from solverNet.model / claudeModel runtime
|
|
382
|
+
* config; stamped at envelope-assembly time. Indexer reads this for the
|
|
383
|
+
* network explorer's composition.byModel facet (jinn-mono-gbut, gh#191).
|
|
384
|
+
*/
|
|
385
|
+
model: z.ZodOptional<z.ZodString>;
|
|
386
|
+
/**
|
|
387
|
+
* Structured, stream-sourced model provenance (#1827). Distinct from the
|
|
388
|
+
* plain `model` string above: `source` is the honesty flag — 'stream'
|
|
389
|
+
* means harvested from the harness's own transcript (verifiable),
|
|
390
|
+
* 'config' means it fell back to solverNet/config declaration
|
|
391
|
+
* (unverified, but not fabricated). Optional for back-compat.
|
|
392
|
+
*/
|
|
393
|
+
generatorModel: z.ZodOptional<z.ZodObject<{
|
|
394
|
+
id: z.ZodString;
|
|
395
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
396
|
+
openWeights: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
source: z.ZodEnum<["stream", "config"]>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
id: string;
|
|
400
|
+
source: "stream" | "config";
|
|
401
|
+
provider?: string | undefined;
|
|
402
|
+
openWeights?: boolean | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
id: string;
|
|
405
|
+
source: "stream" | "config";
|
|
406
|
+
provider?: string | undefined;
|
|
407
|
+
openWeights?: boolean | undefined;
|
|
408
|
+
}>>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
implName: string;
|
|
411
|
+
implVersion: string;
|
|
412
|
+
clientGitSha: string;
|
|
413
|
+
codeDigest: string;
|
|
414
|
+
runtimeBundleDigest: string;
|
|
415
|
+
plugins: {
|
|
416
|
+
name: string;
|
|
417
|
+
version: string;
|
|
418
|
+
sha256: string;
|
|
419
|
+
cid?: string | undefined;
|
|
420
|
+
}[];
|
|
421
|
+
signingKey: {
|
|
422
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
423
|
+
pubkey: string;
|
|
424
|
+
};
|
|
425
|
+
model?: string | undefined;
|
|
426
|
+
source?: {
|
|
427
|
+
sha256: string;
|
|
428
|
+
bundleCid: string;
|
|
429
|
+
buildRecipe: {
|
|
430
|
+
path: string;
|
|
431
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
432
|
+
};
|
|
433
|
+
measurement: string;
|
|
434
|
+
humanUrl?: string | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
generatorModel?: {
|
|
437
|
+
id: string;
|
|
438
|
+
source: "stream" | "config";
|
|
439
|
+
provider?: string | undefined;
|
|
440
|
+
openWeights?: boolean | undefined;
|
|
441
|
+
} | undefined;
|
|
442
|
+
mode?: "train" | "frozen" | undefined;
|
|
443
|
+
}, {
|
|
444
|
+
implName: string;
|
|
445
|
+
implVersion: string;
|
|
446
|
+
clientGitSha: string;
|
|
447
|
+
codeDigest: string;
|
|
448
|
+
runtimeBundleDigest: string;
|
|
449
|
+
plugins: {
|
|
450
|
+
name: string;
|
|
451
|
+
version: string;
|
|
452
|
+
sha256: string;
|
|
453
|
+
cid?: string | undefined;
|
|
454
|
+
}[];
|
|
455
|
+
signingKey: {
|
|
456
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
457
|
+
pubkey: string;
|
|
458
|
+
};
|
|
459
|
+
model?: string | undefined;
|
|
460
|
+
source?: {
|
|
461
|
+
sha256: string;
|
|
462
|
+
bundleCid: string;
|
|
463
|
+
buildRecipe: {
|
|
464
|
+
path: string;
|
|
465
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
466
|
+
};
|
|
467
|
+
measurement: string;
|
|
468
|
+
humanUrl?: string | undefined;
|
|
469
|
+
} | undefined;
|
|
470
|
+
generatorModel?: {
|
|
471
|
+
id: string;
|
|
472
|
+
source: "stream" | "config";
|
|
473
|
+
provider?: string | undefined;
|
|
474
|
+
openWeights?: boolean | undefined;
|
|
475
|
+
} | undefined;
|
|
476
|
+
mode?: "train" | "frozen" | undefined;
|
|
477
|
+
}>;
|
|
478
|
+
evidenceTier: z.ZodEnum<["self-signed", "committed", "attested"]>;
|
|
479
|
+
/**
|
|
480
|
+
* Distribution/licensing class of the model that produced this record
|
|
481
|
+
* (#1827, §8.4). Derived at assembly time from `executor.generatorModel`
|
|
482
|
+
* — never caller-supplied, so it can't drift from the model that actually
|
|
483
|
+
* ran. 'unknown' when undeterminable; consumers MUST treat 'unknown' as
|
|
484
|
+
* 'restricted-tos' (never the reverse) and nothing defaults to 'open'.
|
|
485
|
+
*/
|
|
486
|
+
distributionClass: z.ZodOptional<z.ZodEnum<["open", "restricted-tos", "unknown"]>>;
|
|
487
|
+
attestation: z.ZodNullable<z.ZodObject<{
|
|
488
|
+
profile: z.ZodString;
|
|
489
|
+
quote: z.ZodString;
|
|
490
|
+
reportData: z.ZodString;
|
|
491
|
+
measurement: z.ZodString;
|
|
492
|
+
}, "strip", z.ZodTypeAny, {
|
|
493
|
+
measurement: string;
|
|
494
|
+
profile: string;
|
|
495
|
+
quote: string;
|
|
496
|
+
reportData: string;
|
|
497
|
+
}, {
|
|
498
|
+
measurement: string;
|
|
499
|
+
profile: string;
|
|
500
|
+
quote: string;
|
|
501
|
+
reportData: string;
|
|
502
|
+
}>>;
|
|
503
|
+
trajectory: z.ZodNullable<z.ZodObject<{
|
|
504
|
+
sha256: z.ZodString;
|
|
505
|
+
access: z.ZodObject<{
|
|
506
|
+
endpoint: z.ZodString;
|
|
507
|
+
priceUsdc: z.ZodString;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
endpoint: string;
|
|
510
|
+
priceUsdc: string;
|
|
511
|
+
}, {
|
|
512
|
+
endpoint: string;
|
|
513
|
+
priceUsdc: string;
|
|
514
|
+
}>;
|
|
515
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
516
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
517
|
+
cid: z.ZodString;
|
|
518
|
+
sha256: z.ZodString;
|
|
519
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
|
521
|
+
kind: "ipfs";
|
|
522
|
+
encoding: "jinn.artifact.donation.v1";
|
|
523
|
+
sha256: string;
|
|
524
|
+
cid: string;
|
|
525
|
+
}, {
|
|
526
|
+
kind: "ipfs";
|
|
527
|
+
encoding: "jinn.artifact.donation.v1";
|
|
528
|
+
sha256: string;
|
|
529
|
+
cid: string;
|
|
530
|
+
}>, "many">>;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
sha256: string;
|
|
533
|
+
access: {
|
|
534
|
+
endpoint: string;
|
|
535
|
+
priceUsdc: string;
|
|
536
|
+
};
|
|
537
|
+
sources?: {
|
|
538
|
+
kind: "ipfs";
|
|
539
|
+
encoding: "jinn.artifact.donation.v1";
|
|
540
|
+
sha256: string;
|
|
541
|
+
cid: string;
|
|
542
|
+
}[] | undefined;
|
|
543
|
+
}, {
|
|
544
|
+
sha256: string;
|
|
545
|
+
access: {
|
|
546
|
+
endpoint: string;
|
|
547
|
+
priceUsdc: string;
|
|
548
|
+
};
|
|
549
|
+
sources?: {
|
|
550
|
+
kind: "ipfs";
|
|
551
|
+
encoding: "jinn.artifact.donation.v1";
|
|
552
|
+
sha256: string;
|
|
553
|
+
cid: string;
|
|
554
|
+
}[] | undefined;
|
|
555
|
+
}>>;
|
|
556
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
557
|
+
artifactType: z.ZodString;
|
|
558
|
+
sha256: z.ZodString;
|
|
559
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
description: z.ZodOptional<z.ZodString>;
|
|
561
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
562
|
+
producedBy: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
spanId: z.ZodString;
|
|
564
|
+
trajectoryCid: z.ZodString;
|
|
565
|
+
}, "strip", z.ZodTypeAny, {
|
|
566
|
+
spanId: string;
|
|
567
|
+
trajectoryCid: string;
|
|
568
|
+
}, {
|
|
569
|
+
spanId: string;
|
|
570
|
+
trajectoryCid: string;
|
|
571
|
+
}>>;
|
|
572
|
+
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
description?: string | undefined;
|
|
574
|
+
tags?: string[] | undefined;
|
|
575
|
+
producedBy?: {
|
|
576
|
+
spanId: string;
|
|
577
|
+
trajectoryCid: string;
|
|
578
|
+
} | undefined;
|
|
579
|
+
}, {
|
|
580
|
+
description?: string | undefined;
|
|
581
|
+
tags?: string[] | undefined;
|
|
582
|
+
producedBy?: {
|
|
583
|
+
spanId: string;
|
|
584
|
+
trajectoryCid: string;
|
|
585
|
+
} | undefined;
|
|
586
|
+
}>>;
|
|
587
|
+
access: z.ZodObject<{
|
|
588
|
+
endpoint: z.ZodString;
|
|
589
|
+
priceUsdc: z.ZodString;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
endpoint: string;
|
|
592
|
+
priceUsdc: string;
|
|
593
|
+
}, {
|
|
594
|
+
endpoint: string;
|
|
595
|
+
priceUsdc: string;
|
|
596
|
+
}>;
|
|
597
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
598
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
599
|
+
cid: z.ZodString;
|
|
600
|
+
sha256: z.ZodString;
|
|
601
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
kind: "ipfs";
|
|
604
|
+
encoding: "jinn.artifact.donation.v1";
|
|
605
|
+
sha256: string;
|
|
606
|
+
cid: string;
|
|
607
|
+
}, {
|
|
608
|
+
kind: "ipfs";
|
|
609
|
+
encoding: "jinn.artifact.donation.v1";
|
|
610
|
+
sha256: string;
|
|
611
|
+
cid: string;
|
|
612
|
+
}>, "many">>;
|
|
613
|
+
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
sha256: string;
|
|
615
|
+
access: {
|
|
616
|
+
endpoint: string;
|
|
617
|
+
priceUsdc: string;
|
|
618
|
+
};
|
|
619
|
+
artifactType: string;
|
|
620
|
+
metadata?: {
|
|
621
|
+
description?: string | undefined;
|
|
622
|
+
tags?: string[] | undefined;
|
|
623
|
+
producedBy?: {
|
|
624
|
+
spanId: string;
|
|
625
|
+
trajectoryCid: string;
|
|
626
|
+
} | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
sources?: {
|
|
629
|
+
kind: "ipfs";
|
|
630
|
+
encoding: "jinn.artifact.donation.v1";
|
|
631
|
+
sha256: string;
|
|
632
|
+
cid: string;
|
|
633
|
+
}[] | undefined;
|
|
634
|
+
}, {
|
|
635
|
+
sha256: string;
|
|
636
|
+
access: {
|
|
637
|
+
endpoint: string;
|
|
638
|
+
priceUsdc: string;
|
|
639
|
+
};
|
|
640
|
+
artifactType: string;
|
|
641
|
+
metadata?: {
|
|
642
|
+
description?: string | undefined;
|
|
643
|
+
tags?: string[] | undefined;
|
|
644
|
+
producedBy?: {
|
|
645
|
+
spanId: string;
|
|
646
|
+
trajectoryCid: string;
|
|
647
|
+
} | undefined;
|
|
648
|
+
} | undefined;
|
|
649
|
+
sources?: {
|
|
650
|
+
kind: "ipfs";
|
|
651
|
+
encoding: "jinn.artifact.donation.v1";
|
|
652
|
+
sha256: string;
|
|
653
|
+
cid: string;
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
}>, "many">;
|
|
656
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
|
658
|
+
schemaVersion: "jinn.execution.v1";
|
|
659
|
+
trajectory: {
|
|
660
|
+
sha256: string;
|
|
661
|
+
access: {
|
|
662
|
+
endpoint: string;
|
|
663
|
+
priceUsdc: string;
|
|
664
|
+
};
|
|
665
|
+
sources?: {
|
|
666
|
+
kind: "ipfs";
|
|
667
|
+
encoding: "jinn.artifact.donation.v1";
|
|
668
|
+
sha256: string;
|
|
669
|
+
cid: string;
|
|
670
|
+
}[] | undefined;
|
|
671
|
+
} | null;
|
|
672
|
+
role: "solution" | "verdict" | "capture";
|
|
673
|
+
solverType: string;
|
|
674
|
+
generatedAt: number;
|
|
675
|
+
participant: {
|
|
676
|
+
safeAddress: string;
|
|
677
|
+
agentEoa: string;
|
|
678
|
+
};
|
|
679
|
+
window: {
|
|
680
|
+
startTs: number;
|
|
681
|
+
endTs: number;
|
|
682
|
+
};
|
|
683
|
+
executor: {
|
|
684
|
+
implName: string;
|
|
685
|
+
implVersion: string;
|
|
686
|
+
clientGitSha: string;
|
|
687
|
+
codeDigest: string;
|
|
688
|
+
runtimeBundleDigest: string;
|
|
689
|
+
plugins: {
|
|
690
|
+
name: string;
|
|
691
|
+
version: string;
|
|
692
|
+
sha256: string;
|
|
693
|
+
cid?: string | undefined;
|
|
694
|
+
}[];
|
|
695
|
+
signingKey: {
|
|
696
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
697
|
+
pubkey: string;
|
|
698
|
+
};
|
|
699
|
+
model?: string | undefined;
|
|
700
|
+
source?: {
|
|
701
|
+
sha256: string;
|
|
702
|
+
bundleCid: string;
|
|
703
|
+
buildRecipe: {
|
|
704
|
+
path: string;
|
|
705
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
706
|
+
};
|
|
707
|
+
measurement: string;
|
|
708
|
+
humanUrl?: string | undefined;
|
|
709
|
+
} | undefined;
|
|
710
|
+
generatorModel?: {
|
|
711
|
+
id: string;
|
|
712
|
+
source: "stream" | "config";
|
|
713
|
+
provider?: string | undefined;
|
|
714
|
+
openWeights?: boolean | undefined;
|
|
715
|
+
} | undefined;
|
|
716
|
+
mode?: "train" | "frozen" | undefined;
|
|
717
|
+
};
|
|
718
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
719
|
+
attestation: {
|
|
720
|
+
measurement: string;
|
|
721
|
+
profile: string;
|
|
722
|
+
quote: string;
|
|
723
|
+
reportData: string;
|
|
724
|
+
} | null;
|
|
725
|
+
artifacts: {
|
|
726
|
+
sha256: string;
|
|
727
|
+
access: {
|
|
728
|
+
endpoint: string;
|
|
729
|
+
priceUsdc: string;
|
|
730
|
+
};
|
|
731
|
+
artifactType: string;
|
|
732
|
+
metadata?: {
|
|
733
|
+
description?: string | undefined;
|
|
734
|
+
tags?: string[] | undefined;
|
|
735
|
+
producedBy?: {
|
|
736
|
+
spanId: string;
|
|
737
|
+
trajectoryCid: string;
|
|
738
|
+
} | undefined;
|
|
739
|
+
} | undefined;
|
|
740
|
+
sources?: {
|
|
741
|
+
kind: "ipfs";
|
|
742
|
+
encoding: "jinn.artifact.donation.v1";
|
|
743
|
+
sha256: string;
|
|
744
|
+
cid: string;
|
|
745
|
+
}[] | undefined;
|
|
746
|
+
}[];
|
|
747
|
+
payload: Record<string, unknown>;
|
|
748
|
+
task?: {
|
|
749
|
+
cid: string;
|
|
750
|
+
onchainCreationTx: string;
|
|
751
|
+
onchainCreationBlock: number;
|
|
752
|
+
requestId: string;
|
|
753
|
+
baseCommit?: string | undefined;
|
|
754
|
+
createdAt?: number | undefined;
|
|
755
|
+
instanceId?: string | undefined;
|
|
756
|
+
repo?: string | undefined;
|
|
757
|
+
} | undefined;
|
|
758
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
759
|
+
sessionProvenance?: {
|
|
760
|
+
sessionId: string;
|
|
761
|
+
capturedAt: string;
|
|
762
|
+
originatingTool: {
|
|
763
|
+
name: string;
|
|
764
|
+
version?: string | undefined;
|
|
765
|
+
};
|
|
766
|
+
license: {
|
|
767
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
768
|
+
spdxId?: string | undefined;
|
|
769
|
+
};
|
|
770
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
771
|
+
repo?: {
|
|
772
|
+
remoteUrl?: string | undefined;
|
|
773
|
+
commitHash?: string | undefined;
|
|
774
|
+
branch?: string | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
} | undefined;
|
|
777
|
+
}, {
|
|
778
|
+
schemaVersion: "jinn.execution.v1";
|
|
779
|
+
trajectory: {
|
|
780
|
+
sha256: string;
|
|
781
|
+
access: {
|
|
782
|
+
endpoint: string;
|
|
783
|
+
priceUsdc: string;
|
|
784
|
+
};
|
|
785
|
+
sources?: {
|
|
786
|
+
kind: "ipfs";
|
|
787
|
+
encoding: "jinn.artifact.donation.v1";
|
|
788
|
+
sha256: string;
|
|
789
|
+
cid: string;
|
|
790
|
+
}[] | undefined;
|
|
791
|
+
} | null;
|
|
792
|
+
solverType: string;
|
|
793
|
+
generatedAt: number;
|
|
794
|
+
participant: {
|
|
795
|
+
safeAddress: string;
|
|
796
|
+
agentEoa: string;
|
|
797
|
+
};
|
|
798
|
+
window: {
|
|
799
|
+
startTs: number;
|
|
800
|
+
endTs: number;
|
|
801
|
+
};
|
|
802
|
+
executor: {
|
|
803
|
+
implName: string;
|
|
804
|
+
implVersion: string;
|
|
805
|
+
clientGitSha: string;
|
|
806
|
+
codeDigest: string;
|
|
807
|
+
runtimeBundleDigest: string;
|
|
808
|
+
plugins: {
|
|
809
|
+
name: string;
|
|
810
|
+
version: string;
|
|
811
|
+
sha256: string;
|
|
812
|
+
cid?: string | undefined;
|
|
813
|
+
}[];
|
|
814
|
+
signingKey: {
|
|
815
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
816
|
+
pubkey: string;
|
|
817
|
+
};
|
|
818
|
+
model?: string | undefined;
|
|
819
|
+
source?: {
|
|
820
|
+
sha256: string;
|
|
821
|
+
bundleCid: string;
|
|
822
|
+
buildRecipe: {
|
|
823
|
+
path: string;
|
|
824
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
825
|
+
};
|
|
826
|
+
measurement: string;
|
|
827
|
+
humanUrl?: string | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
generatorModel?: {
|
|
830
|
+
id: string;
|
|
831
|
+
source: "stream" | "config";
|
|
832
|
+
provider?: string | undefined;
|
|
833
|
+
openWeights?: boolean | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
mode?: "train" | "frozen" | undefined;
|
|
836
|
+
};
|
|
837
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
838
|
+
attestation: {
|
|
839
|
+
measurement: string;
|
|
840
|
+
profile: string;
|
|
841
|
+
quote: string;
|
|
842
|
+
reportData: string;
|
|
843
|
+
} | null;
|
|
844
|
+
artifacts: {
|
|
845
|
+
sha256: string;
|
|
846
|
+
access: {
|
|
847
|
+
endpoint: string;
|
|
848
|
+
priceUsdc: string;
|
|
849
|
+
};
|
|
850
|
+
artifactType: string;
|
|
851
|
+
metadata?: {
|
|
852
|
+
description?: string | undefined;
|
|
853
|
+
tags?: string[] | undefined;
|
|
854
|
+
producedBy?: {
|
|
855
|
+
spanId: string;
|
|
856
|
+
trajectoryCid: string;
|
|
857
|
+
} | undefined;
|
|
858
|
+
} | undefined;
|
|
859
|
+
sources?: {
|
|
860
|
+
kind: "ipfs";
|
|
861
|
+
encoding: "jinn.artifact.donation.v1";
|
|
862
|
+
sha256: string;
|
|
863
|
+
cid: string;
|
|
864
|
+
}[] | undefined;
|
|
865
|
+
}[];
|
|
866
|
+
payload: Record<string, unknown>;
|
|
867
|
+
task?: {
|
|
868
|
+
cid: string;
|
|
869
|
+
onchainCreationTx: string;
|
|
870
|
+
onchainCreationBlock: number;
|
|
871
|
+
requestId: string;
|
|
872
|
+
baseCommit?: string | undefined;
|
|
873
|
+
createdAt?: number | undefined;
|
|
874
|
+
instanceId?: string | undefined;
|
|
875
|
+
repo?: string | undefined;
|
|
876
|
+
} | undefined;
|
|
877
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
878
|
+
role?: unknown;
|
|
879
|
+
sessionProvenance?: {
|
|
880
|
+
sessionId: string;
|
|
881
|
+
capturedAt: string;
|
|
882
|
+
originatingTool: {
|
|
883
|
+
name: string;
|
|
884
|
+
version?: string | undefined;
|
|
885
|
+
};
|
|
886
|
+
license: {
|
|
887
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
888
|
+
spdxId?: string | undefined;
|
|
889
|
+
};
|
|
890
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
891
|
+
repo?: {
|
|
892
|
+
remoteUrl?: string | undefined;
|
|
893
|
+
commitHash?: string | undefined;
|
|
894
|
+
branch?: string | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
}>, {
|
|
898
|
+
schemaVersion: "jinn.execution.v1";
|
|
899
|
+
trajectory: {
|
|
900
|
+
sha256: string;
|
|
901
|
+
access: {
|
|
902
|
+
endpoint: string;
|
|
903
|
+
priceUsdc: string;
|
|
904
|
+
};
|
|
905
|
+
sources?: {
|
|
906
|
+
kind: "ipfs";
|
|
907
|
+
encoding: "jinn.artifact.donation.v1";
|
|
908
|
+
sha256: string;
|
|
909
|
+
cid: string;
|
|
910
|
+
}[] | undefined;
|
|
911
|
+
} | null;
|
|
912
|
+
role: "solution" | "verdict" | "capture";
|
|
913
|
+
solverType: string;
|
|
914
|
+
generatedAt: number;
|
|
915
|
+
participant: {
|
|
916
|
+
safeAddress: string;
|
|
917
|
+
agentEoa: string;
|
|
918
|
+
};
|
|
919
|
+
window: {
|
|
920
|
+
startTs: number;
|
|
921
|
+
endTs: number;
|
|
922
|
+
};
|
|
923
|
+
executor: {
|
|
924
|
+
implName: string;
|
|
925
|
+
implVersion: string;
|
|
926
|
+
clientGitSha: string;
|
|
927
|
+
codeDigest: string;
|
|
928
|
+
runtimeBundleDigest: string;
|
|
929
|
+
plugins: {
|
|
930
|
+
name: string;
|
|
931
|
+
version: string;
|
|
932
|
+
sha256: string;
|
|
933
|
+
cid?: string | undefined;
|
|
934
|
+
}[];
|
|
935
|
+
signingKey: {
|
|
936
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
937
|
+
pubkey: string;
|
|
938
|
+
};
|
|
939
|
+
model?: string | undefined;
|
|
940
|
+
source?: {
|
|
941
|
+
sha256: string;
|
|
942
|
+
bundleCid: string;
|
|
943
|
+
buildRecipe: {
|
|
944
|
+
path: string;
|
|
945
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
946
|
+
};
|
|
947
|
+
measurement: string;
|
|
948
|
+
humanUrl?: string | undefined;
|
|
949
|
+
} | undefined;
|
|
950
|
+
generatorModel?: {
|
|
951
|
+
id: string;
|
|
952
|
+
source: "stream" | "config";
|
|
953
|
+
provider?: string | undefined;
|
|
954
|
+
openWeights?: boolean | undefined;
|
|
955
|
+
} | undefined;
|
|
956
|
+
mode?: "train" | "frozen" | undefined;
|
|
957
|
+
};
|
|
958
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
959
|
+
attestation: {
|
|
960
|
+
measurement: string;
|
|
961
|
+
profile: string;
|
|
962
|
+
quote: string;
|
|
963
|
+
reportData: string;
|
|
964
|
+
} | null;
|
|
965
|
+
artifacts: {
|
|
966
|
+
sha256: string;
|
|
967
|
+
access: {
|
|
968
|
+
endpoint: string;
|
|
969
|
+
priceUsdc: string;
|
|
970
|
+
};
|
|
971
|
+
artifactType: string;
|
|
972
|
+
metadata?: {
|
|
973
|
+
description?: string | undefined;
|
|
974
|
+
tags?: string[] | undefined;
|
|
975
|
+
producedBy?: {
|
|
976
|
+
spanId: string;
|
|
977
|
+
trajectoryCid: string;
|
|
978
|
+
} | undefined;
|
|
979
|
+
} | undefined;
|
|
980
|
+
sources?: {
|
|
981
|
+
kind: "ipfs";
|
|
982
|
+
encoding: "jinn.artifact.donation.v1";
|
|
983
|
+
sha256: string;
|
|
984
|
+
cid: string;
|
|
985
|
+
}[] | undefined;
|
|
986
|
+
}[];
|
|
987
|
+
payload: Record<string, unknown>;
|
|
988
|
+
task?: {
|
|
989
|
+
cid: string;
|
|
990
|
+
onchainCreationTx: string;
|
|
991
|
+
onchainCreationBlock: number;
|
|
992
|
+
requestId: string;
|
|
993
|
+
baseCommit?: string | undefined;
|
|
994
|
+
createdAt?: number | undefined;
|
|
995
|
+
instanceId?: string | undefined;
|
|
996
|
+
repo?: string | undefined;
|
|
997
|
+
} | undefined;
|
|
998
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
999
|
+
sessionProvenance?: {
|
|
1000
|
+
sessionId: string;
|
|
1001
|
+
capturedAt: string;
|
|
1002
|
+
originatingTool: {
|
|
1003
|
+
name: string;
|
|
1004
|
+
version?: string | undefined;
|
|
1005
|
+
};
|
|
1006
|
+
license: {
|
|
1007
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1008
|
+
spdxId?: string | undefined;
|
|
1009
|
+
};
|
|
1010
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1011
|
+
repo?: {
|
|
1012
|
+
remoteUrl?: string | undefined;
|
|
1013
|
+
commitHash?: string | undefined;
|
|
1014
|
+
branch?: string | undefined;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
schemaVersion: "jinn.execution.v1";
|
|
1019
|
+
trajectory: {
|
|
1020
|
+
sha256: string;
|
|
1021
|
+
access: {
|
|
1022
|
+
endpoint: string;
|
|
1023
|
+
priceUsdc: string;
|
|
1024
|
+
};
|
|
1025
|
+
sources?: {
|
|
1026
|
+
kind: "ipfs";
|
|
1027
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1028
|
+
sha256: string;
|
|
1029
|
+
cid: string;
|
|
1030
|
+
}[] | undefined;
|
|
1031
|
+
} | null;
|
|
1032
|
+
solverType: string;
|
|
1033
|
+
generatedAt: number;
|
|
1034
|
+
participant: {
|
|
1035
|
+
safeAddress: string;
|
|
1036
|
+
agentEoa: string;
|
|
1037
|
+
};
|
|
1038
|
+
window: {
|
|
1039
|
+
startTs: number;
|
|
1040
|
+
endTs: number;
|
|
1041
|
+
};
|
|
1042
|
+
executor: {
|
|
1043
|
+
implName: string;
|
|
1044
|
+
implVersion: string;
|
|
1045
|
+
clientGitSha: string;
|
|
1046
|
+
codeDigest: string;
|
|
1047
|
+
runtimeBundleDigest: string;
|
|
1048
|
+
plugins: {
|
|
1049
|
+
name: string;
|
|
1050
|
+
version: string;
|
|
1051
|
+
sha256: string;
|
|
1052
|
+
cid?: string | undefined;
|
|
1053
|
+
}[];
|
|
1054
|
+
signingKey: {
|
|
1055
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1056
|
+
pubkey: string;
|
|
1057
|
+
};
|
|
1058
|
+
model?: string | undefined;
|
|
1059
|
+
source?: {
|
|
1060
|
+
sha256: string;
|
|
1061
|
+
bundleCid: string;
|
|
1062
|
+
buildRecipe: {
|
|
1063
|
+
path: string;
|
|
1064
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1065
|
+
};
|
|
1066
|
+
measurement: string;
|
|
1067
|
+
humanUrl?: string | undefined;
|
|
1068
|
+
} | undefined;
|
|
1069
|
+
generatorModel?: {
|
|
1070
|
+
id: string;
|
|
1071
|
+
source: "stream" | "config";
|
|
1072
|
+
provider?: string | undefined;
|
|
1073
|
+
openWeights?: boolean | undefined;
|
|
1074
|
+
} | undefined;
|
|
1075
|
+
mode?: "train" | "frozen" | undefined;
|
|
1076
|
+
};
|
|
1077
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
1078
|
+
attestation: {
|
|
1079
|
+
measurement: string;
|
|
1080
|
+
profile: string;
|
|
1081
|
+
quote: string;
|
|
1082
|
+
reportData: string;
|
|
1083
|
+
} | null;
|
|
1084
|
+
artifacts: {
|
|
1085
|
+
sha256: string;
|
|
1086
|
+
access: {
|
|
1087
|
+
endpoint: string;
|
|
1088
|
+
priceUsdc: string;
|
|
1089
|
+
};
|
|
1090
|
+
artifactType: string;
|
|
1091
|
+
metadata?: {
|
|
1092
|
+
description?: string | undefined;
|
|
1093
|
+
tags?: string[] | undefined;
|
|
1094
|
+
producedBy?: {
|
|
1095
|
+
spanId: string;
|
|
1096
|
+
trajectoryCid: string;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
} | undefined;
|
|
1099
|
+
sources?: {
|
|
1100
|
+
kind: "ipfs";
|
|
1101
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1102
|
+
sha256: string;
|
|
1103
|
+
cid: string;
|
|
1104
|
+
}[] | undefined;
|
|
1105
|
+
}[];
|
|
1106
|
+
payload: Record<string, unknown>;
|
|
1107
|
+
task?: {
|
|
1108
|
+
cid: string;
|
|
1109
|
+
onchainCreationTx: string;
|
|
1110
|
+
onchainCreationBlock: number;
|
|
1111
|
+
requestId: string;
|
|
1112
|
+
baseCommit?: string | undefined;
|
|
1113
|
+
createdAt?: number | undefined;
|
|
1114
|
+
instanceId?: string | undefined;
|
|
1115
|
+
repo?: string | undefined;
|
|
1116
|
+
} | undefined;
|
|
1117
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
1118
|
+
role?: unknown;
|
|
1119
|
+
sessionProvenance?: {
|
|
1120
|
+
sessionId: string;
|
|
1121
|
+
capturedAt: string;
|
|
1122
|
+
originatingTool: {
|
|
1123
|
+
name: string;
|
|
1124
|
+
version?: string | undefined;
|
|
1125
|
+
};
|
|
1126
|
+
license: {
|
|
1127
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1128
|
+
spdxId?: string | undefined;
|
|
1129
|
+
};
|
|
1130
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1131
|
+
repo?: {
|
|
1132
|
+
remoteUrl?: string | undefined;
|
|
1133
|
+
commitHash?: string | undefined;
|
|
1134
|
+
branch?: string | undefined;
|
|
1135
|
+
} | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
}>, {
|
|
1138
|
+
schemaVersion: "jinn.execution.v1";
|
|
1139
|
+
trajectory: {
|
|
1140
|
+
sha256: string;
|
|
1141
|
+
access: {
|
|
1142
|
+
endpoint: string;
|
|
1143
|
+
priceUsdc: string;
|
|
1144
|
+
};
|
|
1145
|
+
sources?: {
|
|
1146
|
+
kind: "ipfs";
|
|
1147
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1148
|
+
sha256: string;
|
|
1149
|
+
cid: string;
|
|
1150
|
+
}[] | undefined;
|
|
1151
|
+
} | null;
|
|
1152
|
+
role: "solution" | "verdict" | "capture";
|
|
1153
|
+
solverType: string;
|
|
1154
|
+
generatedAt: number;
|
|
1155
|
+
participant: {
|
|
1156
|
+
safeAddress: string;
|
|
1157
|
+
agentEoa: string;
|
|
1158
|
+
};
|
|
1159
|
+
window: {
|
|
1160
|
+
startTs: number;
|
|
1161
|
+
endTs: number;
|
|
1162
|
+
};
|
|
1163
|
+
executor: {
|
|
1164
|
+
implName: string;
|
|
1165
|
+
implVersion: string;
|
|
1166
|
+
clientGitSha: string;
|
|
1167
|
+
codeDigest: string;
|
|
1168
|
+
runtimeBundleDigest: string;
|
|
1169
|
+
plugins: {
|
|
1170
|
+
name: string;
|
|
1171
|
+
version: string;
|
|
1172
|
+
sha256: string;
|
|
1173
|
+
cid?: string | undefined;
|
|
1174
|
+
}[];
|
|
1175
|
+
signingKey: {
|
|
1176
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1177
|
+
pubkey: string;
|
|
1178
|
+
};
|
|
1179
|
+
model?: string | undefined;
|
|
1180
|
+
source?: {
|
|
1181
|
+
sha256: string;
|
|
1182
|
+
bundleCid: string;
|
|
1183
|
+
buildRecipe: {
|
|
1184
|
+
path: string;
|
|
1185
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1186
|
+
};
|
|
1187
|
+
measurement: string;
|
|
1188
|
+
humanUrl?: string | undefined;
|
|
1189
|
+
} | undefined;
|
|
1190
|
+
generatorModel?: {
|
|
1191
|
+
id: string;
|
|
1192
|
+
source: "stream" | "config";
|
|
1193
|
+
provider?: string | undefined;
|
|
1194
|
+
openWeights?: boolean | undefined;
|
|
1195
|
+
} | undefined;
|
|
1196
|
+
mode?: "train" | "frozen" | undefined;
|
|
1197
|
+
};
|
|
1198
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
1199
|
+
attestation: {
|
|
1200
|
+
measurement: string;
|
|
1201
|
+
profile: string;
|
|
1202
|
+
quote: string;
|
|
1203
|
+
reportData: string;
|
|
1204
|
+
} | null;
|
|
1205
|
+
artifacts: {
|
|
1206
|
+
sha256: string;
|
|
1207
|
+
access: {
|
|
1208
|
+
endpoint: string;
|
|
1209
|
+
priceUsdc: string;
|
|
1210
|
+
};
|
|
1211
|
+
artifactType: string;
|
|
1212
|
+
metadata?: {
|
|
1213
|
+
description?: string | undefined;
|
|
1214
|
+
tags?: string[] | undefined;
|
|
1215
|
+
producedBy?: {
|
|
1216
|
+
spanId: string;
|
|
1217
|
+
trajectoryCid: string;
|
|
1218
|
+
} | undefined;
|
|
1219
|
+
} | undefined;
|
|
1220
|
+
sources?: {
|
|
1221
|
+
kind: "ipfs";
|
|
1222
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1223
|
+
sha256: string;
|
|
1224
|
+
cid: string;
|
|
1225
|
+
}[] | undefined;
|
|
1226
|
+
}[];
|
|
1227
|
+
payload: Record<string, unknown>;
|
|
1228
|
+
task?: {
|
|
1229
|
+
cid: string;
|
|
1230
|
+
onchainCreationTx: string;
|
|
1231
|
+
onchainCreationBlock: number;
|
|
1232
|
+
requestId: string;
|
|
1233
|
+
baseCommit?: string | undefined;
|
|
1234
|
+
createdAt?: number | undefined;
|
|
1235
|
+
instanceId?: string | undefined;
|
|
1236
|
+
repo?: string | undefined;
|
|
1237
|
+
} | undefined;
|
|
1238
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
1239
|
+
sessionProvenance?: {
|
|
1240
|
+
sessionId: string;
|
|
1241
|
+
capturedAt: string;
|
|
1242
|
+
originatingTool: {
|
|
1243
|
+
name: string;
|
|
1244
|
+
version?: string | undefined;
|
|
1245
|
+
};
|
|
1246
|
+
license: {
|
|
1247
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1248
|
+
spdxId?: string | undefined;
|
|
1249
|
+
};
|
|
1250
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1251
|
+
repo?: {
|
|
1252
|
+
remoteUrl?: string | undefined;
|
|
1253
|
+
commitHash?: string | undefined;
|
|
1254
|
+
branch?: string | undefined;
|
|
1255
|
+
} | undefined;
|
|
1256
|
+
} | undefined;
|
|
1257
|
+
}, {
|
|
1258
|
+
schemaVersion: "jinn.execution.v1";
|
|
1259
|
+
trajectory: {
|
|
1260
|
+
sha256: string;
|
|
1261
|
+
access: {
|
|
1262
|
+
endpoint: string;
|
|
1263
|
+
priceUsdc: string;
|
|
1264
|
+
};
|
|
1265
|
+
sources?: {
|
|
1266
|
+
kind: "ipfs";
|
|
1267
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1268
|
+
sha256: string;
|
|
1269
|
+
cid: string;
|
|
1270
|
+
}[] | undefined;
|
|
1271
|
+
} | null;
|
|
1272
|
+
solverType: string;
|
|
1273
|
+
generatedAt: number;
|
|
1274
|
+
participant: {
|
|
1275
|
+
safeAddress: string;
|
|
1276
|
+
agentEoa: string;
|
|
1277
|
+
};
|
|
1278
|
+
window: {
|
|
1279
|
+
startTs: number;
|
|
1280
|
+
endTs: number;
|
|
1281
|
+
};
|
|
1282
|
+
executor: {
|
|
1283
|
+
implName: string;
|
|
1284
|
+
implVersion: string;
|
|
1285
|
+
clientGitSha: string;
|
|
1286
|
+
codeDigest: string;
|
|
1287
|
+
runtimeBundleDigest: string;
|
|
1288
|
+
plugins: {
|
|
1289
|
+
name: string;
|
|
1290
|
+
version: string;
|
|
1291
|
+
sha256: string;
|
|
1292
|
+
cid?: string | undefined;
|
|
1293
|
+
}[];
|
|
1294
|
+
signingKey: {
|
|
1295
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1296
|
+
pubkey: string;
|
|
1297
|
+
};
|
|
1298
|
+
model?: string | undefined;
|
|
1299
|
+
source?: {
|
|
1300
|
+
sha256: string;
|
|
1301
|
+
bundleCid: string;
|
|
1302
|
+
buildRecipe: {
|
|
1303
|
+
path: string;
|
|
1304
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1305
|
+
};
|
|
1306
|
+
measurement: string;
|
|
1307
|
+
humanUrl?: string | undefined;
|
|
1308
|
+
} | undefined;
|
|
1309
|
+
generatorModel?: {
|
|
1310
|
+
id: string;
|
|
1311
|
+
source: "stream" | "config";
|
|
1312
|
+
provider?: string | undefined;
|
|
1313
|
+
openWeights?: boolean | undefined;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
mode?: "train" | "frozen" | undefined;
|
|
1316
|
+
};
|
|
1317
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
1318
|
+
attestation: {
|
|
1319
|
+
measurement: string;
|
|
1320
|
+
profile: string;
|
|
1321
|
+
quote: string;
|
|
1322
|
+
reportData: string;
|
|
1323
|
+
} | null;
|
|
1324
|
+
artifacts: {
|
|
1325
|
+
sha256: string;
|
|
1326
|
+
access: {
|
|
1327
|
+
endpoint: string;
|
|
1328
|
+
priceUsdc: string;
|
|
1329
|
+
};
|
|
1330
|
+
artifactType: string;
|
|
1331
|
+
metadata?: {
|
|
1332
|
+
description?: string | undefined;
|
|
1333
|
+
tags?: string[] | undefined;
|
|
1334
|
+
producedBy?: {
|
|
1335
|
+
spanId: string;
|
|
1336
|
+
trajectoryCid: string;
|
|
1337
|
+
} | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
sources?: {
|
|
1340
|
+
kind: "ipfs";
|
|
1341
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1342
|
+
sha256: string;
|
|
1343
|
+
cid: string;
|
|
1344
|
+
}[] | undefined;
|
|
1345
|
+
}[];
|
|
1346
|
+
payload: Record<string, unknown>;
|
|
1347
|
+
task?: {
|
|
1348
|
+
cid: string;
|
|
1349
|
+
onchainCreationTx: string;
|
|
1350
|
+
onchainCreationBlock: number;
|
|
1351
|
+
requestId: string;
|
|
1352
|
+
baseCommit?: string | undefined;
|
|
1353
|
+
createdAt?: number | undefined;
|
|
1354
|
+
instanceId?: string | undefined;
|
|
1355
|
+
repo?: string | undefined;
|
|
1356
|
+
} | undefined;
|
|
1357
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
1358
|
+
role?: unknown;
|
|
1359
|
+
sessionProvenance?: {
|
|
1360
|
+
sessionId: string;
|
|
1361
|
+
capturedAt: string;
|
|
1362
|
+
originatingTool: {
|
|
1363
|
+
name: string;
|
|
1364
|
+
version?: string | undefined;
|
|
1365
|
+
};
|
|
1366
|
+
license: {
|
|
1367
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1368
|
+
spdxId?: string | undefined;
|
|
1369
|
+
};
|
|
1370
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1371
|
+
repo?: {
|
|
1372
|
+
remoteUrl?: string | undefined;
|
|
1373
|
+
commitHash?: string | undefined;
|
|
1374
|
+
branch?: string | undefined;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
}>, {
|
|
1378
|
+
schemaVersion: "jinn.execution.v1";
|
|
1379
|
+
trajectory: {
|
|
1380
|
+
sha256: string;
|
|
1381
|
+
access: {
|
|
1382
|
+
endpoint: string;
|
|
1383
|
+
priceUsdc: string;
|
|
1384
|
+
};
|
|
1385
|
+
sources?: {
|
|
1386
|
+
kind: "ipfs";
|
|
1387
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1388
|
+
sha256: string;
|
|
1389
|
+
cid: string;
|
|
1390
|
+
}[] | undefined;
|
|
1391
|
+
} | null;
|
|
1392
|
+
role: "solution" | "verdict" | "capture";
|
|
1393
|
+
solverType: string;
|
|
1394
|
+
generatedAt: number;
|
|
1395
|
+
participant: {
|
|
1396
|
+
safeAddress: string;
|
|
1397
|
+
agentEoa: string;
|
|
1398
|
+
};
|
|
1399
|
+
window: {
|
|
1400
|
+
startTs: number;
|
|
1401
|
+
endTs: number;
|
|
1402
|
+
};
|
|
1403
|
+
executor: {
|
|
1404
|
+
implName: string;
|
|
1405
|
+
implVersion: string;
|
|
1406
|
+
clientGitSha: string;
|
|
1407
|
+
codeDigest: string;
|
|
1408
|
+
runtimeBundleDigest: string;
|
|
1409
|
+
plugins: {
|
|
1410
|
+
name: string;
|
|
1411
|
+
version: string;
|
|
1412
|
+
sha256: string;
|
|
1413
|
+
cid?: string | undefined;
|
|
1414
|
+
}[];
|
|
1415
|
+
signingKey: {
|
|
1416
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1417
|
+
pubkey: string;
|
|
1418
|
+
};
|
|
1419
|
+
model?: string | undefined;
|
|
1420
|
+
source?: {
|
|
1421
|
+
sha256: string;
|
|
1422
|
+
bundleCid: string;
|
|
1423
|
+
buildRecipe: {
|
|
1424
|
+
path: string;
|
|
1425
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1426
|
+
};
|
|
1427
|
+
measurement: string;
|
|
1428
|
+
humanUrl?: string | undefined;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
generatorModel?: {
|
|
1431
|
+
id: string;
|
|
1432
|
+
source: "stream" | "config";
|
|
1433
|
+
provider?: string | undefined;
|
|
1434
|
+
openWeights?: boolean | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
mode?: "train" | "frozen" | undefined;
|
|
1437
|
+
};
|
|
1438
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
1439
|
+
attestation: {
|
|
1440
|
+
measurement: string;
|
|
1441
|
+
profile: string;
|
|
1442
|
+
quote: string;
|
|
1443
|
+
reportData: string;
|
|
1444
|
+
} | null;
|
|
1445
|
+
artifacts: {
|
|
1446
|
+
sha256: string;
|
|
1447
|
+
access: {
|
|
1448
|
+
endpoint: string;
|
|
1449
|
+
priceUsdc: string;
|
|
1450
|
+
};
|
|
1451
|
+
artifactType: string;
|
|
1452
|
+
metadata?: {
|
|
1453
|
+
description?: string | undefined;
|
|
1454
|
+
tags?: string[] | undefined;
|
|
1455
|
+
producedBy?: {
|
|
1456
|
+
spanId: string;
|
|
1457
|
+
trajectoryCid: string;
|
|
1458
|
+
} | undefined;
|
|
1459
|
+
} | undefined;
|
|
1460
|
+
sources?: {
|
|
1461
|
+
kind: "ipfs";
|
|
1462
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1463
|
+
sha256: string;
|
|
1464
|
+
cid: string;
|
|
1465
|
+
}[] | undefined;
|
|
1466
|
+
}[];
|
|
1467
|
+
payload: Record<string, unknown>;
|
|
1468
|
+
task?: {
|
|
1469
|
+
cid: string;
|
|
1470
|
+
onchainCreationTx: string;
|
|
1471
|
+
onchainCreationBlock: number;
|
|
1472
|
+
requestId: string;
|
|
1473
|
+
baseCommit?: string | undefined;
|
|
1474
|
+
createdAt?: number | undefined;
|
|
1475
|
+
instanceId?: string | undefined;
|
|
1476
|
+
repo?: string | undefined;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
1479
|
+
sessionProvenance?: {
|
|
1480
|
+
sessionId: string;
|
|
1481
|
+
capturedAt: string;
|
|
1482
|
+
originatingTool: {
|
|
1483
|
+
name: string;
|
|
1484
|
+
version?: string | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
license: {
|
|
1487
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1488
|
+
spdxId?: string | undefined;
|
|
1489
|
+
};
|
|
1490
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1491
|
+
repo?: {
|
|
1492
|
+
remoteUrl?: string | undefined;
|
|
1493
|
+
commitHash?: string | undefined;
|
|
1494
|
+
branch?: string | undefined;
|
|
1495
|
+
} | undefined;
|
|
1496
|
+
} | undefined;
|
|
1497
|
+
}, {
|
|
1498
|
+
schemaVersion: "jinn.execution.v1";
|
|
1499
|
+
trajectory: {
|
|
1500
|
+
sha256: string;
|
|
1501
|
+
access: {
|
|
1502
|
+
endpoint: string;
|
|
1503
|
+
priceUsdc: string;
|
|
1504
|
+
};
|
|
1505
|
+
sources?: {
|
|
1506
|
+
kind: "ipfs";
|
|
1507
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1508
|
+
sha256: string;
|
|
1509
|
+
cid: string;
|
|
1510
|
+
}[] | undefined;
|
|
1511
|
+
} | null;
|
|
1512
|
+
solverType: string;
|
|
1513
|
+
generatedAt: number;
|
|
1514
|
+
participant: {
|
|
1515
|
+
safeAddress: string;
|
|
1516
|
+
agentEoa: string;
|
|
1517
|
+
};
|
|
1518
|
+
window: {
|
|
1519
|
+
startTs: number;
|
|
1520
|
+
endTs: number;
|
|
1521
|
+
};
|
|
1522
|
+
executor: {
|
|
1523
|
+
implName: string;
|
|
1524
|
+
implVersion: string;
|
|
1525
|
+
clientGitSha: string;
|
|
1526
|
+
codeDigest: string;
|
|
1527
|
+
runtimeBundleDigest: string;
|
|
1528
|
+
plugins: {
|
|
1529
|
+
name: string;
|
|
1530
|
+
version: string;
|
|
1531
|
+
sha256: string;
|
|
1532
|
+
cid?: string | undefined;
|
|
1533
|
+
}[];
|
|
1534
|
+
signingKey: {
|
|
1535
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1536
|
+
pubkey: string;
|
|
1537
|
+
};
|
|
1538
|
+
model?: string | undefined;
|
|
1539
|
+
source?: {
|
|
1540
|
+
sha256: string;
|
|
1541
|
+
bundleCid: string;
|
|
1542
|
+
buildRecipe: {
|
|
1543
|
+
path: string;
|
|
1544
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1545
|
+
};
|
|
1546
|
+
measurement: string;
|
|
1547
|
+
humanUrl?: string | undefined;
|
|
1548
|
+
} | undefined;
|
|
1549
|
+
generatorModel?: {
|
|
1550
|
+
id: string;
|
|
1551
|
+
source: "stream" | "config";
|
|
1552
|
+
provider?: string | undefined;
|
|
1553
|
+
openWeights?: boolean | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
mode?: "train" | "frozen" | undefined;
|
|
1556
|
+
};
|
|
1557
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
1558
|
+
attestation: {
|
|
1559
|
+
measurement: string;
|
|
1560
|
+
profile: string;
|
|
1561
|
+
quote: string;
|
|
1562
|
+
reportData: string;
|
|
1563
|
+
} | null;
|
|
1564
|
+
artifacts: {
|
|
1565
|
+
sha256: string;
|
|
1566
|
+
access: {
|
|
1567
|
+
endpoint: string;
|
|
1568
|
+
priceUsdc: string;
|
|
1569
|
+
};
|
|
1570
|
+
artifactType: string;
|
|
1571
|
+
metadata?: {
|
|
1572
|
+
description?: string | undefined;
|
|
1573
|
+
tags?: string[] | undefined;
|
|
1574
|
+
producedBy?: {
|
|
1575
|
+
spanId: string;
|
|
1576
|
+
trajectoryCid: string;
|
|
1577
|
+
} | undefined;
|
|
1578
|
+
} | undefined;
|
|
1579
|
+
sources?: {
|
|
1580
|
+
kind: "ipfs";
|
|
1581
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1582
|
+
sha256: string;
|
|
1583
|
+
cid: string;
|
|
1584
|
+
}[] | undefined;
|
|
1585
|
+
}[];
|
|
1586
|
+
payload: Record<string, unknown>;
|
|
1587
|
+
task?: {
|
|
1588
|
+
cid: string;
|
|
1589
|
+
onchainCreationTx: string;
|
|
1590
|
+
onchainCreationBlock: number;
|
|
1591
|
+
requestId: string;
|
|
1592
|
+
baseCommit?: string | undefined;
|
|
1593
|
+
createdAt?: number | undefined;
|
|
1594
|
+
instanceId?: string | undefined;
|
|
1595
|
+
repo?: string | undefined;
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
1598
|
+
role?: unknown;
|
|
1599
|
+
sessionProvenance?: {
|
|
1600
|
+
sessionId: string;
|
|
1601
|
+
capturedAt: string;
|
|
1602
|
+
originatingTool: {
|
|
1603
|
+
name: string;
|
|
1604
|
+
version?: string | undefined;
|
|
1605
|
+
};
|
|
1606
|
+
license: {
|
|
1607
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1608
|
+
spdxId?: string | undefined;
|
|
1609
|
+
};
|
|
1610
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1611
|
+
repo?: {
|
|
1612
|
+
remoteUrl?: string | undefined;
|
|
1613
|
+
commitHash?: string | undefined;
|
|
1614
|
+
branch?: string | undefined;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
} | undefined;
|
|
1617
|
+
}>;
|
|
1618
|
+
export type UnsignedEnvelope = z.infer<typeof UnsignedEnvelopeSchema>;
|
|
1619
|
+
export declare const SignedEnvelopeSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1620
|
+
role: z.ZodUnion<[z.ZodEnum<["solution", "verdict", "capture"]>, z.ZodLiteral<"restoration">]>;
|
|
1621
|
+
signature: z.ZodObject<{
|
|
1622
|
+
algo: z.ZodLiteral<"secp256k1">;
|
|
1623
|
+
signer: z.ZodString;
|
|
1624
|
+
hash: z.ZodString;
|
|
1625
|
+
sig: z.ZodString;
|
|
1626
|
+
}, "strip", z.ZodTypeAny, {
|
|
1627
|
+
algo: "secp256k1";
|
|
1628
|
+
signer: string;
|
|
1629
|
+
hash: string;
|
|
1630
|
+
sig: string;
|
|
1631
|
+
}, {
|
|
1632
|
+
algo: "secp256k1";
|
|
1633
|
+
signer: string;
|
|
1634
|
+
hash: string;
|
|
1635
|
+
sig: string;
|
|
1636
|
+
}>;
|
|
1637
|
+
schemaVersion: z.ZodLiteral<"jinn.execution.v1">;
|
|
1638
|
+
solverType: z.ZodString;
|
|
1639
|
+
generatedAt: z.ZodNumber;
|
|
1640
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
1641
|
+
cid: z.ZodString;
|
|
1642
|
+
onchainCreationTx: z.ZodString;
|
|
1643
|
+
onchainCreationBlock: z.ZodNumber;
|
|
1644
|
+
requestId: z.ZodString;
|
|
1645
|
+
/**
|
|
1646
|
+
* Unix-seconds timestamp of the on-chain creation block. Sourced from
|
|
1647
|
+
* `publicClient.getBlock({ blockNumber })` at claim time (I2 freshness
|
|
1648
|
+
* semantics, #1827). Absent when the RPC lookup failed — NEVER stamped
|
|
1649
|
+
* with "now": a too-late guess would falsely claim post-cutoff freshness.
|
|
1650
|
+
*/
|
|
1651
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1652
|
+
/**
|
|
1653
|
+
* SWE-bench-style task identity, copied at assembly time from the parsed
|
|
1654
|
+
* task document (`task.spec.instance_id` / `.repo` / `.base_commit`).
|
|
1655
|
+
* Present for swe-rebench-v2.v1 / jinn-repo.v1 solver types; absent
|
|
1656
|
+
* (correctly) for solver types without repo identity (e.g. prediction.*).
|
|
1657
|
+
* Materializes the join key C11 (#1842) needs for F2P/P2P + base-commit
|
|
1658
|
+
* resolution — #1827.
|
|
1659
|
+
*/
|
|
1660
|
+
instanceId: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
baseCommit: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
cid: string;
|
|
1665
|
+
onchainCreationTx: string;
|
|
1666
|
+
onchainCreationBlock: number;
|
|
1667
|
+
requestId: string;
|
|
1668
|
+
baseCommit?: string | undefined;
|
|
1669
|
+
createdAt?: number | undefined;
|
|
1670
|
+
instanceId?: string | undefined;
|
|
1671
|
+
repo?: string | undefined;
|
|
1672
|
+
}, {
|
|
1673
|
+
cid: string;
|
|
1674
|
+
onchainCreationTx: string;
|
|
1675
|
+
onchainCreationBlock: number;
|
|
1676
|
+
requestId: string;
|
|
1677
|
+
baseCommit?: string | undefined;
|
|
1678
|
+
createdAt?: number | undefined;
|
|
1679
|
+
instanceId?: string | undefined;
|
|
1680
|
+
repo?: string | undefined;
|
|
1681
|
+
}>>;
|
|
1682
|
+
sessionProvenance: z.ZodOptional<z.ZodObject<{
|
|
1683
|
+
sessionId: z.ZodString;
|
|
1684
|
+
capturedAt: z.ZodString;
|
|
1685
|
+
originatingTool: z.ZodObject<{
|
|
1686
|
+
name: z.ZodString;
|
|
1687
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
}, "strip", z.ZodTypeAny, {
|
|
1689
|
+
name: string;
|
|
1690
|
+
version?: string | undefined;
|
|
1691
|
+
}, {
|
|
1692
|
+
name: string;
|
|
1693
|
+
version?: string | undefined;
|
|
1694
|
+
}>;
|
|
1695
|
+
repo: z.ZodOptional<z.ZodObject<{
|
|
1696
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
}, "strip", z.ZodTypeAny, {
|
|
1700
|
+
remoteUrl?: string | undefined;
|
|
1701
|
+
commitHash?: string | undefined;
|
|
1702
|
+
branch?: string | undefined;
|
|
1703
|
+
}, {
|
|
1704
|
+
remoteUrl?: string | undefined;
|
|
1705
|
+
commitHash?: string | undefined;
|
|
1706
|
+
branch?: string | undefined;
|
|
1707
|
+
}>>;
|
|
1708
|
+
license: z.ZodObject<{
|
|
1709
|
+
spdxId: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
operatorAssertion: z.ZodEnum<["asserted", "unspecified"]>;
|
|
1711
|
+
}, "strip", z.ZodTypeAny, {
|
|
1712
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1713
|
+
spdxId?: string | undefined;
|
|
1714
|
+
}, {
|
|
1715
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1716
|
+
spdxId?: string | undefined;
|
|
1717
|
+
}>;
|
|
1718
|
+
publishMinedTasksConsent: z.ZodOptional<z.ZodBoolean>;
|
|
1719
|
+
}, "strip", z.ZodTypeAny, {
|
|
1720
|
+
sessionId: string;
|
|
1721
|
+
capturedAt: string;
|
|
1722
|
+
originatingTool: {
|
|
1723
|
+
name: string;
|
|
1724
|
+
version?: string | undefined;
|
|
1725
|
+
};
|
|
1726
|
+
license: {
|
|
1727
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1728
|
+
spdxId?: string | undefined;
|
|
1729
|
+
};
|
|
1730
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1731
|
+
repo?: {
|
|
1732
|
+
remoteUrl?: string | undefined;
|
|
1733
|
+
commitHash?: string | undefined;
|
|
1734
|
+
branch?: string | undefined;
|
|
1735
|
+
} | undefined;
|
|
1736
|
+
}, {
|
|
1737
|
+
sessionId: string;
|
|
1738
|
+
capturedAt: string;
|
|
1739
|
+
originatingTool: {
|
|
1740
|
+
name: string;
|
|
1741
|
+
version?: string | undefined;
|
|
1742
|
+
};
|
|
1743
|
+
license: {
|
|
1744
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
1745
|
+
spdxId?: string | undefined;
|
|
1746
|
+
};
|
|
1747
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
1748
|
+
repo?: {
|
|
1749
|
+
remoteUrl?: string | undefined;
|
|
1750
|
+
commitHash?: string | undefined;
|
|
1751
|
+
branch?: string | undefined;
|
|
1752
|
+
} | undefined;
|
|
1753
|
+
}>>;
|
|
1754
|
+
participant: z.ZodObject<{
|
|
1755
|
+
safeAddress: z.ZodString;
|
|
1756
|
+
agentEoa: z.ZodString;
|
|
1757
|
+
}, "strip", z.ZodTypeAny, {
|
|
1758
|
+
safeAddress: string;
|
|
1759
|
+
agentEoa: string;
|
|
1760
|
+
}, {
|
|
1761
|
+
safeAddress: string;
|
|
1762
|
+
agentEoa: string;
|
|
1763
|
+
}>;
|
|
1764
|
+
window: z.ZodObject<{
|
|
1765
|
+
startTs: z.ZodNumber;
|
|
1766
|
+
endTs: z.ZodNumber;
|
|
1767
|
+
}, "strip", z.ZodTypeAny, {
|
|
1768
|
+
startTs: number;
|
|
1769
|
+
endTs: number;
|
|
1770
|
+
}, {
|
|
1771
|
+
startTs: number;
|
|
1772
|
+
endTs: number;
|
|
1773
|
+
}>;
|
|
1774
|
+
executor: z.ZodObject<{
|
|
1775
|
+
implName: z.ZodString;
|
|
1776
|
+
implVersion: z.ZodString;
|
|
1777
|
+
clientGitSha: z.ZodString;
|
|
1778
|
+
codeDigest: z.ZodString;
|
|
1779
|
+
runtimeBundleDigest: z.ZodString;
|
|
1780
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
1781
|
+
name: z.ZodString;
|
|
1782
|
+
version: z.ZodString;
|
|
1783
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
sha256: z.ZodString;
|
|
1785
|
+
}, "strip", z.ZodTypeAny, {
|
|
1786
|
+
name: string;
|
|
1787
|
+
version: string;
|
|
1788
|
+
sha256: string;
|
|
1789
|
+
cid?: string | undefined;
|
|
1790
|
+
}, {
|
|
1791
|
+
name: string;
|
|
1792
|
+
version: string;
|
|
1793
|
+
sha256: string;
|
|
1794
|
+
cid?: string | undefined;
|
|
1795
|
+
}>, "many">;
|
|
1796
|
+
signingKey: z.ZodObject<{
|
|
1797
|
+
kind: z.ZodEnum<["agent-eoa", "enclave-bound"]>;
|
|
1798
|
+
pubkey: z.ZodString;
|
|
1799
|
+
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1801
|
+
pubkey: string;
|
|
1802
|
+
}, {
|
|
1803
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1804
|
+
pubkey: string;
|
|
1805
|
+
}>;
|
|
1806
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1807
|
+
bundleCid: z.ZodString;
|
|
1808
|
+
sha256: z.ZodString;
|
|
1809
|
+
humanUrl: z.ZodOptional<z.ZodString>;
|
|
1810
|
+
buildRecipe: z.ZodObject<{
|
|
1811
|
+
kind: z.ZodEnum<["dockerfile", "nix", "bazel"]>;
|
|
1812
|
+
path: z.ZodString;
|
|
1813
|
+
}, "strip", z.ZodTypeAny, {
|
|
1814
|
+
path: string;
|
|
1815
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1816
|
+
}, {
|
|
1817
|
+
path: string;
|
|
1818
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1819
|
+
}>;
|
|
1820
|
+
measurement: z.ZodString;
|
|
1821
|
+
}, "strip", z.ZodTypeAny, {
|
|
1822
|
+
sha256: string;
|
|
1823
|
+
bundleCid: string;
|
|
1824
|
+
buildRecipe: {
|
|
1825
|
+
path: string;
|
|
1826
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1827
|
+
};
|
|
1828
|
+
measurement: string;
|
|
1829
|
+
humanUrl?: string | undefined;
|
|
1830
|
+
}, {
|
|
1831
|
+
sha256: string;
|
|
1832
|
+
bundleCid: string;
|
|
1833
|
+
buildRecipe: {
|
|
1834
|
+
path: string;
|
|
1835
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1836
|
+
};
|
|
1837
|
+
measurement: string;
|
|
1838
|
+
humanUrl?: string | undefined;
|
|
1839
|
+
}>>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Harness execution mode. Optional in v1 envelope schema for back-compat with
|
|
1842
|
+
* envelopes produced before this field was introduced. 'train' means the harness was running
|
|
1843
|
+
* with state writes enabled (Improve + Memory phases active in
|
|
1844
|
+
* claude-code-learner); 'frozen' means writes were disabled and the
|
|
1845
|
+
* implStateDir hash was preserved across the Task. See
|
|
1846
|
+
* docs/superpowers/specs/2026-05-06-agent-harness-solvernet-design.md §6.
|
|
1847
|
+
*
|
|
1848
|
+
* New envelopes always populate this field at assembly time. Readers should
|
|
1849
|
+
* treat undefined as 'train' (the legacy behaviour).
|
|
1850
|
+
*/
|
|
1851
|
+
mode: z.ZodOptional<z.ZodEnum<["train", "frozen"]>>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Underlying LLM model identifier this attempt was run against (e.g.
|
|
1854
|
+
* 'claude-haiku-4-5-20251001', 'claude-sonnet-4-6', 'codex-defaults').
|
|
1855
|
+
* Optional for back-compat: envelopes produced before this field was
|
|
1856
|
+
* introduced lack it. Sourced from solverNet.model / claudeModel runtime
|
|
1857
|
+
* config; stamped at envelope-assembly time. Indexer reads this for the
|
|
1858
|
+
* network explorer's composition.byModel facet (jinn-mono-gbut, gh#191).
|
|
1859
|
+
*/
|
|
1860
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Structured, stream-sourced model provenance (#1827). Distinct from the
|
|
1863
|
+
* plain `model` string above: `source` is the honesty flag — 'stream'
|
|
1864
|
+
* means harvested from the harness's own transcript (verifiable),
|
|
1865
|
+
* 'config' means it fell back to solverNet/config declaration
|
|
1866
|
+
* (unverified, but not fabricated). Optional for back-compat.
|
|
1867
|
+
*/
|
|
1868
|
+
generatorModel: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
id: z.ZodString;
|
|
1870
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1871
|
+
openWeights: z.ZodOptional<z.ZodBoolean>;
|
|
1872
|
+
source: z.ZodEnum<["stream", "config"]>;
|
|
1873
|
+
}, "strip", z.ZodTypeAny, {
|
|
1874
|
+
id: string;
|
|
1875
|
+
source: "stream" | "config";
|
|
1876
|
+
provider?: string | undefined;
|
|
1877
|
+
openWeights?: boolean | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
id: string;
|
|
1880
|
+
source: "stream" | "config";
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
openWeights?: boolean | undefined;
|
|
1883
|
+
}>>;
|
|
1884
|
+
}, "strip", z.ZodTypeAny, {
|
|
1885
|
+
implName: string;
|
|
1886
|
+
implVersion: string;
|
|
1887
|
+
clientGitSha: string;
|
|
1888
|
+
codeDigest: string;
|
|
1889
|
+
runtimeBundleDigest: string;
|
|
1890
|
+
plugins: {
|
|
1891
|
+
name: string;
|
|
1892
|
+
version: string;
|
|
1893
|
+
sha256: string;
|
|
1894
|
+
cid?: string | undefined;
|
|
1895
|
+
}[];
|
|
1896
|
+
signingKey: {
|
|
1897
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1898
|
+
pubkey: string;
|
|
1899
|
+
};
|
|
1900
|
+
model?: string | undefined;
|
|
1901
|
+
source?: {
|
|
1902
|
+
sha256: string;
|
|
1903
|
+
bundleCid: string;
|
|
1904
|
+
buildRecipe: {
|
|
1905
|
+
path: string;
|
|
1906
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1907
|
+
};
|
|
1908
|
+
measurement: string;
|
|
1909
|
+
humanUrl?: string | undefined;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
generatorModel?: {
|
|
1912
|
+
id: string;
|
|
1913
|
+
source: "stream" | "config";
|
|
1914
|
+
provider?: string | undefined;
|
|
1915
|
+
openWeights?: boolean | undefined;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
mode?: "train" | "frozen" | undefined;
|
|
1918
|
+
}, {
|
|
1919
|
+
implName: string;
|
|
1920
|
+
implVersion: string;
|
|
1921
|
+
clientGitSha: string;
|
|
1922
|
+
codeDigest: string;
|
|
1923
|
+
runtimeBundleDigest: string;
|
|
1924
|
+
plugins: {
|
|
1925
|
+
name: string;
|
|
1926
|
+
version: string;
|
|
1927
|
+
sha256: string;
|
|
1928
|
+
cid?: string | undefined;
|
|
1929
|
+
}[];
|
|
1930
|
+
signingKey: {
|
|
1931
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
1932
|
+
pubkey: string;
|
|
1933
|
+
};
|
|
1934
|
+
model?: string | undefined;
|
|
1935
|
+
source?: {
|
|
1936
|
+
sha256: string;
|
|
1937
|
+
bundleCid: string;
|
|
1938
|
+
buildRecipe: {
|
|
1939
|
+
path: string;
|
|
1940
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
1941
|
+
};
|
|
1942
|
+
measurement: string;
|
|
1943
|
+
humanUrl?: string | undefined;
|
|
1944
|
+
} | undefined;
|
|
1945
|
+
generatorModel?: {
|
|
1946
|
+
id: string;
|
|
1947
|
+
source: "stream" | "config";
|
|
1948
|
+
provider?: string | undefined;
|
|
1949
|
+
openWeights?: boolean | undefined;
|
|
1950
|
+
} | undefined;
|
|
1951
|
+
mode?: "train" | "frozen" | undefined;
|
|
1952
|
+
}>;
|
|
1953
|
+
evidenceTier: z.ZodEnum<["self-signed", "committed", "attested"]>;
|
|
1954
|
+
/**
|
|
1955
|
+
* Distribution/licensing class of the model that produced this record
|
|
1956
|
+
* (#1827, §8.4). Derived at assembly time from `executor.generatorModel`
|
|
1957
|
+
* — never caller-supplied, so it can't drift from the model that actually
|
|
1958
|
+
* ran. 'unknown' when undeterminable; consumers MUST treat 'unknown' as
|
|
1959
|
+
* 'restricted-tos' (never the reverse) and nothing defaults to 'open'.
|
|
1960
|
+
*/
|
|
1961
|
+
distributionClass: z.ZodOptional<z.ZodEnum<["open", "restricted-tos", "unknown"]>>;
|
|
1962
|
+
attestation: z.ZodNullable<z.ZodObject<{
|
|
1963
|
+
profile: z.ZodString;
|
|
1964
|
+
quote: z.ZodString;
|
|
1965
|
+
reportData: z.ZodString;
|
|
1966
|
+
measurement: z.ZodString;
|
|
1967
|
+
}, "strip", z.ZodTypeAny, {
|
|
1968
|
+
measurement: string;
|
|
1969
|
+
profile: string;
|
|
1970
|
+
quote: string;
|
|
1971
|
+
reportData: string;
|
|
1972
|
+
}, {
|
|
1973
|
+
measurement: string;
|
|
1974
|
+
profile: string;
|
|
1975
|
+
quote: string;
|
|
1976
|
+
reportData: string;
|
|
1977
|
+
}>>;
|
|
1978
|
+
trajectory: z.ZodNullable<z.ZodObject<{
|
|
1979
|
+
sha256: z.ZodString;
|
|
1980
|
+
access: z.ZodObject<{
|
|
1981
|
+
endpoint: z.ZodString;
|
|
1982
|
+
priceUsdc: z.ZodString;
|
|
1983
|
+
}, "strip", z.ZodTypeAny, {
|
|
1984
|
+
endpoint: string;
|
|
1985
|
+
priceUsdc: string;
|
|
1986
|
+
}, {
|
|
1987
|
+
endpoint: string;
|
|
1988
|
+
priceUsdc: string;
|
|
1989
|
+
}>;
|
|
1990
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1991
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
1992
|
+
cid: z.ZodString;
|
|
1993
|
+
sha256: z.ZodString;
|
|
1994
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
1995
|
+
}, "strip", z.ZodTypeAny, {
|
|
1996
|
+
kind: "ipfs";
|
|
1997
|
+
encoding: "jinn.artifact.donation.v1";
|
|
1998
|
+
sha256: string;
|
|
1999
|
+
cid: string;
|
|
2000
|
+
}, {
|
|
2001
|
+
kind: "ipfs";
|
|
2002
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2003
|
+
sha256: string;
|
|
2004
|
+
cid: string;
|
|
2005
|
+
}>, "many">>;
|
|
2006
|
+
}, "strip", z.ZodTypeAny, {
|
|
2007
|
+
sha256: string;
|
|
2008
|
+
access: {
|
|
2009
|
+
endpoint: string;
|
|
2010
|
+
priceUsdc: string;
|
|
2011
|
+
};
|
|
2012
|
+
sources?: {
|
|
2013
|
+
kind: "ipfs";
|
|
2014
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2015
|
+
sha256: string;
|
|
2016
|
+
cid: string;
|
|
2017
|
+
}[] | undefined;
|
|
2018
|
+
}, {
|
|
2019
|
+
sha256: string;
|
|
2020
|
+
access: {
|
|
2021
|
+
endpoint: string;
|
|
2022
|
+
priceUsdc: string;
|
|
2023
|
+
};
|
|
2024
|
+
sources?: {
|
|
2025
|
+
kind: "ipfs";
|
|
2026
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2027
|
+
sha256: string;
|
|
2028
|
+
cid: string;
|
|
2029
|
+
}[] | undefined;
|
|
2030
|
+
}>>;
|
|
2031
|
+
artifacts: z.ZodArray<z.ZodObject<{
|
|
2032
|
+
artifactType: z.ZodString;
|
|
2033
|
+
sha256: z.ZodString;
|
|
2034
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
2035
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2036
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2037
|
+
producedBy: z.ZodOptional<z.ZodObject<{
|
|
2038
|
+
spanId: z.ZodString;
|
|
2039
|
+
trajectoryCid: z.ZodString;
|
|
2040
|
+
}, "strip", z.ZodTypeAny, {
|
|
2041
|
+
spanId: string;
|
|
2042
|
+
trajectoryCid: string;
|
|
2043
|
+
}, {
|
|
2044
|
+
spanId: string;
|
|
2045
|
+
trajectoryCid: string;
|
|
2046
|
+
}>>;
|
|
2047
|
+
}, "strip", z.ZodTypeAny, {
|
|
2048
|
+
description?: string | undefined;
|
|
2049
|
+
tags?: string[] | undefined;
|
|
2050
|
+
producedBy?: {
|
|
2051
|
+
spanId: string;
|
|
2052
|
+
trajectoryCid: string;
|
|
2053
|
+
} | undefined;
|
|
2054
|
+
}, {
|
|
2055
|
+
description?: string | undefined;
|
|
2056
|
+
tags?: string[] | undefined;
|
|
2057
|
+
producedBy?: {
|
|
2058
|
+
spanId: string;
|
|
2059
|
+
trajectoryCid: string;
|
|
2060
|
+
} | undefined;
|
|
2061
|
+
}>>;
|
|
2062
|
+
access: z.ZodObject<{
|
|
2063
|
+
endpoint: z.ZodString;
|
|
2064
|
+
priceUsdc: z.ZodString;
|
|
2065
|
+
}, "strip", z.ZodTypeAny, {
|
|
2066
|
+
endpoint: string;
|
|
2067
|
+
priceUsdc: string;
|
|
2068
|
+
}, {
|
|
2069
|
+
endpoint: string;
|
|
2070
|
+
priceUsdc: string;
|
|
2071
|
+
}>;
|
|
2072
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2073
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
2074
|
+
cid: z.ZodString;
|
|
2075
|
+
sha256: z.ZodString;
|
|
2076
|
+
encoding: z.ZodLiteral<"jinn.artifact.donation.v1">;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
kind: "ipfs";
|
|
2079
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2080
|
+
sha256: string;
|
|
2081
|
+
cid: string;
|
|
2082
|
+
}, {
|
|
2083
|
+
kind: "ipfs";
|
|
2084
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2085
|
+
sha256: string;
|
|
2086
|
+
cid: string;
|
|
2087
|
+
}>, "many">>;
|
|
2088
|
+
}, "strip", z.ZodTypeAny, {
|
|
2089
|
+
sha256: string;
|
|
2090
|
+
access: {
|
|
2091
|
+
endpoint: string;
|
|
2092
|
+
priceUsdc: string;
|
|
2093
|
+
};
|
|
2094
|
+
artifactType: string;
|
|
2095
|
+
metadata?: {
|
|
2096
|
+
description?: string | undefined;
|
|
2097
|
+
tags?: string[] | undefined;
|
|
2098
|
+
producedBy?: {
|
|
2099
|
+
spanId: string;
|
|
2100
|
+
trajectoryCid: string;
|
|
2101
|
+
} | undefined;
|
|
2102
|
+
} | undefined;
|
|
2103
|
+
sources?: {
|
|
2104
|
+
kind: "ipfs";
|
|
2105
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2106
|
+
sha256: string;
|
|
2107
|
+
cid: string;
|
|
2108
|
+
}[] | undefined;
|
|
2109
|
+
}, {
|
|
2110
|
+
sha256: string;
|
|
2111
|
+
access: {
|
|
2112
|
+
endpoint: string;
|
|
2113
|
+
priceUsdc: string;
|
|
2114
|
+
};
|
|
2115
|
+
artifactType: string;
|
|
2116
|
+
metadata?: {
|
|
2117
|
+
description?: string | undefined;
|
|
2118
|
+
tags?: string[] | undefined;
|
|
2119
|
+
producedBy?: {
|
|
2120
|
+
spanId: string;
|
|
2121
|
+
trajectoryCid: string;
|
|
2122
|
+
} | undefined;
|
|
2123
|
+
} | undefined;
|
|
2124
|
+
sources?: {
|
|
2125
|
+
kind: "ipfs";
|
|
2126
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2127
|
+
sha256: string;
|
|
2128
|
+
cid: string;
|
|
2129
|
+
}[] | undefined;
|
|
2130
|
+
}>, "many">;
|
|
2131
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
schemaVersion: "jinn.execution.v1";
|
|
2134
|
+
trajectory: {
|
|
2135
|
+
sha256: string;
|
|
2136
|
+
access: {
|
|
2137
|
+
endpoint: string;
|
|
2138
|
+
priceUsdc: string;
|
|
2139
|
+
};
|
|
2140
|
+
sources?: {
|
|
2141
|
+
kind: "ipfs";
|
|
2142
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2143
|
+
sha256: string;
|
|
2144
|
+
cid: string;
|
|
2145
|
+
}[] | undefined;
|
|
2146
|
+
} | null;
|
|
2147
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2148
|
+
solverType: string;
|
|
2149
|
+
generatedAt: number;
|
|
2150
|
+
participant: {
|
|
2151
|
+
safeAddress: string;
|
|
2152
|
+
agentEoa: string;
|
|
2153
|
+
};
|
|
2154
|
+
window: {
|
|
2155
|
+
startTs: number;
|
|
2156
|
+
endTs: number;
|
|
2157
|
+
};
|
|
2158
|
+
executor: {
|
|
2159
|
+
implName: string;
|
|
2160
|
+
implVersion: string;
|
|
2161
|
+
clientGitSha: string;
|
|
2162
|
+
codeDigest: string;
|
|
2163
|
+
runtimeBundleDigest: string;
|
|
2164
|
+
plugins: {
|
|
2165
|
+
name: string;
|
|
2166
|
+
version: string;
|
|
2167
|
+
sha256: string;
|
|
2168
|
+
cid?: string | undefined;
|
|
2169
|
+
}[];
|
|
2170
|
+
signingKey: {
|
|
2171
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2172
|
+
pubkey: string;
|
|
2173
|
+
};
|
|
2174
|
+
model?: string | undefined;
|
|
2175
|
+
source?: {
|
|
2176
|
+
sha256: string;
|
|
2177
|
+
bundleCid: string;
|
|
2178
|
+
buildRecipe: {
|
|
2179
|
+
path: string;
|
|
2180
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2181
|
+
};
|
|
2182
|
+
measurement: string;
|
|
2183
|
+
humanUrl?: string | undefined;
|
|
2184
|
+
} | undefined;
|
|
2185
|
+
generatorModel?: {
|
|
2186
|
+
id: string;
|
|
2187
|
+
source: "stream" | "config";
|
|
2188
|
+
provider?: string | undefined;
|
|
2189
|
+
openWeights?: boolean | undefined;
|
|
2190
|
+
} | undefined;
|
|
2191
|
+
mode?: "train" | "frozen" | undefined;
|
|
2192
|
+
};
|
|
2193
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2194
|
+
attestation: {
|
|
2195
|
+
measurement: string;
|
|
2196
|
+
profile: string;
|
|
2197
|
+
quote: string;
|
|
2198
|
+
reportData: string;
|
|
2199
|
+
} | null;
|
|
2200
|
+
artifacts: {
|
|
2201
|
+
sha256: string;
|
|
2202
|
+
access: {
|
|
2203
|
+
endpoint: string;
|
|
2204
|
+
priceUsdc: string;
|
|
2205
|
+
};
|
|
2206
|
+
artifactType: string;
|
|
2207
|
+
metadata?: {
|
|
2208
|
+
description?: string | undefined;
|
|
2209
|
+
tags?: string[] | undefined;
|
|
2210
|
+
producedBy?: {
|
|
2211
|
+
spanId: string;
|
|
2212
|
+
trajectoryCid: string;
|
|
2213
|
+
} | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
sources?: {
|
|
2216
|
+
kind: "ipfs";
|
|
2217
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2218
|
+
sha256: string;
|
|
2219
|
+
cid: string;
|
|
2220
|
+
}[] | undefined;
|
|
2221
|
+
}[];
|
|
2222
|
+
payload: Record<string, unknown>;
|
|
2223
|
+
signature: {
|
|
2224
|
+
algo: "secp256k1";
|
|
2225
|
+
signer: string;
|
|
2226
|
+
hash: string;
|
|
2227
|
+
sig: string;
|
|
2228
|
+
};
|
|
2229
|
+
task?: {
|
|
2230
|
+
cid: string;
|
|
2231
|
+
onchainCreationTx: string;
|
|
2232
|
+
onchainCreationBlock: number;
|
|
2233
|
+
requestId: string;
|
|
2234
|
+
baseCommit?: string | undefined;
|
|
2235
|
+
createdAt?: number | undefined;
|
|
2236
|
+
instanceId?: string | undefined;
|
|
2237
|
+
repo?: string | undefined;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2240
|
+
sessionProvenance?: {
|
|
2241
|
+
sessionId: string;
|
|
2242
|
+
capturedAt: string;
|
|
2243
|
+
originatingTool: {
|
|
2244
|
+
name: string;
|
|
2245
|
+
version?: string | undefined;
|
|
2246
|
+
};
|
|
2247
|
+
license: {
|
|
2248
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2249
|
+
spdxId?: string | undefined;
|
|
2250
|
+
};
|
|
2251
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2252
|
+
repo?: {
|
|
2253
|
+
remoteUrl?: string | undefined;
|
|
2254
|
+
commitHash?: string | undefined;
|
|
2255
|
+
branch?: string | undefined;
|
|
2256
|
+
} | undefined;
|
|
2257
|
+
} | undefined;
|
|
2258
|
+
}, {
|
|
2259
|
+
schemaVersion: "jinn.execution.v1";
|
|
2260
|
+
trajectory: {
|
|
2261
|
+
sha256: string;
|
|
2262
|
+
access: {
|
|
2263
|
+
endpoint: string;
|
|
2264
|
+
priceUsdc: string;
|
|
2265
|
+
};
|
|
2266
|
+
sources?: {
|
|
2267
|
+
kind: "ipfs";
|
|
2268
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2269
|
+
sha256: string;
|
|
2270
|
+
cid: string;
|
|
2271
|
+
}[] | undefined;
|
|
2272
|
+
} | null;
|
|
2273
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2274
|
+
solverType: string;
|
|
2275
|
+
generatedAt: number;
|
|
2276
|
+
participant: {
|
|
2277
|
+
safeAddress: string;
|
|
2278
|
+
agentEoa: string;
|
|
2279
|
+
};
|
|
2280
|
+
window: {
|
|
2281
|
+
startTs: number;
|
|
2282
|
+
endTs: number;
|
|
2283
|
+
};
|
|
2284
|
+
executor: {
|
|
2285
|
+
implName: string;
|
|
2286
|
+
implVersion: string;
|
|
2287
|
+
clientGitSha: string;
|
|
2288
|
+
codeDigest: string;
|
|
2289
|
+
runtimeBundleDigest: string;
|
|
2290
|
+
plugins: {
|
|
2291
|
+
name: string;
|
|
2292
|
+
version: string;
|
|
2293
|
+
sha256: string;
|
|
2294
|
+
cid?: string | undefined;
|
|
2295
|
+
}[];
|
|
2296
|
+
signingKey: {
|
|
2297
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2298
|
+
pubkey: string;
|
|
2299
|
+
};
|
|
2300
|
+
model?: string | undefined;
|
|
2301
|
+
source?: {
|
|
2302
|
+
sha256: string;
|
|
2303
|
+
bundleCid: string;
|
|
2304
|
+
buildRecipe: {
|
|
2305
|
+
path: string;
|
|
2306
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2307
|
+
};
|
|
2308
|
+
measurement: string;
|
|
2309
|
+
humanUrl?: string | undefined;
|
|
2310
|
+
} | undefined;
|
|
2311
|
+
generatorModel?: {
|
|
2312
|
+
id: string;
|
|
2313
|
+
source: "stream" | "config";
|
|
2314
|
+
provider?: string | undefined;
|
|
2315
|
+
openWeights?: boolean | undefined;
|
|
2316
|
+
} | undefined;
|
|
2317
|
+
mode?: "train" | "frozen" | undefined;
|
|
2318
|
+
};
|
|
2319
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2320
|
+
attestation: {
|
|
2321
|
+
measurement: string;
|
|
2322
|
+
profile: string;
|
|
2323
|
+
quote: string;
|
|
2324
|
+
reportData: string;
|
|
2325
|
+
} | null;
|
|
2326
|
+
artifacts: {
|
|
2327
|
+
sha256: string;
|
|
2328
|
+
access: {
|
|
2329
|
+
endpoint: string;
|
|
2330
|
+
priceUsdc: string;
|
|
2331
|
+
};
|
|
2332
|
+
artifactType: string;
|
|
2333
|
+
metadata?: {
|
|
2334
|
+
description?: string | undefined;
|
|
2335
|
+
tags?: string[] | undefined;
|
|
2336
|
+
producedBy?: {
|
|
2337
|
+
spanId: string;
|
|
2338
|
+
trajectoryCid: string;
|
|
2339
|
+
} | undefined;
|
|
2340
|
+
} | undefined;
|
|
2341
|
+
sources?: {
|
|
2342
|
+
kind: "ipfs";
|
|
2343
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2344
|
+
sha256: string;
|
|
2345
|
+
cid: string;
|
|
2346
|
+
}[] | undefined;
|
|
2347
|
+
}[];
|
|
2348
|
+
payload: Record<string, unknown>;
|
|
2349
|
+
signature: {
|
|
2350
|
+
algo: "secp256k1";
|
|
2351
|
+
signer: string;
|
|
2352
|
+
hash: string;
|
|
2353
|
+
sig: string;
|
|
2354
|
+
};
|
|
2355
|
+
task?: {
|
|
2356
|
+
cid: string;
|
|
2357
|
+
onchainCreationTx: string;
|
|
2358
|
+
onchainCreationBlock: number;
|
|
2359
|
+
requestId: string;
|
|
2360
|
+
baseCommit?: string | undefined;
|
|
2361
|
+
createdAt?: number | undefined;
|
|
2362
|
+
instanceId?: string | undefined;
|
|
2363
|
+
repo?: string | undefined;
|
|
2364
|
+
} | undefined;
|
|
2365
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2366
|
+
sessionProvenance?: {
|
|
2367
|
+
sessionId: string;
|
|
2368
|
+
capturedAt: string;
|
|
2369
|
+
originatingTool: {
|
|
2370
|
+
name: string;
|
|
2371
|
+
version?: string | undefined;
|
|
2372
|
+
};
|
|
2373
|
+
license: {
|
|
2374
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2375
|
+
spdxId?: string | undefined;
|
|
2376
|
+
};
|
|
2377
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2378
|
+
repo?: {
|
|
2379
|
+
remoteUrl?: string | undefined;
|
|
2380
|
+
commitHash?: string | undefined;
|
|
2381
|
+
branch?: string | undefined;
|
|
2382
|
+
} | undefined;
|
|
2383
|
+
} | undefined;
|
|
2384
|
+
}>, {
|
|
2385
|
+
schemaVersion: "jinn.execution.v1";
|
|
2386
|
+
trajectory: {
|
|
2387
|
+
sha256: string;
|
|
2388
|
+
access: {
|
|
2389
|
+
endpoint: string;
|
|
2390
|
+
priceUsdc: string;
|
|
2391
|
+
};
|
|
2392
|
+
sources?: {
|
|
2393
|
+
kind: "ipfs";
|
|
2394
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2395
|
+
sha256: string;
|
|
2396
|
+
cid: string;
|
|
2397
|
+
}[] | undefined;
|
|
2398
|
+
} | null;
|
|
2399
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2400
|
+
solverType: string;
|
|
2401
|
+
generatedAt: number;
|
|
2402
|
+
participant: {
|
|
2403
|
+
safeAddress: string;
|
|
2404
|
+
agentEoa: string;
|
|
2405
|
+
};
|
|
2406
|
+
window: {
|
|
2407
|
+
startTs: number;
|
|
2408
|
+
endTs: number;
|
|
2409
|
+
};
|
|
2410
|
+
executor: {
|
|
2411
|
+
implName: string;
|
|
2412
|
+
implVersion: string;
|
|
2413
|
+
clientGitSha: string;
|
|
2414
|
+
codeDigest: string;
|
|
2415
|
+
runtimeBundleDigest: string;
|
|
2416
|
+
plugins: {
|
|
2417
|
+
name: string;
|
|
2418
|
+
version: string;
|
|
2419
|
+
sha256: string;
|
|
2420
|
+
cid?: string | undefined;
|
|
2421
|
+
}[];
|
|
2422
|
+
signingKey: {
|
|
2423
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2424
|
+
pubkey: string;
|
|
2425
|
+
};
|
|
2426
|
+
model?: string | undefined;
|
|
2427
|
+
source?: {
|
|
2428
|
+
sha256: string;
|
|
2429
|
+
bundleCid: string;
|
|
2430
|
+
buildRecipe: {
|
|
2431
|
+
path: string;
|
|
2432
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2433
|
+
};
|
|
2434
|
+
measurement: string;
|
|
2435
|
+
humanUrl?: string | undefined;
|
|
2436
|
+
} | undefined;
|
|
2437
|
+
generatorModel?: {
|
|
2438
|
+
id: string;
|
|
2439
|
+
source: "stream" | "config";
|
|
2440
|
+
provider?: string | undefined;
|
|
2441
|
+
openWeights?: boolean | undefined;
|
|
2442
|
+
} | undefined;
|
|
2443
|
+
mode?: "train" | "frozen" | undefined;
|
|
2444
|
+
};
|
|
2445
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2446
|
+
attestation: {
|
|
2447
|
+
measurement: string;
|
|
2448
|
+
profile: string;
|
|
2449
|
+
quote: string;
|
|
2450
|
+
reportData: string;
|
|
2451
|
+
} | null;
|
|
2452
|
+
artifacts: {
|
|
2453
|
+
sha256: string;
|
|
2454
|
+
access: {
|
|
2455
|
+
endpoint: string;
|
|
2456
|
+
priceUsdc: string;
|
|
2457
|
+
};
|
|
2458
|
+
artifactType: string;
|
|
2459
|
+
metadata?: {
|
|
2460
|
+
description?: string | undefined;
|
|
2461
|
+
tags?: string[] | undefined;
|
|
2462
|
+
producedBy?: {
|
|
2463
|
+
spanId: string;
|
|
2464
|
+
trajectoryCid: string;
|
|
2465
|
+
} | undefined;
|
|
2466
|
+
} | undefined;
|
|
2467
|
+
sources?: {
|
|
2468
|
+
kind: "ipfs";
|
|
2469
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2470
|
+
sha256: string;
|
|
2471
|
+
cid: string;
|
|
2472
|
+
}[] | undefined;
|
|
2473
|
+
}[];
|
|
2474
|
+
payload: Record<string, unknown>;
|
|
2475
|
+
signature: {
|
|
2476
|
+
algo: "secp256k1";
|
|
2477
|
+
signer: string;
|
|
2478
|
+
hash: string;
|
|
2479
|
+
sig: string;
|
|
2480
|
+
};
|
|
2481
|
+
task?: {
|
|
2482
|
+
cid: string;
|
|
2483
|
+
onchainCreationTx: string;
|
|
2484
|
+
onchainCreationBlock: number;
|
|
2485
|
+
requestId: string;
|
|
2486
|
+
baseCommit?: string | undefined;
|
|
2487
|
+
createdAt?: number | undefined;
|
|
2488
|
+
instanceId?: string | undefined;
|
|
2489
|
+
repo?: string | undefined;
|
|
2490
|
+
} | undefined;
|
|
2491
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2492
|
+
sessionProvenance?: {
|
|
2493
|
+
sessionId: string;
|
|
2494
|
+
capturedAt: string;
|
|
2495
|
+
originatingTool: {
|
|
2496
|
+
name: string;
|
|
2497
|
+
version?: string | undefined;
|
|
2498
|
+
};
|
|
2499
|
+
license: {
|
|
2500
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2501
|
+
spdxId?: string | undefined;
|
|
2502
|
+
};
|
|
2503
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2504
|
+
repo?: {
|
|
2505
|
+
remoteUrl?: string | undefined;
|
|
2506
|
+
commitHash?: string | undefined;
|
|
2507
|
+
branch?: string | undefined;
|
|
2508
|
+
} | undefined;
|
|
2509
|
+
} | undefined;
|
|
2510
|
+
}, {
|
|
2511
|
+
schemaVersion: "jinn.execution.v1";
|
|
2512
|
+
trajectory: {
|
|
2513
|
+
sha256: string;
|
|
2514
|
+
access: {
|
|
2515
|
+
endpoint: string;
|
|
2516
|
+
priceUsdc: string;
|
|
2517
|
+
};
|
|
2518
|
+
sources?: {
|
|
2519
|
+
kind: "ipfs";
|
|
2520
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2521
|
+
sha256: string;
|
|
2522
|
+
cid: string;
|
|
2523
|
+
}[] | undefined;
|
|
2524
|
+
} | null;
|
|
2525
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2526
|
+
solverType: string;
|
|
2527
|
+
generatedAt: number;
|
|
2528
|
+
participant: {
|
|
2529
|
+
safeAddress: string;
|
|
2530
|
+
agentEoa: string;
|
|
2531
|
+
};
|
|
2532
|
+
window: {
|
|
2533
|
+
startTs: number;
|
|
2534
|
+
endTs: number;
|
|
2535
|
+
};
|
|
2536
|
+
executor: {
|
|
2537
|
+
implName: string;
|
|
2538
|
+
implVersion: string;
|
|
2539
|
+
clientGitSha: string;
|
|
2540
|
+
codeDigest: string;
|
|
2541
|
+
runtimeBundleDigest: string;
|
|
2542
|
+
plugins: {
|
|
2543
|
+
name: string;
|
|
2544
|
+
version: string;
|
|
2545
|
+
sha256: string;
|
|
2546
|
+
cid?: string | undefined;
|
|
2547
|
+
}[];
|
|
2548
|
+
signingKey: {
|
|
2549
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2550
|
+
pubkey: string;
|
|
2551
|
+
};
|
|
2552
|
+
model?: string | undefined;
|
|
2553
|
+
source?: {
|
|
2554
|
+
sha256: string;
|
|
2555
|
+
bundleCid: string;
|
|
2556
|
+
buildRecipe: {
|
|
2557
|
+
path: string;
|
|
2558
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2559
|
+
};
|
|
2560
|
+
measurement: string;
|
|
2561
|
+
humanUrl?: string | undefined;
|
|
2562
|
+
} | undefined;
|
|
2563
|
+
generatorModel?: {
|
|
2564
|
+
id: string;
|
|
2565
|
+
source: "stream" | "config";
|
|
2566
|
+
provider?: string | undefined;
|
|
2567
|
+
openWeights?: boolean | undefined;
|
|
2568
|
+
} | undefined;
|
|
2569
|
+
mode?: "train" | "frozen" | undefined;
|
|
2570
|
+
};
|
|
2571
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2572
|
+
attestation: {
|
|
2573
|
+
measurement: string;
|
|
2574
|
+
profile: string;
|
|
2575
|
+
quote: string;
|
|
2576
|
+
reportData: string;
|
|
2577
|
+
} | null;
|
|
2578
|
+
artifacts: {
|
|
2579
|
+
sha256: string;
|
|
2580
|
+
access: {
|
|
2581
|
+
endpoint: string;
|
|
2582
|
+
priceUsdc: string;
|
|
2583
|
+
};
|
|
2584
|
+
artifactType: string;
|
|
2585
|
+
metadata?: {
|
|
2586
|
+
description?: string | undefined;
|
|
2587
|
+
tags?: string[] | undefined;
|
|
2588
|
+
producedBy?: {
|
|
2589
|
+
spanId: string;
|
|
2590
|
+
trajectoryCid: string;
|
|
2591
|
+
} | undefined;
|
|
2592
|
+
} | undefined;
|
|
2593
|
+
sources?: {
|
|
2594
|
+
kind: "ipfs";
|
|
2595
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2596
|
+
sha256: string;
|
|
2597
|
+
cid: string;
|
|
2598
|
+
}[] | undefined;
|
|
2599
|
+
}[];
|
|
2600
|
+
payload: Record<string, unknown>;
|
|
2601
|
+
signature: {
|
|
2602
|
+
algo: "secp256k1";
|
|
2603
|
+
signer: string;
|
|
2604
|
+
hash: string;
|
|
2605
|
+
sig: string;
|
|
2606
|
+
};
|
|
2607
|
+
task?: {
|
|
2608
|
+
cid: string;
|
|
2609
|
+
onchainCreationTx: string;
|
|
2610
|
+
onchainCreationBlock: number;
|
|
2611
|
+
requestId: string;
|
|
2612
|
+
baseCommit?: string | undefined;
|
|
2613
|
+
createdAt?: number | undefined;
|
|
2614
|
+
instanceId?: string | undefined;
|
|
2615
|
+
repo?: string | undefined;
|
|
2616
|
+
} | undefined;
|
|
2617
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2618
|
+
sessionProvenance?: {
|
|
2619
|
+
sessionId: string;
|
|
2620
|
+
capturedAt: string;
|
|
2621
|
+
originatingTool: {
|
|
2622
|
+
name: string;
|
|
2623
|
+
version?: string | undefined;
|
|
2624
|
+
};
|
|
2625
|
+
license: {
|
|
2626
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2627
|
+
spdxId?: string | undefined;
|
|
2628
|
+
};
|
|
2629
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2630
|
+
repo?: {
|
|
2631
|
+
remoteUrl?: string | undefined;
|
|
2632
|
+
commitHash?: string | undefined;
|
|
2633
|
+
branch?: string | undefined;
|
|
2634
|
+
} | undefined;
|
|
2635
|
+
} | undefined;
|
|
2636
|
+
}>, {
|
|
2637
|
+
schemaVersion: "jinn.execution.v1";
|
|
2638
|
+
trajectory: {
|
|
2639
|
+
sha256: string;
|
|
2640
|
+
access: {
|
|
2641
|
+
endpoint: string;
|
|
2642
|
+
priceUsdc: string;
|
|
2643
|
+
};
|
|
2644
|
+
sources?: {
|
|
2645
|
+
kind: "ipfs";
|
|
2646
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2647
|
+
sha256: string;
|
|
2648
|
+
cid: string;
|
|
2649
|
+
}[] | undefined;
|
|
2650
|
+
} | null;
|
|
2651
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2652
|
+
solverType: string;
|
|
2653
|
+
generatedAt: number;
|
|
2654
|
+
participant: {
|
|
2655
|
+
safeAddress: string;
|
|
2656
|
+
agentEoa: string;
|
|
2657
|
+
};
|
|
2658
|
+
window: {
|
|
2659
|
+
startTs: number;
|
|
2660
|
+
endTs: number;
|
|
2661
|
+
};
|
|
2662
|
+
executor: {
|
|
2663
|
+
implName: string;
|
|
2664
|
+
implVersion: string;
|
|
2665
|
+
clientGitSha: string;
|
|
2666
|
+
codeDigest: string;
|
|
2667
|
+
runtimeBundleDigest: string;
|
|
2668
|
+
plugins: {
|
|
2669
|
+
name: string;
|
|
2670
|
+
version: string;
|
|
2671
|
+
sha256: string;
|
|
2672
|
+
cid?: string | undefined;
|
|
2673
|
+
}[];
|
|
2674
|
+
signingKey: {
|
|
2675
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2676
|
+
pubkey: string;
|
|
2677
|
+
};
|
|
2678
|
+
model?: string | undefined;
|
|
2679
|
+
source?: {
|
|
2680
|
+
sha256: string;
|
|
2681
|
+
bundleCid: string;
|
|
2682
|
+
buildRecipe: {
|
|
2683
|
+
path: string;
|
|
2684
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2685
|
+
};
|
|
2686
|
+
measurement: string;
|
|
2687
|
+
humanUrl?: string | undefined;
|
|
2688
|
+
} | undefined;
|
|
2689
|
+
generatorModel?: {
|
|
2690
|
+
id: string;
|
|
2691
|
+
source: "stream" | "config";
|
|
2692
|
+
provider?: string | undefined;
|
|
2693
|
+
openWeights?: boolean | undefined;
|
|
2694
|
+
} | undefined;
|
|
2695
|
+
mode?: "train" | "frozen" | undefined;
|
|
2696
|
+
};
|
|
2697
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2698
|
+
attestation: {
|
|
2699
|
+
measurement: string;
|
|
2700
|
+
profile: string;
|
|
2701
|
+
quote: string;
|
|
2702
|
+
reportData: string;
|
|
2703
|
+
} | null;
|
|
2704
|
+
artifacts: {
|
|
2705
|
+
sha256: string;
|
|
2706
|
+
access: {
|
|
2707
|
+
endpoint: string;
|
|
2708
|
+
priceUsdc: string;
|
|
2709
|
+
};
|
|
2710
|
+
artifactType: string;
|
|
2711
|
+
metadata?: {
|
|
2712
|
+
description?: string | undefined;
|
|
2713
|
+
tags?: string[] | undefined;
|
|
2714
|
+
producedBy?: {
|
|
2715
|
+
spanId: string;
|
|
2716
|
+
trajectoryCid: string;
|
|
2717
|
+
} | undefined;
|
|
2718
|
+
} | undefined;
|
|
2719
|
+
sources?: {
|
|
2720
|
+
kind: "ipfs";
|
|
2721
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2722
|
+
sha256: string;
|
|
2723
|
+
cid: string;
|
|
2724
|
+
}[] | undefined;
|
|
2725
|
+
}[];
|
|
2726
|
+
payload: Record<string, unknown>;
|
|
2727
|
+
signature: {
|
|
2728
|
+
algo: "secp256k1";
|
|
2729
|
+
signer: string;
|
|
2730
|
+
hash: string;
|
|
2731
|
+
sig: string;
|
|
2732
|
+
};
|
|
2733
|
+
task?: {
|
|
2734
|
+
cid: string;
|
|
2735
|
+
onchainCreationTx: string;
|
|
2736
|
+
onchainCreationBlock: number;
|
|
2737
|
+
requestId: string;
|
|
2738
|
+
baseCommit?: string | undefined;
|
|
2739
|
+
createdAt?: number | undefined;
|
|
2740
|
+
instanceId?: string | undefined;
|
|
2741
|
+
repo?: string | undefined;
|
|
2742
|
+
} | undefined;
|
|
2743
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2744
|
+
sessionProvenance?: {
|
|
2745
|
+
sessionId: string;
|
|
2746
|
+
capturedAt: string;
|
|
2747
|
+
originatingTool: {
|
|
2748
|
+
name: string;
|
|
2749
|
+
version?: string | undefined;
|
|
2750
|
+
};
|
|
2751
|
+
license: {
|
|
2752
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2753
|
+
spdxId?: string | undefined;
|
|
2754
|
+
};
|
|
2755
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2756
|
+
repo?: {
|
|
2757
|
+
remoteUrl?: string | undefined;
|
|
2758
|
+
commitHash?: string | undefined;
|
|
2759
|
+
branch?: string | undefined;
|
|
2760
|
+
} | undefined;
|
|
2761
|
+
} | undefined;
|
|
2762
|
+
}, {
|
|
2763
|
+
schemaVersion: "jinn.execution.v1";
|
|
2764
|
+
trajectory: {
|
|
2765
|
+
sha256: string;
|
|
2766
|
+
access: {
|
|
2767
|
+
endpoint: string;
|
|
2768
|
+
priceUsdc: string;
|
|
2769
|
+
};
|
|
2770
|
+
sources?: {
|
|
2771
|
+
kind: "ipfs";
|
|
2772
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2773
|
+
sha256: string;
|
|
2774
|
+
cid: string;
|
|
2775
|
+
}[] | undefined;
|
|
2776
|
+
} | null;
|
|
2777
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2778
|
+
solverType: string;
|
|
2779
|
+
generatedAt: number;
|
|
2780
|
+
participant: {
|
|
2781
|
+
safeAddress: string;
|
|
2782
|
+
agentEoa: string;
|
|
2783
|
+
};
|
|
2784
|
+
window: {
|
|
2785
|
+
startTs: number;
|
|
2786
|
+
endTs: number;
|
|
2787
|
+
};
|
|
2788
|
+
executor: {
|
|
2789
|
+
implName: string;
|
|
2790
|
+
implVersion: string;
|
|
2791
|
+
clientGitSha: string;
|
|
2792
|
+
codeDigest: string;
|
|
2793
|
+
runtimeBundleDigest: string;
|
|
2794
|
+
plugins: {
|
|
2795
|
+
name: string;
|
|
2796
|
+
version: string;
|
|
2797
|
+
sha256: string;
|
|
2798
|
+
cid?: string | undefined;
|
|
2799
|
+
}[];
|
|
2800
|
+
signingKey: {
|
|
2801
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2802
|
+
pubkey: string;
|
|
2803
|
+
};
|
|
2804
|
+
model?: string | undefined;
|
|
2805
|
+
source?: {
|
|
2806
|
+
sha256: string;
|
|
2807
|
+
bundleCid: string;
|
|
2808
|
+
buildRecipe: {
|
|
2809
|
+
path: string;
|
|
2810
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2811
|
+
};
|
|
2812
|
+
measurement: string;
|
|
2813
|
+
humanUrl?: string | undefined;
|
|
2814
|
+
} | undefined;
|
|
2815
|
+
generatorModel?: {
|
|
2816
|
+
id: string;
|
|
2817
|
+
source: "stream" | "config";
|
|
2818
|
+
provider?: string | undefined;
|
|
2819
|
+
openWeights?: boolean | undefined;
|
|
2820
|
+
} | undefined;
|
|
2821
|
+
mode?: "train" | "frozen" | undefined;
|
|
2822
|
+
};
|
|
2823
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2824
|
+
attestation: {
|
|
2825
|
+
measurement: string;
|
|
2826
|
+
profile: string;
|
|
2827
|
+
quote: string;
|
|
2828
|
+
reportData: string;
|
|
2829
|
+
} | null;
|
|
2830
|
+
artifacts: {
|
|
2831
|
+
sha256: string;
|
|
2832
|
+
access: {
|
|
2833
|
+
endpoint: string;
|
|
2834
|
+
priceUsdc: string;
|
|
2835
|
+
};
|
|
2836
|
+
artifactType: string;
|
|
2837
|
+
metadata?: {
|
|
2838
|
+
description?: string | undefined;
|
|
2839
|
+
tags?: string[] | undefined;
|
|
2840
|
+
producedBy?: {
|
|
2841
|
+
spanId: string;
|
|
2842
|
+
trajectoryCid: string;
|
|
2843
|
+
} | undefined;
|
|
2844
|
+
} | undefined;
|
|
2845
|
+
sources?: {
|
|
2846
|
+
kind: "ipfs";
|
|
2847
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2848
|
+
sha256: string;
|
|
2849
|
+
cid: string;
|
|
2850
|
+
}[] | undefined;
|
|
2851
|
+
}[];
|
|
2852
|
+
payload: Record<string, unknown>;
|
|
2853
|
+
signature: {
|
|
2854
|
+
algo: "secp256k1";
|
|
2855
|
+
signer: string;
|
|
2856
|
+
hash: string;
|
|
2857
|
+
sig: string;
|
|
2858
|
+
};
|
|
2859
|
+
task?: {
|
|
2860
|
+
cid: string;
|
|
2861
|
+
onchainCreationTx: string;
|
|
2862
|
+
onchainCreationBlock: number;
|
|
2863
|
+
requestId: string;
|
|
2864
|
+
baseCommit?: string | undefined;
|
|
2865
|
+
createdAt?: number | undefined;
|
|
2866
|
+
instanceId?: string | undefined;
|
|
2867
|
+
repo?: string | undefined;
|
|
2868
|
+
} | undefined;
|
|
2869
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2870
|
+
sessionProvenance?: {
|
|
2871
|
+
sessionId: string;
|
|
2872
|
+
capturedAt: string;
|
|
2873
|
+
originatingTool: {
|
|
2874
|
+
name: string;
|
|
2875
|
+
version?: string | undefined;
|
|
2876
|
+
};
|
|
2877
|
+
license: {
|
|
2878
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
2879
|
+
spdxId?: string | undefined;
|
|
2880
|
+
};
|
|
2881
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
2882
|
+
repo?: {
|
|
2883
|
+
remoteUrl?: string | undefined;
|
|
2884
|
+
commitHash?: string | undefined;
|
|
2885
|
+
branch?: string | undefined;
|
|
2886
|
+
} | undefined;
|
|
2887
|
+
} | undefined;
|
|
2888
|
+
}>, {
|
|
2889
|
+
schemaVersion: "jinn.execution.v1";
|
|
2890
|
+
trajectory: {
|
|
2891
|
+
sha256: string;
|
|
2892
|
+
access: {
|
|
2893
|
+
endpoint: string;
|
|
2894
|
+
priceUsdc: string;
|
|
2895
|
+
};
|
|
2896
|
+
sources?: {
|
|
2897
|
+
kind: "ipfs";
|
|
2898
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2899
|
+
sha256: string;
|
|
2900
|
+
cid: string;
|
|
2901
|
+
}[] | undefined;
|
|
2902
|
+
} | null;
|
|
2903
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
2904
|
+
solverType: string;
|
|
2905
|
+
generatedAt: number;
|
|
2906
|
+
participant: {
|
|
2907
|
+
safeAddress: string;
|
|
2908
|
+
agentEoa: string;
|
|
2909
|
+
};
|
|
2910
|
+
window: {
|
|
2911
|
+
startTs: number;
|
|
2912
|
+
endTs: number;
|
|
2913
|
+
};
|
|
2914
|
+
executor: {
|
|
2915
|
+
implName: string;
|
|
2916
|
+
implVersion: string;
|
|
2917
|
+
clientGitSha: string;
|
|
2918
|
+
codeDigest: string;
|
|
2919
|
+
runtimeBundleDigest: string;
|
|
2920
|
+
plugins: {
|
|
2921
|
+
name: string;
|
|
2922
|
+
version: string;
|
|
2923
|
+
sha256: string;
|
|
2924
|
+
cid?: string | undefined;
|
|
2925
|
+
}[];
|
|
2926
|
+
signingKey: {
|
|
2927
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
2928
|
+
pubkey: string;
|
|
2929
|
+
};
|
|
2930
|
+
model?: string | undefined;
|
|
2931
|
+
source?: {
|
|
2932
|
+
sha256: string;
|
|
2933
|
+
bundleCid: string;
|
|
2934
|
+
buildRecipe: {
|
|
2935
|
+
path: string;
|
|
2936
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
2937
|
+
};
|
|
2938
|
+
measurement: string;
|
|
2939
|
+
humanUrl?: string | undefined;
|
|
2940
|
+
} | undefined;
|
|
2941
|
+
generatorModel?: {
|
|
2942
|
+
id: string;
|
|
2943
|
+
source: "stream" | "config";
|
|
2944
|
+
provider?: string | undefined;
|
|
2945
|
+
openWeights?: boolean | undefined;
|
|
2946
|
+
} | undefined;
|
|
2947
|
+
mode?: "train" | "frozen" | undefined;
|
|
2948
|
+
};
|
|
2949
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
2950
|
+
attestation: {
|
|
2951
|
+
measurement: string;
|
|
2952
|
+
profile: string;
|
|
2953
|
+
quote: string;
|
|
2954
|
+
reportData: string;
|
|
2955
|
+
} | null;
|
|
2956
|
+
artifacts: {
|
|
2957
|
+
sha256: string;
|
|
2958
|
+
access: {
|
|
2959
|
+
endpoint: string;
|
|
2960
|
+
priceUsdc: string;
|
|
2961
|
+
};
|
|
2962
|
+
artifactType: string;
|
|
2963
|
+
metadata?: {
|
|
2964
|
+
description?: string | undefined;
|
|
2965
|
+
tags?: string[] | undefined;
|
|
2966
|
+
producedBy?: {
|
|
2967
|
+
spanId: string;
|
|
2968
|
+
trajectoryCid: string;
|
|
2969
|
+
} | undefined;
|
|
2970
|
+
} | undefined;
|
|
2971
|
+
sources?: {
|
|
2972
|
+
kind: "ipfs";
|
|
2973
|
+
encoding: "jinn.artifact.donation.v1";
|
|
2974
|
+
sha256: string;
|
|
2975
|
+
cid: string;
|
|
2976
|
+
}[] | undefined;
|
|
2977
|
+
}[];
|
|
2978
|
+
payload: Record<string, unknown>;
|
|
2979
|
+
signature: {
|
|
2980
|
+
algo: "secp256k1";
|
|
2981
|
+
signer: string;
|
|
2982
|
+
hash: string;
|
|
2983
|
+
sig: string;
|
|
2984
|
+
};
|
|
2985
|
+
task?: {
|
|
2986
|
+
cid: string;
|
|
2987
|
+
onchainCreationTx: string;
|
|
2988
|
+
onchainCreationBlock: number;
|
|
2989
|
+
requestId: string;
|
|
2990
|
+
baseCommit?: string | undefined;
|
|
2991
|
+
createdAt?: number | undefined;
|
|
2992
|
+
instanceId?: string | undefined;
|
|
2993
|
+
repo?: string | undefined;
|
|
2994
|
+
} | undefined;
|
|
2995
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
2996
|
+
sessionProvenance?: {
|
|
2997
|
+
sessionId: string;
|
|
2998
|
+
capturedAt: string;
|
|
2999
|
+
originatingTool: {
|
|
3000
|
+
name: string;
|
|
3001
|
+
version?: string | undefined;
|
|
3002
|
+
};
|
|
3003
|
+
license: {
|
|
3004
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
3005
|
+
spdxId?: string | undefined;
|
|
3006
|
+
};
|
|
3007
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
3008
|
+
repo?: {
|
|
3009
|
+
remoteUrl?: string | undefined;
|
|
3010
|
+
commitHash?: string | undefined;
|
|
3011
|
+
branch?: string | undefined;
|
|
3012
|
+
} | undefined;
|
|
3013
|
+
} | undefined;
|
|
3014
|
+
}, {
|
|
3015
|
+
schemaVersion: "jinn.execution.v1";
|
|
3016
|
+
trajectory: {
|
|
3017
|
+
sha256: string;
|
|
3018
|
+
access: {
|
|
3019
|
+
endpoint: string;
|
|
3020
|
+
priceUsdc: string;
|
|
3021
|
+
};
|
|
3022
|
+
sources?: {
|
|
3023
|
+
kind: "ipfs";
|
|
3024
|
+
encoding: "jinn.artifact.donation.v1";
|
|
3025
|
+
sha256: string;
|
|
3026
|
+
cid: string;
|
|
3027
|
+
}[] | undefined;
|
|
3028
|
+
} | null;
|
|
3029
|
+
role: "solution" | "verdict" | "capture" | "restoration";
|
|
3030
|
+
solverType: string;
|
|
3031
|
+
generatedAt: number;
|
|
3032
|
+
participant: {
|
|
3033
|
+
safeAddress: string;
|
|
3034
|
+
agentEoa: string;
|
|
3035
|
+
};
|
|
3036
|
+
window: {
|
|
3037
|
+
startTs: number;
|
|
3038
|
+
endTs: number;
|
|
3039
|
+
};
|
|
3040
|
+
executor: {
|
|
3041
|
+
implName: string;
|
|
3042
|
+
implVersion: string;
|
|
3043
|
+
clientGitSha: string;
|
|
3044
|
+
codeDigest: string;
|
|
3045
|
+
runtimeBundleDigest: string;
|
|
3046
|
+
plugins: {
|
|
3047
|
+
name: string;
|
|
3048
|
+
version: string;
|
|
3049
|
+
sha256: string;
|
|
3050
|
+
cid?: string | undefined;
|
|
3051
|
+
}[];
|
|
3052
|
+
signingKey: {
|
|
3053
|
+
kind: "agent-eoa" | "enclave-bound";
|
|
3054
|
+
pubkey: string;
|
|
3055
|
+
};
|
|
3056
|
+
model?: string | undefined;
|
|
3057
|
+
source?: {
|
|
3058
|
+
sha256: string;
|
|
3059
|
+
bundleCid: string;
|
|
3060
|
+
buildRecipe: {
|
|
3061
|
+
path: string;
|
|
3062
|
+
kind: "dockerfile" | "nix" | "bazel";
|
|
3063
|
+
};
|
|
3064
|
+
measurement: string;
|
|
3065
|
+
humanUrl?: string | undefined;
|
|
3066
|
+
} | undefined;
|
|
3067
|
+
generatorModel?: {
|
|
3068
|
+
id: string;
|
|
3069
|
+
source: "stream" | "config";
|
|
3070
|
+
provider?: string | undefined;
|
|
3071
|
+
openWeights?: boolean | undefined;
|
|
3072
|
+
} | undefined;
|
|
3073
|
+
mode?: "train" | "frozen" | undefined;
|
|
3074
|
+
};
|
|
3075
|
+
evidenceTier: "self-signed" | "committed" | "attested";
|
|
3076
|
+
attestation: {
|
|
3077
|
+
measurement: string;
|
|
3078
|
+
profile: string;
|
|
3079
|
+
quote: string;
|
|
3080
|
+
reportData: string;
|
|
3081
|
+
} | null;
|
|
3082
|
+
artifacts: {
|
|
3083
|
+
sha256: string;
|
|
3084
|
+
access: {
|
|
3085
|
+
endpoint: string;
|
|
3086
|
+
priceUsdc: string;
|
|
3087
|
+
};
|
|
3088
|
+
artifactType: string;
|
|
3089
|
+
metadata?: {
|
|
3090
|
+
description?: string | undefined;
|
|
3091
|
+
tags?: string[] | undefined;
|
|
3092
|
+
producedBy?: {
|
|
3093
|
+
spanId: string;
|
|
3094
|
+
trajectoryCid: string;
|
|
3095
|
+
} | undefined;
|
|
3096
|
+
} | undefined;
|
|
3097
|
+
sources?: {
|
|
3098
|
+
kind: "ipfs";
|
|
3099
|
+
encoding: "jinn.artifact.donation.v1";
|
|
3100
|
+
sha256: string;
|
|
3101
|
+
cid: string;
|
|
3102
|
+
}[] | undefined;
|
|
3103
|
+
}[];
|
|
3104
|
+
payload: Record<string, unknown>;
|
|
3105
|
+
signature: {
|
|
3106
|
+
algo: "secp256k1";
|
|
3107
|
+
signer: string;
|
|
3108
|
+
hash: string;
|
|
3109
|
+
sig: string;
|
|
3110
|
+
};
|
|
3111
|
+
task?: {
|
|
3112
|
+
cid: string;
|
|
3113
|
+
onchainCreationTx: string;
|
|
3114
|
+
onchainCreationBlock: number;
|
|
3115
|
+
requestId: string;
|
|
3116
|
+
baseCommit?: string | undefined;
|
|
3117
|
+
createdAt?: number | undefined;
|
|
3118
|
+
instanceId?: string | undefined;
|
|
3119
|
+
repo?: string | undefined;
|
|
3120
|
+
} | undefined;
|
|
3121
|
+
distributionClass?: "unknown" | "open" | "restricted-tos" | undefined;
|
|
3122
|
+
sessionProvenance?: {
|
|
3123
|
+
sessionId: string;
|
|
3124
|
+
capturedAt: string;
|
|
3125
|
+
originatingTool: {
|
|
3126
|
+
name: string;
|
|
3127
|
+
version?: string | undefined;
|
|
3128
|
+
};
|
|
3129
|
+
license: {
|
|
3130
|
+
operatorAssertion: "asserted" | "unspecified";
|
|
3131
|
+
spdxId?: string | undefined;
|
|
3132
|
+
};
|
|
3133
|
+
publishMinedTasksConsent?: boolean | undefined;
|
|
3134
|
+
repo?: {
|
|
3135
|
+
remoteUrl?: string | undefined;
|
|
3136
|
+
commitHash?: string | undefined;
|
|
3137
|
+
branch?: string | undefined;
|
|
3138
|
+
} | undefined;
|
|
3139
|
+
} | undefined;
|
|
3140
|
+
}>;
|
|
3141
|
+
export type SignedEnvelope = z.infer<typeof SignedEnvelopeSchema>;
|
|
3142
|
+
export {};
|