@shepai/cli 1.91.2 → 1.92.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/packages/core/src/infrastructure/services/version.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/version.service.js +2 -0
- package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts +1 -0
- package/dist/src/presentation/web/app/actions/get-feature-phase-timings.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/get-feature-phase-timings.js +1 -0
- package/dist/src/presentation/web/components/common/drawer-action-bar/drawer-action-bar.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.d.ts +29 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.js +79 -37
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.d.ts +13 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.js +213 -0
- package/dist/src/presentation/web/components/common/index.d.ts +1 -0
- package/dist/src/presentation/web/components/common/index.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/index.js +1 -0
- package/dist/src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.js +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.d.ts +2 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.js +2 -2
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.stories.d.ts +1 -0
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.stories.js +5 -0
- package/dist/src/presentation/web/components/common/version-badge/index.d.ts +3 -0
- package/dist/src/presentation/web/components/common/version-badge/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/version-badge/index.js +1 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.d.ts +11 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.js +17 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.stories.d.ts +14 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/version-badge/version-badge.stories.js +48 -0
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts +3 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +4 -3
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts +1 -0
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +6 -0
- package/dist/src/presentation/web/lib/version.d.ts +2 -0
- package/dist/src/presentation/web/lib/version.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/version.js +2 -0
- package/dist/src/presentation/web/next.config.d.ts.map +1 -1
- package/dist/src/presentation/web/next.config.js +13 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +5 -2
- package/web/.next/required-server-files.json +5 -2
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +21 -21
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +21 -21
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +14 -14
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +21 -21
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +21 -21
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +14 -14
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +14 -14
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +5 -5
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_da7eef33.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_@drawer_repository_[repositoryId]_page_actions_da7eef33.js.map +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_0a9251aa.js +1 -1
- package/web/.next/server/chunks/ssr/8ba4b_server_app_(dashboard)_repository_[repositoryId]_page_actions_0a9251aa.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11033878._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17143953._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17143953._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45aad79d._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__45aad79d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4be9a9bb._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5cc4752a._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5cc4752a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5d87af2e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__89e8a5cc._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9de266fa._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9de266fa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__aad040c0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e630cc47._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e630cc47._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fdc75809._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js +1 -1
- package/web/.next/server/chunks/ssr/_135edb9c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_21c75883._.js +1 -1
- package/web/.next/server/chunks/ssr/_21c75883._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js +1 -1
- package/web/.next/server/chunks/ssr/_8dacd1e7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_c7cbaa5a._.js → _b31870c9._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_c7cbaa5a._.js.map → _b31870c9._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_cc77a143._.js +1 -1
- package/web/.next/server/chunks/ssr/_cc77a143._.js.map +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_021a05f2.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_021a05f2.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_1fa8042e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_24684200.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_c4348b8a._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_c4348b8a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_bf50c527._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_de814675._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_e599bb8c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_e4510d10._.js +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_e4510d10._.js.map +1 -1
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +28 -28
- package/web/.next/static/chunks/{2b9e733e68c3f0ba.js → 1178ab163c46f638.js} +2 -2
- package/web/.next/static/chunks/{dae134b822779271.js → 1fc219a4c715e4e5.js} +1 -1
- package/web/.next/static/chunks/{b42c95e09eda7e6c.js → 3f4e4bce2182fc78.js} +1 -1
- package/web/.next/static/chunks/4f94860011f9fb20.css +2 -0
- package/web/.next/static/chunks/641f22e428fcb3f9.js +1 -0
- package/web/.next/static/chunks/{d363ed7ca4c4c725.js → 68e548df22ca41e8.js} +1 -1
- package/web/.next/static/chunks/{0f3c293f02cc43ad.js → 6c8e83b9a001e9f6.js} +1 -1
- package/web/.next/static/chunks/91cc5983165efe3c.js +1 -0
- package/web/.next/static/chunks/{49af1c74082ce7a2.js → a5d2d001031a0d3c.js} +1 -1
- package/web/.next/static/chunks/{28c4e60c725c5bb6.js → a8ef40f9e1dd65a1.js} +1 -1
- package/web/.next/static/chunks/{21fe7847d6102a65.js → c8fb1f672ab599be.js} +1 -1
- package/web/.next/static/chunks/{e3d4ce99231716c7.js → fb82a429c1efe88e.js} +1 -1
- package/web/.next/static/chunks/7acc79e599df9890.js +0 -1
- package/web/.next/static/chunks/84792270363aa69b.js +0 -1
- package/web/.next/static/chunks/c54c75d5aa78cdfb.css +0 -2
- /package/web/.next/static/{T5VYcM75qy8yhPRrfIQ8R → VAODCOhDu1LYPg7Qpw6A2}/_buildManifest.js +0 -0
- /package/web/.next/static/{T5VYcM75qy8yhPRrfIQ8R → VAODCOhDu1LYPg7Qpw6A2}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{T5VYcM75qy8yhPRrfIQ8R → VAODCOhDu1LYPg7Qpw6A2}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.service.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/services/version.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAG9E,YAAY,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAsC9E;;GAEG;AACH,qBACa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;;IAM1C,OAAO,CAAC,eAAe;IAqCvB;;OAEG;IACH,UAAU,IAAI,WAAW;CAG1B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"version.service.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/services/version.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAG9E,YAAY,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAsC9E;;GAEG;AACH,qBACa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;;IAM1C,OAAO,CAAC,eAAe;IAqCvB;;OAEG;IACH,UAAU,IAAI,WAAW;CAG1B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAMzD"}
|
|
@@ -111,4 +111,6 @@ export function setVersionEnvVars(info) {
|
|
|
111
111
|
process.env.NEXT_PUBLIC_SHEP_VERSION = info.version;
|
|
112
112
|
process.env.NEXT_PUBLIC_SHEP_PACKAGE_NAME = info.name;
|
|
113
113
|
process.env.NEXT_PUBLIC_SHEP_DESCRIPTION = info.description;
|
|
114
|
+
process.env.NEXT_PUBLIC_SHEP_INSTANCE_PATH = process.cwd();
|
|
115
|
+
// Branch is intentionally not set in production mode — only dev mode shows it
|
|
114
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-feature-phase-timings.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-feature-phase-timings.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,KAAK,qBAAqB,GACtB;IAAE,OAAO,EAAE,eAAe,EAAE,CAAC;IAAC,iBAAiB,EAAE,qBAAqB,EAAE,CAAA;CAAE,GAC1E;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtB,wBAAsB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA2B9F"}
|
|
1
|
+
{"version":3,"file":"get-feature-phase-timings.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/get-feature-phase-timings.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,KAAK,qBAAqB,GACtB;IAAE,OAAO,EAAE,eAAe,EAAE,CAAC;IAAC,iBAAiB,EAAE,qBAAqB,EAAE,CAAA;CAAE,GAC1E;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtB,wBAAsB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CA2B9F"}
|
|
@@ -42,6 +42,7 @@ async function readRejectionFeedback(featureId) {
|
|
|
42
42
|
iteration: Number(entry.iteration ?? 1),
|
|
43
43
|
message: String(entry.message ?? ''),
|
|
44
44
|
phase: entry.phase ? String(entry.phase) : undefined,
|
|
45
|
+
timestamp: entry.timestamp ? String(entry.timestamp) : undefined,
|
|
45
46
|
attachments: Array.isArray(entry.attachments)
|
|
46
47
|
? entry.attachments.map(String)
|
|
47
48
|
: undefined,
|
|
@@ -269,7 +269,7 @@ export function DrawerActionBar({ onReject, onApprove, approveLabel, revisionPla
|
|
|
269
269
|
}
|
|
270
270
|
}, []);
|
|
271
271
|
const modKey = typeof navigator !== 'undefined' && /Mac/i.test(navigator.userAgent) ? '⌘' : 'Ctrl';
|
|
272
|
-
return (_jsxs("div", { className: "border-border shrink-0 border-t", children: [children, onReject ? (_jsx(TooltipProvider, { delayDuration: 400, children: _jsx("form", { ref: formRef, onSubmit: handleFormSubmit, className: "p-3", children: _jsx("div", { role: "region", "aria-label": "File drop zone", "data-drag-over": isDragOver ? 'true' : 'false', onDragEnter: handleDragEnter, onDragLeave: handleDragLeave, onDragOver: handleDragOver, onDrop: handleDrop, className: cn('rounded-md border-2 border-transparent transition-colors', isDragOver && 'border-primary/50 bg-primary/5'), children: _jsxs("div", { className: "border-input focus-within:ring-ring/50 focus-within:border-ring flex flex-col overflow-hidden rounded-md border shadow-xs transition-[color,box-shadow] focus-within:ring-[3px]", children: [_jsx(Textarea, { placeholder: revisionPlaceholder ?? 'Ask AI to revise...', "aria-label": revisionPlaceholder ?? 'Ask AI to revise...', disabled: disabled, value: chatInput, onChange: (e) => setChatInput(e.target.value), onKeyDown: handleKeyDown, onPaste: handlePaste, rows: 3, className: "min-h-0 flex-1 resize-none rounded-none border-0 shadow-none focus-visible:ring-0", "data-testid": "drawer-chat-input" }), attachments.length > 0 && (_jsx("div", { className: "flex flex-wrap items-center gap-1.5 px-3 py-2", children: attachments.map((file) => (_jsx(AttachmentChip, { name: file.name, size: file.size, mimeType: file.mimeType, path: file.path, onRemove: () => handleRemoveFile(file.id), disabled: disabled, loading: file.loading }, file.id))) })), uploadError ? (_jsx("p", { className: "text-destructive px-3 pb-2 text-xs", children: uploadError })) : null, _jsxs("div", { className: "border-input flex items-center gap-2 border-t px-3 py-1.5", children: [_jsxs("span", { className: "text-muted-foreground flex-1 truncate text-[11px]", children: [_jsxs("kbd", { className: "bg-muted rounded px-1 py-0.5 font-mono text-[10px]", children: [modKey, "+Enter"] }), ' ', "reject", _jsx("span", { className: "mx-1 opacity-40", children: "|" }), _jsxs("kbd", { className: "bg-muted rounded px-1 py-0.5 font-mono text-[10px]", children: [modKey, "+Shift+Enter"] }), ' ', "approve"] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", onClick: handleAddFiles, disabled: disabled, "aria-label": "Attach files", className: "text-muted-foreground hover:text-foreground cursor-pointer rounded p-1 transition-colors", children: _jsx(PaperclipIcon, { className: "h-4 w-4" }) }) }), _jsx(TooltipContent, { side: "top", children: "Attach files" })] }), _jsx("div", { onMouseLeave: () => setHoverExpanded(false), children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("button", { type: "submit", disabled: disabled, "data-testid": "drawer-action-submit", className: cn('relative flex h-8 min-w-[10rem] cursor-pointer items-center overflow-hidden rounded-md border pr-10 pl-4 text-sm font-medium whitespace-nowrap transition-colors', 'disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50', approveExpanded
|
|
272
|
+
return (_jsxs("div", { className: "border-border shrink-0 border-t", children: [children, onReject ? (_jsx(TooltipProvider, { delayDuration: 400, children: _jsx("form", { ref: formRef, onSubmit: handleFormSubmit, className: "p-3", children: _jsx("div", { role: "region", "aria-label": "File drop zone", "data-drag-over": isDragOver ? 'true' : 'false', onDragEnter: handleDragEnter, onDragLeave: handleDragLeave, onDragOver: handleDragOver, onDrop: handleDrop, className: cn('rounded-md border-2 border-transparent transition-colors', isDragOver && 'border-primary/50 bg-primary/5'), children: _jsxs("div", { className: "border-input focus-within:ring-ring/50 focus-within:border-ring flex flex-col overflow-hidden rounded-md border shadow-xs transition-[color,box-shadow] focus-within:ring-[3px]", children: [_jsx(Textarea, { placeholder: revisionPlaceholder ?? 'Ask AI to revise...', "aria-label": revisionPlaceholder ?? 'Ask AI to revise...', disabled: disabled, value: chatInput, onChange: (e) => setChatInput(e.target.value), onKeyDown: handleKeyDown, onPaste: handlePaste, rows: 3, className: "max-h-[35dvh] min-h-0 flex-1 resize-none overflow-y-auto rounded-none border-0 shadow-none focus-visible:ring-0", "data-testid": "drawer-chat-input" }), attachments.length > 0 && (_jsx("div", { className: "flex flex-wrap items-center gap-1.5 px-3 py-2", children: attachments.map((file) => (_jsx(AttachmentChip, { name: file.name, size: file.size, mimeType: file.mimeType, path: file.path, onRemove: () => handleRemoveFile(file.id), disabled: disabled, loading: file.loading }, file.id))) })), uploadError ? (_jsx("p", { className: "text-destructive px-3 pb-2 text-xs", children: uploadError })) : null, _jsxs("div", { className: "border-input flex items-center gap-2 border-t px-3 py-1.5", children: [_jsxs("span", { className: "text-muted-foreground flex-1 truncate text-[11px]", children: [_jsxs("kbd", { className: "bg-muted rounded px-1 py-0.5 font-mono text-[10px]", children: [modKey, "+Enter"] }), ' ', "reject", _jsx("span", { className: "mx-1 opacity-40", children: "|" }), _jsxs("kbd", { className: "bg-muted rounded px-1 py-0.5 font-mono text-[10px]", children: [modKey, "+Shift+Enter"] }), ' ', "approve"] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("button", { type: "button", onClick: handleAddFiles, disabled: disabled, "aria-label": "Attach files", className: "text-muted-foreground hover:text-foreground cursor-pointer rounded p-1 transition-colors", children: _jsx(PaperclipIcon, { className: "h-4 w-4" }) }) }), _jsx(TooltipContent, { side: "top", children: "Attach files" })] }), _jsx("div", { onMouseLeave: () => setHoverExpanded(false), children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs("button", { type: "submit", disabled: disabled, "data-testid": "drawer-action-submit", className: cn('relative flex h-8 min-w-[10rem] cursor-pointer items-center overflow-hidden rounded-md border pr-10 pl-4 text-sm font-medium whitespace-nowrap transition-colors', 'disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50', approveExpanded
|
|
273
273
|
? 'border-blue-400/60 text-white'
|
|
274
274
|
: rejectHighlighted
|
|
275
275
|
? 'border-primary bg-muted ring-primary/30 shadow-sm ring-1'
|
|
@@ -5,5 +5,34 @@ export interface ActivityTabProps {
|
|
|
5
5
|
error: string | null;
|
|
6
6
|
rejectionFeedback?: RejectionFeedbackData[];
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* A single iteration in the lifecycle timeline.
|
|
10
|
+
*
|
|
11
|
+
* An iteration represents one cycle of work:
|
|
12
|
+
* started/resumed → phase work → rejected/completed/failed
|
|
13
|
+
*
|
|
14
|
+
* Each rejected iteration has associated rejection feedback.
|
|
15
|
+
*/
|
|
16
|
+
export interface TimelineIteration {
|
|
17
|
+
/** 1-based iteration number */
|
|
18
|
+
number: number;
|
|
19
|
+
/** The timing events in this iteration */
|
|
20
|
+
timings: PhaseTimingData[];
|
|
21
|
+
/** If this iteration ended with rejection, the feedback message */
|
|
22
|
+
rejectionMessage?: string;
|
|
23
|
+
/** If this iteration ended with rejection, any attachments */
|
|
24
|
+
rejectionAttachments?: string[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Build a lifecycle-aware timeline from flat timing events and rejection feedback.
|
|
28
|
+
*
|
|
29
|
+
* Splits the timing stream at run:rejected boundaries to produce iterations.
|
|
30
|
+
* Each rejection feedback entry is matched to its iteration by index.
|
|
31
|
+
*
|
|
32
|
+
* When there are more feedback entries than run:rejected events in the timings,
|
|
33
|
+
* synthetic run:rejected + run:resumed events are appended to ensure every
|
|
34
|
+
* feedback entry is represented.
|
|
35
|
+
*/
|
|
36
|
+
export declare function buildLifecycleTimeline(timings: PhaseTimingData[], feedback?: RejectionFeedbackData[]): TimelineIteration[];
|
|
8
37
|
export declare function ActivityTab({ timings, loading, error, rejectionFeedback }: ActivityTabProps): import("react/jsx-runtime").JSX.Element;
|
|
9
38
|
//# sourceMappingURL=activity-tab.d.ts.map
|
package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-tab.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-drawer-tabs/activity-tab.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAGjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC7C;
|
|
1
|
+
{"version":3,"file":"activity-tab.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-drawer-tabs/activity-tab.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAGjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC7C;AAiCD;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,+BAA+B;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,mEAAmE;IACnE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;CACjC;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,eAAe,EAAE,EAC1B,QAAQ,CAAC,EAAE,qBAAqB,EAAE,GACjC,iBAAiB,EAAE,CAgErB;AAMD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAE,gBAAgB,2CAyD3F"}
|
|
@@ -25,38 +25,76 @@ function isLifecycleEvent(phase) {
|
|
|
25
25
|
function formatDuration(ms) {
|
|
26
26
|
return `${(ms / 1000).toFixed(1)}s`;
|
|
27
27
|
}
|
|
28
|
-
function groupTimingsByRun(timings) {
|
|
29
|
-
const groups = [];
|
|
30
|
-
for (const t of timings) {
|
|
31
|
-
const last = groups[groups.length - 1];
|
|
32
|
-
if (last?.runId === t.agentRunId) {
|
|
33
|
-
last.timings.push(t);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
groups.push({ runId: t.agentRunId, timings: [t] });
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return groups;
|
|
40
|
-
}
|
|
41
28
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
29
|
+
* Build a lifecycle-aware timeline from flat timing events and rejection feedback.
|
|
30
|
+
*
|
|
31
|
+
* Splits the timing stream at run:rejected boundaries to produce iterations.
|
|
32
|
+
* Each rejection feedback entry is matched to its iteration by index.
|
|
33
|
+
*
|
|
34
|
+
* When there are more feedback entries than run:rejected events in the timings,
|
|
35
|
+
* synthetic run:rejected + run:resumed events are appended to ensure every
|
|
36
|
+
* feedback entry is represented.
|
|
44
37
|
*/
|
|
45
|
-
function
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
38
|
+
export function buildLifecycleTimeline(timings, feedback) {
|
|
39
|
+
if (!timings.length)
|
|
40
|
+
return [];
|
|
41
|
+
// Count existing run:rejected events
|
|
42
|
+
const existingRejectionCount = timings.filter((t) => t.phase === 'run:rejected').length;
|
|
43
|
+
const feedbackCount = feedback?.length ?? 0;
|
|
44
|
+
// Augment timings with synthetic rejection/resumed cycles for unmatched feedback
|
|
45
|
+
let augmented = timings;
|
|
46
|
+
if (feedbackCount > existingRejectionCount) {
|
|
47
|
+
augmented = [...timings];
|
|
48
|
+
// Use last timing's agentRunId as template
|
|
49
|
+
const templateRunId = timings[timings.length - 1].agentRunId;
|
|
50
|
+
for (let i = existingRejectionCount; i < feedbackCount; i++) {
|
|
51
|
+
const fb = feedback[i];
|
|
52
|
+
// Add run:resumed before work (except for the first synthetic, which continues from existing)
|
|
53
|
+
if (i > existingRejectionCount) {
|
|
54
|
+
augmented.push({
|
|
55
|
+
agentRunId: templateRunId,
|
|
56
|
+
phase: 'run:resumed',
|
|
57
|
+
startedAt: fb.timestamp ?? `synthetic-resumed-${i}`,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
// Add run:rejected
|
|
61
|
+
augmented.push({
|
|
62
|
+
agentRunId: templateRunId,
|
|
63
|
+
phase: 'run:rejected',
|
|
64
|
+
startedAt: fb.timestamp ?? `synthetic-${i}`,
|
|
65
|
+
});
|
|
56
66
|
}
|
|
57
67
|
}
|
|
58
|
-
|
|
68
|
+
// Split into iterations at run:rejected boundaries
|
|
69
|
+
const iterations = [];
|
|
70
|
+
let currentEvents = [];
|
|
71
|
+
let rejectionIndex = 0;
|
|
72
|
+
for (const t of augmented) {
|
|
73
|
+
currentEvents.push(t);
|
|
74
|
+
if (t.phase === 'run:rejected') {
|
|
75
|
+
const fb = feedback?.[rejectionIndex];
|
|
76
|
+
iterations.push({
|
|
77
|
+
number: iterations.length + 1,
|
|
78
|
+
timings: currentEvents,
|
|
79
|
+
rejectionMessage: fb?.message,
|
|
80
|
+
rejectionAttachments: fb?.attachments,
|
|
81
|
+
});
|
|
82
|
+
currentEvents = [];
|
|
83
|
+
rejectionIndex++;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// Remaining events after last rejection (or all events if no rejections)
|
|
87
|
+
if (currentEvents.length > 0) {
|
|
88
|
+
iterations.push({
|
|
89
|
+
number: iterations.length + 1,
|
|
90
|
+
timings: currentEvents,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
return iterations;
|
|
59
94
|
}
|
|
95
|
+
/* ---------------------------------------------------------------------------
|
|
96
|
+
* Component
|
|
97
|
+
* ------------------------------------------------------------------------- */
|
|
60
98
|
export function ActivityTab({ timings, loading, error, rejectionFeedback }) {
|
|
61
99
|
if (loading) {
|
|
62
100
|
return (_jsx("div", { "data-testid": "activity-tab-loading", className: "flex items-center justify-center p-8", children: _jsx(Loader2, { className: "text-muted-foreground h-6 w-6 animate-spin" }) }));
|
|
@@ -69,24 +107,28 @@ export function ActivityTab({ timings, loading, error, rejectionFeedback }) {
|
|
|
69
107
|
}
|
|
70
108
|
const nodeTimings = timings.filter((t) => !isLifecycleEvent(t.phase));
|
|
71
109
|
const maxDurationMs = Math.max(...nodeTimings.map((t) => t.durationMs ?? 0), ...nodeTimings.map((t) => t.approvalWaitMs ?? 0), 0);
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
-
const groups = groupTimingsByRun(timings);
|
|
75
|
-
const multiRun = groups.length > 1;
|
|
110
|
+
const iterations = buildLifecycleTimeline(timings, rejectionFeedback);
|
|
111
|
+
const hasMultipleIterations = iterations.length > 1;
|
|
76
112
|
const totalExecMs = nodeTimings.reduce((sum, t) => sum + (t.durationMs ?? 0), 0);
|
|
77
113
|
const totalWaitMs = nodeTimings.reduce((sum, t) => sum + (t.approvalWaitMs ?? 0), 0);
|
|
78
|
-
return (_jsxs("div", { className: "flex flex-col gap-4 p-4", children: [_jsx("div", { "data-testid": "activity-timings", className: "flex flex-col gap-3", children:
|
|
114
|
+
return (_jsxs("div", { className: "flex flex-col gap-4 p-4", children: [_jsx("div", { "data-testid": "activity-timings", className: "flex flex-col gap-3", children: iterations.map((iteration) => (_jsx(IterationGroup, { iteration: iteration, showHeader: hasMultipleIterations, maxDurationMs: maxDurationMs }, iteration.number))) }), totalExecMs > 0 ? (_jsx(SummaryTotals, { totalExecMs: totalExecMs, totalWaitMs: totalWaitMs })) : null] }));
|
|
79
115
|
}
|
|
80
|
-
|
|
81
|
-
|
|
116
|
+
/* ---------------------------------------------------------------------------
|
|
117
|
+
* Iteration group — one cycle of work
|
|
118
|
+
* ------------------------------------------------------------------------- */
|
|
119
|
+
function IterationGroup({ iteration, showHeader, maxDurationMs, }) {
|
|
120
|
+
return (_jsxs("div", { "data-testid": `iteration-${iteration.number}`, className: "flex flex-col gap-1.5", children: [showHeader ? (_jsxs("div", { className: "text-muted-foreground text-xs font-medium", children: ["Iteration ", iteration.number] })) : null, iteration.timings.map((t) => {
|
|
82
121
|
if (isLifecycleEvent(t.phase)) {
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
return (_jsx(LifecycleEventRow, { timing: t, message:
|
|
122
|
+
// For run:rejected, the message comes from the iteration, not a separate map
|
|
123
|
+
const isRejection = t.phase === 'run:rejected';
|
|
124
|
+
return (_jsx(LifecycleEventRow, { timing: t, message: isRejection ? iteration.rejectionMessage : undefined, attachments: isRejection ? iteration.rejectionAttachments : undefined }, `${t.agentRunId}-${t.phase}-${t.startedAt}`));
|
|
86
125
|
}
|
|
87
126
|
return (_jsx(NodeTimingRow, { timing: t, maxDurationMs: maxDurationMs }, `${t.agentRunId}-${t.phase}-${t.startedAt}`));
|
|
88
127
|
})] }));
|
|
89
128
|
}
|
|
129
|
+
/* ---------------------------------------------------------------------------
|
|
130
|
+
* Row components
|
|
131
|
+
* ------------------------------------------------------------------------- */
|
|
90
132
|
function LifecycleEventRow({ timing, message, attachments, }) {
|
|
91
133
|
const event = LIFECYCLE_EVENTS[timing.phase];
|
|
92
134
|
if (!event)
|
package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.d.ts
CHANGED
|
@@ -17,6 +17,19 @@ export declare const Empty: Story;
|
|
|
17
17
|
export declare const Error: Story;
|
|
18
18
|
/** Rejection — shows rejected lifecycle event with user feedback text. */
|
|
19
19
|
export declare const WithRejection: Story;
|
|
20
|
+
/**
|
|
21
|
+
* Multiple rejection/resume cycles — realistic lifecycle showing:
|
|
22
|
+
* Iteration 1: work → rejected("rebase on main")
|
|
23
|
+
* Iteration 2: resumed → work → rejected("rebase on main")
|
|
24
|
+
* Iteration 3: rejected("add support for evidence agent...") — synthetic
|
|
25
|
+
* Iteration 4: rejected("screenshots broken...") — synthetic
|
|
26
|
+
*/
|
|
27
|
+
export declare const MultipleRejections: Story;
|
|
20
28
|
/** Approval wait indicators — phases with approval wait sub-rows. */
|
|
21
29
|
export declare const WithApprovalWaits: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Full lifecycle — realistic multi-iteration rejection/resume cycle.
|
|
32
|
+
* Shows the full pattern: start → work → rejected → resumed → work → rejected → resumed → completed
|
|
33
|
+
*/
|
|
34
|
+
export declare const FullLifecycle: Story;
|
|
22
35
|
//# sourceMappingURL=activity-tab.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-tab.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAclC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAmK1C,2EAA2E;AAC3E,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAE,KAgC/B,CAAC"}
|
|
1
|
+
{"version":3,"file":"activity-tab.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAclC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAmK1C,2EAA2E;AAC3E,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAwEhC,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAE,KAgC/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAiI3B,CAAC"}
|
package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.js
CHANGED
|
@@ -288,6 +288,85 @@ export const WithRejection = {
|
|
|
288
288
|
error: null,
|
|
289
289
|
},
|
|
290
290
|
};
|
|
291
|
+
/**
|
|
292
|
+
* Multiple rejection/resume cycles — realistic lifecycle showing:
|
|
293
|
+
* Iteration 1: work → rejected("rebase on main")
|
|
294
|
+
* Iteration 2: resumed → work → rejected("rebase on main")
|
|
295
|
+
* Iteration 3: rejected("add support for evidence agent...") — synthetic
|
|
296
|
+
* Iteration 4: rejected("screenshots broken...") — synthetic
|
|
297
|
+
*/
|
|
298
|
+
export const MultipleRejections = {
|
|
299
|
+
args: {
|
|
300
|
+
timings: [
|
|
301
|
+
{
|
|
302
|
+
agentRunId: 'run-1',
|
|
303
|
+
phase: 'run:started',
|
|
304
|
+
startedAt: '2025-01-15T10:00:00Z',
|
|
305
|
+
durationMs: 0,
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
agentRunId: 'run-1',
|
|
309
|
+
phase: 'plan',
|
|
310
|
+
startedAt: '2025-01-15T10:00:01Z',
|
|
311
|
+
completedAt: '2025-01-15T10:05:00Z',
|
|
312
|
+
durationMs: 300000,
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
agentRunId: 'run-1',
|
|
316
|
+
phase: 'run:rejected',
|
|
317
|
+
startedAt: '2025-01-15T10:05:00Z',
|
|
318
|
+
durationMs: 0,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
agentRunId: 'run-1',
|
|
322
|
+
phase: 'run:resumed',
|
|
323
|
+
startedAt: '2025-01-15T10:10:00Z',
|
|
324
|
+
durationMs: 0,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
agentRunId: 'run-1',
|
|
328
|
+
phase: 'merge',
|
|
329
|
+
startedAt: '2025-01-15T10:10:01Z',
|
|
330
|
+
completedAt: '2025-01-15T10:15:00Z',
|
|
331
|
+
durationMs: 299000,
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
agentRunId: 'run-1',
|
|
335
|
+
phase: 'run:rejected',
|
|
336
|
+
startedAt: '2025-01-15T10:15:00Z',
|
|
337
|
+
durationMs: 0,
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
rejectionFeedback: [
|
|
341
|
+
{
|
|
342
|
+
iteration: 1,
|
|
343
|
+
message: 'rebase on main',
|
|
344
|
+
phase: 'plan',
|
|
345
|
+
timestamp: '2025-01-15T10:05:00Z',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
iteration: 2,
|
|
349
|
+
message: 'rebase on main',
|
|
350
|
+
phase: 'merge',
|
|
351
|
+
timestamp: '2025-01-15T10:15:00Z',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
iteration: 3,
|
|
355
|
+
message: 'add support for evidence agent into fast mode as well',
|
|
356
|
+
phase: 'merge',
|
|
357
|
+
timestamp: '2025-01-15T10:20:00Z',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
iteration: 4,
|
|
361
|
+
message: "I've test and created a feature but the screenshots seems to be broken https://github.com/shep-ai/cli/pull/258 fix",
|
|
362
|
+
phase: 'merge',
|
|
363
|
+
timestamp: '2025-01-15T10:25:00Z',
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
loading: false,
|
|
367
|
+
error: null,
|
|
368
|
+
},
|
|
369
|
+
};
|
|
291
370
|
/** Approval wait indicators — phases with approval wait sub-rows. */
|
|
292
371
|
export const WithApprovalWaits = {
|
|
293
372
|
args: {
|
|
@@ -322,3 +401,137 @@ export const WithApprovalWaits = {
|
|
|
322
401
|
error: null,
|
|
323
402
|
},
|
|
324
403
|
};
|
|
404
|
+
/**
|
|
405
|
+
* Full lifecycle — realistic multi-iteration rejection/resume cycle.
|
|
406
|
+
* Shows the full pattern: start → work → rejected → resumed → work → rejected → resumed → completed
|
|
407
|
+
*/
|
|
408
|
+
export const FullLifecycle = {
|
|
409
|
+
args: {
|
|
410
|
+
timings: [
|
|
411
|
+
// Iteration 1
|
|
412
|
+
{
|
|
413
|
+
agentRunId: 'run-1',
|
|
414
|
+
phase: 'run:started',
|
|
415
|
+
startedAt: '2025-01-15T10:00:00Z',
|
|
416
|
+
durationMs: 0,
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
agentRunId: 'run-1',
|
|
420
|
+
phase: 'analyze',
|
|
421
|
+
startedAt: '2025-01-15T10:00:01Z',
|
|
422
|
+
completedAt: '2025-01-15T10:00:15Z',
|
|
423
|
+
durationMs: 14000,
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
agentRunId: 'run-1',
|
|
427
|
+
phase: 'requirements',
|
|
428
|
+
startedAt: '2025-01-15T10:00:15Z',
|
|
429
|
+
completedAt: '2025-01-15T10:02:00Z',
|
|
430
|
+
durationMs: 105000,
|
|
431
|
+
waitingApprovalAt: '2025-01-15T10:01:30Z',
|
|
432
|
+
approvalWaitMs: 20000,
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
agentRunId: 'run-1',
|
|
436
|
+
phase: 'plan',
|
|
437
|
+
startedAt: '2025-01-15T10:02:00Z',
|
|
438
|
+
completedAt: '2025-01-15T10:04:00Z',
|
|
439
|
+
durationMs: 120000,
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
agentRunId: 'run-1',
|
|
443
|
+
phase: 'implement',
|
|
444
|
+
startedAt: '2025-01-15T10:04:00Z',
|
|
445
|
+
completedAt: '2025-01-15T10:14:00Z',
|
|
446
|
+
durationMs: 600000,
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
agentRunId: 'run-1',
|
|
450
|
+
phase: 'merge',
|
|
451
|
+
startedAt: '2025-01-15T10:14:00Z',
|
|
452
|
+
completedAt: '2025-01-15T10:15:00Z',
|
|
453
|
+
durationMs: 60000,
|
|
454
|
+
waitingApprovalAt: '2025-01-15T10:14:30Z',
|
|
455
|
+
approvalWaitMs: 25000,
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
agentRunId: 'run-1',
|
|
459
|
+
phase: 'run:rejected',
|
|
460
|
+
startedAt: '2025-01-15T10:15:00Z',
|
|
461
|
+
durationMs: 0,
|
|
462
|
+
},
|
|
463
|
+
// Iteration 2
|
|
464
|
+
{
|
|
465
|
+
agentRunId: 'run-1',
|
|
466
|
+
phase: 'run:resumed',
|
|
467
|
+
startedAt: '2025-01-15T10:20:00Z',
|
|
468
|
+
durationMs: 0,
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
agentRunId: 'run-1',
|
|
472
|
+
phase: 'implement',
|
|
473
|
+
startedAt: '2025-01-15T10:20:01Z',
|
|
474
|
+
completedAt: '2025-01-15T10:28:00Z',
|
|
475
|
+
durationMs: 479000,
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
agentRunId: 'run-1',
|
|
479
|
+
phase: 'merge',
|
|
480
|
+
startedAt: '2025-01-15T10:28:00Z',
|
|
481
|
+
completedAt: '2025-01-15T10:29:00Z',
|
|
482
|
+
durationMs: 60000,
|
|
483
|
+
waitingApprovalAt: '2025-01-15T10:28:30Z',
|
|
484
|
+
approvalWaitMs: 20000,
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
agentRunId: 'run-1',
|
|
488
|
+
phase: 'run:rejected',
|
|
489
|
+
startedAt: '2025-01-15T10:29:00Z',
|
|
490
|
+
durationMs: 0,
|
|
491
|
+
},
|
|
492
|
+
// Iteration 3
|
|
493
|
+
{
|
|
494
|
+
agentRunId: 'run-1',
|
|
495
|
+
phase: 'run:resumed',
|
|
496
|
+
startedAt: '2025-01-15T10:35:00Z',
|
|
497
|
+
durationMs: 0,
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
agentRunId: 'run-1',
|
|
501
|
+
phase: 'implement',
|
|
502
|
+
startedAt: '2025-01-15T10:35:01Z',
|
|
503
|
+
completedAt: '2025-01-15T10:40:00Z',
|
|
504
|
+
durationMs: 299000,
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
agentRunId: 'run-1',
|
|
508
|
+
phase: 'merge',
|
|
509
|
+
startedAt: '2025-01-15T10:40:00Z',
|
|
510
|
+
completedAt: '2025-01-15T10:41:00Z',
|
|
511
|
+
durationMs: 60000,
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
agentRunId: 'run-1',
|
|
515
|
+
phase: 'run:completed',
|
|
516
|
+
startedAt: '2025-01-15T10:41:00Z',
|
|
517
|
+
durationMs: 0,
|
|
518
|
+
},
|
|
519
|
+
],
|
|
520
|
+
rejectionFeedback: [
|
|
521
|
+
{
|
|
522
|
+
iteration: 1,
|
|
523
|
+
message: 'The PR has merge conflicts — rebase on main first',
|
|
524
|
+
phase: 'merge',
|
|
525
|
+
timestamp: '2025-01-15T10:15:00Z',
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
iteration: 2,
|
|
529
|
+
message: 'Tests are failing in the CI pipeline — fix the snapshot tests',
|
|
530
|
+
phase: 'merge',
|
|
531
|
+
timestamp: '2025-01-15T10:29:00Z',
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
loading: false,
|
|
535
|
+
error: null,
|
|
536
|
+
},
|
|
537
|
+
};
|
|
@@ -18,4 +18,5 @@ export { SidebarCollapseToggle, type SidebarCollapseToggleProps } from './sideba
|
|
|
18
18
|
export { SidebarNavItem, type SidebarNavItemProps } from './sidebar-nav-item/index.js';
|
|
19
19
|
export { SidebarSectionHeader, type SidebarSectionHeaderProps } from './sidebar-section-header/index.js';
|
|
20
20
|
export { ThemeToggle } from './theme-toggle/index.js';
|
|
21
|
+
export { VersionBadge, type VersionBadgeProps } from './version-badge/index.js';
|
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACL,WAAW,EACX,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -18,3 +18,4 @@ export { SidebarCollapseToggle } from './sidebar-collapse-toggle/index.js';
|
|
|
18
18
|
export { SidebarNavItem } from './sidebar-nav-item/index.js';
|
|
19
19
|
export { SidebarSectionHeader } from './sidebar-section-header/index.js';
|
|
20
20
|
export { ThemeToggle } from './theme-toggle/index.js';
|
|
21
|
+
export { VersionBadge } from './version-badge/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reject-feedback-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAMjF,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,KAAqB,EACrB,WAAiC,GAClC,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"reject-feedback-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAMjF,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,KAAqB,EACrB,WAAiC,GAClC,EAAE,yBAAyB,2CAkD3B"}
|
package/dist/src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.js
CHANGED
|
@@ -15,5 +15,5 @@ export function RejectFeedbackDialog({ open, onOpenChange, onConfirm, isSubmitti
|
|
|
15
15
|
}
|
|
16
16
|
}, [open]);
|
|
17
17
|
const isFeedbackEmpty = feedback.trim().length === 0;
|
|
18
|
-
return (_jsx(AlertDialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(AlertDialogContent, { children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: title }), _jsx(AlertDialogDescription, { children: description })] }), _jsx(Textarea, { "aria-label": "Rejection feedback", placeholder: "Describe what needs to change...", value: feedback, onChange: (e) => setFeedback(e.target.value), disabled: isSubmitting, rows: 4 }), _jsxs(AlertDialogFooter, { children: [_jsx(AlertDialogCancel, { disabled: isSubmitting, onClick: () => onOpenChange(false), children: "Cancel" }), _jsx(AlertDialogAction, { variant: "destructive", disabled: isFeedbackEmpty || isSubmitting, onClick: () => onConfirm(feedback.trim()), children: isSubmitting ? (_jsxs(_Fragment, { children: [_jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), "Rejecting\u2026"] })) : ('Confirm Reject') })] })] }) }));
|
|
18
|
+
return (_jsx(AlertDialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(AlertDialogContent, { children: [_jsxs(AlertDialogHeader, { children: [_jsx(AlertDialogTitle, { children: title }), _jsx(AlertDialogDescription, { children: description })] }), _jsx(Textarea, { "aria-label": "Rejection feedback", placeholder: "Describe what needs to change...", value: feedback, onChange: (e) => setFeedback(e.target.value), disabled: isSubmitting, rows: 4, className: "max-h-[35dvh] overflow-y-auto" }), _jsxs(AlertDialogFooter, { children: [_jsx(AlertDialogCancel, { disabled: isSubmitting, onClick: () => onOpenChange(false), children: "Cancel" }), _jsx(AlertDialogAction, { variant: "destructive", disabled: isFeedbackEmpty || isSubmitting, onClick: () => onConfirm(feedback.trim()), children: isSubmitting ? (_jsxs(_Fragment, { children: [_jsx(Loader2, { className: "mr-2 h-4 w-4 animate-spin" }), "Rejecting\u2026"] })) : ('Confirm Reject') })] })] }) }));
|
|
19
19
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface ShepLogoProps {
|
|
2
2
|
className?: string;
|
|
3
3
|
size?: number;
|
|
4
|
+
variant?: 'default' | 'dev';
|
|
4
5
|
}
|
|
5
|
-
export declare function ShepLogo({ className, size }: ShepLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function ShepLogo({ className, size, variant }: ShepLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
//# sourceMappingURL=shep-logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shep-logo.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/shep-logo/shep-logo.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"shep-logo.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/shep-logo/shep-logo.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC;CAC7B;AAED,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,IAAS,EAAE,OAAmB,EAAE,EAAE,aAAa,2CAkBpF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from '../../../lib/utils.js';
|
|
3
|
-
export function ShepLogo({ className, size = 24 }) {
|
|
4
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 194 200", width: size, height: size, className: cn('shrink-0', className), "aria-hidden": "true", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, -111, -208)", children: _jsx("path", { d: "M 198 406 C196,405 194,403 193,401 C192,399 191,398 186,398 C178,397 174,394 170,387 L 168 381 L 163 381 C156,381 150,377 147,370 C144,364 143,359 146,353 C148,348 148,347 147,347 C145,347 140,343 138,339 C133,329 139,314 149,311 L 152 311 L 149 307 C145,302 145,294 149,290 C151,288 152,287 151,286 C150,283 152,278 155,276 C156,275 159,274 162,273 C165,273 166,273 168,276 C171,278 171,280 172,287 C173,294 174,297 177,304 C180,309 182,314 183,316 C186,327 193,336 199,339 C204,342 211,342 216,340 C222,336 231,324 234,314 C235,312 237,307 239,302 C240,298 242,292 242,289 C243,281 245,278 247,275 C250,273 251,273 255,273 C261,274 264,278 264,282 C264,284 264,286 263,287 C262,287 263,288 265,290 C272,295 272,303 267,309 L 265 312 L 269 314 C276,317 279,323 279,332 C279,339 277,343 272,347 C268,351 268,351 269,354 C272,358 271,366 269,371 C266,376 259,381 254,381 C252,381 251,382 248,386 C242,395 234,400 227,399 C224,398 223,398 221,401 C220,403 217,405 216,406 C211,409 203,409 198,406 ZM 136 271 C123,267 115,262 113,256 C111,251 111,251 113,251 C118,254 124,254 132,252 C136,252 141,251 144,251 C149,251 157,253 162,256 C166,258 166,258 166,264 L 166 269 L 160 270 C149,272 142,272 136,271 ZM 264 271 C263,271 259,270 256,270 L 250 270 L 250 265 C249,259 250,257 259,254 C265,251 272,251 289,252 C297,253 299,253 302,252 C305,250 305,250 305,252 C305,255 301,262 297,264 C289,270 272,273 264,271 ZM 162 249 C160,247 159,245 159,242 C159,236 164,230 169,230 C170,230 171,228 171,225 C171,216 176,210 184,209 C189,209 195,211 195,213 C195,214 196,213 197,212 C201,209 204,208 208,208 C212,208 217,210 219,212 C220,214 220,213 223,211 C226,208 234,208 239,211 C243,214 246,221 246,226 C245,230 245,230 247,230 C253,230 258,238 257,244 C256,249 251,252 245,252 C241,252 237,251 234,248 C232,247 232,247 228,249 C225,251 222,252 220,252 C216,252 212,250 210,247 C209,246 209,246 206,248 C201,252 192,253 185,248 C183,247 183,247 178,249 C172,253 166,253 162,249 ZM 116 249 C112,248 114,247 119,247 C122,247 127,246 130,245 C138,242 146,242 152,245 L 158 248 L 148 247 C142,247 138,247 133,248 C128,250 120,250 116,249 ZM 284 248 C281,247 277,247 270,247 L 260 248 L 263 246 C269,243 276,242 284,245 C289,246 295,247 298,247 C303,247 304,247 303,248 C301,250 289,250 284,248 Z", fill: "currentColor" }) }) }));
|
|
3
|
+
export function ShepLogo({ className, size = 24, variant = 'default' }) {
|
|
4
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 194 200", width: size, height: size, className: cn('shrink-0', variant === 'dev' && 'text-cyan-400', className), "aria-hidden": "true", children: _jsx("g", { transform: "matrix(1, 0, 0, 1, -111, -208)", children: _jsx("path", { d: "M 198 406 C196,405 194,403 193,401 C192,399 191,398 186,398 C178,397 174,394 170,387 L 168 381 L 163 381 C156,381 150,377 147,370 C144,364 143,359 146,353 C148,348 148,347 147,347 C145,347 140,343 138,339 C133,329 139,314 149,311 L 152 311 L 149 307 C145,302 145,294 149,290 C151,288 152,287 151,286 C150,283 152,278 155,276 C156,275 159,274 162,273 C165,273 166,273 168,276 C171,278 171,280 172,287 C173,294 174,297 177,304 C180,309 182,314 183,316 C186,327 193,336 199,339 C204,342 211,342 216,340 C222,336 231,324 234,314 C235,312 237,307 239,302 C240,298 242,292 242,289 C243,281 245,278 247,275 C250,273 251,273 255,273 C261,274 264,278 264,282 C264,284 264,286 263,287 C262,287 263,288 265,290 C272,295 272,303 267,309 L 265 312 L 269 314 C276,317 279,323 279,332 C279,339 277,343 272,347 C268,351 268,351 269,354 C272,358 271,366 269,371 C266,376 259,381 254,381 C252,381 251,382 248,386 C242,395 234,400 227,399 C224,398 223,398 221,401 C220,403 217,405 216,406 C211,409 203,409 198,406 ZM 136 271 C123,267 115,262 113,256 C111,251 111,251 113,251 C118,254 124,254 132,252 C136,252 141,251 144,251 C149,251 157,253 162,256 C166,258 166,258 166,264 L 166 269 L 160 270 C149,272 142,272 136,271 ZM 264 271 C263,271 259,270 256,270 L 250 270 L 250 265 C249,259 250,257 259,254 C265,251 272,251 289,252 C297,253 299,253 302,252 C305,250 305,250 305,252 C305,255 301,262 297,264 C289,270 272,273 264,271 ZM 162 249 C160,247 159,245 159,242 C159,236 164,230 169,230 C170,230 171,228 171,225 C171,216 176,210 184,209 C189,209 195,211 195,213 C195,214 196,213 197,212 C201,209 204,208 208,208 C212,208 217,210 219,212 C220,214 220,213 223,211 C226,208 234,208 239,211 C243,214 246,221 246,226 C245,230 245,230 247,230 C253,230 258,238 257,244 C256,249 251,252 245,252 C241,252 237,251 234,248 C232,247 232,247 228,249 C225,251 222,252 220,252 C216,252 212,250 210,247 C209,246 209,246 206,248 C201,252 192,253 185,248 C183,247 183,247 178,249 C172,253 166,253 162,249 ZM 116 249 C112,248 114,247 119,247 C122,247 127,246 130,245 C138,242 146,242 152,245 L 158 248 L 148 247 C142,247 138,247 133,248 C128,250 120,250 116,249 ZM 284 248 C281,247 277,247 270,247 L 260 248 L 263 246 C269,243 276,242 284,245 C289,246 295,247 298,247 C303,247 304,247 303,248 C301,250 289,250 284,248 Z", fill: "currentColor" }) }) }));
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shep-logo.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/shep-logo/shep-logo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAO/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC"}
|
|
1
|
+
{"version":3,"file":"shep-logo.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/shep-logo/shep-logo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAO/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/version-badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VersionBadge } from './version-badge.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface VersionBadgeProps {
|
|
2
|
+
version: string;
|
|
3
|
+
branch?: string;
|
|
4
|
+
commitHash?: string;
|
|
5
|
+
isDev?: boolean;
|
|
6
|
+
packageName?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
instancePath?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function VersionBadge({ version, branch, commitHash, isDev, packageName, description, instancePath, }: VersionBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=version-badge.d.ts.map
|