@molecule/api-agent-transcript-autodetect 1.2.0 → 1.2.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 CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-03T10:25:28.071Z
6
+ Generated: 2026-10-03T16:08:45.635Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-agent-transcript-autodetect
@@ -206,6 +206,7 @@ export function setupAgentTranscriptAutodetect(): void {
206
206
  Peer dependencies:
207
207
 
208
208
  - `@molecule/api-agent-transcript` ^1.0.0
209
+ - `@molecule/api-agent-transcript-pi` 1.0.1
209
210
 
210
211
  ### Runtime Dependencies
211
212
 
@@ -1 +1 @@
1
- {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,gCAAgC,CAAA;AAavC;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GAAG,qBAAqB,CAmB7F;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,qBAAqB,EAW1D,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,qBAAuE,CAAA"}
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,gCAAgC,CAAA;AAwBvC;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GAAG,qBAAqB,CAmB7F;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,qBAAqB,EAW1D,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,qBAAuE,CAAA"}
package/dist/provider.js CHANGED
@@ -13,7 +13,13 @@ import { provider as geminiCli } from '@molecule/api-agent-transcript-gemini-cli
13
13
  import { provider as markdownChat } from '@molecule/api-agent-transcript-markdown-chat';
14
14
  import { provider as moleculeIde } from '@molecule/api-agent-transcript-molecule-ide';
15
15
  import { provider as opencode } from '@molecule/api-agent-transcript-opencode';
16
- import { provider as pi } from '@molecule/api-agent-transcript-pi';
16
+ // Pi is an OPTIONAL peer, not a dependency: the bond is not yet published to
17
+ // the public registry, and a hard dependency on an unresolvable name made
18
+ // every registry install of this package fail outright (E404 resolving the
19
+ // install graph — autodetect 1.2.0 was uninstallable from npm for exactly
20
+ // this reason). Resolve it dynamically and join it to the reader list only
21
+ // when the consuming project actually ships it.
22
+ const pi = await import('@molecule/api-agent-transcript-pi').then((m) => m.provider, () => undefined);
17
23
  /**
18
24
  * Compose readers: the first whose `detect()` accepts the input reads it.
19
25
  *
@@ -51,7 +57,7 @@ export const harnessReaders = [
51
57
  geminiCli,
52
58
  cline,
53
59
  opencode,
54
- pi,
60
+ ...(pi ? [pi] : []),
55
61
  copilotChat,
56
62
  cursor,
57
63
  aider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-agent-transcript-autodetect",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Picks the reader that recognizes a transcript and delegates to it; bundles readers for Claude Code, Codex CLI, the Molecule IDE, Gemini CLI, Cline / Roo Code, OpenCode, Pi, GitHub Copilot Chat, Cursor and Aider, plus a generic Markdown chat reader",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,6 +37,12 @@
37
37
  ],
38
38
  "license": "Apache-2.0",
39
39
  "author": "Molecule Dev, Inc. (https://molecule.dev)",
40
+ "homepage": "https://www.molecule.dev/packages/api-agent-transcript-autodetect",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/molecule-dev/molecule.git",
44
+ "directory": "packages/api/bonds/agent-transcript/autodetect"
45
+ },
40
46
  "dependencies": {
41
47
  "@molecule/api-agent-transcript-aider": "1.0.1",
42
48
  "@molecule/api-agent-transcript-claude-code": "1.0.0",
@@ -47,26 +53,21 @@
47
53
  "@molecule/api-agent-transcript-gemini-cli": "1.0.1",
48
54
  "@molecule/api-agent-transcript-markdown-chat": "1.0.1",
49
55
  "@molecule/api-agent-transcript-molecule-ide": "1.0.0",
50
- "@molecule/api-agent-transcript-opencode": "1.0.1",
51
- "@molecule/api-agent-transcript-pi": "1.0.0"
56
+ "@molecule/api-agent-transcript-opencode": "1.0.1"
52
57
  },
53
58
  "peerDependencies": {
54
- "@molecule/api-agent-transcript": "^1.0.0"
59
+ "@molecule/api-agent-transcript": "^1.0.0",
60
+ "@molecule/api-agent-transcript-pi": "1.0.1"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@molecule/api-agent-transcript-pi": {
64
+ "optional": true
65
+ }
55
66
  },
56
67
  "devDependencies": {
57
68
  "@molecule/api-agent-transcript": "1.0.1",
58
69
  "@types/node": "26.1.2",
59
70
  "typescript": "6.0.3",
60
71
  "vitest": "4.1.11"
61
- },
62
- "repository": {
63
- "type": "git",
64
- "url": "https://github.com/molecule-dev/molecule.git",
65
- "directory": "packages/api/bonds/agent-transcript/autodetect"
66
- },
67
- "homepage": "https://www.molecule.dev/packages/api-agent-transcript-autodetect",
68
- "bugs": "https://github.com/molecule-dev/molecule/issues",
69
- "publishConfig": {
70
- "access": "public"
71
72
  }
72
73
  }