@surething/cockpit 1.0.240 → 1.0.241

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 (48) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +1 -1
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/prerender-manifest.json +3 -3
  5. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  6. package/.next-prod/server/app/_global-error.html +1 -1
  7. package/.next-prod/server/app/_global-error.rsc +1 -1
  8. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  10. package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  11. package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  15. package/.next-prod/server/app/_not-found.html +2 -2
  16. package/.next-prod/server/app/_not-found.rsc +3 -3
  17. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  18. package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
  19. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  21. package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  22. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  23. package/.next-prod/server/app/api/commands/route.js +1 -1
  24. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  25. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  26. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  27. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  28. package/.next-prod/server/app-paths-manifest.json +1 -1
  29. package/.next-prod/server/chunks/4848.js +33 -3
  30. package/.next-prod/server/chunks/9658.js +4 -4
  31. package/.next-prod/server/middleware-build-manifest.js +1 -1
  32. package/.next-prod/server/pages/404.html +2 -2
  33. package/.next-prod/server/pages/500.html +1 -1
  34. package/.next-prod/server/server-reference-manifest.json +1 -1
  35. package/.next-prod/static/chunks/5408-e785cb62df051a22.js +25 -0
  36. package/.next-prod/static/chunks/{9530-aac4bba2518aa113.js → 9530-44f82b2151a66f3c.js} +2 -2
  37. package/.next-prod/static/chunks/app/{layout-95cb81ab4128b70e.js → layout-fdd40a9f4769a9d2.js} +1 -1
  38. package/.next-prod/static/chunks/app/{page-5969e7f2f5788be2.js → page-7e283c0e1ba7bf80.js} +1 -1
  39. package/.next-prod/static/chunks/app/project/{page-5969e7f2f5788be2.js → page-7e283c0e1ba7bf80.js} +1 -1
  40. package/.next-prod/static/css/9f26a08be661160a.css +1 -0
  41. package/.next-prod/trace +13 -13
  42. package/.next-prod/trace-build +1 -1
  43. package/dist/scheduledTasks.mjs +35 -0
  44. package/package.json +1 -1
  45. package/.next-prod/static/chunks/5408-b31a0bb83ee220ad.js +0 -25
  46. package/.next-prod/static/css/5b0dd8036a3ffc10.css +0 -1
  47. /package/.next-prod/static/{ArsrRKOrvluh7oFS0G-Fg → x_Nlb9WAVX__4ygoUBUWt}/_buildManifest.js +0 -0
  48. /package/.next-prod/static/{ArsrRKOrvluh7oFS0G-Fg → x_Nlb9WAVX__4ygoUBUWt}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- [{"name":"run-webpack","duration":19805131,"timestamp":147055665,"id":14,"parentId":1,"tags":{},"startTime":1783606754071,"traceId":"ce5c44a5e03e6b79"},{"name":"run-typescript","duration":18284716,"timestamp":166864451,"id":1630,"parentId":1,"tags":{},"startTime":1783606773880,"traceId":"ce5c44a5e03e6b79"},{"name":"static-check","duration":1188376,"timestamp":185192582,"id":1633,"parentId":1,"tags":{},"startTime":1783606792208,"traceId":"ce5c44a5e03e6b79"},{"name":"static-generation","duration":6494351,"timestamp":186521942,"id":1911,"parentId":1,"tags":{},"startTime":1783606793537,"traceId":"ce5c44a5e03e6b79"},{"name":"collect-build-traces","duration":20271788,"timestamp":186383968,"id":1908,"parentId":1,"tags":{},"startTime":1783606793399,"traceId":"ce5c44a5e03e6b79"},{"name":"telemetry-flush","duration":62,"timestamp":206659722,"id":1920,"parentId":1,"tags":{},"startTime":1783606813675,"traceId":"ce5c44a5e03e6b79"},{"name":"next-build","duration":59783832,"timestamp":146875970,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1783606753891,"traceId":"ce5c44a5e03e6b79"}]
1
+ [{"name":"run-webpack","duration":20941601,"timestamp":153035611,"id":14,"parentId":1,"tags":{},"startTime":1783860627367,"traceId":"ab55847427515199"},{"name":"run-typescript","duration":19490937,"timestamp":173981362,"id":1630,"parentId":1,"tags":{},"startTime":1783860648312,"traceId":"ab55847427515199"},{"name":"static-check","duration":1228750,"timestamp":193519852,"id":1633,"parentId":1,"tags":{},"startTime":1783860667851,"traceId":"ab55847427515199"},{"name":"static-generation","duration":7033939,"timestamp":194897471,"id":1911,"parentId":1,"tags":{},"startTime":1783860669228,"traceId":"ab55847427515199"},{"name":"collect-build-traces","duration":21350217,"timestamp":194749213,"id":1908,"parentId":1,"tags":{},"startTime":1783860669080,"traceId":"ab55847427515199"},{"name":"telemetry-flush","duration":60,"timestamp":216103438,"id":1920,"parentId":1,"tags":{},"startTime":1783860690434,"traceId":"ab55847427515199"},{"name":"next-build","duration":63248768,"timestamp":152854744,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1783860627186,"traceId":"ab55847427515199"}]
@@ -150,6 +150,40 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
150
150
  import { mkdirSync, writeFileSync, readFileSync } from "fs";
151
151
  import { join } from "path";
152
152
 
153
+ // packages/feature/agent/src/server/lib/apPrompt.ts
154
+ var AP_PROMPT_ZH = `---
155
+ name: ap
156
+ description: "apply\uFF1A\u5B9E\u73B0 <SPEC>\uFF0C\u5E76\u5728\u5B9E\u73B0\u8FC7\u7A0B\u4E2D\u6301\u7EED\u7EF4\u62A4\u4E00\u4EFD apply-notes HTML \u6587\u4EF6\uFF08\u653E\u5728\u4E34\u65F6\u76EE\u5F55\uFF09\uFF0C\u8BB0\u5F55\u89C4\u683C\u672A\u8986\u76D6\u7684\u51B3\u7B56\u3001\u6539\u52A8\u4E0E\u6743\u8861\u3002"
157
+ argument-hint: "[SPEC \u8DEF\u5F84 / \u7559\u7A7A = \u672C\u6B21\u5BF9\u8BDD\u4E2D\u5DF2\u8FBE\u6210\u4E00\u81F4\u7684 spec]"
158
+ ---
159
+
160
+ \u5B9E\u73B0 <SPEC>\uFF1B\u5728\u5B9E\u73B0\u8FC7\u7A0B\u4E2D\uFF0C\u6301\u7EED\u7EF4\u62A4\u4E00\u4E2A apply-notes.html \u6587\u4EF6\uFF0C\u8BB0\u5F55\u90A3\u4E9B
161
+ \u89C4\u683C\u91CC\u6CA1\u6709\u3001\u4F46\u4F60\u4E0D\u5F97\u4E0D\u505A\u7684\u51B3\u7B56\uFF0C\u4E0D\u5F97\u4E0D\u6539\u7684\u4E1C\u897F\uFF0C\u4E0D\u5F97\u4E0D\u505A\u7684\u6743\u8861\uFF0C\u4EE5\u53CA\u4EFB\u4F55
162
+ \u6211\u5E94\u8BE5\u77E5\u9053\u7684\u4E8B\u60C5\u3002\u5B83\u4E0D\u662F\u5DE5\u4F5C\u65E5\u5FD7\u2014\u2014\u6D4B\u8BD5\u901A\u8FC7\u3001\u6784\u5EFA\u53D8\u7EFF\u8FD9\u7C7B\u5E38\u89C4\u8FDB\u5C55\u4E0D\u8BE5\u5199\u8FDB\u53BB\u3002
163
+
164
+ \u6587\u4EF6\u653E\u5728 \`\${TMPDIR%/}/apply-notes-<feature-name>.html\`\uFF0C\u7EDD\u4E0D\u653E\u8FDB\u4ED3\u5E93\u91CC\uFF0C
165
+ \u6BCF\u4E2A\u9700\u6C42\u4E00\u4E2A\u6587\u4EF6\uFF1A\u5F53\u67D0\u4E00\u8F6E\u662F\u5728\u5EF6\u7EED\u540C\u4E00\u4E2A\u4EFB\u52A1\u65F6\uFF0C\u5728\u5DF2\u6709\u6587\u4EF6\u91CC\u65B0\u8D77\u4E00\u4E2A round
166
+ \u5C0F\u8282\u8FFD\u52A0\uFF0C\u800C\u4E0D\u662F\u65B0\u5EFA\u4E00\u4E2A\uFF1B\u53EA\u6709\u65B0\u9700\u6C42\u624D\u65B0\u5EFA\u6587\u4EF6\u3002\u59CB\u7EC8\u7528 Edit \u5DE5\u5177\u66F4\u65B0\u5B83
167
+ \uFF08\u4EC5\u9996\u6B21\u521B\u5EFA\u65F6\u7528 Write\uFF09\uFF0C\u7EDD\u4E0D\u901A\u8FC7 shell \u91CD\u5B9A\u5411\u5199\u5165\u3002`;
168
+ var AP_PROMPT_EN = `---
169
+ name: ap
170
+ description: "apply: implement <SPEC> while keeping a running apply-notes HTML file (in temp dir) of decisions not covered by the spec, changes, and tradeoffs."
171
+ argument-hint: "[SPEC path / empty = spec agreed in this conversation]"
172
+ ---
173
+
174
+ Implement <SPEC>; and while you do, keep a running apply-notes.html file
175
+ with decisions you had to make that weren't in the spec, things you had
176
+ to change, tradeoffs you had to make, or anything else I should know.
177
+ It is not a work log \u2014 routine progress like tests passing or builds
178
+ going green doesn't belong in it.
179
+
180
+ Keep the file at \`\${TMPDIR%/}/apply-notes-<feature-name>.html\`, never
181
+ inside the repo, one file per requirement: when a round continues the
182
+ same task, append to the existing file under a new round heading rather
183
+ than starting a fresh one; only a new requirement gets a new file.
184
+ Always update it with the Edit tool (Write only when first creating it),
185
+ never through shell redirection.`;
186
+
153
187
  // packages/feature/agent/src/server/lib/ccPrompt.ts
154
188
  var CC_LABEL_ZH = "\u4EFB\u52A1\uFF1A";
155
189
  var CC_LABEL_EN = "Task: ";
@@ -1650,6 +1684,7 @@ When done, briefly report: skill slug, source path (\`<skills-dir>/<slug>/SKILL.
1650
1684
  // packages/feature/agent/src/server/lib/slashCommands.ts
1651
1685
  var COMMAND_CONTENT = {
1652
1686
  qa: { zh: QA_PROMPT_ZH, en: QA_PROMPT_EN },
1687
+ ap: { zh: AP_PROMPT_ZH, en: AP_PROMPT_EN },
1653
1688
  fx: { zh: FX_PROMPT_ZH, en: FX_PROMPT_EN },
1654
1689
  ex: { zh: EX_PROMPT_ZH, en: EX_PROMPT_EN },
1655
1690
  go: { zh: GO_PROMPT_ZH, en: GO_PROMPT_EN },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surething/cockpit",
3
- "version": "1.0.240",
3
+ "version": "1.0.241",
4
4
  "description": "The open-source Claude Code GUI — an IDE-like workbench for parallel AI coding. Drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Terminal, browser & DB bubbles, code review. Self-host on a shared dev box — a seat for every teammate. Local-first, MIT.",
5
5
  "author": "Robert",
6
6
  "license": "MIT",