@skillrecordings/cli 0.16.0 → 0.16.1
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/index.js +26 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -74719,19 +74719,19 @@ var ROOT_DESCRIPTIONS = {
|
|
|
74719
74719
|
minimal: "Skill Recordings support agent CLI. Try: skill wizard, skill keys, skill front inbox, skill front triage. Use --help for details."
|
|
74720
74720
|
};
|
|
74721
74721
|
var FRONT_DESCRIPTIONS = {
|
|
74722
|
-
full: "Front conversations, inboxes, tags, archival, and reporting.\n\n
|
|
74723
|
-
abbreviated: "Front API workflows for inbox triage and conversation actions.\n\n Common:\n skill front inbox\n skill front triage\n skill front conversation <id> -m\n skill front reply <id>\n skill front archive <id
|
|
74724
|
-
minimal: "Front API commands (inbox, triage, assign, reply, archive).
|
|
74722
|
+
full: "Front conversations, inboxes, tags, archival, and reporting.\n\n Start here:\n skill front inbox See unassigned conversations\n skill front inbox support List conversations in a specific inbox\n skill front triage AI-powered categorization of inbox items\n\n Investigate a conversation:\n skill front conversation <id> -m Full conversation with messages\n skill front message <id> Single message details + body\n\n Take action:\n skill front assign <id> Assign to a teammate\n skill front reply <id> Draft a reply (HITL, never auto-sends)\n skill front tag <id> Add a tag\n skill front archive <id> Archive a resolved conversation\n\n Bulk operations:\n skill front bulk-archive Archive old/spam conversations\n skill front report Volume + tag + sender forensics\n\n All commands accept --json for HATEOAS-enriched output with _links and _actions.",
|
|
74723
|
+
abbreviated: "Front API workflows for inbox triage and conversation actions.\n\n Common:\n skill front inbox\n skill front triage\n skill front conversation <id> -m\n skill front reply <id>\n skill front archive <id>",
|
|
74724
|
+
minimal: "Front API commands (inbox, triage, assign, reply, archive)."
|
|
74725
74725
|
};
|
|
74726
74726
|
var AUTH_DESCRIPTIONS = {
|
|
74727
|
-
full: "
|
|
74728
|
-
abbreviated: "
|
|
74729
|
-
minimal: "Auth
|
|
74727
|
+
full: "View CLI authentication status.\n\n Check your setup:\n skill auth status Shows which secrets are loaded\n skill auth whoami Verify your 1Password service account identity\n\n API keys ship with the CLI (encrypted). To override with personal keys:\n skill keys Manage personal API key overrides",
|
|
74728
|
+
abbreviated: "View CLI authentication status.\n\n Commands:\n skill auth status\n skill auth whoami",
|
|
74729
|
+
minimal: "Auth status commands (auth status, auth whoami)."
|
|
74730
74730
|
};
|
|
74731
74731
|
var INNGEST_DESCRIPTIONS = {
|
|
74732
|
-
full: "Inngest event and workflow commands.\n\n Debug pipeline runs:\n skill inngest runs --status failed --after 1h Recent failures\n skill inngest events --after 12h Recent events\n skill inngest investigate <run-id> Deep-dive a specific run
|
|
74733
|
-
abbreviated: "Inngest events and workflow runs.\n\n Common:\n skill inngest runs --status failed --after 1h\n skill inngest events --after 12h\n skill inngest investigate <run-id
|
|
74734
|
-
minimal: "Inngest events and runs debugging.
|
|
74732
|
+
full: "Inngest event and workflow commands.\n\n Debug pipeline runs:\n skill inngest runs --status failed --after 1h Recent failures\n skill inngest events --after 12h Recent events\n skill inngest investigate <run-id> Deep-dive a specific run",
|
|
74733
|
+
abbreviated: "Inngest events and workflow runs.\n\n Common:\n skill inngest runs --status failed --after 1h\n skill inngest events --after 12h\n skill inngest investigate <run-id>",
|
|
74734
|
+
minimal: "Inngest events and runs debugging."
|
|
74735
74735
|
};
|
|
74736
74736
|
var GROUP_DESCRIPTIONS = {
|
|
74737
74737
|
root: ROOT_DESCRIPTIONS,
|
|
@@ -114099,9 +114099,6 @@ function registerKeysCommands(program3) {
|
|
|
114099
114099
|
// src/commands/linear/index.ts
|
|
114100
114100
|
init_esm_shims();
|
|
114101
114101
|
|
|
114102
|
-
// src/commands/linear/assign.ts
|
|
114103
|
-
init_esm_shims();
|
|
114104
|
-
|
|
114105
114102
|
// src/core/write-gate.ts
|
|
114106
114103
|
init_esm_shims();
|
|
114107
114104
|
function requirePersonalKey(keyName) {
|
|
@@ -114117,6 +114114,9 @@ function requirePersonalKey(keyName) {
|
|
|
114117
114114
|
});
|
|
114118
114115
|
}
|
|
114119
114116
|
|
|
114117
|
+
// src/commands/linear/assign.ts
|
|
114118
|
+
init_esm_shims();
|
|
114119
|
+
|
|
114120
114120
|
// src/commands/linear/client.ts
|
|
114121
114121
|
init_esm_shims();
|
|
114122
114122
|
import { LinearClient } from "@linear/sdk";
|
|
@@ -116318,7 +116318,9 @@ Quick start:
|
|
|
116318
116318
|
skill linear create "Title" Create issue
|
|
116319
116319
|
skill linear search "query" Search issues
|
|
116320
116320
|
|
|
116321
|
-
All commands support --json for machine-readable output
|
|
116321
|
+
All commands support --json for machine-readable output.
|
|
116322
|
+
|
|
116323
|
+
\u26A0\uFE0F Write operations require personal LINEAR_API_KEY (run 'skill keys add').`
|
|
116322
116324
|
);
|
|
116323
116325
|
linear.command("issues").description(
|
|
116324
116326
|
`List issues with optional filters
|
|
@@ -116348,6 +116350,7 @@ Examples:
|
|
|
116348
116350
|
skill linear my --state "In Progress" Only in-progress
|
|
116349
116351
|
skill linear my --limit 5 Just top 5`
|
|
116350
116352
|
).option("--limit <number>", "Maximum results (default: 20)", "20").option("--state <name>", "Filter by state name").option("--json", "Output as JSON with HATEOAS links").action(async (options, command) => {
|
|
116353
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116351
116354
|
const ctx = await contextFromCommand2(command, options);
|
|
116352
116355
|
await listMyIssues(ctx, {
|
|
116353
116356
|
limit: parseInt(options.limit || "20", 10),
|
|
@@ -116392,6 +116395,7 @@ Priority: 0=Urgent, 1=High, 2=Medium, 3=Low, 4=None`
|
|
|
116392
116395
|
(v, p) => [...p, v],
|
|
116393
116396
|
[]
|
|
116394
116397
|
).option("--project <name>", "Project name").option("--estimate <points>", "Estimate in points").option("--due-date <YYYY-MM-DD>", "Due date").option("--json", "Output as JSON with HATEOAS links").action(async (title, options, command) => {
|
|
116398
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116395
116399
|
const ctx = await contextFromCommand2(command, options);
|
|
116396
116400
|
await createIssue(ctx, title, {
|
|
116397
116401
|
description: options.description,
|
|
@@ -116412,6 +116416,7 @@ Examples:
|
|
|
116412
116416
|
skill linear update ENG-123 --priority 1 --estimate 3
|
|
116413
116417
|
skill linear update ENG-123 --due-date 2024-03-15`
|
|
116414
116418
|
).argument("<id>", "Issue identifier").option("--title <text>", "New title").option("--description <text>", "New description").option("--priority <0-4>", "New priority").option("--estimate <points>", "New estimate").option("--due-date <YYYY-MM-DD>", "New due date").option("--project <name>", "Move to project").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116419
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116415
116420
|
const ctx = await contextFromCommand2(command, options);
|
|
116416
116421
|
await updateIssue(ctx, id, {
|
|
116417
116422
|
title: options.title,
|
|
@@ -116430,6 +116435,7 @@ Examples:
|
|
|
116430
116435
|
skill linear assign ENG-123 --to me
|
|
116431
116436
|
skill linear assign ENG-123 --unassign`
|
|
116432
116437
|
).argument("<id>", "Issue identifier").option("--to <email>", 'Assign to user email (or "me")').option("--unassign", "Remove assignee").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116438
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116433
116439
|
const ctx = await contextFromCommand2(command, options);
|
|
116434
116440
|
await assignIssue(ctx, id, {
|
|
116435
116441
|
to: options.to,
|
|
@@ -116445,6 +116451,7 @@ Examples:
|
|
|
116445
116451
|
|
|
116446
116452
|
Use 'skill linear states <team>' to see available states.`
|
|
116447
116453
|
).argument("<id>", "Issue identifier").requiredOption("--state <name>", "Target state name").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116454
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116448
116455
|
const ctx = await contextFromCommand2(command, options);
|
|
116449
116456
|
await changeState(ctx, id, { state: options.state });
|
|
116450
116457
|
});
|
|
@@ -116455,6 +116462,7 @@ Examples:
|
|
|
116455
116462
|
skill linear close ENG-123 Close as done
|
|
116456
116463
|
skill linear close ENG-123 --canceled Cancel the issue`
|
|
116457
116464
|
).argument("<id>", "Issue identifier").option("--canceled", "Close as canceled instead of done").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116465
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116458
116466
|
const ctx = await contextFromCommand2(command, options);
|
|
116459
116467
|
await closeIssue(ctx, id, { canceled: options.canceled });
|
|
116460
116468
|
});
|
|
@@ -116478,6 +116486,7 @@ Use 'skill linear labels <team>' to see available labels.`
|
|
|
116478
116486
|
(v, p) => [...p, v],
|
|
116479
116487
|
[]
|
|
116480
116488
|
).option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116489
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116481
116490
|
const ctx = await contextFromCommand2(command, options);
|
|
116482
116491
|
await modifyLabels(ctx, id, {
|
|
116483
116492
|
add: options.add,
|
|
@@ -116493,6 +116502,7 @@ Examples:
|
|
|
116493
116502
|
skill linear link ENG-123 --related ENG-456
|
|
116494
116503
|
skill linear link ENG-123 --duplicate ENG-456`
|
|
116495
116504
|
).argument("<id>", "Source issue identifier").option("--blocks <id>", "This issue blocks <id>").option("--blocked-by <id>", "This issue is blocked by <id>").option("--related <id>", "Related to <id>").option("--duplicate <id>", "Duplicate of <id>").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116505
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116496
116506
|
const ctx = await contextFromCommand2(command, options);
|
|
116497
116507
|
await linkIssues(ctx, id, {
|
|
116498
116508
|
blocks: options.blocks,
|
|
@@ -116508,6 +116518,7 @@ Examples:
|
|
|
116508
116518
|
skill linear comment ENG-123 --body "Great work!"
|
|
116509
116519
|
skill linear comment ENG-123 --body "## Update\\n- Item 1\\n- Item 2"`
|
|
116510
116520
|
).argument("<id>", "Issue identifier").requiredOption("--body <text>", "Comment text (supports markdown)").option("--json", "Output as JSON with HATEOAS links").action(async (id, options, command) => {
|
|
116521
|
+
requirePersonalKey("LINEAR_API_KEY");
|
|
116511
116522
|
const ctx = await contextFromCommand2(command, options);
|
|
116512
116523
|
await addComment(ctx, id, { body: options.body });
|
|
116513
116524
|
});
|
|
@@ -120076,8 +120087,8 @@ if (!envLoaded && !process.env.DATABASE_URL) {
|
|
|
120076
120087
|
process.env.SKIP_ENV_VALIDATION = "1";
|
|
120077
120088
|
}
|
|
120078
120089
|
var runtimeTarget = `bun-${process.platform}-${process.arch}`;
|
|
120079
|
-
var buildVersion = "0.16.
|
|
120080
|
-
var buildCommit = "
|
|
120090
|
+
var buildVersion = "0.16.1".length > 0 ? "0.16.1" : "0.0.0-dev";
|
|
120091
|
+
var buildCommit = "7f0ef62".length > 0 ? "7f0ef62" : "dev";
|
|
120081
120092
|
var buildTarget = "node".length > 0 ? "node" : runtimeTarget;
|
|
120082
120093
|
var isDevBuild = buildVersion.includes("dev") || buildCommit === "dev";
|
|
120083
120094
|
var versionLabel = `skill v${buildVersion} (${buildCommit}) ${buildTarget}`;
|