kiokuko-dsh 0.2.1 → 0.2.3
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/PERMISSIONS.md +21 -28
- package/README.ja.md +8 -6
- package/README.md +12 -6
- package/THIRD_PARTY_NOTICES.md +8 -0
- package/dist/client.cjs +2248 -1383
- package/dist/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/context/continuity-view.d.ts +1 -1
- package/dist/deep-thinker/configuration.d.ts.map +1 -1
- package/dist/deep-thinker/configuration.js +8 -5
- package/dist/deep-thinker/configuration.js.map +1 -1
- package/dist/deep-thinker/core/contracts.d.ts +107 -13
- package/dist/deep-thinker/core/contracts.d.ts.map +1 -1
- package/dist/deep-thinker/core/contracts.js +4 -2
- package/dist/deep-thinker/core/contracts.js.map +1 -1
- package/dist/deep-thinker/memory-finalizer.d.ts +10 -10
- package/dist/deep-thinker/memory-finalizer.js +2 -2
- package/dist/deep-thinker/memory-finalizer.js.map +1 -1
- package/dist/deep-thinker/report.d.ts +1 -1
- package/dist/deep-thinker/store.d.ts +10 -10
- package/dist/deep-thinker/store.d.ts.map +1 -1
- package/dist/deep-thinker/store.js +2 -2
- package/dist/deep-thinker/store.js.map +1 -1
- package/dist/dsh/coding-workflow/contracts.d.ts +120 -0
- package/dist/dsh/coding-workflow/contracts.d.ts.map +1 -0
- package/dist/dsh/coding-workflow/contracts.js +77 -0
- package/dist/dsh/coding-workflow/contracts.js.map +1 -0
- package/dist/dsh/coding-workflow/host.d.ts +41 -0
- package/dist/dsh/coding-workflow/host.d.ts.map +1 -0
- package/dist/dsh/coding-workflow/host.js +235 -0
- package/dist/dsh/coding-workflow/host.js.map +1 -0
- package/dist/dsh/coding-workflow/intent.d.ts +15 -0
- package/dist/dsh/coding-workflow/intent.d.ts.map +1 -0
- package/dist/dsh/coding-workflow/intent.js +86 -0
- package/dist/dsh/coding-workflow/intent.js.map +1 -0
- package/dist/dsh/coding-workflow/service.d.ts +155 -0
- package/dist/dsh/coding-workflow/service.d.ts.map +1 -0
- package/dist/dsh/coding-workflow/service.js +282 -0
- package/dist/dsh/coding-workflow/service.js.map +1 -0
- package/dist/dsh/coding-workflow/store.d.ts +17 -0
- package/dist/dsh/coding-workflow/store.d.ts.map +1 -0
- package/dist/dsh/coding-workflow/store.js +77 -0
- package/dist/dsh/coding-workflow/store.js.map +1 -0
- package/dist/dsh/completion-verifiers.d.ts +39 -0
- package/dist/dsh/completion-verifiers.d.ts.map +1 -0
- package/dist/dsh/completion-verifiers.js +9 -0
- package/dist/dsh/completion-verifiers.js.map +1 -0
- package/dist/dsh/config.d.ts +5 -1
- package/dist/dsh/config.d.ts.map +1 -1
- package/dist/dsh/core/host.d.ts +1 -1
- package/dist/dsh/core/host.d.ts.map +1 -1
- package/dist/dsh/core/host.js +97 -11
- package/dist/dsh/core/host.js.map +1 -1
- package/dist/dsh/core/index.d.ts +4 -4
- package/dist/dsh/core/index.js +2 -2
- package/dist/dsh/core/index.js.map +1 -1
- package/dist/dsh/core/tasks.d.ts +2 -0
- package/dist/dsh/core/tasks.d.ts.map +1 -1
- package/dist/dsh/core/tasks.js +43 -1
- package/dist/dsh/core/tasks.js.map +1 -1
- package/dist/dsh/core-runtime.d.ts +1 -0
- package/dist/dsh/core-runtime.d.ts.map +1 -1
- package/dist/dsh/core-runtime.js +4 -1
- package/dist/dsh/core-runtime.js.map +1 -1
- package/dist/dsh/decisions/config.d.ts +2 -2
- package/dist/dsh/enno-delegation.js +2 -2
- package/dist/dsh/enno-delegation.js.map +1 -1
- package/dist/dsh/execution-command.d.ts +4 -0
- package/dist/dsh/execution-command.d.ts.map +1 -0
- package/dist/dsh/execution-command.js +52 -0
- package/dist/dsh/execution-command.js.map +1 -0
- package/dist/dsh/execution-journal.d.ts +17 -0
- package/dist/dsh/execution-journal.d.ts.map +1 -0
- package/dist/dsh/execution-journal.js +69 -0
- package/dist/dsh/execution-journal.js.map +1 -0
- package/dist/dsh/execution-result.d.ts +20 -0
- package/dist/dsh/execution-result.d.ts.map +1 -0
- package/dist/dsh/execution-result.js +7 -0
- package/dist/dsh/execution-result.js.map +1 -0
- package/dist/dsh/execution-selection.d.ts +150 -23
- package/dist/dsh/execution-selection.d.ts.map +1 -1
- package/dist/dsh/execution-selection.js +18 -6
- package/dist/dsh/execution-selection.js.map +1 -1
- package/dist/dsh/host-adapter/admission.d.ts.map +1 -1
- package/dist/dsh/host-adapter/admission.js +33 -22
- package/dist/dsh/host-adapter/admission.js.map +1 -1
- package/dist/dsh/host-adapter/boundaries.d.ts.map +1 -1
- package/dist/dsh/host-adapter/boundaries.js +2 -0
- package/dist/dsh/host-adapter/boundaries.js.map +1 -1
- package/dist/dsh/host-adapter/context.d.ts.map +1 -1
- package/dist/dsh/host-adapter/context.js +18 -13
- package/dist/dsh/host-adapter/context.js.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.d.ts.map +1 -1
- package/dist/dsh/host-adapter/lifecycle.js +12 -0
- package/dist/dsh/host-adapter/lifecycle.js.map +1 -1
- package/dist/dsh/host-adapter/routing.js +1 -1
- package/dist/dsh/host-adapter/routing.js.map +1 -1
- package/dist/dsh/host-adapter/turn-state.js +1 -1
- package/dist/dsh/host-adapter/turn-state.js.map +1 -1
- package/dist/dsh/host-adapter.d.ts.map +1 -1
- package/dist/dsh/host-adapter.js +61 -18
- package/dist/dsh/host-adapter.js.map +1 -1
- package/dist/dsh/index.d.ts +4 -2
- package/dist/dsh/index.d.ts.map +1 -1
- package/dist/dsh/index.js +7 -0
- package/dist/dsh/index.js.map +1 -1
- package/dist/dsh/intake-gate.d.ts +1 -0
- package/dist/dsh/intake-gate.d.ts.map +1 -1
- package/dist/dsh/intake-gate.js +9 -1
- package/dist/dsh/intake-gate.js.map +1 -1
- package/dist/dsh/lisp/approval.d.ts +2 -1
- package/dist/dsh/lisp/approval.d.ts.map +1 -1
- package/dist/dsh/lisp/approval.js +4 -3
- package/dist/dsh/lisp/approval.js.map +1 -1
- package/dist/dsh/lisp/candidate.d.ts +1 -1
- package/dist/dsh/lisp/code-intelligence-contracts.d.ts +78 -0
- package/dist/dsh/lisp/code-intelligence-contracts.d.ts.map +1 -0
- package/dist/dsh/lisp/code-intelligence-contracts.js +54 -0
- package/dist/dsh/lisp/code-intelligence-contracts.js.map +1 -0
- package/dist/dsh/lisp/code-intelligence-provider.d.ts +116 -0
- package/dist/dsh/lisp/code-intelligence.d.ts +13 -0
- package/dist/dsh/lisp/code-intelligence.d.ts.map +1 -0
- package/dist/dsh/lisp/code-intelligence.js +181 -0
- package/dist/dsh/lisp/code-intelligence.js.map +1 -0
- package/dist/dsh/lisp/coding-choice.d.ts +4 -1
- package/dist/dsh/lisp/coding-choice.d.ts.map +1 -1
- package/dist/dsh/lisp/coding-choice.js +26 -10
- package/dist/dsh/lisp/coding-choice.js.map +1 -1
- package/dist/dsh/lisp/compiled-cache.d.ts.map +1 -1
- package/dist/dsh/lisp/compiled-cache.js +3 -2
- package/dist/dsh/lisp/compiled-cache.js.map +1 -1
- package/dist/dsh/lisp/contracts.d.ts +4 -0
- package/dist/dsh/lisp/contracts.d.ts.map +1 -1
- package/dist/dsh/lisp/contracts.js +1 -0
- package/dist/dsh/lisp/contracts.js.map +1 -1
- package/dist/dsh/lisp/manager.d.ts +9 -1
- package/dist/dsh/lisp/manager.d.ts.map +1 -1
- package/dist/dsh/lisp/manager.js +91 -24
- package/dist/dsh/lisp/manager.js.map +1 -1
- package/dist/dsh/lisp/model-result.d.ts.map +1 -1
- package/dist/dsh/lisp/model-result.js +35 -1
- package/dist/dsh/lisp/model-result.js.map +1 -1
- package/dist/dsh/lisp/proposal-batch.d.ts +2 -0
- package/dist/dsh/lisp/proposal-batch.d.ts.map +1 -1
- package/dist/dsh/lisp/proposal-batch.js +32 -2
- package/dist/dsh/lisp/proposal-batch.js.map +1 -1
- package/dist/dsh/lisp/request-surface.d.ts +12 -2
- package/dist/dsh/lisp/request-surface.d.ts.map +1 -1
- package/dist/dsh/lisp/request-surface.js +1 -1
- package/dist/dsh/lisp/request-surface.js.map +1 -1
- package/dist/dsh/lisp/sandbox.d.ts +3 -0
- package/dist/dsh/lisp/sandbox.d.ts.map +1 -1
- package/dist/dsh/lisp/sandbox.js +13 -6
- package/dist/dsh/lisp/sandbox.js.map +1 -1
- package/dist/dsh/lisp/surface.d.ts +1 -1
- package/dist/dsh/lisp/surface.d.ts.map +1 -1
- package/dist/dsh/lisp/surface.js +118 -23
- package/dist/dsh/lisp/surface.js.map +1 -1
- package/dist/dsh/lisp/worker.d.ts +2 -0
- package/dist/dsh/lisp/worker.d.ts.map +1 -1
- package/dist/dsh/lisp/worker.js +7 -5
- package/dist/dsh/lisp/worker.js.map +1 -1
- package/dist/dsh/lisp-service-key.d.ts +9 -0
- package/dist/dsh/lisp-service-key.d.ts.map +1 -1
- package/dist/dsh/lisp-service-key.js +11 -0
- package/dist/dsh/lisp-service-key.js.map +1 -1
- package/dist/dsh/memory-application.d.ts +1 -1
- package/dist/dsh/memory-application.d.ts.map +1 -1
- package/dist/dsh/memory-application.js +4 -3
- package/dist/dsh/memory-application.js.map +1 -1
- package/dist/dsh/model-auto/candidates.d.ts.map +1 -1
- package/dist/dsh/model-auto/candidates.js +31 -22
- package/dist/dsh/model-auto/candidates.js.map +1 -1
- package/dist/dsh/model-configuration.d.ts +145 -2
- package/dist/dsh/model-configuration.d.ts.map +1 -1
- package/dist/dsh/model-configuration.js +10 -3
- package/dist/dsh/model-configuration.js.map +1 -1
- package/dist/dsh/model-selection-ui.d.ts.map +1 -1
- package/dist/dsh/model-selection-ui.js +7 -2
- package/dist/dsh/model-selection-ui.js.map +1 -1
- package/dist/dsh/models/config-store.d.ts +8 -0
- package/dist/dsh/models/config-store.d.ts.map +1 -0
- package/dist/dsh/models/config-store.js +49 -0
- package/dist/dsh/models/config-store.js.map +1 -0
- package/dist/dsh/models/contracts.d.ts +107 -0
- package/dist/dsh/models/contracts.d.ts.map +1 -0
- package/dist/dsh/models/contracts.js +104 -0
- package/dist/dsh/models/contracts.js.map +1 -0
- package/dist/dsh/models/metadata.d.ts +7 -0
- package/dist/dsh/models/metadata.d.ts.map +1 -0
- package/dist/dsh/models/metadata.js +13 -0
- package/dist/dsh/models/metadata.js.map +1 -0
- package/dist/dsh/models/profiles.d.ts +10 -0
- package/dist/dsh/models/profiles.d.ts.map +1 -0
- package/dist/dsh/models/profiles.js +176 -0
- package/dist/dsh/models/profiles.js.map +1 -0
- package/dist/dsh/models/service.d.ts +97 -0
- package/dist/dsh/models/service.d.ts.map +1 -0
- package/dist/dsh/models/service.js +518 -0
- package/dist/dsh/models/service.js.map +1 -0
- package/dist/dsh/models/surface.d.ts +8 -0
- package/dist/dsh/models/surface.d.ts.map +1 -0
- package/dist/dsh/models/surface.js +162 -0
- package/dist/dsh/models/surface.js.map +1 -0
- package/dist/dsh/models/vendor/THIRD_PARTY_NOTICES.txt +134 -0
- package/dist/dsh/models/vendor/abortable.d.ts +3 -0
- package/dist/dsh/models/vendor/abortable.d.ts.map +1 -0
- package/dist/dsh/models/vendor/abortable.js +10 -0
- package/dist/dsh/models/vendor/abortable.js.map +1 -0
- package/dist/dsh/models/vendor/auth-contract.d.ts +67 -0
- package/dist/dsh/models/vendor/auth-contract.d.ts.map +1 -0
- package/dist/dsh/models/vendor/auth-contract.js +2 -0
- package/dist/dsh/models/vendor/auth-contract.js.map +1 -0
- package/dist/dsh/models/vendor/credentials.d.ts +58 -0
- package/dist/dsh/models/vendor/credentials.d.ts.map +1 -0
- package/dist/dsh/models/vendor/credentials.js +205 -0
- package/dist/dsh/models/vendor/credentials.js.map +1 -0
- package/dist/dsh/models/vendor/nous-oauth.d.ts +6 -0
- package/dist/dsh/models/vendor/nous-oauth.d.ts.map +1 -0
- package/dist/dsh/models/vendor/nous-oauth.js +113 -0
- package/dist/dsh/models/vendor/nous-oauth.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-adapter.d.ts +38 -0
- package/dist/dsh/models/vendor/opencode-adapter.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-adapter.js +207 -0
- package/dist/dsh/models/vendor/opencode-adapter.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-catalog.d.ts +73 -0
- package/dist/dsh/models/vendor/opencode-catalog.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-catalog.js +253 -0
- package/dist/dsh/models/vendor/opencode-catalog.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-codec.d.ts +7 -0
- package/dist/dsh/models/vendor/opencode-codec.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-codec.js +107 -0
- package/dist/dsh/models/vendor/opencode-codec.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-owned.generated.d.ts +114 -0
- package/dist/dsh/models/vendor/opencode-owned.generated.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-owned.generated.js +2867 -0
- package/dist/dsh/models/vendor/opencode-owned.generated.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-replay.d.ts +17 -0
- package/dist/dsh/models/vendor/opencode-replay.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-replay.js +147 -0
- package/dist/dsh/models/vendor/opencode-replay.js.map +1 -0
- package/dist/dsh/models/vendor/opencode-sdk.d.ts +6 -0
- package/dist/dsh/models/vendor/opencode-sdk.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-sdk.js +49915 -0
- package/dist/dsh/models/vendor/opencode-sdk.js.map +7 -0
- package/dist/dsh/models/vendor/opencode-transport.d.ts +6 -0
- package/dist/dsh/models/vendor/opencode-transport.d.ts.map +1 -0
- package/dist/dsh/models/vendor/opencode-transport.js +70 -0
- package/dist/dsh/models/vendor/opencode-transport.js.map +1 -0
- package/dist/dsh/models/vendor/pi-ai.d.ts +23 -0
- package/dist/dsh/models/vendor/pi-ai.d.ts.map +1 -0
- package/dist/dsh/models/vendor/pi-ai.js +27 -0
- package/dist/dsh/models/vendor/pi-ai.js.map +1 -0
- package/dist/dsh/modules/lisp.d.ts +1 -1
- package/dist/dsh/modules/lisp.d.ts.map +1 -1
- package/dist/dsh/modules/lisp.js +2 -13
- package/dist/dsh/modules/lisp.js.map +1 -1
- package/dist/dsh/modules/resources.d.ts +3 -1
- package/dist/dsh/modules/resources.d.ts.map +1 -1
- package/dist/dsh/modules/resources.js +4 -0
- package/dist/dsh/modules/resources.js.map +1 -1
- package/dist/dsh/native-model-catalog.d.ts.map +1 -1
- package/dist/dsh/native-model-catalog.js +4 -3
- package/dist/dsh/native-model-catalog.js.map +1 -1
- package/dist/dsh/node-tap-summary.d.ts +8 -1
- package/dist/dsh/node-tap-summary.d.ts.map +1 -1
- package/dist/dsh/node-tap-summary.js +33 -3
- package/dist/dsh/node-tap-summary.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts +1 -1
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +35 -14
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/dsh/owned-evidence.d.ts +49 -0
- package/dist/dsh/owned-evidence.d.ts.map +1 -0
- package/dist/dsh/owned-evidence.js +69 -0
- package/dist/dsh/owned-evidence.js.map +1 -0
- package/dist/dsh/owned-execution.d.ts +99 -0
- package/dist/dsh/owned-execution.d.ts.map +1 -0
- package/dist/dsh/owned-execution.js +558 -0
- package/dist/dsh/owned-execution.js.map +1 -0
- package/dist/dsh/plan-transition.d.ts +5 -0
- package/dist/dsh/plan-transition.d.ts.map +1 -0
- package/dist/dsh/plan-transition.js +34 -0
- package/dist/dsh/plan-transition.js.map +1 -0
- package/dist/dsh/session-memory-finalizer.d.ts.map +1 -1
- package/dist/dsh/session-memory-finalizer.js +46 -3
- package/dist/dsh/session-memory-finalizer.js.map +1 -1
- package/dist/dsh/setup.d.ts +1 -1
- package/dist/dsh/setup.d.ts.map +1 -1
- package/dist/dsh/setup.js +2 -0
- package/dist/dsh/setup.js.map +1 -1
- package/dist/dsh/skill-prompts.json +1 -1
- package/dist/dsh/task-completion-host.js +3 -3
- package/dist/dsh/task-completion-host.js.map +1 -1
- package/dist/dsh/task-completion.d.ts +17 -0
- package/dist/dsh/task-completion.d.ts.map +1 -1
- package/dist/dsh/task-completion.js +144 -38
- package/dist/dsh/task-completion.js.map +1 -1
- package/dist/dsh/task-intake.d.ts.map +1 -1
- package/dist/dsh/task-intake.js +7 -0
- package/dist/dsh/task-intake.js.map +1 -1
- package/dist/enno-oduno/coding-workflow.d.ts +39 -0
- package/dist/enno-oduno/coding-workflow.d.ts.map +1 -0
- package/dist/enno-oduno/coding-workflow.js +33 -0
- package/dist/enno-oduno/coding-workflow.js.map +1 -0
- package/dist/enno-oduno/schemas.d.ts +10 -10
- package/dist/enno-oduno/store.d.ts.map +1 -1
- package/dist/enno-oduno/store.js +56 -1
- package/dist/enno-oduno/store.js.map +1 -1
- package/dist/enno-oduno/types.d.ts +1 -0
- package/dist/enno-oduno/types.d.ts.map +1 -1
- package/dist/enno-oduno/verifier.d.ts.map +1 -1
- package/dist/enno-oduno/verifier.js +4 -1
- package/dist/enno-oduno/verifier.js.map +1 -1
- package/dist/locale/en.json +1 -1
- package/dist/locale/ja.json +1 -1
- package/dist/locale/ko.json +1 -1
- package/dist/locale/zh-CN.json +1 -1
- package/dist/memory/application.d.ts +2 -1
- package/dist/memory/application.d.ts.map +1 -1
- package/dist/memory/application.js +26 -12
- package/dist/memory/application.js.map +1 -1
- package/dist/memory/evidence.d.ts +2 -0
- package/dist/memory/evidence.d.ts.map +1 -1
- package/dist/memory/evidence.js +3 -1
- package/dist/memory/evidence.js.map +1 -1
- package/dist/model-tools/contracts.d.ts +4 -4
- package/dist/models-client.cjs +635 -0
- package/dist/models-client.d.ts +26 -0
- package/dist/models-client.d.ts.map +1 -0
- package/dist/models-client.js +642 -0
- package/dist/models-client.js.map +1 -0
- package/docs/code-intelligence.md +149 -0
- package/docs/coding-workflow.md +45 -0
- package/docs/dsh-auth-LICENSE.txt +22 -0
- package/docs/dsh-auth-provenance.md +25 -0
- package/docs/dsh-plugin.md +19 -0
- package/docs/execution-support.md +4 -0
- package/docs/kiokuko-models.md +66 -0
- package/docs/lisp-hot-tools.md +2 -2
- package/docs/lisp.md +112 -63
- package/docs/model-selection.ja.md +7 -9
- package/docs/model-selection.md +14 -12
- package/docs/owned-execution.md +99 -0
- package/lisp/supervisor.mjs +8 -2
- package/lisp/tools.lisp +31 -3
- package/migrations/035_owned_execution.sql +19 -0
- package/migrations/036_coding_workflow.sql +26 -0
- package/package.json +47 -12
- package/skills/coding-ideal-routine-skill/SKILL.md +6 -0
- package/skills/kiokuko-lisp/SKILL.md +53 -67
- package/skills/kiokuko-soul/SKILL.md +7 -28
- package/skills/one-shot-software-completion/SKILL.md +5 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-client.js","sourceRoot":"","sources":["../src/models-client.ts"],"names":[],"mappings":"AAkCA,SAAS,SAAS,CAAC,KAAc;IAC/B,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC;AACD,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU,CAAC;AACnD,MAAM,UAAU,KAAK,CAAC,GAAqB;IACzC,iBAAiB,CAAC,GAAG,CAAC,CAAC;AACzB,CAAC;AAED,MAAM,SAAS,GAAG,gBAAgB,CAAC;AACnC,MAAM,yBAAyB,GAAsC;IACnE,MAAM,EAAE,CAAC,YAAY,EAAE,2BAA2B,EAAE,WAAW,CAAC;IAChE,KAAK,EAAE,CAAC,OAAO,EAAE,uCAAuC,EAAE,WAAW,CAAC;IACtE,MAAM,EAAE,CAAC,QAAQ,EAAE,2BAA2B,EAAE,UAAU,CAAC;IAC3D,GAAG,EAAE,CAAC,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,CAAC;IACvD,QAAQ,EAAE,CAAC,UAAU,EAAE,6BAA6B,EAAE,kBAAkB,CAAC;IACzE,QAAQ,EAAE,CAAC,c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;QAC7B,EAAE,EAAE,EAAE,YAAY,EAAE,gBAAgB,EAAE;QACtC,EAAE,EAAE,EAAE,YAAY,EAAE,gBAAgB,EAAE;KACvC,CAAe,EAClB,uBAAuB,CACxB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Optional code intelligence
|
|
2
|
+
|
|
3
|
+
Kiokuko's `kioku.code` API consumes `CodeIntelligenceServiceV1` in the calling
|
|
4
|
+
agent's service realm. Tree-sitter, grammars, snapshots and language servers
|
|
5
|
+
belong to `@askdkc/dsh-lsp-server`. Core alone does not load them.
|
|
6
|
+
|
|
7
|
+
The published provider 0.1.12 does not expose V1. This repository includes a
|
|
8
|
+
[reproducible local upstream patch](../patches/code-intelligence/README.md), not a
|
|
9
|
+
published replacement. Installing the registry's 0.1.12 alone returns
|
|
10
|
+
`unavailable` with `provider_missing`; it does not enable this API.
|
|
11
|
+
|
|
12
|
+
## macOS
|
|
13
|
+
|
|
14
|
+
Use Node >=24.16.0 and install SBCL:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
brew install sbcl
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The local acceptance path was exercised on macOS 27.0.1 arm64, Node 26.5.0,
|
|
21
|
+
SBCL 2.6.8, DSH 0.2.1-alpha.2, Cordis 4.0.5-alpha.1 and CLI 0.14.4. Both
|
|
22
|
+
development and the native Seatbelt-protected Lisp path are tested. A failed
|
|
23
|
+
sandbox probe keeps protected mode unavailable; it does not downgrade isolation.
|
|
24
|
+
|
|
25
|
+
## Ubuntu 26.04
|
|
26
|
+
|
|
27
|
+
Use Node >=24.16.0 and install the development prerequisites:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
sudo apt update
|
|
31
|
+
sudo apt install sbcl git python3 build-essential
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The Ubuntu 26.04 CI job runs development-mode source and packed acceptance.
|
|
35
|
+
That job has not been executed in this local macOS checkout. Linux protected
|
|
36
|
+
mode needs the existing Bubblewrap, namespace and seccomp probes; this guide
|
|
37
|
+
does not claim a verified Ubuntu protected configuration.
|
|
38
|
+
|
|
39
|
+
## Arch Linux
|
|
40
|
+
|
|
41
|
+
Use Node >=24.16.0 and install the development prerequisites:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
sudo pacman -Syu sbcl git python base-devel
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The Arch CI job runs the same development-mode source and packed acceptance.
|
|
48
|
+
That job has not been executed locally. Protected mode remains subject to the
|
|
49
|
+
existing Linux sandbox probes and separate acceptance.
|
|
50
|
+
|
|
51
|
+
## Prepare and test the local preview
|
|
52
|
+
|
|
53
|
+
Run these from this repository after its dependencies and the existing pinned
|
|
54
|
+
`tests/fixtures/dsh-runtime` dependencies are installed:
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
node scripts/prepare-code-provider.mjs
|
|
58
|
+
npm run test:code-intelligence
|
|
59
|
+
npm run test:code-intelligence:packed
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
On an environment where only development is being tested:
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
npm run test:code-intelligence -- --development-only
|
|
66
|
+
npm run test:code-intelligence:packed -- --development-only
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Preparation uses the reviewed official provider base and verifies the consumer
|
|
70
|
+
contract against it. It does not reset an existing checkout. The packed recipe
|
|
71
|
+
creates `.artifacts/code-intelligence/profile`, installs local provider/suite
|
|
72
|
+
tarballs with scripts disabled, verifies actual DSH bundle discovery, then mounts
|
|
73
|
+
CLI 0.14.4's host services and invokes the public Lisp tools. This is an isolated
|
|
74
|
+
acceptance fixture, without model credentials or the interactive TUI. It does not
|
|
75
|
+
change a live profile or prove a live browser session.
|
|
76
|
+
|
|
77
|
+
## Activate a chosen profile
|
|
78
|
+
|
|
79
|
+
For Web, use the existing `web` profile. For CLI, use the existing `dsh-cli`
|
|
80
|
+
profile and its intended preset. Add both local artifacts to that same profile:
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
dsh plugin --profile web add "kiokuko-dsh@file:/absolute/path/to/suite.tgz"
|
|
84
|
+
dsh plugin --profile web add "@askdkc/dsh-lsp-server@file:/absolute/path/to/provider.tgz"
|
|
85
|
+
dsh --profile web --dump-config
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
For CLI replace `web` with `dsh-cli`, inspect the resulting preset rows, then
|
|
89
|
+
start `dsh --profile dsh-cli`. The preview tarballs are under
|
|
90
|
+
`.artifacts/code-intelligence/pack-suite` and `pack-provider`; use the actual
|
|
91
|
+
generated filenames. These are manual profile-changing commands, not actions
|
|
92
|
+
performed by the acceptance recipe. Do not install Tree-sitter or another
|
|
93
|
+
TypeScript server into Kiokuko.
|
|
94
|
+
|
|
95
|
+
Enable Lisp with `/kioku-lisp enable` in the intended session. First evaluate:
|
|
96
|
+
|
|
97
|
+
```lisp
|
|
98
|
+
(kioku.code:capabilities)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
An accepted response reports `sourceKinds`, `limits`, `queryIds` and
|
|
102
|
+
`languageCapabilities`. Grammar support and negotiated semantic support are
|
|
103
|
+
separate. Capability inspection does not start a server: `server_not_ready`
|
|
104
|
+
can be reported until a semantic request starts and negotiates it. Missing
|
|
105
|
+
grammars and unconfigured languages remain unsupported. The preview distributes
|
|
106
|
+
JS, JSX, TS and TSX; it does not claim PHP, Blade, Svelte or Rust grammar support.
|
|
107
|
+
PHPantom and rust-analyzer remain prerequisites for their existing provider APIs.
|
|
108
|
+
|
|
109
|
+
Use [the bounded aggregation example](lisp.md#read-only-code-intelligence):
|
|
110
|
+
select files, obtain outlines, filter/count in Lisp, and request only chosen
|
|
111
|
+
spans or semantic results. Include processed/unprocessed counts, failures,
|
|
112
|
+
omissions and snapshot versions. A `partial` count is not the total population.
|
|
113
|
+
|
|
114
|
+
## Updates, disable and recovery
|
|
115
|
+
|
|
116
|
+
Use the ordinary plugin update mechanism for a released V1-compatible provider.
|
|
117
|
+
For this local preview, prepare reviewed source, rebuild/repack and explicitly
|
|
118
|
+
replace its local artifact. Restart/reload the owning profile and recheck
|
|
119
|
+
capabilities. Never restore saved handles: each evaluation owns and releases its
|
|
120
|
+
live snapshots. An unknown provider major version is rejected.
|
|
121
|
+
|
|
122
|
+
Disable Lisp with `/kioku-lisp disable` before removing the optional provider:
|
|
123
|
+
|
|
124
|
+
```sh
|
|
125
|
+
dsh plugin --profile dsh-cli remove @askdkc/dsh-lsp-server
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Choose `web` for the Web profile. Existing protected session fences remain
|
|
129
|
+
fail-closed after plugin disposal; removing a plugin does not authorize generic
|
|
130
|
+
tools. CLI also denies child-session generic tools under a protected parent
|
|
131
|
+
fence in development mode. A child cannot borrow its parent's code lease.
|
|
132
|
+
|
|
133
|
+
| Outcome | Next action |
|
|
134
|
+
| --- | --- |
|
|
135
|
+
| `unavailable`, missing service/version | Check the intended realm and installed provider's V1 contract; reload the profile. |
|
|
136
|
+
| `unsupported`, grammar or semantic capability | Choose a supported language/operation; do not substitute another parser or tool. |
|
|
137
|
+
| Semantic unready or `timeout` | Check configured server readiness and retry in a new bounded evaluation. No diagnostics publication means no verified clean result. |
|
|
138
|
+
| `stale` | Explicitly reopen the source in a new evaluation after checking the current workspace/checkout. |
|
|
139
|
+
| Scope/identity denial | Restore the owning session/provider; do not change root or owner arguments. |
|
|
140
|
+
| `limit_exceeded` or `partial` | Reduce files, captures or spans; retain omission metadata. |
|
|
141
|
+
|
|
142
|
+
All snapshots are disk-only, zero-based UTF-16 and half-open. Linked Git worktree
|
|
143
|
+
metadata outside the scoped filesystem is unavailable; no raw filesystem fallback
|
|
144
|
+
is used. Ordinary Git loose and packed refs are checked for checkout changes.
|
|
145
|
+
|
|
146
|
+
Run `npm run test:code-intelligence:benchmark` for the fixed comparison corpus.
|
|
147
|
+
It measures host time/RSS, serialized payload bytes and round trips. It does not
|
|
148
|
+
measure model tokens, model correctness or child language-server RSS, and does
|
|
149
|
+
not guarantee a speedup or lower memory use.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Goal-driven coding in DSH
|
|
2
|
+
|
|
3
|
+
An explicit request to implement or repair code starts a task-bound workflow. Questions, explanations, quotations, undecided alternatives and plan-only requests retain the conversation/read-only path. Classification is advisory and cannot authorize an unrequested change.
|
|
4
|
+
|
|
5
|
+
Before the first implementation effect the agent defines an ideal Goal, implementation items and dependencies, observable item criteria, and a separate final check through the user's ordinary entry point. The host presents these together and asks **このタスクで Lisp モードを使いますか?**
|
|
6
|
+
|
|
7
|
+
- **使う** permits Lisp for this task. SBCL and the enabled Lisp module must be available. Startup failures remain visible blockers.
|
|
8
|
+
- **使わない** uses ordinary tools and the same completion conditions. SBCL is unnecessary.
|
|
9
|
+
- **取消・作業を保持** cancels dispatch while preserving definitions and existing results.
|
|
10
|
+
|
|
11
|
+
Closing, an empty answer, a disconnected client or missing question service leaves the choice pending. Conversation, reads and status remain available. `coding_workflow next` reopens the same pending question. A new task or material scope change gets a new question. Existing Lisp runtime/approval settings never answer it. Manual `/kioku-lisp enable`, `enable-task` or `disable` changes an already defined current task explicitly, invalidating its old evidence; it cannot bypass an undefined Goal.
|
|
12
|
+
|
|
13
|
+
After the choice, the agent follows dependency-ready items without another approval at every step. Existing Plan, native goal/ownership and destructive-effect approval rules still apply. Normal/Enno selection remains separate from Lisp selection. Enno projects its authoritative ideal, WorkUnits and focused/final verifiers into the common view; it cannot submit a competing Goal.
|
|
14
|
+
|
|
15
|
+
## Model-facing API
|
|
16
|
+
|
|
17
|
+
`coding_workflow` is a new control tool. `status` returns the workflow, derived item states, assessment and next safe action. `propose` registers the full definition atomically. `revise` requires the current `expectedRevision`, stable IDs and increased revisions for changed conditions. `next` returns a dependency-ready item or pending/blocker/final-check state. `report_blocker` records the affected criteria, cause, necessary input/environment, recovery attempts and resume condition. These operations cannot write Lisp answers or satisfied verdicts.
|
|
18
|
+
|
|
19
|
+
The existing `task_completion status/bind` API exposes stable criterion IDs such as `coding:<workflowId>:regression`. Bind a verification method before executing it:
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"action": "bind",
|
|
24
|
+
"criterionId": "coding:<workflowId>:regression",
|
|
25
|
+
"method": {
|
|
26
|
+
"kind": "native_command",
|
|
27
|
+
"command": "node --test --test-reporter=tap src/parser.test.mjs",
|
|
28
|
+
"cwd": ".",
|
|
29
|
+
"sourcePaths": ["src/parser.mjs", "src/parser.test.mjs"],
|
|
30
|
+
"assertion": "selected_tests_pass"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Run the bound command through `kioku_exec` or the selected Lisp process API. Their actual host process results enter the same evidence ledger. A native tool's self-reported JSON cannot mint host proof. Output assertions require `output_matches` with the exact literal `expectedOutput` (line endings and trailing whitespace are normalized); artifact assertions require `artifact_matches` with `artifactPath` and `artifactSha256`. Browser criteria use a bound selected test that drives a real browser and asserts visible outcomes.
|
|
36
|
+
|
|
37
|
+
All item checks must pass before a **new execution** of the final Goal check. Reusing an earlier item result cannot satisfy it. Related source paths, package/configuration/lockfiles, runtime identity, criterion revisions and scope determine freshness. Add generated/installed artifact paths to `sourcePaths` when they affect the behavior. No-op suites, zero explicit cases, skips, missing output, unsuccessful child processes, interruption and untrusted results remain unmet or unknown. A nonempty test case still needs meaningful assertions: the host cannot prove an arbitrary test's specification quality.
|
|
38
|
+
|
|
39
|
+
Completion is enforced for new coding workflows. Legacy runs without workflow records retain their previous completion mode and never acquire a fabricated Lisp choice. Incomplete coding runs remain active; cancellation/failure records are still permitted. Inspect `status` for what remains rather than trusting a final model sentence.
|
|
40
|
+
|
|
41
|
+
## Recovery and verification
|
|
42
|
+
|
|
43
|
+
Definitions, task answers, CAS revisions and replay receipts are durable. Exact retries return stored results; changed input under an existing call ID conflicts. Owned execution journals preserve operation identities and return unknown after a crash instead of repeating an uncertain effect. Inspect the actual files/processes/receipts before deciding a recovery. Scope changes and cancellation invalidate late evidence. Repeated unchanged verification failures have backoff and a resumable retry-budget blocker; repair the bound sources or environment before retrying.
|
|
44
|
+
|
|
45
|
+
Run `npm run test:ci:unit`, `npm run test:ci:integration`, `npm run test:ci:lisp`, and `npm run test:ci:coding:web`. The Web acceptance packs the plugin, installs it into a disposable native DSH profile and uses Chromium. Native generation is scripted: these tests verify tool transport, user choice, real effects and observed completion; they do not certify a particular live model's reasoning.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ccch1mneyyy
|
|
4
|
+
Copyright (c) 2026 dkc (askdkc)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Vendored dsh-auth source
|
|
2
|
+
|
|
3
|
+
Source: https://github.com/askdkc/dsh-cli/tree/348082d873f563ed76ec7a70f2ff717038d5fe70/dsh-auth
|
|
4
|
+
Revision: `348082d873f563ed76ec7a70f2ff717038d5fe70`.
|
|
5
|
+
License: MIT, reproduced in [dsh-auth-LICENSE.txt](dsh-auth-LICENSE.txt).
|
|
6
|
+
|
|
7
|
+
`src/dsh/models/vendor/` contains the required credential persistence, authentication
|
|
8
|
+
contracts, Pi catalog bridge, Nous OAuth flow, cancellation helpers and OpenCode
|
|
9
|
+
catalog/transport/codec/replay/SDK adapter sources. The upstream command and UI services
|
|
10
|
+
are excluded: Kiokuko owns its Web management service and does not register TUI `/auth`.
|
|
11
|
+
|
|
12
|
+
Local changes: relative imports target the vendored directory; Nous depends on the
|
|
13
|
+
structural AuthInteraction interface; optional properties use conditional spreads for
|
|
14
|
+
Kiokuko's exactOptionalPropertyTypes; catalog optional state types are explicit.
|
|
15
|
+
Credential JSON parse diagnostics omit underlying content to avoid secret disclosure.
|
|
16
|
+
The canonical storage format/path/keys, file lock, atomic write, permissions and OAuth
|
|
17
|
+
refresh behavior are retained. No pre-existing credential migration is performed.
|
|
18
|
+
|
|
19
|
+
The SDK transport is bundled by `scripts/build-model-transports.mjs` from the pinned
|
|
20
|
+
AI SDK development dependencies. Each bundled dependency's license is collected in
|
|
21
|
+
`dist/dsh/models/vendor/THIRD_PARTY_NOTICES.txt` and shipped in full/modular packages.
|
|
22
|
+
Native DSH/Pi libraries remain host dependencies and are used through their public APIs.
|
|
23
|
+
|
|
24
|
+
Kiokuko's non-vendored service adds profile settings, route identity mapping, human Web
|
|
25
|
+
operations, lifecycle cancellation, immutable prepared adapters and Infron tier hooks.
|
package/docs/dsh-plugin.md
CHANGED
|
@@ -561,3 +561,22 @@ recording. `/kioku-agenticreplay stop`, `list`, `show <run ID>` and
|
|
|
561
561
|
DSH internal events, not a complete replayable HTTP/filesystem capture.
|
|
562
562
|
See [AgenticReplay recording](agenticreplay-recording.md) for configuration, limits, sensitive data,
|
|
563
563
|
storage, disabling and removal.
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
## Optional code-intelligence provider
|
|
567
|
+
|
|
568
|
+
Enable Lisp through the existing session/preset route. Mount a V1-capable
|
|
569
|
+
`@askdkc/dsh-lsp-server` bundle in the same intended preset/service realm; Kiokuko
|
|
570
|
+
uses the calling agent's `codeIntelligence` service, scoped filesystem and process
|
|
571
|
+
services. It never looks up a parent-global provider as a fallback. The V1 contract
|
|
572
|
+
export is side-effect-free and imported only as a type. The checked-in declaration
|
|
573
|
+
is generated from the unreleased provider prerequisite, so optional runtime absence
|
|
574
|
+
does not prevent compilation or startup.
|
|
575
|
+
|
|
576
|
+
The current v0.1.12 registry artifact lacks V1. Use the [local patch recipe](../patches/code-intelligence/README.md)
|
|
577
|
+
for development and review; it does not update your active CLI profile. For an
|
|
578
|
+
installed compatible provider, confirm `(kioku.code:capabilities)` in the actual
|
|
579
|
+
session instead of treating a download, build, or package version as activation.
|
|
580
|
+
The suite and optional Lisp module contain the bridge; the core artifact contains
|
|
581
|
+
neither Lisp code nor parser/server dependencies. See [the API](lisp.md#read-only-code-intelligence)
|
|
582
|
+
for outcomes, scope, disk freshness, budgets, and protected fences.
|
|
@@ -118,3 +118,7 @@ npm run pack:check
|
|
|
118
118
|
| 元の5課題による実モデルの能力比較 | 未実施。課題文・合格条件の提示待ち |
|
|
119
119
|
|
|
120
120
|
全体試験後に、証拠のログ位置を会話全体の再走査からネイティブの追加イベントによる記録へ変更しています。この最終変更は上記の関連試験と実ファイルツール試験で再検証し、配布物も再ビルドしています。実DSH試験のモデルは固定応答であり、実モデルの推論品質の改善を測定した数値ではありません。
|
|
121
|
+
|
|
122
|
+
## Coding Goals and task continuation
|
|
123
|
+
|
|
124
|
+
Explicit coding requests use a durable Goal, implementation-item dependency graph and observable item/final conditions. The host shows them before asking whether to use Lisp for that task. No uses ordinary tools; closed or missing answers stay pending. `coding_workflow status` shows unmet conditions and `next` returns a safe item or reopens the pending question. Say “continue the current task” to recover its saved choice after reconnect or host restart. A different implementation request or material scope revision requires a new choice. Cancellation aborts current dispatch; interrupted effects retain their existing journals and must be reconciled before retry. Completion requires fresh item checks followed by a separate final check through the user entry. See [coding workflow](coding-workflow.md).
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Kiokuko Models
|
|
2
|
+
|
|
3
|
+
In the Web profile, open **Settings → Kiokuko Models**, or enter exactly
|
|
4
|
+
`/kiokuko model` in a chat. The host executes this command without a model request.
|
|
5
|
+
Both entry points use the same panel, including before a native provider is configured.
|
|
6
|
+
|
|
7
|
+
Choose a provider, save the connection, then enter an API key in the masked field
|
|
8
|
+
or choose **Log in** where OAuth is supported by the installed adapter. The browser
|
|
9
|
+
shows the authentication link, device code or manual prompt and a cancellation button.
|
|
10
|
+
Authentication errors require an explicit retry; closing the panel cancels pending login.
|
|
11
|
+
**Log out** also signs the shared credential out of dsh-cli.
|
|
12
|
+
|
|
13
|
+
Supported connections: OpenAI API, Codex, Claude, xAI, DeepSeek, OpenCode Zen/Go,
|
|
14
|
+
OpenRouter, Nous/Hermes, Infron, Ollama and custom connections. OAuth availability
|
|
15
|
+
comes from the installed provider implementation; unsupported flows are not invented.
|
|
16
|
+
Ollama needs no key. Custom connections explicitly select Chat Completions, Responses
|
|
17
|
+
or Messages. Use HTTPS, or HTTP on loopback for a local server. For Messages,
|
|
18
|
+
an origin or API prefix ending in `/v1` is accepted; the SDK adds `/v1/messages`
|
|
19
|
+
once, preserving any preceding path prefix.
|
|
20
|
+
|
|
21
|
+
**Refresh models** imports models with known context and output limits. If discovery
|
|
22
|
+
fails or returns no limits, register the exact model ID and limits manually, then
|
|
23
|
+
save the connection. Search the resulting list. **Use in current chat** only changes
|
|
24
|
+
that idle chat; **Default for new chats** saves the native default for future chats.
|
|
25
|
+
Enno, Deep and model-auto use the same registered adapters and model capabilities.
|
|
26
|
+
An unavailable model is rejected rather than silently substituted.
|
|
27
|
+
|
|
28
|
+
## Infron
|
|
29
|
+
|
|
30
|
+
The default endpoint is `https://llm.onerouter.pro/v1`, using Chat Completions.
|
|
31
|
+
Select **Service tier → Standard / Flex**; the default is Standard. Kiokuko sends
|
|
32
|
+
`provider: {service_tier: "standard" | "flex"}` at the top level of the request body.
|
|
33
|
+
It never sends an `extra_body` wrapper, changes tier on a failed request, or adds this
|
|
34
|
+
field to other providers. A prepared request keeps its tier through retries even if
|
|
35
|
+
settings change. The panel distinguishes the next requested tier from the last
|
|
36
|
+
request and its reported served tier. Missing response metadata means **unknown**;
|
|
37
|
+
Flex can be served as Standard by Infron.
|
|
38
|
+
|
|
39
|
+
## Storage and permissions
|
|
40
|
+
|
|
41
|
+
Non-secret connection settings live in `kiokuko-models.json` under the active profile
|
|
42
|
+
directory. Changes use a revision check, a file lock and atomic replacement. Credentials
|
|
43
|
+
share dsh-auth's `$DSH_HOME/dsh-auth/credentials.json` location (normally
|
|
44
|
+
`~/.dsh/dsh-auth/credentials.json`, with the existing `DSH_AUTH_CREDENTIALS` override), provider keys and format. Credentials are written with
|
|
45
|
+
mode 0600, using the vendored lock and atomic-update implementation. Shared OAuth refresh
|
|
46
|
+
is serialized. Existing credentials and native profile settings are never migrated or deleted.
|
|
47
|
+
|
|
48
|
+
The Web transport's authentication protects management requests. Secret operations use
|
|
49
|
+
JSON POST requests and reject cross-site browser requests. Keys and refresh tokens never
|
|
50
|
+
appear in list responses, normal profile settings or command history. The settings panel
|
|
51
|
+
necessarily grants access to the shared credentials through login, replacement and logout.
|
|
52
|
+
Session tool permissions do not govern these explicit human settings operations.
|
|
53
|
+
|
|
54
|
+
OrcaRouter is no longer offered or recommended. Legacy saved Enno/Deep configurations
|
|
55
|
+
remain readable and require explicit model reselection before reuse. Replay history and
|
|
56
|
+
migrations are unaffected.
|
|
57
|
+
|
|
58
|
+
## Verification
|
|
59
|
+
|
|
60
|
+
`npm run test:models:web` installs the packed package in a disposable Web profile,
|
|
61
|
+
uses a local provider and tests Settings, commands, authentication cancellation,
|
|
62
|
+
selection, reload/restart and the native tool loop. Unit tests send actual Pi adapter
|
|
63
|
+
requests to a local server. Real account OAuth completion and live Infron generation
|
|
64
|
+
are separate acceptance gates; local fixtures do not establish either.
|
|
65
|
+
|
|
66
|
+
[Vendored auth provenance and changes](dsh-auth-provenance.md).
|
package/docs/lisp-hot-tools.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# プロジェクトで共有する Lisp 関数
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Goal・項目・条件を示した後の確認で、そのタスクに Lisp を「使う」と回答すると使える名前付き関数です。同じプロジェクトの
|
|
4
4
|
別セッション・別エージェントから、検証済みの稼働版を呼び出せます。
|
|
5
5
|
共有するのはコードと承認済み条件で、入力や結果の参照権限は共有しません。
|
|
6
6
|
|
|
@@ -23,7 +23,7 @@ ZIP の試作をそのまま別の実行環境にするのではなく、既存
|
|
|
23
23
|
|
|
24
24
|
設定の `lisp.enabled: true` と SBCL が必要です。既存の選択画面で Lisp を選べば、
|
|
25
25
|
共有関数をそのまま利用できます。選択肢の順序、番号キー・修飾キー・Enterによる操作、
|
|
26
|
-
Lisp
|
|
26
|
+
通常実行/役小角の選択とは別に、Lisp の選択をタスクと scopeVersion に保存します。新しい実装タスクでは再確認し、未回答・閉じる操作では起動しません。
|
|
27
27
|
従来の常駐Lispも維持し、共有関数は別の保護付きワーカーで実行します。
|
|
28
28
|
ワーカー枠がすべて使用中の場合は `WORKER_LIMIT` で停止します。
|
|
29
29
|
|