@deksden-com/dd-flow-cli 0.9.0-beta.134 → 0.9.0-beta.136
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/CHANGELOG.md +12 -0
- package/README.md +33 -0
- package/dist/build-info.json +7 -7
- package/dist/cli/command-inputs.js +1 -0
- package/dist/cli/command-metadata.js +144 -0
- package/dist/cli/command-option-descriptions.js +186 -0
- package/dist/cli/completion-cli.js +70 -0
- package/dist/cli/completion.js +57 -0
- package/dist/cli/error-output.js +52 -0
- package/dist/cli/executor-onboarding.js +71 -0
- package/dist/cli/harnesses.js +84 -0
- package/dist/cli/models.js +39 -0
- package/dist/cli/operator-profiles.js +61 -0
- package/dist/cli/output-options.js +35 -0
- package/dist/cli/response-file.js +69 -0
- package/dist/cli/run-cli.js +5 -0
- package/dist/cli/setup.js +147 -0
- package/dist/harness-runtime/OPENCODE-LICENSE.txt +24 -0
- package/dist/harness-runtime/bin/dd-opencode.mjs +1 -1
- package/dist/harness-runtime/lib/codex-capacity-policy.mjs +13 -0
- package/dist/harness-runtime/lib/dd-opencode-daemon.mjs +193 -39
- package/dist/harness-runtime/lib/dd-opencode.mjs +295 -100
- package/dist/harness-runtime/lib/delegation-instructions.mjs +3 -3
- package/dist/harness-runtime/lib/managed-daemon.mjs +1 -1
- package/dist/harness-runtime/lib/native-hook-command.d.mts +2 -2
- package/dist/harness-runtime/lib/native-hook-command.mjs +4 -4
- package/dist/harness-runtime/lib/opencode-plugin.mjs +60 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-1y4a697q.js +81 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-2ny4vxct.js +92 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-6mptkzbc.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-7x67cf1q.js +52 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9rqn6x4v.js +16 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9vdz0zwn.js +1661 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ecs5ftka.js +1466 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-frbwqjmf.js +145 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gne7h7mq.js +50 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gx9wnkzr.js +105 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-m2eywc8w.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-nwcpakzx.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-q4g3afnw.js +623 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-qav6mfdz.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-sxt88q69.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-t1xa31vm.js +39 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ve4aws36.js +103 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vmytr4q8.js +4 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vt9jbch8.js +36 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vyas3vgt.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-wjyeq25y.js +30 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-xgnj2w4v.js +20 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-y2etg5bs.js +9 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ydhz1zrh.js +238 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-z6qdwcsf.js +62 -0
- package/dist/harness-runtime/vendor/opencode-client/contract.d.ts +1 -0
- package/dist/harness-runtime/vendor/opencode-client/contract.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api/api.d.ts +2806 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api.d.ts +4 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/client.d.ts +2530 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/client.js +15 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.d.ts +7 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.d.ts +2529 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.js +8 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.d.ts +2 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/index.d.ts +35 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/index.js +75 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/rpc.d.ts +20 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/rpc.js +11 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/service.d.ts +90 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/service.js +187 -0
- package/dist/harness-runtime/vendor/opencode-client/package.json +84 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/api.d.ts +21 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/client.d.ts +252 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/client.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.d.ts +8 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.d.ts +259 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.js +7 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.d.ts +3 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.js +79 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.d.ts +8932 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.js +70 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/index.d.ts +6 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/index.js +83 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/rpc.d.ts +32 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/rpc.js +7 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/service.d.ts +24 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/service.js +187 -0
- package/dist/harness-runtime/vendor/opencode-client/pty-handoff.d.ts +12 -0
- package/dist/harness-runtime/vendor/opencode-client/pty-handoff.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.d.ts +20 -0
- package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/service-contender.d.ts +37 -0
- package/dist/harness-runtime/vendor/opencode-client/service-contender.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/service-probe.d.ts +70 -0
- package/dist/harness-runtime/vendor/opencode-client/service-probe.js +16 -0
- package/dist/harness-runtime/vendor/opencode-client/service-timing.d.ts +12 -0
- package/dist/harness-runtime/vendor/opencode-client/service-timing.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/service-version.d.ts +2 -0
- package/dist/harness-runtime/vendor/opencode-client/service-version.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/service.d.ts +52 -0
- package/dist/harness-runtime/vendor/opencode-client/service.js +1 -0
- package/dist/harness-runtime/vendor/opencode-client/shared-events.d.ts +11 -0
- package/dist/harness-runtime/vendor/opencode-client/shared-events.js +8 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/connection.d.ts +37 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/connection.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/data.d.ts +211 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/data.js +18 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/index.d.ts +3 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/index.js +32 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/pty.d.ts +22 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/pty.js +8 -0
- package/dist/harness-runtime/vendor/opencode-plugin.mjs +3 -0
- package/dist/services/cli-operation-classifier.js +4 -0
- package/dist/services/cli-upgrade-allowlist.js +27 -0
- package/dist/services/discovery/agy-discovery.js +2 -0
- package/dist/services/discovery/codex-discovery.js +2 -0
- package/dist/services/discovery/droid-discovery.js +2 -0
- package/dist/services/discovery/grok-discovery.js +2 -0
- package/dist/services/discovery/opencode-discovery.js +2 -0
- package/dist/services/discovery/static.js +31 -0
- package/dist/services/discovery/zcode-discovery.js +2 -0
- package/dist/services/engines.js +23 -25
- package/dist/services/eval-snapshots.js +1 -1
- package/dist/services/executor-onboarding.js +56 -0
- package/dist/services/external-work-launch.js +1 -1
- package/dist/services/harness-discovery.js +29 -0
- package/dist/services/harness-doctor.js +75 -0
- package/dist/services/harness-probe-effects.js +51 -0
- package/dist/services/harness-version-probe.js +100 -0
- package/dist/services/hooks.js +1 -1
- package/dist/services/hybrid-contracts.js +455 -0
- package/dist/services/installation-lock.js +92 -0
- package/dist/services/managed-processes.js +30 -0
- package/dist/services/merge-server.js +1 -1
- package/dist/services/model-catalog.js +109 -0
- package/dist/services/model-discovery.js +46 -0
- package/dist/services/operator-profiles.js +236 -0
- package/dist/services/release-archive-producer.js +52 -0
- package/dist/services/release-archive.js +143 -0
- package/dist/services/release-cache.js +142 -0
- package/dist/services/release-compatibility.js +18 -0
- package/dist/services/release-download.js +67 -0
- package/dist/services/release-envelope.js +104 -0
- package/dist/services/release-manifest.js +45 -0
- package/dist/services/release-payload.js +114 -0
- package/dist/services/release-producer.js +63 -0
- package/dist/services/release-provenance.js +160 -0
- package/dist/services/release-registry.js +66 -0
- package/dist/services/release-source.js +194 -0
- package/dist/services/run-controller-recovery.js +2 -2
- package/dist/services/run-controller.js +3 -2
- package/dist/services/run-health.js +149 -0
- package/dist/services/runs.js +61 -13
- package/dist/services/setup.js +377 -0
- package/dist/storage/database.js +18 -3
- package/dist/storage/writer-contract.js +8 -0
- package/package.json +4 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isRpcError2,
|
|
3
|
+
isRpcInternalError2
|
|
4
|
+
} from "./service-probe-vt9jbch8.js";
|
|
5
|
+
|
|
6
|
+
// src/promise/rpc.ts
|
|
7
|
+
function makeRpc2(raw, events) {
|
|
8
|
+
return (definition) => {
|
|
9
|
+
const subscribe = (name, options) => {
|
|
10
|
+
if (!Object.hasOwn(definition.events, name))
|
|
11
|
+
throw new Error(`Unknown RPC event: ${definition.id}.${name}`);
|
|
12
|
+
const type = eventType(definition, name);
|
|
13
|
+
return {
|
|
14
|
+
[Symbol.asyncIterator]() {
|
|
15
|
+
const controller = new AbortController;
|
|
16
|
+
const signal = options?.signal ? AbortSignal.any([controller.signal, options.signal]) : controller.signal;
|
|
17
|
+
const iterator = async function* () {
|
|
18
|
+
try {
|
|
19
|
+
for await (const published of events.subscribe({ signal })) {
|
|
20
|
+
if (signal.aborted)
|
|
21
|
+
return;
|
|
22
|
+
if (published.type !== type)
|
|
23
|
+
continue;
|
|
24
|
+
yield published;
|
|
25
|
+
}
|
|
26
|
+
} catch (error) {
|
|
27
|
+
if (!signal.aborted)
|
|
28
|
+
throw error;
|
|
29
|
+
} finally {
|
|
30
|
+
controller.abort();
|
|
31
|
+
}
|
|
32
|
+
}();
|
|
33
|
+
return {
|
|
34
|
+
next: () => iterator.next(),
|
|
35
|
+
return: () => {
|
|
36
|
+
controller.abort();
|
|
37
|
+
return iterator.return();
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
return Object.assign(Object.fromEntries(Object.keys(definition.methods).map((name) => [
|
|
44
|
+
name,
|
|
45
|
+
async (input, options) => {
|
|
46
|
+
try {
|
|
47
|
+
const result = await raw.rpc.call({
|
|
48
|
+
rpcID: definition.id,
|
|
49
|
+
method: name,
|
|
50
|
+
input,
|
|
51
|
+
location: options?.location
|
|
52
|
+
}, { signal: options?.signal, headers: options?.headers });
|
|
53
|
+
return result.output;
|
|
54
|
+
} catch (error) {
|
|
55
|
+
if (!isRpcError2(error) && !isRpcInternalError2(error))
|
|
56
|
+
throw error;
|
|
57
|
+
throw error.data === undefined ? { type: error.type, message: error.message } : { type: error.type, message: error.message, data: error.data };
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
])), {
|
|
61
|
+
events: {
|
|
62
|
+
subscribe,
|
|
63
|
+
on: (name, handler, options) => {
|
|
64
|
+
const controller = new AbortController;
|
|
65
|
+
const signal = options?.signal ? AbortSignal.any([controller.signal, options.signal]) : controller.signal;
|
|
66
|
+
const source = subscribe(name, { signal });
|
|
67
|
+
(async () => {
|
|
68
|
+
for await (const event of source)
|
|
69
|
+
await handler(event);
|
|
70
|
+
})().catch((error) => console.error(error));
|
|
71
|
+
return () => controller.abort();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function eventType(definition, name) {
|
|
78
|
+
return `rpc.${definition.id}.${name}`;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { makeRpc2 };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultEnsureTiming2
|
|
3
|
+
} from "./service-probe-xgnj2w4v.js";
|
|
4
|
+
import {
|
|
5
|
+
matchesVersion2
|
|
6
|
+
} from "./service-probe-sxt88q69.js";
|
|
7
|
+
|
|
8
|
+
// src/service-probe.ts
|
|
9
|
+
import { homedir } from "node:os";
|
|
10
|
+
import { join } from "node:path";
|
|
11
|
+
function decide2(service, options) {
|
|
12
|
+
if (!matchesVersion2(service.version, options))
|
|
13
|
+
return { _tag: "replace", pty: service.state === "ready" ? "handoff" : "clear" };
|
|
14
|
+
if (!service.compatible)
|
|
15
|
+
return fail("Background service uses an incompatible health protocol. Update this client or explicitly restart the service.");
|
|
16
|
+
if (service.state === "ready")
|
|
17
|
+
return { _tag: "reuse" };
|
|
18
|
+
if (service.state === "failed")
|
|
19
|
+
return fail("Background service failed to start");
|
|
20
|
+
return { _tag: "wait" };
|
|
21
|
+
}
|
|
22
|
+
function fail(message) {
|
|
23
|
+
return { _tag: "fail", error: new Error(message) };
|
|
24
|
+
}
|
|
25
|
+
function fallback2() {
|
|
26
|
+
return join(process.env["XDG_STATE_HOME"] ?? join(homedir(), ".local", "state"), "opencode", "service.json");
|
|
27
|
+
}
|
|
28
|
+
function same2(left, right) {
|
|
29
|
+
return left.id === right.id && left.version === right.version && left.url === right.url && left.pid === right.pid;
|
|
30
|
+
}
|
|
31
|
+
async function probeResult2(info, timeout = defaultEnsureTiming2.requestTimeout) {
|
|
32
|
+
const endpoint = {
|
|
33
|
+
url: info.url,
|
|
34
|
+
auth: info.password === undefined ? undefined : { type: "basic", username: "opencode", password: info.password }
|
|
35
|
+
};
|
|
36
|
+
const signal = AbortSignal.timeout(timeout);
|
|
37
|
+
const result = await fetch(new URL("/api/info", info.url), { headers: headers2(endpoint), signal }).then(async (response) => ({
|
|
38
|
+
response,
|
|
39
|
+
body: response.status === 404 ? undefined : await response.json()
|
|
40
|
+
})).catch(() => {
|
|
41
|
+
return;
|
|
42
|
+
});
|
|
43
|
+
if (result === undefined)
|
|
44
|
+
return { service: undefined, timedOut: signal.aborted };
|
|
45
|
+
const response = result.response;
|
|
46
|
+
if (response.status === 404)
|
|
47
|
+
return {
|
|
48
|
+
service: {
|
|
49
|
+
info,
|
|
50
|
+
endpoint,
|
|
51
|
+
version: info.version,
|
|
52
|
+
state: "ready",
|
|
53
|
+
compatible: false
|
|
54
|
+
},
|
|
55
|
+
timedOut: false
|
|
56
|
+
};
|
|
57
|
+
const serverInfo = decodeInfo(result.body);
|
|
58
|
+
if (serverInfo === undefined)
|
|
59
|
+
return { service: undefined, timedOut: false };
|
|
60
|
+
if (serverInfo.pid !== info.pid)
|
|
61
|
+
return { service: undefined, timedOut: false };
|
|
62
|
+
if (info.version !== undefined && serverInfo.version !== info.version)
|
|
63
|
+
return { service: undefined, timedOut: false };
|
|
64
|
+
return {
|
|
65
|
+
service: {
|
|
66
|
+
info,
|
|
67
|
+
endpoint,
|
|
68
|
+
version: serverInfo.version,
|
|
69
|
+
state: response.ok ? "ready" : response.status === 500 ? "failed" : "waiting",
|
|
70
|
+
compatible: true
|
|
71
|
+
},
|
|
72
|
+
timedOut: false
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function headers2(endpoint) {
|
|
76
|
+
if (endpoint.auth === undefined)
|
|
77
|
+
return;
|
|
78
|
+
return {
|
|
79
|
+
authorization: "Basic " + Buffer.from(endpoint.auth.username + ":" + endpoint.auth.password).toString("base64")
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function decodeInfo(input) {
|
|
83
|
+
if (typeof input !== "object" || input === null)
|
|
84
|
+
return;
|
|
85
|
+
if (!("version" in input) || typeof input.version !== "string")
|
|
86
|
+
return;
|
|
87
|
+
if (!("pid" in input) || typeof input.pid !== "number" || !Number.isInteger(input.pid) || input.pid < 0)
|
|
88
|
+
return;
|
|
89
|
+
return { version: input.version, pid: input.pid };
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { decide2, fallback2, same2, probeResult2, headers2 };
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
make7
|
|
3
|
+
} from "./service-probe-frbwqjmf.js";
|
|
4
|
+
import {
|
|
5
|
+
ClientError2
|
|
6
|
+
} from "./service-probe-y2etg5bs.js";
|
|
7
|
+
import {
|
|
8
|
+
make3
|
|
9
|
+
} from "./service-probe-q4g3afnw.js";
|
|
10
|
+
import {
|
|
11
|
+
make4,
|
|
12
|
+
aborted2
|
|
13
|
+
} from "./service-probe-z6qdwcsf.js";
|
|
14
|
+
import {
|
|
15
|
+
__export
|
|
16
|
+
} from "./service-probe-9rqn6x4v.js";
|
|
17
|
+
|
|
18
|
+
// src/effect/client.ts
|
|
19
|
+
var exports_client = {};
|
|
20
|
+
__export(exports_client, {
|
|
21
|
+
OpenCode: () => exports_client,
|
|
22
|
+
make: () => make2
|
|
23
|
+
});
|
|
24
|
+
import { Cause, Context, Effect, Stream } from "effect";
|
|
25
|
+
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
26
|
+
var CurrentHeaders = Context.Reference("@opencode/client/effect/rpc/headers", {
|
|
27
|
+
defaultValue: () => {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var make2 = Effect.fn("OpenCode.make")(function* (options) {
|
|
32
|
+
const httpClient = yield* HttpClient.HttpClient;
|
|
33
|
+
const raw = yield* make3(options).pipe(Effect.provideService(HttpClient.HttpClient, HttpClient.mapRequestEffect(httpClient, (request) => Effect.map(CurrentHeaders, (headers) => headers ? HttpClientRequest.setHeaders(request, new Headers(headers)) : request))));
|
|
34
|
+
const context = yield* Effect.context();
|
|
35
|
+
const native = raw.event.subscribe();
|
|
36
|
+
|
|
37
|
+
class EventFailure {
|
|
38
|
+
cause;
|
|
39
|
+
constructor(cause) {
|
|
40
|
+
this.cause = cause;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const shared = make7((signal) => Stream.toAsyncIterableWith(native.pipe(Stream.interruptWhen(aborted2(signal)), Stream.catchCause((cause) => Stream.fail(new EventFailure(cause)))), context));
|
|
44
|
+
const subscribe = () => Stream.fromAsyncIterable(shared.subscribe(), (error) => error).pipe(Stream.catch((error) => Stream.failCause(error instanceof EventFailure ? error.cause : Cause.fail(new ClientError2({ cause: error })))));
|
|
45
|
+
return {
|
|
46
|
+
...raw,
|
|
47
|
+
event: { ...raw.event, subscribe },
|
|
48
|
+
rpc: Object.assign(make4((input, options) => raw.rpc.call(input).pipe(Effect.provideService(CurrentHeaders, options?.headers)), subscribe), raw.rpc)
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export { make2, exports_client };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __returnValue = (v) => v;
|
|
3
|
+
function __exportSetter(name, newValue) {
|
|
4
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
5
|
+
}
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
set: __exportSetter.bind(all, name)
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { __export };
|