@agentrix/agentrix-run 0.8.0 → 0.9.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/index.cjs CHANGED
@@ -12,6 +12,7 @@ function usage() {
12
12
  "",
13
13
  "Options:",
14
14
  " --title <text>",
15
+ " --client-task-id <id>",
15
16
  " --allow-filesystem-agent",
16
17
  " --resume <task-id>",
17
18
  " --repo <json>",
@@ -193,6 +194,10 @@ function parseArgs(argv) {
193
194
  options.title = requireValue(argv, index, arg);
194
195
  index += 1;
195
196
  break;
197
+ case "--client-task-id":
198
+ options.clientTaskId = requireValue(argv, index, arg);
199
+ index += 1;
200
+ break;
196
201
  case "--prompt":
197
202
  options.prompt = requireValue(argv, index, arg);
198
203
  index += 1;
@@ -452,6 +457,7 @@ function mergeRepo(explicitRepo, detectedRepo) {
452
457
  function buildRequest(options, detected) {
453
458
  const repo = mergeRepo(options.repo, detected.repo);
454
459
  const request = {
460
+ clientTaskId: options.clientTaskId,
455
461
  agent: options.agent,
456
462
  allowFilesystemAgent: options.allowFilesystemAgent || readBooleanEnv("AGENTRIX_ALLOW_FILESYSTEM_AGENT") || void 0,
457
463
  responseMode: options.responseMode,
package/dist/index.mjs CHANGED
@@ -10,6 +10,7 @@ function usage() {
10
10
  "",
11
11
  "Options:",
12
12
  " --title <text>",
13
+ " --client-task-id <id>",
13
14
  " --allow-filesystem-agent",
14
15
  " --resume <task-id>",
15
16
  " --repo <json>",
@@ -191,6 +192,10 @@ function parseArgs(argv) {
191
192
  options.title = requireValue(argv, index, arg);
192
193
  index += 1;
193
194
  break;
195
+ case "--client-task-id":
196
+ options.clientTaskId = requireValue(argv, index, arg);
197
+ index += 1;
198
+ break;
194
199
  case "--prompt":
195
200
  options.prompt = requireValue(argv, index, arg);
196
201
  index += 1;
@@ -450,6 +455,7 @@ function mergeRepo(explicitRepo, detectedRepo) {
450
455
  function buildRequest(options, detected) {
451
456
  const repo = mergeRepo(options.repo, detected.repo);
452
457
  const request = {
458
+ clientTaskId: options.clientTaskId,
453
459
  agent: options.agent,
454
460
  allowFilesystemAgent: options.allowFilesystemAgent || readBooleanEnv("AGENTRIX_ALLOW_FILESYSTEM_AGENT") || void 0,
455
461
  responseMode: options.responseMode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentrix/agentrix-run",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Native CI submit-and-observe wrapper for Agentrix",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,10 +29,10 @@
29
29
  "scripts": {
30
30
  "typecheck": "tsc --noEmit",
31
31
  "build": "shx rm -rf dist && tsc --noEmit && pkgroll",
32
- "prepublishOnly": "yarn build"
32
+ "prepublishOnly": "bun run build"
33
33
  },
34
34
  "dependencies": {
35
- "@agentrix/shared": "^2.41.0"
35
+ "@agentrix/shared": "^2.46.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": ">=20",
@@ -43,6 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public",
45
45
  "registry": "https://registry.npmjs.org"
46
- },
47
- "packageManager": "yarn@1.22.22"
46
+ }
48
47
  }