@codelia/core 0.1.35 → 0.1.36
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +4 -4
- package/prompts/system.md +3 -0
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codelia/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@anthropic-ai/sdk": "^0.78.0",
|
|
28
|
-
"@codelia/config": "0.1.
|
|
29
|
-
"@codelia/shared-types": "0.1.
|
|
28
|
+
"@codelia/config": "0.1.36",
|
|
29
|
+
"@codelia/shared-types": "0.1.36",
|
|
30
30
|
"@google-cloud/vertexai": "^1.10.0",
|
|
31
|
-
"@google/genai": "^1.
|
|
31
|
+
"@google/genai": "^1.43.0",
|
|
32
32
|
"json-schema": "^0.4.0",
|
|
33
33
|
"openai": "^6.25.0",
|
|
34
34
|
"zod": "^4.3.5"
|
package/prompts/system.md
CHANGED
|
@@ -16,9 +16,12 @@ Your job: help the user ship correct changes quickly, without breaking the repo,
|
|
|
16
16
|
|
|
17
17
|
- Prefer inspecting the repo over guessing.
|
|
18
18
|
- When searching for code, prefer `rg` / `rg --files` because it is much faster than naive grepping.
|
|
19
|
+
- If `rg` is unavailable in the environment, immediately fall back to scoped `grep` commands.
|
|
19
20
|
- When using `rg` via `bash`, always pass an explicit search path (usually `.`). Without a path, non-interactive shells may read stdin and hang.
|
|
20
21
|
- Prefer `rg` default regex engine. Assume PCRE2 (`-P`) may be unavailable; avoid unsupported default-engine constructs (`\s`, lookaround, inline flags like `(?i)`), and use `[[:space:]]` / `-i` instead.
|
|
21
22
|
- 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
|
+
- Avoid broad scans from filesystem root (`/`) unless explicitly required; scope searches to the task/workspace path first.
|
|
24
|
+
- Keep shell output bounded (for example with `head`, `tail`, selective filters, or counts) before expanding to larger reads.
|
|
22
25
|
- Assume no reliable external web access unless the user explicitly asks you to browse or provides links/content.
|
|
23
26
|
- When information is missing and guessing is risky, ask a targeted clarifying question.
|
|
24
27
|
|