@staff0rd/assist 0.1011.3 → 0.1013.0
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/claude/commands/draft.md +24 -4
- package/claude/commands/refine.md +24 -3
- package/dist/commands/sessions/web/bundle.js +403 -403
- package/dist/index.js +9 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.1013.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -2886,7 +2886,8 @@ var gitRefKindSchema = z7.enum([
|
|
|
2886
2886
|
"pr",
|
|
2887
2887
|
"slack",
|
|
2888
2888
|
"session",
|
|
2889
|
-
"docs-unlock"
|
|
2889
|
+
"docs-unlock",
|
|
2890
|
+
"design"
|
|
2890
2891
|
]);
|
|
2891
2892
|
var gitRefSchema = z7.strictObject({
|
|
2892
2893
|
kind: gitRefKindSchema,
|
|
@@ -16293,7 +16294,7 @@ function errorMessage2(error) {
|
|
|
16293
16294
|
function registerActivityCommands(cmd) {
|
|
16294
16295
|
internalCommand(
|
|
16295
16296
|
cmd.command("add-activity <id> <kind> <ref>").description(
|
|
16296
|
-
"Attach an activity ref (branch|commit|pr|slack|session) to a backlog item"
|
|
16297
|
+
"Attach an activity ref (branch|commit|pr|slack|session|design) to a backlog item"
|
|
16297
16298
|
).option("--title <title>", "Title metadata for the ref").option("--url <url>", "URL metadata (auto-filled for branch/commit)").option("--state <state>", "State metadata for the ref").action(addActivity),
|
|
16298
16299
|
"/draft and /bug"
|
|
16299
16300
|
);
|
|
@@ -20514,6 +20515,7 @@ function groupActivityRefs(refs, commitLimit = ACTIVITY_COMMIT_LIMIT) {
|
|
|
20514
20515
|
const commits2 = newestFirst2("commit");
|
|
20515
20516
|
return {
|
|
20516
20517
|
docsUnlocks: newestFirst2("docs-unlock"),
|
|
20518
|
+
designs: newestFirst2("design"),
|
|
20517
20519
|
branches: newestFirst2("branch"),
|
|
20518
20520
|
commits: commits2.slice(0, commitLimit),
|
|
20519
20521
|
overflowCommits: commits2.slice(commitLimit),
|
|
@@ -20534,7 +20536,7 @@ function refLabel(ref) {
|
|
|
20534
20536
|
const state = ref.state ? ` (${ref.state.toLowerCase()})` : "";
|
|
20535
20537
|
return `#${ref.ref}${title}${state}`;
|
|
20536
20538
|
}
|
|
20537
|
-
if (ref.kind === "slack" || ref.kind === "session" || ref.kind === "docs-unlock") {
|
|
20539
|
+
if (ref.kind === "slack" || ref.kind === "session" || ref.kind === "docs-unlock" || ref.kind === "design") {
|
|
20538
20540
|
return ref.title ?? ref.ref;
|
|
20539
20541
|
}
|
|
20540
20542
|
return ref.ref;
|
|
@@ -20549,6 +20551,7 @@ function printRef(ref) {
|
|
|
20549
20551
|
function printActivity(item, options2 = {}) {
|
|
20550
20552
|
const {
|
|
20551
20553
|
docsUnlocks,
|
|
20554
|
+
designs,
|
|
20552
20555
|
branches,
|
|
20553
20556
|
commits: commits2,
|
|
20554
20557
|
overflowCommits,
|
|
@@ -20561,6 +20564,7 @@ function printActivity(item, options2 = {}) {
|
|
|
20561
20564
|
);
|
|
20562
20565
|
const ordered = [
|
|
20563
20566
|
...docsUnlocks,
|
|
20567
|
+
...designs,
|
|
20564
20568
|
...branches,
|
|
20565
20569
|
...commits2,
|
|
20566
20570
|
...prs2,
|
|
@@ -20570,6 +20574,7 @@ function printActivity(item, options2 = {}) {
|
|
|
20570
20574
|
if (ordered.length === 0) return;
|
|
20571
20575
|
console.log(chalk109.bold("Activity"));
|
|
20572
20576
|
for (const unlock of docsUnlocks) printRef(unlock);
|
|
20577
|
+
for (const design of designs) printRef(design);
|
|
20573
20578
|
for (const branch2 of branches) printRef(branch2);
|
|
20574
20579
|
for (const commit2 of commits2) printRef(commit2);
|
|
20575
20580
|
if (overflowCommits.length > 0) {
|