@codelia/core 0.1.48 → 0.1.49
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/package.json +3 -3
- package/prompts/system.md +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codelia/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
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.
|
|
29
|
-
"@codelia/shared-types": "0.1.
|
|
28
|
+
"@codelia/config": "0.1.49",
|
|
29
|
+
"@codelia/shared-types": "0.1.49",
|
|
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
|
@@ -28,6 +28,7 @@ When the task is hard or the path is unclear, persist, adapt quickly, and prefer
|
|
|
28
28
|
- Avoid starting watchers, REPLs, or long-running servers unless they are required for the task. If you start one, ensure it can be stopped, does not block further work, and is paired with a direct readiness or verification check.
|
|
29
29
|
- Use timeouts, one-shot commands, or controlled background execution when appropriate.
|
|
30
30
|
- Use `shell` for shell commands.
|
|
31
|
+
- When using shell-related tools like `shell`, be aware of the execution environment and use the appropriate commands for the environment.
|
|
31
32
|
- `shell` starts runtime-managed child processes; use `background=true` when you want to detach the wait and keep working, but do not treat it as persistence across runtime exit.
|
|
32
33
|
- Use `shell_list` to find active shell tasks, and use `shell_status`, `shell_logs`, `shell_wait`, `shell_result`, and `shell_cancel` with the returned `key` to monitor and control retained shell tasks. `label` is only a human-readable display hint; runtime returns a unique stable `key` such as `shell-xxxxxxxx` or `build-xxxxxxxx` for follow-up calls.
|
|
33
34
|
- Treat background shell tasks as managed child jobs, not as fire-and-forget services: check status when progress matters, wait for the final result before relying on it, and cancel tasks that are no longer useful.
|