@themoltnet/agent-daemon 0.32.1 → 0.34.0
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 +42 -8
- package/dist/cli.d.ts +6 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +6887 -0
- package/dist/config.d.ts +22 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/instrumentation.d.ts +2 -0
- package/dist/instrumentation.d.ts.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +58 -12429
- package/dist/pi.d.ts +6 -0
- package/dist/pi.d.ts.map +1 -0
- package/dist/pi.js +70 -0
- package/dist/runtime-loader.d.ts +11 -0
- package/dist/runtime-loader.d.ts.map +1 -0
- package/dist/runtime.d.ts +29 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +7 -0
- package/package.json +28 -16
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DaemonAuthMode } from './lib/agent-context.js';
|
|
2
|
+
export interface DaemonConfig {
|
|
3
|
+
/** OTLP endpoint for trace export. Empty = OTel bootstrap is a no-op. */
|
|
4
|
+
otelEndpoint: string;
|
|
5
|
+
/** Pino log level override; empty = per-mode default (info, or debug with --debug). */
|
|
6
|
+
logLevel: string;
|
|
7
|
+
/** Process environment visible to profile prerequisite checks. */
|
|
8
|
+
profilePrerequisiteEnv: NodeJS.ProcessEnv;
|
|
9
|
+
/** PATH used when resolving profile requiredTools. */
|
|
10
|
+
profilePrerequisitePath: string;
|
|
11
|
+
/** Optional Pi agent dir override. Empty = daemon defaults to repo-local .pi. */
|
|
12
|
+
piCodingAgentDir: string;
|
|
13
|
+
/**
|
|
14
|
+
* Which credential `connect()` will use: `agent-key` when `MOLTNET_AGENT_KEY`
|
|
15
|
+
* is set, otherwise the default `oauth2` client-credentials flow. The secret
|
|
16
|
+
* itself is never surfaced here.
|
|
17
|
+
*/
|
|
18
|
+
authMode: DaemonAuthMode;
|
|
19
|
+
}
|
|
20
|
+
export declare function loadConfig(): DaemonConfig;
|
|
21
|
+
export declare function activatePiCodingAgentDir(path: string): void;
|
|
22
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,wBAAwB,CAAC;AAE7E,MAAM,WAAW,YAAY;IAC3B,yEAAyE;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,QAAQ,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,sBAAsB,EAAE,MAAM,CAAC,UAAU,CAAC;IAC1C,sDAAsD;IACtD,uBAAuB,EAAE,MAAM,CAAC;IAChC,iFAAiF;IACjF,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,wBAAgB,UAAU,IAAI,YAAY,CASzC;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAE3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../src/instrumentation.ts"],"names":[],"mappings":""}
|
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=main.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,OAAO,sBAAsB,CAAC"}
|