@kw-yeh/vibeflow 4.11.47 → 4.11.50
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/README.md +1 -1
- package/dist/vibeflow.mjs +24 -7
- package/dist/web/404/index.html +1 -1
- package/dist/web/404.html +1 -1
- package/dist/web/_next/static/{9f1up211o0OyTx-hoAAac → DFoV4-ZUUFrtxQeSxC8KA}/_buildManifest.js +1 -1
- package/dist/web/_next/static/chunks/pages/{home-76084d416f0c4fbc.js → home-a0296484a8adca97.js} +6 -6
- package/dist/web/home/index.html +1 -1
- package/package.json +1 -1
- /package/dist/web/_next/static/{9f1up211o0OyTx-hoAAac → DFoV4-ZUUFrtxQeSxC8KA}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ vibeflow
|
|
|
26
26
|
- **看得到 agent 做了什麼**:每張卡有 diff 檢視、artifacts,以及「決策」分頁:顯示這張卡的分支新增或修改的 `spec.md`(agent 做了哪些決定、為什麼)。卡片完成後打開時預設顯示決策;本地分支刪掉後,會改從 `origin/<branch>` 或 GitHub PR 的 merge commit 讀回合併當時的內容(squash/rebase merge 的卡片讀不回來)。
|
|
27
27
|
- **選你要的 agent**:Claude Code 或 Codex,每張卡可以各自指定 model、推理強度(effort)與 Auto Mode(是否免確認執行)。未指定 model 時由 Jev 依任務複雜度挑選;Jev 判斷不了時,會先讓最強的模型唯讀讀過 repo 補充 context,再交給 Jev 決定,這份分析也會附給執行的 agent。Effort 預設為 `auto`,同樣由 Jev 選擇模型支援的級距。在「設定 → Jev 自動選擇模型與 effort」輸入 TypeSafe Jev API key,或在啟動 VibeFlow 的環境設定 `TYPESAFE_API_KEY`。若沒有金鑰或 Jev 暫時無法使用,會顯示原因並使用 CLI 預設模型與模型預設的 effort。
|
|
28
28
|
- **Web UI 與終端機 UI 共用同一個看板**:習慣瀏覽器用 Web UI,習慣終端機用 `vibeflow tui`。
|
|
29
|
-
- **Jira 工作收件匣**:安裝 [Atlassian CLI(Windows)](https://developer.atlassian.com/cloud/acli/guides/install-windows/) 或 [Atlassian CLI(macOS)](https://developer.atlassian.com/cloud/acli/guides/install-macos/)
|
|
29
|
+
- **Jira 工作收件匣**:安裝 [Atlassian CLI(Windows)](https://developer.atlassian.com/cloud/acli/guides/install-windows/) 或 [Atlassian CLI(macOS)](https://developer.atlassian.com/cloud/acli/guides/install-macos/),再到設定登入,就能在「收件匣」的 Jira 分頁以固定四欄查看指派給自己的 ticket、選擇抓取範圍、開啟附件,並選擇本機專案建立 Backlog 卡片。
|
|
30
30
|
- **GitHub Issues 與 PRs**:使用已登入的 `gh` 跨所有相關 repo 顯示 open 項目,即使該 repo 尚未出現在看板;建卡時可選擇本機專案資料夾。
|
|
31
31
|
- **內建 skill,可自行調整**:每個人的 Library(設定 → Library)都附帶 `visual-parity`、`pr` 兩個 skill,可以直接編輯或刪除,隨時能還原成 VibeFlow 出貨的版本;沒改過的會跟著 VibeFlow 升級更新。Library 只負責保存,啟動任務時不會載入任何 Library 項目——agent 只收到你在設定填的 system prompt 與卡片內容。`visual-parity` 需要 Python 與 `pip install playwright && playwright install chromium`。
|
|
32
32
|
- **也能用指令操作**:`vibeflow task create` 不開 UI 直接建卡;agent 自己也能在看板上建立後續的卡片。
|
package/dist/vibeflow.mjs
CHANGED
|
@@ -918,7 +918,7 @@ var init_effort = __esm({
|
|
|
918
918
|
|
|
919
919
|
// packages/core/src/progress.ts
|
|
920
920
|
function emptyUsage() {
|
|
921
|
-
return { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, reasoning: 0 };
|
|
921
|
+
return { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, reasoning: 0, turns: 0 };
|
|
922
922
|
}
|
|
923
923
|
function addUsage(a, b) {
|
|
924
924
|
return {
|
|
@@ -926,7 +926,8 @@ function addUsage(a, b) {
|
|
|
926
926
|
output: a.output + b.output,
|
|
927
927
|
cacheRead: a.cacheRead + b.cacheRead,
|
|
928
928
|
cacheWrite: a.cacheWrite + b.cacheWrite,
|
|
929
|
-
reasoning: a.reasoning + b.reasoning
|
|
929
|
+
reasoning: a.reasoning + b.reasoning,
|
|
930
|
+
turns: (a.turns ?? 0) + (b.turns ?? 0)
|
|
930
931
|
};
|
|
931
932
|
}
|
|
932
933
|
function totalTokens(u) {
|
|
@@ -949,7 +950,18 @@ function parseLine(line) {
|
|
|
949
950
|
}
|
|
950
951
|
}
|
|
951
952
|
function initialClaudeState() {
|
|
952
|
-
return { todos: null, usageById: {}, pendingTasks: {}, activity: { state: "unknown" } };
|
|
953
|
+
return { todos: null, usageById: {}, pendingTasks: {}, activity: { state: "unknown" }, turns: 0 };
|
|
954
|
+
}
|
|
955
|
+
function isClaudePrompt(entry, message2) {
|
|
956
|
+
if (entry.isMeta || entry.isSidechain || entry.isCompactSummary) return false;
|
|
957
|
+
const content = message2.content;
|
|
958
|
+
const blocks = Array.isArray(content) ? content : [];
|
|
959
|
+
if (blocks.some((b) => b?.type === "tool_result")) return false;
|
|
960
|
+
const text = typeof content === "string" ? content : blocks.find((b) => b?.type === "text")?.text;
|
|
961
|
+
if (typeof text !== "string" || !text.trim()) return false;
|
|
962
|
+
const origin = entry.origin;
|
|
963
|
+
if (origin && typeof origin === "object") return origin.kind === "human";
|
|
964
|
+
return !CLAUDE_MACHINE_PROMPT.test(text);
|
|
953
965
|
}
|
|
954
966
|
function claudeUsage(u) {
|
|
955
967
|
const details = u.output_tokens_details;
|
|
@@ -1049,13 +1061,14 @@ function reduceClaudeLine(state, line) {
|
|
|
1049
1061
|
delete pending[block.tool_use_id];
|
|
1050
1062
|
}
|
|
1051
1063
|
next.pendingTasks = pending;
|
|
1064
|
+
if (isClaudePrompt(entry, message2)) next.turns = state.turns + 1;
|
|
1052
1065
|
next.activity = { state: "working", at };
|
|
1053
1066
|
return next;
|
|
1054
1067
|
}
|
|
1055
1068
|
return next;
|
|
1056
1069
|
}
|
|
1057
1070
|
function claudeUsageTotal(state) {
|
|
1058
|
-
return Object.values(state.usageById).reduce(addUsage, emptyUsage());
|
|
1071
|
+
return { ...Object.values(state.usageById).reduce(addUsage, emptyUsage()), turns: state.turns };
|
|
1059
1072
|
}
|
|
1060
1073
|
function initialCodexState() {
|
|
1061
1074
|
return { todos: null, usage: emptyUsage(), activity: { state: "unknown" } };
|
|
@@ -1110,12 +1123,15 @@ function reduceCodexLine(state, line) {
|
|
|
1110
1123
|
const total = info?.total_token_usage;
|
|
1111
1124
|
if (!total) return state;
|
|
1112
1125
|
const last = info?.last_token_usage;
|
|
1113
|
-
return { ...state, usage: codexUsage(total), contextTokens: last ? num(last.input_tokens) : state.contextTokens };
|
|
1126
|
+
return { ...state, usage: { ...codexUsage(total), turns: state.usage.turns }, contextTokens: last ? num(last.input_tokens) : state.contextTokens };
|
|
1114
1127
|
}
|
|
1115
1128
|
if (payload.type === "task_complete") {
|
|
1116
1129
|
return { ...state, activity: { state: "waiting", waitingFor: "input", at } };
|
|
1117
1130
|
}
|
|
1118
|
-
if (payload.type === "
|
|
1131
|
+
if (payload.type === "user_message") {
|
|
1132
|
+
return { ...state, usage: { ...state.usage, turns: (state.usage.turns ?? 0) + 1 }, activity: { state: "working", at } };
|
|
1133
|
+
}
|
|
1134
|
+
if (payload.type === "task_started") {
|
|
1119
1135
|
return { ...state, activity: { state: "working", at } };
|
|
1120
1136
|
}
|
|
1121
1137
|
}
|
|
@@ -1190,11 +1206,12 @@ function progressSummary(progress, usage) {
|
|
|
1190
1206
|
if (progress?.activity.state === "waiting") parts.push(progress.activity.waitingFor === "permission" ? "\u7B49\u5F85\u6B0A\u9650" : "\u7B49\u5F85\u8F38\u5165");
|
|
1191
1207
|
return parts.join(" \xB7 ");
|
|
1192
1208
|
}
|
|
1193
|
-
var num;
|
|
1209
|
+
var num, CLAUDE_MACHINE_PROMPT;
|
|
1194
1210
|
var init_progress = __esm({
|
|
1195
1211
|
"packages/core/src/progress.ts"() {
|
|
1196
1212
|
"use strict";
|
|
1197
1213
|
num = (v) => typeof v === "number" && Number.isFinite(v) ? v : 0;
|
|
1214
|
+
CLAUDE_MACHINE_PROMPT = /^(<local-command-(stdout|stderr|caveat)>|<task-notification>|<command-name>|\[Request interrupted)/;
|
|
1198
1215
|
}
|
|
1199
1216
|
});
|
|
1200
1217
|
|
package/dist/web/404/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9df7da0ff08b98d3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9df7da0ff08b98d3.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1f79da4960e22d5d.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9df7da0ff08b98d3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9df7da0ff08b98d3.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1f79da4960e22d5d.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/DFoV4-ZUUFrtxQeSxC8KA/_buildManifest.js" defer=""></script><script src="/_next/static/DFoV4-ZUUFrtxQeSxC8KA/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"DFoV4-ZUUFrtxQeSxC8KA","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/dist/web/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9df7da0ff08b98d3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9df7da0ff08b98d3.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1f79da4960e22d5d.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/9df7da0ff08b98d3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9df7da0ff08b98d3.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-1f79da4960e22d5d.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ba514e8a4a55baf5.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/DFoV4-ZUUFrtxQeSxC8KA/_buildManifest.js" defer=""></script><script src="/_next/static/DFoV4-ZUUFrtxQeSxC8KA/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"DFoV4-ZUUFrtxQeSxC8KA","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/dist/web/_next/static/{9f1up211o0OyTx-hoAAac → DFoV4-ZUUFrtxQeSxC8KA}/_buildManifest.js
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8f65b0f8749f42d2.js"],"/home":["static/chunks/5547-fcd96dc40c69c4dd.js","static/chunks/pages/home-
|
|
1
|
+
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-8f65b0f8749f42d2.js"],"/home":["static/chunks/5547-fcd96dc40c69c4dd.js","static/chunks/pages/home-a0296484a8adca97.js"],sortedPages:["/_app","/_error","/home"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|