MCPcopy Index your code
hub / github.com/Noumena-Network/code / buildWrapperPromptFooterText

Function buildWrapperPromptFooterText

src/testing/wrapperPtyHarness.ts:44–61  ·  view source on GitHub ↗
(options?: {
  readonly cwd?: string
  readonly permissionMode?: 'default' | 'acceptEdits' | 'bypassPermissions'
})

Source from the content-addressed store, hash-verified

42}
43
44export function buildWrapperPromptFooterText(options?: {
45 readonly cwd?: string
46 readonly permissionMode?: 'default' | 'acceptEdits' | 'bypassPermissions'
47}) {
48 const runtimeConfig = getSmokeRuntimeConfig()
49 const runtimeModel = getRuntimeMainLoopModel({
50 permissionMode: options?.permissionMode ?? 'default',
51 mainLoopModel: runtimeConfig.model,
52 exceeds200kTokens: false,
53 })
54 return renderStarshipStatusLineText({
55 modelName: renderModelName(runtimeModel),
56 effortLevel: getDisplayedEffortLevel(runtimeModel, undefined),
57 contextRemaining: null,
58 cwd: options?.cwd ?? WRAPPER_HARNESS_REPO_ROOT,
59 permissionMode: options?.permissionMode ?? 'default',
60 })
61}
62
63export function buildWrapperPromptStatusPrefix(options?: {
64 readonly permissionMode?: 'default' | 'acceptEdits' | 'bypassPermissions'

Callers

nothing calls this directly

Calls 5

getSmokeRuntimeConfigFunction · 0.90
getRuntimeMainLoopModelFunction · 0.85
renderModelNameFunction · 0.85
getDisplayedEffortLevelFunction · 0.85

Tested by

no test coverage detected