deepline 0.3.581 → 0.3.582
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/cli/{agents-UDTRMWPA.js → agents-2L73CJHH.js} +31 -31
- package/dist/cli/{agents-VDQSVDSM.mjs → agents-UAXDG4FS.mjs} +4 -4
- package/dist/cli/{auth-SRN5FXUQ.mjs → auth-3B2QB4UH.mjs} +5 -5
- package/dist/cli/auth-ALBG5LF4.js +44 -0
- package/dist/cli/{billing-PR2SIEJM.mjs → billing-CPBRWG3M.mjs} +8 -8
- package/dist/cli/{billing-HGHIOFSA.js → billing-E7FO622G.js} +102 -102
- package/dist/cli/{chunk-3FMGBMT3.mjs → chunk-2K6EIL2D.mjs} +1 -1
- package/dist/cli/{chunk-VNW454PP.mjs → chunk-3DVWSTAI.mjs} +1 -1
- package/dist/cli/{chunk-BQL34VOQ.js → chunk-3EOET5UB.js} +100 -100
- package/dist/cli/{chunk-IT3F7P6O.js → chunk-3HIJNXRB.js} +10 -10
- package/dist/cli/{chunk-46EBSUZF.mjs → chunk-4TTEAUZV.mjs} +3 -3
- package/dist/cli/{chunk-N5VJVVVV.mjs → chunk-4ZAWRCB6.mjs} +5 -5
- package/dist/cli/{chunk-2RLMHWXW.js → chunk-5436ZJPH.js} +3 -3
- package/dist/cli/{chunk-WCNJSZHC.mjs → chunk-6NEMTKTA.mjs} +5 -5
- package/dist/cli/{chunk-VTPMBOHZ.mjs → chunk-7QX5PCHP.mjs} +2 -2
- package/dist/cli/{chunk-P5ZZY4RM.mjs → chunk-ABJZQHON.mjs} +4 -4
- package/dist/cli/{chunk-E2EGQNOS.js → chunk-CPZL6Z7D.js} +2 -2
- package/dist/cli/{chunk-JQK42HZQ.js → chunk-CYZSHD66.js} +2 -2
- package/dist/cli/{chunk-ALXIC5U5.mjs → chunk-D7J33HTK.mjs} +5 -5
- package/dist/cli/{chunk-O5FIWG2O.js → chunk-DI5MULNX.js} +26 -26
- package/dist/cli/{chunk-LJZESBNY.js → chunk-DPLYQITT.js} +2 -2
- package/dist/cli/{chunk-3I6GA5QW.mjs → chunk-DSHIB2XQ.mjs} +1 -1
- package/dist/cli/{chunk-INRXX4SX.js → chunk-EB2YLLZJ.js} +41 -41
- package/dist/cli/{chunk-5XVDZVCR.js → chunk-EGH4JNJP.js} +8 -8
- package/dist/cli/{chunk-FXSDDEAR.js → chunk-FBSPHBAF.js} +1 -1
- package/dist/cli/{chunk-OVJWDFIL.mjs → chunk-FWB3QR7W.mjs} +1 -1
- package/dist/cli/{chunk-INXRW5AF.mjs → chunk-G5YU6RJ4.mjs} +2 -2
- package/dist/cli/{chunk-VJR4CKYJ.js → chunk-GZBXN56A.js} +23 -23
- package/dist/cli/{chunk-ZAKNDIK7.js → chunk-H3KVMALU.js} +9 -9
- package/dist/cli/{chunk-6U3THMRI.js → chunk-HP6A3JCX.js} +5 -5
- package/dist/cli/{chunk-DZMQV5FL.mjs → chunk-I5J6HGVR.mjs} +2 -2
- package/dist/cli/{chunk-CN4MXBZ3.js → chunk-ISN4F6AY.js} +13 -13
- package/dist/cli/{chunk-EHTD65FE.mjs → chunk-JD7P73ZW.mjs} +1 -1
- package/dist/cli/{chunk-CDIMI54H.mjs → chunk-JF4DUC2F.mjs} +2 -2
- package/dist/cli/{chunk-J6ITN2X6.js → chunk-JUZIMW4S.js} +7 -7
- package/dist/cli/{chunk-E5ITZIWK.js → chunk-KQEW3EAU.js} +16 -16
- package/dist/cli/{chunk-2MIJMDGF.mjs → chunk-LDMCTV2Z.mjs} +1 -1
- package/dist/cli/{chunk-WVFDPC4K.mjs → chunk-LHA45DNY.mjs} +3 -3
- package/dist/cli/{chunk-3LP7J63L.js → chunk-MRSYC74T.js} +5 -5
- package/dist/cli/{chunk-PLGJG5FX.js → chunk-NJGXYYHN.js} +5 -5
- package/dist/cli/{chunk-ULU4MEXN.mjs → chunk-NVHICORD.mjs} +2 -2
- package/dist/cli/{chunk-WS5ZX4RB.mjs → chunk-NZR5PBNP.mjs} +3 -3
- package/dist/cli/{chunk-RA3BWUTD.mjs → chunk-OUFOJTEJ.mjs} +5 -5
- package/dist/cli/{chunk-SZ76UE7C.mjs → chunk-PNQVB4UD.mjs} +11 -11
- package/dist/cli/{chunk-MSCYYFLY.js → chunk-POYADK77.js} +20 -20
- package/dist/cli/{chunk-E5O4CMHZ.mjs → chunk-RNZXMOA6.mjs} +2 -2
- package/dist/cli/{chunk-Z3MJX3PP.mjs → chunk-ROUNT4NX.mjs} +1 -1
- package/dist/cli/{chunk-A4IOPFEJ.js → chunk-SKKRESFB.js} +3 -3
- package/dist/cli/{chunk-ZTKLJADJ.mjs → chunk-SYWLWTWM.mjs} +4 -4
- package/dist/cli/{chunk-BDNQDWGI.mjs → chunk-U2QQQNWW.mjs} +2 -2
- package/dist/cli/{chunk-7VOSQARZ.js → chunk-V54YQHPV.js} +6 -6
- package/dist/cli/{chunk-VWPM4OIC.js → chunk-VA35T3AF.js} +20 -20
- package/dist/cli/{chunk-YTPXKG4C.mjs → chunk-XYQMOXP4.mjs} +1 -1
- package/dist/cli/{chunk-CNRPE3AE.js → chunk-YPP436NM.js} +53 -53
- package/dist/cli/{chunk-KO6OLYSD.js → chunk-Z3IAEHID.js} +48 -48
- package/dist/cli/{chunk-VVENTTSA.mjs → chunk-ZARGHLZZ.mjs} +1 -1
- package/dist/cli/{chunk-SNYH4QY2.js → chunk-ZH23XGJO.js} +4 -4
- package/dist/cli/{chunk-BULUFFST.js → chunk-ZL3O7F5J.js} +15 -15
- package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +22 -0
- package/dist/cli/{concurrent-runs-help-Z27MIIH3.mjs → concurrent-runs-help-UFNYQYU2.mjs} +6 -6
- package/dist/cli/{csv-4YFTMVWQ.mjs → csv-QSDRGLQH.mjs} +4 -4
- package/dist/cli/{csv-4TP36F5O.js → csv-ZI5LYFHF.js} +13 -13
- package/dist/cli/{db-U5KR6SYI.mjs → db-WVWXNNMO.mjs} +6 -6
- package/dist/cli/{db-L5EGGO72.js → db-ZDL6Q53U.js} +27 -27
- package/dist/cli/describe-QB5T47B3.js +50 -0
- package/dist/cli/{describe-LZXXSQ26.mjs → describe-UUQBKUVL.mjs} +18 -18
- package/dist/cli/{executions-ZWEC5DDR.mjs → executions-QN3OYJKT.mjs} +6 -6
- package/dist/cli/{executions-VZKRFDGM.js → executions-SCGHTWTC.js} +8 -8
- package/dist/cli/{feedback-BTJIJCQF.js → feedback-6QQ7ONLW.js} +14 -14
- package/dist/cli/{feedback-HXQTHXEZ.mjs → feedback-7QPHLXGU.mjs} +6 -6
- package/dist/cli/git-4FXTWHXT.js +26 -0
- package/dist/cli/{git-P6A45MMT.mjs → git-HFPJX573.mjs} +5 -5
- package/dist/cli/index.js +144 -144
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-4POM2CJ3.mjs → integrations-4SZ5O24P.mjs} +7 -7
- package/dist/cli/{integrations-VSJQBRFS.js → integrations-ND2HULSH.js} +29 -29
- package/dist/cli/{legacy-noops-QOJGSGVO.js → legacy-noops-GQF6AYP5.js} +9 -9
- package/dist/cli/{legacy-noops-I65MIKH2.mjs → legacy-noops-WUP3TBR2.mjs} +6 -6
- package/dist/cli/{mcp-TGY6SRAC.mjs → mcp-3GUFYGCQ.mjs} +4 -4
- package/dist/cli/{mcp-WTKBSLSD.js → mcp-L3YYVEU6.js} +24 -24
- package/dist/cli/{monitors-TLWVEXW6.js → monitors-CVZZN5WG.js} +100 -100
- package/dist/cli/{monitors-E2ENT4RY.mjs → monitors-OFCVJSH5.mjs} +7 -7
- package/dist/cli/{org-J2LGW5ZR.mjs → org-3DTAYA52.mjs} +6 -6
- package/dist/cli/{org-PZPJJU7K.js → org-MQ5AUN7I.js} +121 -121
- package/dist/cli/{outcomes-TMJDASU5.mjs → outcomes-42W24EXG.mjs} +6 -6
- package/dist/cli/{outcomes-Z6ZNBJ3U.js → outcomes-MGDUYHUD.js} +14 -14
- package/dist/cli/{play-ZOOC57X4.js → play-IMAD7QTV.js} +336 -336
- package/dist/cli/{play-S3Z24HUS.mjs → play-PD45RNYZ.mjs} +19 -19
- package/dist/cli/{providers-ETD6YLFL.mjs → providers-DYKHG7NV.mjs} +6 -6
- package/dist/cli/{providers-O4Y2YBS7.js → providers-WONHPTRG.js} +9 -9
- package/dist/cli/{quickstart-QZX32Y5T.mjs → quickstart-5QPGHLEX.mjs} +4 -4
- package/dist/cli/{quickstart-NZALIRBP.js → quickstart-6AAFULGC.js} +6 -6
- package/dist/cli/{run-HCVBRE2P.mjs → run-4K6ZU7H7.mjs} +23 -23
- package/dist/cli/{run-5UXSWJ7N.js → run-WOW7QO3W.js} +44 -44
- package/dist/cli/{search-Z247K76U.mjs → search-CKVFWVXQ.mjs} +7 -7
- package/dist/cli/search-YZIJS7QU.js +32 -0
- package/dist/cli/{search-output-XFKEGUJA.js → search-output-B5QE7ZNK.js} +6 -6
- package/dist/cli/{search-output-XCJI3XRA.mjs → search-output-WWB25JWA.mjs} +4 -4
- package/dist/cli/{secrets-7JZXHLRU.mjs → secrets-SVZB6TSW.mjs} +6 -6
- package/dist/cli/{secrets-VUQLTUTM.js → secrets-WKIMR346.js} +15 -15
- package/dist/cli/{sessions-UNGJ342N.mjs → sessions-P3QENG6T.mjs} +6 -6
- package/dist/cli/sessions-VQPGPXMU.js +23 -0
- package/dist/cli/{settings-WG5YNHC5.js → settings-UIFRGJW3.js} +85 -85
- package/dist/cli/{settings-67TIT4MZ.mjs → settings-V5ABL6D2.mjs} +12 -12
- package/dist/cli/{setup-IYUNW5ZP.js → setup-A5MIJU3S.js} +49 -49
- package/dist/cli/{setup-KMAAJOZM.mjs → setup-E67NJTEF.mjs} +9 -9
- package/dist/cli/skills-GTBK33MV.js +37 -0
- package/dist/cli/{skills-UVS4DODN.mjs → skills-WLHOQ4DO.mjs} +7 -7
- package/dist/cli/{tools-B42JY4BX.mjs → tools-EG4KL3BB.mjs} +17 -17
- package/dist/cli/tools-GPAIPRPQ.js +57 -0
- package/dist/cli/{update-EBYZZ7BW.mjs → update-IPFBE6SA.mjs} +9 -9
- package/dist/cli/update-QLWS32WR.js +37 -0
- package/dist/cli/{views-QK3AFD2D.mjs → views-XDN6SEWY.mjs} +6 -6
- package/dist/cli/{views-DOUEKLEV.js → views-ZIBY2RVB.js} +21 -21
- package/dist/cli/{workflow-TAKT2T7A.js → workflow-BLKPBRBT.js} +17 -17
- package/dist/cli/{workflow-UBJPGRKF.mjs → workflow-O2XPMOVL.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +114 -114
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-UYQHRHYR.js +0 -44
- package/dist/cli/concurrent-runs-help-QWDTLZUX.js +0 -22
- package/dist/cli/describe-G3SUS76P.js +0 -50
- package/dist/cli/git-QU673DBV.js +0 -26
- package/dist/cli/search-T3SLR55O.js +0 -32
- package/dist/cli/sessions-GHW2H7N2.js +0 -23
- package/dist/cli/skills-JVLCEUBF.js +0 -37
- package/dist/cli/tools-ETA3BJNM.js +0 -57
- package/dist/cli/update-XZEBQCEY.js +0 -37
|
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
|
|
|
205
205
|
// getters keep their established compatibility behavior.
|
|
206
206
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
207
207
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
208
|
-
version: '0.3.
|
|
208
|
+
version: '0.3.582',
|
|
209
209
|
updateSummary: {
|
|
210
210
|
introducedIn: '0.3.90',
|
|
211
211
|
summary:
|
|
@@ -1221,11 +1221,11 @@
|
|
|
1221
1221
|
{
|
|
1222
1222
|
"id": "inngest.workflow-cron-tick",
|
|
1223
1223
|
"name": "Workflow cron tick",
|
|
1224
|
-
"scheduler": "
|
|
1224
|
+
"scheduler": "convex_cron",
|
|
1225
1225
|
"cadence": "* * * * *",
|
|
1226
1226
|
"timezone": "UTC",
|
|
1227
|
-
"source": "
|
|
1228
|
-
"locator": "
|
|
1227
|
+
"source": "packages/convex/crons.ts",
|
|
1228
|
+
"locator": "workflow cron tick",
|
|
1229
1229
|
"owner": "workflows",
|
|
1230
1230
|
"criticality": "critical",
|
|
1231
1231
|
"purpose": "Find due workflow cron bindings and enqueue their next workflow runs.",
|
|
@@ -1233,7 +1233,7 @@
|
|
|
1233
1233
|
"failureDefinition": "Scan/enqueue fails or due bindings lack a durable disposition.",
|
|
1234
1234
|
"startGraceMs": 120000,
|
|
1235
1235
|
"runTimeoutMs": 1800000,
|
|
1236
|
-
"failureAlert": "
|
|
1236
|
+
"failureAlert": "convex_action_wrapper",
|
|
1237
1237
|
"domainReportRequired": true
|
|
1238
1238
|
},
|
|
1239
1239
|
{
|
|
@@ -12,6 +12,7 @@ export const MANUALLY_RUNNABLE_CONVEX_CRON_JOB_IDS = [
|
|
|
12
12
|
'github.credit-purchase-readiness-scan',
|
|
13
13
|
'github.credit-purchase-readiness-morning',
|
|
14
14
|
'inngest.play-cron-tick',
|
|
15
|
+
'inngest.workflow-cron-tick',
|
|
15
16
|
'convex.fold-usage-rollups',
|
|
16
17
|
'convex.sweep-closed-day-usage-rollups',
|
|
17
18
|
'convex.cleanup-expired-org-day-usage-shards',
|
|
@@ -1,18 +1,18 @@
|
|
|
1
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; } var _class; var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
|
|
8
|
+
require('./chunk-ZH23XGJO.js');
|
|
9
9
|
require('./chunk-6VLFQZK6.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
14
14
|
require('./chunk-CFJFUVX2.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-FBSPHBAF.js');
|
|
16
16
|
require('./chunk-OG64RBAC.js');
|
|
17
17
|
require('./chunk-COGTRVWW.js');
|
|
18
18
|
|
|
@@ -183,7 +183,7 @@ function describeOverview(overview) {
|
|
|
183
183
|
];
|
|
184
184
|
}
|
|
185
185
|
function print(payload, title, lines, options) {
|
|
186
|
-
|
|
186
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
|
|
187
187
|
{ ...payload, render: { sections: [{ title, lines }] } },
|
|
188
188
|
{ json: options.json }
|
|
189
189
|
);
|
|
@@ -277,7 +277,7 @@ async function readModelKey() {
|
|
|
277
277
|
return Buffer.concat(chunks).toString("utf8").trim();
|
|
278
278
|
}
|
|
279
279
|
async function sendTestMessage(input2) {
|
|
280
|
-
const { http } =
|
|
280
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
281
281
|
return http.post(
|
|
282
282
|
`${AGENT_PATH}/test`,
|
|
283
283
|
{
|
|
@@ -368,7 +368,7 @@ async function handleChat(channelId, options) {
|
|
|
368
368
|
threadId = reply.threadId;
|
|
369
369
|
const text = describeReply(channelId, reply, true).map((line2) => `agent> ${line2}
|
|
370
370
|
`).join("");
|
|
371
|
-
|
|
371
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0, reply, { json: false, text });
|
|
372
372
|
}
|
|
373
373
|
} finally {
|
|
374
374
|
rl.close();
|
|
@@ -378,7 +378,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
378
378
|
agents.command("list").description(
|
|
379
379
|
"Show whether agents are on, their model billing, every agent with its channels, and the skill library."
|
|
380
380
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
381
|
-
const { http } =
|
|
381
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
382
382
|
const overview = await http.get(AGENT_PATH);
|
|
383
383
|
print(overview, "deepline agents", describeOverview(overview), options);
|
|
384
384
|
});
|
|
@@ -389,7 +389,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
389
389
|
printDryRun("POST", `${AGENT_PATH}/enable`, {}, options);
|
|
390
390
|
return;
|
|
391
391
|
}
|
|
392
|
-
const { http } =
|
|
392
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
393
393
|
const result = await http.post(
|
|
394
394
|
`${AGENT_PATH}/enable`,
|
|
395
395
|
{}
|
|
@@ -411,7 +411,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
411
411
|
printDryRun("POST", `${AGENT_PATH}/disable`, {}, options);
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
|
-
const { http } =
|
|
414
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
415
415
|
const result = await http.post(
|
|
416
416
|
`${AGENT_PATH}/disable`,
|
|
417
417
|
{}
|
|
@@ -443,7 +443,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
443
443
|
}
|
|
444
444
|
const apiKey = await readKey();
|
|
445
445
|
if (!apiKey) throw new AgentUsageError("No key was given.");
|
|
446
|
-
const { http } =
|
|
446
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
447
447
|
const overview = await http.put(`${AGENT_PATH}/billing`, {
|
|
448
448
|
mode: "own_key",
|
|
449
449
|
provider: _nullishCoalesce(options.provider, () => ( keyProvider(apiKey))),
|
|
@@ -455,7 +455,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
455
455
|
agents.command("models").description(
|
|
456
456
|
"List the models an agent or one of its channels can run on, and which your workspace\u2019s key can run."
|
|
457
457
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
458
|
-
const { http } =
|
|
458
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
459
459
|
const result = await http.get(
|
|
460
460
|
`${AGENT_PATH}/models`
|
|
461
461
|
);
|
|
@@ -479,7 +479,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
479
479
|
agents.command("outcomes").description(
|
|
480
480
|
"List the outcomes Bot by Deepline owns by default (those with no home channel), with what woke it last on each."
|
|
481
481
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
482
|
-
const { http } =
|
|
482
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
483
483
|
const result = await http.get(
|
|
484
484
|
`${AGENT_PATH}/outcomes`
|
|
485
485
|
);
|
|
@@ -499,7 +499,7 @@ function registerWorkspaceCommands(agents, readKey) {
|
|
|
499
499
|
}
|
|
500
500
|
function registerAgentCommands(agents) {
|
|
501
501
|
agents.command("get").description("Show one agent: its instructions, skills and channels.").argument("<name>", "Agent name").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
502
|
-
const { http } =
|
|
502
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
503
503
|
const result = await http.get(
|
|
504
504
|
`${AGENT_PATH}/agents/${encodeURIComponent(requireArgument(name, "an agent name"))}`
|
|
505
505
|
);
|
|
@@ -529,7 +529,7 @@ function registerAgentCommands(agents) {
|
|
|
529
529
|
printDryRun("POST", `${AGENT_PATH}/agents`, body, options);
|
|
530
530
|
return;
|
|
531
531
|
}
|
|
532
|
-
const { http } =
|
|
532
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
533
533
|
const result = await http.post(
|
|
534
534
|
`${AGENT_PATH}/agents`,
|
|
535
535
|
body
|
|
@@ -573,7 +573,7 @@ function registerAgentCommands(agents) {
|
|
|
573
573
|
printDryRun("PATCH", path, body, options);
|
|
574
574
|
return;
|
|
575
575
|
}
|
|
576
|
-
const { http } =
|
|
576
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
577
577
|
const result = await http.patch(path, body);
|
|
578
578
|
print(result, "agent updated", describeAgent(result.agent), options);
|
|
579
579
|
}
|
|
@@ -586,7 +586,7 @@ function registerAgentCommands(agents) {
|
|
|
586
586
|
printDryRun("DELETE", path, null, options);
|
|
587
587
|
return;
|
|
588
588
|
}
|
|
589
|
-
const { http } =
|
|
589
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
590
590
|
const result = await http.delete(path);
|
|
591
591
|
print(
|
|
592
592
|
result,
|
|
@@ -629,7 +629,7 @@ function registerChannelCommands(agents) {
|
|
|
629
629
|
printDryRun("POST", `${AGENT_PATH}/channels`, body, options);
|
|
630
630
|
return;
|
|
631
631
|
}
|
|
632
|
-
const { http } =
|
|
632
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
633
633
|
const result = await http.post(`${AGENT_PATH}/channels`, body);
|
|
634
634
|
print(
|
|
635
635
|
result,
|
|
@@ -689,7 +689,7 @@ function registerChannelCommands(agents) {
|
|
|
689
689
|
printDryRun("PATCH", path, body, options);
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
|
-
const { http } =
|
|
692
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
693
693
|
const result = await http.patch(path, body);
|
|
694
694
|
print(
|
|
695
695
|
result,
|
|
@@ -718,7 +718,7 @@ function registerChannelCommands(agents) {
|
|
|
718
718
|
printDryRun("DELETE", path, null, options);
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
721
|
-
const { http } =
|
|
721
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
722
722
|
const result = await http.delete(path);
|
|
723
723
|
print(
|
|
724
724
|
result,
|
|
@@ -754,7 +754,7 @@ function registerSlackCommands(agents) {
|
|
|
754
754
|
slack.command("install").description(
|
|
755
755
|
"Print a link that adds the agent to a Slack workspace (owners and admins). Open it, pick the Slack workspace and approve."
|
|
756
756
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
757
|
-
const { http } =
|
|
757
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
758
758
|
const result = await http.post(
|
|
759
759
|
`${AGENT_PATH}/slack/install`,
|
|
760
760
|
{}
|
|
@@ -773,7 +773,7 @@ function registerSlackCommands(agents) {
|
|
|
773
773
|
slack.command("link").description(
|
|
774
774
|
"Say which Slack user you are, with the code from the link the agent showed you in Slack. Your clicks there (answering an ask, connecting a channel) are then made as you."
|
|
775
775
|
).argument("<code>", "The code from the link, or the whole link").option("--json", "Emit JSON output").action(async (code, options) => {
|
|
776
|
-
const { http } =
|
|
776
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
777
777
|
const result = await http.post(`${AGENT_PATH}/slack/link`, { code: slackLinkCode(code) });
|
|
778
778
|
print(
|
|
779
779
|
result,
|
|
@@ -787,7 +787,7 @@ function registerSlackCommands(agents) {
|
|
|
787
787
|
slack.command("unlink").description(
|
|
788
788
|
"Forget which Slack user you are in this workspace. Your clicks in Slack decide nothing until you link again."
|
|
789
789
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
790
|
-
const { http } =
|
|
790
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
791
791
|
const result = await http.delete(
|
|
792
792
|
`${AGENT_PATH}/slack/link`
|
|
793
793
|
);
|
|
@@ -803,7 +803,7 @@ function registerSlackCommands(agents) {
|
|
|
803
803
|
slack.command("status").description(
|
|
804
804
|
"List the Slack workspaces this workspace installed the agent in."
|
|
805
805
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
806
|
-
const { http } =
|
|
806
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
807
807
|
const result = await http.get(
|
|
808
808
|
`${AGENT_PATH}/slack/installations`
|
|
809
809
|
);
|
|
@@ -822,7 +822,7 @@ function registerSkillCommands(agents) {
|
|
|
822
822
|
"The workspace\u2019s skill library: markdown an agent loads when its description matches the task."
|
|
823
823
|
);
|
|
824
824
|
skills.command("get").description("Show one library skill with its markdown.").argument("<name>", "Skill name").option("--json", "Emit JSON output").action(async (name, options) => {
|
|
825
|
-
const { http } =
|
|
825
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
826
826
|
const result = await http.get(
|
|
827
827
|
`${AGENT_PATH}/skills/${encodeURIComponent(requireArgument(name, "a skill name"))}`
|
|
828
828
|
);
|
|
@@ -860,7 +860,7 @@ function registerSkillCommands(agents) {
|
|
|
860
860
|
printDryRun("PUT", path, body, options);
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
|
-
const { http } =
|
|
863
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
864
864
|
const result = await http.put(path, body);
|
|
865
865
|
print(
|
|
866
866
|
result,
|
|
@@ -883,7 +883,7 @@ function registerSkillCommands(agents) {
|
|
|
883
883
|
printDryRun("DELETE", path, null, options);
|
|
884
884
|
return;
|
|
885
885
|
}
|
|
886
|
-
const { http } =
|
|
886
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
887
887
|
const result = await http.delete(path);
|
|
888
888
|
print(
|
|
889
889
|
result,
|
|
@@ -937,7 +937,7 @@ function registerFeedbackCommand(agents) {
|
|
|
937
937
|
params.set("cursor", requireArgument(options.cursor, "--cursor"));
|
|
938
938
|
}
|
|
939
939
|
const query = params.toString();
|
|
940
|
-
const { http } =
|
|
940
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
941
941
|
const page = await http.get(
|
|
942
942
|
`${AGENT_PATH}/feedback${query ? `?${query}` : ""}`
|
|
943
943
|
).catch((error) => {
|
|
@@ -1000,7 +1000,7 @@ function registerRepliesCommand(agents) {
|
|
|
1000
1000
|
params.set("cursor", requireArgument(options.cursor, "--cursor"));
|
|
1001
1001
|
}
|
|
1002
1002
|
const query = params.toString();
|
|
1003
|
-
const { http } =
|
|
1003
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
1004
1004
|
const page = await http.get(`${AGENT_PATH}/replies${query ? `?${query}` : ""}`).catch((error) => {
|
|
1005
1005
|
if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === REPLIES_INVALID_CURSOR) {
|
|
1006
1006
|
throw new AgentUsageError(`--cursor: ${error.message}`);
|
|
@@ -1026,13 +1026,13 @@ function registerActivityCommand(agents) {
|
|
|
1026
1026
|
agents.command("activity").description(
|
|
1027
1027
|
"Sum each agent's replies over the last 7 days: how many, how they ended, median time, tokens and the last reply."
|
|
1028
1028
|
).option("--json", "Emit JSON output").action(async (options) => {
|
|
1029
|
-
const { http } =
|
|
1029
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
1030
1030
|
const activity = await http.get(`${AGENT_PATH}/activity`);
|
|
1031
1031
|
print(activity, "agent activity", describeActivity(activity), options);
|
|
1032
1032
|
});
|
|
1033
1033
|
}
|
|
1034
1034
|
function registerAgentsCommands(program, readKey = readModelKey) {
|
|
1035
|
-
const agents = program.command("agents", { hidden: !
|
|
1035
|
+
const agents = program.command("agents", { hidden: !_chunk5436ZJPHjs.cliFeatureEnabled.call(void 0, AGENT_FEATURE) }).description(
|
|
1036
1036
|
"Deepline agents in Slack: create agents with instructions and skills, bind channels to them, and talk to them."
|
|
1037
1037
|
);
|
|
1038
1038
|
registerWorkspaceCommands(agents, readKey);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NVHICORD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
cliFeatureEnabled
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
8
|
+
import "./chunk-LDMCTV2Z.mjs";
|
|
9
9
|
import "./chunk-ASB47RXJ.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DeeplineError
|
|
13
13
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
14
14
|
import "./chunk-2MGZAI54.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZARGHLZZ.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
reportSetupCompleted,
|
|
15
15
|
resolvePendingAuthClaimForResume,
|
|
16
16
|
statusBannerLine
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-LHA45DNY.mjs";
|
|
18
|
+
import "./chunk-NVHICORD.mjs";
|
|
19
|
+
import "./chunk-ROUNT4NX.mjs";
|
|
20
|
+
import "./chunk-LDMCTV2Z.mjs";
|
|
21
21
|
import "./chunk-ASB47RXJ.mjs";
|
|
22
22
|
import "./chunk-DLIRSHV6.mjs";
|
|
23
23
|
import "./chunk-Z3A2S3QM.mjs";
|
|
24
24
|
import "./chunk-2MGZAI54.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ZARGHLZZ.mjs";
|
|
26
26
|
import "./chunk-WZYKRD7T.mjs";
|
|
27
27
|
import "./chunk-KRD6H754.mjs";
|
|
28
28
|
export {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkYPP436NMjs = require('./chunk-YPP436NM.js');
|
|
18
|
+
require('./chunk-VA35T3AF.js');
|
|
19
|
+
require('./chunk-5436ZJPH.js');
|
|
20
|
+
require('./chunk-ZH23XGJO.js');
|
|
21
|
+
require('./chunk-6VLFQZK6.js');
|
|
22
|
+
require('./chunk-XNYIZMNQ.js');
|
|
23
|
+
require('./chunk-LFQJW4S2.js');
|
|
24
|
+
require('./chunk-CFJFUVX2.js');
|
|
25
|
+
require('./chunk-FBSPHBAF.js');
|
|
26
|
+
require('./chunk-OG64RBAC.js');
|
|
27
|
+
require('./chunk-COGTRVWW.js');
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
exports.EXIT_WORKSPACE_MISMATCH = _chunkYPP436NMjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkYPP436NMjs.authStatusLine; exports.clearPendingClaim = _chunkYPP436NMjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkYPP436NMjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkYPP436NMjs.handleRegister; exports.handleStatus = _chunkYPP436NMjs.handleStatus; exports.handleWait = _chunkYPP436NMjs.handleWait; exports.httpJson = _chunkYPP436NMjs.httpJson; exports.readPendingAuthClaim = _chunkYPP436NMjs.readPendingAuthClaim; exports.readStatusBanner = _chunkYPP436NMjs.readStatusBanner; exports.registerAuthCommands = _chunkYPP436NMjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkYPP436NMjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkYPP436NMjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkYPP436NMjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkYPP436NMjs.statusBannerLine;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
concurrentRunsLine
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7QX5PCHP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
buildDashboardUrl
|
|
6
6
|
} from "./chunk-SECFDB27.mjs";
|
|
7
7
|
import "./chunk-STXDSVQZ.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LHA45DNY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DeeplineClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U2QQQNWW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
PUBLIC_PLAN_SKUS,
|
|
14
14
|
iterateCursorPages,
|
|
15
15
|
requireBillingIdempotencyKey,
|
|
16
16
|
resolvePublicPlanSku
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DSHIB2XQ.mjs";
|
|
18
18
|
import "./chunk-FZHMNK6F.mjs";
|
|
19
19
|
import "./chunk-5TYLSS4Q.mjs";
|
|
20
20
|
import "./chunk-PSX3WHIH.mjs";
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
openInBrowser,
|
|
38
38
|
printCommandEnvelope,
|
|
39
39
|
shouldEmitJson
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NVHICORD.mjs";
|
|
41
41
|
import {
|
|
42
42
|
resolveBaseUrlOnly,
|
|
43
43
|
resolveCliDashboardOrgId
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
45
|
+
import "./chunk-LDMCTV2Z.mjs";
|
|
46
46
|
import {
|
|
47
47
|
AuthError,
|
|
48
48
|
ConfigError
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
DeeplineError
|
|
53
53
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
54
54
|
import "./chunk-2MGZAI54.mjs";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-ZARGHLZZ.mjs";
|
|
56
56
|
import "./chunk-WZYKRD7T.mjs";
|
|
57
57
|
import "./chunk-KRD6H754.mjs";
|
|
58
58
|
|