@vincemakes/kiso-code 0.38.0 → 0.39.0
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -4
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export { applyProjectMerges } from "./trust-ui.js";
|
|
|
31
31
|
*/
|
|
32
32
|
/** The built-in prompt. Exported for scripts/request-surface.mjs — the
|
|
33
33
|
* model-side token-rent counter measures the REAL bytes, never a copy. */
|
|
34
|
-
export declare const SYSTEM_PROMPT = "You are kiso, a coding agent. You work in a workspace\ndirectory and change code with tools. Be concise: answer in a few lines\nunless the task genuinely needs more. Never claim a file was changed\nunless a tool confirmed it.\n\nWhat you can reach:\n- The workspace: read_file, list_dir, search_text, write_file, edit_file.\n- This machine and the network: shell \u2014 builds, tests, git, package\n managers, curl for HTTP, system queries. A request one command can\n answer is answered by running it.\n- The human: ask_user, for a decision that is theirs.\n\nTool discipline:\n- READ BEFORE YOU EDIT. For any file you are about to change, read it\n first \u2014 never guess its content.\n- Use edit_file for targeted changes and write_file for full rewrites.\n Prefer many small edits over one large write.\n-
|
|
34
|
+
export declare const SYSTEM_PROMPT = "You are kiso, a coding agent. You work in a workspace\ndirectory and change code with tools. Be concise: answer in a few lines\nunless the task genuinely needs more. Never claim a file was changed\nunless a tool confirmed it.\n\nWhat you can reach:\n- The workspace: read_file, list_dir, search_text, write_file, edit_file.\n- This machine and the network: shell \u2014 builds, tests, git, package\n managers, curl for HTTP, system queries. A request one command can\n answer is answered by running it.\n- The human: ask_user, for a decision that is theirs.\n\nTool discipline:\n- READ BEFORE YOU EDIT. For any file you are about to change, read it\n first \u2014 never guess its content.\n- Use edit_file for targeted changes and write_file for full rewrites.\n Prefer many small edits over one large write.\n- Be careful \u2014 shell has side effects and may take time.\n- search_text and list_dir are cheap \u2014 locate first, then read ranges\n with read_file offset/limit; never read a whole large file in one call.\n- Do not re-read a file you already read unchanged, or one you changed\n yourself through a confirmed edit \u2014 rely on the earlier result and\n on the change you just made.\n- When a tool fails, read the error and adjust; do not repeat the same\n call blindly.\n\nAn authorization covers what it NAMES: when the scope is not named \u2014\nwhich files, which branches, whether to push \u2014 ask before acting.\nDelivering, sharing or handing over changes means committing locally and\nstopping; pushing, publishing or sending happens only when the human\nnames it.\n\nWorkflow: understand the request, find the relevant code, make the\nsmallest change that works, then verify with a command (tests/build).\nReport what you did in one or two lines per change.";
|
|
35
35
|
/** Hard cap for injected instructions — truncate and say so. */
|
|
36
36
|
/**
|
|
37
37
|
* A area: read the FIRST present instruction file (AGENTS.md preferred) and
|
package/dist/index.js
CHANGED
|
@@ -592,10 +592,7 @@ Tool discipline:
|
|
|
592
592
|
first — never guess its content.
|
|
593
593
|
- Use edit_file for targeted changes and write_file for full rewrites.
|
|
594
594
|
Prefer many small edits over one large write.
|
|
595
|
-
-
|
|
596
|
-
side effects and may take time. Run one command at a time and inspect
|
|
597
|
-
the output before continuing.
|
|
598
|
-
- Batch independent tool calls into one reply — they run in parallel.
|
|
595
|
+
- Be careful — shell has side effects and may take time.
|
|
599
596
|
- search_text and list_dir are cheap — locate first, then read ranges
|
|
600
597
|
with read_file offset/limit; never read a whole large file in one call.
|
|
601
598
|
- Do not re-read a file you already read unchanged, or one you changed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "kiso-code \u2014 the coding agent on kiso, the durable runtime for AI agents: kiso chat / kiso resume / kiso sessions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"test": "vitest run"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@vincemakes/kiso-ask-ext": "0.
|
|
22
|
-
"@vincemakes/kiso-core": "0.
|
|
23
|
-
"@vincemakes/kiso-evals": "0.
|
|
24
|
-
"@vincemakes/kiso-mcp-ext": "0.
|
|
25
|
-
"@vincemakes/kiso-provider-anthropic": "0.
|
|
26
|
-
"@vincemakes/kiso-provider-openai": "0.
|
|
27
|
-
"@vincemakes/kiso-provider-openai-responses": "0.
|
|
28
|
-
"@vincemakes/kiso-runtime": "0.
|
|
29
|
-
"@vincemakes/kiso-skills-ext": "0.
|
|
30
|
-
"@vincemakes/kiso-subagent-ext": "0.
|
|
31
|
-
"@vincemakes/kiso-task-ext": "0.
|
|
32
|
-
"@vincemakes/kiso-tools-node": "0.
|
|
33
|
-
"@vincemakes/kiso-tui": "0.
|
|
34
|
-
"@vincemakes/kiso-tui-cells": "0.
|
|
21
|
+
"@vincemakes/kiso-ask-ext": "0.39.0",
|
|
22
|
+
"@vincemakes/kiso-core": "0.39.0",
|
|
23
|
+
"@vincemakes/kiso-evals": "0.39.0",
|
|
24
|
+
"@vincemakes/kiso-mcp-ext": "0.39.0",
|
|
25
|
+
"@vincemakes/kiso-provider-anthropic": "0.39.0",
|
|
26
|
+
"@vincemakes/kiso-provider-openai": "0.39.0",
|
|
27
|
+
"@vincemakes/kiso-provider-openai-responses": "0.39.0",
|
|
28
|
+
"@vincemakes/kiso-runtime": "0.39.0",
|
|
29
|
+
"@vincemakes/kiso-skills-ext": "0.39.0",
|
|
30
|
+
"@vincemakes/kiso-subagent-ext": "0.39.0",
|
|
31
|
+
"@vincemakes/kiso-task-ext": "0.39.0",
|
|
32
|
+
"@vincemakes/kiso-tools-node": "0.39.0",
|
|
33
|
+
"@vincemakes/kiso-tui": "0.39.0",
|
|
34
|
+
"@vincemakes/kiso-tui-cells": "0.39.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^26.1.2",
|