@shepai/cli 1.156.0-pr491.8a75139 → 1.156.0-pr494.c711b4b
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/README.md +1 -1
- package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts +18 -0
- package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js +22 -13
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.js +22 -0
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.stories.js +2 -2
- package/dist/src/presentation/web/components/common/merge-review/merge-review.stories.js +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js +3 -3
- package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.js +12 -12
- package/dist/src/presentation/web/components/features/control-center/control-center.stories.js +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js +6 -6
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +11 -11
- package/dist/src/presentation/web/components/features/version/version-page-client.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- 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 +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +26 -26
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +29 -29
- 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 +36 -36
- 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 +36 -36
- 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]/[tab]/page/server-reference-manifest.json +26 -26
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +26 -26
- 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)/chat/page/server-reference-manifest.json +26 -26
- package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +29 -29
- 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 +36 -36
- 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 +36 -36
- 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 +26 -26
- 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]/[tab]/page/server-reference-manifest.json +26 -26
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +26 -26
- 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 +5 -5
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +8 -8
- 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 +10 -10
- 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 +10 -10
- 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 +5 -5
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a402b567._.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/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__209c9597._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__209c9597._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__27301e38._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__27301e38._.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]__56b70465._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__56b70465._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6fecf886._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6fecf886._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8b0aac03._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8d27866c._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8d27866c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9f3504c7._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9f3504c7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bd6ed91a._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bd6ed91a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c30f1f82._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c30f1f82._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f8dd4422._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f8dd4422._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_a81f0c6e._.js → _32b9777a._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_a81f0c6e._.js.map → _32b9777a._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_3a0b989f._.js +2 -2
- package/web/.next/server/chunks/ssr/_3a0b989f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_2a2ef2c8._.js → _4e1e4b58._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_2a2ef2c8._.js.map → _4e1e4b58._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_5f69c13f._.js +1 -1
- package/web/.next/server/chunks/ssr/_5f69c13f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_651cb3c2._.js → _7b534350._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_651cb3c2._.js.map → _7b534350._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_7c5b97c6._.js +1 -1
- package/web/.next/server/chunks/ssr/_7c5b97c6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_82c57f10._.js +1 -1
- package/web/.next/server/chunks/ssr/_82c57f10._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_9495d50b._.js +1 -1
- package/web/.next/server/chunks/ssr/_9495d50b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_a0e3f7e4._.js +1 -1
- package/web/.next/server/chunks/ssr/_a0e3f7e4._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_ac4a3873._.js +1 -1
- package/web/.next/server/chunks/ssr/_ac4a3873._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_ca0aa7f0._.js +1 -1
- package/web/.next/server/chunks/ssr/_ca0aa7f0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_cb5a021e._.js +1 -1
- package/web/.next/server/chunks/ssr/_cb5a021e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d86175ae._.js +1 -1
- package/web/.next/server/chunks/ssr/_d86175ae._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d8bedf13._.js +1 -1
- package/web/.next/server/chunks/ssr/_d8bedf13._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_fa7efce3._.js +2 -2
- package/web/.next/server/chunks/ssr/_fa7efce3._.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_app_actions_open-ide_ts_baaca5d5._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_a5e6c910._.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/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +45 -45
- package/web/.next/static/chunks/{891987a18822095a.js → 1ec3264f111dff5d.js} +1 -1
- package/web/.next/static/chunks/{e4fb17ae2aaffa9c.js → 2e409a3268989284.js} +1 -1
- package/web/.next/static/chunks/{08ff9ace090d2691.js → 3e1e0f9bde3530d2.js} +1 -1
- package/web/.next/static/chunks/{45887253006aae6a.js → 3f9ac8ab310347b6.js} +1 -1
- package/web/.next/static/chunks/{a3014ad1ff61fc87.js → 428309ef9b0c4ac3.js} +1 -1
- package/web/.next/static/chunks/{146b78db5daf2d19.js → 5ba067c38767c5e7.js} +1 -1
- package/web/.next/static/chunks/{a75361ace8441fe1.js → 62c2fb07791aff33.js} +2 -2
- package/web/.next/static/chunks/{093443eed9d7c21d.js → 8786babc62daf9b3.js} +1 -1
- package/web/.next/static/chunks/{02fcb64dbbbdf23e.js → a126d44ed8389191.js} +1 -1
- package/web/.next/static/chunks/{a59d6684b099f03c.js → a90993e5b6265d2b.js} +1 -1
- package/web/.next/static/chunks/{32f0296b12f8e234.js → d78851d3af6a2128.js} +2 -2
- package/web/.next/static/chunks/{d67b0c57d27fc3c5.js → e531be94f441800b.js} +2 -2
- package/web/.next/static/chunks/{5e4685c23943adeb.js → f3953b801ed3c1ae.js} +1 -1
- /package/web/.next/static/{tlmwCGmYXRU5lkxEVtve9 → A7pYDLiSJQO6-Ao4FgOEG}/_buildManifest.js +0 -0
- /package/web/.next/static/{tlmwCGmYXRU5lkxEVtve9 → A7pYDLiSJQO6-Ao4FgOEG}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{tlmwCGmYXRU5lkxEVtve9 → A7pYDLiSJQO6-Ao4FgOEG}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
_Manage 10 features at once — isolated branches, automatic commits, CI watching, and PRs — from a dashboard or the terminal._
|
|
15
15
|
|
|
16
|
-
[](https://github.com/shep-ai/cli/actions/workflows/ci.yml)
|
|
17
17
|
[](https://www.npmjs.com/package/@shepai/cli)
|
|
18
18
|
[](https://opensource.org/licenses/MIT)
|
|
19
19
|
|
package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts
CHANGED
|
@@ -389,6 +389,24 @@ export interface IGitPrService {
|
|
|
389
389
|
* @throws GitPrError with GIT_ERROR code on failure
|
|
390
390
|
*/
|
|
391
391
|
rebaseAbort(cwd: string): Promise<void>;
|
|
392
|
+
/**
|
|
393
|
+
* Stash uncommitted changes in the working directory.
|
|
394
|
+
* Runs `git stash push -m <message>`.
|
|
395
|
+
*
|
|
396
|
+
* @param cwd - Working directory path
|
|
397
|
+
* @param message - Optional stash message
|
|
398
|
+
* @returns True if changes were stashed, false if working directory was clean
|
|
399
|
+
* @throws GitPrError with GIT_ERROR code on failure
|
|
400
|
+
*/
|
|
401
|
+
stash(cwd: string, message?: string): Promise<boolean>;
|
|
402
|
+
/**
|
|
403
|
+
* Pop the most recent stash entry.
|
|
404
|
+
* Runs `git stash pop`.
|
|
405
|
+
*
|
|
406
|
+
* @param cwd - Working directory path
|
|
407
|
+
* @throws GitPrError with GIT_ERROR code on failure (including stash pop conflicts)
|
|
408
|
+
*/
|
|
409
|
+
stashPop(cwd: string): Promise<void>;
|
|
392
410
|
/**
|
|
393
411
|
* Get the sync status (ahead/behind counts) between a feature branch
|
|
394
412
|
* and a base branch's remote-tracking ref.
|
package/dist/packages/core/src/application/ports/output/services/git-pr-service.interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-pr-service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/git-pr-service.interface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;GAEG;AACH,oBAAY,cAAc;IACxB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;aAGjB,IAAI,EAAE,cAAc;aACpB,KAAK,CAAC,EAAE,KAAK;gBAF7B,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpB,KAAK,CAAC,EAAE,KAAK,YAAA;CAKhC;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAA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,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAExC;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C"}
|
|
1
|
+
{"version":3,"file":"git-pr-service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/git-pr-service.interface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;GAEG;AACH,oBAAY,cAAc;IACxB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;CAC5B;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;aAGjB,IAAI,EAAE,cAAc;aACpB,KAAK,CAAC,EAAE,KAAK;gBAF7B,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,cAAc,EACpB,KAAK,CAAC,EAAE,KAAK,YAAA;CAKhC;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,MAAM,EAAE,QAAQ,CAAC;IACjB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW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AAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rebase-feature-on-main.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAK7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAE7G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4FAA4F,CAAC;AAE5I,qBACa,0BAA0B;IAGnC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,YAAY,EAAE,aAAa,EAE3B,eAAe,EAAE,gBAAgB,EAEjC,yBAAyB,EAAE,yBAAyB,EAEpD,YAAY,EAAE,mBAAmB,EAEjC,eAAe,EAAE,sBAAsB;IAGpD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"rebase-feature-on-main.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAK7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAE7G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4FAA4F,CAAC;AAE5I,qBACa,0BAA0B;IAGnC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAE1C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAVf,WAAW,EAAE,kBAAkB,EAE/B,YAAY,EAAE,aAAa,EAE3B,eAAe,EAAE,gBAAgB,EAEjC,yBAAyB,EAAE,yBAAyB,EAEpD,YAAY,EAAE,mBAAmB,EAEjC,eAAe,EAAE,sBAAsB;IAGpD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YA+EjC,cAAc;IAwB5B;;;;OAIG;YACW,UAAU;CAOzB"}
|
package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js
CHANGED
|
@@ -76,23 +76,32 @@ let RebaseFeatureOnMainUseCase = class RebaseFeatureOnMainUseCase {
|
|
|
76
76
|
// Determine working directory — worktree path if it exists, else repo root
|
|
77
77
|
const cwd = await this.resolveCwd(feature.repositoryPath, feature.branch);
|
|
78
78
|
const defaultBranch = await this.gitPrService.getDefaultBranch(feature.repositoryPath);
|
|
79
|
-
//
|
|
80
|
-
await this.gitPrService.
|
|
81
|
-
// Attempt rebase
|
|
79
|
+
// Stash uncommitted changes if present (smart rebase)
|
|
80
|
+
const didStash = await this.gitPrService.stash(cwd, 'shep-rebase: auto-stash before rebase');
|
|
82
81
|
try {
|
|
83
|
-
|
|
82
|
+
// Auto-sync main before rebasing (per spec decision)
|
|
83
|
+
await this.gitPrService.syncMain(cwd, defaultBranch);
|
|
84
|
+
// Attempt rebase
|
|
85
|
+
try {
|
|
86
|
+
await this.gitPrService.rebaseOnMain(cwd, feature.branch, defaultBranch);
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
if (error instanceof GitPrError && error.code === GitPrErrorCode.REBASE_CONFLICT) {
|
|
90
|
+
// Delegate to agent-powered conflict resolution
|
|
91
|
+
await this.conflictResolutionService.resolve(cwd, feature.branch, defaultBranch);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
throw error;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
84
97
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
await this.
|
|
89
|
-
// Conflict resolution succeeded — complete timing as success
|
|
90
|
-
await this.completeTiming(agentRunId, phaseTimingId, startMs, 'success');
|
|
91
|
-
return;
|
|
98
|
+
finally {
|
|
99
|
+
// Restore stashed changes after rebase (whether it succeeded or failed)
|
|
100
|
+
if (didStash) {
|
|
101
|
+
await this.gitPrService.stashPop(cwd);
|
|
92
102
|
}
|
|
93
|
-
throw error;
|
|
94
103
|
}
|
|
95
|
-
// Rebase succeeded
|
|
104
|
+
// Rebase succeeded (possibly with resolved conflicts)
|
|
96
105
|
await this.completeTiming(agentRunId, phaseTimingId, startMs, 'success');
|
|
97
106
|
}
|
|
98
107
|
catch (error) {
|
|
@@ -51,6 +51,8 @@ export declare class GitPrService implements IGitPrService {
|
|
|
51
51
|
stageFiles(cwd: string, files: string[]): Promise<void>;
|
|
52
52
|
rebaseContinue(cwd: string): Promise<void>;
|
|
53
53
|
rebaseAbort(cwd: string): Promise<void>;
|
|
54
|
+
stash(cwd: string, message?: string): Promise<boolean>;
|
|
55
|
+
stashPop(cwd: string): Promise<void>;
|
|
54
56
|
getBranchSyncStatus(cwd: string, featureBranch: string, baseBranch: string): Promise<{
|
|
55
57
|
ahead: number;
|
|
56
58
|
behind: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACb,MAAM,wEAAwE,CAAC;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,YAAa,YAAW,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKxC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAgBjD,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAgF9C,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKnD,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKpD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,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vC,mBAAmB,CACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAe9C"}
|
|
1
|
+
{"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACb,MAAM,wEAAwE,CAAC;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,YAAa,YAAW,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKxC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAgBjD,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAgF9C,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKnD,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKpD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAWxD,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAYvE,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ACvB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAe9C"}
|
|
@@ -792,6 +792,28 @@ let GitPrService = class GitPrService {
|
|
|
792
792
|
throw this.parseGitError(error);
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
|
+
async stash(cwd, message) {
|
|
796
|
+
try {
|
|
797
|
+
const args = ['stash', 'push'];
|
|
798
|
+
if (message) {
|
|
799
|
+
args.push('-m', message);
|
|
800
|
+
}
|
|
801
|
+
const { stdout } = await this.execFile('git', args, { cwd });
|
|
802
|
+
// git stash push outputs "No local changes to save" when clean
|
|
803
|
+
return !stdout.includes('No local changes to save');
|
|
804
|
+
}
|
|
805
|
+
catch (error) {
|
|
806
|
+
throw this.parseGitError(error);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
async stashPop(cwd) {
|
|
810
|
+
try {
|
|
811
|
+
await this.execFile('git', ['stash', 'pop'], { cwd });
|
|
812
|
+
}
|
|
813
|
+
catch (error) {
|
|
814
|
+
throw this.parseGitError(error);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
795
817
|
async getBranchSyncStatus(cwd, featureBranch, baseBranch) {
|
|
796
818
|
try {
|
|
797
819
|
const remoteRef = `origin/${baseBranch}`;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* PR creation paths (agent-driven, fork-and-PR, etc.).
|
|
7
7
|
*/
|
|
8
8
|
/** The branding line to append to PR bodies. */
|
|
9
|
-
export declare const PR_BRANDING = "Built with Shep \uD83D\uDC11 [Shep Bot](https://github.com/shep-ai/
|
|
9
|
+
export declare const PR_BRANDING = "Built with Shep \uD83D\uDC11 [Shep Bot](https://github.com/shep-ai/cli)";
|
|
10
10
|
/**
|
|
11
11
|
* Ensure a PR body carries the correct Shep branding.
|
|
12
12
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-branding.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/pr-branding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,gDAAgD;AAChD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"pr-branding.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/pr-branding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,gDAAgD;AAChD,eAAO,MAAM,WAAW,4EACmD,CAAC;AAS5E;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAapD"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* PR creation paths (agent-driven, fork-and-PR, etc.).
|
|
7
7
|
*/
|
|
8
8
|
/** The branding line to append to PR bodies. */
|
|
9
|
-
export const PR_BRANDING = 'Built with Shep \uD83D\uDC11 [Shep Bot](https://github.com/shep-ai/
|
|
9
|
+
export const PR_BRANDING = 'Built with Shep \uD83D\uDC11 [Shep Bot](https://github.com/shep-ai/cli)';
|
|
10
10
|
/**
|
|
11
11
|
* Pattern matching common AI-tool attribution footers that should be
|
|
12
12
|
* replaced (e.g. "Generated with Claude Code", "Co-Authored-By: Claude").
|
package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.stories.js
CHANGED
|
@@ -393,7 +393,7 @@ export const MultipleRejections = {
|
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
395
|
iteration: 4,
|
|
396
|
-
message: "I've test and created a feature but the screenshots seems to be broken https://github.com/shep-ai/
|
|
396
|
+
message: "I've test and created a feature but the screenshots seems to be broken https://github.com/shep-ai/cli/pull/258 fix",
|
|
397
397
|
phase: 'merge',
|
|
398
398
|
timestamp: '2025-01-15T10:25:00Z',
|
|
399
399
|
},
|
|
@@ -116,7 +116,7 @@ const mergeReviewFeature = {
|
|
|
116
116
|
baseBranch: 'main',
|
|
117
117
|
hasPlan: true,
|
|
118
118
|
pr: {
|
|
119
|
-
url: 'https://github.com/shep-ai/
|
|
119
|
+
url: 'https://github.com/shep-ai/cli/pull/42',
|
|
120
120
|
number: 42,
|
|
121
121
|
status: PrStatus.Open,
|
|
122
122
|
ciStatus: CiStatus.Success,
|
|
@@ -228,7 +228,7 @@ const productFixture = {
|
|
|
228
228
|
};
|
|
229
229
|
const mergeFixture = {
|
|
230
230
|
pr: {
|
|
231
|
-
url: 'https://github.com/shep-ai/
|
|
231
|
+
url: 'https://github.com/shep-ai/cli/pull/42',
|
|
232
232
|
number: 42,
|
|
233
233
|
status: PrStatus.Open,
|
|
234
234
|
commitHash: 'a1b2c3d4e5f6789',
|
|
@@ -3,7 +3,7 @@ import { fn } from '@storybook/test';
|
|
|
3
3
|
import { PrStatus, CiStatus } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
4
4
|
import { MergeReview } from './merge-review.js';
|
|
5
5
|
const fullPr = {
|
|
6
|
-
url: 'https://github.com/shep-ai/
|
|
6
|
+
url: 'https://github.com/shep-ai/cli/pull/42',
|
|
7
7
|
number: 42,
|
|
8
8
|
status: PrStatus.Open,
|
|
9
9
|
commitHash: 'a1b2c3d4e5f6789',
|
package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js
CHANGED
|
@@ -14,8 +14,8 @@ const meta = {
|
|
|
14
14
|
export default meta;
|
|
15
15
|
const repoData = {
|
|
16
16
|
id: 'repo-1',
|
|
17
|
-
name: 'shep-ai/
|
|
18
|
-
repositoryPath: '/home/user/shep-ai/
|
|
17
|
+
name: 'shep-ai/cli',
|
|
18
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
19
19
|
};
|
|
20
20
|
function DrawerTrigger({ data, label }) {
|
|
21
21
|
const [selected, setSelected] = useState(null);
|
|
@@ -27,7 +27,7 @@ export const Default = {
|
|
|
27
27
|
export const LongPath = {
|
|
28
28
|
render: () => (_jsx(DrawerTrigger, { data: {
|
|
29
29
|
...repoData,
|
|
30
|
-
repositoryPath: '/home/user/projects/company/some-very-long-path/shep-ai/
|
|
30
|
+
repositoryPath: '/home/user/projects/company/some-very-long-path/shep-ai/cli',
|
|
31
31
|
}, label: "Open Long Path" })),
|
|
32
32
|
};
|
|
33
33
|
export const WithoutPath = {
|
package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface RepositoryNodeData {
|
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
/** Repository domain entity ID (UUID), used for delete operations */
|
|
5
5
|
id?: string;
|
|
6
|
-
/** Repository name, e.g. "shep-ai/
|
|
6
|
+
/** Repository name, e.g. "shep-ai/cli" */
|
|
7
7
|
name: string;
|
|
8
8
|
/** Absolute path to the repository root, used for IDE/shell actions */
|
|
9
9
|
repositoryPath?: string;
|
package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository-node-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,kBAAkB;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,
|
|
1
|
+
{"version":3,"file":"repository-node-config.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-node-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,WAAW,kBAAkB;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+GAA+G;IAC/G,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oHAAoH;IACpH,aAAa,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,YAAY,CAAC;IACnD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,CAAC"}
|
package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.js
CHANGED
|
@@ -14,7 +14,7 @@ const meta = {
|
|
|
14
14
|
layout: 'centered',
|
|
15
15
|
},
|
|
16
16
|
args: {
|
|
17
|
-
name: 'shep-ai/
|
|
17
|
+
name: 'shep-ai/cli',
|
|
18
18
|
branch: 'main',
|
|
19
19
|
commitMessage: 'feat: add dark mode toggle',
|
|
20
20
|
committer: 'Jane Doe',
|
|
@@ -45,7 +45,7 @@ export const LongName = {
|
|
|
45
45
|
const onAdd = () => undefined;
|
|
46
46
|
const multipleRepos = [
|
|
47
47
|
{
|
|
48
|
-
name: 'shep-ai/
|
|
48
|
+
name: 'shep-ai/cli',
|
|
49
49
|
branch: 'main',
|
|
50
50
|
commitMessage: 'feat: add dark mode toggle',
|
|
51
51
|
committer: 'Jane Doe',
|
|
@@ -84,7 +84,7 @@ export const Multiple = {
|
|
|
84
84
|
};
|
|
85
85
|
const multipleReposWithButton = [
|
|
86
86
|
{
|
|
87
|
-
name: 'shep-ai/
|
|
87
|
+
name: 'shep-ai/cli',
|
|
88
88
|
onAdd,
|
|
89
89
|
branch: 'main',
|
|
90
90
|
commitMessage: 'feat: add dark mode toggle',
|
|
@@ -126,7 +126,7 @@ export const MultipleWithButton = {
|
|
|
126
126
|
};
|
|
127
127
|
export const WithPulseAdd = {
|
|
128
128
|
args: {
|
|
129
|
-
repositoryPath: '/home/user/shep-ai/
|
|
129
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
130
130
|
pulseAdd: true,
|
|
131
131
|
},
|
|
132
132
|
argTypes: {
|
|
@@ -136,13 +136,13 @@ export const WithPulseAdd = {
|
|
|
136
136
|
};
|
|
137
137
|
export const WithActions = {
|
|
138
138
|
args: {
|
|
139
|
-
repositoryPath: '/home/user/shep-ai/
|
|
139
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
140
140
|
},
|
|
141
141
|
render: (args) => _jsx(RepositoryNodeCanvas, { data: args }),
|
|
142
142
|
};
|
|
143
143
|
export const WithActionsAndAddButton = {
|
|
144
144
|
args: {
|
|
145
|
-
repositoryPath: '/home/user/shep-ai/
|
|
145
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
146
146
|
},
|
|
147
147
|
argTypes: {
|
|
148
148
|
onAdd: { action: 'onAdd' },
|
|
@@ -153,7 +153,7 @@ const onDelete = () => undefined;
|
|
|
153
153
|
export const WithDeleteButton = {
|
|
154
154
|
args: {
|
|
155
155
|
id: 'repo-abc-123',
|
|
156
|
-
repositoryPath: '/home/user/shep-ai/
|
|
156
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
157
157
|
},
|
|
158
158
|
argTypes: {
|
|
159
159
|
onDelete: { action: 'onDelete' },
|
|
@@ -163,8 +163,8 @@ export const WithDeleteButton = {
|
|
|
163
163
|
const multipleReposWithActions = [
|
|
164
164
|
{
|
|
165
165
|
id: 'r1',
|
|
166
|
-
name: 'shep-ai/
|
|
167
|
-
repositoryPath: '/home/user/shep-ai/
|
|
166
|
+
name: 'shep-ai/cli',
|
|
167
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
168
168
|
onAdd,
|
|
169
169
|
onDelete,
|
|
170
170
|
branch: 'main',
|
|
@@ -217,7 +217,7 @@ export const MultipleWithActions = {
|
|
|
217
217
|
};
|
|
218
218
|
export const WithGitInfo = {
|
|
219
219
|
args: {
|
|
220
|
-
repositoryPath: '/home/user/shep-ai/
|
|
220
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
221
221
|
branch: 'feat/repo-node-enrichment',
|
|
222
222
|
commitMessage: 'feat(web): enrich repository node with branch and commit info',
|
|
223
223
|
committer: 'Ariel Shadkhan',
|
|
@@ -227,7 +227,7 @@ export const WithGitInfo = {
|
|
|
227
227
|
};
|
|
228
228
|
export const WithGitInfoBehind = {
|
|
229
229
|
args: {
|
|
230
|
-
repositoryPath: '/home/user/shep-ai/
|
|
230
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
231
231
|
branch: 'feat/old-feature-branch',
|
|
232
232
|
commitMessage: 'fix: resolve merge conflict in auth module',
|
|
233
233
|
committer: 'Jane Doe',
|
|
@@ -237,7 +237,7 @@ export const WithGitInfoBehind = {
|
|
|
237
237
|
};
|
|
238
238
|
export const GitInfoLoading = {
|
|
239
239
|
args: {
|
|
240
|
-
repositoryPath: '/home/user/shep-ai/
|
|
240
|
+
repositoryPath: '/home/user/shep-ai/cli',
|
|
241
241
|
gitInfoStatus: 'loading',
|
|
242
242
|
},
|
|
243
243
|
render: (args) => _jsx(RepositoryNodeCanvas, { data: args }),
|
package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js
CHANGED
|
@@ -267,7 +267,7 @@ const repoNode = {
|
|
|
267
267
|
type: 'repositoryNode',
|
|
268
268
|
position: { x: 50, y: 162 },
|
|
269
269
|
data: {
|
|
270
|
-
name: 'shep-ai/
|
|
270
|
+
name: 'shep-ai/cli',
|
|
271
271
|
},
|
|
272
272
|
};
|
|
273
273
|
const repoFeatureNodes = [
|
|
@@ -320,7 +320,7 @@ const singleRepoSingleFeatureNodes = [
|
|
|
320
320
|
id: 'repo-1',
|
|
321
321
|
type: 'repositoryNode',
|
|
322
322
|
position: { x: 50, y: 127 },
|
|
323
|
-
data: { name: 'shep-ai/
|
|
323
|
+
data: { name: 'shep-ai/cli' },
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
id: 'feat-1',
|
|
@@ -352,7 +352,7 @@ const singleRepoMultiFeatNodes = [
|
|
|
352
352
|
id: 'repo-1',
|
|
353
353
|
type: 'repositoryNode',
|
|
354
354
|
position: { x: 50, y: 162 },
|
|
355
|
-
data: { name: 'shep-ai/
|
|
355
|
+
data: { name: 'shep-ai/cli' },
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
358
|
id: 'feat-1',
|
|
@@ -416,7 +416,7 @@ const multiRepoNodes = [
|
|
|
416
416
|
id: 'repo-1',
|
|
417
417
|
type: 'repositoryNode',
|
|
418
418
|
position: { x: 50, y: 86 },
|
|
419
|
-
data: { name: 'shep-ai/
|
|
419
|
+
data: { name: 'shep-ai/cli' },
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
id: 'repo-2',
|
|
@@ -470,7 +470,7 @@ const mixedRepoFeatureNodesRaw = [
|
|
|
470
470
|
id: 'repo-1',
|
|
471
471
|
type: 'repositoryNode',
|
|
472
472
|
position: { x: 0, y: 0 },
|
|
473
|
-
data: { name: 'shep-ai/
|
|
473
|
+
data: { name: 'shep-ai/cli' },
|
|
474
474
|
},
|
|
475
475
|
{
|
|
476
476
|
id: 'repo-2',
|
|
@@ -591,7 +591,7 @@ const fastModeNodesRaw = [
|
|
|
591
591
|
id: 'repo-1',
|
|
592
592
|
type: 'repositoryNode',
|
|
593
593
|
position: { x: 0, y: 0 },
|
|
594
|
-
data: { name: 'shep-ai/
|
|
594
|
+
data: { name: 'shep-ai/cli' },
|
|
595
595
|
},
|
|
596
596
|
{
|
|
597
597
|
id: 'feat-fast-1',
|
|
@@ -313,15 +313,15 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
313
313
|
}) })] }) }), _jsxs("div", { className: "flex flex-col gap-3", children: [_jsx("div", { id: "section-language", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: _jsx(LanguageSettingsSection, { language: settings.user?.preferredLanguage ?? Language.English }) }), _jsxs("div", { id: "section-agent", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsx(SettingsSection, { icon: Bot, title: t('settings.agent.sectionTitle'), description: t('settings.agent.sectionDescription'), testId: "agent-settings-section", children: _jsx(SettingsRow, { label: t('settings.agent.agentAndModel'), description: t('settings.agent.agentAndModelDescription'), htmlFor: "agent-model-picker", children: _jsx(AgentModelPicker, { initialAgentType: agentType, initialModel: settings.models.default, mode: "settings", onAgentModelChange: (newAgent) => setAgentType(newAgent), className: "w-55" }) }) }), _jsx(SectionHint, { links: [
|
|
314
314
|
{
|
|
315
315
|
label: t('settings.agent.links.agentSystem'),
|
|
316
|
-
href: 'https://github.com/shep-ai/
|
|
316
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/architecture/agent-system.md',
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
319
|
label: t('settings.agent.links.addingAgents'),
|
|
320
|
-
href: 'https://github.com/shep-ai/
|
|
320
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/development/adding-agents.md',
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
label: t('settings.agent.links.configurationGuide'),
|
|
324
|
-
href: 'https://github.com/shep-ai/
|
|
324
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/guides/configuration.md',
|
|
325
325
|
},
|
|
326
326
|
], children: t('settings.agent.hint') })] }), _jsxs("div", { id: "section-environment", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Terminal, title: t('settings.environment.sectionTitle'), description: t('settings.environment.sectionDescription'), testId: "environment-settings-section", children: [_jsx(SettingsRow, { label: t('settings.environment.defaultEditor'), description: t('settings.environment.defaultEditorDescription'), htmlFor: "default-editor", children: _jsxs(Select, { value: editor, onValueChange: (v) => {
|
|
327
327
|
setEditor(v);
|
|
@@ -356,7 +356,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
356
356
|
}, children: [_jsx(SelectTrigger, { id: "terminal-preference", "data-testid": "terminal-select", className: "w-55 cursor-pointer text-xs", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: terminalOptions.map((opt) => (_jsx(SelectItem, { value: opt.id, children: opt.name }, opt.id))) })] }) })] }), _jsx(SectionHint, { links: [
|
|
357
357
|
{
|
|
358
358
|
label: t('settings.environment.links.configurationGuide'),
|
|
359
|
-
href: 'https://github.com/shep-ai/
|
|
359
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/guides/configuration.md',
|
|
360
360
|
},
|
|
361
361
|
], children: t('settings.environment.hint') })] }), _jsxs("div", { id: "section-workflow", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: GitBranch, title: t('settings.workflow.title'), description: t('settings.workflow.sectionDescription'), testId: "workflow-settings-section", children: [_jsx(SubsectionLabel, { children: t('settings.workflow.subsections.approve') }), _jsx(SwitchRow, { label: t('settings.workflow.autoApprovePrd'), description: t('settings.workflow.autoApprovePrdDescription'), id: "allow-prd", testId: "switch-allow-prd", checked: allowPrd, onChange: (v) => {
|
|
362
362
|
setAllowPrd(v);
|
|
@@ -397,11 +397,11 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
397
397
|
} })] }), _jsx(SectionHint, { links: [
|
|
398
398
|
{
|
|
399
399
|
label: t('settings.workflow.links.approvalGates'),
|
|
400
|
-
href: 'https://github.com/shep-ai/
|
|
400
|
+
href: 'https://github.com/shep-ai/cli/blob/main/specs/016-hitl-approval-gates/spec.yaml',
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
403
|
label: t('settings.workflow.links.pushAndPrFlags'),
|
|
404
|
-
href: 'https://github.com/shep-ai/
|
|
404
|
+
href: 'https://github.com/shep-ai/cli/blob/main/specs/037-feature-pr-push-flags/spec.yaml',
|
|
405
405
|
},
|
|
406
406
|
], children: t('settings.workflow.hint') })] }), _jsxs("div", { id: "section-ci", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Activity, title: t('settings.ci.title'), description: t('settings.ci.description'), testId: "ci-settings-section", children: [_jsx(SettingsRow, { label: t('settings.ci.maxFixAttempts'), description: t('settings.ci.maxFixAttemptsDescription'), htmlFor: "ci-max-fix", children: _jsx(NumberStepper, { id: "ci-max-fix", testId: "ci-max-fix-input", placeholder: "3", value: ciMaxFix, onChange: setCiMaxFix, onBlur: () => {
|
|
407
407
|
if (ciMaxFix !== originalCiMaxFix)
|
|
@@ -421,11 +421,11 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
421
421
|
} })] }), _jsx(SectionHint, { links: [
|
|
422
422
|
{
|
|
423
423
|
label: t('settings.ci.links.cicdPipeline'),
|
|
424
|
-
href: 'https://github.com/shep-ai/
|
|
424
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/development/cicd.md',
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
label: t('settings.ci.links.ciSecurityGates'),
|
|
428
|
-
href: 'https://github.com/shep-ai/
|
|
428
|
+
href: 'https://github.com/shep-ai/cli/blob/main/specs/003-cicd-security-gates/spec.md',
|
|
429
429
|
},
|
|
430
430
|
], children: t('settings.ci.hint') })] }), _jsxs("div", { id: "section-stage-timeouts", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Timer, title: t('settings.stageTimeouts.title'), description: t('settings.stageTimeouts.description'), testId: "stage-timeouts-settings-section", children: [_jsx(SubsectionLabel, { children: t('settings.stageTimeouts.subsections.featureAgent') }), _jsx(SettingsRow, { label: t('settings.stageTimeouts.analyze'), description: t('settings.stageTimeouts.analyzeDescription'), htmlFor: "timeout-analyze", children: _jsx(TimeoutSlider, { id: "timeout-analyze", testId: "timeout-analyze-input", value: analyzeTimeout, onChange: setAnalyzeTimeout, onBlur: () => {
|
|
431
431
|
if (analyzeTimeout !== originalAnalyzeTimeout)
|
|
@@ -498,7 +498,7 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
498
498
|
} })] }), _jsx(SectionHint, { links: [
|
|
499
499
|
{
|
|
500
500
|
label: t('settings.notifications.links.notificationSystem'),
|
|
501
|
-
href: 'https://github.com/shep-ai/
|
|
501
|
+
href: 'https://github.com/shep-ai/cli/blob/main/specs/021-agent-notifications/spec.yaml',
|
|
502
502
|
},
|
|
503
503
|
], children: t('settings.notifications.hint') })] }), _jsxs("div", { id: "section-feature-flags", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Flag, title: t('settings.featureFlags.title'), description: t('settings.featureFlags.sectionDescription'), badge: t('settings.featureFlags.badge'), testId: "feature-flags-settings-section", children: [_jsx(SwitchRow, { label: t('settings.featureFlags.skills'), description: t('settings.featureFlags.skillsDescription'), id: "flag-skills", testId: "switch-flag-skills", checked: flags.skills, onChange: (v) => {
|
|
504
504
|
const newFlags = { ...flags, skills: v };
|
|
@@ -564,11 +564,11 @@ export function SettingsPageClient({ settings, shepHome, dbFileSize, availableTe
|
|
|
564
564
|
} }) })] }), _jsx(SectionHint, { children: t('settings.interactiveAgent.hint') })] }), _jsxs("div", { id: "section-database", className: "grid scroll-mt-18 grid-cols-1 gap-x-5 rounded-lg lg:grid-cols-[1fr_280px]", children: [_jsxs(SettingsSection, { icon: Database, title: t('settings.database.title'), description: t('settings.database.sectionDescription'), testId: "database-settings-section", children: [_jsx(SettingsRow, { label: t('settings.database.location'), description: t('settings.database.locationDescription'), children: _jsx("span", { className: "text-muted-foreground max-w-50 truncate font-mono text-xs", "data-testid": "shep-home-path", children: shepHome }) }), _jsx(SettingsRow, { label: t('settings.database.size'), children: _jsx("span", { className: "text-muted-foreground text-xs", "data-testid": "db-file-size", children: dbFileSize }) })] }), _jsx(SectionHint, { links: [
|
|
565
565
|
{
|
|
566
566
|
label: t('settings.database.links.settingsService'),
|
|
567
|
-
href: 'https://github.com/shep-ai/
|
|
567
|
+
href: 'https://github.com/shep-ai/cli/blob/main/docs/architecture/settings-service.md',
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
570
|
label: t('settings.database.links.settingsSpec'),
|
|
571
|
-
href: 'https://github.com/shep-ai/
|
|
571
|
+
href: 'https://github.com/shep-ai/cli/blob/main/specs/005-global-settings-service/spec.md',
|
|
572
572
|
},
|
|
573
573
|
], children: t('settings.database.hint') })] })] })] }));
|
|
574
574
|
}
|
|
@@ -9,5 +9,5 @@ function InfoRow({ label, value, badge, badgeVariant = 'secondary' }) {
|
|
|
9
9
|
return (_jsxs("div", { className: "flex items-center justify-between py-2", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: label }), badge ? (_jsx(Badge, { variant: badgeVariant, children: value })) : (_jsx("span", { className: "font-mono text-sm", children: value }))] }));
|
|
10
10
|
}
|
|
11
11
|
export default function VersionPageClient({ versionInfo, systemInfo }) {
|
|
12
|
-
return (_jsx("div", { className: "flex flex-col items-center justify-center p-4", children: _jsxs("div", { className: "w-full max-w-2xl space-y-6", children: [_jsxs("div", { className: "text-center", children: [_jsx("h1", { className: "text-3xl font-bold tracking-tight", children: versionInfo.name }), _jsx("p", { className: "text-muted-foreground mt-2", children: versionInfo.description }), _jsx("div", { className: "mt-4", children: _jsxs(Badge, { variant: "default", "data-testid": "version-badge", children: ["v", versionInfo.version] }) })] }), _jsxs(Tabs, { defaultValue: "overview", className: "w-full", children: [_jsxs(TabsList, { className: "grid w-full grid-cols-3", children: [_jsx(TabsTrigger, { value: "overview", children: "Overview" }), _jsx(TabsTrigger, { value: "system", children: "System" }), _jsx(TabsTrigger, { value: "features", children: "Features" })] }), _jsx(TabsContent, { value: "overview", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Package Information" }), _jsx(CardDescription, { children: "Details about the Shep AI CLI package" })] }), _jsxs(CardContent, { className: "space-y-1", children: [_jsx(InfoRow, { label: "Package", value: versionInfo.name }), _jsx(InfoRow, { label: "Version", value: `v${versionInfo.version}`, badge: true, badgeVariant: "default" }), _jsx(InfoRow, { label: "License", value: "MIT", badge: true, badgeVariant: "outline" }), _jsx(InfoRow, { label: "Author", value: "Shep AI" })] })] }) }), _jsx(TabsContent, { value: "system", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "System Information" }), _jsx(CardDescription, { children: "Runtime environment details" })] }), _jsxs(CardContent, { className: "space-y-1", children: [_jsx(InfoRow, { label: "Node.js", value: systemInfo.nodeVersion, badge: true, badgeVariant: "secondary" }), _jsx(InfoRow, { label: "Platform", value: `${systemInfo.platform} ${systemInfo.arch}` })] })] }) }), _jsx(TabsContent, { value: "features", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Key Features" }), _jsx(CardDescription, { children: "What Shep AI can do for you" })] }), _jsx(CardContent, { children: _jsxs("ul", { className: "space-y-2 text-sm", children: [_jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "AI" }), _jsx("span", { children: "Autonomous code generation" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "SDLC" }), _jsx("span", { children: "Full development lifecycle automation" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "CLI" }), _jsx("span", { children: "Powerful command-line interface" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "Web" }), _jsx("span", { children: "Modern web UI dashboard" })] })] }) })] }) })] }), _jsxs("div", { className: "flex justify-center gap-4", children: [_jsx(Button, { asChild: true, variant: "outline", children: _jsx(Link, { href: "/", children: "Back to Home" }) }), _jsx(Button, { asChild: true, children: _jsx("a", { href: "https://github.com/shep-ai/
|
|
12
|
+
return (_jsx("div", { className: "flex flex-col items-center justify-center p-4", children: _jsxs("div", { className: "w-full max-w-2xl space-y-6", children: [_jsxs("div", { className: "text-center", children: [_jsx("h1", { className: "text-3xl font-bold tracking-tight", children: versionInfo.name }), _jsx("p", { className: "text-muted-foreground mt-2", children: versionInfo.description }), _jsx("div", { className: "mt-4", children: _jsxs(Badge, { variant: "default", "data-testid": "version-badge", children: ["v", versionInfo.version] }) })] }), _jsxs(Tabs, { defaultValue: "overview", className: "w-full", children: [_jsxs(TabsList, { className: "grid w-full grid-cols-3", children: [_jsx(TabsTrigger, { value: "overview", children: "Overview" }), _jsx(TabsTrigger, { value: "system", children: "System" }), _jsx(TabsTrigger, { value: "features", children: "Features" })] }), _jsx(TabsContent, { value: "overview", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Package Information" }), _jsx(CardDescription, { children: "Details about the Shep AI CLI package" })] }), _jsxs(CardContent, { className: "space-y-1", children: [_jsx(InfoRow, { label: "Package", value: versionInfo.name }), _jsx(InfoRow, { label: "Version", value: `v${versionInfo.version}`, badge: true, badgeVariant: "default" }), _jsx(InfoRow, { label: "License", value: "MIT", badge: true, badgeVariant: "outline" }), _jsx(InfoRow, { label: "Author", value: "Shep AI" })] })] }) }), _jsx(TabsContent, { value: "system", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "System Information" }), _jsx(CardDescription, { children: "Runtime environment details" })] }), _jsxs(CardContent, { className: "space-y-1", children: [_jsx(InfoRow, { label: "Node.js", value: systemInfo.nodeVersion, badge: true, badgeVariant: "secondary" }), _jsx(InfoRow, { label: "Platform", value: `${systemInfo.platform} ${systemInfo.arch}` })] })] }) }), _jsx(TabsContent, { value: "features", children: _jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Key Features" }), _jsx(CardDescription, { children: "What Shep AI can do for you" })] }), _jsx(CardContent, { children: _jsxs("ul", { className: "space-y-2 text-sm", children: [_jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "AI" }), _jsx("span", { children: "Autonomous code generation" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "SDLC" }), _jsx("span", { children: "Full development lifecycle automation" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "CLI" }), _jsx("span", { children: "Powerful command-line interface" })] }), _jsxs("li", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: "Web" }), _jsx("span", { children: "Modern web UI dashboard" })] })] }) })] }) })] }), _jsxs("div", { className: "flex justify-center gap-4", children: [_jsx(Button, { asChild: true, variant: "outline", children: _jsx(Link, { href: "/", children: "Back to Home" }) }), _jsx(Button, { asChild: true, children: _jsx("a", { href: "https://github.com/shep-ai/cli", target: "_blank", rel: "noopener noreferrer", children: "View on GitHub" }) })] })] }) }));
|
|
13
13
|
}
|