Align wording and documentation with project conventions
This commit is contained in:
@@ -855,7 +855,7 @@ func (m *Manager) startLive(ctx context.Context, sess api.AgentSession, task api
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
tools := append([]mcp.Tool{m.askTool(l), m.cancelQuestionTool(l), m.setTitlesTool(l),m.stopMergeTool(l), m.mergeToMainTool(l), m.setTaskSummaryTool(l), m.searchClosedTool(l), m.exposePortTool(l), m.takeSnapshotTool(l), m.terminalReadTool(l), m.terminalTypeTool(l), m.bashTool(l), m.readKnowledgeTool()}, append(append(m.fileTools(l), m.subtaskTools(l)...), m.clientTools(l)...)...)
|
tools := append([]mcp.Tool{m.askTool(l), m.cancelQuestionTool(l), m.setTitlesTool(l), m.stopMergeTool(l), m.mergeToMainTool(l), m.setTaskSummaryTool(l), m.searchClosedTool(l), m.exposePortTool(l), m.takeSnapshotTool(l), m.terminalReadTool(l), m.terminalTypeTool(l), m.bashTool(l), m.readKnowledgeTool()}, append(append(m.fileTools(l), m.subtaskTools(l)...), m.clientTools(l)...)...)
|
||||||
lead := true
|
lead := true
|
||||||
if sess.Role == api.Implementer {
|
if sess.Role == api.Implementer {
|
||||||
g += longTitleGuidance(task)
|
g += longTitleGuidance(task)
|
||||||
|
|||||||
@@ -269,6 +269,7 @@ private struct UsageCommandsForm: View {
|
|||||||
GridRow {
|
GridRow {
|
||||||
Text(vendor)
|
Text(vendor)
|
||||||
TextField("Built in", text: Binding(get: { draft?[keyPath: key] ?? "" }, set: { draft?[keyPath: key] = $0 }))
|
TextField("Built in", text: Binding(get: { draft?[keyPath: key] ?? "" }, set: { draft?[keyPath: key] = $0 }))
|
||||||
|
.font(Fonts.font(13, mono: true))
|
||||||
.modifier(FieldStyle())
|
.modifier(FieldStyle())
|
||||||
.onSubmit(save)
|
.onSubmit(save)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ private struct SavedCommands: View {
|
|||||||
VStack(alignment: .leading, spacing: 2) {
|
VStack(alignment: .leading, spacing: 2) {
|
||||||
Text(c.name)
|
Text(c.name)
|
||||||
Text(c.command)
|
Text(c.command)
|
||||||
.font(Fonts.font(12))
|
.font(Fonts.font(12, mono: true))
|
||||||
.foregroundStyle(Palette.muted)
|
.foregroundStyle(Palette.muted)
|
||||||
.textSelection(.enabled)
|
.textSelection(.enabled)
|
||||||
.fixedSize(horizontal: false, vertical: true)
|
.fixedSize(horizontal: false, vertical: true)
|
||||||
@@ -303,6 +303,7 @@ private struct SavedCommands: View {
|
|||||||
save(id, valid)
|
save(id, valid)
|
||||||
}
|
}
|
||||||
TextField("Command", text: $command)
|
TextField("Command", text: $command)
|
||||||
|
.font(Fonts.font(13, mono: true))
|
||||||
.modifier(FieldStyle())
|
.modifier(FieldStyle())
|
||||||
.onSubmit {
|
.onSubmit {
|
||||||
save(id, valid)
|
save(id, valid)
|
||||||
|
|||||||
Reference in New Issue
Block a user