@dimi-agent/cli 0.6.3 → 0.6.4
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/main.mjs +1 -1
- package/package.json +3 -3
package/dist/main.mjs
CHANGED
|
@@ -123100,7 +123100,7 @@ var init_waitService = __esmMin((() => {
|
|
|
123100
123100
|
//#region ../../packages/agent-core-v2/src/agent/tools/wait-for/wait-for.md?raw
|
|
123101
123101
|
var wait_for_default;
|
|
123102
123102
|
var init_wait_for = __esmMin((() => {
|
|
123103
|
-
wait_for_default = "Wait for a future notification when no independent work remains. Provide a concise reason and an optional timeout in seconds. The default is 60 seconds; use longer waits only for clearly long-running work, up to 1800 seconds.\n\nCall WaitFor by itself. It waits on the current agent, not a specific task. Any later notification wakes the agent. A timeout wakes the agent with an explicit `wait_expired` message and never cancels background work.\n";
|
|
123103
|
+
wait_for_default = "Wait for a future notification when no independent work remains. Provide a concise reason and an optional timeout in seconds. The default is 60 seconds; use longer waits only for clearly long-running work, up to 1800 seconds.\n\nCall WaitFor by itself. It waits on the current agent, not a specific task. Any later notification wakes the agent. A timeout wakes the agent with an explicit `wait_expired` message and never cancels background work.\n\nWhen you are waiting on an external state that can change on its own (a file being written, a service coming up, a process finishing, a remote resource becoming ready, …), do not just park on a timeout and re-check later. Start a background Bash task that polls exactly the part of that state you care about and exits as soon as it changes — for example a loop that checks every few seconds and breaks on the expected condition, printing what changed. Because a finished background task notifies the agent, the wait then wakes you the moment the state flips instead of on a blind timeout, and you can act immediately. Keep the polling script narrowly scoped to the monitored condition and make sure it terminates on its own (or after the wait timeout); do not leave a watcher running forever.\n";
|
|
123104
123104
|
}));
|
|
123105
123105
|
//#endregion
|
|
123106
123106
|
//#region ../../packages/agent-core-v2/src/agent/tools/wait-for/waitForTool.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimi-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "The Starting Point for Next-Gen Agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"tsx": "^4.21.0",
|
|
61
61
|
"yazl": "^3.3.1",
|
|
62
62
|
"zod": "^4.3.6",
|
|
63
|
-
"@dimi-agent/dimi-oauth": "^0.1.0",
|
|
64
|
-
"@dimi-agent/dimi-telemetry": "^0.1.0",
|
|
65
63
|
"@dimi-agent/agent-core-v2": "^0.1.0",
|
|
64
|
+
"@dimi-agent/dimi-oauth": "^0.1.0",
|
|
66
65
|
"@dimi-agent/dimi-sdk": "^0.2.0",
|
|
66
|
+
"@dimi-agent/dimi-telemetry": "^0.1.0",
|
|
67
67
|
"@dimi-agent/dimi-web": "^0.1.0",
|
|
68
68
|
"@dimi-agent/kap-server": "^0.1.0",
|
|
69
69
|
"@dimi-agent/pi-tui": "^0.1.0",
|