@wjarka/cezarion 0.13.5-pr361.558 → 0.13.5-pr362.554

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.
@@ -14,7 +14,7 @@
14
14
  import { type ReleaseManifests as ReleaseManifestSet } from './manifests.ts';
15
15
  /** The CI facts the decision needs, straight from GitHub Actions' env/event. */
16
16
  export interface SnapshotContext {
17
- /** `GITHUB_EVENT_NAME` — `pull_request` / `pull_request_target` and `push` publish previews; `schedule`
17
+ /** `GITHUB_EVENT_NAME` — `pull_request` and `push` publish previews; `schedule`
18
18
  * and `workflow_dispatch` publish only the explicitly requested nightly. */
19
19
  eventName: string;
20
20
  /** `GITHUB_REF_NAME` for push events — only `develop` publishes a snapshot;
@@ -30,7 +30,7 @@ export interface SnapshotContext {
30
30
  /** `YYYYMMDD` (UTC) of the day a nightly is cut — the nightly version is named
31
31
  * after its date. Required for the nightly channel, ignored by every other. */
32
32
  nightlyDate?: string;
33
- /** PR number for pull request events; absent/invalid → no publish. */
33
+ /** PR number for pull_request events; absent/invalid → no publish. */
34
34
  prNumber?: number;
35
35
  /** `owner/name` of the PR head repo — fork PRs (≠ `repo`) never publish. */
36
36
  headRepo?: string;
@@ -52,7 +52,7 @@ function resolveChannel(ctx) {
52
52
  return null;
53
53
  return { channel: 'nightly', distTag: 'nightly' };
54
54
  }
55
- if (ctx.eventName === 'pull_request' || ctx.eventName === 'pull_request_target') {
55
+ if (ctx.eventName === 'pull_request') {
56
56
  const n = ctx.prNumber;
57
57
  if (n === undefined || !Number.isInteger(n) || n <= 0)
58
58
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/release/snapshot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,gBAAgB,EAA+C,MAAM,gBAAgB,CAAC;AA2C/F,MAAM,UAAU,eAAe,CAAC,GAAoB;IAClD,MAAM,OAAO,GAAG,cAAc,C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I,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC;QACzE,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC;IACnD,CAAC;IACD,IAAI,GAAG,CAAC,SAAS,KAAK,MAAM,EAAE,CAAC;QAC7B,4EAA4E;QAC5E,qEAAqE;QACrE,uEAAuE;QACvE,iEAAiE;QACjE,IAAI,GAAG,CAAC,OAAO,KAAK,SAAS;YAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;QACjF,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAID;;;;;;eAMe;AACf,MAAM,UAAU,cAAc,CAC5B,SAA6B,EAC7B,OAAe;IAEf,OAAO,gBAAgB,CAAC,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACxD,CAAC;AAED;;sEAEsE;AACtE,MAAM,UAAU,iBAAiB,CAAC,SAAiB,EAAE,OAAe;IAClE,MAAM,GAAG,GAAG,OAAO,SAAS,IAAI,OAAO,EAAE,CAAC;IAC1C,OAAO;QACL,GAAG,GAAG,oEAAoE;QAC1E,GAAG,GAAG,gDAAgD;QACtD,GAAG,GAAG,qEAAqE;KAC5E,CAAC;AACJ,CAAC"}
@@ -3942,6 +3942,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3942
3942
  } & {
3943
3943
  "/repo/commit/:sha": {
3944
3944
  $get: {
3945
+ output: string;
3946
+ outputFormat: "text";
3947
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3948
+ input: {
3949
+ query: {
3950
+ structured?: string | undefined;
3951
+ };
3952
+ } & {
3953
+ param: {
3954
+ sha: string;
3955
+ };
3956
+ };
3957
+ } | {
3945
3958
  output: {
3946
3959
  error: string;
3947
3960
  code?: "invalid_input" | undefined;
@@ -4005,19 +4018,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4005
4018
  sha: string;
4006
4019
  };
4007
4020
  };
4008
- } | {
4009
- output: string;
4010
- outputFormat: "text";
4011
- status: import("hono/utils/http-status").ContentfulStatusCode;
4012
- input: {
4013
- query: {
4014
- structured?: string | undefined;
4015
- };
4016
- } & {
4017
- param: {
4018
- sha: string;
4019
- };
4020
- };
4021
4021
  };
4022
4022
  };
4023
4023
  } & {
@@ -10068,20 +10068,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10068
10068
  } & {
10069
10069
  "/runs/:id/handoff": {
10070
10070
  $get: {
10071
- output: {
10072
- error: string;
10073
- };
10074
- outputFormat: "json";
10075
- status: 404;
10071
+ output: string;
10072
+ outputFormat: "text";
10073
+ status: 200;
10076
10074
  input: {
10077
10075
  param: {
10078
10076
  id: string;
10079
10077
  };
10080
10078
  };
10081
10079
  } | {
10082
- output: string;
10083
- outputFormat: "text";
10084
- status: 200;
10080
+ output: {
10081
+ error: string;
10082
+ };
10083
+ outputFormat: "json";
10084
+ status: 404;
10085
10085
  input: {
10086
10086
  param: {
10087
10087
  id: string;
@@ -10119,20 +10119,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10119
10119
  } & {
10120
10120
  "/runs/:id/diff": {
10121
10121
  $get: {
10122
- output: {
10123
- error: string;
10124
- };
10125
- outputFormat: "json";
10126
- status: 404;
10122
+ output: string;
10123
+ outputFormat: "text";
10124
+ status: import("hono/utils/http-status").ContentfulStatusCode;
10127
10125
  input: {
10128
10126
  param: {
10129
10127
  id: string;
10130
10128
  };
10131
10129
  };
10132
10130
  } | {
10133
- output: string;
10134
- outputFormat: "text";
10135
- status: import("hono/utils/http-status").ContentfulStatusCode;
10131
+ output: {
10132
+ error: string;
10133
+ };
10134
+ outputFormat: "json";
10135
+ status: 404;
10136
10136
  input: {
10137
10137
  param: {
10138
10138
  id: string;
@@ -12504,6 +12504,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12504
12504
  } & {
12505
12505
  "/repo/commit/:sha": {
12506
12506
  $get: {
12507
+ output: string;
12508
+ outputFormat: "text";
12509
+ status: import("hono/utils/http-status").ContentfulStatusCode;
12510
+ input: {
12511
+ query: {
12512
+ structured?: string | undefined;
12513
+ };
12514
+ } & {
12515
+ param: {
12516
+ sha: string;
12517
+ };
12518
+ };
12519
+ } | {
12507
12520
  output: {
12508
12521
  error: string;
12509
12522
  code?: "invalid_input" | undefined;
@@ -12567,19 +12580,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12567
12580
  sha: string;
12568
12581
  };
12569
12582
  };
12570
- } | {
12571
- output: string;
12572
- outputFormat: "text";
12573
- status: import("hono/utils/http-status").ContentfulStatusCode;
12574
- input: {
12575
- query: {
12576
- structured?: string | undefined;
12577
- };
12578
- } & {
12579
- param: {
12580
- sha: string;
12581
- };
12582
- };
12583
12583
  };
12584
12584
  };
12585
12585
  } & {
@@ -18630,20 +18630,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18630
18630
  } & {
18631
18631
  "/runs/:id/handoff": {
18632
18632
  $get: {
18633
- output: {
18634
- error: string;
18635
- };
18636
- outputFormat: "json";
18637
- status: 404;
18633
+ output: string;
18634
+ outputFormat: "text";
18635
+ status: 200;
18638
18636
  input: {
18639
18637
  param: {
18640
18638
  id: string;
18641
18639
  };
18642
18640
  };
18643
18641
  } | {
18644
- output: string;
18645
- outputFormat: "text";
18646
- status: 200;
18642
+ output: {
18643
+ error: string;
18644
+ };
18645
+ outputFormat: "json";
18646
+ status: 404;
18647
18647
  input: {
18648
18648
  param: {
18649
18649
  id: string;
@@ -18681,20 +18681,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18681
18681
  } & {
18682
18682
  "/runs/:id/diff": {
18683
18683
  $get: {
18684
- output: {
18685
- error: string;
18686
- };
18687
- outputFormat: "json";
18688
- status: 404;
18684
+ output: string;
18685
+ outputFormat: "text";
18686
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18689
18687
  input: {
18690
18688
  param: {
18691
18689
  id: string;
18692
18690
  };
18693
18691
  };
18694
18692
  } | {
18695
- output: string;
18696
- outputFormat: "text";
18697
- status: import("hono/utils/http-status").ContentfulStatusCode;
18693
+ output: {
18694
+ error: string;
18695
+ };
18696
+ outputFormat: "json";
18697
+ status: 404;
18698
18698
  input: {
18699
18699
  param: {
18700
18700
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wjarka/cezarion",
3
- "version": "0.13.5-pr361.558",
3
+ "version": "0.13.5-pr362.554",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -50,8 +50,8 @@
50
50
  "zod": "^4.4.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@open-mercato/cezar-api-client": "0.13.5-pr361.558",
54
- "@open-mercato/cezar-contract": "0.13.5-pr361.558",
53
+ "@open-mercato/cezar-api-client": "0.13.5-pr362.554",
54
+ "@open-mercato/cezar-contract": "0.13.5-pr362.554",
55
55
  "@types/node": "^20.14.0",
56
56
  "@types/ws": "^8.18.1",
57
57
  "esbuild": "^0.28.1",