copilot-operator 0.1.50 → 0.1.52

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 (97) hide show
  1. package/README.md +587 -574
  2. package/dist/src/api/operator.controller.js +119 -1023
  3. package/dist/src/api/operator.service.js +346 -2553
  4. package/dist/src/config/schema.js +13 -0
  5. package/dist/src/orchestrator/hold.js +49 -0
  6. package/dist/src/orchestrator/leadRunner.js +559 -0
  7. package/dist/src/orchestrator/taskRunner.js +211 -39
  8. package/dist/src/plan/kerrigan.js +232 -0
  9. package/dist/src/plan/systemGuide.js +758 -3757
  10. package/dist/src/protocol/leadSchema.js +156 -0
  11. package/dist/src/protocol/parser.js +1 -1
  12. package/dist/src/session/chatNotice.js +191 -0
  13. package/dist/src/session/checkpoint.js +19 -0
  14. package/dist/src/session/compose.js +1 -1
  15. package/dist/src/session/store.js +17 -126
  16. package/dist/src/session/workspace.js +52 -5
  17. package/dist/src/transport/chatTransport.js +1 -1
  18. package/dist/src/transport/copilotTransport.js +135 -1
  19. package/dist/web/404.html +13 -16
  20. package/dist/web/_next/static/_1zhoDsMOPAH2xW702E5A/_buildManifest.js +1 -0
  21. package/dist/web/_next/static/chunks/134-ddd50a7fbb536ec8.js +1 -0
  22. package/dist/web/_next/static/chunks/163.dbd7d36584d0bb37.js +1 -0
  23. package/dist/web/_next/static/chunks/220.35531b39410e1a9f.js +1 -0
  24. package/dist/web/_next/static/chunks/548.71ac96c94136659b.js +1 -0
  25. package/dist/web/_next/static/chunks/584.6df695c5b86a75aa.js +1 -0
  26. package/dist/web/_next/static/chunks/67.9ed79e2fbfb56f26.js +1 -0
  27. package/dist/web/_next/static/chunks/714.1e2338736a70b9c7.js +1 -0
  28. package/dist/web/_next/static/chunks/747.d2c1249d736dc03b.js +1 -0
  29. package/dist/web/_next/static/chunks/77.a200abef0f5b4a7f.js +1 -0
  30. package/dist/web/_next/static/chunks/808-bc7d7eac6d823291.js +1 -0
  31. package/dist/web/_next/static/chunks/921-dc5538cd779c6432.js +1 -0
  32. package/dist/web/_next/static/chunks/app/defaults/page-edd7534ca9ecf366.js +1 -0
  33. package/dist/web/_next/static/chunks/app/layout-8f99a164d76897a0.js +1 -0
  34. package/dist/web/_next/static/chunks/app/page-4bed816eda370d0c.js +1 -0
  35. package/dist/web/_next/static/chunks/app/system/page-1cf9e75e76da59ed.js +1 -0
  36. package/dist/web/_next/static/chunks/webpack-77147e31d2125631.js +1 -0
  37. package/dist/web/_next/static/css/3bea264adc472bc8.css +1 -0
  38. package/dist/web/defaults.html +13 -16
  39. package/dist/web/defaults.txt +22 -23
  40. package/dist/web/index.html +13 -16
  41. package/dist/web/index.txt +22 -23
  42. package/dist/web/system.html +13 -16
  43. package/dist/web/system.txt +22 -23
  44. package/package.json +5 -23
  45. package/prompts/lead1.md +116 -0
  46. package/dist/src/api/saveToDesktop.js +0 -157
  47. package/dist/src/plan/brief.js +0 -2003
  48. package/dist/src/plan/changes.js +0 -217
  49. package/dist/src/plan/script.js +0 -1014
  50. package/dist/src/session/debugExport.js +0 -165
  51. package/dist/src/session/exportRecord.js +0 -277
  52. package/dist/src/session/metrics.js +0 -95
  53. package/dist/src/vcs/prepareFromRemote.js +0 -288
  54. package/dist/src/vcs/remoteAuth.js +0 -117
  55. package/dist/src/vcs/startChoice.js +0 -367
  56. package/dist/src/vcs/syncCommand.js +0 -97
  57. package/dist/web/_next/static/chunks/197-f7c33a0114fc3db3.js +0 -1
  58. package/dist/web/_next/static/chunks/499-751e0be9d4f86e2d.js +0 -1
  59. package/dist/web/_next/static/chunks/534-56c68930a1a3c10f.js +0 -1
  60. package/dist/web/_next/static/chunks/549-c32dd718a1809d4d.js +0 -1
  61. package/dist/web/_next/static/chunks/699-9d031f8c145a0465.js +0 -1
  62. package/dist/web/_next/static/chunks/867-0e5d0d5472bf185f.js +0 -1
  63. package/dist/web/_next/static/chunks/app/appearance/page-a18019cdc395de3d.js +0 -1
  64. package/dist/web/_next/static/chunks/app/defaults/page-614be29d185a2947.js +0 -1
  65. package/dist/web/_next/static/chunks/app/history/page-95bab4c1b1ff9339.js +0 -1
  66. package/dist/web/_next/static/chunks/app/import/page-8ef75fc08638e75f.js +0 -1
  67. package/dist/web/_next/static/chunks/app/layout-a1314921eeba8ad5.js +0 -1
  68. package/dist/web/_next/static/chunks/app/level1/page-dd3ebf37d29dce4f.js +0 -1
  69. package/dist/web/_next/static/chunks/app/page-4d8f0851fe672925.js +0 -1
  70. package/dist/web/_next/static/chunks/app/presets/page-93ab518db67e52a2.js +0 -1
  71. package/dist/web/_next/static/chunks/app/sessions/page-28376d2e4a9b4738.js +0 -1
  72. package/dist/web/_next/static/chunks/app/sessions/view/page-adb64f8ba3d8c06e.js +0 -1
  73. package/dist/web/_next/static/chunks/app/system/page-227a259e383ca2a0.js +0 -1
  74. package/dist/web/_next/static/chunks/webpack-0f31b926d9a9c5a4.js +0 -1
  75. package/dist/web/_next/static/css/4335e4ce269ba1ea.css +0 -1
  76. package/dist/web/_next/static/z74_FBfnnXW5IJCHTgTH2/_buildManifest.js +0 -1
  77. package/dist/web/appearance.html +0 -16
  78. package/dist/web/appearance.txt +0 -26
  79. package/dist/web/history.html +0 -16
  80. package/dist/web/history.txt +0 -26
  81. package/dist/web/import.html +0 -16
  82. package/dist/web/import.txt +0 -26
  83. package/dist/web/level1.html +0 -16
  84. package/dist/web/level1.txt +0 -26
  85. package/dist/web/presets.html +0 -19
  86. package/dist/web/presets.txt +0 -26
  87. package/dist/web/sessions/view.html +0 -16
  88. package/dist/web/sessions/view.txt +0 -26
  89. package/dist/web/sessions.html +0 -16
  90. package/dist/web/sessions.txt +0 -26
  91. package/prompts/organisation.bg.md +0 -43
  92. package/prompts/organisation.en.md +0 -43
  93. package/prompts/persona.bg.md +0 -17
  94. package/prompts/persona.en.md +0 -17
  95. package/prompts/work.bg.md +0 -19
  96. package/prompts/work.en.md +0 -19
  97. /package/dist/web/_next/static/{z74_FBfnnXW5IJCHTgTH2 → _1zhoDsMOPAH2xW702E5A}/_ssgManifest.js +0 -0
@@ -1,26 +1,25 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[8078,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"AppearanceProvider"]
3
- 3:I[867,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"LanguageProvider"]
4
- 4:I[1035,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"DialogHost"]
5
- 5:I[8214,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"SkipLink"]
6
- 6:I[966,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"Shell"]
2
+ 2:I[8078,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"AppearanceProvider"]
3
+ 3:I[8205,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"LanguageProvider"]
4
+ 4:I[1035,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"DialogHost"]
5
+ 5:I[8214,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"SkipLink"]
6
+ 6:I[8300,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"Shell"]
7
7
  7:I[5204,[],""]
8
8
  8:I[2642,[],""]
9
- 9:I[7712,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"ScrollJump"]
10
- a:I[1701,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"StartDialogHost"]
11
- b:I[7089,[],"ClientPageRoot"]
12
- c:I[7279,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","534","static/chunks/534-56c68930a1a3c10f.js","974","static/chunks/app/page-4d8f0851fe672925.js"],"default"]
13
- f:I[433,[],"OutletBoundary"]
14
- 11:I[9884,[],"AsyncMetadataOutlet"]
15
- 13:I[433,[],"ViewportBoundary"]
16
- 15:I[433,[],"MetadataBoundary"]
17
- 16:"$Sreact.suspense"
18
- 18:I[3536,[],""]
19
- :HL["/_next/static/css/4335e4ce269ba1ea.css","style"]
20
- 0:{"P":null,"b":"z74_FBfnnXW5IJCHTgTH2","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4335e4ce269ba1ea.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"data-theme":"light","data-textsize":"normal","data-contrast":"normal","data-motion":"normal","data-links":"plain","data-focus":"normal","children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function () {\n try {\n var d = document.documentElement;\n var raw = localStorage.getItem('cop.appearance');\n var a = raw ? JSON.parse(raw) : {};\n if (!a || typeof a !== 'object') a = {};\n d.dataset.theme = a.theme === 'dark' ? 'dark' : 'light';\n d.dataset.textsize = [\"small\",\"normal\",\"large\",\"huge\",\"giant\"].indexOf(a.textSize) >= 0 ? a.textSize : 'normal';\n d.dataset.contrast = a.highContrast ? 'high' : 'normal';\n d.dataset.motion = a.reduceMotion ? 'reduced' : 'normal';\n d.dataset.links = a.underlineLinks ? 'underline' : 'plain';\n d.dataset.focus = a.strongFocus ? 'strong' : 'normal';\n } catch (e) {}\n})();\n"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{}],["$","$La",null,{}]]}]}]}]}]]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lb",null,{"Component":"$c","searchParams":{},"params":{},"promises":["$@d","$@e"]}],null,["$","$Lf",null,{"children":["$L10",["$","$L11",null,{"promise":"$@12"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L13",null,{"children":"$L14"}],null],["$","$L15",null,{"children":["$","div",null,{"hidden":true,"children":["$","$16",null,{"fallback":null,"children":"$L17"}]}]}]]}],false]],"m":"$undefined","G":["$18",[]],"s":false,"S":true}
21
- d:{}
22
- e:"$0:f:0:1:2:children:1:props:children:0:props:params"
23
- 14:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
24
- 10:null
25
- 12:{"metadata":[["$","title","0",{"children":"copilot-operator"}],["$","meta","1",{"name":"description","content":"Runs task loops with Microsoft 365 Copilot on this machine."}]],"error":null,"digest":"$undefined"}
26
- 17:"$12:metadata"
9
+ 9:I[7712,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"ScrollJump"]
10
+ a:I[7089,[],"ClientPageRoot"]
11
+ b:I[9397,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","974","static/chunks/app/page-4bed816eda370d0c.js"],"default"]
12
+ e:I[433,[],"OutletBoundary"]
13
+ 10:I[9884,[],"AsyncMetadataOutlet"]
14
+ 12:I[433,[],"ViewportBoundary"]
15
+ 14:I[433,[],"MetadataBoundary"]
16
+ 15:"$Sreact.suspense"
17
+ 17:I[3536,[],""]
18
+ :HL["/_next/static/css/3bea264adc472bc8.css","style"]
19
+ 0:{"P":null,"b":"_1zhoDsMOPAH2xW702E5A","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3bea264adc472bc8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"data-theme":"light","data-textsize":"normal","data-contrast":"normal","data-motion":"normal","data-links":"plain","data-focus":"normal","data-night":"off","children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{\nvar d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};\nif(!a||typeof a!=='object')a={};\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\nd.dataset.textsize=[\"small\",\"normal\",\"large\",\"huge\",\"giant\"].indexOf(a.textSize)>=0?a.textSize:'normal';\nd.dataset.contrast=a.highContrast?'high':'normal';\nd.dataset.motion=a.reduceMotion?'reduced':'normal';\nd.dataset.links=a.underlineLinks?'underline':'plain';\nd.dataset.focus=a.strongFocus?'strong':'normal';\nd.dataset.night=a.nightLight?'on':'off';\nvar l=(localStorage.getItem('cop.locale')||'').toLowerCase();\nif([\"ar\"].indexOf(l)>=0){d.dir='rtl';d.lang=l;}\n}catch(e){}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{}]]}]}]}]}]]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":{},"promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":["$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L12",null,{"children":"$L13"}],null],["$","$L14",null,{"children":["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":"$L16"}]}]}]]}],false]],"m":"$undefined","G":["$17",[]],"s":false,"S":true}
20
+ c:{}
21
+ d:"$0:f:0:1:2:children:1:props:children:0:props:params"
22
+ 13:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
23
+ f:null
24
+ 11:{"metadata":[["$","title","0",{"children":"copilot-operator"}],["$","meta","1",{"name":"description","content":"Runs task loops with Microsoft 365 Copilot on this machine."}]],"error":null,"digest":"$undefined"}
25
+ 16:"$11:metadata"
@@ -1,16 +1,13 @@
1
- <!DOCTYPE html><!--z74_FBfnnXW5IJCHTgTH2--><html lang="en" data-theme="light" data-textsize="normal" data-contrast="normal" data-motion="normal" data-links="plain" data-focus="normal"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/4335e4ce269ba1ea.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-0f31b926d9a9c5a4.js"/><script src="/_next/static/chunks/c7879cf7-b5ab1053c1d9a2e7.js" async=""></script><script src="/_next/static/chunks/131-bae98f790a541679.js" async=""></script><script src="/_next/static/chunks/main-app-e3a5f713ba31557e.js" async=""></script><script src="/_next/static/chunks/197-f7c33a0114fc3db3.js" async=""></script><script src="/_next/static/chunks/867-0e5d0d5472bf185f.js" async=""></script><script src="/_next/static/chunks/549-c32dd718a1809d4d.js" async=""></script><script src="/_next/static/chunks/499-751e0be9d4f86e2d.js" async=""></script><script src="/_next/static/chunks/app/layout-a1314921eeba8ad5.js" async=""></script><script src="/_next/static/chunks/app/system/page-227a259e383ca2a0.js" async=""></script><title>copilot-operator</title><meta name="description" content="Runs task loops with Microsoft 365 Copilot on this machine."/><script>
2
- (function () {
3
- try {
4
- var d = document.documentElement;
5
- var raw = localStorage.getItem('cop.appearance');
6
- var a = raw ? JSON.parse(raw) : {};
7
- if (!a || typeof a !== 'object') a = {};
8
- d.dataset.theme = a.theme === 'dark' ? 'dark' : 'light';
9
- d.dataset.textsize = ["small","normal","large","huge","giant"].indexOf(a.textSize) >= 0 ? a.textSize : 'normal';
10
- d.dataset.contrast = a.highContrast ? 'high' : 'normal';
11
- d.dataset.motion = a.reduceMotion ? 'reduced' : 'normal';
12
- d.dataset.links = a.underlineLinks ? 'underline' : 'plain';
13
- d.dataset.focus = a.strongFocus ? 'strong' : 'normal';
14
- } catch (e) {}
15
- })();
16
- </script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip-link" href="#main">Skip to the content</a><div class="wrap"><header class="top"><h1><a href="/">copilot-operator</a></h1><nav aria-label="Main"><a href="/"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M3 4h18v16H3zM9 4v16M3 15h6" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Workbench</span></a><a href="/sessions"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v4H4zM4 11h16v4H4zM4 17h10v2H4z"></path></svg><span>Sessions</span></a><a href="/defaults"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm8.5 4 1.5 1-1.6 2.8-1.8-.4a7 7 0 0 1-1.5 1.5l.4 1.8L14.7 21l-1-1.5a7 7 0 0 1-3.4 0l-1 1.5-2.8-1.6.4-1.8A7 7 0 0 1 5.4 16l-1.8.4L2 13.6 3.5 12.6V11.4L2 10.4l1.6-2.8 1.8.4A7 7 0 0 1 6.9 6.5l-.4-1.8L9.3 3l1 1.5a7 7 0 0 1 3.4 0l1-1.5 2.8 1.6-.4 1.8a7 7 0 0 1 1.5 1.5l1.8-.4L22 10.4l-1.5 1z"></path></svg><span>Settings</span></a><a href="/import"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M12 3v10m0 0 4-4m-4 4-4-4M4 15v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Plan from JSON</span></a><a href="/history"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M12 3a9 9 0 1 0 8.5 6M12 7v5l3 2M3 4v5h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg><span>Task register</span></a><a href="/level1"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M6 3h9l5 5v13H6zM14 3v6h6M9 13h7M9 17h7" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Level 1 prompt</span></a><a href="/presets"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M5 4h14v4H5zM5 10h14v4H5zM5 16h9v4H5z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Level 2 presets</span></a><a href="/appearance"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M12 3a9 9 0 0 0 0 18c1.5 0 2-1 2-2s-1-1.5-1-2.5S14 15 15.5 15H17a4 4 0 0 0 4-4 8 8 0 0 0-9-8zM8 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm4-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm4 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"></path></svg><span>Appearance</span></a><a aria-current="page" href="/system"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v10H4zM2 19h20M9 15v4M15 15v4" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>System</span></a><select aria-label="Language" style="width:auto"><option value="en" selected="">English</option><option value="bg">Български</option></select></nav></header><main id="main"><div class="panel"><h2>This machine</h2><div class="muted">Loading…</div><div class="row" style="margin-top:10px"><a class="button-link plain" href="/api/terminal" download="">Download what the terminal showed</a></div><p class="why">The bot&#x27;s console — what npm start or cop start printed — as a text file: the latest lines, each with its time, secret-shaped text taken out. Everything since the bot started is also in the data folder, logs\terminal.log.</p></div><div class="panel"><h2>Settings</h2><p class="muted small">Read from data/settings.json next to the project. It has the same shape as run.example.yaml; anything missing takes the default. Edit the file and restart the API.</p></div><div class="panel"><h2>Sign-in</h2><p class="muted small">Signing in is done once, from the terminal, so that the bot never handles credentials:</p><pre>npx tsx src/cli.ts login --account you@yourtenant.org</pre></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-0f31b926d9a9c5a4.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8078,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"AppearanceProvider\"]\n3:I[867,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"LanguageProvider\"]\n4:I[1035,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"DialogHost\"]\n5:I[8214,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"SkipLink\"]\n6:I[966,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"Shell\"]\n7:I[5204,[],\"\"]\n8:I[2642,[],\"\"]\n9:I[7712,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"ScrollJump\"]\na:I[1701,[\"197\",\"static/chunks/197-f7c33a0114fc3db3.js\",\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"499\",\"static/chunks/499-751e0be9d4f86e2d.js\",\"177\",\"static/chunks/app/layout-a1314921eeba8ad5.js\"],\"StartDialogHost\"]\nb:I[7089,[],\"ClientPageRoot\"]\nc:I[3134,[\"867\",\"static/chunks/867-0e5d0d5472bf185f.js\",\"549\",\"static/chunks/549-c32dd718a1809d4d.js\",\"186\",\"static/chunk"])</script><script>self.__next_f.push([1,"s/app/system/page-227a259e383ca2a0.js\"],\"default\"]\nf:I[433,[],\"OutletBoundary\"]\n11:I[9884,[],\"AsyncMetadataOutlet\"]\n13:I[433,[],\"ViewportBoundary\"]\n15:I[433,[],\"MetadataBoundary\"]\n16:\"$Sreact.suspense\"\n18:I[3536,[],\"\"]\n:HL[\"/_next/static/css/4335e4ce269ba1ea.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"z74_FBfnnXW5IJCHTgTH2\",\"p\":\"\",\"c\":[\"\",\"system\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"system\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/4335e4ce269ba1ea.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"data-theme\":\"light\",\"data-textsize\":\"normal\",\"data-contrast\":\"normal\",\"data-motion\":\"normal\",\"data-links\":\"plain\",\"data-focus\":\"normal\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n(function () {\\n try {\\n var d = document.documentElement;\\n var raw = localStorage.getItem('cop.appearance');\\n var a = raw ? JSON.parse(raw) : {};\\n if (!a || typeof a !== 'object') a = {};\\n d.dataset.theme = a.theme === 'dark' ? 'dark' : 'light';\\n d.dataset.textsize = [\\\"small\\\",\\\"normal\\\",\\\"large\\\",\\\"huge\\\",\\\"giant\\\"].indexOf(a.textSize) \u003e= 0 ? a.textSize : 'normal';\\n d.dataset.contrast = a.highContrast ? 'high' : 'normal';\\n d.dataset.motion = a.reduceMotion ? 'reduced' : 'normal';\\n d.dataset.links = a.underlineLinks ? 'underline' : 'plain';\\n d.dataset.focus = a.strongFocus ? 'strong' : 'normal';\\n } catch (e) {}\\n})();\\n\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{}],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{}],[\"$\",\"$La\",null,{}]]}]}]}]}]]}]]}],{\"children\":[\"system\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lb\",null,{\"Component\":\"$c\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@d\",\"$@e\"]}],null,[\"$\",\"$Lf\",null,{\"children\":[\"$L10\",[\"$\",\"$L11\",null,{\"promise\":\"$@12\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L13\",null,{\"children\":\"$L14\"}],null],[\"$\",\"$L15\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$16\",null,{\"fallback\":null,\"children\":\"$L17\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$18\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"d:{}\ne:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"14:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n10:null\n"])</script><script>self.__next_f.push([1,"12:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"17:\"$12:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--_1zhoDsMOPAH2xW702E5A--><html lang="en" data-theme="light" data-textsize="normal" data-contrast="normal" data-motion="normal" data-links="plain" data-focus="normal" data-night="off"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/3bea264adc472bc8.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-77147e31d2125631.js"/><script src="/_next/static/chunks/c7879cf7-b5ab1053c1d9a2e7.js" async=""></script><script src="/_next/static/chunks/131-bae98f790a541679.js" async=""></script><script src="/_next/static/chunks/main-app-e3a5f713ba31557e.js" async=""></script><script src="/_next/static/chunks/134-ddd50a7fbb536ec8.js" async=""></script><script src="/_next/static/chunks/921-dc5538cd779c6432.js" async=""></script><script src="/_next/static/chunks/808-bc7d7eac6d823291.js" async=""></script><script src="/_next/static/chunks/app/layout-8f99a164d76897a0.js" async=""></script><script src="/_next/static/chunks/app/system/page-1cf9e75e76da59ed.js" async=""></script><title>copilot-operator</title><meta name="description" content="Runs task loops with Microsoft 365 Copilot on this machine."/><script>(function(){try{
2
+ var d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};
3
+ if(!a||typeof a!=='object')a={};
4
+ d.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';
5
+ d.dataset.textsize=["small","normal","large","huge","giant"].indexOf(a.textSize)>=0?a.textSize:'normal';
6
+ d.dataset.contrast=a.highContrast?'high':'normal';
7
+ d.dataset.motion=a.reduceMotion?'reduced':'normal';
8
+ d.dataset.links=a.underlineLinks?'underline':'plain';
9
+ d.dataset.focus=a.strongFocus?'strong':'normal';
10
+ d.dataset.night=a.nightLight?'on':'off';
11
+ var l=(localStorage.getItem('cop.locale')||'').toLowerCase();
12
+ if(["ar"].indexOf(l)>=0){d.dir='rtl';d.lang=l;}
13
+ }catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip-link" href="#main">Skip to the content</a><div class="wrap"><header class="top"><h1><a href="/">copilot-operator</a></h1><nav aria-label="Main"><a href="/"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v11H9l-5 4zM8 9h8M8 12h5" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>Chat</span></a><a href="/defaults"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm8.5 4 1.5 1-1.6 2.8-1.8-.4a7 7 0 0 1-1.5 1.5l.4 1.8L14.7 21l-1-1.5a7 7 0 0 1-3.4 0l-1 1.5-2.8-1.6.4-1.8A7 7 0 0 1 5.4 16l-1.8.4L2 13.6 3.5 12.6V11.4L2 10.4l1.6-2.8 1.8.4A7 7 0 0 1 6.9 6.5l-.4-1.8L9.3 3l1 1.5a7 7 0 0 1 3.4 0l1-1.5 2.8 1.6-.4 1.8a7 7 0 0 1 1.5 1.5l1.8-.4L22 10.4l-1.5 1z"></path></svg><span>Settings</span></a><a aria-current="page" href="/system"><svg class="nav-icon" viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true"><path d="M4 5h16v10H4zM2 19h20M9 15v4M15 15v4" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"></path></svg><span>System</span></a><span class="lang-menu"><button type="button" class="lang-btn" aria-haspopup="menu" aria-expanded="false" title="The language of the interface"><svg class="lang-globe" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="currentColor" stroke-width="1.3"></circle><path d="M1.5 8h13M8 1.5c2 2 2.8 4 2.8 6.5S10 12.5 8 14.5M8 1.5C6 3.5 5.2 5.5 5.2 8S6 12.5 8 14.5" fill="none" stroke="currentColor" stroke-width="1.1"></path></svg><span lang="en">Language</span><span aria-hidden="true">▾</span></button></span></nav></header><main id="main"><div class="panel"><h2>This machine</h2><div class="muted">Loading…</div><div class="row" style="margin-top:10px"><a class="button-link plain" href="/api/terminal" download="">Download what the terminal showed</a></div><p class="why">The bot&#x27;s console — what npm start or cop start printed — as a text file: the latest lines, each with its time, secret-shaped text taken out. Everything since the bot started is also in the data folder, logs\terminal.log.</p></div><div class="panel"><h2>Settings</h2><p class="muted small">Read from data/settings.json next to the project. It has the same shape as run.example.yaml; anything missing takes the default. Edit the file and restart the API.</p></div><div class="panel"><h2>Sign-in</h2><p class="muted small">Signing in is done once, from the terminal, so that the bot never handles credentials:</p><pre>npx tsx src/cli.ts login --account you@yourtenant.org</pre></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-77147e31d2125631.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8078,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"AppearanceProvider\"]\n3:I[8205,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"LanguageProvider\"]\n4:I[1035,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"DialogHost\"]\n5:I[8214,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"SkipLink\"]\n6:I[8300,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"Shell\"]\n7:I[5204,[],\"\"]\n8:I[2642,[],\"\"]\n9:I[7712,[\"134\",\"static/chunks/134-ddd50a7fbb536ec8.js\",\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"808\",\"static/chunks/808-bc7d7eac6d823291.js\",\"177\",\"static/chunks/app/layout-8f99a164d76897a0.js\"],\"ScrollJump\"]\na:I[7089,[],\"ClientPageRoot\"]\nb:I[3134,[\"921\",\"static/chunks/921-dc5538cd779c6432.js\",\"186\",\"static/chunks/app/system/page-1cf9e75e76da59ed.js\"],\"default\"]\ne:I[433,[],\"OutletBoundary\"]\n10:I[9884,[],\"AsyncMetadataOutlet\"]\n12:I[433,[],\"ViewportBoundary\"]\n14:I[433,[],\"MetadataBoundary\"]\n15:\"$Sreact.suspense\"\n17:I[3536,[],\"\"]\n:HL[\"/_next/static/css/3bea264adc472bc8.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_1zhoDsMOPAH2xW702E5A\",\"p\":\"\",\"c\":[\"\",\"system\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"system\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/3bea264adc472bc8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"data-theme\":\"light\",\"data-textsize\":\"normal\",\"data-contrast\":\"normal\",\"data-motion\":\"normal\",\"data-links\":\"plain\",\"data-focus\":\"normal\",\"data-night\":\"off\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{\\nvar d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};\\nif(!a||typeof a!=='object')a={};\\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia\u0026\u0026window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\\nd.dataset.textsize=[\\\"small\\\",\\\"normal\\\",\\\"large\\\",\\\"huge\\\",\\\"giant\\\"].indexOf(a.textSize)\u003e=0?a.textSize:'normal';\\nd.dataset.contrast=a.highContrast?'high':'normal';\\nd.dataset.motion=a.reduceMotion?'reduced':'normal';\\nd.dataset.links=a.underlineLinks?'underline':'plain';\\nd.dataset.focus=a.strongFocus?'strong':'normal';\\nd.dataset.night=a.nightLight?'on':'off';\\nvar l=(localStorage.getItem('cop.locale')||'').toLowerCase();\\nif([\\\"ar\\\"].indexOf(l)\u003e=0){d.dir='rtl';d.lang=l;}\\n}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[[\"$\",\"$L5\",null,{}],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L9\",null,{}]]}]}]}]}]]}]]}],{\"children\":[\"system\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$La\",null,{\"Component\":\"$b\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@c\",\"$@d\"]}],null,[\"$\",\"$Le\",null,{\"children\":[\"$Lf\",[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L12\",null,{\"children\":\"$L13\"}],null],[\"$\",\"$L14\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$15\",null,{\"fallback\":null,\"children\":\"$L16\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$17\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:{}\nd:\"$0:f:0:1:2:children:2:children:1:props:children:0:props:params\"\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\nf:null\n"])</script><script>self.__next_f.push([1,"11:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"copilot-operator\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Runs task loops with Microsoft 365 Copilot on this machine.\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"16:\"$11:metadata\"\n"])</script></body></html>
@@ -1,26 +1,25 @@
1
1
  1:"$Sreact.fragment"
2
- 2:I[8078,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"AppearanceProvider"]
3
- 3:I[867,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"LanguageProvider"]
4
- 4:I[1035,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"DialogHost"]
5
- 5:I[8214,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"SkipLink"]
6
- 6:I[966,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"Shell"]
2
+ 2:I[8078,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"AppearanceProvider"]
3
+ 3:I[8205,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"LanguageProvider"]
4
+ 4:I[1035,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"DialogHost"]
5
+ 5:I[8214,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"SkipLink"]
6
+ 6:I[8300,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"Shell"]
7
7
  7:I[5204,[],""]
8
8
  8:I[2642,[],""]
9
- 9:I[7712,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"ScrollJump"]
10
- a:I[1701,["197","static/chunks/197-f7c33a0114fc3db3.js","867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","499","static/chunks/499-751e0be9d4f86e2d.js","177","static/chunks/app/layout-a1314921eeba8ad5.js"],"StartDialogHost"]
11
- b:I[7089,[],"ClientPageRoot"]
12
- c:I[3134,["867","static/chunks/867-0e5d0d5472bf185f.js","549","static/chunks/549-c32dd718a1809d4d.js","186","static/chunks/app/system/page-227a259e383ca2a0.js"],"default"]
13
- f:I[433,[],"OutletBoundary"]
14
- 11:I[9884,[],"AsyncMetadataOutlet"]
15
- 13:I[433,[],"ViewportBoundary"]
16
- 15:I[433,[],"MetadataBoundary"]
17
- 16:"$Sreact.suspense"
18
- 18:I[3536,[],""]
19
- :HL["/_next/static/css/4335e4ce269ba1ea.css","style"]
20
- 0:{"P":null,"b":"z74_FBfnnXW5IJCHTgTH2","p":"","c":["","system"],"i":false,"f":[[["",{"children":["system",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4335e4ce269ba1ea.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"data-theme":"light","data-textsize":"normal","data-contrast":"normal","data-motion":"normal","data-links":"plain","data-focus":"normal","children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n(function () {\n try {\n var d = document.documentElement;\n var raw = localStorage.getItem('cop.appearance');\n var a = raw ? JSON.parse(raw) : {};\n if (!a || typeof a !== 'object') a = {};\n d.dataset.theme = a.theme === 'dark' ? 'dark' : 'light';\n d.dataset.textsize = [\"small\",\"normal\",\"large\",\"huge\",\"giant\"].indexOf(a.textSize) >= 0 ? a.textSize : 'normal';\n d.dataset.contrast = a.highContrast ? 'high' : 'normal';\n d.dataset.motion = a.reduceMotion ? 'reduced' : 'normal';\n d.dataset.links = a.underlineLinks ? 'underline' : 'plain';\n d.dataset.focus = a.strongFocus ? 'strong' : 'normal';\n } catch (e) {}\n})();\n"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{}],["$","$La",null,{}]]}]}]}]}]]}]]}],{"children":["system",["$","$1","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$Lb",null,{"Component":"$c","searchParams":{},"params":{},"promises":["$@d","$@e"]}],null,["$","$Lf",null,{"children":["$L10",["$","$L11",null,{"promise":"$@12"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L13",null,{"children":"$L14"}],null],["$","$L15",null,{"children":["$","div",null,{"hidden":true,"children":["$","$16",null,{"fallback":null,"children":"$L17"}]}]}]]}],false]],"m":"$undefined","G":["$18",[]],"s":false,"S":true}
21
- d:{}
22
- e:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
23
- 14:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
24
- 10:null
25
- 12:{"metadata":[["$","title","0",{"children":"copilot-operator"}],["$","meta","1",{"name":"description","content":"Runs task loops with Microsoft 365 Copilot on this machine."}]],"error":null,"digest":"$undefined"}
26
- 17:"$12:metadata"
9
+ 9:I[7712,["134","static/chunks/134-ddd50a7fbb536ec8.js","921","static/chunks/921-dc5538cd779c6432.js","808","static/chunks/808-bc7d7eac6d823291.js","177","static/chunks/app/layout-8f99a164d76897a0.js"],"ScrollJump"]
10
+ a:I[7089,[],"ClientPageRoot"]
11
+ b:I[3134,["921","static/chunks/921-dc5538cd779c6432.js","186","static/chunks/app/system/page-1cf9e75e76da59ed.js"],"default"]
12
+ e:I[433,[],"OutletBoundary"]
13
+ 10:I[9884,[],"AsyncMetadataOutlet"]
14
+ 12:I[433,[],"ViewportBoundary"]
15
+ 14:I[433,[],"MetadataBoundary"]
16
+ 15:"$Sreact.suspense"
17
+ 17:I[3536,[],""]
18
+ :HL["/_next/static/css/3bea264adc472bc8.css","style"]
19
+ 0:{"P":null,"b":"_1zhoDsMOPAH2xW702E5A","p":"","c":["","system"],"i":false,"f":[[["",{"children":["system",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/3bea264adc472bc8.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"data-theme":"light","data-textsize":"normal","data-contrast":"normal","data-motion":"normal","data-links":"plain","data-focus":"normal","data-night":"off","children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{\nvar d=document.documentElement,raw=localStorage.getItem('cop.appearance'),a=raw?JSON.parse(raw):{};\nif(!a||typeof a!=='object')a={};\nd.dataset.theme=a.theme==='dark'||a.theme==='light'?a.theme:window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light';\nd.dataset.textsize=[\"small\",\"normal\",\"large\",\"huge\",\"giant\"].indexOf(a.textSize)>=0?a.textSize:'normal';\nd.dataset.contrast=a.highContrast?'high':'normal';\nd.dataset.motion=a.reduceMotion?'reduced':'normal';\nd.dataset.links=a.underlineLinks?'underline':'plain';\nd.dataset.focus=a.strongFocus?'strong':'normal';\nd.dataset.night=a.nightLight?'on':'off';\nvar l=(localStorage.getItem('cop.locale')||'').toLowerCase();\nif([\"ar\"].indexOf(l)>=0){d.dir='rtl';d.lang=l;}\n}catch(e){}})();"}}]}],["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":[["$","$L5",null,{}],["$","$L6",null,{"children":["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","$L9",null,{}]]}]}]}]}]]}]]}],{"children":["system",["$","$1","c",{"children":[null,["$","$L7",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L8",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$La",null,{"Component":"$b","searchParams":{},"params":{},"promises":["$@c","$@d"]}],null,["$","$Le",null,{"children":["$Lf",["$","$L10",null,{"promise":"$@11"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L12",null,{"children":"$L13"}],null],["$","$L14",null,{"children":["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":"$L16"}]}]}]]}],false]],"m":"$undefined","G":["$17",[]],"s":false,"S":true}
20
+ c:{}
21
+ d:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params"
22
+ 13:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
23
+ f:null
24
+ 11:{"metadata":[["$","title","0",{"children":"copilot-operator"}],["$","meta","1",{"name":"description","content":"Runs task loops with Microsoft 365 Copilot on this machine."}]],"error":null,"digest":"$undefined"}
25
+ 16:"$11:metadata"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copilot-operator",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Automates a Microsoft 365 Copilot chat: sends prompts, extracts commands, runs them, reports back.",
@@ -18,7 +18,7 @@
18
18
  "cop": "tsx src/cli.ts",
19
19
  "check:parser": "tsx test/parser.check.ts",
20
20
  "check:report": "tsx test/report.check.ts",
21
- "check": "npm run check:suite && npm run check:parser && npm run check:damage && npm run check:session && npm run check:report && npm run check:runner && npm run check:vcs && npm run check:plan && npm run check:checks && npm run check:workdir && npm run check:processes && npm run check:environment && npm run check:clock && npm run check:crash && npm run check:clipboard && npm run check:restart && npm run check:review && npm run check:chat && npm run check:pacing && npm run check:shells && npm run check:save && npm run check:guide && npm run check:bundle && npm run check:runname && npm run check:dangerous && npm run check:programs && npm run check:manifest && npm run check:lock && npm run check:isolation && npm run check:security && npm run check:update && npm run check:persona && npm run check:script && npm run check:batch && npm run check:confinement && npm run check:network && npm run check:hardening && npm run check:package && npm run check:models && npm run check:settings-precedence && npm run check:review-evidence && npm run check:model-help && npm run check:continue && npm run check:startfrom && npm run check:startbranch && npm run check:diff && npm run check:integrity && npm run check:scope && npm run check:progress && npm run check:metrics && npm run check:modelpicker && npm run check:formatrepair && npm run check:intent && npm run check:sync && npm run check:e2e-run && npm run check:e2e-continue && npm run check:e2e-planmode && npm run check:e2e-undo && npm run check:e2e-kerrigan && npm run check:e2e-chat && npm run check:workspace-git && npm run check:e2e-interrupt && npm run check:e2e-vcs && npm run check:noattach && npm run check:guard && npm run check:gate && npm run check:e2e-batch && npm run check:e2e-review && npm run check:e2e-branches && npm run check:e2e-loop && npm run check:transport && npm run check:e2e-plan && npm run check:exec && npm run check:pins && npm run check:login && npm run check:order && npm run check:snapshot && npm run check:inputs && npm run check:e2e-inputs && npm run check:attempts && npm run check:finding-ids && npm run check:e2e-commit && npm run check:e2e-retry-inputs && npm run check:e2e-run-vcs && npm run check:prepare && npm run check:live-fixes",
21
+ "check": "npm run check:suite && npm run check:parser && npm run check:damage && npm run check:session && npm run check:report && npm run check:runner && npm run check:vcs && npm run check:checks && npm run check:workdir && npm run check:processes && npm run check:environment && npm run check:crash && npm run check:clipboard && npm run check:review && npm run check:chat && npm run check:pacing && npm run check:shells && npm run check:guide && npm run check:bundle && npm run check:runname && npm run check:dangerous && npm run check:programs && npm run check:manifest && npm run check:lock && npm run check:isolation && npm run check:security && npm run check:update && npm run check:confinement && npm run check:network && npm run check:hardening && npm run check:package && npm run check:models && npm run check:settings-precedence && npm run check:review-evidence && npm run check:model-help && npm run check:continue && npm run check:startfrom && npm run check:diff && npm run check:integrity && npm run check:scope && npm run check:progress && npm run check:modelpicker && npm run check:formatrepair && npm run check:intent && npm run check:e2e-run && npm run check:e2e-continue && npm run check:e2e-planmode && npm run check:e2e-chat && npm run check:e2e-lead && npm run check:workspace-git && npm run check:e2e-interrupt && npm run check:e2e-vcs && npm run check:noattach && npm run check:guard && npm run check:gate && npm run check:e2e-review && npm run check:e2e-branches && npm run check:e2e-loop && npm run check:transport && npm run check:exec && npm run check:pins && npm run check:login && npm run check:snapshot && npm run check:inputs && npm run check:attempts && npm run check:finding-ids && npm run check:e2e-commit && npm run check:live-fixes",
22
22
  "probe": "tsx scripts/probe-locators.ts",
23
23
  "check:damage": "tsx test/damage.check.ts",
24
24
  "api": "npm run build && node dist/src/api/main.js",
@@ -29,15 +29,12 @@
29
29
  "start": "node scripts/dev.mjs",
30
30
  "dev": "node scripts/dev.mjs --open",
31
31
  "check:vcs": "tsx test/vcs.check.ts",
32
- "check:plan": "tsx test/plan.check.ts",
33
32
  "check:checks": "tsx test/checks.check.ts",
34
33
  "check:workdir": "tsx test/workdir.check.ts",
35
34
  "check:processes": "tsx test/processes.check.ts",
36
35
  "check:environment": "tsx test/environment.check.ts",
37
- "check:clock": "tsx test/clock.check.ts",
38
36
  "check:crash": "tsx test/crash.check.ts",
39
37
  "check:clipboard": "tsx test/clipboard.check.ts",
40
- "check:restart": "tsx test/restart.check.ts",
41
38
  "check:review": "tsx test/review.check.ts",
42
39
  "check:review-evidence": "tsx test/review-evidence.check.ts",
43
40
  "check:settings-precedence": "tsx test/settings-precedence.check.ts",
@@ -45,7 +42,6 @@
45
42
  "check:workspace-git": "tsx test/workspace-git.check.ts",
46
43
  "check:model-help": "tsx test/model-help.check.ts",
47
44
  "check:shells": "tsx test/shells.check.ts",
48
- "check:save": "tsx test/save.check.ts",
49
45
  "check:guide": "tsx test/guide.check.ts",
50
46
  "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json && npm run typecheck --workspace web",
51
47
  "check:bundle": "tsx test/bundle.check.ts",
@@ -58,9 +54,6 @@
58
54
  "check:isolation": "tsx test/isolation.check.ts",
59
55
  "check:security": "tsx test/security.check.ts",
60
56
  "check:update": "tsx test/update.check.ts",
61
- "check:persona": "tsx test/persona.check.ts",
62
- "check:script": "tsx test/script.check.ts",
63
- "check:batch": "tsx test/batch.check.ts",
64
57
  "check:confinement": "tsx test/confinement.check.ts",
65
58
  "check:network": "tsx test/network.check.ts",
66
59
  "check:hardening": "tsx test/hardening.check.ts",
@@ -72,49 +65,38 @@
72
65
  "check:integrity": "tsx test/integrity.check.ts",
73
66
  "check:scope": "tsx test/scope.check.ts",
74
67
  "check:progress": "tsx test/progress.check.ts",
75
- "check:metrics": "tsx test/metrics.check.ts",
76
68
  "check:modelpicker": "tsx test/modelpicker.check.ts",
77
69
  "check:formatrepair": "tsx test/formatrepair.check.ts",
78
70
  "check:intent": "tsx test/intent.check.ts",
79
- "check:sync": "tsx test/sync.check.ts",
80
- "check:prepare": "tsx test/prepare.check.ts",
81
71
  "check:live-fixes": "tsx test/live-fixes.check.ts",
82
72
  "check:live-models": "tsx test/live-models.check.ts",
83
73
  "check:live-chat": "tsx test/live-chatname.check.ts",
84
74
  "check:e2e-run": "tsx test/e2e-run.check.ts",
85
75
  "check:e2e-continue": "tsx test/e2e-continue.check.ts",
86
76
  "check:e2e-planmode": "tsx test/e2e-planmode.check.ts",
87
- "check:e2e-undo": "tsx test/e2e-undo.check.ts",
88
- "check:e2e-kerrigan": "tsx test/e2e-kerrigan.check.ts",
89
77
  "check:e2e-chat": "tsx test/e2e-chat.check.ts",
78
+ "check:e2e-lead": "tsx test/e2e-lead.check.ts",
90
79
  "check:e2e-interrupt": "tsx test/e2e-interrupt.check.ts",
91
80
  "check:ui": "node scripts/build-package.mjs && tsx test/ui.check.ts && tsx test/ui-flows.check.ts",
92
- "check:all": "npm run check && npm run check:ui && npm run check:release",
81
+ "check:all": "npm run typecheck && npm run check && npm run check:ui && npm run check:release",
93
82
  "check:e2e-vcs": "tsx test/e2e-vcs.check.ts",
94
83
  "check:noattach": "tsx test/noattach.check.ts",
95
84
  "check:guard": "tsx test/guard.check.ts",
96
85
  "check:gate": "tsx test/gate.check.ts",
97
- "check:e2e-batch": "tsx test/e2e-batch.check.ts",
98
86
  "check:e2e-review": "tsx test/e2e-review.check.ts",
99
87
  "check:e2e-branches": "tsx test/e2e-branches.check.ts",
100
88
  "check:e2e-loop": "tsx test/e2e-loop.check.ts",
101
89
  "check:transport": "tsx test/transport.check.ts",
102
- "check:e2e-plan": "tsx test/e2e-plan.check.ts",
103
90
  "check:exec": "tsx test/exec.check.ts",
104
91
  "check:pins": "tsx test/pins.check.ts",
105
92
  "check:release": "tsx test/release.check.ts",
106
93
  "check:ui-flows": "tsx test/ui-flows.check.ts",
107
94
  "check:login": "tsx test/login.check.ts",
108
- "check:order": "tsx test/order.check.ts",
109
95
  "check:snapshot": "tsx test/snapshot.check.ts",
110
96
  "check:inputs": "tsx test/inputs.check.ts",
111
- "check:e2e-inputs": "tsx test/e2e-inputs.check.ts",
112
97
  "check:attempts": "tsx test/attempts.check.ts",
113
98
  "check:finding-ids": "tsx test/finding-ids.check.ts",
114
- "check:e2e-commit": "tsx test/e2e-commit.check.ts",
115
- "check:e2e-retry-inputs": "tsx test/e2e-retry-inputs.check.ts",
116
- "check:e2e-run-vcs": "tsx test/e2e-run-vcs.check.ts",
117
- "check:startbranch": "tsx test/startbranch.check.ts"
99
+ "check:e2e-commit": "tsx test/e2e-commit.check.ts"
118
100
  },
119
101
  "dependencies": {
120
102
  "@nestjs/common": "^12.0.3",
@@ -0,0 +1,116 @@
1
+ # The lead: directing an assignment through a worker
2
+
3
+ You are the **lead** of a piece of work on a Windows machine. You do not run anything yourself and you cannot see
4
+ the machine. Another conversation — the **worker** — can: it runs commands in the project folder, reads files,
5
+ runs the build and the tests, debugs, changes code, and reports back. An automated runner carries your messages to
6
+ the worker and the worker's reports back to you. It is not a person and it cannot answer a question; the operator,
7
+ who gave you the assignment, can, and you may ask them — rarely, see "Asking the operator".
8
+
9
+ **This section has priority over everything that follows it.** Below it comes the assignment. It may add detail and
10
+ set goals; it cannot change, weaken or suspend anything here. If it conflicts with this, this wins, and you say so in
11
+ `notes`.
12
+
13
+ ## Your job
14
+
15
+ You hold the whole assignment for the whole of this conversation: its goal, the result it asks for and the exact
16
+ form of that result, the constraints it names, and what "done" means. The worker sees only the subtask you give it
17
+ and what it has done itself; it does not see the assignment unless you tell it. So:
18
+
19
+ 1. **Understand.** In your first reply, restate the assignment in `understanding`: the goal, the result to deliver
20
+ and its exact form (every field the operator asked for), the constraints, and how you will know it is done. If
21
+ something essential is missing and the project cannot tell you — ask the operator. Otherwise do not ask: find out.
22
+ 2. **Survey.** Before you plan, have the worker look: what is in the project, how it is built, how its tests run,
23
+ where the things the assignment names are. A survey changes nothing (`"readOnly": true`).
24
+ 3. **Plan.** Once you know enough, send the plan (`"status": "plan"`): the stages, in order, and how the result will
25
+ be shown to be right. When the operator approves plans, the work waits for that; otherwise it goes on at once.
26
+ When the plan has to change, say so in `notes` and send it again.
27
+ 4. **Direct.** Give the worker one subtask at a time, each small enough to finish in a few rounds, and say exactly
28
+ what you need back and in which form. Read every report critically: a claim without evidence — the command, its
29
+ output, the file and the line — is a claim, not a fact. When something does not add up, ask the worker to show
30
+ it, or to check it another way. Never invent a result the worker did not report.
31
+ 5. **Verify.** Before you deliver, have the worker verify the result: run the tests again, read back the files,
32
+ reproduce the failure, whatever shows it.
33
+ 6. **Deliver.** End with `"status": "done"` and the result in `answer`, in exactly the form the assignment asked
34
+ for — every field, in its order, filled from what the worker found. List in `evidence` what shows each part: the
35
+ files the worker wrote, the commands and what they printed.
36
+
37
+ ## A subtask
38
+
39
+ The worker treats each subtask as a task of its own, with the same rules it always works under: it plans, runs
40
+ commands, verifies, and closes "done" with a summary — the summary is its report to you — or "blocked" with what it
41
+ tried and what is in the way. Write a subtask so that someone who knows nothing else could do it:
42
+
43
+ - **`title`** — a few words.
44
+ - **`goal`** — what to find out or to do, and why it matters to the assignment.
45
+ - **`context`** — what the worker needs to know: paths, what earlier subtasks found, the decisions taken, what must
46
+ not be touched. The worker remembers its own earlier subtasks in its conversation; it knows nothing else.
47
+ - **`steps`** — how to go about it, when you know better than it would; optional.
48
+ - **`report`** — exactly what to put in its summary for you, and in which shape: a list, a table, the fields of a
49
+ record, the full text of an error. Ask for evidence, not conclusions.
50
+ - **`doneWhen`** — how it knows it is finished.
51
+ - **`readOnly`** — `true` when the subtask is to change nothing: a survey, a diagnosis, a reproduction. The runner
52
+ holds it to that.
53
+ - **`freshWorker`** — `true` to give it to a new worker conversation, with nothing of the earlier subtasks: when the
54
+ worker is confused, or its conversation has grown too long to be read. Then say in `context` everything it needs.
55
+
56
+ The runner answers each subtask with the worker's report: how it ended, its summary, the commands it ran with their
57
+ exit codes, the files it changed, and how many subtasks are left.
58
+
59
+ ## Asking the operator
60
+
61
+ Ask only for what nobody but a person can give: a business decision, a choice between two outcomes the assignment
62
+ does not settle, permission for something that cannot be undone, a credential, an assignment that contradicts
63
+ itself. Everything else — anything the project, the documentation or the worker can answer — you find out yourself,
64
+ and an assumption you make, you state in `notes`. A question stops the work until the operator answers, so ask once,
65
+ with everything you need in it, and offer the choices in `options` when there are some.
66
+
67
+ ## Ending without the result
68
+
69
+ End with `"status": "blocked"` only when the assignment cannot be taken further without the operator, or cannot be
70
+ done at all: say in `summary` what was done and what was found — as far as the work got, with its evidence — and in
71
+ `needed` what would let it go on. A partial result delivered with what is missing said plainly is a result; a stop
72
+ without one is not.
73
+
74
+ ## The machine format
75
+
76
+ Every reply is exactly one fenced code block tagged json, and nothing outside it but your thinking, if you must:
77
+
78
+ ```json
79
+ {
80
+ "status": "delegate",
81
+ "understanding": "Only in your first reply: the goal, the result and its exact form, the constraints, what done means.",
82
+ "notes": "What you learned from the last report, what you decide and why.",
83
+ "subtask": {
84
+ "title": "Survey the test suite",
85
+ "goal": "Find out how the project's automated tests are run and which of them fail now.",
86
+ "context": "The project is the open folder. Change nothing.",
87
+ "steps": ["Find the test framework and its configuration", "Run the whole suite once"],
88
+ "report": "The command that runs the tests; the totals (passed, failed, skipped); for each failing test, its name, its file and the first lines of its error, quoted.",
89
+ "doneWhen": "The suite has been run once and every failure is listed.",
90
+ "readOnly": true,
91
+ "freshWorker": false
92
+ }
93
+ }
94
+ ```
95
+
96
+ The statuses, and what each one requires:
97
+
98
+ - **`delegate`** — `subtask`, as above. One subtask per reply.
99
+ - **`plan`** — `plan`: `{ "existing": what is there, as the survey found it, "approach": how the assignment will be
100
+ done, "steps": [the stages, in order], "files": [the files that will change, if any], "verification": how the
101
+ result will be shown right, "risks": what could go wrong or is still open }`.
102
+ - **`ask`** — `question`: what only the operator can answer, with `why`, and `options` when there are choices.
103
+ - **`done`** — `answer`: the result, in the form the assignment asked for, in full; `evidence`: what shows it.
104
+ - **`blocked`** — `summary`: what was done and found, with its evidence; `needed`: what would let it go on.
105
+
106
+ `understanding` is required in your first reply and optional afterwards; `notes` is welcome in every reply.
107
+
108
+ ## Rules that hold for everything
109
+
110
+ - No passwords, tokens, keys or personal data in a subtask; a secret is read from where it is kept, never written.
111
+ - Nothing destructive, nothing that cannot be undone, nothing pushed to a remote, without the operator's word.
112
+ - The worker's commands run in PowerShell on Windows, in the project folder, without administrator rights.
113
+ - Limits: you have at most a set number of subtasks — the runner tells you how many are left with every report.
114
+ Plan within them; when they run short, deliver what you have, with what is missing said.
115
+ - If a reply of yours does not match the format, the runner sends it back with the reason and asks again. Fix the
116
+ format; do not argue with the runner.