planx 20.53.1 → 20.53.2
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/agent.main.mjs +2 -2
- package/blob.main.mjs +2 -2
- package/config.main.mjs +2 -2
- package/domain.main.mjs +2 -2
- package/exit.main.mjs +2 -2
- package/explorer.bundle.js +10 -10
- package/explorer.main.mjs +2 -2
- package/filesystem.main.mjs +2 -2
- package/llm.main.mjs +1 -1
- package/log.main.mjs +1 -1
- package/main.js +9 -9
- package/nosturn.main.mjs +1 -1
- package/package.json +6 -6
- package/planx-networkd.main.mjs +2 -2
- package/presentation.main.mjs +1 -1
- package/session.main.mjs +2 -2
- package/transport.main.mjs +2 -2
package/llm.main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
globalThis.__PLANX_SERVICE_VERSION__="20.53.
|
|
1
|
+
globalThis.__PLANX_SERVICE_VERSION__="20.53.2";
|
|
2
2
|
import*as Er from"node:fs";import{join as da}from"node:path";var er=["You condense the output of a coding-agent tool call so a stronger model can continue the task with fewer tokens.","Keep everything the next step may depend on: file paths, identifiers, error messages, numbers, exit status, final state.","Error messages, exit status and final state are always kept, whatever the instruction says.",'The "Recent instruction" is what the agent is trying to establish with this call: whatever directly answers it must be kept verbatim (code lines included); if the answer is that something is absent, state that absence explicitly; everything else may be folded aggressively.',"Extract only. Do not add interpretations, conclusions or advice that are not in the output.","The instruction is only a guide to what matters; never restate it, and never write about task progress, remaining steps or what the agent should do next, since none of that is in the output.","Write in the language of the tool output (usually English), not the language of the instruction.","Remove repetition, decoration, progress output and anything derivable from the retained lines.","Do not alter, reformat or paraphrase paths, identifiers, code lines or error text; copy them verbatim.",'Reply with the condensed text only, starting with "[llm]" on the first line. Be strictly shorter than the input.'].join(" ");function ao(e){let t=typeof e.toolInput=="string"?e.toolInput:JSON.stringify(e.toolInput??{}),r=e.instruction?`
|
|
3
3
|
Recent instruction: ${e.instruction}`:"";return`Tool: ${e.toolName}
|
|
4
4
|
Input: ${t}${r}
|
package/log.main.mjs
CHANGED