@neriros/ralphy 2.13.12 → 2.13.14
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/cli/index.js +10 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -70108,7 +70108,7 @@ function TaskLoop({ opts }) {
|
|
|
70108
70108
|
|
|
70109
70109
|
// apps/cli/src/components/AgentMode.tsx
|
|
70110
70110
|
var import_react57 = __toESM(require_react(), 1);
|
|
70111
|
-
import { join as join16 } from "path";
|
|
70111
|
+
import { join as join16, relative } from "path";
|
|
70112
70112
|
|
|
70113
70113
|
// apps/cli/src/agent/config.ts
|
|
70114
70114
|
import { join as join10 } from "path";
|
|
@@ -70507,13 +70507,16 @@ async function updateIssueState(apiKey, issueId, stateId) {
|
|
|
70507
70507
|
async function fetchIssueLabels(apiKey, teamKey) {
|
|
70508
70508
|
const query = `query Labels($team: String!) {
|
|
70509
70509
|
issueLabels(filter: { team: { key: { eq: $team } } }, first: 250) {
|
|
70510
|
-
nodes { id name }
|
|
70510
|
+
nodes { id name parent { name } }
|
|
70511
70511
|
}
|
|
70512
70512
|
}`;
|
|
70513
70513
|
const data = await linearRequest(apiKey, query, {
|
|
70514
70514
|
team: teamKey
|
|
70515
70515
|
});
|
|
70516
|
-
return data.issueLabels.nodes
|
|
70516
|
+
return data.issueLabels.nodes.map((l) => ({
|
|
70517
|
+
id: l.id,
|
|
70518
|
+
name: l.parent ? `${l.parent.name}:${l.name}` : l.name
|
|
70519
|
+
}));
|
|
70517
70520
|
}
|
|
70518
70521
|
async function fetchTeamIdByKey(apiKey, teamKey) {
|
|
70519
70522
|
const query = `query TeamId($key: String!) {
|
|
@@ -72960,7 +72963,7 @@ function AgentMode({ args, projectRoot, statesDir, tasksDir }) {
|
|
|
72960
72963
|
}, undefined, false, undefined, this),
|
|
72961
72964
|
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(Text, {
|
|
72962
72965
|
color: "blue",
|
|
72963
|
-
children: w.issueIdentifier
|
|
72966
|
+
children: `\x1B]8;;${w.issue.url}\x07${w.issueIdentifier}\x1B]8;;\x07`
|
|
72964
72967
|
}, undefined, false, undefined, this)
|
|
72965
72968
|
]
|
|
72966
72969
|
}, undefined, true, undefined, this),
|
|
@@ -72973,7 +72976,7 @@ function AgentMode({ args, projectRoot, statesDir, tasksDir }) {
|
|
|
72973
72976
|
}, undefined, false, undefined, this),
|
|
72974
72977
|
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(Text, {
|
|
72975
72978
|
color: "green",
|
|
72976
|
-
children: prLabel(prUrl)
|
|
72979
|
+
children: `\x1B]8;;${prUrl}\x07${prLabel(prUrl)}\x1B]8;;\x07`
|
|
72977
72980
|
}, undefined, false, undefined, this)
|
|
72978
72981
|
]
|
|
72979
72982
|
}, undefined, true, undefined, this)
|
|
@@ -72997,6 +73000,7 @@ function AgentMode({ args, projectRoot, statesDir, tasksDir }) {
|
|
|
72997
73000
|
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(Box_default, {
|
|
72998
73001
|
gap: 3,
|
|
72999
73002
|
marginTop: 0,
|
|
73003
|
+
flexWrap: "wrap",
|
|
73000
73004
|
children: [
|
|
73001
73005
|
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(Box_default, {
|
|
73002
73006
|
gap: 1,
|
|
@@ -73045,7 +73049,7 @@ function AgentMode({ args, projectRoot, statesDir, tasksDir }) {
|
|
|
73045
73049
|
}, undefined, false, undefined, this),
|
|
73046
73050
|
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(Text, {
|
|
73047
73051
|
dimColor: true,
|
|
73048
|
-
children: trunc(meta?.logFile
|
|
73052
|
+
children: trunc(meta?.logFile ? relative(process.cwd(), meta.logFile) : "\u2013", 40)
|
|
73049
73053
|
}, undefined, false, undefined, this)
|
|
73050
73054
|
]
|
|
73051
73055
|
}, undefined, true, undefined, this)
|
package/package.json
CHANGED