@ghostpaw/affinity 0.6.0 → 0.6.1
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/README.md +19 -6
- package/dist/cli.js +99 -35
- package/dist/index.cjs +69 -26
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +69 -26
- package/dist/mcp-server.js +86 -27
- package/dist/mcp.cjs +83 -27
- package/dist/mcp.js +83 -27
- package/package.json +1 -1
- package/skills/affinity/references/import-history-without-faking-evidence.md +1 -1
- package/skills/affinity/references/record-direct-evidence-well.md +1 -1
- package/skills/affinity/references/record-observations-and-referrals.md +2 -1
- package/skills/affinity/references/tools.md +7 -6
package/README.md
CHANGED
|
@@ -663,13 +663,15 @@ ghostpaw-affinity review events.contact_journal --contact '{"contactId":2}' --ev
|
|
|
663
663
|
Array flags accept JSON arrays, comma lists, or repeated flags. Unknown event
|
|
664
664
|
types fail with exit 2 and allowed values. SQLite timestamps such as
|
|
665
665
|
`2026-10-27 17:51:33` use UTC; explicit offsets are honored. Sub-millisecond
|
|
666
|
-
fractions are
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
fractions are truncated to milliseconds. CLI/MCP and tool intake preserve
|
|
667
|
+
high-precision occurredAt/dueAt strings in provenance.rawOccurredAt/rawDueAt.
|
|
668
|
+
Inspect an event to read its provenance. Null `occurredAt` is invalid.
|
|
669
669
|
|
|
670
670
|
Record likes, reposts and follows as observations with `affectsBond: false`.
|
|
671
|
-
|
|
672
|
-
|
|
671
|
+
Labels beginning with like/liked, follow/followed/following or repost/reposted
|
|
672
|
+
(case insensitive, followed by a word boundary, hyphen or underscore) default to
|
|
673
|
+
false for activity, milestone and observation events (except “follow up”). Observations with significance <= 2 also default to
|
|
674
|
+
false; other events default to true. Explicit affectsBond:true opts in. These ambient records stay in the journal without changing affinity or
|
|
673
675
|
recency. `provenance.ambient: true` also suppresses bond effects. Explicitly
|
|
674
676
|
outbound-only evidence contributes much less and does not reset radar recency;
|
|
675
677
|
without reciprocal contact it generates no routine check-in or drift prompt.
|
|
@@ -678,10 +680,21 @@ Include the owner explicitly with the correct actor/recipient role and use
|
|
|
678
680
|
follow-like milestones never derive breakthroughs; low-significance milestones
|
|
679
681
|
do not derive moments. An explicit `momentKind` is honored.
|
|
680
682
|
|
|
681
|
-
List reviews default to 50 rows, accept `--limit` (up to
|
|
683
|
+
List reviews default to 50 rows, accept `--limit` (up to 10,000) and `--offset`,
|
|
682
684
|
and include `total` and `hasMore`. Follow `hasMore` rather than assuming the
|
|
683
685
|
first page is complete.
|
|
684
686
|
|
|
687
|
+
Thread reviews honor `--event-types` before paging. `--with-content` includes
|
|
688
|
+
verbatim text once in CLI JSON; `--include-content` remains a deprecated alias.
|
|
689
|
+
Duplicate reviews default to `--min-score 0.5`; pass `--min-score 0` for weaker
|
|
690
|
+
candidates. Library duplicate candidate reads retain their existing default.
|
|
691
|
+
|
|
692
|
+
Event attribute tool targets accept `{kind:"event",ref:{source:"bsky",id:"uri"}}`
|
|
693
|
+
as an alternative to `{kind:"event",eventId:1}`. Setting an unchanged attribute
|
|
694
|
+
returns `no_op` without changing its timestamp; batch retries count as `noOp`.
|
|
695
|
+
Exports resolve parent references to `parentEventId`, including parents imported
|
|
696
|
+
later. Existing stored IDs and external-reference fields remain available.
|
|
697
|
+
|
|
685
698
|
`batch` reads one tool invocation per JSONL line, with one transaction for the
|
|
686
699
|
whole input by default, or one per `--chunk N` lines. Each line has its own
|
|
687
700
|
savepoint: failed lines roll back and later lines continue. `--stop-on-error`
|