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.
Files changed (353) hide show
  1. package/PERMISSIONS.md +21 -28
  2. package/README.ja.md +8 -6
  3. package/README.md +12 -6
  4. package/THIRD_PARTY_NOTICES.md +8 -0
  5. package/dist/client.cjs +2248 -1383
  6. package/dist/client.d.ts +3 -1
  7. package/dist/client.d.ts.map +1 -1
  8. package/dist/context/continuity-view.d.ts +1 -1
  9. package/dist/deep-thinker/configuration.d.ts.map +1 -1
  10. package/dist/deep-thinker/configuration.js +8 -5
  11. package/dist/deep-thinker/configuration.js.map +1 -1
  12. package/dist/deep-thinker/core/contracts.d.ts +107 -13
  13. package/dist/deep-thinker/core/contracts.d.ts.map +1 -1
  14. package/dist/deep-thinker/core/contracts.js +4 -2
  15. package/dist/deep-thinker/core/contracts.js.map +1 -1
  16. package/dist/deep-thinker/memory-finalizer.d.ts +10 -10
  17. package/dist/deep-thinker/memory-finalizer.js +2 -2
  18. package/dist/deep-thinker/memory-finalizer.js.map +1 -1
  19. package/dist/deep-thinker/report.d.ts +1 -1
  20. package/dist/deep-thinker/store.d.ts +10 -10
  21. package/dist/deep-thinker/store.d.ts.map +1 -1
  22. package/dist/deep-thinker/store.js +2 -2
  23. package/dist/deep-thinker/store.js.map +1 -1
  24. package/dist/dsh/coding-workflow/contracts.d.ts +120 -0
  25. package/dist/dsh/coding-workflow/contracts.d.ts.map +1 -0
  26. package/dist/dsh/coding-workflow/contracts.js +77 -0
  27. package/dist/dsh/coding-workflow/contracts.js.map +1 -0
  28. package/dist/dsh/coding-workflow/host.d.ts +41 -0
  29. package/dist/dsh/coding-workflow/host.d.ts.map +1 -0
  30. package/dist/dsh/coding-workflow/host.js +235 -0
  31. package/dist/dsh/coding-workflow/host.js.map +1 -0
  32. package/dist/dsh/coding-workflow/intent.d.ts +15 -0
  33. package/dist/dsh/coding-workflow/intent.d.ts.map +1 -0
  34. package/dist/dsh/coding-workflow/intent.js +86 -0
  35. package/dist/dsh/coding-workflow/intent.js.map +1 -0
  36. package/dist/dsh/coding-workflow/service.d.ts +155 -0
  37. package/dist/dsh/coding-workflow/service.d.ts.map +1 -0
  38. package/dist/dsh/coding-workflow/service.js +282 -0
  39. package/dist/dsh/coding-workflow/service.js.map +1 -0
  40. package/dist/dsh/coding-workflow/store.d.ts +17 -0
  41. package/dist/dsh/coding-workflow/store.d.ts.map +1 -0
  42. package/dist/dsh/coding-workflow/store.js +77 -0
  43. package/dist/dsh/coding-workflow/store.js.map +1 -0
  44. package/dist/dsh/completion-verifiers.d.ts +39 -0
  45. package/dist/dsh/completion-verifiers.d.ts.map +1 -0
  46. package/dist/dsh/completion-verifiers.js +9 -0
  47. package/dist/dsh/completion-verifiers.js.map +1 -0
  48. package/dist/dsh/config.d.ts +5 -1
  49. package/dist/dsh/config.d.ts.map +1 -1
  50. package/dist/dsh/core/host.d.ts +1 -1
  51. package/dist/dsh/core/host.d.ts.map +1 -1
  52. package/dist/dsh/core/host.js +97 -11
  53. package/dist/dsh/core/host.js.map +1 -1
  54. package/dist/dsh/core/index.d.ts +4 -4
  55. package/dist/dsh/core/index.js +2 -2
  56. package/dist/dsh/core/index.js.map +1 -1
  57. package/dist/dsh/core/tasks.d.ts +2 -0
  58. package/dist/dsh/core/tasks.d.ts.map +1 -1
  59. package/dist/dsh/core/tasks.js +43 -1
  60. package/dist/dsh/core/tasks.js.map +1 -1
  61. package/dist/dsh/core-runtime.d.ts +1 -0
  62. package/dist/dsh/core-runtime.d.ts.map +1 -1
  63. package/dist/dsh/core-runtime.js +4 -1
  64. package/dist/dsh/core-runtime.js.map +1 -1
  65. package/dist/dsh/decisions/config.d.ts +2 -2
  66. package/dist/dsh/enno-delegation.js +2 -2
  67. package/dist/dsh/enno-delegation.js.map +1 -1
  68. package/dist/dsh/execution-command.d.ts +4 -0
  69. package/dist/dsh/execution-command.d.ts.map +1 -0
  70. package/dist/dsh/execution-command.js +52 -0
  71. package/dist/dsh/execution-command.js.map +1 -0
  72. package/dist/dsh/execution-journal.d.ts +17 -0
  73. package/dist/dsh/execution-journal.d.ts.map +1 -0
  74. package/dist/dsh/execution-journal.js +69 -0
  75. package/dist/dsh/execution-journal.js.map +1 -0
  76. package/dist/dsh/execution-result.d.ts +20 -0
  77. package/dist/dsh/execution-result.d.ts.map +1 -0
  78. package/dist/dsh/execution-result.js +7 -0
  79. package/dist/dsh/execution-result.js.map +1 -0
  80. package/dist/dsh/execution-selection.d.ts +150 -23
  81. package/dist/dsh/execution-selection.d.ts.map +1 -1
  82. package/dist/dsh/execution-selection.js +18 -6
  83. package/dist/dsh/execution-selection.js.map +1 -1
  84. package/dist/dsh/host-adapter/admission.d.ts.map +1 -1
  85. package/dist/dsh/host-adapter/admission.js +33 -22
  86. package/dist/dsh/host-adapter/admission.js.map +1 -1
  87. package/dist/dsh/host-adapter/boundaries.d.ts.map +1 -1
  88. package/dist/dsh/host-adapter/boundaries.js +2 -0
  89. package/dist/dsh/host-adapter/boundaries.js.map +1 -1
  90. package/dist/dsh/host-adapter/context.d.ts.map +1 -1
  91. package/dist/dsh/host-adapter/context.js +18 -13
  92. package/dist/dsh/host-adapter/context.js.map +1 -1
  93. package/dist/dsh/host-adapter/lifecycle.d.ts.map +1 -1
  94. package/dist/dsh/host-adapter/lifecycle.js +12 -0
  95. package/dist/dsh/host-adapter/lifecycle.js.map +1 -1
  96. package/dist/dsh/host-adapter/routing.js +1 -1
  97. package/dist/dsh/host-adapter/routing.js.map +1 -1
  98. package/dist/dsh/host-adapter/turn-state.js +1 -1
  99. package/dist/dsh/host-adapter/turn-state.js.map +1 -1
  100. package/dist/dsh/host-adapter.d.ts.map +1 -1
  101. package/dist/dsh/host-adapter.js +61 -18
  102. package/dist/dsh/host-adapter.js.map +1 -1
  103. package/dist/dsh/index.d.ts +4 -2
  104. package/dist/dsh/index.d.ts.map +1 -1
  105. package/dist/dsh/index.js +7 -0
  106. package/dist/dsh/index.js.map +1 -1
  107. package/dist/dsh/intake-gate.d.ts +1 -0
  108. package/dist/dsh/intake-gate.d.ts.map +1 -1
  109. package/dist/dsh/intake-gate.js +9 -1
  110. package/dist/dsh/intake-gate.js.map +1 -1
  111. package/dist/dsh/lisp/approval.d.ts +2 -1
  112. package/dist/dsh/lisp/approval.d.ts.map +1 -1
  113. package/dist/dsh/lisp/approval.js +4 -3
  114. package/dist/dsh/lisp/approval.js.map +1 -1
  115. package/dist/dsh/lisp/candidate.d.ts +1 -1
  116. package/dist/dsh/lisp/code-intelligence-contracts.d.ts +78 -0
  117. package/dist/dsh/lisp/code-intelligence-contracts.d.ts.map +1 -0
  118. package/dist/dsh/lisp/code-intelligence-contracts.js +54 -0
  119. package/dist/dsh/lisp/code-intelligence-contracts.js.map +1 -0
  120. package/dist/dsh/lisp/code-intelligence-provider.d.ts +116 -0
  121. package/dist/dsh/lisp/code-intelligence.d.ts +13 -0
  122. package/dist/dsh/lisp/code-intelligence.d.ts.map +1 -0
  123. package/dist/dsh/lisp/code-intelligence.js +181 -0
  124. package/dist/dsh/lisp/code-intelligence.js.map +1 -0
  125. package/dist/dsh/lisp/coding-choice.d.ts +4 -1
  126. package/dist/dsh/lisp/coding-choice.d.ts.map +1 -1
  127. package/dist/dsh/lisp/coding-choice.js +26 -10
  128. package/dist/dsh/lisp/coding-choice.js.map +1 -1
  129. package/dist/dsh/lisp/compiled-cache.d.ts.map +1 -1
  130. package/dist/dsh/lisp/compiled-cache.js +3 -2
  131. package/dist/dsh/lisp/compiled-cache.js.map +1 -1
  132. package/dist/dsh/lisp/contracts.d.ts +4 -0
  133. package/dist/dsh/lisp/contracts.d.ts.map +1 -1
  134. package/dist/dsh/lisp/contracts.js +1 -0
  135. package/dist/dsh/lisp/contracts.js.map +1 -1
  136. package/dist/dsh/lisp/manager.d.ts +9 -1
  137. package/dist/dsh/lisp/manager.d.ts.map +1 -1
  138. package/dist/dsh/lisp/manager.js +91 -24
  139. package/dist/dsh/lisp/manager.js.map +1 -1
  140. package/dist/dsh/lisp/model-result.d.ts.map +1 -1
  141. package/dist/dsh/lisp/model-result.js +35 -1
  142. package/dist/dsh/lisp/model-result.js.map +1 -1
  143. package/dist/dsh/lisp/proposal-batch.d.ts +2 -0
  144. package/dist/dsh/lisp/proposal-batch.d.ts.map +1 -1
  145. package/dist/dsh/lisp/proposal-batch.js +32 -2
  146. package/dist/dsh/lisp/proposal-batch.js.map +1 -1
  147. package/dist/dsh/lisp/request-surface.d.ts +12 -2
  148. package/dist/dsh/lisp/request-surface.d.ts.map +1 -1
  149. package/dist/dsh/lisp/request-surface.js +1 -1
  150. package/dist/dsh/lisp/request-surface.js.map +1 -1
  151. package/dist/dsh/lisp/sandbox.d.ts +3 -0
  152. package/dist/dsh/lisp/sandbox.d.ts.map +1 -1
  153. package/dist/dsh/lisp/sandbox.js +13 -6
  154. package/dist/dsh/lisp/sandbox.js.map +1 -1
  155. package/dist/dsh/lisp/surface.d.ts +1 -1
  156. package/dist/dsh/lisp/surface.d.ts.map +1 -1
  157. package/dist/dsh/lisp/surface.js +118 -23
  158. package/dist/dsh/lisp/surface.js.map +1 -1
  159. package/dist/dsh/lisp/worker.d.ts +2 -0
  160. package/dist/dsh/lisp/worker.d.ts.map +1 -1
  161. package/dist/dsh/lisp/worker.js +7 -5
  162. package/dist/dsh/lisp/worker.js.map +1 -1
  163. package/dist/dsh/lisp-service-key.d.ts +9 -0
  164. package/dist/dsh/lisp-service-key.d.ts.map +1 -1
  165. package/dist/dsh/lisp-service-key.js +11 -0
  166. package/dist/dsh/lisp-service-key.js.map +1 -1
  167. package/dist/dsh/memory-application.d.ts +1 -1
  168. package/dist/dsh/memory-application.d.ts.map +1 -1
  169. package/dist/dsh/memory-application.js +4 -3
  170. package/dist/dsh/memory-application.js.map +1 -1
  171. package/dist/dsh/model-auto/candidates.d.ts.map +1 -1
  172. package/dist/dsh/model-auto/candidates.js +31 -22
  173. package/dist/dsh/model-auto/candidates.js.map +1 -1
  174. package/dist/dsh/model-configuration.d.ts +145 -2
  175. package/dist/dsh/model-configuration.d.ts.map +1 -1
  176. package/dist/dsh/model-configuration.js +10 -3
  177. package/dist/dsh/model-configuration.js.map +1 -1
  178. package/dist/dsh/model-selection-ui.d.ts.map +1 -1
  179. package/dist/dsh/model-selection-ui.js +7 -2
  180. package/dist/dsh/model-selection-ui.js.map +1 -1
  181. package/dist/dsh/models/config-store.d.ts +8 -0
  182. package/dist/dsh/models/config-store.d.ts.map +1 -0
  183. package/dist/dsh/models/config-store.js +49 -0
  184. package/dist/dsh/models/config-store.js.map +1 -0
  185. package/dist/dsh/models/contracts.d.ts +107 -0
  186. package/dist/dsh/models/contracts.d.ts.map +1 -0
  187. package/dist/dsh/models/contracts.js +104 -0
  188. package/dist/dsh/models/contracts.js.map +1 -0
  189. package/dist/dsh/models/metadata.d.ts +7 -0
  190. package/dist/dsh/models/metadata.d.ts.map +1 -0
  191. package/dist/dsh/models/metadata.js +13 -0
  192. package/dist/dsh/models/metadata.js.map +1 -0
  193. package/dist/dsh/models/profiles.d.ts +10 -0
  194. package/dist/dsh/models/profiles.d.ts.map +1 -0
  195. package/dist/dsh/models/profiles.js +176 -0
  196. package/dist/dsh/models/profiles.js.map +1 -0
  197. package/dist/dsh/models/service.d.ts +97 -0
  198. package/dist/dsh/models/service.d.ts.map +1 -0
  199. package/dist/dsh/models/service.js +518 -0
  200. package/dist/dsh/models/service.js.map +1 -0
  201. package/dist/dsh/models/surface.d.ts +8 -0
  202. package/dist/dsh/models/surface.d.ts.map +1 -0
  203. package/dist/dsh/models/surface.js +162 -0
  204. package/dist/dsh/models/surface.js.map +1 -0
  205. package/dist/dsh/models/vendor/THIRD_PARTY_NOTICES.txt +134 -0
  206. package/dist/dsh/models/vendor/abortable.d.ts +3 -0
  207. package/dist/dsh/models/vendor/abortable.d.ts.map +1 -0
  208. package/dist/dsh/models/vendor/abortable.js +10 -0
  209. package/dist/dsh/models/vendor/abortable.js.map +1 -0
  210. package/dist/dsh/models/vendor/auth-contract.d.ts +67 -0
  211. package/dist/dsh/models/vendor/auth-contract.d.ts.map +1 -0
  212. package/dist/dsh/models/vendor/auth-contract.js +2 -0
  213. package/dist/dsh/models/vendor/auth-contract.js.map +1 -0
  214. package/dist/dsh/models/vendor/credentials.d.ts +58 -0
  215. package/dist/dsh/models/vendor/credentials.d.ts.map +1 -0
  216. package/dist/dsh/models/vendor/credentials.js +205 -0
  217. package/dist/dsh/models/vendor/credentials.js.map +1 -0
  218. package/dist/dsh/models/vendor/nous-oauth.d.ts +6 -0
  219. package/dist/dsh/models/vendor/nous-oauth.d.ts.map +1 -0
  220. package/dist/dsh/models/vendor/nous-oauth.js +113 -0
  221. package/dist/dsh/models/vendor/nous-oauth.js.map +1 -0
  222. package/dist/dsh/models/vendor/opencode-adapter.d.ts +38 -0
  223. package/dist/dsh/models/vendor/opencode-adapter.d.ts.map +1 -0
  224. package/dist/dsh/models/vendor/opencode-adapter.js +207 -0
  225. package/dist/dsh/models/vendor/opencode-adapter.js.map +1 -0
  226. package/dist/dsh/models/vendor/opencode-catalog.d.ts +73 -0
  227. package/dist/dsh/models/vendor/opencode-catalog.d.ts.map +1 -0
  228. package/dist/dsh/models/vendor/opencode-catalog.js +253 -0
  229. package/dist/dsh/models/vendor/opencode-catalog.js.map +1 -0
  230. package/dist/dsh/models/vendor/opencode-codec.d.ts +7 -0
  231. package/dist/dsh/models/vendor/opencode-codec.d.ts.map +1 -0
  232. package/dist/dsh/models/vendor/opencode-codec.js +107 -0
  233. package/dist/dsh/models/vendor/opencode-codec.js.map +1 -0
  234. package/dist/dsh/models/vendor/opencode-owned.generated.d.ts +114 -0
  235. package/dist/dsh/models/vendor/opencode-owned.generated.d.ts.map +1 -0
  236. package/dist/dsh/models/vendor/opencode-owned.generated.js +2867 -0
  237. package/dist/dsh/models/vendor/opencode-owned.generated.js.map +1 -0
  238. package/dist/dsh/models/vendor/opencode-replay.d.ts +17 -0
  239. package/dist/dsh/models/vendor/opencode-replay.d.ts.map +1 -0
  240. package/dist/dsh/models/vendor/opencode-replay.js +147 -0
  241. package/dist/dsh/models/vendor/opencode-replay.js.map +1 -0
  242. package/dist/dsh/models/vendor/opencode-sdk.d.ts +6 -0
  243. package/dist/dsh/models/vendor/opencode-sdk.d.ts.map +1 -0
  244. package/dist/dsh/models/vendor/opencode-sdk.js +49915 -0
  245. package/dist/dsh/models/vendor/opencode-sdk.js.map +7 -0
  246. package/dist/dsh/models/vendor/opencode-transport.d.ts +6 -0
  247. package/dist/dsh/models/vendor/opencode-transport.d.ts.map +1 -0
  248. package/dist/dsh/models/vendor/opencode-transport.js +70 -0
  249. package/dist/dsh/models/vendor/opencode-transport.js.map +1 -0
  250. package/dist/dsh/models/vendor/pi-ai.d.ts +23 -0
  251. package/dist/dsh/models/vendor/pi-ai.d.ts.map +1 -0
  252. package/dist/dsh/models/vendor/pi-ai.js +27 -0
  253. package/dist/dsh/models/vendor/pi-ai.js.map +1 -0
  254. package/dist/dsh/modules/lisp.d.ts +1 -1
  255. package/dist/dsh/modules/lisp.d.ts.map +1 -1
  256. package/dist/dsh/modules/lisp.js +2 -13
  257. package/dist/dsh/modules/lisp.js.map +1 -1
  258. package/dist/dsh/modules/resources.d.ts +3 -1
  259. package/dist/dsh/modules/resources.d.ts.map +1 -1
  260. package/dist/dsh/modules/resources.js +4 -0
  261. package/dist/dsh/modules/resources.js.map +1 -1
  262. package/dist/dsh/native-model-catalog.d.ts.map +1 -1
  263. package/dist/dsh/native-model-catalog.js +4 -3
  264. package/dist/dsh/native-model-catalog.js.map +1 -1
  265. package/dist/dsh/node-tap-summary.d.ts +8 -1
  266. package/dist/dsh/node-tap-summary.d.ts.map +1 -1
  267. package/dist/dsh/node-tap-summary.js +33 -3
  268. package/dist/dsh/node-tap-summary.js.map +1 -1
  269. package/dist/dsh/on-demand-intake.d.ts +1 -1
  270. package/dist/dsh/on-demand-intake.d.ts.map +1 -1
  271. package/dist/dsh/on-demand-intake.js +35 -14
  272. package/dist/dsh/on-demand-intake.js.map +1 -1
  273. package/dist/dsh/owned-evidence.d.ts +49 -0
  274. package/dist/dsh/owned-evidence.d.ts.map +1 -0
  275. package/dist/dsh/owned-evidence.js +69 -0
  276. package/dist/dsh/owned-evidence.js.map +1 -0
  277. package/dist/dsh/owned-execution.d.ts +99 -0
  278. package/dist/dsh/owned-execution.d.ts.map +1 -0
  279. package/dist/dsh/owned-execution.js +558 -0
  280. package/dist/dsh/owned-execution.js.map +1 -0
  281. package/dist/dsh/plan-transition.d.ts +5 -0
  282. package/dist/dsh/plan-transition.d.ts.map +1 -0
  283. package/dist/dsh/plan-transition.js +34 -0
  284. package/dist/dsh/plan-transition.js.map +1 -0
  285. package/dist/dsh/session-memory-finalizer.d.ts.map +1 -1
  286. package/dist/dsh/session-memory-finalizer.js +46 -3
  287. package/dist/dsh/session-memory-finalizer.js.map +1 -1
  288. package/dist/dsh/setup.d.ts +1 -1
  289. package/dist/dsh/setup.d.ts.map +1 -1
  290. package/dist/dsh/setup.js +2 -0
  291. package/dist/dsh/setup.js.map +1 -1
  292. package/dist/dsh/skill-prompts.json +1 -1
  293. package/dist/dsh/task-completion-host.js +3 -3
  294. package/dist/dsh/task-completion-host.js.map +1 -1
  295. package/dist/dsh/task-completion.d.ts +17 -0
  296. package/dist/dsh/task-completion.d.ts.map +1 -1
  297. package/dist/dsh/task-completion.js +144 -38
  298. package/dist/dsh/task-completion.js.map +1 -1
  299. package/dist/dsh/task-intake.d.ts.map +1 -1
  300. package/dist/dsh/task-intake.js +7 -0
  301. package/dist/dsh/task-intake.js.map +1 -1
  302. package/dist/enno-oduno/coding-workflow.d.ts +39 -0
  303. package/dist/enno-oduno/coding-workflow.d.ts.map +1 -0
  304. package/dist/enno-oduno/coding-workflow.js +33 -0
  305. package/dist/enno-oduno/coding-workflow.js.map +1 -0
  306. package/dist/enno-oduno/schemas.d.ts +10 -10
  307. package/dist/enno-oduno/store.d.ts.map +1 -1
  308. package/dist/enno-oduno/store.js +56 -1
  309. package/dist/enno-oduno/store.js.map +1 -1
  310. package/dist/enno-oduno/types.d.ts +1 -0
  311. package/dist/enno-oduno/types.d.ts.map +1 -1
  312. package/dist/enno-oduno/verifier.d.ts.map +1 -1
  313. package/dist/enno-oduno/verifier.js +4 -1
  314. package/dist/enno-oduno/verifier.js.map +1 -1
  315. package/dist/locale/en.json +1 -1
  316. package/dist/locale/ja.json +1 -1
  317. package/dist/locale/ko.json +1 -1
  318. package/dist/locale/zh-CN.json +1 -1
  319. package/dist/memory/application.d.ts +2 -1
  320. package/dist/memory/application.d.ts.map +1 -1
  321. package/dist/memory/application.js +26 -12
  322. package/dist/memory/application.js.map +1 -1
  323. package/dist/memory/evidence.d.ts +2 -0
  324. package/dist/memory/evidence.d.ts.map +1 -1
  325. package/dist/memory/evidence.js +3 -1
  326. package/dist/memory/evidence.js.map +1 -1
  327. package/dist/model-tools/contracts.d.ts +4 -4
  328. package/dist/models-client.cjs +635 -0
  329. package/dist/models-client.d.ts +26 -0
  330. package/dist/models-client.d.ts.map +1 -0
  331. package/dist/models-client.js +642 -0
  332. package/dist/models-client.js.map +1 -0
  333. package/docs/code-intelligence.md +149 -0
  334. package/docs/coding-workflow.md +45 -0
  335. package/docs/dsh-auth-LICENSE.txt +22 -0
  336. package/docs/dsh-auth-provenance.md +25 -0
  337. package/docs/dsh-plugin.md +19 -0
  338. package/docs/execution-support.md +4 -0
  339. package/docs/kiokuko-models.md +66 -0
  340. package/docs/lisp-hot-tools.md +2 -2
  341. package/docs/lisp.md +112 -63
  342. package/docs/model-selection.ja.md +7 -9
  343. package/docs/model-selection.md +14 -12
  344. package/docs/owned-execution.md +99 -0
  345. package/lisp/supervisor.mjs +8 -2
  346. package/lisp/tools.lisp +31 -3
  347. package/migrations/035_owned_execution.sql +19 -0
  348. package/migrations/036_coding_workflow.sql +26 -0
  349. package/package.json +47 -12
  350. package/skills/coding-ideal-routine-skill/SKILL.md +6 -0
  351. package/skills/kiokuko-lisp/SKILL.md +53 -67
  352. package/skills/kiokuko-soul/SKILL.md +7 -28
  353. package/skills/one-shot-software-completion/SKILL.md +5 -6
package/PERMISSIONS.md CHANGED
@@ -9,7 +9,7 @@ This document describes the full compatibility package. The
9
9
  Skills and uses the shared database, intake, ledger and scoped memory. It mounts
10
10
  source-backed index reasoning by default. AgenticReplay, Deep, other advanced-memory workers,
11
11
  session-history repair and the full browser client are optional. Enno retains the existing compatibility host adapter;
12
- Lisp adds protected execution and its existing explicit approval boundaries.
12
+ Lisp adds composable tools in the normal development environment; explicit protected mode retains its legacy approval boundaries.
13
13
  Omitted managed Skills are preserved on disk. Configured startup rejects unsafe
14
14
  Skill collisions before mounting its runtime; it does not rewrite `AGENTS.md`.
15
15
 
@@ -72,8 +72,8 @@ Skill collisions before mounting its runtime; it does not rewrite `AGENTS.md`.
72
72
 
73
73
  - Repository-relative final verifiers and backup operations may run restricted
74
74
  subprocesses only when the corresponding Kiokuko operation explicitly
75
- requests them. The plugin does not provide an implicit model-facing shell
76
- tool.
75
+ requests them. Ordinary development uses the explicit owned `kioku_exec`
76
+ shell tool described below.
77
77
  - Diff review runs fixed-argument, read-only Git subprocesses. A user-started
78
78
  analysis sends the selected, sanitized snapshot and limited Kiokuko context
79
79
  to the exact DSH model connection chosen in the review UI. It supplies no
@@ -193,31 +193,14 @@ uploaded automatically. Deletion and disabling instructions are in
193
193
  [AgenticReplay recording](docs/agenticreplay-recording.md).
194
194
  # Optional Common Lisp mode
195
195
 
196
- With `lisp.enabled: true`, `/kioku-lisp enable` starts an OS-protected SBCL for the
197
- current session. It reads bundled runtime libraries and explicitly selected input
198
- copies and a verified compiled bundle, and writes its own scratch/cache. Initial
199
- Lisp enable compiles bundled sources in a supervised sandbox; the host publishes
200
- the completed bundle for read-only reuse. Runtime/compiler/source changes select
201
- a new entry. Invalid entries are quarantined and require explicit recovery. The
202
- host stores operation records and
203
- independent backups beside the Kiokuko database. No credentials or inherited
204
- environment are forwarded, and direct network/host IPC access is denied. The
205
- host may run repository-scoped `gh run list`/`gh run view --log-failed` reads on
206
- behalf of Lisp without copying credentials into the worker. Verification accepts
207
- only six fixed npm targets and requires native human confirmation showing the
208
- command, package script, exact working directory and timeout. The directory may
209
- be the workspace root, a workspace subdirectory, or a subdirectory of the current
210
- worker's scratch. Traversal and symlink directories are refused, and directory
211
- identity and scripts are rechecked after approval. These approved verifiers run
212
- on the host, including npm lifecycle scripts, outside the worker sandbox;
213
- arbitrary shell input is not accepted. Brokered worker programs can select only a
214
- scratch-relative working directory and retain the existing OS restrictions.
215
-
216
- File deletion and replacement require the native human confirmation for the exact
217
- proposal. Generic operations reject databases/sidecars, credential paths, links,
218
- directories, plugin files and host state. Refusal, skip, cancellation and missing
219
- confirmation UI never grant permission. Normal tools and child bypasses remain
220
- blocked until a human safely disables the mode. Plugin unload retains the fence.
196
+ With lisp.enabled: true, Lisp runs in supervised workers with the normal user environment and child processes. It coexists with ordinary tools; worker failure does not restrict normal coding. Kiokuko-owned kioku_read/write/edit/remove/exec/result use Node filesystem/process APIs, independently of stock DSH filesystem/bash sandbox and approval configuration. DSH tool identity, Plan/goal state, cancellation and admitted execution ownership still apply.
197
+
198
+ Project edits, development-related external reads, PATH commands, builds/tests, generated/temp/disposable artifacts, helper compilation/registration and routine Kioku saving need no additional approval. Source/data deletion and existing durable user DB mutations require concrete confirmation. Declare destructiveTargets for such commands. Arbitrary Lisp/shell code is not a security sandbox; unclassified code is not rejected merely because static side-effect analysis is impossible. Direct effects bypassing the owned tools have no host verification receipt.
199
+
200
+ Host receipts record operation/run/session/generation, cwd, sanitized command, file hashes, process exit/signal/cancel/timeout, complete-output digest and test summaries before preview truncation. Environment variables and full outputs are not persisted. Known secret-bearing command/output text is redacted, but arbitrary secrets cannot all be recognized. Process groups are terminated on cancellation. Background results are collected without replaying effects.
201
+
202
+ Receipts and source-bound checks feed existing completion/memory application and candidate finalization. Related source/test/config edits make checks stale; unrelated generated files do not. Saving failure is explicit and does not undo or rerun development. Interrupted started records remain unknown after restart. Memory candidates carry evidence references and current source freshness; evidence never automatically verifies a generalized lesson. Legacy profile approval settings still load; destructive review cannot be disabled by their ask/auto values.
203
+
221
204
  See [Common Lisp setup and recovery](docs/lisp.md) for commands and limits.
222
205
 
223
206
  # Configured typed decisions
@@ -299,3 +282,13 @@ the host-owned profile identity. Current DSH exposes `lisp.approvalMode` through
299
282
  the native `kiokuko-dsh` configuration form and saves its profile patch. This
300
283
  compatibility difference does not change the controls or scope. No separate
301
284
  preference file or database migration is used.
285
+
286
+ ## Web model management
287
+
288
+ Settings → Kiokuko Models and `/kiokuko model` permit explicit human connection,
289
+ login, API-key replacement, logout, model discovery and selection. Non-secret settings
290
+ are profile-local. Credentials share dsh-auth's existing canonical store and locks;
291
+ logout affects dsh-cli too. The authenticated Web transport protects the JSON POST
292
+ operations. No secret enters model-visible commands or ordinary settings responses.
293
+ Infron sends the explicitly selected Standard/Flex tier; it does not silently change
294
+ tier on failure. [Storage, permissions and recovery](docs/kiokuko-models.md).
package/README.ja.md CHANGED
@@ -88,8 +88,8 @@ DSH 更新後に Kiokuko を読み込めない場合は、[起動失敗時の復
88
88
  - Arch Linux: `sudo pacman -S sbcl`
89
89
 
90
90
  `~/.dsh/profiles/web/cordis.patch.yml` の `kiokuko-dsh` 行に次を追加し(他の `config` 値は保持)、
91
- プラグインを再読み込みすると、最初の実装・不具合修正の前に Lisp モードを使うか確認します。
92
- 選択はセッション内で保持します。`/kioku-lisp enable` でも有効にできます。
91
+ プラグインを再読み込みすると、実装タスクごとに Goal・実装項目・観測可能な条件を示してから Lisp モードを使うか確認します。
92
+ 選択はそのタスクと範囲に保存し、新しいタスクでは再確認します。`/kioku-lisp enable` は明示的な手動切替です。
93
93
  読み込まれた設定は `dsh --profile web --dump-config` で確認できます。
94
94
 
95
95
  ```yaml
@@ -100,11 +100,11 @@ DSH 更新後に Kiokuko を読み込めない場合は、[起動失敗時の復
100
100
  sbclPath: sbcl
101
101
  ```
102
102
 
103
- Linux では別途 Bubblewrap が必要です。
104
- Lisp を選ぶと、Lisp 用ツールで通常実行します。役小角を使う場合は「Lispモードを使わない」を選んでください。
105
- 自由入力は相談・訂正として AI に渡します。
106
- 削除・既存ファイルの置換はユーザーの確認後に実行します。
103
+ 既定の開発モードでは Bubblewrap は不要です。Linux で明示的に保護互換モードを選ぶ場合に必要です。
104
+ 「使う」は Lisp、「使わない」は通常ツール、「取消・作業を保持」は準備内容を残して取消です。閉じる・未回答では実装を始めません。通常実行/役小角の選択は別に保持します。Lisp の起動失敗はブロッカーとして残し、復旧または明示的な経路変更後に再開します。
105
+ 選択後の通常の編集・テストには追加確認を求めません。ソース・実データの削除と既存の永続DB変更は対象を確認します。各項目の最新の証拠と、通常の利用入口からの最終確認が揃った場合だけ完了します。[Goal 駆動コーディング](docs/coding-workflow.md)と[独自実行、レシート、記憶の再利用](docs/owned-execution.md)を参照してください。
107
106
  [設定、API、停止・復旧方法](docs/lisp.md)を参照してください。
107
+ 永続 Lisp では、`kioku.code` からディスク上のコードの構造と読み取り専用の LSP 結果を取得できます。V1 service を提供する任意の provider が必要です。公開済みの `dsh-lsp-server` v0.1.12 は未対応なので、現時点では[ローカルの provider 修正](patches/code-intelligence/README.md)を使います。[API と上限](docs/lisp.md#read-only-code-intelligence)を確認してください。
108
108
 
109
109
  ## 型付き判定(Jev / Laya / Nimble)
110
110
 
@@ -177,3 +177,5 @@ TypeSafe または Nimble の利用確認が成功すると、既存検索の候
177
177
  ObservationPack(既定値 `observationPack: { mode: auto }`)は、大きな正常終了のツール結果をモデルへ2回提示した後、抜粋と `observation_read` で原文を取得できる参照に置き換えます。[Semantic compaction](docs/semantic-compaction.md) は、TODOの完了境界でも前倒し判定を行い、通常・Enno・Lisp モードで、DSH の自動圧縮前に古いツール出力を選んで短縮します。既定値は `semanticCompaction: { mode: auto, preemptive: true, budgetMs: 5000 }` です。利用可能と確認された型付き判定バックエンドと、対応するネイティブサービスが必要です。`/kioku-decisions status` で有効状態と直近の結果を確認できます。
178
178
 
179
179
  Layaの圧縮には独立した設定があり、`typedDecisions.laya-coreml.compaction.mode: off` が既定です。明示的な `shadow` は履歴を変えずに評価し、`auto` は `experimental_not_qualified` として停止します。ObservationPackとnative summaryは既存設定を維持します。Akinatorは検証済みのdebug/research/writingだけを自動判定し、任意Skillは完全な説明を持つ最大4候補から最大1個を選びます。[Layaの設定と評価](docs/semantic-compaction.md#local-laya)を参照してください。
180
+
181
+ 任意の V1 code provider の導入手順と検証済みの構成は、[連携ガイド](docs/code-intelligence.md)を参照してください。
package/README.md CHANGED
@@ -10,6 +10,7 @@ Inspect sources and corrections with `/kioku-memory explain ENTRY_ID`; explicitl
10
10
 
11
11
  ## Features
12
12
 
13
+ - **Kiokuko Models** — Connect and authenticate from Web Settings or `/kiokuko model`, independently of native Models settings. Includes Infron Standard/Flex. [Setup and shared credentials](docs/kiokuko-models.md)
13
14
  - **Execution modes** — Choose normal execution or 役小角(enno-oduno) for role-based planning and verification. [Details](docs/model-selection.md)
14
15
  - **Project memory** — Retrieve useful project knowledge for later work. [Concepts](docs/concepts.md)
15
16
  - **Deep planning** — Run bounded, read-only investigation with four roles. [Usage](docs/deep-planning.md)
@@ -88,8 +89,9 @@ Install SBCL first:
88
89
  - Arch Linux: `sudo pacman -S sbcl`
89
90
 
90
91
  Add this to the `kiokuko-dsh` row in `~/.dsh/profiles/web/cordis.patch.yml`
91
- (keep other `config` values), then reload the plugin. The first implementation or
92
- debugging request asks whether to use Lisp; the session retains your choice.
92
+ (keep other `config` values), then reload the plugin. Each implementation task
93
+ shows its Goal, items and observable checks before asking whether to use Lisp.
94
+ The choice belongs to that task and scope; a new task asks again.
93
95
  You can also enable it with `/kioku-lisp enable`.
94
96
  Check the loaded configuration with `dsh --profile web --dump-config`.
95
97
 
@@ -101,11 +103,13 @@ Check the loaded configuration with `dsh --profile web --dump-config`.
101
103
  sbclPath: sbcl
102
104
  ```
103
105
 
104
- Linux also requires Bubblewrap.
105
- Choosing Lisp starts normal execution with the Lisp tools. Choose not to use Lisp
106
- if you want Enno. Free text is passed to the AI as a discussion or correction.
107
- Deletion and replacement of existing files require human confirmation.
106
+ The default development mode does not require Bubblewrap. The explicit protected compatibility mode does on Linux.
107
+ Choose “使う” to use Lisp, “使わない” to use ordinary tools, or “取消・作業を保持” to cancel while preserving prepared work. Closing the question leaves implementation pending. Lisp choice and normal/Enno selection are separate. A failed Lisp startup remains a recoverable blocker until the selected route works or you explicitly change it.
108
+ Ordinary edits and tests run without further confirmation after that choice. Source/data deletion and existing durable user database mutation require a concrete review. Lisp and ordinary tools coexist. Completion requires current item evidence and a fresh final check through the user’s entry point. See [Goal-driven coding](docs/coding-workflow.md) and [owned execution, receipts and memory reuse](docs/owned-execution.md).
108
109
  See [setup, APIs, limits and recovery](docs/lisp.md).
110
+ Persistent Lisp can optionally inspect parser-backed disk snapshots and read-only
111
+ LSP results through `kioku.code`. The provider must advertise V1; published
112
+ `dsh-lsp-server` v0.1.12 does not. See the [local provider prerequisite](patches/code-intelligence/README.md) and [API and budgets](docs/lisp.md#read-only-code-intelligence).
109
113
 
110
114
  ## Typed decisions (Jev / Laya / Nimble)
111
115
 
@@ -178,3 +182,5 @@ are optional; `memoryReuse.mode: off` disables this additional selection.
178
182
  ObservationPack (`observationPack: { mode: auto }`) preserves large successful native tool results for two model calls, then replaces them with excerpts and an `observation_read` handle. [Semantic compaction](docs/semantic-compaction.md) evaluates TODO completion boundaries and selectively shortens old tool results before native automatic compaction in normal, Enno and Lisp modes. It defaults to `semanticCompaction: { mode: auto, preemptive: true, budgetMs: 5000 }` and requires a ready typed-decision backend and supported native services. Inspect activation and the last outcome with `/kioku-decisions status`.
179
183
 
180
184
  Laya compaction separately defaults to `typedDecisions.laya-coreml.compaction.mode: off`. Explicit `shadow` evaluates without changing history; `auto` remains `experimental_not_qualified`. This switch preserves ObservationPack and native summaries. Akinator uses only the verified debug/research/writing range, and optional Skill selection uses up to four complete candidates with at most one model-selected addition. See [Laya settings and evaluation](docs/semantic-compaction.md#local-laya).
185
+
186
+ For the optional V1 code provider, see [installation and verified platform status](docs/code-intelligence.md).
@@ -86,3 +86,11 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
86
86
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
87
87
 
88
88
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
89
+
90
+ # dsh-auth and model transports
91
+
92
+ The selected MIT-licensed dsh-auth sources are vendored at
93
+ `348082d873f563ed76ec7a70f2ff717038d5fe70`. See
94
+ [provenance and local changes](docs/dsh-auth-provenance.md) and the complete
95
+ [upstream license](docs/dsh-auth-LICENSE.txt). Bundled AI SDK dependency licenses
96
+ are shipped in `dist/dsh/models/vendor/THIRD_PARTY_NOTICES.txt`.