@signetai/connector-base 0.226.14 → 0.226.16

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.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-dir.d.ts","sourceRoot":"","sources":["../src/agent-dir.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC9B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,WAAW,QAAQ;IACxB,QAAQ,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC;IAC5D,QAAQ,CAAC,sBAAsB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,GAAG,IAAI,CAAC;IAC5E,QAAQ,CAAC,eAAe,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC;IAC9D,QAAQ,CAAC,oBAAoB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC;IACnE,QAAQ,CAAC,sBAAsB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,SAAS,MAAM,EAAE,CAAC;IAChF,QAAQ,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,OAAO,CAAC;IACxD,QAAQ,CAAC,uBAAuB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,MAAM,CAAC;IACzF,QAAQ,CAAC,uBAAuB,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,KAAK,IAAI,CAAC;CACpE;AA0BD,wBAAgB,cAAc,CAAC,MAAM,EA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connector-base
3
- *
4
- * Base class for Signet harness connectors. Provides shared functionality
5
- * that all connectors need (Signet block handling, skills symlinking),
6
- * allowing concrete connectors to focus on harness-specific logic.
7
- *
8
- * @example
9
- * ```typescript
10
- * import { BaseConnector, InstallResult } from '@signetai/connector-base';
11
- *
12
- * class MyConnector extends BaseConnector {
13
- * readonly name = "my-harness";
14
- * readonly harnessId = "myharness";
15
- *
16
- * async install(basePath: string): Promise<InstallResult> {
17
- * // harness-specific setup
18
- * }
19
- *
20
- * async uninstall(): Promise<void> {
21
- * // harness-specific cleanup
22
- * }
23
- *
24
- * isInstalled(): boolean {
25
- * // check if already set up
26
- * }
27
- *
28
- * getConfigPath(): string {
29
- * // return harness config file path
30
- * }
31
- * }
32
- * ```
33
- */
34
1
  import { type SymlinkOptions, type SymlinkResult } from "@signetai/core";
35
2
  export interface InstallResult {
36
3
  success: boolean;
@@ -53,127 +20,25 @@ export interface ConnectorRecoveryCapabilities {
53
20
  reinitialize: boolean;
54
21
  reinitializeRequiresConfirmation: boolean;
55
22
  }
56
- /**
57
- * Abstract base class for Signet harness connectors.
58
- *
59
- * Provides:
60
- * - stripSignetBlock() - remove existing Signet blocks before re-injection
61
- * - stripLegacySignetBlock() - migrate old SIGNET block out of AGENTS.md
62
- * - symlinkSkills() - symlink skills directory to harness-specific location
63
- *
64
- * Subclasses must implement:
65
- * - name - human-readable harness name
66
- * - harnessId - machine identifier for the harness
67
- * - install() - harness-specific setup
68
- * - uninstall() - harness-specific cleanup
69
- * - isInstalled() - check if integration exists
70
- * - getConfigPath() - return path to harness config
71
- */
72
23
  export declare abstract class BaseConnector {
73
- /**
74
- * Human-readable name for the harness (e.g., "Claude Code")
75
- */
76
24
  abstract readonly name: string;
77
- /**
78
- * Machine identifier (e.g., "claude-code")
79
- */
80
25
  abstract readonly harnessId: string;
81
- /**
82
- * Optional bundled brand asset filename for clients that present the
83
- * connector. The dashboard resolves this against its local `/logos/`
84
- * assets; connectors without a mark use a generic icon.
85
- */
86
26
  getIconAsset(): string | null;
87
- /**
88
- * Strip existing Signet blocks from content.
89
- *
90
- * Call this before re-injecting the block to prevent duplication
91
- * when re-running install or sync operations.
92
- */
93
27
  protected stripSignetBlock(content: string): string;
94
- /**
95
- * Strip legacy SIGNET block markers from AGENTS.md in place.
96
- *
97
- * Returns the path when a write occurred, otherwise null.
98
- */
99
28
  protected stripLegacySignetBlock(basePath: string): string | null;
100
- /**
101
- * Symlink skills from source to target directory.
102
- *
103
- * Each subdirectory in sourceDir becomes a symlink in targetDir.
104
- * Existing symlinks are replaced; real directories are skipped.
105
- */
106
29
  protected symlinkSkills(sourceDir: string, targetDir: string, options?: SymlinkOptions): SymlinkResult;
107
- /**
108
- * Generate the auto-generated file header.
109
- *
110
- * @param sourcePath - Path to the source file being generated from
111
- * @param targetName - Name of the target harness
112
- */
113
30
  protected generateHeader(sourcePath: string, targetName?: string): string;
114
- /**
115
- * Read and compose additional identity files (SOUL.md, IDENTITY.md,
116
- * USER.md, MEMORY.md) into a single string with section headers.
117
- *
118
- * @param basePath - Path to the Signet workspace or equivalent identity directory
119
- */
120
31
  protected composeIdentityExtras(basePath: string): string;
121
- /**
122
- * Install the connector for this harness.
123
- *
124
- * Should:
125
- * - Configure hooks in the harness config
126
- * - Generate any necessary files (CLAUDE.md, AGENTS.md, etc.)
127
- * - Set up skills symlinks
128
- *
129
- * Must be idempotent - safe to run multiple times.
130
- */
131
32
  abstract install(basePath: string): Promise<InstallResult>;
132
- /**
133
- * Remove the connector integration.
134
- *
135
- * Should:
136
- * - Remove hooks from harness config
137
- * - Remove generated files (but not user data)
138
- * - Optionally remove skills symlinks
139
- */
140
33
  abstract uninstall(): Promise<UninstallResult>;
141
- /**
142
- * Check if the connector is already installed.
143
- */
144
34
  abstract isInstalled(): boolean;
145
- /**
146
- * Check whether the harness has a discoverable configuration, even when
147
- * Signet's integration is not installed yet.
148
- */
149
35
  isDetected(): boolean;
150
- /**
151
- * Inspect the connector's runtime health. Connectors with richer signals
152
- * may override this; the shared default only detects installation markers. It cannot verify
153
- * enabled configuration, runtime artifacts, or connectivity, so it reports an unknown state.
154
- */
155
36
  inspectHealth(): Promise<ConnectorHealth>;
156
- /**
157
- * Return actions that are safe for this connector to expose in clients.
158
- * The default actions reuse the connector's idempotent install path.
159
- */
160
37
  getRecoveryCapabilities(): ConnectorRecoveryCapabilities;
161
- /** Reconcile an existing integration through the connector's install path. */
162
38
  repair(basePath: string): Promise<InstallResult>;
163
- /** Re-run connector initialization through the connector's install path. */
164
39
  reinitialize(basePath: string): Promise<InstallResult>;
165
- /**
166
- * Get the path to the harness's main config file.
167
- */
168
40
  abstract getConfigPath(): string;
169
41
  }
170
- /**
171
- * Check whether file content was generated by Signet.
172
- * Matches both connector-generated headers ("# Auto-generated from")
173
- * and daemon-generated headers ("# AUTO-GENERATED from ... by Signet").
174
- * Uses a strict two-line pattern to avoid matching user-owned files that
175
- * happen to contain the phrase "auto-generated" somewhere in their body.
176
- */
177
42
  export declare function isSignetGeneratedFile(raw: string): boolean;
178
43
  export declare function atomicWriteText(path: string, content: string, mode?: number): void;
179
44
  export declare function atomicWriteJson(path: string, data: unknown, indent?: number | string): void;
@@ -181,47 +46,21 @@ export type ResolvedCommand = {
181
46
  readonly command: string;
182
47
  readonly args: readonly string[];
183
48
  };
184
- /** Resolve the signet-mcp stdio command, including the packaged Windows entry point. */
185
49
  export declare function resolveSignetMcpCommand(): ResolvedCommand;
186
- /** Resolve the Signet CLI command for hook invocation. */
187
50
  export declare function resolveSignetCliCommand(): ResolvedCommand;
188
51
  export declare const MANAGED_DAEMON_URL_DEFAULT = "http://127.0.0.1:3850";
189
52
  export declare const MANAGED_AGENT_ID_DEFAULT = "default";
190
- /** Narrow an unknown value to a plain record (shared by connectors, #957). */
191
53
  export declare function isJsonObject(value: unknown): value is Record<string, unknown>;
192
- /** True when `candidate` is strictly inside `parent` on the filesystem (shared, #957). */
193
54
  export declare function isChildOf(candidate: string, parent: string): boolean;
194
- /**
195
- * Read a non-empty, trimmed env var (shared by connectors, #957).
196
- * Newlines are stripped so multi-line values cannot smuggle into single-line
197
- * config surfaces (the behavior forge/opencode standardized on).
198
- */
199
55
  export declare function readTrimmedEnv(name: string): string | undefined;
200
- /**
201
- * @deprecated Use `readTrimmedEnv` (same semantics, canonical name).
202
- */
203
56
  export declare function readManagedTrimmedEnv(name: string): string | undefined;
204
57
  export declare function resolveSignetWorkspacePath(home?: string): string;
205
58
  export declare function resolveSignetDaemonUrl(): string;
206
59
  export declare function resolveSignetAgentId(): string;
207
60
  export declare function resolveSignetApiKey(): string | undefined;
208
- /**
209
- * Build the standard Signet runtime env map for spawned processes, preserving
210
- * "only set what is present" semantics: SIGNET_PATH only when a basePath is
211
- * passed, SIGNET_DAEMON_URL only when explicitly configured, and the
212
- * SIGNET_API_KEY ?? SIGNET_TOKEN fallback. Shared by harness connectors
213
- * (forge, opencode, codex, hermes-agent) so the API-key/token precedence
214
- * contract has one owner (#955).
215
- */
216
61
  export declare function buildSignetRuntimeEnv(opts?: {
217
62
  readonly basePath?: string;
218
63
  }): Record<string, string>;
219
- /**
220
- * Resolve the remote daemon URL for MCP/HTTP configs, or null when
221
- * SIGNET_DAEMON_URL is not explicitly set. Unlike `resolveSignetDaemonUrl()`
222
- * (which always returns a URL), this honors the "explicit remote only"
223
- * contract connectors rely on (#955).
224
- */
225
64
  export declare function resolveRemoteDaemonUrl(): string | null;
226
65
  export declare function buildManagedExtensionEnvBootstrap(env: {
227
66
  readonly signetPath: string;
@@ -230,11 +69,6 @@ export declare function buildManagedExtensionEnvBootstrap(env: {
230
69
  readonly apiKey?: string;
231
70
  }): string;
232
71
  export declare function managedExtensionFilePath(agentDir: string, filename: string): string;
233
- /**
234
- * Build a managed extension file: a header naming the package/entry/marker,
235
- * the Signet env bootstrap, then the embedded bundle. Shared by the pi and
236
- * oh-my-pi connectors, which differ only in those constants (#957).
237
- */
238
72
  export declare function buildManagedExtensionContent(params: {
239
73
  readonly bundle: string;
240
74
  readonly marker: string;
@@ -1 +1 @@
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M,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACF,GAAG,MAAM,CAeT;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAGhF;AAUD,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAKpF;AAED,MAAM,WAAW,yBAAyB;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,oBAAoB,GAAG,UAAU,aAAa,CAAC;AAmFpD,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,oBAAoB,EACpC,OAAO,GAAE,yBAA8B,GACrC,IAAI,CAsCN;AAED,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
@@ -1,4 +1,3 @@
1
- /** Parse a connector config as JSONC or JSON5 and require an object root. */
2
1
  export declare function parseLenientJsonObject(raw: string, options: {
3
2
  readonly label: string;
4
3
  }): Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"lenient-json.d.ts","sourceRoot":"","sources":["../src/lenient-json.ts"],"names":[],"mappings":"AAGA,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBhH"}
1
+ {"version":3,"file":"lenient-json.d.ts","sourceRoot":"","sources":["../src/lenient-json.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBhH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-base",
3
- "version": "0.226.14",
3
+ "version": "0.226.16",
4
4
  "description": "Base class for Signet harness connectors",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@signetai/core": "0.226.14",
33
+ "@signetai/core": "0.226.16",
34
34
  "json5": "^2.2.3",
35
35
  "jsonc-parser": "3.3.1"
36
36
  },