opencode-supertask 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/index.js CHANGED
@@ -17052,8 +17052,7 @@ var DEFAULT_CONFIG = {
17052
17052
  maxConcurrency: 2,
17053
17053
  pollIntervalMs: 1e3,
17054
17054
  heartbeatIntervalMs: 3e4,
17055
- taskTimeoutMs: 18e5,
17056
- defaultModel: "zhipuai-coding-plan/glm-4.7"
17055
+ taskTimeoutMs: 18e5
17057
17056
  },
17058
17057
  scheduler: {
17059
17058
  enabled: true,
@@ -17257,13 +17256,12 @@ async function clearDatabase(){
17257
17256
 
17258
17257
  async function saveConfig(){
17259
17258
  const form=document.getElementById('config-form');
17260
- const data={
17259
+ const data={
17261
17260
  worker:{
17262
17261
  maxConcurrency:Number(form.mc.value),
17263
17262
  pollIntervalMs:Number(form.pi.value),
17264
17263
  heartbeatIntervalMs:Number(form.hi.value)*1000,
17265
17264
  taskTimeoutMs:Number(form.to.value)*60000,
17266
- defaultModel:form.dm.value,
17267
17265
  },
17268
17266
  scheduler:{
17269
17267
  enabled:form.se.checked,
@@ -17519,7 +17517,6 @@ app.get("/system", async (c) => {
17519
17517
  <div class="form-row"><label>\u8F6E\u8BE2\u95F4\u9694(ms)</label><input type="number" name="pi" value="${config.worker.pollIntervalMs}" min="100" style="width:100px"></div>
17520
17518
  <div class="form-row"><label>\u5FC3\u8DF3\u95F4\u9694(\u79D2)</label><input type="number" name="hi" value="${config.worker.heartbeatIntervalMs / 1e3}" min="5" style="width:100px"></div>
17521
17519
  <div class="form-row"><label>\u4EFB\u52A1\u8D85\u65F6(\u5206\u949F)</label><input type="number" name="to" value="${config.worker.taskTimeoutMs / 6e4}" min="1" style="width:100px"></div>
17522
- <div class="form-row"><label>\u9ED8\u8BA4\u6A21\u578B</label><input type="text" name="dm" value="${config.worker.defaultModel}" style="width:260px"></div>
17523
17520
  </div>
17524
17521
  <div class="card">
17525
17522
  <h3 style="margin:0 0 12px;font-size:14px">Scheduler \u914D\u7F6E</h3>