@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,1338 @@
|
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
|
+
export declare const ENVIRONMENT_BUILD_REQUEST_V1: "jinn.environment-build-request.v1";
|
|
3
|
+
export declare const ENVIRONMENT_BUILD_RECIPE_V1: "jinn.environment-build-recipe.v1";
|
|
4
|
+
export declare const TASK_ENVIRONMENT_SPEC_V1: "jinn.task-environment.v1";
|
|
5
|
+
export declare const DigestQualifiedImageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
reference: z.ZodString;
|
|
7
|
+
digest: z.ZodString;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
reference: string;
|
|
10
|
+
digest: string;
|
|
11
|
+
}, {
|
|
12
|
+
reference: string;
|
|
13
|
+
digest: string;
|
|
14
|
+
}>, {
|
|
15
|
+
reference: string;
|
|
16
|
+
digest: string;
|
|
17
|
+
}, {
|
|
18
|
+
reference: string;
|
|
19
|
+
digest: string;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const EnvironmentSourceV1Schema: z.ZodObject<{
|
|
22
|
+
repo: z.ZodString;
|
|
23
|
+
repoUrl: z.ZodString;
|
|
24
|
+
baseCommit: z.ZodString;
|
|
25
|
+
}, "strict", z.ZodTypeAny, {
|
|
26
|
+
repo: string;
|
|
27
|
+
repoUrl: string;
|
|
28
|
+
baseCommit: string;
|
|
29
|
+
}, {
|
|
30
|
+
repo: string;
|
|
31
|
+
repoUrl: string;
|
|
32
|
+
baseCommit: string;
|
|
33
|
+
}>;
|
|
34
|
+
export type EnvironmentSourceV1 = z.infer<typeof EnvironmentSourceV1Schema>;
|
|
35
|
+
/** A shell-free command representation executed relative to the workspace. */
|
|
36
|
+
export declare const CommandSpecSchema: z.ZodObject<{
|
|
37
|
+
bin: z.ZodString;
|
|
38
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
39
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
40
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
41
|
+
}, "strict", z.ZodTypeAny, {
|
|
42
|
+
args: string[];
|
|
43
|
+
bin: string;
|
|
44
|
+
cwd?: string | undefined;
|
|
45
|
+
environment?: Record<string, string> | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
args: string[];
|
|
48
|
+
bin: string;
|
|
49
|
+
cwd?: string | undefined;
|
|
50
|
+
environment?: Record<string, string> | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
export type CommandSpec = z.infer<typeof CommandSpecSchema>;
|
|
53
|
+
/**
|
|
54
|
+
* A rights record belongs to exactly one disclosed input. An SPDX assertion is
|
|
55
|
+
* still checked against repository metadata by the publication policy; an
|
|
56
|
+
* explicit authorization can carry a repository-specific permission record.
|
|
57
|
+
*/
|
|
58
|
+
export declare const InputRightsRefV1Schema: z.ZodUnion<[z.ZodObject<{
|
|
59
|
+
inputRef: z.ZodString;
|
|
60
|
+
rightsRef: z.ZodString;
|
|
61
|
+
basis: z.ZodLiteral<"spdx">;
|
|
62
|
+
spdxId: z.ZodString;
|
|
63
|
+
}, "strict", z.ZodTypeAny, {
|
|
64
|
+
inputRef: string;
|
|
65
|
+
rightsRef: string;
|
|
66
|
+
basis: "spdx";
|
|
67
|
+
spdxId: string;
|
|
68
|
+
}, {
|
|
69
|
+
inputRef: string;
|
|
70
|
+
rightsRef: string;
|
|
71
|
+
basis: "spdx";
|
|
72
|
+
spdxId: string;
|
|
73
|
+
}>, z.ZodObject<{
|
|
74
|
+
inputRef: z.ZodString;
|
|
75
|
+
rightsRef: z.ZodString;
|
|
76
|
+
basis: z.ZodLiteral<"authorization">;
|
|
77
|
+
authorizationRef: z.ZodString;
|
|
78
|
+
}, "strict", z.ZodTypeAny, {
|
|
79
|
+
inputRef: string;
|
|
80
|
+
rightsRef: string;
|
|
81
|
+
basis: "authorization";
|
|
82
|
+
authorizationRef: string;
|
|
83
|
+
}, {
|
|
84
|
+
inputRef: string;
|
|
85
|
+
rightsRef: string;
|
|
86
|
+
basis: "authorization";
|
|
87
|
+
authorizationRef: string;
|
|
88
|
+
}>]>;
|
|
89
|
+
export type InputRightsRefV1 = z.infer<typeof InputRightsRefV1Schema>;
|
|
90
|
+
/** Identity of parser code bound by the durable evaluator enable marker. */
|
|
91
|
+
export declare const TrustedParserIdentityV1Schema: z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
version: z.ZodString;
|
|
94
|
+
digest: z.ZodString;
|
|
95
|
+
bundleId: z.ZodString;
|
|
96
|
+
}, "strict", z.ZodTypeAny, {
|
|
97
|
+
id: string;
|
|
98
|
+
version: string;
|
|
99
|
+
digest: string;
|
|
100
|
+
bundleId: string;
|
|
101
|
+
}, {
|
|
102
|
+
id: string;
|
|
103
|
+
version: string;
|
|
104
|
+
digest: string;
|
|
105
|
+
bundleId: string;
|
|
106
|
+
}>;
|
|
107
|
+
export type TrustedParserIdentityV1 = z.infer<typeof TrustedParserIdentityV1Schema>;
|
|
108
|
+
export declare const EnvironmentBuildRequestV1Schema: z.ZodObject<{
|
|
109
|
+
schemaVersion: z.ZodLiteral<"jinn.environment-build-request.v1">;
|
|
110
|
+
repo: z.ZodString;
|
|
111
|
+
repoUrl: z.ZodString;
|
|
112
|
+
baseCommit: z.ZodString;
|
|
113
|
+
language: z.ZodOptional<z.ZodString>;
|
|
114
|
+
workspaceHint: z.ZodOptional<z.ZodString>;
|
|
115
|
+
testPathHints: z.ZodArray<z.ZodString, "many">;
|
|
116
|
+
commandHints: z.ZodArray<z.ZodString, "many">;
|
|
117
|
+
}, "strict", z.ZodTypeAny, {
|
|
118
|
+
schemaVersion: "jinn.environment-build-request.v1";
|
|
119
|
+
repo: string;
|
|
120
|
+
repoUrl: string;
|
|
121
|
+
baseCommit: string;
|
|
122
|
+
testPathHints: string[];
|
|
123
|
+
commandHints: string[];
|
|
124
|
+
language?: string | undefined;
|
|
125
|
+
workspaceHint?: string | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
schemaVersion: "jinn.environment-build-request.v1";
|
|
128
|
+
repo: string;
|
|
129
|
+
repoUrl: string;
|
|
130
|
+
baseCommit: string;
|
|
131
|
+
testPathHints: string[];
|
|
132
|
+
commandHints: string[];
|
|
133
|
+
language?: string | undefined;
|
|
134
|
+
workspaceHint?: string | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
export type EnvironmentBuildRequestV1 = z.infer<typeof EnvironmentBuildRequestV1Schema>;
|
|
137
|
+
export declare const EnvironmentBuildRecipeV1Schema: z.ZodObject<{
|
|
138
|
+
schemaVersion: z.ZodLiteral<"jinn.environment-build-recipe.v1">;
|
|
139
|
+
recipeId: z.ZodString;
|
|
140
|
+
source: z.ZodObject<{
|
|
141
|
+
repo: z.ZodString;
|
|
142
|
+
repoUrl: z.ZodString;
|
|
143
|
+
baseCommit: z.ZodString;
|
|
144
|
+
}, "strict", z.ZodTypeAny, {
|
|
145
|
+
repo: string;
|
|
146
|
+
repoUrl: string;
|
|
147
|
+
baseCommit: string;
|
|
148
|
+
}, {
|
|
149
|
+
repo: string;
|
|
150
|
+
repoUrl: string;
|
|
151
|
+
baseCommit: string;
|
|
152
|
+
}>;
|
|
153
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
154
|
+
baseImage: z.ZodEffects<z.ZodObject<{
|
|
155
|
+
reference: z.ZodString;
|
|
156
|
+
digest: z.ZodString;
|
|
157
|
+
}, "strict", z.ZodTypeAny, {
|
|
158
|
+
reference: string;
|
|
159
|
+
digest: string;
|
|
160
|
+
}, {
|
|
161
|
+
reference: string;
|
|
162
|
+
digest: string;
|
|
163
|
+
}>, {
|
|
164
|
+
reference: string;
|
|
165
|
+
digest: string;
|
|
166
|
+
}, {
|
|
167
|
+
reference: string;
|
|
168
|
+
digest: string;
|
|
169
|
+
}>;
|
|
170
|
+
workspace: z.ZodLiteral<"/testbed">;
|
|
171
|
+
installCommands: z.ZodArray<z.ZodObject<{
|
|
172
|
+
bin: z.ZodString;
|
|
173
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
174
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
175
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
176
|
+
}, "strict", z.ZodTypeAny, {
|
|
177
|
+
args: string[];
|
|
178
|
+
bin: string;
|
|
179
|
+
cwd?: string | undefined;
|
|
180
|
+
environment?: Record<string, string> | undefined;
|
|
181
|
+
}, {
|
|
182
|
+
args: string[];
|
|
183
|
+
bin: string;
|
|
184
|
+
cwd?: string | undefined;
|
|
185
|
+
environment?: Record<string, string> | undefined;
|
|
186
|
+
}>, "many">;
|
|
187
|
+
smokeCommands: z.ZodArray<z.ZodObject<{
|
|
188
|
+
bin: z.ZodString;
|
|
189
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
190
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
191
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
192
|
+
}, "strict", z.ZodTypeAny, {
|
|
193
|
+
args: string[];
|
|
194
|
+
bin: string;
|
|
195
|
+
cwd?: string | undefined;
|
|
196
|
+
environment?: Record<string, string> | undefined;
|
|
197
|
+
}, {
|
|
198
|
+
args: string[];
|
|
199
|
+
bin: string;
|
|
200
|
+
cwd?: string | undefined;
|
|
201
|
+
environment?: Record<string, string> | undefined;
|
|
202
|
+
}>, "many">;
|
|
203
|
+
testCommands: z.ZodArray<z.ZodObject<{
|
|
204
|
+
bin: z.ZodString;
|
|
205
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
206
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
207
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
208
|
+
}, "strict", z.ZodTypeAny, {
|
|
209
|
+
args: string[];
|
|
210
|
+
bin: string;
|
|
211
|
+
cwd?: string | undefined;
|
|
212
|
+
environment?: Record<string, string> | undefined;
|
|
213
|
+
}, {
|
|
214
|
+
args: string[];
|
|
215
|
+
bin: string;
|
|
216
|
+
cwd?: string | undefined;
|
|
217
|
+
environment?: Record<string, string> | undefined;
|
|
218
|
+
}>, "many">;
|
|
219
|
+
parser: z.ZodObject<{
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
version: z.ZodString;
|
|
222
|
+
digest: z.ZodString;
|
|
223
|
+
bundleId: z.ZodString;
|
|
224
|
+
}, "strict", z.ZodTypeAny, {
|
|
225
|
+
id: string;
|
|
226
|
+
version: string;
|
|
227
|
+
digest: string;
|
|
228
|
+
bundleId: string;
|
|
229
|
+
}, {
|
|
230
|
+
id: string;
|
|
231
|
+
version: string;
|
|
232
|
+
digest: string;
|
|
233
|
+
bundleId: string;
|
|
234
|
+
}>;
|
|
235
|
+
inputRights: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
236
|
+
inputRef: z.ZodString;
|
|
237
|
+
rightsRef: z.ZodString;
|
|
238
|
+
basis: z.ZodLiteral<"spdx">;
|
|
239
|
+
spdxId: z.ZodString;
|
|
240
|
+
}, "strict", z.ZodTypeAny, {
|
|
241
|
+
inputRef: string;
|
|
242
|
+
rightsRef: string;
|
|
243
|
+
basis: "spdx";
|
|
244
|
+
spdxId: string;
|
|
245
|
+
}, {
|
|
246
|
+
inputRef: string;
|
|
247
|
+
rightsRef: string;
|
|
248
|
+
basis: "spdx";
|
|
249
|
+
spdxId: string;
|
|
250
|
+
}>, z.ZodObject<{
|
|
251
|
+
inputRef: z.ZodString;
|
|
252
|
+
rightsRef: z.ZodString;
|
|
253
|
+
basis: z.ZodLiteral<"authorization">;
|
|
254
|
+
authorizationRef: z.ZodString;
|
|
255
|
+
}, "strict", z.ZodTypeAny, {
|
|
256
|
+
inputRef: string;
|
|
257
|
+
rightsRef: string;
|
|
258
|
+
basis: "authorization";
|
|
259
|
+
authorizationRef: string;
|
|
260
|
+
}, {
|
|
261
|
+
inputRef: string;
|
|
262
|
+
rightsRef: string;
|
|
263
|
+
basis: "authorization";
|
|
264
|
+
authorizationRef: string;
|
|
265
|
+
}>]>, "many">;
|
|
266
|
+
timeoutSeconds: z.ZodNumber;
|
|
267
|
+
environment: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
268
|
+
}, "strict", z.ZodTypeAny, {
|
|
269
|
+
source: {
|
|
270
|
+
repo: string;
|
|
271
|
+
repoUrl: string;
|
|
272
|
+
baseCommit: string;
|
|
273
|
+
};
|
|
274
|
+
schemaVersion: "jinn.environment-build-recipe.v1";
|
|
275
|
+
environment: Record<string, string>;
|
|
276
|
+
recipeId: string;
|
|
277
|
+
platform: "linux/amd64";
|
|
278
|
+
baseImage: {
|
|
279
|
+
reference: string;
|
|
280
|
+
digest: string;
|
|
281
|
+
};
|
|
282
|
+
workspace: "/testbed";
|
|
283
|
+
installCommands: {
|
|
284
|
+
args: string[];
|
|
285
|
+
bin: string;
|
|
286
|
+
cwd?: string | undefined;
|
|
287
|
+
environment?: Record<string, string> | undefined;
|
|
288
|
+
}[];
|
|
289
|
+
smokeCommands: {
|
|
290
|
+
args: string[];
|
|
291
|
+
bin: string;
|
|
292
|
+
cwd?: string | undefined;
|
|
293
|
+
environment?: Record<string, string> | undefined;
|
|
294
|
+
}[];
|
|
295
|
+
testCommands: {
|
|
296
|
+
args: string[];
|
|
297
|
+
bin: string;
|
|
298
|
+
cwd?: string | undefined;
|
|
299
|
+
environment?: Record<string, string> | undefined;
|
|
300
|
+
}[];
|
|
301
|
+
parser: {
|
|
302
|
+
id: string;
|
|
303
|
+
version: string;
|
|
304
|
+
digest: string;
|
|
305
|
+
bundleId: string;
|
|
306
|
+
};
|
|
307
|
+
inputRights: ({
|
|
308
|
+
inputRef: string;
|
|
309
|
+
rightsRef: string;
|
|
310
|
+
basis: "spdx";
|
|
311
|
+
spdxId: string;
|
|
312
|
+
} | {
|
|
313
|
+
inputRef: string;
|
|
314
|
+
rightsRef: string;
|
|
315
|
+
basis: "authorization";
|
|
316
|
+
authorizationRef: string;
|
|
317
|
+
})[];
|
|
318
|
+
timeoutSeconds: number;
|
|
319
|
+
}, {
|
|
320
|
+
source: {
|
|
321
|
+
repo: string;
|
|
322
|
+
repoUrl: string;
|
|
323
|
+
baseCommit: string;
|
|
324
|
+
};
|
|
325
|
+
schemaVersion: "jinn.environment-build-recipe.v1";
|
|
326
|
+
environment: Record<string, string>;
|
|
327
|
+
recipeId: string;
|
|
328
|
+
platform: "linux/amd64";
|
|
329
|
+
baseImage: {
|
|
330
|
+
reference: string;
|
|
331
|
+
digest: string;
|
|
332
|
+
};
|
|
333
|
+
workspace: "/testbed";
|
|
334
|
+
installCommands: {
|
|
335
|
+
args: string[];
|
|
336
|
+
bin: string;
|
|
337
|
+
cwd?: string | undefined;
|
|
338
|
+
environment?: Record<string, string> | undefined;
|
|
339
|
+
}[];
|
|
340
|
+
smokeCommands: {
|
|
341
|
+
args: string[];
|
|
342
|
+
bin: string;
|
|
343
|
+
cwd?: string | undefined;
|
|
344
|
+
environment?: Record<string, string> | undefined;
|
|
345
|
+
}[];
|
|
346
|
+
testCommands: {
|
|
347
|
+
args: string[];
|
|
348
|
+
bin: string;
|
|
349
|
+
cwd?: string | undefined;
|
|
350
|
+
environment?: Record<string, string> | undefined;
|
|
351
|
+
}[];
|
|
352
|
+
parser: {
|
|
353
|
+
id: string;
|
|
354
|
+
version: string;
|
|
355
|
+
digest: string;
|
|
356
|
+
bundleId: string;
|
|
357
|
+
};
|
|
358
|
+
inputRights: ({
|
|
359
|
+
inputRef: string;
|
|
360
|
+
rightsRef: string;
|
|
361
|
+
basis: "spdx";
|
|
362
|
+
spdxId: string;
|
|
363
|
+
} | {
|
|
364
|
+
inputRef: string;
|
|
365
|
+
rightsRef: string;
|
|
366
|
+
basis: "authorization";
|
|
367
|
+
authorizationRef: string;
|
|
368
|
+
})[];
|
|
369
|
+
timeoutSeconds: number;
|
|
370
|
+
}>;
|
|
371
|
+
export type EnvironmentBuildRecipeV1 = z.infer<typeof EnvironmentBuildRecipeV1Schema>;
|
|
372
|
+
export declare const Eip191EnvironmentAttestationV1Schema: z.ZodObject<{
|
|
373
|
+
scheme: z.ZodLiteral<"eip191">;
|
|
374
|
+
algo: z.ZodLiteral<"secp256k1">;
|
|
375
|
+
environmentHash: z.ZodString;
|
|
376
|
+
operatorSafe: z.ZodString;
|
|
377
|
+
signer: z.ZodString;
|
|
378
|
+
signature: z.ZodString;
|
|
379
|
+
}, "strict", z.ZodTypeAny, {
|
|
380
|
+
signature: string;
|
|
381
|
+
scheme: "eip191";
|
|
382
|
+
algo: "secp256k1";
|
|
383
|
+
signer: string;
|
|
384
|
+
environmentHash: string;
|
|
385
|
+
operatorSafe: string;
|
|
386
|
+
}, {
|
|
387
|
+
signature: string;
|
|
388
|
+
scheme: "eip191";
|
|
389
|
+
algo: "secp256k1";
|
|
390
|
+
signer: string;
|
|
391
|
+
environmentHash: string;
|
|
392
|
+
operatorSafe: string;
|
|
393
|
+
}>;
|
|
394
|
+
export type Eip191EnvironmentAttestationV1 = z.infer<typeof Eip191EnvironmentAttestationV1Schema>;
|
|
395
|
+
/** Domain-separated EIP-191 message for an immutable evaluator environment. */
|
|
396
|
+
export declare function environmentAttestationMessageV1(environmentHash: string): string;
|
|
397
|
+
/**
|
|
398
|
+
* Verify the signer named by a parsed attestation. This deliberately verifies
|
|
399
|
+
* the hash-bound domain message rather than merely checking signature shape.
|
|
400
|
+
*/
|
|
401
|
+
export declare function verifyEnvironmentAttestationV1(attestation: Eip191EnvironmentAttestationV1): Promise<boolean>;
|
|
402
|
+
/** Structural schema used only while computing the non-self-referential hash. */
|
|
403
|
+
declare const TaskEnvironmentSpecV1BaseSchema: z.ZodObject<{
|
|
404
|
+
schemaVersion: z.ZodLiteral<"jinn.task-environment.v1">;
|
|
405
|
+
source: z.ZodObject<{
|
|
406
|
+
repo: z.ZodString;
|
|
407
|
+
repoUrl: z.ZodString;
|
|
408
|
+
baseCommit: z.ZodString;
|
|
409
|
+
}, "strict", z.ZodTypeAny, {
|
|
410
|
+
repo: string;
|
|
411
|
+
repoUrl: string;
|
|
412
|
+
baseCommit: string;
|
|
413
|
+
}, {
|
|
414
|
+
repo: string;
|
|
415
|
+
repoUrl: string;
|
|
416
|
+
baseCommit: string;
|
|
417
|
+
}>;
|
|
418
|
+
inputs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
419
|
+
inputRef: z.ZodString;
|
|
420
|
+
sha256: z.ZodString;
|
|
421
|
+
rights: z.ZodUnion<[z.ZodObject<{
|
|
422
|
+
inputRef: z.ZodString;
|
|
423
|
+
rightsRef: z.ZodString;
|
|
424
|
+
basis: z.ZodLiteral<"spdx">;
|
|
425
|
+
spdxId: z.ZodString;
|
|
426
|
+
}, "strict", z.ZodTypeAny, {
|
|
427
|
+
inputRef: string;
|
|
428
|
+
rightsRef: string;
|
|
429
|
+
basis: "spdx";
|
|
430
|
+
spdxId: string;
|
|
431
|
+
}, {
|
|
432
|
+
inputRef: string;
|
|
433
|
+
rightsRef: string;
|
|
434
|
+
basis: "spdx";
|
|
435
|
+
spdxId: string;
|
|
436
|
+
}>, z.ZodObject<{
|
|
437
|
+
inputRef: z.ZodString;
|
|
438
|
+
rightsRef: z.ZodString;
|
|
439
|
+
basis: z.ZodLiteral<"authorization">;
|
|
440
|
+
authorizationRef: z.ZodString;
|
|
441
|
+
}, "strict", z.ZodTypeAny, {
|
|
442
|
+
inputRef: string;
|
|
443
|
+
rightsRef: string;
|
|
444
|
+
basis: "authorization";
|
|
445
|
+
authorizationRef: string;
|
|
446
|
+
}, {
|
|
447
|
+
inputRef: string;
|
|
448
|
+
rightsRef: string;
|
|
449
|
+
basis: "authorization";
|
|
450
|
+
authorizationRef: string;
|
|
451
|
+
}>]>;
|
|
452
|
+
}, "strict", z.ZodTypeAny, {
|
|
453
|
+
sha256: string;
|
|
454
|
+
inputRef: string;
|
|
455
|
+
rights: {
|
|
456
|
+
inputRef: string;
|
|
457
|
+
rightsRef: string;
|
|
458
|
+
basis: "spdx";
|
|
459
|
+
spdxId: string;
|
|
460
|
+
} | {
|
|
461
|
+
inputRef: string;
|
|
462
|
+
rightsRef: string;
|
|
463
|
+
basis: "authorization";
|
|
464
|
+
authorizationRef: string;
|
|
465
|
+
};
|
|
466
|
+
}, {
|
|
467
|
+
sha256: string;
|
|
468
|
+
inputRef: string;
|
|
469
|
+
rights: {
|
|
470
|
+
inputRef: string;
|
|
471
|
+
rightsRef: string;
|
|
472
|
+
basis: "spdx";
|
|
473
|
+
spdxId: string;
|
|
474
|
+
} | {
|
|
475
|
+
inputRef: string;
|
|
476
|
+
rightsRef: string;
|
|
477
|
+
basis: "authorization";
|
|
478
|
+
authorizationRef: string;
|
|
479
|
+
};
|
|
480
|
+
}>, {
|
|
481
|
+
sha256: string;
|
|
482
|
+
inputRef: string;
|
|
483
|
+
rights: {
|
|
484
|
+
inputRef: string;
|
|
485
|
+
rightsRef: string;
|
|
486
|
+
basis: "spdx";
|
|
487
|
+
spdxId: string;
|
|
488
|
+
} | {
|
|
489
|
+
inputRef: string;
|
|
490
|
+
rightsRef: string;
|
|
491
|
+
basis: "authorization";
|
|
492
|
+
authorizationRef: string;
|
|
493
|
+
};
|
|
494
|
+
}, {
|
|
495
|
+
sha256: string;
|
|
496
|
+
inputRef: string;
|
|
497
|
+
rights: {
|
|
498
|
+
inputRef: string;
|
|
499
|
+
rightsRef: string;
|
|
500
|
+
basis: "spdx";
|
|
501
|
+
spdxId: string;
|
|
502
|
+
} | {
|
|
503
|
+
inputRef: string;
|
|
504
|
+
rightsRef: string;
|
|
505
|
+
basis: "authorization";
|
|
506
|
+
authorizationRef: string;
|
|
507
|
+
};
|
|
508
|
+
}>, "many">;
|
|
509
|
+
execution: z.ZodObject<{
|
|
510
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
511
|
+
workspace: z.ZodLiteral<"/testbed">;
|
|
512
|
+
image: z.ZodEffects<z.ZodObject<{
|
|
513
|
+
reference: z.ZodString;
|
|
514
|
+
digest: z.ZodString;
|
|
515
|
+
}, "strict", z.ZodTypeAny, {
|
|
516
|
+
reference: string;
|
|
517
|
+
digest: string;
|
|
518
|
+
}, {
|
|
519
|
+
reference: string;
|
|
520
|
+
digest: string;
|
|
521
|
+
}>, {
|
|
522
|
+
reference: string;
|
|
523
|
+
digest: string;
|
|
524
|
+
}, {
|
|
525
|
+
reference: string;
|
|
526
|
+
digest: string;
|
|
527
|
+
}>;
|
|
528
|
+
testCommands: z.ZodArray<z.ZodObject<{
|
|
529
|
+
bin: z.ZodString;
|
|
530
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
531
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
532
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
533
|
+
}, "strict", z.ZodTypeAny, {
|
|
534
|
+
args: string[];
|
|
535
|
+
bin: string;
|
|
536
|
+
cwd?: string | undefined;
|
|
537
|
+
environment?: Record<string, string> | undefined;
|
|
538
|
+
}, {
|
|
539
|
+
args: string[];
|
|
540
|
+
bin: string;
|
|
541
|
+
cwd?: string | undefined;
|
|
542
|
+
environment?: Record<string, string> | undefined;
|
|
543
|
+
}>, "many">;
|
|
544
|
+
parser: z.ZodObject<{
|
|
545
|
+
id: z.ZodString;
|
|
546
|
+
version: z.ZodString;
|
|
547
|
+
digest: z.ZodString;
|
|
548
|
+
bundleId: z.ZodString;
|
|
549
|
+
}, "strict", z.ZodTypeAny, {
|
|
550
|
+
id: string;
|
|
551
|
+
version: string;
|
|
552
|
+
digest: string;
|
|
553
|
+
bundleId: string;
|
|
554
|
+
}, {
|
|
555
|
+
id: string;
|
|
556
|
+
version: string;
|
|
557
|
+
digest: string;
|
|
558
|
+
bundleId: string;
|
|
559
|
+
}>;
|
|
560
|
+
timeoutSeconds: z.ZodNumber;
|
|
561
|
+
environment: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
562
|
+
}, "strict", z.ZodTypeAny, {
|
|
563
|
+
image: {
|
|
564
|
+
reference: string;
|
|
565
|
+
digest: string;
|
|
566
|
+
};
|
|
567
|
+
environment: Record<string, string>;
|
|
568
|
+
platform: "linux/amd64";
|
|
569
|
+
workspace: "/testbed";
|
|
570
|
+
testCommands: {
|
|
571
|
+
args: string[];
|
|
572
|
+
bin: string;
|
|
573
|
+
cwd?: string | undefined;
|
|
574
|
+
environment?: Record<string, string> | undefined;
|
|
575
|
+
}[];
|
|
576
|
+
parser: {
|
|
577
|
+
id: string;
|
|
578
|
+
version: string;
|
|
579
|
+
digest: string;
|
|
580
|
+
bundleId: string;
|
|
581
|
+
};
|
|
582
|
+
timeoutSeconds: number;
|
|
583
|
+
}, {
|
|
584
|
+
image: {
|
|
585
|
+
reference: string;
|
|
586
|
+
digest: string;
|
|
587
|
+
};
|
|
588
|
+
environment: Record<string, string>;
|
|
589
|
+
platform: "linux/amd64";
|
|
590
|
+
workspace: "/testbed";
|
|
591
|
+
testCommands: {
|
|
592
|
+
args: string[];
|
|
593
|
+
bin: string;
|
|
594
|
+
cwd?: string | undefined;
|
|
595
|
+
environment?: Record<string, string> | undefined;
|
|
596
|
+
}[];
|
|
597
|
+
parser: {
|
|
598
|
+
id: string;
|
|
599
|
+
version: string;
|
|
600
|
+
digest: string;
|
|
601
|
+
bundleId: string;
|
|
602
|
+
};
|
|
603
|
+
timeoutSeconds: number;
|
|
604
|
+
}>;
|
|
605
|
+
build: z.ZodObject<{
|
|
606
|
+
recipeCid: z.ZodString;
|
|
607
|
+
recipeHash: z.ZodString;
|
|
608
|
+
provider: z.ZodEnum<["explicit", "deterministic", "agentic"]>;
|
|
609
|
+
providerId: z.ZodString;
|
|
610
|
+
providerVersion: z.ZodString;
|
|
611
|
+
}, "strict", z.ZodTypeAny, {
|
|
612
|
+
recipeCid: string;
|
|
613
|
+
recipeHash: string;
|
|
614
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
615
|
+
providerId: string;
|
|
616
|
+
providerVersion: string;
|
|
617
|
+
}, {
|
|
618
|
+
recipeCid: string;
|
|
619
|
+
recipeHash: string;
|
|
620
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
621
|
+
providerId: string;
|
|
622
|
+
providerVersion: string;
|
|
623
|
+
}>;
|
|
624
|
+
publication: z.ZodObject<{
|
|
625
|
+
publicRepoVerifiedAt: z.ZodString;
|
|
626
|
+
rightsPolicyVersion: z.ZodString;
|
|
627
|
+
buildSmoke: z.ZodLiteral<"pass">;
|
|
628
|
+
imageSecretScan: z.ZodLiteral<"pass">;
|
|
629
|
+
sbomCid: z.ZodString;
|
|
630
|
+
}, "strict", z.ZodTypeAny, {
|
|
631
|
+
publicRepoVerifiedAt: string;
|
|
632
|
+
rightsPolicyVersion: string;
|
|
633
|
+
buildSmoke: "pass";
|
|
634
|
+
imageSecretScan: "pass";
|
|
635
|
+
sbomCid: string;
|
|
636
|
+
}, {
|
|
637
|
+
publicRepoVerifiedAt: string;
|
|
638
|
+
rightsPolicyVersion: string;
|
|
639
|
+
buildSmoke: "pass";
|
|
640
|
+
imageSecretScan: "pass";
|
|
641
|
+
sbomCid: string;
|
|
642
|
+
}>;
|
|
643
|
+
attestation: z.ZodObject<{
|
|
644
|
+
scheme: z.ZodLiteral<"eip191">;
|
|
645
|
+
algo: z.ZodLiteral<"secp256k1">;
|
|
646
|
+
environmentHash: z.ZodString;
|
|
647
|
+
operatorSafe: z.ZodString;
|
|
648
|
+
signer: z.ZodString;
|
|
649
|
+
signature: z.ZodString;
|
|
650
|
+
}, "strict", z.ZodTypeAny, {
|
|
651
|
+
signature: string;
|
|
652
|
+
scheme: "eip191";
|
|
653
|
+
algo: "secp256k1";
|
|
654
|
+
signer: string;
|
|
655
|
+
environmentHash: string;
|
|
656
|
+
operatorSafe: string;
|
|
657
|
+
}, {
|
|
658
|
+
signature: string;
|
|
659
|
+
scheme: "eip191";
|
|
660
|
+
algo: "secp256k1";
|
|
661
|
+
signer: string;
|
|
662
|
+
environmentHash: string;
|
|
663
|
+
operatorSafe: string;
|
|
664
|
+
}>;
|
|
665
|
+
}, "strict", z.ZodTypeAny, {
|
|
666
|
+
source: {
|
|
667
|
+
repo: string;
|
|
668
|
+
repoUrl: string;
|
|
669
|
+
baseCommit: string;
|
|
670
|
+
};
|
|
671
|
+
inputs: {
|
|
672
|
+
sha256: string;
|
|
673
|
+
inputRef: string;
|
|
674
|
+
rights: {
|
|
675
|
+
inputRef: string;
|
|
676
|
+
rightsRef: string;
|
|
677
|
+
basis: "spdx";
|
|
678
|
+
spdxId: string;
|
|
679
|
+
} | {
|
|
680
|
+
inputRef: string;
|
|
681
|
+
rightsRef: string;
|
|
682
|
+
basis: "authorization";
|
|
683
|
+
authorizationRef: string;
|
|
684
|
+
};
|
|
685
|
+
}[];
|
|
686
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
687
|
+
execution: {
|
|
688
|
+
image: {
|
|
689
|
+
reference: string;
|
|
690
|
+
digest: string;
|
|
691
|
+
};
|
|
692
|
+
environment: Record<string, string>;
|
|
693
|
+
platform: "linux/amd64";
|
|
694
|
+
workspace: "/testbed";
|
|
695
|
+
testCommands: {
|
|
696
|
+
args: string[];
|
|
697
|
+
bin: string;
|
|
698
|
+
cwd?: string | undefined;
|
|
699
|
+
environment?: Record<string, string> | undefined;
|
|
700
|
+
}[];
|
|
701
|
+
parser: {
|
|
702
|
+
id: string;
|
|
703
|
+
version: string;
|
|
704
|
+
digest: string;
|
|
705
|
+
bundleId: string;
|
|
706
|
+
};
|
|
707
|
+
timeoutSeconds: number;
|
|
708
|
+
};
|
|
709
|
+
build: {
|
|
710
|
+
recipeCid: string;
|
|
711
|
+
recipeHash: string;
|
|
712
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
713
|
+
providerId: string;
|
|
714
|
+
providerVersion: string;
|
|
715
|
+
};
|
|
716
|
+
publication: {
|
|
717
|
+
publicRepoVerifiedAt: string;
|
|
718
|
+
rightsPolicyVersion: string;
|
|
719
|
+
buildSmoke: "pass";
|
|
720
|
+
imageSecretScan: "pass";
|
|
721
|
+
sbomCid: string;
|
|
722
|
+
};
|
|
723
|
+
attestation: {
|
|
724
|
+
signature: string;
|
|
725
|
+
scheme: "eip191";
|
|
726
|
+
algo: "secp256k1";
|
|
727
|
+
signer: string;
|
|
728
|
+
environmentHash: string;
|
|
729
|
+
operatorSafe: string;
|
|
730
|
+
};
|
|
731
|
+
}, {
|
|
732
|
+
source: {
|
|
733
|
+
repo: string;
|
|
734
|
+
repoUrl: string;
|
|
735
|
+
baseCommit: string;
|
|
736
|
+
};
|
|
737
|
+
inputs: {
|
|
738
|
+
sha256: string;
|
|
739
|
+
inputRef: string;
|
|
740
|
+
rights: {
|
|
741
|
+
inputRef: string;
|
|
742
|
+
rightsRef: string;
|
|
743
|
+
basis: "spdx";
|
|
744
|
+
spdxId: string;
|
|
745
|
+
} | {
|
|
746
|
+
inputRef: string;
|
|
747
|
+
rightsRef: string;
|
|
748
|
+
basis: "authorization";
|
|
749
|
+
authorizationRef: string;
|
|
750
|
+
};
|
|
751
|
+
}[];
|
|
752
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
753
|
+
execution: {
|
|
754
|
+
image: {
|
|
755
|
+
reference: string;
|
|
756
|
+
digest: string;
|
|
757
|
+
};
|
|
758
|
+
environment: Record<string, string>;
|
|
759
|
+
platform: "linux/amd64";
|
|
760
|
+
workspace: "/testbed";
|
|
761
|
+
testCommands: {
|
|
762
|
+
args: string[];
|
|
763
|
+
bin: string;
|
|
764
|
+
cwd?: string | undefined;
|
|
765
|
+
environment?: Record<string, string> | undefined;
|
|
766
|
+
}[];
|
|
767
|
+
parser: {
|
|
768
|
+
id: string;
|
|
769
|
+
version: string;
|
|
770
|
+
digest: string;
|
|
771
|
+
bundleId: string;
|
|
772
|
+
};
|
|
773
|
+
timeoutSeconds: number;
|
|
774
|
+
};
|
|
775
|
+
build: {
|
|
776
|
+
recipeCid: string;
|
|
777
|
+
recipeHash: string;
|
|
778
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
779
|
+
providerId: string;
|
|
780
|
+
providerVersion: string;
|
|
781
|
+
};
|
|
782
|
+
publication: {
|
|
783
|
+
publicRepoVerifiedAt: string;
|
|
784
|
+
rightsPolicyVersion: string;
|
|
785
|
+
buildSmoke: "pass";
|
|
786
|
+
imageSecretScan: "pass";
|
|
787
|
+
sbomCid: string;
|
|
788
|
+
};
|
|
789
|
+
attestation: {
|
|
790
|
+
signature: string;
|
|
791
|
+
scheme: "eip191";
|
|
792
|
+
algo: "secp256k1";
|
|
793
|
+
signer: string;
|
|
794
|
+
environmentHash: string;
|
|
795
|
+
operatorSafe: string;
|
|
796
|
+
};
|
|
797
|
+
}>;
|
|
798
|
+
export type TaskEnvironmentSpecV1 = z.infer<typeof TaskEnvironmentSpecV1BaseSchema>;
|
|
799
|
+
/**
|
|
800
|
+
* The signed hash covers only immutable build/publication bindings. The
|
|
801
|
+
* verification timestamp is an observation, and the attestation would make a
|
|
802
|
+
* self-referential signing payload, so neither is included.
|
|
803
|
+
*/
|
|
804
|
+
export declare function taskEnvironmentHashPayloadV1(spec: TaskEnvironmentSpecV1): object;
|
|
805
|
+
export declare function hashTaskEnvironmentSpecV1(spec: TaskEnvironmentSpecV1): `sha256:${string}`;
|
|
806
|
+
/**
|
|
807
|
+
* Public task-environment parser. It binds the EIP-191 payload to the exact
|
|
808
|
+
* canonical immutable environment body before consumers may trust the spec.
|
|
809
|
+
*/
|
|
810
|
+
export declare const TaskEnvironmentSpecV1Schema: z.ZodEffects<z.ZodObject<{
|
|
811
|
+
schemaVersion: z.ZodLiteral<"jinn.task-environment.v1">;
|
|
812
|
+
source: z.ZodObject<{
|
|
813
|
+
repo: z.ZodString;
|
|
814
|
+
repoUrl: z.ZodString;
|
|
815
|
+
baseCommit: z.ZodString;
|
|
816
|
+
}, "strict", z.ZodTypeAny, {
|
|
817
|
+
repo: string;
|
|
818
|
+
repoUrl: string;
|
|
819
|
+
baseCommit: string;
|
|
820
|
+
}, {
|
|
821
|
+
repo: string;
|
|
822
|
+
repoUrl: string;
|
|
823
|
+
baseCommit: string;
|
|
824
|
+
}>;
|
|
825
|
+
inputs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
826
|
+
inputRef: z.ZodString;
|
|
827
|
+
sha256: z.ZodString;
|
|
828
|
+
rights: z.ZodUnion<[z.ZodObject<{
|
|
829
|
+
inputRef: z.ZodString;
|
|
830
|
+
rightsRef: z.ZodString;
|
|
831
|
+
basis: z.ZodLiteral<"spdx">;
|
|
832
|
+
spdxId: z.ZodString;
|
|
833
|
+
}, "strict", z.ZodTypeAny, {
|
|
834
|
+
inputRef: string;
|
|
835
|
+
rightsRef: string;
|
|
836
|
+
basis: "spdx";
|
|
837
|
+
spdxId: string;
|
|
838
|
+
}, {
|
|
839
|
+
inputRef: string;
|
|
840
|
+
rightsRef: string;
|
|
841
|
+
basis: "spdx";
|
|
842
|
+
spdxId: string;
|
|
843
|
+
}>, z.ZodObject<{
|
|
844
|
+
inputRef: z.ZodString;
|
|
845
|
+
rightsRef: z.ZodString;
|
|
846
|
+
basis: z.ZodLiteral<"authorization">;
|
|
847
|
+
authorizationRef: z.ZodString;
|
|
848
|
+
}, "strict", z.ZodTypeAny, {
|
|
849
|
+
inputRef: string;
|
|
850
|
+
rightsRef: string;
|
|
851
|
+
basis: "authorization";
|
|
852
|
+
authorizationRef: string;
|
|
853
|
+
}, {
|
|
854
|
+
inputRef: string;
|
|
855
|
+
rightsRef: string;
|
|
856
|
+
basis: "authorization";
|
|
857
|
+
authorizationRef: string;
|
|
858
|
+
}>]>;
|
|
859
|
+
}, "strict", z.ZodTypeAny, {
|
|
860
|
+
sha256: string;
|
|
861
|
+
inputRef: string;
|
|
862
|
+
rights: {
|
|
863
|
+
inputRef: string;
|
|
864
|
+
rightsRef: string;
|
|
865
|
+
basis: "spdx";
|
|
866
|
+
spdxId: string;
|
|
867
|
+
} | {
|
|
868
|
+
inputRef: string;
|
|
869
|
+
rightsRef: string;
|
|
870
|
+
basis: "authorization";
|
|
871
|
+
authorizationRef: string;
|
|
872
|
+
};
|
|
873
|
+
}, {
|
|
874
|
+
sha256: string;
|
|
875
|
+
inputRef: string;
|
|
876
|
+
rights: {
|
|
877
|
+
inputRef: string;
|
|
878
|
+
rightsRef: string;
|
|
879
|
+
basis: "spdx";
|
|
880
|
+
spdxId: string;
|
|
881
|
+
} | {
|
|
882
|
+
inputRef: string;
|
|
883
|
+
rightsRef: string;
|
|
884
|
+
basis: "authorization";
|
|
885
|
+
authorizationRef: string;
|
|
886
|
+
};
|
|
887
|
+
}>, {
|
|
888
|
+
sha256: string;
|
|
889
|
+
inputRef: string;
|
|
890
|
+
rights: {
|
|
891
|
+
inputRef: string;
|
|
892
|
+
rightsRef: string;
|
|
893
|
+
basis: "spdx";
|
|
894
|
+
spdxId: string;
|
|
895
|
+
} | {
|
|
896
|
+
inputRef: string;
|
|
897
|
+
rightsRef: string;
|
|
898
|
+
basis: "authorization";
|
|
899
|
+
authorizationRef: string;
|
|
900
|
+
};
|
|
901
|
+
}, {
|
|
902
|
+
sha256: string;
|
|
903
|
+
inputRef: string;
|
|
904
|
+
rights: {
|
|
905
|
+
inputRef: string;
|
|
906
|
+
rightsRef: string;
|
|
907
|
+
basis: "spdx";
|
|
908
|
+
spdxId: string;
|
|
909
|
+
} | {
|
|
910
|
+
inputRef: string;
|
|
911
|
+
rightsRef: string;
|
|
912
|
+
basis: "authorization";
|
|
913
|
+
authorizationRef: string;
|
|
914
|
+
};
|
|
915
|
+
}>, "many">;
|
|
916
|
+
execution: z.ZodObject<{
|
|
917
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
918
|
+
workspace: z.ZodLiteral<"/testbed">;
|
|
919
|
+
image: z.ZodEffects<z.ZodObject<{
|
|
920
|
+
reference: z.ZodString;
|
|
921
|
+
digest: z.ZodString;
|
|
922
|
+
}, "strict", z.ZodTypeAny, {
|
|
923
|
+
reference: string;
|
|
924
|
+
digest: string;
|
|
925
|
+
}, {
|
|
926
|
+
reference: string;
|
|
927
|
+
digest: string;
|
|
928
|
+
}>, {
|
|
929
|
+
reference: string;
|
|
930
|
+
digest: string;
|
|
931
|
+
}, {
|
|
932
|
+
reference: string;
|
|
933
|
+
digest: string;
|
|
934
|
+
}>;
|
|
935
|
+
testCommands: z.ZodArray<z.ZodObject<{
|
|
936
|
+
bin: z.ZodString;
|
|
937
|
+
args: z.ZodArray<z.ZodString, "many">;
|
|
938
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
939
|
+
environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
940
|
+
}, "strict", z.ZodTypeAny, {
|
|
941
|
+
args: string[];
|
|
942
|
+
bin: string;
|
|
943
|
+
cwd?: string | undefined;
|
|
944
|
+
environment?: Record<string, string> | undefined;
|
|
945
|
+
}, {
|
|
946
|
+
args: string[];
|
|
947
|
+
bin: string;
|
|
948
|
+
cwd?: string | undefined;
|
|
949
|
+
environment?: Record<string, string> | undefined;
|
|
950
|
+
}>, "many">;
|
|
951
|
+
parser: z.ZodObject<{
|
|
952
|
+
id: z.ZodString;
|
|
953
|
+
version: z.ZodString;
|
|
954
|
+
digest: z.ZodString;
|
|
955
|
+
bundleId: z.ZodString;
|
|
956
|
+
}, "strict", z.ZodTypeAny, {
|
|
957
|
+
id: string;
|
|
958
|
+
version: string;
|
|
959
|
+
digest: string;
|
|
960
|
+
bundleId: string;
|
|
961
|
+
}, {
|
|
962
|
+
id: string;
|
|
963
|
+
version: string;
|
|
964
|
+
digest: string;
|
|
965
|
+
bundleId: string;
|
|
966
|
+
}>;
|
|
967
|
+
timeoutSeconds: z.ZodNumber;
|
|
968
|
+
environment: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
969
|
+
}, "strict", z.ZodTypeAny, {
|
|
970
|
+
image: {
|
|
971
|
+
reference: string;
|
|
972
|
+
digest: string;
|
|
973
|
+
};
|
|
974
|
+
environment: Record<string, string>;
|
|
975
|
+
platform: "linux/amd64";
|
|
976
|
+
workspace: "/testbed";
|
|
977
|
+
testCommands: {
|
|
978
|
+
args: string[];
|
|
979
|
+
bin: string;
|
|
980
|
+
cwd?: string | undefined;
|
|
981
|
+
environment?: Record<string, string> | undefined;
|
|
982
|
+
}[];
|
|
983
|
+
parser: {
|
|
984
|
+
id: string;
|
|
985
|
+
version: string;
|
|
986
|
+
digest: string;
|
|
987
|
+
bundleId: string;
|
|
988
|
+
};
|
|
989
|
+
timeoutSeconds: number;
|
|
990
|
+
}, {
|
|
991
|
+
image: {
|
|
992
|
+
reference: string;
|
|
993
|
+
digest: string;
|
|
994
|
+
};
|
|
995
|
+
environment: Record<string, string>;
|
|
996
|
+
platform: "linux/amd64";
|
|
997
|
+
workspace: "/testbed";
|
|
998
|
+
testCommands: {
|
|
999
|
+
args: string[];
|
|
1000
|
+
bin: string;
|
|
1001
|
+
cwd?: string | undefined;
|
|
1002
|
+
environment?: Record<string, string> | undefined;
|
|
1003
|
+
}[];
|
|
1004
|
+
parser: {
|
|
1005
|
+
id: string;
|
|
1006
|
+
version: string;
|
|
1007
|
+
digest: string;
|
|
1008
|
+
bundleId: string;
|
|
1009
|
+
};
|
|
1010
|
+
timeoutSeconds: number;
|
|
1011
|
+
}>;
|
|
1012
|
+
build: z.ZodObject<{
|
|
1013
|
+
recipeCid: z.ZodString;
|
|
1014
|
+
recipeHash: z.ZodString;
|
|
1015
|
+
provider: z.ZodEnum<["explicit", "deterministic", "agentic"]>;
|
|
1016
|
+
providerId: z.ZodString;
|
|
1017
|
+
providerVersion: z.ZodString;
|
|
1018
|
+
}, "strict", z.ZodTypeAny, {
|
|
1019
|
+
recipeCid: string;
|
|
1020
|
+
recipeHash: string;
|
|
1021
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1022
|
+
providerId: string;
|
|
1023
|
+
providerVersion: string;
|
|
1024
|
+
}, {
|
|
1025
|
+
recipeCid: string;
|
|
1026
|
+
recipeHash: string;
|
|
1027
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1028
|
+
providerId: string;
|
|
1029
|
+
providerVersion: string;
|
|
1030
|
+
}>;
|
|
1031
|
+
publication: z.ZodObject<{
|
|
1032
|
+
publicRepoVerifiedAt: z.ZodString;
|
|
1033
|
+
rightsPolicyVersion: z.ZodString;
|
|
1034
|
+
buildSmoke: z.ZodLiteral<"pass">;
|
|
1035
|
+
imageSecretScan: z.ZodLiteral<"pass">;
|
|
1036
|
+
sbomCid: z.ZodString;
|
|
1037
|
+
}, "strict", z.ZodTypeAny, {
|
|
1038
|
+
publicRepoVerifiedAt: string;
|
|
1039
|
+
rightsPolicyVersion: string;
|
|
1040
|
+
buildSmoke: "pass";
|
|
1041
|
+
imageSecretScan: "pass";
|
|
1042
|
+
sbomCid: string;
|
|
1043
|
+
}, {
|
|
1044
|
+
publicRepoVerifiedAt: string;
|
|
1045
|
+
rightsPolicyVersion: string;
|
|
1046
|
+
buildSmoke: "pass";
|
|
1047
|
+
imageSecretScan: "pass";
|
|
1048
|
+
sbomCid: string;
|
|
1049
|
+
}>;
|
|
1050
|
+
attestation: z.ZodObject<{
|
|
1051
|
+
scheme: z.ZodLiteral<"eip191">;
|
|
1052
|
+
algo: z.ZodLiteral<"secp256k1">;
|
|
1053
|
+
environmentHash: z.ZodString;
|
|
1054
|
+
operatorSafe: z.ZodString;
|
|
1055
|
+
signer: z.ZodString;
|
|
1056
|
+
signature: z.ZodString;
|
|
1057
|
+
}, "strict", z.ZodTypeAny, {
|
|
1058
|
+
signature: string;
|
|
1059
|
+
scheme: "eip191";
|
|
1060
|
+
algo: "secp256k1";
|
|
1061
|
+
signer: string;
|
|
1062
|
+
environmentHash: string;
|
|
1063
|
+
operatorSafe: string;
|
|
1064
|
+
}, {
|
|
1065
|
+
signature: string;
|
|
1066
|
+
scheme: "eip191";
|
|
1067
|
+
algo: "secp256k1";
|
|
1068
|
+
signer: string;
|
|
1069
|
+
environmentHash: string;
|
|
1070
|
+
operatorSafe: string;
|
|
1071
|
+
}>;
|
|
1072
|
+
}, "strict", z.ZodTypeAny, {
|
|
1073
|
+
source: {
|
|
1074
|
+
repo: string;
|
|
1075
|
+
repoUrl: string;
|
|
1076
|
+
baseCommit: string;
|
|
1077
|
+
};
|
|
1078
|
+
inputs: {
|
|
1079
|
+
sha256: string;
|
|
1080
|
+
inputRef: string;
|
|
1081
|
+
rights: {
|
|
1082
|
+
inputRef: string;
|
|
1083
|
+
rightsRef: string;
|
|
1084
|
+
basis: "spdx";
|
|
1085
|
+
spdxId: string;
|
|
1086
|
+
} | {
|
|
1087
|
+
inputRef: string;
|
|
1088
|
+
rightsRef: string;
|
|
1089
|
+
basis: "authorization";
|
|
1090
|
+
authorizationRef: string;
|
|
1091
|
+
};
|
|
1092
|
+
}[];
|
|
1093
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
1094
|
+
execution: {
|
|
1095
|
+
image: {
|
|
1096
|
+
reference: string;
|
|
1097
|
+
digest: string;
|
|
1098
|
+
};
|
|
1099
|
+
environment: Record<string, string>;
|
|
1100
|
+
platform: "linux/amd64";
|
|
1101
|
+
workspace: "/testbed";
|
|
1102
|
+
testCommands: {
|
|
1103
|
+
args: string[];
|
|
1104
|
+
bin: string;
|
|
1105
|
+
cwd?: string | undefined;
|
|
1106
|
+
environment?: Record<string, string> | undefined;
|
|
1107
|
+
}[];
|
|
1108
|
+
parser: {
|
|
1109
|
+
id: string;
|
|
1110
|
+
version: string;
|
|
1111
|
+
digest: string;
|
|
1112
|
+
bundleId: string;
|
|
1113
|
+
};
|
|
1114
|
+
timeoutSeconds: number;
|
|
1115
|
+
};
|
|
1116
|
+
build: {
|
|
1117
|
+
recipeCid: string;
|
|
1118
|
+
recipeHash: string;
|
|
1119
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1120
|
+
providerId: string;
|
|
1121
|
+
providerVersion: string;
|
|
1122
|
+
};
|
|
1123
|
+
publication: {
|
|
1124
|
+
publicRepoVerifiedAt: string;
|
|
1125
|
+
rightsPolicyVersion: string;
|
|
1126
|
+
buildSmoke: "pass";
|
|
1127
|
+
imageSecretScan: "pass";
|
|
1128
|
+
sbomCid: string;
|
|
1129
|
+
};
|
|
1130
|
+
attestation: {
|
|
1131
|
+
signature: string;
|
|
1132
|
+
scheme: "eip191";
|
|
1133
|
+
algo: "secp256k1";
|
|
1134
|
+
signer: string;
|
|
1135
|
+
environmentHash: string;
|
|
1136
|
+
operatorSafe: string;
|
|
1137
|
+
};
|
|
1138
|
+
}, {
|
|
1139
|
+
source: {
|
|
1140
|
+
repo: string;
|
|
1141
|
+
repoUrl: string;
|
|
1142
|
+
baseCommit: string;
|
|
1143
|
+
};
|
|
1144
|
+
inputs: {
|
|
1145
|
+
sha256: string;
|
|
1146
|
+
inputRef: string;
|
|
1147
|
+
rights: {
|
|
1148
|
+
inputRef: string;
|
|
1149
|
+
rightsRef: string;
|
|
1150
|
+
basis: "spdx";
|
|
1151
|
+
spdxId: string;
|
|
1152
|
+
} | {
|
|
1153
|
+
inputRef: string;
|
|
1154
|
+
rightsRef: string;
|
|
1155
|
+
basis: "authorization";
|
|
1156
|
+
authorizationRef: string;
|
|
1157
|
+
};
|
|
1158
|
+
}[];
|
|
1159
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
1160
|
+
execution: {
|
|
1161
|
+
image: {
|
|
1162
|
+
reference: string;
|
|
1163
|
+
digest: string;
|
|
1164
|
+
};
|
|
1165
|
+
environment: Record<string, string>;
|
|
1166
|
+
platform: "linux/amd64";
|
|
1167
|
+
workspace: "/testbed";
|
|
1168
|
+
testCommands: {
|
|
1169
|
+
args: string[];
|
|
1170
|
+
bin: string;
|
|
1171
|
+
cwd?: string | undefined;
|
|
1172
|
+
environment?: Record<string, string> | undefined;
|
|
1173
|
+
}[];
|
|
1174
|
+
parser: {
|
|
1175
|
+
id: string;
|
|
1176
|
+
version: string;
|
|
1177
|
+
digest: string;
|
|
1178
|
+
bundleId: string;
|
|
1179
|
+
};
|
|
1180
|
+
timeoutSeconds: number;
|
|
1181
|
+
};
|
|
1182
|
+
build: {
|
|
1183
|
+
recipeCid: string;
|
|
1184
|
+
recipeHash: string;
|
|
1185
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1186
|
+
providerId: string;
|
|
1187
|
+
providerVersion: string;
|
|
1188
|
+
};
|
|
1189
|
+
publication: {
|
|
1190
|
+
publicRepoVerifiedAt: string;
|
|
1191
|
+
rightsPolicyVersion: string;
|
|
1192
|
+
buildSmoke: "pass";
|
|
1193
|
+
imageSecretScan: "pass";
|
|
1194
|
+
sbomCid: string;
|
|
1195
|
+
};
|
|
1196
|
+
attestation: {
|
|
1197
|
+
signature: string;
|
|
1198
|
+
scheme: "eip191";
|
|
1199
|
+
algo: "secp256k1";
|
|
1200
|
+
signer: string;
|
|
1201
|
+
environmentHash: string;
|
|
1202
|
+
operatorSafe: string;
|
|
1203
|
+
};
|
|
1204
|
+
}>, {
|
|
1205
|
+
source: {
|
|
1206
|
+
repo: string;
|
|
1207
|
+
repoUrl: string;
|
|
1208
|
+
baseCommit: string;
|
|
1209
|
+
};
|
|
1210
|
+
inputs: {
|
|
1211
|
+
sha256: string;
|
|
1212
|
+
inputRef: string;
|
|
1213
|
+
rights: {
|
|
1214
|
+
inputRef: string;
|
|
1215
|
+
rightsRef: string;
|
|
1216
|
+
basis: "spdx";
|
|
1217
|
+
spdxId: string;
|
|
1218
|
+
} | {
|
|
1219
|
+
inputRef: string;
|
|
1220
|
+
rightsRef: string;
|
|
1221
|
+
basis: "authorization";
|
|
1222
|
+
authorizationRef: string;
|
|
1223
|
+
};
|
|
1224
|
+
}[];
|
|
1225
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
1226
|
+
execution: {
|
|
1227
|
+
image: {
|
|
1228
|
+
reference: string;
|
|
1229
|
+
digest: string;
|
|
1230
|
+
};
|
|
1231
|
+
environment: Record<string, string>;
|
|
1232
|
+
platform: "linux/amd64";
|
|
1233
|
+
workspace: "/testbed";
|
|
1234
|
+
testCommands: {
|
|
1235
|
+
args: string[];
|
|
1236
|
+
bin: string;
|
|
1237
|
+
cwd?: string | undefined;
|
|
1238
|
+
environment?: Record<string, string> | undefined;
|
|
1239
|
+
}[];
|
|
1240
|
+
parser: {
|
|
1241
|
+
id: string;
|
|
1242
|
+
version: string;
|
|
1243
|
+
digest: string;
|
|
1244
|
+
bundleId: string;
|
|
1245
|
+
};
|
|
1246
|
+
timeoutSeconds: number;
|
|
1247
|
+
};
|
|
1248
|
+
build: {
|
|
1249
|
+
recipeCid: string;
|
|
1250
|
+
recipeHash: string;
|
|
1251
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1252
|
+
providerId: string;
|
|
1253
|
+
providerVersion: string;
|
|
1254
|
+
};
|
|
1255
|
+
publication: {
|
|
1256
|
+
publicRepoVerifiedAt: string;
|
|
1257
|
+
rightsPolicyVersion: string;
|
|
1258
|
+
buildSmoke: "pass";
|
|
1259
|
+
imageSecretScan: "pass";
|
|
1260
|
+
sbomCid: string;
|
|
1261
|
+
};
|
|
1262
|
+
attestation: {
|
|
1263
|
+
signature: string;
|
|
1264
|
+
scheme: "eip191";
|
|
1265
|
+
algo: "secp256k1";
|
|
1266
|
+
signer: string;
|
|
1267
|
+
environmentHash: string;
|
|
1268
|
+
operatorSafe: string;
|
|
1269
|
+
};
|
|
1270
|
+
}, {
|
|
1271
|
+
source: {
|
|
1272
|
+
repo: string;
|
|
1273
|
+
repoUrl: string;
|
|
1274
|
+
baseCommit: string;
|
|
1275
|
+
};
|
|
1276
|
+
inputs: {
|
|
1277
|
+
sha256: string;
|
|
1278
|
+
inputRef: string;
|
|
1279
|
+
rights: {
|
|
1280
|
+
inputRef: string;
|
|
1281
|
+
rightsRef: string;
|
|
1282
|
+
basis: "spdx";
|
|
1283
|
+
spdxId: string;
|
|
1284
|
+
} | {
|
|
1285
|
+
inputRef: string;
|
|
1286
|
+
rightsRef: string;
|
|
1287
|
+
basis: "authorization";
|
|
1288
|
+
authorizationRef: string;
|
|
1289
|
+
};
|
|
1290
|
+
}[];
|
|
1291
|
+
schemaVersion: "jinn.task-environment.v1";
|
|
1292
|
+
execution: {
|
|
1293
|
+
image: {
|
|
1294
|
+
reference: string;
|
|
1295
|
+
digest: string;
|
|
1296
|
+
};
|
|
1297
|
+
environment: Record<string, string>;
|
|
1298
|
+
platform: "linux/amd64";
|
|
1299
|
+
workspace: "/testbed";
|
|
1300
|
+
testCommands: {
|
|
1301
|
+
args: string[];
|
|
1302
|
+
bin: string;
|
|
1303
|
+
cwd?: string | undefined;
|
|
1304
|
+
environment?: Record<string, string> | undefined;
|
|
1305
|
+
}[];
|
|
1306
|
+
parser: {
|
|
1307
|
+
id: string;
|
|
1308
|
+
version: string;
|
|
1309
|
+
digest: string;
|
|
1310
|
+
bundleId: string;
|
|
1311
|
+
};
|
|
1312
|
+
timeoutSeconds: number;
|
|
1313
|
+
};
|
|
1314
|
+
build: {
|
|
1315
|
+
recipeCid: string;
|
|
1316
|
+
recipeHash: string;
|
|
1317
|
+
provider: "explicit" | "deterministic" | "agentic";
|
|
1318
|
+
providerId: string;
|
|
1319
|
+
providerVersion: string;
|
|
1320
|
+
};
|
|
1321
|
+
publication: {
|
|
1322
|
+
publicRepoVerifiedAt: string;
|
|
1323
|
+
rightsPolicyVersion: string;
|
|
1324
|
+
buildSmoke: "pass";
|
|
1325
|
+
imageSecretScan: "pass";
|
|
1326
|
+
sbomCid: string;
|
|
1327
|
+
};
|
|
1328
|
+
attestation: {
|
|
1329
|
+
signature: string;
|
|
1330
|
+
scheme: "eip191";
|
|
1331
|
+
algo: "secp256k1";
|
|
1332
|
+
signer: string;
|
|
1333
|
+
environmentHash: string;
|
|
1334
|
+
operatorSafe: string;
|
|
1335
|
+
};
|
|
1336
|
+
}>;
|
|
1337
|
+
export declare function parseTaskEnvironmentSpecV1(input: unknown): TaskEnvironmentSpecV1;
|
|
1338
|
+
export {};
|