manychat-ai-agent 0.19.0 → 0.20.0
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/CHANGELOG.md +51 -0
- package/README.md +39 -554
- package/db/migrations/0011_fixed_the_leader.sql +1 -0
- package/db/migrations/meta/0011_snapshot.json +1076 -0
- package/db/migrations/meta/_journal.json +7 -0
- package/dist/agent/contact.d.ts +25 -3
- package/dist/agent/contact.js +40 -12
- package/dist/agent/mock-provider.js +80 -12
- package/dist/agent/prompt.d.ts +12 -2
- package/dist/agent/prompt.js +23 -5
- package/dist/agent/runner.d.ts +7 -1
- package/dist/agent/runner.js +9 -4
- package/dist/agent/tools.d.ts +6 -0
- package/dist/agent/tools.js +2 -0
- package/dist/cli/run.js +9 -3
- package/dist/contracts/agent.d.ts +12 -0
- package/dist/contracts/agent.js +11 -0
- package/dist/conversation/store.d.ts +3 -1
- package/dist/conversation/store.js +1 -0
- package/dist/db/schema.d.ts +29 -0
- package/dist/db/schema.js +6 -0
- package/dist/evals/runner.js +10 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4 -3
- package/dist/plugins/api.d.ts +112 -11
- package/dist/plugins/api.js +21 -5
- package/dist/plugins/loader.js +136 -44
- package/dist/plugins/plugins.d.ts +28 -2
- package/dist/plugins/plugins.js +56 -2
- package/dist/plugins/reads.d.ts +66 -0
- package/dist/plugins/reads.js +209 -0
- package/dist/routes/turn.d.ts +3 -0
- package/dist/routes/turn.js +20 -3
- package/dist/server.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.0](https://github.com/pedronastasi/manychat-ai-agent/compare/v0.19.1...v0.20.0) (2026-10-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* let a plugin read data the model answers from (spec 039) ([190c43a](https://github.com/pedronastasi/manychat-ai-agent/commit/190c43adec2aca7f499ed737c8c60bd93a36a274))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* keep a turn's read record when its model call fails (spec 039) ([11b8cc2](https://github.com/pedronastasi/manychat-ai-agent/commit/11b8cc2d44d4a138239ba14542d7af2f0969acb7))
|
|
14
|
+
* read nothing on a turn already abandoned (spec 039) ([0ae0151](https://github.com/pedronastasi/manychat-ai-agent/commit/0ae0151c9c7161fdd337c760f0e425c1509a18e9))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Specs and Docs
|
|
18
|
+
|
|
19
|
+
* have spec 042's upgrade find tenant eval suites without EVAL_DIR ([660428f](https://github.com/pedronastasi/manychat-ai-agent/commit/660428f4973bd128182d23b6736f3e010bc8ee73))
|
|
20
|
+
* leave learning-from-outcomes.md as it was ([06a8a58](https://github.com/pedronastasi/manychat-ai-agent/commit/06a8a5844c393469f35afa7e68f31d0390ff9f2a))
|
|
21
|
+
* list every spec 042 amends, and migrate eval case keys ([0ebfe99](https://github.com/pedronastasi/manychat-ai-agent/commit/0ebfe99cace2daee9ed179c69defc8001bba00cc))
|
|
22
|
+
* name the learning tables and the mock's schedule answer in spec 042 ([15ed5cf](https://github.com/pedronastasi/manychat-ai-agent/commit/15ed5cf061e9d83ced70ab9693785b0c68b45a64))
|
|
23
|
+
* record PR 195 in spec 040 ([139d20d](https://github.com/pedronastasi/manychat-ai-agent/commit/139d20d0fdce45e4264f3a20d832861b7fcf5cf9))
|
|
24
|
+
* record that built-in tools are not plugins (ADR-0022) ([666cd36](https://github.com/pedronastasi/manychat-ai-agent/commit/666cd3630c0d4b87b23a2ed0176af257244b7d61))
|
|
25
|
+
* record that built-in tools are not plugins (ADR-0022) ([5ae8aac](https://github.com/pedronastasi/manychat-ai-agent/commit/5ae8aacc8587bb86899e4a51240cdef7b59ad144))
|
|
26
|
+
* refuse an invalid derived tool name and extend the C9 check in spec 040 ([0a32aab](https://github.com/pedronastasi/manychat-ai-agent/commit/0a32aab1f8783c8d5279fb989203172afca9f48a))
|
|
27
|
+
* restore the funnel's config link and point the ADR skill at the new table ([b7961ad](https://github.com/pedronastasi/manychat-ai-agent/commit/b7961adb5595d67f112ec4025b0726657538abd7))
|
|
28
|
+
* say where ADR-0022's reserved built-in names come from ([478b7ef](https://github.com/pedronastasi/manychat-ai-agent/commit/478b7ef83e17e00d8c2bcbc92a9afafab416e5b0))
|
|
29
|
+
* specify agent plugin new, which starts a plugin from the agent's example ([487baef](https://github.com/pedronastasi/manychat-ai-agent/commit/487baef2555313d5ad0f80db2ac50cd0b57de0c9))
|
|
30
|
+
* specify agent plugin new, which starts a plugin from the agent's example ([476c23c](https://github.com/pedronastasi/manychat-ai-agent/commit/476c23cc904b1b8a21170e4ac139d42fd8df5dcc))
|
|
31
|
+
* specify spec 042, the sales layer sells offerings, not courses ([83cb006](https://github.com/pedronastasi/manychat-ai-agent/commit/83cb006a41feba53f072f5ad021789266a2e40bf))
|
|
32
|
+
* specify spec 042, the sales layer sells offerings, not courses ([4446a6d](https://github.com/pedronastasi/manychat-ai-agent/commit/4446a6d85a602b30619c9524465077f27b953d73))
|
|
33
|
+
* specify the README as a landing page (spec 040) ([bd16a36](https://github.com/pedronastasi/manychat-ai-agent/commit/bd16a3623ddee199c72d69250cccec8120e66212))
|
|
34
|
+
* split the README into a landing page and four guides ([02beda6](https://github.com/pedronastasi/manychat-ai-agent/commit/02beda65af96c0f78abf0884b311bcd60ec113e8))
|
|
35
|
+
* split the README into a landing page and four guides ([b09719e](https://github.com/pedronastasi/manychat-ai-agent/commit/b09719e4f3c5726015c0283dd2244ee52d68ba28))
|
|
36
|
+
|
|
37
|
+
## [0.19.1](https://github.com/pedronastasi/manychat-ai-agent/compare/v0.19.0...v0.19.1) (2026-10-07)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Specs and Docs
|
|
41
|
+
|
|
42
|
+
* keep 036's staged-tool prompt lines off read-only plugins (specs/039) ([6daba55](https://github.com/pedronastasi/manychat-ai-agent/commit/6daba552a35df951c855c4584e7fd9ebf90b60a7))
|
|
43
|
+
* say a query loses identifier shapes, not names (specs/039) ([5ab18c2](https://github.com/pedronastasi/manychat-ai-agent/commit/5ab18c2ec371fe174be5f3586d91b3efe553035e))
|
|
44
|
+
* settle list overflow and record what 039 changes in 036 ([a09c8cb](https://github.com/pedronastasi/manychat-ai-agent/commit/a09c8cbe661cc8690469f7976e1fe10442fb836c))
|
|
45
|
+
* specify plugin read tools that return declared, fenced data (specs/039) ([cb4dd35](https://github.com/pedronastasi/manychat-ai-agent/commit/cb4dd35c18e3e39f7bbc0eb0fad93b5341eed29c))
|
|
46
|
+
* specify plugin read tools that return declared, fenced data (specs/039) ([70fe5b6](https://github.com/pedronastasi/manychat-ai-agent/commit/70fe5b661092312f61654a755dbe40d1410c6ea3))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Dependencies
|
|
50
|
+
|
|
51
|
+
* **deps:** lock file maintenance ([7060477](https://github.com/pedronastasi/manychat-ai-agent/commit/70604779de848284a8e419a5d681e7386546177f))
|
|
52
|
+
* **deps:** lock file maintenance ([c2e4e02](https://github.com/pedronastasi/manychat-ai-agent/commit/c2e4e0218abb2c25d173a47900cc15a5e18e9e76))
|
|
53
|
+
|
|
3
54
|
## [0.19.0](https://github.com/pedronastasi/manychat-ai-agent/compare/v0.18.1...v0.19.0) (2026-10-07)
|
|
4
55
|
|
|
5
56
|
|