a2a-memory 0.12.32 → 0.12.34

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 (99) hide show
  1. package/README.md +5 -1
  2. package/dist/adapters/anthropic.js +1 -1
  3. package/dist/chunking/chunker.js +1 -1
  4. package/dist/claude/sync.js +1 -1
  5. package/dist/cli/commands/add.js +1 -1
  6. package/dist/cli/commands/claude-sync.js +1 -1
  7. package/dist/cli/commands/cleanup.js +1 -1
  8. package/dist/cli/commands/config.js +1 -1
  9. package/dist/cli/commands/contextrank.js +1 -1
  10. package/dist/cli/commands/edit.js +1 -1
  11. package/dist/cli/commands/embed.js +1 -1
  12. package/dist/cli/commands/export.js +1 -1
  13. package/dist/cli/commands/extract.js +1 -1
  14. package/dist/cli/commands/health.js +1 -1
  15. package/dist/cli/commands/list.js +1 -1
  16. package/dist/cli/commands/migrate-chunks.js +1 -1
  17. package/dist/cli/commands/migrate-file-refs.js +1 -1
  18. package/dist/cli/commands/proficiency.js +1 -1
  19. package/dist/cli/commands/review.js +1 -1
  20. package/dist/cli/commands/rm.js +1 -1
  21. package/dist/cli/commands/search.js +1 -1
  22. package/dist/cli/commands/setup-wizard.js +1 -1
  23. package/dist/cli/commands/setup.js +1 -1
  24. package/dist/cli/commands/skill.js +1 -1
  25. package/dist/cli/commands/status.js +1 -1
  26. package/dist/cli/commands/sync.js +1 -1
  27. package/dist/cli/commands/team.js +1 -1
  28. package/dist/cli/commands/usage.js +1 -1
  29. package/dist/cli/index.js +1 -1
  30. package/dist/config/manager.js +1 -1
  31. package/dist/contextrank/edge-builder.js +1 -1
  32. package/dist/contextrank/rank-builder.js +1 -1
  33. package/dist/contextrank/signal-builder.js +1 -1
  34. package/dist/db/database.d.ts +5 -0
  35. package/dist/db/database.js +1 -1
  36. package/dist/db/usage-spool.js +1 -1
  37. package/dist/embedding/e5-provider.js +1 -1
  38. package/dist/embedding/index.js +1 -1
  39. package/dist/embedding/local-provider.js +1 -1
  40. package/dist/embedding/openai-provider.js +1 -1
  41. package/dist/embedding/quantization.js +1 -1
  42. package/dist/extraction/dedup-manager.js +1 -1
  43. package/dist/extraction/emotion-filter.js +1 -1
  44. package/dist/extraction/extractor.js +1 -1
  45. package/dist/extraction/file-reference.js +1 -1
  46. package/dist/extraction/filter.js +1 -1
  47. package/dist/extraction/scorer.js +1 -1
  48. package/dist/extraction/similarity.js +1 -1
  49. package/dist/hooks/client-factory.js +1 -1
  50. package/dist/hooks/post-tool-use.js +1 -1
  51. package/dist/hooks/pre-compact.js +1 -1
  52. package/dist/hooks/session-end.js +1 -1
  53. package/dist/hooks/session-start.js +1 -1
  54. package/dist/hooks/shared.js +1 -1
  55. package/dist/hooks/stop.js +1 -1
  56. package/dist/hooks/user-prompt-submit.js +1 -1
  57. package/dist/i18n/index.js +1 -1
  58. package/dist/i18n/messages.js +1 -1
  59. package/dist/index.js +1 -1
  60. package/dist/lifecycle/cleanup-scheduler.js +1 -1
  61. package/dist/lifecycle/cleanup.js +1 -1
  62. package/dist/lifecycle/consolidation.js +1 -1
  63. package/dist/lifecycle/contradiction.js +1 -1
  64. package/dist/lifecycle/embedding-backfill.d.ts +34 -0
  65. package/dist/lifecycle/embedding-backfill.js +1 -1
  66. package/dist/lifecycle/index.js +1 -1
  67. package/dist/lifecycle/injection-flush.js +1 -1
  68. package/dist/lifecycle/quality-scorer.js +1 -1
  69. package/dist/lifecycle/shadow-rebuild.js +1 -1
  70. package/dist/lifecycle/tiering.js +1 -1
  71. package/dist/llm/client.js +1 -1
  72. package/dist/llm/index.js +1 -1
  73. package/dist/proficiency/actr-engine.js +1 -1
  74. package/dist/proficiency/detection.js +1 -1
  75. package/dist/proficiency/index.js +1 -1
  76. package/dist/proficiency/tracker.js +1 -1
  77. package/dist/search/adaptive-router.js +1 -1
  78. package/dist/search/index.js +1 -1
  79. package/dist/search/injection-filter.js +1 -1
  80. package/dist/search/memoryrank-rerank.js +1 -1
  81. package/dist/search/ranker.js +1 -1
  82. package/dist/search/reranker.js +1 -1
  83. package/dist/session/parser.d.ts +28 -4
  84. package/dist/session/parser.js +1 -1
  85. package/dist/skill/evaluator.js +1 -1
  86. package/dist/skill/index.js +1 -1
  87. package/dist/sync/client.js +1 -1
  88. package/dist/sync/encryption.js +1 -1
  89. package/dist/sync/index.js +1 -1
  90. package/dist/sync/queue.js +1 -1
  91. package/dist/sync/scheduler.js +1 -1
  92. package/dist/sync/synchronizer.js +1 -1
  93. package/dist/sync/team-synchronizer.js +1 -1
  94. package/dist/sync/vector-clock.js +1 -1
  95. package/dist/types/index.js +1 -1
  96. package/dist/utils/keychain.js +1 -1
  97. package/dist/utils/logger.js +1 -1
  98. package/dist/utils/test-isolation.js +1 -1
  99. package/package.json +3 -2
@@ -1 +1 @@
1
- function _0x1a1b(_0x4afde3,_0x54a56a){_0x4afde3=_0x4afde3-0x11d;const _0x5490b3=_0x5490();let _0x1a1b55=_0x5490b3[_0x4afde3];if(_0x1a1b['vxtCXF']===undefined){var _0xa2fae6=function(_0xc74724){const _0x196fed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18b977='',_0x44fb0a='';for(let _0x3f172d=0x0,_0x42a01c,_0x2aa63b,_0x3b7bd7=0x0;_0x2aa63b=_0xc74724['charAt'](_0x3b7bd7++);~_0x2aa63b&&(_0x42a01c=_0x3f172d%0x4?_0x42a01c*0x40+_0x2aa63b:_0x2aa63b,_0x3f172d++%0x4)?_0x18b977+=String['fromCharCode'](0xff&_0x42a01c>>(-0x2*_0x3f172d&0x6)):0x0){_0x2aa63b=_0x196fed['indexOf'](_0x2aa63b);}for(let _0x4c0b52=0x0,_0x1a618b=_0x18b977['length'];_0x4c0b52<_0x1a618b;_0x4c0b52++){_0x44fb0a+='%'+('00'+_0x18b977['charCodeAt'](_0x4c0b52)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x44fb0a);};_0x1a1b['cKBvmp']=_0xa2fae6,_0x1a1b['ExITPK']={},_0x1a1b['vxtCXF']=!![];}const _0x262f51=_0x5490b3[0x0],_0x451716=_0x4afde3+_0x262f51,_0x2327cd=_0x1a1b['ExITPK'][_0x451716];return!_0x2327cd?(_0x1a1b55=_0x1a1b['cKBvmp'](_0x1a1b55),_0x1a1b['ExITPK'][_0x451716]=_0x1a1b55):_0x1a1b55=_0x2327cd,_0x1a1b55;}function _0x5490(){const _0x499f42=['odG3otm5Bu5ttKTJ','mtK4mLDNr3vPtW','C3rHCNrZv2L0Aa','mZjnyMHwr1i','nKrVsxLnEa','nNfsq3Lmsq','ihjLywWGDxnLCG','C1HpvxO','odK1mduWBNPby3zQ','lMeYyq','igLZB2XHDgLVBG','nJe1mJa5CwnTvgfu','y1noq3u','mtfeteLTCMi','mtmZmdjvsLnitM8','w2eYyv0GDgvZDa','mtmXmdq5DMf5Eujy','ngntCKXHzq','mZzMsuXJzu8','mtu3ndi3mfDHz0PbqW'];_0x5490=function(){return _0x499f42;};return _0x5490();}(function(_0x1673a0,_0x355fd9){function _0x36ef0b(_0x1afefd,_0x260b29){return _0x1a1b(_0x1afefd-0x30,_0x260b29);}function _0x160519(_0x2a1cb0,_0x5b2a5a){return _0x1a1b(_0x2a1cb0- -0x34a,_0x5b2a5a);}const _0x11e854=_0x1673a0();while(!![]){try{const _0x4b34e2=-parseInt(_0x36ef0b(0x15a,0x152))/0x1*(parseInt(_0x36ef0b(0x15e,0x165))/0x2)+-parseInt(_0x160519(-0x225,-0x229))/0x3*(parseInt(_0x36ef0b(0x156,0x156))/0x4)+parseInt(_0x160519(-0x22d,-0x235))/0x5+-parseInt(_0x36ef0b(0x15d,0x157))/0x6*(-parseInt(_0x160519(-0x22a,-0x232))/0x7)+-parseInt(_0x160519(-0x21e,-0x225))/0x8*(parseInt(_0x36ef0b(0x153,0x154))/0x9)+parseInt(_0x36ef0b(0x158,0x159))/0xa*(parseInt(_0x36ef0b(0x152,0x148))/0xb)+-parseInt(_0x160519(-0x223,-0x227))/0xc*(parseInt(_0x160519(-0x221,-0x220))/0xd);if(_0x4b34e2===_0x355fd9)break;else _0x11e854['push'](_0x11e854['shift']());}catch(_0x346e7d){_0x11e854['push'](_0x11e854['shift']());}}}(_0x5490,0x28022));import{resolve,join,sep}from'node:path';export function assertNotRealUserA2aPath(_0x15156f,_0x39b022){const _0x5440c5={'gumoS':_0x3e9ae3(0x395,0x396),'cSNCu':function(_0x4cd2f0,_0x26c0da){return _0x4cd2f0(_0x26c0da);},'HYQbD':function(_0x166fb9,_0xc03e63){return _0x166fb9===_0xc03e63;},'sXOUz':function(_0x31ef25,_0x23ad51){return _0x31ef25+_0x23ad51;}},_0x22c1d0=process.env.A2A_TEST_BLOCKED_HOME;function _0x5c30b6(_0x186ae0,_0x5dab3a){return _0x1a1b(_0x186ae0-0x3df,_0x5dab3a);}if(!_0x22c1d0)return;const _0x438c8a=join(resolve(_0x22c1d0),_0x5440c5['gumoS']),_0x49122e=_0x5440c5[_0x3e9ae3(0x39a,0x399)](resolve,_0x15156f);function _0x3e9ae3(_0x327427,_0x18f30b){return _0x1a1b(_0x18f30b-0x278,_0x327427);}if(_0x5440c5['HYQbD'](_0x49122e,_0x438c8a)||_0x49122e[_0x5c30b6(0x50a,0x509)](_0x5440c5[_0x5c30b6(0x50f,0x518)](_0x438c8a,sep)))throw new Error(_0x5c30b6(0x503,0x505)+_0x3e9ae3(0x39f,0x397)+'\x20violation'+'\x20(#37):\x20at'+'tempted\x20to'+'\x20'+_0x39b022+(_0x3e9ae3(0x39f,0x3a7)+'\x20path\x20at\x20')+_0x15156f);}
1
+ (function(_0x5b6da8,_0x14d738){function _0x1cd7f9(_0x340cef,_0x1d94ef){return _0x12ba(_0x340cef-0x45,_0x1d94ef);}function _0x12a222(_0x563809,_0x453907){return _0x12ba(_0x453907-0x24c,_0x563809);}const _0x160835=_0x5b6da8();while(!![]){try{const _0x3a5c0f=-parseInt(_0x1cd7f9(0x12c,0x124))/0x1*(parseInt(_0x1cd7f9(0x131,0x129))/0x2)+-parseInt(_0x1cd7f9(0x12e,0x138))/0x3*(parseInt(_0x1cd7f9(0x12d,0x126))/0x4)+parseInt(_0x12a222(0x330,0x32f))/0x5*(-parseInt(_0x12a222(0x33b,0x339))/0x6)+-parseInt(_0x1cd7f9(0x126,0x125))/0x7*(parseInt(_0x12a222(0x329,0x32c))/0x8)+parseInt(_0x1cd7f9(0x130,0x135))/0x9*(-parseInt(_0x12a222(0x332,0x331))/0xa)+-parseInt(_0x12a222(0x32b,0x332))/0xb+parseInt(_0x12a222(0x333,0x32b))/0xc*(parseInt(_0x1cd7f9(0x122,0x127))/0xd);if(_0x3a5c0f===_0x14d738)break;else _0x160835['push'](_0x160835['shift']());}catch(_0x4c0ee8){_0x160835['push'](_0x160835['shift']());}}}(_0x580a,0x4edfc));import{resolve,join,sep}from'node:path';function _0x12ba(_0x386c44,_0x3e55bb){_0x386c44=_0x386c44-0xdb;const _0x580a38=_0x580a();let _0x12ba87=_0x580a38[_0x386c44];if(_0x12ba['QkSCwr']===undefined){var _0x1f4ef5=function(_0xa0294d){const _0x167a69='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa1846c='',_0x3939de='';for(let _0x125c88=0x0,_0x128270,_0x5b1c08,_0x25fd55=0x0;_0x5b1c08=_0xa0294d['charAt'](_0x25fd55++);~_0x5b1c08&&(_0x128270=_0x125c88%0x4?_0x128270*0x40+_0x5b1c08:_0x5b1c08,_0x125c88++%0x4)?_0xa1846c+=String['fromCharCode'](0xff&_0x128270>>(-0x2*_0x125c88&0x6)):0x0){_0x5b1c08=_0x167a69['indexOf'](_0x5b1c08);}for(let _0x2ca3ef=0x0,_0x3cbfd7=_0xa1846c['length'];_0x2ca3ef<_0x3cbfd7;_0x2ca3ef++){_0x3939de+='%'+('00'+_0xa1846c['charCodeAt'](_0x2ca3ef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3939de);};_0x12ba['MInEtV']=_0x1f4ef5,_0x12ba['GHCvID']={},_0x12ba['QkSCwr']=!![];}const _0x30004c=_0x580a38[0x0],_0x3d519f=_0x386c44+_0x30004c,_0x415c4e=_0x12ba['GHCvID'][_0x3d519f];return!_0x415c4e?(_0x12ba87=_0x12ba['MInEtV'](_0x12ba87),_0x12ba['GHCvID'][_0x3d519f]=_0x12ba87):_0x12ba87=_0x415c4e,_0x12ba87;}function _0x580a(){const _0x5f5ac0=['ntjou2rQBeK','icGJmZCPoIbHDa','nZm0nZK3mNDjC3DiuG','ndH4q0fhvwK','nJi3ntCXEe1OCgDI','w2eYyv0GDgvZDa','mtCWsgjgDwrw','ihzPB2XHDgLVBG','mZa0nZGXmerNwfLZtW','nJu0ntq0meDPBNz3rW','mtCYnJe5EMnNqMHN','odHKA0LbtLm','mJy4mdvLvu55D3a','zMX1s1q','ow1qDMn0yW','mNPwz3fita','ntyZntjNse9XrMm','yLPOrgC','igLZB2XHDgLVBG'];_0x580a=function(){return _0x5f5ac0;};return _0x580a();}export function assertNotRealUserA2aPath(_0x105edb,_0x2235c3){function _0x48bb52(_0x5e4514,_0x350af){return _0x12ba(_0x5e4514-0x3d6,_0x350af);}const _0x527df1={'bZhDg':function(_0x33a5e6,_0x125f1a){return _0x33a5e6(_0x125f1a);},'fluKT':function(_0x49e5d1,_0x337286){return _0x49e5d1===_0x337286;}},_0x24e1f7=process.env.A2A_TEST_BLOCKED_HOME;if(!_0x24e1f7)return;const _0x16153a=join(_0x527df1[_0x3e9628(0x438,0x441)](resolve,_0x24e1f7),'.a2a'),_0x3960d8=resolve(_0x105edb);function _0x3e9628(_0x2b389a,_0x556313){return _0x12ba(_0x556313-0x366,_0x2b389a);}if(_0x527df1[_0x48bb52(0x4c0,0x4b8)](_0x3960d8,_0x16153a)||_0x3960d8['startsWith'](_0x16153a+sep))throw new Error(_0x3e9628(0x447,0x448)+_0x3e9628(0x44a,0x442)+_0x48bb52(0x4ba,0x4b8)+_0x3e9628(0x447,0x444)+'tempted\x20to'+'\x20'+_0x2235c3+('\x20real\x20user'+'\x20path\x20at\x20')+_0x105edb);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "a2a-memory",
3
- "version": "0.12.32",
3
+ "version": "0.12.34",
4
4
  "description": "Persistent AI memory for Claude Code - Session extraction, local DB, and hook automation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,8 @@
23
23
  "version": "node -e \"const fs=require('fs');const v=require('./package.json').version;const r=fs.readFileSync('README.md','utf8');fs.writeFileSync('README.md',r.replace(/> v[\\d.]+/,'> v'+v));\"",
24
24
  "obfuscate": "node --max-old-space-size=8192 scripts/obfuscate.mjs",
25
25
  "build:publish": "rm -rf dist && npm run build && npm run obfuscate",
26
- "prepublishOnly": "npm run build:publish"
26
+ "prepublishOnly": "npm run build:publish",
27
+ "verify:slug": "node scripts/verify-slug-convention.mjs"
27
28
  },
28
29
  "keywords": [
29
30
  "claude",