@parcha/agentrun 0.4.19 → 0.4.20

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.
@@ -1583,6 +1583,28 @@ export const COMMANDS = [
1583
1583
  "raw": false,
1584
1584
  "summary": "Read a replay's result: running, done or failed, its counts and its score (start one from the console's Learning tab)"
1585
1585
  },
1586
+ {
1587
+ "command": [
1588
+ "learning",
1589
+ "reset"
1590
+ ],
1591
+ "operationId": "deleteAgentLearning",
1592
+ "method": "DELETE",
1593
+ "path": "/agents/{agent_id}/learning",
1594
+ "pathParams": [
1595
+ "agent_id"
1596
+ ],
1597
+ "multiSegment": [],
1598
+ "query": [],
1599
+ "headers": [],
1600
+ "bodyFlags": [],
1601
+ "hasBody": false,
1602
+ "bodyRequired": false,
1603
+ "bodyTypes": [],
1604
+ "secretBody": false,
1605
+ "raw": false,
1606
+ "summary": "Reset the agent's learning: everything it learned deleted, the agent and its runs kept"
1607
+ },
1586
1608
  {
1587
1609
  "command": [
1588
1610
  "learning",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "description": "AgentRun, the open-source platform that supercharges your agents (self-improvement, durable execution and a control plane on top of your favorite agent harness), on this machine with one command: npx @parcha/agentrun",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -17,7 +17,7 @@
17
17
  "NOTICE"
18
18
  ],
19
19
  "dependencies": {
20
- "@parcha/agentrun-serve": "0.1.0-beta.51"
20
+ "@parcha/agentrun-serve": "0.1.0-beta.52"
21
21
  },
22
22
  "scripts": {
23
23
  "test": "node --test 'test/*.test.mjs'"
@@ -140,7 +140,7 @@ Two clients call the same API from code, with the same server and token. `@parch
140
140
  - `agentrun harness`: install
141
141
  - `agentrun harness-check`: Run a recipe's installed agent for real and check it (tools off, env allowlist, pins, limits, no side requests, resume, a denied call, an MCP tool): a JSON report and three facts. Real models cost money
142
142
  - `agentrun home`: delete, list, read, write
143
- - `agentrun learning`: corrections, cost, get, log, read, replay, retire, workflow-revisions, write-corrections
143
+ - `agentrun learning`: corrections, cost, get, log, read, replay, reset, retire, workflow-revisions, write-corrections
144
144
  - `agentrun local`: create-pairing, delete-composio-subscription, delete-computer, delete-workspace-archil, disconnect-git-hub, get-git-hub-connection, get-model-gateway, get-workspace-archil, list-composio-events, list-composio-triggers, list-computer-choices, list-computers, receive-hook-composio, rotate-composio-secret, test-computer, test-workspace-archil
145
145
  - `agentrun login`: Check a server's token, read from stdin, and keep it with the server's address in the config file
146
146
  - `agentrun logout`: Remove the config file login wrote, its address and token
@@ -485,6 +485,12 @@ Read a replay's result: running, done or failed, its counts and its score (start
485
485
 
486
486
  Route: `GET /agents/{agent_id}/learning/workflows/{name}/revisions/{digest}/replays/{replay_id}`.
487
487
 
488
+ ### `agentrun learning reset AGENT_ID`
489
+
490
+ Reset the agent's learning: everything it learned deleted, the agent and its runs kept.
491
+
492
+ Route: `DELETE /agents/{agent_id}/learning`.
493
+
488
494
  ### `agentrun learning retire AGENT_ID FILE`
489
495
 
490
496
  Retire a workflow draft: out of every later run, kept in history.