@alwaysmeticulous/cli 2.313.1 → 2.314.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/dist/commands/agent/index.d.ts.map +1 -1
- package/dist/commands/agent/index.js +4 -2
- package/dist/commands/agent/index.js.map +1 -1
- package/dist/commands/agent/submit-feedback.command.d.ts +15 -0
- package/dist/commands/agent/submit-feedback.command.d.ts.map +1 -0
- package/dist/commands/agent/submit-feedback.command.js +74 -0
- package/dist/commands/agent/submit-feedback.command.js.map +1 -0
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAc3C,eAAO,MAAM,YAAY,EAAE,aAqC1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="508d3789-34b4-5226-bd70-47824366ddcc")}catch(e){}}();
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.agentCommand = void 0;
|
|
@@ -9,6 +9,7 @@ const screenshot_dom_diff_command_1 = require("./screenshot-dom-diff.command");
|
|
|
9
9
|
const screenshot_image_files_command_1 = require("./screenshot-image-files.command");
|
|
10
10
|
const screenshot_image_command_1 = require("./screenshot-image.command");
|
|
11
11
|
const sessions_command_1 = require("./sessions.command");
|
|
12
|
+
const submit_feedback_command_1 = require("./submit-feedback.command");
|
|
12
13
|
const test_run_diffs_command_1 = require("./test-run-diffs.command");
|
|
13
14
|
const test_run_for_commit_command_1 = require("./test-run-for-commit.command");
|
|
14
15
|
const timeline_command_1 = require("./timeline.command");
|
|
@@ -29,6 +30,7 @@ exports.agentCommand = {
|
|
|
29
30
|
.command(upload_build_command_1.uploadBuildCommand)
|
|
30
31
|
.command(trigger_test_run_command_1.triggerTestRunCommand)
|
|
31
32
|
.command(sessions_command_1.sessionsCommand)
|
|
33
|
+
.command(submit_feedback_command_1.submitFeedbackCommand)
|
|
32
34
|
.option("verbose", {
|
|
33
35
|
boolean: true,
|
|
34
36
|
default: false,
|
|
@@ -48,4 +50,4 @@ exports.agentCommand = {
|
|
|
48
50
|
},
|
|
49
51
|
};
|
|
50
52
|
//# sourceMappingURL=index.js.map
|
|
51
|
-
//# debugId=
|
|
53
|
+
//# debugId=508d3789-34b4-5226-bd70-47824366ddcc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/commands/agent/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AACA,yEAAmE;AACnE,+DAA0D;AAC1D,+EAA+D;AAC/D,qFAAqE;AACrE,yEAA8D;AAC9D,yDAAqD;AACrD,qEAA+D;AAC/D,+EAAwE;AACxE,yDAAyD;AACzD,yEAAmE;AACnE,iEAA4D;AAE/C,QAAA,YAAY,GAAkB;IACzC,OAAO,EAAE,OAAO;IAChB,QAAQ,EACN,0EAA0E;IAC5E,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CACjB,KAAK;SACF,OAAO,CAAC,qDAAuB,CAAC;SAChC,OAAO,CAAC,4CAAmB,CAAC;SAC5B,OAAO,CAAC,uCAAiB,CAAC;SAC1B,OAAO,CAAC,gDAAqB,CAAC;SAC9B,OAAO,CAAC,kDAAiB,CAAC;SAC1B,OAAO,CAAC,2CAAgB,CAAC;SACzB,OAAO,CAAC,4CAAc,CAAC;SACvB,OAAO,CAAC,sCAAmB,CAAC;SAC5B,OAAO,CAAC,yCAAkB,CAAC;SAC3B,OAAO,CAAC,gDAAqB,CAAC;SAC9B,OAAO,CAAC,kCAAe,CAAC;SACxB,MAAM,CAAC,SAAS,EAAE;QACjB,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EACT,4GAA4G;KAC/G,CAAC;SACD,MAAM,CAAC,MAAM,EAAE;QACd,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EACT,oEAAoE;YACpE,gEAAgE;YAChE,0DAA0D;KAC7D,CAAC;SACD,aAAa,EAAE;SACf,IAAI,EAAE;IACX,OAAO,EAAE,GAAG,EAAE;QACZ,0BAA0B;IAC5B,CAAC;CACF,CAAC","debugId":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/commands/agent/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AACA,yEAAmE;AACnE,+DAA0D;AAC1D,+EAA+D;AAC/D,qFAAqE;AACrE,yEAA8D;AAC9D,yDAAqD;AACrD,uEAAkE;AAClE,qEAA+D;AAC/D,+EAAwE;AACxE,yDAAyD;AACzD,yEAAmE;AACnE,iEAA4D;AAE/C,QAAA,YAAY,GAAkB;IACzC,OAAO,EAAE,OAAO;IAChB,QAAQ,EACN,0EAA0E;IAC5E,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CACjB,KAAK;SACF,OAAO,CAAC,qDAAuB,CAAC;SAChC,OAAO,CAAC,4CAAmB,CAAC;SAC5B,OAAO,CAAC,uCAAiB,CAAC;SAC1B,OAAO,CAAC,gDAAqB,CAAC;SAC9B,OAAO,CAAC,kDAAiB,CAAC;SAC1B,OAAO,CAAC,2CAAgB,CAAC;SACzB,OAAO,CAAC,4CAAc,CAAC;SACvB,OAAO,CAAC,sCAAmB,CAAC;SAC5B,OAAO,CAAC,yCAAkB,CAAC;SAC3B,OAAO,CAAC,gDAAqB,CAAC;SAC9B,OAAO,CAAC,kCAAe,CAAC;SACxB,OAAO,CAAC,+CAAqB,CAAC;SAC9B,MAAM,CAAC,SAAS,EAAE;QACjB,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EACT,4GAA4G;KAC/G,CAAC;SACD,MAAM,CAAC,MAAM,EAAE;QACd,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;QACd,WAAW,EACT,oEAAoE;YACpE,gEAAgE;YAChE,0DAA0D;KAC7D,CAAC;SACD,aAAa,EAAE;SACf,IAAI,EAAE;IACX,OAAO,EAAE,GAAG,EAAE;QACZ,0BAA0B;IAC5B,CAAC;CACF,CAAC","debugId":"508d3789-34b4-5226-bd70-47824366ddcc"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CommandModule } from "yargs";
|
|
2
|
+
interface Options {
|
|
3
|
+
apiToken?: string | null | undefined;
|
|
4
|
+
message: string;
|
|
5
|
+
outcome?: string | undefined;
|
|
6
|
+
testRunId?: string | undefined;
|
|
7
|
+
skill?: string | undefined;
|
|
8
|
+
agentName?: string | undefined;
|
|
9
|
+
agentModel?: string | undefined;
|
|
10
|
+
json: boolean;
|
|
11
|
+
project?: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare const submitFeedbackCommand: CommandModule<unknown, Options>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=submit-feedback.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-feedback.command.d.ts","sourceRoot":"","sources":["../../../src/commands/agent/submit-feedback.command.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAM3C,UAAU,OAAO;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAsCD,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,OAAO,EAAE,OAAO,CA2CjE,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="52475c50-13cb-5200-a72c-d2c0a70370af")}catch(e){}}();
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.submitFeedbackCommand = void 0;
|
|
6
|
+
const client_1 = require("@alwaysmeticulous/client");
|
|
7
|
+
const common_1 = require("@alwaysmeticulous/common");
|
|
8
|
+
const print_json_1 = require("../../command-utils/print-json");
|
|
9
|
+
const sentry_utils_1 = require("../../command-utils/sentry.utils");
|
|
10
|
+
const OUTCOMES = ["helped", "neutral", "hindered"];
|
|
11
|
+
const handler = async ({ apiToken, message, outcome, testRunId, skill, agentName, agentModel, json, project, }) => {
|
|
12
|
+
const client = await (0, client_1.createClientWithOAuth)({
|
|
13
|
+
apiToken,
|
|
14
|
+
enableOAuthLogin: true,
|
|
15
|
+
});
|
|
16
|
+
const result = await (0, client_1.submitAgentFeedback)({
|
|
17
|
+
client,
|
|
18
|
+
message,
|
|
19
|
+
outcome: outcome,
|
|
20
|
+
testRunId,
|
|
21
|
+
skill,
|
|
22
|
+
agentName,
|
|
23
|
+
agentModel,
|
|
24
|
+
project,
|
|
25
|
+
});
|
|
26
|
+
if (json) {
|
|
27
|
+
(0, print_json_1.printJson)(result);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
(0, common_1.logProgress)(`feedbackId: ${result.feedbackId}`);
|
|
31
|
+
console.log(result.feedbackId);
|
|
32
|
+
}
|
|
33
|
+
(0, common_1.logNotice)("Feedback submitted. Thank you!");
|
|
34
|
+
};
|
|
35
|
+
exports.submitFeedbackCommand = {
|
|
36
|
+
command: "submit-feedback",
|
|
37
|
+
describe: "Submit free-form feedback about Meticulous to the Meticulous team — e.g. whether it helped catch or debug a problem, what was confusing, or what information would have made your task easier. Outputs the feedbackId.",
|
|
38
|
+
builder: {
|
|
39
|
+
apiToken: { string: true, description: "Meticulous API token." },
|
|
40
|
+
message: {
|
|
41
|
+
string: true,
|
|
42
|
+
demandOption: true,
|
|
43
|
+
description: "The feedback itself: one or two sentences on whether Meticulous helped, what was missing or confusing, and what would have made the task easier.",
|
|
44
|
+
},
|
|
45
|
+
outcome: {
|
|
46
|
+
string: true,
|
|
47
|
+
choices: OUTCOMES,
|
|
48
|
+
description: "Whether Meticulous helped, hindered, or made no difference to your task.",
|
|
49
|
+
},
|
|
50
|
+
testRunId: {
|
|
51
|
+
string: true,
|
|
52
|
+
description: "The test run the feedback relates to, if any.",
|
|
53
|
+
},
|
|
54
|
+
skill: {
|
|
55
|
+
string: true,
|
|
56
|
+
description: "The agentic skill or workflow you were following, e.g. 'meticulous-review'.",
|
|
57
|
+
},
|
|
58
|
+
agentName: {
|
|
59
|
+
string: true,
|
|
60
|
+
description: "The agent product submitting the feedback, e.g. 'claude-code'.",
|
|
61
|
+
},
|
|
62
|
+
agentModel: {
|
|
63
|
+
string: true,
|
|
64
|
+
description: "The underlying model, e.g. 'claude-sonnet-5'.",
|
|
65
|
+
},
|
|
66
|
+
project: {
|
|
67
|
+
string: true,
|
|
68
|
+
description: "The project the feedback relates to (id, 'org/proj', or simply 'proj'). One-off override, when omitted uses the user-configured default project.",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
handler: (0, sentry_utils_1.wrapHandler)(handler),
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=submit-feedback.command.js.map
|
|
74
|
+
//# debugId=52475c50-13cb-5200-a72c-d2c0a70370af
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-feedback.command.js","sources":["../../../src/commands/agent/submit-feedback.command.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AAAA,qDAIkC;AAClC,qDAAkE;AAElE,+DAA2D;AAC3D,mEAA+D;AAE/D,MAAM,QAAQ,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAU,CAAC;AAc5D,MAAM,OAAO,GAAG,KAAK,EAAE,EACrB,QAAQ,EACR,OAAO,EACP,OAAO,EACP,SAAS,EACT,KAAK,EACL,SAAS,EACT,UAAU,EACV,IAAI,EACJ,OAAO,GACC,EAAiB,EAAE;IAC3B,MAAM,MAAM,GAAG,MAAM,IAAA,8BAAqB,EAAC;QACzC,QAAQ;QACR,gBAAgB,EAAE,IAAI;KACvB,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,MAAM,IAAA,4BAAmB,EAAC;QACvC,MAAM;QACN,OAAO;QACP,OAAO,EAAE,OAA2C;QACpD,SAAS;QACT,KAAK;QACL,SAAS;QACT,UAAU;QACV,OAAO;KACR,CAAC,CAAC;IAEH,IAAI,IAAI,EAAE,CAAC;QACT,IAAA,sBAAS,EAAC,MAAM,CAAC,CAAC;IACpB,CAAC;SAAM,CAAC;QACN,IAAA,oBAAW,EAAC,eAAe,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;QAChD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACjC,CAAC;IACD,IAAA,kBAAS,EAAC,gCAAgC,CAAC,CAAC;AAC9C,CAAC,CAAC;AAEW,QAAA,qBAAqB,GAAoC;IACpE,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EACN,wNAAwN;IAC1N,OAAO,EAAE;QACP,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE;QAChE,OAAO,EAAE;YACP,MAAM,EAAE,IAAI;YACZ,YAAY,EAAE,IAAI;YAClB,WAAW,EACT,kJAAkJ;SACrJ;QACD,OAAO,EAAE;YACP,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,QAAQ;YACjB,WAAW,EACT,0EAA0E;SAC7E;QACD,SAAS,EAAE;YACT,MAAM,EAAE,IAAI;YACZ,WAAW,EAAE,+CAA+C;SAC7D;QACD,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,WAAW,EACT,6EAA6E;SAChF;QACD,SAAS,EAAE;YACT,MAAM,EAAE,IAAI;YACZ,WAAW,EACT,gEAAgE;SACnE;QACD,UAAU,EAAE;YACV,MAAM,EAAE,IAAI;YACZ,WAAW,EAAE,+CAA+C;SAC7D;QACD,OAAO,EAAE;YACP,MAAM,EAAE,IAAI;YACZ,WAAW,EACT,kJAAkJ;SACrJ;KACF;IACD,OAAO,EAAE,IAAA,0BAAW,EAAC,OAAO,CAAC;CAC9B,CAAC","debugId":"52475c50-13cb-5200-a72c-d2c0a70370af"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.314.0",
|
|
4
4
|
"description": "The Meticulous CLI",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"puppeteer-core": "24.14.0",
|
|
24
24
|
"tar": "^7.5.19",
|
|
25
25
|
"yargs": "^17.5.1",
|
|
26
|
-
"@alwaysmeticulous/
|
|
26
|
+
"@alwaysmeticulous/api": "2.312.0",
|
|
27
27
|
"@alwaysmeticulous/common": "2.310.0",
|
|
28
|
-
"@alwaysmeticulous/
|
|
29
|
-
"@alwaysmeticulous/
|
|
28
|
+
"@alwaysmeticulous/client": "2.314.0",
|
|
29
|
+
"@alwaysmeticulous/debug-workspace": "2.314.0",
|
|
30
|
+
"@alwaysmeticulous/downloading-helpers": "2.314.0",
|
|
30
31
|
"@alwaysmeticulous/record": "2.312.0",
|
|
31
|
-
"@alwaysmeticulous/remote-replay-launcher": "2.
|
|
32
|
-
"@alwaysmeticulous/replay-orchestrator-launcher": "2.313.1",
|
|
32
|
+
"@alwaysmeticulous/remote-replay-launcher": "2.314.0",
|
|
33
33
|
"@alwaysmeticulous/replay-debugger-ui": "2.283.1",
|
|
34
|
-
"@alwaysmeticulous/
|
|
34
|
+
"@alwaysmeticulous/replay-orchestrator-launcher": "2.314.0",
|
|
35
35
|
"@alwaysmeticulous/sdk-bundles-api": "2.312.0",
|
|
36
36
|
"@alwaysmeticulous/sentry": "2.310.0",
|
|
37
|
-
"@alwaysmeticulous/
|
|
38
|
-
"@alwaysmeticulous/
|
|
37
|
+
"@alwaysmeticulous/session-filters": "2.312.0",
|
|
38
|
+
"@alwaysmeticulous/tunnels-client": "2.313.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/cli-progress": "^3.11.5",
|