memorytalk 0.9.0__tar.gz → 0.9.2__tar.gz
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.
- {memorytalk-0.9.0 → memorytalk-0.9.2}/PKG-INFO +1 -1
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/setup.py +19 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/schema.py +7 -17
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/PKG-INFO +1 -1
- {memorytalk-0.9.0 → memorytalk-0.9.2}/pyproject.toml +1 -1
- {memorytalk-0.9.0 → memorytalk-0.9.2}/LICENSE +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/README.md +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/__main__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/adapters/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/adapters/base.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/adapters/claude_code.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/adapters/codex.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/adapters/openclaw.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/cards.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/read.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/recall.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/reviews.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/search.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/sessions.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/status.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/api/sync.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/_format.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/_http.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/_render.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/card.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/read.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/recall.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/review.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/search.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/server.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/session.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/sync.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/cli/upgrade.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/config.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/claude_code/.claude-plugin/marketplace.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/claude_code/plugins/memory-talk-recall/.claude-plugin/plugin.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/claude_code/plugins/memory-talk-recall/hooks/hooks.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/codex/.agents/plugins/marketplace.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/codex/plugins/memory-talk-recall/.codex-plugin/plugin.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/codex/plugins/memory-talk-recall/hooks/hooks.json +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/base.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/claude_code.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/codex.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/materialize.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/probe.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hooks/state.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/provider/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/provider/embedding.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/provider/lancedb.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/provider/storage.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/cards.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/recall.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/reviews.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/search_log.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/sessions.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/store.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/repository/sync_checkpoint.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/card.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/cards.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/read.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/recall.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/review.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/reviews.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/search.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/session.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/status.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/schemas/sync.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/server.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/backfill.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/cards.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/events.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/index_buffer.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/read.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/recall.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/reviews.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/search.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/sessions.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/service/sync.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/__init__.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/console.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/dsl.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/env_template.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/formula.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/highlight.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/ids.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/indexes.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/settings_io.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/tag_filter.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/util/tags.py +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/SOURCES.txt +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/dependency_links.txt +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/entry_points.txt +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/requires.txt +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk.egg-info/top_level.txt +0 -0
- {memorytalk-0.9.0 → memorytalk-0.9.2}/setup.cfg +0 -0
|
@@ -447,6 +447,25 @@ def _apply_install(r: HookRow, cfg: Config) -> dict:
|
|
|
447
447
|
else:
|
|
448
448
|
err_console.print(f" [dim]·[/dim] assets up to date")
|
|
449
449
|
|
|
450
|
+
# Force re-install when our marketplace content changed AND the
|
|
451
|
+
# plugin is already in the host's cache. Host CLIs(Codex / Claude
|
|
452
|
+
# Code)copy plugin files into their own cache at ``plugin add``
|
|
453
|
+
# time and never re-read our marketplace directory afterwards.
|
|
454
|
+
# ``marketplace upgrade`` only re-pulls if the plugin manifest's
|
|
455
|
+
# ``version`` field bumped, which we don't reliably do — so to
|
|
456
|
+
# guarantee the new ``hooks.json`` reaches the host, we
|
|
457
|
+
# uninstall + reinstall. The cost (re-trust step on Codex) is
|
|
458
|
+
# unavoidable anyway since the trust hash is tied to hook content.
|
|
459
|
+
if changed and r.state != HostState.ABSENT:
|
|
460
|
+
err_console.print(
|
|
461
|
+
" [dim]· content changed — forcing reinstall to refresh "
|
|
462
|
+
"host plugin cache[/dim]"
|
|
463
|
+
)
|
|
464
|
+
try:
|
|
465
|
+
adapter.uninstall()
|
|
466
|
+
except RuntimeError as e:
|
|
467
|
+
err_console.print(f" [yellow]⚠ uninstall before reinstall: {e}[/yellow]")
|
|
468
|
+
|
|
450
469
|
try:
|
|
451
470
|
adapter.install(r.materialized)
|
|
452
471
|
except RuntimeError as e:
|
|
@@ -250,20 +250,10 @@ async def _additive_migrations(conn: aiosqlite.Connection) -> None:
|
|
|
250
250
|
# separate ``sync.db`` (see ``repository/sync_checkpoint.py``).
|
|
251
251
|
await conn.execute("DROP TABLE IF EXISTS ingest_log")
|
|
252
252
|
|
|
253
|
-
#
|
|
254
|
-
#
|
|
255
|
-
#
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
#
|
|
259
|
-
|
|
260
|
-
await conn.execute("DROP TABLE IF EXISTS recall_log")
|
|
261
|
-
|
|
262
|
-
# 5. 0.9.0: drop ``card_stats.recall_count`` column — popularity is
|
|
263
|
-
# now derived from ``recall_event`` on read. SQLite ALTER TABLE
|
|
264
|
-
# DROP COLUMN requires 3.35+ (Mar 2021); Python 3.10+ ships well
|
|
265
|
-
# above that.
|
|
266
|
-
async with conn.execute("PRAGMA table_info(card_stats)") as cursor:
|
|
267
|
-
stats_cols = {row[1] for row in await cursor.fetchall()}
|
|
268
|
-
if "recall_count" in stats_cols:
|
|
269
|
-
await conn.execute("ALTER TABLE card_stats DROP COLUMN recall_count")
|
|
253
|
+
# 0.9.x: NO in-place migration from 0.8.x ``recall_log`` /
|
|
254
|
+
# ``card_stats.recall_count`` — upgrades require deleting
|
|
255
|
+
# ``~/.memory.talk`` and starting fresh. The recall subsystem
|
|
256
|
+
# changed shape too deeply (file canonical, session_id namespace
|
|
257
|
+
# correction) to make a partial in-place migration meaningful.
|
|
258
|
+
# New installs hit the fresh DDL above and have no legacy rows
|
|
259
|
+
# to worry about.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{memorytalk-0.9.0 → memorytalk-0.9.2}/memorytalk/hook_assets/codex/.agents/plugins/marketplace.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|