@kb-labs/agent-entry 2.94.0 → 2.96.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 (79) hide show
  1. package/dist/cli/commands/diff.js +4 -4
  2. package/dist/cli/commands/diff.js.map +1 -1
  3. package/dist/cli/commands/history.js +6 -6
  4. package/dist/cli/commands/history.js.map +1 -1
  5. package/dist/cli/commands/quality-report.js +3 -3
  6. package/dist/cli/commands/quality-report.js.map +1 -1
  7. package/dist/cli/commands/rollback.js +1 -1
  8. package/dist/cli/commands/rollback.js.map +1 -1
  9. package/dist/cli/commands/run.js +24 -7
  10. package/dist/cli/commands/run.js.map +1 -1
  11. package/dist/cli/commands/trace-context.js +3 -3
  12. package/dist/cli/commands/trace-context.js.map +1 -1
  13. package/dist/cli/commands/trace-diagnose.js +3 -3
  14. package/dist/cli/commands/trace-diagnose.js.map +1 -1
  15. package/dist/cli/commands/trace-stats.js +3 -3
  16. package/dist/cli/commands/trace-stats.js.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +40 -35
  19. package/dist/index.js.map +1 -1
  20. package/dist/manifest.d.ts +62 -7
  21. package/dist/manifest.js +40 -35
  22. package/dist/manifest.js.map +1 -1
  23. package/dist/rest/handlers/approve-handler.js +51 -47
  24. package/dist/rest/handlers/approve-handler.js.map +1 -1
  25. package/dist/rest/handlers/approve-session-plan-handler.js +38 -34
  26. package/dist/rest/handlers/approve-session-plan-handler.js.map +1 -1
  27. package/dist/rest/handlers/correct-handler.js +49 -45
  28. package/dist/rest/handlers/correct-handler.js.map +1 -1
  29. package/dist/rest/handlers/create-session-handler.js +17 -13
  30. package/dist/rest/handlers/create-session-handler.js.map +1 -1
  31. package/dist/rest/handlers/execute-session-plan-handler.js +216 -208
  32. package/dist/rest/handlers/execute-session-plan-handler.js.map +1 -1
  33. package/dist/rest/handlers/generate-spec-handler.js +103 -98
  34. package/dist/rest/handlers/generate-spec-handler.js.map +1 -1
  35. package/dist/rest/handlers/get-file-diff-handler.js +35 -31
  36. package/dist/rest/handlers/get-file-diff-handler.js.map +1 -1
  37. package/dist/rest/handlers/get-session-handler.js +15 -11
  38. package/dist/rest/handlers/get-session-handler.js.map +1 -1
  39. package/dist/rest/handlers/get-session-plan-handler.js +28 -24
  40. package/dist/rest/handlers/get-session-plan-handler.js.map +1 -1
  41. package/dist/rest/handlers/get-session-turns-handler.js +27 -23
  42. package/dist/rest/handlers/get-session-turns-handler.js.map +1 -1
  43. package/dist/rest/handlers/get-spec-handler.js +22 -18
  44. package/dist/rest/handlers/get-spec-handler.js.map +1 -1
  45. package/dist/rest/handlers/list-file-changes-handler.js +25 -21
  46. package/dist/rest/handlers/list-file-changes-handler.js.map +1 -1
  47. package/dist/rest/handlers/list-sessions-handler.js +16 -12
  48. package/dist/rest/handlers/list-sessions-handler.js.map +1 -1
  49. package/dist/rest/handlers/rollback-handler.js +73 -69
  50. package/dist/rest/handlers/rollback-handler.js.map +1 -1
  51. package/dist/rest/handlers/run-handler.js +151 -147
  52. package/dist/rest/handlers/run-handler.js.map +1 -1
  53. package/dist/rest/handlers/sessions-handler.js +47 -35
  54. package/dist/rest/handlers/sessions-handler.js.map +1 -1
  55. package/dist/rest/handlers/status-handler.js +33 -29
  56. package/dist/rest/handlers/status-handler.js.map +1 -1
  57. package/dist/rest/handlers/stop-handler.js +37 -33
  58. package/dist/rest/handlers/stop-handler.js.map +1 -1
  59. package/dist/widgets/117.js +24 -1
  60. package/dist/widgets/{300.js → 215.js} +1 -1
  61. package/dist/widgets/370.js +1 -1
  62. package/dist/widgets/{805.js → 46.js} +92 -92
  63. package/dist/widgets/50.js +1 -1
  64. package/dist/widgets/62.js +96 -0
  65. package/dist/widgets/648.js +1 -0
  66. package/dist/widgets/669.js +1 -1
  67. package/dist/widgets/775.js +1 -1
  68. package/dist/widgets/78.js +1 -0
  69. package/dist/widgets/968.js +2 -2
  70. package/dist/widgets/__federation_expose_AgentsPage.js +1 -1
  71. package/dist/widgets/mf-manifest.json +31 -31
  72. package/dist/widgets/mf-stats.json +39 -39
  73. package/dist/widgets/remoteEntry.js +2 -2
  74. package/dist/ws/session-stream-handler.js +17 -6
  75. package/dist/ws/session-stream-handler.js.map +1 -1
  76. package/package.json +15 -14
  77. package/dist/widgets/418.js +0 -38
  78. package/dist/widgets/451.js +0 -1
  79. package/dist/widgets/694.js +0 -1
@@ -1 +1 @@
1
- "use strict";(self.rspackChunk_kb_labs_agent_entry=self.rspackChunk_kb_labs_agent_entry||[]).push([[50],{6026(e,s){var t=Symbol.for("react.transitional.element");function r(e,s,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==s.key&&(i=""+s.key),"key"in s)for(var o in r={},s)"key"!==o&&(r[o]=s[o]);else r=s;return{$$typeof:t,type:e,key:i,ref:void 0!==(s=r.ref)?s:null,props:r}}s.Fragment=Symbol.for("react.fragment"),s.jsx=r,s.jsxs=r},4552(e,s,t){e.exports=t(6026)},4332(e,s,t){t.r(s),t.d(s,{EventBusProvider:()=>u,StudioEventBus:()=>o,eventBus:()=>n,useEventBusContext:()=>a});var r=t(2913),i=t(4552),o=class{subscriptions=new Map;history=[];devToolsObserver;subscribe(e,s,t,r){let i={event:e,handler:s,pluginId:t,pageId:r};return this.subscriptions.has(e)||this.subscriptions.set(e,new Set),this.subscriptions.get(e).add(i),()=>{this.subscriptions.get(e)?.delete(i)}}publish(e,s,t,r){let i={sourcePluginId:t,sourcePageId:r,timestamp:Date.now()},o={event:e,payload:s,meta:i};this.history.push(o),this.history.length>100&&this.history.shift(),this.devToolsObserver?.(o);let n=this.subscriptions.get(e);if(n)for(let t of n)try{t.handler(s,i)}catch(s){console.error(`[StudioEventBus] Handler error for "${e}" in ${t.pluginId}:${t.pageId}:`,s)}}unsubscribeAll(e,s){for(let[,t]of this.subscriptions)for(let r of t)r.pluginId===e&&r.pageId===s&&t.delete(r)}getHistory(){return this.history}setDevToolsObserver(e){this.devToolsObserver=e}clearDevToolsObserver(){this.devToolsObserver=void 0}reset(){this.subscriptions.clear(),this.history=[]}},n=new o,l=(0,r.createContext)(n);function u({children:e,bus:s}){return(0,i.jsx)(l.Provider,{value:s??n,children:e})}function a(){return(0,r.useContext)(l)}}}]);
1
+ "use strict";(self.rspackChunk_kb_labs_agent_entry=self.rspackChunk_kb_labs_agent_entry||[]).push([[50],{6026(e,s){var t=Symbol.for("react.transitional.element");function r(e,s,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==s.key&&(i=""+s.key),"key"in s)for(var o in r={},s)"key"!==o&&(r[o]=s[o]);else r=s;return{$$typeof:t,type:e,key:i,ref:void 0!==(s=r.ref)?s:null,props:r}}s.Fragment=Symbol.for("react.fragment"),s.jsx=r,s.jsxs=r},4552(e,s,t){e.exports=t(6026)},4332(e,s,t){t.r(s);var r=t(2913),i=t(4552),o=class{subscriptions=new Map;history=[];devToolsObserver;subscribe(e,s,t,r){let i={event:e,handler:s,pluginId:t,pageId:r};return this.subscriptions.has(e)||this.subscriptions.set(e,new Set),this.subscriptions.get(e).add(i),()=>{this.subscriptions.get(e)?.delete(i)}}publish(e,s,t,r){let i={sourcePluginId:t,sourcePageId:r,timestamp:Date.now()},o={event:e,payload:s,meta:i};this.history.push(o),this.history.length>100&&this.history.shift(),this.devToolsObserver?.(o);let n=this.subscriptions.get(e);if(n)for(let t of n)try{t.handler(s,i)}catch(s){console.error(`[StudioEventBus] Handler error for "${e}" in ${t.pluginId}:${t.pageId}:`,s)}}unsubscribeAll(e,s){for(let[,t]of this.subscriptions)for(let r of t)r.pluginId===e&&r.pageId===s&&t.delete(r)}getHistory(){return this.history}setDevToolsObserver(e){this.devToolsObserver=e}clearDevToolsObserver(){this.devToolsObserver=void 0}reset(){this.subscriptions.clear(),this.history=[]}},n=new o,l=(0,r.createContext)(n);function u({children:e,bus:s}){return(0,i.jsx)(l.Provider,{value:s??n,children:e})}function a(){return(0,r.useContext)(l)}t.d(s,{EventBusProvider:()=>u,StudioEventBus:()=>o,eventBus:()=>n,useEventBusContext:()=>a})}}]);