kiokuko 1.0.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/LICENSE +21 -0
- package/README.ja.md +75 -0
- package/README.ko.md +60 -0
- package/README.md +90 -0
- package/README.zh-CN.md +61 -0
- package/dist/agent-file/atomic-write.d.ts +93 -0
- package/dist/agent-file/atomic-write.d.ts.map +1 -0
- package/dist/agent-file/atomic-write.js +1026 -0
- package/dist/agent-file/atomic-write.js.map +1 -0
- package/dist/agent-file/managed-block.d.ts +23 -0
- package/dist/agent-file/managed-block.d.ts.map +1 -0
- package/dist/agent-file/managed-block.js +101 -0
- package/dist/agent-file/managed-block.js.map +1 -0
- package/dist/agent-file/render.d.ts +14 -0
- package/dist/agent-file/render.d.ts.map +1 -0
- package/dist/agent-file/render.js +55 -0
- package/dist/agent-file/render.js.map +1 -0
- package/dist/akinator/agent-task.d.ts +70 -0
- package/dist/akinator/agent-task.d.ts.map +1 -0
- package/dist/akinator/agent-task.js +657 -0
- package/dist/akinator/agent-task.js.map +1 -0
- package/dist/akinator/capabilities.d.ts +92 -0
- package/dist/akinator/capabilities.d.ts.map +1 -0
- package/dist/akinator/capabilities.js +364 -0
- package/dist/akinator/capabilities.js.map +1 -0
- package/dist/akinator/capability-binding.d.ts +11 -0
- package/dist/akinator/capability-binding.d.ts.map +1 -0
- package/dist/akinator/capability-binding.js +71 -0
- package/dist/akinator/capability-binding.js.map +1 -0
- package/dist/akinator/discovery-policy.d.ts +4 -0
- package/dist/akinator/discovery-policy.d.ts.map +1 -0
- package/dist/akinator/discovery-policy.js +4 -0
- package/dist/akinator/discovery-policy.js.map +1 -0
- package/dist/akinator/domain.d.ts +25 -0
- package/dist/akinator/domain.d.ts.map +1 -0
- package/dist/akinator/domain.js +266 -0
- package/dist/akinator/domain.js.map +1 -0
- package/dist/akinator/instructions.d.ts +3 -0
- package/dist/akinator/instructions.d.ts.map +1 -0
- package/dist/akinator/instructions.js +4 -0
- package/dist/akinator/instructions.js.map +1 -0
- package/dist/akinator/knowledge-path.d.ts +33 -0
- package/dist/akinator/knowledge-path.d.ts.map +1 -0
- package/dist/akinator/knowledge-path.js +474 -0
- package/dist/akinator/knowledge-path.js.map +1 -0
- package/dist/akinator/orchestrator.d.ts +7 -0
- package/dist/akinator/orchestrator.d.ts.map +1 -0
- package/dist/akinator/orchestrator.js +8 -0
- package/dist/akinator/orchestrator.js.map +1 -0
- package/dist/akinator/reasoning.d.ts +8 -0
- package/dist/akinator/reasoning.d.ts.map +1 -0
- package/dist/akinator/reasoning.js +118 -0
- package/dist/akinator/reasoning.js.map +1 -0
- package/dist/akinator/service.d.ts +32 -0
- package/dist/akinator/service.d.ts.map +1 -0
- package/dist/akinator/service.js +294 -0
- package/dist/akinator/service.js.map +1 -0
- package/dist/akinator/skill-discovery-attempt.d.ts +25 -0
- package/dist/akinator/skill-discovery-attempt.d.ts.map +1 -0
- package/dist/akinator/skill-discovery-attempt.js +465 -0
- package/dist/akinator/skill-discovery-attempt.js.map +1 -0
- package/dist/akinator/store.d.ts +96 -0
- package/dist/akinator/store.d.ts.map +1 -0
- package/dist/akinator/store.js +642 -0
- package/dist/akinator/store.js.map +1 -0
- package/dist/akinator/types.d.ts +70 -0
- package/dist/akinator/types.d.ts.map +1 -0
- package/dist/akinator/types.js +2 -0
- package/dist/akinator/types.js.map +1 -0
- package/dist/bin/kiokuko.d.ts +3 -0
- package/dist/bin/kiokuko.d.ts.map +1 -0
- package/dist/bin/kiokuko.js +13 -0
- package/dist/bin/kiokuko.js.map +1 -0
- package/dist/cli.d.ts +24 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +957 -0
- package/dist/cli.js.map +1 -0
- package/dist/client/server-client.d.ts +22 -0
- package/dist/client/server-client.d.ts.map +1 -0
- package/dist/client/server-client.js +729 -0
- package/dist/client/server-client.js.map +1 -0
- package/dist/commands/agent.d.ts +12 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +1138 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/backup.d.ts +6 -0
- package/dist/commands/backup.d.ts.map +1 -0
- package/dist/commands/backup.js +77 -0
- package/dist/commands/backup.js.map +1 -0
- package/dist/commands/curator.d.ts +25 -0
- package/dist/commands/curator.d.ts.map +1 -0
- package/dist/commands/curator.js +58 -0
- package/dist/commands/curator.js.map +1 -0
- package/dist/commands/doctor.d.ts +57 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +389 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/embeddings.d.ts +40 -0
- package/dist/commands/embeddings.d.ts.map +1 -0
- package/dist/commands/embeddings.js +315 -0
- package/dist/commands/embeddings.js.map +1 -0
- package/dist/commands/export.d.ts +17 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +233 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/import.d.ts +24 -0
- package/dist/commands/import.d.ts.map +1 -0
- package/dist/commands/import.js +778 -0
- package/dist/commands/import.js.map +1 -0
- package/dist/commands/init.d.ts +21 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +201 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/ledger.d.ts +7 -0
- package/dist/commands/ledger.d.ts.map +1 -0
- package/dist/commands/ledger.js +66 -0
- package/dist/commands/ledger.js.map +1 -0
- package/dist/commands/purge.d.ts +10 -0
- package/dist/commands/purge.d.ts.map +1 -0
- package/dist/commands/purge.js +29 -0
- package/dist/commands/purge.js.map +1 -0
- package/dist/commands/serve.d.ts +34 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +120 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/commands/server-status.d.ts +20 -0
- package/dist/commands/server-status.d.ts.map +1 -0
- package/dist/commands/server-status.js +21 -0
- package/dist/commands/server-status.js.map +1 -0
- package/dist/commands/server.d.ts +13 -0
- package/dist/commands/server.d.ts.map +1 -0
- package/dist/commands/server.js +89 -0
- package/dist/commands/server.js.map +1 -0
- package/dist/commands/setup.d.ts +98 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +690 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/skills.d.ts +9 -0
- package/dist/commands/skills.d.ts.map +1 -0
- package/dist/commands/skills.js +317 -0
- package/dist/commands/skills.js.map +1 -0
- package/dist/commands/use.d.ts +40 -0
- package/dist/commands/use.d.ts.map +1 -0
- package/dist/commands/use.js +1090 -0
- package/dist/commands/use.js.map +1 -0
- package/dist/config/paths.d.ts +47 -0
- package/dist/config/paths.d.ts.map +1 -0
- package/dist/config/paths.js +324 -0
- package/dist/config/paths.js.map +1 -0
- package/dist/config/project-config.d.ts +11 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +97 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/context/broker.d.ts +99 -0
- package/dist/context/broker.d.ts.map +1 -0
- package/dist/context/broker.js +923 -0
- package/dist/context/broker.js.map +1 -0
- package/dist/context/delivery.d.ts +60 -0
- package/dist/context/delivery.d.ts.map +1 -0
- package/dist/context/delivery.js +845 -0
- package/dist/context/delivery.js.map +1 -0
- package/dist/context/feedback.d.ts +73 -0
- package/dist/context/feedback.d.ts.map +1 -0
- package/dist/context/feedback.js +993 -0
- package/dist/context/feedback.js.map +1 -0
- package/dist/context/nudge-store.d.ts +57 -0
- package/dist/context/nudge-store.d.ts.map +1 -0
- package/dist/context/nudge-store.js +227 -0
- package/dist/context/nudge-store.js.map +1 -0
- package/dist/context/nudge-validation.d.ts +26 -0
- package/dist/context/nudge-validation.d.ts.map +1 -0
- package/dist/context/nudge-validation.js +122 -0
- package/dist/context/nudge-validation.js.map +1 -0
- package/dist/context/nudges.d.ts +38 -0
- package/dist/context/nudges.d.ts.map +1 -0
- package/dist/context/nudges.js +131 -0
- package/dist/context/nudges.js.map +1 -0
- package/dist/context/origin.d.ts +9 -0
- package/dist/context/origin.d.ts.map +1 -0
- package/dist/context/origin.js +15 -0
- package/dist/context/origin.js.map +1 -0
- package/dist/context/ranking.d.ts +92 -0
- package/dist/context/ranking.d.ts.map +1 -0
- package/dist/context/ranking.js +560 -0
- package/dist/context/ranking.js.map +1 -0
- package/dist/context/recommendations.d.ts +80 -0
- package/dist/context/recommendations.d.ts.map +1 -0
- package/dist/context/recommendations.js +341 -0
- package/dist/context/recommendations.js.map +1 -0
- package/dist/context/run-state.d.ts +26 -0
- package/dist/context/run-state.d.ts.map +1 -0
- package/dist/context/run-state.js +399 -0
- package/dist/context/run-state.js.map +1 -0
- package/dist/context/scoped-broker.d.ts +77 -0
- package/dist/context/scoped-broker.d.ts.map +1 -0
- package/dist/context/scoped-broker.js +690 -0
- package/dist/context/scoped-broker.js.map +1 -0
- package/dist/context/selection-state.d.ts +32 -0
- package/dist/context/selection-state.d.ts.map +1 -0
- package/dist/context/selection-state.js +357 -0
- package/dist/context/selection-state.js.map +1 -0
- package/dist/db/adapter.d.ts +27 -0
- package/dist/db/adapter.d.ts.map +1 -0
- package/dist/db/adapter.js +41 -0
- package/dist/db/adapter.js.map +1 -0
- package/dist/db/capabilities.d.ts +21 -0
- package/dist/db/capabilities.d.ts.map +1 -0
- package/dist/db/capabilities.js +57 -0
- package/dist/db/capabilities.js.map +1 -0
- package/dist/db/connection.d.ts +21 -0
- package/dist/db/connection.d.ts.map +1 -0
- package/dist/db/connection.js +129 -0
- package/dist/db/connection.js.map +1 -0
- package/dist/db/inspection-snapshot.d.ts +4 -0
- package/dist/db/inspection-snapshot.d.ts.map +1 -0
- package/dist/db/inspection-snapshot.js +86 -0
- package/dist/db/inspection-snapshot.js.map +1 -0
- package/dist/db/migrate.d.ts +37 -0
- package/dist/db/migrate.d.ts.map +1 -0
- package/dist/db/migrate.js +202 -0
- package/dist/db/migrate.js.map +1 -0
- package/dist/db/serialized-backup.d.ts +58 -0
- package/dist/db/serialized-backup.d.ts.map +1 -0
- package/dist/db/serialized-backup.js +647 -0
- package/dist/db/serialized-backup.js.map +1 -0
- package/dist/db/sqlite-retry.d.ts +11 -0
- package/dist/db/sqlite-retry.d.ts.map +1 -0
- package/dist/db/sqlite-retry.js +70 -0
- package/dist/db/sqlite-retry.js.map +1 -0
- package/dist/db/transaction.d.ts +17 -0
- package/dist/db/transaction.d.ts.map +1 -0
- package/dist/db/transaction.js +68 -0
- package/dist/db/transaction.js.map +1 -0
- package/dist/embedding/backend.d.ts +27 -0
- package/dist/embedding/backend.d.ts.map +1 -0
- package/dist/embedding/backend.js +67 -0
- package/dist/embedding/backend.js.map +1 -0
- package/dist/embedding/config.d.ts +7 -0
- package/dist/embedding/config.d.ts.map +1 -0
- package/dist/embedding/config.js +125 -0
- package/dist/embedding/config.js.map +1 -0
- package/dist/embedding/diagnostics.d.ts +34 -0
- package/dist/embedding/diagnostics.d.ts.map +1 -0
- package/dist/embedding/diagnostics.js +274 -0
- package/dist/embedding/diagnostics.js.map +1 -0
- package/dist/embedding/document.d.ts +20 -0
- package/dist/embedding/document.d.ts.map +1 -0
- package/dist/embedding/document.js +122 -0
- package/dist/embedding/document.js.map +1 -0
- package/dist/embedding/javascript-backend.d.ts +11 -0
- package/dist/embedding/javascript-backend.d.ts.map +1 -0
- package/dist/embedding/javascript-backend.js +164 -0
- package/dist/embedding/javascript-backend.js.map +1 -0
- package/dist/embedding/jobs.d.ts +67 -0
- package/dist/embedding/jobs.d.ts.map +1 -0
- package/dist/embedding/jobs.js +259 -0
- package/dist/embedding/jobs.js.map +1 -0
- package/dist/embedding/local-model-loader.d.ts +24 -0
- package/dist/embedding/local-model-loader.d.ts.map +1 -0
- package/dist/embedding/local-model-loader.js +64 -0
- package/dist/embedding/local-model-loader.js.map +1 -0
- package/dist/embedding/local-transformers-provider.d.ts +17 -0
- package/dist/embedding/local-transformers-provider.d.ts.map +1 -0
- package/dist/embedding/local-transformers-provider.js +54 -0
- package/dist/embedding/local-transformers-provider.js.map +1 -0
- package/dist/embedding/model-download.d.ts +32 -0
- package/dist/embedding/model-download.d.ts.map +1 -0
- package/dist/embedding/model-download.js +41 -0
- package/dist/embedding/model-download.js.map +1 -0
- package/dist/embedding/model-installation.d.ts +17 -0
- package/dist/embedding/model-installation.d.ts.map +1 -0
- package/dist/embedding/model-installation.js +71 -0
- package/dist/embedding/model-installation.js.map +1 -0
- package/dist/embedding/model-manifest.d.ts +18 -0
- package/dist/embedding/model-manifest.d.ts.map +1 -0
- package/dist/embedding/model-manifest.js +86 -0
- package/dist/embedding/model-manifest.js.map +1 -0
- package/dist/embedding/openai-compatible-provider.d.ts +24 -0
- package/dist/embedding/openai-compatible-provider.d.ts.map +1 -0
- package/dist/embedding/openai-compatible-provider.js +330 -0
- package/dist/embedding/openai-compatible-provider.js.map +1 -0
- package/dist/embedding/presets/local-small.d.ts +8 -0
- package/dist/embedding/presets/local-small.d.ts.map +1 -0
- package/dist/embedding/presets/local-small.js +67 -0
- package/dist/embedding/presets/local-small.js.map +1 -0
- package/dist/embedding/presets/manifest.d.ts +27 -0
- package/dist/embedding/presets/manifest.d.ts.map +1 -0
- package/dist/embedding/presets/manifest.js +5 -0
- package/dist/embedding/presets/manifest.js.map +1 -0
- package/dist/embedding/profile.d.ts +10 -0
- package/dist/embedding/profile.d.ts.map +1 -0
- package/dist/embedding/profile.js +67 -0
- package/dist/embedding/profile.js.map +1 -0
- package/dist/embedding/provider.d.ts +13 -0
- package/dist/embedding/provider.d.ts.map +1 -0
- package/dist/embedding/provider.js +17 -0
- package/dist/embedding/provider.js.map +1 -0
- package/dist/embedding/query-cache.d.ts +45 -0
- package/dist/embedding/query-cache.d.ts.map +1 -0
- package/dist/embedding/query-cache.js +181 -0
- package/dist/embedding/query-cache.js.map +1 -0
- package/dist/embedding/runtime.d.ts +14 -0
- package/dist/embedding/runtime.d.ts.map +1 -0
- package/dist/embedding/runtime.js +407 -0
- package/dist/embedding/runtime.js.map +1 -0
- package/dist/embedding/settings.d.ts +6 -0
- package/dist/embedding/settings.d.ts.map +1 -0
- package/dist/embedding/settings.js +60 -0
- package/dist/embedding/settings.js.map +1 -0
- package/dist/embedding/setup-lock.d.ts +7 -0
- package/dist/embedding/setup-lock.d.ts.map +1 -0
- package/dist/embedding/setup-lock.js +35 -0
- package/dist/embedding/setup-lock.js.map +1 -0
- package/dist/embedding/setup-service.d.ts +47 -0
- package/dist/embedding/setup-service.d.ts.map +1 -0
- package/dist/embedding/setup-service.js +181 -0
- package/dist/embedding/setup-service.js.map +1 -0
- package/dist/embedding/sqlite-vec-backend.d.ts +9 -0
- package/dist/embedding/sqlite-vec-backend.d.ts.map +1 -0
- package/dist/embedding/sqlite-vec-backend.js +106 -0
- package/dist/embedding/sqlite-vec-backend.js.map +1 -0
- package/dist/embedding/sqlite-vec-loader.d.ts +17 -0
- package/dist/embedding/sqlite-vec-loader.d.ts.map +1 -0
- package/dist/embedding/sqlite-vec-loader.js +51 -0
- package/dist/embedding/sqlite-vec-loader.js.map +1 -0
- package/dist/embedding/store.d.ts +66 -0
- package/dist/embedding/store.d.ts.map +1 -0
- package/dist/embedding/store.js +474 -0
- package/dist/embedding/store.js.map +1 -0
- package/dist/embedding/types.d.ts +126 -0
- package/dist/embedding/types.d.ts.map +1 -0
- package/dist/embedding/types.js +2 -0
- package/dist/embedding/types.js.map +1 -0
- package/dist/embedding/vector.d.ts +9 -0
- package/dist/embedding/vector.d.ts.map +1 -0
- package/dist/embedding/vector.js +90 -0
- package/dist/embedding/vector.js.map +1 -0
- package/dist/embedding/worker.d.ts +23 -0
- package/dist/embedding/worker.d.ts.map +1 -0
- package/dist/embedding/worker.js +84 -0
- package/dist/embedding/worker.js.map +1 -0
- package/dist/errors.d.ts +13 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +53 -0
- package/dist/errors.js.map +1 -0
- package/dist/gateway/agent-service.d.ts +72 -0
- package/dist/gateway/agent-service.d.ts.map +1 -0
- package/dist/gateway/agent-service.js +594 -0
- package/dist/gateway/agent-service.js.map +1 -0
- package/dist/gateway/checkpoint-mutation-service.d.ts +33 -0
- package/dist/gateway/checkpoint-mutation-service.d.ts.map +1 -0
- package/dist/gateway/checkpoint-mutation-service.js +503 -0
- package/dist/gateway/checkpoint-mutation-service.js.map +1 -0
- package/dist/gateway/checkpoint-service.d.ts +17 -0
- package/dist/gateway/checkpoint-service.d.ts.map +1 -0
- package/dist/gateway/checkpoint-service.js +123 -0
- package/dist/gateway/checkpoint-service.js.map +1 -0
- package/dist/gateway/nudge-delivery-service.d.ts +21 -0
- package/dist/gateway/nudge-delivery-service.d.ts.map +1 -0
- package/dist/gateway/nudge-delivery-service.js +67 -0
- package/dist/gateway/nudge-delivery-service.js.map +1 -0
- package/dist/ledger/archive.d.ts +48 -0
- package/dist/ledger/archive.d.ts.map +1 -0
- package/dist/ledger/archive.js +1252 -0
- package/dist/ledger/archive.js.map +1 -0
- package/dist/ledger/checkpoint-contract.d.ts +144 -0
- package/dist/ledger/checkpoint-contract.d.ts.map +1 -0
- package/dist/ledger/checkpoint-contract.js +91 -0
- package/dist/ledger/checkpoint-contract.js.map +1 -0
- package/dist/ledger/checkpoint-eligibility.d.ts +17 -0
- package/dist/ledger/checkpoint-eligibility.d.ts.map +1 -0
- package/dist/ledger/checkpoint-eligibility.js +19 -0
- package/dist/ledger/checkpoint-eligibility.js.map +1 -0
- package/dist/ledger/hash.d.ts +22 -0
- package/dist/ledger/hash.d.ts.map +1 -0
- package/dist/ledger/hash.js +25 -0
- package/dist/ledger/hash.js.map +1 -0
- package/dist/ledger/maintenance.d.ts +68 -0
- package/dist/ledger/maintenance.d.ts.map +1 -0
- package/dist/ledger/maintenance.js +758 -0
- package/dist/ledger/maintenance.js.map +1 -0
- package/dist/ledger/projection.d.ts +38 -0
- package/dist/ledger/projection.d.ts.map +1 -0
- package/dist/ledger/projection.js +315 -0
- package/dist/ledger/projection.js.map +1 -0
- package/dist/ledger/promotion.d.ts +19 -0
- package/dist/ledger/promotion.d.ts.map +1 -0
- package/dist/ledger/promotion.js +310 -0
- package/dist/ledger/promotion.js.map +1 -0
- package/dist/ledger/query.d.ts +41 -0
- package/dist/ledger/query.d.ts.map +1 -0
- package/dist/ledger/query.js +321 -0
- package/dist/ledger/query.js.map +1 -0
- package/dist/ledger/redaction.d.ts +8 -0
- package/dist/ledger/redaction.d.ts.map +1 -0
- package/dist/ledger/redaction.js +40 -0
- package/dist/ledger/redaction.js.map +1 -0
- package/dist/ledger/store.d.ts +45 -0
- package/dist/ledger/store.d.ts.map +1 -0
- package/dist/ledger/store.js +327 -0
- package/dist/ledger/store.js.map +1 -0
- package/dist/ledger/types.d.ts +115 -0
- package/dist/ledger/types.d.ts.map +1 -0
- package/dist/ledger/types.js +22 -0
- package/dist/ledger/types.js.map +1 -0
- package/dist/ledger/validate.d.ts +10 -0
- package/dist/ledger/validate.d.ts.map +1 -0
- package/dist/ledger/validate.js +178 -0
- package/dist/ledger/validate.js.map +1 -0
- package/dist/mcp/bounded-stdio-transport.d.ts +26 -0
- package/dist/mcp/bounded-stdio-transport.d.ts.map +1 -0
- package/dist/mcp/bounded-stdio-transport.js +121 -0
- package/dist/mcp/bounded-stdio-transport.js.map +1 -0
- package/dist/mcp/client-identity.d.ts +22 -0
- package/dist/mcp/client-identity.d.ts.map +1 -0
- package/dist/mcp/client-identity.js +65 -0
- package/dist/mcp/client-identity.js.map +1 -0
- package/dist/mcp/request-deadline.d.ts +51 -0
- package/dist/mcp/request-deadline.d.ts.map +1 -0
- package/dist/mcp/request-deadline.js +147 -0
- package/dist/mcp/request-deadline.js.map +1 -0
- package/dist/mcp/runtime-owner.d.ts +27 -0
- package/dist/mcp/runtime-owner.d.ts.map +1 -0
- package/dist/mcp/runtime-owner.js +129 -0
- package/dist/mcp/runtime-owner.js.map +1 -0
- package/dist/mcp/server.d.ts +24 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +415 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/memory/audit.d.ts +13 -0
- package/dist/memory/audit.d.ts.map +1 -0
- package/dist/memory/audit.js +15 -0
- package/dist/memory/audit.js.map +1 -0
- package/dist/memory/checkpoint-contract.d.ts +490 -0
- package/dist/memory/checkpoint-contract.d.ts.map +1 -0
- package/dist/memory/checkpoint-contract.js +106 -0
- package/dist/memory/checkpoint-contract.js.map +1 -0
- package/dist/memory/curator-trust.d.ts +9 -0
- package/dist/memory/curator-trust.d.ts.map +1 -0
- package/dist/memory/curator-trust.js +47 -0
- package/dist/memory/curator-trust.js.map +1 -0
- package/dist/memory/curator.d.ts +115 -0
- package/dist/memory/curator.d.ts.map +1 -0
- package/dist/memory/curator.js +674 -0
- package/dist/memory/curator.js.map +1 -0
- package/dist/memory/entries.d.ts +75 -0
- package/dist/memory/entries.d.ts.map +1 -0
- package/dist/memory/entries.js +355 -0
- package/dist/memory/entries.js.map +1 -0
- package/dist/memory/federated-retrieval.d.ts +79 -0
- package/dist/memory/federated-retrieval.d.ts.map +1 -0
- package/dist/memory/federated-retrieval.js +515 -0
- package/dist/memory/federated-retrieval.js.map +1 -0
- package/dist/memory/hybrid-retrieval.d.ts +33 -0
- package/dist/memory/hybrid-retrieval.d.ts.map +1 -0
- package/dist/memory/hybrid-retrieval.js +398 -0
- package/dist/memory/hybrid-retrieval.js.map +1 -0
- package/dist/memory/lifecycle.d.ts +29 -0
- package/dist/memory/lifecycle.d.ts.map +1 -0
- package/dist/memory/lifecycle.js +65 -0
- package/dist/memory/lifecycle.js.map +1 -0
- package/dist/memory/portability.d.ts +10 -0
- package/dist/memory/portability.d.ts.map +1 -0
- package/dist/memory/portability.js +44 -0
- package/dist/memory/portability.js.map +1 -0
- package/dist/memory/rebuild-search.d.ts +19 -0
- package/dist/memory/rebuild-search.d.ts.map +1 -0
- package/dist/memory/rebuild-search.js +138 -0
- package/dist/memory/rebuild-search.js.map +1 -0
- package/dist/memory/retrieval-query.d.ts +16 -0
- package/dist/memory/retrieval-query.d.ts.map +1 -0
- package/dist/memory/retrieval-query.js +161 -0
- package/dist/memory/retrieval-query.js.map +1 -0
- package/dist/memory/retrieval.d.ts +56 -0
- package/dist/memory/retrieval.d.ts.map +1 -0
- package/dist/memory/retrieval.js +101 -0
- package/dist/memory/retrieval.js.map +1 -0
- package/dist/memory/revisions.d.ts +109 -0
- package/dist/memory/revisions.d.ts.map +1 -0
- package/dist/memory/revisions.js +409 -0
- package/dist/memory/revisions.js.map +1 -0
- package/dist/memory/scoped-memory.d.ts +76 -0
- package/dist/memory/scoped-memory.d.ts.map +1 -0
- package/dist/memory/scoped-memory.js +530 -0
- package/dist/memory/scoped-memory.js.map +1 -0
- package/dist/memory/secrets.d.ts +8 -0
- package/dist/memory/secrets.d.ts.map +1 -0
- package/dist/memory/secrets.js +54 -0
- package/dist/memory/secrets.js.map +1 -0
- package/dist/memory/structured-memory.d.ts +56 -0
- package/dist/memory/structured-memory.d.ts.map +1 -0
- package/dist/memory/structured-memory.js +281 -0
- package/dist/memory/structured-memory.js.map +1 -0
- package/dist/memory/workspaces.d.ts +26 -0
- package/dist/memory/workspaces.d.ts.map +1 -0
- package/dist/memory/workspaces.js +159 -0
- package/dist/memory/workspaces.js.map +1 -0
- package/dist/package-version.d.ts +2 -0
- package/dist/package-version.d.ts.map +1 -0
- package/dist/package-version.js +7 -0
- package/dist/package-version.js.map +1 -0
- package/dist/repository/binding.d.ts +32 -0
- package/dist/repository/binding.d.ts.map +1 -0
- package/dist/repository/binding.js +208 -0
- package/dist/repository/binding.js.map +1 -0
- package/dist/repository/cwd-schema.d.ts +4 -0
- package/dist/repository/cwd-schema.d.ts.map +1 -0
- package/dist/repository/cwd-schema.js +8 -0
- package/dist/repository/cwd-schema.js.map +1 -0
- package/dist/repository/detect-root.d.ts +13 -0
- package/dist/repository/detect-root.d.ts.map +1 -0
- package/dist/repository/detect-root.js +77 -0
- package/dist/repository/detect-root.js.map +1 -0
- package/dist/repository/framework-version.d.ts +8 -0
- package/dist/repository/framework-version.d.ts.map +1 -0
- package/dist/repository/framework-version.js +29 -0
- package/dist/repository/framework-version.js.map +1 -0
- package/dist/repository/git-origin.d.ts +2 -0
- package/dist/repository/git-origin.d.ts.map +1 -0
- package/dist/repository/git-origin.js +15 -0
- package/dist/repository/git-origin.js.map +1 -0
- package/dist/repository/gitignore.d.ts +8 -0
- package/dist/repository/gitignore.d.ts.map +1 -0
- package/dist/repository/gitignore.js +21 -0
- package/dist/repository/gitignore.js.map +1 -0
- package/dist/repository/identity-value.d.ts +4 -0
- package/dist/repository/identity-value.d.ts.map +1 -0
- package/dist/repository/identity-value.js +24 -0
- package/dist/repository/identity-value.js.map +1 -0
- package/dist/repository/identity.d.ts +19 -0
- package/dist/repository/identity.d.ts.map +1 -0
- package/dist/repository/identity.js +25 -0
- package/dist/repository/identity.js.map +1 -0
- package/dist/repository/project-fingerprint.d.ts +33 -0
- package/dist/repository/project-fingerprint.d.ts.map +1 -0
- package/dist/repository/project-fingerprint.js +429 -0
- package/dist/repository/project-fingerprint.js.map +1 -0
- package/dist/repository/remote-url.d.ts +3 -0
- package/dist/repository/remote-url.d.ts.map +1 -0
- package/dist/repository/remote-url.js +35 -0
- package/dist/repository/remote-url.js.map +1 -0
- package/dist/runtime-version.d.ts +6 -0
- package/dist/runtime-version.d.ts.map +1 -0
- package/dist/runtime-version.js +33 -0
- package/dist/runtime-version.js.map +1 -0
- package/dist/security/sanitize.d.ts +4 -0
- package/dist/security/sanitize.d.ts.map +1 -0
- package/dist/security/sanitize.js +174 -0
- package/dist/security/sanitize.js.map +1 -0
- package/dist/serialization/boundary-json.d.ts +20 -0
- package/dist/serialization/boundary-json.d.ts.map +1 -0
- package/dist/serialization/boundary-json.js +129 -0
- package/dist/serialization/boundary-json.js.map +1 -0
- package/dist/serialization/envelope.d.ts +20 -0
- package/dist/serialization/envelope.d.ts.map +1 -0
- package/dist/serialization/envelope.js +11 -0
- package/dist/serialization/envelope.js.map +1 -0
- package/dist/serialization/validate.d.ts +38 -0
- package/dist/serialization/validate.d.ts.map +1 -0
- package/dist/serialization/validate.js +233 -0
- package/dist/serialization/validate.js.map +1 -0
- package/dist/server/agent-application.d.ts +6 -0
- package/dist/server/agent-application.d.ts.map +1 -0
- package/dist/server/agent-application.js +74 -0
- package/dist/server/agent-application.js.map +1 -0
- package/dist/server/agent-checkpoint-use-case.d.ts +40 -0
- package/dist/server/agent-checkpoint-use-case.d.ts.map +1 -0
- package/dist/server/agent-checkpoint-use-case.js +157 -0
- package/dist/server/agent-checkpoint-use-case.js.map +1 -0
- package/dist/server/app.d.ts +5 -0
- package/dist/server/app.d.ts.map +1 -0
- package/dist/server/app.js +87 -0
- package/dist/server/app.js.map +1 -0
- package/dist/server/auth.d.ts +2 -0
- package/dist/server/auth.d.ts.map +1 -0
- package/dist/server/auth.js +22 -0
- package/dist/server/auth.js.map +1 -0
- package/dist/server/http.d.ts +86 -0
- package/dist/server/http.d.ts.map +1 -0
- package/dist/server/http.js +455 -0
- package/dist/server/http.js.map +1 -0
- package/dist/server/idempotency.d.ts +6 -0
- package/dist/server/idempotency.d.ts.map +1 -0
- package/dist/server/idempotency.js +210 -0
- package/dist/server/idempotency.js.map +1 -0
- package/dist/server/instance-lock.d.ts +17 -0
- package/dist/server/instance-lock.d.ts.map +1 -0
- package/dist/server/instance-lock.js +118 -0
- package/dist/server/instance-lock.js.map +1 -0
- package/dist/server/router.d.ts +29 -0
- package/dist/server/router.d.ts.map +1 -0
- package/dist/server/router.js +129 -0
- package/dist/server/router.js.map +1 -0
- package/dist/server/routes/agent-capability-gate.d.ts +43 -0
- package/dist/server/routes/agent-capability-gate.d.ts.map +1 -0
- package/dist/server/routes/agent-capability-gate.js +202 -0
- package/dist/server/routes/agent-capability-gate.js.map +1 -0
- package/dist/server/routes/agent-events.d.ts +5 -0
- package/dist/server/routes/agent-events.d.ts.map +1 -0
- package/dist/server/routes/agent-events.js +53 -0
- package/dist/server/routes/agent-events.js.map +1 -0
- package/dist/server/routes/agent-intake.d.ts +5 -0
- package/dist/server/routes/agent-intake.d.ts.map +1 -0
- package/dist/server/routes/agent-intake.js +50 -0
- package/dist/server/routes/agent-intake.js.map +1 -0
- package/dist/server/routes/agent-promotions.d.ts +5 -0
- package/dist/server/routes/agent-promotions.d.ts.map +1 -0
- package/dist/server/routes/agent-promotions.js +55 -0
- package/dist/server/routes/agent-promotions.js.map +1 -0
- package/dist/server/routes/agent-runs.d.ts +26 -0
- package/dist/server/routes/agent-runs.d.ts.map +1 -0
- package/dist/server/routes/agent-runs.js +165 -0
- package/dist/server/routes/agent-runs.js.map +1 -0
- package/dist/server/routes/request-binding.d.ts +5 -0
- package/dist/server/routes/request-binding.d.ts.map +1 -0
- package/dist/server/routes/request-binding.js +49 -0
- package/dist/server/routes/request-binding.js.map +1 -0
- package/dist/server/routes/task5-support.d.ts +4 -0
- package/dist/server/routes/task5-support.d.ts.map +1 -0
- package/dist/server/routes/task5-support.js +6 -0
- package/dist/server/routes/task5-support.js.map +1 -0
- package/dist/server/routes/task5.d.ts +5 -0
- package/dist/server/routes/task5.d.ts.map +1 -0
- package/dist/server/routes/task5.js +56 -0
- package/dist/server/routes/task5.js.map +1 -0
- package/dist/server/runtime-descriptor.d.ts +24 -0
- package/dist/server/runtime-descriptor.d.ts.map +1 -0
- package/dist/server/runtime-descriptor.js +156 -0
- package/dist/server/runtime-descriptor.js.map +1 -0
- package/dist/server/write-queue.d.ts +20 -0
- package/dist/server/write-queue.d.ts.map +1 -0
- package/dist/server/write-queue.js +83 -0
- package/dist/server/write-queue.js.map +1 -0
- package/dist/setup/claude-config.d.ts +6 -0
- package/dist/setup/claude-config.d.ts.map +1 -0
- package/dist/setup/claude-config.js +83 -0
- package/dist/setup/claude-config.js.map +1 -0
- package/dist/setup/client-detection.d.ts +13 -0
- package/dist/setup/client-detection.d.ts.map +1 -0
- package/dist/setup/client-detection.js +64 -0
- package/dist/setup/client-detection.js.map +1 -0
- package/dist/setup/hermes-config.d.ts +7 -0
- package/dist/setup/hermes-config.d.ts.map +1 -0
- package/dist/setup/hermes-config.js +145 -0
- package/dist/setup/hermes-config.js.map +1 -0
- package/dist/setup/managed-text.d.ts +6 -0
- package/dist/setup/managed-text.d.ts.map +1 -0
- package/dist/setup/managed-text.js +52 -0
- package/dist/setup/managed-text.js.map +1 -0
- package/dist/setup/mcp-conflict.d.ts +4 -0
- package/dist/setup/mcp-conflict.d.ts.map +1 -0
- package/dist/setup/mcp-conflict.js +15 -0
- package/dist/setup/mcp-conflict.js.map +1 -0
- package/dist/setup/opencode-config.d.ts +6 -0
- package/dist/setup/opencode-config.d.ts.map +1 -0
- package/dist/setup/opencode-config.js +86 -0
- package/dist/setup/opencode-config.js.map +1 -0
- package/dist/setup/project-agent-refresh.d.ts +41 -0
- package/dist/setup/project-agent-refresh.d.ts.map +1 -0
- package/dist/setup/project-agent-refresh.js +158 -0
- package/dist/setup/project-agent-refresh.js.map +1 -0
- package/dist/setup/render.d.ts +11 -0
- package/dist/setup/render.d.ts.map +1 -0
- package/dist/setup/render.js +323 -0
- package/dist/setup/render.js.map +1 -0
- package/dist/setup/standard-skills.d.ts +52 -0
- package/dist/setup/standard-skills.d.ts.map +1 -0
- package/dist/setup/standard-skills.js +125 -0
- package/dist/setup/standard-skills.js.map +1 -0
- package/dist/setup/strict-json.d.ts +7 -0
- package/dist/setup/strict-json.d.ts.map +1 -0
- package/dist/setup/strict-json.js +98 -0
- package/dist/setup/strict-json.js.map +1 -0
- package/dist/setup/strict-toml.d.ts +18 -0
- package/dist/setup/strict-toml.d.ts.map +1 -0
- package/dist/setup/strict-toml.js +491 -0
- package/dist/setup/strict-toml.js.map +1 -0
- package/dist/skills/cache.d.ts +15 -0
- package/dist/skills/cache.d.ts.map +1 -0
- package/dist/skills/cache.js +19 -0
- package/dist/skills/cache.js.map +1 -0
- package/dist/skills/candidate-ranking.d.ts +15 -0
- package/dist/skills/candidate-ranking.d.ts.map +1 -0
- package/dist/skills/candidate-ranking.js +52 -0
- package/dist/skills/candidate-ranking.js.map +1 -0
- package/dist/skills/chunking.d.ts +11 -0
- package/dist/skills/chunking.d.ts.map +1 -0
- package/dist/skills/chunking.js +291 -0
- package/dist/skills/chunking.js.map +1 -0
- package/dist/skills/config.d.ts +19 -0
- package/dist/skills/config.d.ts.map +1 -0
- package/dist/skills/config.js +103 -0
- package/dist/skills/config.js.map +1 -0
- package/dist/skills/discovery-service.d.ts +26 -0
- package/dist/skills/discovery-service.d.ts.map +1 -0
- package/dist/skills/discovery-service.js +929 -0
- package/dist/skills/discovery-service.js.map +1 -0
- package/dist/skills/external-transport.d.ts +2 -0
- package/dist/skills/external-transport.d.ts.map +1 -0
- package/dist/skills/external-transport.js +30 -0
- package/dist/skills/external-transport.js.map +1 -0
- package/dist/skills/find.d.ts +17 -0
- package/dist/skills/find.d.ts.map +1 -0
- package/dist/skills/find.js +59 -0
- package/dist/skills/find.js.map +1 -0
- package/dist/skills/gap-detection.d.ts +23 -0
- package/dist/skills/gap-detection.d.ts.map +1 -0
- package/dist/skills/gap-detection.js +62 -0
- package/dist/skills/gap-detection.js.map +1 -0
- package/dist/skills/import-preparation.d.ts +4 -0
- package/dist/skills/import-preparation.d.ts.map +1 -0
- package/dist/skills/import-preparation.js +20 -0
- package/dist/skills/import-preparation.js.map +1 -0
- package/dist/skills/materialization-authority.d.ts +11 -0
- package/dist/skills/materialization-authority.d.ts.map +1 -0
- package/dist/skills/materialization-authority.js +92 -0
- package/dist/skills/materialization-authority.js.map +1 -0
- package/dist/skills/materialization-service.d.ts +22 -0
- package/dist/skills/materialization-service.d.ts.map +1 -0
- package/dist/skills/materialization-service.js +101 -0
- package/dist/skills/materialization-service.js.map +1 -0
- package/dist/skills/official-catalog.d.ts +31 -0
- package/dist/skills/official-catalog.d.ts.map +1 -0
- package/dist/skills/official-catalog.js +110 -0
- package/dist/skills/official-catalog.js.map +1 -0
- package/dist/skills/providers/schema.d.ts +30 -0
- package/dist/skills/providers/schema.d.ts.map +1 -0
- package/dist/skills/providers/schema.js +354 -0
- package/dist/skills/providers/schema.js.map +1 -0
- package/dist/skills/providers/skills-sh-compat.d.ts +17 -0
- package/dist/skills/providers/skills-sh-compat.d.ts.map +1 -0
- package/dist/skills/providers/skills-sh-compat.js +73 -0
- package/dist/skills/providers/skills-sh-compat.js.map +1 -0
- package/dist/skills/providers/skills-sh-v1.d.ts +23 -0
- package/dist/skills/providers/skills-sh-v1.d.ts.map +1 -0
- package/dist/skills/providers/skills-sh-v1.js +152 -0
- package/dist/skills/providers/skills-sh-v1.js.map +1 -0
- package/dist/skills/query-builder.d.ts +18 -0
- package/dist/skills/query-builder.d.ts.map +1 -0
- package/dist/skills/query-builder.js +93 -0
- package/dist/skills/query-builder.js.map +1 -0
- package/dist/skills/source/errors.d.ts +9 -0
- package/dist/skills/source/errors.d.ts.map +1 -0
- package/dist/skills/source/errors.js +15 -0
- package/dist/skills/source/errors.js.map +1 -0
- package/dist/skills/source/frontmatter.d.ts +9 -0
- package/dist/skills/source/frontmatter.d.ts.map +1 -0
- package/dist/skills/source/frontmatter.js +77 -0
- package/dist/skills/source/frontmatter.js.map +1 -0
- package/dist/skills/source/github-fetcher.d.ts +20 -0
- package/dist/skills/source/github-fetcher.d.ts.map +1 -0
- package/dist/skills/source/github-fetcher.js +296 -0
- package/dist/skills/source/github-fetcher.js.map +1 -0
- package/dist/skills/source/snapshot-validator.d.ts +28 -0
- package/dist/skills/source/snapshot-validator.d.ts.map +1 -0
- package/dist/skills/source/snapshot-validator.js +186 -0
- package/dist/skills/source/snapshot-validator.js.map +1 -0
- package/dist/skills/store.d.ts +180 -0
- package/dist/skills/store.d.ts.map +1 -0
- package/dist/skills/store.js +1712 -0
- package/dist/skills/store.js.map +1 -0
- package/dist/skills/types.d.ts +171 -0
- package/dist/skills/types.d.ts.map +1 -0
- package/dist/skills/types.js +2 -0
- package/dist/skills/types.js.map +1 -0
- package/dist/web/i18n.d.ts +184 -0
- package/dist/web/i18n.d.ts.map +1 -0
- package/dist/web/i18n.js +733 -0
- package/dist/web/i18n.js.map +1 -0
- package/dist/web/server.d.ts +16 -0
- package/dist/web/server.d.ts.map +1 -0
- package/dist/web/server.js +864 -0
- package/dist/web/server.js.map +1 -0
- package/dist/web/ui.d.ts +6 -0
- package/dist/web/ui.d.ts.map +1 -0
- package/dist/web/ui.js +1328 -0
- package/dist/web/ui.js.map +1 -0
- package/docs/README.ja.md +13 -0
- package/docs/README.md +15 -0
- package/docs/agent-file.md +53 -0
- package/docs/agent-gateway.md +102 -0
- package/docs/architecture.md +12 -0
- package/docs/breaking-changes-1.0.md +64 -0
- package/docs/cli-contract.md +39 -0
- package/docs/client-compatibility.md +110 -0
- package/docs/concepts.ja.md +25 -0
- package/docs/concepts.md +33 -0
- package/docs/database.md +20 -0
- package/docs/execution-ledger.md +68 -0
- package/docs/getting-started.ja.md +45 -0
- package/docs/getting-started.md +49 -0
- package/docs/release-notes-0.1.18.md +105 -0
- package/docs/retrieval-evaluation.md +10 -0
- package/docs/security-and-trust.ja.md +29 -0
- package/docs/security-and-trust.md +39 -0
- package/docs/security.md +11 -0
- package/docs/semantic-retrieval.ja.md +18 -0
- package/docs/semantic-retrieval.md +26 -0
- package/docs/sqlite-driver-adr.md +8 -0
- package/migrations/001_baseline.sql +972 -0
- package/package.json +81 -0
- package/skills/kiokuko-simple-work/SKILL.md +112 -0
- package/skills/kiokuko-single-purpose-functions/SKILL.md +81 -0
- package/skills/kiokuko-single-purpose-functions/references/boundaries-and-ownership.md +50 -0
- package/skills/kiokuko-single-purpose-functions/references/domain-and-types.md +48 -0
- package/skills/kiokuko-single-purpose-functions/references/effects-and-data.md +43 -0
- package/skills/kiokuko-single-purpose-functions/references/kiokuko-patterns.md +344 -0
- package/skills/kiokuko-single-purpose-functions/references/problem-shaping-and-language.md +84 -0
- package/skills/kiokuko-single-purpose-functions/references/protocols-and-idempotency.md +42 -0
- package/skills/kiokuko-single-purpose-functions/references/review-checklist.md +97 -0
- package/skills/kiokuko-single-purpose-functions/references/verification.md +41 -0
- package/skills/kiokuko-soul/SKILL.md +93 -0
- package/skills/kiokuko-ui-design-soul/SKILL.md +71 -0
- package/skills/kiokuko-ui-design-soul/references/accessibility-and-navigation.md +31 -0
- package/skills/kiokuko-ui-design-soul/references/async-recovery.md +49 -0
- package/skills/kiokuko-ui-design-soul/references/forms-and-controls.md +35 -0
- package/skills/kiokuko-ui-design-soul/references/interaction-feedback.md +34 -0
- package/skills/kiokuko-ui-design-soul/references/responsive-and-platform.md +38 -0
- package/skills/kiokuko-ui-design-soul/references/safety-and-review.md +39 -0
- package/skills/kiokuko-ui-design-soul/references/ui-checklist.md +71 -0
- package/skills/memory-reasoning/SKILL.md +52 -0
- package/templates/AGENTS.md +39 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Getting started
|
|
2
|
+
|
|
3
|
+
## Install and configure
|
|
4
|
+
|
|
5
|
+
Node.js 24.16.0 or newer is required. Install and configure in two commands:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install --global @askdkc/kiokuko
|
|
9
|
+
kiokuko setup
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Optional setup flags: `--no-standard-skills`, `--skill-discovery off|official|community`, and `--dry-run --json`.
|
|
13
|
+
|
|
14
|
+
For Codex, setup owns one exact managed block:
|
|
15
|
+
|
|
16
|
+
```toml
|
|
17
|
+
[mcp_servers.kiokuko]
|
|
18
|
+
command = "kiokuko"
|
|
19
|
+
args = ["mcp"]
|
|
20
|
+
enabled = true
|
|
21
|
+
required = true
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The discovery environment line is managed with that block. Missing `required`, changed values,
|
|
25
|
+
ordering, duplicate keys, extra fields, or an explicit `required = false` are
|
|
26
|
+
user-managed conflicts and are never silently overwritten. Interactive setup asks
|
|
27
|
+
whether to replace a conflicting identity; JSON, non-interactive, and dry-run calls
|
|
28
|
+
return `CONFLICT` without mutation. The same rule applies to other supported clients.
|
|
29
|
+
|
|
30
|
+
Restart a running client after setup. Use `kiokuko doctor --json` to inspect runtime,
|
|
31
|
+
database, and Codex MCP health; doctor is read-only.
|
|
32
|
+
|
|
33
|
+
## Embeddings setup
|
|
34
|
+
|
|
35
|
+
`kiokuko embeddings setup` installs the pinned local semantic runtime and runs the
|
|
36
|
+
same client configuration flow as `kiokuko setup`, including conflict confirmation,
|
|
37
|
+
managed MCP replacement, and registered-project instruction refresh.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
kiokuko embeddings setup --clients codex
|
|
41
|
+
kiokuko embeddings setup --preset local-small --offline
|
|
42
|
+
kiokuko embeddings status --json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`--replace` switches from another active embedding profile. `--dry-run` performs no
|
|
46
|
+
download or mutation; `--json` is suitable for automation and fails closed on an
|
|
47
|
+
unmanaged MCP identity.
|
|
48
|
+
|
|
49
|
+
## Web UI and clients
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Kiokuko 0.1.18
|
|
2
|
+
|
|
3
|
+
Historical release notes. Database upgrade and recovery behavior below does not apply to Kiokuko 1.0; see [1.0 breaking changes](breaking-changes-1.0.md).
|
|
4
|
+
|
|
5
|
+
## External Skills
|
|
6
|
+
|
|
7
|
+
- Added bounded provider search, commit-pinned source validation, chunk limits, snapshot idempotency, and shared discovery single-flight.
|
|
8
|
+
- Added `kiokuko skills find|import|list|show|refresh|disable|enable|prune-cache`.
|
|
9
|
+
- Manual Skill import is now create-only and accepts only an exact locally
|
|
10
|
+
reviewed catalog identity. Re-importing an existing identity is a conflict;
|
|
11
|
+
use `skills refresh` for an existing managed Skill.
|
|
12
|
+
- Akinator discovery and `kiokuko skills find` now use one shared provider-backed search operation; the temporary capability-fallback response was removed.
|
|
13
|
+
- Akinator task preparation now defaults to reference-only `official` discovery; `off` remains available and `community` remains explicit opt-in.
|
|
14
|
+
- Interactive setup now asks before enabling audited community discovery and persists the selected mode in each managed MCP client configuration; batch setup uses `--skill-discovery`.
|
|
15
|
+
- Added authenticated local Web UI/API visibility for imported external skills.
|
|
16
|
+
- Disabled, stale, blocked, and unmanaged external references are excluded from retrieval and Curator globalization.
|
|
17
|
+
- Community-mode candidates fail closed without a successful provider audit.
|
|
18
|
+
- Unknown capability catalogs now force official-only discovery; imported Skill
|
|
19
|
+
reuse requires explicit applicability and mode-compatible provenance.
|
|
20
|
+
- Multiple relevant Skills can be imported from one repository, and lifecycle
|
|
21
|
+
CLI commands resolve both internal IDs and `owner/repository/skill` paths.
|
|
22
|
+
- Task preparation replay identity now includes the effective discovery mode
|
|
23
|
+
and a bounded normalized capability-catalog hash, so changed discovery input
|
|
24
|
+
cannot reuse an older context delivery.
|
|
25
|
+
- `task_prepare` now requires a bounded client-generated `requestId`. The same
|
|
26
|
+
ID and bound input replay one run; a changed bound request under that ID
|
|
27
|
+
conflicts, while a new ID opens a distinct run even for identical task text.
|
|
28
|
+
The raw ID is not stored and `client.sessionId` is not used as a turn ID. The
|
|
29
|
+
normalized context budget is bound and must match on `task_answer`.
|
|
30
|
+
- Generated agent/setup/MCP contracts now require an available local
|
|
31
|
+
`memory-reasoning` Skill to be read before code modification and recalled
|
|
32
|
+
claims to be converted into verified premises, invariants, counterexamples,
|
|
33
|
+
and regression tests; availability alone is not compliance.
|
|
34
|
+
- A v1 provider response with exact HTTP 401 authentication failure falls back
|
|
35
|
+
once per query to the Compatibility Provider, with provider-separated
|
|
36
|
+
negative and result caches. Other authentication and protocol failures stop.
|
|
37
|
+
- Removed legacy fixed-source sync and guessed-source fallback. Bounded exact
|
|
38
|
+
verification of reviewed catalog-pinned sources remains. The ungated
|
|
39
|
+
`guide context` compatibility command was removed; task-aware ContextBroker
|
|
40
|
+
output is capability-gated.
|
|
41
|
+
|
|
42
|
+
External skills remain untrusted candidate references. Kiokuko does not install,
|
|
43
|
+
execute, verify, globalize, or register fetched skill content automatically.
|
|
44
|
+
|
|
45
|
+
## Fail-closed storage and setup
|
|
46
|
+
|
|
47
|
+
- Fixed Windows OpenCode setup writing MCP configuration, global instructions,
|
|
48
|
+
and bundled skills under `%APPDATA%\opencode`; setup now follows OpenCode's
|
|
49
|
+
XDG global directory resolution.
|
|
50
|
+
- Setup now rejects duplicate or semantically colliding JSON/TOML configuration,
|
|
51
|
+
malformed UTF-8, symlink escapes, and concurrent target changes before it can
|
|
52
|
+
silently merge or overwrite them. Exact concurrent `use` results converge once;
|
|
53
|
+
incompatible state remains an explicit conflict.
|
|
54
|
+
- Migration and repository transactions now surface rollback failures, and
|
|
55
|
+
verified pre-migration backups complete before any schema mutation.
|
|
56
|
+
- Node.js 24.16 is now the minimum runtime. Manual and pre-migration SQLite
|
|
57
|
+
backups serialize the exact already-open connection and install a verified,
|
|
58
|
+
create-only artifact; the retired pathname-reopening backup subprocess and
|
|
59
|
+
overwrite behavior were removed. `kiokuko backup` no longer initializes or
|
|
60
|
+
migrates its source.
|
|
61
|
+
- Project binding rejects the reserved global identity. Forced rebinding now
|
|
62
|
+
requires a distinct repository/workspace pair and performs an exact database
|
|
63
|
+
location compare-and-swap or fails; it never mutates a repository workspace
|
|
64
|
+
in place or silently retains the old identity. Moving `agentFile` removes
|
|
65
|
+
only the old marked block, preserves human bytes and mode, and conditionally
|
|
66
|
+
restores all owned file mutations if a later step fails. Skipping an agent
|
|
67
|
+
write rejects any stale managed block at the prospective target.
|
|
68
|
+
- Repository binding/template versions are downgrade-protected across files and
|
|
69
|
+
SQLite metadata. Missing, malformed, corrupt, or future version metadata fails
|
|
70
|
+
explicitly. An indeterminate SQLite commit is surfaced as such and retains
|
|
71
|
+
the matching installed files instead of risking split-brain compensation.
|
|
72
|
+
- Stored revision chains, hashes, structured scope, projections, and context
|
|
73
|
+
replay state are validated from their exact persisted identities. Corruption
|
|
74
|
+
fails explicitly instead of being skipped or normalized into a new identity.
|
|
75
|
+
- Migration 012 validates the persisted structural identity of released
|
|
76
|
+
`context-ranking-v2` and `context-ranking-v3` scoped deliveries during setup.
|
|
77
|
+
Original delivery IDs, policy versions, character metadata, delivery items,
|
|
78
|
+
and all historical references are preserved. Legacy preview text was not
|
|
79
|
+
persisted and is not reconstructed during upgrade. Legacy deliveries remain
|
|
80
|
+
available for audit and feedback references but are never replayed as current
|
|
81
|
+
`context-ranking-v4` context; invalid persisted legacy structure aborts the
|
|
82
|
+
migration transaction. New scoped deliveries continue to use
|
|
83
|
+
`context-ranking-v4`.
|
|
84
|
+
- Migration 009 transactionally rewrites the one exact released locale-ordered
|
|
85
|
+
revision preimage to the canonical hash and scope. Forged preimages and
|
|
86
|
+
canonical collisions abort the upgrade; runtime compatibility hashing was
|
|
87
|
+
removed completely.
|
|
88
|
+
- Workspace archive v2 is intentionally limited to revision-1 current state.
|
|
89
|
+
Import/export use one strict canonical format, bounded input, complete secret
|
|
90
|
+
scanning, snapshot-consistent reads, and create-only output. Use a full SQLite
|
|
91
|
+
backup when immutable revision history must be preserved.
|
|
92
|
+
|
|
93
|
+
## Model task boundary
|
|
94
|
+
|
|
95
|
+
- Removed the direct model-facing `memory_recall` and
|
|
96
|
+
`claude_prompt_context` MCP tools. Task memory now enters through
|
|
97
|
+
`task_prepare` / `task_answer`; checkpoint and Curator tools remain lifecycle
|
|
98
|
+
operations.
|
|
99
|
+
- Removed generic JSON `call` operations that returned memory through `read`,
|
|
100
|
+
`search`, or scoped/unscoped `recall`. Direct CLI/Web inspection remains a
|
|
101
|
+
human/operator management surface.
|
|
102
|
+
- Setup no longer installs Claude prompt hooks or the OpenCode loop guard and
|
|
103
|
+
no longer accepts their CLI options. During upgrade it removes only the exact
|
|
104
|
+
retired managed hook/guard; modified or ambiguous legacy identities fail
|
|
105
|
+
explicitly and unrelated settings are preserved.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Retrieval evaluation
|
|
2
|
+
|
|
3
|
+
The existing evaluation keeps lexical and exact-signal lanes as baselines and
|
|
4
|
+
preserves weighted reciprocal-rank fusion. Local semantic evaluation covers
|
|
5
|
+
Japanese, English, Simplified Chinese, Korean, technical identifiers, stale
|
|
6
|
+
vectors, scope boundaries, and query-cache privacy.
|
|
7
|
+
|
|
8
|
+
Run the deterministic suite with `npm run test:evaluation`. Run the installed
|
|
9
|
+
model probe with `node scripts/run-local-embedding-smoke.mjs --offline` when a
|
|
10
|
+
verified local model directory is available.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Security and trust
|
|
2
|
+
|
|
3
|
+
## 記憶とsecret
|
|
4
|
+
|
|
5
|
+
パスワード、API key、token、秘密鍵などに似た内容は拒否し、会話全文は保存しません。記憶は参考情報であり、現在のコード、設定、実行結果を上書きしません。
|
|
6
|
+
|
|
7
|
+
## External Skills
|
|
8
|
+
|
|
9
|
+
外部Skill discoveryは参照専用です。source commitを検証し、boundedな内容をuntrusted candidateとして保存しますが、取得したSkillを自動install・実行・登録しません。
|
|
10
|
+
既定は`official`、`community`は明示opt-in、`off`で無効化します。
|
|
11
|
+
|
|
12
|
+
Skillの確認・管理:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
kiokuko skills find svelte --official-only --json
|
|
16
|
+
kiokuko skills list
|
|
17
|
+
kiokuko skills disable <skill-id>
|
|
18
|
+
kiokuko skills refresh <skill-id>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Web UIではmappingの確認・無効化だけを行い、install、script、MCP登録は行いません。
|
|
22
|
+
|
|
23
|
+
## MCP extensionと公開エラー
|
|
24
|
+
|
|
25
|
+
client extensionは成功・エラーMCP resultを検査・置換できるため、trusted computing baseの一部です。extensionが偽造できないoriginal-result identifierとmodified flagなしには、
|
|
26
|
+
end-to-end authenticityを主張できません。重要なresultを変更するextensionと併用しないでください。
|
|
27
|
+
|
|
28
|
+
通常の公開tool errorは`isError: true`、allowlist済みmessage、`structuredContent.code`、`structuredContent.retryable`だけを返します。`BACKPRESSURE`だけがboundedな`retryAfterSeconds`を追加できます。
|
|
29
|
+
stack、SQL、path、payload、secretはgeneric errorへコピーしません。
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Security and trust
|
|
2
|
+
|
|
3
|
+
## Memory and secrets
|
|
4
|
+
|
|
5
|
+
Kiokuko refuses content that resembles passwords, API keys, tokens, private keys,
|
|
6
|
+
or similar secrets. It does not store full conversations. Memory is advisory and
|
|
7
|
+
must not override current code, configuration, or execution evidence.
|
|
8
|
+
|
|
9
|
+
## External Skills
|
|
10
|
+
|
|
11
|
+
External Skill discovery is reference-only. Kiokuko verifies a source commit, stores
|
|
12
|
+
bounded content as an untrusted candidate, and never installs, runs, or registers
|
|
13
|
+
fetched Skill content automatically. `official` is the default discovery mode;
|
|
14
|
+
`community` is explicit opt-in and `off` disables discovery.
|
|
15
|
+
|
|
16
|
+
Inspect or manage mappings with:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
kiokuko skills find svelte --official-only --json
|
|
20
|
+
kiokuko skills list
|
|
21
|
+
kiokuko skills disable <skill-id>
|
|
22
|
+
kiokuko skills refresh <skill-id>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The Web UI can inspect and disable mappings, but has no install, script, or MCP
|
|
26
|
+
registration action.
|
|
27
|
+
|
|
28
|
+
## MCP extensions and public errors
|
|
29
|
+
|
|
30
|
+
Codex `ToolLifecycleContributor` and other client extensions can inspect or replace successful and error MCP results. They are
|
|
31
|
+
therefore part of the trusted computing base; Kiokuko cannot claim end-to-end
|
|
32
|
+
authenticity without an extension-unforgeable original-result identifier and modified
|
|
33
|
+
flag. Do not combine Kiokuko with an extension that changes critical results.
|
|
34
|
+
|
|
35
|
+
Normal public tool failures use `isError: true` with an allowlisted message plus
|
|
36
|
+
`structuredContent.code` and `structuredContent.retryable`; only `BACKPRESSURE` may
|
|
37
|
+
include bounded `retryAfterSeconds`. Raw stacks, SQL, paths, payloads, and secrets
|
|
38
|
+
are not copied into generic errors. Specialized validation and recovery errors retain
|
|
39
|
+
only their bounded purpose-specific fields.
|
package/docs/security.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Embedding security
|
|
2
|
+
|
|
3
|
+
The local-small preset fixes the repository, full revision, required files,
|
|
4
|
+
sizes, and SHA-256 values. Arbitrary repositories, URLs, paths, extensions,
|
|
5
|
+
and remote code are not accepted. Files are verified before model loading;
|
|
6
|
+
staging is private and final installation is atomic.
|
|
7
|
+
|
|
8
|
+
Status, doctor, progress, and errors do not include memory text, query text,
|
|
9
|
+
credentials, redirect URLs, or absolute model paths. Legacy embedding
|
|
10
|
+
environment variables are detected by name only and are not used as runtime
|
|
11
|
+
configuration.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Semantic retrieval
|
|
2
|
+
|
|
3
|
+
軽量インストールではlexical検索が動きます。semantic検索は任意のlocal `local-small` embedding profileです。
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
kiokuko embeddings setup
|
|
7
|
+
kiokuko embeddings status --json
|
|
8
|
+
kiokuko embeddings repair
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
固定runtimeを導入し、load前にartifactを検証します。`--offline`は検証済みlocal installationを要求し、`--dry-run`はdownload・書き込み・profile変更を行いません。
|
|
12
|
+
`--replace`は別profileから切り替えます。model weightはnpm packageに含めません。
|
|
13
|
+
|
|
14
|
+
このコマンドは通常のclient setup flowも実行し、managed MCP blockとproject instructionsを更新します。完全一致の旧managed blockは自動更新します。
|
|
15
|
+
unmanagedまたは改変されたidentityは対話確認が必要で、JSON・非対話・dry-run自動化では設定を変えずfail closedします。
|
|
16
|
+
|
|
17
|
+
runtime、model、vectorに障害があってもlexical検索と既存vectorは利用できます。`status`と`doctor --json`でcoverageとhealthを確認します。
|
|
18
|
+
embedding設定は環境変数ではなくSQLiteに保存します。
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Semantic retrieval
|
|
2
|
+
|
|
3
|
+
Lexical retrieval works in the lightweight install. Semantic retrieval is an
|
|
4
|
+
optional local `local-small` embedding profile.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
kiokuko embeddings setup
|
|
8
|
+
kiokuko embeddings status --json
|
|
9
|
+
kiokuko embeddings repair
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Setup installs only the pinned runtime and verifies every artifact before loading
|
|
13
|
+
it. `--offline` requires an already verified local installation; `--dry-run` does
|
|
14
|
+
not download, write, or change the active profile; `--replace` switches from a
|
|
15
|
+
different active profile. Model weights are not included in the npm package.
|
|
16
|
+
|
|
17
|
+
The command also runs the normal client setup flow: managed MCP blocks and project
|
|
18
|
+
instructions are refreshed. Exact old managed blocks are upgraded automatically.
|
|
19
|
+
An unmanaged or tampered identity requires interactive confirmation; JSON,
|
|
20
|
+
non-interactive, and dry-run automation fails closed with no configuration change.
|
|
21
|
+
|
|
22
|
+
If the local runtime, model, or vectors are unavailable, lexical retrieval and old
|
|
23
|
+
vectors remain usable. `status` and `doctor --json` expose coverage and health.
|
|
24
|
+
Embedding configuration is stored in SQLite, not environment variables. Platform-
|
|
25
|
+
specific runtime installation details and allowlists are kept in the implementation
|
|
26
|
+
references and release checks.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# SQLite driver ADR
|
|
2
|
+
|
|
3
|
+
Kiokuko keeps JavaScript exact-cosine search as the portable fallback and uses
|
|
4
|
+
the package-owned sqlite-vec extension only when the configured backend is
|
|
5
|
+
`auto` or `sqlite-vec` and the extension loads successfully. The setup model
|
|
6
|
+
and embedding profile are independent of that backend choice. Extension
|
|
7
|
+
loading is disabled immediately after a successful load, and user-provided
|
|
8
|
+
native extension paths are not accepted.
|