Konrad, 24.11.: "v1 geht durch ohne irgendwas. ich will auch keine approvals generell. ich will nur das der user mit ask nach sachen gefragt werden kann." Removed the whole approval apparatus, not just the prompt: - agent.c: the decision point (sp_host_gate/approve callbacks), the pause/resume path (has_pending, pending_from, sp_agent_resume), ack_approval, ask_operator and the ack stdin thread are gone. A tool runs; its exit status is the observation. sp_tool_policy (allow/deny per profile) stays - that is the operator's own configuration, not a question to the operator. - engine.c: SP_EV_APPROVAL, sp_engine_approve, the approve_pending condition variable and the `approval`/`approve` protocol commands are gone. - openai_server.c: the v1 endpoint runs gw_* tools without a gate; the autonomous flag is no longer part of sp_gateway_opts. - a2aserver.c: INPUT_REQUIRED and the resume-by-taskId path are gone; CancelTask stays. An A2A caller has no operator sitting in front of a prompt. - mcpserver.c: --autonomous no longer gates mutating tools; the flag and the config key are accepted for compatibility and documented as changing nothing. - telegram.c: tg_approve and the approval callback are gone; ask is the only dialog, and /cancel inside it still ends the turn. - front ends: protocol.c, curses.c, ui_local.c, ui_remote.c, client.c lose the approval event and the waiting flag. - ack.c stays: it is a plugin API (plugins/kids asks its parent through it), not splinter's own gate. --ack is documented as such. Tests: test_pause.c guarded the pause and now guards the opposite (a mutate and a destructive tool run, nothing is asked). test_a2a_input.sh, test_protocol.sh, test_ui.sh, test_agents_ui.sh, test_gateway.sh, test_gateway_openai.sh, test_agent.c and test_mcpsession.sh were rewritten the same way; splinter_approve must now be absent from the MCP tool list. Every rewritten test was run red against the old behaviour where that was possible. make check: all tests passed (428 s) make check-asan: all 47 test binaries clean make check-tsan: all 47 test binaries free of data races
285 lines
13 KiB
Plaintext
285 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
|
|
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.none = no open requests
|
|
|
|
# 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>.
|
|
|
|
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
|
|
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.
|