@oscharko-dev/keiko 0.3.16 → 0.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +1 -1
- package/dist/ui/static/__next._full.txt +1 -1
- package/dist/ui/static/__next._head.txt +1 -1
- package/dist/ui/static/__next._index.txt +1 -1
- package/dist/ui/static/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found/__next._full.txt +1 -1
- package/dist/ui/static/_not-found/__next._head.txt +1 -1
- package/dist/ui/static/_not-found/__next._index.txt +1 -1
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/ui/static/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._full.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._head.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._index.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.txt +1 -1
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +1 -1
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +1 -1
- package/dist/ui/static/launch/__next._full.txt +1 -1
- package/dist/ui/static/launch/__next._head.txt +1 -1
- package/dist/ui/static/launch/__next._index.txt +1 -1
- package/dist/ui/static/launch/__next._tree.txt +1 -1
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +1 -1
- package/dist/ui/static/launch/__next.launch.txt +1 -1
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +1 -1
- package/dist/ui/static/local-knowledge/__next._full.txt +1 -1
- package/dist/ui/static/local-knowledge/__next._head.txt +1 -1
- package/dist/ui/static/local-knowledge/__next._index.txt +1 -1
- package/dist/ui/static/local-knowledge/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +1 -1
- package/dist/ui/static/local-knowledge/__next.local-knowledge.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next._head.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next._index.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +1 -1
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.js +283 -16
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.d.ts +71 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.js +420 -11
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +23 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +41 -7
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +289 -13
- package/node_modules/@oscharko-dev/keiko-cli/package.json +13 -13
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +6 -6
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.js +26 -6
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.js +112 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/types.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +25 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpPort.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/httpPort.js +24 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/sessionChannel.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEventHub.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +19 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +23 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +97 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +8 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-entailment-stage.js +7 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conflict-advisory.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-conflict-advisory.js +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-consolidation-handlers.js +56 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-handlers.js +80 -29
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-maintenance-handlers.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-maintenance-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-maintenance-handlers.js +18 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-salience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-salience.js +18 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/process-log-sink.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/process-log-sink.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/process-log-sink.js +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.js +10 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/sink.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/sink.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/sink.js +98 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +16 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-catalog.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-catalog.js +17 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.js +68 -13
- package/node_modules/@oscharko-dev/keiko-server/package.json +21 -21
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +26 -25
- package/release-impact.catalog.json +69 -12
- package/vendor/oscharko-dev-keiko-cli-0.3.17.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-0.3.16.tgz → oscharko-dev-keiko-connectors-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-contracts-0.3.16.tgz → oscharko-dev-keiko-contracts-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-0.3.16.tgz → oscharko-dev-keiko-evaluations-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-0.3.16.tgz → oscharko-dev-keiko-evidence-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-git-0.3.16.tgz → oscharko-dev-keiko-git-0.3.17.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-harness-0.3.17.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-0.3.16.tgz → oscharko-dev-keiko-local-knowledge-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-0.3.16.tgz → oscharko-dev-keiko-memory-capture-0.3.17.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-0.3.17.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-0.3.16.tgz → oscharko-dev-keiko-memory-governance-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-0.3.16.tgz → oscharko-dev-keiko-memory-retrieval-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-0.3.16.tgz → oscharko-dev-keiko-memory-vault-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-model-gateway-0.3.16.tgz → oscharko-dev-keiko-model-gateway-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-0.3.16.tgz → oscharko-dev-keiko-quality-intelligence-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-0.3.16.tgz → oscharko-dev-keiko-sandbox-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-0.3.16.tgz → oscharko-dev-keiko-sdk-0.3.17.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-0.3.17.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-0.3.17.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tools-0.3.16.tgz → oscharko-dev-keiko-tools-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-0.3.16.tgz → oscharko-dev-keiko-verification-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-0.3.16.tgz → oscharko-dev-keiko-workflows-0.3.17.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-0.3.16.tgz → oscharko-dev-keiko-workspace-0.3.17.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-cli-0.3.16.tgz +0 -0
- package/vendor/oscharko-dev-keiko-harness-0.3.16.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-0.3.16.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-0.3.16.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-0.3.16.tgz +0 -0
- /package/dist/ui/static/_next/static/{nV-Flxo4itfIzasbhujy9 → C3-P-HHUm15MLLjtORoPG}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{nV-Flxo4itfIzasbhujy9 → C3-P-HHUm15MLLjtORoPG}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{nV-Flxo4itfIzasbhujy9 → C3-P-HHUm15MLLjtORoPG}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" data-theme="dark"><head><meta charSet="utf-8"/><link rel="preconnect" href="/" crossorigin=""/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" crossorigin="anonymous" type="font/woff2"/><link rel="preload" as="image" href="/assets/keiko-logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/3m3iq9-8cj9md.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/03n--zwrco6xf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0bl1mme-qzrda.js"/><script src="/_next/static/chunks/0pokgm9i-0aci.js" async=""></script><script src="/_next/static/chunks/0wm2mowlft-21.js" async=""></script><script src="/_next/static/chunks/turbopack-0ew-e2vnq_phu.js" async=""></script><script src="/_next/static/chunks/2tic-7414nl3n.js" async=""></script><script src="/_next/static/chunks/400spz4roxxtb.js" async=""></script><script src="/_next/static/chunks/1fdowulgpx-tu.js" async=""></script><script src="/_next/static/chunks/2xi5lcexfddf9.js" async=""></script><script src="/_next/static/chunks/1wbjjizxxtm91.js" async=""></script><script src="/_next/static/chunks/2uu6q4bct_8uw.js" async=""></script><script src="/_next/static/chunks/1gg0sjnr8ce0_.js" async=""></script><script src="/_next/static/chunks/1isat9t7mn8mx.js" async=""></script><script src="/_next/static/chunks/0umcj95dn7ptb.js" async=""></script><script src="/_next/static/chunks/3b2-z8pj0i91u.js" async=""></script><script src="/_next/static/chunks/3ba_mrp8s5-2v.js" async=""></script><script src="/_next/static/chunks/0loqi-w3in9hh.js" async=""></script><script src="/_next/static/chunks/123hx5vnwghyp.js" async=""></script><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko | Ex experientia disco</title><meta name="description" content="Keiko — a governed agentic workspace for knowledge work."/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("keiko.theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><script>try{var l=null;try{l=localStorage.getItem("keiko.locale")}catch(e){}if(l===null&&typeof navigator==="object")l=navigator.language;l=String(l||"en").toLowerCase().replace("_","-");l=l==="de"||l.indexOf("de-")===0?"de":"en";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}</script><script>try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}</script><div class="app" aria-hidden="true"><div class="app-boot"><img class="app-boot-logo" src="/assets/keiko-logo.svg" alt=""/></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0bl1mme-qzrda.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[81186,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\n4:I[86677,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\na:I[34152,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"style\"]\n:HC[\"/\",\"\"]\n:HL[\"/_next/static/chunks/03n--zwrco6xf.css\",\"style\"]\n:HL[\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"font\",{\"crossOrigin\":\"anonymous\",\"type\":\"font/woff2\"}]\n2:T525,try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;var b=document.querySelector(\".app[aria-hidden='true'] .app-boot\");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n\u003c0)n=0;if(n\u003c2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute(\"aria-hidden\");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf(\"de\")==0;var c=document.createElement(\"div\");c.className=\"lk-alert\";c.setAttribute(\"role\",\"alert\");c.setAttribute(\"aria-atomic\",\"true\");var m=document.createElement(\"p\");m.className=\"lk-empty-title\";m.textContent=d?\"Keiko konnte den lokalen Dienst nicht erreichen.\":\"Keiko could not reach the local service.\";var q=document.createElement(\"p\");q.className=\"lk-empty-body\";q.textContent=d?\"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.\":\"Reload Keiko once the service is available again.\";var r=document.createElement(\"button\");r.type=\"button\";r.className=\"lk-alert-retry\";r.textContent=d?\"Erneut laden\":\"Reload Keiko\";r.addEventListener(\"click\",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"local-knowledge\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"local-knowledge\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2tic-7414nl3n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/400spz4roxxtb.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"as\":\"font\",\"type\":\"font/woff2\",\"crossOrigin\":\"anonymous\"}]}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"keiko.theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var l=null;try{l=localStorage.getItem(\\\"keiko.locale\\\")}catch(e){}if(l===null\u0026\u0026typeof navigator===\\\"object\\\")l=navigator.language;l=String(l||\\\"en\\\").toLowerCase().replace(\\\"_\\\",\\\"-\\\");l=l===\\\"de\\\"||l.indexOf(\\\"de-\\\")===0?\\\"de\\\":\\\"en\\\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"$2\"}}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":\"$L5\"}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]]}],{\"children\":[\"$L6\",{\"children\":[\"$L7\",{},null,false,null]},null,false,\"$@8\"]},null,false,null],\"$L9\",false]],\"m\":\"$undefined\",\"G\":[\"$a\",[\"$Lb\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"nV-Flxo4itfIzasbhujy9\"}\n"])</script><script>self.__next_f.push([1,"c:I[84008,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ClientPageRoot\"]\nd:I[89199,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\",\"/_next/static/chunks/1fdowulgpx-tu.js\",\"/_next/static/chunks/2xi5lcexfddf9.js\",\"/_next/static/chunks/1wbjjizxxtm91.js\",\"/_next/static/chunks/2uu6q4bct_8uw.js\",\"/_next/static/chunks/1gg0sjnr8ce0_.js\",\"/_next/static/chunks/1isat9t7mn8mx.js\",\"/_next/static/chunks/0umcj95dn7ptb.js\",\"/_next/static/chunks/3b2-z8pj0i91u.js\",\"/_next/static/chunks/3ba_mrp8s5-2v.js\",\"/_next/static/chunks/0loqi-w3in9hh.js\",\"/_next/static/chunks/123hx5vnwghyp.js\"],\"KeikoDesktop\"]\n10:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"OutletBoundary\"]\n11:\"$Sreact.suspense\"\n14:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ViewportBoundary\"]\n16:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"MetadataBoundary\"]\n5:[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]\n6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",null,{\"Component\":\"$d\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@e\",\"$@f\"]}}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/03n--zwrco6xf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/1fdowulgpx-tu.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/2xi5lcexfddf9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/1wbjjizxxtm91.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/2uu6q4bct_8uw.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/1gg0sjnr8ce0_.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/_next/static/chunks/1isat9t7mn8mx.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/_next/static/chunks/0umcj95dn7ptb.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/_next/static/chunks/3b2-z8pj0i91u.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/_next/static/chunks/3ba_mrp8s5-2v.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-9\",{\"src\":\"/_next/static/chunks/0loqi-w3in9hh.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-10\",{\"src\":\"/_next/static/chunks/123hx5vnwghyp.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@12\"}]}]]}]\n"])</script><script>self.__next_f.push([1,"13:[]\n8:\"$W13\"\n9:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L14\",null,{\"children\":\"$L15\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L16\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}]}],null]}]\nb:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"e:{}\nf:\"$7:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"15:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4EBA87\"}],[\"$\",\"meta\",\"3\",{\"name\":\"color-scheme\",\"content\":\"dark light\"}]]\n"])</script><script>self.__next_f.push([1,"18:I[25083,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"IconMark\"]\n12:null\n17:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko | Ex experientia disco\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Keiko — a governed agentic workspace for knowledge work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$L18\",\"5\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en" data-theme="dark"><head><meta charSet="utf-8"/><link rel="preconnect" href="/" crossorigin=""/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" crossorigin="anonymous" type="font/woff2"/><link rel="preload" as="image" href="/assets/keiko-logo.svg"/><link rel="stylesheet" href="/_next/static/chunks/3m3iq9-8cj9md.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/03n--zwrco6xf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0bl1mme-qzrda.js"/><script src="/_next/static/chunks/0pokgm9i-0aci.js" async=""></script><script src="/_next/static/chunks/0wm2mowlft-21.js" async=""></script><script src="/_next/static/chunks/turbopack-0ew-e2vnq_phu.js" async=""></script><script src="/_next/static/chunks/2tic-7414nl3n.js" async=""></script><script src="/_next/static/chunks/400spz4roxxtb.js" async=""></script><script src="/_next/static/chunks/1fdowulgpx-tu.js" async=""></script><script src="/_next/static/chunks/2xi5lcexfddf9.js" async=""></script><script src="/_next/static/chunks/1wbjjizxxtm91.js" async=""></script><script src="/_next/static/chunks/2uu6q4bct_8uw.js" async=""></script><script src="/_next/static/chunks/1gg0sjnr8ce0_.js" async=""></script><script src="/_next/static/chunks/1isat9t7mn8mx.js" async=""></script><script src="/_next/static/chunks/0umcj95dn7ptb.js" async=""></script><script src="/_next/static/chunks/3b2-z8pj0i91u.js" async=""></script><script src="/_next/static/chunks/3ba_mrp8s5-2v.js" async=""></script><script src="/_next/static/chunks/0loqi-w3in9hh.js" async=""></script><script src="/_next/static/chunks/123hx5vnwghyp.js" async=""></script><link rel="preload" href="/fonts/jetbrains-mono-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin="anonymous"/><meta name="theme-color" content="#4EBA87"/><meta name="color-scheme" content="dark light"/><title>Keiko | Ex experientia disco</title><meta name="description" content="Keiko — a governed agentic workspace for knowledge work."/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>try{var t=localStorage.getItem("keiko.theme");if(t==="light"||t==="dark")document.documentElement.dataset.theme=t}catch(e){}</script><script>try{var l=null;try{l=localStorage.getItem("keiko.locale")}catch(e){}if(l===null&&typeof navigator==="object")l=navigator.language;l=String(l||"en").toLowerCase().replace("_","-");l=l==="de"||l.indexOf("de-")===0?"de":"en";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}</script><script>try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}</script><div class="app" aria-hidden="true"><div class="app-boot"><img class="app-boot-logo" src="/assets/keiko-logo.svg" alt=""/></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0bl1mme-qzrda.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n3:I[81186,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\n4:I[86677,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\"]\na:I[34152,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"style\"]\n:HC[\"/\",\"\"]\n:HL[\"/_next/static/chunks/03n--zwrco6xf.css\",\"style\"]\n:HL[\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"font\",{\"crossOrigin\":\"anonymous\",\"type\":\"font/woff2\"}]\n2:T525,try{var k=\"keiko.app-boot-recovery-reload-count\";setTimeout(function(){try{if(document.querySelector(\"main.workspace\"))return;var b=document.querySelector(\".app[aria-hidden='true'] .app-boot\");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||\"0\",10);if(!isFinite(n)||n\u003c0)n=0;if(n\u003c2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute(\"aria-hidden\");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf(\"de\")==0;var c=document.createElement(\"div\");c.className=\"lk-alert\";c.setAttribute(\"role\",\"alert\");c.setAttribute(\"aria-atomic\",\"true\");var m=document.createElement(\"p\");m.className=\"lk-empty-title\";m.textContent=d?\"Keiko konnte den lokalen Dienst nicht erreichen.\":\"Keiko could not reach the local service.\";var q=document.createElement(\"p\");q.className=\"lk-empty-body\";q.textContent=d?\"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.\":\"Reload Keiko once the service is available again.\";var r=document.createElement(\"button\");r.type=\"button\";r.className=\"lk-alert-retry\";r.textContent=d?\"Erneut laden\":\"Reload Keiko\";r.addEventListener(\"click\",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"local-knowledge\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"local-knowledge\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2tic-7414nl3n.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/400spz4roxxtb.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"/fonts/jetbrains-mono-latin-wght-normal.woff2\",\"as\":\"font\",\"type\":\"font/woff2\",\"crossOrigin\":\"anonymous\"}]}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"keiko.theme\\\");if(t===\\\"light\\\"||t===\\\"dark\\\")document.documentElement.dataset.theme=t}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var l=null;try{l=localStorage.getItem(\\\"keiko.locale\\\")}catch(e){}if(l===null\u0026\u0026typeof navigator===\\\"object\\\")l=navigator.language;l=String(l||\\\"en\\\").toLowerCase().replace(\\\"_\\\",\\\"-\\\");l=l===\\\"de\\\"||l.indexOf(\\\"de-\\\")===0?\\\"de\\\":\\\"en\\\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"$2\"}}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":\"$L5\"}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]]}],{\"children\":[\"$L6\",{\"children\":[\"$L7\",{},null,false,null]},null,false,\"$@8\"]},null,false,null],\"$L9\",false]],\"m\":\"$undefined\",\"G\":[\"$a\",[\"$Lb\"]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"C3-P-HHUm15MLLjtORoPG\"}\n"])</script><script>self.__next_f.push([1,"c:I[84008,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ClientPageRoot\"]\nd:I[89199,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\",\"/_next/static/chunks/1fdowulgpx-tu.js\",\"/_next/static/chunks/2xi5lcexfddf9.js\",\"/_next/static/chunks/1wbjjizxxtm91.js\",\"/_next/static/chunks/2uu6q4bct_8uw.js\",\"/_next/static/chunks/1gg0sjnr8ce0_.js\",\"/_next/static/chunks/1isat9t7mn8mx.js\",\"/_next/static/chunks/0umcj95dn7ptb.js\",\"/_next/static/chunks/3b2-z8pj0i91u.js\",\"/_next/static/chunks/3ba_mrp8s5-2v.js\",\"/_next/static/chunks/0loqi-w3in9hh.js\",\"/_next/static/chunks/123hx5vnwghyp.js\"],\"KeikoDesktop\"]\n10:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"OutletBoundary\"]\n11:\"$Sreact.suspense\"\n14:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"ViewportBoundary\"]\n16:I[48821,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"MetadataBoundary\"]\n5:[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]\n6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",null,{\"Component\":\"$d\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@e\",\"$@f\"]}}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/03n--zwrco6xf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/1fdowulgpx-tu.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/2xi5lcexfddf9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/1wbjjizxxtm91.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/2uu6q4bct_8uw.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/_next/static/chunks/1gg0sjnr8ce0_.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/_next/static/chunks/1isat9t7mn8mx.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/_next/static/chunks/0umcj95dn7ptb.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/_next/static/chunks/3b2-z8pj0i91u.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/_next/static/chunks/3ba_mrp8s5-2v.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-9\",{\"src\":\"/_next/static/chunks/0loqi-w3in9hh.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-10\",{\"src\":\"/_next/static/chunks/123hx5vnwghyp.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@12\"}]}]]}]\n"])</script><script>self.__next_f.push([1,"13:[]\n8:\"$W13\"\n9:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L14\",null,{\"children\":\"$L15\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L16\",null,{\"children\":[\"$\",\"$11\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L17\"}]}]}],null]}]\nb:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/3m3iq9-8cj9md.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"e:{}\nf:\"$7:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"15:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4EBA87\"}],[\"$\",\"meta\",\"3\",{\"name\":\"color-scheme\",\"content\":\"dark light\"}]]\n"])</script><script>self.__next_f.push([1,"18:I[25083,[\"/_next/static/chunks/2tic-7414nl3n.js\",\"/_next/static/chunks/400spz4roxxtb.js\"],\"IconMark\"]\n12:null\n17:[[\"$\",\"title\",\"0\",{\"children\":\"Keiko | Ex experientia disco\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Keiko — a governed agentic workspace for knowledge work.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"4\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$L18\",\"5\",{}]]\n"])</script></body></html>
|
|
@@ -6,7 +6,7 @@ a:I[34152,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4
|
|
|
6
6
|
:HC["/",""]
|
|
7
7
|
:HL["/_next/static/chunks/03n--zwrco6xf.css","style"]
|
|
8
8
|
:HL["/fonts/jetbrains-mono-latin-wght-normal.woff2","font",{"crossOrigin":"anonymous","type":"font/woff2"}]
|
|
9
|
-
2:T525,try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}0:{"P":null,"c":["","local-knowledge"],"q":"","i":false,"f":[[["",{"children":["local-knowledge",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":"$L5"}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":["$L6",{"children":["$L7",{},null,false,null]},null,false,"$@8"]},null,false,null],"$L9",false]],"m":"$undefined","G":["$a",["$Lb"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"
|
|
9
|
+
2:T525,try{var k="keiko.app-boot-recovery-reload-count";setTimeout(function(){try{if(document.querySelector("main.workspace"))return;var b=document.querySelector(".app[aria-hidden='true'] .app-boot");if(!b)return;var n=parseInt(sessionStorage.getItem(k)||"0",10);if(!isFinite(n)||n<0)n=0;if(n<2){sessionStorage.setItem(k,String(n+1));location.reload();return}var a=b.parentElement;if(!a)return;a.removeAttribute("aria-hidden");while(b.firstChild)b.removeChild(b.firstChild);var d=document.documentElement.lang.indexOf("de")==0;var c=document.createElement("div");c.className="lk-alert";c.setAttribute("role","alert");c.setAttribute("aria-atomic","true");var m=document.createElement("p");m.className="lk-empty-title";m.textContent=d?"Keiko konnte den lokalen Dienst nicht erreichen.":"Keiko could not reach the local service.";var q=document.createElement("p");q.className="lk-empty-body";q.textContent=d?"Bitte laden Sie Keiko erneut, sobald der Dienst wieder verfügbar ist.":"Reload Keiko once the service is available again.";var r=document.createElement("button");r.type="button";r.className="lk-alert-retry";r.textContent=d?"Erneut laden":"Reload Keiko";r.addEventListener("click",function(){location.reload()});c.appendChild(m);c.appendChild(q);c.appendChild(r);b.appendChild(c);r.focus()}catch(e){}},8000)}catch(e){}0:{"P":null,"c":["","local-knowledge"],"q":"","i":false,"f":[[["",{"children":["local-knowledge",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/3m3iq9-8cj9md.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2tic-7414nl3n.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/400spz4roxxtb.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","link",null,{"rel":"preload","href":"/fonts/jetbrains-mono-latin-wght-normal.woff2","as":"font","type":"font/woff2","crossOrigin":"anonymous"}]}],["$","body",null,{"children":[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var t=localStorage.getItem(\"keiko.theme\");if(t===\"light\"||t===\"dark\")document.documentElement.dataset.theme=t}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"try{var l=null;try{l=localStorage.getItem(\"keiko.locale\")}catch(e){}if(l===null&&typeof navigator===\"object\")l=navigator.language;l=String(l||\"en\").toLowerCase().replace(\"_\",\"-\");l=l===\"de\"||l.indexOf(\"de-\")===0?\"de\":\"en\";document.documentElement.lang=l;document.documentElement.dataset.locale=l}catch(e){}"}}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2"}}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":"$L5"}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]]}],{"children":["$L6",{"children":["$L7",{},null,false,null]},null,false,"$@8"]},null,false,null],"$L9",false]],"m":"$undefined","G":["$a",["$Lb"]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"C3-P-HHUm15MLLjtORoPG"}
|
|
10
10
|
c:I[84008,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"ClientPageRoot"]
|
|
11
11
|
d:I[89199,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js","/_next/static/chunks/1fdowulgpx-tu.js","/_next/static/chunks/2xi5lcexfddf9.js","/_next/static/chunks/1wbjjizxxtm91.js","/_next/static/chunks/2uu6q4bct_8uw.js","/_next/static/chunks/1gg0sjnr8ce0_.js","/_next/static/chunks/1isat9t7mn8mx.js","/_next/static/chunks/0umcj95dn7ptb.js","/_next/static/chunks/3b2-z8pj0i91u.js","/_next/static/chunks/3ba_mrp8s5-2v.js","/_next/static/chunks/0loqi-w3in9hh.js","/_next/static/chunks/123hx5vnwghyp.js"],"KeikoDesktop"]
|
|
12
12
|
10:I[48821,["/_next/static/chunks/2tic-7414nl3n.js","/_next/static/chunks/400spz4roxxtb.js"],"OutletBoundary"]
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import type { EnvSource } from "@oscharko-dev/keiko-model-gateway";
|
|
2
2
|
import type { ModelPort } from "@oscharko-dev/keiko-harness";
|
|
3
|
+
import type { EvidenceStore } from "@oscharko-dev/keiko-evidence";
|
|
4
|
+
import type { BugReportInput } from "@oscharko-dev/keiko-workflows";
|
|
3
5
|
import type { CliIo } from "./runner.js";
|
|
6
|
+
import type { LogTimeline } from "./support-analyze.js";
|
|
4
7
|
export interface InvestigateDeps {
|
|
5
8
|
readonly model?: ModelPort | undefined;
|
|
6
9
|
readonly readFile?: ((path: string) => string) | undefined;
|
|
10
|
+
readonly store?: EvidenceStore | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare function timelineToBugReportInput(timeline: LogTimeline): BugReportInput;
|
|
13
|
+
export declare class InvalidTimelineFileError extends Error {
|
|
14
|
+
constructor(reason: string);
|
|
7
15
|
}
|
|
8
16
|
export declare function runInvestigateCli(args: readonly string[], io: CliIo, env?: EnvSource, deps?: InvestigateDeps): Promise<number>;
|
|
9
17
|
//# sourceMappingURL=investigate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"investigate.d.ts","sourceRoot":"","sources":["../src/investigate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"investigate.d.ts","sourceRoot":"","sources":["../src/investigate.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAGV,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAUvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AA8B3E,MAAM,WAAW,eAAe;IAE9B,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAEvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IAG3D,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAC5C;AA4KD,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,WAAW,GAAG,cAAc,CAa9E;AA6CD,qBAAa,wBAAyB,SAAQ,KAAK;IACjD,YAAY,MAAM,EAAE,MAAM,EAGzB;CACF;AA2YD,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,EAAE,EAAE,KAAK,EACT,GAAG,GAAE,SAAc,EACnB,IAAI,GAAE,eAAoB,GACzB,OAAO,CAAC,MAAM,CAAC,CAiCjB"}
|
|
@@ -7,19 +7,45 @@
|
|
|
7
7
|
// from config (loadGatewayConfigFromFile); tests inject deps.model directly so no live gateway is needed.
|
|
8
8
|
// Exit 0 on fix-applied/fix-proposed/investigation-only, 1 on
|
|
9
9
|
// rejected/cancelled/failed/runtime, 2 on usage. Mirrors runGenTestsCli's structure.
|
|
10
|
+
//
|
|
11
|
+
// Wave 6 closeout (epic #3233, w6-investigate-from-timeline):
|
|
12
|
+
// - `--from-timeline PATH` reads a `LogTimeline` JSON file (the shape `keiko support analyze
|
|
13
|
+
// --json --correlation-id ID` emits — see `./support-analyze.js`) and, via
|
|
14
|
+
// `timelineToBugReportInput`, seeds the SAME BugReportInput shape --stack-file already accepts
|
|
15
|
+
// from reconstructed log evidence: `frames` -> a synthesized "at <frame>" stackTrace (one frame
|
|
16
|
+
// per line, matching `failure-parse.ts`'s `peelLocation` so the workflow's own failureFrames
|
|
17
|
+
// reference the identical file:line pairs), `errorKinds`/observed `op`s -> `description`, frame
|
|
18
|
+
// file paths -> `targetFiles`. The file is untrusted input (a trust boundary — AGENTS.md §7), so
|
|
19
|
+
// its shape is validated before use; a malformed file fails closed via `InvalidTimelineFileError`.
|
|
20
|
+
// - g23: the UI/BFF bug-investigation path already persists evidence (keiko-server's
|
|
21
|
+
// `evidence.ts`); this CLI path did not. `runInvestigateCli` now threads
|
|
22
|
+
// `persistWorkflowEvidence` (mirroring `runAgentCli`'s `writeEvidence`) on by default, with the
|
|
23
|
+
// same `--no-evidence` opt-out `keiko run` has. The evidence report is written to the store but
|
|
24
|
+
// — unlike `keiko run` — never echoed to stdout, so `--json`'s single-JSON-object contract stays
|
|
25
|
+
// intact; a write failure still fails the command closed (exit 1) before the report is printed.
|
|
10
26
|
import { loadGatewayConfigFromFile } from "./gateway-config.js";
|
|
11
27
|
// GEN-PERF-CLI-001 — heavy graphs load at dispatch; module scope stays type-only.
|
|
12
|
-
import { loadHarness, loadModelGateway, loadWorkflows, loadWorkspaceModule, } from "./lazy-modules.js";
|
|
28
|
+
import { loadEvidence, loadHarness, loadModelGateway, loadWorkflows, loadWorkspaceModule, } from "./lazy-modules.js";
|
|
13
29
|
const USAGE = `Usage:
|
|
14
30
|
keiko investigate [--description TEXT] [--output TEXT | --output-file PATH]
|
|
15
31
|
[--stack TEXT | --stack-file PATH] [--file PATH[,PATH]]
|
|
32
|
+
[--from-timeline PATH]
|
|
16
33
|
[--apply] [--model MODEL_ID] [--config PATH] [--json] [--dir-root PATH]
|
|
34
|
+
[--no-evidence] [--evidence-dir PATH]
|
|
17
35
|
|
|
18
36
|
Investigates a bounded bug report and proposes a root-cause hypothesis with a
|
|
19
37
|
minimal fix and a regression test, separating verified facts from model
|
|
20
38
|
hypotheses. At least one evidence source is required (--description, --output[-file],
|
|
21
|
-
--stack[-file], or --
|
|
39
|
+
--stack[-file], --file, or --from-timeline). Dry-run by default (writes nothing); pass --apply to
|
|
22
40
|
write the fix and run verification through the safe tool + verification layers.
|
|
41
|
+
|
|
42
|
+
--from-timeline PATH Seed the report from a LogTimeline JSON file (the output of
|
|
43
|
+
keiko support analyze --json --correlation-id ID). Combines with
|
|
44
|
+
--description/--output[-file]/--stack[-file]/--file, which take
|
|
45
|
+
precedence over the timeline-derived value for the same field.
|
|
46
|
+
--no-evidence Do not write an evidence manifest (written by default, matching
|
|
47
|
+
keiko run).
|
|
48
|
+
--evidence-dir PATH Write evidence under PATH (default $KEIKO_EVIDENCE_DIR or ./.keiko/evidence).
|
|
23
49
|
`;
|
|
24
50
|
// Returns the value of a `--flag value` pair, undefined if absent, or null if present without a
|
|
25
51
|
// value (a usage error) — identical contract to runGenTestsCli's flagValue.
|
|
@@ -38,9 +64,11 @@ const VALUE_FLAGS = [
|
|
|
38
64
|
"--stack",
|
|
39
65
|
"--stack-file",
|
|
40
66
|
"--file",
|
|
67
|
+
"--from-timeline",
|
|
41
68
|
"--model",
|
|
42
69
|
"--config",
|
|
43
70
|
"--dir-root",
|
|
71
|
+
"--evidence-dir",
|
|
44
72
|
];
|
|
45
73
|
function readValueFlags(args) {
|
|
46
74
|
const values = {};
|
|
@@ -75,11 +103,14 @@ function parseArgs(args) {
|
|
|
75
103
|
stack: values["--stack"],
|
|
76
104
|
stackFile: values["--stack-file"],
|
|
77
105
|
files: parseFiles(values["--file"]),
|
|
106
|
+
fromTimeline: values["--from-timeline"],
|
|
78
107
|
apply: args.includes("--apply"),
|
|
79
108
|
model: values["--model"],
|
|
80
109
|
config: values["--config"],
|
|
81
110
|
json: args.includes("--json"),
|
|
82
111
|
dirRoot: values["--dir-root"] ?? ".",
|
|
112
|
+
noEvidence: args.includes("--no-evidence"),
|
|
113
|
+
evidenceDir: values["--evidence-dir"],
|
|
83
114
|
};
|
|
84
115
|
}
|
|
85
116
|
// At least one evidence source must be present, else there is nothing to investigate.
|
|
@@ -89,15 +120,150 @@ function hasEvidenceFlag(parsed) {
|
|
|
89
120
|
parsed.outputFile !== undefined ||
|
|
90
121
|
parsed.stack !== undefined ||
|
|
91
122
|
parsed.stackFile !== undefined ||
|
|
92
|
-
parsed.files !== undefined
|
|
123
|
+
parsed.files !== undefined ||
|
|
124
|
+
parsed.fromTimeline !== undefined);
|
|
125
|
+
}
|
|
126
|
+
// A `packages/<pkg>/(dist|src)/relative.(js|ts):LINE:COL` frame (stack-frames.ts's reducer shape)
|
|
127
|
+
// with its trailing `:LINE:COL` peeled off, the same way `failure-parse.ts`'s `peelLocation` would
|
|
128
|
+
// read it back off an "at <frame>" stackTrace line. Bounded string ops only (no ReDoS surface),
|
|
129
|
+
// matching that module's own discipline for evidence-derived, not attacker-typed, text.
|
|
130
|
+
const ALL_DIGITS = /^\d+$/;
|
|
131
|
+
function framePath(frame) {
|
|
132
|
+
const parts = frame.split(":");
|
|
133
|
+
const last = parts.at(-1);
|
|
134
|
+
const secondLast = parts.at(-2);
|
|
135
|
+
if (last !== undefined &&
|
|
136
|
+
secondLast !== undefined &&
|
|
137
|
+
ALL_DIGITS.test(last) &&
|
|
138
|
+
ALL_DIGITS.test(secondLast)) {
|
|
139
|
+
return parts.slice(0, -2).join(":");
|
|
140
|
+
}
|
|
141
|
+
return frame;
|
|
142
|
+
}
|
|
143
|
+
function timelineFramePaths(frames) {
|
|
144
|
+
const seen = new Set();
|
|
145
|
+
const paths = [];
|
|
146
|
+
for (const frame of frames) {
|
|
147
|
+
const path = framePath(frame);
|
|
148
|
+
if (path.length > 0 && !seen.has(path)) {
|
|
149
|
+
seen.add(path);
|
|
150
|
+
paths.push(path);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return paths;
|
|
154
|
+
}
|
|
155
|
+
function timelineOps(lines) {
|
|
156
|
+
const seen = new Set();
|
|
157
|
+
const ops = [];
|
|
158
|
+
for (const line of lines) {
|
|
159
|
+
if (!seen.has(line.op)) {
|
|
160
|
+
seen.add(line.op);
|
|
161
|
+
ops.push(line.op);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return ops;
|
|
165
|
+
}
|
|
166
|
+
// Content-free by construction: op names and errorKind are already closed-vocabulary strings the
|
|
167
|
+
// analyzer read off the log envelope, never prose or raw values.
|
|
168
|
+
function timelineDescription(timeline) {
|
|
169
|
+
const ops = timelineOps(timeline.lines);
|
|
170
|
+
if (ops.length === 0 && timeline.errorKinds.length === 0) {
|
|
171
|
+
return undefined;
|
|
172
|
+
}
|
|
173
|
+
const parts = [`Reconstructed from log timeline (correlationId=${timeline.correlationId}).`];
|
|
174
|
+
if (ops.length > 0) {
|
|
175
|
+
parts.push(`Operations observed: ${ops.join(", ")}.`);
|
|
176
|
+
}
|
|
177
|
+
if (timeline.errorKinds.length > 0) {
|
|
178
|
+
parts.push(`Error kinds: ${timeline.errorKinds.join(", ")}.`);
|
|
179
|
+
}
|
|
180
|
+
return parts.join(" ");
|
|
181
|
+
}
|
|
182
|
+
// Maps a reconstructed LogTimeline onto the exact BugReportInput shape --stack-file already
|
|
183
|
+
// accepts: `frames` -> a synthesized "at <frame>" stackTrace (one frame per line — `peelLocation`
|
|
184
|
+
// then recovers the identical file:line pairs `verified.failureFrames` reports), observed `op`s and
|
|
185
|
+
// `errorKinds` -> `description`, frame file paths -> `targetFiles`.
|
|
186
|
+
export function timelineToBugReportInput(timeline) {
|
|
187
|
+
const description = timelineDescription(timeline);
|
|
188
|
+
const stackTrace = timeline.frames === undefined
|
|
189
|
+
? undefined
|
|
190
|
+
: timeline.frames.map((frame) => `at ${frame}`).join("\n");
|
|
191
|
+
const targetFiles = timeline.frames === undefined ? undefined : timelineFramePaths(timeline.frames);
|
|
192
|
+
return {
|
|
193
|
+
...(description === undefined ? {} : { description }),
|
|
194
|
+
...(stackTrace === undefined ? {} : { stackTrace }),
|
|
195
|
+
...(targetFiles === undefined || targetFiles.length === 0 ? {} : { targetFiles }),
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
function isServerLogLineView(value) {
|
|
199
|
+
if (typeof value !== "object" || value === null) {
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
202
|
+
const record = value;
|
|
203
|
+
return (typeof record.ts === "string" &&
|
|
204
|
+
typeof record.category === "string" &&
|
|
205
|
+
typeof record.op === "string");
|
|
206
|
+
}
|
|
207
|
+
function isStringArray(value) {
|
|
208
|
+
return Array.isArray(value) && value.every((entry) => typeof entry === "string");
|
|
209
|
+
}
|
|
210
|
+
function hasLogTimelineCoreFields(record) {
|
|
211
|
+
return (typeof record.correlationId === "string" &&
|
|
212
|
+
Array.isArray(record.lines) &&
|
|
213
|
+
record.lines.every(isServerLogLineView) &&
|
|
214
|
+
typeof record.firstTs === "string" &&
|
|
215
|
+
typeof record.lastTs === "string" &&
|
|
216
|
+
typeof record.durationMs === "number");
|
|
217
|
+
}
|
|
218
|
+
// `--from-timeline`'s file crosses a trust boundary (AGENTS.md §7: "assume workspace input ...
|
|
219
|
+
// is hostile") — validate its shape structurally before trusting it as a LogTimeline, rather than
|
|
220
|
+
// trusting whatever JSON.parse happened to accept.
|
|
221
|
+
function isLogTimeline(value) {
|
|
222
|
+
if (typeof value !== "object" || value === null) {
|
|
223
|
+
return false;
|
|
224
|
+
}
|
|
225
|
+
const record = value;
|
|
226
|
+
return (hasLogTimelineCoreFields(record) &&
|
|
227
|
+
isStringArray(record.errorKinds) &&
|
|
228
|
+
(record.frames === undefined || isStringArray(record.frames)));
|
|
229
|
+
}
|
|
230
|
+
// Content-free: `reason` is always one of the two static strings below, never file content.
|
|
231
|
+
export class InvalidTimelineFileError extends Error {
|
|
232
|
+
constructor(reason) {
|
|
233
|
+
super(`invalid --from-timeline file: ${reason}`);
|
|
234
|
+
this.name = "InvalidTimelineFileError";
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
function parseTimelineFile(raw) {
|
|
238
|
+
let parsed;
|
|
239
|
+
try {
|
|
240
|
+
parsed = JSON.parse(raw);
|
|
241
|
+
}
|
|
242
|
+
catch {
|
|
243
|
+
throw new InvalidTimelineFileError("malformed JSON");
|
|
244
|
+
}
|
|
245
|
+
if (!isLogTimeline(parsed)) {
|
|
246
|
+
throw new InvalidTimelineFileError("not a valid LogTimeline (missing or malformed fields)");
|
|
247
|
+
}
|
|
248
|
+
return parsed;
|
|
249
|
+
}
|
|
250
|
+
// `--from-timeline` is read through the same workspace-bounded `readFile` as --output-file /
|
|
251
|
+
// --stack-file (never raw node:fs) so it is subject to the identical workspace-escape guard.
|
|
252
|
+
function timelineBaseReport(parsed, readFile) {
|
|
253
|
+
if (parsed.fromTimeline === undefined) {
|
|
254
|
+
return {};
|
|
255
|
+
}
|
|
256
|
+
return timelineToBugReportInput(parseTimelineFile(readFile(parsed.fromTimeline)));
|
|
93
257
|
}
|
|
94
258
|
// Resolves the failing output and stack trace, reading from files when the *-file flags are set.
|
|
95
259
|
// The inline flag is used only when its file counterpart is absent. Throws on a read failure (the
|
|
96
|
-
// CLI catch maps it to a runtime error).
|
|
260
|
+
// CLI catch maps it to a runtime error). `--from-timeline`-derived fields are the BASE; any
|
|
261
|
+
// explicit --description/--output[-file]/--stack[-file]/--file flag overrides the same field.
|
|
97
262
|
function resolveReport(parsed, readFile) {
|
|
98
263
|
const failingOutput = parsed.outputFile !== undefined ? readFile(parsed.outputFile) : parsed.output;
|
|
99
264
|
const stackTrace = parsed.stackFile !== undefined ? readFile(parsed.stackFile) : parsed.stack;
|
|
100
265
|
return {
|
|
266
|
+
...timelineBaseReport(parsed, readFile),
|
|
101
267
|
...(parsed.description === undefined ? {} : { description: parsed.description }),
|
|
102
268
|
...(failingOutput === undefined ? {} : { failingOutput }),
|
|
103
269
|
...(stackTrace === undefined ? {} : { stackTrace }),
|
|
@@ -188,17 +354,29 @@ function exitCodeFor(status) {
|
|
|
188
354
|
? 0
|
|
189
355
|
: 1;
|
|
190
356
|
}
|
|
191
|
-
|
|
357
|
+
// g-#3245-2: prints the persisted evidence path, matching `keiko run`'s UX, without echoing the
|
|
358
|
+
// full evidence report — that would break --json's single-JSON-object contract (see this file's
|
|
359
|
+
// header comment on g23). `undefined` (evidence write skipped via --no-evidence, or never ran)
|
|
360
|
+
// prints nothing extra, same as before this field existed.
|
|
361
|
+
function emitReport(report, io, json, renderBugMarkdownReport, evidenceLocation) {
|
|
192
362
|
if (json) {
|
|
193
|
-
|
|
363
|
+
const payload = evidenceLocation === undefined ? report : { ...report, evidencePath: evidenceLocation };
|
|
364
|
+
io.out(`${JSON.stringify(payload, null, 2)}\n`);
|
|
194
365
|
}
|
|
195
366
|
else {
|
|
196
367
|
printText(report, io, renderBugMarkdownReport);
|
|
368
|
+
if (evidenceLocation !== undefined) {
|
|
369
|
+
io.out(`Evidence: ${evidenceLocation}\n`);
|
|
370
|
+
}
|
|
197
371
|
}
|
|
198
372
|
return exitCodeFor(report.status);
|
|
199
373
|
}
|
|
200
374
|
// Maps a boundary error to an exit code, or rethrows when it is not a recognised IO failure.
|
|
201
375
|
function handleCliError(error, io, gateway, workspaceModule) {
|
|
376
|
+
if (error instanceof InvalidTimelineFileError) {
|
|
377
|
+
io.err(`Error: ${error.message}\n`);
|
|
378
|
+
return 1;
|
|
379
|
+
}
|
|
202
380
|
if (error instanceof workspaceModule.WorkspaceError) {
|
|
203
381
|
io.err(`Error [${error.code}]: ${error.message}\n`);
|
|
204
382
|
return 1;
|
|
@@ -209,6 +387,97 @@ function handleCliError(error, io, gateway, workspaceModule) {
|
|
|
209
387
|
}
|
|
210
388
|
throw error;
|
|
211
389
|
}
|
|
390
|
+
// Buffers every emitted BugInvestigationEvent so the evidence path (g23) can fold them into the
|
|
391
|
+
// usage totals AND read the run's runId/fingerprint off the first event — `bug:started` is always
|
|
392
|
+
// emitted first (workflow.ts's `runPipeline`), unconditionally, before the intake precondition.
|
|
393
|
+
function collectingSink(events) {
|
|
394
|
+
return {
|
|
395
|
+
emit: (event) => {
|
|
396
|
+
events.push(event);
|
|
397
|
+
},
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
function terminalStatusFor(status) {
|
|
401
|
+
if (status === "cancelled") {
|
|
402
|
+
return "cancelled";
|
|
403
|
+
}
|
|
404
|
+
if (status === "rejected" || status === "failed") {
|
|
405
|
+
return "failed";
|
|
406
|
+
}
|
|
407
|
+
return "completed";
|
|
408
|
+
}
|
|
409
|
+
function writeInvestigateEvidence(report, events, modelId, workspaceRoot, startedAt, ctx, io) {
|
|
410
|
+
const first = events[0];
|
|
411
|
+
if (first === undefined) {
|
|
412
|
+
return { kind: "skipped" };
|
|
413
|
+
}
|
|
414
|
+
const { evidence, gateway } = ctx;
|
|
415
|
+
try {
|
|
416
|
+
const store = ctx.deps.store ??
|
|
417
|
+
evidence.createNodeEvidenceStore(evidence.resolveEvidenceDir(ctx.evidenceDir, ctx.env));
|
|
418
|
+
const persisted = evidence.persistWorkflowEvidence({
|
|
419
|
+
runId: first.runId,
|
|
420
|
+
fingerprint: first.fingerprint,
|
|
421
|
+
modelId,
|
|
422
|
+
kind: "bug-investigation",
|
|
423
|
+
status: terminalStatusFor(report.status),
|
|
424
|
+
startedAt,
|
|
425
|
+
finishedAt: Date.now(),
|
|
426
|
+
workspaceRoot,
|
|
427
|
+
}, report, events, { store, env: ctx.env, costClassResolver: gateway.resolveCostClass });
|
|
428
|
+
return { kind: "written", evidenceLocation: persisted.evidenceLocation };
|
|
429
|
+
}
|
|
430
|
+
catch (error) {
|
|
431
|
+
const detail = error instanceof evidence.AuditError ? error.message : gateway.redact(String(error));
|
|
432
|
+
io.err(`keiko investigate: failed to write evidence: ${detail}\n`);
|
|
433
|
+
return { kind: "failed", exitCode: 1 };
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
function persistEvidenceIfEnabled(input) {
|
|
437
|
+
const { parsed, modules } = input;
|
|
438
|
+
if (parsed.noEvidence) {
|
|
439
|
+
return { evidenceLocation: undefined };
|
|
440
|
+
}
|
|
441
|
+
const outcome = writeInvestigateEvidence(input.report, input.events, input.modelId, input.workspaceRoot, input.startedAt, {
|
|
442
|
+
env: input.env,
|
|
443
|
+
deps: input.deps,
|
|
444
|
+
gateway: modules.gateway,
|
|
445
|
+
evidence: modules.evidence,
|
|
446
|
+
evidenceDir: parsed.evidenceDir,
|
|
447
|
+
}, input.io);
|
|
448
|
+
if (outcome.kind === "failed") {
|
|
449
|
+
return { exitCode: outcome.exitCode };
|
|
450
|
+
}
|
|
451
|
+
return { evidenceLocation: outcome.kind === "written" ? outcome.evidenceLocation : undefined };
|
|
452
|
+
}
|
|
453
|
+
async function investigateAndEmit(parsed, io, env, deps, model, modules) {
|
|
454
|
+
const workspace = modules.workspaceModule.detectWorkspace(parsed.dirRoot);
|
|
455
|
+
const readFile = deps.readFile ?? workspaceEvidenceReader(workspace, modules.workspaceModule.readWorkspaceFile);
|
|
456
|
+
const events = [];
|
|
457
|
+
const startedAt = Date.now();
|
|
458
|
+
const report = await modules.workflows.investigateBug({
|
|
459
|
+
workspaceRoot: workspace.root,
|
|
460
|
+
report: resolveReport(parsed, readFile),
|
|
461
|
+
apply: parsed.apply,
|
|
462
|
+
modelId: model.modelId,
|
|
463
|
+
}, { model: model.port, sink: collectingSink(events) });
|
|
464
|
+
const evidenceOutcome = persistEvidenceIfEnabled({
|
|
465
|
+
parsed,
|
|
466
|
+
report,
|
|
467
|
+
events,
|
|
468
|
+
modelId: model.modelId,
|
|
469
|
+
workspaceRoot: workspace.root,
|
|
470
|
+
startedAt,
|
|
471
|
+
env,
|
|
472
|
+
deps,
|
|
473
|
+
modules,
|
|
474
|
+
io,
|
|
475
|
+
});
|
|
476
|
+
if ("exitCode" in evidenceOutcome) {
|
|
477
|
+
return evidenceOutcome.exitCode;
|
|
478
|
+
}
|
|
479
|
+
return emitReport(report, io, parsed.json, modules.workflows.renderBugMarkdownReport, evidenceOutcome.evidenceLocation);
|
|
480
|
+
}
|
|
212
481
|
export async function runInvestigateCli(args, io, env = {}, deps = {}) {
|
|
213
482
|
// Issue #640: handle --help / -h before workflow-arg validation so help discovery exits 0
|
|
214
483
|
// with usage on stdout, not 2 with a validation error on stderr.
|
|
@@ -221,26 +490,24 @@ export async function runInvestigateCli(args, io, env = {}, deps = {}) {
|
|
|
221
490
|
io.err(USAGE);
|
|
222
491
|
return 2;
|
|
223
492
|
}
|
|
224
|
-
const [gateway, harness, workflows, workspaceModule] = await Promise.all([
|
|
493
|
+
const [gateway, harness, workflows, workspaceModule, evidence] = await Promise.all([
|
|
225
494
|
loadModelGateway(),
|
|
226
495
|
loadHarness(),
|
|
227
496
|
loadWorkflows(),
|
|
228
497
|
loadWorkspaceModule(),
|
|
498
|
+
loadEvidence(),
|
|
229
499
|
]);
|
|
230
500
|
const model = await resolveModel(parsed, io, env, deps, gateway, harness);
|
|
231
501
|
if (typeof model === "number") {
|
|
232
502
|
return model;
|
|
233
503
|
}
|
|
234
504
|
try {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
modelId: model.modelId,
|
|
242
|
-
}, { model: model.port });
|
|
243
|
-
return emitReport(report, io, parsed.json, workflows.renderBugMarkdownReport);
|
|
505
|
+
return await investigateAndEmit(parsed, io, env, deps, model, {
|
|
506
|
+
workflows,
|
|
507
|
+
workspaceModule,
|
|
508
|
+
gateway,
|
|
509
|
+
evidence,
|
|
510
|
+
});
|
|
244
511
|
}
|
|
245
512
|
catch (error) {
|
|
246
513
|
return handleCliError(error, io, gateway, workspaceModule);
|