Files
splinter/share/locale/en.msg
T
lotherk 6debe213c3 ask: the wait for an answer is the operator's to set, and a late answer is refused
The 900 s wait was not the defect -- a person reads and thinks. Being hard
coded was: a run with no operator attached (an older protocol client that
does not know SP_EV_ASK, a script) lost the turn for fifteen minutes and
nobody could shorten it. Measured before the change: a client that ignores
the event saw the question and then no turn for 10 s.

sp_ask_wait_s() reads $SPLINTER_ASK_TIMEOUT, then ask_timeout from the
config, then SP_ASK_WAIT_S = 900. No upper bound: how long a turn may wait
is the operator's call. Consumers: engine_ask, tg_ask.

protocol.c also dropped sp_engine_answer's return value, so an answer that
arrived after the question was gone (wait expired, turn cancelled) looked
accepted. It now reports "no question is pending", as steer already did.

Test evidence:
- tests/test_ask_timeout.sh (new, wired into make check): with
  SPLINTER_ASK_TIMEOUT=3 the turn returns in 3 s with the "no answer"
  observation instead of parking. Proven red against the old code (env
  ignored: 5 FAILs, the client got no turn at all) and green on the fix.
- ask_timeout in the config file takes effect too: measured 3.1 s against a
  running --serve, so the docs line is not a claim.
- sp_ask_wait_s() edge cases: unset/0/-5/abc -> 900, 1 -> 1, 42 -> 42,
  999999999999 -> clamped.
- make check green (336 s), make check-asan and check-tsan clean (46
  binaries each).
2026-11-24 09:00:49 +00:00

298 lines
13 KiB
Plaintext

# splinter -- English catalogue (the fallback for every key)
#
# Format: key = text. '#' starts a comment. Missing keys fall back here, and a
# key that exists nowhere is shown as itself, so nothing is silently empty.
ui.ready = ready. Enter sends, Ctrl-D quits.
ui.more_lines = ... %zu more lines
ui.working = working...
ui.command_running = running command...
ui.reconnected = reconnected
ui.reconnecting = connection lost - reconnecting ...
ui.no_sessions = no sessions yet
ui.untitled = (untitled)
ui.session_opened = session opened
# /sessions: the two-stage picker (source, then session)
ui.sessions_title_source = sessions: source
ui.sessions_title_session = sessions
ui.sessions_no_source = no source has sessions
ui.sessions_hint_source = Enter opens a source Esc cancels
ui.sessions_hint_session = Enter opens the session Esc back
ui.session_gone = session %s is gone - now on %s
ui.compacted = context compacted: %zu->%zu msgs, %s->%s (%s->%s)
ui.compact_nohost = compact: no plugin host, nothing to compact
ui.compact_pending = compaction queued: it runs when the turn ends (target %zu tokens)
ui.steer_queued_line = steering queued: %s
ui.badtool_note = broken tool call, trying again in %d s (%d/%d)
agent.badcall_answer = I could not send a runnable tool call: the arguments were not valid JSON. Nothing ran. The raw call is in the log; tell me how to continue.
ui.steer_failed = steering not accepted (no turn is running)
ui.model_title = model
ui.open_busy = cannot switch sessions while a turn runs; /open after the turn
ui.attach_busy = another client is attached: one conversation runs one turn at a time - close the other connection, or use it
ui.command_busy = not while a turn runs; run it again after the turn
ui.model_filter = filter:
ui.model_hint = type to filter Up/Down move Enter selects Esc cancels
ui.status_turn = %lds
ui.model_empty = no models configured
ui.model_probing = asking the endpoint what it serves ...
ui.model_none = no match
sidebar.session = session
sidebar.cwd = dir
sidebar.last_turn = last turn
sidebar.tokens = %zu tok (in %zu)
role.you = you
role.agent = agent
role.thinking = thinking
role.shell = shell
role.splinter = splinter
role.error = error
cmd.unknown = unknown command: /%s
cmd.available = available:
widgets.none = no plugin published a widget line
err.oom = out of memory
err.theme = theme
err.plugin_failed = plugin failed
role.tool = tool
role.observation = output
err.thread = cannot start the turn thread
err.turn_failed = turn failed
focus.goal_prompt = Goal: %s. Work toward it. When the goal is fully achieved, end your final answer with the single line GOAL_COMPLETE so splinter can mark it as succeeded.
focus.reminder = Recap to remember: %s. Before answering, check whether the last step moved closer to the goal; if not, say so and name the next step. When the goal is fully achieved, end your final answer with the single line GOAL_COMPLETE.
focus.recap_prompt = Goal: %s. Write a short recap to remember: 3-5 bullets, what must be true at the end, the first concrete steps, and open questions. When the goal is fully achieved, end your final answer with the single line GOAL_COMPLETE.
focus.continue_prompt = Continue working toward this goal: %s. Pick up where the session stopped: check the current state, do the next concrete step, and report what changed. When the goal is fully achieved, end your final answer with the single line GOAL_COMPLETE.
selfcheck.prompt = Something went wrong in this session, so check yourself instead of asking the operator: read the tail of our conversation below (tool output is shortened), find the step that failed, say what the cause was, what you got wrong, and what you will do differently now. Then continue the task from where it stopped. Do not repeat work that is still valid.
selfcheck.empty = (no turns yet - there is nothing to check, so start the task.)
focus.set = goal set: %s
focus.none = no goal set (/goal <text>)
focus.status = goal: %s (%u recaps, every %u turns)
focus.status_done = goal: %s [succeeded] (%u recaps, every %u turns)
focus.widget_recap = recap %u, every %u turns
focus.note_goal = goal in the prompt
focus.note_recap = recap applied (turn %u, every %u turns)
focus.succeeded = goal succeeded: %s
cps.idle = idle (applied %lu, prepared %lu)
cps.plan = plan ready: cut %zu/%zu, %zu -> %zu B
cli.no_output = cli: '%s' produced no output
cli.timeout = cli: '%s' timed out after %s s
cli.failed = cli: '%s' failed (exit %d): %.400s
ui.prompt_mark = >
ui.steer_mark = steer>
ui.retry_note = retrying in %d s: %s
ui.swarm_locked = [swarm locked]
ui.status_ctx_bar = ctx %zu/%zu %s %d%%
ui.status_ctx = ctx %zu
ui.status_cache = cache %d%%
ui.status_cache_none = cache -
ui.status_tps = %d tok/s
ui.status_tps_none = - tok/s
ui.approve = %s (%s)? y/N
auth.mutate = changes files
auth.destructive = destructive
role.diff = diff
# approvals (ack): channel messages, the gateway's replies, the terminal
ack.request = Approval %d: %s %s
ack.how = Answer: ok %d / no %d
ack.prompt = approval %d: %s %s (%ds) - 'splinter --ack %d yes' or y/N here:
ack.pending = approval %d: %s %s (%ds)
ack.approved_by = splinter: approved by %s
ack.none = no open requests
ack.granted = Approved.
ack.refused = Refused.
ack.gone = There is no such request (any more).
ack.waiting = Still waiting for an approval: ok %d / no %d
# openai transport
openai.oom = openai: out of memory
openai.build_request = openai: cannot build the request
openai.fdopen = openai: fdopen: %s
openai.mkstemp = openai: mkstemp: %s
openai.short_write = openai: short write: %s
openai.read_failed = openai: read failed
openai.transfer_failed = openai: transfer failed for %s
openai.unparseable = openai: unparseable response (no status)
openai.stream_failed = openai: stream failed for %s: %.300s
openai.no_sse = openai: endpoint sent no SSE data: %.300s
openai.http_status = openai: HTTP %ld from %s: %.300s
openai.stream_no_answer = openai: stream ended with no answer: %.300s
# delegate
delegate.timeout = delegate: '%s' timed out
delegate.parallel_timeout = [parallel: timeout, killing the rest]
# telegram menu and approval buttons
tg.cmd.start = Greeting and commands
tg.cmd.help = Help and commands
tg.cmd.goal = Set or show the goal, then recap it
tg.cmd.run = run /%s
tg.cmd.tasks = Show the plan
tg.cmd.status = session, model, tokens, limits
tg.cmd.menu = menu: status, model, new, help
tg.help = I am splinter. Send a message for a turn. /goal sets the goal and starts a recap turn, /tasks shows the plan. Changes ask here with Yes/No or ok <id> / no <id>.
ack.yes = Yes
ack.no = No
tg.cmd.interview = create the profile in the chat
# interview questions (terminal and Telegram)
interview.q.language = Which language should I speak with you in?
interview.h.language = e.g. deutsch, english, portugues
interview.q.about = Who are you and what are you working on right now?
interview.h.about = two sentences are enough
interview.q.stack = Which languages and tools do you prefer?
interview.h.stack = e.g. C99/POSIX, no Python, make instead of CMake
interview.q.style = How should I answer?
interview.h.style = short/long, with or without reasoning, code first?
interview.q.never = What should I NEVER do?
interview.h.never = e.g. never write to /home/carol, no secrets in logs
interview.q.paths = Which paths are sacred or dangerous?
interview.h.paths = e.g. never touch /home/carol
# /model and /connect (gateway)
session.new = New conversation: %s
session.failed = Could not start a new session: %s
session.renamed = Session %s renamed to "%s"
session.rename_failed = Cannot rename the session: %s
session.rename_usage = Usage: /rename [ID] TITLE
session.removed = Session %s removed
session.remove_failed = Cannot remove %s: %s
session.rm_current = Cannot remove the open session; /open another first
session.rm_usage = Usage: /rm ID
session.no_session = No such session: %s
tg.cmd.new = new conversation
tg.cmd.model = choose a model
tg.cmd.connect = add a provider
tg.menu.text = Menu
tg.menu.status = Status
tg.menu.model = Model
tg.menu.new = New
tg.menu.help = Help
tg.menu.toast = ok
model.choose = Choose a model. The list is the configuration; the choice lasts for this session.
model.none = No model is configured. Add one with /connect.
model.unknown = No such model: %s
model.pools = pools:
model.pending = model switch to %s after the current request
ui.cancelling = cancelling ... (Ctrl-C again quits)
model.failed = Could not switch: %s
model.switched = Model: %s (provider %s, this session).
model.no_key = , no %s set
model.save_failed = Model: %s (provider %s). Not saved: %s
model.probe = Ask the endpoints for their models
model.probe_start = Asking %zu provider(s) for their models...
model.probe_none = No endpoint listed its models. /model still shows the configured ones.
model.probe_stale = That list is gone; run /model probe again.
model.toast = Switching
connect.start = New provider. /cancel stops.
connect.name = Name? Lower-case letters, digits, - and _ (max 31).
connect.name_bad = That is not a name. Lower-case letters, digits, - and _ only.
connect.endpoint = Endpoint? The API base, like https://host/v1, or `ollama` / `opencode` for the usual one.
connect.endpoint_bad = An endpoint must start with http:// or https://.
connect.model = Which model does it serve?
connect.model_bad = That is not a model name.
connect.key = Which environment variable holds the key? `-` for none.
connect.key_named = Which environment variable holds the key? `-` for none, /skip keeps %s.
connect.key_bad = That is not a variable name (letters, digits, _).
connect.saved = Provider %s saved: %s at %s
connect.failed = Could not save: %s
connect.nodir = No configuration directory to write to.
connect.line_too_long = That provider line is too long for the configuration.
connect.cancel = connect cancelled.
connect.tested = Test passed: %s
connect.test_failed = The test failed: %s (it is saved anyway)
connect.use = Use now
connect.later = Later
reply.empty = (empty)
# agent profiles, usage, sidebar (added with the profiles)
sidebar.model = model
sidebar.usage = usage
sidebar.turn_line = %.1f s, %zu steps, %zu tools
widget.focus = goal
widget.plan = plan
widget.sysinfo = system
widget.tasks = tasks
widget.tmux = tmux
ui.limit_wait = usage limit: continuing at %s (Ctrl-C stops, /resume goes on)
agent.switched = agent: %s - %s %s
agent.readonly = [read-only]
agent.none = no agent '%s'
agent.failed = cannot activate the agent profile '%s'
agent.help = Tab switches, /agent NAME picks
agent.desc.build = full access: reads, changes, builds, tests
agent.desc.plan = read-only: analyse, weigh, plan; changes nothing
usage.benched = at its limit, back in %s
usage.calls = %lu calls
usage.room = , room in %s
usage.of_calls = (%lu/%lu calls)
usage.of_tokens = (%lu/%lu tokens)
ui.thinking = thinking
status.title = status (%s)
status.session = session
status.dir = dir
status.model = model
status.endpoint = endpoint
status.theme = theme
status.agent = agent
status.last = last
status.last_value = %ld ms, %zu steps, %zu tool calls
status.tokens = tokens
status.tokens_value = in %zu, out %zu
status.steps = steps
status.steps_value = %zu steps, %zu tool calls
status.cost = cost
status.cost_value = %.4f USD
status.compact = compact
status.compact_value = %zu applied, %zu failed, %zu turns (agent %zu)
status.embed = index
status.limits = limits
status.limits_value = max_bytes %zu, max_steps %zu%s
status.autonomous = , autonomous
status.meter = meter
status.meter_value = ctx %zu/%zu, cache %zu, tok %zu/%zu
status.bar = bar
status.swarm = swarm
status.swarm_value = %s (id %d)
interview.system = You are splinter, about to work with this person for the first time. Interview them to get to know them: what they work on, the tools and languages they reach for, how they want to be spoken to, what they never want, and which projects matter. Ask one question at a time, listen, and go deeper where it matters. Do not ask about code details you can read from the repository. When you have enough, write a compact summary of the person and how they want to work (a few paragraphs or bullets), then end your answer with the single line INTERVIEW_COMPLETE. That summary is saved to ~/.splinter/USER.txt and read at the start of every later session.
interview.saved = interview saved to USER.txt
tg.interview.begin = Interview started. Answer the model's questions; /new leaves the interview.
interview.kickoff = Begin the interview with your first question.
# commands/ programs, a missing profile, and the two busy notices
cmd.script.empty = The command /%s printed nothing.
cmd.script.failed = /%s failed: %s
cmd.script.output = Output of /%s%s%s:
main.no_profile = splinter: no profile for '%s' - `splinter --interview` creates one
tg.busy = busy - a turn is running
tg.interview.running = the interview is already running
ui.agent_busy = a turn is running; switch the agent when it is done
# /learn: mine the sessions of this folder for what stays true
learn.empty = (no earlier sessions in this folder - learn from this conversation and say what you would keep.)
# the `ask` tool's dialog: the model asks, the operator answers
ui.ask_title = the model asks
ui.ask_empty = (no suggested answers - type your answer and press Enter)
ui.ask_none = (no suggestion matches - Enter sends what you typed)
ui.ask_filter = answer:
ui.ask_hint = Enter takes the row; typing replaces it Esc cancels
# the `ask` tool in the Telegram gateway: the question arrives as a message
ask.how = Answer with a message.
# /cancel while an `ask` question is open: the turn ends, the question is gone
ask.cancelled = cancelled - the question is gone.