@kabmo-labs/kabmo 0.54.0 → 0.56.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.
Files changed (157) hide show
  1. package/dist/client/index.html +1 -1
  2. package/dist/client/index.js +479 -479
  3. package/dist/client/static/js/{Body-x5grdps8.js → Body-jfy4bhk2.js} +1 -1
  4. package/dist/client/static/js/{CsvGrid-248v9yzf.js → CsvGrid-4c5t668z.js} +1 -1
  5. package/dist/client/static/js/{DocxView-5we92k2h.js → DocxView-3x7whtvq.js} +1 -1
  6. package/dist/client/static/js/{DrawioView-c6xmw4qq.js → DrawioView-tbkc5dfz.js} +1 -1
  7. package/dist/client/static/js/{HtmlPreview-r3qxgqg6.js → HtmlPreview-egxkayya.js} +1 -1
  8. package/dist/client/static/js/{ImageView-cr4fea18.js → ImageView-swhzvw2p.js} +1 -1
  9. package/dist/client/static/js/{LayoutWrapper-j12z0djx.js → LayoutWrapper-sangsrt5.js} +2 -2
  10. package/dist/client/static/js/MergeDiffView-bv00y63x.js +1 -0
  11. package/dist/client/static/js/{Modal-cqceypcn.js → Modal-1fj8kvme.js} +16 -16
  12. package/dist/client/static/js/{PdfView-xdgn31cm.js → PdfView-0k2egsbz.js} +1 -1
  13. package/dist/client/static/js/{SessionsView-ms6z44e2.js → SessionsView-t547rqeb.js} +1 -1
  14. package/dist/client/static/js/{SheetView-peqm9vft.js → SheetView-anb3gavm.js} +1 -1
  15. package/dist/client/static/js/{SvgPreview-rdf4wbzr.js → SvgPreview-e2wrj2hj.js} +1 -1
  16. package/dist/client/static/js/{abnfDiagram-O67JEVCF-48z2x5vg.js → abnfDiagram-O67JEVCF-0rs86b68.js} +1 -1
  17. package/dist/client/static/js/{architectureDiagram-NJMV4G6O-n1pr5s6j.js → architectureDiagram-NJMV4G6O-0k3zzxz1.js} +3 -3
  18. package/dist/client/static/js/{blockDiagram-BEXU5L5S-p19shaft.js → blockDiagram-BEXU5L5S-t1n1fx96.js} +1 -1
  19. package/dist/client/static/js/{c4Diagram-YGBWAQC7-qcd46ts2.js → c4Diagram-YGBWAQC7-93b7eds9.js} +1 -1
  20. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-scyhe133.js → classDiagram-v2-NBCMYWYE-bnf85z0f.js} +1 -1
  21. package/dist/client/static/js/{cose-bilkent-JH36ORCC-srnnj3f7.js → cose-bilkent-JH36ORCC-e290161f.js} +1 -1
  22. package/dist/client/static/js/{cynefinDiagram-VND7K2PF-1zfrnyay.js → cynefinDiagram-VND7K2PF-s13ra9ag.js} +1 -1
  23. package/dist/client/static/js/{dagre-6A5THRUB-hepk25pz.js → dagre-6A5THRUB-83wshh5e.js} +1 -1
  24. package/dist/client/static/js/{diagram-22UHCM2B-wy2y0323.js → diagram-22UHCM2B-ywh4wqna.js} +1 -1
  25. package/dist/client/static/js/{diagram-3UASUU5V-j904f93p.js → diagram-3UASUU5V-cb53z698.js} +1 -1
  26. package/dist/client/static/js/{diagram-ATOU4E4O-2mmxccm2.js → diagram-ATOU4E4O-btf55c44.js} +1 -1
  27. package/dist/client/static/js/{diagram-CDSNMT55-cfhk73ty.js → diagram-CDSNMT55-p6tbbm1n.js} +1 -1
  28. package/dist/client/static/js/{diagram-MLGK6HIB-ryf8j6hf.js → diagram-MLGK6HIB-6kzssf4y.js} +1 -1
  29. package/dist/client/static/js/{diagram-MPIPVDR6-8k5e36sd.js → diagram-MPIPVDR6-4v0yncvv.js} +1 -1
  30. package/dist/client/static/js/{dockerfile-1e7deann.js → dockerfile-r422htmd.js} +1 -1
  31. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-5kkbbbhv.js → ebnfDiagram-ZINNZB2B-mw1gh30z.js} +1 -1
  32. package/dist/client/static/js/{elk-276RUBZZ-jqc4mzvc.js → elk-276RUBZZ-1pe786ap.js} +1 -1
  33. package/dist/client/static/js/{erDiagram-OPXOYQCR-kx15t6f0.js → erDiagram-OPXOYQCR-x7rk70q6.js} +1 -1
  34. package/dist/client/static/js/flowDiagram-KWPJA3E3-kfwaac44.js +1 -0
  35. package/dist/client/static/js/{ganttDiagram-FUAMR5RP-3hv8pej4.js → ganttDiagram-FUAMR5RP-j3m5km4p.js} +1 -1
  36. package/dist/client/static/js/{gitGraphDiagram-X574FWY7-a4mq8vwz.js → gitGraphDiagram-X574FWY7-fd1kebdy.js} +1 -1
  37. package/dist/client/static/js/{index-fanhvjk8.js → index-004x0a3p.js} +1 -1
  38. package/dist/client/static/js/{index-exyg9sna.js → index-0mhxw0a1.js} +1 -1
  39. package/dist/client/static/js/{index-51wzt3ma.js → index-22frp78d.js} +1 -1
  40. package/dist/client/static/js/{index-x5c5yxhj.js → index-29b1ysz6.js} +1 -1
  41. package/dist/client/static/js/{index-br27jz2t.js → index-3hrvhyym.js} +1 -1
  42. package/dist/client/static/js/{index-kvker1ps.js → index-3k45gspr.js} +1 -1
  43. package/dist/client/static/js/{index-vxe4e903.js → index-473wm10a.js} +1 -1
  44. package/dist/client/static/js/{index-demg0p74.js → index-4acka5fn.js} +1 -1
  45. package/dist/client/static/js/{index-40ydm28n.js → index-4dzvjfkd.js} +1 -1
  46. package/dist/client/static/js/{index-n5194pe6.js → index-4fpyzg5e.js} +7 -7
  47. package/dist/client/static/js/{index-n4pm0hrh.js → index-4jg10xtp.js} +1 -1
  48. package/dist/client/static/js/{index-937bn0d2.js → index-4nyajpeg.js} +1 -1
  49. package/dist/client/static/js/{index-8hnem33f.js → index-5fxm2tpg.js} +1 -1
  50. package/dist/client/static/js/{index-pszsxhjr.js → index-72v57e07.js} +1 -1
  51. package/dist/client/static/js/{index-0j5ng1qc.js → index-7tsdw8wt.js} +1 -1
  52. package/dist/client/static/js/{index-k4kwrze2.js → index-8e66p2a7.js} +1 -1
  53. package/dist/client/static/js/{index-317v49ey.js → index-8n4qwd64.js} +2 -2
  54. package/dist/client/static/js/{index-w4dep7k6.js → index-bnamrpm6.js} +1 -1
  55. package/dist/client/static/js/{index-01rdknec.js → index-bxhszdcz.js} +1 -1
  56. package/dist/client/static/js/{index-n3cts2j1.js → index-cbbwq25c.js} +1 -1
  57. package/dist/client/static/js/{index-kevqayd9.js → index-dfha2z56.js} +1 -1
  58. package/dist/client/static/js/{index-e2y4hkps.js → index-drsy400d.js} +1 -1
  59. package/dist/client/static/js/{index-4kchzh9y.js → index-e4yj4kbe.js} +8 -8
  60. package/dist/client/static/js/{index-bf54x0w8.js → index-g84dwmvr.js} +1 -1
  61. package/dist/client/static/js/index-gedsa0z7.css +1 -0
  62. package/dist/client/static/js/{index-x3g8fwkc.js → index-hge0y4vn.js} +2 -2
  63. package/dist/client/static/js/{index-9cr6p86f.js → index-hgsjynb0.js} +1 -1
  64. package/dist/client/static/js/{index-0z7kerp1.js → index-j1prebvy.js} +2 -2
  65. package/dist/client/static/js/{index-rtfw07hy.js → index-jbaceghb.js} +1 -1
  66. package/dist/client/static/js/{index-v90zd3sq.js → index-jtyzeynv.js} +2 -2
  67. package/dist/client/static/js/{index-p8bta9ae.js → index-kbk0vmex.js} +4 -4
  68. package/dist/client/static/js/{index-40fdtqvw.js → index-q178zgxp.js} +1 -1
  69. package/dist/client/static/js/{index-eb43hnd3.js → index-q4t5j3x7.js} +1 -1
  70. package/dist/client/static/js/{index-xhcbaaga.js → index-qdabc51h.js} +3 -3
  71. package/dist/client/static/js/{index-jvn2xfpt.js → index-qrwjxqdh.js} +168 -166
  72. package/dist/client/static/js/{index-3kenmzbe.js → index-rm5b3kn8.js} +1 -1
  73. package/dist/client/static/js/{index-g3x4w48f.js → index-s4v3vcsn.js} +1 -1
  74. package/dist/client/static/js/{index-kz5d00m5.js → index-s6nv35dv.js} +1 -1
  75. package/dist/client/static/js/{index-1ye834yz.js → index-satnfvaz.js} +1 -1
  76. package/dist/client/static/js/{index-m85c740p.js → index-tcp5cp53.js} +1 -1
  77. package/dist/client/static/js/{index-9gddw5qy.js → index-zkef5q39.js} +1 -1
  78. package/dist/client/static/js/{infoDiagram-VRGFBTTK-wtnqb06v.js → infoDiagram-VRGFBTTK-1m0br602.js} +1 -1
  79. package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-eta0jnvr.js → ishikawaDiagram-OU5B5YK6-zryzhpq6.js} +1 -1
  80. package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-4e572kkp.js → journeyDiagram-ZHPQQLJL-6apqr7h4.js} +1 -1
  81. package/dist/client/static/js/{kanban-definition-PNTS6WVX-yrtnn4zy.js → kanban-definition-PNTS6WVX-am385c1e.js} +1 -1
  82. package/dist/client/static/js/{mermaid.core-195b0fb6.js → mermaid.core-k937exrm.js} +2 -2
  83. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-pphjnkvt.js → mindmap-definition-NLK3R4M7-hx8qq866.js} +1 -1
  84. package/dist/client/static/js/one-dark-pro-phxqe9mx.js +1 -0
  85. package/dist/client/static/js/one-light-vhwh499y.js +1 -0
  86. package/dist/client/static/js/{pegDiagram-GJSIUBJH-kgffb9p3.js → pegDiagram-GJSIUBJH-1hasj2h7.js} +1 -1
  87. package/dist/client/static/js/{pieDiagram-5QR66LMP-efech3mm.js → pieDiagram-5QR66LMP-x5nwff8r.js} +1 -1
  88. package/dist/client/static/js/{quadrantDiagram-O4NWA36T-khf9cv3t.js → quadrantDiagram-O4NWA36T-gmrcr5jb.js} +1 -1
  89. package/dist/client/static/js/{railroadDiagram-XR7U4H2S-ye68kdx2.js → railroadDiagram-XR7U4H2S-rdznfhfb.js} +1 -1
  90. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-3s4smnme.js → requirementDiagram-PLB6GJNP-v9wb3ppf.js} +1 -1
  91. package/dist/client/static/js/{rust-tdrnaxp3.js → rust-9cgnbbcs.js} +1 -1
  92. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-9pqd25mc.js → sankeyDiagram-IPEJSGJF-3p4ddd2h.js} +1 -1
  93. package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-rka8ct43.js → sequenceDiagram-PO4LG4MO-wfcqxjfq.js} +1 -1
  94. package/dist/client/static/js/{sizeCapture-INFHLROL-g5wkzry8.js → sizeCapture-INFHLROL-g02k0k8x.js} +1 -1
  95. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-gy1zab2j.js → stateDiagram-v2-GCMORJYK-7k449yvg.js} +1 -1
  96. package/dist/client/static/js/{swimlanes-2SLR337P-kr35nmd2.js → swimlanes-2SLR337P-zkf2bgm8.js} +1 -1
  97. package/dist/client/static/js/{swimlanesDiagram-TC7HE7FX-qnhxxmjr.js → swimlanesDiagram-TC7HE7FX-yex8g4fx.js} +1 -1
  98. package/dist/client/static/js/{timeline-definition-EJHVYXUP-sg151mkc.js → timeline-definition-EJHVYXUP-qsfpjr1c.js} +1 -1
  99. package/dist/client/static/js/{usecaseDiagram-POWQR4AR-f91g61p3.js → usecaseDiagram-POWQR4AR-b2vprhsr.js} +1 -1
  100. package/dist/client/static/js/{vennDiagram-UO4OBE2U-zbhr4eqf.js → vennDiagram-UO4OBE2U-x0ffeg2t.js} +1 -1
  101. package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-6302414n.js → wardleyDiagram-VNRHLVJA-hsnhaf4f.js} +1 -1
  102. package/dist/client/static/js/{xychartDiagram-PMCCYNJV-0a47th65.js → xychartDiagram-PMCCYNJV-90f9aadp.js} +1 -1
  103. package/package.json +5 -5
  104. package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
  105. package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +5 -3
  106. package/src/client/components/workspace/chat-timeline/index.tsx +1 -1
  107. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/GroupedAsk.tsx +41 -21
  108. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionBlock.tsx +16 -3
  109. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +105 -2
  110. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +59 -8
  111. package/src/client/components/workspace/chat-timeline/tool-renderers/index.tsx +2 -0
  112. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AgentAdmin.test.tsx +54 -0
  113. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AgentAdmin.tsx +72 -0
  114. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.test.tsx +91 -0
  115. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +8 -2
  116. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Read.test.ts +9 -0
  117. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Read.tsx +16 -1
  118. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/WebSearch.test.tsx +59 -0
  119. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/WebSearch.tsx +11 -1
  120. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/agent-admin-rows.test.ts +81 -0
  121. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/agent-admin-rows.ts +139 -0
  122. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/task-rows.ts +14 -2
  123. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.test.ts +22 -0
  124. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.ts +14 -0
  125. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +36 -1
  126. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +10 -5
  127. package/src/client/data/settings/omp-schema.json +445 -165
  128. package/src/client/hooks/chat/timeline/ask-frame-buckets.ts +14 -4
  129. package/src/client/hooks/chat/timeline/ask-frames-context.ts +3 -1
  130. package/src/client/hooks/chat/timeline/ask-frames-grouped.test.ts +31 -0
  131. package/src/client/hooks/chat/timeline/ask-frames.ts +12 -3
  132. package/src/client/hooks/chat/timeline/send-props.ts +1 -2
  133. package/src/server/lib/harness/acp/client-capabilities.test.ts +3 -2
  134. package/src/server/lib/sessions/last-opened.server.test.ts +26 -7
  135. package/src/server/lib/sessions/last-opened.server.ts +19 -4
  136. package/src/server/routes/fs/raw.test.ts +33 -0
  137. package/src/server/routes/fs/raw.ts +31 -11
  138. package/src/shared/lib/chat/ask-questions.test.ts +29 -0
  139. package/src/shared/lib/chat/ask-questions.ts +44 -3
  140. package/src/shared/lib/chat/ask-results.test.ts +66 -0
  141. package/src/shared/lib/chat/ask-results.ts +58 -0
  142. package/src/shared/lib/chat/timeline/block-chrome.ts +4 -4
  143. package/src/shared/lib/chat/timeline/tool-phrases.test.ts +4 -0
  144. package/src/shared/lib/chat/timeline/tool-phrases.ts +2 -0
  145. package/src/shared/lib/models/provider/glyph.test.ts +13 -11
  146. package/src/shared/lib/models/provider/glyph.ts +1 -0
  147. package/src/shared/lib/models/provider/label.ts +3 -0
  148. package/src/shared/lib/omp/config/schema-releases-19-3.test.ts +64 -0
  149. package/src/shared/lib/omp/config/schema-releases.test.ts +6 -4
  150. package/src/shared/lib/omp/session/wait-idle.test.ts +12 -2
  151. package/src/shared/lib/omp/session/wait-idle.ts +11 -6
  152. package/tsconfig.json +6 -0
  153. package/dist/client/static/js/MergeDiffView-y0we0194.js +0 -1
  154. package/dist/client/static/js/flowDiagram-KWPJA3E3-dpjz82p8.js +0 -1
  155. package/dist/client/static/js/index-4m2d73m3.css +0 -1
  156. package/dist/client/static/js/one-dark-pro-asy2qj2p.js +0 -1
  157. package/dist/client/static/js/one-light-fya1pbbx.js +0 -1
@@ -83,6 +83,7 @@ describe('tool phrase tables', () => {
83
83
  test('canonical names and legacy aliases resolve to the expected stems', () => {
84
84
  expect(TOOL_VERBS.read).toBe('Reading');
85
85
  expect(TOOL_VERBS.todo).toBe('Updating plan');
86
+ expect(TOOL_VERBS.gitlab).toBe('GitLab');
86
87
  expect(TOOL_ALIASES.read_file).toBe('read');
87
88
  expect(TOOL_ALIASES.terminal).toBe('bash');
88
89
  expect(DEVICE_VERBS.lsp).toBe('Running LSP');
@@ -153,6 +154,9 @@ describe('subjectFor', () => {
153
154
  expect(subjectFor('debug', { action: 'attach' })).toBe('attach');
154
155
  expect(subjectFor('github', { op: 'pr', repo: 'o/r' })).toBe('pr o/r');
155
156
  expect(subjectFor('github', {})).toBeUndefined();
157
+ // omp 19.3.0's `gitlab` tool shares the `{ op, repo|mr|query }` shape.
158
+ expect(subjectFor('gitlab', { op: 'mr_create', repo: 'g/p' })).toBe('mr_create g/p');
159
+ expect(subjectFor('gitlab', {})).toBeUndefined();
156
160
  });
157
161
 
158
162
  test('ask reads the first question header, then its question text', () => {
@@ -43,6 +43,7 @@ export const TOOL_VERBS: Record<string, string> = {
43
43
  lsp: 'Running LSP',
44
44
  debug: 'Debugging',
45
45
  github: 'GitHub',
46
+ gitlab: 'GitLab',
46
47
  web_search: 'Searching the web',
47
48
  ask: 'Asking you',
48
49
  checkpoint: 'Checkpointing',
@@ -212,6 +213,7 @@ export function subjectFor(name: string, args: Record<string, unknown>): string
212
213
  case 'debug':
213
214
  return pick(args, ['action', 'program']);
214
215
  case 'github':
216
+ case 'gitlab':
215
217
  return [pick(args, ['op']), pick(args, ['repo', 'pr', 'query'])].filter(Boolean).join(' ') || undefined;
216
218
  case 'ask':
217
219
  return askSubject(args);
@@ -17,20 +17,21 @@ import { PROVIDER_GLYPHS } from '@/client/components/common/provider-icon/glyphs
17
17
  import { providerInitials, resolveProviderGlyph } from '@/shared/lib/models/provider/glyph';
18
18
 
19
19
  /**
20
- * Every provider id omp 18.3.0 ships (`KnownProvider`) plus Kabmo's own
21
- * additions. A provider added upstream appears here as one more id, and the
22
- * coverage test below is what makes its missing mark a loud failure instead of a
23
- * blank badge in the picker.
20
+ * Every provider id omp ships (`KnownProvider`), plus Kabmo's own additions and
21
+ * the slugs omp retired but stored sessions still name. A provider added
22
+ * upstream appears here as one more id, and the coverage test below is what
23
+ * makes its missing mark a loud failure instead of a blank badge in the picker.
24
24
  */
25
25
  const PROVIDER_IDS = [
26
26
  'abliteration', 'aiand', 'aimlapi', 'alibaba-coding-plan', 'alibaba-token-plan', 'amazon-bedrock',
27
- 'anthropic', 'apple', 'azure', 'baseten', 'bedrock-mantle', 'cerebras', 'charm-hyper', 'cline-pass',
28
- 'cloudflare-ai-gateway', 'commandcode', 'coreweave', 'cursor', 'deepinfra', 'deepseek', 'devin',
29
- 'firepass', 'fireworks', 'github-copilot', 'gitlab-duo', 'gitlab-duo-agent', 'gmi-cloud', 'google',
30
- 'google-antigravity', 'google-gemini-cli', 'google-vertex', 'groq', 'huggingface', 'kilo', 'kimi-code',
31
- 'litellm', 'llama.cpp', 'lm-studio', 'local', 'meta', 'minimax', 'minimax-code', 'minimax-code-cn',
32
- 'mistral', 'moonshot', 'muse-code', 'nanogpt', 'novita', 'nvidia', 'ollama', 'ollama-cloud', 'openai',
33
- 'openai-codex', 'opencode-go', 'opencode-zen', 'openrouter', 'qianfan', 'qwen-portal', 'sakana',
27
+ 'anthropic', 'apple', 'arkanecloud', 'azure', 'baseten', 'bedrock-mantle', 'cerebras', 'charm-hyper',
28
+ 'cline-pass', 'cloudflare-ai-gateway', 'commandcode', 'coreweave', 'cursor', 'deepinfra', 'deepseek',
29
+ 'devin', 'firepass', 'fireworks', 'github-copilot', 'gitlab-duo', 'gitlab-duo-agent', 'gmi-cloud',
30
+ 'google', 'google-antigravity', 'google-gemini-cli', 'google-vertex', 'groq', 'huggingface', 'kilo',
31
+ 'kimi-code', 'kimi-code-global', 'litellm', 'llama.cpp', 'lm-studio', 'local', 'meta', 'minimax',
32
+ 'minimax-code', 'minimax-code-cn', 'mistral', 'moonshot', 'muse-code', 'nanogpt', 'novita', 'nvidia',
33
+ 'ollama', 'ollama-cloud', 'openai', 'openai-codex', 'opencode-go', 'opencode-zen', 'openrouter',
34
+ 'qianfan', 'qwen-portal', 'refuseless', 'sakana',
34
35
  'siliconflow', 'siliconflow-cn', 'singularityapi-dev', 'singularityapi-tech', 'stepfun', 'synthetic',
35
36
  'together', 'typesafe', 'umans', 'venice', 'vercel-ai-gateway', 'vllm', 'wafer-serverless', 'web',
36
37
  'xai', 'xai-oauth', 'xiaomi', 'xiaomi-token-plan-ams', 'xiaomi-token-plan-cn', 'xiaomi-token-plan-sgp',
@@ -75,6 +76,7 @@ describe('resolveProviderGlyph', () => {
75
76
  expect(resolveProviderGlyph('openai-codex')).toBe(resolveProviderGlyph('codex'));
76
77
  expect(resolveProviderGlyph('opencode-zen')).toBe(resolveProviderGlyph('opencode-go'));
77
78
  expect(resolveProviderGlyph('gitlab-duo-agent')).toBe(resolveProviderGlyph('gitlab-duo'));
79
+ expect(resolveProviderGlyph('kimi-code-global')).toBe(resolveProviderGlyph('kimi'));
78
80
  });
79
81
 
80
82
  test('spelling differences fold to the same key', () => {
@@ -91,6 +91,7 @@ export const PROVIDER_GLYPH_ALIASES: Readonly<Record<string, string>> = {
91
91
  kilocode: 'kilocode',
92
92
  kimi: 'kimi',
93
93
  kimicode: 'kimi',
94
+ kimicodeglobal: 'kimi',
94
95
  litellm: 'litellm',
95
96
  llama: 'meta',
96
97
  llamacpp: 'llamacpp',
@@ -63,6 +63,9 @@ const BRAND_NAMES: Record<string, string> = {
63
63
  xai: 'xAI',
64
64
  'xai-oauth': 'xAI (OAuth)',
65
65
  'kimi-code': 'Kimi Code',
66
+ 'kimi-code-global': 'Kimi Code (Global)',
67
+ arkanecloud: 'ArkaneCloud',
68
+ refuseless: 'Refuseless',
66
69
  'qwen-portal': 'Qwen Portal',
67
70
  'minimax-code': 'MiniMax Code',
68
71
  'minimax-code-cn': 'MiniMax Code (CN)',
@@ -0,0 +1,64 @@
1
+ /**
2
+ * @license
3
+ * SPDX-License-Identifier: MIT
4
+ */
5
+
6
+ /**
7
+ * The rows omp 19.3.0 and later add to the settings schema.
8
+ *
9
+ * Split from `schema-releases.test.ts` when that file reached its line ceiling;
10
+ * the contract is the same: every bump pins the rows it brought, and the rows
11
+ * it removed, so a regenerated schema cannot silently lose the panel's only
12
+ * editor for a setting or keep offering a key the binary rejects.
13
+ */
14
+
15
+ import { describe, expect, test } from 'bun:test';
16
+
17
+ import { OMP_SCHEMA } from '@/shared/lib/omp/config/schema';
18
+ import type { SchemaEntry } from '@kabmo-labs/kabmo-omp/schema/schema-types';
19
+
20
+ describe('OMP_SCHEMA release rows (19.3.0+)', () => {
21
+ test("19.3.0's activity enum, fullscreen rows and wait window are offered", () => {
22
+ // Measured against `omp config list --json` (659 keys) and `omp config get`
23
+ // on 19.3.0, with 499 panel entries. The panel is the only place an omp
24
+ // setting is reachable, so a schema regenerated without a row removes it.
25
+ const expected: Record<string, { type: SchemaEntry['type']; tab: string; group: string; default: unknown }> = {
26
+ 'display.toolActivity': { type: 'enum', tab: 'appearance', group: 'Display', default: 'detailed' },
27
+ 'tui.screen': { type: 'enum', tab: 'appearance', group: 'Display', default: 'inline' },
28
+ 'wait.idleTimeout': { type: 'string', tab: 'tools', group: 'Execution', default: 'ladder' },
29
+ 'gitlab.enabled': { type: 'boolean', tab: 'tools', group: 'Available Tools', default: false },
30
+ 'find.timeoutMs': { type: 'number', tab: 'tools', group: 'Find', default: 20000 },
31
+ 'compaction.handoffTimeoutSeconds': { type: 'number', tab: 'context', group: 'Compaction', default: 0 },
32
+ };
33
+ for (const [key, want] of Object.entries(expected)) {
34
+ const entry = OMP_SCHEMA.entries[key];
35
+ expect({ key, entry: entry && { type: entry.type, tab: entry.ui.tab, group: entry.ui.group, default: entry.default } }).toEqual({
36
+ key,
37
+ entry: want,
38
+ });
39
+ }
40
+ expect(OMP_SCHEMA.entries['display.toolActivity']?.values).toEqual(['detailed', 'concise', 'hidden']);
41
+ expect(OMP_SCHEMA.entries['tui.screen']?.values).toEqual(['inline', 'fullscreen']);
42
+
43
+ // The boolean this release replaced, and five keys removed outright, are
44
+ // gone from omp's registry: a stale row is a write the binary rejects.
45
+ for (const key of [
46
+ 'display.hideToolActivity', 'commands.enableClaudeUser', 'commands.enableOpencodeUser',
47
+ 'providers.antigravityEndpoint', 'tools.speculativeExecution.enabled',
48
+ 'tools.speculativeExecution.maxInFlight',
49
+ ]) {
50
+ expect(`${key}: ${String(OMP_SCHEMA.entries[key])}`).toBe(`${key}: undefined`);
51
+ }
52
+
53
+ // Defaults and enum values that moved with the release: the panel shows
54
+ // the schema's value, so a stale row would offer what omp no longer does.
55
+ expect(OMP_SCHEMA.entries['async.printWake']?.default).toBe(true);
56
+ expect(OMP_SCHEMA.entries['tools.commandNotices']?.default).toBe(false);
57
+ expect(OMP_SCHEMA.entries['tui.titleSpinner']?.default).toBe('centered');
58
+ expect(OMP_SCHEMA.entries['tui.titleSpinner']?.values).toContain('centered');
59
+ expect(OMP_SCHEMA.entries['model.toolCallLoopGuard.exemptTools']?.default).toContain('vibe_wait');
60
+ expect(OMP_SCHEMA.entries['providers.fetch']?.values).toEqual(['auto', 'local', 'parallel', 'firecrawl', 'jina']);
61
+ expect(OMP_SCHEMA.entries['snapcompact.shape']?.values).toContain('cjk16-bw');
62
+ expect(OMP_SCHEMA.entries['snapcompact.shape']?.values).not.toContain('silver16-bw');
63
+ });
64
+ });
@@ -209,11 +209,13 @@ describe('OMP_SCHEMA release rows', () => {
209
209
  entry: want,
210
210
  });
211
211
  }
212
- // `live.voice` became a free-form string that still ships the nine known
213
- // voices as options: omp's own panel renders string+options as a submenu,
214
- // and so does `RowEditor`, so the row must keep its options.
212
+ // `live.voice` became a free-form string that still ships the known voices
213
+ // as options: omp's own panel renders string+options as a submenu, and so
214
+ // does `RowEditor`, so the row must keep its options. 19.3.0 adds 17 Codex
215
+ // live voices (9 → 26); the live model itself moves to
216
+ // `gpt-live-1.1-codex`.
215
217
  expect(OMP_SCHEMA.entries['live.voice']?.type).toBe('string');
216
- expect(OMP_SCHEMA.entries['live.voice']?.ui.options).toHaveLength(9);
218
+ expect(OMP_SCHEMA.entries['live.voice']?.ui.options).toHaveLength(26);
217
219
  // The generator reads the raw definition, where the marker is `credential`
218
220
  // (not the `Setting` instance's `isCredential` getter). Reading the getter
219
221
  // left every credential row in plain text — including this release's key.
@@ -14,11 +14,21 @@ import { WAIT_LADDER_MS, waitIdleLabel, waitIdleOf } from '@/shared/lib/omp/sess
14
14
 
15
15
  describe('the idle ladder', () => {
16
16
  test('mirrors the two-rung ladder omp 19.0.0 gives a blocking wait', () => {
17
- // The 30-minute cap is GONE, and 19.0.0 cut the five rungs to two: a first
18
- // idle wait gets 5 s, every back-to-back one 4 minutes.
17
+ // omp cut the five rungs to two: a first idle wait gets 5 s, every
18
+ // back-to-back one 4 minutes. 19.3.0 stretches the TOP rung to the prompt
19
+ // cache lifetime less a minute (capped at 30m), which is a window the
20
+ // result states in prose — the base ladder is still these two values.
19
21
  expect([...WAIT_LADDER_MS]).toEqual([5_000, 240_000]);
20
22
  });
21
23
 
24
+ test('reads the stretched top window 19.3.0 can report', () => {
25
+ // A cache lifetime longer than five minutes makes a back-to-back job or
26
+ // service wait block up to 30 minutes before it returns an idle sentence.
27
+ expect(
28
+ waitIdleOf('No job finished within 29m. Nothing else left? Call `wait` again right away: it then blocks up to 30m.'),
29
+ ).toEqual({ windowMs: 1_740_000 });
30
+ });
31
+
22
32
  test('reads the window omp names on a first idle return', () => {
23
33
  // The FIRST rung carries no notice, only its own sentence.
24
34
  expect(waitIdleOf('No reply within 5.0s.')).toEqual({ windowMs: 5_000 });
@@ -11,8 +11,11 @@
11
11
  * returns when its window elapses, and the window climbs one rung for every
12
12
  * back-to-back idle wait, restarting at the floor once the agent has done other
13
13
  * work in between. omp 19.0.0 standardized the ladder to two rungs — 5 s for a
14
- * first idle wait, 4 minutes for each back-to-back one — so there is no ceiling
15
- * to count down to any more.
14
+ * first idle wait, 4 minutes for each back-to-back one — so there is no total
15
+ * budget to count down to any more. 19.3.0 stretches the top rung to the
16
+ * session's prompt-cache lifetime less a minute (capped at 30 minutes), so a
17
+ * back-to-back job or service wait can report up to `30m` where it used to say
18
+ * `4m`; this module reads whatever the sentence says.
16
19
  *
17
20
  * Neither the rung nor the streak is a field on the result: both are stated in
18
21
  * omp's prose, which is what this module parses. It lives beside `wait.ts`
@@ -36,10 +39,12 @@ import { formatToolMs } from '@/shared/lib/chat/tool/labels';
36
39
  * (`WAIT_LADDER_MS` in `tools/wait.ts`). 19.1.0 skips the floor for JOB waits
37
40
  * in a top-level interactive session — an early return there can only end its
38
41
  * turn, one request more than blocking for the result — so the first job wait
39
- * in a Kabmo chat already reports the 4-minute window. A session recorded
40
- * before the pin still names the old windows, so this list is a reference for
41
- * the current pin only: the window a result reports is always parsed from
42
- * omp's sentence, never derived from the rung index.
42
+ * in a Kabmo chat already reports at least the 4-minute window. 19.3.0 makes
43
+ * the top rung a FLOOR when the prompt cache is known to live longer, capped at
44
+ * 30 minutes. A session recorded before the pin still names the old windows, so
45
+ * this list is a reference for the current pin only: the window a result
46
+ * reports is always parsed from omp's sentence, never derived from the rung
47
+ * index.
43
48
  */
44
49
  export const WAIT_LADDER_MS = [5_000, 240_000] as const;
45
50
 
package/tsconfig.json CHANGED
@@ -52,6 +52,9 @@
52
52
  "@kabmo-labs/kabmo-acp/client/client-requests": [
53
53
  "./packages/kabmo-acp/src/client/client-requests.ts"
54
54
  ],
55
+ "@kabmo-labs/kabmo-acp/client/elicitations": [
56
+ "./packages/kabmo-acp/src/client/elicitations.ts"
57
+ ],
55
58
  "@kabmo-labs/kabmo-acp/client/gateway-env": [
56
59
  "./packages/kabmo-acp/src/client/gateway-env.ts"
57
60
  ],
@@ -166,6 +169,9 @@
166
169
  "@kabmo-labs/kabmo-acp/session-core/session-approvals": [
167
170
  "./packages/kabmo-acp/src/session-core/session-approvals.ts"
168
171
  ],
172
+ "@kabmo-labs/kabmo-acp/session-core/session-elicitations": [
173
+ "./packages/kabmo-acp/src/session-core/session-elicitations.ts"
174
+ ],
169
175
  "@kabmo-labs/kabmo-acp/session-core/session-handshake": [
170
176
  "./packages/kabmo-acp/src/session-core/session-handshake.ts"
171
177
  ],
@@ -1 +0,0 @@
1
- import{pg}from"./index-p8bta9ae.js";import"./index-4kchzh9y.js";import"./index-exyg9sna.js";export{pg as MergeDiffView};
@@ -1 +0,0 @@
1
- import"./index-n5194pe6.js";import"./index-40fdtqvw.js";import{eb}from"./index-k4kwrze2.js";export{eb as diagram};