deepline 0.3.493 → 0.3.495
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/bundling-sources/sdk/src/client-core.ts +12 -0
- package/dist/bundling-sources/sdk/src/release.ts +2 -2
- package/dist/bundling-sources/sdk/src/types.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +8 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
- package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
- package/dist/cli/{auth-3NAY3AST.mjs → auth-B2YUNFQ6.mjs} +5 -5
- package/dist/cli/auth-GAOWVOK4.js +43 -0
- package/dist/cli/{billing-FSB4BBBO.js → billing-2Q7TMNRE.js} +79 -79
- package/dist/cli/{billing-SBWQCC7B.mjs → billing-5TR7ZBZM.mjs} +6 -6
- package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
- package/dist/cli/{chunk-IRDYBMA7.mjs → chunk-2HCZHIMT.mjs} +21 -0
- package/dist/cli/{chunk-WCZFCOMZ.js → chunk-5OKQPDYJ.js} +11 -10
- package/dist/cli/{chunk-DYP27IWC.mjs → chunk-7LLUJQM5.mjs} +4 -4
- package/dist/cli/{chunk-IJOHWGPF.js → chunk-7OGADAAA.js} +6 -6
- package/dist/cli/{chunk-2BRTYIAH.mjs → chunk-7YNZRALI.mjs} +3 -3
- package/dist/cli/{chunk-MLEUOTEQ.js → chunk-ACVT5LPN.js} +53 -53
- package/dist/cli/{chunk-IOMEJKGK.js → chunk-B3ROCZ5Y.js} +2 -2
- package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
- package/dist/cli/{chunk-KGDDQMI7.mjs → chunk-C5R3UH5V.mjs} +28 -1
- package/dist/cli/{chunk-QTPS5RLG.js → chunk-CAWE3MS2.js} +45 -13
- package/dist/cli/{chunk-NALJJTPS.mjs → chunk-CKLJAQIV.mjs} +5 -5
- package/dist/cli/{chunk-NPNAEPY4.js → chunk-CTFR52JC.js} +26 -26
- package/dist/cli/{chunk-KKSKYZO4.mjs → chunk-DFK5IJMT.mjs} +2 -2
- package/dist/cli/{chunk-4NIGNT7X.mjs → chunk-FC4JGTFC.mjs} +1 -1
- package/dist/cli/{chunk-TNQOR6XQ.mjs → chunk-FLJSK32S.mjs} +1 -1
- package/dist/cli/{chunk-TIFRRLZT.js → chunk-GBICEYUA.js} +6 -6
- package/dist/cli/{chunk-ZQH4TXM2.mjs → chunk-H5L2Q2GI.mjs} +2 -2
- package/dist/cli/{chunk-Y3NN2UAF.mjs → chunk-HJ5LYO6U.mjs} +2 -2
- package/dist/cli/{chunk-C2MRDPA5.js → chunk-I42EOZKQ.js} +32 -5
- package/dist/cli/{chunk-3QGUWB6E.mjs → chunk-I66IWCY4.mjs} +8 -7
- package/dist/cli/{chunk-VFHIYWMC.mjs → chunk-JRBQC6L4.mjs} +2 -2
- package/dist/cli/{chunk-67ZG7XZV.mjs → chunk-KG2FUYWB.mjs} +2 -2
- package/dist/cli/{chunk-5WOPBX3H.mjs → chunk-KSHAFYYG.mjs} +1 -1
- package/dist/cli/{chunk-SXD2EYAH.mjs → chunk-L5ZXEYTQ.mjs} +37 -5
- package/dist/cli/{chunk-KCDZWS2B.js → chunk-LQKZG5RN.js} +231 -231
- package/dist/cli/{chunk-2I7VN65H.js → chunk-MAMEKGLI.js} +7 -7
- package/dist/cli/{chunk-2IHGVAGT.mjs → chunk-MG3WST3Z.mjs} +2 -2
- package/dist/cli/{chunk-DWJ4RXSA.js → chunk-N3T3L3WW.js} +21 -0
- package/dist/cli/{chunk-5DIZ2G74.mjs → chunk-OFBDI5S3.mjs} +2 -2
- package/dist/cli/{chunk-UCMY2SO2.js → chunk-PEIOQKTA.js} +3 -3
- package/dist/cli/{chunk-NWIDPT7H.js → chunk-PHO53W67.js} +4 -4
- package/dist/cli/{chunk-E5ILCMKQ.mjs → chunk-RBBOUPME.mjs} +1 -1
- package/dist/cli/{chunk-HLM2UFQ5.mjs → chunk-S2QARJLX.mjs} +1 -1
- package/dist/cli/{chunk-GSC35TPZ.mjs → chunk-SC5GHGFD.mjs} +2 -2
- package/dist/cli/{chunk-ZVW7EWTC.mjs → chunk-SR6VS5PG.mjs} +184 -184
- package/dist/cli/{chunk-EFO5GVYS.js → chunk-T4PGA6UD.js} +2 -2
- package/dist/cli/{chunk-AGTXL6LZ.js → chunk-TCNILHMS.js} +5 -5
- package/dist/cli/{chunk-ZVXB7OU7.mjs → chunk-TFMV3NKL.mjs} +1 -1
- package/dist/cli/{chunk-4IJFQV3O.mjs → chunk-TMO7W4P2.mjs} +1 -1
- package/dist/cli/{chunk-WTFI7BVH.mjs → chunk-TSKVPEVZ.mjs} +8 -1
- package/dist/cli/{chunk-HTUSTPP4.js → chunk-TUAEM76Y.js} +14 -7
- package/dist/cli/{chunk-EYG336YV.js → chunk-UDFO2MWA.js} +41 -41
- package/dist/cli/{chunk-2NGIBJM2.js → chunk-UKGOZOTT.js} +8 -8
- package/dist/cli/{chunk-7HABWOMB.js → chunk-UMFZQREB.js} +259 -259
- package/dist/cli/{chunk-XLE7KXE7.js → chunk-WVL5HGUG.js} +2 -2
- package/dist/cli/{chunk-XQX476QK.js → chunk-XAOLMEN5.js} +9 -9
- package/dist/cli/{chunk-AWMCZAUR.js → chunk-XKYQR3QK.js} +3 -3
- package/dist/cli/{chunk-IJJ6D5WL.mjs → chunk-XR6RCBB3.mjs} +11 -11
- package/dist/cli/{chunk-IOBPR2VO.js → chunk-XX6PRYFI.js} +16 -16
- package/dist/cli/{chunk-LGTZYI5B.js → chunk-Y2DUGUUU.js} +21 -21
- package/dist/cli/{chunk-2H4OFVR5.js → chunk-Z33PZUWG.js} +5 -5
- package/dist/cli/{chunk-EBAS3UT2.mjs → chunk-ZB6UYG5I.mjs} +5 -5
- package/dist/cli/{chunk-JO2JZUBR.js → chunk-ZBQBH4IT.js} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-XR22YQXT.mjs → csv-5UQXKWLE.mjs} +4 -4
- package/dist/cli/{csv-DKYZE2KM.js → csv-DZQ77T67.js} +13 -13
- package/dist/cli/{db-EOKG36YN.mjs → db-F62BVFTP.mjs} +6 -6
- package/dist/cli/{db-RNYRTCMV.js → db-JIPLUHA6.js} +27 -27
- package/dist/cli/describe-BA4RAZ7J.js +50 -0
- package/dist/cli/{describe-ICFXOQBW.mjs → describe-J7KYHONJ.mjs} +20 -20
- package/dist/cli/describe-core.d.mts +5 -11
- package/dist/cli/describe-core.d.ts +5 -11
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-3RAOACNS.mjs → executions-XB4F2KZD.mjs} +6 -6
- package/dist/cli/{executions-OBWPSWH7.js → executions-XQ4FNJ27.js} +8 -8
- package/dist/cli/{feedback-6EQRVBKF.mjs → feedback-5CR4CJ6W.mjs} +4 -4
- package/dist/cli/{feedback-6GPEUBLF.js → feedback-Q6JRCMDV.js} +8 -8
- package/dist/cli/git-EAO432S2.js +25 -0
- package/dist/cli/{git-CVQ24DTR.mjs → git-P5WBBUT3.mjs} +5 -5
- package/dist/cli/index.js +141 -141
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-XPOATG5V.js → legacy-noops-EJAB6III.js} +8 -8
- package/dist/cli/{legacy-noops-QULJZYNH.mjs → legacy-noops-H5JJVYZ2.mjs} +5 -5
- package/dist/cli/{monitors-OJ4CMREE.js → monitors-7DOGM7RO.js} +91 -91
- package/dist/cli/{monitors-AFT5YJPZ.mjs → monitors-QPFAT2J5.mjs} +7 -7
- package/dist/cli/{org-WHKNXANG.mjs → org-BH7ATDIJ.mjs} +6 -6
- package/dist/cli/{org-RKT52CSL.js → org-QOBB4IN3.js} +72 -72
- package/dist/cli/{pages-EEAQFGVD.mjs → pages-PJH2TXZQ.mjs} +20 -6
- package/dist/cli/{pages-SOE3R667.js → pages-PLTE54KM.js} +32 -18
- package/dist/cli/{play-LXFWHUBP.mjs → play-ULTJ3LPA.mjs} +17 -17
- package/dist/cli/{play-OTJJ4E4T.js → play-XZAPTF3T.js} +314 -314
- package/dist/cli/{providers-U3CPKTMM.mjs → providers-6NUTRVE4.mjs} +6 -6
- package/dist/cli/{providers-RU4HIAT3.js → providers-SKXLW7M3.js} +9 -9
- package/dist/cli/{quickstart-75AO2AJC.mjs → quickstart-5HMJMXVT.mjs} +4 -4
- package/dist/cli/{quickstart-N72IVA2Y.js → quickstart-JFCIIGII.js} +6 -6
- package/dist/cli/{run-IGWFL6WH.mjs → run-2BJZPY4K.mjs} +25 -25
- package/dist/cli/{run-MMYES3IW.js → run-BRAXLCBC.js} +40 -40
- package/dist/cli/search-4MU2G6HV.js +32 -0
- package/dist/cli/{search-FIYESBLZ.mjs → search-IDXSB2CV.mjs} +7 -7
- package/dist/cli/{search-output-3I5KSW36.mjs → search-output-AATMH4QG.mjs} +4 -4
- package/dist/cli/{search-output-2FXN4ZWD.js → search-output-CJ4TNYF7.js} +6 -6
- package/dist/cli/{secrets-HCZQ6JNP.js → secrets-6SMKTBFT.js} +15 -15
- package/dist/cli/{secrets-O7IUQ3VT.mjs → secrets-UQNEJSNG.mjs} +6 -6
- package/dist/cli/{sessions-KY7A3EZO.mjs → sessions-MHTUVPSR.mjs} +5 -5
- package/dist/cli/{sessions-5AYTT4IW.js → sessions-W3KU4Q4X.js} +6 -6
- package/dist/cli/{settings-P4VFYWJK.js → settings-BA52NEU5.js} +78 -78
- package/dist/cli/{settings-WSMRR2GS.mjs → settings-KNYJ6GXK.mjs} +11 -11
- package/dist/cli/{setup-J7CA3EJL.js → setup-D5HCJAVU.js} +49 -49
- package/dist/cli/{setup-YTVKVQC7.mjs → setup-TLTZ2YCO.mjs} +9 -9
- package/dist/cli/{skills-W5WY764N.mjs → skills-DPLM4EGS.mjs} +7 -7
- package/dist/cli/skills-SVUWVXCE.js +36 -0
- package/dist/cli/{tools-YECI6N3N.mjs → tools-I4ZOJV23.mjs} +18 -18
- package/dist/cli/tools-RJSP76HX.js +57 -0
- package/dist/cli/{update-BIFBIEII.mjs → update-VIFS7IK5.mjs} +9 -9
- package/dist/cli/update-YT6JPIC6.js +34 -0
- package/dist/cli/{workflow-D2TUFFH6.js → workflow-7REPOHXM.js} +17 -17
- package/dist/cli/{workflow-XZVDNARC.mjs → workflow-TAQBNDV7.mjs} +7 -7
- package/dist/{client-CNzJ1LTF.d.mts → client-BDT_LwuM.d.mts} +1 -1
- package/dist/{client-BDB_VbE4.d.ts → client-CKVH6tmp.d.ts} +1 -1
- package/dist/{client-core-CSv3DlPD.d.mts → client-core-CEixe_C0.d.mts} +10 -5
- package/dist/{client-core-xEa9x3pl.d.ts → client-core-RS-d-vtY.d.ts} +10 -5
- package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.mts} +91 -0
- package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.ts} +91 -0
- package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
- package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
- package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
- package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +26 -18
- package/dist/index.mjs +15 -7
- package/dist/install-integrity.json +116 -116
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +2 -2
- package/dist/release.d.ts +2 -2
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-KYQLDI6V.js +0 -43
- package/dist/cli/describe-RS75I33X.js +0 -50
- package/dist/cli/git-DEFE4SSB.js +0 -25
- package/dist/cli/search-EQURI7SZ.js +0 -32
- package/dist/cli/skills-KKPEGLAR.js +0 -36
- package/dist/cli/tools-65Y4QTW6.js +0 -57
- package/dist/cli/update-WDG7VFOW.js +0 -34
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkZ33PZUWGjs = require('./chunk-Z33PZUWG.js');
|
|
4
|
+
require('./chunk-TUAEM76Y.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-PKV5CD3W.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.js');
|
|
15
|
+
require('./chunk-PHO53W67.js');
|
|
16
16
|
require('./chunk-ALJJRZNJ.js');
|
|
17
17
|
require('./chunk-XNYIZMNQ.js');
|
|
18
18
|
require('./chunk-DIAWYWT5.js');
|
|
19
|
-
require('./chunk-
|
|
19
|
+
require('./chunk-T4PGA6UD.js');
|
|
20
20
|
require('./chunk-OG64RBAC.js');
|
|
21
21
|
require('./chunk-COGTRVWW.js');
|
|
22
22
|
|
|
@@ -62,6 +62,7 @@ function pageLines(page) {
|
|
|
62
62
|
`${page.name}${page.state === "deleting" ? " (deleting)" : ""}`,
|
|
63
63
|
` ${page.url}`,
|
|
64
64
|
` visible to: ${audience(page)}`,
|
|
65
|
+
..._optionalChain([page, 'access', _ => _.allowed_origins, 'optionalAccess', _2 => _2.length]) ? [` allowed origins: ${page.allowed_origins.join(", ")}`] : [],
|
|
65
66
|
...page.description ? [` ${page.description}`] : [],
|
|
66
67
|
` ${page.has_document ? `${page.content_type}, ${page.size_bytes} bytes, revision ${page.revision}` : "no content yet"}`,
|
|
67
68
|
` created ${new Date(page.created_at).toISOString()}, updated ${new Date(page.updated_at).toISOString()}`
|
|
@@ -72,7 +73,7 @@ function linkLine(link) {
|
|
|
72
73
|
return `${link.id} ${expiry}${link.label ? ` ${link.label}` : ""}`;
|
|
73
74
|
}
|
|
74
75
|
function print(command, json, data, lines) {
|
|
75
|
-
|
|
76
|
+
_chunkMAMEKGLIjs.printCommandEnvelope.call(void 0,
|
|
76
77
|
{ command, ...data, render: { sections: [{ title: command, lines }] } },
|
|
77
78
|
{ json: Boolean(json), text: `${lines.join("\n")}
|
|
78
79
|
` }
|
|
@@ -88,7 +89,7 @@ async function run(action) {
|
|
|
88
89
|
}
|
|
89
90
|
var HOSTED_PAGES_FEATURE = "hosted-pages";
|
|
90
91
|
function registerPagesCommands(program) {
|
|
91
|
-
const pages = program.command("pages", { hidden: !
|
|
92
|
+
const pages = program.command("pages", { hidden: !_chunkZBQBH4ITjs.cliFeatureEnabled.call(void 0, HOSTED_PAGES_FEATURE) }).description(
|
|
92
93
|
"Publish documents at stable URLs on deepline.page and share them."
|
|
93
94
|
).addHelpText(
|
|
94
95
|
"after",
|
|
@@ -114,7 +115,7 @@ Examples:
|
|
|
114
115
|
throw new Error("Pass exactly one of --public or --private.");
|
|
115
116
|
}
|
|
116
117
|
const content = await _promises.readFile.call(void 0, options.file);
|
|
117
|
-
const result = await new (0,
|
|
118
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().writePage(name, {
|
|
118
119
|
public: Boolean(options.public),
|
|
119
120
|
contentBase64: content.toString("base64"),
|
|
120
121
|
contentType: _nullishCoalesce(options.contentType, () => ( inferPageContentType(options.file))),
|
|
@@ -137,7 +138,7 @@ Examples:
|
|
|
137
138
|
`
|
|
138
139
|
).action(
|
|
139
140
|
async (options) => run(async () => {
|
|
140
|
-
const result = await new (0,
|
|
141
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().listPages({
|
|
141
142
|
cursor: options.cursor,
|
|
142
143
|
limit: options.limit
|
|
143
144
|
});
|
|
@@ -151,10 +152,23 @@ Examples:
|
|
|
151
152
|
);
|
|
152
153
|
pages.command("get <name>").description("Show one page's details.").option("--json", "Emit raw JSON response").action(
|
|
153
154
|
async (name, options) => run(async () => {
|
|
154
|
-
const page = await new (0,
|
|
155
|
+
const page = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().getPage(name);
|
|
155
156
|
print("pages get", options.json, page, pageLines(page));
|
|
156
157
|
})
|
|
157
158
|
);
|
|
159
|
+
pages.command("set-origins <name> [origins...]").description(
|
|
160
|
+
"Replace the HTTPS origins that can read a public page. Omit origins to clear the list."
|
|
161
|
+
).option("--json", "Emit raw JSON response").action(
|
|
162
|
+
async (name, origins, options) => run(async () => {
|
|
163
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().setPageAllowedOrigins(
|
|
164
|
+
name,
|
|
165
|
+
origins
|
|
166
|
+
);
|
|
167
|
+
print("pages set-origins", options.json, result, [
|
|
168
|
+
result.allowed_origins.length ? `Allowed origins for ${name}: ${result.allowed_origins.join(", ")}` : `Cleared allowed origins for ${name}.`
|
|
169
|
+
]);
|
|
170
|
+
})
|
|
171
|
+
);
|
|
158
172
|
pages.command("set-public <name>").description("Make a page visible to anyone with its URL.").option("--json", "Emit raw JSON response").addHelpText(
|
|
159
173
|
"after",
|
|
160
174
|
`
|
|
@@ -165,7 +179,7 @@ Notes:
|
|
|
165
179
|
`
|
|
166
180
|
).action(
|
|
167
181
|
async (name, options) => run(async () => {
|
|
168
|
-
const page = await new (0,
|
|
182
|
+
const page = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().setPageVisibility(name, true);
|
|
169
183
|
print("pages set-public", options.json, page, [
|
|
170
184
|
`${page.name} is now visible to anyone with its URL.`,
|
|
171
185
|
page.url
|
|
@@ -180,7 +194,7 @@ Notes:
|
|
|
180
194
|
`
|
|
181
195
|
).action(
|
|
182
196
|
async (name, options) => run(async () => {
|
|
183
|
-
const page = await new (0,
|
|
197
|
+
const page = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().setPageVisibility(name, false);
|
|
184
198
|
print("pages set-private", options.json, page, [
|
|
185
199
|
`${page.name} is now visible to workspace members only.`
|
|
186
200
|
]);
|
|
@@ -196,7 +210,7 @@ Notes:
|
|
|
196
210
|
`
|
|
197
211
|
).action(
|
|
198
212
|
async (name, options) => run(async () => {
|
|
199
|
-
const result = await new (0,
|
|
213
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().deletePage(name);
|
|
200
214
|
print("pages delete", options.json, result, [`Deleted ${name}.`]);
|
|
201
215
|
})
|
|
202
216
|
);
|
|
@@ -213,7 +227,7 @@ Examples:
|
|
|
213
227
|
if (Boolean(options.expiresIn) === Boolean(options.permanent)) {
|
|
214
228
|
throw new Error("Pass exactly one of --expires-in or --permanent.");
|
|
215
229
|
}
|
|
216
|
-
const link = await new (0,
|
|
230
|
+
const link = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().createPageLink(name, {
|
|
217
231
|
expiresInSeconds: options.expiresIn ? parseExpiresIn(options.expiresIn) : void 0,
|
|
218
232
|
permanent: options.permanent ? true : void 0,
|
|
219
233
|
label: options.label
|
|
@@ -227,7 +241,7 @@ Examples:
|
|
|
227
241
|
);
|
|
228
242
|
links.command("list <name>").description("List a page's links. Their URLs cannot be shown again.").option("--json", "Emit raw JSON response").action(
|
|
229
243
|
async (name, options) => run(async () => {
|
|
230
|
-
const result = await new (0,
|
|
244
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().listPageLinks(name);
|
|
231
245
|
print(
|
|
232
246
|
"pages links list",
|
|
233
247
|
options.json,
|
|
@@ -238,7 +252,7 @@ Examples:
|
|
|
238
252
|
);
|
|
239
253
|
links.command("revoke <name> <link-id>").description("Stop a link working.").option("--json", "Emit raw JSON response").action(
|
|
240
254
|
async (name, linkId, options) => run(async () => {
|
|
241
|
-
const result = await new (0,
|
|
255
|
+
const result = await new (0, _chunkZ33PZUWGjs.DeeplineClient)().revokePageLink(name, linkId);
|
|
242
256
|
print("pages links revoke", options.json, result, [
|
|
243
257
|
`Revoked ${linkId}.`
|
|
244
258
|
]);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
parsePlayRunHeaderFlag,
|
|
6
6
|
parsePlayRunOptions,
|
|
7
7
|
resolvePlayRunCliOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KG2FUYWB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
11
11
|
addDescribeOptions,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
underscoreKeysLast,
|
|
18
18
|
writeExecutionOutput,
|
|
19
19
|
writeRunDatasetCsv
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S2QARJLX.mjs";
|
|
21
21
|
import {
|
|
22
22
|
registerDeprecatedSearchCommand
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I66IWCY4.mjs";
|
|
24
24
|
import "./chunk-5AEDYVB6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
handleDeploymentGet,
|
|
27
27
|
handleDeploymentsList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HJ5LYO6U.mjs";
|
|
29
29
|
import {
|
|
30
30
|
buildPlayDashboardUrl,
|
|
31
31
|
buildPlayRunUrl
|
|
@@ -58,10 +58,10 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
pinLocalPlayImports,
|
|
60
60
|
planLocalPlayExecution
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-OFBDI5S3.mjs";
|
|
62
62
|
import {
|
|
63
63
|
DeeplineClient
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-SC5GHGFD.mjs";
|
|
65
65
|
import {
|
|
66
66
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
67
67
|
RunEventQueryInputError,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
normalizePlayStatus,
|
|
75
75
|
normalizeRunEventOperationRequest,
|
|
76
76
|
parseLogLevel
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-TSKVPEVZ.mjs";
|
|
78
78
|
import "./chunk-L2VKAASU.mjs";
|
|
79
79
|
import {
|
|
80
80
|
CSV_DATA_INPUT_KEY,
|
|
@@ -96,18 +96,18 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
96
96
|
import {
|
|
97
97
|
checkPlayRunCompatibility,
|
|
98
98
|
usesCliPlayAdmission
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-H5L2Q2GI.mjs";
|
|
100
100
|
import {
|
|
101
101
|
isCliTraceEnabled,
|
|
102
102
|
recordCliTrace,
|
|
103
103
|
resolveCliMaintenancePolicy,
|
|
104
104
|
traceCliSpan
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
105
|
+
} from "./chunk-TFMV3NKL.mjs";
|
|
106
|
+
import "./chunk-SR6VS5PG.mjs";
|
|
107
107
|
import {
|
|
108
108
|
createCliProgress,
|
|
109
109
|
getActiveCliProgress
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RBBOUPME.mjs";
|
|
111
111
|
import {
|
|
112
112
|
argsWantJson,
|
|
113
113
|
describeArgs,
|
|
@@ -121,17 +121,17 @@ import {
|
|
|
121
121
|
printJsonError,
|
|
122
122
|
renderCommandEnvelopeText,
|
|
123
123
|
shouldEmitJson
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-
|
|
124
|
+
} from "./chunk-JRBQC6L4.mjs";
|
|
125
|
+
import "./chunk-FC4JGTFC.mjs";
|
|
126
126
|
import {
|
|
127
127
|
fetchWithDeploymentProtection
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-FLJSK32S.mjs";
|
|
129
129
|
import "./chunk-4QF2K7TM.mjs";
|
|
130
130
|
import "./chunk-DLIRSHV6.mjs";
|
|
131
131
|
import {
|
|
132
132
|
DeeplineError
|
|
133
133
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
134
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-DFK5IJMT.mjs";
|
|
135
135
|
import "./chunk-WZYKRD7T.mjs";
|
|
136
136
|
import {
|
|
137
137
|
__commonJS,
|
|
@@ -16667,7 +16667,7 @@ Examples:
|
|
|
16667
16667
|
process.exitCode = await ownView();
|
|
16668
16668
|
return;
|
|
16669
16669
|
}
|
|
16670
|
-
const { describeAnything } = await import("./describe-
|
|
16670
|
+
const { describeAnything } = await import("./describe-J7KYHONJ.mjs");
|
|
16671
16671
|
process.exitCode = await describeAnything(
|
|
16672
16672
|
name,
|
|
16673
16673
|
{
|
|
@@ -17005,7 +17005,7 @@ Examples:
|
|
|
17005
17005
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17006
17006
|
).action(async (runId, options) => {
|
|
17007
17007
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17008
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
17008
|
+
const { getToolExecutionReceipt } = await import("./tools-I4ZOJV23.mjs");
|
|
17009
17009
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17010
17010
|
receiptJson: options.json !== void 0
|
|
17011
17011
|
});
|