Skip to content

feat(code-apps): add the source code of the Makers and Admins code apps - #962

Open
Ramakrishnan Raman (Ramakrishnan24689) wants to merge 1 commit into
microsoft:mainfrom
Ramakrishnan24689:code-apps-source
Open

Ramakrishnan Raman (Ramakrishnan24689) wants to merge 1 commit into
microsoft:mainfrom
Ramakrishnan24689:code-apps-source

Conversation

@Ramakrishnan24689

Copy link
Copy Markdown
Collaborator

Part of #950.

This PR adds the source code of the 2 Copilot Agent Kit code apps to this repository, under its MIT license. Now anyone can see, build and run the apps, and contribute changes.

Folder App
code-apps/makers Copilot Agent Kit for Makers
code-apps/admin Copilot Agent Kit for Admins

What's in this PR

  • The 2 apps. Each app has its own copy of the Agent Library source, so you can build it without our internal package feed.
  • A README for each app. It tells you how to set up, run in Local Play, build, test and deploy the app. It also tells you what data the app collects and sends to other services.
  • A new section in CONTRIBUTING.md: "Contribute to the code apps".
  • The Code apps workflow (.github/workflows/code-apps.yml). For each PR that changes the apps, it builds, tests and lints them on Node.js 22.13 and 26.
  • Small updates to README.md (a link to the apps) and .github/copilot-instructions.md (rules for AI coding agents).

What we changed from the internal source

  • Internal values: sample hosts, IDs and names replace the internal ones. power.config.json has placeholders. Each README tells you how to set your own values.
  • User data: we removed 32 console.log calls that wrote user data to the browser console.
  • CodeQL: we fixed the findings. Only 1 fix changes what users see: in the Admins Agent Debugger, double-encoded text such as &amp;lt; now shows as &lt;, not <. A new test covers it.
  • Lint: 0 errors. We fixed the findings that are safe to fix, for example unused code and any types. Some React rules are warnings for now, because their fixes change behavior.
  • Packages: the lock files use the public npm registry. No package versions change.
  • Dev server: npm run dev now starts Vite and shows the Local Play URL.
  • Text: the product name is now Microsoft Copilot in a few places. We shortened comments that pointed to internal documents.
  • Left out: internal and generated files, for example .npmrc, the generated connector schemas, and 1 test file that reads prompt files from outside the apps.

How we tested it

  • Build, type check and lint (0 errors) pass for both apps.
  • 5,263 tests pass (Makers 4,980, Admins 283).
  • gitleaks finds no secrets.
  • Both apps ran in Local Play from this branch in a test environment, and showed data from Dataverse.
  • Our open-source release checks pass: secrets, internal data, licenses, trademarks and data collection.

Known issues

The internal source has these issues too. Their fixes change behavior or package versions, so they are not in this PR.

The README of each app has the full list.

What's next

For now, CONTRIBUTING.md says that our internal repository keeps the main copy of the code. We plan to make this repository the main copy after this PR merges. A small follow-up PR will update "How we merge pull requests" and add the apps to the Dependabot configuration.

Tips for reviewers

The PR has 1 commit and 2,680 files, almost all in code-apps/. Start with code-apps/README.md, the new section in CONTRIBUTING.md and the workflow file. Apart from the changes above and small clean-ups in files and tests, the app code is the same as the internal source.

Add the source of the 2 Power Apps code apps of the Copilot Agent Kit:

- code-apps/makers: Copilot Agent Kit for Makers
- code-apps/admin: Copilot Agent Kit for Admins
- code-apps/README.md: an overview of the 2 apps
- code-apps/.gitattributes: LF line ends for SVG files, so that the
  build inlines the same SVG files on all systems

Add the steps to contribute to the code apps:

- CONTRIBUTING.md: a new section, "Contribute to the code apps"
- .github/workflows/code-apps.yml: the Code apps workflow. For each
  app, it runs npm ci, build, test and lint on Node.js 22.13.0 and
  26. It also checks the line ends and the 2 Agent Library copies.
- README.md: a link to the code apps and to the new section
- .github/copilot-instructions.md: the rules for code app changes

Source: Azure DevOps cattools/Copilot-Studio-Kit-Code-Apps, commit
038a5d2d14ba30f6a366d23f1c95c6a226f629ed, folders CopilotStudioKitMakers
and CopilotStudioKitAdmin.

The code-apps folder has 2676 files. Changes from the source:

- Not published (23 files): the 2 .npmrc files (private feed), 12
  connector schema files in .power/schemas (internal environment
  data; the build does not read them), the 2 old dataSourcesInfo.ts
  files in .power/appschemas (no file uses them), 5 template images
  (vite.svg and react.svg; index.html now links to favicon.svg), the
  template README in makers/src/features/power-shield, and the Makers
  test skillPromptDefinitions.test.ts (it reads spec files that are
  not in the 2 app folders).
- The private Agent Library npm package (version 1.1.7) is replaced
  by its source in src/features/agent-library/library of each app.
  The lock files use only registry.npmjs.org, with the same package
  versions.
- Test data, seed data and config values that name the internal
  environment, the tenant or persons are replaced by placeholders.
  The Dataverse record IDs in 5 Agent Review Tool test fixtures and
  in 2 tests are also replaced by placeholders.
- Quality edits with no change to the app behavior: 0 ESLint errors,
  no "any" types, test fixes, "Microsoft Copilot" in place of "GitHub
  Copilot" where the Makers text names the Copilot Studio harness, and
  new READMEs.
- The app READMEs have a section "Data sent to other services": the
  data that each app sends to AI Builder and to other services.
- Comments: the PRD references and the name of the Figma file are
  removed. 7 comments about planned work or internal documents now
  tell only what the code does.
- CodeQL fixes with no change to the app behavior: the tag removal in
  2 files repeats until no tag is left, and 2 tests use equal or
  stronger assertions.
- 1 behavior change (CodeQL js/double-escaping): stripHtml in the
  Admins Agent Debugger decodes &amp; last, so that double-encoded
  text such as &amp;lt; becomes &lt; and not <. 1 new test file.
- Privacy: 32 console.log calls that wrote identity data of users are
  removed, and 1 console.error message no longer writes the user ID.
- The fake secrets in 3 Makers test files are built from 2 parts at
  run time, so that secret scanners do not report them. The values
  that the tests use do not change.
- All text files have LF line ends, as in the source repository.

The pull request description gives the checks and the known issues.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Incorrect score normalization inflates workflow quality scores, while prompt seeding can leave stale caches and telemetry can permanently drop initial page-open events.

3 open issues
What changed in this PR

Publishes the Makers and Admins code apps as part of the Copilot Agent Kit’s open-source codebase, addressing #950 so contributors can inspect, build, run, and improve the apps.

Changes:

  • Adds both applications, including feature components, Dataverse integrations, bundled Agent Library code, assets, and tests.
  • Adds development and build configuration, setup documentation, contribution guidance, and automated checks.
  • Prepares the internal source for public distribution by replacing environment-specific values and applying targeted logging, security, and lint cleanups.
File Description
README.md Links to app source and contribution guidance.
code-apps/​makers/​vite.config.ts Configures Makers builds and Local Play.
code-apps/​makers/​tsconfig.node.json Configures build-tool type checking.
code-apps/​makers/​tsconfig.json Connects TypeScript project configurations.
code-apps/​makers/​tsconfig.app.json Configures application type checking.
code-apps/​makers/​src/​shared/​types/​navigation.ts Defines navigation contracts and sections.
code-apps/​makers/​src/​shared/​hooks/​useFeatureTelemetry.ts Records feature-open telemetry.
code-apps/​makers/​src/​shared/​components/​Layout/​index.ts Exports application layout components.
code-apps/​makers/​src/​shared/​components/​CopilotStudioKitLogo.tsx Renders application branding.
code-apps/​makers/​src/​index.css Supplies global layout and typography.
code-apps/​makers/​src/​global.d.ts Declares the build-time cache identifier.
code-apps/​makers/​src/​generated/​services/​LogFeatureTelemetryService.ts Wraps the telemetry flow connector.
code-apps/​makers/​src/​generated/​models/​SystemuserrolescollectionModel.ts Types user-role records.
code-apps/​makers/​src/​generated/​models/​LogFeatureTelemetryModel.ts Types telemetry flow input.
code-apps/​makers/​src/​generated/​models/​CommonModels.ts Defines generated query options.
code-apps/​makers/​src/​features/​webchat-playground/​WebchatPlaygroundPage.tsx Adds the Webchat Playground placeholder.
code-apps/​makers/​src/​features/​prompt-advisor/​utils/​scoring.ts Maps evaluation scores to chart items.
code-apps/​makers/​src/​features/​prompt-advisor/​index.ts Exports Prompt Advisor.
code-apps/​makers/​src/​features/​prompt-advisor/​contracts/​constants.ts Defines model settings and sample prompts.
code-apps/​makers/​src/​features/​prompt-advisor/​components/​ui/​index.ts Exports evaluation chart components.
code-apps/​makers/​src/​features/​power-shield/​shared/​utils/​parseOptionalWholeNumber.ts Parses optional Dataverse numeric fields.
code-apps/​makers/​src/​features/​power-shield/​shared/​styles/​index.ts Exports shared Power Shield styles.
code-apps/​makers/​src/​features/​power-shield/​shared/​styles/​form.styles.ts Defines reusable form layouts.
code-apps/​makers/​src/​features/​power-shield/​shared/​hooks/​useNavigateAwayGuard.ts Warns before unloading dirty pages.
code-apps/​makers/​src/​features/​power-shield/​shared/​hooks/​useAuth.ts Exposes authentication state.
code-apps/​makers/​src/​features/​power-shield/​shared/​contexts/​AppContext.tsx Provides host-supplied user settings.
code-apps/​makers/​src/​features/​power-shield/​shared/​components/​StatusBadge.tsx Displays connector-request status.
code-apps/​makers/​src/​features/​power-shield/​shared/​components/​AppShell.styles.ts Defines Power Shield shell layout.
code-apps/​makers/​src/​features/​power-shield/​power-shield.css Supplies full-width layout resets.
code-apps/​makers/​src/​features/​power-shield/​models/​statusGroup.ts Groups request statuses for filtering.
code-apps/​makers/​src/​features/​power-shield/​models/​serviceTreeMember.ts Defines service-tree membership models.
code-apps/​makers/​src/​features/​power-shield/​models/​serviceTree.ts Defines service-tree records.
code-apps/​makers/​src/​features/​power-shield/​models/​requestParticipant.ts Defines request participants.
code-apps/​makers/​src/​features/​power-shield/​models/​requestEnvironment.ts Defines request environments and credit state.
code-apps/​makers/​src/​features/​power-shield/​models/​requestConnector.ts Defines requested connector metadata.
code-apps/​makers/​src/​features/​power-shield/​models/​requestAnswer.ts Defines saved request answers.
code-apps/​makers/​src/​features/​power-shield/​models/​questionConfig.ts Defines editable questionnaire configuration.
code-apps/​makers/​src/​features/​power-shield/​models/​question.ts Defines questionnaire records.
code-apps/​makers/​src/​features/​power-shield/​models/​environmentGroup.ts Defines environment groups and members.
code-apps/​makers/​src/​features/​power-shield/​models/​environment.ts Defines Power Platform environments.
code-apps/​makers/​src/​features/​power-shield/​models/​dlpPolicy.ts Defines policy fulfillment results.
code-apps/​makers/​src/​features/​power-shield/​models/​customConnectorPattern.ts Maps connector data classifications.
code-apps/​makers/​src/​features/​power-shield/​models/​connectorAction.ts Defines connector actions and overrides.
code-apps/​makers/​src/​features/​power-shield/​models/​connector.ts Defines connector catalog records.
code-apps/​makers/​src/​features/​power-shield/​models/​comment.ts Defines discussion comments and attachments.
code-apps/​makers/​src/​features/​power-shield/​models/​blockedConnector.ts Defines blocked-connector records.
code-apps/​makers/​src/​features/​power-shield/​index.ts Exports Power Shield.
code-apps/​makers/​src/​features/​power-shield/​index.css Defines viewport layout resets.
code-apps/​makers/​src/​features/​power-shield/​features/​home/​components/​RequestListSkeleton.tsx Displays request-list loading placeholders.
code-apps/​makers/​src/​features/​power-shield/​features/​credits/​components/​CreditStatusBadge.tsx Displays maker-facing credit status.
code-apps/​makers/​src/​features/​model-assessment/​theme/​assessmentSelectStyles.ts Styles assessment selection controls.
code-apps/​makers/​src/​features/​model-assessment/​services/​agent-links.ts Builds assessment agent portal links.
code-apps/​makers/​src/​features/​model-assessment/​hooks/​useModelRecommendation.ts Fetches and caches model recommendations.
code-apps/​makers/​src/​features/​model-assessment/​hooks/​useKitTestRows.ts Loads and pivots Kit test results.
code-apps/​makers/​src/​features/​model-assessment/​contracts/​step-progress.ts Calculates weighted step progress.
code-apps/​makers/​src/​features/​model-assessment/​contracts/​sentence-case.ts Formats choice labels in sentence case.
code-apps/​makers/​src/​features/​model-assessment/​contracts/​pagination.ts Calculates and validates page numbers.
code-apps/​makers/​src/​features/​model-assessment/​contracts/​__tests__/​credits.test.ts Tests credit totals and formatting.
code-apps/​makers/​src/​features/​model-assessment/​components/​ModelTransition.tsx Displays model changes and baselines.
code-apps/​makers/​src/​features/​model-assessment/​components/​ConversationLabel.tsx Labels multi-turn evaluations.
code-apps/​makers/​src/​features/​model-assessment/​components/​AssessmentInfo.tsx Displays assessment information tooltips.
code-apps/​makers/​src/​features/​model-assessment/​components/​__tests__/​RunDetails.test.tsx Tests friendly run-date presentation.
code-apps/​makers/​src/​features/​collaboration-hub/​CollaborationHubPage.tsx Adds the Collaboration Hub placeholder.
code-apps/​makers/​src/​features/​agents/​AgentsPage.tsx Adds the Agents placeholder.
code-apps/​makers/​src/​features/​agent-review-tool/​utils/​standardReviewTiming.ts Defines timing guidance and scope labels.
code-apps/​makers/​src/​features/​agent-review-tool/​utils/​reviewTelemetry.ts Records review-start telemetry.
code-apps/​makers/​src/​features/​agent-review-tool/​utils/​reviewContext.ts Deduplicates review-context messages.
code-apps/​makers/​src/​features/​agent-review-tool/​utils/​localPatternBuilder.ts Projects rules into legacy review patterns.
code-apps/​makers/​src/​features/​agent-review-tool/​utils/​__tests__/​agentMetadata.test.ts Tests authentication-mode labels.
code-apps/​makers/​src/​features/​agent-review-tool/​skills-automations/​SkillsReviewRoute.tsx Routes to saved skills reviews.
code-apps/​makers/​src/​features/​agent-review-tool/​skills-automations/​routes.ts Centralizes skills-review URLs.
code-apps/​makers/​src/​features/​agent-review-tool/​shared/​review-shell/​useMediaQuery.ts Tracks responsive media queries.
code-apps/​makers/​src/​features/​agent-review-tool/​shared/​review-shell/​scoreDisplay.ts Clamps displayed review scores.
code-apps/​makers/​src/​features/​agent-review-tool/​services/​AIService.ts Connects AI review logic to Dataverse.
code-apps/​makers/​src/​features/​agent-review-tool/​hooks/​useReviewHistory.ts Loads review history by subject.
code-apps/​makers/​src/​features/​agent-review-tool/​hooks/​useReviewDetails.ts Fetches saved review details.
code-apps/​makers/​src/​features/​agent-review-tool/​hooks/​useBotPublication.ts Loads agent publication timestamps.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​utils/​packageFindings.ts Adds deterministic package findings.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​utils/​evaluationApplicability.ts Applies criterion applicability rules.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​utils/​daPdfUtils.ts Supports declarative-review PDF output.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​hooks/​queryKeys.ts Defines declarative-review cache keys.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​DeclarativeReviewRoute.tsx Routes to saved declarative reviews.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​contracts/​index.ts Exports declarative-review contracts.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​context/​daReviewRunnerContext.ts Exposes application-level review execution.
code-apps/​makers/​src/​features/​agent-review-tool/​declarative-agent/​components/​DAGuidanceLink.tsx Renders external guidance links.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​history/​ReviewFreshnessBadge.tsx Displays review freshness.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​grids/​__tests__/​BotsGridReviewMenu.test.ts Tests the direct Review action.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​dialogs/​standardReviewProgress.ts Defines initial review progress stages.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​dialogs/​reviewProgressLayout.ts Defines compact and touch progress layouts.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​core/​assessmentStatus.ts Explains non-scored assessment statuses.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​__tests__/​DashboardToolbar.test.ts Tests dashboard help placement.
code-apps/​makers/​src/​features/​agent-review-tool/​components/​__tests__/​DashboardProductIcons.test.ts Tests inline product-logo usage.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​skill/​scoreNormalization.ts Normalizes skill dimension scores.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​rules/​unifiedAssessment.ts Constructs unified rule assessments.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​rules/​skillRules.ts Registers shared skill rules.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​rules/​modelRules.ts Registers shared model rules.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​rules/​lifecycleRules.ts Registers shared lifecycle rules.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​ai-providers/​WorkflowReviewAiProvider.ts Connects review workflows to browser services.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​agent-map/​connectedAgentMapService.ts Loads connected-agent map snapshots.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​services/​agent-map/​agentMapIconData.ts Converts agent icons to data URLs.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​hooks/​useConnectedAgentMap.ts Caches connected-agent snapshots.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​components/​severity.ts Formats severity labels.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​components/​ruleDisplayLabels.ts Re-exports shared rule labels.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​components/​normalizeReferenceHref.ts Normalizes HTTPS reference links.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​components/​agent-map/​agentMapDetailFormatting.ts Formats map inspector values.
code-apps/​makers/​src/​features/​agent-review-tool/​agents-experience/​__tests__/​fixtures.test.ts Checks review fixture availability.
code-apps/​makers/​src/​features/​agent-review-tool/​AgentReviewToolPage.tsx Adds the review-tool page wrapper.
code-apps/​makers/​src/​features/​agent-library/​library/​hooks/​useMcpAppCatalog.ts Exposes the bundled MCP app catalog.
code-apps/​makers/​src/​features/​agent-library/​library/​hooks/​useInstallSolution.ts Installs solutions and refreshes detection.
code-apps/​makers/​src/​features/​agent-library/​library/​hooks/​useComponentCatalog.ts Exposes the bundled component catalog.
code-apps/​makers/​src/​features/​agent-library/​library/​hooks/​queryKeys.ts Defines Agent Library cache keys.
code-apps/​makers/​src/​features/​agent-library/​library/​assets/​icon-servicenow.svg Adds a ServiceNow gallery icon.
code-apps/​makers/​src/​features/​agent-library/​library/​assets/​connector-servicenow.svg Adds a ServiceNow connector icon.
code-apps/​makers/​src/​features/​agent-library/​library/​assets.d.ts Types image asset imports.
code-apps/​makers/​src/​features/​agent-library/​index.ts Exports Agent Library.
code-apps/​makers/​src/​features/​agent-library/​hooks/​useAgentTemplates.ts Fetches published custom templates.
code-apps/​makers/​src/​features/​agent-change-tracker/​services/​connection-mode.ts Controls explicit offline preview mode.
code-apps/​makers/​src/​features/​advanced-testing/​services/​mda-pages.ts Builds model-driven testing page links.
code-apps/​makers/​src/​features/​advanced-testing/​hooks/​useRecentTestSets.ts Fetches recent test sets.
code-apps/​makers/​src/​features/​advanced-testing/​hooks/​useRecentTestRuns.ts Fetches recent test runs.
code-apps/​makers/​src/​features/​adaptive-cards/​AdaptiveCardsPage.tsx Adds the Adaptive Cards placeholder.
code-apps/​makers/​src/​App.css Defines application flex layout.
code-apps/​makers/​public/​assets/​logos/​Powershield.svg Adds Power Shield branding.
code-apps/​makers/​public/​assets/​logos/​Component-library.svg Adds component-library branding.
code-apps/​makers/​public/​assets/​logos/​Agent-insights-hub.svg Adds Agent Insights Hub branding.
code-apps/​makers/​index.html Adds the Makers HTML entry point.
code-apps/​makers/​.gitignore Excludes local and build artifacts.
code-apps/​admin/​vite.config.ts Configures Local Play and offline-viewer builds.
code-apps/​admin/​tsconfig.node.json Configures build-tool type checking.
code-apps/​admin/​tsconfig.json Connects TypeScript project configurations.
code-apps/​admin/​tsconfig.app.json Configures application type checking.
code-apps/​admin/​src/​types/​generated-model-augmentations.d.ts Augments generated inventory settings types.
code-apps/​admin/​src/​shared/​types/​navigation.ts Defines navigation contracts and sections.
code-apps/​admin/​src/​shared/​hooks/​useFeatureTelemetry.ts Records feature-open telemetry.
code-apps/​admin/​src/​shared/​contexts/​MdaContext.ts Exposes model-driven host context.
code-apps/​admin/​src/​shared/​components/​PageLoader.tsx Provides an accessible loading screen.
code-apps/​admin/​src/​shared/​components/​Layout/​index.ts Exports application layout components.
code-apps/​admin/​src/​shared/​components/​CopilotStudioKitLogo.tsx Renders application branding.
code-apps/​admin/​src/​main.tsx Initializes React, theming, and query caching.
code-apps/​admin/​src/​index.css Defines embedded-player layout and scrolling.
code-apps/​admin/​src/​generated/​services/​LogFeatureTelemetryService.ts Wraps the telemetry flow connector.
code-apps/​admin/​src/​generated/​models/​SystemuserrolescollectionModel.ts Types user-role records.
code-apps/​admin/​src/​generated/​models/​LogFeatureTelemetryModel.ts Types telemetry flow input.
code-apps/​admin/​src/​generated/​models/​CommonModels.ts Defines generated query options.
code-apps/​admin/​src/​generated/​models/​AgentInventory_EnvironmentDataLoadModel.ts Types environment-load flow results.
code-apps/​admin/​src/​generated/​models/​AgentInventory_AgentsDataLoadOnDemandModel.ts Types on-demand inventory sync results.
code-apps/​admin/​src/​generated/​models/​AgentInventory_AgentDataforActionsModel.ts Types agent-action data lookup.
code-apps/​admin/​src/​generated/​models/​AgentInventory_AgentActionsModel.ts Types agent-action flow requests and responses.
code-apps/​admin/​src/​features/​power-shield/​shared/​styles/​index.ts Exports shared Power Shield styles.
code-apps/​admin/​src/​features/​power-shield/​shared/​styles/​form.styles.ts Defines reusable form layouts.
code-apps/​admin/​src/​features/​power-shield/​shared/​hooks/​useAuth.ts Exposes authentication state.
code-apps/​admin/​src/​features/​power-shield/​shared/​components/​AppShell.styles.ts Defines Power Shield shell layout.
code-apps/​admin/​src/​features/​power-shield/​power-shield.css Supplies full-screen layout resets.
code-apps/​admin/​src/​features/​power-shield/​models/​workflow.ts Defines cloud-flow status records.
code-apps/​admin/​src/​features/​power-shield/​models/​statusGroup.ts Groups request statuses for filtering.
code-apps/​admin/​src/​features/​power-shield/​models/​serviceTreeMember.ts Defines service-tree membership models.
code-apps/​admin/​src/​features/​power-shield/​models/​serviceTree.ts Defines service-tree records.
code-apps/​admin/​src/​features/​power-shield/​models/​requestParticipant.ts Defines request participants.
code-apps/​admin/​src/​features/​power-shield/​models/​requestConnector.ts Defines requested connector metadata.
code-apps/​admin/​src/​features/​power-shield/​models/​requestAnswer.ts Defines saved request answers.
code-apps/​admin/​src/​features/​power-shield/​models/​questionConfig.ts Defines editable questionnaire configuration.
code-apps/​admin/​src/​features/​power-shield/​models/​question.ts Defines questionnaire records.
code-apps/​admin/​src/​features/​power-shield/​models/​environmentGroup.ts Defines environment groups and members.
code-apps/​admin/​src/​features/​power-shield/​models/​environment.ts Defines Power Platform environments.
code-apps/​admin/​src/​features/​power-shield/​models/​dlpPolicy.ts Defines policy fulfillment results.
code-apps/​admin/​src/​features/​power-shield/​models/​customConnectorPattern.ts Maps connector data classifications.
code-apps/​admin/​src/​features/​power-shield/​models/​connectorAction.ts Defines connector actions and overrides.
code-apps/​admin/​src/​features/​power-shield/​models/​connector.ts Defines connector catalog records.
code-apps/​admin/​src/​features/​power-shield/​models/​comment.ts Defines discussion comments and attachments.
code-apps/​admin/​src/​features/​power-shield/​models/​blockedConnector.ts Defines blocked-connector records.
code-apps/​admin/​src/​features/​power-shield/​index.ts Exports Power Shield.
code-apps/​admin/​src/​features/​power-shield/​index.css Defines viewport layout resets.
code-apps/​admin/​src/​features/​power-shield/​features/​home/​components/​RequestListSkeleton.tsx Displays request-list loading placeholders.
code-apps/​admin/​src/​features/​kpi-details/​KPIDetailsPage.tsx Adds the KPI Details placeholder.
code-apps/​admin/​src/​features/​conversation-kpis/​ConversationKPIsPage.tsx Adds the Conversation KPI placeholder.
code-apps/​admin/​src/​features/​conversation-analyzer/​utils/​rowMatchesAgent.ts Matches analysis rows to agents and environments.
code-apps/​admin/​src/​features/​conversation-analyzer/​utils/​aiModelName.ts Selects AI Builder analysis models.
code-apps/​admin/​src/​features/​conversation-analyzer/​index.ts Exports Conversation Analyzer and filters.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​usePromptText.ts Loads prompt instructions for display.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​usePromptsList.ts Fetches prompts for selection controls.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​usePromptLabelMap.ts Maps prompt identifiers to display labels.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useHasAgents.ts Checks agent availability for page access.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useFeaturedPrompts.ts Selects and orders featured prompts.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useEnsureSystemPrompts.ts Starts system-prompt initialization.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useConversationAnalyzerSummary.ts Exposes period-scoped analysis summaries.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useConversationAnalysisIndex.ts Caches per-environment analysis indexes.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useAnalysisResultDetail.ts Fetches individual analysis results.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useAnalysisCoverage.ts Exposes analysis coverage summaries.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useAgentsTable.ts Builds shared agent summary rows.
code-apps/​admin/​src/​features/​conversation-analyzer/​hooks/​useActivityTrends.ts Exposes daily analysis trends.
code-apps/​admin/​src/​features/​conversation-analyzer/​components/​shared/​TruncatedId.tsx Displays truncated identifiers with tooltips.
code-apps/​admin/​src/​features/​conversation-analyzer/​components/​shared/​SingleLineDropdown.tsx Keeps dropdown selections on one line.
code-apps/​admin/​src/​features/​conversation-analyzer/​components/​shared/​HealthStatusBadge.tsx Displays agent health status.
code-apps/​admin/​src/​features/​conversation-analyzer/​components/​conversations/​ViewChatButton.tsx Opens conversation chat previews.
code-apps/​admin/​src/​features/​conversation-analyzer/​components/​agents/​AgentsTab.tsx Renders the agent-table tab.
code-apps/​admin/​src/​features/​compliance-hub/​ComplianceHubPage.tsx Adds the Compliance Hub placeholder.
code-apps/​admin/​src/​features/​agents/​AgentsPage.tsx Adds the Agents placeholder.
code-apps/​admin/​src/​features/​agent-value-summary/​hooks/​useSyncStatus.ts Polls unnotified inventory sync results.
code-apps/​admin/​src/​features/​agent-value-summary/​hooks/​useAgentValues.ts Fetches agent value classifications.
code-apps/​admin/​src/​features/​agent-value-summary/​hooks/​useAgentDetails.ts Fetches inventory summary records.
code-apps/​admin/​src/​features/​agent-value-summary/​hooks/​queryKeys.ts Defines value-summary cache keys.
code-apps/​admin/​src/​features/​agent-value-summary/​data/​valueBenefitCategories.ts Defines benefit categories and chart colors.
code-apps/​admin/​src/​features/​agent-value-summary/​components/​shared/​FeedbackButton.tsx Opens the feedback form.
code-apps/​admin/​src/​features/​agent-value-summary/​components/​shared/​activateOnKey.ts Adds keyboard activation to interactive cards.
code-apps/​admin/​src/​features/​agent-metric-studio/​services/​agentConfigService.ts Loads agent filter options.
code-apps/​admin/​src/​features/​agent-metric-studio/​index.ts Exports Agent Metric Studio.
code-apps/​admin/​src/​features/​agent-metric-studio/​components/​shell/​ForecastCommandBar.tsx Renders forecast filters.
code-apps/​admin/​src/​features/​agent-metric-studio/​components/​charts/​fluent/​formatCompact.ts Formats chart numbers compactly.
code-apps/​admin/​src/​features/​agent-metric-studio/​AgentMetricStudioPage.tsx Adds the metric-studio page wrapper.
code-apps/​admin/​src/​features/​agent-library/​library/​hooks/​useMcpAppCatalog.ts Exposes the bundled MCP app catalog.
code-apps/​admin/​src/​features/​agent-library/​library/​hooks/​useInstallSolution.ts Installs solutions and refreshes detection.
code-apps/​admin/​src/​features/​agent-library/​library/​hooks/​useComponentCatalog.ts Exposes the bundled component catalog.
code-apps/​admin/​src/​features/​agent-library/​library/​hooks/​queryKeys.ts Defines Agent Library cache keys.
code-apps/​admin/​src/​features/​agent-library/​library/​constants/​declarativeCapabilities.ts Defines editable declarative-agent capabilities.
code-apps/​admin/​src/​features/​agent-library/​library/​assets/​icon-servicenow.svg Adds a ServiceNow gallery icon.
code-apps/​admin/​src/​features/​agent-library/​library/​assets/​connector-servicenow.svg Adds a ServiceNow connector icon.
code-apps/​admin/​src/​features/​agent-library/​library/​assets.d.ts Types image asset imports.
code-apps/​admin/​src/​features/​agent-library/​index.ts Exports Agent Library.
code-apps/​admin/​src/​features/​agent-inventory/​styles/​surfaceStyles.ts Defines inventory card and section styling.
code-apps/​admin/​src/​features/​agent-inventory/​services/​agentSyncService.ts Starts on-demand inventory synchronization.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useTenantUserSearch.ts Searches tenant users after minimum input.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useSyncStatus.ts Checks current synchronization status.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useResumeTracking.ts Resumes pending completion notifications.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useComplianceScanTracker.ts Tracks compliance-scan completion.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAllAgents.ts Fetches the full agent inventory.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAgentSyncTracker.ts Tracks inventory synchronization progress.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAgentSync.ts Exposes the synchronization mutation.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAgentQuarantineStatus.ts Fetches live agent quarantine status.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAgentOverview.ts Combines agent records and usage data.
code-apps/​admin/​src/​features/​agent-inventory/​hooks/​useAgentAction.ts Exposes administrative agent actions.
code-apps/​admin/​src/​features/​agent-inventory/​components/​shared/​charts/​index.ts Exports inventory chart components.
code-apps/​admin/​src/​features/​agent-inventory/​components/​shared/​BasicDataGrid/​index.ts Exports the basic data grid.
code-apps/​admin/​src/​features/​agent-inventory/​components/​shared/​AgentMap/​index.ts Exports agent-map components and validation.
code-apps/​admin/​src/​features/​agent-inventory/​components/​shared/​AdvancedDataGrid/​index.ts Exports advanced data-grid contracts.
code-apps/​admin/​src/​features/​agent-inventory/​components/​InventoryStatusBadge.tsx Displays inventory agent status.
code-apps/​admin/​src/​features/​agent-inventory/​components/​AgentInventoryBackButton.tsx Provides inventory back navigation.
code-apps/​admin/​src/​features/​agent-inventory/​AgentInventoryPage.tsx Defines lazy-loaded inventory routes.
code-apps/​admin/​src/​features/​agent-insights-hub/​index.ts Exports the insights hub and contexts.
code-apps/​admin/​src/​features/​agent-insights-hub/​hooks/​useUsageHistory.ts Fetches agent usage history.
code-apps/​admin/​src/​features/​agent-insights-hub/​hooks/​useTranscriptStaging.ts Fetches staging records by workflow status.
code-apps/​admin/​src/​features/​agent-insights-hub/​hooks/​useSyncLogs.ts Fetches metrics synchronization logs.
code-apps/​admin/​src/​features/​agent-insights-hub/​hooks/​useConfigurations.ts Fetches active insights configurations.
code-apps/​admin/​src/​features/​agent-insights-hub/​components/​LoadingSpinner.tsx Provides a reusable loading indicator.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​transcript/​timestamp.ts Normalizes transcript timestamps.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​transcript/​session-info.ts Aggregates session turn counts.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​transcript/​extract-activity-text.test.ts Tests single-pass HTML entity decoding.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​power-apps-init.ts Provides runtime initialization compatibility.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​outcome.ts Removes repeated outcome labels.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​debuggerTelemetry.ts Records debugger analysis events.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​date-utils.ts Formats debugger dates and times.
code-apps/​admin/​src/​features/​agent-debugger/​utils/​connected-agent-links.ts Builds connected-agent transcript links.
code-apps/​admin/​src/​features/​agent-debugger/​theme/​agentDebuggerTheme.ts Defines the debugger theme.
code-apps/​admin/​src/​features/​agent-debugger/​styles/​design/​index.css Orders debugger design stylesheets.
code-apps/​admin/​src/​features/​agent-debugger/​services/​dataverse-client.ts Caches the Dataverse client and escapes literals.
code-apps/​admin/​src/​features/​agent-debugger/​prism-overrides.css Styles highlighted code and JSON wrapping.
code-apps/​admin/​src/​features/​agent-debugger/​offline/​entry.tsx Initializes the offline conversation viewer.
code-apps/​admin/​src/​features/​agent-debugger/​offline/​bundle.d.ts Types the generated offline bundle.
code-apps/​admin/​src/​features/​agent-debugger/​index.ts Exports Agent Debugger.
code-apps/​admin/​src/​features/​agent-debugger/​hooks/​use-bot-languages.ts Fetches agent language options.
code-apps/​admin/​src/​features/​agent-debugger/​hooks/​use-agent-details.ts Fetches agents with transcript data.
code-apps/​admin/​src/​features/​agent-debugger/​hooks/​use-agent-config.ts Fetches live agent configuration.
code-apps/​admin/​src/​features/​agent-debugger/​contracts/​tooltips.ts Defines debugger section explanations.
code-apps/​admin/​src/​features/​agent-debugger/​contracts/​offline-viewer.ts Defines offline conversation snapshots.
code-apps/​admin/​src/​features/​agent-debugger/​contracts/​generative-markers.ts Defines reasoning trace presentation labels.
code-apps/​admin/​src/​features/​agent-debugger/​components/​ui/​MarkdownContent.tsx Renders formatted transcript markdown.
code-apps/​admin/​src/​features/​agent-debugger/​components/​ui/​index.ts Exports conversation-preview components.
code-apps/​admin/​src/​features/​agent-debugger/​components/​ui/​activity-icon-type.ts Identifies MCP activity icons.
code-apps/​admin/​src/​App.css Defines application flex layout.
code-apps/​admin/​index.html Adds the Admins HTML entry point.
code-apps/​admin/​.gitignore Excludes local and build artifacts.
code-apps/​.gitattributes Normalizes SVG line endings.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants