fix: resolve typing hang, intent detector reversed .test() bugs, and 'now' false positive
- Add missing clearInterval(typingInterval) in intent bypass early return path - Fix intent-detector category detection: pattern.test(regex) → regex.test(trimmed) - Fix short-answer patterns: same reversed .test() bug - Prevent 'now' being matched as 'no' by adding \b word boundary to greeting regex - Also tighten other greeting patterns with $ anchor where appropriate
This commit is contained in:
13
package-lock.json
generated
13
package-lock.json
generated
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "zcode-cli-x",
|
||||
"version": "1.0.0",
|
||||
"version": "2.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "zcode-cli-x",
|
||||
"version": "1.0.0",
|
||||
"version": "2.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.81.0",
|
||||
"@grammyjs/auto-retry": "^2.0.2",
|
||||
@@ -31,8 +32,14 @@
|
||||
"bin": {
|
||||
"zcode": "bin/zcode.js"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
"node": ">=20.0.0",
|
||||
"npm": ">=9.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/uroma2"
|
||||
}
|
||||
},
|
||||
"node_modules/@anthropic-ai/sdk": {
|
||||
|
||||
Reference in New Issue
Block a user