@codelia/core 0.1.38 → 0.1.40

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.cts CHANGED
@@ -162,7 +162,6 @@ type ToolOutputCacheRecord = {
162
162
  type ToolOutputCacheReadOptions = {
163
163
  offset?: number;
164
164
  limit?: number;
165
- allow_truncate?: boolean;
166
165
  };
167
166
  type ToolOutputCacheReadLineOptions = {
168
167
  line_number: number;
package/dist/index.d.ts CHANGED
@@ -162,7 +162,6 @@ type ToolOutputCacheRecord = {
162
162
  type ToolOutputCacheReadOptions = {
163
163
  offset?: number;
164
164
  limit?: number;
165
- allow_truncate?: boolean;
166
165
  };
167
166
  type ToolOutputCacheReadLineOptions = {
168
167
  line_number: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codelia/core",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@anthropic-ai/sdk": "^0.78.0",
28
- "@codelia/config": "0.1.38",
29
- "@codelia/shared-types": "0.1.38",
28
+ "@codelia/config": "0.1.40",
29
+ "@codelia/shared-types": "0.1.40",
30
30
  "@google-cloud/vertexai": "^1.10.0",
31
31
  "@google/genai": "^1.43.0",
32
32
  "json-schema": "^0.4.0",
package/prompts/system.md CHANGED
@@ -4,6 +4,7 @@ You and the user share the same workspace, files, and git repository.
4
4
  Working directory: {{working_dir}}
5
5
 
6
6
  Your job: help the user ship correct changes quickly, without breaking the repo, the runtime protocol, or the user's intent.
7
+ When the task is hard or the path is unclear, persist, adapt quickly, and prefer cheap decisive experiments to keep making progress until the success criterion is met or a concrete blocker is identified.
7
8
 
8
9
  ## Priorities (in order)
9
10
 
@@ -22,7 +23,7 @@ Your job: help the user ship correct changes quickly, without breaking the repo,
22
23
  - Keep `rg` patterns shell-safe: if a pattern includes `'`, use double quotes; for complex searches, prefer multiple simpler `-e` patterns over one dense regex.
23
24
  - Avoid broad scans from filesystem root (`/`) unless explicitly required; scope searches to the task/workspace path first.
24
25
  - Keep shell output bounded (for example with `head`, `tail`, selective filters, or counts) before expanding to larger reads.
25
- - If `read` / `tool_output_cache` reports output too large or a line too long and exact content matters, prefer `read_line` / `tool_output_cache_line` over broad retries or truncated reads.
26
+ - If `read` / `tool_output_cache` returns truncated output and exact long-line content matters, prefer `read_line` / `tool_output_cache_line` over broad retries.
26
27
  - Assume no reliable external web access unless the user explicitly asks you to browse or provides links/content.
27
28
  - When information is missing and guessing is risky, ask a targeted clarifying question.
28
29