conductor-oss 0.2.1 → 0.2.2
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/commands/doctor.js +1 -1
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/watch.js +1 -1
- package/dist/commands/watch.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/services.d.ts +1 -1
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +18 -2
- package/dist/services.js.map +1 -1
- package/node_modules/@conductor-oss/core/dist/config.d.ts.map +1 -1
- package/node_modules/@conductor-oss/core/dist/config.js +16 -21
- package/node_modules/@conductor-oss/core/dist/config.js.map +1 -1
- package/node_modules/@conductor-oss/core/package.json +1 -1
- package/node_modules/@conductor-oss/plugin-agent-amp/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-amp/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-ccr/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-ccr/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-claude-code/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-claude-code/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-codex/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-codex/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-cursor-cli/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-cursor-cli/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-droid/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-droid/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-gemini/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-gemini/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-github-copilot/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-github-copilot/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-opencode/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-opencode/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-agent-qwen-code/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-agent-qwen-code/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-mcp-server/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-mcp-server/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-notifier-desktop/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-notifier-desktop/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-notifier-discord/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-notifier-discord/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-runtime-tmux/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-runtime-tmux/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-scm-github/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-scm-github/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-terminal-web/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-terminal-web/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-tracker-github/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-tracker-github/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-webhook/package.json +2 -2
- package/node_modules/@conductor-oss/plugin-workspace-worktree/dist/index.js +1 -1
- package/node_modules/@conductor-oss/plugin-workspace-worktree/package.json +2 -2
- package/package.json +21 -21
- package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/packages/web/.next/build-manifest.json +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__005aa909._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__03ff76ee._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__06365513._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__0a0f0f01._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__1458f8ec._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__14b1d4a3._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__1beced71._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__1f626a16._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__2062aaab._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__206c3d8a._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__22f8f0d6._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__23bebaf9._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__2556a816._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__25788ed3._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__48875cbb._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__49c6a20e._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4ac9d639._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4c3fb752._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4dab6a6a._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__544326ac._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__54a218f0._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5661ca72._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5cd49624._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5e0533de._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5e161db4._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__60ee4897._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6712f45a._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6ab08a39._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6d62709d._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__749331b0._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__74a53184._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__76c16426._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__778e46a1._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__848eb266._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__8596d782._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__879cf4d2._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__881858fa._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__885e3a00._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__96633022._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__99da6324._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__9f36b7ec._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__a420e374._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__a4a33247._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ac544bb5._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ad84d2e0._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__b59abfbd._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__bea07e07._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__c2ef2bfc._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__c8618cb1._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cafd7bb3._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cb112606._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cd3692a0._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cf3cdecd._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d4721d30._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d538c110._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__db3d0133._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e113f6df._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e1a418bc._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e6c1d827._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__eac16890._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ef773ea6._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f0d15920._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f48eb2d4._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__fb6ab669._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__fe8419b5._.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_core_dist_index_45cd1730.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-amp_dist_index_bf3d8239.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-ccr_dist_index_69cbf726.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-claude-code_dist_index_31314e43.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-cursor-cli_dist_index_8d5cc426.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-droid_dist_index_f731227a.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-gemini_dist_index_b2d219e8.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-github-copilot_dist_index_9f80cb45.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-opencode_dist_index_7c7015da.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-qwen-code_dist_index_46dd8653.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_notifier-desktop_dist_index_ef3473f0.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_notifier-discord_dist_index_34257226.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_scm-github_dist_index_3b5a621e.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_terminal-web_dist_index_1e0706d3.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_tracker-github_dist_index_2d7af62f.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/404.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/500.html +2 -2
- /package/web/.next/static/{bzuf7R-TCH3_0BVG6bZS_ → HQzqtGznLdyAYFR3QwS5M}/_buildManifest.js +0 -0
- /package/web/.next/static/{bzuf7R-TCH3_0BVG6bZS_ → HQzqtGznLdyAYFR3QwS5M}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{bzuf7R-TCH3_0BVG6bZS_ → HQzqtGznLdyAYFR3QwS5M}/_ssgManifest.js +0 -0
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6712f45a._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),r=new Set(["exited"]),n=new Set(["merged"]);function i(e){return t.has(e.status)||null!==e.activity&&r.has(e.activity)}function s(e){return i(e)&&!n.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function u(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,r,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>u,"isRestorable",()=>s,"isTerminalSession",()=>i,"shellEscape",()=>o])},25106,e=>{"use strict";e.i(20435);var t=e.i(45629),r=e.i(74533),n=e.i(2157);let i=(0,e.i(12057).promisify)(r.execFile),s=["cursor","cursor-cli"],o=function(){for(let e of[process.env.CURSOR_CLI_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"cursor"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function l(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return r}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),r=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),r=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(r.map(e=>e.replace(/^\/dev\//,""))),o="cursor".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let r=t.slice(2).join(" ");if(l.test(r))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,r="number"==typeof t?t:Number(t);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return r;return null}}catch{return null}}let d={name:"cursor-cli",slot:"agent",description:"Agent plugin: Cursor CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),r=new Set(["exited"]),n=new Set(["merged"]);function i(e){return t.has(e.status)||null!==e.activity&&r.has(e.activity)}function s(e){return i(e)&&!n.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function u(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,r,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>u,"isRestorable",()=>s,"isTerminalSession",()=>i,"shellEscape",()=>o])},25106,e=>{"use strict";e.i(20435);var t=e.i(45629),r=e.i(74533),n=e.i(2157);let i=(0,e.i(12057).promisify)(r.execFile),s=["cursor","cursor-cli"],o=function(){for(let e of[process.env.CURSOR_CLI_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"cursor"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function l(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return r}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),r=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),r=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(r.map(e=>e.replace(/^\/dev\//,""))),o="cursor".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let r=t.slice(2).join(" ");if(l.test(r))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,r="number"==typeof t?t:Number(t);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return r;return null}}catch{return null}}let d={name:"cursor-cli",slot:"agent",description:"Agent plugin: Cursor CLI",version:"0.2.2"};function p(){return{name:"cursor-cli",processName:"cursor",promptDelivery:"inline",getLaunchCommand(e){let r=[o];return e.prompt&&r.push((0,t.shellEscape)(e.prompt)),r.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let r=await l(e.runtimeHandle);if(!r)return{state:"active",timestamp:t};let n=a(r);return{state:"idle"===n?"ready":n,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await l(e.runtimeHandle,80);if(!t)return null;let r=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return r?{summary:r.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:d,create:p},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__6712f45a._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6ab08a39._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.2"},_=`#!/usr/bin/env bash
|
|
2
2
|
# conductor-metadata-helper — shared by gh/git wrappers
|
|
3
3
|
# Provides: update_claw_metadata <key> <value>
|
|
4
4
|
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6d62709d._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.2"},_=`#!/usr/bin/env bash
|
|
2
2
|
# conductor-metadata-helper — shared by gh/git wrappers
|
|
3
3
|
# Provides: update_claw_metadata <key> <value>
|
|
4
4
|
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__749331b0._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),p=(0,s.join)((0,a.homedir)(),".conductor","bin"),m={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),p=(0,s.join)((0,a.homedir)(),".conductor","bin"),m={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.2"},$=`#!/usr/bin/env bash
|
|
2
2
|
update_claw_metadata() {
|
|
3
3
|
local key="$1" value="$2"
|
|
4
4
|
local data_dir="\${AO_DATA_DIR:-}" session="\${AO_SESSION:-}"
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__74a53184._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,n)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},52216,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),o=["opencode","open-code"],s=function(){for(let e of[process.env.OPEN_CODE_BIN,...o.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return o[0]??"opencode"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),o=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="opencode".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!o.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let p={name:"opencode",slot:"agent",description:"Agent plugin: OpenCode CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,n)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},52216,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),o=["opencode","open-code"],s=function(){for(let e of[process.env.OPEN_CODE_BIN,...o.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return o[0]??"opencode"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),o=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="opencode".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!o.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let p={name:"opencode",slot:"agent",description:"Agent plugin: OpenCode CLI",version:"0.2.2"};function m(){return{name:"opencode",processName:"opencode",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await u(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let r=a(n);return{state:"idle"===r?"ready":r,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>m,"default",0,{manifest:p,create:m},"manifest",0,p])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__74a53184._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__76c16426._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},11048,e=>{"use strict";e.i(20435);var t=e.i(45629),r=e.i(74533),n=e.i(2157);let i=(0,e.i(12057).promisify)(r.execFile),s=["ccr"],l=function(){for(let e of[process.env.CCR_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"ccr"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function o(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return r}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),r=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),r=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(r.map(e=>e.replace(/^\/dev\//,""))),l="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${l}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let r=t.slice(2).join(" ");if(o.test(r))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,r="number"==typeof t?t:Number(t);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return r;return null}}catch{return null}}let m={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},11048,e=>{"use strict";e.i(20435);var t=e.i(45629),r=e.i(74533),n=e.i(2157);let i=(0,e.i(12057).promisify)(r.execFile),s=["ccr"],l=function(){for(let e of[process.env.CCR_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"ccr"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function o(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return r}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),r=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),r=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(r.map(e=>e.replace(/^\/dev\//,""))),l="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${l}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let r=t.slice(2).join(" ");if(o.test(r))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,r="number"==typeof t?t:Number(t);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return r;return null}}catch{return null}}let m={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.2"};function p(){return{name:"ccr",processName:"ccr",promptDelivery:"inline",getLaunchCommand(e){let r=[l];return e.prompt&&r.push((0,t.shellEscape)(e.prompt)),r.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let r=await o(e.runtimeHandle);if(!r)return{state:"active",timestamp:t};let n=a(r);return{state:"idle"===n?"ready":n,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await o(e.runtimeHandle,80);if(!t)return null;let r=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return r?{summary:r.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__76c16426._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__778e46a1._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),r=new Set(["merged"]);function n(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return n(e)&&!r.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>n,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.2"},_=`#!/usr/bin/env bash
|
|
2
2
|
# conductor-metadata-helper — shared by gh/git wrappers
|
|
3
3
|
# Provides: update_claw_metadata <key> <value>
|
|
4
4
|
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__848eb266._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},402,e=>{"use strict";var t=e.i(74533);let r=(0,e.i(12057).promisify)(t.execFile);async function n(e){try{let{stdout:t}=await r("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(r){let t=r instanceof Error?r.message:String(r);if(t.includes("rate limit")||t.includes("403")||t.includes("secondary rate"))throw Error(`gh rate limited: ${e.slice(0,3).join(" ")}`,{cause:r});throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:r})}}function i(e,t){try{return JSON.parse(e)}catch{throw Error(`Failed to parse gh output for ${t}: ${e.slice(0,200)}`)}}function a(e){return`${e.owner}/${e.repo}`}let s={name:"github",slot:"scm",description:"SCM plugin: GitHub PRs, CI checks, reviews, merge readiness",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},402,e=>{"use strict";var t=e.i(74533);let r=(0,e.i(12057).promisify)(t.execFile);async function n(e){try{let{stdout:t}=await r("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(r){let t=r instanceof Error?r.message:String(r);if(t.includes("rate limit")||t.includes("403")||t.includes("secondary rate"))throw Error(`gh rate limited: ${e.slice(0,3).join(" ")}`,{cause:r});throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:r})}}function i(e,t){try{return JSON.parse(e)}catch{throw Error(`Failed to parse gh output for ${t}: ${e.slice(0,200)}`)}}function a(e){return`${e.owner}/${e.repo}`}let s={name:"github",slot:"scm",description:"SCM plugin: GitHub PRs, CI checks, reviews, merge readiness",version:"0.2.2"};function o(){return{name:"github",async detectPR(e,t){if(!e.branch)return null;let r=t.repo.split("/");if(2!==r.length||!r[0]||!r[1])throw Error(`Invalid repo format "${t.repo}", expected "owner/repo"`);let[a,s]=r;try{let r=await n(["pr","list","--repo",t.repo,"--head",e.branch,"--json","number,url,title,headRefName,baseRefName,isDraft","--limit","1"]),o=i(r,"detectPR");if(0===o.length)return null;let l=o[0];return{number:l.number,url:l.url,title:l.title,owner:a,repo:s,branch:l.headRefName,baseBranch:l.baseRefName,isDraft:l.isDraft}}catch{return null}},async getPRState(e){let t=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","state"]),"getPRState").state.toUpperCase();return"MERGED"===t?"merged":"CLOSED"===t?"closed":"open"},async mergePR(e,t="squash"){await n(["pr","merge",String(e.number),"--repo",a(e),"rebase"===t?"--rebase":"merge"===t?"--merge":"--squash","--delete-branch"])},async closePR(e){await n(["pr","close",String(e.number),"--repo",a(e)])},async getCIChecks(e){try{let t=await n(["pr","checks",String(e.number),"--repo",a(e),"--json","name,state,link"]);return i(t,"getCIChecks").map(e=>{let t,r=e.state?.toUpperCase();return t="PENDING"===r||"QUEUED"===r?"pending":"IN_PROGRESS"===r?"running":"SUCCESS"===r?"passed":"FAILURE"===r||"TIMED_OUT"===r||"CANCELLED"===r||"ACTION_REQUIRED"===r?"failed":"SKIPPED"===r||"NEUTRAL"===r?"skipped":"failed",{name:e.name,status:t,url:e.link||void 0}})}catch(e){throw Error("Failed to fetch CI checks",{cause:e})}},async getCISummary(e){let t;try{t=await this.getCIChecks(e)}catch(t){if((t instanceof Error?t.message:String(t)).includes("rate limit"))return"pending";try{let t=await this.getPRState(e);if("merged"===t||"closed"===t)return"none"}catch{return"pending"}return"failing"}return 0===t.length?"none":t.some(e=>"failed"===e.status)?"failing":t.some(e=>"pending"===e.status||"running"===e.status)?"pending":t.some(e=>"passed"===e.status)?"passing":"none"},getReviews:async e=>i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviews"]),"getReviews").reviews.map(e=>{let t,r=e.state?.toUpperCase();return t="APPROVED"===r?"approved":"CHANGES_REQUESTED"===r?"changes_requested":"DISMISSED"===r?"dismissed":"PENDING"===r?"pending":"commented",{author:e.author?.login??"unknown",state:t,body:e.body||void 0,submittedAt:function(e){if(!e)return new Date(0);let t=new Date(e);return isNaN(t.getTime())?new Date(0):t}(e.submittedAt)}}),async getReviewDecision(e){let t=(i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviewDecision"]),"getReviewDecision").reviewDecision??"").toUpperCase();return"APPROVED"===t?"approved":"CHANGES_REQUESTED"===t?"changes_requested":"REVIEW_REQUIRED"===t?"pending":"none"},async getDeploymentPreviewUrl(e){try{let{stdout:t}=await r("gh",["pr","checks",String(e.number),"--repo",a(e),"--json","name,link,state"],{timeout:15e3,maxBuffer:2097152}),n=i(t.trim(),"getDeploymentPreviewUrl"),s=/vercel|netlify|preview|deploy/i,o=/vercel\.app|netlify\.app|preview/i;for(let e of n)if(s.test(e.name)&&e.link&&o.test(e.link))return e.link;return null}catch{return null}},async getMergeability(e){let t=[];if("merged"===await this.getPRState(e))return{mergeable:!0,ciPassing:!0,approved:!0,noConflicts:!0,blockers:[]};let r=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","mergeable,reviewDecision,mergeStateStatus,isDraft"]),"getMergeability"),s=await this.getCISummary(e),o="passing"===s||"none"===s;o||t.push(`CI is ${s}`);let l=(r.reviewDecision??"").toUpperCase();"CHANGES_REQUESTED"===l?t.push("Changes requested in review"):"REVIEW_REQUIRED"===l&&t.push("Review required");let u=(r.mergeable??"").toUpperCase(),c=(r.mergeStateStatus??"").toUpperCase();return"CONFLICTING"===u?t.push("Merge conflicts"):("UNKNOWN"===u||""===u)&&t.push("Merge status unknown (GitHub is computing)"),"BEHIND"===c?t.push("Branch is behind base branch"):"BLOCKED"===c?t.push("Merge is blocked by branch protection"):"UNSTABLE"===c&&t.push("Required checks are failing"),r.isDraft&&t.push("PR is still a draft"),{mergeable:0===t.length,ciPassing:o,approved:"APPROVED"===l,noConflicts:"MERGEABLE"===u,blockers:t}}}}e.s(["create",()=>o,"default",0,{manifest:s,create:o},"manifest",0,s])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__848eb266._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__8596d782._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},36340,(e,t,r)=>{t.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},65041,e=>{"use strict";var t=e.i(74533),r=e.i(12057),i=e.i(36340),o=e.i(2157),a=e.i(50227),n=e.i(60526);let c=(0,r.promisify)(t.execFile),s={name:"worktree",slot:"workspace",description:"Workspace plugin: git worktrees",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},36340,(e,t,r)=>{t.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},65041,e=>{"use strict";var t=e.i(74533),r=e.i(12057),i=e.i(36340),o=e.i(2157),a=e.i(50227),n=e.i(60526);let c=(0,r.promisify)(t.execFile),s={name:"worktree",slot:"workspace",description:"Workspace plugin: git worktrees",version:"0.2.2"},l=[300,700,1500,3e3,5e3];async function h(e,...t){let r=null;for(let o=0;o<=l.length;o+=1)try{let{stdout:r}=await c("git",t,{cwd:e,timeout:3e4});return r.trimEnd()}catch(e){if(r=e,!function(e){let t=e.toLowerCase();return t.includes("could not lock config file")||t.includes("index.lock")||t.includes("unable to create '.git")||t.includes("another git process seems to be running")}(e instanceof Error?e.message:String(e))||o>=l.length)throw e;await (0,i.setTimeout)(l[o]??250)}throw r instanceof Error?r:Error(String(r))}async function u(e,t){let r=(0,a.join)(e,".git","conductor-worktree.lock"),n=Date.now()+3e4;for(;;)try{(0,o.mkdirSync)(r);break}catch(e){if("EEXIST"!==e?.code)throw e;if(Date.now()>n)throw Error(`Timed out waiting for repository lock at ${r}`);await (0,i.setTimeout)(200)}try{return await t()}finally{(0,o.rmSync)(r,{recursive:!0,force:!0})}}let p=/^[a-zA-Z0-9_-]+$/;function f(e,t){if(!p.test(e))throw Error(`Invalid ${t} "${e}": must match ${p}`)}function d(e){return e.startsWith("~/")?(0,a.join)((0,n.homedir)(),e.slice(2)):e}async function y(e){if(!(0,o.existsSync)(e))return!1;try{return await h(e,"rev-parse","--is-inside-work-tree"),!0}catch{return!1}}async function w(e){let t=(0,a.dirname)(e),r=(0,a.basename)(e).toLowerCase();if(!(0,o.existsSync)(t))return null;try{for(let e of(0,o.readdirSync)(t,{withFileTypes:!0}).filter(e=>e.isDirectory()).map(e=>(0,a.join)(t,e.name)))if((0,a.basename)(e).toLowerCase()===r&&await y(e))return e}catch{}return null}async function m(e,t){let r=d(e),i=(0,a.extname)(r).toLowerCase(),o=function(e){if(!e||0===e.trim().length)return null;let t=e.trim().replace(/\.git$/i,"").split(/[/:]/).filter(Boolean),r=t[t.length-1];return r&&r.length>0?r:null}(t),c=function(e){let t=new Set,r=[];for(let i of e){let e=(0,a.resolve)(d(i));t.has(e)||(t.add(e),r.push(e))}return r}([r,...i?[(0,a.dirname)(r)]:[],...o?[(0,a.join)((0,a.dirname)(r),o)]:[],...o?[(0,a.join)((0,n.homedir)(),".openclaw","projects",o)]:[],...o?[(0,a.join)((0,n.homedir)(),".conductor","projects",o)]:[],...o?[(0,a.join)((0,n.homedir)(),".worktrees",o)]:[],r.replace("/workspace/projects/","/projects/"),...o?[(0,a.join)((0,n.homedir)(),".openclaw","projects",o.toLowerCase())]:[]]);for(let e of c){if(await y(e))return e;let t=await w(e);if(t)return t}let s=c.map(e=>` - ${e}`).join("\n"),l=o?` (repo: ${o})`:"";throw Error(`Project path is not a git repository${l}.
|
|
2
2
|
Configured path: ${r}
|
|
3
3
|
Checked candidates:
|
|
4
4
|
${s}
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__879cf4d2._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,n)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],l=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return s[0]??"qwen-code"}(),o=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(o,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(o,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),l="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${l}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,n)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],l=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return s[0]??"qwen-code"}(),o=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(o,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(o,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),l="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${l}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.2"};function p(){return{name:"qwen-code",processName:"qwen-code",promptDelivery:"inline",getLaunchCommand(e){let n=[l];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await u(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let r=a(n);return{state:"idle"===r?"ready":r,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__879cf4d2._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__881858fa._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},36340,(e,t,n)=>{t.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},80565,e=>{"use strict";var t=e.i(74533),n=e.i(12057),a=e.i(36340),i=e.i(66680),r=e.i(2157),s=e.i(60526),o=e.i(50227);let c=(0,n.promisify)(t.execFile),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),d={name:"tmux",slot:"runtime",description:"Runtime plugin: tmux sessions",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},36340,(e,t,n)=>{t.exports=e.x("node:timers/promises",()=>require("node:timers/promises"))},80565,e=>{"use strict";var t=e.i(74533),n=e.i(12057),a=e.i(36340),i=e.i(66680),r=e.i(2157),s=e.i(60526),o=e.i(50227);let c=(0,n.promisify)(t.execFile),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),d={name:"tmux",slot:"runtime",description:"Runtime plugin: tmux sessions",version:"0.2.2"},l=/^[a-zA-Z0-9_-]+$/;async function m(...e){let{stdout:t}=await c(u,e,{timeout:3e4});return t.trimEnd()}function y(){return{name:"tmux",async create(e){var t=e.sessionId;if(!l.test(t))throw Error(`Invalid session ID "${t}": must match ${l}`);let n=e.sessionId,c=[];for(let[t,n]of Object.entries(e.environment??{}))c.push("-e",`${t}=${n}`);await m("new-session","-d","-s",n,"-c",e.workspacePath,...c);try{if(e.launchCommand.length>200){let t=`claw-launch-${(0,i.randomUUID)().slice(0,8)}`,c=(0,o.join)((0,s.tmpdir)(),`claw-launch-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(c,e.launchCommand,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",t,c),await m("paste-buffer","-b",t,"-t",n,"-d")}finally{try{(0,r.unlinkSync)(c)}catch{}}await (0,a.setTimeout)(300),await m("send-keys","-t",n,"Enter")}else await m("send-keys","-t",n,e.launchCommand,"Enter")}catch(t){try{await m("kill-session","-t",n)}catch{}let e=t instanceof Error?t.message:String(t);throw Error(`Failed to send launch command to session "${n}": ${e}`,{cause:t})}for(let e of[8e3,12e3,16e3,2e4,25e3,3e4])(0,a.setTimeout)(e).then(()=>m("send-keys","-t",n,"Enter").catch(()=>{}));return{id:n,runtimeName:"tmux",data:{createdAt:Date.now(),workspacePath:e.workspacePath}}},async destroy(e){try{await m("kill-session","-t",e.id)}catch{}},async sendMessage(e,t){if(await m("send-keys","-t",e.id,"C-u"),t.includes("\n")||t.length>200){let n=`claw-${(0,i.randomUUID)()}`,a=(0,o.join)((0,s.tmpdir)(),`claw-send-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(a,t,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",n,a),await m("paste-buffer","-b",n,"-t",e.id,"-d")}finally{try{(0,r.unlinkSync)(a)}catch{}try{await m("delete-buffer","-b",n)}catch{}}}else await m("send-keys","-t",e.id,"-l",t);await (0,a.setTimeout)(300),await m("send-keys","-t",e.id,"Enter")},async getOutput(e,t=50){try{return await m("capture-pane","-t",e.id,"-p","-S",`-${t}`)}catch{return""}},async isAlive(e){try{return await m("has-session","-t",e.id),!0}catch{return!1}},getAttachInfo:async e=>({type:"tmux",target:e.id,command:`${u} attach -t ${e.id}`})}}e.s(["create",()=>y,"default",0,{manifest:d,create:y},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__881858fa._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__885e3a00._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),p=(0,s.join)((0,a.homedir)(),".conductor","bin"),m={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),p=(0,s.join)((0,a.homedir)(),".conductor","bin"),m={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.2"},$=`#!/usr/bin/env bash
|
|
2
2
|
update_claw_metadata() {
|
|
3
3
|
local key="$1" value="$2"
|
|
4
4
|
local data_dir="\${AO_DATA_DIR:-}" session="\${AO_SESSION:-}"
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__96633022._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,o)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},70178,e=>{"use strict";var t=e.i(74533),o=e.i(60526);let i={name:"desktop",slot:"notifier",description:"Notifier plugin: desktop notifications (macOS + Linux)",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,o)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},70178,e=>{"use strict";var t=e.i(74533),o=e.i(60526);let i={name:"desktop",slot:"notifier",description:"Notifier plugin: desktop notifications (macOS + Linux)",version:"0.2.2"};function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function r(e){let o="boolean"!=typeof e?.sound||e.sound;return{name:"desktop",async notify(e){var i,r;let s,a=(s="urgent"===e.priority?"URGENT":"Conductor",`${s} [${e.sessionId}]`),c=e.message,d=(i=e.priority,!!o&&"urgent"===i);try{await (r={sound:d},new Promise((e,o)=>{{let i=n(a),s=n(c),d=r.sound?' sound name "default"':"",l=`display notification "${s}" with title "${i}"${d}`;(0,t.execFile)("osascript",["-e",l],t=>{t?o(t):e()})}}))}catch(t){let e=t instanceof Error?t.message:String(t);console.error(`[notifier-desktop] Failed to send notification: ${e}`)}}}}(0,o.platform)(),e.s(["create",()=>r,"default",0,{manifest:i,create:r},"manifest",0,i])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__96633022._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__99da6324._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),r=new Set(["merged"]);function i(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return i(e)&&!r.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>i,"shellEscape",()=>o])},11048,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),s=["ccr"],o=function(){for(let e of[process.env.CCR_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return s[0]??"ccr"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),r=new Set(["merged"]);function i(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return i(e)&&!r.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,r,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>i,"shellEscape",()=>o])},11048,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),r=e.i(2157);let i=(0,e.i(12057).promisify)(n.execFile),s=["ccr"],o=function(){for(let e of[process.env.CCR_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,r.existsSync)(e))return e;return s[0]??"ccr"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await i(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let r=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(r)||/do you want|confirm|approve|proceed/i.test(r)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await i(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:r}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of r.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.2"};function p(){return{name:"ccr",processName:"ccr",promptDelivery:"inline",getLaunchCommand(e){let n=[o];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await u(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let r=a(n);return{state:"idle"===r?"ready":r,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:d,create:p},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__99da6324._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__9f36b7ec._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>r,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),n=e.i(2157),r=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,n.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),a=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&a.has(e.activity)}function i(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,a,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>i,"isTerminalSession",()=>r,"shellEscape",()=>s])},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),n=e.i(2157),r=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let d=(0,l.promisify)(a.execFile),c=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,n.existsSync)(e))return e;return"codex"}(),p=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.2"},_=`#!/usr/bin/env bash
|
|
2
2
|
# conductor-metadata-helper — shared by gh/git wrappers
|
|
3
3
|
# Provides: update_claw_metadata <key> <value>
|
|
4
4
|
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__a420e374._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(t,e,i)=>{e.exports=t.x("node:crypto",()=>require("node:crypto"))},74533,(t,e,i)=>{e.exports=t.x("node:child_process",()=>require("node:child_process"))},12057,(t,e,i)=>{e.exports=t.x("node:util",()=>require("node:util"))},12714,(t,e,i)=>{e.exports=t.x("node:fs/promises",()=>require("node:fs/promises"))},97081,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["github-copilot","copilot","gh-copilot"],o=function(){for(let t of[process.env.GITHUB_COPILOT_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"github-copilot"}(),s=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function u(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(s,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function a(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(s,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),o="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(u.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let p={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(t,e,i)=>{e.exports=t.x("node:crypto",()=>require("node:crypto"))},74533,(t,e,i)=>{e.exports=t.x("node:child_process",()=>require("node:child_process"))},12057,(t,e,i)=>{e.exports=t.x("node:util",()=>require("node:util"))},12714,(t,e,i)=>{e.exports=t.x("node:fs/promises",()=>require("node:fs/promises"))},97081,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["github-copilot","copilot","gh-copilot"],o=function(){for(let t of[process.env.GITHUB_COPILOT_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"github-copilot"}(),s=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function u(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(s,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function a(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(s,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),o="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(u.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let p={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.2"};function m(){return{name:"github-copilot",processName:"github-copilot",promptDelivery:"inline",getLaunchCommand(t){let i=[o];return t.prompt&&i.push((0,e.shellEscape)(t.prompt)),i.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>a(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await c(t.runtimeHandle))return{state:"exited",timestamp:e};let i=await u(t.runtimeHandle);if(!i)return{state:"active",timestamp:e};let n=a(i);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await c(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await u(t.runtimeHandle,80);if(!e)return null;let i=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>m,"default",0,{manifest:p,create:m},"manifest",0,p])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__a420e374._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__a4a33247._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,a.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function a(e){return r(e)&&!n.has(e.status)}function s(e){return`'${e.replace(/'/g,"'\\''")}'`}function o(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class l extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class u extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>l,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>u,"isIssueNotFoundError",()=>o,"isRestorable",()=>a,"isTerminalSession",()=>r,"shellEscape",()=>s])},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),r=e.i(12714),a=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,a.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.2"},$=`#!/usr/bin/env bash
|
|
2
2
|
update_claw_metadata() {
|
|
3
3
|
local key="$1" value="$2"
|
|
4
4
|
local data_dir="\${AO_DATA_DIR:-}" session="\${AO_SESSION:-}"
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ac544bb5._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function s(e){return r(e)&&!n.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},97081,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157);let r=(0,e.i(12057).promisify)(i.execFile),s=["github-copilot","copilot","gh-copilot"],o=function(){for(let e of[process.env.GITHUB_COPILOT_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"github-copilot"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:i}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return i}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),i=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),i=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(i.map(e=>e.replace(/^\/dev\//,""))),o="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let i=t.slice(2).join(" ");if(u.test(i))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,i="number"==typeof t?t:Number(t);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return i;return null}}catch{return null}}let d={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),i=new Set(["exited"]),n=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&i.has(e.activity)}function s(e){return r(e)&&!n.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,n,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,i,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},97081,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157);let r=(0,e.i(12057).promisify)(i.execFile),s=["github-copilot","copilot","gh-copilot"],o=function(){for(let e of[process.env.GITHUB_COPILOT_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,n.existsSync)(e))return e;return s[0]??"github-copilot"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:i}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return i}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),i=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),i=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(i.map(e=>e.replace(/^\/dev\//,""))),o="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of n.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let i=t.slice(2).join(" ");if(u.test(i))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,i="number"==typeof t?t:Number(t);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return i;return null}}catch{return null}}let d={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.2"};function p(){return{name:"github-copilot",processName:"github-copilot",promptDelivery:"inline",getLaunchCommand(e){let i=[o];return e.prompt&&i.push((0,t.shellEscape)(e.prompt)),i.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let i=await u(e.runtimeHandle);if(!i)return{state:"active",timestamp:t};let n=a(i);return{state:"idle"===n?"ready":n,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let i=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:d,create:p},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__ac544bb5._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ad84d2e0._.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),a=e.i(12714),r=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,r.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},12714,(e,t,i)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),n=e.i(2157),a=e.i(12714),r=e.i(60526),s=e.i(50227),o=e.i(12057),l=e.i(66680);let u=(0,o.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,n.existsSync)(e))return e;return"gemini"}(),d=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,r.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.2"},$=`#!/usr/bin/env bash
|
|
2
2
|
update_claw_metadata() {
|
|
3
3
|
local key="$1" value="$2"
|
|
4
4
|
local data_dir="\${AO_DATA_DIR:-}" session="\${AO_SESSION:-}"
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__b59abfbd._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),i=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return r(e)&&!i.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,i,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],o=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return s[0]??"qwen-code"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.
|
|
1
|
+
module.exports=[74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),i=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return r(e)&&!i.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,i,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],o=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return s[0]??"qwen-code"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.2"};function p(){return{name:"qwen-code",processName:"qwen-code",promptDelivery:"inline",getLaunchCommand(e){let n=[o];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await u(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=a(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:d,create:p},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__b59abfbd._.js.map
|
package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__bea07e07._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),i=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return r(e)&&!i.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,i,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],o=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return s[0]??"qwen-code"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.
|
|
1
|
+
module.exports=[66680,(e,t,n)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,n)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,n)=>{t.exports=e.x("node:util",()=>require("node:util"))},45629,e=>{"use strict";let t=new Set(["killed","terminated","done","cleanup","errored","merged"]),n=new Set(["exited"]),i=new Set(["merged"]);function r(e){return t.has(e.status)||null!==e.activity&&n.has(e.activity)}function s(e){return r(e)&&!i.has(e.status)}function o(e){return`'${e.replace(/'/g,"'\\''")}'`}function l(e){if(!e||"object"!=typeof e)return!1;let t=e.message?.toLowerCase()||"";return t.includes("issue")&&(t.includes("not found")||t.includes("does not exist"))||t.includes("no issue found")||t.includes("could not find issue")||t.includes("could not resolve to an issue")||t.includes("no issue with identifier")||t.includes("invalid issue format")}class u extends Error{sessionId;reason;constructor(e,t){super(`Session ${e} cannot be restored: ${t}`),this.sessionId=e,this.reason=t,this.name="SessionNotRestorableError"}}class a extends Error{path;detail;constructor(e,t){super(`Workspace missing at ${e}${t?`: ${t}`:""}`),this.path=e,this.detail=t,this.name="WorkspaceMissingError"}}e.s(["CI_STATUS",0,{PENDING:"pending",PASSING:"passing",FAILING:"failing",NONE:"none"},"DEFAULT_READY_THRESHOLD_MS",0,3e5,"NON_RESTORABLE_STATUSES",0,i,"PR_STATE",0,{OPEN:"open",MERGED:"merged",CLOSED:"closed"},"SESSION_STATUS",0,{SPAWNING:"spawning",WORKING:"working",PR_OPEN:"pr_open",CI_FAILED:"ci_failed",REVIEW_PENDING:"review_pending",CHANGES_REQUESTED:"changes_requested",APPROVED:"approved",MERGEABLE:"mergeable",MERGED:"merged",CLEANUP:"cleanup",NEEDS_INPUT:"needs_input",STUCK:"stuck",ERRORED:"errored",KILLED:"killed",DONE:"done",TERMINATED:"terminated"},"SessionNotRestorableError",()=>u,"TERMINAL_ACTIVITIES",0,n,"TERMINAL_STATUSES",0,t,"WorkspaceMissingError",()=>a,"isIssueNotFoundError",()=>l,"isRestorable",()=>s,"isTerminalSession",()=>r,"shellEscape",()=>o])},92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),s=["qwen-code"],o=function(){for(let e of[process.env.QWEN_CODE_BIN,...s.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return s[0]??"qwen-code"}(),l=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function u(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(l,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(l,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),s=new Set(n.map(e=>e.replace(/^\/dev\//,""))),o="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${o}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!s.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(u.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let d={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.2"};function p(){return{name:"qwen-code",processName:"qwen-code",promptDelivery:"inline",getLaunchCommand(e){let n=[o];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await u(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=a(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await u(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:d,create:p},"manifest",0,d])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__bea07e07._.js.map
|