@dual-os/linear-api 6.0.4 → 6.0.5
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/Runner.js +229 -463
- package/Runner.js.map +5 -9
- package/bundle-inventory.json +1 -1
- package/dist/auth.js +4 -4
- package/dist/channel/internal/webhook.js +3 -3
- package/dist/channel/linear-app-client.js +3 -3
- package/dist/channel/linear-app-definition.js +3 -3
- package/dist/channel/linear-app.js +6 -6
- package/dist/generated/http.js +5 -5
- package/dist/generated/operations.js +6 -6
- package/dist/generated/plugin.js +8 -8
- package/dist/plugin.js +11 -11
- package/dist/triggers.js +7 -7
- package/dual-plugin.json +1 -1
- package/package.json +1 -1
- package/{plugin-srg9rdjf.js → plugin-03c4ezxj.js} +2 -2
- package/{plugin-v0kgp19h.js → plugin-0pkez622.js} +17 -17
- package/{plugin-v0kgp19h.js.map → plugin-0pkez622.js.map} +3 -3
- package/{plugin-dbxxf9k5.js → plugin-292sech3.js} +3 -3
- package/{plugin-xv11dhcc.js → plugin-5d2kw2pq.js} +5 -5
- package/{plugin-d4a2ytg0.js → plugin-9vdeenc2.js} +179 -227
- package/{plugin-d4a2ytg0.js.map → plugin-9vdeenc2.js.map} +4 -5
- package/{plugin-15tbf6dq.js → plugin-aaq7c99y.js} +2 -2
- package/{plugin-bcdkw9ac.js → plugin-acwx0zjc.js} +5 -5
- package/{plugin-9w5999vc.js → plugin-c5xtmfce.js} +3 -3
- package/{plugin-5bqv66ke.js → plugin-evq9z31a.js} +3 -3
- package/{plugin-s3mapcpn.js → plugin-jgac4d6v.js} +3 -3
- package/{plugin-e503g25g.js → plugin-pbx41zqr.js} +9 -9
- package/{plugin-e503g25g.js.map → plugin-pbx41zqr.js.map} +2 -2
- /package/licenses/{@dual-os_sdk@0.8.1 → @dual-os_sdk@0.9.0}/LICENSE +0 -0
- /package/{plugin-srg9rdjf.js.map → plugin-03c4ezxj.js.map} +0 -0
- /package/{plugin-dbxxf9k5.js.map → plugin-292sech3.js.map} +0 -0
- /package/{plugin-xv11dhcc.js.map → plugin-5d2kw2pq.js.map} +0 -0
- /package/{plugin-15tbf6dq.js.map → plugin-aaq7c99y.js.map} +0 -0
- /package/{plugin-bcdkw9ac.js.map → plugin-acwx0zjc.js.map} +0 -0
- /package/{plugin-9w5999vc.js.map → plugin-c5xtmfce.js.map} +0 -0
- /package/{plugin-5bqv66ke.js.map → plugin-evq9z31a.js.map} +0 -0
- /package/{plugin-s3mapcpn.js.map → plugin-jgac4d6v.js.map} +0 -0
package/bundle-inventory.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"format":1,"toolchain":{"bun":"1.4.2","lockfile_sha512":"
|
|
1
|
+
{"format":1,"toolchain":{"bun":"1.4.2","lockfile_sha512":"88aca23c582bb0bb9e5f5392e9c84ccd348597966769329c39132006ff7be9ae3bfa1b468c1b0e6baa678fed13d690b8421bdd1a6bffb63aaad3c09154c72aae"},"packages":[{"name":"@dual-os/sdk","version":"0.9.0","license":"UNLICENSED","licenses":["licenses/@dual-os_sdk@0.9.0/LICENSE"]},{"name":"@effect/platform-node-shared","version":"4.1.2","license":"MIT","licenses":["licenses/@effect_platform-node-shared@4.1.2/LICENSE"]},{"name":"@effect/platform-node","version":"4.1.2","license":"MIT","licenses":["licenses/@effect_platform-node@4.1.2/LICENSE"]},{"name":"effect","version":"4.1.2","license":"MIT","licenses":["licenses/effect@4.1.2/LICENSE"]}]}
|
package/dist/auth.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
auth_exports2,
|
|
4
4
|
authMethods2,
|
|
5
5
|
authorize2
|
|
6
|
-
} from "../plugin-
|
|
6
|
+
} from "../plugin-c5xtmfce.js";
|
|
7
7
|
import"../plugin-2jdfj02n.js";
|
|
8
|
-
import"../plugin-
|
|
9
|
-
import"../plugin-
|
|
10
|
-
import"../plugin-
|
|
8
|
+
import"../plugin-aaq7c99y.js";
|
|
9
|
+
import"../plugin-0pkez622.js";
|
|
10
|
+
import"../plugin-9vdeenc2.js";
|
|
11
11
|
export {
|
|
12
12
|
auth_exports2 as Auth,
|
|
13
13
|
authMethods2 as authMethods,
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
commentOf2,
|
|
6
6
|
issueOf2,
|
|
7
7
|
webhookEvents2
|
|
8
|
-
} from "../../../plugin-
|
|
9
|
-
import"../../../plugin-
|
|
10
|
-
import"../../../plugin-
|
|
8
|
+
} from "../../../plugin-pbx41zqr.js";
|
|
9
|
+
import"../../../plugin-0pkez622.js";
|
|
10
|
+
import"../../../plugin-9vdeenc2.js";
|
|
11
11
|
export {
|
|
12
12
|
commentKey2 as commentKey,
|
|
13
13
|
commentOf2 as commentOf,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ActivityContent2,
|
|
4
4
|
LinearAppClient2
|
|
5
|
-
} from "../../plugin-
|
|
6
|
-
import"../../plugin-
|
|
7
|
-
import"../../plugin-
|
|
5
|
+
} from "../../plugin-03c4ezxj.js";
|
|
6
|
+
import"../../plugin-0pkez622.js";
|
|
7
|
+
import"../../plugin-9vdeenc2.js";
|
|
8
8
|
export {
|
|
9
9
|
ActivityContent2 as ActivityContent,
|
|
10
10
|
LinearAppClient2 as LinearAppClient
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
agentSessionDefinition2,
|
|
5
5
|
agentSessionChannel2,
|
|
6
6
|
linearChannelBinding2
|
|
7
|
-
} from "../../plugin-
|
|
8
|
-
import"../../plugin-
|
|
9
|
-
import"../../plugin-
|
|
7
|
+
} from "../../plugin-aaq7c99y.js";
|
|
8
|
+
import"../../plugin-0pkez622.js";
|
|
9
|
+
import"../../plugin-9vdeenc2.js";
|
|
10
10
|
export {
|
|
11
11
|
agentSessionChannel2 as agentSessionChannel,
|
|
12
12
|
agentSessionDefinition2 as agentSessionDefinition,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
linearChannelLayer2
|
|
4
|
-
} from "../../plugin-
|
|
5
|
-
import"../../plugin-
|
|
6
|
-
import"../../plugin-
|
|
7
|
-
import"../../plugin-
|
|
8
|
-
import"../../plugin-
|
|
9
|
-
import"../../plugin-
|
|
4
|
+
} from "../../plugin-5d2kw2pq.js";
|
|
5
|
+
import"../../plugin-pbx41zqr.js";
|
|
6
|
+
import"../../plugin-03c4ezxj.js";
|
|
7
|
+
import"../../plugin-aaq7c99y.js";
|
|
8
|
+
import"../../plugin-0pkez622.js";
|
|
9
|
+
import"../../plugin-9vdeenc2.js";
|
|
10
10
|
export {
|
|
11
11
|
linearChannelLayer2 as linearChannelLayer
|
|
12
12
|
};
|
package/dist/generated/http.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
graphql2,
|
|
8
8
|
mcp2,
|
|
9
9
|
variants2
|
|
10
|
-
} from "../../plugin-
|
|
11
|
-
import"../../plugin-
|
|
10
|
+
} from "../../plugin-292sech3.js";
|
|
11
|
+
import"../../plugin-c5xtmfce.js";
|
|
12
12
|
import"../../plugin-2jdfj02n.js";
|
|
13
|
-
import"../../plugin-
|
|
13
|
+
import"../../plugin-aaq7c99y.js";
|
|
14
14
|
import {
|
|
15
15
|
File2,
|
|
16
16
|
FileFromBase642,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
form2,
|
|
32
32
|
continuation2,
|
|
33
33
|
preauthenticated2
|
|
34
|
-
} from "../../plugin-
|
|
35
|
-
import"../../plugin-
|
|
34
|
+
} from "../../plugin-0pkez622.js";
|
|
35
|
+
import"../../plugin-9vdeenc2.js";
|
|
36
36
|
export {
|
|
37
37
|
Base64FromFile2 as Base64FromFile,
|
|
38
38
|
Base64UrlFromFile2 as Base64UrlFromFile,
|
|
@@ -1813,13 +1813,13 @@ import {
|
|
|
1813
1813
|
query_webhooks2,
|
|
1814
1814
|
query_workflowState2,
|
|
1815
1815
|
query_workflowStates2
|
|
1816
|
-
} from "../../plugin-
|
|
1817
|
-
import"../../plugin-
|
|
1818
|
-
import"../../plugin-
|
|
1816
|
+
} from "../../plugin-evq9z31a.js";
|
|
1817
|
+
import"../../plugin-292sech3.js";
|
|
1818
|
+
import"../../plugin-c5xtmfce.js";
|
|
1819
1819
|
import"../../plugin-2jdfj02n.js";
|
|
1820
|
-
import"../../plugin-
|
|
1821
|
-
import"../../plugin-
|
|
1822
|
-
import"../../plugin-
|
|
1820
|
+
import"../../plugin-aaq7c99y.js";
|
|
1821
|
+
import"../../plugin-0pkez622.js";
|
|
1822
|
+
import"../../plugin-9vdeenc2.js";
|
|
1823
1823
|
export {
|
|
1824
1824
|
AccessKeyRelease2 as AccessKeyRelease,
|
|
1825
1825
|
AccessKeyReleasePayloadDetail2 as AccessKeyReleasePayloadDetail,
|
package/dist/generated/plugin.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
linearApiPluginBase2,
|
|
4
4
|
linearApiPlugin2
|
|
5
|
-
} from "../../plugin-
|
|
6
|
-
import"../../plugin-
|
|
7
|
-
import"../../plugin-
|
|
8
|
-
import"../../plugin-
|
|
9
|
-
import"../../plugin-
|
|
5
|
+
} from "../../plugin-acwx0zjc.js";
|
|
6
|
+
import"../../plugin-jgac4d6v.js";
|
|
7
|
+
import"../../plugin-evq9z31a.js";
|
|
8
|
+
import"../../plugin-292sech3.js";
|
|
9
|
+
import"../../plugin-c5xtmfce.js";
|
|
10
10
|
import"../../plugin-2jdfj02n.js";
|
|
11
|
-
import"../../plugin-
|
|
12
|
-
import"../../plugin-
|
|
13
|
-
import"../../plugin-
|
|
11
|
+
import"../../plugin-aaq7c99y.js";
|
|
12
|
+
import"../../plugin-0pkez622.js";
|
|
13
|
+
import"../../plugin-9vdeenc2.js";
|
|
14
14
|
export {
|
|
15
15
|
linearApiPlugin2 as linearApiPlugin,
|
|
16
16
|
linearApiPluginBase2 as linearApiPluginBase
|
package/dist/plugin.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
Plugin_exports
|
|
4
|
-
} from "../plugin-
|
|
5
|
-
import"../plugin-
|
|
4
|
+
} from "../plugin-9vdeenc2.js";
|
|
5
|
+
import"../plugin-0pkez622.js";
|
|
6
6
|
import {
|
|
7
7
|
agentSessionChannel2
|
|
8
|
-
} from "../plugin-
|
|
9
|
-
import"../plugin-
|
|
10
|
-
import"../plugin-
|
|
8
|
+
} from "../plugin-aaq7c99y.js";
|
|
9
|
+
import"../plugin-pbx41zqr.js";
|
|
10
|
+
import"../plugin-03c4ezxj.js";
|
|
11
11
|
import {
|
|
12
12
|
linearChannelLayer2
|
|
13
|
-
} from "../plugin-
|
|
13
|
+
} from "../plugin-5d2kw2pq.js";
|
|
14
14
|
import"../plugin-2jdfj02n.js";
|
|
15
|
-
import"../plugin-
|
|
16
|
-
import"../plugin-
|
|
17
|
-
import"../plugin-
|
|
18
|
-
import"../plugin-
|
|
15
|
+
import"../plugin-c5xtmfce.js";
|
|
16
|
+
import"../plugin-292sech3.js";
|
|
17
|
+
import"../plugin-evq9z31a.js";
|
|
18
|
+
import"../plugin-jgac4d6v.js";
|
|
19
19
|
import {
|
|
20
20
|
linearApiPluginBase2,
|
|
21
21
|
linearApiPlugin2
|
|
22
|
-
} from "../plugin-
|
|
22
|
+
} from "../plugin-acwx0zjc.js";
|
|
23
23
|
|
|
24
24
|
// dist/plugin.js
|
|
25
25
|
var linearApiPluginBase = linearApiPluginBase2.pipe(Plugin_exports.withAgentChannel(agentSessionChannel2));
|
package/dist/triggers.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
triggers2,
|
|
4
4
|
handlers2
|
|
5
|
-
} from "../plugin-
|
|
6
|
-
import"../plugin-
|
|
7
|
-
import"../plugin-
|
|
8
|
-
import"../plugin-
|
|
5
|
+
} from "../plugin-jgac4d6v.js";
|
|
6
|
+
import"../plugin-evq9z31a.js";
|
|
7
|
+
import"../plugin-292sech3.js";
|
|
8
|
+
import"../plugin-c5xtmfce.js";
|
|
9
9
|
import"../plugin-2jdfj02n.js";
|
|
10
|
-
import"../plugin-
|
|
11
|
-
import"../plugin-
|
|
12
|
-
import"../plugin-
|
|
10
|
+
import"../plugin-aaq7c99y.js";
|
|
11
|
+
import"../plugin-0pkez622.js";
|
|
12
|
+
import"../plugin-9vdeenc2.js";
|
|
13
13
|
export {
|
|
14
14
|
handlers2 as handlers,
|
|
15
15
|
triggers2 as triggers
|
package/dual-plugin.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"entrypoint":"dist/plugin.js","export":"linearApiPlugin","format":2,"plugin":"linear-api","runner":"Runner.js","sdk_version":"0.
|
|
1
|
+
{"entrypoint":"dist/plugin.js","export":"linearApiPlugin","format":2,"plugin":"linear-api","runner":"Runner.js","sdk_version":"0.9.0","version":"6.0.5"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@dual-os/linear-api","version":"6.0.
|
|
1
|
+
{"name":"@dual-os/linear-api","version":"6.0.5","license":"UNLICENSED","exports":{".":"./dist/plugin.js","./definition":"./dist/plugin.js","./executable":"./dist/plugin.js","./plugin.json":"./plugin.json","./package.json":"./package.json"},"files":["**/*"],"type":"module","scripts":{},"dependencies":{},"devDependencies":{},"dual":{"plugin":{"entrypoint":"dist/plugin.js","export":"linearApiPlugin","format":2,"plugin":"linear-api","runner":"Runner.js","sdk_version":"0.9.0","version":"6.0.5","assets":["dist/_virtual/_rolldown/runtime.js","dist/auth.d.ts","dist/auth.d.ts.map","dist/auth.js","dist/auth.js.map","dist/channel/internal/webhook.d.ts","dist/channel/internal/webhook.d.ts.map","dist/channel/internal/webhook.js","dist/channel/internal/webhook.js.map","dist/channel/linear-app-client.d.ts","dist/channel/linear-app-client.d.ts.map","dist/channel/linear-app-client.js","dist/channel/linear-app-client.js.map","dist/channel/linear-app-definition.d.ts","dist/channel/linear-app-definition.d.ts.map","dist/channel/linear-app-definition.js","dist/channel/linear-app-definition.js.map","dist/channel/linear-app.d.ts","dist/channel/linear-app.d.ts.map","dist/channel/linear-app.js","dist/channel/linear-app.js.map","dist/generated/http.d.ts","dist/generated/http.d.ts.map","dist/generated/http.js","dist/generated/http.js.map","dist/generated/operations.d.ts","dist/generated/operations.d.ts.map","dist/generated/operations.js","dist/generated/operations.js.map","dist/generated/plugin.d.ts","dist/generated/plugin.d.ts.map","dist/generated/plugin.js","dist/generated/plugin.js.map","dist/plugin.d.ts","dist/plugin.d.ts.map","dist/plugin.js","dist/plugin.js.map","dist/triggers.d.ts","dist/triggers.d.ts.map","dist/triggers.js","dist/triggers.js.map","plugin.json","package.json"]}},"peerDependencies":{},"optionalDependencies":{}}
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
schemaBodyJson,
|
|
55
55
|
HttpClient,
|
|
56
56
|
AgentChannel_exports
|
|
57
|
-
} from "./plugin-
|
|
57
|
+
} from "./plugin-9vdeenc2.js";
|
|
58
58
|
|
|
59
59
|
// dist/channel/linear-app-client.js
|
|
60
60
|
var endpoint = "https://api.linear.app/graphql";
|
|
@@ -241,4 +241,4 @@ var LinearAppClient2 = class extends Service()("@dual-os/linear-app/linear-app-c
|
|
|
241
241
|
export { ActivityContent2, LinearAppClient2 };
|
|
242
242
|
|
|
243
243
|
//# debugId=293D3781D326E0F964756E2164756E21
|
|
244
|
-
//# sourceMappingURL=plugin-
|
|
244
|
+
//# sourceMappingURL=plugin-03c4ezxj.js.map
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
sort,
|
|
49
49
|
zip,
|
|
50
50
|
contains,
|
|
51
|
-
|
|
51
|
+
empty,
|
|
52
52
|
map3,
|
|
53
53
|
flatMap2,
|
|
54
54
|
filterMap,
|
|
@@ -105,10 +105,10 @@ import {
|
|
|
105
105
|
toEpochMillis,
|
|
106
106
|
formatIso,
|
|
107
107
|
formatIsoOffset,
|
|
108
|
+
empty2,
|
|
108
109
|
empty3,
|
|
109
|
-
empty4,
|
|
110
110
|
InvalidValue,
|
|
111
|
-
|
|
111
|
+
compose,
|
|
112
112
|
transform,
|
|
113
113
|
transformEffect,
|
|
114
114
|
is,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
runCollect,
|
|
154
154
|
runHead,
|
|
155
155
|
__exportAll3,
|
|
156
|
-
|
|
156
|
+
empty5,
|
|
157
157
|
HttpClientError,
|
|
158
158
|
InvalidUrlError,
|
|
159
159
|
makeWith,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
File3,
|
|
185
185
|
read,
|
|
186
186
|
write
|
|
187
|
-
} from "./plugin-
|
|
187
|
+
} from "./plugin-9vdeenc2.js";
|
|
188
188
|
|
|
189
189
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/random.js
|
|
190
190
|
var Random = /* @__PURE__ */ Reference("effect/Random", {
|
|
@@ -387,7 +387,7 @@ class Retry extends (/* @__PURE__ */ TaggedClass("Retry")) {
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
390
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Mcp.js
|
|
391
391
|
var McpError = class extends TaggedError2()("McpError", {
|
|
392
392
|
cause: optional(Defect()),
|
|
393
393
|
message: String3
|
|
@@ -433,7 +433,7 @@ var responseTo = fnUntraced(function* (id, method, response) {
|
|
|
433
433
|
const payloads = match3(pipe(response.headers["content-type"] ?? "", startsWith("text/event-stream")), {
|
|
434
434
|
onFalse: () => fromEffect(response.text),
|
|
435
435
|
onTrue: () => unwrap2(sync(() => {
|
|
436
|
-
const events = make5(
|
|
436
|
+
const events = make5(empty());
|
|
437
437
|
const parser = makeParser((event) => {
|
|
438
438
|
if (event._tag === "Event")
|
|
439
439
|
update(events, append(event.data));
|
|
@@ -446,7 +446,7 @@ var responseTo = fnUntraced(function* (id, method, response) {
|
|
|
446
446
|
message: error.message
|
|
447
447
|
}));
|
|
448
448
|
const ready = get2(events);
|
|
449
|
-
set(events,
|
|
449
|
+
set(events, empty());
|
|
450
450
|
return succeed4(ready);
|
|
451
451
|
}), flatMap4(fromIterable));
|
|
452
452
|
}))
|
|
@@ -525,7 +525,7 @@ var listTools = fn("Mcp.listTools")(function* (client, endpoint, headers) {
|
|
|
525
525
|
};
|
|
526
526
|
}, scoped);
|
|
527
527
|
|
|
528
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
528
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Http.js
|
|
529
529
|
var Http_exports = /* @__PURE__ */ __exportAll3({
|
|
530
530
|
Base64FromFile: () => Base64FromFile2,
|
|
531
531
|
Base64UrlFromFile: () => Base64UrlFromFile2,
|
|
@@ -669,7 +669,7 @@ function textOf(carrier, content) {
|
|
|
669
669
|
}
|
|
670
670
|
function fileFrom(carrier) {
|
|
671
671
|
return String3.pipe(decodeTo(Schema, {
|
|
672
|
-
decode:
|
|
672
|
+
decode: compose(contentOf(carrier), transform((content) => toolFile(content.bytes, content.contentType, null))),
|
|
673
673
|
encode: transformEffect((file, options) => map4(decodeBytes(file.contentBase64, options), (bytes) => textOf(carrier, {
|
|
674
674
|
bytes,
|
|
675
675
|
contentType: file.contentType
|
|
@@ -682,7 +682,7 @@ function encodedFrom(carrier) {
|
|
|
682
682
|
bytes: file.contentBase64,
|
|
683
683
|
contentType: file.contentType ?? null
|
|
684
684
|
})),
|
|
685
|
-
encode:
|
|
685
|
+
encode: compose(contentOf(carrier), transform((content) => ({
|
|
686
686
|
contentBase64: content.bytes,
|
|
687
687
|
contentType: content.contentType
|
|
688
688
|
})))
|
|
@@ -833,7 +833,7 @@ function continuation2(request, nextLink) {
|
|
|
833
833
|
const next = URL.canParse(nextLink) ? new URL(nextLink) : undefined;
|
|
834
834
|
if (next === undefined || !isSafeUrl(nextLink) || next.pathname !== declared.pathname)
|
|
835
835
|
return refused("A continuation URL must be an HTTPS link to the same operation path");
|
|
836
|
-
return succeed4(makeWith(request.method, `${declared.origin}${next.pathname}${next.search}`,
|
|
836
|
+
return succeed4(makeWith(request.method, `${declared.origin}${next.pathname}${next.search}`, empty3, none(), request.headers, empty5));
|
|
837
837
|
}
|
|
838
838
|
function preauthenticated2(method, url, ...steps) {
|
|
839
839
|
if (!isSafeUrl(url))
|
|
@@ -849,8 +849,8 @@ function redirect(response) {
|
|
|
849
849
|
return;
|
|
850
850
|
const sent = response.request;
|
|
851
851
|
const url = new URL(location, sent.url);
|
|
852
|
-
const request = response.status === 303 && sent.method !== "GET" && sent.method !== "HEAD" || (response.status === 301 || response.status === 302) && sent.method === "POST" ? setBody(setMethod(sent, "GET"),
|
|
853
|
-
return url.origin === new URL(sent.url).origin ? setUrl(request, url) : setUrl(makeWith(request.method, "",
|
|
852
|
+
const request = response.status === 303 && sent.method !== "GET" && sent.method !== "HEAD" || (response.status === 301 || response.status === 302) && sent.method === "POST" ? setBody(setMethod(sent, "GET"), empty5) : sent;
|
|
853
|
+
return url.origin === new URL(sent.url).origin ? setUrl(request, url) : setUrl(makeWith(request.method, "", empty3, none(), empty2, request.body), url);
|
|
854
854
|
}
|
|
855
855
|
function follow(client, response, redirects) {
|
|
856
856
|
const next = redirect(response);
|
|
@@ -1103,7 +1103,7 @@ Content-Type: ${contentType}\r
|
|
|
1103
1103
|
};
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
1106
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AgentChannelConformance.js
|
|
1107
1107
|
var Command = commandSchema(Json);
|
|
1108
1108
|
var Fixture = Struct({
|
|
1109
1109
|
activate: Command,
|
|
@@ -1253,5 +1253,5 @@ var run = fn("AgentChannelConformance.run")(function* (input) {
|
|
|
1253
1253
|
|
|
1254
1254
|
export { Http_exports, File2, FileFromBase642, FileFromBase64Url2, Base64FromFile2, Base64UrlFromFile2, FileFromDataUri2, DataUriFromFile2, DateTimeFromUnixSeconds2, UnixSecondsFromDateTime2, DateTimeFromRfc28222, Rfc2822FromDateTime2, decoded2, path2, literal2, segments2, params2, form2, continuation2, preauthenticated2 };
|
|
1255
1255
|
|
|
1256
|
-
//# debugId=
|
|
1257
|
-
//# sourceMappingURL=plugin-
|
|
1256
|
+
//# debugId=79F006C0E7F8DE5F64756E2164756E21
|
|
1257
|
+
//# sourceMappingURL=plugin-0pkez622.js.map
|