@justfortytwo/installer 1.1.2 → 1.1.3

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 CHANGED
@@ -107,7 +107,7 @@ gitignored `.fortytwo/identity.json`; neither is ever committed.
107
107
  | `enrich` | Capture more answers to deepen the persona, then re-render (no clobber). |
108
108
  | `onboard` | Review and save the owner profile drafted by the onboarding interview (see [Owner onboarding](#owner-onboarding-optional)). Shows what would change, with where each claim came from, and saves only what you confirm in a terminal. `--dry-run` only shows; `--draft <path>` reviews another file. |
109
109
  | `forget` | Permanently delete memories selected by `--id` / `--query` (semantic) / `--tag` / `--source` / `--since`/`--until` — previewed and confirmed (or `--yes`). Owner-only: it deletes via a library API, never exposed to the assistant. |
110
- | `unbind` | Revoke a channel binding (un-pair a chat / drop it from the allowlist). |
110
+ | `unbind` | Revoke a chat: `--chat-id <id>` or `--all` (optionally `--channel`). Removes it from the bridge's bindings db, so a chat paired with `pair` is refused from its next message, and from `identity.json`. `--all` also voids pairing codes that have not expired. An id still in `ALLOWED_CHAT_IDS` keeps access; unbind names it so you can remove it from `.env`. |
111
111
  | `gate` | Show or change the optional [safety gate](#the-safety-gate-optional): `gate on` holds outward and destructive actions for your approval, `gate off` removes it. Off by default; restart Fortytwo to apply. |
112
112
  | `schedules` | Show or change which built-in schedules run (daily briefing, open-thread sweep, weekly learn-review). In a terminal it asks about each one; `--list` only shows; `--set all`, `--set none` or `--set <job,job>` decides without asking. `--timezone <IANA name>` (e.g. `Europe/Rome`, or `utc`) sets the clock their times are on: `init` saves your zone on a new install, an existing install stays on UTC until you set it. Touches only `.fortytwo/schedules.json`; restart Fortytwo to apply. |
113
113
 
@@ -12,5 +12,22 @@ export declare function pruneChannels(channels: ChannelBinding[], sel: {
12
12
  kept: ChannelBinding[];
13
13
  removed: ChannelBinding[];
14
14
  };
15
+ /** The part of telegram's BindingStore that unbind needs. */
16
+ export interface PairedChatStore {
17
+ list(channelType?: string): Array<{
18
+ channelUserId: string;
19
+ }>;
20
+ remove(channelType: string, channelUserId: string): void;
21
+ /** Drops challenges with expiresAt <= now; a far-future `now` drops them all. */
22
+ sweepChallenges?(now: number): void;
23
+ }
24
+ /**
25
+ * Remove paired Telegram chats from the bindings store: every one with `all`,
26
+ * otherwise the one whose id is `chatId`. Returns the removed chat ids.
27
+ */
28
+ export declare function revokePairedChats(store: PairedChatStore, sel: {
29
+ chatId?: string;
30
+ all?: boolean;
31
+ }): string[];
15
32
  export declare function runUnbind(argv: string[]): Promise<number>;
16
33
  //# sourceMappingURL=unbind.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unbind.d.ts","sourceRoot":"","sources":["../../src/commands/unbind.ts"],"names":[],"mappings":"AAOA,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAQ/E;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,cAAc,EAAE,EAC1B,GAAG,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,GACxD;IAAE,IAAI,EAAE,cAAc,EAAE,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CASvD;AAcD,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAwB/D"}
1
+ {"version":3,"file":"unbind.d.ts","sourceRoot":"","sources":["../../src/commands/unbind.ts"],"names":[],"mappings":"AAWA,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAU/E;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,cAAc,EAAE,EAC1B,GAAG,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,GACxD;IAAE,IAAI,EAAE,cAAc,EAAE,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CASvD;AAED,6DAA6D;AAC7D,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACzD,iFAAiF;IACjF,eAAe,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,EAAE,CAQ3G;AAkCD,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA8C/D"}
@@ -1,10 +1,16 @@
1
- // unbind — revoke a channel binding (the inverse of `pair`).
1
+ // unbind: revoke a channel binding (the inverse of `pair`).
2
2
  //
3
- // Removes the binding from identity.json's `channels`. The actual authorization
4
- // today is the static ALLOWED_CHAT_IDS in .env, so unbind also reminds the owner
5
- // to drop the id there. (Server-side challenge revocation is N/A until dynamic
6
- // pairing lands in the channel adapter — see pair.ts.)
3
+ // A Telegram chat can be authorized two ways: a binding in the bridge's
4
+ // bindings db (written when the chat redeems a `fortytwo pair` code) or the
5
+ // static ALLOWED_CHAT_IDS in .env. unbind removes matching bindings from the
6
+ // bindings db, which the bridge reads on every message, so access ends without
7
+ // a restart. It also prunes identity.json's `channels` and reminds the owner to
8
+ // drop the ids from ALLOWED_CHAT_IDS, which it does not edit.
9
+ import { existsSync } from 'node:fs';
10
+ import { loadTelegram } from '../engine.js';
7
11
  import { readIdentity, writeIdentity } from '../state.js';
12
+ import { readProjectSetting } from './init.js';
13
+ import { resolveBindingsDbPath } from './pair.js';
8
14
  /**
9
15
  * Pure prune: drop bindings matching the selector. With `all`, drop every
10
16
  * binding for the (optional) channel; otherwise drop bindings whose
@@ -24,6 +30,39 @@ export function pruneChannels(channels, sel) {
24
30
  });
25
31
  return { kept, removed };
26
32
  }
33
+ /**
34
+ * Remove paired Telegram chats from the bindings store: every one with `all`,
35
+ * otherwise the one whose id is `chatId`. Returns the removed chat ids.
36
+ */
37
+ export function revokePairedChats(store, sel) {
38
+ const ids = store.list('telegram').map((b) => b.channelUserId)
39
+ .filter((id) => sel.all === true || (sel.chatId != null && id === sel.chatId));
40
+ for (const id of ids)
41
+ store.remove('telegram', id);
42
+ // Any chat can redeem a pending pairing code, so `--all` also voids codes
43
+ // minted by `fortytwo pair` that have not expired yet.
44
+ if (sel.all === true)
45
+ store.sweepChallenges?.(Number.MAX_SAFE_INTEGER);
46
+ return ids;
47
+ }
48
+ /**
49
+ * Open the bridge's bindings db and revoke matching chats. Never creates the db:
50
+ * no file means nothing was ever paired. Returns null when the db exists but
51
+ * @justfortytwo/telegram is not installed to read it.
52
+ */
53
+ async function revokeInBindingsDb(root, sel) {
54
+ const dbPath = resolveBindingsDbPath(root);
55
+ if (!existsSync(dbPath))
56
+ return [];
57
+ const tg = (await loadTelegram());
58
+ if (!tg || typeof tg.SqliteBindingStore !== 'function')
59
+ return null;
60
+ return revokePairedChats(new tg.SqliteBindingStore(dbPath), sel);
61
+ }
62
+ /** Ids in ALLOWED_CHAT_IDS (shell env, else the project's .env), comma-separated. */
63
+ function allowedChatIds(root) {
64
+ return (readProjectSetting('ALLOWED_CHAT_IDS', root) ?? '').split(',').map((v) => v.trim()).filter(Boolean);
65
+ }
27
66
  function parseUnbindArgs(argv) {
28
67
  const flags = {};
29
68
  for (let i = 0; i < argv.length; i++) {
@@ -52,16 +91,39 @@ export async function runUnbind(argv) {
52
91
  return 2;
53
92
  }
54
93
  const { kept, removed } = pruneChannels(identity.channels ?? [], flags);
55
- if (removed.length === 0) {
94
+ if (removed.length)
95
+ writeIdentity({ ...identity, channels: kept }, root);
96
+ const telegramSelected = !flags.channel || flags.channel === 'telegram';
97
+ const revoked = telegramSelected ? await revokeInBindingsDb(root, flags) : [];
98
+ if (revoked === null) {
99
+ process.stderr.write('unbind: the Telegram bindings db exists but @justfortytwo/telegram is not installed, so paired chats were not revoked.\n');
100
+ }
101
+ // ALLOWED_CHAT_IDS authorizes on its own (the bridge checks it first), so
102
+ // name every selected id it still lists, even when nothing else changed.
103
+ const unbound = new Set([...removed.flatMap((c) => c.allowedChatIds ?? []), ...(revoked ?? [])]);
104
+ if (flags.chatId)
105
+ unbound.add(flags.chatId);
106
+ const stillAllowed = (telegramSelected ? allowedChatIds(root) : [])
107
+ .filter((id) => flags.all === true || unbound.has(id));
108
+ const refused = (revoked ?? []).filter((id) => !stillAllowed.includes(id));
109
+ if (removed.length === 0 && !revoked?.length && stillAllowed.length === 0) {
56
110
  process.stdout.write('unbind: no matching binding found; nothing changed.\n');
57
- return 0;
111
+ return revoked === null ? 1 : 0;
112
+ }
113
+ if (removed.length)
114
+ process.stdout.write(`✓ removed ${removed.length} binding(s) from identity.json\n`);
115
+ if (refused.length) {
116
+ process.stdout.write(`✓ revoked paired chat(s) ${refused.join(', ')}; the bridge refuses them from the next message\n`);
117
+ }
118
+ const keptByAllowlist = (revoked ?? []).filter((id) => stillAllowed.includes(id));
119
+ if (keptByAllowlist.length) {
120
+ process.stdout.write(`✓ removed the pairing for ${keptByAllowlist.join(', ')}\n`);
58
121
  }
59
- writeIdentity({ ...identity, channels: kept }, root);
60
- const ids = removed.flatMap((c) => c.allowedChatIds ?? []);
61
- process.stdout.write(`✓ removed ${removed.length} binding(s) from identity.json\n`);
62
- if (ids.length) {
63
- process.stdout.write(` Also remove ${ids.join(', ')} from ALLOWED_CHAT_IDS in .env to fully revoke access.\n`);
122
+ if (stillAllowed.length) {
123
+ process.stdout.write(` ${stillAllowed.join(', ')} ${stillAllowed.length === 1 ? 'is' : 'are'} still in ALLOWED_CHAT_IDS and keep${stillAllowed.length === 1 ? 's' : ''} access: remove ${stillAllowed.length === 1 ? 'it' : 'them'} from .env and restart fortytwo.\n`);
64
124
  }
125
+ if (revoked === null)
126
+ return 1;
65
127
  return 0;
66
128
  }
67
129
  //# sourceMappingURL=unbind.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unbind.js","sourceRoot":"","sources":["../../src/commands/unbind.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,EAAE;AACF,gFAAgF;AAChF,iFAAiF;AACjF,+EAA+E;AAC/E,uDAAuD;AAEvD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAuB,MAAM,aAAa,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAC3B,QAA0B,EAC1B,GAAyD;IAEzD,MAAM,OAAO,GAAqB,EAAE,CAAC;IACrC,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE;QACjC,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO;YAAE,OAAO,IAAI,CAAC;QAC1D,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;QACxG,IAAI,KAAK,EAAE,CAAC;YAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAAC,OAAO,KAAK,CAAC;QAAC,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAED,SAAS,eAAe,CAAC,IAAc;IACrC,MAAM,KAAK,GAAgB,EAAE,CAAC;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AC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAClF,IAAI,eAAe,CAAC,MAAM,EAAE,CAAC;QAC3B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpF,CAAC;IACD,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;QACxB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,sCAAsC,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,mBAAmB,YAAY,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,oCAAoC,CAAC,CAAC;IAC3Q,CAAC;IACD,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO,CAAC,CAAC;IAC/B,OAAO,CAAC,CAAC;AACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justfortytwo/installer",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "All-in-one installer and lifecycle CLI for fortytwo — scaffolds the persona surface and provisions the npm engine (memory MCP, safety gate, channel adapters, embedder).",
5
5
  "license": "MIT",
6
6
  "author": {