@surething/cockpit 1.0.252 → 1.0.253
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/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +5 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +5 -5
- package/.next-prod/server/chunks/4848.js +72 -11
- package/.next-prod/server/chunks/6038.js +1 -1
- package/.next-prod/server/chunks/9658.js +7 -7
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/chunks/{2876-e1f46119599a536b.js → 2876-4336c42044f38302.js} +14 -14
- package/.next-prod/static/chunks/{6784-06048becad37f010.js → 6784-c9969c13c13b25af.js} +0 -0
- package/.next-prod/static/chunks/9530-27352e6f8bafeb3c.js +15 -0
- package/.next-prod/static/css/5aa1c710591e36bb.css +1 -0
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/dist/scheduledTasks.mjs +72 -11
- package/package.json +1 -1
- package/.next-prod/static/chunks/9530-8c647490a5290e9a.js +0 -15
- package/.next-prod/static/css/16fd09c7889dec84.css +0 -1
- /package/.next-prod/static/{c5kafUZf0iWY6C4N_N-5- → 8aWX4sRFsO4Rx4DD9L9w-}/_buildManifest.js +0 -0
- /package/.next-prod/static/{c5kafUZf0iWY6C4N_N-5- → 8aWX4sRFsO4Rx4DD9L9w-}/_ssgManifest.js +0 -0
package/.next-prod/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":21924290,"timestamp":168165134,"id":14,"parentId":1,"tags":{},"startTime":1785501364949,"traceId":"044f83021c70dbff"},{"name":"run-typescript","duration":20419986,"timestamp":190093241,"id":1661,"parentId":1,"tags":{},"startTime":1785501386877,"traceId":"044f83021c70dbff"},{"name":"static-check","duration":1230854,"timestamp":210557333,"id":1664,"parentId":1,"tags":{},"startTime":1785501407341,"traceId":"044f83021c70dbff"},{"name":"static-generation","duration":6908014,"timestamp":211960262,"id":1950,"parentId":1,"tags":{},"startTime":1785501408744,"traceId":"044f83021c70dbff"},{"name":"collect-build-traces","duration":21551802,"timestamp":211788838,"id":1947,"parentId":1,"tags":{},"startTime":1785501408573,"traceId":"044f83021c70dbff"},{"name":"telemetry-flush","duration":57,"timestamp":233344869,"id":1959,"parentId":1,"tags":{},"startTime":1785501430129,"traceId":"044f83021c70dbff"},{"name":"next-build","duration":65360154,"timestamp":167984794,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1785501364769,"traceId":"044f83021c70dbff"}]
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -1629,23 +1629,84 @@ Output confirmation: branch name, current HEAD commit, and sync status against o
|
|
|
1629
1629
|
// packages/feature/agent/src/server/lib/qaPrompt.ts
|
|
1630
1630
|
var QA_PROMPT_ZH = `---
|
|
1631
1631
|
name: qa
|
|
1632
|
-
description: "\u8FDB\u5165\u9700\u6C42\u6F84\u6E05\u8BA8\u8BBA\u6A21\u5F0F\uFF1A\
|
|
1632
|
+
description: "\u8FDB\u5165\u9700\u6C42\u6F84\u6E05\u8BA8\u8BBA\u6A21\u5F0F\uFF1A\u590D\u8FF0\u5BF9\u9700\u6C42\u7684\u7406\u89E3\uFF0C\u628A\u5F85\u786E\u8BA4\u70B9\u505A\u6210\u5E26\u63A8\u8350\u7B54\u6848\u7684\u9009\u62E9\u9898\u8868\u683C\uFF0C\u53EA\u8F93\u51FA\u7406\u89E3\u4E0D\u6539\u4EE3\u7801\uFF0C\u9075\u5FAA KISS\u3002"
|
|
1633
1633
|
---
|
|
1634
1634
|
|
|
1635
|
-
\u8FDB\u5165\u9700\u6C42\u6F84\u6E05\u8BA8\u8BBA\u6A21\u5F0F
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1635
|
+
\u8FDB\u5165\u9700\u6C42\u6F84\u6E05\u8BA8\u8BBA\u6A21\u5F0F\u3002\u76EE\u6807\u662F\u52A8\u4EE3\u7801\u524D\u5BF9\u9F50\u7406\u89E3\uFF0C\u907F\u514D\u56E0\u7406\u89E3\u4E0D\u4E00\u81F4\u5BFC\u81F4\u65E0\u6548\u7684\u4EE3\u7801\u4FEE\u6539\u3002
|
|
1636
|
+
|
|
1637
|
+
## \u6B65\u9AA4
|
|
1638
|
+
|
|
1639
|
+
1. \u590D\u8FF0\u7406\u89E3\uFF1A\u51E0\u53E5\u8BDD\u8BF4\u6E05\u6539\u54EA\u91CC\u3001\u6539\u4EC0\u4E48\u3001\u73B0\u72B6\u662F\u4EC0\u4E48\u3002\u5148\u8BFB\u4EE3\u7801\u786E\u8BA4\u73B0\u72B6\u518D\u590D\u8FF0\uFF0C\u4E0D\u8981\u51ED\u731C\u6D4B\u2014\u2014\u731C\u9519\u7684\u590D\u8FF0\u6BD4\u4E0D\u590D\u8FF0\u66F4\u6D6A\u8D39\u8F6E\u6B21\u3002
|
|
1640
|
+
2. \u5217\u5F85\u786E\u8BA4\u70B9\uFF1A\u505A\u6210\u9009\u62E9\u9898\u8868\u683C\uFF08\u683C\u5F0F\u89C1\u4E0B\uFF09\u3002
|
|
1641
|
+
3. \u505C\u4E0B\u7B49\u786E\u8BA4\uFF1A\u4E0D\u6539\u4EE3\u7801\uFF0C\u7B49\u7528\u6237\u56DE\u590D\u518D\u52A8\u624B\u3002
|
|
1642
|
+
|
|
1643
|
+
## \u5F85\u786E\u8BA4\u70B9\u8868\u683C
|
|
1644
|
+
|
|
1645
|
+
\u5FC5\u987B\u7528\u8868\u683C\uFF0C\u6BCF\u4E2A\u70B9\u5FC5\u987B\u7ED9\u51FA\u5177\u4F53\u9009\u9879\u548C\u63A8\u8350\u7B54\u6848\u3002\u8BA9\u7528\u6237\u56DE\u4E00\u4E2A\u5B57\u6BCD\u5C31\u80FD\u5B9A\u7A3F\uFF0C\u800C\u4E0D\u662F\u56DE\u7B54\u5F00\u653E\u5F0F\u95EE\u9898\u3002
|
|
1646
|
+
|
|
1647
|
+
| # | \u5F85\u786E\u8BA4\u70B9 | \u9009\u9879 | \u63A8\u8350 | \u7406\u7531 |
|
|
1648
|
+
|---|---|---|---|---|
|
|
1649
|
+
| 1 | <\u8981\u5B9A\u7684\u90A3\u4E2A\u51B3\u7B56> | A <\u505A\u6CD5\u4E00><br>B <\u505A\u6CD5\u4E8C><br>C <\u505A\u6CD5\u4E09> | **A** | <\u4E3A\u4EC0\u4E48\u4E0D\u9009 B / C\uFF0C\u4E00\u53E5\u8BDD\u53D6\u820D> |
|
|
1650
|
+
| 2 | <\u8981\u5B9A\u7684\u90A3\u4E2A\u51B3\u7B56> | A <\u505A\u6CD5\u4E00><br>B <\u505A\u6CD5\u4E8C> | **B** | <\u4E3A\u4EC0\u4E48\u4E0D\u9009 A\uFF0C\u4E00\u53E5\u8BDD\u53D6\u820D> |
|
|
1651
|
+
|
|
1652
|
+
\u8868\u683C\u540E\u9762\u8DDF\u4E00\u53E5\uFF1A\u300C\u76F4\u63A5\u56DE 1A 2B\uFF0C\u6216\u56DE\u300E\u90FD\u6309\u63A8\u8350\u300F\u300D\u3002
|
|
1653
|
+
|
|
1654
|
+
\u89C4\u5219\uFF1A
|
|
1655
|
+
- \u9009\u9879\u4E00\u884C\u4E00\u4E2A\uFF0C\u7528 <br> \u5206\u9694\uFF0C\u4E0D\u8981\u7528\u659C\u6760\u6324\u5728\u4E00\u884C\u2014\u2014\u9009\u9879\u8D8A\u957F\uFF0C\u6324\u6210\u4E00\u884C\u8D8A\u96BE\u6BD4\u5BF9\u3002
|
|
1656
|
+
- \u9009\u9879\u4E92\u65A5\u4E14\u7A77\u5C3D\uFF0C\u6700\u591A 3 \u4E2A\u3002\u60F3\u4E0D\u51FA\u7B2C\u4E8C\u4E2A\u9009\u9879\uFF0C\u8BF4\u660E\u5B83\u4E0D\u662F\u5F85\u786E\u8BA4\u70B9\u2014\u2014\u522B\u51D1\u6570\u3002
|
|
1657
|
+
- \u63A8\u8350\u5217\u5FC5\u987B\u586B\uFF0C\u4E0D\u80FD\u5199\u300C\u770B\u4F60\u300D\u300C\u90FD\u884C\u300D\u3002
|
|
1658
|
+
- \u7406\u7531\u4E00\u53E5\u8BDD\uFF0C\u8BB2\u53D6\u820D\uFF08\u4E3A\u4EC0\u4E48\u4E0D\u9009\u53E6\u4E00\u4E2A\uFF09\uFF0C\u4E0D\u8BB2\u529F\u80FD\u662F\u4EC0\u4E48\u3002
|
|
1659
|
+
- \u786C\u7EA6\u675F\u5355\u72EC\u5199\uFF1A\u5982\u679C\u67D0\u4E2A\u9009\u9879\u4F1A\u8FDE\u5E26\u8E29\u5751\uFF08\u6709\u5199\u6B7B\u7684\u5E38\u91CF\u4F9D\u8D56\u3001\u6539\u4E86\u8FD9\u91CC\u4F1A\u8BA9\u522B\u5904\u5931\u6548\uFF09\uFF0C\u5355\u5F00\u4E00\u4E2A\u5C0F\u8868\u6216\u6BB5\u843D\u8BB2\u6E05\u695A\uFF0C\u4E0D\u8981\u585E\u8FDB\u7406\u7531\u5217\u2014\u2014\u90A3\u662F\u51B3\u7B56\u4F9D\u636E\uFF0C\u4E0D\u662F\u7406\u7531\u3002
|
|
1660
|
+
|
|
1661
|
+
## \u8FB9\u754C
|
|
1662
|
+
|
|
1663
|
+
- \u53EA\u8F93\u51FA\u7406\u89E3\uFF0C\u4E0D\u6539\u4EE3\u7801\u3001\u4E0D\u5199\u6587\u4EF6\u3001\u4E0D\u8DD1\u6539\u52A8\u6027\u547D\u4EE4\u3002\u8BFB\u4EE3\u7801\u786E\u8BA4\u73B0\u72B6\u662F\u5141\u8BB8\u4E14\u9F13\u52B1\u7684\u3002
|
|
1664
|
+
- \u9075\u5FAA KISS \u539F\u5219\uFF1A\u53EA\u5217\u771F\u6B63\u5F71\u54CD\u5B9E\u73B0\u65B9\u5411\u7684\u70B9\u3002\u80FD\u81EA\u5DF1\u67E5\u6E05\u695A\u7684\u81EA\u5DF1\u67E5\uFF0C\u4E0D\u8981\u4E3A\u4E86\u663E\u5F97\u5468\u5168\u800C\u5806\u786E\u8BA4\u70B9\u3002
|
|
1665
|
+
- \u6CA1\u6709\u4E0D\u660E\u786E\u7684\u70B9\uFF0C\u76F4\u63A5\u8BF4\u300C\u7406\u89E3\u65E0\u6B67\u4E49\uFF0C\u53EF\u4EE5\u5F00\u59CB\u300D\uFF0C\u4E0D\u8981\u786C\u51D1\u8868\u683C\u3002
|
|
1666
|
+
|
|
1667
|
+
## \u9A8C\u8BC1
|
|
1668
|
+
|
|
1669
|
+
\u7528\u6237\u80FD\u53EA\u56DE\u5B57\u6BCD\u6216\u300C\u90FD\u6309\u63A8\u8350\u300D\u5C31\u8FDB\u5165\u5B9E\u73B0\uFF0C\u8BF4\u660E\u8FD9\u6B21\u6F84\u6E05\u662F\u5408\u683C\u7684\uFF1B\u5982\u679C\u7528\u6237\u8FD8\u5F97\u8865\u4E00\u6BB5\u6563\u6587\u89E3\u91CA\uFF0C\u8BF4\u660E\u9009\u9879\u6CA1\u7A77\u5C3D\u6216\u63A8\u8350\u6CA1\u7ED9\u5230\u4F4D\u3002`;
|
|
1639
1670
|
var QA_PROMPT_EN = `---
|
|
1640
1671
|
name: qa
|
|
1641
|
-
description: "Enter requirement clarification mode:
|
|
1672
|
+
description: "Enter requirement clarification mode: restate your understanding, turn open questions into a multiple-choice table with a recommended answer for each, output understanding only without modifying code, follow KISS."
|
|
1642
1673
|
---
|
|
1643
1674
|
|
|
1644
|
-
Enter requirement clarification mode.
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1675
|
+
Enter requirement clarification mode. The goal is to align on intent before touching code, so a misread requirement never turns into wasted changes.
|
|
1676
|
+
|
|
1677
|
+
## Steps
|
|
1678
|
+
|
|
1679
|
+
1. Restate your understanding: a few sentences on what changes, where, and what the current behaviour is. Read the code to confirm the current state first \u2014 a restatement built on a guess wastes more turns than no restatement at all.
|
|
1680
|
+
2. List the open questions as a multiple-choice table (format below).
|
|
1681
|
+
3. Stop and wait: do not modify code until the user answers.
|
|
1682
|
+
|
|
1683
|
+
## Open-questions table
|
|
1684
|
+
|
|
1685
|
+
Always use a table, and always give every question concrete options plus a recommendation. The user should be able to lock the design by replying with letters, not by answering open-ended prose questions.
|
|
1686
|
+
|
|
1687
|
+
| # | Question | Options | Recommend | Why |
|
|
1688
|
+
|---|---|---|---|---|
|
|
1689
|
+
| 1 | <the decision to settle> | A <option one><br>B <option two><br>C <option three> | **A** | <why not B / C \u2014 one line of trade-off> |
|
|
1690
|
+
| 2 | <the decision to settle> | A <option one><br>B <option two> | **B** | <why not A \u2014 one line of trade-off> |
|
|
1691
|
+
|
|
1692
|
+
Follow the table with: "Reply 1A 2B, or say 'all as recommended'".
|
|
1693
|
+
|
|
1694
|
+
Rules:
|
|
1695
|
+
- One option per line, separated by <br> \u2014 never slash-joined on a single line. The longer the options, the harder a single line is to compare.
|
|
1696
|
+
- Options must be mutually exclusive and exhaustive, at most 3. If you cannot name a second option, it was never an open question \u2014 do not pad the table.
|
|
1697
|
+
- The Recommend column must always be filled. Never "up to you" or "either works".
|
|
1698
|
+
- Keep Why to one line about the trade-off (why not the other option), not a description of the feature.
|
|
1699
|
+
- Put hard constraints in their own table or paragraph: if an option drags a hidden cost along (a hardcoded constant depends on it, changing this breaks that), spell it out separately. It is decision input, not a reason cell.
|
|
1700
|
+
|
|
1701
|
+
## Boundaries
|
|
1702
|
+
|
|
1703
|
+
- Output understanding only: do not modify code, write files, or run mutating commands. Reading code to confirm the current state is allowed and encouraged.
|
|
1704
|
+
- Follow the KISS principle: list only what genuinely changes the implementation direction. Anything you can settle by looking it up, look it up.
|
|
1705
|
+
- If nothing is ambiguous, just say so and offer to start \u2014 do not manufacture a table.
|
|
1706
|
+
|
|
1707
|
+
## Verification
|
|
1708
|
+
|
|
1709
|
+
If the user can reply with only letters or "all as recommended" and you can start implementing, the clarification was good. If they have to write a paragraph back, your options were not exhaustive or your recommendation was missing.`;
|
|
1649
1710
|
|
|
1650
1711
|
// packages/feature/agent/src/server/lib/skillifyPrompt.ts
|
|
1651
1712
|
var SKILLIFY_PROMPT_ZH = `---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.253",
|
|
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",
|