@repogo/plugins 0.1.40 → 0.1.42

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -193,7 +193,7 @@ await ctx.collections.tasks.delete(task.id);
193
193
  await ctx.collections.tasks.deleteMany({ where: { status: "done" }, offset: 100, limit: 500 }); // done ones past the newest 100, 500 at a time
194
194
  ```
195
195
 
196
- `list` is newest first by default, at most 100 unless `limit` says (up to 500).
196
+ `list` is newest first by default, at most 100 unless `limit` says (the generated `list` takes up to 500).
197
197
  `where` matches top-level fields exactly; `null` matches a missing one.
198
198
  `orderBy` is `id`, `createdAt`, `updatedAt` or one of the record's own fields, and
199
199
  `offset` passes over that many first. `deleteMany` takes the same options and
@@ -480,7 +480,7 @@ For integration tests, import `testWorkflowRuntime` from
480
480
  `@repogo/plugins/testing` and pass the fixture's plugins directory. It uses real
481
481
  temporary storage and a subprocess per run, as the host does. Call the same lifecycle methods,
482
482
  use `await app.wait("reports.report", id)` to await a terminal/blocked run, and
483
- `await app.close()` afterward. The in-memory `testRuntime({ plugin })` helper
483
+ `await app.close()` afterward. The plain `testRuntime({ plugin })` helper
484
484
  does not execute durable workflows.
485
485
 
486
486
 
@@ -530,7 +530,7 @@ Write `console.log` (or `warn`, `error`, `debug`); nothing else is needed. The
530
530
  host keeps every line with the plugin, the method and the call that wrote it,
531
531
  who called (`card`, `agent`, `cron`), and the chat for an agent's call, plus
532
532
  the arguments as JSON. An error a method throws, or one nothing caught, is
533
- kept too, with its stack. Read them with the agent's `plugin_logs` tool, or on
533
+ kept too, with its stack. Read them with the agent's `plugins_logs` tool, or on
534
534
  a card with `<Data method="repogo:plugins.logs">`, which reloads as lines land:
535
535
  `plugin`, `level` (that level and worse), `method`, `since`, `until`, `query`
536
536
  (a substring) and `limit` narrow it. The `plugins` tool shows each plugin's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repogo/plugins",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "description": "Write RepoGo plugins: collections and methods over SQLite that agents and cards call",
5
5
  "type": "module",
6
6
  "exports": {