@conveno/cli 0.2.0-rc.2 → 0.2.0-rc.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/dist/acp-BD19nka6.js +142 -0
- package/dist/bin.js +4 -4
- package/dist/ctx-CDLE-2f2.js +18 -0
- package/dist/daemon.js +160 -68
- package/dist/{dist-BEZPNGU5.js → dist-B3mH66Y1.js} +5 -1
- package/dist/{dist-BVE5ihb8.js → dist-B7znzc5U.js} +1 -1
- package/dist/dist-BRjg9CLd.js +731 -0
- package/dist/{acp-B772ag5j.js → dist-BiAm0SS8.js} +5 -143
- package/dist/{dist-hYvLf29C.js → dist-DIJhGLVn.js} +1 -1
- package/dist/{dist-_sq6DmrE.js → dist-M9Gs7e_K.js} +72 -25
- package/dist/{main-DyHE7TAz.js → doctor-D1sP9gCl.js} +16 -1431
- package/dist/{hook-DlTGn8Do.js → hook-W7tV131z.js} +3 -19
- package/dist/hook-entry-B8Iiwe99.js +1 -0
- package/dist/{hook-entry-BWfePrqh.js → hook-entry-CvmuMVWY.js} +4 -4
- package/dist/main-Cf0q06gR.js +1448 -0
- package/dist/run-BlRhoflZ.js +4173 -0
- package/dist/{runtime-DPrz7M0s.js → runtime-BPG36vYD.js} +13 -741
- package/package.json +19 -15
- package/dist/hook-entry-jDI9wAt-.js +0 -1
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { nt as isPermissionHook } from "./dist-
|
|
2
|
-
|
|
3
|
-
const adapterEnv = (ctx, opts = {}) => ({
|
|
4
|
-
home: ctx.home,
|
|
5
|
-
platform: ctx.platform,
|
|
6
|
-
cwd: ctx.cwd,
|
|
7
|
-
exec: ctx.exec,
|
|
8
|
-
conveno: ctx.conveno,
|
|
9
|
-
env: ctx.env,
|
|
10
|
-
...opts.permissionRelay ? { permissionRelay: true } : {}
|
|
11
|
-
});
|
|
12
|
-
const connectOpts = (ctx, autoStart) => ({
|
|
13
|
-
kind: "cli",
|
|
14
|
-
dataDir: ctx.dataDir,
|
|
15
|
-
autoStart,
|
|
16
|
-
...ctx.socketPath ? { socketPath: ctx.socketPath } : {},
|
|
17
|
-
...ctx.daemonEntry ? { daemonEntry: ctx.daemonEntry } : {}
|
|
18
|
-
});
|
|
1
|
+
import { nt as isPermissionHook } from "./dist-M9Gs7e_K.js";
|
|
2
|
+
import { n as connectOpts } from "./ctx-CDLE-2f2.js";
|
|
19
3
|
// src/hook.ts
|
|
20
4
|
/**
|
|
21
5
|
* Time allowed for the hook's own process-table query. Only the fallback runs it: the usual way to
|
|
@@ -102,4 +86,4 @@ async function runHook(ctx, argv) {
|
|
|
102
86
|
}
|
|
103
87
|
return code;
|
|
104
88
|
}
|
|
105
|
-
export {
|
|
89
|
+
export { runHook as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as runHookEntry } from "./hook-entry-CvmuMVWY.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { homedir } from "node:os";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
-
import { Et as readAncestry, Gt as startTurnContext, M as dataDir, R as dropFromList, V as endTurnContinuation, Vt as sameJson, W as existedBefore, et as isObject, ot as loadJson, pt as parseCliVersion, vt as pendingHookContext, wt as putInList, z as editJson } from "./dist-
|
|
4
|
-
import { a as Za, n as opencodeAdapter, o as cs, r as codexAdapter, s as claudeAdapter } from "./dist-
|
|
3
|
+
import { Et as readAncestry, Gt as startTurnContext, M as dataDir, R as dropFromList, V as endTurnContinuation, Vt as sameJson, W as existedBefore, et as isObject, ot as loadJson, pt as parseCliVersion, vt as pendingHookContext, wt as putInList, z as editJson } from "./dist-M9Gs7e_K.js";
|
|
4
|
+
import { a as Za, n as opencodeAdapter, o as cs, r as codexAdapter, s as claudeAdapter } from "./dist-B7znzc5U.js";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
6
|
-
import { n as connect } from "./dist-
|
|
7
|
-
import { t as runHook } from "./hook-
|
|
6
|
+
import { n as connect } from "./dist-B3mH66Y1.js";
|
|
7
|
+
import { t as runHook } from "./hook-W7tV131z.js";
|
|
8
8
|
// ../adapters/antigravity/dist/index.js
|
|
9
9
|
const SERVER_NAME$3 = "conveno";
|
|
10
10
|
/** The name of our entry in hooks.json. Antigravity keys hooks by an arbitrary name. */
|